diff --git a/wp-includes/assets/dist/a11y.asset.php b/wp-includes/assets/dist/a11y.asset.php index 04c694c876..34a104a487 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' => '7699911a0e89eb3801a710a70f44d649'); \ No newline at end of file + array('wp-dom-ready', 'wp-polyfill'), 'version' => '0a403e8e2ac287e0433e7ce32fd6470d'); \ 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 aa34c53d0b..3faf1e90dc 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' => '8bd8552e4206e0b9f1dff77d8601ec2a'); \ No newline at end of file + array('wp-dom-ready', 'wp-polyfill'), 'version' => '79c1ef7df889a2698e394e7a214d040e'); \ 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 a62818849b..2a7d3be97d 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' => 'ca5a49693626e544ca5470d39d672ff7'); \ No newline at end of file + array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'f18a463bc576ca83029f972bd60547e7'); \ 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 5bae6d1e38..5031bc04b0 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' => '37042822702bcd5be69a327536230e2d'); \ No newline at end of file + array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => '2eedea37f1509dbb27e317b1eba48242'); \ 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 a803045b3b..8a7025448d 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' => 'a47eb092a9ce3fea91c6029ed5227791'); \ No newline at end of file + array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '7a0859111fd934d413532666f075a2f0'); \ 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 6c99358fd7..373fcba2f9 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' => '24b134915edde8c3ce88823b8af1ba15'); \ No newline at end of file + array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'e9e926b3fcf190fcee86499741c49119'); \ 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 54b208787e..fe600ac037 100644 --- a/wp-includes/assets/dist/autop.asset.php +++ b/wp-includes/assets/dist/autop.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '986d601f42af6093ba4177dcd909ae7c'); \ No newline at end of file + array('wp-polyfill'), 'version' => 'c2dec9e5e661e78e856a5203c84fc111'); \ 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 7239acbe83..8967c9f22d 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' => '3b0b44970e07eed5838bdf0244da88b7'); \ No newline at end of file + array('wp-polyfill'), 'version' => '1d4cfcebce9a5fb7fa9dc28155bfde90'); \ 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 227ef11b67..25e24badad 100644 --- a/wp-includes/assets/dist/blob.asset.php +++ b/wp-includes/assets/dist/blob.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '06325d6ee073533861d69145225f2116'); \ No newline at end of file + array('wp-polyfill'), 'version' => '6c78331efbe048529f25e386808e60db'); \ 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 0bd3ea9402..0ee0ea3590 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' => 'cf4f9ec8b12027c7cdf5d5e81ed0efa9'); \ No newline at end of file + array('wp-polyfill'), 'version' => '640e2bbe88a25021175f52b5232f7484'); \ 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 82ac0c6194..93fb0d67fa 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' => '7b5afd68de9ff1a9d136d1b89e46c046'); \ 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' => '3d89aac9ae682b0f08906ed04b480118'); \ 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 6cf24286c7..883317e016 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' => 'd15c5706d4193724c8db8c7081e525b0'); \ 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' => 'e6196c004e1cc7295e5f06e6a8aa69e0'); \ 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 1870841e35..f60ecbae24 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-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 + 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-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '27c43e4963fcef0540591e95aadb735d'); \ 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 4fa609ba0b..554b34a716 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-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 + 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-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '6c66bad8b4c4629550e9317d875ca075'); \ 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 0775a1fdf4..59900fbe11 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' => '577968536e5e37e04329f368b1b3da68'); \ 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-dom', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => '9c22a88a8738420134d7250b8511bba3'); \ 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 ac15c948da..8213d7bc74 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' => 'e2446d2f698484a18c6695315a26f696'); \ 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-dom', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => '6169f138b1c74f711c3cabccff61b7da'); \ 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 cae5e5d216..fc8d75dfc4 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' => '4a99a4bde3aad4a4e1a7a7df59fd72fe'); \ No newline at end of file + array('wp-polyfill'), 'version' => '9586f1151b06beb7515e31635e326404'); \ 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 748eac387c..5c10b0f682 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' => '9f4ee6952fd20a87f7756456b3ddd65e'); \ No newline at end of file + array('wp-polyfill'), 'version' => 'd2c9f80f1b5fd69123f4e89a7a1db1c2'); \ 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 4e1cea6058..8b605ba406 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' => '1b37ca77e6ea17048cc0d4452ab2424a'); \ 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' => '3bb525d0e50fdab4c79ff1f0b20db941'); \ 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 b601d83f8d..44e90e5a91 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' => 'e884cc6341c5bdee9cd2af3616d9e327'); \ 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' => 'b02d029492d06dfa116e526254346598'); \ 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 3ffa23da2b..70a711e062 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' => '2c5814288e5cae2bcd495ff78127ef90'); \ 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-primitives', 'wp-rich-text', 'wp-warning'), 'version' => 'a54181c68e361f2fbb5ff0180ca115d7'); \ 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 16bd162d04..d047d8d4cf 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' => '717d7eae82ca7b0a682ac8bb9854897a'); \ 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-primitives', 'wp-rich-text', 'wp-warning'), 'version' => '801ae1a8e9894fadfcd43b17fd488299'); \ 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 bb934e3e5c..3f1ed0a83b 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' => '31bd609960e3ea0643066d77748e5f85'); \ No newline at end of file + array('lodash', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill'), 'version' => '7b694dda01e57079b4d34f6d6b436954'); \ 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 44cdceb71d..9d8e386ad8 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' => '64aa1f3413cab5fa716a02f9c85089de'); \ No newline at end of file + array('lodash', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill'), 'version' => '6a7392235297a61cbbdea1db732a2db9'); \ 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 7897cf9357..03368c9a57 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' => 'ca9a78bf97fdc357b45d04004501f194'); \ No newline at end of file + array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '7bc373d5136b0f9a6b4420f92e7cb102'); \ 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 fa34235f91..46aaf1a6c3 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' => 'ce7ba24ba56c4c906cb61e971c39951e'); \ No newline at end of file + array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '75fdcf0fe25372e5aad80adffc516edb'); \ 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 89d10b15bd..adbb7ef87d 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' => '0090f3d18c699350cfe4b3e376206422'); \ No newline at end of file + array('wp-api-fetch', 'wp-data', 'wp-polyfill'), 'version' => 'a8bbb27b205dc5b6fedc7b86e84b04e6'); \ 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 edac2522f6..3263f9e7bf 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' => '5954bac85ea6ef2c6a29debac56ddf56'); \ No newline at end of file + array('wp-api-fetch', 'wp-data', 'wp-polyfill'), 'version' => 'b8e87ce6b90cd7278d8d54fc91fbc4e8'); \ 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 fc0082ab69..b47b839834 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' => '3b32f82f179ddb3b25f14cd94e9bf4b5'); \ No newline at end of file + array('lodash', 'react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => '40ac4d46678007b1f2460e61d397e8fa'); \ 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 e9a01bb5f0..a8c2bbf6b1 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' => '27ee035a379b9bc32b7c769d10f572d5'); \ No newline at end of file + array('lodash', 'react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => '2e1210ba4934490084e0ba8f3570a586'); \ 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 a59a678a9d..7a0d6d6577 100644 --- a/wp-includes/assets/dist/date.asset.php +++ b/wp-includes/assets/dist/date.asset.php @@ -1 +1 @@ - array('moment', 'wp-polyfill'), 'version' => 'c4fdc2f0cfc86024019a6b4fa1d76a34'); \ No newline at end of file + array('moment', 'wp-polyfill'), 'version' => 'e5d3d9b11903885a49de8092b83a9e7e'); \ 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 006f0d269f..407504475a 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' => '6736c3da3a318f698c71231e3ce2d7dd'); \ No newline at end of file + array('moment', 'wp-polyfill'), 'version' => 'e06c49941a95bb8e1971e303afe30da8'); \ 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 0e68ba99f6..3b05081848 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' => '98278be2169021801d157877a3cf40f9'); \ No newline at end of file + array('wp-hooks', 'wp-polyfill'), 'version' => '5b5931d35a801856c348079c786fe2a9'); \ 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 ed04273a24..5b353e3359 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' => 'ba3f4d1e0daeabf65f40d83c9fc44c8b'); \ No newline at end of file + array('wp-hooks', 'wp-polyfill'), 'version' => 'ffeaf5aec7d7d7713d069f975ac05be9'); \ 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 06901ebd02..982a022651 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' => 'ad9a96a6b69bd71325ab82b4b338a2f9'); \ No newline at end of file + array('wp-polyfill'), 'version' => '741b346ccf1a960327e2c43ededd0004'); \ 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 7d1fc039d1..dfa58cdb87 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' => 'b1f08252a028cf5ad8523cfecd8b52b0'); \ No newline at end of file + array('wp-polyfill'), 'version' => '0cea545c40a2e3e7fda4b829e76c35a9'); \ 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 e210a6f654..ff8c5b2cf3 100644 --- a/wp-includes/assets/dist/dom.asset.php +++ b/wp-includes/assets/dist/dom.asset.php @@ -1 +1 @@ - array('lodash', 'wp-polyfill'), 'version' => '2326d3eda71b5c4ead4a41d401e458f1'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => 'c2105799e14e82da4fa6c67bc276ca2c'); \ 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 70d11b4faa..95c8c005da 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' => '8ee1cc9640bf9b2d2e089cb0d5696446'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => 'fdd8dc52f4469a66b38d99adede0b3e2'); \ 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 0af4f5319e..513766d08b 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-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 + 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-primitives', 'wp-url', 'wp-viewport'), 'version' => '5fcf127ec463918f38226033f2940cd0'); \ 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 932353dafa..55e85faa92 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-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 + 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-primitives', 'wp-url', 'wp-viewport'), 'version' => '60c0434e1308d21ce3f90d9961506786'); \ 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 5ffa99cfc5..81ae1125bc 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-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 + array('lodash', 'react', 'wp-api-fetch', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => 'a7e975b9ddc11bcadba10c82b4ea38d9'); \ 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 f4dc37f677..611084ce12 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-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 + array('lodash', 'react', 'wp-api-fetch', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '9b6e547cf9ba554638a1513c959c3570'); \ 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 191a7ee4a9..9de82ff894 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' => '041d5d9e6498bb8c1e9b82b6d57499c6'); \ No newline at end of file + array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '7f8ec3028c98a3a3c425cf5284ab4721'); \ 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 545a56937b..1c62c2fff5 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' => '940b3c2f24c3a4d9f0ce951bc0c93efb'); \ No newline at end of file + array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => 'e911f3faef2908ae8d3f80c5e7117206'); \ 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 0d9cc1f418..4675252b1e 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' => '171d9fa97492a79fbefa60e940b89588'); \ No newline at end of file + array('wp-polyfill'), 'version' => '06e675b6a996a21880ef052620138160'); \ 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 c0a29282e3..106ecebab7 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' => '74f7236fc76b94c146587679dc7d81ef'); \ No newline at end of file + array('wp-polyfill'), 'version' => '9f34e1d208cd937424fe749e9a7415c5'); \ 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 4a7a040eb7..63a9b3ee77 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' => 'ccc31141b77af5b17be16e61e54271e7'); \ 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' => '2ba13ab320099a789214be4afad30d7c'); \ 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 b35cd0a594..711cc8d387 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' => '28435e96cf148f78312ab3b0bb2cd7ec'); \ 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' => 'de7a61a130e92150042e286c48f1b2ec'); \ 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 0e14380465..327693a983 100644 --- a/wp-includes/assets/dist/hooks.asset.php +++ b/wp-includes/assets/dist/hooks.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => 'f878f51015523f34c14b7b2fa0f26e4d'); \ No newline at end of file + array('wp-polyfill'), 'version' => '297787db4590fe0f0f1d956288ba13f9'); \ 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 47f2f521c8..a90bb2b08f 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' => '1023cf48483059fb474183407795098b'); \ No newline at end of file + array('wp-polyfill'), 'version' => '18b63adf3d6aa7d961af2599a40d3484'); \ 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 6b793ec109..879cee9a04 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' => 'b414d1806f8781970a893fab94670e01'); \ No newline at end of file + array('wp-polyfill'), 'version' => 'ba28c265f930e75ba913c45a0bf405b9'); \ 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 31af3938a6..f281d0d1ba 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' => 'e43546d8be4ddc147b1af23b1ca9b7c6'); \ No newline at end of file + array('wp-polyfill'), 'version' => '5f43c571e604d169041a81212ae7046f'); \ 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 fd0914f065..11c694735e 100644 --- a/wp-includes/assets/dist/i18n.asset.php +++ b/wp-includes/assets/dist/i18n.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '3e14131969a3440d40bdf88abb743351'); \ No newline at end of file + array('wp-polyfill'), 'version' => '5fb3adebd9f2b65890290efcf524c530'); \ 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 e068856273..41379b0a54 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' => 'a945f7d27284e21d0cd45dd9b1d7439d'); \ No newline at end of file + array('wp-polyfill'), 'version' => 'dbeb540760d5304f3e332e5f754d2b52'); \ 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 d0e2d2f12c..b5ca420f32 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' => 'f18a853a75337765552aa80ec240d2c4'); \ No newline at end of file + array('wp-polyfill'), 'version' => 'a7cc4b56ed7caa7b2b82a8c12be13685'); \ 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 af5ed9266e..88dd5b1856 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' => '606418d7c0afbecac50def38cf73cc99'); \ No newline at end of file + array('wp-polyfill'), 'version' => '5eb4b12719e8f70758059a1a7183bd09'); \ 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 index c938f5ecdb..ede072ae56 100644 --- a/wp-includes/assets/dist/keyboard-shortcuts.asset.php +++ b/wp-includes/assets/dist/keyboard-shortcuts.asset.php @@ -1 +1 @@ - array('lodash', 'wp-compose', 'wp-data', 'wp-keycodes', 'wp-polyfill'), 'version' => 'd7f57a03d8cdd326b977be4e8e915047'); \ No newline at end of file + array('lodash', 'wp-compose', 'wp-data', 'wp-keycodes', 'wp-polyfill'), 'version' => '07592c8f7df5b397f31d01850a11f49f'); \ 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 index e54103fc52..2832f179b7 100644 --- a/wp-includes/assets/dist/keyboard-shortcuts.min.asset.php +++ b/wp-includes/assets/dist/keyboard-shortcuts.min.asset.php @@ -1 +1 @@ - array('lodash', 'wp-compose', 'wp-data', 'wp-keycodes', 'wp-polyfill'), 'version' => 'efcf4028921e050003778edab9f1acef'); \ No newline at end of file + array('lodash', 'wp-compose', 'wp-data', 'wp-keycodes', 'wp-polyfill'), 'version' => '6d6c33dd9095619c6e86af2635ed5c82'); \ 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 9073bcac02..25ae23af80 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' => '2a46fa93abeef1b8e79bdb60606c3976'); \ No newline at end of file + array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '5bcd5257365c2da253c293d40823219d'); \ 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 0494b7a9ff..7740f64f71 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' => '056756997aa64f1d410a14083af55d13'); \ No newline at end of file + array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '4f9f2e368f512db7bf1a2e187d617dcf'); \ 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 f94afdbaf4..60a9c4eb8e 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' => '91c37c1ed8442b1ae07a695e16ad7c88'); \ No newline at end of file + array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'bc7b87fbb8ebb858fcaaab02f9674731'); \ 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 ebd899e6c9..8066fc44a9 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' => '62ea29c961b22c6cdc3ead3d72b8ffaf'); \ No newline at end of file + array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '108b84c9e9d6303007010fc8371c0385'); \ 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 03516c8d4c..c01a474734 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' => '42a86b06794d1e4c45d3c8b4270cc0a5'); \ No newline at end of file + array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '38a0d02e34f2c2f9bee4045a9b5e2955'); \ 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 9d15affee0..b9ad5c1305 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' => '33cd0419af60555b0df45cd68b503101'); \ No newline at end of file + array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '402d0bb2a0fcedce846b5c33801926a1'); \ 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 6fb8475ab4..0dafe76f29 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' => '126339474a70df50d125c01d03f984df'); \ No newline at end of file + array('lodash', 'wp-a11y', 'wp-data', 'wp-polyfill'), 'version' => 'ff5aa9205c2e34b9dc83ad846c425a7e'); \ 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 b72bd7e372..0d04218d6c 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' => 'f1043f7f87f401f542dac9f886ca4369'); \ No newline at end of file + array('lodash', 'wp-a11y', 'wp-data', 'wp-polyfill'), 'version' => '404c56fb81ea5c03c68314239494a412'); \ 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 3d503ff35e..489e02acaa 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-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'b1b7ba7b6ea66fcc802dfc32ee11bbc5'); \ No newline at end of file + array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'e06911bea6b727cd7d00a466eeb51586'); \ 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 66110720c6..3e6e99c545 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-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '9657de64fd2d4805c9cce42a14ee0402'); \ No newline at end of file + array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '746627c024df31c83c7505700e1d20fd'); \ 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 5549a51e23..7c37a928c3 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' => '2b0fcda614c605e8942d6e1b1cfc4751'); \ No newline at end of file + array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill'), 'version' => '39feae54899530fa2dfceb42ebf450df'); \ 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 5fdbdbe478..7072ecfe51 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' => '2db6284747004c1e07983d48483d30bd'); \ No newline at end of file + array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill'), 'version' => '0cd31b674a3c6ad90e346778ef4849f4'); \ No newline at end of file diff --git a/wp-includes/assets/dist/primitives.asset.php b/wp-includes/assets/dist/primitives.asset.php new file mode 100644 index 0000000000..1bab6d3a2e --- /dev/null +++ b/wp-includes/assets/dist/primitives.asset.php @@ -0,0 +1 @@ + array('wp-element', 'wp-polyfill'), 'version' => '069106ff5bbe47c06163bee582278596'); \ No newline at end of file diff --git a/wp-includes/assets/dist/primitives.min.asset.php b/wp-includes/assets/dist/primitives.min.asset.php new file mode 100644 index 0000000000..09c0c0695b --- /dev/null +++ b/wp-includes/assets/dist/primitives.min.asset.php @@ -0,0 +1 @@ + array('wp-element', 'wp-polyfill'), 'version' => '3bb4ac3a4c96b74d5e090db257f71012'); \ 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 0e8f0d1730..cd03f7d109 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' => '49eda3753b8a0a4074e935ab5f15e2e9'); \ No newline at end of file + array('wp-polyfill'), 'version' => 'dfb9dc1bfa9351731482deb665d28b05'); \ 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 75f451e058..3f3c73d190 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' => 'e12c40dc844d42c39861d244894ad1b1'); \ No newline at end of file + array('wp-polyfill'), 'version' => 'ee8537c241e276272597bc2db815bd9e'); \ 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 41dcb5a1b2..aef5707ac5 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' => '2781625b4b4d2280b1941162c9ce9ff7'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => '571f25931b42614d8005388a1de291a0'); \ 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 6f9eef12ef..0df3c79cb1 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' => '683728fb1cc669d05a81aeb8128246cc'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => '16e3349749454079d9acf2af2bb47f52'); \ 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 1d4cea169c..7004bf0586 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-is-shallow-equal', 'wp-keycodes', 'wp-polyfill'), 'version' => '6b1e3494043a8fb5148ad8899e33c3e0'); \ 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' => 'b9a442aab25a299418f1aeda4c2e7e33'); \ 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 9145642c77..ad722637d5 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-is-shallow-equal', 'wp-keycodes', 'wp-polyfill'), 'version' => 'c53077d3cccf82c93b66e1cd615b72cd'); \ 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' => '2226a6f88d1a71d1e7c80cada4b0b306'); \ 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 0890114824..7abfbbf215 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' => '09eb281c0551564f34affca164b3cd74'); \ 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' => 'b022c0567b56c4031b7394dd3dbecca8'); \ 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 368f62923a..60cbbce57d 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' => '32153e24c6d32c95f8a7cf202b603387'); \ 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' => '343e6c70f422d061478496356c01d4be'); \ 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 9a0e261a09..d8c78ec282 100644 --- a/wp-includes/assets/dist/shortcode.asset.php +++ b/wp-includes/assets/dist/shortcode.asset.php @@ -1 +1 @@ - array('lodash', 'wp-polyfill'), 'version' => '495ddae657259880e87495ec44329117'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => '94e2a3ddee50d1f4ed7fdad870a55413'); \ 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 040461ba90..be94671427 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' => 'db30a30efc536aa73644c270d248156c'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => '998abeb1751f3631b2f57048ac15bee1'); \ 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 30f41f57b0..c4b0bbe5eb 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' => '574e74b48a0812e6efc20cd95aaada5b'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => '1e30e20c99377b8d77cd7d9be04e625d'); \ 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 2d92979d82..7560c3783b 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' => '6ecfcab905ca95071365135cfc065559'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => '0940e215e42e95e2a37f72244dbd7fbe'); \ 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 66bdb2e986..cea1a28a47 100644 --- a/wp-includes/assets/dist/url.asset.php +++ b/wp-includes/assets/dist/url.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => 'a7d4e2ef17087561d4288edc1997789f'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => 'e3b426d7e2bc7120e034491fb58f6fbb'); \ 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 f98a332c99..f977d0f370 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' => 'f8bd947efc4b1e637d69e2db9f7920b8'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => 'bfc191267700aa6c188fb8c1ce0d245f'); \ 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 e534f3e0ae..c9a7cc049f 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' => '9dbbdcdc5d8911f92ff4a75e98f02c4d'); \ No newline at end of file + array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => '980eae8a5d2d214e9a4bff2d446e1585'); \ 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 f0a3e5c1e9..321cb136a3 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' => '7b3ff62a4b98d6d13e70e3511ba0e3b2'); \ No newline at end of file + array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => '3c7ca858983707d278ce1ba2e285c0a9'); \ No newline at end of file diff --git a/wp-includes/assets/dist/warning.asset.php b/wp-includes/assets/dist/warning.asset.php new file mode 100644 index 0000000000..d4689e5c78 --- /dev/null +++ b/wp-includes/assets/dist/warning.asset.php @@ -0,0 +1 @@ + array('wp-polyfill'), 'version' => 'fd4ba96ad7fb6e29d63ba527cc7fb9dc'); \ No newline at end of file diff --git a/wp-includes/assets/dist/warning.min.asset.php b/wp-includes/assets/dist/warning.min.asset.php new file mode 100644 index 0000000000..7c49963bcf --- /dev/null +++ b/wp-includes/assets/dist/warning.min.asset.php @@ -0,0 +1 @@ + array('wp-polyfill'), 'version' => '26caf07394ad822f10d87e4e26dcc068'); \ 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 5d584e9531..5f319c13d7 100644 --- a/wp-includes/assets/dist/wordcount.asset.php +++ b/wp-includes/assets/dist/wordcount.asset.php @@ -1 +1 @@ - array('lodash', 'wp-polyfill'), 'version' => '1083ae5937fec965141ec9f6f0444bb6'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => '04ae6aad72d2e6dfb7cadb30a0eb48b7'); \ 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 91b4cd32ab..89c5cdecce 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' => '381a53ca5c410d72dc3e109c6c3fec28'); \ No newline at end of file + array('lodash', 'wp-polyfill'), 'version' => '2117f19e8deee6fbbbeaad6900729342'); \ No newline at end of file diff --git a/wp-includes/blocks/navigation.php b/wp-includes/blocks/navigation.php index 13b6df4256..6270db2d86 100644 --- a/wp-includes/blocks/navigation.php +++ b/wp-includes/blocks/navigation.php @@ -13,12 +13,12 @@ * @return array Colors CSS classes and inline styles. */ function build_css_colors( $attributes ) { - // CSS classes. $colors = array( 'css_classes' => array(), 'inline_styles' => '', ); + // Text color. $has_named_text_color = array_key_exists( 'textColor', $attributes ); $has_custom_text_color = array_key_exists( 'customTextColor', $attributes ); @@ -33,7 +33,25 @@ function build_css_colors( $attributes ) { $colors['css_classes'][] = sprintf( 'has-%s-color', $attributes['textColor'] ); } elseif ( $has_custom_text_color ) { // Add the custom color inline style. - $colors['inline_styles'] = sprintf( 'color: %s;', $attributes['customTextColor'] ); + $colors['inline_styles'] .= sprintf( 'color: %s;', $attributes['customTextColor'] ); + } + + // Background color. + $has_named_background_color = array_key_exists( 'backgroundColor', $attributes ); + $has_custom_background_color = array_key_exists( 'customBackgroundColor', $attributes ); + + // If has background color. + if ( $has_custom_background_color || $has_named_background_color ) { + // Add has-background-color class. + $colors['css_classes'][] = 'has-background-color'; + } + + if ( $has_named_background_color ) { + // Add the background-color class. + $colors['css_classes'][] = sprintf( 'has-%s-background-color', $attributes['backgroundColor'] ); + } elseif ( $has_custom_background_color ) { + // Add the custom background-color inline style. + $colors['inline_styles'] .= sprintf( 'background-color: %s;', $attributes['customBackgroundColor'] ); } return $colors; @@ -67,16 +85,61 @@ function build_css_font_sizes( $attributes ) { return $font_sizes; } +/** + * Recursively filters out links with no labels to build a clean navigation block structure. + * + * @param array $blocks Navigation link inner blocks from the Navigation block. + * @return array Blocks that had valid labels + */ +function gutenberg_remove_empty_navigation_links_recursive( $blocks ) { + $blocks = array_filter( + $blocks, + function( $block ) { + return ! empty( $block['attrs']['label'] ); + } + ); + + if ( ! empty( $blocks ) ) { + foreach ( $blocks as $key => $block ) { + if ( ! empty( $block['innerBlocks'] ) ) { + $blocks[ $key ]['innerBlocks'] = gutenberg_remove_empty_navigation_links_recursive( $block['innerBlocks'] ); + } + } + } + + return $blocks; +} + +/** + * Returns the top-level submenu SVG chevron icon. + * + * @return string + */ +function render_submenu_icon() { + return ''; +} + /** * Renders the `core/navigation` block on server. * - * @param array $attributes The block attributes. * @param array $content The saved content. * @param array $block The parsed block. * * @return string Returns the post content with the legacy widget added. */ -function render_block_navigation( $attributes, $content, $block ) { +function render_block_navigation( $content, $block ) { + + if ( 'core/navigation' !== $block['blockName'] ) { + return $content; + } + + $attributes = $block['attrs']; + $block['innerBlocks'] = gutenberg_remove_empty_navigation_links_recursive( $block['innerBlocks'] ); + + if ( empty( $block['innerBlocks'] ) ) { + return ''; + } + $colors = build_css_colors( $attributes ); $font_sizes = build_css_font_sizes( $attributes ); $classes = array_merge( @@ -96,20 +159,22 @@ function render_block_navigation( $attributes, $content, $block ) { '', $class_attribute, $style_attribute, - build_navigation_html( $block, $colors, $font_sizes ) + build_navigation_html( $attributes, $block, $colors, $font_sizes, true ) ); } /** * Walks the inner block structure and returns an HTML list for it. * - * @param array $block The block. - * @param array $colors Contains inline styles and CSS classes to apply to navigation item. - * @param array $font_sizes Contains inline styles and CSS classes to apply to navigation item. + * @param array $attributes The Navigation block attributes. + * @param array $block The NavigationItem block. + * @param array $colors Contains inline styles and CSS classes to apply to navigation item. + * @param array $font_sizes Contains inline styles and CSS classes to apply to navigation item. + * @param bool $is_level_zero True whether is main menu (level zero). Otherwise, False. * * @return string Returns an HTML list from innerBlocks. */ -function build_navigation_html( $block, $colors, $font_sizes ) { +function build_navigation_html( $attributes, $block, $colors, $font_sizes, $is_level_zero = true ) { $html = ''; $classes = array_merge( $colors['css_classes'], @@ -122,9 +187,14 @@ function build_navigation_html( $block, $colors, $font_sizes ) { : ''; foreach ( (array) $block['innerBlocks'] as $key => $block ) { + $has_submenu = count( (array) $block['innerBlocks'] ) > 0; - $html .= ''; @@ -167,29 +266,38 @@ function register_block_core_navigation() { register_block_type( 'core/navigation', array( - 'attributes' => array( - 'className' => array( + 'attributes' => array( + 'className' => array( 'type' => 'string', ), - 'textColor' => array( + 'textColor' => array( 'type' => 'string', ), - 'customTextColor' => array( + 'customTextColor' => array( 'type' => 'string', ), - 'fontSize' => array( + 'backgroundColor' => array( 'type' => 'string', ), - 'customFontSize' => array( + 'customBackgroundColor' => array( + 'type' => 'string', + ), + 'fontSize' => array( + 'type' => 'string', + ), + 'customFontSize' => array( 'type' => 'number', ), - 'itemsJustification' => array( + 'itemsJustification' => array( 'type' => 'string', ), + 'showSubmenuIcon' => array( + 'type' => 'boolean', + 'default' => false, + ), ), - - 'render_callback' => 'render_block_navigation', ) ); } add_action( 'init', 'register_block_core_navigation' ); +add_filter( 'render_block', 'render_block_navigation', 10, 2 ); diff --git a/wp-includes/blocks/shortcode.php b/wp-includes/blocks/shortcode.php index 79df091f8a..cfa8ab97df 100644 --- a/wp-includes/blocks/shortcode.php +++ b/wp-includes/blocks/shortcode.php @@ -21,16 +21,15 @@ function render_block_core_shortcode( $attributes, $content ) { * Registers the `core/shortcode` block on server. */ function register_block_core_shortcode() { + $path = __DIR__ . '/shortcode/block.json'; + $metadata = json_decode( file_get_contents( $path ), true ); register_block_type( - 'core/shortcode', - array( - 'attributes' => array( - 'text' => array( - 'type' => 'string', - 'source' => 'html', - ), - ), - 'render_callback' => 'render_block_core_shortcode', + $metadata['name'], + array_merge( + $metadata, + array( + 'render_callback' => 'render_block_core_shortcode', + ) ) ); } diff --git a/wp-includes/blocks/shortcode/block.json b/wp-includes/blocks/shortcode/block.json new file mode 100644 index 0000000000..b31c213871 --- /dev/null +++ b/wp-includes/blocks/shortcode/block.json @@ -0,0 +1,10 @@ +{ + "name": "core/shortcode", + "category": "widgets", + "attributes": { + "text": { + "type": "string", + "source": "html" + } + } +} diff --git a/wp-includes/css/dist/block-directory/style-rtl.css b/wp-includes/css/dist/block-directory/style-rtl.css index f435c8402c..5eaca23802 100644 --- a/wp-includes/css/dist/block-directory/style-rtl.css +++ b/wp-includes/css/dist/block-directory/style-rtl.css @@ -66,10 +66,11 @@ display: flex; justify-content: space-between; color: #606a73; - margin-top: 8px; } + margin-top: 8px; + font-size: 12px; } .block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column { display: flex; - align-items: flex-start; } + align-items: center; } .block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column .dashicon { font-size: 16px; margin-left: 4px; } diff --git a/wp-includes/css/dist/block-directory/style-rtl.min.css b/wp-includes/css/dist/block-directory/style-rtl.min.css index b4aa260687..aa57e87371 100644 --- a/wp-includes/css/dist/block-directory/style-rtl.min.css +++ b/wp-includes/css/dist/block-directory/style-rtl.min.css @@ -1 +1 @@ -.block-directory-downloadable-block-header__row{display:flex;flex-grow:1}.block-directory-downloadable-block-header__row .block-editor-block-icon{width:36px;height:36px;font-size:36px;background-color:#edeff0}.block-directory-downloadable-block-header__row img{width:36px;height:36px}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column{display:flex;flex-direction:column;flex-grow:1}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-downloadable-block-header__title{font-weight:600;margin-right:12px}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-block-ratings{margin-right:12px}.block-directory-downloadable-block-info__content{font-size:13px}.block-directory-downloadable-block-info__row{display:flex;justify-content:space-between;color:#606a73;margin-top:8px}.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column{display:flex;align-items:flex-start}.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column .dashicon{font-size:16px;margin-left:4px}.block-directory-downloadable-block-author-info__content{color:#606a73;margin-bottom:4px}.block-directory-downloadable-block-author-info__content-author{margin-bottom:4px;font-size:14px}.block-directory-downloadable-block-list-item{width:100%;padding:0;margin:0 0 12px;display:flex;flex-direction:row;font-size:13px;color:#32373c;align-items:flex-start;justify-content:center;background:transparent;word-break:break-word;border-radius:4px;border:1px solid #e2e4e7;transition:all .05s ease-in-out;position:relative;text-align:right;overflow:hidden}@media (prefers-reduced-motion:reduce){.block-directory-downloadable-block-list-item{transition-duration:0s}}.block-directory-downloadable-block-list-item__panel{display:flex;flex-grow:1;flex-direction:column}.block-directory-downloadable-block-list-item__header{display:flex;flex-direction:column;padding:12px 12px 0}.block-directory-downloadable-block-list-item__body{display:flex;flex-direction:column;padding:12px}.block-directory-downloadable-block-list-item__footer{display:flex;flex-direction:column;padding:12px;background-color:#f3f4f5}.block-directory-downloadable-block-list-item__content{color:#606a73}.block-directory-downloadable-blocks-list{list-style:none;padding:2px 0;overflow:hidden;display:flex;flex-wrap:wrap}.block-directory-downloadable-blocks-panel__description{font-style:italic;padding:0;margin-top:0;text-align:right;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results{font-style:normal;padding:0;margin-top:100px;text-align:center;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner{float:inherit}.block-directory-block-ratings{display:flex}.block-directory-block-ratings>div{line-height:1;display:flex}.block-directory-block-ratings .dashicons{font-size:ms(-2);width:1.1em}.block-directory-block-ratings .block-directory-block-ratings__rating-count{color:#606a73;font-size:ms(-2)}.block-directory-block-ratings [class*=dashicons-star-]{color:#ffb900} \ No newline at end of file +.block-directory-downloadable-block-header__row{display:flex;flex-grow:1}.block-directory-downloadable-block-header__row .block-editor-block-icon{width:36px;height:36px;font-size:36px;background-color:#edeff0}.block-directory-downloadable-block-header__row img{width:36px;height:36px}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column{display:flex;flex-direction:column;flex-grow:1}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-downloadable-block-header__title{font-weight:600;margin-right:12px}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-block-ratings{margin-right:12px}.block-directory-downloadable-block-info__content{font-size:13px}.block-directory-downloadable-block-info__row{display:flex;justify-content:space-between;color:#606a73;margin-top:8px;font-size:12px}.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column{display:flex;align-items:center}.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column .dashicon{font-size:16px;margin-left:4px}.block-directory-downloadable-block-author-info__content{color:#606a73;margin-bottom:4px}.block-directory-downloadable-block-author-info__content-author{margin-bottom:4px;font-size:14px}.block-directory-downloadable-block-list-item{width:100%;padding:0;margin:0 0 12px;display:flex;flex-direction:row;font-size:13px;color:#32373c;align-items:flex-start;justify-content:center;background:transparent;word-break:break-word;border-radius:4px;border:1px solid #e2e4e7;transition:all .05s ease-in-out;position:relative;text-align:right;overflow:hidden}@media (prefers-reduced-motion:reduce){.block-directory-downloadable-block-list-item{transition-duration:0s}}.block-directory-downloadable-block-list-item__panel{display:flex;flex-grow:1;flex-direction:column}.block-directory-downloadable-block-list-item__header{display:flex;flex-direction:column;padding:12px 12px 0}.block-directory-downloadable-block-list-item__body{display:flex;flex-direction:column;padding:12px}.block-directory-downloadable-block-list-item__footer{display:flex;flex-direction:column;padding:12px;background-color:#f3f4f5}.block-directory-downloadable-block-list-item__content{color:#606a73}.block-directory-downloadable-blocks-list{list-style:none;padding:2px 0;overflow:hidden;display:flex;flex-wrap:wrap}.block-directory-downloadable-blocks-panel__description{font-style:italic;padding:0;margin-top:0;text-align:right;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results{font-style:normal;padding:0;margin-top:100px;text-align:center;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner{float:inherit}.block-directory-block-ratings{display:flex}.block-directory-block-ratings>div{line-height:1;display:flex}.block-directory-block-ratings .dashicons{font-size:ms(-2);width:1.1em}.block-directory-block-ratings .block-directory-block-ratings__rating-count{color:#606a73;font-size:ms(-2)}.block-directory-block-ratings [class*=dashicons-star-]{color:#ffb900} \ No newline at end of file diff --git a/wp-includes/css/dist/block-directory/style.css b/wp-includes/css/dist/block-directory/style.css index 32f6a4b36b..4c3fca9a71 100644 --- a/wp-includes/css/dist/block-directory/style.css +++ b/wp-includes/css/dist/block-directory/style.css @@ -66,10 +66,11 @@ display: flex; justify-content: space-between; color: #606a73; - margin-top: 8px; } + margin-top: 8px; + font-size: 12px; } .block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column { display: flex; - align-items: flex-start; } + align-items: center; } .block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column .dashicon { font-size: 16px; margin-right: 4px; } diff --git a/wp-includes/css/dist/block-directory/style.min.css b/wp-includes/css/dist/block-directory/style.min.css index 7bbba1a80d..14d3746922 100644 --- a/wp-includes/css/dist/block-directory/style.min.css +++ b/wp-includes/css/dist/block-directory/style.min.css @@ -1 +1 @@ -.block-directory-downloadable-block-header__row{display:flex;flex-grow:1}.block-directory-downloadable-block-header__row .block-editor-block-icon{width:36px;height:36px;font-size:36px;background-color:#edeff0}.block-directory-downloadable-block-header__row img{width:36px;height:36px}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column{display:flex;flex-direction:column;flex-grow:1}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-downloadable-block-header__title{font-weight:600;margin-left:12px}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-block-ratings{margin-left:12px}.block-directory-downloadable-block-info__content{font-size:13px}.block-directory-downloadable-block-info__row{display:flex;justify-content:space-between;color:#606a73;margin-top:8px}.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column{display:flex;align-items:flex-start}.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column .dashicon{font-size:16px;margin-right:4px}.block-directory-downloadable-block-author-info__content{color:#606a73;margin-bottom:4px}.block-directory-downloadable-block-author-info__content-author{margin-bottom:4px;font-size:14px}.block-directory-downloadable-block-list-item{width:100%;padding:0;margin:0 0 12px;display:flex;flex-direction:row;font-size:13px;color:#32373c;align-items:flex-start;justify-content:center;background:transparent;word-break:break-word;border-radius:4px;border:1px solid #e2e4e7;transition:all .05s ease-in-out;position:relative;text-align:left;overflow:hidden}@media (prefers-reduced-motion:reduce){.block-directory-downloadable-block-list-item{transition-duration:0s}}.block-directory-downloadable-block-list-item__panel{display:flex;flex-grow:1;flex-direction:column}.block-directory-downloadable-block-list-item__header{display:flex;flex-direction:column;padding:12px 12px 0}.block-directory-downloadable-block-list-item__body{display:flex;flex-direction:column;padding:12px}.block-directory-downloadable-block-list-item__footer{display:flex;flex-direction:column;padding:12px;background-color:#f3f4f5}.block-directory-downloadable-block-list-item__content{color:#606a73}.block-directory-downloadable-blocks-list{list-style:none;padding:2px 0;overflow:hidden;display:flex;flex-wrap:wrap}.block-directory-downloadable-blocks-panel__description{font-style:italic;padding:0;margin-top:0;text-align:left;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results{font-style:normal;padding:0;margin-top:100px;text-align:center;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner{float:inherit}.block-directory-block-ratings{display:flex}.block-directory-block-ratings>div{line-height:1;display:flex}.block-directory-block-ratings .dashicons{font-size:ms(-2);width:1.1em}.block-directory-block-ratings .block-directory-block-ratings__rating-count{color:#606a73;font-size:ms(-2)}.block-directory-block-ratings [class*=dashicons-star-]{color:#ffb900} \ No newline at end of file +.block-directory-downloadable-block-header__row{display:flex;flex-grow:1}.block-directory-downloadable-block-header__row .block-editor-block-icon{width:36px;height:36px;font-size:36px;background-color:#edeff0}.block-directory-downloadable-block-header__row img{width:36px;height:36px}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column{display:flex;flex-direction:column;flex-grow:1}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-downloadable-block-header__title{font-weight:600;margin-left:12px}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-block-ratings{margin-left:12px}.block-directory-downloadable-block-info__content{font-size:13px}.block-directory-downloadable-block-info__row{display:flex;justify-content:space-between;color:#606a73;margin-top:8px;font-size:12px}.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column{display:flex;align-items:center}.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column .dashicon{font-size:16px;margin-right:4px}.block-directory-downloadable-block-author-info__content{color:#606a73;margin-bottom:4px}.block-directory-downloadable-block-author-info__content-author{margin-bottom:4px;font-size:14px}.block-directory-downloadable-block-list-item{width:100%;padding:0;margin:0 0 12px;display:flex;flex-direction:row;font-size:13px;color:#32373c;align-items:flex-start;justify-content:center;background:transparent;word-break:break-word;border-radius:4px;border:1px solid #e2e4e7;transition:all .05s ease-in-out;position:relative;text-align:left;overflow:hidden}@media (prefers-reduced-motion:reduce){.block-directory-downloadable-block-list-item{transition-duration:0s}}.block-directory-downloadable-block-list-item__panel{display:flex;flex-grow:1;flex-direction:column}.block-directory-downloadable-block-list-item__header{display:flex;flex-direction:column;padding:12px 12px 0}.block-directory-downloadable-block-list-item__body{display:flex;flex-direction:column;padding:12px}.block-directory-downloadable-block-list-item__footer{display:flex;flex-direction:column;padding:12px;background-color:#f3f4f5}.block-directory-downloadable-block-list-item__content{color:#606a73}.block-directory-downloadable-blocks-list{list-style:none;padding:2px 0;overflow:hidden;display:flex;flex-wrap:wrap}.block-directory-downloadable-blocks-panel__description{font-style:italic;padding:0;margin-top:0;text-align:left;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results{font-style:normal;padding:0;margin-top:100px;text-align:center;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner{float:inherit}.block-directory-block-ratings{display:flex}.block-directory-block-ratings>div{line-height:1;display:flex}.block-directory-block-ratings .dashicons{font-size:ms(-2);width:1.1em}.block-directory-block-ratings .block-directory-block-ratings__rating-count{color:#606a73;font-size:ms(-2)}.block-directory-block-ratings [class*=dashicons-star-]{color:#ffb900} \ No newline at end of file diff --git a/wp-includes/css/dist/block-editor/style-rtl.css b/wp-includes/css/dist/block-editor/style-rtl.css index 0d2adbf2f6..bf38a5c02c 100644 --- a/wp-includes/css/dist/block-editor/style-rtl.css +++ b/wp-includes/css/dist/block-editor/style-rtl.css @@ -38,49 +38,6 @@ /** * Reset the WP Admin page styles for Gutenberg-like pages. */ -.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; @@ -116,16 +73,16 @@ 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 { +.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging::before { border: none; } -.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging > .block-editor-block-list__block-edit > * { +.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging > * { background: #f8f9f9; } -.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging > .block-editor-block-list__block-edit > * > * { +.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging > * > * { visibility: hidden; } -.block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit .reusable-block-edit-panel * { +.block-editor-block-list__layout .block-editor-block-list__block.is-selected .reusable-block-edit-panel * { z-index: 1; } /** @@ -133,7 +90,8 @@ */ .block-editor-block-list__layout { padding-right: 14px; - padding-left: 14px; } + padding-left: 14px; + position: relative; } @media (min-width: 600px) { .block-editor-block-list__layout { padding-right: 58px; @@ -165,41 +123,39 @@ 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 0.1s linear, border-style 0.1s linear, box-shadow 0.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 { + .block-editor-block-list__layout .block-editor-block-list__block::before { + z-index: 0; + content: ""; + position: absolute; + border: 1px solid transparent; + border-right: none; + box-shadow: none; + pointer-events: none; + transition: border-color 0.1s linear, border-style 0.1s linear, box-shadow 0.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::before { + transition-duration: 0s; } } + .block-editor-block-list__layout .block-editor-block-list__block.is-selected::before { border-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-selected > .block-editor-block-list__block-edit::before { + .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected::before { border-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-selected > .block-editor-block-list__block-edit::before { + .block-editor-block-list__layout .block-editor-block-list__block.is-selected::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 { + .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected::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 { + .is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::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 { + .is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::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: 0.5; @@ -209,52 +165,67 @@ transition-duration: 0s; } } .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, .block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused { opacity: 1; } + .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before { + border-top: 3px solid #0085ba; } + body.admin-color-sunrise .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before { + border-top: 3px solid #d1864a; } + body.admin-color-ocean .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before { + border-top: 3px solid #a3b9a2; } + body.admin-color-midnight .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before { + border-top: 3px solid #e14d43; } + body.admin-color-ectoplasm .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before { + border-top: 3px solid #a7b656; } + body.admin-color-coffee .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before { + border-top: 3px solid #c2a68c; } + body.admin-color-blue .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before { + border-top: 3px solid #82b4cb; } + body.admin-color-light .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before { + border-top: 3px solid #0085ba; } /** * Cross-Block Selection */ -.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit > [data-block] { +.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-block-collapsed), +.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .is-block-content { 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] { + .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-block-collapsed), .is-dark-theme + .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .is-block-content { 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 styles and alignments */ .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 > * { +.block-editor-block-list__layout .block-editor-block-list__block.has-warning > * { 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 { +.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-warning { pointer-events: all; } -.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit::before { +.block-editor-block-list__layout .block-editor-block-list__block.has-warning::before { border-color: rgba(145, 151, 162, 0.25); border-right: 1px solid rgba(145, 151, 162, 0.25); } - .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit::before { + .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning::before { border-color: rgba(255, 255, 255, 0.35); } -.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit::before { +.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected::before { border-color: rgba(66, 88, 99, 0.4); border-right-color: 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 { + .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected::before { border-color: rgba(255, 255, 255, 0.45); } -.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit::after { +.block-editor-block-list__layout .block-editor-block-list__block.has-warning::after { content: ""; position: absolute; background-color: rgba(248, 249, 249, 0.4); @@ -263,72 +234,63 @@ 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 { +.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected::after { background-color: transparent; } -.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit::after { +.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected::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 { + .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected::after { bottom: -14px; } } -.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected > .block-editor-block-list__block-edit::before { +.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected::before { border-right-color: transparent; border-style: dashed; border-width: 1px; } -.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 { +.block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .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 { +.block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .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 { +.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block { cursor: default; } .block-editor-block-list__layout .block-editor-block-list__block[data-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"]::before, .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"]::before { + content: none; } -.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="left"] > .is-block-content { float: left; margin-right: 2em; } -.block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] > .block-editor-block-list__block-edit { +.block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] > .is-block-content { 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 { +.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] { 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 { + .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] { 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"]::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; } @@ -377,41 +339,34 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .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 0.1s linear; } + cursor: text; } @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:hover, .block-editor-block-list__insertion-point-inserter.is-visible { - opacity: 1; } + .block-editor-block-list__insertion-point-inserter.is-inserter-hidden .block-editor-inserter__toggle { + opacity: 0; + pointer-events: none; } -.edit-post-layout:not(.has-fixed-toolbar) .is-selected > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter, -.edit-post-layout:not(.has-fixed-toolbar) .is-focused > .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-selected > .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-focused > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter:hover, - .edit-post-layout:not(.has-fixed-toolbar) .is-focused > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter.is-visible { - opacity: 1; - pointer-events: auto; } +.block-editor-block-list__block-popover-inserter { + position: absolute; + top: -9999em; + margin-bottom: 14px; } + .block-editor-block-list__block-popover-inserter.is-visible { + position: static; } + +.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle, +.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle { + border-radius: 50%; + color: #007cba; + background: #fff; + height: 28px; + width: 28px; + padding: 0; + justify-content: center; } + .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):hover, + .block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):hover { + box-shadow: none; } .block-editor-block-list__block > .block-editor-block-list__insertion-point { position: absolute; @@ -480,20 +435,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .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; @@ -504,20 +445,32 @@ 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; +.block-editor-block-list__insertion-point-popover { + z-index: 28; } + .block-editor-block-list__insertion-point-popover .components-popover__content { background: none; border: none; box-shadow: none; overflow-y: visible; } + +.components-popover.block-editor-block-list__block-popover { + z-index: 29; } + .components-popover.block-editor-block-list__block-popover .components-popover__content { + margin: 0 !important; + min-width: auto; + background: none; + border: none; + box-shadow: none; + overflow-y: visible; + pointer-events: none; } + .components-popover.block-editor-block-list__block-popover .components-popover__content > * { + pointer-events: all; } .components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar, .components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__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"] { + .components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar[data-align="full"], + .components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__breadcrumb[data-align="full"] { margin-right: 0; } .is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover { opacity: 0; } @@ -527,6 +480,36 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .has-background .block-editor-block-list__block .block-list-appender { margin: 32px 14px; } +.block-list-appender.is-drop-target > div::before { + content: ""; + position: absolute; + left: -14px; + right: -14px; + top: -14px; + bottom: -14px; + border: 3px solid #0085ba; } + +body.admin-color-sunrise .block-list-appender.is-drop-target > div::before { + border: 3px solid #d1864a; } + +body.admin-color-ocean .block-list-appender.is-drop-target > div::before { + border: 3px solid #a3b9a2; } + +body.admin-color-midnight .block-list-appender.is-drop-target > div::before { + border: 3px solid #e14d43; } + +body.admin-color-ectoplasm .block-list-appender.is-drop-target > div::before { + border: 3px solid #a7b656; } + +body.admin-color-coffee .block-list-appender.is-drop-target > div::before { + border: 3px solid #c2a68c; } + +body.admin-color-blue .block-list-appender.is-drop-target > div::before { + border: 3px solid #82b4cb; } + +body.admin-color-light .block-list-appender.is-drop-target > div::before { + border: 3px solid #0085ba; } + .block-list-appender > .block-editor-inserter { display: block; } @@ -734,6 +717,9 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .block-editor-block-mover__description { display: none; } +.block-editor-block-mover.is-horizontal .block-editor-block-mover__control-drag-handle { + display: none; } + .block-editor-block-navigation__container { padding: 7px; } @@ -824,49 +810,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .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%; @@ -886,8 +829,6 @@ 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 .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-list__insertion-point, @@ -1116,6 +1057,49 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { display: flex; flex-wrap: wrap; } +.block-editor-block-variation-picker .components-placeholder__instructions { + margin-bottom: 0; } + +.block-editor-block-variation-picker .components-placeholder__fieldset { + flex-direction: column; } + +.block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset { + max-width: 90%; } + +.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations { + display: flex; + justify-content: flex-start; + flex-direction: row; + flex-wrap: wrap; + width: 100%; + margin: 16px 0; + padding: 0; + list-style: none; } + .block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations > li { + list-style: none; + margin: 4px 0 4px 8px; + flex-shrink: 1; + max-width: 100px; } + .block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation { + padding: 8px; } + +.block-editor-block-variation-picker__variation { + width: 100%; } + .block-editor-block-variation-picker__variation.components-button.has-icon { + justify-content: center; } + .block-editor-block-variation-picker__variation.components-button.has-icon.is-secondary { + background-color: #fff; } + .block-editor-block-variation-picker__variation.components-button { + height: auto; + padding: 0; } + .block-editor-block-variation-picker__variation::before { + content: ""; + padding-bottom: 100%; } + .block-editor-block-variation-picker__variation:first-child { + margin-right: 0; } + .block-editor-block-variation-picker__variation:last-child { + margin-left: 0; } + .block-editor-button-block-appender { display: flex; flex-direction: column; @@ -1197,7 +1181,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .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 { @@ -1217,10 +1200,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .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; } } + height: 100%; } } .block-editor-block-list__empty-block-inserter:disabled, .block-editor-default-block-appender .block-editor-inserter:disabled { display: none; } @@ -1237,11 +1217,15 @@ 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-link-control__search { +@media (min-width: 600px) { + .block-editor-default-block-appender .block-editor-inserter { + align-items: center; } } + +.block-editor-link-control { 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"] { +.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"] { width: calc(100% - 32px); display: block; padding: 11px 16px; @@ -1254,9 +1238,9 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { /* Fonts smaller than 16px causes mobile safari to zoom. */ 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"] { + .block-editor-link-control .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 { + .block-editor-link-control .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; @@ -1290,11 +1274,16 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { top: auto; background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, white 100%); } +.block-editor-link-control__search-results-label { + padding: 15px 30px 0 30px; + display: block; + font-size: 1.1em; } + .block-editor-link-control__search-results { margin: 0; padding: 8px 16px 16px; max-height: 200px; - overflow-y: scroll; } + overflow-y: auto; } .block-editor-link-control__search-results.is-loading { opacity: 0.2; } @@ -1376,8 +1365,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .block-editor-link-control .block-editor-link-control__search-input .components-spinner { display: block; - z-index: 100; - float: none; } + z-index: 100; } .block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner { position: absolute; top: 27px; @@ -1389,6 +1377,22 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { margin-right: auto; flex-shrink: 0; } +.block-editor-image-size-control { + margin-bottom: 1em; } + .block-editor-image-size-control .block-editor-image-size-control__row { + display: flex; + justify-content: space-between; } + .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width, + .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height { + margin-bottom: 0.5em; } + .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width input, + .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height input { + line-height: 1.25; } + .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width { + margin-left: 5px; } + .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height { + margin-right: 5px; } + .block-editor-inner-blocks.has-overlay::after { content: ""; position: absolute; @@ -1398,7 +1402,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { right: -14px; z-index: 60; } -[data-align="full"] > .block-editor-block-list__block-edit > [data-block] .has-overlay::after { +[data-align="full"] .has-overlay::after { left: 0; right: 0; } @@ -1420,13 +1424,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { height: 432px; } } .block-editor-inserter__toggle { - display: inline-flex; - align-items: center; - color: #555d66; - background: none; - cursor: pointer; - border: none; - outline: none; transition: color 0.2s ease; } @media (prefers-reduced-motion: reduce) { .block-editor-inserter__toggle { @@ -1846,11 +1843,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { 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; } @@ -1858,8 +1850,12 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { content: attr(data-rich-text-placeholder); opacity: 0.62; } -.block-editor-rich-text__editable.is-selected:not(.keep-placeholder-on-focus) [data-rich-text-placeholder]::after { - display: none; } +.block-editor-rich-text__editable:focus { + outline: none; } + .block-editor-rich-text__editable:focus [data-rich-text-format-boundary] { + border-radius: 2px; } + .block-editor-rich-text__editable:focus:not(.keep-placeholder-on-focus) [data-rich-text-placeholder]::after { + display: none; } figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before { opacity: 0.8; } 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 c131295f03..3fb530ca9e 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 .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 +.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:before{border:none}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>*{background:#f8f9f9}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>*>*{visibility:hidden}.block-editor-block-list__layout .block-editor-block-list__block.is-selected .reusable-block-edit-panel *{z-index:1}.block-editor-block-list__layout{padding-right:14px;padding-left:14px;position:relative}@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: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:before{transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.is-selected: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: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:before{box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected:before{box-shadow:3px 0 0 0 #d7dade}}.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected:before{border-color:#007cba;box-shadow:inset -3px 0 0 0 #007cba}@media (min-width:600px){.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected: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-drop-target:before{border-top:3px solid #0085ba}body.admin-color-sunrise .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #d1864a}body.admin-color-ocean .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #a7b656}body.admin-color-coffee .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #c2a68c}body.admin-color-blue .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #82b4cb}body.admin-color-light .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #0085ba}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .is-block-content,.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-block-collapsed){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 .is-block-content,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-block-collapsed){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 .block-editor-block-list__block.has-warning{min-height:36px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning>*{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-warning{pointer-events:all}.block-editor-block-list__layout .block-editor-block-list__block.has-warning: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:before{border-color:hsla(0,0%,100%,.35)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected: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:before{border-color:hsla(0,0%,100%,.45)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning: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:after{background-color:transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected:after{bottom:22px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected:after{bottom:-14px}}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected:before{border-right:transparent;border-width:1px;border-style:dashed}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-inner-blocks.has-overlay:after{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-inner-blocks.has-overlay .block-editor-inner-blocks.has-overlay:after{display:block}.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block{cursor:default}.block-editor-block-list__layout .block-editor-block-list__block[data-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]:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left]>.is-block-content{float:left;margin-right:2em}.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]>.is-block-content{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]{margin-right:-14px;margin-left:-14px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]{margin-right:-58px;margin-left:-58px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]: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-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;justify-content:center;cursor:text}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__insertion-point-inserter.is-inserter-hidden .block-editor-inserter__toggle{opacity:0;pointer-events:none}.block-editor-block-list__block-popover-inserter{position:absolute;top:-9999em;margin-bottom:14px}.block-editor-block-list__block-popover-inserter.is-visible{position:static}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle{border-radius:50%;color:#007cba;background:#fff;height:28px;width:28px;padding:0;justify-content:center}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}.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}}.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__insertion-point-popover{z-index:28}.block-editor-block-list__insertion-point-popover .components-popover__content{background:none;border:none;box-shadow:none;overflow-y:visible}.components-popover.block-editor-block-list__block-popover{z-index:29}.components-popover.block-editor-block-list__block-popover .components-popover__content{margin:0!important;min-width:auto;background:none;border:none;box-shadow:none;overflow-y:visible;pointer-events:none}.components-popover.block-editor-block-list__block-popover .components-popover__content>*{pointer-events:all}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar,.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__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],.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__breadcrumb[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.is-drop-target>div:before{content:"";position:absolute;left:-14px;right:-14px;top:-14px;bottom:-14px;border:3px solid #0085ba}body.admin-color-sunrise .block-list-appender.is-drop-target>div:before{border:3px solid #d1864a}body.admin-color-ocean .block-list-appender.is-drop-target>div:before{border:3px solid #a3b9a2}body.admin-color-midnight .block-list-appender.is-drop-target>div:before{border:3px solid #e14d43}body.admin-color-ectoplasm .block-list-appender.is-drop-target>div:before{border:3px solid #a7b656}body.admin-color-coffee .block-list-appender.is-drop-target>div:before{border:3px solid #c2a68c}body.admin-color-blue .block-list-appender.is-drop-target>div:before{border:3px solid #82b4cb}body.admin-color-light .block-list-appender.is-drop-target>div:before{border:3px solid #0085ba}.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.is-horizontal .block-editor-block-mover__control-drag-handle,.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-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>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-block-variation-picker .components-placeholder__instructions{margin-bottom:0}.block-editor-block-variation-picker .components-placeholder__fieldset{flex-direction:column}.block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset{max-width:90%}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations{display:flex;justify-content:flex-start;flex-direction:row;flex-wrap:wrap;width:100%;margin:16px 0;padding:0;list-style:none}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations>li{list-style:none;margin:4px 0 4px 8px;flex-shrink:1;max-width:100px}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation{padding:8px}.block-editor-block-variation-picker__variation{width:100%}.block-editor-block-variation-picker__variation.components-button.has-icon{justify-content:center}.block-editor-block-variation-picker__variation.components-button.has-icon.is-secondary{background-color:#fff}.block-editor-block-variation-picker__variation.components-button{height:auto;padding:0}.block-editor-block-variation-picker__variation:before{content:"";padding-bottom:100%}.block-editor-block-variation-picker__variation:first-child{margin-right:0}.block-editor-block-variation-picker__variation:last-child{margin-left:0}.block-editor-button-block-appender{display:flex;flex-direction:column;align-items:center;justify-content:center;padding: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;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;height:100%}}.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)}@media (min-width:600px){.block-editor-default-block-appender .block-editor-inserter{align-items:center}}.block-editor-link-control{position:relative;min-width:360px}.block-editor-link-control .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 .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{font-size:13px}}.block-editor-link-control .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-label{padding:15px 30px 0;display:block;font-size:1.1em}.block-editor-link-control__search-results{margin:0;padding:8px 16px 16px;max-height:200px;overflow-y:auto}.block-editor-link-control__search-results.is-loading{opacity:.2}.block-editor-link-control__search-item{position:relative;display:flex;align-items:center;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:right;padding:10px 15px;border-radius:5px;height:auto}.block-editor-link-control__search-item:focus,.block-editor-link-control__search-item:hover{background-color:#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}.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-image-size-control{margin-bottom:1em}.block-editor-image-size-control .block-editor-image-size-control__row{display:flex;justify-content:space-between}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height,.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width{margin-bottom:.5em}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height input,.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width input{line-height:1.25}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width{margin-left:5px}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height{margin-right:5px}.block-editor-inner-blocks.has-overlay:after{content:"";position:absolute;top:-14px;left:-14px;bottom:-14px;right:-14px;z-index:60}[data-align=full] .has-overlay:after{left:0;right:0}.block-editor-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{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 [data-rich-text-placeholder]{pointer-events:none}.block-editor-rich-text__editable [data-rich-text-placeholder]:after{content:attr(data-rich-text-placeholder);opacity:.62}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px}.block-editor-rich-text__editable:focus:not(.keep-placeholder-on-focus) [data-rich-text-placeholder]:after{display:none}figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]:before{opacity:.8}.components-popover.block-editor-rich-text__inline-format-toolbar{z-index:99998}.components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content{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 91831be421..9723872453 100644 --- a/wp-includes/css/dist/block-editor/style.css +++ b/wp-includes/css/dist/block-editor/style.css @@ -38,49 +38,6 @@ /** * Reset the WP Admin page styles for Gutenberg-like pages. */ -.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; @@ -116,16 +73,16 @@ 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 { +.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging::before { border: none; } -.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging > .block-editor-block-list__block-edit > * { +.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging > * { background: #f8f9f9; } -.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging > .block-editor-block-list__block-edit > * > * { +.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging > * > * { visibility: hidden; } -.block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit .reusable-block-edit-panel * { +.block-editor-block-list__layout .block-editor-block-list__block.is-selected .reusable-block-edit-panel * { z-index: 1; } /** @@ -133,7 +90,8 @@ */ .block-editor-block-list__layout { padding-left: 14px; - padding-right: 14px; } + padding-right: 14px; + position: relative; } @media (min-width: 600px) { .block-editor-block-list__layout { padding-left: 58px; @@ -165,41 +123,39 @@ 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 0.1s linear, border-style 0.1s linear, box-shadow 0.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 { + .block-editor-block-list__layout .block-editor-block-list__block::before { + z-index: 0; + content: ""; + position: absolute; + border: 1px solid transparent; + border-left: none; + box-shadow: none; + pointer-events: none; + transition: border-color 0.1s linear, border-style 0.1s linear, box-shadow 0.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::before { + transition-duration: 0s; } } + .block-editor-block-list__layout .block-editor-block-list__block.is-selected::before { border-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-selected > .block-editor-block-list__block-edit::before { + .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected::before { border-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-selected > .block-editor-block-list__block-edit::before { + .block-editor-block-list__layout .block-editor-block-list__block.is-selected::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 { + .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected::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 { + .is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::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 { + .is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::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: 0.5; @@ -209,52 +165,67 @@ transition-duration: 0s; } } .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, .block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused { opacity: 1; } + .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before { + border-top: 3px solid #0085ba; } + body.admin-color-sunrise .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before { + border-top: 3px solid #d1864a; } + body.admin-color-ocean .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before { + border-top: 3px solid #a3b9a2; } + body.admin-color-midnight .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before { + border-top: 3px solid #e14d43; } + body.admin-color-ectoplasm .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before { + border-top: 3px solid #a7b656; } + body.admin-color-coffee .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before { + border-top: 3px solid #c2a68c; } + body.admin-color-blue .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before { + border-top: 3px solid #82b4cb; } + body.admin-color-light .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before { + border-top: 3px solid #0085ba; } /** * Cross-Block Selection */ -.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit > [data-block] { +.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-block-collapsed), +.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .is-block-content { 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] { + .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-block-collapsed), .is-dark-theme + .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .is-block-content { 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 styles and alignments */ .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 > * { +.block-editor-block-list__layout .block-editor-block-list__block.has-warning > * { 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 { +.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-warning { pointer-events: all; } -.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit::before { +.block-editor-block-list__layout .block-editor-block-list__block.has-warning::before { border-color: rgba(145, 151, 162, 0.25); border-left: 1px solid rgba(145, 151, 162, 0.25); } - .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit::before { + .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning::before { border-color: rgba(255, 255, 255, 0.35); } -.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit::before { +.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected::before { border-color: rgba(66, 88, 99, 0.4); border-left-color: 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 { + .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected::before { border-color: rgba(255, 255, 255, 0.45); } -.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit::after { +.block-editor-block-list__layout .block-editor-block-list__block.has-warning::after { content: ""; position: absolute; background-color: rgba(248, 249, 249, 0.4); @@ -263,45 +234,43 @@ 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 { +.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected::after { background-color: transparent; } -.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit::after { +.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected::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 { + .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected::after { bottom: -14px; } } -.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected > .block-editor-block-list__block-edit::before { +.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected::before { border-left-color: transparent; border-style: dashed; border-width: 1px; } -.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 { +.block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .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 { +.block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .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 { +.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block { cursor: default; } .block-editor-block-list__layout .block-editor-block-list__block[data-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"]::before, .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"]::before { + content: none; } -.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="left"] > .is-block-content { /*!rtl:begin:ignore*/ float: left; margin-right: 2em; /*!rtl:end:ignore*/ } -.block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] > .block-editor-block-list__block-edit { +.block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] > .is-block-content { /*!rtl:begin:ignore*/ float: right; margin-left: 2em; @@ -310,29 +279,22 @@ .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 { +.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] { 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 { + .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] { 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"]::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; } @@ -381,41 +343,34 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .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 0.1s linear; } + cursor: text; } @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:hover, .block-editor-block-list__insertion-point-inserter.is-visible { - opacity: 1; } + .block-editor-block-list__insertion-point-inserter.is-inserter-hidden .block-editor-inserter__toggle { + opacity: 0; + pointer-events: none; } -.edit-post-layout:not(.has-fixed-toolbar) .is-selected > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter, -.edit-post-layout:not(.has-fixed-toolbar) .is-focused > .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-selected > .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-focused > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter:hover, - .edit-post-layout:not(.has-fixed-toolbar) .is-focused > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter.is-visible { - opacity: 1; - pointer-events: auto; } +.block-editor-block-list__block-popover-inserter { + position: absolute; + top: -9999em; + margin-bottom: 14px; } + .block-editor-block-list__block-popover-inserter.is-visible { + position: static; } + +.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle, +.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle { + border-radius: 50%; + color: #007cba; + background: #fff; + height: 28px; + width: 28px; + padding: 0; + justify-content: center; } + .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):hover, + .block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):hover { + box-shadow: none; } .block-editor-block-list__block > .block-editor-block-list__insertion-point { position: absolute; @@ -484,20 +439,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .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; @@ -508,20 +449,32 @@ 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; +.block-editor-block-list__insertion-point-popover { + z-index: 28; } + .block-editor-block-list__insertion-point-popover .components-popover__content { background: none; border: none; box-shadow: none; overflow-y: visible; } + +.components-popover.block-editor-block-list__block-popover { + z-index: 29; } + .components-popover.block-editor-block-list__block-popover .components-popover__content { + margin: 0 !important; + min-width: auto; + background: none; + border: none; + box-shadow: none; + overflow-y: visible; + pointer-events: none; } + .components-popover.block-editor-block-list__block-popover .components-popover__content > * { + pointer-events: all; } .components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar, .components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__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"] { + .components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar[data-align="full"], + .components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__breadcrumb[data-align="full"] { margin-left: 0; } .is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover { opacity: 0; } @@ -531,6 +484,36 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .has-background .block-editor-block-list__block .block-list-appender { margin: 32px 14px; } +.block-list-appender.is-drop-target > div::before { + content: ""; + position: absolute; + right: -14px; + left: -14px; + top: -14px; + bottom: -14px; + border: 3px solid #0085ba; } + +body.admin-color-sunrise .block-list-appender.is-drop-target > div::before { + border: 3px solid #d1864a; } + +body.admin-color-ocean .block-list-appender.is-drop-target > div::before { + border: 3px solid #a3b9a2; } + +body.admin-color-midnight .block-list-appender.is-drop-target > div::before { + border: 3px solid #e14d43; } + +body.admin-color-ectoplasm .block-list-appender.is-drop-target > div::before { + border: 3px solid #a7b656; } + +body.admin-color-coffee .block-list-appender.is-drop-target > div::before { + border: 3px solid #c2a68c; } + +body.admin-color-blue .block-list-appender.is-drop-target > div::before { + border: 3px solid #82b4cb; } + +body.admin-color-light .block-list-appender.is-drop-target > div::before { + border: 3px solid #0085ba; } + .block-list-appender > .block-editor-inserter { display: block; } @@ -738,6 +721,9 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .block-editor-block-mover__description { display: none; } +.block-editor-block-mover.is-horizontal .block-editor-block-mover__control-drag-handle { + display: none; } + .block-editor-block-navigation__container { padding: 7px; } @@ -828,49 +814,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .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%; @@ -890,8 +833,6 @@ 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 .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-list__insertion-point, @@ -1120,6 +1061,49 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { display: flex; flex-wrap: wrap; } +.block-editor-block-variation-picker .components-placeholder__instructions { + margin-bottom: 0; } + +.block-editor-block-variation-picker .components-placeholder__fieldset { + flex-direction: column; } + +.block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset { + max-width: 90%; } + +.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations { + display: flex; + justify-content: flex-start; + flex-direction: row; + flex-wrap: wrap; + width: 100%; + margin: 16px 0; + padding: 0; + list-style: none; } + .block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations > li { + list-style: none; + margin: 4px 8px 4px 0; + flex-shrink: 1; + max-width: 100px; } + .block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation { + padding: 8px; } + +.block-editor-block-variation-picker__variation { + width: 100%; } + .block-editor-block-variation-picker__variation.components-button.has-icon { + justify-content: center; } + .block-editor-block-variation-picker__variation.components-button.has-icon.is-secondary { + background-color: #fff; } + .block-editor-block-variation-picker__variation.components-button { + height: auto; + padding: 0; } + .block-editor-block-variation-picker__variation::before { + content: ""; + padding-bottom: 100%; } + .block-editor-block-variation-picker__variation:first-child { + margin-left: 0; } + .block-editor-block-variation-picker__variation:last-child { + margin-right: 0; } + .block-editor-button-block-appender { display: flex; flex-direction: column; @@ -1201,7 +1185,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .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 { @@ -1221,10 +1204,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .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; } } + height: 100%; } } .block-editor-block-list__empty-block-inserter:disabled, .block-editor-default-block-appender .block-editor-inserter:disabled { display: none; } @@ -1241,11 +1221,15 @@ 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-link-control__search { +@media (min-width: 600px) { + .block-editor-default-block-appender .block-editor-inserter { + align-items: center; } } + +.block-editor-link-control { 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"] { +.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"] { width: calc(100% - 32px); display: block; padding: 11px 16px; @@ -1258,9 +1242,9 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { /* Fonts smaller than 16px causes mobile safari to zoom. */ 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"] { + .block-editor-link-control .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 { + .block-editor-link-control .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; @@ -1294,11 +1278,16 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { top: auto; background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, white 100%); } +.block-editor-link-control__search-results-label { + padding: 15px 30px 0 30px; + display: block; + font-size: 1.1em; } + .block-editor-link-control__search-results { margin: 0; padding: 8px 16px 16px; max-height: 200px; - overflow-y: scroll; } + overflow-y: auto; } .block-editor-link-control__search-results.is-loading { opacity: 0.2; } @@ -1380,8 +1369,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { .block-editor-link-control .block-editor-link-control__search-input .components-spinner { display: block; - z-index: 100; - float: none; } + z-index: 100; } .block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner { position: absolute; top: 27px; @@ -1393,6 +1381,22 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { margin-left: auto; flex-shrink: 0; } +.block-editor-image-size-control { + margin-bottom: 1em; } + .block-editor-image-size-control .block-editor-image-size-control__row { + display: flex; + justify-content: space-between; } + .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width, + .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height { + margin-bottom: 0.5em; } + .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width input, + .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height input { + line-height: 1.25; } + .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width { + margin-right: 5px; } + .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height { + margin-left: 5px; } + .block-editor-inner-blocks.has-overlay::after { content: ""; position: absolute; @@ -1402,7 +1406,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { left: -14px; z-index: 60; } -[data-align="full"] > .block-editor-block-list__block-edit > [data-block] .has-overlay::after { +[data-align="full"] .has-overlay::after { right: 0; left: 0; } @@ -1424,13 +1428,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { height: 432px; } } .block-editor-inserter__toggle { - display: inline-flex; - align-items: center; - color: #555d66; - background: none; - cursor: pointer; - border: none; - outline: none; transition: color 0.2s ease; } @media (prefers-reduced-motion: reduce) { .block-editor-inserter__toggle { @@ -1850,11 +1847,6 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { 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; } @@ -1862,8 +1854,12 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator { content: attr(data-rich-text-placeholder); opacity: 0.62; } -.block-editor-rich-text__editable.is-selected:not(.keep-placeholder-on-focus) [data-rich-text-placeholder]::after { - display: none; } +.block-editor-rich-text__editable:focus { + outline: none; } + .block-editor-rich-text__editable:focus [data-rich-text-format-boundary] { + border-radius: 2px; } + .block-editor-rich-text__editable:focus:not(.keep-placeholder-on-focus) [data-rich-text-placeholder]::after { + display: none; } figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before { opacity: 0.8; } diff --git a/wp-includes/css/dist/block-editor/style.min.css b/wp-includes/css/dist/block-editor/style.min.css index 4d48b9b4a4..025e9cee67 100644 --- a/wp-includes/css/dist/block-editor/style.min.css +++ b/wp-includes/css/dist/block-editor/style.min.css @@ -1,5 +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 .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{ +.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:before{border:none}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>*{background:#f8f9f9}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>*>*{visibility:hidden}.block-editor-block-list__layout .block-editor-block-list__block.is-selected .reusable-block-edit-panel *{z-index:1}.block-editor-block-list__layout{padding-left:14px;padding-right:14px;position:relative}@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: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:before{transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.is-selected: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: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:before{box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected:before{box-shadow:-3px 0 0 0 #d7dade}}.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected:before{border-color:#007cba;box-shadow:inset 3px 0 0 0 #007cba}@media (min-width:600px){.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected: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-drop-target:before{border-top:3px solid #0085ba}body.admin-color-sunrise .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #d1864a}body.admin-color-ocean .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #a7b656}body.admin-color-coffee .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #c2a68c}body.admin-color-blue .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #82b4cb}body.admin-color-light .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #0085ba}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .is-block-content,.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-block-collapsed){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 .is-block-content,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-block-collapsed){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 .block-editor-block-list__block.has-warning{min-height:36px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning>*{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-warning{pointer-events:all}.block-editor-block-list__layout .block-editor-block-list__block.has-warning: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:before{border-color:hsla(0,0%,100%,.35)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected: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:before{border-color:hsla(0,0%,100%,.45)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning: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:after{background-color:transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected:after{bottom:22px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected:after{bottom:-14px}}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected:before{border-left:transparent;border-width:1px;border-style:dashed}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-inner-blocks.has-overlay:after{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-inner-blocks.has-overlay .block-editor-inner-blocks.has-overlay:after{display:block}.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block{cursor:default}.block-editor-block-list__layout .block-editor-block-list__block[data-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]:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left]>.is-block-content{ /*!rtl:begin:ignore*/float:left;margin-right:2em - /*!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]>.is-block-content{ /*!rtl:begin:ignore*/float:right;margin-left:2em - /*!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 + /*!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]{margin-left:-14px;margin-right:-14px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]{margin-left:-58px;margin-right:-58px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]: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-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;justify-content:center;cursor:text}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__insertion-point-inserter.is-inserter-hidden .block-editor-inserter__toggle{opacity:0;pointer-events:none}.block-editor-block-list__block-popover-inserter{position:absolute;top:-9999em;margin-bottom:14px}.block-editor-block-list__block-popover-inserter.is-visible{position:static}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle{border-radius:50%;color:#007cba;background:#fff;height:28px;width:28px;padding:0;justify-content:center}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}.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}}.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__insertion-point-popover{z-index:28}.block-editor-block-list__insertion-point-popover .components-popover__content{background:none;border:none;box-shadow:none;overflow-y:visible}.components-popover.block-editor-block-list__block-popover{z-index:29}.components-popover.block-editor-block-list__block-popover .components-popover__content{margin:0!important;min-width:auto;background:none;border:none;box-shadow:none;overflow-y:visible;pointer-events:none}.components-popover.block-editor-block-list__block-popover .components-popover__content>*{pointer-events:all}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar,.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__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],.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__breadcrumb[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.is-drop-target>div:before{content:"";position:absolute;right:-14px;left:-14px;top:-14px;bottom:-14px;border:3px solid #0085ba}body.admin-color-sunrise .block-list-appender.is-drop-target>div:before{border:3px solid #d1864a}body.admin-color-ocean .block-list-appender.is-drop-target>div:before{border:3px solid #a3b9a2}body.admin-color-midnight .block-list-appender.is-drop-target>div:before{border:3px solid #e14d43}body.admin-color-ectoplasm .block-list-appender.is-drop-target>div:before{border:3px solid #a7b656}body.admin-color-coffee .block-list-appender.is-drop-target>div:before{border:3px solid #c2a68c}body.admin-color-blue .block-list-appender.is-drop-target>div:before{border:3px solid #82b4cb}body.admin-color-light .block-list-appender.is-drop-target>div:before{border:3px solid #0085ba}.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.is-horizontal .block-editor-block-mover__control-drag-handle,.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-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>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-block-variation-picker .components-placeholder__instructions{margin-bottom:0}.block-editor-block-variation-picker .components-placeholder__fieldset{flex-direction:column}.block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset{max-width:90%}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations{display:flex;justify-content:flex-start;flex-direction:row;flex-wrap:wrap;width:100%;margin:16px 0;padding:0;list-style:none}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations>li{list-style:none;margin:4px 8px 4px 0;flex-shrink:1;max-width:100px}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation{padding:8px}.block-editor-block-variation-picker__variation{width:100%}.block-editor-block-variation-picker__variation.components-button.has-icon{justify-content:center}.block-editor-block-variation-picker__variation.components-button.has-icon.is-secondary{background-color:#fff}.block-editor-block-variation-picker__variation.components-button{height:auto;padding:0}.block-editor-block-variation-picker__variation:before{content:"";padding-bottom:100%}.block-editor-block-variation-picker__variation:first-child{margin-left:0}.block-editor-block-variation-picker__variation:last-child{margin-right:0}.block-editor-button-block-appender{display:flex;flex-direction:column;align-items:center;justify-content:center;padding: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;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;height:100%}}.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)}@media (min-width:600px){.block-editor-default-block-appender .block-editor-inserter{align-items:center}}.block-editor-link-control{position:relative;min-width:360px}.block-editor-link-control .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 .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{font-size:13px}}.block-editor-link-control .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-label{padding:15px 30px 0;display:block;font-size:1.1em}.block-editor-link-control__search-results{margin:0;padding:8px 16px 16px;max-height:200px;overflow-y:auto}.block-editor-link-control__search-results.is-loading{opacity:.2}.block-editor-link-control__search-item{position:relative;display:flex;align-items:center;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:left;padding:10px 15px;border-radius:5px;height:auto}.block-editor-link-control__search-item:focus,.block-editor-link-control__search-item:hover{background-color:#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}.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-image-size-control{margin-bottom:1em}.block-editor-image-size-control .block-editor-image-size-control__row{display:flex;justify-content:space-between}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height,.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width{margin-bottom:.5em}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height input,.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width input{line-height:1.25}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width{margin-right:5px}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height{margin-left:5px}.block-editor-inner-blocks.has-overlay:after{content:"";position:absolute;top:-14px;right:-14px;bottom:-14px;left:-14px;z-index:60}[data-align=full] .has-overlay:after{right:0;left:0}.block-editor-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{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 [data-rich-text-placeholder]{pointer-events:none}.block-editor-rich-text__editable [data-rich-text-placeholder]:after{content:attr(data-rich-text-placeholder);opacity:.62}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px}.block-editor-rich-text__editable:focus:not(.keep-placeholder-on-focus) [data-rich-text-placeholder]:after{display:none}figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]:before{opacity:.8}.components-popover.block-editor-rich-text__inline-format-toolbar{z-index:99998}.components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content{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 2601015dac..3bd8e62c47 100644 --- a/wp-includes/css/dist/block-library/editor-rtl.css +++ b/wp-includes/css/dist/block-library/editor-rtl.css @@ -49,10 +49,9 @@ 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; } + text-align: center; + margin-right: auto; + margin-left: auto; } .block-editor-block-list__block[data-type="core/button"][data-align="right"] { text-align: right; } @@ -93,16 +92,13 @@ overflow: visible; margin-top: 16px; } -div[data-type="core/button"] div[data-block] { +div[data-type="core/button"] { 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; @@ -157,23 +153,21 @@ div[data-type="core/button"] div[data-block] { .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 > 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 { + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] .block-core-columns { 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 > 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 { + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] .block-core-columns { 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; + margin-top: 0; + margin-bottom: 0; min-width: 0; word-break: break-word; overflow-wrap: break-word; @@ -190,18 +184,12 @@ div[data-type="core/button"] div[data-block] { @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: calc(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; } + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"]::before { + right: 0; + left: 0; } + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-core-columns > .block-editor-inner-blocks { + margin-top: -28px; + margin-bottom: -28px; } /** * Columns act as as a "passthrough container" @@ -235,7 +223,7 @@ div.block-core-columns.is-vertically-aligned-bottom { /** * Fixes single Column breadcrumb position. */ -[data-type="core/column"] > .block-editor-block-list__block-edit > .editor-block-list__breadcrumb { +[data-type="core/column"] > .editor-block-list__breadcrumb { right: -3px; } /** @@ -516,15 +504,15 @@ div.block-core-columns.is-vertically-aligned-bottom { border: none; padding: 0; } -div[data-type="core/freeform"] .block-editor-block-list__block-edit::before { +div[data-type="core/freeform"]::before { transition: border-color 0.1s linear, box-shadow 0.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 { + div[data-type="core/freeform"]::before { transition-duration: 0s; } } -div[data-type="core/freeform"].is-selected .block-editor-block-list__block-edit::before { +div[data-type="core/freeform"].is-selected::before { border-color: #b5bcc2; border-right-color: transparent; } @@ -726,47 +714,44 @@ body.admin-color-light .blocks-gallery-item figure.is-selected { 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 { +.wp-block[data-type="core/group"] > 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"] { +.wp-block[data-type="core/group"] > 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"] { + .wp-block[data-type="core/group"] > 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"] { +.wp-block[data-type="core/group"] > 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"] > .block-editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks { +.wp-block[data-type="core/group"][data-align="full"] > 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 { + .wp-block[data-type="core/group"][data-align="full"] > 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"] { +.wp-block[data-type="core/group"][data-align="full"] > 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"] { +.wp-block[data-type="core/group"][data-align="full"] > 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 { @@ -828,22 +813,6 @@ body.admin-color-light .blocks-gallery-item figure.is-selected { 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__width, - .edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height { - margin-bottom: 0.5em; } - .edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width input, - .edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height 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; @@ -853,16 +822,16 @@ body.admin-color-light .blocks-gallery-item figure.is-selected { .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 { +[data-type="core/image"][data-align="center"] figure, +[data-type="core/image"][data-align="left"] figure, +[data-type="core/image"][data-align="right"] figure { margin: 0; } [data-type="core/image"][data-align="wide"] figure img, [data-type="core/image"][data-align="full"] figure img { width: 100%; } -[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized { +[data-type="core/image"] figure.is-resized { margin: 0; } .wp-block-latest-comments.has-avatars .avatar { @@ -1038,7 +1007,8 @@ figure.block-library-media-text__media-container { border-radius: 4px; background: #fff; padding: 6px 8px; - height: 24px; } + height: 24px; + max-width: 100%; } .block-editor .wp-block-more input[type="text"]:focus { box-shadow: none; } .block-editor .wp-block-more::before { @@ -1069,34 +1039,32 @@ figure.block-library-media-text__media-container { width: auto; padding-right: 0; padding-left: 0; - margin-right: 0; - margin-left: 0; - margin-bottom: 1em; } + margin: 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 { - margin-right: 0; - margin-left: 0; } +[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks > .block-editor-block-list__layout .wp-block > [data-block] { + min-height: 46px; } -[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 { +[data-type="core/navigation"] .wp-block-navigation .block-editor-block-list__block::before { right: 0; left: 0; } -[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, -[data-type="core/navigation"].has-child-selected .wp-block-navigation .block-editor-block-list__block-edit::before { +[data-type="core/navigation"].is-selected .wp-block-navigation .block-editor-block-list__block::before, +[data-type="core/navigation"].has-child-selected .wp-block-navigation .block-editor-block-list__block::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; } + margin: 0; + width: 28px; + height: 28px; + margin-top: 4px; + margin-right: 10px; } [data-type="core/navigation"] .wp-block-navigation .block-list-appender .block-editor-button-block-appender { padding: 8px; + padding-bottom: 4px; + padding-top: 4px; outline: none; background: none; } @@ -1105,24 +1073,15 @@ figure.block-library-media-text__media-container { display: flex; flex-wrap: wrap; } +.wp-block-navigation { + min-height: 60px; + padding-top: 7px; + padding-bottom: 7px; + align-items: center; } + .wp-block-navigation__inserter-content { padding: 16px; } -/* - * Adjust Navigation Item. - */ -.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; } - /** * Colors Selector component */ @@ -1153,9 +1112,6 @@ figure.block-library-media-text__media-container { 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, 0.2); @@ -1180,7 +1136,7 @@ figure.block-library-media-text__media-container { float: left; margin-top: 2px; } -.block-editor-block-mover.is-horizontal .block-editor-block-mover__control-drag-handle { +.block-library-colors-selector__popover .components-panel__body-title { display: none; } .wp-block-navigation-link__field .components-text-control__input.components-text-control__input, @@ -1189,28 +1145,13 @@ figure.block-library-media-text__media-container { 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 0.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; } - +/* + * Adjust Navigation Item. + */ .wp-block-navigation-link { + margin-right: 8px; margin-left: 8px; - padding: 0 8px; - padding-left: 55px; } + padding: 0 8px; } .wp-block-navigation-link .block-editor-block-list__layout { display: block; margin: 8px; } @@ -1220,14 +1161,19 @@ figure.block-library-media-text__media-container { 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; } + .wp-block-navigation-link .wp-block-navigation-link__content { + display: flex; + align-items: center; } + .wp-block-navigation-link.has-link .wp-block-navigation-link__label { + text-decoration: underline; } + .wp-block-navigation-link .wp-block-navigation-link__submenu-icon { + margin-right: 4px; } [data-type="core/navigation-link"] .block-editor-block-toolbar { - right: 15px; } + right: 14px; } + +[data-type="core/navigation-link"] .block-editor-block-toolbar .components-toolbar.block-editor-block-mover .components-button.block-editor-block-mover__control-drag-handle { + display: none; } .wp-block-navigation-link__nofollow-external-link { display: block; } @@ -1275,18 +1221,8 @@ figure.block-library-media-text__media-container { 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; } + min-height: auto !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; } @@ -1323,7 +1259,8 @@ figure.block-library-media-text__media-container { border: 1px solid #7e8993; color: rgba(14, 28, 46, 0.62); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; - font-size: 13px; } + font-size: 13px; + padding: 8px; } .wp-block-search__input:focus { outline: none; } @@ -1378,29 +1315,21 @@ figure.block-library-media-text__media-container { [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 { + padding-left: 0; margin-right: 0; - margin-left: 0; } + margin-left: 0; + margin-top: 0; + margin-bottom: 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 { +[data-type="core/social-links"] .wp-block-social-links > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block::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"].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, -[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-selected .wp-block-social-links .block-editor-block-list__block::before, +[data-type="core/social-links"].has-child-selected .wp-block-social-links .block-editor-block-list__block::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; } @@ -1502,6 +1431,9 @@ figure.block-library-media-text__media-container { .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 .components-base-control__field { + margin-bottom: 0; } + .wp-block-table__placeholder-form.wp-block-table__placeholder-form .wp-block-table__placeholder-button { margin-top: auto; margin-left: auto; } @@ -1516,6 +1448,27 @@ figure.block-library-media-text__media-container { color: #8f98a1; text-decoration: none; } +.wp-block-template-part__placeholder-input-container { + display: flex; + flex-wrap: wrap; + width: 100%; } + +.wp-block-template-part__placeholder-input { + margin: 5px; } + +.wp-block-template-part__placeholder-preview { + margin-bottom: 15px; + width: 100%; } + .wp-block-template-part__placeholder-preview .block-editor-block-preview__container { + padding: 1px; } + .wp-block-template-part__placeholder-preview .block-editor-block-preview__content { + position: initial; } + +.wp-block-template-part__placeholder-preview-title { + font-size: 15px; + font-weight: 600; + margin-bottom: 4px; } + .wp-block-text-columns .block-editor-rich-text__editable:focus { outline: 1px solid #e2e4e7; } @@ -1588,10 +1541,10 @@ pre.wp-block-verse { border-color: rgba(255, 255, 255, 0.45); border-right-color: transparent; } -.is-selected.is-navigate-mode .reusable-block-edit-panel { +.is-navigate-mode .is-selected .reusable-block-edit-panel { border-color: #007cba; border-right-color: transparent; } - .is-dark-theme .is-selected.is-navigate-mode .reusable-block-edit-panel { + .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel { border-color: #007cba; border-right-color: transparent; } @@ -1601,6 +1554,6 @@ pre.wp-block-verse { * These are only output in the editor, but styles here are NOT prefixed .editor-styles-wrapper. * This allows us to create normalization styles that are easily overridden by editor styles. */ -.editor-styles-wrapper [data-block] { +.editor-styles-wrapper .block-editor-block-list__block { margin-top: 28px; margin-bottom: 28px; } 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 0b3fe3e230..8dab9e14ed 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}.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 +.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;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"]{display:table}.wp-block-buttons .wp-block.block-editor-block-list__block[data-type="core/button"]{display:inline-block;width:auto}.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-core-columns{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-core-columns{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:0 -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"]:before{right:0;left:0}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.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"]>.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"]: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"]:before{transition-duration:0s}}div[data-type="core/freeform"].is-selected: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"]>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"]>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"]>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"]>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]>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]>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]>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]>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}.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] figure,[data-type="core/image"][data-align=left] figure,[data-type="core/image"][data-align=right] 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"] 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;max-width:100%}.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:0}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block>[data-block]{min-height:46px}[data-type="core/navigation"] .wp-block-navigation .block-editor-block-list__block:before{right:0;left:0}[data-type="core/navigation"].has-child-selected .wp-block-navigation .block-editor-block-list__block:before,[data-type="core/navigation"].is-selected .wp-block-navigation .block-editor-block-list__block: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{width:28px;height:28px;margin:4px 10px 0 0}[data-type="core/navigation"] .wp-block-navigation .block-list-appender .block-editor-button-block-appender{padding:4px 8px;outline:none;background:none}.wp-block-navigation,.wp-block-navigation .block-editor-block-list__layout{display:flex;flex-wrap:wrap}.wp-block-navigation{min-height:60px;padding-top:7px;padding-bottom:7px;align-items:center}.wp-block-navigation__inserter-content{padding:16px}.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__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-library-colors-selector__popover .components-panel__body-title{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{margin-right:8px;margin-left:8px;padding: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 .wp-block-navigation-link__content{display:flex;align-items:center}.wp-block-navigation-link.has-link .wp-block-navigation-link__label{text-decoration:underline}.wp-block-navigation-link .wp-block-navigation-link__submenu-icon{margin-right:4px}[data-type="core/navigation-link"] .block-editor-block-toolbar{right:14px}[data-type="core/navigation-link"] .block-editor-block-toolbar .components-toolbar.block-editor-block-mover .components-button.block-editor-block-mover__control-drag-handle{display:none}.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-block-list__block[data-type="core/paragraph"] .has-drop-cap:focus{min-height:auto!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;padding:8px}.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;margin:0}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block:before{border-left:none;border-top:none;border-bottom:none}[data-type="core/social-links"].has-child-selected .wp-block-social-links .block-editor-block-list__block:before,[data-type="core/social-links"].is-selected .wp-block-social-links .block-editor-block-list__block:before{border-color:transparent!important}[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 .components-base-control__field{margin-bottom:0}.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-template-part__placeholder-input-container{display:flex;flex-wrap:wrap;width:100%}.wp-block-template-part__placeholder-input{margin:5px}.wp-block-template-part__placeholder-preview{margin-bottom:15px;width:100%}.wp-block-template-part__placeholder-preview .block-editor-block-preview__container{padding:1px}.wp-block-template-part__placeholder-preview .block-editor-block-preview__content{position:static}.wp-block-template-part__placeholder-preview-title{font-size:15px;font-weight:600;margin-bottom:4px}.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-navigate-mode .is-selected .reusable-block-edit-panel,.is-navigate-mode .is-selected .reusable-block-edit-panel{border-color:#007cba transparent #007cba #007cba}.editor-styles-wrapper .block-editor-block-list__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 0fc7c4e887..64fe0bdfc8 100644 --- a/wp-includes/css/dist/block-library/editor.css +++ b/wp-includes/css/dist/block-library/editor.css @@ -49,10 +49,9 @@ 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; } + text-align: center; + margin-left: auto; + margin-right: auto; } .block-editor-block-list__block[data-type="core/button"][data-align="right"] { /*!rtl:ignore*/ @@ -94,16 +93,13 @@ overflow: visible; margin-top: 16px; } -div[data-type="core/button"] div[data-block] { +div[data-type="core/button"] { 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; @@ -158,23 +154,21 @@ div[data-type="core/button"] div[data-block] { .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 > 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 { + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] .block-core-columns { 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 > 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 { + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] .block-core-columns { 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; + margin-top: 0; + margin-bottom: 0; min-width: 0; word-break: break-word; overflow-wrap: break-word; @@ -191,18 +185,12 @@ div[data-type="core/button"] div[data-block] { @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: calc(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; } + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"]::before { + left: 0; + right: 0; } + .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-core-columns > .block-editor-inner-blocks { + margin-top: -28px; + margin-bottom: -28px; } /** * Columns act as as a "passthrough container" @@ -236,7 +224,7 @@ div.block-core-columns.is-vertically-aligned-bottom { /** * Fixes single Column breadcrumb position. */ -[data-type="core/column"] > .block-editor-block-list__block-edit > .editor-block-list__breadcrumb { +[data-type="core/column"] > .editor-block-list__breadcrumb { left: -3px; } /** @@ -521,15 +509,15 @@ div.block-core-columns.is-vertically-aligned-bottom { border: none; padding: 0; } -div[data-type="core/freeform"] .block-editor-block-list__block-edit::before { +div[data-type="core/freeform"]::before { transition: border-color 0.1s linear, box-shadow 0.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 { + div[data-type="core/freeform"]::before { transition-duration: 0s; } } -div[data-type="core/freeform"].is-selected .block-editor-block-list__block-edit::before { +div[data-type="core/freeform"].is-selected::before { border-color: #b5bcc2; border-left-color: transparent; } @@ -731,47 +719,44 @@ body.admin-color-light .blocks-gallery-item figure.is-selected { 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 { +.wp-block[data-type="core/group"] > 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"] { +.wp-block[data-type="core/group"] > 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"] { + .wp-block[data-type="core/group"] > 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"] { +.wp-block[data-type="core/group"] > 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"] > .block-editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .block-editor-inner-blocks { +.wp-block[data-type="core/group"][data-align="full"] > 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 { + .wp-block[data-type="core/group"][data-align="full"] > 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"] { +.wp-block[data-type="core/group"][data-align="full"] > 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"] { +.wp-block[data-type="core/group"][data-align="full"] > 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 { @@ -833,22 +818,6 @@ body.admin-color-light .blocks-gallery-item figure.is-selected { 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__width, - .edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height { - margin-bottom: 0.5em; } - .edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__width input, - .edit-post-sidebar .block-library-image__dimensions .block-library-image__dimensions__row .block-library-image__dimensions__height 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; @@ -858,16 +827,16 @@ body.admin-color-light .blocks-gallery-item figure.is-selected { .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 { +[data-type="core/image"][data-align="center"] figure, +[data-type="core/image"][data-align="left"] figure, +[data-type="core/image"][data-align="right"] figure { margin: 0; } [data-type="core/image"][data-align="wide"] figure img, [data-type="core/image"][data-align="full"] figure img { width: 100%; } -[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized { +[data-type="core/image"] figure.is-resized { margin: 0; } .wp-block-latest-comments.has-avatars .avatar { @@ -1043,7 +1012,8 @@ figure.block-library-media-text__media-container { border-radius: 4px; background: #fff; padding: 6px 8px; - height: 24px; } + height: 24px; + max-width: 100%; } .block-editor .wp-block-more input[type="text"]:focus { box-shadow: none; } .block-editor .wp-block-more::before { @@ -1074,34 +1044,32 @@ figure.block-library-media-text__media-container { width: auto; padding-left: 0; padding-right: 0; - margin-left: 0; - margin-right: 0; - margin-bottom: 1em; } + margin: 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 { - margin-left: 0; - margin-right: 0; } +[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks > .block-editor-block-list__layout .wp-block > [data-block] { + min-height: 46px; } -[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 { +[data-type="core/navigation"] .wp-block-navigation .block-editor-block-list__block::before { left: 0; right: 0; } -[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, -[data-type="core/navigation"].has-child-selected .wp-block-navigation .block-editor-block-list__block-edit::before { +[data-type="core/navigation"].is-selected .wp-block-navigation .block-editor-block-list__block::before, +[data-type="core/navigation"].has-child-selected .wp-block-navigation .block-editor-block-list__block::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; } + margin: 0; + width: 28px; + height: 28px; + margin-top: 4px; + margin-left: 10px; } [data-type="core/navigation"] .wp-block-navigation .block-list-appender .block-editor-button-block-appender { padding: 8px; + padding-bottom: 4px; + padding-top: 4px; outline: none; background: none; } @@ -1110,24 +1078,15 @@ figure.block-library-media-text__media-container { display: flex; flex-wrap: wrap; } +.wp-block-navigation { + min-height: 60px; + padding-top: 7px; + padding-bottom: 7px; + align-items: center; } + .wp-block-navigation__inserter-content { padding: 16px; } -/* - * Adjust Navigation Item. - */ -.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; } - /** * Colors Selector component */ @@ -1158,9 +1117,6 @@ figure.block-library-media-text__media-container { 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, 0.2); @@ -1185,7 +1141,7 @@ figure.block-library-media-text__media-container { float: right; margin-top: 2px; } -.block-editor-block-mover.is-horizontal .block-editor-block-mover__control-drag-handle { +.block-library-colors-selector__popover .components-panel__body-title { display: none; } .wp-block-navigation-link__field .components-text-control__input.components-text-control__input, @@ -1194,28 +1150,13 @@ figure.block-library-media-text__media-container { 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 0.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; } - +/* + * Adjust Navigation Item. + */ .wp-block-navigation-link { + margin-left: 8px; margin-right: 8px; - padding: 0 8px; - padding-right: 55px; } + padding: 0 8px; } .wp-block-navigation-link .block-editor-block-list__layout { display: block; margin: 8px; } @@ -1225,14 +1166,19 @@ figure.block-library-media-text__media-container { 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; } + .wp-block-navigation-link .wp-block-navigation-link__content { + display: flex; + align-items: center; } + .wp-block-navigation-link.has-link .wp-block-navigation-link__label { + text-decoration: underline; } + .wp-block-navigation-link .wp-block-navigation-link__submenu-icon { + margin-left: 4px; } [data-type="core/navigation-link"] .block-editor-block-toolbar { - left: 15px; } + left: 14px; } + +[data-type="core/navigation-link"] .block-editor-block-toolbar .components-toolbar.block-editor-block-mover .components-button.block-editor-block-mover__control-drag-handle { + display: none; } .wp-block-navigation-link__nofollow-external-link { display: block; } @@ -1280,18 +1226,8 @@ figure.block-library-media-text__media-container { 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; } + min-height: auto !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; } @@ -1328,7 +1264,8 @@ figure.block-library-media-text__media-container { border: 1px solid #7e8993; color: rgba(14, 28, 46, 0.62); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; - font-size: 13px; } + font-size: 13px; + padding: 8px; } .wp-block-search__input:focus { outline: none; } @@ -1383,29 +1320,21 @@ figure.block-library-media-text__media-container { [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 { + padding-right: 0; margin-left: 0; - margin-right: 0; } + margin-right: 0; + margin-top: 0; + margin-bottom: 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 { +[data-type="core/social-links"] .wp-block-social-links > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block::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"].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, -[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-selected .wp-block-social-links .block-editor-block-list__block::before, +[data-type="core/social-links"].has-child-selected .wp-block-social-links .block-editor-block-list__block::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; } @@ -1507,6 +1436,9 @@ figure.block-library-media-text__media-container { .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 .components-base-control__field { + margin-bottom: 0; } + .wp-block-table__placeholder-form.wp-block-table__placeholder-form .wp-block-table__placeholder-button { margin-top: auto; margin-right: auto; } @@ -1521,6 +1453,27 @@ figure.block-library-media-text__media-container { color: #8f98a1; text-decoration: none; } +.wp-block-template-part__placeholder-input-container { + display: flex; + flex-wrap: wrap; + width: 100%; } + +.wp-block-template-part__placeholder-input { + margin: 5px; } + +.wp-block-template-part__placeholder-preview { + margin-bottom: 15px; + width: 100%; } + .wp-block-template-part__placeholder-preview .block-editor-block-preview__container { + padding: 1px; } + .wp-block-template-part__placeholder-preview .block-editor-block-preview__content { + position: initial; } + +.wp-block-template-part__placeholder-preview-title { + font-size: 15px; + font-weight: 600; + margin-bottom: 4px; } + .wp-block-text-columns .block-editor-rich-text__editable:focus { outline: 1px solid #e2e4e7; } @@ -1593,10 +1546,10 @@ pre.wp-block-verse { border-color: rgba(255, 255, 255, 0.45); border-left-color: transparent; } -.is-selected.is-navigate-mode .reusable-block-edit-panel { +.is-navigate-mode .is-selected .reusable-block-edit-panel { border-color: #007cba; border-left-color: transparent; } - .is-dark-theme .is-selected.is-navigate-mode .reusable-block-edit-panel { + .is-dark-theme .is-navigate-mode .is-selected .reusable-block-edit-panel { border-color: #007cba; border-left-color: transparent; } @@ -1606,6 +1559,6 @@ pre.wp-block-verse { * These are only output in the editor, but styles here are NOT prefixed .editor-styles-wrapper. * This allows us to create normalization styles that are easily overridden by editor styles. */ -.editor-styles-wrapper [data-block] { +.editor-styles-wrapper .block-editor-block-list__block { margin-top: 28px; margin-bottom: 28px; } diff --git a/wp-includes/css/dist/block-library/editor.min.css b/wp-includes/css/dist/block-library/editor.min.css index 031bba4918..a330f940ef 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}.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 +.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;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"]{display:table}.wp-block-buttons .wp-block.block-editor-block-list__block[data-type="core/button"]{display:inline-block;width:auto}.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-core-columns{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-core-columns{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:0 -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"]:before{left:0;right:0}.wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]>.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"]>.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"]: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"]:before{transition-duration:0s}}div[data-type="core/freeform"].is-selected: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"]>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"]>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"]>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"]>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]>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]>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]>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]>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}.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] figure,[data-type="core/image"][data-align=left] figure,[data-type="core/image"][data-align=right] 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"] 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;max-width:100%}.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:0}[data-type="core/navigation"] .wp-block-navigation .block-editor-inner-blocks>.block-editor-block-list__layout .wp-block>[data-block]{min-height:46px}[data-type="core/navigation"] .wp-block-navigation .block-editor-block-list__block:before{left:0;right:0}[data-type="core/navigation"].has-child-selected .wp-block-navigation .block-editor-block-list__block:before,[data-type="core/navigation"].is-selected .wp-block-navigation .block-editor-block-list__block: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{width:28px;height:28px;margin:4px 0 0 10px}[data-type="core/navigation"] .wp-block-navigation .block-list-appender .block-editor-button-block-appender{padding:4px 8px;outline:none;background:none}.wp-block-navigation,.wp-block-navigation .block-editor-block-list__layout{display:flex;flex-wrap:wrap}.wp-block-navigation{min-height:60px;padding-top:7px;padding-bottom:7px;align-items:center}.wp-block-navigation__inserter-content{padding:16px}.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__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-library-colors-selector__popover .components-panel__body-title{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{margin-left:8px;margin-right:8px;padding: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 .wp-block-navigation-link__content{display:flex;align-items:center}.wp-block-navigation-link.has-link .wp-block-navigation-link__label{text-decoration:underline}.wp-block-navigation-link .wp-block-navigation-link__submenu-icon{margin-left:4px}[data-type="core/navigation-link"] .block-editor-block-toolbar{left:14px}[data-type="core/navigation-link"] .block-editor-block-toolbar .components-toolbar.block-editor-block-mover .components-button.block-editor-block-mover__control-drag-handle{display:none}.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-block-list__block[data-type="core/paragraph"] .has-drop-cap:focus{min-height:auto!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;padding:8px}.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;margin:0}[data-type="core/social-links"] .wp-block-social-links>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block:before{border-right:none;border-top:none;border-bottom:none}[data-type="core/social-links"].has-child-selected .wp-block-social-links .block-editor-block-list__block:before,[data-type="core/social-links"].is-selected .wp-block-social-links .block-editor-block-list__block:before{border-color:transparent!important}[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 .components-base-control__field{margin-bottom:0}.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-template-part__placeholder-input-container{display:flex;flex-wrap:wrap;width:100%}.wp-block-template-part__placeholder-input{margin:5px}.wp-block-template-part__placeholder-preview{margin-bottom:15px;width:100%}.wp-block-template-part__placeholder-preview .block-editor-block-preview__container{padding:1px}.wp-block-template-part__placeholder-preview .block-editor-block-preview__content{position:static}.wp-block-template-part__placeholder-preview-title{font-size:15px;font-weight:600;margin-bottom:4px}.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-navigate-mode .is-selected .reusable-block-edit-panel,.is-navigate-mode .is-selected .reusable-block-edit-panel{border-color:#007cba #007cba #007cba transparent}.editor-styles-wrapper .block-editor-block-list__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 3c4aa811fa..0b1c609048 100644 --- a/wp-includes/css/dist/block-library/style-rtl.css +++ b/wp-includes/css/dist/block-library/style-rtl.css @@ -70,6 +70,9 @@ .wp-block-button__link:hover, .wp-block-button__link:focus, .wp-block-button__link:active, .wp-block-button__link:visited { color: inherit; } +.wp-gs .wp-block-button__link:not(.has-background) { + background-color: var(--wp-block-core-button--color--background, var(--wp-color--primary, #32373c)); } + .is-style-squared .wp-block-button__link { border-radius: 0; } @@ -125,6 +128,8 @@ @media (min-width: 782px) { .wp-block-columns { flex-wrap: nowrap; } } + .wp-block-columns.has-background { + padding: 20px 30px; } .wp-block-column { flex-grow: 1; @@ -375,8 +380,8 @@ section.wp-block-cover-image > h2, 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, +.block-editor-block-list__block[data-type="core/embed"][data-align="left"], +.block-editor-block-list__block[data-type="core/embed"][data-align="right"], .wp-block-embed.alignleft, .wp-block-embed.alignright { max-width: 360px; @@ -823,12 +828,13 @@ section.wp-block-cover-image > h2, margin-bottom: 16px; } .wp-block-media-text { + direction: ltr; display: -ms-grid; display: grid; - -ms-grid-rows: auto; - grid-template-rows: auto; -ms-grid-columns: 50% 1fr; - grid-template-columns: 50% 1fr; } + grid-template-columns: 50% 1fr; + -ms-grid-rows: auto; + grid-template-rows: auto; } .wp-block-media-text .has-media-on-the-right { -ms-grid-columns: 1fr 50%; grid-template-columns: 1fr 50%; } @@ -858,12 +864,13 @@ section.wp-block-cover-image > h2, margin: 0; } .wp-block-media-text .wp-block-media-text__content { + direction: rtl; -ms-grid-column: 2; grid-column: 2; -ms-grid-row: 1; grid-row: 1; - word-break: break-word; - padding: 0 8% 0 8%; } + padding: 0 8% 0 8%; + word-break: break-word; } .wp-block-media-text.has-media-on-the-right .wp-block-media-text__media { -ms-grid-column: 2; @@ -957,6 +964,8 @@ section.wp-block-cover-image > h2, opacity: 1; display: block; } .wp-block-navigation > ul > li > a { + display: flex; + align-items: center; padding-right: 0; } @media (min-width: 600px) { .wp-block-navigation > ul > li > a { @@ -965,14 +974,19 @@ section.wp-block-cover-image > h2, padding-right: 0; } .wp-block-navigation > ul > li:last-of-type > a { padding-left: 0; } + .wp-block-navigation > ul > li .wp-block-navigation-link__submenu-icon { + margin-right: 4px; } + .wp-block-navigation > ul > li .wp-block-navigation-link__submenu-icon svg { + fill: currentColor; } .wp-block-navigation > ul > li > ul { - background: #fff; -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; + border-width: 1px; + border-style: solid; margin: 0; + padding: 0 10px 0 30px; position: absolute; right: 0; top: 80%; @@ -981,17 +995,18 @@ section.wp-block-cover-image > h2, opacity: 0; transition: opacity 0.15s linear, transform 0.15s linear, left 0s 0.15s; transform: translateY(0.6rem); - visibility: hidden; - padding: 5px 0; } + visibility: hidden; } .wp-block-navigation > ul > li > ul li { - margin: 2px 8px; } + margin: 0; } + .wp-block-navigation > ul > li > ul li > ul { + padding-right: 10px; } .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%; + right: 22px; border: solid transparent; content: " "; height: 0; @@ -999,21 +1014,15 @@ section.wp-block-cover-image > h2, position: absolute; 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; } + margin-right: -10px; + bottom: calc(100% - 1px); } .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%; } -.wp-block-navigation .has-background-color + ul { - background: inherit; } - .wp-block-navigation a { display: block; padding: 16px; } @@ -1024,13 +1033,10 @@ section.wp-block-cover-image > h2, .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: 0.6rem; - height: inherit; - width: inherit; } + .wp-block-navigation ul ul li a:first-child { + padding-top: 13px; } + .wp-block-navigation ul ul li a:last-child { + padding-bottom: 13px; } .wp-block-navigation.items-justified-left > ul { justify-content: flex-start; } @@ -1041,20 +1047,35 @@ section.wp-block-cover-image > h2, .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; +.wp-block-navigation > ul > li > ul, +.wp-block-navigation.is-light-style > ul > li > ul { + background-color: #fff; + border-color: #e2e4e7; } + .wp-block-navigation > ul > li > ul a, + .wp-block-navigation.is-light-style > ul > li > ul a { + color: #111; } + .wp-block-navigation > ul > li > ul a:hover, + .wp-block-navigation.is-light-style > ul > li > ul a:hover { + color: #333; } + .wp-block-navigation > ul > li > ul::after, + .wp-block-navigation.is-light-style > ul > li > ul::after { + border-color: transparent; + border-bottom-color: #fff; } + .wp-block-navigation > ul > li > ul::before, + .wp-block-navigation.is-light-style > ul > li > ul::before { + border-color: transparent; + border-bottom-color: #e2e4e7; } + +.wp-block-navigation.is-style-dark > ul > li > ul { + background-color: #333; + border-color: #111; } + .wp-block-navigation.is-style-dark > ul > li > ul a { color: #fff; } - .is-style-dark > ul > li > ul a:hover { - text-decoration: underline; + .wp-block-navigation.is-style-dark > ul > li > ul a:hover { color: #eee; } - .is-style-dark > ul > li > ul::after { - border-color: rgba(51, 51, 51, 0); + .wp-block-navigation.is-style-dark > ul > li > ul::after { border-bottom-color: #333; } - .is-style-dark > ul > li > ul::before { - border-color: rgba(17, 17, 17, 0); + .wp-block-navigation.is-style-dark > ul > li > ul::before { border-bottom-color: #111; } .is-small-text { 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 b21a6cc192..b31720211d 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-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 +.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}.wp-gs .wp-block-button__link:not(.has-background){background-color:var(--wp-block-core-button--color--background,var(--wp-color--primary,#32373c))}.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-columns.has-background{padding:20px 30px}.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[data-type="core/embed"][data-align=right],.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{direction:ltr;display:-ms-grid;display:grid;-ms-grid-columns:50% 1fr;grid-template-columns:50% 1fr;-ms-grid-rows:auto;grid-template-rows:auto}.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{direction:rtl;padding:0 8%;word-break:break-word}.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{display:flex;align-items:center;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 .wp-block-navigation-link__submenu-icon{margin-right:4px}.wp-block-navigation>ul>li .wp-block-navigation-link__submenu-icon svg{fill:currentColor}.wp-block-navigation>ul>li>ul{-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-width:1px;border-style:solid;margin:0;padding:0 10px 0 30px;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}.wp-block-navigation>ul>li>ul li{margin:0}.wp-block-navigation>ul>li>ul li>ul{padding-right:10px}.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:22px;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.wp-block-navigation>ul>li>ul:after{border-width:10px;margin-right:-10px;bottom:calc(100% - 1px)}.wp-block-navigation>ul>li>ul:before{border-width:11px;margin-right:-11px}.wp-block-navigation>ul>li>ul ul{width:100%}.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 ul ul li a:first-child{padding-top:13px}.wp-block-navigation ul ul li a:last-child{padding-bottom:13px}.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}.wp-block-navigation.is-light-style>ul>li>ul,.wp-block-navigation>ul>li>ul{background-color:#fff;border-color:#e2e4e7}.wp-block-navigation.is-light-style>ul>li>ul a,.wp-block-navigation>ul>li>ul a{color:#111}.wp-block-navigation.is-light-style>ul>li>ul a:hover,.wp-block-navigation>ul>li>ul a:hover{color:#333}.wp-block-navigation.is-light-style>ul>li>ul:after,.wp-block-navigation>ul>li>ul:after{border-color:transparent transparent #fff}.wp-block-navigation.is-light-style>ul>li>ul:before,.wp-block-navigation>ul>li>ul:before{border-color:transparent transparent #e2e4e7}.wp-block-navigation.is-style-dark>ul>li>ul{background-color:#333;border-color:#111}.wp-block-navigation.is-style-dark>ul>li>ul a{color:#fff}.wp-block-navigation.is-style-dark>ul>li>ul a:hover{color:#eee}.wp-block-navigation.is-style-dark>ul>li>ul:after{border-bottom-color:#333}.wp-block-navigation.is-style-dark>ul>li>ul:before{border-bottom-color:#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 17fd9bda66..84e4cc66ea 100644 --- a/wp-includes/css/dist/block-library/style.css +++ b/wp-includes/css/dist/block-library/style.css @@ -71,6 +71,9 @@ .wp-block-button__link:hover, .wp-block-button__link:focus, .wp-block-button__link:active, .wp-block-button__link:visited { color: inherit; } +.wp-gs .wp-block-button__link:not(.has-background) { + background-color: var(--wp-block-core-button--color--background, var(--wp-color--primary, #32373c)); } + .is-style-squared .wp-block-button__link { border-radius: 0; } @@ -128,6 +131,8 @@ @media (min-width: 782px) { .wp-block-columns { flex-wrap: nowrap; } } + .wp-block-columns.has-background { + padding: 20px 30px; } .wp-block-column { flex-grow: 1; @@ -378,8 +383,8 @@ section.wp-block-cover-image > h2, 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, +.block-editor-block-list__block[data-type="core/embed"][data-align="left"], +.block-editor-block-list__block[data-type="core/embed"][data-align="right"], .wp-block-embed.alignleft, .wp-block-embed.alignright { max-width: 360px; @@ -833,12 +838,15 @@ section.wp-block-cover-image > h2, margin-bottom: 16px; } .wp-block-media-text { + /*!rtl:begin:ignore*/ + direction: ltr; + /*!rtl:end:ignore*/ display: -ms-grid; display: grid; - -ms-grid-rows: auto; - grid-template-rows: auto; -ms-grid-columns: 50% 1fr; - grid-template-columns: 50% 1fr; } + grid-template-columns: 50% 1fr; + -ms-grid-rows: auto; + grid-template-rows: auto; } .wp-block-media-text .has-media-on-the-right { -ms-grid-columns: 1fr 50%; grid-template-columns: 1fr 50%; } @@ -861,31 +869,40 @@ section.wp-block-cover-image > h2, align-self: end; } .wp-block-media-text .wp-block-media-text__media { + /*!rtl:begin:ignore*/ -ms-grid-column: 1; grid-column: 1; -ms-grid-row: 1; grid-row: 1; + /*!rtl:end:ignore*/ margin: 0; } .wp-block-media-text .wp-block-media-text__content { + direction: ltr; + /*!rtl:begin:ignore*/ -ms-grid-column: 2; grid-column: 2; -ms-grid-row: 1; grid-row: 1; - word-break: break-word; - padding: 0 8% 0 8%; } + /*!rtl:end:ignore*/ + padding: 0 8% 0 8%; + word-break: break-word; } .wp-block-media-text.has-media-on-the-right .wp-block-media-text__media { + /*!rtl:begin:ignore*/ -ms-grid-column: 2; grid-column: 2; -ms-grid-row: 1; - grid-row: 1; } + grid-row: 1; + /*!rtl:end:ignore*/ } .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content { + /*!rtl:begin:ignore*/ -ms-grid-column: 1; grid-column: 1; -ms-grid-row: 1; - grid-row: 1; } + grid-row: 1; + /*!rtl:end:ignore*/ } .wp-block-media-text > figure > img, .wp-block-media-text > figure > video { @@ -967,6 +984,8 @@ section.wp-block-cover-image > h2, opacity: 1; display: block; } .wp-block-navigation > ul > li > a { + display: flex; + align-items: center; padding-left: 0; } @media (min-width: 600px) { .wp-block-navigation > ul > li > a { @@ -975,14 +994,19 @@ section.wp-block-cover-image > h2, padding-left: 0; } .wp-block-navigation > ul > li:last-of-type > a { padding-right: 0; } + .wp-block-navigation > ul > li .wp-block-navigation-link__submenu-icon { + margin-left: 4px; } + .wp-block-navigation > ul > li .wp-block-navigation-link__submenu-icon svg { + fill: currentColor; } .wp-block-navigation > ul > li > ul { - background: #fff; -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; + border-width: 1px; + border-style: solid; margin: 0; + padding: 0 30px 0 10px; position: absolute; left: 0; top: 80%; @@ -991,17 +1015,18 @@ section.wp-block-cover-image > h2, opacity: 0; transition: opacity 0.15s linear, transform 0.15s linear, right 0s 0.15s; transform: translateY(0.6rem); - visibility: hidden; - padding: 5px 0; } + visibility: hidden; } .wp-block-navigation > ul > li > ul li { - margin: 2px 8px; } + margin: 0; } + .wp-block-navigation > ul > li > ul li > ul { + padding-left: 10px; } .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%; + left: 22px; border: solid transparent; content: " "; height: 0; @@ -1009,21 +1034,15 @@ section.wp-block-cover-image > h2, position: absolute; 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; } + margin-left: -10px; + bottom: calc(100% - 1px); } .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%; } -.wp-block-navigation .has-background-color + ul { - background: inherit; } - .wp-block-navigation a { display: block; padding: 16px; } @@ -1034,13 +1053,10 @@ section.wp-block-cover-image > h2, .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: 0.6rem; - height: inherit; - width: inherit; } + .wp-block-navigation ul ul li a:first-child { + padding-top: 13px; } + .wp-block-navigation ul ul li a:last-child { + padding-bottom: 13px; } .wp-block-navigation.items-justified-left > ul { justify-content: flex-start; } @@ -1051,20 +1067,35 @@ section.wp-block-cover-image > h2, .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; +.wp-block-navigation > ul > li > ul, +.wp-block-navigation.is-light-style > ul > li > ul { + background-color: #fff; + border-color: #e2e4e7; } + .wp-block-navigation > ul > li > ul a, + .wp-block-navigation.is-light-style > ul > li > ul a { + color: #111; } + .wp-block-navigation > ul > li > ul a:hover, + .wp-block-navigation.is-light-style > ul > li > ul a:hover { + color: #333; } + .wp-block-navigation > ul > li > ul::after, + .wp-block-navigation.is-light-style > ul > li > ul::after { + border-color: transparent; + border-bottom-color: #fff; } + .wp-block-navigation > ul > li > ul::before, + .wp-block-navigation.is-light-style > ul > li > ul::before { + border-color: transparent; + border-bottom-color: #e2e4e7; } + +.wp-block-navigation.is-style-dark > ul > li > ul { + background-color: #333; + border-color: #111; } + .wp-block-navigation.is-style-dark > ul > li > ul a { color: #fff; } - .is-style-dark > ul > li > ul a:hover { - text-decoration: underline; + .wp-block-navigation.is-style-dark > ul > li > ul a:hover { color: #eee; } - .is-style-dark > ul > li > ul::after { - border-color: rgba(51, 51, 51, 0); + .wp-block-navigation.is-style-dark > ul > li > ul::after { border-bottom-color: #333; } - .is-style-dark > ul > li > ul::before { - border-color: rgba(17, 17, 17, 0); + .wp-block-navigation.is-style-dark > ul > li > ul::before { border-bottom-color: #111; } .is-small-text { diff --git a/wp-includes/css/dist/block-library/style.min.css b/wp-includes/css/dist/block-library/style.min.css index 054e79251b..5f9f59e042 100644 --- a/wp-includes/css/dist/block-library/style.min.css +++ b/wp-includes/css/dist/block-library/style.min.css @@ -1 +1,11 @@ -.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 +.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}.wp-gs .wp-block-button__link:not(.has-background){background-color:var(--wp-block-core-button--color--background,var(--wp-color--primary,#32373c))}.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-columns.has-background{padding:20px 30px}.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[data-type="core/embed"][data-align=right],.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{ + /*!rtl:begin:ignore*/direction:ltr; + /*!rtl:end:ignore*/display:-ms-grid;display:grid;-ms-grid-columns:50% 1fr;grid-template-columns:50% 1fr;-ms-grid-rows:auto;grid-template-rows:auto}.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{ + /*!rtl:begin:ignore*/-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1; + /*!rtl:end:ignore*/margin:0}.wp-block-media-text .wp-block-media-text__content{direction:ltr; + /*!rtl:begin:ignore*/-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1; + /*!rtl:end:ignore*/padding:0 8%;word-break:break-word}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media{ + /*!rtl:begin:ignore*/-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1 + /*!rtl:end:ignore*/}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{ + /*!rtl:begin:ignore*/-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1 + /*!rtl:end:ignore*/}.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{display:flex;align-items:center;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 .wp-block-navigation-link__submenu-icon{margin-left:4px}.wp-block-navigation>ul>li .wp-block-navigation-link__submenu-icon svg{fill:currentColor}.wp-block-navigation>ul>li>ul{-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-width:1px;border-style:solid;margin:0;padding:0 30px 0 10px;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}.wp-block-navigation>ul>li>ul li{margin:0}.wp-block-navigation>ul>li>ul li>ul{padding-left:10px}.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:22px;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.wp-block-navigation>ul>li>ul:after{border-width:10px;margin-left:-10px;bottom:calc(100% - 1px)}.wp-block-navigation>ul>li>ul:before{border-width:11px;margin-left:-11px}.wp-block-navigation>ul>li>ul ul{width:100%}.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 ul ul li a:first-child{padding-top:13px}.wp-block-navigation ul ul li a:last-child{padding-bottom:13px}.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}.wp-block-navigation.is-light-style>ul>li>ul,.wp-block-navigation>ul>li>ul{background-color:#fff;border-color:#e2e4e7}.wp-block-navigation.is-light-style>ul>li>ul a,.wp-block-navigation>ul>li>ul a{color:#111}.wp-block-navigation.is-light-style>ul>li>ul a:hover,.wp-block-navigation>ul>li>ul a:hover{color:#333}.wp-block-navigation.is-light-style>ul>li>ul:after,.wp-block-navigation>ul>li>ul:after{border-color:transparent transparent #fff}.wp-block-navigation.is-light-style>ul>li>ul:before,.wp-block-navigation>ul>li>ul:before{border-color:transparent transparent #e2e4e7}.wp-block-navigation.is-style-dark>ul>li>ul{background-color:#333;border-color:#111}.wp-block-navigation.is-style-dark>ul>li>ul a{color:#fff}.wp-block-navigation.is-style-dark>ul>li>ul a:hover{color:#eee}.wp-block-navigation.is-style-dark>ul>li>ul:after{border-bottom-color:#333}.wp-block-navigation.is-style-dark>ul>li>ul:before{border-bottom-color:#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 139e71336c..b985efc89e 100644 --- a/wp-includes/css/dist/block-library/theme-rtl.css +++ b/wp-includes/css/dist/block-library/theme-rtl.css @@ -127,6 +127,10 @@ .wp-block-table { border-collapse: collapse; } + .wp-block-table thead { + border-bottom: 3px solid; } + .wp-block-table tfoot { + border-top: 3px solid; } .wp-block-table td, .wp-block-table th { padding: 0.5em; diff --git a/wp-includes/css/dist/block-library/theme-rtl.min.css b/wp-includes/css/dist/block-library/theme-rtl.min.css index e41aff3b61..8738e0f042 100644 --- a/wp-includes/css/dist/block-library/theme-rtl.min.css +++ b/wp-includes/css/dist/block-library/theme-rtl.min.css @@ -1 +1 @@ -.wp-block-audio figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px}.blocks-gallery-caption,.wp-block-embed figcaption,.wp-block-image figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-pullquote{border-top:4px solid #555d66;border-bottom:4px solid #555d66;margin-bottom:28px;color:#40464d}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:#40464d;text-transform:uppercase;font-size:13px;font-style:normal}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none}.wp-block-quote{border-right:4px solid #000;margin:0 0 28px;padding-right:1em}.wp-block-quote__citation,.wp-block-quote cite,.wp-block-quote footer{color:#6c7781;font-size:13px;margin-top:1em;position:relative;font-style:normal}.wp-block-quote.has-text-align-right{border-right:none;border-left:4px solid #000;padding-right:0;padding-left:1em}.wp-block-quote.has-text-align-center{border:none;padding-right:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large{border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-group.has-background{padding:20px 30px;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid #8f98a1;margin-right:auto;margin-left:auto}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px}.wp-block-table{border-collapse:collapse}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-table figcaption,.wp-block-video figcaption{color:#555d66;font-size:13px;text-align:center} \ No newline at end of file +.wp-block-audio figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px}.blocks-gallery-caption,.wp-block-embed figcaption,.wp-block-image figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-pullquote{border-top:4px solid #555d66;border-bottom:4px solid #555d66;margin-bottom:28px;color:#40464d}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:#40464d;text-transform:uppercase;font-size:13px;font-style:normal}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none}.wp-block-quote{border-right:4px solid #000;margin:0 0 28px;padding-right:1em}.wp-block-quote__citation,.wp-block-quote cite,.wp-block-quote footer{color:#6c7781;font-size:13px;margin-top:1em;position:relative;font-style:normal}.wp-block-quote.has-text-align-right{border-right:none;border-left:4px solid #000;padding-right:0;padding-left:1em}.wp-block-quote.has-text-align-center{border:none;padding-right:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large{border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-group.has-background{padding:20px 30px;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid #8f98a1;margin-right:auto;margin-left:auto}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px}.wp-block-table{border-collapse:collapse}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-table figcaption,.wp-block-video figcaption{color:#555d66;font-size:13px;text-align:center} \ No newline at end of file diff --git a/wp-includes/css/dist/block-library/theme.css b/wp-includes/css/dist/block-library/theme.css index 3a4546b982..1f60a03089 100644 --- a/wp-includes/css/dist/block-library/theme.css +++ b/wp-includes/css/dist/block-library/theme.css @@ -127,6 +127,10 @@ .wp-block-table { border-collapse: collapse; } + .wp-block-table thead { + border-bottom: 3px solid; } + .wp-block-table tfoot { + border-top: 3px solid; } .wp-block-table td, .wp-block-table th { padding: 0.5em; diff --git a/wp-includes/css/dist/block-library/theme.min.css b/wp-includes/css/dist/block-library/theme.min.css index be2154ece3..ae92047044 100644 --- a/wp-includes/css/dist/block-library/theme.min.css +++ b/wp-includes/css/dist/block-library/theme.min.css @@ -1 +1 @@ -.wp-block-audio figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px}.blocks-gallery-caption,.wp-block-embed figcaption,.wp-block-image figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-pullquote{border-top:4px solid #555d66;border-bottom:4px solid #555d66;margin-bottom:28px;color:#40464d}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:#40464d;text-transform:uppercase;font-size:13px;font-style:normal}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none}.wp-block-quote{border-left:4px solid #000;margin:0 0 28px;padding-left:1em}.wp-block-quote__citation,.wp-block-quote cite,.wp-block-quote footer{color:#6c7781;font-size:13px;margin-top:1em;position:relative;font-style:normal}.wp-block-quote.has-text-align-right{border-left:none;border-right:4px solid #000;padding-left:0;padding-right:1em}.wp-block-quote.has-text-align-center{border:none;padding-left:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large{border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-group.has-background{padding:20px 30px;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid #8f98a1;margin-left:auto;margin-right:auto}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px}.wp-block-table{border-collapse:collapse}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-table figcaption,.wp-block-video figcaption{color:#555d66;font-size:13px;text-align:center} \ No newline at end of file +.wp-block-audio figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px}.blocks-gallery-caption,.wp-block-embed figcaption,.wp-block-image figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-pullquote{border-top:4px solid #555d66;border-bottom:4px solid #555d66;margin-bottom:28px;color:#40464d}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:#40464d;text-transform:uppercase;font-size:13px;font-style:normal}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none}.wp-block-quote{border-left:4px solid #000;margin:0 0 28px;padding-left:1em}.wp-block-quote__citation,.wp-block-quote cite,.wp-block-quote footer{color:#6c7781;font-size:13px;margin-top:1em;position:relative;font-style:normal}.wp-block-quote.has-text-align-right{border-left:none;border-right:4px solid #000;padding-left:0;padding-right:1em}.wp-block-quote.has-text-align-center{border:none;padding-left:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large{border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-group.has-background{padding:20px 30px;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid #8f98a1;margin-left:auto;margin-right:auto}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px}.wp-block-table{border-collapse:collapse}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-table figcaption,.wp-block-video figcaption{color:#555d66;font-size:13px;text-align:center} \ No newline at end of file diff --git a/wp-includes/css/dist/components/style-rtl.css b/wp-includes/css/dist/components/style-rtl.css index a06cf88ddf..5279def346 100644 --- a/wp-includes/css/dist/components/style-rtl.css +++ b/wp-includes/css/dist/components/style-rtl.css @@ -83,6 +83,43 @@ 100% { opacity: 0.5; } } +.components-angle-picker { + width: 50%; } + .components-angle-picker.components-base-control .components-base-control__label { + display: block; } + +.components-angle-picker__input-field { + width: calc(100% - 36px); + max-width: 100px; } + +.components-angle-picker__angle-circle { + width: 28px; + height: 28px; + border: 2px solid #555d66; + border-radius: 50%; + float: right; + margin-left: 4px; + cursor: grab; } + +.components-angle-picker__angle-circle-indicator-wrapper { + position: relative; + width: 100%; + height: 100%; } + +.components-angle-picker__angle-circle-indicator { + width: 1px; + height: 1px; + border-radius: 50%; + border: 3px solid #555d66; + display: block; + position: absolute; + top: -14px; + bottom: 0; + right: 0; + left: 0; + margin: auto; + background: #555d66; } + .components-autocomplete__popover .components-popover__content { min-width: 200px; } @@ -268,24 +305,24 @@ color: rgb(0, 100, 140); border-color: rgb(0, 126, 177); box-shadow: 0 0 0 1px rgb(0, 126, 177); } - .components-button.is-secondary:active:enabled { + .components-button.is-secondary:not([aria-disabled="true"]):active:enabled { background: #f3f5f6; color: rgb(0, 118, 177); border-color: #7e8993; box-shadow: none; } - body.admin-color-sunrise .components-button.is-secondary:active:enabled { + body.admin-color-sunrise .components-button.is-secondary:not([aria-disabled="true"]):active:enabled { color: rgb(199, 127, 70); } - body.admin-color-ocean .components-button.is-secondary:active:enabled { + body.admin-color-ocean .components-button.is-secondary:not([aria-disabled="true"]):active:enabled { color: rgb(155, 176, 154); } - body.admin-color-midnight .components-button.is-secondary:active:enabled { + body.admin-color-midnight .components-button.is-secondary:not([aria-disabled="true"]):active:enabled { color: rgb(214, 73, 64); } - body.admin-color-ectoplasm .components-button.is-secondary:active:enabled { + body.admin-color-ectoplasm .components-button.is-secondary:not([aria-disabled="true"]):active:enabled { color: rgb(159, 173, 82); } - body.admin-color-coffee .components-button.is-secondary:active:enabled { + body.admin-color-coffee .components-button.is-secondary:not([aria-disabled="true"]):active:enabled { color: rgb(184, 158, 133); } - body.admin-color-blue .components-button.is-secondary:active:enabled { + body.admin-color-blue .components-button.is-secondary:not([aria-disabled="true"]):active:enabled { color: rgb(206, 162, 85); } - body.admin-color-light .components-button.is-secondary:active:enabled { + body.admin-color-light .components-button.is-secondary:not([aria-disabled="true"]):active:enabled { color: rgb(0, 126, 177); } .components-button.is-secondary:disabled, .components-button.is-secondary[aria-disabled="true"] { color: #a0a5aa; @@ -365,29 +402,29 @@ box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(217, 171, 89); } body.admin-color-light .components-button.is-primary:focus:enabled { box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(0, 133, 186); } - .components-button.is-primary:active:enabled { + .components-button.is-primary:not([aria-disabled="true"]):active:enabled { background: rgb(0, 99, 149); border-color: rgb(0, 99, 149); color: #fff; } - body.admin-color-sunrise .components-button.is-primary:active:enabled { + body.admin-color-sunrise .components-button.is-primary:not([aria-disabled="true"]):active:enabled { background: rgb(167, 107, 59); border-color: rgb(167, 107, 59); } - body.admin-color-ocean .components-button.is-primary:active:enabled { + body.admin-color-ocean .components-button.is-primary:not([aria-disabled="true"]):active:enabled { background: rgb(130, 148, 130); border-color: rgb(130, 148, 130); } - body.admin-color-midnight .components-button.is-primary:active:enabled { + body.admin-color-midnight .components-button.is-primary:not([aria-disabled="true"]):active:enabled { background: rgb(180, 62, 54); border-color: rgb(180, 62, 54); } - body.admin-color-ectoplasm .components-button.is-primary:active:enabled { + body.admin-color-ectoplasm .components-button.is-primary:not([aria-disabled="true"]):active:enabled { background: rgb(134, 146, 69); border-color: rgb(134, 146, 69); } - body.admin-color-coffee .components-button.is-primary:active:enabled { + body.admin-color-coffee .components-button.is-primary:not([aria-disabled="true"]):active:enabled { background: rgb(155, 133, 112); border-color: rgb(155, 133, 112); } - body.admin-color-blue .components-button.is-primary:active:enabled { + body.admin-color-blue .components-button.is-primary:not([aria-disabled="true"]):active:enabled { background: rgb(174, 137, 71); border-color: rgb(174, 137, 71); } - body.admin-color-light .components-button.is-primary:active:enabled { + body.admin-color-light .components-button.is-primary:not([aria-disabled="true"]):active:enabled { background: rgb(0, 106, 149); border-color: rgb(0, 106, 149); } .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"]:enabled, .components-button.is-primary[aria-disabled="true"]:active:enabled { @@ -486,14 +523,14 @@ @media (prefers-reduced-motion: reduce) { .components-button.is-link { transition-duration: 0s; } } - .components-button.is-link:not(:disabled):not([aria-disabled="true"]):hover, .components-button.is-link:active { + .components-button.is-link:not(:disabled):not([aria-disabled="true"]):hover, .components-button.is-link:not([aria-disabled="true"]):active { color: #00a0d2; } .components-button.is-link:focus { color: #124964; box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } .components-button.is-link.is-destructive { color: #d94f4f; } - .components-button:active { + .components-button:not([aria-disabled="true"]):active { color: inherit; } .components-button:disabled, .components-button[aria-disabled="true"] { cursor: default; @@ -532,10 +569,7 @@ .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 { + .components-button.is-tertiary:not([aria-disabled="true"]):active:focus:enabled { box-shadow: none; } .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):hover { color: rgb(0, 93, 140); } @@ -556,11 +590,11 @@ .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 svg { + fill: currentColor; + outline: none; } .components-button .screen-reader-text { height: auto; } @@ -616,7 +650,7 @@ width: 16px; height: 16px; } } -svg.dashicon.components-checkbox-control__checked { +svg.components-checkbox-control__checked { fill: #fff; cursor: pointer; position: absolute; @@ -630,7 +664,7 @@ svg.dashicon.components-checkbox-control__checked { user-select: none; pointer-events: none; } @media (min-width: 600px) { - svg.dashicon.components-checkbox-control__checked { + svg.components-checkbox-control__checked { width: 21px; height: 21px; right: -3px; } } @@ -693,10 +727,10 @@ svg.dashicon.components-checkbox-control__checked { box-shadow: inset 0 0 0 4px; position: relative; z-index: 1; } - .components-circular-option-picker__option.is-pressed + .dashicons-saved { + .components-circular-option-picker__option.is-pressed + svg { position: absolute; - right: 4px; - top: 4px; + right: 2px; + top: 2px; border-radius: 50%; z-index: 2; background: #fff; @@ -775,8 +809,6 @@ svg.dashicon.components-checkbox-control__checked { overflow: hidden; } .components-color-picker * { box-sizing: border-box; } - .components-color-picker .components-button { - padding: 6px; } .components-color-picker__saturation { width: 100%; @@ -844,8 +876,9 @@ svg.dashicon.components-checkbox-control__checked { background: linear-gradient(to top, #000, rgba(0, 0, 0, 0)); } .components-color-picker__saturation-pointer { - width: 8px; - height: 8px; + width: 14px; + height: 14px; + padding: 0; box-shadow: 0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0, 0, 0, 0.3), 0 0 1px 2px rgba(0, 0, 0, 0.4); border-radius: 50%; background-color: transparent; @@ -934,12 +967,17 @@ svg.dashicon.components-checkbox-control__checked { .components-color-picker__inputs-fields { display: flex; direction: ltr; - flex-grow: 1; } + flex-grow: 1; + margin-left: 4px; } .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-color-picker__inputs-toggle { + height: 30px; + padding: 0 5px; } + .components-custom-gradient-picker:not(.has-gradient) { opacity: 0.4; } @@ -1009,7 +1047,9 @@ svg.dashicon.components-checkbox-control__checked { .components-custom-select-control__menu { background: #fff; + max-height: 400px; min-width: 100%; + overflow: auto; padding: 0; position: absolute; z-index: 1000000; } @@ -2573,6 +2613,7 @@ body.is-dragging-components-draggable { .components-form-token-field__remove-token.components-button { display: inline-block; line-height: 24px; + height: auto; background: #e2e4e7; transition: all 0.2s cubic-bezier(0.4, 1, 0.4, 1); } @media (prefers-reduced-motion: reduce) { @@ -2747,11 +2788,13 @@ body.is-dragging-components-draggable { box-shadow: none; } .components-menu-item__button .dashicon, .components-menu-item__button .components-menu-items__item-icon, + .components-menu-item__button svg.components-menu-items__item-icon, .components-menu-item__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 svg.components-menu-items__item-icon, .components-menu-item__button.components-button > span > svg { - margin-left: 5px; } + margin-left: 4px; } .components-menu-item__button .components-menu-items__item-icon, .components-menu-item__button.components-button .components-menu-items__item-icon { display: inline-block; @@ -2800,9 +2843,6 @@ body.is-dragging-components-draggable { .components-menu-items-choice.has-icon, .components-menu-items-choice.components-button.has-icon { padding-right: 0.5rem; } - .components-menu-items-choice .dashicon, - .components-menu-items-choice.components-button .dashicon { - margin-left: 4px; } .components-modal__screen-overlay { position: fixed; @@ -2978,8 +3018,6 @@ body.is-dragging-components-draggable { margin: 0 0 0.5em; } .components-panel__body.is-opened { padding: 16px; } - .components-panel__body > .components-button { - color: #191e23; } .components-panel__header { display: flex; @@ -3108,6 +3146,7 @@ body.is-dragging-components-draggable { .components-placeholder.components-placeholder .components-base-control__label { font-size: 13px; } +.components-placeholder__error, .components-placeholder__instructions, .components-placeholder__label, .components-placeholder__fieldset { @@ -3141,13 +3180,16 @@ body.is-dragging-components-draggable { flex-direction: column; } .components-placeholder__input { - margin-top: 0; - margin-left: 8px; + margin: 0 0 0 8px; flex: 1 1 auto; } .components-placeholder__instructions { margin-bottom: 1em; } +.components-placeholder__error { + margin-top: 1em; + width: 100%; } + .components-placeholder__preview img { margin: 3%; width: 50%; } @@ -3156,6 +3198,7 @@ body.is-dragging-components-draggable { margin-left: 8px; margin-bottom: 8px; } .components-placeholder__fieldset .components-button:last-child { + margin-bottom: 0; margin-left: 0; } .components-placeholder__fieldset .components-button:not(.is-link) ~ .components-button.is-link { @@ -3700,7 +3743,6 @@ body.lockscroll { width: 18px; height: 18px; opacity: 0.7; - float: left; margin: 5px 11px 0; border-radius: 100%; position: relative; } diff --git a/wp-includes/css/dist/components/style-rtl.min.css b/wp-includes/css/dist/components/style-rtl.min.css index 3edf581b69..419d923206 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{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 +.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-angle-picker{width:50%}.components-angle-picker.components-base-control .components-base-control__label{display:block}.components-angle-picker__input-field{width:calc(100% - 36px);max-width:100px}.components-angle-picker__angle-circle{width:28px;height:28px;border:2px solid #555d66;border-radius:50%;float:right;margin-left:4px;cursor:grab}.components-angle-picker__angle-circle-indicator-wrapper{position:relative;width:100%;height:100%}.components-angle-picker__angle-circle-indicator{width:1px;height:1px;border-radius:50%;border:3px solid #555d66;display:block;position:absolute;top:-14px;bottom:0;right:0;left:0;margin:auto;background:#555d66}.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:not([aria-disabled=true]):active:enabled{background:#f3f5f6;color:#0076b1;border-color:#7e8993;box-shadow:none}body.admin-color-sunrise .components-button.is-secondary:not([aria-disabled=true]):active:enabled{color:#c77f46}body.admin-color-ocean .components-button.is-secondary:not([aria-disabled=true]):active:enabled{color:#9bb09a}body.admin-color-midnight .components-button.is-secondary:not([aria-disabled=true]):active:enabled{color:#d64940}body.admin-color-ectoplasm .components-button.is-secondary:not([aria-disabled=true]):active:enabled{color:#9fad52}body.admin-color-coffee .components-button.is-secondary:not([aria-disabled=true]):active:enabled{color:#b89e85}body.admin-color-blue .components-button.is-secondary:not([aria-disabled=true]):active:enabled{color:#cea255}body.admin-color-light .components-button.is-secondary:not([aria-disabled=true]):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:not([aria-disabled=true]):active:enabled{background:#006395;border-color:#006395;color:#fff}body.admin-color-sunrise .components-button.is-primary:not([aria-disabled=true]):active:enabled{background:#a76b3b;border-color:#a76b3b}body.admin-color-ocean .components-button.is-primary:not([aria-disabled=true]):active:enabled{background:#829482;border-color:#829482}body.admin-color-midnight .components-button.is-primary:not([aria-disabled=true]):active:enabled{background:#b43e36;border-color:#b43e36}body.admin-color-ectoplasm .components-button.is-primary:not([aria-disabled=true]):active:enabled{background:#869245;border-color:#869245}body.admin-color-coffee .components-button.is-primary:not([aria-disabled=true]):active:enabled{background:#9b8570;border-color:#9b8570}body.admin-color-blue .components-button.is-primary:not([aria-disabled=true]):active:enabled{background:#ae8947;border-color:#ae8947}body.admin-color-light .components-button.is-primary:not([aria-disabled=true]):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:not(:disabled):not([aria-disabled=true]):hover,.components-button.is-link:not([aria-disabled=true]):active{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:not([aria-disabled=true]):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:not([aria-disabled=true]):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.has-text svg{margin-left:8px}.components-button svg{fill:currentColor;outline:none}.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.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.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+svg{position:absolute;right:2px;top:2px;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__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:14px;height:14px;padding:0;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;margin-left:4px}.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-color-picker__inputs-toggle{height:30px;padding:0 5px}.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;max-height:400px;min-width:100%;overflow:auto;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;height:auto;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-button svg.components-menu-items__item-icon,.components-menu-item__button .components-menu-items__item-icon,.components-menu-item__button .dashicon,.components-menu-item__button>span>svg,.components-menu-item__button svg.components-menu-items__item-icon{margin-left:4px}.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-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__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__error,.components-placeholder__fieldset,.components-placeholder__instructions,.components-placeholder__label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-placeholder__label{display:flex;font-weight:600;margin-bottom: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:0 0 0 8px;flex:1 1 auto}.components-placeholder__instructions{margin-bottom:1em}.components-placeholder__error{margin-top:1em;width:100%}.components-placeholder__preview img{margin:3%;width:50%}.components-placeholder__fieldset .components-button{margin-left:8px;margin-bottom:8px}.components-placeholder__fieldset .components-button:last-child{margin-bottom:0;margin-left:0}.components-placeholder__fieldset .components-button:not(.is-link)~.components-button.is-link{margin-right:10px;margin-left:10px}.components-placeholder__fieldset .components-button:not(.is-link)~.components-button.is-link:last-child{margin-left:0}.components-placeholder.is-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;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 e70f643a0c..a6ed4c233b 100644 --- a/wp-includes/css/dist/components/style.css +++ b/wp-includes/css/dist/components/style.css @@ -83,6 +83,43 @@ 100% { opacity: 0.5; } } +.components-angle-picker { + width: 50%; } + .components-angle-picker.components-base-control .components-base-control__label { + display: block; } + +.components-angle-picker__input-field { + width: calc(100% - 36px); + max-width: 100px; } + +.components-angle-picker__angle-circle { + width: 28px; + height: 28px; + border: 2px solid #555d66; + border-radius: 50%; + float: left; + margin-right: 4px; + cursor: grab; } + +.components-angle-picker__angle-circle-indicator-wrapper { + position: relative; + width: 100%; + height: 100%; } + +.components-angle-picker__angle-circle-indicator { + width: 1px; + height: 1px; + border-radius: 50%; + border: 3px solid #555d66; + display: block; + position: absolute; + top: -14px; + bottom: 0; + left: 0; + right: 0; + margin: auto; + background: #555d66; } + .components-autocomplete__popover .components-popover__content { min-width: 200px; } @@ -268,24 +305,24 @@ color: rgb(0, 100, 140); border-color: rgb(0, 126, 177); box-shadow: 0 0 0 1px rgb(0, 126, 177); } - .components-button.is-secondary:active:enabled { + .components-button.is-secondary:not([aria-disabled="true"]):active:enabled { background: #f3f5f6; color: rgb(0, 118, 177); border-color: #7e8993; box-shadow: none; } - body.admin-color-sunrise .components-button.is-secondary:active:enabled { + body.admin-color-sunrise .components-button.is-secondary:not([aria-disabled="true"]):active:enabled { color: rgb(199, 127, 70); } - body.admin-color-ocean .components-button.is-secondary:active:enabled { + body.admin-color-ocean .components-button.is-secondary:not([aria-disabled="true"]):active:enabled { color: rgb(155, 176, 154); } - body.admin-color-midnight .components-button.is-secondary:active:enabled { + body.admin-color-midnight .components-button.is-secondary:not([aria-disabled="true"]):active:enabled { color: rgb(214, 73, 64); } - body.admin-color-ectoplasm .components-button.is-secondary:active:enabled { + body.admin-color-ectoplasm .components-button.is-secondary:not([aria-disabled="true"]):active:enabled { color: rgb(159, 173, 82); } - body.admin-color-coffee .components-button.is-secondary:active:enabled { + body.admin-color-coffee .components-button.is-secondary:not([aria-disabled="true"]):active:enabled { color: rgb(184, 158, 133); } - body.admin-color-blue .components-button.is-secondary:active:enabled { + body.admin-color-blue .components-button.is-secondary:not([aria-disabled="true"]):active:enabled { color: rgb(206, 162, 85); } - body.admin-color-light .components-button.is-secondary:active:enabled { + body.admin-color-light .components-button.is-secondary:not([aria-disabled="true"]):active:enabled { color: rgb(0, 126, 177); } .components-button.is-secondary:disabled, .components-button.is-secondary[aria-disabled="true"] { color: #a0a5aa; @@ -365,29 +402,29 @@ box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(217, 171, 89); } body.admin-color-light .components-button.is-primary:focus:enabled { box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgb(0, 133, 186); } - .components-button.is-primary:active:enabled { + .components-button.is-primary:not([aria-disabled="true"]):active:enabled { background: rgb(0, 99, 149); border-color: rgb(0, 99, 149); color: #fff; } - body.admin-color-sunrise .components-button.is-primary:active:enabled { + body.admin-color-sunrise .components-button.is-primary:not([aria-disabled="true"]):active:enabled { background: rgb(167, 107, 59); border-color: rgb(167, 107, 59); } - body.admin-color-ocean .components-button.is-primary:active:enabled { + body.admin-color-ocean .components-button.is-primary:not([aria-disabled="true"]):active:enabled { background: rgb(130, 148, 130); border-color: rgb(130, 148, 130); } - body.admin-color-midnight .components-button.is-primary:active:enabled { + body.admin-color-midnight .components-button.is-primary:not([aria-disabled="true"]):active:enabled { background: rgb(180, 62, 54); border-color: rgb(180, 62, 54); } - body.admin-color-ectoplasm .components-button.is-primary:active:enabled { + body.admin-color-ectoplasm .components-button.is-primary:not([aria-disabled="true"]):active:enabled { background: rgb(134, 146, 69); border-color: rgb(134, 146, 69); } - body.admin-color-coffee .components-button.is-primary:active:enabled { + body.admin-color-coffee .components-button.is-primary:not([aria-disabled="true"]):active:enabled { background: rgb(155, 133, 112); border-color: rgb(155, 133, 112); } - body.admin-color-blue .components-button.is-primary:active:enabled { + body.admin-color-blue .components-button.is-primary:not([aria-disabled="true"]):active:enabled { background: rgb(174, 137, 71); border-color: rgb(174, 137, 71); } - body.admin-color-light .components-button.is-primary:active:enabled { + body.admin-color-light .components-button.is-primary:not([aria-disabled="true"]):active:enabled { background: rgb(0, 106, 149); border-color: rgb(0, 106, 149); } .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"]:enabled, .components-button.is-primary[aria-disabled="true"]:active:enabled { @@ -486,14 +523,14 @@ @media (prefers-reduced-motion: reduce) { .components-button.is-link { transition-duration: 0s; } } - .components-button.is-link:not(:disabled):not([aria-disabled="true"]):hover, .components-button.is-link:active { + .components-button.is-link:not(:disabled):not([aria-disabled="true"]):hover, .components-button.is-link:not([aria-disabled="true"]):active { color: #00a0d2; } .components-button.is-link:focus { color: #124964; box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); } .components-button.is-link.is-destructive { color: #d94f4f; } - .components-button:active { + .components-button:not([aria-disabled="true"]):active { color: inherit; } .components-button:disabled, .components-button[aria-disabled="true"] { cursor: default; @@ -532,10 +569,7 @@ .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 { + .components-button.is-tertiary:not([aria-disabled="true"]):active:focus:enabled { box-shadow: none; } .components-button.is-tertiary:not(:disabled):not([aria-disabled="true"]):hover { color: rgb(0, 93, 140); } @@ -556,11 +590,11 @@ .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 svg { + fill: currentColor; + outline: none; } .components-button .screen-reader-text { height: auto; } @@ -616,7 +650,7 @@ width: 16px; height: 16px; } } -svg.dashicon.components-checkbox-control__checked { +svg.components-checkbox-control__checked { fill: #fff; cursor: pointer; position: absolute; @@ -630,7 +664,7 @@ svg.dashicon.components-checkbox-control__checked { user-select: none; pointer-events: none; } @media (min-width: 600px) { - svg.dashicon.components-checkbox-control__checked { + svg.components-checkbox-control__checked { width: 21px; height: 21px; left: -3px; } } @@ -693,10 +727,10 @@ svg.dashicon.components-checkbox-control__checked { box-shadow: inset 0 0 0 4px; position: relative; z-index: 1; } - .components-circular-option-picker__option.is-pressed + .dashicons-saved { + .components-circular-option-picker__option.is-pressed + svg { position: absolute; - left: 4px; - top: 4px; + left: 2px; + top: 2px; border-radius: 50%; z-index: 2; background: #fff; @@ -775,8 +809,6 @@ svg.dashicon.components-checkbox-control__checked { overflow: hidden; } .components-color-picker * { box-sizing: border-box; } - .components-color-picker .components-button { - padding: 6px; } .components-color-picker__saturation { width: 100%; @@ -845,8 +877,9 @@ svg.dashicon.components-checkbox-control__checked { background: linear-gradient(to top, #000, rgba(0, 0, 0, 0)); } .components-color-picker__saturation-pointer { - width: 8px; - height: 8px; + width: 14px; + height: 14px; + padding: 0; box-shadow: 0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0, 0, 0, 0.3), 0 0 1px 2px rgba(0, 0, 0, 0.4); border-radius: 50%; background-color: transparent; @@ -938,12 +971,17 @@ svg.dashicon.components-checkbox-control__checked { display: flex; /*rtl:ignore*/ direction: ltr; - flex-grow: 1; } + flex-grow: 1; + margin-right: 4px; } .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-color-picker__inputs-toggle { + height: 30px; + padding: 0 5px; } + .components-custom-gradient-picker:not(.has-gradient) { opacity: 0.4; } @@ -1013,7 +1051,9 @@ svg.dashicon.components-checkbox-control__checked { .components-custom-select-control__menu { background: #fff; + max-height: 400px; min-width: 100%; + overflow: auto; padding: 0; position: absolute; z-index: 1000000; } @@ -2582,6 +2622,7 @@ body.is-dragging-components-draggable { .components-form-token-field__remove-token.components-button { display: inline-block; line-height: 24px; + height: auto; background: #e2e4e7; transition: all 0.2s cubic-bezier(0.4, 1, 0.4, 1); } @media (prefers-reduced-motion: reduce) { @@ -2756,11 +2797,13 @@ body.is-dragging-components-draggable { box-shadow: none; } .components-menu-item__button .dashicon, .components-menu-item__button .components-menu-items__item-icon, + .components-menu-item__button svg.components-menu-items__item-icon, .components-menu-item__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 svg.components-menu-items__item-icon, .components-menu-item__button.components-button > span > svg { - margin-right: 5px; } + margin-right: 4px; } .components-menu-item__button .components-menu-items__item-icon, .components-menu-item__button.components-button .components-menu-items__item-icon { display: inline-block; @@ -2809,9 +2852,6 @@ body.is-dragging-components-draggable { .components-menu-items-choice.has-icon, .components-menu-items-choice.components-button.has-icon { padding-left: 0.5rem; } - .components-menu-items-choice .dashicon, - .components-menu-items-choice.components-button .dashicon { - margin-right: 4px; } .components-modal__screen-overlay { position: fixed; @@ -2987,8 +3027,6 @@ body.is-dragging-components-draggable { margin: 0 0 0.5em; } .components-panel__body.is-opened { padding: 16px; } - .components-panel__body > .components-button { - color: #191e23; } .components-panel__header { display: flex; @@ -3119,6 +3157,7 @@ body.is-dragging-components-draggable { .components-placeholder.components-placeholder .components-base-control__label { font-size: 13px; } +.components-placeholder__error, .components-placeholder__instructions, .components-placeholder__label, .components-placeholder__fieldset { @@ -3152,13 +3191,16 @@ body.is-dragging-components-draggable { flex-direction: column; } .components-placeholder__input { - margin-top: 0; - margin-right: 8px; + margin: 0 8px 0 0; flex: 1 1 auto; } .components-placeholder__instructions { margin-bottom: 1em; } +.components-placeholder__error { + margin-top: 1em; + width: 100%; } + .components-placeholder__preview img { margin: 3%; width: 50%; } @@ -3167,6 +3209,7 @@ body.is-dragging-components-draggable { margin-right: 8px; margin-bottom: 8px; } .components-placeholder__fieldset .components-button:last-child { + margin-bottom: 0; margin-right: 0; } .components-placeholder__fieldset .components-button:not(.is-link) ~ .components-button.is-link { @@ -3719,7 +3762,6 @@ body.lockscroll { width: 18px; height: 18px; opacity: 0.7; - float: right; margin: 5px 11px 0; border-radius: 100%; position: relative; } diff --git a/wp-includes/css/dist/components/style.min.css b/wp-includes/css/dist/components/style.min.css index 8aefaef836..5cb08ded1e 100644 --- a/wp-includes/css/dist/components/style.min.css +++ b/wp-includes/css/dist/components/style.min.css @@ -1,4 +1,4 @@ -.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} +.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-angle-picker{width:50%}.components-angle-picker.components-base-control .components-base-control__label{display:block}.components-angle-picker__input-field{width:calc(100% - 36px);max-width:100px}.components-angle-picker__angle-circle{width:28px;height:28px;border:2px solid #555d66;border-radius:50%;float:left;margin-right:4px;cursor:grab}.components-angle-picker__angle-circle-indicator-wrapper{position:relative;width:100%;height:100%}.components-angle-picker__angle-circle-indicator{width:1px;height:1px;border-radius:50%;border:3px solid #555d66;display:block;position:absolute;top:-14px;bottom:0;left:0;right:0;margin:auto;background:#555d66}.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:not([aria-disabled=true]):active:enabled{background:#f3f5f6;color:#0076b1;border-color:#7e8993;box-shadow:none}body.admin-color-sunrise .components-button.is-secondary:not([aria-disabled=true]):active:enabled{color:#c77f46}body.admin-color-ocean .components-button.is-secondary:not([aria-disabled=true]):active:enabled{color:#9bb09a}body.admin-color-midnight .components-button.is-secondary:not([aria-disabled=true]):active:enabled{color:#d64940}body.admin-color-ectoplasm .components-button.is-secondary:not([aria-disabled=true]):active:enabled{color:#9fad52}body.admin-color-coffee .components-button.is-secondary:not([aria-disabled=true]):active:enabled{color:#b89e85}body.admin-color-blue .components-button.is-secondary:not([aria-disabled=true]):active:enabled{color:#cea255}body.admin-color-light .components-button.is-secondary:not([aria-disabled=true]):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:not([aria-disabled=true]):active:enabled{background:#006395;border-color:#006395;color:#fff}body.admin-color-sunrise .components-button.is-primary:not([aria-disabled=true]):active:enabled{background:#a76b3b;border-color:#a76b3b}body.admin-color-ocean .components-button.is-primary:not([aria-disabled=true]):active:enabled{background:#829482;border-color:#829482}body.admin-color-midnight .components-button.is-primary:not([aria-disabled=true]):active:enabled{background:#b43e36;border-color:#b43e36}body.admin-color-ectoplasm .components-button.is-primary:not([aria-disabled=true]):active:enabled{background:#869245;border-color:#869245}body.admin-color-coffee .components-button.is-primary:not([aria-disabled=true]):active:enabled{background:#9b8570;border-color:#9b8570}body.admin-color-blue .components-button.is-primary:not([aria-disabled=true]):active:enabled{background:#ae8947;border-color:#ae8947}body.admin-color-light .components-button.is-primary:not([aria-disabled=true]):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:not(:disabled):not([aria-disabled=true]):hover,.components-button.is-link:not([aria-disabled=true]):active{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:not([aria-disabled=true]):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:not([aria-disabled=true]):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.has-text svg{margin-right:8px}.components-button svg{fill:currentColor;outline:none}.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.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.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+svg{position:absolute;left:2px;top:2px;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__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:14px;height:14px;padding:0;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;margin-right:4px}.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-color-picker__inputs-toggle{height:30px;padding:0 5px}.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;max-height:400px;min-width:100%;overflow:auto;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;height:auto;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-button svg.components-menu-items__item-icon,.components-menu-item__button .components-menu-items__item-icon,.components-menu-item__button .dashicon,.components-menu-item__button>span>svg,.components-menu-item__button svg.components-menu-items__item-icon{margin-right:4px}.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-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__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__error,.components-placeholder__fieldset,.components-placeholder__instructions,.components-placeholder__label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.components-placeholder__label{display:flex;font-weight:600;margin-bottom: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:0 8px 0 0;flex:1 1 auto}.components-placeholder__instructions{margin-bottom:1em}.components-placeholder__error{margin-top:1em;width:100%}.components-placeholder__preview img{margin:3%;width:50%}.components-placeholder__fieldset .components-button{margin-right:8px;margin-bottom:8px}.components-placeholder__fieldset .components-button:last-child{margin-bottom:0;margin-right:0}.components-placeholder__fieldset .components-button:not(.is-link)~.components-button.is-link{margin-left:10px;margin-right:10px}.components-placeholder__fieldset .components-button:not(.is-link)~.components-button.is-link:last-child{margin-right:0}.components-placeholder.is-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;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} @@ -6,4 +6,4 @@ /*!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-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 +/*!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;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 2f4d0f3da6..921ec5816a 100644 --- a/wp-includes/css/dist/edit-post/style-rtl.css +++ b/wp-includes/css/dist/edit-post/style-rtl.css @@ -74,7 +74,7 @@ html { @media (min-width: 782px) { .auto-fold .edit-post-editor-regions { right: 36px; } } - @media (min-width: 960px) { + @media (min-width: 961px) { .auto-fold .edit-post-editor-regions { right: 160px; } } @@ -199,6 +199,7 @@ body.is-fullscreen-mode .edit-post-editor-regions { background: #fff; display: flex; flex-wrap: wrap; + flex-direction: row-reverse; justify-content: space-between; align-items: center; max-width: 100vw; } @@ -301,7 +302,7 @@ body.is-fullscreen-mode .edit-post-editor-regions { .is-sidebar-opened .edit-post-header-toolbar__block-toolbar { display: block; left: 280px; } } - @media (min-width: 1080px) { + @media (min-width: 1280px) { .edit-post-header-toolbar__block-toolbar { padding-right: 8px; position: static; @@ -447,7 +448,7 @@ body.is-fullscreen-mode .edit-post-editor-regions { @media (min-width: 782px) { .auto-fold .edit-post-layout .components-editor-notices__snackbar { right: 36px; } } - @media (min-width: 960px) { + @media (min-width: 961px) { .auto-fold .edit-post-layout .components-editor-notices__snackbar { right: 160px; } } @@ -1086,8 +1087,9 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { 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 { +.edit-post-visual-editor > .block-editor__typewriter > div, +.edit-post-visual-editor > .block-editor__typewriter > div > .block-editor-writing-flow, +.edit-post-visual-editor > .block-editor__typewriter > div > .block-editor-writing-flow > .block-editor-writing-flow__click-redirect { height: 100%; } .edit-post-visual-editor .block-editor-writing-flow__click-redirect { @@ -1100,25 +1102,6 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { .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="wide"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar, - .edit-post-visual-editor .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar { - height: 0; - width: calc(100% - 84px - 6px); - 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="wide"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar, - .edit-post-visual-editor .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar { - width: calc(100% - 28px + 2px); } } - @media (min-width: 600px) { - .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, - .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 { - max-width: 580px; - width: 100%; - position: relative; } } @media (min-width: 600px) { .editor-post-title { @@ -1845,7 +1828,7 @@ body.block-editor-page { .editor-post-publish-panel select, .components-popover select, .components-modal__frame select { - padding: 2px; + padding: 3px 8px 3px 24px; font-size: 13px; color: #555d66; } .edit-post-header select:focus, 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 df80481026..67b498b9fb 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-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 +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:961px){.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;flex-direction:row-reverse;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:1280px){.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:961px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{right:160px}}.folded .edit-post-layout .components-editor-notices__snackbar{right:0}@media (min-width: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>div,.edit-post-visual-editor>.block-editor__typewriter>div>.block-editor-writing-flow,.edit-post-visual-editor>.block-editor__typewriter>div>.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){.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:3px 8px 3px 24px;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 b926d2dd0d..93a841d61a 100644 --- a/wp-includes/css/dist/edit-post/style.css +++ b/wp-includes/css/dist/edit-post/style.css @@ -74,7 +74,7 @@ html { @media (min-width: 782px) { .auto-fold .edit-post-editor-regions { left: 36px; } } - @media (min-width: 960px) { + @media (min-width: 961px) { .auto-fold .edit-post-editor-regions { left: 160px; } } @@ -199,6 +199,7 @@ body.is-fullscreen-mode .edit-post-editor-regions { background: #fff; display: flex; flex-wrap: wrap; + flex-direction: row-reverse; justify-content: space-between; align-items: center; max-width: 100vw; } @@ -301,7 +302,7 @@ body.is-fullscreen-mode .edit-post-editor-regions { .is-sidebar-opened .edit-post-header-toolbar__block-toolbar { display: block; right: 280px; } } - @media (min-width: 1080px) { + @media (min-width: 1280px) { .edit-post-header-toolbar__block-toolbar { padding-left: 8px; position: static; @@ -447,7 +448,7 @@ body.is-fullscreen-mode .edit-post-editor-regions { @media (min-width: 782px) { .auto-fold .edit-post-layout .components-editor-notices__snackbar { left: 36px; } } - @media (min-width: 960px) { + @media (min-width: 961px) { .auto-fold .edit-post-layout .components-editor-notices__snackbar { left: 160px; } } @@ -1090,8 +1091,9 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { 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 { +.edit-post-visual-editor > .block-editor__typewriter > div, +.edit-post-visual-editor > .block-editor__typewriter > div > .block-editor-writing-flow, +.edit-post-visual-editor > .block-editor__typewriter > div > .block-editor-writing-flow > .block-editor-writing-flow__click-redirect { height: 100%; } .edit-post-visual-editor .block-editor-writing-flow__click-redirect { @@ -1104,25 +1106,6 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar { .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="wide"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar, - .edit-post-visual-editor .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar { - height: 0; - width: calc(100% - 84px - 6px); - 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="wide"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar, - .edit-post-visual-editor .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar { - width: calc(100% - 28px + 2px); } } - @media (min-width: 600px) { - .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, - .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 { - max-width: 580px; - width: 100%; - position: relative; } } @media (min-width: 600px) { .editor-post-title { @@ -1849,7 +1832,7 @@ body.block-editor-page { .editor-post-publish-panel select, .components-popover select, .components-modal__frame select { - padding: 2px; + padding: 3px 24px 3px 8px; font-size: 13px; color: #555d66; } .edit-post-header select:focus, diff --git a/wp-includes/css/dist/edit-post/style.min.css b/wp-includes/css/dist/edit-post/style.min.css index 7f8fe9661d..2506c4247f 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-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 +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:961px){.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;flex-direction:row-reverse;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:1280px){.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:961px){.auto-fold .edit-post-layout .components-editor-notices__snackbar{left:160px}}.folded .edit-post-layout .components-editor-notices__snackbar{left:0}@media (min-width: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>div,.edit-post-visual-editor>.block-editor__typewriter>div>.block-editor-writing-flow,.edit-post-visual-editor>.block-editor__typewriter>div>.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){.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:3px 24px 3px 8px;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/style-rtl.css b/wp-includes/css/dist/editor/style-rtl.css index 4c50c2610c..1643731e69 100644 --- a/wp-includes/css/dist/editor/style-rtl.css +++ b/wp-includes/css/dist/editor/style-rtl.css @@ -42,6 +42,14 @@ .editor-autocompleters__block .block-editor-block-icon { margin-left: 8px; } +.editor-autocompleters__user .editor-autocompleters__no-avatar::before { + /* stylelint-disable */ + font: normal 20px/1 dashicons; + /* stylelint-enable */ + content: "\f110"; + margin-left: 5px; + vertical-align: middle; } + .editor-autocompleters__user .editor-autocompleters__user-avatar { margin-left: 8px; flex-grow: 0; @@ -422,7 +430,6 @@ 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 { @@ -523,10 +530,11 @@ color: #555d66; overflow: hidden; white-space: nowrap; } - .editor-post-saved-state .dashicon { + .editor-post-saved-state svg { display: inline-block; flex: 0 0 auto; - margin-left: 8px; } + margin-left: 4px; + fill: currentColor; } @media (min-width: 600px) { .editor-post-saved-state { width: auto; @@ -756,7 +764,7 @@ body.admin-color-light .editor-post-text-editor__link{ color: #b52727; border-color: #b52727; justify-content: center; } - .editor-post-trash.components-button:hover, .editor-post-trash.components-button:focus { + .editor-post-trash.components-button:not(:disabled):not([aria-disabled="true"]):hover, .editor-post-trash.components-button:not([aria-disabled="true"]):focus { color: #a02222; border-color: #a02222; } diff --git a/wp-includes/css/dist/editor/style-rtl.min.css b/wp-includes/css/dist/editor/style-rtl.min.css index 749b62fae7..306022fee6 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 .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 +@charset "UTF-8";.editor-autocompleters__block .block-editor-block-icon{margin-left:8px}.editor-autocompleters__user .editor-autocompleters__no-avatar:before{font:normal 20px/1 dashicons;content:"\f110";margin-left:5px;vertical-align:middle}.editor-autocompleters__user .editor-autocompleters__user-avatar{margin-left:8px;flex-grow:0;flex-shrink:0;max-width:none;width:24px;height:24px}.editor-autocompleters__user .editor-autocompleters__user-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:200px;flex-shrink:0;flex-grow:1}.editor-autocompleters__user .editor-autocompleters__user-slug{margin-right:8px;color:#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;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 svg{display:inline-block;flex:0 0 auto;margin-left:4px;fill:currentColor}@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:not(:disabled):not([aria-disabled=true]):hover,.editor-post-trash.components-button:not([aria-disabled=true]):focus{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 eb284d6af7..06dfe384ef 100644 --- a/wp-includes/css/dist/editor/style.css +++ b/wp-includes/css/dist/editor/style.css @@ -42,6 +42,14 @@ .editor-autocompleters__block .block-editor-block-icon { margin-right: 8px; } +.editor-autocompleters__user .editor-autocompleters__no-avatar::before { + /* stylelint-disable */ + font: normal 20px/1 dashicons; + /* stylelint-enable */ + content: "\f110"; + margin-right: 5px; + vertical-align: middle; } + .editor-autocompleters__user .editor-autocompleters__user-avatar { margin-right: 8px; flex-grow: 0; @@ -426,7 +434,6 @@ 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 { @@ -527,10 +534,11 @@ color: #555d66; overflow: hidden; white-space: nowrap; } - .editor-post-saved-state .dashicon { + .editor-post-saved-state svg { display: inline-block; flex: 0 0 auto; - margin-right: 8px; } + margin-right: 4px; + fill: currentColor; } @media (min-width: 600px) { .editor-post-saved-state { width: auto; @@ -760,7 +768,7 @@ body.admin-color-light .editor-post-text-editor__link{ color: #b52727; border-color: #b52727; justify-content: center; } - .editor-post-trash.components-button:hover, .editor-post-trash.components-button:focus { + .editor-post-trash.components-button:not(:disabled):not([aria-disabled="true"]):hover, .editor-post-trash.components-button:not([aria-disabled="true"]):focus { color: #a02222; border-color: #a02222; } diff --git a/wp-includes/css/dist/editor/style.min.css b/wp-includes/css/dist/editor/style.min.css index a24809f3c6..e1f1c064ac 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 .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 +@charset "UTF-8";.editor-autocompleters__block .block-editor-block-icon{margin-right:8px}.editor-autocompleters__user .editor-autocompleters__no-avatar:before{font:normal 20px/1 dashicons;content:"\f110";margin-right:5px;vertical-align:middle}.editor-autocompleters__user .editor-autocompleters__user-avatar{margin-right:8px;flex-grow:0;flex-shrink:0;max-width:none;width:24px;height:24px}.editor-autocompleters__user .editor-autocompleters__user-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:200px;flex-shrink:0;flex-grow:1}.editor-autocompleters__user .editor-autocompleters__user-slug{margin-left:8px;color:#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;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 svg{display:inline-block;flex:0 0 auto;margin-right:4px;fill:currentColor}@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:not(:disabled):not([aria-disabled=true]):hover,.editor-post-trash.components-button:not([aria-disabled=true]):focus{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/js/dist/a11y.js b/wp-includes/js/dist/a11y.js index 0aa86e0f55..941805548c 100644 --- a/wp-includes/js/dist/a11y.js +++ b/wp-includes/js/dist/a11y.js @@ -82,26 +82,26 @@ this["wp"] = this["wp"] || {}; this["wp"]["a11y"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 389); +/******/ return __webpack_require__(__webpack_require__.s = 436); /******/ }) /************************************************************************/ /******/ ({ -/***/ 215: +/***/ 254: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["domReady"]; }()); /***/ }), -/***/ 389: +/***/ 436: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // EXTERNAL MODULE: external {"this":["wp","domReady"]} -var external_this_wp_domReady_ = __webpack_require__(215); +var external_this_wp_domReady_ = __webpack_require__(254); var external_this_wp_domReady_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_domReady_); // CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/addContainer.js diff --git a/wp-includes/js/dist/a11y.min.js b/wp-includes/js/dist/a11y.min.js index 735e61132f..d337af6cc2 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=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 +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=436)}({254:function(e,t){!function(){e.exports=this.wp.domReady}()},436:function(e,t,n){"use strict";n.r(t);var r=n(254),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 ecc01bf72f..ae336d394b 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 = 380); +/******/ return __webpack_require__(__webpack_require__.s = 428); /******/ }) /************************************************************************/ /******/ ({ @@ -94,7 +94,79 @@ this["wp"] = this["wp"] || {}; this["wp"]["annotations"] = /***/ }), -/***/ 18: +/***/ 111: +/***/ (function(module, exports) { + +// Unique ID creation requires a high quality random # generator. In the +// browser this is a little complicated due to unknown quality of Math.random() +// and inconsistent support for the `crypto` API. We do the best we can via +// feature-detection + +// getRandomValues needs to be invoked in a context where "this" is a Crypto +// implementation. Also, find the complete implementation of crypto on IE11. +var getRandomValues = (typeof(crypto) != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) || + (typeof(msCrypto) != 'undefined' && typeof window.msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto)); + +if (getRandomValues) { + // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto + var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef + + module.exports = function whatwgRNG() { + getRandomValues(rnds8); + return rnds8; + }; +} else { + // Math.random()-based (RNG) + // + // If all else fails, use Math.random(). It's fast, but is of unspecified + // quality. + var rnds = new Array(16); + + module.exports = function mathRNG() { + for (var i = 0, r; i < 16; i++) { + if ((i & 0x03) === 0) r = Math.random() * 0x100000000; + rnds[i] = r >>> ((i & 0x03) << 3) & 0xff; + } + + return rnds; + }; +} + + +/***/ }), + +/***/ 112: +/***/ (function(module, exports) { + +/** + * Convert array of 16 byte values to UUID string format of the form: + * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX + */ +var byteToHex = []; +for (var i = 0; i < 256; ++i) { + byteToHex[i] = (i + 0x100).toString(16).substr(1); +} + +function bytesToUuid(buf, offset) { + var i = offset || 0; + var bth = byteToHex; + // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4 + return ([bth[buf[i++]], bth[buf[i++]], + bth[buf[i++]], bth[buf[i++]], '-', + bth[buf[i++]], bth[buf[i++]], '-', + bth[buf[i++]], bth[buf[i++]], '-', + bth[buf[i++]], bth[buf[i++]], '-', + bth[buf[i++]], bth[buf[i++]], + bth[buf[i++]], bth[buf[i++]], + bth[buf[i++]], bth[buf[i++]]]).join(''); +} + +module.exports = bytesToUuid; + + +/***/ }), + +/***/ 17: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -110,7 +182,7 @@ function _arrayWithoutHoles(arr) { } } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(31); +var iterableToArray = __webpack_require__(33); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js function _nonIterableSpread() { @@ -127,19 +199,12 @@ function _toConsumableArray(arr) { /***/ }), -/***/ 2: -/***/ (function(module, exports) { - -(function() { module.exports = this["lodash"]; }()); - -/***/ }), - -/***/ 20: +/***/ 19: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; }); -/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(40); +/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(41); function _objectWithoutProperties(source, excluded) { if (source == null) return {}; @@ -162,6 +227,13 @@ function _objectWithoutProperties(source, excluded) { /***/ }), +/***/ 2: +/***/ (function(module, exports) { + +(function() { module.exports = this["lodash"]; }()); + +/***/ }), + /***/ 24: /***/ (function(module, exports) { @@ -176,7 +248,7 @@ function _objectWithoutProperties(source, excluded) { /***/ }), -/***/ 31: +/***/ 33: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -187,7 +259,7 @@ function _iterableToArray(iter) { /***/ }), -/***/ 34: +/***/ 36: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -469,7 +541,36 @@ function isShallowEqual( a, b, fromIndex ) { /***/ }), -/***/ 380: +/***/ 4: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["data"]; }()); + +/***/ }), + +/***/ 41: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; }); +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + return target; +} + +/***/ }), + +/***/ 428: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -490,14 +591,11 @@ __webpack_require__.d(actions_namespaceObject, "__experimentalRemoveAnnotationsB // EXTERNAL MODULE: external {"this":["wp","data"]} var external_this_wp_data_ = __webpack_require__(4); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(9); - // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(18); +var toConsumableArray = __webpack_require__(17); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js -var objectSpread = __webpack_require__(6); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(5); // EXTERNAL MODULE: external {"this":"lodash"} var external_this_lodash_ = __webpack_require__(2); @@ -506,6 +604,9 @@ var external_this_lodash_ = __webpack_require__(2); +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -567,7 +668,7 @@ function reducer_annotations() { } var previousAnnotationsForBlock = Object(external_this_lodash_["get"])(state, blockClientId, []); - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, blockClientId, [].concat(Object(toConsumableArray["a" /* default */])(previousAnnotationsForBlock), [newAnnotation]))); + return _objectSpread({}, state, Object(defineProperty["a" /* default */])({}, blockClientId, [].concat(Object(toConsumableArray["a" /* default */])(previousAnnotationsForBlock), [newAnnotation]))); case 'ANNOTATION_REMOVE': return Object(external_this_lodash_["mapValues"])(state, function (annotationsForBlock) { @@ -582,7 +683,7 @@ function reducer_annotations() { var newAnnotations = annotationsForBlock.map(function (annotation) { if (annotation.id === action.annotationId) { hasChangedRange = true; - return Object(objectSpread["a" /* default */])({}, annotation, { + return _objectSpread({}, annotation, { range: { start: action.start, end: action.end @@ -608,15 +709,19 @@ function reducer_annotations() { /* harmony default export */ var reducer = (reducer_annotations); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(20); +var objectWithoutProperties = __webpack_require__(19); // EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js -var rememo = __webpack_require__(34); +var rememo = __webpack_require__(36); // CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/selectors.js +function selectors_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function selectors_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { selectors_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { selectors_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -672,7 +777,7 @@ var __experimentalGetAnnotationsForRichText = Object(rememo["a" /* default */])( var range = annotation.range, other = Object(objectWithoutProperties["a" /* default */])(annotation, ["range"]); - return Object(objectSpread["a" /* default */])({}, range, other); + return selectors_objectSpread({}, range, {}, other); }); }, function (state, blockClientId) { return [Object(external_this_lodash_["get"])(state, blockClientId, EMPTY_ARRAY)]; @@ -691,7 +796,7 @@ function __experimentalGetAnnotations(state) { } // EXTERNAL MODULE: ./node_modules/uuid/v4.js -var v4 = __webpack_require__(68); +var v4 = __webpack_require__(81); var v4_default = /*#__PURE__*/__webpack_require__.n(v4); // CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/actions.js @@ -1059,68 +1164,33 @@ Object(external_this_wp_hooks_["addFilter"])('editor.BlockListBlock', 'core/anno /***/ }), -/***/ 4: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["data"]; }()); - -/***/ }), - -/***/ 40: +/***/ 5: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; }); -function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } - - return target; -} - -/***/ }), - -/***/ 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]); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true }); + } else { + obj[key] = value; } - return target; + return obj; } /***/ }), -/***/ 68: +/***/ 81: /***/ (function(module, exports, __webpack_require__) { -var rng = __webpack_require__(87); -var bytesToUuid = __webpack_require__(88); +var rng = __webpack_require__(111); +var bytesToUuid = __webpack_require__(112); function v4(options, buf, offset) { var i = buf && offset || 0; @@ -1150,100 +1220,6 @@ function v4(options, buf, offset) { module.exports = v4; -/***/ }), - -/***/ 87: -/***/ (function(module, exports) { - -// Unique ID creation requires a high quality random # generator. In the -// browser this is a little complicated due to unknown quality of Math.random() -// and inconsistent support for the `crypto` API. We do the best we can via -// feature-detection - -// getRandomValues needs to be invoked in a context where "this" is a Crypto -// implementation. Also, find the complete implementation of crypto on IE11. -var getRandomValues = (typeof(crypto) != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) || - (typeof(msCrypto) != 'undefined' && typeof window.msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto)); - -if (getRandomValues) { - // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto - var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef - - module.exports = function whatwgRNG() { - getRandomValues(rnds8); - return rnds8; - }; -} else { - // Math.random()-based (RNG) - // - // If all else fails, use Math.random(). It's fast, but is of unspecified - // quality. - var rnds = new Array(16); - - module.exports = function mathRNG() { - for (var i = 0, r; i < 16; i++) { - if ((i & 0x03) === 0) r = Math.random() * 0x100000000; - rnds[i] = r >>> ((i & 0x03) << 3) & 0xff; - } - - return rnds; - }; -} - - -/***/ }), - -/***/ 88: -/***/ (function(module, exports) { - -/** - * Convert array of 16 byte values to UUID string format of the form: - * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX - */ -var byteToHex = []; -for (var i = 0; i < 256; ++i) { - byteToHex[i] = (i + 0x100).toString(16).substr(1); -} - -function bytesToUuid(buf, offset) { - var i = offset || 0; - var bth = byteToHex; - // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4 - return ([bth[buf[i++]], bth[buf[i++]], - bth[buf[i++]], bth[buf[i++]], '-', - bth[buf[i++]], bth[buf[i++]], '-', - bth[buf[i++]], bth[buf[i++]], '-', - bth[buf[i++]], bth[buf[i++]], '-', - bth[buf[i++]], bth[buf[i++]], - bth[buf[i++]], bth[buf[i++]], - bth[buf[i++]], bth[buf[i++]]]).join(''); -} - -module.exports = bytesToUuid; - - -/***/ }), - -/***/ 9: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} - /***/ }) /******/ }); \ No newline at end of file diff --git a/wp-includes/js/dist/annotations.min.js b/wp-includes/js/dist/annotations.min.js index ff7b60c04b..a221c9a50b 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=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 +this.wp=this.wp||{},this.wp.annotations=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=428)}({1:function(t,e){!function(){t.exports=this.wp.i18n}()},111:function(t,e){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var r=new Uint8Array(16);t.exports=function(){return n(r),r}}else{var o=new Array(16);t.exports=function(){for(var t,e=0;e<16;e++)0==(3&e)&&(t=4294967296*Math.random()),o[e]=t>>>((3&e)<<3)&255;return o}}},112:function(t,e){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);t.exports=function(t,e){var r=e||0,o=n;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("")}},17:function(t,e,n){"use strict";var r=n(33);function o(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}},2:function(t,e){!function(){t.exports=this.lodash}()},24:function(t,e){!function(){t.exports=this.wp.richText}()},29:function(t,e){!function(){t.exports=this.wp.hooks}()},33:function(t,e,n){"use strict";function r(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}n.d(e,"a",(function(){return r}))},36:function(t,e,n){"use strict";var r,o;function a(t){return[t]}function i(){var t={clear:function(){t.head=null}};return t}function u(t,e,n){var r;if(t.length!==e.length)return!1;for(r=n;r=0||(o[n]=t[n]);return o}n.d(e,"a",(function(){return r}))},428:function(t,e,n){"use strict";n.r(e);var r={};n.r(r),n.d(r,"__experimentalGetAnnotationsForBlock",(function(){return g})),n.d(r,"__experimentalGetAllAnnotationsForBlock",(function(){return y})),n.d(r,"__experimentalGetAnnotationsForRichText",(function(){return m})),n.d(r,"__experimentalGetAnnotations",(function(){return h}));var o={};n.r(o),n.d(o,"__experimentalAddAnnotation",(function(){return A})),n.d(o,"__experimentalRemoveAnnotation",(function(){return _})),n.d(o,"__experimentalUpdateAnnotationRange",(function(){return w})),n.d(o,"__experimentalRemoveAnnotationsBySource",(function(){return T}));var a=n(4),i=n(17),u=n(5),c=n(2);function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function l(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case"ANNOTATION_ADD":var r=n.blockClientId,o={id:n.id,blockClientId:r,richTextIdentifier:n.richTextIdentifier,source:n.source,selector:n.selector,range:n.range};if("range"===o.selector&&(t=o.range,!(Object(c.isNumber)(t.start)&&Object(c.isNumber)(t.end)&&t.start<=t.end)))return e;var a=Object(c.get)(e,r,[]);return l({},e,Object(u.a)({},r,[].concat(Object(i.a)(a),[o])));case"ANNOTATION_REMOVE":return Object(c.mapValues)(e,(function(t){return s(t,(function(t){return t.id!==n.annotationId}))}));case"ANNOTATION_UPDATE_RANGE":return Object(c.mapValues)(e,(function(t){var e=!1,r=t.map((function(t){return t.id===n.annotationId?(e=!0,l({},t,{range:{start:n.start,end:n.end}})):t}));return e?r:t}));case"ANNOTATION_REMOVE_SOURCE":return Object(c.mapValues)(e,(function(t){return s(t,(function(t){return t.source!==n.source}))}))}return e},d=n(19),b=n(36);function O(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var v=[],g=Object(b.a)((function(t,e){return Object(c.get)(t,e,[]).filter((function(t){return"block"===t.selector}))}),(function(t,e){return[Object(c.get)(t,e,v)]})),y=function(t,e){return Object(c.get)(t,e,v)},m=Object(b.a)((function(t,e,n){return Object(c.get)(t,e,[]).filter((function(t){return"range"===t.selector&&n===t.richTextIdentifier})).map((function(t){return function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:[]).forEach((function(e){var n=e.start,r=e.end;n>t.text.length&&(n=t.text.length),r>t.text.length&&(r=t.text.length);var o=I+e.source,a=I+e.id;t=Object(N.applyFormat)(t,{type:E,attributes:{className:o,id:a}},n,r)})),t}(r,e)).formats}},__experimentalGetPropsForEditableTreeChangeHandler:function(t){return{removeAnnotation:t("core/annotations").__experimentalRemoveAnnotation,updateAnnotationRange:t("core/annotations").__experimentalUpdateAnnotationRange}},__experimentalCreateOnChangeEditableValue:function(t){return function(e){var n=function(t){var e={};return t.forEach((function(t,n){(t=(t=t||[]).filter((function(t){return t.type===E}))).forEach((function(t){var r=t.attributes.id;r=r.replace(I,""),e.hasOwnProperty(r)||(e[r]={start:n}),e[r].end=n+1}))})),e}(e),r=t.removeAnnotation,o=t.updateAnnotationRange;!function(t,e,n){var r=n.removeAnnotation,o=n.updateAnnotationRange;t.forEach((function(t){var n=e[t.id];if(n){var a=t.start,i=t.end;a===n.start&&i===n.end||o(t.id,n.start,n.end)}else r(t.id)}))}(t.annotations,n,{removeAnnotation:r,updateAnnotationRange:o})}}},k=R.name,D=Object(d.a)(R,["name"]);Object(N.registerFormatType)(k,D);var S=n(29);Object(S.addFilter)("editor.BlockListBlock","core/annotations",(function(t){return Object(a.withSelect)((function(t,e){var n=e.clientId;return{className:t("core/annotations").__experimentalGetAnnotationsForBlock(n).map((function(t){return"is-annotated-by-"+t.source})).join(" ")}}))(t)}))},5:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return r}))},81:function(t,e,n){var r=n(111),o=n(112);t.exports=function(t,e,n){var a=e&&n||0;"string"==typeof t&&(e="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,e)for(var u=0;u<16;++u)e[a+u]=i[u];return e||o(i)}}}); \ 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 ffc4902bf0..bde0554e48 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 = 376); +/******/ return __webpack_require__(__webpack_require__.s = 424); /******/ }) /************************************************************************/ /******/ ({ @@ -94,12 +94,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["apiFetch"] = /***/ }), -/***/ 20: +/***/ 19: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; }); -/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(40); +/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(41); function _objectWithoutProperties(source, excluded) { if (source == null) return {}; @@ -129,24 +129,46 @@ function _objectWithoutProperties(source, excluded) { /***/ }), -/***/ 25: +/***/ 26: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["url"]; }()); /***/ }), -/***/ 376: +/***/ 41: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; }); +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + return target; +} + +/***/ }), + +/***/ 424: /***/ (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__(6); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(5); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(20); +var objectWithoutProperties = __webpack_require__(19); // EXTERNAL MODULE: external {"this":["wp","i18n"]} var external_this_wp_i18n_ = __webpack_require__(1); @@ -154,6 +176,10 @@ var external_this_wp_i18n_ = __webpack_require__(1); // CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/nonce.js +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + function createNonceMiddleware(nonce) { function middleware(options, next) { var _options$headers = options.headers, @@ -166,8 +192,8 @@ function createNonceMiddleware(nonce) { } } - return next(Object(objectSpread["a" /* default */])({}, options, { - headers: Object(objectSpread["a" /* default */])({}, headers, { + return next(_objectSpread({}, options, { + headers: _objectSpread({}, headers, { 'X-WP-Nonce': middleware.nonce }) })); @@ -177,12 +203,16 @@ function createNonceMiddleware(nonce) { return middleware; } -/* harmony default export */ var middlewares_nonce = (createNonceMiddleware); +/* harmony default export */ var nonce = (createNonceMiddleware); // CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/namespace-endpoint.js -var namespace_endpoint_namespaceAndEndpointMiddleware = function namespaceAndEndpointMiddleware(options, next) { +function namespace_endpoint_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function namespace_endpoint_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { namespace_endpoint_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { namespace_endpoint_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + +var namespaceAndEndpointMiddleware = function namespaceAndEndpointMiddleware(options, next) { var path = options.path; var namespaceTrimmed, endpointTrimmed; @@ -199,16 +229,20 @@ var namespace_endpoint_namespaceAndEndpointMiddleware = function namespaceAndEnd delete options.namespace; delete options.endpoint; - return next(Object(objectSpread["a" /* default */])({}, options, { + return next(namespace_endpoint_objectSpread({}, options, { path: path })); }; -/* harmony default export */ var namespace_endpoint = (namespace_endpoint_namespaceAndEndpointMiddleware); +/* harmony default export */ var namespace_endpoint = (namespaceAndEndpointMiddleware); // CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/root-url.js +function root_url_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function root_url_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { root_url_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { root_url_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * Internal dependencies */ @@ -238,7 +272,7 @@ var root_url_createRootURLMiddleware = function createRootURLMiddleware(rootURL) url = apiRoot + path; } - return next(Object(objectSpread["a" /* default */])({}, optionsWithPath, { + return next(root_url_objectSpread({}, optionsWithPath, { url: url })); }); @@ -312,10 +346,10 @@ 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__(44); +var asyncToGenerator = __webpack_require__(47); // EXTERNAL MODULE: external {"this":["wp","url"]} -var external_this_wp_url_ = __webpack_require__(25); +var external_this_wp_url_ = __webpack_require__(26); // CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/fetch-all-middleware.js @@ -323,6 +357,10 @@ var external_this_wp_url_ = __webpack_require__(25); +function fetch_all_middleware_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function fetch_all_middleware_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { fetch_all_middleware_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { fetch_all_middleware_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * WordPress dependencies */ @@ -333,7 +371,7 @@ var fetch_all_middleware_modifyQuery = function modifyQuery(_ref, queryArgs) { url = _ref.url, options = Object(objectWithoutProperties["a" /* default */])(_ref, ["path", "url"]); - return Object(objectSpread["a" /* default */])({}, options, { + return fetch_all_middleware_objectSpread({}, options, { url: url && Object(external_this_wp_url_["addQueryArgs"])(url, queryArgs), path: path && Object(external_this_wp_url_["addQueryArgs"])(path, queryArgs) }); @@ -399,7 +437,7 @@ function () { case 4: _context.next = 6; - return next(Object(objectSpread["a" /* default */])({}, fetch_all_middleware_modifyQuery(options, { + return next(fetch_all_middleware_objectSpread({}, fetch_all_middleware_modifyQuery(options, { per_page: 100 }), { // Ensure headers are returned for page 1. @@ -442,7 +480,7 @@ function () { } _context.next = 19; - return next(Object(objectSpread["a" /* default */])({}, options, { + return next(fetch_all_middleware_objectSpread({}, options, { // Ensure the URL for the next page is used instead of any provided path. path: undefined, url: nextPage, @@ -483,6 +521,10 @@ function () { // CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/http-v1.js +function http_v1_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function http_v1_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { http_v1_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { http_v1_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * Set of HTTP methods which are eligible to be overridden. * @@ -517,8 +559,8 @@ function httpV1Middleware(options, next) { method = _options$method === void 0 ? DEFAULT_METHOD : _options$method; if (OVERRIDE_METHODS.has(method.toUpperCase())) { - options = Object(objectSpread["a" /* default */])({}, options, { - headers: Object(objectSpread["a" /* default */])({}, options.headers, { + options = http_v1_objectSpread({}, options, { + headers: http_v1_objectSpread({}, options.headers, { 'X-HTTP-Method-Override': method, 'Content-Type': 'application/json' }), @@ -632,6 +674,10 @@ function parseAndThrowError(response) { // CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/media-upload.js +function media_upload_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function media_upload_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { media_upload_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { media_upload_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * WordPress dependencies */ @@ -682,7 +728,7 @@ function mediaUploadMiddleware(options, next) { }); }; - return next(Object(objectSpread["a" /* default */])({}, options, { + return next(media_upload_objectSpread({}, options, { parse: false })).catch(function (response) { var attachmentId = response.headers.get('x-wp-upload-attachment-id'); @@ -712,6 +758,10 @@ function mediaUploadMiddleware(options, next) { +function build_module_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function build_module_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { build_module_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { build_module_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * WordPress dependencies */ @@ -778,14 +828,14 @@ var build_module_defaultFetchHandler = function defaultFetchHandler(nextOptions) var body = nextOptions.body, headers = nextOptions.headers; // Merge explicitly-provided headers with default values. - headers = Object(objectSpread["a" /* default */])({}, DEFAULT_HEADERS, headers); // The `data` property is a shorthand for sending a JSON body. + headers = build_module_objectSpread({}, DEFAULT_HEADERS, {}, headers); // The `data` property is a shorthand for sending a JSON body. if (data) { body = JSON.stringify(data); headers['Content-Type'] = 'application/json'; } - var responsePromise = window.fetch(url || path, Object(objectSpread["a" /* default */])({}, DEFAULT_OPTIONS, remainingOptions, { + var responsePromise = window.fetch(url || path, build_module_objectSpread({}, DEFAULT_OPTIONS, {}, remainingOptions, { body: body, headers: headers })); @@ -853,7 +903,7 @@ function apiFetch(options) { apiFetch.use = registerMiddleware; apiFetch.setFetchHandler = setFetchHandler; -apiFetch.createNonceMiddleware = middlewares_nonce; +apiFetch.createNonceMiddleware = nonce; apiFetch.createPreloadingMiddleware = preloading; apiFetch.createRootURLMiddleware = root_url; apiFetch.fetchAllMiddleware = fetch_all_middleware; @@ -863,29 +913,7 @@ apiFetch.mediaUploadMiddleware = media_upload; /***/ }), -/***/ 40: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; }); -function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } - - return target; -} - -/***/ }), - -/***/ 44: +/***/ 47: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -928,35 +956,7 @@ function _asyncToGenerator(fn) { /***/ }), -/***/ 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; -} - -/***/ }), - -/***/ 9: +/***/ 5: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; diff --git a/wp-includes/js/dist/api-fetch.min.js b/wp-includes/js/dist/api-fetch.min.js index 38a6e519cc..ba272bbdad 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=376)}({1:function(e,t){!function(){e.exports=this.wp.i18n}()},20: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}()},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=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(c[r]=e[r])}return c}},23:function(e,t){!function(){e.exports=this.regeneratorRuntime}()},26:function(e,t){!function(){e.exports=this.wp.url}()},41:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,o={},c=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}r.d(t,"a",(function(){return n}))},424:function(e,t,r){"use strict";r.r(t);var n=r(5),o=r(19),c=r(1);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t]+)>; rel="next"/);return t?{next:t[1]}:{}}(e.headers.get("link")).next},m=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},x=function(){var e=Object(y.a)(j.a.mark((function e(t,r){var n,c,i,u,a,s;return j.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(m(t)){e.next=4;break}return e.abrupt("return",r(t));case 4:return e.next=6,r(g({},(f={per_page:100},l=void 0,O=void 0,l=(p=t).path,O=p.url,g({},Object(o.a)(p,["path","url"]),{url:O&&Object(h.addQueryArgs)(O,f),path:l&&Object(h.addQueryArgs)(l,f)})),{parse:!1}));case 6:return n=e.sent,e.next=9,P(n);case 9:if(c=e.sent,Array.isArray(c)){e.next=12;break}return e.abrupt("return",c);case 12:if(i=w(n)){e.next=15;break}return e.abrupt("return",c);case 15:u=[].concat(c);case 16:if(!i){e.next=27;break}return e.next=19,r(g({},t,{path:void 0,url:i,parse:!1}));case 19:return a=e.sent,e.next=22,P(a);case 22:s=e.sent,u=u.concat(s),i=w(a),e.next=16;break;case 27:return e.abrupt("return",u);case 28:case"end":return e.stop()}var p,f,l,O}),e)})));return function(t,r){return e.apply(this,arguments)}}();function D(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _(e){for(var t=1;t1&&void 0!==arguments[1])||arguments[1];return t?204===e.status?null:e.json?e.json():Promise.reject(e):e},T=function(e){var t={code:"invalid_json",message:Object(c.__)("The response is not a valid JSON response.")};if(!e||!e.json)throw t;return e.json().catch((function(){throw t}))},A=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Promise.resolve(k(e,t)).catch((function(e){return M(e,t)}))};function M(e){if(!(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]))throw e;return T(e).then((function(e){var t={code:"unknown_error",message:Object(c.__)("An unknown error occurred.")};throw e||t}))}function C(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var Q=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(function(e){for(var t=1;t=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(c.__)("Media upload failed. If this is a photo or a large image, please scale it down and try again.")}):Promise.reject(n)})):M(n,e.parse)})).then((function(t){return A(t,e.parse)}))};function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function L(e){for(var t=1;t=200&&e.status<300)return e;throw e},R=function(e){var t=e.url,r=e.path,n=e.data,i=e.parse,u=void 0===i||i,a=Object(o.a)(e,["url","path","data","parse"]),s=e.body,p=e.headers;return p=L({},U,{},p),n&&(s=JSON.stringify(n),p["Content-Type"]="application/json"),window.fetch(t||r,L({},G,{},a,{body:s,headers:p})).then((function(e){return Promise.resolve(e).then(I).catch((function(e){return M(e,u)})).then((function(e){return A(e,u)}))}),(function(){throw{code:"fetch_error",message:Object(c.__)("You are probably offline.")}}))};function F(e){var t=[].concat(H,[R]);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(F.nonceEndpoint).then(I).then((function(e){return e.text()})).then((function(t){F.nonceMiddleware.nonce=t,F(e).then(r).catch(n)})).catch(n)}))}))}F.use=function(e){H.unshift(e)},F.setFetchHandler=function(e){R=e},F.createNonceMiddleware=a,F.createPreloadingMiddleware=b,F.createRootURLMiddleware=l,F.fetchAllMiddleware=x,F.mediaUploadMiddleware=Q;t.default=F},47:function(e,t,r){"use strict";function n(e,t,r,n,o,c,i){try{var u=e[c](i),a=u.value}catch(e){return void r(e)}u.done?t(a):Promise.resolve(a).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,c){var i=e.apply(t,r);function u(e){n(i,o,c,u,a,"next",e)}function a(e){n(i,o,c,u,a,"throw",e)}u(void 0)}))}}r.d(t,"a",(function(){return o}))},5: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}))}}).default; \ No newline at end of file diff --git a/wp-includes/js/dist/autop.js b/wp-includes/js/dist/autop.js index 509c9216ba..4cf913888f 100644 --- a/wp-includes/js/dist/autop.js +++ b/wp-includes/js/dist/autop.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["autop"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 233); +/******/ return __webpack_require__(__webpack_require__.s = 273); /******/ }) /************************************************************************/ /******/ ({ @@ -93,7 +93,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["autop"] = "use strict"; // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -var arrayWithHoles = __webpack_require__(35); +var arrayWithHoles = __webpack_require__(37); // 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__(36); +var nonIterableRest = __webpack_require__(38); // 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) { /***/ }), -/***/ 233: +/***/ 273: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -306,9 +306,9 @@ function autop(text) { text = text.replace(/\s*/g, '\n\n'); var allBlocks = '(?: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)'; // Add a double line break above block-level opening tags. - text = text.replace(new RegExp('(<' + allBlocks + '[\\s\/>])', 'g'), '\n\n$1'); // Add a double line break below block-level closing tags. + text = text.replace(new RegExp('(<' + allBlocks + '[\\s/>])', 'g'), '\n\n$1'); // Add a double line break below block-level closing tags. - text = text.replace(new RegExp('(<\/' + allBlocks + '>)', 'g'), '$1\n\n'); // Standardize newline characters to "\n". + text = text.replace(new RegExp('()', 'g'), '$1\n\n'); // Standardize newline characters to "\n". text = text.replace(/\r\n|\r/g, '\n'); // Find newlines in all elements and add placeholders. @@ -364,16 +364,16 @@ function autop(text) { text = text.replace(/

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

$1

'); // If an opening or closing block element tag is wrapped in a

, unwrap it. - text = text.replace(new RegExp('

\\s*(<\/?' + allBlocks + '[^>]*>)\\s*<\/p>', 'g'), '$1'); // In some cases

  • may get wrapped in

    , fix them. + text = text.replace(new RegExp('

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

    ', 'g'), '$1'); // In some cases
  • may get wrapped in

    , fix them. text = text.replace(/

    (/g, '$1'); // If a

    is wrapped with a

    , move it inside the

    . text = text.replace(/

    ]*)>/gi, '

    '); text = text.replace(/<\/blockquote><\/p>/g, '

    '); // If an opening or closing block element tag is preceded by an opening

    tag, remove it. - text = text.replace(new RegExp('

    \\s*(<\/?' + allBlocks + '[^>]*>)', 'g'), '$1'); // If an opening or closing block element tag is followed by a closing

    tag, remove it. + text = text.replace(new RegExp('

    \\s*(]*>)', 'g'), '$1'); // If an opening or closing block element tag is followed by a closing

    tag, remove it. - text = text.replace(new RegExp('(<\/?' + allBlocks + '[^>]*>)\\s*<\/p>', 'g'), '$1'); // Optionally insert line breaks. + text = text.replace(new RegExp('(]*>)\\s*

    ', 'g'), '$1'); // Optionally insert line breaks. if (br) { // Replace newlines that shouldn't be touched with a placeholder. @@ -391,7 +391,7 @@ function autop(text) { } // If a
    tag is after an opening or closing block tag, remove it. - text = text.replace(new RegExp('(<\/?' + allBlocks + '[^>]*>)\\s*
    ', 'g'), '$1'); // If a
    tag is before a subset of opening or closing block tags, remove it. + text = text.replace(new RegExp('(]*>)\\s*
    ', 'g'), '$1'); // If a
    tag is before a subset of opening or closing block tags, remove it. text = text.replace(/
    (\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g, '$1'); text = text.replace(/\n<\/p>$/g, '

    '); // Replace placeholder
     tags with their original content.
    @@ -543,7 +543,7 @@ function removep(html) {
     
     /***/ }),
     
    -/***/ 35:
    +/***/ 37:
     /***/ (function(module, __webpack_exports__, __webpack_require__) {
     
     "use strict";
    @@ -554,7 +554,7 @@ function _arrayWithHoles(arr) {
     
     /***/ }),
     
    -/***/ 36:
    +/***/ 38:
     /***/ (function(module, __webpack_exports__, __webpack_require__) {
     
     "use strict";
    diff --git a/wp-includes/js/dist/autop.min.js b/wp-includes/js/dist/autop.min.js
    index f383248dc7..1850f20ffb 100644
    --- a/wp-includes/js/dist/autop.min.js
    +++ b/wp-includes/js/dist/autop.min.js
    @@ -1,2 +1,2 @@
     /*! This file is auto-generated */
    -this.wp=this.wp||{},this.wp.autop=function(e){var 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 +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=273)}({22:function(e,r,n){"use strict";var t=n(37);var p=n(38);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}))},273: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):""}},37:function(e,r,n){"use strict";function t(e){if(Array.isArray(e))return e}n.d(r,"a",(function(){return t}))},38: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 cbc1481a31..e81bf67e6c 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 = 234); +/******/ return __webpack_require__(__webpack_require__.s = 274); /******/ }) /************************************************************************/ /******/ ({ -/***/ 234: +/***/ 274: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; diff --git a/wp-includes/js/dist/blob.min.js b/wp-includes/js/dist/blob.min.js index 5b75e8b049..c2e631cb55 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=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 +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=274)}({274: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 1817036d79..16a1e513a1 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 = 371); +/******/ return __webpack_require__(__webpack_require__.s = 419); /******/ }) /************************************************************************/ /******/ ({ @@ -101,14 +101,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["blockDirectory"] = /***/ }), -/***/ 11: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["blocks"]; }()); - -/***/ }), - -/***/ 18: +/***/ 17: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -124,7 +117,7 @@ function _arrayWithoutHoles(arr) { } } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(31); +var iterableToArray = __webpack_require__(33); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js function _nonIterableSpread() { @@ -154,7 +147,7 @@ function _toConsumableArray(arr) { "use strict"; // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -var arrayWithHoles = __webpack_require__(35); +var arrayWithHoles = __webpack_require__(37); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js function _iterableToArrayLimit(arr, i) { @@ -187,7 +180,7 @@ function _iterableToArrayLimit(arr, i) { return _arr; } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js -var nonIterableRest = __webpack_require__(36); +var nonIterableRest = __webpack_require__(38); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); @@ -214,7 +207,7 @@ function _slicedToArray(arr, i) { /***/ }), -/***/ 31: +/***/ 33: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -225,7 +218,7 @@ function _iterableToArray(iter) { /***/ }), -/***/ 35: +/***/ 37: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -236,7 +229,7 @@ function _arrayWithHoles(arr) { /***/ }), -/***/ 36: +/***/ 38: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -247,7 +240,21 @@ function _nonIterableRest() { /***/ }), -/***/ 371: +/***/ 4: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["data"]; }()); + +/***/ }), + +/***/ 40: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["apiFetch"]; }()); + +/***/ }), + +/***/ 419: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -273,18 +280,18 @@ __webpack_require__.d(actions_namespaceObject, "removeInstalledBlockType", funct var external_this_wp_data_ = __webpack_require__(4); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(18); +var toConsumableArray = __webpack_require__(17); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(9); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js -var objectSpread = __webpack_require__(6); +var defineProperty = __webpack_require__(5); // CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/reducer.js +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * WordPress dependencies @@ -302,39 +309,49 @@ var objectSpread = __webpack_require__(6); var reducer_downloadableBlocks = function downloadableBlocks() { var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : { results: {}, - hasPermission: true, filterValue: undefined, - isRequestingDownloadableBlocks: true, - installedBlockTypes: [] + isRequestingDownloadableBlocks: true }; var action = arguments.length > 1 ? arguments[1] : undefined; switch (action.type) { case 'FETCH_DOWNLOADABLE_BLOCKS': - return Object(objectSpread["a" /* default */])({}, state, { + return _objectSpread({}, state, { isRequestingDownloadableBlocks: true }); case 'RECEIVE_DOWNLOADABLE_BLOCKS': - return Object(objectSpread["a" /* default */])({}, state, { + return _objectSpread({}, state, { results: Object.assign({}, state.results, Object(defineProperty["a" /* default */])({}, action.filterValue, action.downloadableBlocks)), - hasPermission: true, isRequestingDownloadableBlocks: false }); + } - case 'SET_INSTALL_BLOCKS_PERMISSION': - return Object(objectSpread["a" /* default */])({}, state, { - items: action.hasPermission ? state.items : [], - hasPermission: action.hasPermission - }); + return state; +}; +/** + * Reducer managing the installation and deletion of blocks. + * + * @param {Object} state Current state. + * @param {Object} action Dispatched action. + * + * @return {Object} Updated state. + */ +var reducer_blockManagement = function blockManagement() { + var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : { + installedBlockTypes: [] + }; + var action = arguments.length > 1 ? arguments[1] : undefined; + + switch (action.type) { case 'ADD_INSTALLED_BLOCK_TYPE': - return Object(objectSpread["a" /* default */])({}, state, { + return _objectSpread({}, state, { installedBlockTypes: [].concat(Object(toConsumableArray["a" /* default */])(state.installedBlockTypes), [action.item]) }); case 'REMOVE_INSTALLED_BLOCK_TYPE': - return Object(objectSpread["a" /* default */])({}, state, { + return _objectSpread({}, state, { installedBlockTypes: state.installedBlockTypes.filter(function (blockType) { return blockType.name !== action.item.name; }) @@ -343,18 +360,32 @@ var reducer_downloadableBlocks = function downloadableBlocks() { return state; }; -/* harmony default export */ var reducer = (Object(external_this_wp_data_["combineReducers"])({ - downloadableBlocks: reducer_downloadableBlocks -})); - -// EXTERNAL MODULE: external {"this":"lodash"} -var external_this_lodash_ = __webpack_require__(2); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/selectors.js /** - * External dependencies + * Reducer returns whether the user can install blocks. + * + * @param {Object} state Current state. + * @param {Object} action Dispatched action. + * + * @return {Object} Updated state. */ +function reducer_hasPermission() { + var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; + var action = arguments.length > 1 ? arguments[1] : undefined; + + if (action.type === 'SET_INSTALL_BLOCKS_PERMISSION') { + return action.hasPermission; + } + + return state; +} +/* harmony default export */ var reducer = (Object(external_this_wp_data_["combineReducers"])({ + downloadableBlocks: reducer_downloadableBlocks, + blockManagement: reducer_blockManagement, + hasPermission: reducer_hasPermission +})); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/selectors.js /** * Returns true if application is requesting for downloadable blocks. * @@ -362,7 +393,6 @@ var external_this_lodash_ = __webpack_require__(2); * * @return {Array} Downloadable blocks */ - function isRequestingDownloadableBlocks(state) { return state.downloadableBlocks.isRequestingDownloadableBlocks; } @@ -391,7 +421,7 @@ function selectors_getDownloadableBlocks(state, filterValue) { */ function selectors_hasInstallBlocksPermission(state) { - return state.downloadableBlocks.hasPermission; + return state.hasPermission; } /** * Returns the block types that have been installed on the server. @@ -402,7 +432,7 @@ function selectors_hasInstallBlocksPermission(state) { */ function getInstalledBlockTypes(state) { - return Object(external_this_lodash_["get"])(state, ['downloadableBlocks', 'installedBlockTypes'], []); + return state.blockManagement.installedBlockTypes; } // EXTERNAL MODULE: external {"this":"regeneratorRuntime"} @@ -410,10 +440,13 @@ 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__(11); +var external_this_wp_blocks_ = __webpack_require__(9); + +// EXTERNAL MODULE: external {"this":"lodash"} +var external_this_lodash_ = __webpack_require__(2); // EXTERNAL MODULE: external {"this":["wp","apiFetch"]} -var external_this_wp_apiFetch_ = __webpack_require__(38); +var external_this_wp_apiFetch_ = __webpack_require__(40); 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 @@ -421,6 +454,10 @@ var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(exter +function controls_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function controls_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { controls_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { controls_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + var _marked = /*#__PURE__*/ external_this_regeneratorRuntime_default.a.mark(loadAssets); @@ -584,7 +621,7 @@ var controls = { }), API_FETCH: function API_FETCH(_ref3) { var request = _ref3.request; - return external_this_wp_apiFetch_default()(Object(objectSpread["a" /* default */])({}, request)); + return external_this_wp_apiFetch_default()(controls_objectSpread({}, request)); }, LOAD_ASSETS: function LOAD_ASSETS(_ref4) { var assets = _ref4.assets; @@ -1043,13 +1080,13 @@ 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__(50); +var external_this_wp_plugins_ = __webpack_require__(53); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules var slicedToArray = __webpack_require__(22); // EXTERNAL MODULE: external {"this":["wp","blockEditor"]} -var external_this_wp_blockEditor_ = __webpack_require__(5); +var external_this_wp_blockEditor_ = __webpack_require__(6); // EXTERNAL MODULE: external {"this":["wp","compose"]} var external_this_wp_compose_ = __webpack_require__(8); @@ -1177,7 +1214,7 @@ function DownloadableBlockHeader(_ref) { _onClick(); } - }, Object(external_this_wp_i18n_["__"])('Add'))); + }, Object(external_this_wp_i18n_["__"])('Add block'))); } /* harmony default export */ var downloadable_block_header = (DownloadableBlockHeader); @@ -1230,9 +1267,8 @@ function DownloadableBlockInfo(_ref) { className: "block-directory-downloadable-block-info__column" }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Icon"], { icon: "update" - }), Object(external_this_wp_element_["createElement"])("span", { - "aria-label": Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Updated %s'), humanizedUpdated) - }, humanizedUpdated)))); + }), // translators: %s: Humanized date of last update e.g: "2 months ago". + Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Updated %s'), humanizedUpdated)))); } /* harmony default export */ var downloadable_block_info = (DownloadableBlockInfo); @@ -1389,7 +1425,7 @@ function DownloadableBlocksList(_ref) { var createdBlock = onSelect(item); var onInstallBlockError = function onInstallBlockError() { - createErrorNotice(Object(external_this_wp_i18n_["__"])('Block previews can\'t install.'), { + createErrorNotice(Object(external_this_wp_i18n_["__"])("Block previews can't install."), { id: INSTALL_ERROR_NOTICE_ID, actions: [{ label: Object(external_this_wp_i18n_["__"])('Retry'), @@ -1568,72 +1604,9 @@ Object(external_this_wp_plugins_["registerPlugin"])('block-directory', { -/***/ }), - -/***/ 38: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["apiFetch"]; }()); - -/***/ }), - -/***/ 4: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["data"]; }()); - /***/ }), /***/ 5: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["blockEditor"]; }()); - -/***/ }), - -/***/ 50: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["plugins"]; }()); - -/***/ }), - -/***/ 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; -} - -/***/ }), - -/***/ 8: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["compose"]; }()); - -/***/ }), - -/***/ 9: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -1653,6 +1626,34 @@ function _defineProperty(obj, key, value) { return obj; } +/***/ }), + +/***/ 53: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["plugins"]; }()); + +/***/ }), + +/***/ 6: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["blockEditor"]; }()); + +/***/ }), + +/***/ 8: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["compose"]; }()); + +/***/ }), + +/***/ 9: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["blocks"]; }()); + /***/ }) /******/ }); \ No newline at end of file diff --git a/wp-includes/js/dist/block-directory.min.js b/wp-includes/js/dist/block-directory.min.js index f0db66b625..24425f0a64 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=371)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},11:function(e,t){!function(){e.exports=this.wp.blocks}()},18:function(e,t,n){"use strict";var r=n(31);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(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;t0&&void 0!==arguments[0]?arguments[0]:{results:{},filterValue:void 0,isRequestingDownloadableBlocks:!0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_DOWNLOADABLE_BLOCKS":return s({},e,{isRequestingDownloadableBlocks:!0});case"RECEIVE_DOWNLOADABLE_BLOCKS":return s({},e,{results:Object.assign({},e.results,Object(l.a)({},t.filterValue,t.downloadableBlocks)),isRequestingDownloadableBlocks:!1})}return e},blockManagement:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{installedBlockTypes:[]},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_INSTALLED_BLOCK_TYPE":return s({},e,{installedBlockTypes:[].concat(Object(a.a)(e.installedBlockTypes),[t.item])});case"REMOVE_INSTALLED_BLOCK_TYPE":return s({},e,{installedBlockTypes:e.installedBlockTypes.filter((function(e){return e.name!==t.item.name}))})}return e},hasPermission:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;return"SET_INSTALL_BLOCKS_PERMISSION"===t.type?t.hasPermission:e}});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.hasPermission}function p(e){return e.blockManagement.installedBlockTypes}var m=n(23),O=n.n(m),k=n(9),j=n(2),y=n(40),h=n.n(y);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var v=O.a.mark(B);function w(e){return{type:"API_FETCH",request:e}}var g=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)}},E=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 B(e){return O.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()}}),v)}var x={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()(function(e){for(var t=1;t', '"', '`', ' ', '\r', '\n', '\t'], + + // RFC 2396: characters not allowed for various reasons. + unwise = ['{', '}', '|', '\\', '^', '`'].concat(delims), + + // Allowed by RFCs, but cause of XSS attacks. Always escape these. + autoEscape = ['\''].concat(unwise), + // Characters that are never ever allowed in a hostname. + // Note that any invalid chars are also handled, but these + // are the ones that are *expected* to be seen, so we fast-path + // them. + nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape), + hostEndingChars = ['/', '?', '#'], + hostnameMaxLen = 255, + hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/, + hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, + // protocols that can allow "unsafe" and "unwise" chars. + unsafeProtocol = { + 'javascript': true, + 'javascript:': true + }, + // protocols that never have a hostname. + hostlessProtocol = { + 'javascript': true, + 'javascript:': true + }, + // protocols that always contain a // bit. + slashedProtocol = { + 'http': true, + 'https': true, + 'ftp': true, + 'gopher': true, + 'file': true, + 'http:': true, + 'https:': true, + 'ftp:': true, + 'gopher:': true, + 'file:': true + }, + querystring = __webpack_require__(156); + +function urlParse(url, parseQueryString, slashesDenoteHost) { + if (url && util.isObject(url) && url instanceof Url) return url; + + var u = new Url; + u.parse(url, parseQueryString, slashesDenoteHost); + return u; +} + +Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) { + if (!util.isString(url)) { + throw new TypeError("Parameter 'url' must be a string, not " + typeof url); + } + + // Copy chrome, IE, opera backslash-handling behavior. + // Back slashes before the query string get converted to forward slashes + // See: https://code.google.com/p/chromium/issues/detail?id=25916 + var queryIndex = url.indexOf('?'), + splitter = + (queryIndex !== -1 && queryIndex < url.indexOf('#')) ? '?' : '#', + uSplit = url.split(splitter), + slashRegex = /\\/g; + uSplit[0] = uSplit[0].replace(slashRegex, '/'); + url = uSplit.join(splitter); + + var rest = url; + + // trim before proceeding. + // This is to support parse stuff like " http://foo.com \n" + rest = rest.trim(); + + if (!slashesDenoteHost && url.split('#').length === 1) { + // Try fast path regexp + var simplePath = simplePathPattern.exec(rest); + if (simplePath) { + this.path = rest; + this.href = rest; + this.pathname = simplePath[1]; + if (simplePath[2]) { + this.search = simplePath[2]; + if (parseQueryString) { + this.query = querystring.parse(this.search.substr(1)); + } else { + this.query = this.search.substr(1); + } + } else if (parseQueryString) { + this.search = ''; + this.query = {}; + } + return this; + } + } + + var proto = protocolPattern.exec(rest); + if (proto) { + proto = proto[0]; + var lowerProto = proto.toLowerCase(); + this.protocol = lowerProto; + rest = rest.substr(proto.length); + } + + // figure out if it's got a host + // user@server is *always* interpreted as a hostname, and url + // resolution will treat //foo/bar as host=foo,path=bar because that's + // how the browser resolves relative URLs. + if (slashesDenoteHost || proto || rest.match(/^\/\/[^@\/]+@[^@\/]+/)) { + var slashes = rest.substr(0, 2) === '//'; + if (slashes && !(proto && hostlessProtocol[proto])) { + rest = rest.substr(2); + this.slashes = true; + } + } + + if (!hostlessProtocol[proto] && + (slashes || (proto && !slashedProtocol[proto]))) { + + // there's a hostname. + // the first instance of /, ?, ;, or # ends the host. + // + // If there is an @ in the hostname, then non-host chars *are* allowed + // to the left of the last @ sign, unless some host-ending character + // comes *before* the @-sign. + // URLs are obnoxious. + // + // ex: + // http://a@b@c/ => user:a@b host:c + // http://a@b?@c => user:a host:c path:/?@c + + // v0.12 TODO(isaacs): This is not quite how Chrome does things. + // Review our test case against browsers more comprehensively. + + // find the first instance of any hostEndingChars + var hostEnd = -1; + for (var i = 0; i < hostEndingChars.length; i++) { + var hec = rest.indexOf(hostEndingChars[i]); + if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) + hostEnd = hec; + } + + // at this point, either we have an explicit point where the + // auth portion cannot go past, or the last @ char is the decider. + var auth, atSign; + if (hostEnd === -1) { + // atSign can be anywhere. + atSign = rest.lastIndexOf('@'); + } else { + // atSign must be in auth portion. + // http://a@b/c@d => host:b auth:a path:/c@d + atSign = rest.lastIndexOf('@', hostEnd); + } + + // Now we have a portion which is definitely the auth. + // Pull that off. + if (atSign !== -1) { + auth = rest.slice(0, atSign); + rest = rest.slice(atSign + 1); + this.auth = decodeURIComponent(auth); + } + + // the host is the remaining to the left of the first non-host char + hostEnd = -1; + for (var i = 0; i < nonHostChars.length; i++) { + var hec = rest.indexOf(nonHostChars[i]); + if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) + hostEnd = hec; + } + // if we still have not hit it, then the entire thing is a host. + if (hostEnd === -1) + hostEnd = rest.length; + + this.host = rest.slice(0, hostEnd); + rest = rest.slice(hostEnd); + + // pull out port. + this.parseHost(); + + // we've indicated that there is a hostname, + // so even if it's empty, it has to be present. + this.hostname = this.hostname || ''; + + // if hostname begins with [ and ends with ] + // assume that it's an IPv6 address. + var ipv6Hostname = this.hostname[0] === '[' && + this.hostname[this.hostname.length - 1] === ']'; + + // validate a little. + if (!ipv6Hostname) { + var hostparts = this.hostname.split(/\./); + for (var i = 0, l = hostparts.length; i < l; i++) { + var part = hostparts[i]; + if (!part) continue; + if (!part.match(hostnamePartPattern)) { + var newpart = ''; + for (var j = 0, k = part.length; j < k; j++) { + if (part.charCodeAt(j) > 127) { + // we replace non-ASCII char with a temporary placeholder + // we need this to make sure size of hostname is not + // broken by replacing non-ASCII by nothing + newpart += 'x'; + } else { + newpart += part[j]; + } + } + // we test again with ASCII char only + if (!newpart.match(hostnamePartPattern)) { + var validParts = hostparts.slice(0, i); + var notHost = hostparts.slice(i + 1); + var bit = part.match(hostnamePartStart); + if (bit) { + validParts.push(bit[1]); + notHost.unshift(bit[2]); + } + if (notHost.length) { + rest = '/' + notHost.join('.') + rest; + } + this.hostname = validParts.join('.'); + break; + } + } + } + } + + if (this.hostname.length > hostnameMaxLen) { + this.hostname = ''; + } else { + // hostnames are always lower case. + this.hostname = this.hostname.toLowerCase(); + } + + if (!ipv6Hostname) { + // IDNA Support: Returns a punycoded representation of "domain". + // It only converts parts of the domain name that + // have non-ASCII characters, i.e. it doesn't matter if + // you call it with a domain that already is ASCII-only. + this.hostname = punycode.toASCII(this.hostname); + } + + var p = this.port ? ':' + this.port : ''; + var h = this.hostname || ''; + this.host = h + p; + this.href += this.host; + + // strip [ and ] from the hostname + // the host field still retains them, though + if (ipv6Hostname) { + this.hostname = this.hostname.substr(1, this.hostname.length - 2); + if (rest[0] !== '/') { + rest = '/' + rest; + } + } + } + + // now rest is set to the post-host stuff. + // chop off any delim chars. + if (!unsafeProtocol[lowerProto]) { + + // First, make 100% sure that any "autoEscape" chars get + // escaped, even if encodeURIComponent doesn't think they + // need to be. + for (var i = 0, l = autoEscape.length; i < l; i++) { + var ae = autoEscape[i]; + if (rest.indexOf(ae) === -1) + continue; + var esc = encodeURIComponent(ae); + if (esc === ae) { + esc = escape(ae); + } + rest = rest.split(ae).join(esc); + } + } + + + // chop off from the tail first. + var hash = rest.indexOf('#'); + if (hash !== -1) { + // got a fragment string. + this.hash = rest.substr(hash); + rest = rest.slice(0, hash); + } + var qm = rest.indexOf('?'); + if (qm !== -1) { + this.search = rest.substr(qm); + this.query = rest.substr(qm + 1); + if (parseQueryString) { + this.query = querystring.parse(this.query); + } + rest = rest.slice(0, qm); + } else if (parseQueryString) { + // no query string, but parseQueryString still requested + this.search = ''; + this.query = {}; + } + if (rest) this.pathname = rest; + if (slashedProtocol[lowerProto] && + this.hostname && !this.pathname) { + this.pathname = '/'; + } + + //to support http.request + if (this.pathname || this.search) { + var p = this.pathname || ''; + var s = this.search || ''; + this.path = p + s; + } + + // finally, reconstruct the href based on what has been validated. + this.href = this.format(); + return this; +}; + +// format a parsed object into a url string +function urlFormat(obj) { + // ensure it's an object, and not a string url. + // If it's an obj, this is a no-op. + // this way, you can call url_format() on strings + // to clean up potentially wonky urls. + if (util.isString(obj)) obj = urlParse(obj); + if (!(obj instanceof Url)) return Url.prototype.format.call(obj); + return obj.format(); +} + +Url.prototype.format = function() { + var auth = this.auth || ''; + if (auth) { + auth = encodeURIComponent(auth); + auth = auth.replace(/%3A/i, ':'); + auth += '@'; + } + + var protocol = this.protocol || '', + pathname = this.pathname || '', + hash = this.hash || '', + host = false, + query = ''; + + if (this.host) { + host = auth + this.host; + } else if (this.hostname) { + host = auth + (this.hostname.indexOf(':') === -1 ? + this.hostname : + '[' + this.hostname + ']'); + if (this.port) { + host += ':' + this.port; + } + } + + if (this.query && + util.isObject(this.query) && + Object.keys(this.query).length) { + query = querystring.stringify(this.query); + } + + var search = this.search || (query && ('?' + query)) || ''; + + if (protocol && protocol.substr(-1) !== ':') protocol += ':'; + + // only the slashedProtocols get the //. Not mailto:, xmpp:, etc. + // unless they had them to begin with. + if (this.slashes || + (!protocol || slashedProtocol[protocol]) && host !== false) { + host = '//' + (host || ''); + if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname; + } else if (!host) { + host = ''; + } + + if (hash && hash.charAt(0) !== '#') hash = '#' + hash; + if (search && search.charAt(0) !== '?') search = '?' + search; + + pathname = pathname.replace(/[?#]/g, function(match) { + return encodeURIComponent(match); + }); + search = search.replace('#', '%23'); + + return protocol + host + pathname + search + hash; +}; + +function urlResolve(source, relative) { + return urlParse(source, false, true).resolve(relative); +} + +Url.prototype.resolve = function(relative) { + return this.resolveObject(urlParse(relative, false, true)).format(); +}; + +function urlResolveObject(source, relative) { + if (!source) return relative; + return urlParse(source, false, true).resolveObject(relative); +} + +Url.prototype.resolveObject = function(relative) { + if (util.isString(relative)) { + var rel = new Url(); + rel.parse(relative, false, true); + relative = rel; + } + + var result = new Url(); + var tkeys = Object.keys(this); + for (var tk = 0; tk < tkeys.length; tk++) { + var tkey = tkeys[tk]; + result[tkey] = this[tkey]; + } + + // hash is always overridden, no matter what. + // even href="" will remove it. + result.hash = relative.hash; + + // if the relative url is empty, then there's nothing left to do here. + if (relative.href === '') { + result.href = result.format(); + return result; + } + + // hrefs like //foo/bar always cut to the protocol. + if (relative.slashes && !relative.protocol) { + // take everything except the protocol from relative + var rkeys = Object.keys(relative); + for (var rk = 0; rk < rkeys.length; rk++) { + var rkey = rkeys[rk]; + if (rkey !== 'protocol') + result[rkey] = relative[rkey]; + } + + //urlParse appends trailing / to urls like http://www.example.com + if (slashedProtocol[result.protocol] && + result.hostname && !result.pathname) { + result.path = result.pathname = '/'; + } + + result.href = result.format(); + return result; + } + + if (relative.protocol && relative.protocol !== result.protocol) { + // if it's a known url protocol, then changing + // the protocol does weird things + // first, if it's not file:, then we MUST have a host, + // and if there was a path + // to begin with, then we MUST have a path. + // if it is file:, then the host is dropped, + // because that's known to be hostless. + // anything else is assumed to be absolute. + if (!slashedProtocol[relative.protocol]) { + var keys = Object.keys(relative); + for (var v = 0; v < keys.length; v++) { + var k = keys[v]; + result[k] = relative[k]; + } + result.href = result.format(); + return result; + } + + result.protocol = relative.protocol; + if (!relative.host && !hostlessProtocol[relative.protocol]) { + var relPath = (relative.pathname || '').split('/'); + while (relPath.length && !(relative.host = relPath.shift())); + if (!relative.host) relative.host = ''; + if (!relative.hostname) relative.hostname = ''; + if (relPath[0] !== '') relPath.unshift(''); + if (relPath.length < 2) relPath.unshift(''); + result.pathname = relPath.join('/'); + } else { + result.pathname = relative.pathname; + } + result.search = relative.search; + result.query = relative.query; + result.host = relative.host || ''; + result.auth = relative.auth; + result.hostname = relative.hostname || relative.host; + result.port = relative.port; + // to support http.request + if (result.pathname || result.search) { + var p = result.pathname || ''; + var s = result.search || ''; + result.path = p + s; + } + result.slashes = result.slashes || relative.slashes; + result.href = result.format(); + return result; + } + + var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'), + isRelAbs = ( + relative.host || + relative.pathname && relative.pathname.charAt(0) === '/' + ), + mustEndAbs = (isRelAbs || isSourceAbs || + (result.host && relative.pathname)), + removeAllDots = mustEndAbs, + srcPath = result.pathname && result.pathname.split('/') || [], + relPath = relative.pathname && relative.pathname.split('/') || [], + psychotic = result.protocol && !slashedProtocol[result.protocol]; + + // if the url is a non-slashed url, then relative + // links like ../.. should be able + // to crawl up to the hostname, as well. This is strange. + // result.protocol has already been set by now. + // Later on, put the first path part into the host field. + if (psychotic) { + result.hostname = ''; + result.port = null; + if (result.host) { + if (srcPath[0] === '') srcPath[0] = result.host; + else srcPath.unshift(result.host); + } + result.host = ''; + if (relative.protocol) { + relative.hostname = null; + relative.port = null; + if (relative.host) { + if (relPath[0] === '') relPath[0] = relative.host; + else relPath.unshift(relative.host); + } + relative.host = null; + } + mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === ''); + } + + if (isRelAbs) { + // it's absolute. + result.host = (relative.host || relative.host === '') ? + relative.host : result.host; + result.hostname = (relative.hostname || relative.hostname === '') ? + relative.hostname : result.hostname; + result.search = relative.search; + result.query = relative.query; + srcPath = relPath; + // fall through to the dot-handling below. + } else if (relPath.length) { + // it's relative + // throw away the existing file, and take the new path instead. + if (!srcPath) srcPath = []; + srcPath.pop(); + srcPath = srcPath.concat(relPath); + result.search = relative.search; + result.query = relative.query; + } else if (!util.isNullOrUndefined(relative.search)) { + // just pull out the search. + // like href='?foo'. + // Put this after the other two cases because it simplifies the booleans + if (psychotic) { + result.hostname = result.host = srcPath.shift(); + //occationaly the auth can get stuck only in host + //this especially happens in cases like + //url.resolveObject('mailto:local1@domain1', 'local2@domain2') + var authInHost = result.host && result.host.indexOf('@') > 0 ? + result.host.split('@') : false; + if (authInHost) { + result.auth = authInHost.shift(); + result.host = result.hostname = authInHost.shift(); + } + } + result.search = relative.search; + result.query = relative.query; + //to support http.request + if (!util.isNull(result.pathname) || !util.isNull(result.search)) { + result.path = (result.pathname ? result.pathname : '') + + (result.search ? result.search : ''); + } + result.href = result.format(); + return result; + } + + if (!srcPath.length) { + // no path at all. easy. + // we've already handled the other stuff above. + result.pathname = null; + //to support http.request + if (result.search) { + result.path = '/' + result.search; + } else { + result.path = null; + } + result.href = result.format(); + return result; + } + + // if a url ENDs in . or .., then it must get a trailing slash. + // however, if it ends in anything else non-slashy, + // then it must NOT get a trailing slash. + var last = srcPath.slice(-1)[0]; + var hasTrailingSlash = ( + (result.host || relative.host || srcPath.length > 1) && + (last === '.' || last === '..') || last === ''); + + // strip single dots, resolve double dots to parent dir + // if the path tries to go above the root, `up` ends up > 0 + var up = 0; + for (var i = srcPath.length; i >= 0; i--) { + last = srcPath[i]; + if (last === '.') { + srcPath.splice(i, 1); + } else if (last === '..') { + srcPath.splice(i, 1); + up++; + } else if (up) { + srcPath.splice(i, 1); + up--; + } + } + + // if the path is allowed to go above the root, restore leading ..s + if (!mustEndAbs && !removeAllDots) { + for (; up--; up) { + srcPath.unshift('..'); + } + } + + if (mustEndAbs && srcPath[0] !== '' && + (!srcPath[0] || srcPath[0].charAt(0) !== '/')) { + srcPath.unshift(''); + } + + if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) { + srcPath.push(''); + } + + var isAbsolute = srcPath[0] === '' || + (srcPath[0] && srcPath[0].charAt(0) === '/'); + + // put the host back + if (psychotic) { + result.hostname = result.host = isAbsolute ? '' : + srcPath.length ? srcPath.shift() : ''; + //occationaly the auth can get stuck only in host + //this especially happens in cases like + //url.resolveObject('mailto:local1@domain1', 'local2@domain2') + var authInHost = result.host && result.host.indexOf('@') > 0 ? + result.host.split('@') : false; + if (authInHost) { + result.auth = authInHost.shift(); + result.host = result.hostname = authInHost.shift(); + } + } + + mustEndAbs = mustEndAbs || (result.host && srcPath.length); + + if (mustEndAbs && !isAbsolute) { + srcPath.unshift(''); + } + + if (!srcPath.length) { + result.pathname = null; + result.path = null; + } else { + result.pathname = srcPath.join('/'); + } + + //to support request.http + if (!util.isNull(result.pathname) || !util.isNull(result.search)) { + result.path = (result.pathname ? result.pathname : '') + + (result.search ? result.search : ''); + } + result.auth = relative.auth || result.auth; + result.slashes = result.slashes || relative.slashes; + result.href = result.format(); + return result; +}; + +Url.prototype.parseHost = function() { + var host = this.host; + var port = portPattern.exec(host); + if (port) { + port = port[0]; + if (port !== ':') { + this.port = port.substr(1); + } + host = host.substr(0, host.length - port.length); + } + if (host) this.hostname = host; +}; -(function() { module.exports = this["wp"]["blocks"]; }()); /***/ }), -/***/ 110: +/***/ 11: +/***/ (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); +} + +/***/ }), + +/***/ 113: +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +/** + * Copyright (c) 2013-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + + + +var ReactPropTypesSecret = __webpack_require__(114); + +function emptyFunction() {} +function emptyFunctionWithReset() {} +emptyFunctionWithReset.resetWarningCache = emptyFunction; + +module.exports = function() { + function shim(props, propName, componentName, location, propFullName, secret) { + if (secret === ReactPropTypesSecret) { + // It is still safe when called from React. + return; + } + var err = new Error( + 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' + + 'Use PropTypes.checkPropTypes() to call them. ' + + 'Read more at http://fb.me/use-check-prop-types' + ); + err.name = 'Invariant Violation'; + throw err; + }; + shim.isRequired = shim; + function getShim() { + return shim; + }; + // Important! + // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`. + var ReactPropTypes = { + array: shim, + bool: shim, + func: shim, + number: shim, + object: shim, + string: shim, + symbol: shim, + + any: shim, + arrayOf: getShim, + element: shim, + elementType: shim, + instanceOf: getShim, + node: shim, + objectOf: getShim, + oneOf: getShim, + oneOfType: getShim, + shape: getShim, + exact: getShim, + + checkPropTypes: emptyFunctionWithReset, + resetWarningCache: emptyFunction + }; + + ReactPropTypes.PropTypes = ReactPropTypes; + + return ReactPropTypes; +}; + + +/***/ }), + +/***/ 114: +/***/ (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; + + +/***/ }), + +/***/ 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; +} + +/***/ }), + +/***/ 121: +/***/ (function(module, exports) { + +function _inheritsLoose(subClass, superClass) { + subClass.prototype = Object.create(superClass.prototype); + subClass.prototype.constructor = subClass; + subClass.__proto__ = superClass; +} + +module.exports = _inheritsLoose; + +/***/ }), + +/***/ 122: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["wordcount"]; }()); + +/***/ }), + +/***/ 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"); + } +} + +/***/ }), + +/***/ 139: /***/ (function(module, exports) { if (typeof Object.create === 'function') { @@ -200,13 +1106,32 @@ if (typeof Object.create === 'function') { /***/ }), -/***/ 112: +/***/ 14: +/***/ (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__(32); +/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7); + + +function _possibleConstructorReturn(self, call) { + if (call && (Object(_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(call) === "object" || typeof call === "function")) { + return call; + } + + return Object(_assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(self); +} + +/***/ }), + +/***/ 144: /***/ (function(module, exports, __webpack_require__) { "use strict"; -var util = __webpack_require__(113); +var util = __webpack_require__(145); function scrollIntoView(elem, container, config) { config = config || {}; @@ -336,7 +1261,7 @@ module.exports = scrollIntoView; /***/ }), -/***/ 113: +/***/ 145: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -782,7 +1707,7 @@ module.exports = _extends({ /***/ }), -/***/ 114: +/***/ 146: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -816,9 +1741,9 @@ var __rest = (this && this.__rest) || function (s, e) { }; exports.__esModule = true; var React = __webpack_require__(21); -var PropTypes = __webpack_require__(28); -var autosize = __webpack_require__(115); -var _getLineHeight = __webpack_require__(116); +var PropTypes = __webpack_require__(25); +var autosize = __webpack_require__(147); +var _getLineHeight = __webpack_require__(148); var getLineHeight = _getLineHeight; var UPDATE = 'autosize:update'; var DESTROY = 'autosize:destroy'; @@ -911,7 +1836,7 @@ exports["default"] = TextareaAutosize; /***/ }), -/***/ 115: +/***/ 147: /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! @@ -1200,11 +2125,11 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_ /***/ }), -/***/ 116: +/***/ 148: /***/ (function(module, exports, __webpack_require__) { // Load in dependencies -var computedStyle = __webpack_require__(117); +var computedStyle = __webpack_require__(149); /** * Calculate the `line-height` of a given node @@ -1304,7 +2229,7 @@ module.exports = lineHeight; /***/ }), -/***/ 117: +/***/ 149: /***/ (function(module, exports) { // This code has been refactored for 140 bytes @@ -1338,7 +2263,21 @@ module.exports = computedStyle; /***/ }), -/***/ 118: +/***/ 15: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _getPrototypeOf; }); +function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); +} + +/***/ }), + +/***/ 150: /***/ (function(module, exports) { function _extends() { @@ -1363,7 +2302,7 @@ module.exports = _extends; /***/ }), -/***/ 119: +/***/ 151: /***/ (function(module, exports) { function _objectWithoutPropertiesLoose(source, excluded) { @@ -1385,32 +2324,7 @@ module.exports = _objectWithoutPropertiesLoose; /***/ }), -/***/ 12: -/***/ (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); -} - -/***/ }), - -/***/ 120: +/***/ 152: /***/ (function(module, exports) { function _assertThisInitialized(self) { @@ -1425,7 +2339,7 @@ module.exports = _assertThisInitialized; /***/ }), -/***/ 121: +/***/ 153: /***/ (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 */ @@ -1948,11 +2862,11 @@ module.exports = _assertThisInitialized; }(this)); -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(122)(module), __webpack_require__(63))) +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(154)(module), __webpack_require__(71))) /***/ }), -/***/ 122: +/***/ 154: /***/ (function(module, exports) { module.exports = function(module) { @@ -1981,7 +2895,7 @@ module.exports = function(module) { /***/ }), -/***/ 123: +/***/ 155: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -2005,19 +2919,19 @@ module.exports = { /***/ }), -/***/ 124: +/***/ 156: /***/ (function(module, exports, __webpack_require__) { "use strict"; -exports.decode = exports.parse = __webpack_require__(125); -exports.encode = exports.stringify = __webpack_require__(126); +exports.decode = exports.parse = __webpack_require__(157); +exports.encode = exports.stringify = __webpack_require__(158); /***/ }), -/***/ 125: +/***/ 157: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -2109,7 +3023,7 @@ var isArray = Array.isArray || function (xs) { /***/ }), -/***/ 126: +/***/ 158: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -2200,87 +3114,11 @@ 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) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); - } -} - -/***/ }), - -/***/ 144: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["tokenList"]; }()); - -/***/ }), - -/***/ 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__(32); -/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7); - - -function _possibleConstructorReturn(self, call) { - if (call && (Object(_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(call) === "object" || typeof call === "function")) { - return call; - } - - return Object(_assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(self); -} - /***/ }), /***/ 16: /***/ (function(module, __webpack_exports__, __webpack_require__) { -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _getPrototypeOf; }); -function _getPrototypeOf(o) { - _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { - return o.__proto__ || Object.getPrototypeOf(o); - }; - return _getPrototypeOf(o); -} - -/***/ }), - -/***/ 17: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - "use strict"; // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js @@ -2312,7 +3150,7 @@ function _inherits(subClass, superClass) { /***/ }), -/***/ 18: +/***/ 17: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -2328,7 +3166,7 @@ function _arrayWithoutHoles(arr) { } } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(31); +var iterableToArray = __webpack_require__(33); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js function _nonIterableSpread() { @@ -2343,28 +3181,65 @@ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || Object(iterableToArray["a" /* default */])(arr) || _nonIterableSpread(); } +/***/ }), + +/***/ 18: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["primitives"]; }()); + +/***/ }), + +/***/ 180: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["tokenList"]; }()); + +/***/ }), + +/***/ 186: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(19); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__); + + + +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + +/** + * WordPress dependencies + */ + + +function Icon(_ref) { + var icon = _ref.icon, + _ref$size = _ref.size, + size = _ref$size === void 0 ? 24 : _ref$size, + props = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_ref, ["icon", "size"]); + + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["cloneElement"])(icon, _objectSpread({ + width: size, + height: size + }, props)); +} + +/* harmony default export */ __webpack_exports__["a"] = (Icon); + + /***/ }), /***/ 19: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["keycodes"]; }()); - -/***/ }), - -/***/ 2: -/***/ (function(module, exports) { - -(function() { module.exports = this["lodash"]; }()); - -/***/ }), - -/***/ 20: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; }); -/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(40); +/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(41); function _objectWithoutProperties(source, excluded) { if (source == null) return {}; @@ -2387,6 +3262,20 @@ function _objectWithoutProperties(source, excluded) { /***/ }), +/***/ 2: +/***/ (function(module, exports) { + +(function() { module.exports = this["lodash"]; }()); + +/***/ }), + +/***/ 20: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["keycodes"]; }()); + +/***/ }), + /***/ 21: /***/ (function(module, exports) { @@ -2394,7 +3283,92 @@ function _objectWithoutProperties(source, excluded) { /***/ }), -/***/ 216: +/***/ 22: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +var arrayWithHoles = __webpack_require__(37); + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +function _iterableToArrayLimit(arr, i) { + if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { + return; + } + + var _arr = []; + var _n = true; + var _d = false; + var _e = undefined; + + try { + for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { + _arr.push(_s.value); + + if (i && _arr.length === i) break; + } + } catch (err) { + _d = true; + _e = err; + } finally { + try { + if (!_n && _i["return"] != null) _i["return"](); + } finally { + if (_d) throw _e; + } + } + + return _arr; +} +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +var nonIterableRest = __webpack_require__(38); + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); + + + +function _slicedToArray(arr, i) { + return Object(arrayWithHoles["a" /* default */])(arr) || _iterableToArrayLimit(arr, i) || Object(nonIterableRest["a" /* default */])(); +} + +/***/ }), + +/***/ 23: +/***/ (function(module, exports) { + +(function() { module.exports = this["regeneratorRuntime"]; }()); + +/***/ }), + +/***/ 24: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["richText"]; }()); + +/***/ }), + +/***/ 25: +/***/ (function(module, exports, __webpack_require__) { + +/** + * Copyright (c) 2013-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +if (false) { var throwOnDirectAccess, ReactIs; } else { + // By explicitly using `prop-types` you are opting into new production behavior. + // http://fb.me/prop-types-in-prod + module.exports = __webpack_require__(113)(); +} + + +/***/ }), + +/***/ 255: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -2425,7 +3399,7 @@ exports.default = multi; /***/ }), -/***/ 217: +/***/ 256: /***/ (function(module, exports, __webpack_require__) { /*! @@ -4268,7 +5242,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/***/ 218: +/***/ 257: /***/ (function(module, exports) { var traverse = module.exports = function (obj) { @@ -4589,73 +5563,7 @@ var hasOwnProperty = Object.hasOwnProperty || function (obj, key) { /***/ }), -/***/ 22: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -var arrayWithHoles = __webpack_require__(35); - -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js -function _iterableToArrayLimit(arr, i) { - if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { - return; - } - - var _arr = []; - var _n = true; - var _d = false; - var _e = undefined; - - try { - for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { - _arr.push(_s.value); - - if (i && _arr.length === i) break; - } - } catch (err) { - _d = true; - _e = err; - } finally { - try { - if (!_n && _i["return"] != null) _i["return"](); - } finally { - if (_d) throw _e; - } - } - - return _arr; -} -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js -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; }); - - - -function _slicedToArray(arr, i) { - return Object(arrayWithHoles["a" /* default */])(arr) || _iterableToArrayLimit(arr, i) || Object(nonIterableRest["a" /* default */])(); -} - -/***/ }), - -/***/ 23: -/***/ (function(module, exports) { - -(function() { module.exports = this["regeneratorRuntime"]; }()); - -/***/ }), - -/***/ 24: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["richText"]; }()); - -/***/ }), - -/***/ 25: +/***/ 26: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["url"]; }()); @@ -4669,21 +5577,152 @@ function _slicedToArray(arr, i) { /***/ }), -/***/ 28: -/***/ (function(module, exports, __webpack_require__) { +/***/ 275: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__); + /** - * Copyright (c) 2013-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * WordPress dependencies */ -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__(89)(); -} +var alignLeft = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "-2 -2 24 24" +}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], { + d: "M12 5V3H3v2h9zm5 4V7H3v2h14zm-5 4v-2H3v2h9zm5 4v-2H3v2h14z" +})); +/* harmony default export */ __webpack_exports__["a"] = (alignLeft); + + +/***/ }), + +/***/ 276: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__); + + +/** + * WordPress dependencies + */ + +var alignCenter = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "-2 -2 24 24" +}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], { + d: "M14 5V3H6v2h8zm3 4V7H3v2h14zm-3 4v-2H6v2h8zm3 4v-2H3v2h14z" +})); +/* harmony default export */ __webpack_exports__["a"] = (alignCenter); + + +/***/ }), + +/***/ 277: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__); + + +/** + * WordPress dependencies + */ + +var alignRight = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "-2 -2 24 24" +}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], { + d: "M17 5V3H8v2h9zm0 4V7H3v2h14zm0 4v-2H8v2h9zm0 4v-2H3v2h14z" +})); +/* harmony default export */ __webpack_exports__["a"] = (alignRight); + + +/***/ }), + +/***/ 278: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__); + + +/** + * WordPress dependencies + */ + +var plusCircle = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "-2 -2 24 24" +}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], { + d: "M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6zM10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z" +})); +/* harmony default export */ __webpack_exports__["a"] = (plusCircle); + + +/***/ }), + +/***/ 279: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__); + + +/** + * WordPress dependencies + */ + +var chevronUp = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], { + d: "M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z" +})); +/* harmony default export */ __webpack_exports__["a"] = (chevronUp); + + +/***/ }), + +/***/ 280: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__); + + +/** + * WordPress dependencies + */ + +var chevronDown = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], { + d: "M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z" +})); +/* harmony default export */ __webpack_exports__["a"] = (chevronDown); /***/ }), @@ -4702,23 +5741,14 @@ 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) { + "@babel/helpers - typeof"; + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; @@ -4735,13 +5765,24 @@ function _typeof(obj) { /***/ }), /***/ 33: +/***/ (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); +} + +/***/ }), + +/***/ 35: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["deprecated"]; }()); /***/ }), -/***/ 34: +/***/ 36: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -5023,7 +6064,7 @@ function isShallowEqual( a, b, fromIndex ) { /***/ }), -/***/ 35: +/***/ 37: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -5034,7 +6075,7 @@ function _arrayWithHoles(arr) { /***/ }), -/***/ 36: +/***/ 38: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -5045,7 +6086,43 @@ function _nonIterableRest() { /***/ }), -/***/ 363: +/***/ 39: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["blob"]; }()); + +/***/ }), + +/***/ 4: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["data"]; }()); + +/***/ }), + +/***/ 41: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; }); +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + return target; +} + +/***/ }), + +/***/ 411: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -5069,7 +6146,7 @@ __webpack_require__.d(actions_namespaceObject, "replaceBlocks", function() { ret __webpack_require__.d(actions_namespaceObject, "replaceBlock", function() { return replaceBlock; }); __webpack_require__.d(actions_namespaceObject, "moveBlocksDown", function() { return actions_moveBlocksDown; }); __webpack_require__.d(actions_namespaceObject, "moveBlocksUp", function() { return actions_moveBlocksUp; }); -__webpack_require__.d(actions_namespaceObject, "moveBlockToPosition", function() { return moveBlockToPosition; }); +__webpack_require__.d(actions_namespaceObject, "moveBlockToPosition", function() { return actions_moveBlockToPosition; }); __webpack_require__.d(actions_namespaceObject, "insertBlock", function() { return actions_insertBlock; }); __webpack_require__.d(actions_namespaceObject, "insertBlocks", function() { return actions_insertBlocks; }); __webpack_require__.d(actions_namespaceObject, "showInsertionPoint", function() { return actions_showInsertionPoint; }); @@ -5081,19 +6158,20 @@ __webpack_require__.d(actions_namespaceObject, "removeBlocks", function() { retu __webpack_require__.d(actions_namespaceObject, "removeBlock", function() { return actions_removeBlock; }); __webpack_require__.d(actions_namespaceObject, "replaceInnerBlocks", function() { return actions_replaceInnerBlocks; }); __webpack_require__.d(actions_namespaceObject, "toggleBlockMode", function() { return toggleBlockMode; }); -__webpack_require__.d(actions_namespaceObject, "startTyping", function() { return startTyping; }); -__webpack_require__.d(actions_namespaceObject, "stopTyping", function() { return stopTyping; }); +__webpack_require__.d(actions_namespaceObject, "startTyping", function() { return actions_startTyping; }); +__webpack_require__.d(actions_namespaceObject, "stopTyping", function() { return actions_stopTyping; }); __webpack_require__.d(actions_namespaceObject, "startDraggingBlocks", function() { return actions_startDraggingBlocks; }); __webpack_require__.d(actions_namespaceObject, "stopDraggingBlocks", function() { return actions_stopDraggingBlocks; }); -__webpack_require__.d(actions_namespaceObject, "enterFormattedText", function() { return enterFormattedText; }); -__webpack_require__.d(actions_namespaceObject, "exitFormattedText", function() { return exitFormattedText; }); -__webpack_require__.d(actions_namespaceObject, "selectionChange", function() { return selectionChange; }); +__webpack_require__.d(actions_namespaceObject, "enterFormattedText", function() { return actions_enterFormattedText; }); +__webpack_require__.d(actions_namespaceObject, "exitFormattedText", function() { return actions_exitFormattedText; }); +__webpack_require__.d(actions_namespaceObject, "selectionChange", function() { return actions_selectionChange; }); __webpack_require__.d(actions_namespaceObject, "insertDefaultBlock", function() { return actions_insertDefaultBlock; }); __webpack_require__.d(actions_namespaceObject, "updateBlockListSettings", function() { return updateBlockListSettings; }); __webpack_require__.d(actions_namespaceObject, "updateSettings", function() { return actions_updateSettings; }); __webpack_require__.d(actions_namespaceObject, "__unstableSaveReusableBlock", function() { return __unstableSaveReusableBlock; }); __webpack_require__.d(actions_namespaceObject, "__unstableMarkLastChangeAsPersistent", function() { return actions_unstableMarkLastChangeAsPersistent; }); -__webpack_require__.d(actions_namespaceObject, "__unstableMarkAutomaticChange", function() { return __unstableMarkAutomaticChange; }); +__webpack_require__.d(actions_namespaceObject, "__unstableMarkNextChangeAsNotPersistent", function() { return __unstableMarkNextChangeAsNotPersistent; }); +__webpack_require__.d(actions_namespaceObject, "__unstableMarkAutomaticChange", function() { return actions_unstableMarkAutomaticChange; }); __webpack_require__.d(actions_namespaceObject, "setNavigationMode", function() { return actions_setNavigationMode; }); __webpack_require__.d(actions_namespaceObject, "duplicateBlocks", function() { return actions_duplicateBlocks; }); __webpack_require__.d(actions_namespaceObject, "insertBeforeBlock", function() { return actions_insertBeforeBlock; }); @@ -5134,8 +6212,8 @@ __webpack_require__.d(selectors_namespaceObject, "getSelectedBlocksInitialCaretP __webpack_require__.d(selectors_namespaceObject, "getSelectedBlockClientIds", function() { return selectors_getSelectedBlockClientIds; }); __webpack_require__.d(selectors_namespaceObject, "getMultiSelectedBlockClientIds", function() { return getMultiSelectedBlockClientIds; }); __webpack_require__.d(selectors_namespaceObject, "getMultiSelectedBlocks", function() { return getMultiSelectedBlocks; }); -__webpack_require__.d(selectors_namespaceObject, "getFirstMultiSelectedBlockClientId", function() { return getFirstMultiSelectedBlockClientId; }); -__webpack_require__.d(selectors_namespaceObject, "getLastMultiSelectedBlockClientId", function() { return getLastMultiSelectedBlockClientId; }); +__webpack_require__.d(selectors_namespaceObject, "getFirstMultiSelectedBlockClientId", function() { return selectors_getFirstMultiSelectedBlockClientId; }); +__webpack_require__.d(selectors_namespaceObject, "getLastMultiSelectedBlockClientId", function() { return selectors_getLastMultiSelectedBlockClientId; }); __webpack_require__.d(selectors_namespaceObject, "isFirstMultiSelectedBlock", function() { return selectors_isFirstMultiSelectedBlock; }); __webpack_require__.d(selectors_namespaceObject, "isBlockMultiSelected", function() { return selectors_isBlockMultiSelected; }); __webpack_require__.d(selectors_namespaceObject, "isAncestorMultiSelected", function() { return selectors_isAncestorMultiSelected; }); @@ -5173,22 +6251,22 @@ __webpack_require__.d(selectors_namespaceObject, "isNavigationMode", function() __webpack_require__.d(selectors_namespaceObject, "didAutomaticChange", function() { return selectors_didAutomaticChange; }); // EXTERNAL MODULE: external {"this":["wp","blocks"]} -var external_this_wp_blocks_ = __webpack_require__(11); +var external_this_wp_blocks_ = __webpack_require__(9); // EXTERNAL MODULE: external {"this":["wp","richText"]} var external_this_wp_richText_ = __webpack_require__(24); // EXTERNAL MODULE: external {"this":["wp","viewport"]} -var external_this_wp_viewport_ = __webpack_require__(51); +var external_this_wp_viewport_ = __webpack_require__(54); // EXTERNAL MODULE: external {"this":["wp","keyboardShortcuts"]} -var external_this_wp_keyboardShortcuts_ = __webpack_require__(43); +var external_this_wp_keyboardShortcuts_ = __webpack_require__(46); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js -var objectSpread = __webpack_require__(6); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(5); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(12); +var esm_extends = __webpack_require__(11); // EXTERNAL MODULE: external {"this":["wp","element"]} var external_this_wp_element_ = __webpack_require__(0); @@ -5210,7 +6288,7 @@ var external_this_wp_hooks_ = __webpack_require__(29); var external_this_wp_data_ = __webpack_require__(4); // EXTERNAL MODULE: ./node_modules/tinycolor2/tinycolor.js -var tinycolor = __webpack_require__(49); +var tinycolor = __webpack_require__(52); var tinycolor_default = /*#__PURE__*/__webpack_require__.n(tinycolor); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors/utils.js @@ -5293,25 +6371,22 @@ function utils_getMostReadableColor(colors, colorValue) { } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js -var classCallCheck = __webpack_require__(14); +var classCallCheck = __webpack_require__(13); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(13); +var createClass = __webpack_require__(12); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js -var possibleConstructorReturn = __webpack_require__(15); +var possibleConstructorReturn = __webpack_require__(14); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js -var getPrototypeOf = __webpack_require__(16); +var getPrototypeOf = __webpack_require__(15); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js var assertThisInitialized = __webpack_require__(7); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules -var inherits = __webpack_require__(17); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(9); +var inherits = __webpack_require__(16); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors/with-colors.js @@ -5324,6 +6399,9 @@ var defineProperty = __webpack_require__(9); +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -5389,7 +6467,7 @@ var with_colors_withEditorColorPalette = function withEditorColorPalette() { function createColorHOC(colorTypes, withColorPalette) { var colorMap = Object(external_this_lodash_["reduce"])(colorTypes, function (colorObject, colorType) { - return Object(objectSpread["a" /* default */])({}, colorObject, Object(external_this_lodash_["isString"])(colorType) ? Object(defineProperty["a" /* default */])({}, colorType, Object(external_this_lodash_["kebabCase"])(colorType)) : colorType); + return _objectSpread({}, colorObject, {}, Object(external_this_lodash_["isString"])(colorType) ? Object(defineProperty["a" /* default */])({}, colorType, Object(external_this_lodash_["kebabCase"])(colorType)) : colorType); }, {}); return Object(external_this_wp_compose_["compose"])([withColorPalette, function (WrappedComponent) { return ( @@ -5445,9 +6523,9 @@ function createColorHOC(colorTypes, withColorPalette) { }, { key: "render", value: function render() { - return Object(external_this_wp_element_["createElement"])(WrappedComponent, Object(objectSpread["a" /* default */])({}, this.props, { + return Object(external_this_wp_element_["createElement"])(WrappedComponent, _objectSpread({}, this.props, { colors: undefined - }, this.state, this.setters, { + }, this.state, {}, this.setters, { colorUtils: this.colorUtils })); } @@ -5469,7 +6547,7 @@ function createColorHOC(colorTypes, withColorPalette) { if (previousColor === colorObject.color && previousColorObject) { newState[colorAttributeName] = previousColorObject; } else { - newState[colorAttributeName] = Object(objectSpread["a" /* default */])({}, colorObject, { + newState[colorAttributeName] = _objectSpread({}, colorObject, { class: getColorClassName(colorContext, colorObject.slug) }); } @@ -5555,13 +6633,16 @@ function withColors() { } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(18); +var toConsumableArray = __webpack_require__(17); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(22); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(20); +var objectWithoutProperties = __webpack_require__(19); // EXTERNAL MODULE: ./node_modules/memize/index.js -var memize = __webpack_require__(42); +var memize = __webpack_require__(44); var memize_default = /*#__PURE__*/__webpack_require__.n(memize); // EXTERNAL MODULE: external {"this":["wp","i18n"]} @@ -5570,9 +6651,6 @@ var external_this_wp_i18n_ = __webpack_require__(1); // EXTERNAL MODULE: external {"this":["wp","components"]} var external_this_wp_components_ = __webpack_require__(3); -// 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/components/block-edit/edit.js @@ -5868,6 +6946,10 @@ function __experimentalUseGradient() { +function control_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function control_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { control_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { control_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -5951,12 +7033,12 @@ function ColorGradientControlInner(_ref2) { 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, { + }, Object(external_this_wp_element_["createElement"])("fieldset", null, Object(external_this_wp_element_["createElement"])("legend", null, 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"], { + }))), 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, @@ -5972,7 +7054,7 @@ function ColorGradientControlInner(_ref2) { 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 */])({ + }, Object(external_this_wp_i18n_["__"])('Gradient'))), (currentTab === 'color' || !canChooseAGradient) && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ColorPalette"], Object(esm_extends["a" /* default */])({ value: colorValue, onChange: canChooseAGradient ? function (newColor) { onColorChange(newColor); @@ -5981,7 +7063,7 @@ function ColorGradientControlInner(_ref2) { }, { colors: colors, disableCustomColors: disableCustomColors - })), currentTab === 'gradient' && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["__experimentalGradientPicker"], Object(esm_extends["a" /* default */])({ + })), (currentTab === 'gradient' || !canChooseAColor) && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["__experimentalGradientPicker"], Object(esm_extends["a" /* default */])({ value: gradientValue, onChange: canChooseAColor ? function (newGradient) { onGradientChange(newGradient); @@ -5990,7 +7072,7 @@ function ColorGradientControlInner(_ref2) { }, { gradients: gradients, disableCustomGradients: disableCustomGradients - }))); + })))); } function ColorGradientControlSelect(props) { @@ -5998,7 +7080,7 @@ function ColorGradientControlSelect(props) { 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)); + return Object(external_this_wp_element_["createElement"])(ColorGradientControlInner, control_objectSpread({}, colorGradientSettings, {}, props)); } function ColorGradientControl(props) { @@ -6011,7 +7093,7 @@ function ColorGradientControl(props) { return Object(external_this_wp_element_["createElement"])(ColorGradientControlSelect, props); } -/* harmony default export */ var colors_gradients_control = (ColorGradientControl); +/* harmony default export */ var control = (ColorGradientControl); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors-gradients/panel-color-gradient-settings.js @@ -6019,6 +7101,10 @@ function ColorGradientControl(props) { +function panel_color_gradient_settings_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function panel_color_gradient_settings_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { panel_color_gradient_settings_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { panel_color_gradient_settings_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -6108,9 +7194,9 @@ var panel_color_gradient_settings_PanelColorGradientSettingsInner = function Pan 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 */])({ + return Object(external_this_wp_element_["createElement"])(control, Object(esm_extends["a" /* default */])({ key: index - }, Object(objectSpread["a" /* default */])({ + }, panel_color_gradient_settings_objectSpread({ colors: colors, gradients: gradients, disableCustomColors: disableCustomColors, @@ -6124,7 +7210,7 @@ var panel_color_gradient_settings_PanelColorGradientSettingsSelect = function Pa 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)); + return Object(external_this_wp_element_["createElement"])(panel_color_gradient_settings_PanelColorGradientSettingsInner, panel_color_gradient_settings_objectSpread({}, colorGradientSettings, {}, props)); }; var panel_color_gradient_settings_PanelColorGradientSettings = function PanelColorGradientSettings(props) { @@ -6145,6 +7231,10 @@ var panel_color_gradient_settings_PanelColorGradientSettings = function PanelCol +function panel_color_settings_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function panel_color_settings_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { panel_color_settings_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { panel_color_settings_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * Internal dependencies */ @@ -6159,7 +7249,7 @@ var panel_color_settings_PanelColorSettings = function PanelColorSettings(_ref) onChange = _ref2.onChange, otherSettings = Object(objectWithoutProperties["a" /* default */])(_ref2, ["value", "onChange"]); - return Object(objectSpread["a" /* default */])({}, otherSettings, { + return panel_color_settings_objectSpread({}, otherSettings, { colorValue: value, onColorChange: onChange }); @@ -6174,7 +7264,7 @@ var panel_color_settings_PanelColorSettings = function PanelColorSettings(_ref) /* 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); +var external_this_wp_a11y_ = __webpack_require__(48); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/contrast-checker/index.js @@ -6273,6 +7363,10 @@ InspectorControls.Slot = Slot; +function use_colors_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function use_colors_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { use_colors_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { use_colors_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -6286,7 +7380,6 @@ InspectorControls.Slot = Slot; - /** * Internal dependencies */ @@ -6319,20 +7412,21 @@ var use_colors_ColorPanel = function ColorPanel(_ref) { colorSettings = _ref.colorSettings, colorPanelProps = _ref.colorPanelProps, contrastCheckers = _ref.contrastCheckers, - detectedBackgroundColorRef = _ref.detectedBackgroundColorRef, - detectedColorRef = _ref.detectedColorRef, - panelChildren = _ref.panelChildren; + detectedBackgroundColor = _ref.detectedBackgroundColor, + detectedColor = _ref.detectedColor, + panelChildren = _ref.panelChildren, + initialOpen = _ref.initialOpen; return Object(external_this_wp_element_["createElement"])(panel_color_settings, Object(esm_extends["a" /* default */])({ title: title, - initialOpen: false, + initialOpen: initialOpen, colorSettings: Object.values(colorSettings) }, colorPanelProps), contrastCheckers && (Array.isArray(contrastCheckers) ? contrastCheckers.map(function (_ref2) { var backgroundColor = _ref2.backgroundColor, textColor = _ref2.textColor, rest = Object(objectWithoutProperties["a" /* default */])(_ref2, ["backgroundColor", "textColor"]); - backgroundColor = resolveContrastCheckerColor(backgroundColor, colorSettings, detectedBackgroundColorRef.current); - textColor = resolveContrastCheckerColor(textColor, colorSettings, detectedColorRef.current); + backgroundColor = resolveContrastCheckerColor(backgroundColor, colorSettings, detectedBackgroundColor); + textColor = resolveContrastCheckerColor(textColor, colorSettings, detectedColor); return Object(external_this_wp_element_["createElement"])(contrast_checker, Object(esm_extends["a" /* default */])({ key: "".concat(backgroundColor, "-").concat(textColor), backgroundColor: backgroundColor, @@ -6342,8 +7436,8 @@ var use_colors_ColorPanel = function ColorPanel(_ref) { var value = _ref3.value; var backgroundColor = contrastCheckers.backgroundColor, textColor = contrastCheckers.textColor; - backgroundColor = resolveContrastCheckerColor(backgroundColor || value, colorSettings, detectedBackgroundColorRef.current); - textColor = resolveContrastCheckerColor(textColor || value, colorSettings, detectedColorRef.current); + backgroundColor = resolveContrastCheckerColor(backgroundColor || value, colorSettings, detectedBackgroundColor); + textColor = resolveContrastCheckerColor(textColor || value, colorSettings, detectedColor); return Object(external_this_wp_element_["createElement"])(contrast_checker, Object(esm_extends["a" /* default */])({}, contrastCheckers, { key: "".concat(backgroundColor, "-").concat(textColor), backgroundColor: backgroundColor, @@ -6358,14 +7452,21 @@ var use_colors_InspectorControlsColorPanel = function InspectorControlsColorPane function __experimentalUseColors(colorConfigs) { var _ref4 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { - panelTitle: Object(external_this_wp_i18n_["__"])('Color Settings') + panelTitle: Object(external_this_wp_i18n_["__"])('Color settings') }, _ref4$panelTitle = _ref4.panelTitle, - panelTitle = _ref4$panelTitle === void 0 ? Object(external_this_wp_i18n_["__"])('Color Settings') : _ref4$panelTitle, + panelTitle = _ref4$panelTitle === void 0 ? Object(external_this_wp_i18n_["__"])('Color settings') : _ref4$panelTitle, colorPanelProps = _ref4.colorPanelProps, contrastCheckers = _ref4.contrastCheckers, - panelChildren = _ref4.panelChildren; + panelChildren = _ref4.panelChildren, + _ref4$colorDetector = _ref4.colorDetector; + _ref4$colorDetector = _ref4$colorDetector === void 0 ? {} : _ref4$colorDetector; + var targetRef = _ref4$colorDetector.targetRef, + _ref4$colorDetector$b = _ref4$colorDetector.backgroundColorTargetRef, + backgroundColorTargetRef = _ref4$colorDetector$b === void 0 ? targetRef : _ref4$colorDetector$b, + _ref4$colorDetector$t = _ref4$colorDetector.textColorTargetRef, + textColorTargetRef = _ref4$colorDetector$t === void 0 ? targetRef : _ref4$colorDetector$t; var deps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; var _useBlockEditContext = useBlockEditContext(), @@ -6414,7 +7515,7 @@ function __experimentalUseColors(colorConfigs) { return Object(external_this_wp_element_["cloneElement"])(child, { className: classnames_default()(componentClassName, child.props.className, (_classnames = {}, Object(defineProperty["a" /* default */])(_classnames, "has-".concat(Object(external_this_lodash_["kebabCase"])(color), "-").concat(Object(external_this_lodash_["kebabCase"])(property)), color), Object(defineProperty["a" /* default */])(_classnames, className || "has-".concat(Object(external_this_lodash_["kebabCase"])(name)), color || customColor), _classnames)), - style: Object(objectSpread["a" /* default */])({}, colorStyle, componentStyle, child.props.style || {}) + style: use_colors_objectSpread({}, colorStyle, {}, componentStyle, {}, child.props.style || {}) }); }) ); @@ -6436,9 +7537,18 @@ function __experimentalUseColors(colorConfigs) { maxSize: colorConfigs.length }); }, [setAttributes, colorConfigs.length]); - var detectedBackgroundColorRef = Object(external_this_wp_element_["useRef"])(); - var detectedColorRef = Object(external_this_wp_element_["useRef"])(); - var ColorDetector = Object(external_this_wp_element_["useMemo"])(function () { + + var _useState = Object(external_this_wp_element_["useState"])(), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + detectedBackgroundColor = _useState2[0], + setDetectedBackgroundColor = _useState2[1]; + + var _useState3 = Object(external_this_wp_element_["useState"])(), + _useState4 = Object(slicedToArray["a" /* default */])(_useState3, 2), + detectedColor = _useState4[0], + setDetectedColor = _useState4[1]; + + Object(external_this_wp_element_["useEffect"])(function () { if (!contrastCheckers) { return undefined; } @@ -6451,12 +7561,12 @@ function __experimentalUseColors(colorConfigs) { try { for (var _iterator = Object(external_this_lodash_["castArray"])(contrastCheckers)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) { - var _ref8 = _step.value; - var backgroundColor = _ref8.backgroundColor, - textColor = _ref8.textColor; + var _step$value = _step.value, + _backgroundColor = _step$value.backgroundColor, + textColor = _step$value.textColor; if (!needsBackgroundColor) { - needsBackgroundColor = backgroundColor === true; + needsBackgroundColor = _backgroundColor === true; } if (!needsColor) { @@ -6482,44 +7592,21 @@ function __experimentalUseColors(colorConfigs) { } } - return (needsBackgroundColor || needsColor) && Object(external_this_wp_components_["withFallbackStyles"])(function (node, _ref7) { - var querySelector = _ref7.querySelector, - _ref7$backgroundColor = _ref7.backgroundColorSelector, - backgroundColorSelector = _ref7$backgroundColor === void 0 ? querySelector : _ref7$backgroundColor, - _ref7$textColorSelect = _ref7.textColorSelector, - textColorSelector = _ref7$textColorSelect === void 0 ? querySelector : _ref7$textColorSelect; - var backgroundColorNode = node; - var textColorNode = node; + if (needsColor) { + setDetectedColor(getComputedStyle(textColorTargetRef.current).color); + } - if (backgroundColorSelector) { - backgroundColorNode = node.parentNode.querySelector(backgroundColorSelector); - } + if (needsBackgroundColor) { + var backgroundColorNode = backgroundColorTargetRef.current; + var backgroundColor = getComputedStyle(backgroundColorNode).backgroundColor; - if (textColorSelector) { - textColorNode = node.parentNode.querySelector(textColorSelector); - } - - var backgroundColor; - var color = getComputedStyle(textColorNode).color; - - if (needsBackgroundColor) { + while (backgroundColor === 'rgba(0, 0, 0, 0)' && backgroundColorNode.parentNode && backgroundColorNode.parentNode.nodeType === Node.ELEMENT_NODE) { + backgroundColorNode = backgroundColorNode.parentNode; backgroundColor = getComputedStyle(backgroundColorNode).backgroundColor; - - while (backgroundColor === 'rgba(0, 0, 0, 0)' && backgroundColorNode.parentNode && backgroundColorNode.parentNode === Node.ELEMENT_NODE) { - backgroundColorNode = backgroundColorNode.parentNode; - backgroundColor = getComputedStyle(backgroundColorNode).backgroundColor; - } } - detectedBackgroundColorRef.current = backgroundColor; - detectedColorRef.current = color; - return { - backgroundColor: backgroundColor, - color: color - }; - })(function () { - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null); - }); + setDetectedBackgroundColor(backgroundColor); + } }, [colorConfigs.reduce(function (acc, colorConfig) { return "".concat(acc, " | ").concat(attributes[colorConfig.name], " | ").concat(attributes[Object(external_this_lodash_["camelCase"])("custom ".concat(colorConfig.name))]); }, '')].concat(Object(toConsumableArray["a" /* default */])(deps))); @@ -6532,7 +7619,7 @@ function __experimentalUseColors(colorConfigs) { }; } - var _colorConfig$color = Object(objectSpread["a" /* default */])({}, colorConfig, { + var _colorConfig$color = use_colors_objectSpread({}, colorConfig, { color: attributes[colorConfig.name] }), name = _colorConfig$color.name, @@ -6578,19 +7665,19 @@ function __experimentalUseColors(colorConfigs) { }, {}); var wrappedColorPanelProps = { title: panelTitle, + initialOpen: false, colorSettings: colorSettings, colorPanelProps: colorPanelProps, contrastCheckers: contrastCheckers, - detectedBackgroundColorRef: detectedBackgroundColorRef, - detectedColorRef: detectedColorRef, + detectedBackgroundColor: detectedBackgroundColor, + detectedColor: detectedColor, panelChildren: panelChildren }; - return Object(objectSpread["a" /* default */])({}, components, { + return use_colors_objectSpread({}, components, { ColorPanel: Object(external_this_wp_element_["createElement"])(use_colors_ColorPanel, wrappedColorPanelProps), - InspectorControlsColorPanel: Object(external_this_wp_element_["createElement"])(use_colors_InspectorControlsColorPanel, wrappedColorPanelProps), - ColorDetector: ColorDetector + InspectorControlsColorPanel: Object(external_this_wp_element_["createElement"])(use_colors_InspectorControlsColorPanel, wrappedColorPanelProps) }); - }, [attributes, setAttributes].concat(Object(toConsumableArray["a" /* default */])(deps))); + }, [attributes, setAttributes, detectedColor, detectedBackgroundColor].concat(Object(toConsumableArray["a" /* default */])(deps))); } // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors/index.js @@ -6673,6 +7760,9 @@ function getFontSizeClass(fontSizeSlug) { +function with_font_sizes_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function with_font_sizes_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { with_font_sizes_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { with_font_sizes_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -6707,10 +7797,10 @@ function getFontSizeClass(fontSizeSlug) { } /* - * Computes an object whose key is the font size attribute name as passed in the array, - * and the value is the custom font size attribute name. - * Custom font size is automatically compted by appending custom followed by the font size attribute name in with the first letter capitalized. - */ + * Computes an object whose key is the font size attribute name as passed in the array, + * and the value is the custom font size attribute name. + * Custom font size is automatically compted by appending custom followed by the font size attribute name in with the first letter capitalized. + */ var fontSizeAttributeNames = Object(external_this_lodash_["reduce"])(fontSizeNames, function (fontSizeAttributeNamesAccumulator, fontSizeAttributeName) { fontSizeAttributeNamesAccumulator[fontSizeAttributeName] = "custom".concat(Object(external_this_lodash_["upperFirst"])(fontSizeAttributeName)); return fontSizeAttributeNamesAccumulator; @@ -6768,9 +7858,9 @@ function getFontSizeClass(fontSizeSlug) { }, { key: "render", value: function render() { - return Object(external_this_wp_element_["createElement"])(WrappedComponent, Object(objectSpread["a" /* default */])({}, this.props, { + return Object(external_this_wp_element_["createElement"])(WrappedComponent, with_font_sizes_objectSpread({}, this.props, { fontSizes: undefined - }, this.state, this.setters)); + }, this.state, {}, this.setters)); } }], [{ key: "getDerivedStateFromProps", @@ -6800,12 +7890,12 @@ function getFontSizeClass(fontSizeSlug) { var newState = Object(external_this_lodash_["reduce"])(Object(external_this_lodash_["pickBy"])(fontSizeAttributeNames, didAttributesChange), function (newStateAccumulator, customFontSizeAttributeName, fontSizeAttributeName) { var fontSizeAttributeValue = attributes[fontSizeAttributeName]; var fontSizeObject = utils_getFontSize(fontSizes, fontSizeAttributeValue, attributes[customFontSizeAttributeName]); - newStateAccumulator[fontSizeAttributeName] = Object(objectSpread["a" /* default */])({}, fontSizeObject, { + newStateAccumulator[fontSizeAttributeName] = with_font_sizes_objectSpread({}, fontSizeObject, { class: getFontSizeClass(fontSizeAttributeValue) }); return newStateAccumulator; }, {}); - return Object(objectSpread["a" /* default */])({}, previousState, newState); + return with_font_sizes_objectSpread({}, previousState, {}, newState); } }]); @@ -6820,10 +7910,23 @@ function getFontSizeClass(fontSizeSlug) { +// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/align-left.js +var align_left = __webpack_require__(275); + +// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/align-center.js +var align_center = __webpack_require__(276); + +// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/align-right.js +var align_right = __webpack_require__(277); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/alignment-toolbar/index.js +function alignment_toolbar_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function alignment_toolbar_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { alignment_toolbar_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { alignment_toolbar_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -6834,16 +7937,17 @@ function getFontSizeClass(fontSizeSlug) { + var DEFAULT_ALIGNMENT_CONTROLS = [{ - icon: 'editor-alignleft', + icon: align_left["a" /* default */], title: Object(external_this_wp_i18n_["__"])('Align text left'), align: 'left' }, { - icon: 'editor-aligncenter', + icon: align_center["a" /* default */], title: Object(external_this_wp_i18n_["__"])('Align text center'), align: 'center' }, { - icon: 'editor-alignright', + icon: align_right["a" /* default */], title: Object(external_this_wp_i18n_["__"])('Align text right'), align: 'right' }]; @@ -6873,7 +7977,7 @@ function AlignmentToolbar(props) { controls: alignmentControls.map(function (control) { var align = control.align; var isActive = value === align; - return Object(objectSpread["a" /* default */])({}, control, { + return alignment_toolbar_objectSpread({}, control, { isActive: isActive, role: isCollapsed ? 'menuitemradio' : undefined, onClick: applyOrUnset(align) @@ -6939,14 +8043,97 @@ function withFilteredAutocompleters(Autocomplete) { }; }), withFilteredAutocompleters])(external_this_wp_components_["Autocomplete"])); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-alignment-toolbar/index.js +// EXTERNAL MODULE: external {"this":["wp","primitives"]} +var external_this_wp_primitives_ = __webpack_require__(18); +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/position-left.js /** * WordPress dependencies */ +var positionLeft = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "-2 -2 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], { + d: "M3 5h14V3H3v2zm9 8V7H3v6h9zm2-4h3V7h-3v2zm0 4h3v-2h-3v2zM3 17h14v-2H3v2z" +})); +/* harmony default export */ var position_left = (positionLeft); + +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/position-center.js + + +/** + * WordPress dependencies + */ + +var positionCenter = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "-2 -2 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], { + d: "M3 5h14V3H3v2zm12 8V7H5v6h10zM3 17h14v-2H3v2z" +})); +/* harmony default export */ var position_center = (positionCenter); + +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/position-right.js + + +/** + * WordPress dependencies + */ + +var positionRight = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "-2 -2 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], { + d: "M3 5h14V3H3v2zm0 4h3V7H3v2zm14 4V7H8v6h9zM3 13h3v-2H3v2zm0 4h14v-2H3v2z" +})); +/* harmony default export */ var position_right = (positionRight); + +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/stretch-wide.js + + +/** + * WordPress dependencies + */ + +var stretchWide = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "-2 -2 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], { + d: "M5 5h10V3H5v2zm12 8V7H3v6h14zM5 17h10v-2H5v2z" +})); +/* harmony default export */ var stretch_wide = (stretchWide); + +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/stretch-full-width.js + + +/** + * WordPress dependencies + */ + +var stretchFullWidth = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "-2 -2 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], { + d: "M17 13V3H3v10h14zM5 17h10v-2H5v2z" +})); +/* harmony default export */ var stretch_full_width = (stretchFullWidth); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-alignment-toolbar/index.js + + + +function block_alignment_toolbar_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function block_alignment_toolbar_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { block_alignment_toolbar_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { block_alignment_toolbar_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + +/** + * WordPress dependencies + */ + + @@ -6957,23 +8144,23 @@ function withFilteredAutocompleters(Autocomplete) { var BLOCK_ALIGNMENTS_CONTROLS = { left: { - icon: 'align-left', + icon: position_left, title: Object(external_this_wp_i18n_["__"])('Align left') }, center: { - icon: 'align-center', + icon: position_center, title: Object(external_this_wp_i18n_["__"])('Align center') }, right: { - icon: 'align-right', + icon: position_right, title: Object(external_this_wp_i18n_["__"])('Align right') }, wide: { - icon: 'align-wide', + icon: stretch_wide, title: Object(external_this_wp_i18n_["__"])('Wide width') }, full: { - icon: 'align-full-width', + icon: stretch_full_width, title: Object(external_this_wp_i18n_["__"])('Full width') } }; @@ -7006,7 +8193,7 @@ function BlockAlignmentToolbar(_ref) { icon: activeAlignmentControl ? activeAlignmentControl.icon : defaultAlignmentControl.icon, label: Object(external_this_wp_i18n_["__"])('Change alignment'), controls: enabledControls.map(function (control) { - return Object(objectSpread["a" /* default */])({}, BLOCK_ALIGNMENTS_CONTROLS[control], { + return block_alignment_toolbar_objectSpread({}, BLOCK_ALIGNMENTS_CONTROLS[control], { isActive: value === control, role: isCollapsed ? 'menuitemradio' : undefined, onClick: applyOrUnset(control) @@ -7253,229 +8440,21 @@ function BlockIcon(_ref) { }, renderedIcon); } -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-drop-zone/index.js +// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js +var build_module_icon = __webpack_require__(186); - - - - - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - - - - - -var parseDropEvent = function parseDropEvent(event) { - var result = { - srcRootClientId: null, - srcClientId: null, - srcIndex: null, - type: null - }; - - if (!event.dataTransfer) { - return result; - } - - try { - result = Object.assign(result, JSON.parse(event.dataTransfer.getData('text'))); - } catch (err) { - return result; - } - - return result; -}; - -var block_drop_zone_BlockDropZone = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(BlockDropZone, _Component); - - function BlockDropZone() { - var _this; - - Object(classCallCheck["a" /* default */])(this, BlockDropZone); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(BlockDropZone).apply(this, arguments)); - _this.onFilesDrop = _this.onFilesDrop.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.onHTMLDrop = _this.onHTMLDrop.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.onDrop = _this.onDrop.bind(Object(assertThisInitialized["a" /* default */])(_this)); - return _this; - } - - Object(createClass["a" /* default */])(BlockDropZone, [{ - key: "getInsertIndex", - value: function getInsertIndex(position) { - var _this$props = this.props, - clientId = _this$props.clientId, - rootClientId = _this$props.rootClientId, - getBlockIndex = _this$props.getBlockIndex; - - if (clientId !== undefined) { - var index = getBlockIndex(clientId, rootClientId); - return position && position.y === 'top' ? index : index + 1; - } - } - }, { - key: "onFilesDrop", - value: function onFilesDrop(files, position) { - if (!this.props.hasUploadPermissions) { - return; - } - - var transformation = Object(external_this_wp_blocks_["findTransform"])(Object(external_this_wp_blocks_["getBlockTransforms"])('from'), function (transform) { - return transform.type === 'files' && transform.isMatch(files); - }); - - if (transformation) { - var insertIndex = this.getInsertIndex(position); - var blocks = transformation.transform(files, this.props.updateBlockAttributes); - this.props.insertBlocks(blocks, insertIndex); - } - } - }, { - key: "onHTMLDrop", - value: function onHTMLDrop(HTML, position) { - var blocks = Object(external_this_wp_blocks_["pasteHandler"])({ - HTML: HTML, - mode: 'BLOCKS' - }); - - if (blocks.length) { - this.props.insertBlocks(blocks, this.getInsertIndex(position)); - } - } - }, { - key: "onDrop", - value: function onDrop(event, position) { - var _this$props2 = this.props, - dstRootClientId = _this$props2.rootClientId, - dstClientId = _this$props2.clientId, - getClientIdsOfDescendants = _this$props2.getClientIdsOfDescendants, - getBlockIndex = _this$props2.getBlockIndex; - - var _parseDropEvent = parseDropEvent(event), - srcRootClientId = _parseDropEvent.srcRootClientId, - srcClientId = _parseDropEvent.srcClientId, - srcIndex = _parseDropEvent.srcIndex, - type = _parseDropEvent.type; - - var isBlockDropType = function isBlockDropType(dropType) { - return dropType === 'block'; - }; - - var isSameLevel = function isSameLevel(srcRoot, dstRoot) { - // Note that rootClientId of top-level blocks will be undefined OR a void string, - // so we also need to account for that case separately. - return srcRoot === dstRoot || !srcRoot === true && !dstRoot === true; - }; - - var isSameBlock = function isSameBlock(src, dst) { - return src === dst; - }; - - var isSrcBlockAnAncestorOfDstBlock = function isSrcBlockAnAncestorOfDstBlock(src, dst) { - return getClientIdsOfDescendants([src]).some(function (id) { - return id === dst; - }); - }; - - if (!isBlockDropType(type) || isSameBlock(srcClientId, dstClientId) || isSrcBlockAnAncestorOfDstBlock(srcClientId, dstClientId || dstRootClientId)) { - return; - } - - var dstIndex = dstClientId ? getBlockIndex(dstClientId, dstRootClientId) : undefined; - var positionIndex = this.getInsertIndex(position); // If the block is kept at the same level and moved downwards, - // subtract to account for blocks shifting upward to occupy its old position. - - var insertIndex = dstIndex && srcIndex < dstIndex && isSameLevel(srcRootClientId, dstRootClientId) ? positionIndex - 1 : positionIndex; - this.props.moveBlockToPosition(srcClientId, srcRootClientId, insertIndex); - } - }, { - key: "render", - value: function render() { - var _this$props3 = this.props, - hasUploadPermissions = _this$props3.hasUploadPermissions, - isLockedAll = _this$props3.isLockedAll; - - if (isLockedAll) { - return null; - } - - var index = this.getInsertIndex(); - var isAppender = index === undefined; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["DropZone"], { - className: classnames_default()('block-editor-block-drop-zone', { - 'is-appender': isAppender - }), - onHTMLDrop: this.onHTMLDrop, - onDrop: this.onDrop, - onFilesDrop: hasUploadPermissions ? this.onFilesDrop : undefined - }); - } - }]); - - return BlockDropZone; -}(external_this_wp_element_["Component"]); - -/* harmony default export */ var block_drop_zone = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps) { - var _dispatch = dispatch('core/block-editor'), - _insertBlocks = _dispatch.insertBlocks, - _updateBlockAttributes = _dispatch.updateBlockAttributes, - _moveBlockToPosition = _dispatch.moveBlockToPosition; - - return { - insertBlocks: function insertBlocks(blocks, index) { - var rootClientId = ownProps.rootClientId; - - _insertBlocks(blocks, index, rootClientId); - }, - updateBlockAttributes: function updateBlockAttributes() { - _updateBlockAttributes.apply(void 0, arguments); - }, - moveBlockToPosition: function moveBlockToPosition(srcClientId, srcRootClientId, dstIndex) { - var dstRootClientId = ownProps.rootClientId; - - _moveBlockToPosition(srcClientId, srcRootClientId, dstRootClientId, dstIndex); - } - }; -}), Object(external_this_wp_data_["withSelect"])(function (select, _ref) { - var rootClientId = _ref.rootClientId; - - var _select = select('core/block-editor'), - getBlockIndex = _select.getBlockIndex, - getClientIdsOfDescendants = _select.getClientIdsOfDescendants, - getSettings = _select.getSettings, - getTemplateLock = _select.getTemplateLock; - - return { - getBlockIndex: getBlockIndex, - getClientIdsOfDescendants: getClientIdsOfDescendants, - hasUploadPermissions: !!getSettings().mediaUpload, - isLockedAll: getTemplateLock(rootClientId) === 'all' - }; -}), Object(external_this_wp_components_["withFilters"])('editor.BlockDropZone'))(block_drop_zone_BlockDropZone)); +// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/plus-circle.js +var plus_circle = __webpack_require__(278); // EXTERNAL MODULE: ./node_modules/dom-scroll-into-view/lib/index.js -var lib = __webpack_require__(69); +var lib = __webpack_require__(82); var lib_default = /*#__PURE__*/__webpack_require__.n(lib); // EXTERNAL MODULE: external {"this":["wp","keycodes"]} -var external_this_wp_keycodes_ = __webpack_require__(19); +var external_this_wp_keycodes_ = __webpack_require__(20); // EXTERNAL MODULE: external {"this":["wp","url"]} -var external_this_wp_url_ = __webpack_require__(25); +var external_this_wp_url_ = __webpack_require__(26); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/store/defaults.js /** @@ -7714,6 +8693,9 @@ function moveTo(array, from, to) { +function reducer_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function reducer_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { reducer_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { reducer_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -7868,7 +8850,7 @@ function getNestedBlockClientIds(blocksOrder) { function getMutateSafeObject(original, working) { if (original === working) { - return Object(objectSpread["a" /* default */])({}, original); + return reducer_objectSpread({}, original); } return working; @@ -7977,22 +8959,22 @@ var reducer_withBlockCache = function withBlockCache(reducer) { updatedBlockUids.push(action.rootClientId); } - newState.cache = Object(objectSpread["a" /* default */])({}, newState.cache, fillKeysWithEmptyObject(getBlocksWithParentsClientIds(updatedBlockUids))); + newState.cache = reducer_objectSpread({}, newState.cache, {}, fillKeysWithEmptyObject(getBlocksWithParentsClientIds(updatedBlockUids))); break; } case 'UPDATE_BLOCK': case 'UPDATE_BLOCK_ATTRIBUTES': - newState.cache = Object(objectSpread["a" /* default */])({}, newState.cache, fillKeysWithEmptyObject(getBlocksWithParentsClientIds([action.clientId]))); + newState.cache = reducer_objectSpread({}, newState.cache, {}, fillKeysWithEmptyObject(getBlocksWithParentsClientIds([action.clientId]))); break; case 'REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN': var parentClientIds = fillKeysWithEmptyObject(getBlocksWithParentsClientIds(action.replacedClientIds)); - newState.cache = Object(objectSpread["a" /* default */])({}, Object(external_this_lodash_["omit"])(newState.cache, action.replacedClientIds), Object(external_this_lodash_["omit"])(parentClientIds, action.replacedClientIds), fillKeysWithEmptyObject(Object(external_this_lodash_["keys"])(flattenBlocks(action.blocks)))); + newState.cache = reducer_objectSpread({}, Object(external_this_lodash_["omit"])(newState.cache, action.replacedClientIds), {}, Object(external_this_lodash_["omit"])(parentClientIds, action.replacedClientIds), {}, fillKeysWithEmptyObject(Object(external_this_lodash_["keys"])(flattenBlocks(action.blocks)))); break; case 'REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN': - newState.cache = Object(objectSpread["a" /* default */])({}, Object(external_this_lodash_["omit"])(newState.cache, action.removedClientIds), fillKeysWithEmptyObject(Object(external_this_lodash_["difference"])(getBlocksWithParentsClientIds(action.clientIds), action.clientIds))); + newState.cache = reducer_objectSpread({}, Object(external_this_lodash_["omit"])(newState.cache, action.removedClientIds), {}, fillKeysWithEmptyObject(Object(external_this_lodash_["difference"])(getBlocksWithParentsClientIds(action.clientIds), action.clientIds))); break; case 'MOVE_BLOCK_TO_POSITION': @@ -8007,7 +8989,7 @@ var reducer_withBlockCache = function withBlockCache(reducer) { _updatedBlockUids.push(action.toRootClientId); } - newState.cache = Object(objectSpread["a" /* default */])({}, newState.cache, fillKeysWithEmptyObject(getBlocksWithParentsClientIds(_updatedBlockUids))); + newState.cache = reducer_objectSpread({}, newState.cache, {}, fillKeysWithEmptyObject(getBlocksWithParentsClientIds(_updatedBlockUids))); break; } @@ -8020,7 +9002,7 @@ var reducer_withBlockCache = function withBlockCache(reducer) { _updatedBlockUids2.push(action.rootClientId); } - newState.cache = Object(objectSpread["a" /* default */])({}, newState.cache, fillKeysWithEmptyObject(getBlocksWithParentsClientIds(_updatedBlockUids2))); + newState.cache = reducer_objectSpread({}, newState.cache, {}, fillKeysWithEmptyObject(getBlocksWithParentsClientIds(_updatedBlockUids2))); break; } @@ -8030,7 +9012,7 @@ var reducer_withBlockCache = function withBlockCache(reducer) { return newState.byClientId[clientId].name !== 'core/block' || attributes.ref !== action.updatedId; })); - newState.cache = Object(objectSpread["a" /* default */])({}, newState.cache, fillKeysWithEmptyObject(getBlocksWithParentsClientIds(_updatedBlockUids3))); + newState.cache = reducer_objectSpread({}, newState.cache, {}, fillKeysWithEmptyObject(getBlocksWithParentsClientIds(_updatedBlockUids3))); } } @@ -8051,30 +9033,33 @@ var reducer_withBlockCache = function withBlockCache(reducer) { function withPersistentBlockChange(reducer) { var lastAction; + var markNextChangeAsNotPersistent = false; return function (state, action) { var nextState = reducer(state, action); - var isExplicitPersistentChange = action.type === 'MARK_LAST_CHANGE_AS_PERSISTENT'; // Defer to previous state value (or default) unless changing or + var isExplicitPersistentChange = action.type === 'MARK_LAST_CHANGE_AS_PERSISTENT' || markNextChangeAsNotPersistent; // Defer to previous state value (or default) unless changing or // explicitly marking as persistent. if (state === nextState && !isExplicitPersistentChange) { + markNextChangeAsNotPersistent = action.type === 'MARK_NEXT_CHANGE_AS_NOT_PERSISTENT'; var nextIsPersistentChange = Object(external_this_lodash_["get"])(state, ['isPersistentChange'], true); if (state.isPersistentChange === nextIsPersistentChange) { return state; } - return Object(objectSpread["a" /* default */])({}, nextState, { + return reducer_objectSpread({}, nextState, { isPersistentChange: nextIsPersistentChange }); } - nextState = Object(objectSpread["a" /* default */])({}, nextState, { - isPersistentChange: isExplicitPersistentChange || !isUpdatingSameBlockAttribute(action, lastAction) + nextState = reducer_objectSpread({}, nextState, { + isPersistentChange: isExplicitPersistentChange ? !markNextChangeAsNotPersistent : !isUpdatingSameBlockAttribute(action, lastAction) }); // In comparing against the previous action, consider only those which // would have qualified as one which would have been ignored or not // have resulted in a changed state. lastAction = action; + markNextChangeAsNotPersistent = action.type === 'MARK_NEXT_CHANGE_AS_NOT_PERSISTENT'; return nextState; }; } @@ -8142,14 +9127,14 @@ var reducer_withInnerBlocksRemoveCascade = function withInnerBlocksRemoveCascade if (state) { switch (action.type) { case 'REMOVE_BLOCKS': - action = Object(objectSpread["a" /* default */])({}, action, { + action = reducer_objectSpread({}, action, { type: 'REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN', removedClientIds: getAllChildren(action.clientIds) }); break; case 'REPLACE_BLOCKS': - action = Object(objectSpread["a" /* default */])({}, action, { + action = reducer_objectSpread({}, action, { type: 'REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN', replacedClientIds: getAllChildren(action.clientIds) }); @@ -8176,12 +9161,12 @@ var reducer_withBlockReset = function withBlockReset(reducer) { return function (state, action) { if (state && action.type === 'RESET_BLOCKS') { var visibleClientIds = getNestedBlockClientIds(state.order); - return Object(objectSpread["a" /* default */])({}, state, { - byClientId: Object(objectSpread["a" /* default */])({}, Object(external_this_lodash_["omit"])(state.byClientId, visibleClientIds), getFlattenedBlocksWithoutAttributes(action.blocks)), - attributes: Object(objectSpread["a" /* default */])({}, Object(external_this_lodash_["omit"])(state.attributes, visibleClientIds), getFlattenedBlockAttributes(action.blocks)), - order: Object(objectSpread["a" /* default */])({}, Object(external_this_lodash_["omit"])(state.order, visibleClientIds), mapBlockOrder(action.blocks)), - parents: Object(objectSpread["a" /* default */])({}, Object(external_this_lodash_["omit"])(state.parents, visibleClientIds), mapBlockParents(action.blocks)), - cache: Object(objectSpread["a" /* default */])({}, Object(external_this_lodash_["omit"])(state.cache, visibleClientIds), Object(external_this_lodash_["mapValues"])(flattenBlocks(action.blocks), function () { + return reducer_objectSpread({}, state, { + byClientId: reducer_objectSpread({}, Object(external_this_lodash_["omit"])(state.byClientId, visibleClientIds), {}, getFlattenedBlocksWithoutAttributes(action.blocks)), + attributes: reducer_objectSpread({}, Object(external_this_lodash_["omit"])(state.attributes, visibleClientIds), {}, getFlattenedBlockAttributes(action.blocks)), + order: reducer_objectSpread({}, Object(external_this_lodash_["omit"])(state.order, visibleClientIds), {}, mapBlockOrder(action.blocks)), + parents: reducer_objectSpread({}, Object(external_this_lodash_["omit"])(state.parents, visibleClientIds), {}, mapBlockParents(action.blocks)), + cache: reducer_objectSpread({}, Object(external_this_lodash_["omit"])(state.cache, visibleClientIds), {}, Object(external_this_lodash_["mapValues"])(flattenBlocks(action.blocks), function () { return {}; })) }); @@ -8202,7 +9187,7 @@ var reducer_withBlockReset = function withBlockReset(reducer) { */ -var reducer_withReplaceInnerBlocks = function withReplaceInnerBlocks(reducer) { +var withReplaceInnerBlocks = function withReplaceInnerBlocks(reducer) { return function (state, action) { if (action.type !== 'REPLACE_INNER_BLOCKS') { return reducer(state, action); @@ -8220,7 +9205,7 @@ var reducer_withReplaceInnerBlocks = function withReplaceInnerBlocks(reducer) { var stateAfterInsert = stateAfterBlocksRemoval; if (action.blocks.length) { - stateAfterInsert = reducer(stateAfterInsert, Object(objectSpread["a" /* default */])({}, action, { + stateAfterInsert = reducer(stateAfterInsert, reducer_objectSpread({}, action, { type: 'INSERT_BLOCKS', index: 0 })); @@ -8251,12 +9236,12 @@ var reducer_withSaveReusableBlock = function withSaveReusableBlock(reducer) { return state; } - state = Object(objectSpread["a" /* default */])({}, state); + state = reducer_objectSpread({}, state); state.attributes = Object(external_this_lodash_["mapValues"])(state.attributes, function (attributes, clientId) { var name = state.byClientId[clientId].name; if (name === 'core/block' && attributes.ref === id) { - return Object(objectSpread["a" /* default */])({}, attributes, { + return reducer_objectSpread({}, attributes, { ref: updatedId }); } @@ -8280,7 +9265,7 @@ var reducer_withSaveReusableBlock = function withSaveReusableBlock(reducer) { var reducer_blocks = Object(external_this_lodash_["flow"])(external_this_wp_data_["combineReducers"], reducer_withSaveReusableBlock, // needs to be before withBlockCache reducer_withBlockCache, // needs to be before withInnerBlocksRemoveCascade -reducer_withInnerBlocksRemoveCascade, reducer_withReplaceInnerBlocks, // needs to be after withInnerBlocksRemoveCascade +reducer_withInnerBlocksRemoveCascade, withReplaceInnerBlocks, // needs to be after withInnerBlocksRemoveCascade reducer_withBlockReset, withPersistentBlockChange, withIgnoredBlockChange)({ byClientId: function byClientId() { var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; @@ -8292,7 +9277,7 @@ reducer_withBlockReset, withPersistentBlockChange, withIgnoredBlockChange)({ case 'RECEIVE_BLOCKS': case 'INSERT_BLOCKS': - return Object(objectSpread["a" /* default */])({}, state, getFlattenedBlocksWithoutAttributes(action.blocks)); + return reducer_objectSpread({}, state, {}, getFlattenedBlocksWithoutAttributes(action.blocks)); case 'UPDATE_BLOCK': // Ignore updates if block isn't known @@ -8307,14 +9292,14 @@ reducer_withBlockReset, withPersistentBlockChange, withIgnoredBlockChange)({ return state; } - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, action.clientId, Object(objectSpread["a" /* default */])({}, state[action.clientId], changes))); + return reducer_objectSpread({}, state, Object(defineProperty["a" /* default */])({}, action.clientId, reducer_objectSpread({}, state[action.clientId], {}, changes))); case 'REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN': if (!action.blocks) { return state; } - return Object(objectSpread["a" /* default */])({}, Object(external_this_lodash_["omit"])(state, action.replacedClientIds), getFlattenedBlocksWithoutAttributes(action.blocks)); + return reducer_objectSpread({}, Object(external_this_lodash_["omit"])(state, action.replacedClientIds), {}, getFlattenedBlocksWithoutAttributes(action.blocks)); case 'REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN': return Object(external_this_lodash_["omit"])(state, action.removedClientIds); @@ -8332,7 +9317,7 @@ reducer_withBlockReset, withPersistentBlockChange, withIgnoredBlockChange)({ case 'RECEIVE_BLOCKS': case 'INSERT_BLOCKS': - return Object(objectSpread["a" /* default */])({}, state, getFlattenedBlockAttributes(action.blocks)); + return reducer_objectSpread({}, state, {}, getFlattenedBlockAttributes(action.blocks)); case 'UPDATE_BLOCK': // Ignore updates if block isn't known or there are no attribute changes. @@ -8340,7 +9325,7 @@ reducer_withBlockReset, withPersistentBlockChange, withIgnoredBlockChange)({ return state; } - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, action.clientId, Object(objectSpread["a" /* default */])({}, state[action.clientId], action.updates.attributes))); + return reducer_objectSpread({}, state, Object(defineProperty["a" /* default */])({}, action.clientId, reducer_objectSpread({}, state[action.clientId], {}, action.updates.attributes))); case 'UPDATE_BLOCK_ATTRIBUTES': // Ignore updates if block isn't known @@ -8364,14 +9349,14 @@ reducer_withBlockReset, withPersistentBlockChange, withIgnoredBlockChange)({ } // Otherwise replace attributes in state - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, action.clientId, nextAttributes)); + return reducer_objectSpread({}, state, Object(defineProperty["a" /* default */])({}, action.clientId, nextAttributes)); case 'REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN': if (!action.blocks) { return state; } - return Object(objectSpread["a" /* default */])({}, Object(external_this_lodash_["omit"])(state, action.replacedClientIds), getFlattenedBlockAttributes(action.blocks)); + return reducer_objectSpread({}, Object(external_this_lodash_["omit"])(state, action.replacedClientIds), {}, getFlattenedBlockAttributes(action.blocks)); case 'REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN': return Object(external_this_lodash_["omit"])(state, action.removedClientIds); @@ -8388,7 +9373,7 @@ reducer_withBlockReset, withPersistentBlockChange, withIgnoredBlockChange)({ return mapBlockOrder(action.blocks); case 'RECEIVE_BLOCKS': - return Object(objectSpread["a" /* default */])({}, state, Object(external_this_lodash_["omit"])(mapBlockOrder(action.blocks), '')); + return reducer_objectSpread({}, state, {}, Object(external_this_lodash_["omit"])(mapBlockOrder(action.blocks), '')); case 'INSERT_BLOCKS': { @@ -8398,7 +9383,7 @@ reducer_withBlockReset, withPersistentBlockChange, withIgnoredBlockChange)({ var mappedBlocks = mapBlockOrder(action.blocks, rootClientId); var _action$index = action.index, index = _action$index === void 0 ? subState.length : _action$index; - return Object(objectSpread["a" /* default */])({}, state, mappedBlocks, Object(defineProperty["a" /* default */])({}, rootClientId, insertAt(subState, mappedBlocks[rootClientId], index))); + return reducer_objectSpread({}, state, {}, mappedBlocks, Object(defineProperty["a" /* default */])({}, rootClientId, insertAt(subState, mappedBlocks[rootClientId], index))); } case 'MOVE_BLOCK_TO_POSITION': @@ -8420,11 +9405,11 @@ reducer_withBlockReset, withPersistentBlockChange, withIgnoredBlockChange)({ var fromIndex = _subState.indexOf(clientId); - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, toRootClientId, moveTo(state[toRootClientId], fromIndex, _index))); + return reducer_objectSpread({}, state, Object(defineProperty["a" /* default */])({}, toRootClientId, moveTo(state[toRootClientId], fromIndex, _index))); } // Moving from a parent block to another - return Object(objectSpread["a" /* default */])({}, state, (_objectSpread7 = {}, Object(defineProperty["a" /* default */])(_objectSpread7, fromRootClientId, Object(external_this_lodash_["without"])(state[fromRootClientId], clientId)), Object(defineProperty["a" /* default */])(_objectSpread7, toRootClientId, insertAt(state[toRootClientId], clientId, _index)), _objectSpread7)); + return reducer_objectSpread({}, state, (_objectSpread7 = {}, Object(defineProperty["a" /* default */])(_objectSpread7, fromRootClientId, Object(external_this_lodash_["without"])(state[fromRootClientId], clientId)), Object(defineProperty["a" /* default */])(_objectSpread7, toRootClientId, insertAt(state[toRootClientId], clientId, _index)), _objectSpread7)); } case 'MOVE_BLOCKS_UP': @@ -8442,7 +9427,7 @@ reducer_withBlockReset, withPersistentBlockChange, withIgnoredBlockChange)({ var firstIndex = _subState2.indexOf(firstClientId); - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, _rootClientId, moveTo(_subState2, firstIndex, firstIndex - 1, clientIds.length))); + return reducer_objectSpread({}, state, Object(defineProperty["a" /* default */])({}, _rootClientId, moveTo(_subState2, firstIndex, firstIndex - 1, clientIds.length))); } case 'MOVE_BLOCKS_DOWN': @@ -8462,7 +9447,7 @@ reducer_withBlockReset, withPersistentBlockChange, withIgnoredBlockChange)({ var _firstIndex = _subState3.indexOf(_firstClientId); - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, _rootClientId2, moveTo(_subState3, _firstIndex, _firstIndex + 1, _clientIds.length))); + return reducer_objectSpread({}, state, Object(defineProperty["a" /* default */])({}, _rootClientId2, moveTo(_subState3, _firstIndex, _firstIndex + 1, _clientIds.length))); } case 'REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN': @@ -8478,7 +9463,7 @@ reducer_withBlockReset, withPersistentBlockChange, withIgnoredBlockChange)({ return Object(external_this_lodash_["flow"])([function (nextState) { return Object(external_this_lodash_["omit"])(nextState, action.replacedClientIds); }, function (nextState) { - return Object(objectSpread["a" /* default */])({}, nextState, Object(external_this_lodash_["omit"])(_mappedBlocks, '')); + return reducer_objectSpread({}, nextState, {}, Object(external_this_lodash_["omit"])(_mappedBlocks, '')); }, function (nextState) { return Object(external_this_lodash_["mapValues"])(nextState, function (subState) { return Object(external_this_lodash_["reduce"])(subState, function (result, clientId) { @@ -8521,18 +9506,18 @@ reducer_withBlockReset, withPersistentBlockChange, withIgnoredBlockChange)({ return mapBlockParents(action.blocks); case 'RECEIVE_BLOCKS': - return Object(objectSpread["a" /* default */])({}, state, mapBlockParents(action.blocks)); + return reducer_objectSpread({}, state, {}, mapBlockParents(action.blocks)); case 'INSERT_BLOCKS': - return Object(objectSpread["a" /* default */])({}, state, mapBlockParents(action.blocks, action.rootClientId || '')); + return reducer_objectSpread({}, state, {}, mapBlockParents(action.blocks, action.rootClientId || '')); case 'MOVE_BLOCK_TO_POSITION': { - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, action.clientId, action.toRootClientId || '')); + return reducer_objectSpread({}, state, Object(defineProperty["a" /* default */])({}, action.clientId, action.toRootClientId || '')); } case 'REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN': - return Object(objectSpread["a" /* default */])({}, Object(external_this_lodash_["omit"])(state, action.replacedClientIds), mapBlockParents(action.blocks, state[action.clientIds[0]])); + return reducer_objectSpread({}, Object(external_this_lodash_["omit"])(state, action.replacedClientIds), {}, mapBlockParents(action.blocks, state[action.clientIds[0]])); case 'REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN': return Object(external_this_lodash_["omit"])(state, action.removedClientIds); @@ -8823,7 +9808,7 @@ function blocksMode() { if (action.type === 'TOGGLE_BLOCK_MODE') { var clientId = action.clientId; - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, clientId, state[clientId] && state[clientId] === 'html' ? 'visual' : 'html')); + return reducer_objectSpread({}, state, Object(defineProperty["a" /* default */])({}, clientId, state[clientId] && state[clientId] === 'html' ? 'visual' : 'html')); } return state; @@ -8875,7 +9860,7 @@ function reducer_template() { switch (action.type) { case 'SET_TEMPLATE_VALIDITY': - return Object(objectSpread["a" /* default */])({}, state, { + return reducer_objectSpread({}, state, { isValid: action.isValid }); } @@ -8897,7 +9882,7 @@ function reducer_settings() { switch (action.type) { case 'UPDATE_SETTINGS': - return Object(objectSpread["a" /* default */])({}, state, action.settings); + return reducer_objectSpread({}, state, {}, action.settings); } return state; @@ -8929,8 +9914,8 @@ function preferences() { id += '/' + block.attributes.ref; } - return Object(objectSpread["a" /* default */])({}, prevState, { - insertUsage: Object(objectSpread["a" /* default */])({}, prevState.insertUsage, Object(defineProperty["a" /* default */])({}, id, { + return reducer_objectSpread({}, prevState, { + insertUsage: reducer_objectSpread({}, prevState.insertUsage, Object(defineProperty["a" /* default */])({}, id, { time: action.time, count: prevState.insertUsage[id] ? prevState.insertUsage[id].count + 1 : 1, insert: insert @@ -8980,7 +9965,7 @@ var reducer_blockListSettings = function blockListSettings() { return state; } - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, clientId, action.settings)); + return reducer_objectSpread({}, state, Object(defineProperty["a" /* default */])({}, clientId, action.settings)); } } @@ -9096,11 +10081,11 @@ function automaticChangeStatus(state, action) { })); // EXTERNAL MODULE: ./node_modules/refx/refx.js -var refx = __webpack_require__(72); +var refx = __webpack_require__(88); var refx_default = /*#__PURE__*/__webpack_require__.n(refx); // EXTERNAL MODULE: ./node_modules/redux-multi/lib/index.js -var redux_multi_lib = __webpack_require__(216); +var redux_multi_lib = __webpack_require__(255); var redux_multi_lib_default = /*#__PURE__*/__webpack_require__.n(redux_multi_lib); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js @@ -9157,6 +10142,10 @@ var controls_controls = { +function actions_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function actions_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { actions_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { actions_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + var _marked = /*#__PURE__*/ external_this_regeneratorRuntime_default.a.mark(ensureDefaultBlock), @@ -9171,7 +10160,7 @@ external_this_regeneratorRuntime_default.a.mark(selectNextBlock), external_this_regeneratorRuntime_default.a.mark(actions_replaceBlocks), _marked5 = /*#__PURE__*/ -external_this_regeneratorRuntime_default.a.mark(moveBlockToPosition), +external_this_regeneratorRuntime_default.a.mark(actions_moveBlockToPosition), _marked6 = /*#__PURE__*/ external_this_regeneratorRuntime_default.a.mark(actions_insertBlocks), @@ -9509,8 +10498,8 @@ function getBlocksWithDefaultStylesApplied(blocks, blockEditorSettings) { var _block$attributes = block.attributes, attributes = _block$attributes === void 0 ? {} : _block$attributes; var blockStyle = preferredStyleVariations[blockName]; - return Object(objectSpread["a" /* default */])({}, block, { - attributes: Object(objectSpread["a" /* default */])({}, attributes, { + return actions_objectSpread({}, block, { + attributes: actions_objectSpread({}, attributes, { className: "".concat(className || '', " is-style-").concat(blockStyle).trim() }) }); @@ -9642,7 +10631,7 @@ var actions_moveBlocksUp = createOnMove('MOVE_BLOCKS_UP'); * @yield {Object} Action object. */ -function moveBlockToPosition(clientId) { +function actions_moveBlockToPosition(clientId) { var fromRootClientId, toRootClientId, index, @@ -10062,7 +11051,7 @@ function toggleBlockMode(clientId) { * @return {Object} Action object. */ -function startTyping() { +function actions_startTyping() { return { type: 'START_TYPING' }; @@ -10073,7 +11062,7 @@ function startTyping() { * @return {Object} Action object. */ -function stopTyping() { +function actions_stopTyping() { return { type: 'STOP_TYPING' }; @@ -10106,7 +11095,7 @@ function actions_stopDraggingBlocks() { * @return {Object} Action object. */ -function enterFormattedText() { +function actions_enterFormattedText() { return { type: 'ENTER_FORMATTED_TEXT' }; @@ -10117,7 +11106,7 @@ function enterFormattedText() { * @return {Object} Action object. */ -function exitFormattedText() { +function actions_exitFormattedText() { return { type: 'EXIT_FORMATTED_TEXT' }; @@ -10134,7 +11123,7 @@ function exitFormattedText() { * @return {Object} Action object. */ -function selectionChange(clientId, attributeKey, startOffset, endOffset) { +function actions_selectionChange(clientId, attributeKey, startOffset, endOffset) { return { type: 'SELECTION_CHANGE', clientId: clientId, @@ -10225,6 +11214,17 @@ function actions_unstableMarkLastChangeAsPersistent() { type: 'MARK_LAST_CHANGE_AS_PERSISTENT' }; } +/** + * Returns an action object used in signalling that the next block change should be marked explicitly as not persistent. + * + * @return {Object} Action object. + */ + +function __unstableMarkNextChangeAsNotPersistent() { + return { + type: 'MARK_NEXT_CHANGE_AS_NOT_PERSISTENT' + }; +} /** * Returns an action object used in signalling that the last block change is * an automatic change, meaning it was not performed by the user, and can be @@ -10236,7 +11236,7 @@ function actions_unstableMarkLastChangeAsPersistent() { * @return {Object} Action object. */ -function __unstableMarkAutomaticChange() { +function actions_unstableMarkAutomaticChange() { return { type: 'MARK_AUTOMATIC_CHANGE' }; @@ -10467,13 +11467,17 @@ function actions_insertAfterBlock(clientId) { } // EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js -var rememo = __webpack_require__(34); +var rememo = __webpack_require__(36); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/store/selectors.js +function selectors_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function selectors_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { selectors_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { selectors_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -10607,7 +11611,7 @@ var selectors_getBlock = Object(rememo["a" /* default */])(function (state, clie return null; } - return Object(objectSpread["a" /* default */])({}, block, { + return selectors_objectSpread({}, block, { attributes: getBlockAttributes(state, clientId), innerBlocks: selectors_getBlocks(state, clientId) }); @@ -10626,7 +11630,7 @@ var selectors_unstableGetBlockWithoutInnerBlocks = Object(rememo["a" /* default return null; } - return Object(objectSpread["a" /* default */])({}, block, { + return selectors_objectSpread({}, block, { attributes: getBlockAttributes(state, clientId) }); }, function (state, clientId) { @@ -10958,9 +11962,9 @@ function getAdjacentBlockClientId(state, startClientId) { if (startClientId === undefined) { if (modifier < 0) { - startClientId = getFirstMultiSelectedBlockClientId(state); + startClientId = selectors_getFirstMultiSelectedBlockClientId(state); } else { - startClientId = getLastMultiSelectedBlockClientId(state); + startClientId = selectors_getLastMultiSelectedBlockClientId(state); } } // Validate working start client ID. @@ -11127,7 +12131,7 @@ var getMultiSelectedBlocks = Object(rememo["a" /* default */])(function (state) * @return {?string} First block client ID in the multi-selection set. */ -function getFirstMultiSelectedBlockClientId(state) { +function selectors_getFirstMultiSelectedBlockClientId(state) { return Object(external_this_lodash_["first"])(getMultiSelectedBlockClientIds(state)) || null; } /** @@ -11139,7 +12143,7 @@ function getFirstMultiSelectedBlockClientId(state) { * @return {?string} Last block client ID in the multi-selection set. */ -function getLastMultiSelectedBlockClientId(state) { +function selectors_getLastMultiSelectedBlockClientId(state) { return Object(external_this_lodash_["last"])(getMultiSelectedBlockClientIds(state)) || null; } /** @@ -11154,7 +12158,7 @@ function getLastMultiSelectedBlockClientId(state) { */ function selectors_isFirstMultiSelectedBlock(state, clientId) { - return getFirstMultiSelectedBlockClientId(state) === clientId; + return selectors_getFirstMultiSelectedBlockClientId(state) === clientId; } /** * Returns true if the client ID occurs within the block multi-selection, or @@ -11712,14 +12716,21 @@ var selectors_getInserterItems = Object(rememo["a" /* default */])(function (sta _ref$count = _ref.count, count = _ref$count === void 0 ? 0 : _ref$count; + var inserterVariations = blockType.variations.filter(function (_ref2) { + var scope = _ref2.scope; + return !scope || scope.includes('inserter'); + }); return { id: id, name: blockType.name, initialAttributes: {}, title: blockType.title, + description: blockType.description, icon: blockType.icon, category: blockType.category, keywords: blockType.keywords, + variations: inserterVariations, + example: blockType.example, isDisabled: isDisabled, utility: calculateUtility(blockType.category, count, isContextual), frecency: calculateFrecency(time, count) @@ -11737,10 +12748,10 @@ var selectors_getInserterItems = Object(rememo["a" /* default */])(function (sta referencedBlockType = Object(external_this_wp_blocks_["getBlockType"])(referencedBlocks[0].name); } - var _ref2 = getInsertUsage(state, id) || {}, - time = _ref2.time, - _ref2$count = _ref2.count, - count = _ref2$count === void 0 ? 0 : _ref2$count; + var _ref3 = getInsertUsage(state, id) || {}, + time = _ref3.time, + _ref3$count = _ref3.count, + count = _ref3$count === void 0 ? 0 : _ref3$count; var utility = calculateUtility('reusable', count, false); var frecency = calculateFrecency(time, count); @@ -11960,6 +12971,10 @@ function selectors_didAutomaticChange(state) { +function effects_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function effects_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { effects_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { effects_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -12103,11 +13118,11 @@ function validateBlocksToTemplate(action, store) { preserveWhiteSpace: _preserveWhiteSpace }); updatedAttributes[newAttributeKey] = newHtml; - dispatch(selectionChange(blockA.clientId, newAttributeKey, newOffset, newOffset)); + dispatch(actions_selectionChange(blockA.clientId, newAttributeKey, newOffset, newOffset)); } - dispatch(actions_replaceBlocks([blockA.clientId, blockB.clientId], [Object(objectSpread["a" /* default */])({}, blockA, { - attributes: Object(objectSpread["a" /* default */])({}, blockA.attributes, updatedAttributes) + dispatch(actions_replaceBlocks([blockA.clientId, blockB.clientId], [effects_objectSpread({}, blockA, { + attributes: effects_objectSpread({}, blockA.attributes, {}, updatedAttributes) })].concat(Object(toConsumableArray["a" /* default */])(blocksWithTheSameType.slice(1))))); }, RESET_BLOCKS: [validateBlocksToTemplate], @@ -12190,6 +13205,10 @@ function applyMiddlewares(store) { // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/store/index.js +function store_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function store_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { store_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { store_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * WordPress dependencies */ @@ -12222,7 +13241,7 @@ var storeConfig = { actions: actions_namespaceObject, controls: store_controls }; -var store_store = Object(external_this_wp_data_["registerStore"])(MODULE_KEY, Object(objectSpread["a" /* default */])({}, storeConfig, { +var store_store = Object(external_this_wp_data_["registerStore"])(MODULE_KEY, store_objectSpread({}, storeConfig, { persist: ['preferences'] })); store_middlewares(store_store); @@ -12480,7 +13499,7 @@ function (_Component) { })])(provider_BlockEditorProvider)); // EXTERNAL MODULE: ./node_modules/react-spring/web.cjs.js -var web_cjs = __webpack_require__(65); +var web_cjs = __webpack_require__(75); // EXTERNAL MODULE: external {"this":["wp","dom"]} var external_this_wp_dom_ = __webpack_require__(27); @@ -12545,7 +13564,7 @@ function Warning(_ref) { /* harmony default export */ var warning = (Warning); // EXTERNAL MODULE: ./node_modules/diff/dist/diff.js -var dist_diff = __webpack_require__(217); +var dist_diff = __webpack_require__(256); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-compare/block-view.js @@ -12929,7 +13948,7 @@ function (_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 = __webpack_require__(70); 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 @@ -13000,334 +14019,6 @@ function BlockHTML(_ref) { /* 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, @@ -13340,11 +14031,10 @@ ignore_nested_events_forwardedIgnoreNestedEvents.displayName = 'IgnoreNestedEven * @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 + '"]'); + return document.getElementById('block-' + clientId); } -function getBlockPreviewContainerDOMNode(clientId, scope) { - var domNode = getBlockDOMNode(clientId, scope); +function getBlockPreviewContainerDOMNode(clientId) { + var domNode = getBlockDOMNode(clientId); if (!domNode) { return; @@ -13352,20 +14042,6 @@ function getBlockPreviewContainerDOMNode(clientId, scope) { 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. @@ -13388,7 +14064,7 @@ function isBlockFocusStop(element) { */ function isInSameBlock(a, b) { - return a.closest('[data-block]') === b.closest('[data-block]'); + return a.closest('.block-editor-block-list__block') === b.closest('.block-editor-block-list__block'); } /** * Returns true if an elements is considered part of the block and not its children. @@ -13415,6 +14091,27 @@ function isInsideRootBlock(blockElement, element) { function hasInnerBlocksContext(element) { return !!element.querySelector('.block-editor-block-list__layout'); } +/** + * Finds the block client ID given any DOM node inside the block. + * + * @param {Node} node DOM node. + * + * @return {string|undefined} Client ID or undefined if the node is not part of a block. + */ + +function getBlockClientId(node) { + if (node.nodeType !== node.ELEMENT_NODE) { + node = node.parentElement; + } + + var blockNode = node.closest('.wp-block'); + + if (!blockNode) { + return; + } + + return blockNode.id.slice('block-'.length); +} // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/moving-animation.js @@ -13565,7 +14262,7 @@ function useMovingAnimation(ref, isSelected, adjustScrolling, enableAnimation, t /* harmony default export */ var moving_animation = (useMovingAnimation); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block-child-toolbar.js +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/use-multi-selection.js /** @@ -13573,22 +14270,1584 @@ function useMovingAnimation(ref, isSelected, adjustScrolling, enableAnimation, t */ -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; +/** + * Internal dependencies + */ -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 +/** + * 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 use_multi_selection_selector(select) { + var _select = select('core/block-editor'), + isSelectionEnabled = _select.isSelectionEnabled, + isMultiSelecting = _select.isMultiSelecting, + getMultiSelectedBlockClientIds = _select.getMultiSelectedBlockClientIds, + hasMultiSelection = _select.hasMultiSelection, + getBlockParents = _select.getBlockParents, + getSelectedBlockClientId = _select.getSelectedBlockClientId; + + return { + isSelectionEnabled: isSelectionEnabled(), + isMultiSelecting: isMultiSelecting(), + multiSelectedBlockClientIds: getMultiSelectedBlockClientIds(), + hasMultiSelection: hasMultiSelection(), + getBlockParents: getBlockParents, + selectedBlockClientId: getSelectedBlockClientId() + }; +} + +function toggleRichText(container, toggle) { + Array.from(container.querySelectorAll('.rich-text')).forEach(function (node) { + if (toggle) { + node.setAttribute('contenteditable', true); + } else { + node.removeAttribute('contenteditable'); + } }); -}; +} + +function useMultiSelection(ref) { + var _useSelect = Object(external_this_wp_data_["useSelect"])(use_multi_selection_selector, []), + isSelectionEnabled = _useSelect.isSelectionEnabled, + isMultiSelecting = _useSelect.isMultiSelecting, + multiSelectedBlockClientIds = _useSelect.multiSelectedBlockClientIds, + hasMultiSelection = _useSelect.hasMultiSelection, + getBlockParents = _useSelect.getBlockParents, + selectedBlockClientId = _useSelect.selectedBlockClientId; + + 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"])(); + var anchorElement = 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) { + if (!selectedBlockClientId || isMultiSelecting) { + return; + } + + var _selection = window.getSelection(); + + if (_selection.rangeCount && !_selection.isCollapsed) { + var blockNode = getBlockDOMNode(selectedBlockClientId); + + var _selection$getRangeAt = _selection.getRangeAt(0), + startContainer = _selection$getRangeAt.startContainer, + endContainer = _selection$getRangeAt.endContainer; + + if (!blockNode.contains(startContainer) || !blockNode.contains(endContainer)) { + _selection.removeAllRanges(); + } + } + + return; + } + + var length = multiSelectedBlockClientIds.length; + + if (length < 2) { + return; + } // These must be in the right DOM order. + + + var start = multiSelectedBlockClientIds[0]; + var end = multiSelectedBlockClientIds[length - 1]; + var startNode = getBlockDOMNode(start); + var endNode = getBlockDOMNode(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, selectBlock, selectedBlockClientId]); + var onSelectionChange = Object(external_this_wp_element_["useCallback"])(function (_ref) { + var isSelectionEnd = _ref.isSelectionEnd; + var selection = window.getSelection(); // If no selection is found, end multi selection and enable all rich + // text areas. + + if (!selection.rangeCount || selection.isCollapsed) { + toggleRichText(ref.current, true); + return; + } + + var clientId = getBlockClientId(selection.focusNode); + var isSingularSelection = startClientId.current === clientId; + + if (isSingularSelection) { + selectBlock(clientId); // If the selection is complete (on mouse up), and no multiple + // blocks have been selected, set focus back to the anchor element + // if the anchor element contains the selection. Additionally, rich + // text elements that were previously disabled can now be enabled + // again. + + if (isSelectionEnd) { + toggleRichText(ref.current, true); + + if (selection.rangeCount) { + var _selection$getRangeAt2 = selection.getRangeAt(0), + commonAncestorContainer = _selection$getRangeAt2.commonAncestorContainer; + + if (anchorElement.current.contains(commonAncestorContainer)) { + anchorElement.current.focus(); + } + } + } + } 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({ + isSelectionEnd: true + }); + 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; + anchorElement.current = document.activeElement; + 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. + + toggleRichText(ref.current, false); + }, [isSelectionEnabled, startMultiSelect, onSelectionEnd]); +} + +// 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, + hasMultiSelection = _ref.hasMultiSelection, + multiSelectionContainer = _ref.multiSelectionContainer; + 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) { + noCapture.current = null; + 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) { + if (hasMultiSelection) { + multiSelectionContainer.current.focus(); + return; + } + + 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 = getBlockDOMNode(selectedClientId); + + if (isReverse) { + var _tabbables = external_this_wp_dom_["focus"].tabbable.find(wrapper); + + var lastTabbable = Object(external_this_lodash_["last"])(_tabbables) || wrapper; + lastTabbable.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 + */ + + +/** + * WordPress dependencies + */ + + + + + + +/** + * Internal dependencies + */ + + + +/** + * Browser constants + */ + +var writing_flow_window = window, + getSelection = writing_flow_window.getSelection, + writing_flow_getComputedStyle = writing_flow_window.getComputedStyle; +/** + * Given an element, returns true if the element is a tabbable text field, or + * false otherwise. + * + * @param {Element} element Element to test. + * + * @return {boolean} Whether element is a tabbable text field. + */ + +var isTabbableTextField = Object(external_this_lodash_["overEvery"])([external_this_wp_dom_["isTextField"], external_this_wp_dom_["focus"].tabbable.isTabbableIndex]); +/** + * Returns true if the element should consider edge navigation upon a keyboard + * event of the given directional key code, or false otherwise. + * + * @param {Element} element HTML element to test. + * @param {number} keyCode KeyboardEvent keyCode to test. + * @param {boolean} hasModifier Whether a modifier is pressed. + * + * @return {boolean} Whether element should consider edge navigation. + */ + +function isNavigationCandidate(element, keyCode, hasModifier) { + var isVertical = keyCode === external_this_wp_keycodes_["UP"] || keyCode === external_this_wp_keycodes_["DOWN"]; // Currently, all elements support unmodified vertical navigation. + + if (isVertical && !hasModifier) { + return true; + } // Native inputs should not navigate horizontally. + + + 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. + */ + +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); + + 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); +} + +function writing_flow_selector(select) { + var _select = select('core/block-editor'), + getSelectedBlockClientId = _select.getSelectedBlockClientId, + getMultiSelectedBlocksStartClientId = _select.getMultiSelectedBlocksStartClientId, + getMultiSelectedBlocksEndClientId = _select.getMultiSelectedBlocksEndClientId, + getPreviousBlockClientId = _select.getPreviousBlockClientId, + getNextBlockClientId = _select.getNextBlockClientId, + getFirstMultiSelectedBlockClientId = _select.getFirstMultiSelectedBlockClientId, + getLastMultiSelectedBlockClientId = _select.getLastMultiSelectedBlockClientId, + hasMultiSelection = _select.hasMultiSelection, + getBlockOrder = _select.getBlockOrder, + isNavigationMode = _select.isNavigationMode, + isSelectionEnabled = _select.isSelectionEnabled, + getBlockSelectionStart = _select.getBlockSelectionStart, + isMultiSelecting = _select.isMultiSelecting; + + var selectedBlockClientId = getSelectedBlockClientId(); + var selectionStartClientId = getMultiSelectedBlocksStartClientId(); + var selectionEndClientId = getMultiSelectedBlocksEndClientId(); + return { + selectedBlockClientId: selectedBlockClientId, + selectionStartClientId: selectionStartClientId, + selectionBeforeEndClientId: getPreviousBlockClientId(selectionEndClientId || selectedBlockClientId), + selectionAfterEndClientId: getNextBlockClientId(selectionEndClientId || selectedBlockClientId), + selectedFirstClientId: getFirstMultiSelectedBlockClientId(), + selectedLastClientId: getLastMultiSelectedBlockClientId(), + hasMultiSelection: hasMultiSelection(), + blocks: getBlockOrder(), + isNavigationMode: isNavigationMode(), + isSelectionEnabled: isSelectionEnabled(), + blockSelectionStart: getBlockSelectionStart(), + isMultiSelecting: isMultiSelecting() + }; +} +/** + * Handles selection and navigation across blocks. This component should be + * wrapped around BlockList. + */ + + +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 multiSelectionContainer = 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"])(); + + 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, + isSelectionEnabled = _useSelect.isSelectionEnabled, + blockSelectionStart = _useSelect.blockSelectionStart, + isMultiSelecting = _useSelect.isMultiSelecting; + + var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), + multiSelect = _useDispatch.multiSelect, + selectBlock = _useDispatch.selectBlock, + clearSelectedBlock = _useDispatch.clearSelectedBlock, + setNavigationMode = _useDispatch.setNavigationMode; + + function onMouseDown(event) { + verticalRect.current = null; // Clicking inside a selected block should exit navigation mode. + + if (isNavigationMode && selectedBlockClientId && isInsideRootBlock(getBlockDOMNode(selectedBlockClientId), event.target)) { + setNavigationMode(false); + } // Multi-select blocks when Shift+clicking. + + + if (isSelectionEnabled && // The main button. + // https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button + event.button === 0) { + var clientId = getBlockClientId(event.target); + + if (clientId) { + if (event.shiftKey) { + if (blockSelectionStart !== clientId) { + multiSelect(blockSelectionStart, clientId); + 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 + // focus handling excludes blocks when there is multiselection, + // as focus can be incurred by starting a multiselection (focus + // moved to first block's multi-controls). + + } else if (hasMultiSelection) { + selectBlock(clientId); + } + } + } + } + + 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 isEscape = keyCode === external_this_wp_keycodes_["ESCAPE"]; + 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 = getBlockDOMNode(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; + } // 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 (selectedBlockClientId) { + if (isTab) { + var _wrapper = getBlockDOMNode(selectedBlockClientId); + + 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); + + var lastTabbable = Object(external_this_lodash_["last"])(tabbables) || _wrapper; + + if (target === lastTabbable) { + // See comment above. + noCapture.current = true; + focusCaptureAfterRef.current.focus(); + return; + } + } + } else if (isEscape) { + setNavigationMode(true); + } + } else if (hasMultiSelection && isTab && target === multiSelectionContainer.current) { + // See comment above. + noCapture.current = true; + + if (isShift) { + focusCaptureBeforeRef.current.focus(); + } else { + 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); + } + } + + Object(external_this_wp_element_["useEffect"])(function () { + if (hasMultiSelection && !isMultiSelecting) { + multiSelectionContainer.current.focus(); + } + }, [hasMultiSelection, isMultiSelecting]); + var className = classnames_default()('block-editor-writing-flow', { + 'is-navigate-mode': isNavigationMode + }); // 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: className + }, Object(external_this_wp_element_["createElement"])(focus_capture, { + ref: focusCaptureBeforeRef, + selectedClientId: selectedBlockClientId, + containerRef: container, + noCapture: noCapture, + hasMultiSelection: hasMultiSelection, + multiSelectionContainer: multiSelectionContainer + }), Object(external_this_wp_element_["createElement"])("div", { + ref: container, + onKeyDown: onKeyDown, + onMouseDown: onMouseDown + }, Object(external_this_wp_element_["createElement"])("div", { + ref: multiSelectionContainer, + tabIndex: hasMultiSelection ? '0' : undefined, + "aria-label": hasMultiSelection ? Object(external_this_wp_i18n_["__"])('Multiple selected blocks') : undefined // Needs to be positioned within the viewport, so focus to this + // element does not scroll the page. + , + style: { + position: 'fixed' + } + }), children), Object(external_this_wp_element_["createElement"])(focus_capture, { + ref: focusCaptureAfterRef, + selectedClientId: selectedBlockClientId, + containerRef: container, + noCapture: noCapture, + hasMultiSelection: hasMultiSelection, + multiSelectionContainer: multiSelectionContainer, + 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/block-list/insertion-point.js + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + + +/** + * Internal dependencies + */ + + + + + +function Indicator(_ref) { + var clientId = _ref.clientId; + 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, + getBlockRootClientId = _select.getBlockRootClientId; + + var rootClientId = getBlockRootClientId(clientId); + var blockIndex = getBlockIndex(clientId, rootClientId); + var insertionPoint = getBlockInsertionPoint(); + return isBlockInsertionPointVisible() && insertionPoint.index === blockIndex && insertionPoint.rootClientId === rootClientId; + }, [clientId]); + + if (!showInsertionPoint) { + return null; + } + + return Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-block-list__insertion-point-indicator" + }); +} + +function InsertionPoint(_ref2) { + var className = _ref2.className, + isMultiSelecting = _ref2.isMultiSelecting, + selectedBlockClientId = _ref2.selectedBlockClientId, + children = _ref2.children, + containerRef = _ref2.containerRef; + + var _useState = Object(external_this_wp_element_["useState"])(false), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + isInserterShown = _useState2[0], + setIsInserterShown = _useState2[1]; + + var _useState3 = Object(external_this_wp_element_["useState"])(false), + _useState4 = Object(slicedToArray["a" /* default */])(_useState3, 2), + isInserterForced = _useState4[0], + setIsInserterForced = _useState4[1]; + + var _useState5 = Object(external_this_wp_element_["useState"])(null), + _useState6 = Object(slicedToArray["a" /* default */])(_useState5, 2), + inserterElement = _useState6[0], + setInserterElement = _useState6[1]; + + var _useState7 = Object(external_this_wp_element_["useState"])(null), + _useState8 = Object(slicedToArray["a" /* default */])(_useState7, 2), + inserterClientId = _useState8[0], + setInserterClientId = _useState8[1]; + + var ref = Object(external_this_wp_element_["useRef"])(); + + function onMouseMove(event) { + if (event.target.className !== className) { + if (isInserterShown) { + setIsInserterShown(false); + } + + return; + } + + var rect = event.target.getBoundingClientRect(); + var offset = event.clientY - rect.top; + var element = Array.from(event.target.children).find(function (blockEl) { + return blockEl.offsetTop > offset; + }); + + if (!element) { + return; + } + + var clientId = element.id.slice('block-'.length); + + if (!clientId) { + return; + } + + var elementRect = element.getBoundingClientRect(); + + if (event.clientX > elementRect.right || event.clientX < elementRect.left) { + if (isInserterShown) { + setIsInserterShown(false); + } + + return; + } + + setIsInserterShown(true); + setInserterElement(element); + setInserterClientId(clientId); + } + + function focusClosestTabbable(event) { + var clientX = event.clientX, + clientY = event.clientY, + target = event.target; // Only handle click on the wrapper specifically, and not an event + // bubbled from the inserter itself. + + if (target !== ref.current) { + return; + } + + var targetRect = target.getBoundingClientRect(); + var isReverse = clientY < targetRect.top + targetRect.height / 2; + var blockNode = getBlockDOMNode(inserterClientId); + var container = isReverse ? containerRef.current : blockNode; + var closest = getClosestTabbable(blockNode, true, container); + var rect = new window.DOMRect(clientX, clientY, 0, 16); + + if (closest) { + Object(external_this_wp_dom_["placeCaretAtVerticalEdge"])(closest, isReverse, rect, false); + } + } + + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, !isMultiSelecting && (isInserterShown || isInserterForced) && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], { + noArrow: true, + animate: false, + anchorRef: inserterElement, + position: "top right left", + focusOnMount: false, + className: "block-editor-block-list__insertion-point-popover", + __unstableSlotName: "block-toolbar", + __unstableFixedPosition: false + }, Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-block-list__insertion-point", + style: { + width: inserterElement.offsetWidth + } + }, Object(external_this_wp_element_["createElement"])(Indicator, { + clientId: inserterClientId + }), Object(external_this_wp_element_["createElement"])("div", { + ref: ref, + onFocus: function onFocus() { + return setIsInserterForced(true); + }, + onBlur: function onBlur() { + return setIsInserterForced(false); + }, + onClick: focusClosestTabbable // 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', { + // Hide the inserter above the selected block. + 'is-inserter-hidden': inserterClientId === selectedBlockClientId + }) + }, Object(external_this_wp_element_["createElement"])(inserter, { + clientId: inserterClientId + })))), Object(external_this_wp_element_["createElement"])("div", { + onMouseMove: !isInserterForced && !isMultiSelecting ? onMouseMove : undefined + }, children)); +} + +// 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 Component props. + * @param {string} props.clientId Client ID of block. + * + * @return {WPComponent} The component to be rendered. + */ + +function breadcrumb_BlockBreadcrumb(_ref) { + var clientId = _ref.clientId, + rootClientId = _ref.rootClientId, + moverDirection = _ref.moverDirection, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["clientId", "rootClientId", "moverDirection"]); + + var selected = Object(external_this_wp_data_["useSelect"])(function (select) { + var _select = select('core/block-editor'), + __unstableGetBlockWithoutInnerBlocks = _select.__unstableGetBlockWithoutInnerBlocks, + getBlockIndex = _select.getBlockIndex; + + var index = getBlockIndex(clientId, rootClientId); + + var _unstableGetBlockWit = __unstableGetBlockWithoutInnerBlocks(clientId), + name = _unstableGetBlockWit.name, + attributes = _unstableGetBlockWit.attributes; + + return { + index: index, + name: name, + attributes: attributes + }; + }, [clientId, rootClientId]); + var index = selected.index, + name = selected.name, + attributes = selected.attributes; + + var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), + setNavigationMode = _useDispatch.setNavigationMode, + removeBlock = _useDispatch.removeBlock; + + var ref = Object(external_this_wp_element_["useRef"])(); // Focus the breadcrumb in navigation mode. + + Object(external_this_wp_element_["useEffect"])(function () { + ref.current.focus(); + }); + + function onKeyDown(event) { + var keyCode = event.keyCode; + + if (keyCode === external_this_wp_keycodes_["BACKSPACE"] || keyCode === external_this_wp_keycodes_["DELETE"]) { + removeBlock(clientId); + event.preventDefault(); + } + } + + var blockType = Object(external_this_wp_blocks_["getBlockType"])(name); + var label = Object(external_this_wp_blocks_["__experimentalGetAccessibleBlockLabel"])(blockType, attributes, index + 1, moverDirection); + 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); + }, + onKeyDown: onKeyDown, + label: label + }, Object(external_this_wp_element_["createElement"])(block_title, { + clientId: clientId + })))); +} + +/* harmony default export */ var 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, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["focusOnMount"]); + + 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, null)); +} + +/* harmony default export */ var block_contextual_toolbar = (BlockContextualToolbar); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block-popover.js + + + +/** + * External dependencies + */ + + +/** + * WordPress dependencies + */ + + + + + + + +/** + * Internal dependencies + */ + + + + + + +function block_popover_selector(select) { + var _select = select('core/block-editor'), + isNavigationMode = _select.isNavigationMode, + isMultiSelecting = _select.isMultiSelecting, + hasMultiSelection = _select.hasMultiSelection, + isTyping = _select.isTyping, + isCaretWithinFormattedText = _select.isCaretWithinFormattedText, + getSettings = _select.getSettings, + getLastMultiSelectedBlockClientId = _select.getLastMultiSelectedBlockClientId; + + return { + isNavigationMode: isNavigationMode(), + isMultiSelecting: isMultiSelecting(), + isTyping: isTyping(), + isCaretWithinFormattedText: isCaretWithinFormattedText(), + hasMultiSelection: hasMultiSelection(), + hasFixedToolbar: getSettings().hasFixedToolbar, + lastClientId: getLastMultiSelectedBlockClientId() + }; +} + +function BlockPopover(_ref) { + var clientId = _ref.clientId, + rootClientId = _ref.rootClientId, + name = _ref.name, + align = _ref.align, + isValid = _ref.isValid, + moverDirection = _ref.moverDirection, + isEmptyDefaultBlock = _ref.isEmptyDefaultBlock, + capturingClientId = _ref.capturingClientId; + + var _useSelect = Object(external_this_wp_data_["useSelect"])(block_popover_selector, []), + isNavigationMode = _useSelect.isNavigationMode, + isMultiSelecting = _useSelect.isMultiSelecting, + isTyping = _useSelect.isTyping, + isCaretWithinFormattedText = _useSelect.isCaretWithinFormattedText, + hasMultiSelection = _useSelect.hasMultiSelection, + hasFixedToolbar = _useSelect.hasFixedToolbar, + lastClientId = _useSelect.lastClientId; + + var isLargeViewport = Object(external_this_wp_compose_["useViewportMatch"])('medium'); + + var _useState = Object(external_this_wp_element_["useState"])(false), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + isToolbarForced = _useState2[0], + setIsToolbarForced = _useState2[1]; + + var _useState3 = Object(external_this_wp_element_["useState"])(false), + _useState4 = Object(slicedToArray["a" /* default */])(_useState3, 2), + isInserterShown = _useState4[0], + setIsInserterShown = _useState4[1]; + + var _useContext = Object(external_this_wp_element_["useContext"])(BlockNodes), + _useContext2 = Object(slicedToArray["a" /* default */])(_useContext, 1), + blockNodes = _useContext2[0]; + + var showEmptyBlockSideInserter = !isNavigationMode && isEmptyDefaultBlock && isValid; + var shouldShowBreadcrumb = isNavigationMode; + var shouldShowContextualToolbar = !isNavigationMode && !hasFixedToolbar && isLargeViewport && !showEmptyBlockSideInserter && !isMultiSelecting && (!isTyping || isCaretWithinFormattedText); + var canFocusHiddenToolbar = !isNavigationMode && !shouldShowContextualToolbar && !hasFixedToolbar && !isEmptyDefaultBlock; + Object(external_this_wp_keyboardShortcuts_["useShortcut"])('core/block-editor/focus-toolbar', Object(external_this_wp_element_["useCallback"])(function () { + return setIsToolbarForced(true); + }, []), { + bindGlobal: true, + eventName: 'keydown', + isDisabled: !canFocusHiddenToolbar + }); + + if (!shouldShowBreadcrumb && !shouldShowContextualToolbar && !isToolbarForced && !showEmptyBlockSideInserter) { + return null; + } + + var node = blockNodes[clientId]; + + if (capturingClientId) { + node = document.getElementById('block-' + capturingClientId); + } + + if (!node) { + return null; + } // A block may specify a different target element for the toolbar. + + + if (node.classList.contains('is-block-collapsed')) { + node = node.querySelector('.is-block-content') || node; + } + + var anchorRef = node; + + if (hasMultiSelection) { + var bottomNode = blockNodes[lastClientId]; // Wait to render the popover until the bottom reference is available + // as well. + + if (!bottomNode) { + return null; + } + + anchorRef = { + top: node, + bottom: bottomNode + }; + } + + function onFocus() { + setIsInserterShown(true); + } + + function onBlur() { + setIsInserterShown(false); + } // Position above the anchor, pop out towards the right, and position in the + // left corner. For the side inserter, pop out towards the left, and + // position in the right corner. + // To do: refactor `Popover` to make this prop clearer. + + + var popoverPosition = showEmptyBlockSideInserter ? 'top left right' : 'top right left'; + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], { + noArrow: true, + animate: false, + position: popoverPosition, + focusOnMount: false, + anchorRef: anchorRef, + className: "block-editor-block-list__block-popover", + __unstableSticky: !showEmptyBlockSideInserter, + __unstableSlotName: "block-toolbar" // Allow subpixel positioning for the block movement animation. + , + __unstableAllowVerticalSubpixelPosition: moverDirection !== 'horizontal' && node, + __unstableAllowHorizontalSubpixelPosition: moverDirection === 'horizontal' && node, + onBlur: function onBlur() { + return setIsToolbarForced(false); + }, + shouldAnchorIncludePadding: true + }, (shouldShowContextualToolbar || isToolbarForced) && 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__block-popover-inserter', { + 'is-visible': isInserterShown + }) + }, Object(external_this_wp_element_["createElement"])(inserter, { + clientId: clientId, + rootClientId: rootClientId + })), (shouldShowContextualToolbar || isToolbarForced) && 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: isToolbarForced, + "data-type": name, + "data-align": align + }), shouldShowBreadcrumb && Object(external_this_wp_element_["createElement"])(breadcrumb, { + clientId: clientId, + rootClientId: rootClientId, + moverDirection: moverDirection, + "data-align": align + }), 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", + rootClientId: rootClientId, + clientId: clientId + }))); +} + +function wrapperSelector(select) { + var _select2 = select('core/block-editor'), + getSelectedBlockClientId = _select2.getSelectedBlockClientId, + getFirstMultiSelectedBlockClientId = _select2.getFirstMultiSelectedBlockClientId, + getBlockRootClientId = _select2.getBlockRootClientId, + __unstableGetBlockWithoutInnerBlocks = _select2.__unstableGetBlockWithoutInnerBlocks, + getBlockParents = _select2.getBlockParents, + getBlockListSettings = _select2.getBlockListSettings, + __experimentalGetBlockListSettingsForBlocks = _select2.__experimentalGetBlockListSettingsForBlocks; + + var clientId = getSelectedBlockClientId() || getFirstMultiSelectedBlockClientId(); + + if (!clientId) { + return; + } + + var rootClientId = getBlockRootClientId(clientId); + + var _ref2 = __unstableGetBlockWithoutInnerBlocks(clientId) || {}, + name = _ref2.name, + _ref2$attributes = _ref2.attributes, + attributes = _ref2$attributes === void 0 ? {} : _ref2$attributes, + isValid = _ref2.isValid; + + var blockParentsClientIds = getBlockParents(clientId); + + var _ref3 = getBlockListSettings(rootClientId) || {}, + __experimentalMoverDirection = _ref3.__experimentalMoverDirection; // 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]); + var capturingClientId; + + if (topmostAncestorWithCaptureDescendantsToolbarsIndex !== -1) { + capturingClientId = blockParentsClientIds[topmostAncestorWithCaptureDescendantsToolbarsIndex]; + } + + return { + clientId: clientId, + rootClientId: getBlockRootClientId(clientId), + name: name, + align: attributes.align, + isValid: isValid, + moverDirection: __experimentalMoverDirection, + isEmptyDefaultBlock: name && Object(external_this_wp_blocks_["isUnmodifiedDefaultBlock"])({ + name: name, + attributes: attributes + }), + capturingClientId: capturingClientId + }; +} + +function WrappedBlockPopover() { + var selected = Object(external_this_wp_data_["useSelect"])(wrapperSelector, []); + + if (!selected) { + return null; + } + + var clientId = selected.clientId, + rootClientId = selected.rootClientId, + name = selected.name, + align = selected.align, + isValid = selected.isValid, + moverDirection = selected.moverDirection, + isEmptyDefaultBlock = selected.isEmptyDefaultBlock, + capturingClientId = selected.capturingClientId; + + if (!name) { + return null; + } + + return Object(external_this_wp_element_["createElement"])(BlockPopover, { + clientId: clientId, + rootClientId: rootClientId, + name: name, + align: align, + isValid: isValid, + moverDirection: moverDirection, + isEmptyDefaultBlock: isEmptyDefaultBlock, + capturingClientId: capturingClientId + }); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/root-container.js + + +/** + * WordPress dependencies + */ + + +/** + * Internal dependencies + */ + + + + + +/** @typedef {import('@wordpress/element').WPSyntheticEvent} WPSyntheticEvent */ + +var root_container_Context = Object(external_this_wp_element_["createContext"])(); +var BlockNodes = Object(external_this_wp_element_["createContext"])(); + +function root_container_selector(select) { + var _select = select('core/block-editor'), + getSelectedBlockClientId = _select.getSelectedBlockClientId, + hasMultiSelection = _select.hasMultiSelection, + isMultiSelecting = _select.isMultiSelecting; + + return { + selectedBlockClientId: getSelectedBlockClientId(), + hasMultiSelection: hasMultiSelection(), + isMultiSelecting: isMultiSelecting() + }; +} +/** + * Prevents default dragging behavior within a block. + * To do: we must handle this in the future and clean up the drag target. + * Previously dragging was prevented for multi-selected, but this is no longer + * needed. + * + * @param {WPSyntheticEvent} event Synthetic drag event. + */ + + +function onDragStart(event) { + // Ensure we target block content, not block controls. + if (getBlockClientId(event.target)) { + event.preventDefault(); + } +} + +function RootContainer(_ref, ref) { + var children = _ref.children, + className = _ref.className; + + var _useSelect = Object(external_this_wp_data_["useSelect"])(root_container_selector, []), + selectedBlockClientId = _useSelect.selectedBlockClientId, + hasMultiSelection = _useSelect.hasMultiSelection, + isMultiSelecting = _useSelect.isMultiSelecting; + + var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), + selectBlock = _useDispatch.selectBlock; + + var onSelectionStart = useMultiSelection(ref); + /** + * Marks the block as selected when focused and not already selected. This + * specifically handles the case where block does not set focus on its own + * (via `setFocus`), typically if there is no focusable input in the block. + * + * @param {WPSyntheticEvent} event + */ + + function onFocus(event) { + if (hasMultiSelection) { + return; + } + + var clientId = getBlockClientId(event.target); + + if (clientId && clientId !== selectedBlockClientId) { + selectBlock(clientId); + } + } + + return Object(external_this_wp_element_["createElement"])(InsertionPoint, { + className: className, + isMultiSelecting: isMultiSelecting, + selectedBlockClientId: selectedBlockClientId, + containerRef: ref + }, Object(external_this_wp_element_["createElement"])(BlockNodes.Provider, { + value: Object(external_this_wp_element_["useState"])({}) + }, Object(external_this_wp_element_["createElement"])(WrappedBlockPopover, null), Object(external_this_wp_element_["createElement"])("div", { + ref: ref, + className: className, + onFocus: onFocus, + onDragStart: onDragStart + }, Object(external_this_wp_element_["createElement"])(root_container_Context.Provider, { + value: onSelectionStart + }, children)))); +} + +/* harmony default export */ var root_container = (Object(external_this_wp_element_["forwardRef"])(RootContainer)); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block.js @@ -13596,6 +15855,10 @@ var block_child_toolbar_ChildToolbarSlot = function ChildToolbarSlot() { +function block_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function block_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { block_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { block_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -13615,7 +15878,6 @@ var block_child_toolbar_ChildToolbarSlot = function ChildToolbarSlot() { - /** * Internal dependencies */ @@ -13629,45 +15891,23 @@ var block_child_toolbar_ChildToolbarSlot = function ChildToolbarSlot() { - - - - - -/** - * 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, + isLastMultiSelected = _ref.isLastMultiSelected, 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, @@ -13675,71 +15915,62 @@ function block_BlockListBlock(_ref) { 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; + hasSelectedUI = _ref$hasSelectedUI === void 0 ? true : _ref$hasSelectedUI; + var onSelectionStart = Object(external_this_wp_element_["useContext"])(root_container_Context); - // In addition to withSelect, we should favor using useSelect in this component going forward + var _useContext = Object(external_this_wp_element_["useContext"])(BlockNodes), + _useContext2 = Object(slicedToArray["a" /* default */])(_useContext, 2), + setBlockNodes = _useContext2[1]; // 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 + isDraggingBlocks = _useSelect.isDraggingBlocks; // Reference of the wrapper - var _useState = Object(external_this_wp_element_["useState"])({}), + var wrapper = Object(external_this_wp_element_["useRef"])(null); // Provide the selected node, or the first and last nodes of a multi- + // selection, so it can be used to position the contextual block toolbar. + // We only provide what is necessary, and remove the nodes again when they + // are no longer selected. + + Object(external_this_wp_element_["useLayoutEffect"])(function () { + if (isSelected || isFirstMultiSelected || isLastMultiSelected) { + var node = wrapper.current; + setBlockNodes(function (nodes) { + return block_objectSpread({}, nodes, Object(defineProperty["a" /* default */])({}, clientId, node)); + }); + return function () { + setBlockNodes(function (nodes) { + return Object(external_this_lodash_["omit"])(nodes, clientId); + }); + }; + } + }, [isSelected, isFirstMultiSelected, isLastMultiSelected]); // Handling the error state + + var _useState = Object(external_this_wp_element_["useState"])(false), _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]; + hasError = _useState2[0], + setErrorState = _useState2[1]; var onBlockError = function onBlockError() { return setErrorState(true); - }; // Handling of forceContextualToolbarFocus + }; + var blockType = Object(external_this_wp_blocks_["getBlockType"])(name); // translators: %s: Type of block (i.e. Text, Image etc) - 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 + var blockLabel = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Block: %s'), blockType.title); // Handing the focus of the block on creation and update /** * When a block becomes selected, transition focus to an inner tabbable. @@ -13747,37 +15978,19 @@ function block_BlockListBlock(_ref) { * @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 + // 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 + var textInputs = external_this_wp_dom_["focus"].tabbable.find(wrapper.current).filter(external_this_wp_dom_["isTextField"]) // Exclude inner blocks .filter(function (node) { - return !ignoreInnerBlocks || isInsideRootBlock(blockNodeRef.current, node); + return !ignoreInnerBlocks || isInsideRootBlock(wrapper.current, node); }); // If reversed (e.g. merge via backspace), use the last in the set of // tabbables. @@ -13795,43 +16008,15 @@ function block_BlockListBlock(_ref) { var isMounting = Object(external_this_wp_element_["useRef"])(true); Object(external_this_wp_element_["useEffect"])(function () { - if (isSelected && !isMultiSelecting) { + if (!isMultiSelecting && !isNavigationMode && isSelected) { focusTabbable(!isMounting.current); } isMounting.current = false; - }, [isSelected, isMultiSelecting]); // Focus the first multi selected block + }, [isSelected, isMultiSelecting, isNavigationMode]); // Block Reordering animation - 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); // Other event handlers - 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 @@ -13841,18 +16026,13 @@ function block_BlockListBlock(_ref) { * @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; + target = event.target; switch (keyCode) { case external_this_wp_keycodes_["ENTER"]: - if (canUseShortcuts && isEditMode) { + if (target === wrapper.current) { // Insert default block after current block if enter and event // not already handled by descendant. onInsertDefaultBlockAfter(); @@ -13863,53 +16043,13 @@ function block_BlockListBlock(_ref) { case external_this_wp_keycodes_["BACKSPACE"]: case external_this_wp_keycodes_["DELETE"]: - if (canUseShortcuts) { + if (target === wrapper.current) { // 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(); } }; @@ -13922,48 +16062,29 @@ function block_BlockListBlock(_ref) { // 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) { + if ((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 showEmptyBlockSideInserter = !isNavigationMode && isSelected && 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 isDragging = isDraggingBlocks && (isSelected || isPartOfMultiSelection); // Determine whether the block has props to apply to the wrapper. - var shouldShowInsertionPoint = !isMultiSelecting && (isPartOfMultiSelection && isFirstMultiSelected || !isPartOfMultiSelection); - var shouldRenderDropzone = shouldShowInsertionPoint; - var isDragging = isDraggingBlocks && (isSelected || isPartOfMultiSelection); // The wp-block className is important for editor styles. + if (blockType.getEditWrapperProps) { + wrapperProps = block_objectSpread({}, wrapperProps, {}, blockType.getEditWrapperProps(attributes)); + } + + var isAligned = wrapperProps && wrapperProps['data-align']; // 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, @@ -13971,13 +16092,8 @@ function block_BlockListBlock(_ref) { '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)); - } - + 'is-block-collapsed': isAligned + }, className); 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 @@ -13994,7 +16110,15 @@ function block_BlockListBlock(_ref) { clientId: clientId, isSelectionEnabled: isSelectionEnabled, toggleSelection: toggleSelection - }); + }); // For aligned blocks, provide a wrapper element so the block can be + // positioned relative to the block column. This is enabled with the + // .is-block-content className. + + if (isAligned) { + blockEdit = Object(external_this_wp_element_["createElement"])("div", { + className: "is-block-content" + }, blockEdit); + } if (mode !== 'visual') { blockEdit = Object(external_this_wp_element_["createElement"])("div", { @@ -14003,82 +16127,23 @@ function block_BlockListBlock(_ref) { } }, 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 */])({ + return Object(external_this_wp_element_["createElement"])(web_cjs["animated"].div, Object(esm_extends["a" /* default */])({ id: blockElementId, ref: wrapper, className: wrapperClassName, - "data-type": name, - onFocus: onFocus, - onKeyDown: onKeyDown, + "data-block": clientId, + "data-type": name // Only allow shortcuts when a blocks is selected and not locked. + , + onKeyDown: isSelected && !isLocked ? onKeyDown : undefined // Only allow selection to be started from a selected block. + , + onMouseLeave: isSelected ? onMouseLeave : undefined, tabIndex: "0", "aria-label": blockLabel, - role: "group", - childHandledEvents: ['onDragStart', 'onMouseDown'], - tagName: web_cjs["animated"].div + role: "group" }, 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, { + style: wrapperProps && wrapperProps.style ? block_objectSpread({}, wrapperProps.style, {}, animationStyle) : animationStyle + }), 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 @@ -14087,14 +16152,7 @@ function block_BlockListBlock(_ref) { 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 - }))); + }, Object(external_this_wp_blocks_["getSaveElement"])(blockType, attributes))]), !!hasError && Object(external_this_wp_element_["createElement"])(block_crash_warning, null)); } var applyWithSelect = Object(external_this_wp_data_["withSelect"])(function (select, _ref3) { @@ -14107,51 +16165,29 @@ var applyWithSelect = Object(external_this_wp_data_["withSelect"])(function (sel isAncestorMultiSelected = _select.isAncestorMultiSelected, isBlockMultiSelected = _select.isBlockMultiSelected, isFirstMultiSelectedBlock = _select.isFirstMultiSelectedBlock, + getLastMultiSelectedBlockClientId = _select.getLastMultiSelectedBlockClientId, 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; + 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 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. + var isAncestorOfSelectedBlock = hasSelectedInnerBlock(clientId, checkDeep); // 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. @@ -14164,10 +16200,10 @@ var applyWithSelect = Object(external_this_wp_data_["withSelect"])(function (sel isMultiSelected: isBlockMultiSelected(clientId), isPartOfMultiSelection: isBlockMultiSelected(clientId) || isAncestorMultiSelected(clientId), isFirstMultiSelected: isFirstMultiSelectedBlock(clientId), + isLastMultiSelected: getLastMultiSelectedBlockClientId() === 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, @@ -14177,8 +16213,6 @@ var applyWithSelect = Object(external_this_wp_data_["withSelect"])(function (sel }), 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 @@ -14189,9 +16223,7 @@ var applyWithSelect = Object(external_this_wp_data_["withSelect"])(function (sel attributes: attributes, isValid: isValid, isSelected: isSelected, - isAncestorOfSelectedBlock: isAncestorOfSelectedBlock, - isCapturingDescendantToolbars: isCapturingDescendantToolbars, - hasAncestorCapturingToolbars: hasAncestorCapturingToolbars + isAncestorOfSelectedBlock: isAncestorOfSelectedBlock }; }); var applyWithDispatch = Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps, _ref5) { @@ -14199,15 +16231,12 @@ var applyWithDispatch = Object(external_this_wp_data_["withDispatch"])(function 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 { @@ -14215,11 +16244,6 @@ var applyWithDispatch = Object(external_this_wp_data_["withDispatch"])(function 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); @@ -14275,24 +16299,9 @@ var applyWithDispatch = Object(external_this_wp_data_["withDispatch"])(function 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"])({ @@ -14305,7 +16314,7 @@ Object(external_this_wp_compose_["ifCondition"])(function (_ref6) { }), Object(external_this_wp_components_["withFilters"])('editor.BlockListBlock'))(block_BlockListBlock)); // EXTERNAL MODULE: external {"this":["wp","htmlEntities"]} -var external_this_wp_htmlEntities_ = __webpack_require__(54); +var external_this_wp_htmlEntities_ = __webpack_require__(56); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/default-block-appender/index.js @@ -14328,7 +16337,6 @@ var external_this_wp_htmlEntities_ = __webpack_require__(54); */ - function default_block_appender_DefaultBlockAppender(_ref) { var isLocked = _ref.isLocked, isVisible = _ref.isVisible, @@ -14359,9 +16367,7 @@ function default_block_appender_DefaultBlockAppender(_ref) { 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, { + }, 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", @@ -14416,6 +16422,7 @@ function default_block_appender_DefaultBlockAppender(_ref) { * External dependencies */ + /** * WordPress dependencies */ @@ -14429,13 +16436,17 @@ function default_block_appender_DefaultBlockAppender(_ref) { +function block_list_appender_stopPropagation(event) { + event.stopPropagation(); +} function BlockListAppender(_ref) { var blockClientIds = _ref.blockClientIds, rootClientId = _ref.rootClientId, canInsertDefaultBlock = _ref.canInsertDefaultBlock, isLocked = _ref.isLocked, - CustomAppender = _ref.renderAppender; + CustomAppender = _ref.renderAppender, + className = _ref.className; if (isLocked || CustomAppender === false) { return null; @@ -14460,28 +16471,23 @@ function BlockListAppender(_ref) { 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)); + return Object(external_this_wp_element_["createElement"])("div", { + // A `tabIndex` is used on the wrapping `div` element in order to + // force a focus event to occur when an appender `button` element + // is clicked. In some browsers (Firefox, Safari), button clicks do + // not emit a focus event, which could cause this event to propagate + // unexpectedly. The `tabIndex` ensures that the interaction is + // captured as a focus, without also adding an extra tab stop. + // + // See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus + tabIndex: -1 // Prevent the block from being selected when the appender is + // clicked. + , + onFocus: block_list_appender_stopPropagation, + className: classnames_default()('block-list-appender', className) + }, appender); } /* harmony default export */ var block_list_appender = (Object(external_this_wp_data_["withSelect"])(function (select, _ref2) { @@ -14512,7 +16518,7 @@ var block_list_footer_createSlotFill = Object(external_this_wp_components_["crea __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 +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-drop-zone/index.js /** @@ -14520,182 +16526,171 @@ __experimentalBlockListFooter.Slot = block_list_footer_Slot; */ -/** - * 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]; - } +var parseDropEvent = function parseDropEvent(event) { + var result = { + srcRootClientId: null, + srcClientId: null, + srcIndex: null, + type: null + }; + + if (!event.dataTransfer) { + return result; } - return node; -} + try { + result = Object.assign(result, JSON.parse(event.dataTransfer.getData('text'))); + } catch (err) { + return result; + } -function useMultiSelection(_ref) { - var ref = _ref.ref, + return result; +}; + +function useBlockDropZone(_ref) { + var element = _ref.element, rootClientId = _ref.rootClientId; + var _useState = Object(external_this_wp_element_["useState"])(null), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + clientId = _useState2[0], + setClientId = _useState2[1]; + 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; + getBlockIndex = _select.getBlockIndex, + getClientIdsOfDescendants = _select.getClientIdsOfDescendants, + getSettings = _select.getSettings, + getTemplateLock = _select.getTemplateLock; return { - blockClientIds: getBlockOrder(rootClientId), - isSelectionEnabled: isSelectionEnabled(), - isMultiSelecting: isMultiSelecting(), - multiSelectedBlockClientIds: getMultiSelectedBlockClientIds(), - hasMultiSelection: hasMultiSelection(), - getBlockParents: getBlockParents + getBlockIndex: getBlockIndex, + blockIndex: getBlockIndex(clientId, rootClientId), + getClientIdsOfDescendants: getClientIdsOfDescendants, + hasUploadPermissions: !!getSettings().mediaUpload, + isLockedAll: getTemplateLock(rootClientId) === 'all' }; } - 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 _useSelect = Object(external_this_wp_data_["useSelect"])(selector, [rootClientId, clientId]), + getBlockIndex = _useSelect.getBlockIndex, + blockIndex = _useSelect.blockIndex, + getClientIdsOfDescendants = _useSelect.getClientIdsOfDescendants, + hasUploadPermissions = _useSelect.hasUploadPermissions, + isLockedAll = _useSelect.isLockedAll; var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), - startMultiSelect = _useDispatch.startMultiSelect, - stopMultiSelect = _useDispatch.stopMultiSelect, - multiSelect = _useDispatch.multiSelect, - selectBlock = _useDispatch.selectBlock; + insertBlocks = _useDispatch.insertBlocks, + updateBlockAttributes = _useDispatch.updateBlockAttributes, + moveBlockToPosition = _useDispatch.moveBlockToPosition; - 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) { + var onFilesDrop = Object(external_this_wp_element_["useCallback"])(function (files) { + if (!hasUploadPermissions) { 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(); + var transformation = Object(external_this_wp_blocks_["findTransform"])(Object(external_this_wp_blocks_["getBlockTransforms"])('from'), function (transform) { + return transform.type === 'files' && transform.isMatch(files); }); - }, [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); + if (transformation) { + var blocks = transformation.transform(files, updateBlockAttributes); + insertBlocks(blocks, blockIndex, rootClientId); + } + }, [hasUploadPermissions, updateBlockAttributes, insertBlocks, blockIndex, rootClientId]); + var onHTMLDrop = Object(external_this_wp_element_["useCallback"])(function (HTML) { + var blocks = Object(external_this_wp_blocks_["pasteHandler"])({ + HTML: HTML, + mode: 'BLOCKS' + }); + + if (blocks.length) { + insertBlocks(blocks, blockIndex, rootClientId); + } + }, [insertBlocks, blockIndex, rootClientId]); + var onDrop = Object(external_this_wp_element_["useCallback"])(function (event) { + var _parseDropEvent = parseDropEvent(event), + srcRootClientId = _parseDropEvent.srcRootClientId, + srcClientId = _parseDropEvent.srcClientId, + srcIndex = _parseDropEvent.srcIndex, + type = _parseDropEvent.type; + + var isBlockDropType = function isBlockDropType(dropType) { + return dropType === 'block'; }; - }, [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) { + var isSameLevel = function isSameLevel(srcRoot, dstRoot) { + // Note that rootClientId of top-level blocks will be undefined OR a void string, + // so we also need to account for that case separately. + return srcRoot === dstRoot || !srcRoot === true && !dstRoot === true; + }; + + var isSameBlock = function isSameBlock(src, dst) { + return src === dst; + }; + + var isSrcBlockAnAncestorOfDstBlock = function isSrcBlockAnAncestorOfDstBlock(src, dst) { + return getClientIdsOfDescendants([src]).some(function (id) { + return id === dst; + }); + }; + + if (!isBlockDropType(type) || isSameBlock(srcClientId, clientId) || isSrcBlockAnAncestorOfDstBlock(srcClientId, clientId || rootClientId)) { 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. + var dstIndex = clientId ? getBlockIndex(clientId, rootClientId) : undefined; + var positionIndex = blockIndex; // If the block is kept at the same level and moved downwards, + // subtract to account for blocks shifting upward to occupy its old position. - 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. + var insertIndex = dstIndex && srcIndex < dstIndex && isSameLevel(srcRootClientId, rootClientId) ? positionIndex - 1 : positionIndex; + moveBlockToPosition(srcClientId, srcRootClientId, rootClientId, insertIndex); + }, [getClientIdsOfDescendants, getBlockIndex, clientId, blockIndex, moveBlockToPosition, rootClientId]); - Array.from(ref.current.querySelectorAll('.rich-text')).forEach(function (node) { - return node.removeAttribute('contenteditable'); - }); - }, [isSelectionEnabled, startMultiSelect, onSelectionEnd]); + var _useDropZone = Object(external_this_wp_components_["__unstableUseDropZone"])({ + element: element, + onFilesDrop: onFilesDrop, + onHTMLDrop: onHTMLDrop, + onDrop: onDrop, + isDisabled: isLockedAll, + withPosition: true + }), + position = _useDropZone.position; + + Object(external_this_wp_element_["useEffect"])(function () { + if (position) { + var y = position.y; + var rect = element.current.getBoundingClientRect(); + var offset = y - rect.top; + var target = Array.from(element.current.children).find(function (blockEl) { + return blockEl.offsetTop + blockEl.offsetHeight / 2 > offset; + }); + + if (!target) { + return; + } + + var targetClientId = target.id.slice('block-'.length); + + if (!targetClientId) { + return; + } + + setClientId(targetClientId); + } + }, [position]); + + if (position) { + return clientId; + } } // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/index.js - /** * External dependencies */ @@ -14714,6 +16709,7 @@ function useMultiSelection(_ref) { + /** * If the block count exceeds the threshold, we disable the reordering animation * to avoid laginess. @@ -14732,8 +16728,6 @@ var block_list_forceSyncUpdates = function forceSyncUpdates(WrappedComponent) { 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, @@ -14767,18 +16761,13 @@ function BlockList(_ref) { hasMultiSelection = _useSelect.hasMultiSelection, enableAnimation = _useSelect.enableAnimation; + var Container = rootClientId ? 'div' : root_container; var ref = Object(external_this_wp_element_["useRef"])(); - var onSelectionStart = useMultiSelection({ - ref: ref, + var targetClientId = useBlockDropZone({ + element: ref, rootClientId: rootClientId }); - - var uiParts = Object(objectSpread["a" /* default */])({ - hasMovers: true, - hasSelectedUI: true - }, __experimentalUIParts); - - return Object(external_this_wp_element_["createElement"])("div", { + return Object(external_this_wp_element_["createElement"])(Container, { ref: ref, className: classnames_default()('block-editor-block-list__layout', className) }, blockClientIds.map(function (clientId, index) { @@ -14789,21 +16778,20 @@ function BlockList(_ref) { }, 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 + hasSelectedUI: __experimentalUIParts.hasSelectedUI, + className: clientId === targetClientId ? 'is-drop-target' : undefined })); }), Object(external_this_wp_element_["createElement"])(block_list_appender, { rootClientId: rootClientId, - renderAppender: renderAppender + renderAppender: renderAppender, + className: targetClientId === null ? 'is-drop-target' : undefined }), 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 @@ -14876,7 +16864,7 @@ function ScaledBlockPreview(_ref) { if (blocks.length === 1) { var block = blocks[0]; - var previewElement = getBlockPreviewContainerDOMNode(block.clientId, containerElement); + var previewElement = getBlockPreviewContainerDOMNode(block.clientId); if (!previewElement) { return; @@ -15041,6 +17029,11 @@ function InserterListItem(_ref) { // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-types-list/index.js + +function block_types_list_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function block_types_list_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { block_types_list_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { block_types_list_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * WordPress dependencies */ @@ -15052,11 +17045,42 @@ function InserterListItem(_ref) { function BlockTypesList(_ref) { - var items = _ref.items, + var _ref$items = _ref.items, + items = _ref$items === void 0 ? [] : _ref$items, onSelect = _ref.onSelect, _ref$onHover = _ref.onHover, onHover = _ref$onHover === void 0 ? function () {} : _ref$onHover, children = _ref.children; + var normalizedItems = items.reduce(function (result, item) { + var _item$variations = item.variations, + variations = _item$variations === void 0 ? [] : _item$variations; + var hasDefaultVariation = variations.some(function (_ref2) { + var isDefault = _ref2.isDefault; + return isDefault; + }); // If there is no default inserter variation provided, + // then default block type is displayed. + + if (!hasDefaultVariation) { + result.push(item); + } + + if (variations.length) { + result = result.concat(variations.map(function (variation) { + return block_types_list_objectSpread({}, item, { + id: "".concat(item.id, "-").concat(variation.name), + icon: variation.icon || item.icon, + title: variation.title || item.title, + description: variation.description || item.description, + // If `example` is explicitly undefined for the variation, the preview will not be shown. + example: variation.hasOwnProperty('example') ? variation.example : item.example, + initialAttributes: block_types_list_objectSpread({}, item.initialAttributes, {}, variation.attributes), + innerBlocks: variation.innerBlocks + }); + })); + } + + return result; + }, []); return ( /* * Disable reason: The `list` ARIA role is redundant but @@ -15067,7 +17091,7 @@ function BlockTypesList(_ref) { Object(external_this_wp_element_["createElement"])("ul", { role: "list", className: "block-editor-block-types-list" - }, items && items.map(function (item) { + }, normalizedItems.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), @@ -15194,6 +17218,12 @@ __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 + + +function search_items_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function search_items_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { search_items_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { search_items_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -15231,25 +17261,29 @@ var search_items_removeMatchingTerms = function removeMatchingTerms(unmatchedTer * * @param {Array} items Item list * @param {Array} categories Available categories. + * @param {Array} collections Available collections. * @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); +var search_items_searchItems = function searchItems(items, categories, collections, searchTerm) { + var normalizedSearchTerms = search_items_normalizeSearchTerm(searchTerm); - if (normalizedTerms.length === 0) { + if (normalizedSearchTerms.length === 0) { return items; } return items.filter(function (_ref) { - var title = _ref.title, + var name = _ref.name, + title = _ref.title, category = _ref.category, _ref$keywords = _ref.keywords, - keywords = _ref$keywords === void 0 ? [] : _ref$keywords; - var unmatchedTerms = search_items_removeMatchingTerms(normalizedTerms, title); + keywords = _ref$keywords === void 0 ? [] : _ref$keywords, + _ref$variations = _ref.variations, + variations = _ref$variations === void 0 ? [] : _ref$variations; + var unmatchedTerms = search_items_removeMatchingTerms(normalizedSearchTerms, title); if (unmatchedTerms.length === 0) { return true; @@ -15264,7 +17298,38 @@ var search_items_searchItems = function searchItems(items, categories, searchTer unmatchedTerms = search_items_removeMatchingTerms(unmatchedTerms, Object(external_this_lodash_["get"])(Object(external_this_lodash_["find"])(categories, { slug: category }), ['title'])); + var itemCollection = collections[name.split('/')[0]]; + + if (itemCollection) { + unmatchedTerms = search_items_removeMatchingTerms(unmatchedTerms, itemCollection.title); + } + + if (unmatchedTerms.length === 0) { + return true; + } + + unmatchedTerms = search_items_removeMatchingTerms(unmatchedTerms, variations.map(function (variation) { + return variation.title; + }).join(' ')); return unmatchedTerms.length === 0; + }).map(function (item) { + if (Object(external_this_lodash_["isEmpty"])(item.variations)) { + return item; + } + + var matchedVariations = item.variations.filter(function (variation) { + return Object(external_this_lodash_["intersectionWith"])(normalizedSearchTerms, search_items_normalizeSearchTerm(variation.title), function (termToMatch, labelTerm) { + return labelTerm.includes(termToMatch); + }).length > 0; + }); // When no partterns matched, fallback to all variations. + + if (Object(external_this_lodash_["isEmpty"])(matchedVariations)) { + return item; + } + + return search_items_objectSpread({}, item, { + variations: matchedVariations + }); }); }; @@ -15278,6 +17343,12 @@ var search_items_searchItems = function searchItems(items, categories, searchTer + + +function menu_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function menu_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { menu_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { menu_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -15313,6 +17384,23 @@ var stopKeyPropagation = function stopKeyPropagation(event) { return event.stopPropagation(); }; +var getBlockNamespace = function getBlockNamespace(item) { + return item.name.split('/')[0]; +}; // Copied over from the Columns block. It seems like it should become part of public API. + + +var menu_createBlocksFromInnerBlocksTemplate = function createBlocksFromInnerBlocksTemplate(innerBlocksTemplate) { + return Object(external_this_lodash_["map"])(innerBlocksTemplate, function (_ref) { + var _ref2 = Object(slicedToArray["a" /* default */])(_ref, 3), + name = _ref2[0], + attributes = _ref2[1], + _ref2$ = _ref2[2], + innerBlocks = _ref2$ === void 0 ? [] : _ref2$; + + return Object(external_this_wp_blocks_["createBlock"])(name, attributes, createBlocksFromInnerBlocksTemplate(innerBlocks)); + }); +}; + var menu_InserterMenu = /*#__PURE__*/ function (_Component) { @@ -15331,6 +17419,7 @@ function (_Component) { suggestedItems: [], reusableItems: [], itemsPerCategory: {}, + itemsPerCollection: {}, openPanels: ['suggested'] }; _this.onChangeSearchInput = _this.onChangeSearchInput.bind(Object(assertThisInitialized["a" /* default */])(_this)); @@ -15414,7 +17503,7 @@ function (_Component) { } }, { key: "filterOpenPanels", - value: function filterOpenPanels(filterValue, itemsPerCategory, filteredItems, reusableItems) { + value: function filterOpenPanels(filterValue, itemsPerCategory, itemsPerCollection, filteredItems, reusableItems) { if (filterValue === this.state.filterValue) { return this.state.openPanels; } @@ -15430,7 +17519,7 @@ function (_Component) { } if (filteredItems.length > 0) { - openPanels = openPanels.concat(Object.keys(itemsPerCategory)); + openPanels = openPanels.concat(Object.keys(itemsPerCategory), Object.keys(itemsPerCollection)); } return openPanels; @@ -15441,13 +17530,14 @@ function (_Component) { var filterValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; var _this$props2 = this.props, categories = _this$props2.categories, + collections = _this$props2.collections, debouncedSpeak = _this$props2.debouncedSpeak, items = _this$props2.items, rootChildBlocks = _this$props2.rootChildBlocks; - var filteredItems = search_items_searchItems(items, categories, filterValue); + var filteredItems = search_items_searchItems(items, categories, collections, filterValue); - var childItems = Object(external_this_lodash_["filter"])(filteredItems, function (_ref) { - var name = _ref.name; + var childItems = Object(external_this_lodash_["filter"])(filteredItems, function (_ref3) { + var name = _ref3.name; return Object(external_this_lodash_["includes"])(rootChildBlocks, name); }); @@ -15478,7 +17568,19 @@ function (_Component) { return Object(external_this_lodash_["sortBy"])(itemList, getCategoryIndex); }, function (itemList) { return Object(external_this_lodash_["groupBy"])(itemList, 'category'); - })(filteredItems); + })(filteredItems); // Create a new Object to avoid mutating this.props.collection + + var itemsPerCollection = menu_objectSpread({}, collections); + + Object.keys(collections).forEach(function (namespace) { + itemsPerCollection[namespace] = filteredItems.filter(function (item) { + return getBlockNamespace(item) === namespace; + }); + + if (itemsPerCollection[namespace].length === 0) { + delete itemsPerCollection[namespace]; + } + }); this.setState({ hoveredItem: null, childItems: childItems, @@ -15486,7 +17588,8 @@ function (_Component) { suggestedItems: suggestedItems, reusableItems: reusableItems, itemsPerCategory: itemsPerCategory, - openPanels: this.filterOpenPanels(filterValue, itemsPerCategory, filteredItems, reusableItems) + itemsPerCollection: itemsPerCollection, + openPanels: this.filterOpenPanels(filterValue, itemsPerCategory, itemsPerCollection, filteredItems, reusableItems) }); var resultCount = Object.keys(itemsPerCategory).reduce(function (accumulator, currentCategorySlug) { return accumulator + itemsPerCategory[currentCategorySlug].length; @@ -15509,6 +17612,7 @@ function (_Component) { var _this$props3 = this.props, categories = _this$props3.categories, + collections = _this$props3.collections, instanceId = _this$props3.instanceId, onSelect = _this$props3.onSelect, rootClientId = _this$props3.rootClientId, @@ -15517,6 +17621,7 @@ function (_Component) { childItems = _this$state.childItems, hoveredItem = _this$state.hoveredItem, itemsPerCategory = _this$state.itemsPerCategory, + itemsPerCollection = _this$state.itemsPerCollection, openPanels = _this$state.openPanels, reusableItems = _this$state.reusableItems, suggestedItems = _this$state.suggestedItems, @@ -15526,7 +17631,7 @@ function (_Component) { 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 hasItems = !Object(external_this_lodash_["isEmpty"])(suggestedItems) || !Object(external_this_lodash_["isEmpty"])(reusableItems) || !Object(external_this_lodash_["isEmpty"])(itemsPerCategory) || !Object(external_this_lodash_["isEmpty"])(itemsPerCollection); 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 @@ -15593,6 +17698,25 @@ function (_Component) { onSelect: onSelect, onHover: _this4.onHover })); + }), Object(external_this_lodash_["map"])(collections, function (collection, namespace) { + var collectionItems = itemsPerCollection[namespace]; + + if (!collectionItems || !collectionItems.length) { + return null; + } + + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { + key: namespace, + title: collection.title, + icon: collection.icon, + opened: isPanelOpen(namespace), + onToggle: _this4.onTogglePanel(namespace), + ref: _this4.bindPanel(namespace) + }, Object(external_this_wp_element_["createElement"])(block_types_list, { + items: collectionItems, + 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'), @@ -15631,7 +17755,7 @@ function (_Component) { }))), 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 + blockType: hoveredItem }), 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", { @@ -15639,7 +17763,10 @@ function (_Component) { }, 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) + blocks: hoveredItemBlockType.example ? Object(external_this_wp_blocks_["getBlockFromExample"])(hoveredItem.name, { + attributes: menu_objectSpread({}, hoveredItemBlockType.example.attributes, {}, hoveredItem.initialAttributes), + innerBlocks: hoveredItemBlockType.example.innerBlocks + }) : 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", { @@ -15657,11 +17784,11 @@ function (_Component) { 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; +/* harmony default export */ var menu = (Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select, _ref4) { + var clientId = _ref4.clientId, + isAppender = _ref4.isAppender, + rootClientId = _ref4.rootClientId, + showInserterHelpPanel = _ref4.showInserterHelpPanel; var _select = select('core/block-editor'), getInserterItems = _select.getInserterItems, @@ -15672,6 +17799,7 @@ function (_Component) { var _select2 = select('core/blocks'), getCategories = _select2.getCategories, + getCollections = _select2.getCollections, getChildBlockNames = _select2.getChildBlockNames; var destinationRootClientId = rootClientId; @@ -15692,14 +17820,15 @@ function (_Component) { return { categories: getCategories(), + collections: getCollections(), 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; +}), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps, _ref5) { + var select = _ref5.select; var _dispatch = dispatch('core/block-editor'), _showInsertionPoint = _dispatch.showInsertionPoint, @@ -15755,9 +17884,10 @@ function (_Component) { selectBlockOnInsert = ownProps.__experimentalSelectBlockOnInsert; var name = item.name, title = item.title, - initialAttributes = item.initialAttributes; + initialAttributes = item.initialAttributes, + innerBlocks = item.innerBlocks; var selectedBlock = getSelectedBlock(); - var insertedBlock = Object(external_this_wp_blocks_["createBlock"])(name, initialAttributes); + var insertedBlock = Object(external_this_wp_blocks_["createBlock"])(name, initialAttributes, menu_createBlocksFromInnerBlocksTemplate(innerBlocks)); if (!isAppender && selectedBlock && Object(external_this_wp_blocks_["isUnmodifiedDefaultBlock"])(selectedBlock)) { replaceBlocks(selectedBlock.clientId, insertedBlock); @@ -15801,6 +17931,7 @@ function (_Component) { + /** * Internal dependencies */ @@ -15823,7 +17954,7 @@ var inserter_defaultRenderToggle = function defaultRenderToggle(_ref) { } return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - icon: "insert", + icon: plus_circle["a" /* default */], label: label, tooltipPosition: "bottom", onClick: onToggle, @@ -15950,15 +18081,22 @@ function (_Component) { }(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 clientId = _ref4.clientId, + rootClientId = _ref4.rootClientId; var _select = select('core/block-editor'), + getBlockRootClientId = _select.getBlockRootClientId, hasInserterItems = _select.hasInserterItems, __experimentalGetAllowedBlocks = _select.__experimentalGetAllowedBlocks; + var _select2 = select('core/blocks'), + getBlockVariations = _select2.__experimentalGetBlockVariations; + + rootClientId = rootClientId || getBlockRootClientId(clientId) || undefined; + var allowedBlocks = __experimentalGetAllowedBlocks(rootClientId); - var hasSingleBlockType = allowedBlocks && Object(external_this_lodash_["get"])(allowedBlocks, ['length'], 0) === 1; + var hasSingleBlockType = Object(external_this_lodash_["size"])(allowedBlocks) === 1 && Object(external_this_lodash_["size"])(getBlockVariations(allowedBlocks[0].name, 'inserter')) === 0; var allowedBlockType = false; if (hasSingleBlockType) { @@ -15969,7 +18107,8 @@ function (_Component) { hasItems: hasInserterItems(rootClientId), hasSingleBlockType: hasSingleBlockType, blockTitle: allowedBlockType ? allowedBlockType.title : '', - allowedBlockType: allowedBlockType + allowedBlockType: allowedBlockType, + rootClientId: rootClientId }; }), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps, _ref5) { var select = _ref5.select; @@ -15987,10 +18126,10 @@ function (_Component) { } 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. + var _select3 = select('core/block-editor'), + getBlockIndex = _select3.getBlockIndex, + getBlockSelectionEnd = _select3.getBlockSelectionEnd, + getBlockOrder = _select3.getBlockOrder; // If the clientId is defined, we insert at the position of the block. if (clientId) { @@ -16039,20 +18178,18 @@ function (_Component) { + /** * 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, { + return Object(external_this_wp_element_["createElement"])(inserter, { rootClientId: rootClientId, __experimentalSelectBlockOnInsert: selectBlockOnInsert, renderToggle: function renderToggle(_ref2) { @@ -16082,12 +18219,12 @@ function button_block_appender_ButtonBlockAppender(_ref) { 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" + }, label), Object(external_this_wp_element_["createElement"])(build_module_icon["a" /* default */], { + icon: plus_circle["a" /* default */] }))); }, isAppender: true - })); + }); } /** * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/button-block-appender/README.md @@ -16111,37 +18248,12 @@ function button_block_appender_ButtonBlockAppender(_ref) { - /** * 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, @@ -16177,7 +18289,7 @@ function BlockNavigationList(_ref) { }, Object(external_this_wp_element_["createElement"])(BlockIcon, { icon: blockType.icon, showColors: true - }), getBlockDisplayName(blockType, block.attributes), isSelected && Object(external_this_wp_element_["createElement"])("span", { + }), Object(external_this_wp_blocks_["__experimentalGetBlockLabel"])(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, @@ -16343,7 +18455,7 @@ function BlockNavigationDropdown(_ref2) { /* harmony default export */ var dropdown = (BlockNavigationDropdown); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-pattern-picker/index.js +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-variation-picker/index.js /** @@ -16357,18 +18469,18 @@ function BlockNavigationDropdown(_ref2) { -function BlockPatternPicker(_ref) { +function BlockVariationPicker(_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, + label = _ref$label === void 0 ? Object(external_this_wp_i18n_["__"])('Choose variation') : _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, + instructions = _ref$instructions === void 0 ? Object(external_this_wp_i18n_["__"])('Select a variation to start with.') : _ref$instructions, + variations = _ref.variations, onSelect = _ref.onSelect, allowSkip = _ref.allowSkip; - var classes = classnames_default()('block-editor-block-pattern-picker', { - 'has-many-patterns': patterns.length > 4 + var classes = classnames_default()('block-editor-block-variation-picker', { + 'has-many-variations': variations.length > 4 }); return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], { icon: icon, @@ -16376,23 +18488,23 @@ function BlockPatternPicker(_ref) { instructions: instructions, className: classes }, Object(external_this_wp_element_["createElement"])("ul", { - className: "block-editor-block-pattern-picker__patterns", + className: "block-editor-block-variation-picker__variations", role: "list" - }, patterns.map(function (pattern) { + }, variations.map(function (variation) { return Object(external_this_wp_element_["createElement"])("li", { - key: pattern.name + key: variation.name }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { isSecondary: true, - icon: pattern.icon, + icon: variation.icon, iconSize: 48, onClick: function onClick() { - return onSelect(pattern); + return onSelect(variation); }, - className: "block-editor-block-pattern-picker__pattern", - label: pattern.label + className: "block-editor-block-variation-picker__variation", + label: variation.title })); })), allowSkip && Object(external_this_wp_element_["createElement"])("div", { - className: "block-editor-block-pattern-picker__skip" + className: "block-editor-block-variation-picker__skip" }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { isLink: true, onClick: function onClick() { @@ -16401,7 +18513,7 @@ function BlockPatternPicker(_ref) { }, Object(external_this_wp_i18n_["__"])('Skip')))); } -/* harmony default export */ var block_pattern_picker = (BlockPatternPicker); +/* harmony default export */ var block_variation_picker = (BlockVariationPicker); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-vertical-alignment-toolbar/icons.js @@ -16448,6 +18560,10 @@ var alignTop = Object(external_this_wp_element_["createElement"])(external_this_ +function block_vertical_alignment_toolbar_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function block_vertical_alignment_toolbar_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { block_vertical_alignment_toolbar_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { block_vertical_alignment_toolbar_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * WordPress dependencies */ @@ -16495,7 +18611,7 @@ function BlockVerticalAlignmentToolbar(_ref) { 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], { + return block_vertical_alignment_toolbar_objectSpread({}, block_vertical_alignment_toolbar_BLOCK_ALIGNMENTS_CONTROLS[control], { isActive: value === control, role: isCollapsed ? 'menuitemradio' : undefined, onClick: applyOrUnset(control) @@ -16557,7 +18673,7 @@ function ColorPaletteControl(_ref) { 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, { + return Object(external_this_wp_element_["createElement"])(control, Object(esm_extends["a" /* default */])({}, otherProps, { onColorChange: onChange, colorValue: value, gradients: [], @@ -16683,8 +18799,141 @@ function GradientPanel(props) { }, Object(external_this_wp_element_["createElement"])(gradient_picker_control, props)); } +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/image-size-control/index.js + + + + + + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + + +var image_size_control_ImageSizeControl = +/*#__PURE__*/ +function (_Component) { + Object(inherits["a" /* default */])(ImageSizeControl, _Component); + + /** + * Run additional operations during component initialization. + * + * @param {Object} props + */ + function ImageSizeControl(props) { + var _this; + + Object(classCallCheck["a" /* default */])(this, ImageSizeControl); + + _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(ImageSizeControl).call(this, props)); + _this.updateDimensions = _this.updateDimensions.bind(Object(assertThisInitialized["a" /* default */])(_this)); + return _this; + } + + Object(createClass["a" /* default */])(ImageSizeControl, [{ + key: "updateDimensions", + value: function updateDimensions() { + var _this2 = this; + + var width = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : undefined; + var height = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined; + return function () { + _this2.props.onChange({ + width: width, + height: height + }); + }; + } + }, { + key: "render", + value: function render() { + var _this3 = this; + + var _this$props = this.props, + imageWidth = _this$props.imageWidth, + imageHeight = _this$props.imageHeight, + _this$props$imageSize = _this$props.imageSizeOptions, + imageSizeOptions = _this$props$imageSize === void 0 ? [] : _this$props$imageSize, + _this$props$isResizab = _this$props.isResizable, + isResizable = _this$props$isResizab === void 0 ? true : _this$props$isResizab, + slug = _this$props.slug, + width = _this$props.width, + height = _this$props.height, + _onChange = _this$props.onChange, + _this$props$onChangeI = _this$props.onChangeImage, + onChangeImage = _this$props$onChangeI === void 0 ? external_this_lodash_["noop"] : _this$props$onChangeI; + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, !Object(external_this_lodash_["isEmpty"])(imageSizeOptions) && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], { + label: Object(external_this_wp_i18n_["__"])('Image Size'), + value: slug, + options: imageSizeOptions, + onChange: onChangeImage + }), isResizable && Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-image-size-control" + }, Object(external_this_wp_element_["createElement"])("p", { + className: "block-editor-image-size-control__row" + }, Object(external_this_wp_i18n_["__"])('Image Dimensions')), Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-image-size-control__row" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], { + type: "number", + className: "block-editor-image-size-control__width", + label: Object(external_this_wp_i18n_["__"])('Width'), + value: width || imageWidth || '', + min: 1, + onChange: function onChange(value) { + return _onChange({ + width: parseInt(value, 10) + }); + } + }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], { + type: "number", + className: "block-editor-image-size-control__height", + label: Object(external_this_wp_i18n_["__"])('Height'), + value: height || imageHeight || '', + min: 1, + onChange: function onChange(value) { + return _onChange({ + height: parseInt(value, 10) + }); + } + })), Object(external_this_wp_element_["createElement"])("div", { + className: "block-editor-image-size-control__row" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ButtonGroup"], { + "aria-label": Object(external_this_wp_i18n_["__"])('Image Size') + }, [25, 50, 75, 100].map(function (scale) { + var scaledWidth = Math.round(imageWidth * (scale / 100)); + var scaledHeight = Math.round(imageHeight * (scale / 100)); + var isCurrent = width === scaledWidth && height === scaledHeight; + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + key: scale, + isSmall: true, + isPrimary: isCurrent, + isPressed: isCurrent, + onClick: _this3.updateDimensions(scaledWidth, scaledHeight) + }, scale, "%"); + })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + isSmall: true, + onClick: this.updateDimensions() + }, Object(external_this_wp_i18n_["__"])('Reset'))))); + } + }]); + + return ImageSizeControl; +}(external_this_wp_element_["Component"]); + +/* harmony default export */ var image_size_control = (image_size_control_ImageSizeControl); + // EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]} -var external_this_wp_isShallowEqual_ = __webpack_require__(46); +var external_this_wp_isShallowEqual_ = __webpack_require__(50); 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 @@ -16828,8 +19077,11 @@ function (_Component) { key: "componentDidMount", value: function componentDidMount() { var _this$props = this.props, + block = _this$props.block, templateLock = _this$props.templateLock, - block = _this$props.block; + __experimentalBlocks = _this$props.__experimentalBlocks, + replaceInnerBlocks = _this$props.replaceInnerBlocks, + __unstableMarkNextChangeAsNotPersistent = _this$props.__unstableMarkNextChangeAsNotPersistent; 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') { @@ -16840,15 +19092,25 @@ function (_Component) { this.setState({ templateInProcess: false }); + } // Set controlled blocks value from parent, if any. + + + if (__experimentalBlocks) { + __unstableMarkNextChangeAsNotPersistent(); + + replaceInnerBlocks(__experimentalBlocks); } } }, { key: "componentDidUpdate", value: function componentDidUpdate(prevProps) { var _this$props2 = this.props, - template = _this$props2.template, block = _this$props2.block, - templateLock = _this$props2.templateLock; + templateLock = _this$props2.templateLock, + template = _this$props2.template, + isLastBlockChangePersistent = _this$props2.isLastBlockChangePersistent, + onInput = _this$props2.onInput, + onChange = _this$props2.onChange; var innerBlocks = block.innerBlocks; this.updateNestedSettings(); // Only synchronize innerBlocks with template if innerBlocks are empty or a locking all exists directly on the block. @@ -16858,6 +19120,15 @@ function (_Component) { if (hasTemplateChanged) { this.synchronizeBlocksWithTemplate(); } + } // Sync with controlled blocks value from parent, if possible. + + + if (prevProps.block.innerBlocks !== innerBlocks) { + var resetFunc = isLastBlockChangePersistent ? onChange : onInput; + + if (resetFunc) { + resetFunc(innerBlocks); + } } } /** @@ -16890,11 +19161,15 @@ function (_Component) { updateNestedSettings = _this$props4.updateNestedSettings, templateLock = _this$props4.templateLock, parentLock = _this$props4.parentLock, - __experimentalCaptureToolbars = _this$props4.__experimentalCaptureToolbars; + __experimentalCaptureToolbars = _this$props4.__experimentalCaptureToolbars, + __experimentalMoverDirection = _this$props4.__experimentalMoverDirection, + __experimentalUIParts = _this$props4.__experimentalUIParts; var newSettings = { allowedBlocks: allowedBlocks, templateLock: templateLock === undefined ? parentLock : templateLock, - __experimentalCaptureToolbars: __experimentalCaptureToolbars || false + __experimentalCaptureToolbars: __experimentalCaptureToolbars || false, + __experimentalMoverDirection: __experimentalMoverDirection, + __experimentalUIParts: __experimentalUIParts }; if (!external_this_wp_isShallowEqual_default()(blockListSettings, newSettings)) { @@ -16939,7 +19214,8 @@ inner_blocks_InnerBlocks = Object(external_this_wp_compose_["compose"])([Object( getBlockListSettings = _select.getBlockListSettings, getBlockRootClientId = _select.getBlockRootClientId, getTemplateLock = _select.getTemplateLock, - isNavigationMode = _select.isNavigationMode; + isNavigationMode = _select.isNavigationMode, + isLastBlockChangePersistent = _select.isLastBlockChangePersistent; var clientId = ownProps.clientId, isSmallScreen = ownProps.isSmallScreen; @@ -16950,11 +19226,13 @@ inner_blocks_InnerBlocks = Object(external_this_wp_compose_["compose"])([Object( blockListSettings: getBlockListSettings(clientId), hasOverlay: block.name !== 'core/template' && !isBlockSelected(clientId) && !hasSelectedInnerBlock(clientId, true), parentLock: getTemplateLock(rootClientId), - enableClickThrough: isNavigationMode() || isSmallScreen + enableClickThrough: isNavigationMode() || isSmallScreen, + isLastBlockChangePersistent: isLastBlockChangePersistent() }; }), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps) { var _dispatch = dispatch('core/block-editor'), _replaceInnerBlocks = _dispatch.replaceInnerBlocks, + __unstableMarkNextChangeAsNotPersistent = _dispatch.__unstableMarkNextChangeAsNotPersistent, updateBlockListSettings = _dispatch.updateBlockListSettings; var block = ownProps.block, @@ -16963,8 +19241,9 @@ inner_blocks_InnerBlocks = Object(external_this_wp_compose_["compose"])([Object( templateInsertUpdatesSelection = _ownProps$templateIns === void 0 ? true : _ownProps$templateIns; return { replaceInnerBlocks: function replaceInnerBlocks(blocks) { - _replaceInnerBlocks(clientId, blocks, block.innerBlocks.length === 0 && templateInsertUpdatesSelection); + _replaceInnerBlocks(clientId, blocks, block.innerBlocks.length === 0 && templateInsertUpdatesSelection && blocks.length !== 0); }, + __unstableMarkNextChangeAsNotPersistent: __unstableMarkNextChangeAsNotPersistent, updateNestedSettings: function updateNestedSettings(settings) { dispatch(updateBlockListSettings(clientId, settings)); } @@ -17005,11 +19284,16 @@ 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); +var asyncToGenerator = __webpack_require__(47); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/settings-drawer.js + +function settings_drawer_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function settings_drawer_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { settings_drawer_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { settings_drawer_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -17021,24 +19305,24 @@ var asyncToGenerator = __webpack_require__(44); var defaultSettings = [{ - id: 'newTab', - title: Object(external_this_wp_i18n_["__"])('Open in New Tab'), - checked: false + id: 'opensInNewTab', + title: Object(external_this_wp_i18n_["__"])('Open in New Tab') }]; 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; + var value = _ref.value, + _ref$onChange = _ref.onChange, + onChange = _ref$onChange === void 0 ? external_this_lodash_["noop"] : _ref$onChange, + _ref$settings = _ref.settings, + settings = _ref$settings === void 0 ? defaultSettings : _ref$settings; if (!settings || !settings.length) { return null; } var handleSettingChange = function handleSettingChange(setting) { - return function (value) { - onSettingChange(setting.id, value, settings); + return function (newValue) { + onChange(settings_drawer_objectSpread({}, value, Object(defineProperty["a" /* default */])({}, setting.id, newValue))); }; }; @@ -17048,7 +19332,7 @@ var settings_drawer_LinkControlSettingsDrawer = function LinkControlSettingsDraw key: setting.id, label: setting.title, onChange: handleSettingChange(setting), - checked: setting.checked + checked: value ? value[setting.id] : false }); }); return Object(external_this_wp_element_["createElement"])("fieldset", { @@ -17085,9 +19369,7 @@ var search_item_LinkControlSearchItem = function LinkControlSearchItem(_ref) { 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, { + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], Object(esm_extends["a" /* default */])({}, itemProps, { onClick: onClick, className: classnames_default()('block-editor-link-control__search-item', { 'is-selected': isSelected, @@ -17116,18 +19398,36 @@ var search_item_LinkControlSearchItem = function LinkControlSearchItem(_ref) { // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/search-input.js + /** * WordPress dependencies */ + /** * Internal dependencies */ +var search_input_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 search_input_handleLinkControlOnKeyPress = function handleLinkControlOnKeyPress(event) { + var keyCode = event.keyCode; + event.stopPropagation(); + + if (keyCode === external_this_wp_keycodes_["ENTER"]) {} +}; + var search_input_LinkControlSearchInput = function LinkControlSearchInput(_ref) { var value = _ref.value, onChange = _ref.onChange, @@ -17135,24 +19435,30 @@ var search_input_LinkControlSearchInput = function LinkControlSearchInput(_ref) renderSuggestions = _ref.renderSuggestions, fetchSuggestions = _ref.fetchSuggestions, onReset = _ref.onReset, - _onKeyDown = _ref.onKeyDown, - onKeyPress = _ref.onKeyPress; + showInitialSuggestions = _ref.showInitialSuggestions; + + var _useState = Object(external_this_wp_element_["useState"])(), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + selectedSuggestion = _useState2[0], + setSelectedSuggestion = _useState2[1]; var selectItemHandler = function selectItemHandler(selection, suggestion) { onChange(selection); - - if (suggestion) { - onSelect(suggestion); - } + setSelectedSuggestion(suggestion); }; - var stopFormEventsPropagation = function stopFormEventsPropagation(event) { - event.preventDefault(); - event.stopPropagation(); - }; + function selectSuggestionOrCurrentInputValue(event) { + // Avoid default forms behavior, since it's being handled custom here. + event.preventDefault(); // Interpret the selected value as either the selected suggestion, if + // exists, or otherwise the current input value as entered. + + onSelect(selectedSuggestion || { + url: value + }); + } return Object(external_this_wp_element_["createElement"])("form", { - onSubmit: stopFormEventsPropagation + onSubmit: selectSuggestionOrCurrentInputValue }, Object(external_this_wp_element_["createElement"])(url_input, { className: "block-editor-link-control__search-input", value: value, @@ -17162,13 +19468,14 @@ var search_input_LinkControlSearchInput = function LinkControlSearchInput(_ref) return; } - _onKeyDown(event); + search_input_handleLinkControlOnKeyDown(event); }, - onKeyPress: onKeyPress, + onKeyPress: search_input_handleLinkControlOnKeyPress, placeholder: Object(external_this_wp_i18n_["__"])('Search or type url'), __experimentalRenderSuggestions: renderSuggestions, __experimentalFetchLinkSuggestions: fetchSuggestions, - __experimentalHandleURLSuggestions: true + __experimentalHandleURLSuggestions: true, + __experimentalShowInitialSuggestions: showInitialSuggestions }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { disabled: !value.length, type: "reset", @@ -17188,6 +19495,11 @@ var search_input_LinkControlSearchInput = function LinkControlSearchInput(_ref) + +function link_control_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function link_control_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { link_control_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { link_control_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -17203,6 +19515,7 @@ var search_input_LinkControlSearchInput = function LinkControlSearchInput(_ref) + /** * Internal dependencies */ @@ -17210,96 +19523,132 @@ var search_input_LinkControlSearchInput = function LinkControlSearchInput(_ref) -var MODE_EDIT = 'edit'; // const MODE_SHOW = 'show'; +/** + * Default properties associated with a link control value. + * + * @typedef WPLinkControlDefaultValue + * + * @property {string} url Link URL. + * @property {string=} title Link title. + * @property {boolean=} opensInNewTab Whether link should open in a new browser + * tab. This value is only assigned if not + * providing a custom `settings` prop. + */ + +/** + * Custom settings values associated with a link. + * + * @typedef {{[setting:string]:any}} WPLinkControlSettingsValue + */ + +/** + * Custom settings values associated with a link. + * + * @typedef WPLinkControlSetting + * + * @property {string} id Identifier to use as property for setting value. + * @property {string} title Human-readable label to show in user interface. + */ + +/** + * Properties associated with a link control value, composed as a union of the + * default properties and any custom settings values. + * + * @typedef {WPLinkControlDefaultValue&WPLinkControlSettingsValue} WPLinkControlValue + */ + +/** @typedef {(nextValue:WPLinkControlValue)=>void} WPLinkControlOnChangeProp */ + +/** + * @typedef WPLinkControlProps + * + * @property {(WPLinkControlSetting[])=} settings An array of settings objects. Each object will used to + * render a `ToggleControl` for that setting. + * @property {(search:string)=>Promise=} fetchSearchSuggestions Fetches suggestions for a given search term, + * returning a promise resolving once fetch is complete. + * @property {WPLinkControlValue=} value Current link value. + * @property {WPLinkControlOnChangeProp=} onChange Value change handler, called with the updated value if + * the user selects a new link or updates settings. + * @property {boolean=} showInitialSuggestions Whether to present initial suggestions immediately. + */ + +/** + * Renders a link control. A link control is a controlled input which maintains + * a value associated with a link (HTML anchor element) and relevant settings + * for how that link is expected to behave. + * + * @param {WPLinkControlProps} props Component props. + */ function LinkControl(_ref) { - var 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; + var value = _ref.value, + settings = _ref.settings, + _ref$onChange = _ref.onChange, + onChange = _ref$onChange === void 0 ? external_this_lodash_["noop"] : _ref$onChange, + showInitialSuggestions = _ref.showInitialSuggestions; + var wrapperNode = Object(external_this_wp_element_["useRef"])(); + var instanceId = Object(external_this_wp_compose_["useInstanceId"])(LinkControl); - // State - var _useState = Object(external_this_wp_element_["useState"])(''), + var _useState = Object(external_this_wp_element_["useState"])(value && value.url || ''), _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), inputValue = _useState2[0], setInputValue = _useState2[1]; - var _useState3 = Object(external_this_wp_element_["useState"])(false), + var _useState3 = Object(external_this_wp_element_["useState"])(!value || !value.url), _useState4 = Object(slicedToArray["a" /* default */])(_useState3, 2), isEditingLink = _useState4[0], - setIsEditingLink = _useState4[1]; // Effects + setIsEditingLink = _useState4[1]; + var isEndingEditWithFocus = Object(external_this_wp_element_["useRef"])(false); + var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { + var _select = select('core/block-editor'), + getSettings = _select.getSettings; + + return { + fetchSearchSuggestions: getSettings().__experimentalFetchLinkSuggestions + }; + }, []), + fetchSearchSuggestions = _useSelect.fetchSearchSuggestions; + + var displayURL = value && Object(external_this_wp_url_["filterURLForDisplay"])(Object(external_this_wp_url_["safeDecodeURI"])(value.url)) || ''; 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 + // When `isEditingLink` is set to `false`, a focus loss could occur + // since the link input may be removed from the DOM. To avoid this, + // reinstate focus to a suitable target if focus has in-fact been lost. + // Note that the check is necessary because while typically unsetting + // edit mode would render the read-only mode's link element, it isn't + // guaranteed. The link input may continue to be shown if the next value + // is still unassigned after calling `onChange`. + var hadFocusLoss = isEndingEditWithFocus.current && wrapperNode.current && !wrapperNode.current.contains(document.activeElement); + if (hadFocusLoss) { + // Prefer to focus a natural focusable descendent of the wrapper, + // but settle for the wrapper if there are no other options. + var nextFocusTarget = external_this_wp_dom_["focus"].focusable.find(wrapperNode.current)[0] || wrapperNode.current; + nextFocusTarget.focus(); + } + + isEndingEditWithFocus.current = false; + }, [isEditingLink]); /** * onChange LinkControlSearchInput event handler * - * @param {string} value Current value returned by the search. + * @param {string} val 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 val = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; + setInputValue(val); }; var resetInput = function resetInput() { setInputValue(''); }; - var handleDirectEntry = function handleDirectEntry(value) { + var handleDirectEntry = function handleDirectEntry(val) { var type = 'URL'; - var protocol = Object(external_this_wp_url_["getProtocol"])(value) || ''; + var protocol = Object(external_this_wp_url_["getProtocol"])(val) || ''; if (protocol.includes('mailto')) { type = 'mailto'; @@ -17309,14 +19658,14 @@ function LinkControl(_ref) { type = 'tel'; } - if (Object(external_this_lodash_["startsWith"])(value, '#')) { + if (Object(external_this_lodash_["startsWith"])(val, '#')) { type = 'internal'; } return Promise.resolve([{ id: '-1', - title: value, - url: type === 'URL' ? Object(external_this_wp_url_["prependHTTP"])(value) : value, + title: val, + url: type === 'URL' ? Object(external_this_wp_url_["prependHTTP"])(val) : val, type: type }]); }; @@ -17326,22 +19675,24 @@ function LinkControl(_ref) { function () { var _ref2 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/ - external_this_regeneratorRuntime_default.a.mark(function _callee(value) { + external_this_regeneratorRuntime_default.a.mark(function _callee(val, args) { 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)]); + return Promise.all([fetchSearchSuggestions(val, link_control_objectSpread({}, args.isInitialSuggestions ? { + perPage: 3 + } : {})), handleDirectEntry(val)]); case 2: results = _context.sent; - couldBeURL = !value.includes(' '); // If it's potentially a URL search then concat on a URL search suggestion + couldBeURL = !val.includes(' '); // If it's potentially a URL search then concat on a URL search suggestion // just for good measure. That way once the actual results run out we always // have a URL option to fallback on. - return _context.abrupt("return", couldBeURL ? results[0].concat(results[1]) : results[0]); + return _context.abrupt("return", couldBeURL && !args.isInitialSuggestions ? results[0].concat(results[1]) : results[0]); case 5: case "end": @@ -17351,19 +19702,29 @@ function LinkControl(_ref) { }, _callee); })); - return function handleEntitySearch(_x) { + return function handleEntitySearch(_x, _x2) { return _ref2.apply(this, arguments); }; - }(); // Effects + }(); + /** + * Cancels editing state and marks that focus may need to be restored after + * the next render, if focus was within the wrapper when editing finished. + */ - var getSearchHandler = Object(external_this_wp_element_["useCallback"])(function (value) { - var protocol = Object(external_this_wp_url_["getProtocol"])(value) || ''; + function stopEditing() { + isEndingEditWithFocus.current = !!wrapperNode.current && wrapperNode.current.contains(document.activeElement); + setIsEditingLink(false); + } // Effects + + + var getSearchHandler = Object(external_this_wp_element_["useCallback"])(function (val, args) { + var protocol = Object(external_this_wp_url_["getProtocol"])(val) || ''; var isMailto = protocol.includes('mailto'); - var isInternal = Object(external_this_lodash_["startsWith"])(value, '#'); + var isInternal = Object(external_this_lodash_["startsWith"])(val, '#'); 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); + var handleManualEntry = isInternal || isMailto || isTel || Object(external_this_wp_url_["isURL"])(val) || val && val.includes('www.'); + return handleManualEntry ? handleDirectEntry(val, args) : handleEntitySearch(val, args); }, [handleDirectEntry, fetchSearchSuggestions]); // Render Components var renderSearchResults = function renderSearchResults(_ref3) { @@ -17371,22 +19732,36 @@ function LinkControl(_ref) { buildSuggestionItemProps = _ref3.buildSuggestionItemProps, suggestions = _ref3.suggestions, selectedSuggestion = _ref3.selectedSuggestion, - isLoading = _ref3.isLoading; + isLoading = _ref3.isLoading, + isInitialSuggestions = _ref3.isInitialSuggestions; var resultsListClasses = classnames_default()('block-editor-link-control__search-results', { 'is-loading': isLoading }); var manualLinkEntryTypes = ['url', 'mailto', 'tel', 'internal']; + var searchResultsLabelId = isInitialSuggestions ? "block-editor-link-control-search-results-label-".concat(instanceId) : undefined; + var labelText = isInitialSuggestions ? Object(external_this_wp_i18n_["__"])('Recently updated') : Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Search results for %s'), inputValue); // According to guidelines aria-label should be added if the label + // itself is not visible. + // See: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/listbox_role + + var ariaLabel = isInitialSuggestions ? undefined : labelText; + var SearchResultsLabel = Object(external_this_wp_element_["createElement"])("span", { + className: "block-editor-link-control__search-results-label", + id: searchResultsLabelId, + "aria-label": ariaLabel + }, labelText); 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 + }, isInitialSuggestions ? SearchResultsLabel : Object(external_this_wp_element_["createElement"])(external_this_wp_components_["VisuallyHidden"], null, SearchResultsLabel), Object(external_this_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({}, suggestionsListProps, { + className: resultsListClasses, + "aria-labelledby": searchResultsLabelId }), 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); + onChange(link_control_objectSpread({}, value, {}, suggestion)); + stopEditing(); }, isSelected: index === selectedSuggestion, isURL: manualLinkEntryTypes.includes(suggestion.type.toLowerCase()), @@ -17395,16 +19770,22 @@ function LinkControl(_ref) { }))); }; - 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", { + return Object(external_this_wp_element_["createElement"])("div", { + tabIndex: -1, + ref: wrapperNode, + className: "block-editor-link-control" + }, isEditingLink || !value ? Object(external_this_wp_element_["createElement"])(search_input, { + value: inputValue, + onChange: onInputChange, + onSelect: function onSelect(suggestion) { + onChange(link_control_objectSpread({}, value, {}, suggestion)); + stopEditing(); + }, + renderSuggestions: renderSearchResults, + fetchSuggestions: getSearchHandler, + onReset: resetInput, + showInitialSuggestions: showInitialSuggestions + }) : 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", { @@ -17417,40 +19798,23 @@ function LinkControl(_ref) { 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", { + href: value.url + }, value && value.title || displayURL), value && value.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"], { + }, displayURL)), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { isSecondary: true, - onClick: setMode(MODE_EDIT), + onClick: function onClick() { + return setIsEditingLink(true); + }, 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 - })))); + }, Object(external_this_wp_i18n_["__"])('Edit'))), Object(external_this_wp_element_["createElement"])(settings_drawer, { + value: value, + settings: settings, + onChange: onChange + }))); } -/* 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)); +/* harmony default export */ var link_control = (LinkControl); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/media-upload/index.js /** @@ -17554,6 +19918,7 @@ function (_Component) { _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.isUpdatingSuggestions = false; _this.state = { suggestions: [], showSuggestions: false, @@ -17581,6 +19946,17 @@ function (_Component) { _this2.scrollingIntoView = false; }, 100); } + + if (this.shouldShowInitialSuggestions()) { + this.updateSuggestions(); + } + } + }, { + key: "componentDidMount", + value: function componentDidMount() { + if (this.shouldShowInitialSuggestions()) { + this.updateSuggestions(); + } } }, { key: "componentWillUnmount", @@ -17597,21 +19973,37 @@ function (_Component) { }; } }, { - key: "updateSuggestions", - value: function updateSuggestions(value) { - var _this4 = this; + key: "shouldShowInitialSuggestions", + value: function shouldShowInitialSuggestions() { + var suggestions = this.state.suggestions; var _this$props = this.props, - fetchLinkSuggestions = _this$props.__experimentalFetchLinkSuggestions, - handleURLSuggestions = _this$props.__experimentalHandleURLSuggestions; + _this$props$__experim = _this$props.__experimentalShowInitialSuggestions, + __experimentalShowInitialSuggestions = _this$props$__experim === void 0 ? false : _this$props$__experim, + value = _this$props.value; + + return !this.isUpdatingSuggestions && __experimentalShowInitialSuggestions && !(value && value.length) && !(suggestions && suggestions.length); + } + }, { + key: "updateSuggestions", + value: function updateSuggestions() { + var _this4 = this; + + var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; + var _this$props2 = this.props, + fetchLinkSuggestions = _this$props2.__experimentalFetchLinkSuggestions, + handleURLSuggestions = _this$props2.__experimentalHandleURLSuggestions; if (!fetchLinkSuggestions) { return; - } // Show the suggestions after typing at least 2 characters - // and also for URLs + } + var isInitialSuggestions = !(value && value.length); // Allow a suggestions request if: + // - there are at least 2 characters in the search input (except manual searches where + // search input length is not required to trigger a fetch) + // - this is a direct entry (eg: a URL) - if (value.length < 2 || !handleURLSuggestions && Object(external_this_wp_url_["isURL"])(value)) { + if (!isInitialSuggestions && (value.length < 2 || !handleURLSuggestions && Object(external_this_wp_url_["isURL"])(value))) { this.setState({ showSuggestions: false, selectedSuggestion: null, @@ -17620,12 +20012,15 @@ function (_Component) { return; } + this.isUpdatingSuggestions = true; this.setState({ showSuggestions: true, selectedSuggestion: null, loading: true }); - var request = fetchLinkSuggestions(value); + var request = fetchLinkSuggestions(value, { + isInitialSuggestions: isInitialSuggestions + }); 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 @@ -17644,13 +20039,19 @@ function (_Component) { } else { _this4.props.debouncedSpeak(Object(external_this_wp_i18n_["__"])('No results.'), 'assertive'); } + + _this4.isUpdatingSuggestions = false; }).catch(function () { if (_this4.suggestionsRequest === request) { _this4.setState({ loading: false }); + + _this4.isUpdatingSuggestions = false; } - }); + }); // Note that this assignment is handled *before* the async search request + // as a Promise always resolves on the next tick of the event loop. + this.suggestionsRequest = request; } }, { @@ -17673,7 +20074,7 @@ function (_Component) { 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) { + if (!showSuggestions || !suggestions.length || loading) { // In the Windows version of Firefox the up and down arrows don't move the caret // within an input field like they do for Mac Firefox/Chrome/Safari. This causes // a form of focus trapping that is disruptive to the user experience. This disruption @@ -17780,19 +20181,22 @@ function (_Component) { 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$props3 = this.props, + label = _this$props3.label, + instanceId = _this$props3.instanceId, + className = _this$props3.className, + isFullWidth = _this$props3.isFullWidth, + hasBorder = _this$props3.hasBorder, + renderSuggestions = _this$props3.__experimentalRenderSuggestions, + _this$props3$placehol = _this$props3.placeholder, + placeholder = _this$props3$placehol === void 0 ? Object(external_this_wp_i18n_["__"])('Paste URL or type to search') : _this$props3$placehol, + _this$props3$value = _this$props3.value, + value = _this$props3$value === void 0 ? '' : _this$props3$value, + _this$props3$autoFocu = _this$props3.autoFocus, + autoFocus = _this$props3$autoFocu === void 0 ? true : _this$props3$autoFocu, + _this$props3$__experi = _this$props3.__experimentalShowInitialSuggestions, + __experimentalShowInitialSuggestions = _this$props3$__experi === void 0 ? false : _this$props3$__experi; + var _this$state3 = this.state, showSuggestions = _this$state3.showSuggestions, suggestions = _this$state3.suggestions, @@ -17848,7 +20252,8 @@ function (_Component) { suggestionsListProps: suggestionsListProps, buildSuggestionItemProps: buildSuggestionItemProps, isLoading: loading, - handleSuggestionClick: this.handleOnClick + handleSuggestionClick: this.handleOnClick, + isInitialSuggestions: __experimentalShowInitialSuggestions && !(value && value.length) }), !Object(external_this_lodash_["isFunction"])(renderSuggestions) && showSuggestions && !!suggestions.length && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], { position: "bottom", noArrow: true, @@ -17872,13 +20277,15 @@ function (_Component) { key: "getDerivedStateFromProps", value: function getDerivedStateFromProps(_ref, _ref2) { var value = _ref.value, - disableSuggestions = _ref.disableSuggestions; - var showSuggestions = _ref2.showSuggestions, - selectedSuggestion = _ref2.selectedSuggestion; + disableSuggestions = _ref.disableSuggestions, + _ref$__experimentalSh = _ref.__experimentalShowInitialSuggestions, + __experimentalShowInitialSuggestions = _ref$__experimentalSh === void 0 ? false : _ref$__experimentalSh; + + var showSuggestions = _ref2.showSuggestions; var shouldShowSuggestions = showSuggestions; var hasValue = value && value.length; - if (!hasValue) { + if (!__experimentalShowInitialSuggestions && !hasValue) { shouldShowSuggestions = false; } @@ -17887,7 +20294,6 @@ function (_Component) { } return { - selectedSuggestion: hasValue ? selectedSuggestion : null, showSuggestions: shouldShowSuggestions }; } @@ -18202,7 +20608,7 @@ var media_replace_flow_MediaReplaceFlow = function MediaReplaceFlow(_ref) { /* 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_ = __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 @@ -18916,7 +21322,7 @@ var RemoveBrowserShortcuts = function RemoveBrowserShortcuts() { }; // EXTERNAL MODULE: external {"this":["wp","blob"]} -var external_this_wp_blob_ = __webpack_require__(37); +var external_this_wp_blob_ = __webpack_require__(39); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/file-paste-handler.js /** @@ -19161,11 +21567,9 @@ function (_Component) { +function rich_text_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } - - - - +function rich_text_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { rich_text_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { rich_text_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -19210,536 +21614,467 @@ function getMultilineTag(multiline) { return multiline === true ? 'p' : multiline; } -var rich_text_RichTextWrapper = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(RichTextWrapper, _Component); +function getAllowedFormats(_ref) { + var allowedFormats = _ref.allowedFormats, + formattingControls = _ref.formattingControls; - 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; + if (!allowedFormats && !formattingControls) { + return; } - 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 (allowedFormats) { + return allowedFormats; + } - 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); - }); + external_this_wp_deprecated_default()('wp.blockEditor.RichText formattingControls prop', { + alternative: 'allowedFormats' + }); + return formattingControls.map(function (name) { + return "core/".concat(name); + }); +} - if (transformation) { - onReplace([transformation.transform({ - content: value.text - })]); - markAutomaticChange(); - } +function RichTextWrapper(_ref2, forwardedRef) { + var children = _ref2.children, + tagName = _ref2.tagName, + originalValue = _ref2.value, + originalOnChange = _ref2.onChange, + originalIsSelected = _ref2.isSelected, + multiline = _ref2.multiline, + inlineToolbar = _ref2.inlineToolbar, + wrapperClassName = _ref2.wrapperClassName, + className = _ref2.className, + autocompleters = _ref2.autocompleters, + onReplace = _ref2.onReplace, + placeholder = _ref2.placeholder, + keepPlaceholderOnFocus = _ref2.keepPlaceholderOnFocus, + allowedFormats = _ref2.allowedFormats, + formattingControls = _ref2.formattingControls, + withoutInteractiveFormatting = _ref2.withoutInteractiveFormatting, + onRemove = _ref2.onRemove, + onMerge = _ref2.onMerge, + onSplit = _ref2.onSplit, + onSplitMiddle = _ref2.__unstableOnSplitMiddle, + identifier = _ref2.identifier, + startAttr = _ref2.start, + reversed = _ref2.reversed, + style = _ref2.style, + preserveWhiteSpace = _ref2.preserveWhiteSpace, + __unstableEmbedURLOnPaste = _ref2.__unstableEmbedURLOnPaste, + props = Object(objectWithoutProperties["a" /* default */])(_ref2, ["children", "tagName", "value", "onChange", "isSelected", "multiline", "inlineToolbar", "wrapperClassName", "className", "autocompleters", "onReplace", "placeholder", "keepPlaceholderOnFocus", "allowedFormats", "formattingControls", "withoutInteractiveFormatting", "onRemove", "onMerge", "onSplit", "__unstableOnSplitMiddle", "identifier", "start", "reversed", "style", "preserveWhiteSpace", "__unstableEmbedURLOnPaste"]); + + var instanceId = Object(external_this_wp_compose_["useInstanceId"])(RichTextWrapper); + identifier = identifier || instanceId; + var fallbackRef = Object(external_this_wp_element_["useRef"])(); + var ref = forwardedRef || fallbackRef; + + var _useBlockEditContext = useBlockEditContext(), + clientId = _useBlockEditContext.clientId, + onCaretVerticalPositionChange = _useBlockEditContext.onCaretVerticalPositionChange, + blockIsSelected = _useBlockEditContext.isSelected; + + var selector = function selector(select) { + 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, + undo = _getSettings.__experimentalUndo; + + var isSelected; + + if (originalIsSelected === undefined) { + isSelected = selectionStart.clientId === clientId && selectionStart.attributeKey === identifier; + } else if (originalIsSelected) { + 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 rich_text_objectSpread({ + canUserUseUnfilteredHTML: __experimentalCanUserUseUnfilteredHTML, + isCaretWithinFormattedText: isCaretWithinFormattedText(), + selectionStart: isSelected ? selectionStart.offset : undefined, + selectionEnd: isSelected ? selectionEnd.offset : undefined, + isSelected: isSelected, + didAutomaticChange: didAutomaticChange(), + disabled: isMultiSelecting() || hasMultiSelection(), + undo: undo + }, extraProps); + }; // This selector must run on every render so the right selection state is + // retreived from the store on merge. + // To do: fix this somehow. + + + var _useSelect = Object(external_this_wp_data_["useSelect"])(selector), + canUserUseUnfilteredHTML = _useSelect.canUserUseUnfilteredHTML, + isCaretWithinFormattedText = _useSelect.isCaretWithinFormattedText, + selectionStart = _useSelect.selectionStart, + selectionEnd = _useSelect.selectionEnd, + isSelected = _useSelect.isSelected, + didAutomaticChange = _useSelect.didAutomaticChange, + disabled = _useSelect.disabled, + undo = _useSelect.undo, + shouldBlurOnUnmount = _useSelect.shouldBlurOnUnmount; + + var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), + __unstableMarkLastChangeAsPersistent = _useDispatch.__unstableMarkLastChangeAsPersistent, + enterFormattedText = _useDispatch.enterFormattedText, + exitFormattedText = _useDispatch.exitFormattedText, + selectionChange = _useDispatch.selectionChange, + __unstableMarkAutomaticChange = _useDispatch.__unstableMarkAutomaticChange; + + var multilineTag = getMultilineTag(multiline); + var adjustedAllowedFormats = getAllowedFormats({ + allowedFormats: allowedFormats, + formattingControls: formattingControls + }); + 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 onSelectionChange = Object(external_this_wp_element_["useCallback"])(function (start, end) { + selectionChange(clientId, identifier, start, end); + }, [clientId, identifier]); + var onDelete = Object(external_this_wp_element_["useCallback"])(function (_ref3) { + var value = _ref3.value, + isReverse = _ref3.isReverse; + + 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); + } + }, [onMerge, onRemove]); + /** + * 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. + */ + + var splitValue = Object(external_this_wp_element_["useCallback"])(function (record) { + var pastedBlocks = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; + + 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; // 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); + }, [onReplace, onSplit, multilineTag, onSplitMiddle]); + var onEnter = Object(external_this_wp_element_["useCallback"])(function (_ref4) { + var value = _ref4.value, + onChange = _ref4.onChange, + shiftKey = _ref4.shiftKey; + var canSplit = onReplace && onSplit; + + if (onReplace) { + var transforms = Object(external_this_wp_blocks_["getBlockTransforms"])('from').filter(function (_ref5) { + var type = _ref5.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 + })]); + + __unstableMarkAutomaticChange(); } + } + + if (multiline) { + if (shiftKey) { + onChange(Object(external_this_wp_richText_["insert"])(value, '\n')); + } else if (canSplit && Object(external_this_wp_richText_["__unstableIsEmptyLine"])(value)) { + splitValue(value); + } else { + onChange(Object(external_this_wp_richText_["__unstableInsertLineSeparator"])(value)); + } + } else if (shiftKey || !canSplit) { + onChange(Object(external_this_wp_richText_["insert"])(value, '\n')); + } else { + splitValue(value); + } + }, [onReplace, onSplit, __unstableMarkAutomaticChange, multiline, splitValue]); + var onPaste = Object(external_this_wp_element_["useCallback"])(function (_ref6) { + var value = _ref6.value, + onChange = _ref6.onChange, + html = _ref6.html, + plainText = _ref6.plainText, + files = _ref6.files, + activeFormats = _ref6.activeFormats; + + // 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 { + splitValue(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) { - 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')); + 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); + splitValue(value, content); } } - }, { - 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); - } + }, [tagName, onReplace, onSplit, splitValue, __unstableEmbedURLOnPaste, canUserUseUnfilteredHTML, multiline]); + var inputRule = Object(external_this_wp_element_["useCallback"])(function (value, valueToFormat) { + if (!onReplace) { + return; } - }, { - 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 + 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. - - 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); - } - } + if (characterBefore !== ' ') { + return; } - /** - * 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; + var trimmedTextBefore = text.slice(0, start).trim(); + var prefixTransforms = Object(external_this_wp_blocks_["getBlockTransforms"])('from').filter(function (_ref7) { + var type = _ref7.type; + return type === 'prefix'; + }); + var transformation = Object(external_this_wp_blocks_["findTransform"])(prefixTransforms, function (_ref8) { + var prefix = _ref8.prefix; + return trimmedTextBefore === prefix; + }); - 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); + if (!transformation) { + return; } - }, { - key: "inputRule", - value: function inputRule(value, valueToFormat) { - var _this$props5 = this.props, - onReplace = _this$props5.onReplace, - markAutomaticChange = _this$props5.markAutomaticChange; - if (!onReplace) { - return; - } + var content = valueToFormat(Object(external_this_wp_richText_["slice"])(value, start, text.length)); + var block = transformation.transform(content); + onReplace([block]); - 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 { + __unstableMarkAutomaticChange(); + }, [onReplace, __unstableMarkAutomaticChange]); + var content = Object(external_this_wp_element_["createElement"])(external_this_wp_richText_["__experimentalRichText"], Object(esm_extends["a" /* default */])({}, props, { 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; + identifier: identifier, + ref: ref, + value: adjustedValue, + onChange: adjustedOnChange, + selectionStart: selectionStart, + selectionEnd: selectionEnd, + onSelectionChange: onSelectionChange, + tagName: tagName, + className: classnames_default()(rich_text_classes, className, { + 'keep-placeholder-on-focus': keepPlaceholderOnFocus + }), + placeholder: placeholder, + allowedFormats: adjustedAllowedFormats, + withoutInteractiveFormatting: withoutInteractiveFormatting, + onEnter: onEnter, + onDelete: onDelete, + onPaste: onPaste, + __unstableIsSelected: isSelected, + __unstableInputRule: inputRule, + __unstableMultilineTag: multilineTag, + __unstableIsCaretWithinFormattedText: isCaretWithinFormattedText, + __unstableOnEnterFormattedText: enterFormattedText, + __unstableOnExitFormattedText: exitFormattedText, + __unstableOnCreateUndoLevel: __unstableMarkLastChangeAsPersistent, + __unstableMarkAutomaticChange: __unstableMarkAutomaticChange, + __unstableDidAutomaticChange: didAutomaticChange, + __unstableUndo: undo, + style: style, + preserveWhiteSpace: preserveWhiteSpace, + disabled: disabled, + start: startAttr, + reversed: reversed // Native props. + , + onCaretVerticalPositionChange: onCaretVerticalPositionChange, + blockIsSelected: originalIsSelected !== undefined ? originalIsSelected : blockIsSelected, + shouldBlurOnUnmount: shouldBlurOnUnmount + }), function (_ref9) { + var nestedIsSelected = _ref9.isSelected, + value = _ref9.value, + onChange = _ref9.onChange, + onFocus = _ref9.onFocus, + Editable = _ref9.Editable; + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, children && children({ + value: value, + onChange: onChange, + onFocus: onFocus + }), nestedIsSelected && hasFormats && Object(external_this_wp_element_["createElement"])(format_toolbar_container, { + inline: inlineToolbar, + anchorRef: ref.current + }), nestedIsSelected && Object(external_this_wp_element_["createElement"])(RemoveBrowserShortcuts, null), Object(external_this_wp_element_["createElement"])(autocomplete, { + onReplace: onReplace, + completers: autocompleters, + record: value, + onChange: onChange, + isSelected: nestedIsSelected + }, function (_ref10) { + var listBoxId = _ref10.listBoxId, + activeId = _ref10.activeId, + onKeyDown = _ref10.onKeyDown; + return Object(external_this_wp_element_["createElement"])(Editable, { + "aria-autocomplete": listBoxId ? 'list' : undefined, + "aria-owns": listBoxId, + "aria-activedescendant": activeId, + start: startAttr, + reversed: reversed, + onKeyDown: onKeyDown + }); + })); + }); - 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; + if (!wrapperClassName) { + return content; } - var extraProps = {}; + 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); +} - 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 ForwardedRichTextContainer = Object(external_this_wp_element_["forwardRef"])(RichTextWrapper); - 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"]); +ForwardedRichTextContainer.Content = function (_ref11) { + var value = _ref11.value, + Tag = _ref11.tagName, + multiline = _ref11.multiline, + props = Object(objectWithoutProperties["a" /* default */])(_ref11, ["value", "tagName", "multiline"]); // Handle deprecated `children` and `node` sources. if (Array.isArray(value)) { @@ -19761,11 +22096,11 @@ RichTextContainer.Content = function (_ref12) { return content; }; -RichTextContainer.isEmpty = function (value) { +ForwardedRichTextContainer.isEmpty = function (value) { return !value || value.length === 0; }; -RichTextContainer.Content.defaultProps = { +ForwardedRichTextContainer.Content.defaultProps = { format: 'string', value: '' }; @@ -19773,7 +22108,7 @@ RichTextContainer.Content.defaultProps = { * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/rich-text/README.md */ -/* harmony default export */ var rich_text = (RichTextContainer); +/* harmony default export */ var rich_text = (ForwardedRichTextContainer); @@ -20235,7 +22570,7 @@ var image_url_input_ui_ImageURLInputUI = function ImageURLInputUI(_ref) { }, 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", + className: "block-editor-format-toolbar__link-container-content", value: linkEditorValue, onChangeInputValue: setUrlInput, onKeyDown: stopPropagationRelevantKeys, @@ -20243,7 +22578,7 @@ var image_url_input_ui_ImageURLInputUI = function ImageURLInputUI(_ref) { 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", + className: "block-editor-format-toolbar__link-container-content", onKeyPress: stopPropagation, url: url, onEditLinkClick: startEditLink, @@ -20292,11 +22627,12 @@ __experimentalBlockSettingsMenuPluginsExtension.Slot = block_settings_menu_plugi var button_PickerButton = function PickerButton(props) { - var label = props.label, + var icon = props.icon, + label = props.label, onPress = props.onPress; return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { onClick: onPress - }, label); + }, icon, " ", label); }; /* harmony default export */ var page_template_picker_button = (button_PickerButton); @@ -20304,31 +22640,70 @@ var button_PickerButton = function PickerButton(props) { // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/page-template-picker/container.js +/** + * Internal dependencies + */ + + var container_Container = function Container(_ref) { var children = _ref.children; - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, children); + return Object(external_this_wp_element_["createElement"])(block_list_footer, 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 + + +function default_templates_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function default_templates_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { default_templates_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { default_templates_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + +/** + * WordPress dependencies + */ + +/** + * External dependencies + */ + + 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.

    ' + icon: '👋', + content: "\n\t\t\t\n\t\t\t

    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 \u2013 in their own words.

    \n\t\t\t\n\n\t\t\t\n\t\t\t

    This is sample content, included with the template to illustrate its features. Remove or replace it with your own words and media.

    \n\t\t\t\n\n\t\t\t\n\t\t\t

    What People Say

    \n\t\t\t\n\n\t\t\t\n\t\t\t

    The way to get started is to quit talking and begin doing.

    Walt Disney
    \n\t\t\t\n\n\t\t\t\n\t\t\t

    It is our choices, Harry, that show what we truly are, far more than our abilities.

    J. K. Rowling
    \n\t\t\t\n\n\t\t\t\n\t\t\t

    Don't cry because it's over, smile because it happened.

    Dr. Seuss
    \n\t\t\t\n\n\t\t\t\n\t\t\t
    \n\t\t\t\n\n\t\t\t\n\t\t\t

    Let\u2019s build something together.

    \n\t\t\t\n\n\t\t\t\n\t\t\t

    Get in touch!

    \n\t\t\t\n\n\t\t\t\n\t\t\t
    \n\t\t\t\n\t\t" }, { name: 'Contact', - content: '

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

    ' + icon: '✉️', + content: "\n\t\t\t\n\t\t\t

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

    \n\t\t\t\n\n\t\t\t\n\t\t\t

    Get in Touch

    \n\t\t\t\n\n\t\t\t\n\t\t\t

    10 Street Road

    \n\t\t\t\n\n\t\t\t\n\t\t\t

    City, 10100

    \n\t\t\t\n\n\t\t\t\n\t\t\t

    USA

    \n\t\t\t\n\n\t\t\t\n\t\t\t

    mail@example.com

    \n\t\t\t\n\n\t\t\t\n\t\t\t

    (555) 555 1234

    \n\t\t\t\n\t\t" }]; -/* harmony default export */ var default_templates = (defaultTemplates); +var parsedTemplates = memize_default()(function () { + return defaultTemplates.map(function (template) { + return default_templates_objectSpread({}, template, { + blocks: Object(external_this_wp_blocks_["parse"])(template.content) + }); + }); +}); +/* harmony default export */ var default_templates = (parsedTemplates); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/page-template-picker/preview.js +// Placeholder, only native variant implemented yet +var Preview = function Preview() { + return null; +}; + +/* harmony default export */ var preview = (Preview); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/page-template-picker/picker.js + /** * WordPress dependencies */ + /** * Internal dependencies */ @@ -20340,36 +22715,43 @@ var defaultTemplates = [{ 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 + templates = _ref$templates === void 0 ? default_templates() : _ref$templates; + + var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/editor'), + editPost = _useDispatch.editPost; + + var _useState = Object(external_this_wp_element_["useState"])(), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + templatePreview = _useState2[0], + setTemplatePreview = _useState2[1]; + + var onApply = function onApply() { + editPost({ + title: templatePreview.name, + blocks: Object(external_this_wp_blocks_["parse"])(templatePreview.content) }); - }))); + setTemplatePreview(undefined); + }; + + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(page_template_picker_container, null, templates.map(function (template) { + return Object(external_this_wp_element_["createElement"])(page_template_picker_button, { + key: template.name, + icon: template.icon, + label: template.name, + onPress: function onPress() { + return setTemplatePreview(template); + } + }); + })), Object(external_this_wp_element_["createElement"])(preview, { + template: templatePreview, + onDismiss: function onDismiss() { + return setTemplatePreview(undefined); + }, + onApply: onApply + })); }; -/* 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)); +/* harmony default export */ var picker = (picker_experimentalPageTemplatePicker); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/page-template-picker/use-page-template-picker-visible.js /** @@ -20458,7 +22840,7 @@ var skip_to_selected_block_SkipToSelectedBlock = function SkipToSelectedBlock(_r var selectedBlockClientId = _ref.selectedBlockClientId; var onClick = function onClick() { - var selectedBlockElement = getBlockFocusableWrapper(selectedBlockClientId); + var selectedBlockElement = getBlockDOMNode(selectedBlockClientId); selectedBlockElement.focus(); }; @@ -20476,7 +22858,7 @@ var skip_to_selected_block_SkipToSelectedBlock = function SkipToSelectedBlock(_r })(skip_to_selected_block_SkipToSelectedBlock)); // EXTERNAL MODULE: external {"this":["wp","tokenList"]} -var external_this_wp_tokenList_ = __webpack_require__(144); +var external_this_wp_tokenList_ = __webpack_require__(180); 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 @@ -20484,6 +22866,10 @@ var external_this_wp_tokenList_default = /*#__PURE__*/__webpack_require__.n(exte +function block_styles_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function block_styles_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { block_styles_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { block_styles_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -20637,7 +23023,7 @@ function BlockStyles(_ref) { }, 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, { + attributes: block_styles_objectSpread({}, type.example.attributes, { className: styleClassName }), innerBlocks: type.example.innerBlocks @@ -20679,7 +23065,7 @@ function BlockStyles(_ref) { })])(BlockStyles)); // EXTERNAL MODULE: external {"this":["wp","wordcount"]} -var external_this_wp_wordcount_ = __webpack_require__(97); +var external_this_wp_wordcount_ = __webpack_require__(122); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/multi-selection-inspector/index.js @@ -20944,26 +23330,82 @@ function getBlockMoverDescription(selectedCount, type, firstIndex, isFirst, isLa if (dir > 0 && !isLast) { // moving down - return Object(external_this_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: Direction of movement ( up, down, left, right ), 4: New position - Object(external_this_wp_i18n_["__"])('Move %1$s block from position %2$d %3$s to position %4$d'), type, position, getMovementDirection('down'), position + 1); + var movementDirection = getMovementDirection('down'); + + if (movementDirection === 'down') { + return Object(external_this_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position + Object(external_this_wp_i18n_["__"])('Move %1$s block from position %2$d down to position %3$d'), type, position, position + 1); + } + + if (movementDirection === 'left') { + return Object(external_this_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position + Object(external_this_wp_i18n_["__"])('Move %1$s block from position %2$d left to position %3$d'), type, position, position + 1); + } + + if (movementDirection === 'right') { + return Object(external_this_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position + Object(external_this_wp_i18n_["__"])('Move %1$s block from position %2$d right to position %3$d'), type, position, position + 1); + } } if (dir > 0 && isLast) { // moving down, and is the last item - // translators: 1: Type of block (i.e. Text, Image etc), 2: Direction of movement ( up, down, left, right ) - return Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Block %1$s is at the end of the content and can’t be moved %2$s'), type, getMovementDirection('down')); + var _movementDirection = getMovementDirection('down'); + + if (_movementDirection === 'down') { + return Object(external_this_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc) + Object(external_this_wp_i18n_["__"])('Block %1$s is at the end of the content and can’t be moved down'), type); + } + + if (_movementDirection === 'left') { + return Object(external_this_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc) + Object(external_this_wp_i18n_["__"])('Block %1$s is at the end of the content and can’t be moved left'), type); + } + + if (_movementDirection === 'right') { + return Object(external_this_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc) + Object(external_this_wp_i18n_["__"])('Block %1$s is at the end of the content and can’t be moved right'), type); + } } if (dir < 0 && !isFirst) { // moving up - return Object(external_this_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: Direction of movement ( up, down, left, right ), 4: New position - Object(external_this_wp_i18n_["__"])('Move %1$s block from position %2$d %3$s to position %4$d'), type, position, getMovementDirection('up'), position - 1); + var _movementDirection2 = getMovementDirection('up'); + + if (_movementDirection2 === 'up') { + return Object(external_this_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position + Object(external_this_wp_i18n_["__"])('Move %1$s block from position %2$d up to position %3$d'), type, position, position - 1); + } + + if (_movementDirection2 === 'left') { + return Object(external_this_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position + Object(external_this_wp_i18n_["__"])('Move %1$s block from position %2$d left to position %3$d'), type, position, position - 1); + } + + if (_movementDirection2 === 'right') { + return Object(external_this_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position + Object(external_this_wp_i18n_["__"])('Move %1$s block from position %2$d right to position %3$d'), type, position, position - 1); + } } if (dir < 0 && isFirst) { // moving up, and is the first item - // translators: 1: Type of block (i.e. Text, Image etc), 2: Direction of movement ( up, down, left, right ) - return Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Block %1$s is at the beginning of the content and can’t be moved %2$s'), type, getMovementDirection('up')); + var _movementDirection3 = getMovementDirection('up'); + + if (_movementDirection3 === 'up') { + return Object(external_this_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc) + Object(external_this_wp_i18n_["__"])('Block %1$s is at the beginning of the content and can’t be moved up'), type); + } + + if (_movementDirection3 === 'left') { + return Object(external_this_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc) + Object(external_this_wp_i18n_["__"])('Block %1$s is at the beginning of the content and can’t be moved left'), type); + } + + if (_movementDirection3 === 'right') { + return Object(external_this_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc) + Object(external_this_wp_i18n_["__"])('Block %1$s is at the beginning of the content and can’t be moved right'), type); + } } } /** @@ -21008,14 +23450,6 @@ function getMultiBlockMoverDescription(selectedCount, firstIndex, isFirst, isLas * WordPress dependencies */ -var upArrow = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - width: "18", - height: "18", - xmlns: "http://www.w3.org/2000/svg", - viewBox: "0 0 18 18" -}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Polygon"], { - points: "9,4.5 3.3,10.1 4.8,11.5 9,7.3 13.2,11.5 14.7,10.1 " -})); var leftArrow = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { width: "18", height: "18", @@ -21024,14 +23458,6 @@ var leftArrow = Object(external_this_wp_element_["createElement"])(external_this }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { d: "M4.5 9l5.6-5.7 1.4 1.5L7.3 9l4.2 4.2-1.4 1.5L4.5 9z" })); -var downArrow = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - width: "18", - height: "18", - xmlns: "http://www.w3.org/2000/svg", - viewBox: "0 0 18 18" -}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Polygon"], { - points: "9,13.5 14.7,7.9 13.2,6.5 9,10.7 4.8,6.5 3.3,7.9 " -})); var rightArrow = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { width: "18", height: "18", @@ -21049,6 +23475,12 @@ var dragHandle = Object(external_this_wp_element_["createElement"])(external_thi 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" })); +// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-up.js +var chevron_up = __webpack_require__(279); + +// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-down.js +var chevron_down = __webpack_require__(280); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-draggable/index.js @@ -21168,6 +23600,7 @@ var block_draggable_BlockDraggable = function BlockDraggable(_ref) { + var block_mover_BlockMover = /*#__PURE__*/ function (_Component) { @@ -21231,13 +23664,13 @@ function (_Component) { return isRTL ? rightArrow : leftArrow; } - return upArrow; + return chevron_up["a" /* default */]; } else if (moveDirection === 'down') { if (orientation === 'horizontal') { return isRTL ? leftArrow : rightArrow; } - return downArrow; + return chevron_down["a" /* default */]; } return null; @@ -21461,6 +23894,21 @@ function (_Component) { }; })])(block_selection_clearer_BlockSelectionClearer)); +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/trash.js + + +/** + * WordPress dependencies + */ + +var trash = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "-2 -2 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], { + d: "M12 4h3c.6 0 1 .4 1 1v1H3V5c0-.6.5-1 1-1h3c.2-1.1 1.3-2 2.5-2s2.3.9 2.5 2zM8 4h3c-.2-.6-.9-1-1.5-1S8.2 3.4 8 4zM4 7h11l-.9 10.1c0 .5-.5.9-1 .9H5.9c-.5 0-.9-.4-1-.9L4 7z" +})); +/* harmony default export */ var library_trash = (trash); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-actions/index.js /** * External dependencies @@ -21612,7 +24060,6 @@ 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: "block-editor-block-settings-menu__control", onClick: onToggleMode, icon: "html" }, !small && label); @@ -21664,7 +24111,6 @@ 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: "block-editor-block-settings-menu__control", onClick: onClick, icon: "screenoptions" }, !small && label); @@ -21744,6 +24190,7 @@ function BlockConvertButton(_ref) { + /** * Internal dependencies */ @@ -21800,17 +24247,14 @@ 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: "block-editor-block-settings-menu__control", onClick: Object(external_this_lodash_["flow"])(onClose, onDuplicate), icon: "admin-page", 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: "block-editor-block-settings-menu__control", onClick: Object(external_this_lodash_["flow"])(onClose, onInsertBefore), icon: "insert-before", shortcut: shortcuts.insertBefore }, Object(external_this_wp_i18n_["__"])('Insert Before')), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { - className: "block-editor-block-settings-menu__control", onClick: Object(external_this_lodash_["flow"])(onClose, onInsertAfter), icon: "insert-after", shortcut: shortcuts.insertAfter @@ -21823,9 +24267,8 @@ 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: "block-editor-block-settings-menu__control", onClick: Object(external_this_lodash_["flow"])(onClose, onRemove), - icon: "trash", + icon: library_trash, shortcut: shortcuts.remove }, Object(external_this_wp_i18n_["_n"])('Remove Block', 'Remove Blocks', count)))); })); @@ -21843,6 +24286,10 @@ function BlockSettingsMenu(_ref) { +function block_switcher_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function block_switcher_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { block_switcher_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { block_switcher_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -22013,7 +24460,7 @@ function (_Component) { }, Object(external_this_wp_i18n_["__"])('Preview')), Object(external_this_wp_element_["createElement"])(block_preview, { viewportWidth: 500, blocks: hoveredBlockType.example ? Object(external_this_wp_blocks_["getBlockFromExample"])(hoveredBlock.name, { - attributes: Object(objectSpread["a" /* default */])({}, hoveredBlockType.example.attributes, { + attributes: block_switcher_objectSpread({}, hoveredBlockType.example.attributes, { className: hoveredClassName }), innerBlocks: hoveredBlockType.example.innerBlocks @@ -22106,27 +24553,38 @@ function MultiBlocksSwitcher(_ref) { -function BlockToolbar(_ref) { - var moverDirection = _ref.moverDirection, - _ref$hasMovers = _ref.hasMovers, - hasMovers = _ref$hasMovers === void 0 ? true : _ref$hasMovers; - +function BlockToolbar() { var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { var _select = select('core/block-editor'), getBlockMode = _select.getBlockMode, getSelectedBlockClientIds = _select.getSelectedBlockClientIds, - isBlockValid = _select.isBlockValid; + isBlockValid = _select.isBlockValid, + getBlockRootClientId = _select.getBlockRootClientId, + getBlockListSettings = _select.getBlockListSettings; var selectedBlockClientIds = getSelectedBlockClientIds(); + var blockRootClientId = getBlockRootClientId(selectedBlockClientIds[0]); + + var _ref = getBlockListSettings(blockRootClientId) || {}, + __experimentalMoverDirection = _ref.__experimentalMoverDirection, + _ref$__experimentalUI = _ref.__experimentalUIParts, + __experimentalUIParts = _ref$__experimentalUI === void 0 ? {} : _ref$__experimentalUI; + return { blockClientIds: selectedBlockClientIds, + rootClientId: blockRootClientId, isValid: selectedBlockClientIds.length === 1 ? isBlockValid(selectedBlockClientIds[0]) : null, - mode: selectedBlockClientIds.length === 1 ? getBlockMode(selectedBlockClientIds[0]) : null + mode: selectedBlockClientIds.length === 1 ? getBlockMode(selectedBlockClientIds[0]) : null, + moverDirection: __experimentalMoverDirection, + hasMovers: __experimentalUIParts.hasMovers }; }, []), blockClientIds = _useSelect.blockClientIds, isValid = _useSelect.isValid, - mode = _useSelect.mode; + mode = _useSelect.mode, + moverDirection = _useSelect.moverDirection, + _useSelect$hasMovers = _useSelect.hasMovers, + hasMovers = _useSelect$hasMovers === void 0 ? true : _useSelect$hasMovers; if (blockClientIds.length === 0) { return null; @@ -22570,12 +25028,6 @@ function MultiSelectScrollIntoView() { // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/observe-typing/index.js - - - - - - /** * External dependencies */ @@ -22612,211 +25064,151 @@ function isKeyDownEligibleForStartTyping(event) { return !shiftKey && Object(external_this_lodash_["includes"])(KEY_DOWN_ELIGIBLE_KEY_CODES, keyCode); } -var observe_typing_ObserveTyping = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(ObserveTyping, _Component); +function ObserveTyping(_ref) { + var children = _ref.children, + setSafeTimeout = _ref.setTimeout; + var lastMouseMove = Object(external_this_wp_element_["useRef"])(); + var isTyping = Object(external_this_wp_data_["useSelect"])(function (select) { + return select('core/block-editor').isTyping(); + }); - function ObserveTyping() { - var _this; + var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), + startTyping = _useDispatch.startTyping, + stopTyping = _useDispatch.stopTyping; - Object(classCallCheck["a" /* default */])(this, ObserveTyping); + Object(external_this_wp_element_["useEffect"])(function () { + toggleEventBindings(isTyping); + return function () { + return toggleEventBindings(false); + }; + }, [isTyping]); + /** + * Bind or unbind events to the document when typing has started or stopped + * respectively, or when component has become unmounted. + * + * @param {boolean} isBound Whether event bindings should be applied. + */ - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(ObserveTyping).apply(this, arguments)); - _this.stopTypingOnSelectionUncollapse = _this.stopTypingOnSelectionUncollapse.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.stopTypingOnMouseMove = _this.stopTypingOnMouseMove.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.startTypingInTextField = _this.startTypingInTextField.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.stopTypingOnNonTextField = _this.stopTypingOnNonTextField.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.stopTypingOnEscapeKey = _this.stopTypingOnEscapeKey.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.onKeyDown = Object(external_this_lodash_["over"])([_this.startTypingInTextField, _this.stopTypingOnEscapeKey]); - _this.lastMouseMove = null; - return _this; + function toggleEventBindings(isBound) { + var bindFn = isBound ? 'addEventListener' : 'removeEventListener'; + document[bindFn]('selectionchange', stopTypingOnSelectionUncollapse); + document[bindFn]('mousemove', stopTypingOnMouseMove); } + /** + * On mouse move, unset typing flag if user has moved cursor. + * + * @param {MouseEvent} event Mousemove event. + */ - Object(createClass["a" /* default */])(ObserveTyping, [{ - key: "componentDidMount", - value: function componentDidMount() { - this.toggleEventBindings(this.props.isTyping); - } - }, { - key: "componentDidUpdate", - value: function componentDidUpdate(prevProps) { - if (this.props.isTyping !== prevProps.isTyping) { - this.toggleEventBindings(this.props.isTyping); + + function stopTypingOnMouseMove(event) { + var clientX = event.clientX, + clientY = event.clientY; // We need to check that the mouse really moved because Safari triggers + // mousemove events when shift or ctrl are pressed. + + if (lastMouseMove.current) { + var _lastMouseMove$curren = lastMouseMove.current, + lastClientX = _lastMouseMove$curren.clientX, + lastClientY = _lastMouseMove$curren.clientY; + + if (lastClientX !== clientX || lastClientY !== clientY) { + stopTyping(); } } - }, { - key: "componentWillUnmount", - value: function componentWillUnmount() { - this.toggleEventBindings(false); + + lastMouseMove.current = { + clientX: clientX, + clientY: clientY + }; + } + /** + * On selection change, unset typing flag if user has made an uncollapsed + * (shift) selection. + */ + + + function stopTypingOnSelectionUncollapse() { + var selection = window.getSelection(); + var isCollapsed = selection.rangeCount > 0 && selection.getRangeAt(0).collapsed; + + if (!isCollapsed) { + stopTyping(); } - /** - * Bind or unbind events to the document when typing has started or stopped - * respectively, or when component has become unmounted. - * - * @param {boolean} isBound Whether event bindings should be applied. - */ + } + /** + * Unsets typing flag if user presses Escape while typing flag is active. + * + * @param {KeyboardEvent} event Keypress or keydown event to interpret. + */ - }, { - key: "toggleEventBindings", - value: function toggleEventBindings(isBound) { - var bindFn = isBound ? 'addEventListener' : 'removeEventListener'; - document[bindFn]('selectionchange', this.stopTypingOnSelectionUncollapse); - document[bindFn]('mousemove', this.stopTypingOnMouseMove); + + function stopTypingOnEscapeKey(event) { + if (isTyping && event.keyCode === external_this_wp_keycodes_["ESCAPE"]) { + stopTyping(); } - /** - * On mouse move, unset typing flag if user has moved cursor. - * - * @param {MouseEvent} event Mousemove event. - */ + } + /** + * Handles a keypress or keydown event to infer intention to start typing. + * + * @param {KeyboardEvent} event Keypress or keydown event to interpret. + */ - }, { - key: "stopTypingOnMouseMove", - value: function stopTypingOnMouseMove(event) { - var clientX = event.clientX, - clientY = event.clientY; // We need to check that the mouse really moved because Safari triggers - // mousemove events when shift or ctrl are pressed. - if (this.lastMouseMove) { - var _this$lastMouseMove = this.lastMouseMove, - lastClientX = _this$lastMouseMove.clientX, - lastClientY = _this$lastMouseMove.clientY; + function startTypingInTextField(event) { + var type = event.type, + target = event.target; // Abort early if already typing, or key press is incurred outside a + // text field (e.g. arrow-ing through toolbar buttons). + // Ignore typing in a block toolbar - if (lastClientX !== clientX || lastClientY !== clientY) { - this.props.onStopTyping(); - } + if (isTyping || !Object(external_this_wp_dom_["isTextField"])(target) || target.closest('.block-editor-block-toolbar')) { + return; + } // Special-case keydown because certain keys do not emit a keypress + // event. Conversely avoid keydown as the canonical event since there + // are many keydown which are explicitly not targeted for typing. + + + if (type === 'keydown' && !isKeyDownEligibleForStartTyping(event)) { + return; + } + + startTyping(); + } + /** + * Stops typing when focus transitions to a non-text field element. + * + * @param {FocusEvent} event Focus event. + */ + + + function stopTypingOnNonTextField(event) { + var target = event.target; // Since focus to a non-text field via arrow key will trigger before + // the keydown event, wait until after current stack before evaluating + // whether typing is to be stopped. Otherwise, typing will re-start. + + setSafeTimeout(function () { + if (isTyping && !Object(external_this_wp_dom_["isTextField"])(target)) { + stopTyping(); } + }); + } // Disable reason: This component is responsible for capturing bubbled + // keyboard events which are interpreted as typing intent. - this.lastMouseMove = { - clientX: clientX, - clientY: clientY - }; - } - /** - * On selection change, unset typing flag if user has made an uncollapsed - * (shift) selection. - */ - - }, { - key: "stopTypingOnSelectionUncollapse", - value: function stopTypingOnSelectionUncollapse() { - var selection = window.getSelection(); - var isCollapsed = selection.rangeCount > 0 && selection.getRangeAt(0).collapsed; - - if (!isCollapsed) { - this.props.onStopTyping(); - } - } - /** - * Unsets typing flag if user presses Escape while typing flag is active. - * - * @param {KeyboardEvent} event Keypress or keydown event to interpret. - */ - - }, { - key: "stopTypingOnEscapeKey", - value: function stopTypingOnEscapeKey(event) { - if (this.props.isTyping && event.keyCode === external_this_wp_keycodes_["ESCAPE"]) { - this.props.onStopTyping(); - } - } - /** - * Handles a keypress or keydown event to infer intention to start typing. - * - * @param {KeyboardEvent} event Keypress or keydown event to interpret. - */ - - }, { - key: "startTypingInTextField", - value: function startTypingInTextField(event) { - var _this$props = this.props, - isTyping = _this$props.isTyping, - onStartTyping = _this$props.onStartTyping; - var type = event.type, - target = event.target; // Abort early if already typing, or key press is incurred outside a - // text field (e.g. arrow-ing through toolbar buttons). - // Ignore typing in a block toolbar - - if (isTyping || !Object(external_this_wp_dom_["isTextField"])(target) || target.closest('.block-editor-block-toolbar')) { - return; - } // Special-case keydown because certain keys do not emit a keypress - // event. Conversely avoid keydown as the canonical event since there - // are many keydown which are explicitly not targeted for typing. + /* eslint-disable jsx-a11y/no-static-element-interactions */ - if (type === 'keydown' && !isKeyDownEligibleForStartTyping(event)) { - return; - } - - onStartTyping(); - } - /** - * Stops typing when focus transitions to a non-text field element. - * - * @param {FocusEvent} event Focus event. - */ - - }, { - key: "stopTypingOnNonTextField", - value: function stopTypingOnNonTextField(event) { - var _this2 = this; - - event.persist(); // Since focus to a non-text field via arrow key will trigger before - // the keydown event, wait until after current stack before evaluating - // whether typing is to be stopped. Otherwise, typing will re-start. - - this.props.setTimeout(function () { - var _this2$props = _this2.props, - isTyping = _this2$props.isTyping, - onStopTyping = _this2$props.onStopTyping; - var target = event.target; - - if (isTyping && !Object(external_this_wp_dom_["isTextField"])(target)) { - onStopTyping(); - } - }); - } - }, { - key: "render", - value: function render() { - var children = this.props.children; // Disable reason: This component is responsible for capturing bubbled - // keyboard events which are interpreted as typing intent. - - /* eslint-disable jsx-a11y/no-static-element-interactions */ - - return Object(external_this_wp_element_["createElement"])("div", { - onFocus: this.stopTypingOnNonTextField, - onKeyPress: this.startTypingInTextField, - onKeyDown: this.onKeyDown - }, children); - /* eslint-enable jsx-a11y/no-static-element-interactions */ - } - }]); - - return ObserveTyping; -}(external_this_wp_element_["Component"]); + return Object(external_this_wp_element_["createElement"])("div", { + onFocus: stopTypingOnNonTextField, + onKeyPress: startTypingInTextField, + onKeyDown: Object(external_this_lodash_["over"])([startTypingInTextField, stopTypingOnEscapeKey]) + }, children); + /* eslint-enable jsx-a11y/no-static-element-interactions */ +} /** * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/observe-typing/README.md */ -/* harmony default export */ var observe_typing = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select) { - var _select = select('core/block-editor'), - isTyping = _select.isTyping; - - return { - isTyping: isTyping() - }; -}), Object(external_this_wp_data_["withDispatch"])(function (dispatch) { - var _dispatch = dispatch('core/block-editor'), - startTyping = _dispatch.startTyping, - stopTyping = _dispatch.stopTyping; - - return { - onStartTyping: startTyping, - onStopTyping: stopTyping - }; -}), external_this_wp_compose_["withSafeTimeout"]])(observe_typing_ObserveTyping)); +/* harmony default export */ var observe_typing = (Object(external_this_wp_compose_["withSafeTimeout"])(ObserveTyping)); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/preserve-scroll-in-reorder/index.js /** @@ -23107,540 +25499,6 @@ 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 - */ - -/** - * WordPress dependencies - */ - - - - - -/** - * Internal dependencies - */ - - - -/** - * Browser constants - */ - -var writing_flow_window = window, - getSelection = writing_flow_window.getSelection, - writing_flow_getComputedStyle = writing_flow_window.getComputedStyle; -/** - * Given an element, returns true if the element is a tabbable text field, or - * false otherwise. - * - * @param {Element} element Element to test. - * - * @return {boolean} Whether element is a tabbable text field. - */ - -var isTabbableTextField = Object(external_this_lodash_["overEvery"])([external_this_wp_dom_["isTextField"], external_this_wp_dom_["focus"].tabbable.isTabbableIndex]); -/** - * Returns true if the element should consider edge navigation upon a keyboard - * event of the given directional key code, or false otherwise. - * - * @param {Element} element HTML element to test. - * @param {number} keyCode KeyboardEvent keyCode to test. - * @param {boolean} hasModifier Whether a modifier is pressed. - * - * @return {boolean} Whether element should consider edge navigation. - */ - -function isNavigationCandidate(element, keyCode, hasModifier) { - var isVertical = keyCode === external_this_wp_keycodes_["UP"] || keyCode === external_this_wp_keycodes_["DOWN"]; // Currently, all elements support unmodified vertical navigation. - - if (isVertical && !hasModifier) { - return true; - } // Native inputs should not navigate horizontally. - - - 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. - */ - -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); - - 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); -} - -function writing_flow_selector(select) { - var _select = select('core/block-editor'), - getSelectedBlockClientId = _select.getSelectedBlockClientId, - getMultiSelectedBlocksStartClientId = _select.getMultiSelectedBlocksStartClientId, - getMultiSelectedBlocksEndClientId = _select.getMultiSelectedBlocksEndClientId, - getPreviousBlockClientId = _select.getPreviousBlockClientId, - getNextBlockClientId = _select.getNextBlockClientId, - getFirstMultiSelectedBlockClientId = _select.getFirstMultiSelectedBlockClientId, - getLastMultiSelectedBlockClientId = _select.getLastMultiSelectedBlockClientId, - hasMultiSelection = _select.hasMultiSelection, - getBlockOrder = _select.getBlockOrder, - isNavigationMode = _select.isNavigationMode; - - var selectedBlockClientId = getSelectedBlockClientId(); - var selectionStartClientId = getMultiSelectedBlocksStartClientId(); - var selectionEndClientId = getMultiSelectedBlocksEndClientId(); - return { - selectedBlockClientId: selectedBlockClientId, - selectionStartClientId: selectionStartClientId, - selectionBeforeEndClientId: getPreviousBlockClientId(selectionEndClientId || selectedBlockClientId), - selectionAfterEndClientId: getNextBlockClientId(selectionEndClientId || selectedBlockClientId), - selectedFirstClientId: getFirstMultiSelectedBlockClientId(), - selectedLastClientId: getLastMultiSelectedBlockClientId(), - hasMultiSelection: hasMultiSelection(), - blocks: getBlockOrder(), - isNavigationMode: isNavigationMode() - }; -} - -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 /* * Block Creation Components @@ -23685,6 +25543,7 @@ function WritingFlow(_ref) { + /* @@ -23728,6 +25587,10 @@ function WritingFlow(_ref) { +function align_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function align_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { align_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { align_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -23888,7 +25751,7 @@ var withDataAlign = Object(external_this_wp_compose_["createHigherOrderComponent var wrapperProps = props.wrapperProps; if (Object(external_this_lodash_["includes"])(validAlignments, align)) { - wrapperProps = Object(objectSpread["a" /* default */])({}, wrapperProps, { + wrapperProps = align_objectSpread({}, wrapperProps, { 'data-align': align }); } @@ -24242,7 +26105,7 @@ Object(external_this_wp_hooks_["addFilter"])('blocks.getSaveContent.extraProps', // EXTERNAL MODULE: ./node_modules/traverse/index.js -var traverse = __webpack_require__(218); +var traverse = __webpack_require__(257); var traverse_default = /*#__PURE__*/__webpack_require__.n(traverse); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/ast/parse.js @@ -24942,7 +26805,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__(110); +var inherits_browser = __webpack_require__(139); 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 @@ -25430,11 +27293,15 @@ function traverseCSS(css, callback) { /* harmony default export */ var transform_styles_traverse = (traverseCSS); // EXTERNAL MODULE: ./node_modules/url/url.js -var url_url = __webpack_require__(85); +var url_url = __webpack_require__(109); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/transforms/url-rewrite.js +function url_rewrite_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function url_rewrite_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { url_rewrite_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { url_rewrite_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -25514,7 +27381,7 @@ function getResourcePath(str, baseURL) { function processURL(baseURL) { return function (meta) { var URL = getResourcePath(meta.value, baseURL); - return Object(objectSpread["a" /* default */])({}, meta, { + return url_rewrite_objectSpread({}, meta, { newUrl: 'url(' + meta.before + meta.quote + URL + meta.quote + meta.after + ')' }); }; @@ -25566,11 +27433,11 @@ function replaceURLs(raw, URLs) { return raw; } -var url_rewrite_rewrite = function rewrite(rootURL) { +var rewrite = function rewrite(rootURL) { return function (node) { if (node.type === 'declaration') { var updatedURLs = getURLs(node.value).map(processURL(rootURL)); - return Object(objectSpread["a" /* default */])({}, node, { + return url_rewrite_objectSpread({}, node, { value: replaceURLs(node.value, updatedURLs) }); } @@ -25579,11 +27446,15 @@ var url_rewrite_rewrite = function rewrite(rootURL) { }; }; -/* harmony default export */ var url_rewrite = (url_rewrite_rewrite); +/* harmony default export */ var url_rewrite = (rewrite); // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/transforms/wrap.js +function wrap_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function wrap_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { wrap_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { wrap_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -25613,7 +27484,7 @@ var wrap_wrap = function wrap(namespace) { }; if (node.type === 'rule') { - return Object(objectSpread["a" /* default */])({}, node, { + return wrap_objectSpread({}, node, { selectors: node.selectors.map(updateSelector) }); } @@ -25689,7 +27560,7 @@ var transform_styles_transformStyles = function transformStyles(styles) { /* concated harmony reexport BlockIcon */__webpack_require__.d(__webpack_exports__, "BlockIcon", function() { return BlockIcon; }); /* concated harmony reexport BlockNavigationDropdown */__webpack_require__.d(__webpack_exports__, "BlockNavigationDropdown", function() { return dropdown; }); /* concated harmony reexport __experimentalBlockNavigationList */__webpack_require__.d(__webpack_exports__, "__experimentalBlockNavigationList", function() { return BlockNavigationList; }); -/* concated harmony reexport __experimentalBlockPatternPicker */__webpack_require__.d(__webpack_exports__, "__experimentalBlockPatternPicker", function() { return block_pattern_picker; }); +/* concated harmony reexport __experimentalBlockVariationPicker */__webpack_require__.d(__webpack_exports__, "__experimentalBlockVariationPicker", function() { return block_variation_picker; }); /* 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; }); @@ -25698,8 +27569,9 @@ var transform_styles_transformStyles = function transformStyles(styles) { /* 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 __experimentalColorGradientControl */__webpack_require__.d(__webpack_exports__, "__experimentalColorGradientControl", function() { return control; }); /* concated harmony reexport __experimentalPanelColorGradientSettings */__webpack_require__.d(__webpack_exports__, "__experimentalPanelColorGradientSettings", function() { return panel_color_gradient_settings; }); +/* concated harmony reexport __experimentalImageSizeControl */__webpack_require__.d(__webpack_exports__, "__experimentalImageSizeControl", function() { return image_size_control; }); /* 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; }); @@ -25786,43 +27658,7 @@ var transform_styles_transformStyles = function transformStyles(styles) { /***/ }), -/***/ 37: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["blob"]; }()); - -/***/ }), - -/***/ 4: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["data"]; }()); - -/***/ }), - -/***/ 40: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; }); -function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } - - return target; -} - -/***/ }), - -/***/ 42: +/***/ 44: /***/ (function(module, exports, __webpack_require__) { module.exports = function memize( fn, options ) { @@ -25940,14 +27776,14 @@ module.exports = function memize( fn, options ) { /***/ }), -/***/ 43: +/***/ 46: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["keyboardShortcuts"]; }()); /***/ }), -/***/ 44: +/***/ 47: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -25990,21 +27826,43 @@ function _asyncToGenerator(fn) { /***/ }), -/***/ 45: +/***/ 48: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["a11y"]; }()); /***/ }), -/***/ 46: +/***/ 5: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} + +/***/ }), + +/***/ 50: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["isShallowEqual"]; }()); /***/ }), -/***/ 49: +/***/ 52: /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;// TinyColor v1.4.1 @@ -27205,61 +29063,48 @@ else {} /***/ }), -/***/ 51: +/***/ 54: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["viewport"]; }()); /***/ }), -/***/ 54: +/***/ 56: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["htmlEntities"]; }()); /***/ }), -/***/ 6: +/***/ 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 ? 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]); - }); +/* 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; } /***/ }), -/***/ 62: +/***/ 70: /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; -var TextareaAutosize_1 = __webpack_require__(114); +var TextareaAutosize_1 = __webpack_require__(146); exports["default"] = TextareaAutosize_1["default"]; /***/ }), -/***/ 63: +/***/ 71: /***/ (function(module, exports) { var g; @@ -27286,7 +29131,7 @@ module.exports = g; /***/ }), -/***/ 65: +/***/ 75: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -27296,12 +29141,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__(118)); -var _objectWithoutPropertiesLoose = _interopDefault(__webpack_require__(119)); +var _extends = _interopDefault(__webpack_require__(150)); +var _objectWithoutPropertiesLoose = _interopDefault(__webpack_require__(151)); var React = __webpack_require__(21); var React__default = _interopDefault(React); -var _inheritsLoose = _interopDefault(__webpack_require__(96)); -var _assertThisInitialized = _interopDefault(__webpack_require__(120)); +var _inheritsLoose = _interopDefault(__webpack_require__(121)); +var _assertThisInitialized = _interopDefault(__webpack_require__(152)); var is = { arr: Array.isArray, @@ -29617,32 +31462,24 @@ exports.useSprings = useSprings; /***/ }), -/***/ 69: +/***/ 8: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["compose"]; }()); + +/***/ }), + +/***/ 82: /***/ (function(module, exports, __webpack_require__) { "use strict"; -module.exports = __webpack_require__(112); +module.exports = __webpack_require__(144); /***/ }), -/***/ 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; -} - -/***/ }), - -/***/ 72: +/***/ 88: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -29696,886 +31533,12 @@ function refx( effects ) { module.exports = refx; -/***/ }), - -/***/ 8: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["compose"]; }()); - -/***/ }), - -/***/ 85: -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -// Copyright Joyent, Inc. and other Node contributors. -// -// Permission is hereby granted, free of charge, to any person obtaining a -// copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to permit -// persons to whom the Software is furnished to do so, subject to the -// following conditions: -// -// The above copyright notice and this permission notice shall be included -// in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN -// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE -// USE OR OTHER DEALINGS IN THE SOFTWARE. - - - -var punycode = __webpack_require__(121); -var util = __webpack_require__(123); - -exports.parse = urlParse; -exports.resolve = urlResolve; -exports.resolveObject = urlResolveObject; -exports.format = urlFormat; - -exports.Url = Url; - -function Url() { - this.protocol = null; - this.slashes = null; - this.auth = null; - this.host = null; - this.port = null; - this.hostname = null; - this.hash = null; - this.search = null; - this.query = null; - this.pathname = null; - this.path = null; - this.href = null; -} - -// Reference: RFC 3986, RFC 1808, RFC 2396 - -// define these here so at least they only have to be -// compiled once on the first module load. -var protocolPattern = /^([a-z0-9.+-]+:)/i, - portPattern = /:[0-9]*$/, - - // Special case for a simple path URL - simplePathPattern = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, - - // RFC 2396: characters reserved for delimiting URLs. - // We actually just auto-escape these. - delims = ['<', '>', '"', '`', ' ', '\r', '\n', '\t'], - - // RFC 2396: characters not allowed for various reasons. - unwise = ['{', '}', '|', '\\', '^', '`'].concat(delims), - - // Allowed by RFCs, but cause of XSS attacks. Always escape these. - autoEscape = ['\''].concat(unwise), - // Characters that are never ever allowed in a hostname. - // Note that any invalid chars are also handled, but these - // are the ones that are *expected* to be seen, so we fast-path - // them. - nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape), - hostEndingChars = ['/', '?', '#'], - hostnameMaxLen = 255, - hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/, - hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, - // protocols that can allow "unsafe" and "unwise" chars. - unsafeProtocol = { - 'javascript': true, - 'javascript:': true - }, - // protocols that never have a hostname. - hostlessProtocol = { - 'javascript': true, - 'javascript:': true - }, - // protocols that always contain a // bit. - slashedProtocol = { - 'http': true, - 'https': true, - 'ftp': true, - 'gopher': true, - 'file': true, - 'http:': true, - 'https:': true, - 'ftp:': true, - 'gopher:': true, - 'file:': true - }, - querystring = __webpack_require__(124); - -function urlParse(url, parseQueryString, slashesDenoteHost) { - if (url && util.isObject(url) && url instanceof Url) return url; - - var u = new Url; - u.parse(url, parseQueryString, slashesDenoteHost); - return u; -} - -Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) { - if (!util.isString(url)) { - throw new TypeError("Parameter 'url' must be a string, not " + typeof url); - } - - // Copy chrome, IE, opera backslash-handling behavior. - // Back slashes before the query string get converted to forward slashes - // See: https://code.google.com/p/chromium/issues/detail?id=25916 - var queryIndex = url.indexOf('?'), - splitter = - (queryIndex !== -1 && queryIndex < url.indexOf('#')) ? '?' : '#', - uSplit = url.split(splitter), - slashRegex = /\\/g; - uSplit[0] = uSplit[0].replace(slashRegex, '/'); - url = uSplit.join(splitter); - - var rest = url; - - // trim before proceeding. - // This is to support parse stuff like " http://foo.com \n" - rest = rest.trim(); - - if (!slashesDenoteHost && url.split('#').length === 1) { - // Try fast path regexp - var simplePath = simplePathPattern.exec(rest); - if (simplePath) { - this.path = rest; - this.href = rest; - this.pathname = simplePath[1]; - if (simplePath[2]) { - this.search = simplePath[2]; - if (parseQueryString) { - this.query = querystring.parse(this.search.substr(1)); - } else { - this.query = this.search.substr(1); - } - } else if (parseQueryString) { - this.search = ''; - this.query = {}; - } - return this; - } - } - - var proto = protocolPattern.exec(rest); - if (proto) { - proto = proto[0]; - var lowerProto = proto.toLowerCase(); - this.protocol = lowerProto; - rest = rest.substr(proto.length); - } - - // figure out if it's got a host - // user@server is *always* interpreted as a hostname, and url - // resolution will treat //foo/bar as host=foo,path=bar because that's - // how the browser resolves relative URLs. - if (slashesDenoteHost || proto || rest.match(/^\/\/[^@\/]+@[^@\/]+/)) { - var slashes = rest.substr(0, 2) === '//'; - if (slashes && !(proto && hostlessProtocol[proto])) { - rest = rest.substr(2); - this.slashes = true; - } - } - - if (!hostlessProtocol[proto] && - (slashes || (proto && !slashedProtocol[proto]))) { - - // there's a hostname. - // the first instance of /, ?, ;, or # ends the host. - // - // If there is an @ in the hostname, then non-host chars *are* allowed - // to the left of the last @ sign, unless some host-ending character - // comes *before* the @-sign. - // URLs are obnoxious. - // - // ex: - // http://a@b@c/ => user:a@b host:c - // http://a@b?@c => user:a host:c path:/?@c - - // v0.12 TODO(isaacs): This is not quite how Chrome does things. - // Review our test case against browsers more comprehensively. - - // find the first instance of any hostEndingChars - var hostEnd = -1; - for (var i = 0; i < hostEndingChars.length; i++) { - var hec = rest.indexOf(hostEndingChars[i]); - if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) - hostEnd = hec; - } - - // at this point, either we have an explicit point where the - // auth portion cannot go past, or the last @ char is the decider. - var auth, atSign; - if (hostEnd === -1) { - // atSign can be anywhere. - atSign = rest.lastIndexOf('@'); - } else { - // atSign must be in auth portion. - // http://a@b/c@d => host:b auth:a path:/c@d - atSign = rest.lastIndexOf('@', hostEnd); - } - - // Now we have a portion which is definitely the auth. - // Pull that off. - if (atSign !== -1) { - auth = rest.slice(0, atSign); - rest = rest.slice(atSign + 1); - this.auth = decodeURIComponent(auth); - } - - // the host is the remaining to the left of the first non-host char - hostEnd = -1; - for (var i = 0; i < nonHostChars.length; i++) { - var hec = rest.indexOf(nonHostChars[i]); - if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) - hostEnd = hec; - } - // if we still have not hit it, then the entire thing is a host. - if (hostEnd === -1) - hostEnd = rest.length; - - this.host = rest.slice(0, hostEnd); - rest = rest.slice(hostEnd); - - // pull out port. - this.parseHost(); - - // we've indicated that there is a hostname, - // so even if it's empty, it has to be present. - this.hostname = this.hostname || ''; - - // if hostname begins with [ and ends with ] - // assume that it's an IPv6 address. - var ipv6Hostname = this.hostname[0] === '[' && - this.hostname[this.hostname.length - 1] === ']'; - - // validate a little. - if (!ipv6Hostname) { - var hostparts = this.hostname.split(/\./); - for (var i = 0, l = hostparts.length; i < l; i++) { - var part = hostparts[i]; - if (!part) continue; - if (!part.match(hostnamePartPattern)) { - var newpart = ''; - for (var j = 0, k = part.length; j < k; j++) { - if (part.charCodeAt(j) > 127) { - // we replace non-ASCII char with a temporary placeholder - // we need this to make sure size of hostname is not - // broken by replacing non-ASCII by nothing - newpart += 'x'; - } else { - newpart += part[j]; - } - } - // we test again with ASCII char only - if (!newpart.match(hostnamePartPattern)) { - var validParts = hostparts.slice(0, i); - var notHost = hostparts.slice(i + 1); - var bit = part.match(hostnamePartStart); - if (bit) { - validParts.push(bit[1]); - notHost.unshift(bit[2]); - } - if (notHost.length) { - rest = '/' + notHost.join('.') + rest; - } - this.hostname = validParts.join('.'); - break; - } - } - } - } - - if (this.hostname.length > hostnameMaxLen) { - this.hostname = ''; - } else { - // hostnames are always lower case. - this.hostname = this.hostname.toLowerCase(); - } - - if (!ipv6Hostname) { - // IDNA Support: Returns a punycoded representation of "domain". - // It only converts parts of the domain name that - // have non-ASCII characters, i.e. it doesn't matter if - // you call it with a domain that already is ASCII-only. - this.hostname = punycode.toASCII(this.hostname); - } - - var p = this.port ? ':' + this.port : ''; - var h = this.hostname || ''; - this.host = h + p; - this.href += this.host; - - // strip [ and ] from the hostname - // the host field still retains them, though - if (ipv6Hostname) { - this.hostname = this.hostname.substr(1, this.hostname.length - 2); - if (rest[0] !== '/') { - rest = '/' + rest; - } - } - } - - // now rest is set to the post-host stuff. - // chop off any delim chars. - if (!unsafeProtocol[lowerProto]) { - - // First, make 100% sure that any "autoEscape" chars get - // escaped, even if encodeURIComponent doesn't think they - // need to be. - for (var i = 0, l = autoEscape.length; i < l; i++) { - var ae = autoEscape[i]; - if (rest.indexOf(ae) === -1) - continue; - var esc = encodeURIComponent(ae); - if (esc === ae) { - esc = escape(ae); - } - rest = rest.split(ae).join(esc); - } - } - - - // chop off from the tail first. - var hash = rest.indexOf('#'); - if (hash !== -1) { - // got a fragment string. - this.hash = rest.substr(hash); - rest = rest.slice(0, hash); - } - var qm = rest.indexOf('?'); - if (qm !== -1) { - this.search = rest.substr(qm); - this.query = rest.substr(qm + 1); - if (parseQueryString) { - this.query = querystring.parse(this.query); - } - rest = rest.slice(0, qm); - } else if (parseQueryString) { - // no query string, but parseQueryString still requested - this.search = ''; - this.query = {}; - } - if (rest) this.pathname = rest; - if (slashedProtocol[lowerProto] && - this.hostname && !this.pathname) { - this.pathname = '/'; - } - - //to support http.request - if (this.pathname || this.search) { - var p = this.pathname || ''; - var s = this.search || ''; - this.path = p + s; - } - - // finally, reconstruct the href based on what has been validated. - this.href = this.format(); - return this; -}; - -// format a parsed object into a url string -function urlFormat(obj) { - // ensure it's an object, and not a string url. - // If it's an obj, this is a no-op. - // this way, you can call url_format() on strings - // to clean up potentially wonky urls. - if (util.isString(obj)) obj = urlParse(obj); - if (!(obj instanceof Url)) return Url.prototype.format.call(obj); - return obj.format(); -} - -Url.prototype.format = function() { - var auth = this.auth || ''; - if (auth) { - auth = encodeURIComponent(auth); - auth = auth.replace(/%3A/i, ':'); - auth += '@'; - } - - var protocol = this.protocol || '', - pathname = this.pathname || '', - hash = this.hash || '', - host = false, - query = ''; - - if (this.host) { - host = auth + this.host; - } else if (this.hostname) { - host = auth + (this.hostname.indexOf(':') === -1 ? - this.hostname : - '[' + this.hostname + ']'); - if (this.port) { - host += ':' + this.port; - } - } - - if (this.query && - util.isObject(this.query) && - Object.keys(this.query).length) { - query = querystring.stringify(this.query); - } - - var search = this.search || (query && ('?' + query)) || ''; - - if (protocol && protocol.substr(-1) !== ':') protocol += ':'; - - // only the slashedProtocols get the //. Not mailto:, xmpp:, etc. - // unless they had them to begin with. - if (this.slashes || - (!protocol || slashedProtocol[protocol]) && host !== false) { - host = '//' + (host || ''); - if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname; - } else if (!host) { - host = ''; - } - - if (hash && hash.charAt(0) !== '#') hash = '#' + hash; - if (search && search.charAt(0) !== '?') search = '?' + search; - - pathname = pathname.replace(/[?#]/g, function(match) { - return encodeURIComponent(match); - }); - search = search.replace('#', '%23'); - - return protocol + host + pathname + search + hash; -}; - -function urlResolve(source, relative) { - return urlParse(source, false, true).resolve(relative); -} - -Url.prototype.resolve = function(relative) { - return this.resolveObject(urlParse(relative, false, true)).format(); -}; - -function urlResolveObject(source, relative) { - if (!source) return relative; - return urlParse(source, false, true).resolveObject(relative); -} - -Url.prototype.resolveObject = function(relative) { - if (util.isString(relative)) { - var rel = new Url(); - rel.parse(relative, false, true); - relative = rel; - } - - var result = new Url(); - var tkeys = Object.keys(this); - for (var tk = 0; tk < tkeys.length; tk++) { - var tkey = tkeys[tk]; - result[tkey] = this[tkey]; - } - - // hash is always overridden, no matter what. - // even href="" will remove it. - result.hash = relative.hash; - - // if the relative url is empty, then there's nothing left to do here. - if (relative.href === '') { - result.href = result.format(); - return result; - } - - // hrefs like //foo/bar always cut to the protocol. - if (relative.slashes && !relative.protocol) { - // take everything except the protocol from relative - var rkeys = Object.keys(relative); - for (var rk = 0; rk < rkeys.length; rk++) { - var rkey = rkeys[rk]; - if (rkey !== 'protocol') - result[rkey] = relative[rkey]; - } - - //urlParse appends trailing / to urls like http://www.example.com - if (slashedProtocol[result.protocol] && - result.hostname && !result.pathname) { - result.path = result.pathname = '/'; - } - - result.href = result.format(); - return result; - } - - if (relative.protocol && relative.protocol !== result.protocol) { - // if it's a known url protocol, then changing - // the protocol does weird things - // first, if it's not file:, then we MUST have a host, - // and if there was a path - // to begin with, then we MUST have a path. - // if it is file:, then the host is dropped, - // because that's known to be hostless. - // anything else is assumed to be absolute. - if (!slashedProtocol[relative.protocol]) { - var keys = Object.keys(relative); - for (var v = 0; v < keys.length; v++) { - var k = keys[v]; - result[k] = relative[k]; - } - result.href = result.format(); - return result; - } - - result.protocol = relative.protocol; - if (!relative.host && !hostlessProtocol[relative.protocol]) { - var relPath = (relative.pathname || '').split('/'); - while (relPath.length && !(relative.host = relPath.shift())); - if (!relative.host) relative.host = ''; - if (!relative.hostname) relative.hostname = ''; - if (relPath[0] !== '') relPath.unshift(''); - if (relPath.length < 2) relPath.unshift(''); - result.pathname = relPath.join('/'); - } else { - result.pathname = relative.pathname; - } - result.search = relative.search; - result.query = relative.query; - result.host = relative.host || ''; - result.auth = relative.auth; - result.hostname = relative.hostname || relative.host; - result.port = relative.port; - // to support http.request - if (result.pathname || result.search) { - var p = result.pathname || ''; - var s = result.search || ''; - result.path = p + s; - } - result.slashes = result.slashes || relative.slashes; - result.href = result.format(); - return result; - } - - var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'), - isRelAbs = ( - relative.host || - relative.pathname && relative.pathname.charAt(0) === '/' - ), - mustEndAbs = (isRelAbs || isSourceAbs || - (result.host && relative.pathname)), - removeAllDots = mustEndAbs, - srcPath = result.pathname && result.pathname.split('/') || [], - relPath = relative.pathname && relative.pathname.split('/') || [], - psychotic = result.protocol && !slashedProtocol[result.protocol]; - - // if the url is a non-slashed url, then relative - // links like ../.. should be able - // to crawl up to the hostname, as well. This is strange. - // result.protocol has already been set by now. - // Later on, put the first path part into the host field. - if (psychotic) { - result.hostname = ''; - result.port = null; - if (result.host) { - if (srcPath[0] === '') srcPath[0] = result.host; - else srcPath.unshift(result.host); - } - result.host = ''; - if (relative.protocol) { - relative.hostname = null; - relative.port = null; - if (relative.host) { - if (relPath[0] === '') relPath[0] = relative.host; - else relPath.unshift(relative.host); - } - relative.host = null; - } - mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === ''); - } - - if (isRelAbs) { - // it's absolute. - result.host = (relative.host || relative.host === '') ? - relative.host : result.host; - result.hostname = (relative.hostname || relative.hostname === '') ? - relative.hostname : result.hostname; - result.search = relative.search; - result.query = relative.query; - srcPath = relPath; - // fall through to the dot-handling below. - } else if (relPath.length) { - // it's relative - // throw away the existing file, and take the new path instead. - if (!srcPath) srcPath = []; - srcPath.pop(); - srcPath = srcPath.concat(relPath); - result.search = relative.search; - result.query = relative.query; - } else if (!util.isNullOrUndefined(relative.search)) { - // just pull out the search. - // like href='?foo'. - // Put this after the other two cases because it simplifies the booleans - if (psychotic) { - result.hostname = result.host = srcPath.shift(); - //occationaly the auth can get stuck only in host - //this especially happens in cases like - //url.resolveObject('mailto:local1@domain1', 'local2@domain2') - var authInHost = result.host && result.host.indexOf('@') > 0 ? - result.host.split('@') : false; - if (authInHost) { - result.auth = authInHost.shift(); - result.host = result.hostname = authInHost.shift(); - } - } - result.search = relative.search; - result.query = relative.query; - //to support http.request - if (!util.isNull(result.pathname) || !util.isNull(result.search)) { - result.path = (result.pathname ? result.pathname : '') + - (result.search ? result.search : ''); - } - result.href = result.format(); - return result; - } - - if (!srcPath.length) { - // no path at all. easy. - // we've already handled the other stuff above. - result.pathname = null; - //to support http.request - if (result.search) { - result.path = '/' + result.search; - } else { - result.path = null; - } - result.href = result.format(); - return result; - } - - // if a url ENDs in . or .., then it must get a trailing slash. - // however, if it ends in anything else non-slashy, - // then it must NOT get a trailing slash. - var last = srcPath.slice(-1)[0]; - var hasTrailingSlash = ( - (result.host || relative.host || srcPath.length > 1) && - (last === '.' || last === '..') || last === ''); - - // strip single dots, resolve double dots to parent dir - // if the path tries to go above the root, `up` ends up > 0 - var up = 0; - for (var i = srcPath.length; i >= 0; i--) { - last = srcPath[i]; - if (last === '.') { - srcPath.splice(i, 1); - } else if (last === '..') { - srcPath.splice(i, 1); - up++; - } else if (up) { - srcPath.splice(i, 1); - up--; - } - } - - // if the path is allowed to go above the root, restore leading ..s - if (!mustEndAbs && !removeAllDots) { - for (; up--; up) { - srcPath.unshift('..'); - } - } - - if (mustEndAbs && srcPath[0] !== '' && - (!srcPath[0] || srcPath[0].charAt(0) !== '/')) { - srcPath.unshift(''); - } - - if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) { - srcPath.push(''); - } - - var isAbsolute = srcPath[0] === '' || - (srcPath[0] && srcPath[0].charAt(0) === '/'); - - // put the host back - if (psychotic) { - result.hostname = result.host = isAbsolute ? '' : - srcPath.length ? srcPath.shift() : ''; - //occationaly the auth can get stuck only in host - //this especially happens in cases like - //url.resolveObject('mailto:local1@domain1', 'local2@domain2') - var authInHost = result.host && result.host.indexOf('@') > 0 ? - result.host.split('@') : false; - if (authInHost) { - result.auth = authInHost.shift(); - result.host = result.hostname = authInHost.shift(); - } - } - - mustEndAbs = mustEndAbs || (result.host && srcPath.length); - - if (mustEndAbs && !isAbsolute) { - srcPath.unshift(''); - } - - if (!srcPath.length) { - result.pathname = null; - result.path = null; - } else { - result.pathname = srcPath.join('/'); - } - - //to support request.http - if (!util.isNull(result.pathname) || !util.isNull(result.search)) { - result.path = (result.pathname ? result.pathname : '') + - (result.search ? result.search : ''); - } - result.auth = relative.auth || result.auth; - result.slashes = result.slashes || relative.slashes; - result.href = result.format(); - return result; -}; - -Url.prototype.parseHost = function() { - var host = this.host; - var port = portPattern.exec(host); - if (port) { - port = port[0]; - if (port !== ':') { - this.port = port.substr(1); - } - host = host.substr(0, host.length - port.length); - } - if (host) this.hostname = host; -}; - - -/***/ }), - -/***/ 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 = __webpack_require__(90); - -function emptyFunction() {} -function emptyFunctionWithReset() {} -emptyFunctionWithReset.resetWarningCache = emptyFunction; - -module.exports = function() { - function shim(props, propName, componentName, location, propFullName, secret) { - if (secret === ReactPropTypesSecret) { - // It is still safe when called from React. - return; - } - var err = new Error( - 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' + - 'Use PropTypes.checkPropTypes() to call them. ' + - 'Read more at http://fb.me/use-check-prop-types' - ); - err.name = 'Invariant Violation'; - throw err; - }; - shim.isRequired = shim; - function getShim() { - return shim; - }; - // Important! - // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`. - var ReactPropTypes = { - array: shim, - bool: shim, - func: shim, - number: shim, - object: shim, - string: shim, - symbol: shim, - - any: shim, - arrayOf: getShim, - element: shim, - elementType: shim, - instanceOf: getShim, - node: shim, - objectOf: getShim, - oneOf: getShim, - oneOfType: getShim, - shape: getShim, - exact: getShim, - - checkPropTypes: emptyFunctionWithReset, - resetWarningCache: emptyFunction - }; - - ReactPropTypes.PropTypes = ReactPropTypes; - - return ReactPropTypes; -}; - - /***/ }), /***/ 9: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} - -/***/ }), - -/***/ 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) { - subClass.prototype = Object.create(superClass.prototype); - subClass.prototype.constructor = subClass; - subClass.__proto__ = superClass; -} - -module.exports = _inheritsLoose; - -/***/ }), - -/***/ 97: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["wordcount"]; }()); +(function() { module.exports = this["wp"]["blocks"]; }()); /***/ }) diff --git a/wp-includes/js/dist/block-editor.min.js b/wp-includes/js/dist/block-editor.min.js index bbe1b90cf4..efc0476053 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=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; +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=411)}({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)))}},113:function(e,t,n){"use strict";var r=Object.assign||function(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(156);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?N+="x":N+=P[L];if(!N.match(b)){var R=B.slice(0,w),D=B.slice(w+1),M=P.match(p);M&&(R.push(M[1]),D.unshift(M[2])),D.length&&(O="/"+D.join(".")+O),this.hostname=R.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),x||(this.hostname=r.toASCII(this.hostname));var F=this.port?":"+this.port:"",V=this.hostname||"";this.host=V+F,this.href+=this.host,x&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==O[0]&&(O="/"+O))}if(!h[y])for(w=0,T=u.length;w0)&&n.host.split("@"))&&(n.auth=x.shift(),n.host=n.hostname=x.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 S=_.slice(-1)[0],C=(n.host||e.host||_.length>1)&&("."===S||".."===S)||""===S,w=0,I=_.length;I>=0;I--)"."===(S=_[I])?_.splice(I,1):".."===S?(_.splice(I,1),w++):w&&(_.splice(I,1),w--);if(!k&&!y)for(;w--;w)_.unshift("..");!k||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),C&&"/"!==_.join("/").substr(-1)&&_.push("");var x,B=""===_[0]||_[0]&&"/"===_[0].charAt(0);E&&(n.hostname=n.host=B?"":_.length?_.shift():"",(x=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=x.shift(),n.host=n.hostname=x.shift()));return(k=k||n.host&&_.length)&&!B&&_.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)}},11:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t0?!0===c?r.scrollTop(t,O.top+j.top):!1===c?r.scrollTop(t,O.top+k.top):j.top<0?r.scrollTop(t,O.top+j.top):r.scrollTop(t,O.top+k.top):i||((c=void 0===c||!!c)?r.scrollTop(t,O.top+j.top):r.scrollTop(t,O.top+k.top)),o&&(j.left<0||k.left>0?!0===a?r.scrollLeft(t,O.left+j.left):!1===a?r.scrollLeft(t,O.left+k.left):j.left<0?r.scrollLeft(t,O.left+j.left):r.scrollLeft(t,O.left+k.left):i||((a=void 0===a||!!a)?r.scrollLeft(t,O.left+j.left):r.scrollLeft(t,O.left+k.left)))}},145: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}},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){ +*/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}},152: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}},153:function(e,t,n){(function(e,r){var o;/*! https://mths.be/punycode v1.3.2 by @mathias */!function(i){t&&t.nodeType,e&&e.nodeType;var c="object"==typeof r&&r;c.global!==c&&c.window!==c&&c.self;var a,l=2147483647,s=36,u=1,d=26,f=38,b=700,p=72,h=128,m="-",g=/^xn--/,v=/[^\x20-\x7E]/,O=/[\x2E\u3002\uFF0E\uFF61]/g,j={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},k=s-u,y=Math.floor,_=String.fromCharCode;function E(e){throw RangeError(j[e])}function S(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function C(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+S((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 x(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function B(e,t,n){var r=0;for(e=n?y(e/b):e>>1,e+=y(e/t);e>k*d>>1;r+=s)e=y(e/k);return y(r+(k+1)*e/(e+f))}function T(e){var t,n,r,o,i,c,a,f,b,g,v,O=[],j=e.length,k=0,_=h,S=p;for((n=e.lastIndexOf(m))<0&&(n=0),r=0;r=128&&E("not-basic"),O.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=j&&E("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-k)/c))&&E("overflow"),k+=f*c,!(f<(b=a<=S?u:a>=S+d?d:a-S));a+=s)c>y(l/(g=s-b))&&E("overflow"),c*=g;S=B(k-i,t=O.length+1,0==i),y(k/t)>l-_&&E("overflow"),_+=y(k/t),k%=t,O.splice(k++,0,_)}return I(O)}function P(e){var t,n,r,o,i,c,a,f,b,g,v,O,j,k,S,C=[];for(O=(e=w(e)).length,t=h,n=0,i=p,c=0;c=t&&vy((l-n)/(j=r+1))&&E("overflow"),n+=(a-t)*j,t=a,c=0;cl&&E("overflow"),v==t){for(f=n,b=s;!(f<(g=b<=i?u:b>=i+d?d:b-i));b+=s)S=f-g,k=s-g,C.push(_(x(g+S%k,0))),f=y(S/k);C.push(_(x(f,0))),i=B(n,j,r==o),n=0,++r}++n,++t}return C.join("")}a={version:"1.3.2",ucs2:{decode:w,encode:I},decode:T,encode:P,toASCII:function(e){return C(e,(function(e){return v.test(e)?"xn--"+P(e):e}))},toUnicode:function(e){return C(e,(function(e){return g.test(e)?T(e.slice(4).toLowerCase()):e}))}},void 0===(o=function(){return a}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n(154)(e),n(71))},154: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}},155: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}}},156:function(e,t,n){"use strict";t.decode=t.parse=n(157),t.encode=t.stringify=n(158)},157: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)}},158: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}},2:function(e,t){!function(){e.exports=this.lodash}()},20:function(e,t){!function(){e.exports=this.wp.keycodes}()},21:function(e,t){!function(){e.exports=this.React}()},22:function(e,t,n){"use strict";var r=n(37);var o=n(38);function i(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,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(r=(c=a.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}}(e,t)||Object(o.a)()}n.d(t,"a",(function(){return i}))},23:function(e,t){!function(){e.exports=this.regeneratorRuntime}()},24:function(e,t){!function(){e.exports=this.wp.richText}()},25:function(e,t,n){e.exports=n(113)()},255: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)}}}},256: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=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 +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]:" ",x=w.length>0?w.substr(1):w,B=E.linedelimiters[C];if(" "===I)S++;else if("-"===I)r.splice(S,1),i.splice(S,1);else if("+"===I)r.splice(S,0,x),i.splice(S,0,B),S++;else if("\\"===I){var T=E.lines[C-1]?E.lines[C-1][0]:null;"+"===T?b=!0:"-"===T&&(p=!0)}}}if(b)for(;!r[r.length-1];)r.pop(),i.pop();else p&&(r.push(""),i.push("\n"));for(var P=0;P1&&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 k=/\n$/.test(n),y=/\n$/.test(i);0!=r.length||k?k&&y||p.push("\\ No newline at end of file"):p.splice(j.oldLines,0,"\\ No newline at end of file")}d.push(j),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()},257: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;e=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},411:function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"resetBlocks",(function(){return hn})),n.d(r,"resetSelection",(function(){return mn})),n.d(r,"receiveBlocks",(function(){return gn})),n.d(r,"updateBlockAttributes",(function(){return vn})),n.d(r,"updateBlock",(function(){return On})),n.d(r,"selectBlock",(function(){return jn})),n.d(r,"selectPreviousBlock",(function(){return kn})),n.d(r,"selectNextBlock",(function(){return yn})),n.d(r,"startMultiSelect",(function(){return _n})),n.d(r,"stopMultiSelect",(function(){return En})),n.d(r,"multiSelect",(function(){return Sn})),n.d(r,"clearSelectedBlock",(function(){return Cn})),n.d(r,"toggleSelection",(function(){return wn})),n.d(r,"replaceBlocks",(function(){return xn})),n.d(r,"replaceBlock",(function(){return Bn})),n.d(r,"moveBlocksDown",(function(){return Pn})),n.d(r,"moveBlocksUp",(function(){return Nn})),n.d(r,"moveBlockToPosition",(function(){return Ln})),n.d(r,"insertBlock",(function(){return An})),n.d(r,"insertBlocks",(function(){return Rn})),n.d(r,"showInsertionPoint",(function(){return Dn})),n.d(r,"hideInsertionPoint",(function(){return Mn})),n.d(r,"setTemplateValidity",(function(){return Fn})),n.d(r,"synchronizeTemplate",(function(){return Vn})),n.d(r,"mergeBlocks",(function(){return Hn})),n.d(r,"removeBlocks",(function(){return Un})),n.d(r,"removeBlock",(function(){return zn})),n.d(r,"replaceInnerBlocks",(function(){return Gn})),n.d(r,"toggleBlockMode",(function(){return Kn})),n.d(r,"startTyping",(function(){return Wn})),n.d(r,"stopTyping",(function(){return qn})),n.d(r,"startDraggingBlocks",(function(){return $n})),n.d(r,"stopDraggingBlocks",(function(){return Yn})),n.d(r,"enterFormattedText",(function(){return Xn})),n.d(r,"exitFormattedText",(function(){return Zn})),n.d(r,"selectionChange",(function(){return Jn})),n.d(r,"insertDefaultBlock",(function(){return Qn})),n.d(r,"updateBlockListSettings",(function(){return er})),n.d(r,"updateSettings",(function(){return tr})),n.d(r,"__unstableSaveReusableBlock",(function(){return nr})),n.d(r,"__unstableMarkLastChangeAsPersistent",(function(){return rr})),n.d(r,"__unstableMarkNextChangeAsNotPersistent",(function(){return or})),n.d(r,"__unstableMarkAutomaticChange",(function(){return ir})),n.d(r,"setNavigationMode",(function(){return cr})),n.d(r,"duplicateBlocks",(function(){return ar})),n.d(r,"insertBeforeBlock",(function(){return lr})),n.d(r,"insertAfterBlock",(function(){return sr}));var o={};n.r(o),n.d(o,"INSERTER_UTILITY_HIGH",(function(){return br})),n.d(o,"INSERTER_UTILITY_MEDIUM",(function(){return pr})),n.d(o,"INSERTER_UTILITY_LOW",(function(){return hr})),n.d(o,"INSERTER_UTILITY_NONE",(function(){return mr})),n.d(o,"getBlockName",(function(){return Or})),n.d(o,"isBlockValid",(function(){return jr})),n.d(o,"getBlockAttributes",(function(){return kr})),n.d(o,"getBlock",(function(){return yr})),n.d(o,"__unstableGetBlockWithoutInnerBlocks",(function(){return _r})),n.d(o,"getBlocks",(function(){return Er})),n.d(o,"getClientIdsOfDescendants",(function(){return Sr})),n.d(o,"getClientIdsWithDescendants",(function(){return Cr})),n.d(o,"getGlobalBlockCount",(function(){return wr})),n.d(o,"getBlocksByClientId",(function(){return Ir})),n.d(o,"getBlockCount",(function(){return xr})),n.d(o,"getSelectionStart",(function(){return Br})),n.d(o,"getSelectionEnd",(function(){return Tr})),n.d(o,"getBlockSelectionStart",(function(){return Pr})),n.d(o,"getBlockSelectionEnd",(function(){return Nr})),n.d(o,"getSelectedBlockCount",(function(){return Lr})),n.d(o,"hasSelectedBlock",(function(){return Ar})),n.d(o,"getSelectedBlockClientId",(function(){return Rr})),n.d(o,"getSelectedBlock",(function(){return Dr})),n.d(o,"getBlockRootClientId",(function(){return Mr})),n.d(o,"getBlockParents",(function(){return Fr})),n.d(o,"getBlockHierarchyRootClientId",(function(){return Vr})),n.d(o,"getLowestCommonAncestorWithSelectedBlock",(function(){return Hr})),n.d(o,"getAdjacentBlockClientId",(function(){return Ur})),n.d(o,"getPreviousBlockClientId",(function(){return zr})),n.d(o,"getNextBlockClientId",(function(){return Gr})),n.d(o,"getSelectedBlocksInitialCaretPosition",(function(){return Kr})),n.d(o,"getSelectedBlockClientIds",(function(){return Wr})),n.d(o,"getMultiSelectedBlockClientIds",(function(){return qr})),n.d(o,"getMultiSelectedBlocks",(function(){return $r})),n.d(o,"getFirstMultiSelectedBlockClientId",(function(){return Yr})),n.d(o,"getLastMultiSelectedBlockClientId",(function(){return Xr})),n.d(o,"isFirstMultiSelectedBlock",(function(){return Zr})),n.d(o,"isBlockMultiSelected",(function(){return Jr})),n.d(o,"isAncestorMultiSelected",(function(){return Qr})),n.d(o,"getMultiSelectedBlocksStartClientId",(function(){return eo})),n.d(o,"getMultiSelectedBlocksEndClientId",(function(){return to})),n.d(o,"getBlockOrder",(function(){return no})),n.d(o,"getBlockIndex",(function(){return ro})),n.d(o,"isBlockSelected",(function(){return oo})),n.d(o,"hasSelectedInnerBlock",(function(){return io})),n.d(o,"isBlockWithinSelection",(function(){return co})),n.d(o,"hasMultiSelection",(function(){return ao})),n.d(o,"isMultiSelecting",(function(){return lo})),n.d(o,"isSelectionEnabled",(function(){return so})),n.d(o,"getBlockMode",(function(){return uo})),n.d(o,"isTyping",(function(){return fo})),n.d(o,"isDraggingBlocks",(function(){return bo})),n.d(o,"isCaretWithinFormattedText",(function(){return po})),n.d(o,"getBlockInsertionPoint",(function(){return ho})),n.d(o,"isBlockInsertionPointVisible",(function(){return mo})),n.d(o,"isValidTemplate",(function(){return go})),n.d(o,"getTemplate",(function(){return vo})),n.d(o,"getTemplateLock",(function(){return Oo})),n.d(o,"canInsertBlockType",(function(){return ko})),n.d(o,"getInserterItems",(function(){return Eo})),n.d(o,"hasInserterItems",(function(){return So})),n.d(o,"__experimentalGetAllowedBlocks",(function(){return Co})),n.d(o,"getBlockListSettings",(function(){return wo})),n.d(o,"getSettings",(function(){return Io})),n.d(o,"isLastBlockChangePersistent",(function(){return xo})),n.d(o,"__experimentalGetBlockListSettingsForBlocks",(function(){return Bo})),n.d(o,"__experimentalGetParsedReusableBlock",(function(){return To})),n.d(o,"__unstableIsLastBlockChangeIgnored",(function(){return Po})),n.d(o,"__experimentalGetLastBlockAttributeChanges",(function(){return No})),n.d(o,"isNavigationMode",(function(){return Ao})),n.d(o,"didAutomaticChange",(function(){return Ro}));var i=n(9),c=n(24),a=n(54),l=n(46),s=n(5),u=n(11),d=n(0),f=n(10),b=n.n(f),p=n(2),h=n(8),m=n(29),g=n(4),v=n(52),O=n.n(v),j=function(e,t,n){if(t){var r=Object(p.find)(e,{slug:t});if(r)return r}return{color:n}},k=function(e,t){return Object(p.find)(e,{color:t})};function y(e,t){if(e&&t)return"has-".concat(Object(p.kebabCase)(t),"-").concat(e)}var _=n(13),E=n(12),S=n(14),C=n(15),w=n(7),I=n(16);function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function B(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.gradientAttribute,n=void 0===t?"gradient":t,r=e.customGradientAttribute,o=void 0===r?"customGradient":r,i=$().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,u=c.customGradient,f=Object(g.useDispatch)("core/block-editor").updateBlockAttributes,b=Object(d.useCallback)((function(e){var t,r,c=function(e,t){var n=Q(e,t);return n&&n.slug}(a,e);c?f(i,(r={},Object(s.a)(r,n,c),Object(s.a)(r,o,void 0),r)):f(i,(t={},Object(s.a)(t,n,void 0),Object(s.a)(t,o,e),t))}),[a,i,f]);return{gradientClass:J(l),gradientValue:l?function(e,t){var n=Object(p.find)(e,["slug",t]);return n&&n.gradient}(a,l):u,setGradient:b}}function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var ne=Object(U.__)("(Color: %s)"),re=Object(U.__)("(Gradient: %s)"),oe=["colors","disableCustomColors","gradients","disableCustomGradients"];function ie(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=k(r,t=a),u=s&&s.name;n=Object(U.sprintf)(ne,u||t)}}else if("gradient"===c&&l){var f=Q(o,t=l),b=f&&f.name;n=Object(U.sprintf)(re,b||t)}return Object(d.createElement)(d.Fragment,null,i,!!t&&Object(d.createElement)(z.ColorIndicator,{colorValue:t,"aria-label":n}))}function ce(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(M.a)(g,2),O=v[0],j=v[1];return h||m?Object(d.createElement)(z.BaseControl,{className:b()("block-editor-color-gradient-control",i)},Object(d.createElement)("fieldset",null,Object(d.createElement)("legend",null,Object(d.createElement)(z.BaseControl.VisualLabel,null,Object(d.createElement)(ie,{currentTab:O,label:c,colorValue:s,gradientValue:f}))),h&&m&&Object(d.createElement)(z.ButtonGroup,{className:"block-editor-color-gradient-control__button-tabs"},Object(d.createElement)(z.Button,{isLarge:!0,isPrimary:"color"===O,isSecondary:"color"!==O,onClick:function(){return j("color")}},Object(U.__)("Solid Color")),Object(d.createElement)(z.Button,{isLarge:!0,isPrimary:"gradient"===O,isSecondary:"gradient"!==O,onClick:function(){return j("gradient")}},Object(U.__)("Gradient"))),("color"===O||!m)&&Object(d.createElement)(z.ColorPalette,Object(u.a)({value:s,onChange:m?function(e){a(e),l()}:a},{colors:t,disableCustomColors:r})),("gradient"===O||!h)&&Object(d.createElement)(z.__experimentalGradientPicker,Object(u.a)({value:f,onChange:h?function(e){l(e),a()}:l},{gradients:n,disableCustomGradients:o})))):null}function ae(e){var t=Object(g.useSelect)((function(e){var t=e("core/block-editor").getSettings();return Object(p.pick)(t,oe)}));return Object(d.createElement)(ce,function(e){for(var t=1;t=24?"large":"small"})?null:Object(d.createElement)(ke,{backgroundColor:t,textColor:c,tinyBackgroundColor:a,tinyTextColor:l})},_e=Object(z.createSlotFill)("InspectorControls"),Ee=_e.Fill,Se=_e.Slot,Ce=X(Ee);Ce.Slot=Se;var we=Ce;function Ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xe(e){for(var t=1;t1&&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=t.colorDetector,l=(a=void 0===a?{}:a).targetRef,u=a.backgroundColorTargetRef,f=void 0===u?l:u,h=a.textColorTargetRef,m=void 0===h?l:h,v=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],O=$().clientId,j=Object(g.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockAttributes,r=(0,t.getSettings)().colors;return{attributes:n(O),settingsColors:r&&!0!==r?r:Ne}}),[O]),k=j.attributes,y=j.settingsColors,_=Object(g.useDispatch)("core/block-editor").updateBlockAttributes,E=Object(d.useCallback)((function(e){return _(O,e)}),[_,O]),S=Object(d.useMemo)((function(){return H()((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(s.a)({},t,o):i&&(l=Object(s.a)({},t,i)),Object(d.cloneElement)(c,{className:b()(u,c.props.className,(a={},Object(s.a)(a,"has-".concat(Object(p.kebabCase)(r),"-").concat(Object(p.kebabCase)(t)),r),Object(s.a)(a,n||"has-".concat(Object(p.kebabCase)(e)),r||i),a)),style:xe({},l,{},h,{},c.props.style||{})})})))}}),{maxSize:e.length})}),[e.length]),C=Object(d.useMemo)((function(){return H()((function(e,t){return function(n){var r=t.find((function(e){return e.color===n}));E(Object(s.a)({},r?Object(p.camelCase)("custom ".concat(e)):e,void 0)),E(Object(s.a)({},r?e:Object(p.camelCase)("custom ".concat(e)),r?r.slug:n))}}),{maxSize:e.length})}),[E,e.length]),w=Object(d.useState)(),I=Object(M.a)(w,2),x=I[0],B=I[1],T=Object(d.useState)(),P=Object(M.a)(T,2),N=P[0],L=P[1];return Object(d.useEffect)((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}}if(t&&L(Te(m.current).color),e){for(var d=f.current,b=Te(d).backgroundColor;"rgba(0, 0, 0, 0)"===b&&d.parentNode&&d.parentNode.nodeType===Pe.ELEMENT_NODE;)d=d.parentNode,b=Te(d).backgroundColor;B(b)}}}),[e.reduce((function(e,t){return"".concat(e," | ").concat(k[t.name]," | ").concat(k[Object(p.camelCase)("custom ".concat(t.name))])}),"")].concat(Object(D.a)(v))),Object(d.useMemo)((function(){var t={},n=e.reduce((function(e,n){"string"==typeof n&&(n={name:n});var r=xe({},n,{color:k[n.name]}),o=r.name,i=r.property,c=void 0===i?o:i,a=r.className,l=r.panelLabel,s=void 0===l?Object(p.startCase)(o):l,u=r.componentName,d=void 0===u?s.replace(/\s/g,""):u,f=r.color,b=void 0===f?n.color:f,h=r.colors,m=void 0===h?y:h,g=k[Object(p.camelCase)("custom ".concat(o))],v=g?void 0:m.find((function(e){return e.slug===b}));return e[d]=S(o,c,a,b,v&&v.color,g),e[d].displayName=d,e[d].color=g||v&&v.color,e[d].slug=b,e[d].setColor=C(o,m),t[d]={value:v?v.color:k[Object(p.camelCase)("custom ".concat(o))],onChange:e[d].setColor,label:s,colors:m},m||delete t[d].colors,e}),{}),a={title:r,initialOpen:!1,colorSettings:t,colorPanelProps:o,contrastCheckers:i,detectedBackgroundColor:x,detectedColor:N,panelChildren:c};return xe({},n,{ColorPanel:Object(d.createElement)(Ae,a),InspectorControlsColorPanel:Object(d.createElement)(Re,a)})}),[k,E,N,x].concat(Object(D.a)(v)))}var Me=function(e,t,n){if(t){var r=Object(p.find)(e,{slug:t});if(r)return r}return{size:n}};function Fe(e){if(e)return"has-".concat(Object(p.kebabCase)(e),"-font-size")}var Ve=Object(g.withSelect)((function(e){var t=e("core/block-editor").getSettings();return{disableCustomFontSizes:t.disableCustomFontSizes,fontSizes:t.fontSizes}}))(z.FontSizePicker);function He(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ue(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:1,o=Object(D.a)(e);return o.splice(t,r),Bt(o,e.slice(t,t+r),n)}function Pt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Nt(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"",n=Object(s.a)({},t,[]);return e.forEach((function(e){var r=e.clientId,o=e.innerBlocks;n[t].push(r),Object.assign(n,Lt(o,r))})),n}function At(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.reduce((function(e,n){return Object.assign(e,Object(s.a)({},n.clientId,t),At(n.innerBlocks,n.clientId))}),{})}function Rt(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.identity,n={},r=Object(D.a)(e);r.length;){var o=r.shift(),i=o.innerBlocks,c=Object(F.a)(o,["innerBlocks"]);r.push.apply(r,Object(D.a)(i)),n[c.clientId]=t(c)}return n}function Dt(e){return Rt(e,(function(e){return Object(p.omit)(e,"attributes")}))}function Mt(e){return Rt(e,(function(e){return e.attributes}))}function Ft(e,t){return e===t?Nt({},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 Ht=function(e){return e.reduce((function(e,t){return e[t]={},e}),{})};var Ut=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=Nt({},t)).attributes=Object(p.mapValues)(t.attributes,(function(e,n){return"core/block"===t.byClientId[n].name&&e.ref===r?Nt({},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)(Rt(n.blocks),(function(){return{}}));break;case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":var i=Object(p.keys)(Rt(n.blocks));n.rootClientId&&i.push(n.rootClientId),r.cache=Nt({},r.cache,{},Ht(o(i)));break;case"UPDATE_BLOCK":case"UPDATE_BLOCK_ATTRIBUTES":r.cache=Nt({},r.cache,{},Ht(o([n.clientId])));break;case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var c=Ht(o(n.replacedClientIds));r.cache=Nt({},Object(p.omit)(r.cache,n.replacedClientIds),{},Object(p.omit)(c,n.replacedClientIds),{},Ht(Object(p.keys)(Rt(n.blocks))));break;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":r.cache=Nt({},Object(p.omit)(r.cache,n.removedClientIds),{},Ht(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=Nt({},r.cache,{},Ht(o(a)));break;case"MOVE_BLOCKS_UP":case"MOVE_BLOCKS_DOWN":var l=[];n.rootClientId&&l.push(n.rootClientId),r.cache=Nt({},r.cache,{},Ht(o(l)));break;case"SAVE_REUSABLE_BLOCK_SUCCESS":var s=Object(p.keys)(Object(p.omitBy)(r.attributes,(function(e,t){return"core/block"!==r.byClientId[t].name||e.ref!==n.updatedId})));r.cache=Nt({},r.cache,{},Ht(o(s)))}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(D.a)(n),[r],Object(D.a)(e(t,r)))}),[])}(t.order);return Nt({},t,{byClientId:Nt({},Object(p.omit)(t.byClientId,r),{},Dt(n.blocks)),attributes:Nt({},Object(p.omit)(t.attributes,r),{},Mt(n.blocks)),order:Nt({},Object(p.omit)(t.order,r),{},Lt(n.blocks)),parents:Nt({},Object(p.omit)(t.parents,r),{},At(n.blocks)),cache:Nt({},Object(p.omit)(t.cache,r),{},Object(p.mapValues)(Rt(n.blocks),(function(){return{}})))})}return e(t,n)}}),(function(e){var t,n=!1;return function(r,o){var i=e(r,o),c="MARK_LAST_CHANGE_AS_PERSISTENT"===o.type||n;if(r===i&&!c){n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===o.type;var a=Object(p.get)(r,["isPersistentChange"],!0);return r.isPersistentChange===a?r:Nt({},i,{isPersistentChange:a})}return i=Nt({},i,{isPersistentChange:c?!n:!Vt(o,t)}),t=o,n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===o.type,i}}),(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 Dt(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Nt({},e,{},Dt(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:Nt({},e,Object(s.a)({},t.clientId,Nt({},e[t.clientId],{},n)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?Nt({},Object(p.omit)(e,t.replacedClientIds),{},Dt(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 Nt({},e,{},Mt(t.blocks));case"UPDATE_BLOCK":return e[t.clientId]&&t.updates.attributes?Nt({},e,Object(s.a)({},t.clientId,Nt({},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=Ft(e[t.clientId],n))[o]=r),n}),e[t.clientId]);return n===e[t.clientId]?e:Nt({},e,Object(s.a)({},t.clientId,n));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?Nt({},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 Lt(t.blocks);case"RECEIVE_BLOCKS":return Nt({},e,{},Object(p.omit)(Lt(t.blocks),""));case"INSERT_BLOCKS":var n=t.rootClientId,r=void 0===n?"":n,o=e[r]||[],i=Lt(t.blocks,r),c=t.index,a=void 0===c?o.length:c;return Nt({},e,{},i,Object(s.a)({},r,Bt(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 Nt({},e,Object(s.a)({},b,Tt(e[b],O,g)))}return Nt({},e,(l={},Object(s.a)(l,d,Object(p.without)(e[d],h)),Object(s.a)(l,b,Bt(e[b],h,g)),l));case"MOVE_BLOCKS_UP":var j=t.clientIds,k=t.rootClientId,y=void 0===k?"":k,_=Object(p.first)(j),E=e[y];if(!E.length||_===Object(p.first)(E))return e;var S=E.indexOf(_);return Nt({},e,Object(s.a)({},y,Tt(E,S,S-1,j.length)));case"MOVE_BLOCKS_DOWN":var C=t.clientIds,w=t.rootClientId,I=void 0===w?"":w,x=Object(p.first)(C),B=Object(p.last)(C),T=e[I];if(!T.length||B===Object(p.last)(T))return e;var P=T.indexOf(x);return Nt({},e,Object(s.a)({},I,Tt(T,P,P+1,C.length)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var N=t.clientIds;if(!t.blocks)return e;var L=Lt(t.blocks);return Object(p.flow)([function(e){return Object(p.omit)(e,t.replacedClientIds)},function(e){return Nt({},e,{},Object(p.omit)(L,""))},function(e){return Object(p.mapValues)(e,(function(e){return Object(p.reduce)(e,(function(e,t){return t===N[0]?[].concat(Object(D.a)(e),Object(D.a)(L[""])):(-1===N.indexOf(t)&&e.push(t),e)}),[])}))}])(e);case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.flow)([function(e){return Object(p.omit)(e,t.removedClientIds)},function(e){return Object(p.mapValues)(e,(function(e){return p.without.apply(void 0,[e].concat(Object(D.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 At(t.blocks);case"RECEIVE_BLOCKS":return Nt({},e,{},At(t.blocks));case"INSERT_BLOCKS":return Nt({},e,{},At(t.blocks,t.rootClientId||""));case"MOVE_BLOCK_TO_POSITION":return Nt({},e,Object(s.a)({},t.clientId,t.toRootClientId||""));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Nt({},Object(p.omit)(e,t.replacedClientIds),{},At(t.blocks,e[t.clientIds[0]]));case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.omit)(e,t.removedClientIds)}return e}});function zt(){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 Gt=Object(g.combineReducers)({blocks:Ut,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 zt(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 zt(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 Nt({},e,Object(s.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:Nt({},e,Object(s.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 Nt({},e,{isValid:t.isValid})}return e},settings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:xt,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SETTINGS":return Nt({},e,{},t.settings)}return e},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:It,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),Nt({},e,{insertUsage:Nt({},e.insertUsage,Object(s.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(s.a)({},t.clientId,t.updates.attributes);case"UPDATE_BLOCK_ATTRIBUTES":return Object(s.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}}}),Kt=n(88),Wt=n.n(Kt),qt=n(255),$t=n.n(qt),Yt=n(32),Xt=n(23),Zt=n.n(Xt);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 kn(e){var t;return Zt.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,jn(t,-1);case 6:case"end":return n.stop()}}),rn)}function yn(e){var t;return Zt.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,jn(t);case 6:case"end":return n.stop()}}),on)}function _n(){return{type:"START_MULTI_SELECT"}}function En(){return{type:"STOP_MULTI_SELECT"}}function Sn(e,t){return{type:"MULTI_SELECT",start:e,end:t}}function Cn(){return{type:"CLEAR_SELECTED_BLOCK"}}function wn(){return{type:"TOGGLE_SELECTION",isSelectionEnabled:!(arguments.length>0&&void 0!==arguments[0])||arguments[0]}}function In(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 tn({},e,{attributes:tn({},i,{className:"".concat(r||""," is-style-").concat(c).trim()})})}))}function xn(e,t,n){var r,o,i;return Zt.a.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return e=Object(p.castArray)(e),c.t0=In,c.t1=Object(p.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(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,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()}}),an)}function An(e,t,n){return Rn([e],t,n,!(arguments.length>3&&void 0!==arguments[3])||arguments[3])}function Rn(e,t,n){var r,o,i,c,a,l,s,u,d=arguments;return Zt.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=In,f.t1=Object(p.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()}}),ln,null,[[11,24,28,36],[29,,31,35]])}function Dn(e,t){return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t}}function Mn(){return{type:"HIDE_INSERTION_POINT"}}function Fn(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function Vn(){return{type:"SYNCHRONIZE_TEMPLATE"}}function Hn(e,t){return{type:"MERGE_BLOCKS",blocks:[e,t]}}function Un(e){var t,n,r=arguments;return Zt.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,Jt("core/block-editor","getBlockRootClientId",e[0]);case 6:return n=o.sent,o.next=9,Jt("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,kn(e[0]);case 15:return o.next=17,{type:"REMOVE_BLOCKS",clientIds:e};case 17:return o.delegateYield(pn(),"t0",18);case 18:case"end":return o.stop()}}),sn)}function zn(e,t){return Un([e],t)}function Gn(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 Kn(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function Wn(){return{type:"START_TYPING"}}function qn(){return{type:"STOP_TYPING"}}function $n(){return{type:"START_DRAGGING_BLOCKS"}}function Yn(){return{type:"STOP_DRAGGING_BLOCKS"}}function Xn(){return{type:"ENTER_FORMATTED_TEXT"}}function Zn(){return{type:"EXIT_FORMATTED_TEXT"}}function Jn(e,t,n,r){return{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:n,endOffset:r}}function Qn(e,t,n){var r=Object(i.getDefaultBlockName)();if(r)return An(Object(i.createBlock)(r,e),n,t)}function er(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function tr(e){return{type:"UPDATE_SETTINGS",settings:e}}function nr(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function rr(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function or(){return{type:"MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"}}function ir(){return{type:"MARK_AUTOMATIC_CHANGE"}}function cr(){var e,t=arguments;return Zt.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(je.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(je.speak)(Object(U.__)("You are currently in edit mode. To return to the navigation mode, press Escape."));case 4:case"end":return n.stop()}}),un)}function ar(e){var t,n,r,o,c;return Zt.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,Jt("core/block-editor","getBlocksByClientId",e);case 4:return t=a.sent,a.next=7,Jt("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,Jt("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,Rn(c,o+1,n);case 19:if(!(c.length>1)){a.next=22;break}return a.next=22,Sn(Object(p.first)(c).clientId,Object(p.last)(c).clientId);case 22:case"end":return a.stop()}}),dn)}function lr(e){var t,n;return Zt.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,Jt("core/block-editor","getBlockRootClientId",e);case 4:return t=r.sent,r.next=7,Jt("core/block-editor","getTemplateLock",t);case 7:if(!r.sent){r.next=10;break}return r.abrupt("return");case 10:return r.next=12,Jt("core/block-editor","getBlockIndex",e,t);case 12:return n=r.sent,r.next=15,Qn({},t,n);case 15:case"end":return r.stop()}}),fn)}function sr(e){var t,n;return Zt.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,Jt("core/block-editor","getBlockRootClientId",e);case 4:return t=r.sent,r.next=7,Jt("core/block-editor","getTemplateLock",t);case 7:if(!r.sent){r.next=10;break}return r.abrupt("return");case 10:return r.next=12,Jt("core/block-editor","getBlockIndex",e,t);case 12:return n=r.sent,r.next=15,Qn({},t,n+1);case 15:case"end":return r.stop()}}),bn)}var ur=n(36);function dr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fr(e){for(var t=1;t2&&void 0!==arguments[2]&&arguments[2],r=[],o=t;e.blocks.parents[o];)o=e.blocks.parents[o],r.push(o);return n?r:r.reverse()}),(function(e){return[e.blocks.parents]}));function Vr(e,t){var n,r=t;do{n=r,r=e.blocks.parents[r]}while(r);return n}function Hr(e,t){for(var n,r=Rr(e),o=[].concat(Object(D.a)(Fr(e,t)),[t]),i=[].concat(Object(D.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=Rr(e)),void 0===t&&(t=n<0?Yr(e):Xr(e)),!t)return null;var r=Mr(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 zr(e,t){return Ur(e,t,-1)}function Gr(e,t){return Ur(e,t,1)}function Kr(e){return e.initialPosition}var Wr=Object(ur.a)((function(e){var t=e.selectionStart,n=e.selectionEnd;if(void 0===t.clientId||void 0===n.clientId)return vr;if(t.clientId===n.clientId)return[t.clientId];var r=Mr(e,t.clientId);if(null===r)return vr;var o=no(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 qr(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?vr:Wr(e)}var $r=Object(ur.a)((function(e){var t=qr(e);return t.length?t.map((function(t){return yr(e,t)})):vr}),(function(e){return[].concat(Object(D.a)(Wr.getDependants(e)),[e.blocks.byClientId,e.blocks.order,e.blocks.attributes])}));function Yr(e){return Object(p.first)(qr(e))||null}function Xr(e){return Object(p.last)(qr(e))||null}function Zr(e,t){return Yr(e)===t}function Jr(e,t){return-1!==qr(e).indexOf(t)}var Qr=Object(ur.a)((function(e,t){for(var n=t,r=!1;n&&!r;)r=Jr(e,n=Mr(e,n));return r}),(function(e){return[e.blocks.order,e.selectionStart.clientId,e.selectionEnd.clientId]}));function eo(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?null:t.clientId||null}function to(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?null:n.clientId||null}function no(e,t){return e.blocks.order[t||""]||vr}function ro(e,t,n){return no(e,n).indexOf(t)}function oo(e,t){var n=e.selectionStart,r=e.selectionEnd;return n.clientId===r.clientId&&n.clientId===t}function io(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(p.some)(no(e,t),(function(t){return oo(e,t)||Jr(e,t)||n&&io(e,t,n)}))}function co(e,t){if(!t)return!1;var n=qr(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=Io(e),a=c.allowedBlockTypes,l=r(a,t,!0);if(!l)return!1;var s=!!Oo(e,n);if(s)return!1;var u=wo(e,n),d=Object(p.get)(u,["allowedBlocks"]),f=r(d,t),b=o.parent,h=Or(e,n),m=r(b,h);return null!==f&&null!==m?f||m:null!==f?f:null===m||m},ko=Object(ur.a)(jo,(function(e,t,n){return[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]}));function yo(e,t){return Object(p.get)(e.preferences.insertUsage,[t],null)}var _o=function(e,t,n){return!!Object(i.hasBlockSupport)(t,"inserter",!0)&&jo(e,t.name,n)},Eo=Object(ur.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t,n){return n?br:t>0?pr:"common"===e?hr:mr},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)(Ir(e,Cr(e)),{name:t.name}));var a=Object(p.isArray)(t.parent),l=yo(e,o)||{},s=l.time,u=l.count,d=void 0===u?0:u,f=t.variations.filter((function(e){var t=e.scope;return!t||t.includes("inserter")}));return{id:o,name:t.name,initialAttributes:{},title:t.title,description:t.description,icon:t.icon,category:t.category,keywords:t.keywords,variations:f,example:t.example,isDisabled:c,utility:n(t.category,d,a),frecency:r(s,d)}},c=function(t){var o,c="core/block/".concat(t.id),a=To(e,t.id);1===a.length&&(o=Object(i.getBlockType)(a[0].name));var l=yo(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:gr,category:"reusable",keywords:[],isDisabled:!1,utility:f,frecency:b}},a=Object(i.getBlockTypes)().filter((function(n){return _o(e,n,t)})).map(o),l=jo(e,"core/block",t)?Lo(e).map(c):[];return Object(p.orderBy)([].concat(Object(D.a)(a),Object(D.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,Lo(e),Object(i.getBlockTypes)()]})),So=Object(ur.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 _o(e,n,t)}));if(n)return!0;var r=jo(e,"core/block",t)&&Lo(e).length>0;return r}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Lo(e),Object(i.getBlockTypes)()]})),Co=Object(ur.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 _o(e,n,t)}))}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Object(i.getBlockTypes)()]}));function wo(e,t){return e.blockListSettings[t]}function Io(e){return e.settings}function xo(e){return e.blocks.isPersistentChange}var Bo=Object(ur.a)((function(e,t){return Object(p.filter)(e.blockListSettings,(function(e,n){return t.includes(n)}))}),(function(e){return[e.blockListSettings]})),To=Object(ur.a)((function(e,t){var n=Object(p.find)(Lo(e),(function(e){return e.id===t}));return n?Object(i.parse)(n.content):null}),(function(e){return[Lo(e)]}));function Po(e){return e.blocks.isIgnoredChange}function No(e){return e.lastBlockAttributesChange}function Lo(e){return Object(p.get)(e,["settings","__experimentalReusableBlocks"],vr)}function Ao(e){return e.isNavigationMode}function Ro(e){return!!e.automaticChangeStatus}function Do(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Mo(e){for(var t=1;t0&&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)(z.Dropdown,{className:"block-editor-warning__secondary",position:"bottom left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(d.createElement)(z.Button,{icon:"ellipsis",label:Object(U.__)("More options"),onClick:n,"aria-expanded":t})},renderContent:function(){return Object(d.createElement)(z.MenuGroup,null,o.map((function(e,t){return Object(d.createElement)(z.MenuItem,{onClick:e.onClick,key:t},e.title)})))}}))},Xo=n(256),Zo=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)(z.Button,{isSecondary:!0,tabIndex:"0",onClick:o},i)))},Jo=function(e){function t(){return Object(_.a)(this,t),Object(S.a)(this,Object(C.a)(t).apply(this,arguments))}return Object(I.a)(t,e),Object(E.a)(t,[{key:"getDifference",value:function(e,t){return Object(Xo.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)(Zo,{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)(Zo,{title:Object(U.__)("After Conversion"),className:"block-editor-block-compare__converted",action:r,actionText:i,rawContent:l,renderedContent:a.renderedContent}))}}]),t}(d.Component),Qo=function(e){function t(e){var n;return Object(_.a)(this,t),(n=Object(S.a)(this,Object(C.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(E.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)(Yo,{actions:[Object(d.createElement)(z.Button,{key:"convert",onClick:this.onCompare,isSecondary:a,isPrimary:!a},Object(U._x)("Resolve","imperative verb")),a&&Object(d.createElement)(z.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)(z.Modal,{title:Object(U.__)("Resolve Block"),onRequestClose:this.onCompareClose,className:"block-editor-block-compare"},Object(d.createElement)(Jo,{block:c,onKeep:t,onConvert:n,convertor:ei,convertButtonText:Object(U.__)("Convert to Blocks")})))}}]),t}(d.Component),ei=function(e){return Object(i.rawHandler)({HTML:e.originalContent})},ti=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,ei(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)))}}}))])(Qo),ni=Object(d.createElement)(Yo,{className:"block-editor-block-list__block-crash-warning"},Object(U.__)("This block has encountered an error and cannot be previewed.")),ri=function(){return ni},oi=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).state={hasError:!1},e}return Object(I.a)(t,e),Object(E.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),ii=n(70),ci=n.n(ii);var ai=function(e){var t=e.clientId,n=Object(d.useState)(""),r=Object(M.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)(ci.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)}})};function li(e){return document.getElementById("block-"+e)}function si(e,t){var n=e.querySelector(".block-editor-block-list__layout");return e.contains(t)&&(!n||!n.contains(t))}function ui(e){e.nodeType!==e.ELEMENT_NODE&&(e=e.parentElement);var t=e.closest(".wp-block");if(t)return t.id.slice("block-".length)}var di=function(e){return e+1},fi=function(e){return{top:e.offsetTop,left:e.offsetLeft}};var bi=function(e,t,n,r,o){var i=Object(h.useReducedMotion)()||!r,c=Object(d.useReducer)(di,0),a=Object(M.a)(c,2),l=a[0],s=a[1],u=Object(d.useReducer)(di,0),f=Object(M.a)(u,2),b=f[0],p=f[1],m=Object(d.useState)({x:0,y:0,scrollTop:0}),g=Object(M.a)(m,2),v=g[0],O=g[1],j=e.current?fi(e.current):null,k=Object(d.useMemo)((function(){return!!n&&Object($o.getScrollContainer)(e.current)}),[n]);Object(d.useLayoutEffect)((function(){l&&p()}),[l]),Object(d.useLayoutEffect)((function(){if(i){if(n&&k){e.current.style.transform="none";var t=fi(e.current);k.scrollTop=k.scrollTop-j.top+t.top}}else{e.current.style.transform="none";var r=fi(e.current),o={x:j?j.left-r.left:0,y:j?j.top-r.top:0,scrollTop:j&&k?k.scrollTop-j.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(qo.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&&k&&!i&&e.y&&(k.scrollTop=v.scrollTop+e.y)}});return i?{}:{transformOrigin:"center",transform:Object(qo.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(qo.interpolate)([y.x,y.y],(function(e,n){return!t||0===e&&0===n?void 0:"1"}))}};function pi(e,t){for(var n="start"===t?"firstChild":"lastChild",r="start"===t?"nextSibling":"previousSibling";e[n];)for(e=e[n];e.nodeType===e.TEXT_NODE&&/^[ \t\n]*$/.test(e.data)&&e[r];)e=e[r];return e}function hi(e){var t=e("core/block-editor"),n=t.isSelectionEnabled,r=t.isMultiSelecting,o=t.getMultiSelectedBlockClientIds,i=t.hasMultiSelection,c=t.getBlockParents,a=t.getSelectedBlockClientId;return{isSelectionEnabled:n(),isMultiSelecting:r(),multiSelectedBlockClientIds:o(),hasMultiSelection:i(),getBlockParents:c,selectedBlockClientId:a()}}function mi(e,t){Array.from(e.querySelectorAll(".rich-text")).forEach((function(e){t?e.setAttribute("contenteditable",!0):e.removeAttribute("contenteditable")}))}var gi=Object(d.forwardRef)((function(e,t){var n=e.selectedClientId,r=e.isReverse,o=e.containerRef,i=e.noCapture,c=e.hasMultiSelection,a=e.multiSelectionContainer,l=Object(g.useSelect)((function(e){return e("core/block-editor").isNavigationMode()})),s=Object(g.useDispatch)("core/block-editor").setNavigationMode;return Object(d.createElement)("div",{ref:t,tabIndex:l?void 0:"0",onFocus:function(){if(i.current)i.current=null;else if(n){var e=li(n);if(r){var t=$o.focus.tabbable.find(e);(Object(p.last)(t)||e).focus()}else e.focus()}else{if(c)return void a.current.focus();s(!0);var l=$o.focus.tabbable.find(o.current);l.length&&(r?Object(p.last)(l).focus():Object(p.first)(l).focus())}},style:{position:"fixed"}})})),vi=window,Oi=vi.getSelection,ji=vi.getComputedStyle,ki=Object(p.overEvery)([$o.isTextField,$o.focus.tabbable.isTabbableIndex]);function yi(e,t,n){var r=$o.focus.focusable.find(n);return t&&(r=Object(p.reverse)(r)),r=r.slice(r.indexOf(e)+1),Object(p.find)(r,(function t(n,r,o){if(!$o.focus.tabbable.isTabbableIndex(n))return!1;if(Object($o.isTextField)(n))return!0;if(!n.classList.contains("block-editor-block-list__block"))return!1;if(function(e){return!!e.querySelector(".block-editor-block-list__layout")}(n))return!0;if(n.contains(e))return!1;for(var i,c=1;(i=o[r+c])&&n.contains(i);c++)if(t(i,r+c,o))return!1;return!0}))}function _i(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getMultiSelectedBlocksStartClientId,o=t.getMultiSelectedBlocksEndClientId,i=t.getPreviousBlockClientId,c=t.getNextBlockClientId,a=t.getFirstMultiSelectedBlockClientId,l=t.getLastMultiSelectedBlockClientId,s=t.hasMultiSelection,u=t.getBlockOrder,d=t.isNavigationMode,f=t.isSelectionEnabled,b=t.getBlockSelectionStart,p=t.isMultiSelecting,h=n(),m=r(),g=o();return{selectedBlockClientId:h,selectionStartClientId:m,selectionBeforeEndClientId:i(g||h),selectionAfterEndClientId:c(g||h),selectedFirstClientId:a(),selectedLastClientId:l(),hasMultiSelection:s(),blocks:u(),isNavigationMode:d(),isSelectionEnabled:f(),blockSelectionStart:b(),isMultiSelecting:p()}}function Ei(e){var t=e.children,n=Object(d.useRef)(),r=Object(d.useRef)(),o=Object(d.useRef)(),i=Object(d.useRef)(),c=Object(d.useRef)(),a=Object(d.useRef)(),l=Object(d.useRef)(),s=Object(g.useSelect)(_i,[]),u=s.selectedBlockClientId,f=s.selectionStartClientId,h=s.selectionBeforeEndClientId,m=s.selectionAfterEndClientId,v=s.selectedFirstClientId,O=s.selectedLastClientId,j=s.hasMultiSelection,k=s.blocks,y=s.isNavigationMode,_=s.isSelectionEnabled,E=s.blockSelectionStart,S=s.isMultiSelecting,C=Object(g.useDispatch)("core/block-editor"),w=C.multiSelect,I=C.selectBlock,x=C.clearSelectedBlock,B=C.setNavigationMode;Object(d.useEffect)((function(){j&&!S&&i.current.focus()}),[j,S]);var T=b()("block-editor-writing-flow",{"is-navigate-mode":y});return Object(d.createElement)("div",{className:T},Object(d.createElement)(gi,{ref:r,selectedClientId:u,containerRef:n,noCapture:a,hasMultiSelection:j,multiSelectionContainer:i}),Object(d.createElement)("div",{ref:n,onKeyDown:function(e){var t=e.keyCode,s=e.target,d=t===Ct.UP,b=t===Ct.DOWN,g=t===Ct.LEFT,_=t===Ct.RIGHT,E=t===Ct.TAB,S=t===Ct.ESCAPE,C=d||g,T=g||_,P=d||b,N=T||P,L=e.shiftKey,A=L||e.ctrlKey||e.altKey||e.metaKey,R=P?$o.isVerticalEdge:$o.isHorizontalEdge;if(y){var D=E&&L||d,M=E&&!L||b,F=D?h:m;if(M||D)if(F)e.preventDefault(),I(F);else if(E&&u){var V,H=li(u);(V=M?$o.focus.tabbable.findNext(H):$o.focus.tabbable.findPrevious(H))&&(e.preventDefault(),V.focus(),x())}}else{if(u)if(E){var U=li(u);if(L){if(s===U)return a.current=!0,void r.current.focus()}else{var z=$o.focus.tabbable.find(U);if(s===(Object(p.last)(z)||U))return a.current=!0,void o.current.focus()}}else S&&B(!0);else if(j&&E&&s===i.current)return a.current=!0,void(L?r.current.focus():o.current.focus());if(P?l.current||(l.current=Object($o.computeCaretRect)()):l.current=null,!N)return Ct.isKeyboardEvent.primary(e)&&(c.current=Object($o.isEntirelySelected)(s)),void(Ct.isKeyboardEvent.primary(e,"a")&&((s.isContentEditable?c.current:Object($o.isEntirelySelected)(s))&&(w(Object(p.first)(k),Object(p.last)(k)),e.preventDefault()),c.current=!0));if(!e.nativeEvent.defaultPrevented&&function(e,t,n){if((t===Ct.UP||t===Ct.DOWN)&&!n)return!0;var r=e.tagName;return"INPUT"!==r&&"TEXTAREA"!==r}(s,t,A)){var G="rtl"===ji(s).direction?!C:C;if(L)(C&&h||!C&&m)&&(j||function(e,t){var r,o,i=yi(e,t,n.current);return!(i&&(r=e,o=i,r.closest(".block-editor-block-list__block")===o.closest(".block-editor-block-list__block")))}(s,C)&&R(s,C))&&(!function(e){var t=e?h:m;t&&w(f||u,t)}(C),e.preventDefault());else if(j)!function(e){var t=e?v:O;t&&I(t)}(C),e.preventDefault();else if(P&&Object($o.isVerticalEdge)(s,C)){var K=yi(s,C,n.current);K&&(Object($o.placeCaretAtVerticalEdge)(K,C,l.current),e.preventDefault())}else if(T&&Oi().isCollapsed&&Object($o.isHorizontalEdge)(s,G)){var W=yi(s,G,n.current);Object($o.placeCaretAtHorizontalEdge)(W,G),e.preventDefault()}}}},onMouseDown:function(e){if(l.current=null,y&&u&&si(li(u),e.target)&&B(!1),_&&0===e.button){var t=ui(e.target);t&&(e.shiftKey?E!==t&&(w(E,t),e.preventDefault()):j&&I(t))}}},Object(d.createElement)("div",{ref:i,tabIndex:j?"0":void 0,"aria-label":j?Object(U.__)("Multiple selected blocks"):void 0,style:{position:"fixed"}}),t),Object(d.createElement)(gi,{ref:o,selectedClientId:u,containerRef:n,noCapture:a,hasMultiSelection:j,multiSelectionContainer:i,isReverse:!0}),Object(d.createElement)("div",{"aria-hidden":!0,tabIndex:-1,onClick:function(){var e=$o.focus.focusable.find(n.current),t=Object(p.findLast)(e,ki);t&&Object($o.placeCaretAtHorizontalEdge)(t,!0)},className:"block-editor-writing-flow__click-redirect"}))}function Si(e){var t=e.clientId;return Object(g.useSelect)((function(e){var n=e("core/block-editor"),r=n.getBlockIndex,o=n.getBlockInsertionPoint,i=n.isBlockInsertionPointVisible,c=(0,n.getBlockRootClientId)(t),a=r(t,c),l=o();return i()&&l.index===a&&l.rootClientId===c}),[t])?Object(d.createElement)("div",{className:"block-editor-block-list__insertion-point-indicator"}):null}function Ci(e){var t=e.className,n=e.isMultiSelecting,r=e.selectedBlockClientId,o=e.children,i=e.containerRef,c=Object(d.useState)(!1),a=Object(M.a)(c,2),l=a[0],s=a[1],u=Object(d.useState)(!1),f=Object(M.a)(u,2),p=f[0],h=f[1],m=Object(d.useState)(null),g=Object(M.a)(m,2),v=g[0],O=g[1],j=Object(d.useState)(null),k=Object(M.a)(j,2),y=k[0],_=k[1],E=Object(d.useRef)();return Object(d.createElement)(d.Fragment,null,!n&&(l||p)&&Object(d.createElement)(z.Popover,{noArrow:!0,animate:!1,anchorRef:v,position:"top right left",focusOnMount:!1,className:"block-editor-block-list__insertion-point-popover",__unstableSlotName:"block-toolbar",__unstableFixedPosition:!1},Object(d.createElement)("div",{className:"block-editor-block-list__insertion-point",style:{width:v.offsetWidth}},Object(d.createElement)(Si,{clientId:y}),Object(d.createElement)("div",{ref:E,onFocus:function(){return h(!0)},onBlur:function(){return h(!1)},onClick:function(e){var t=e.clientX,n=e.clientY,r=e.target;if(r===E.current){var o=r.getBoundingClientRect(),c=nr}));if(o){var i=o.id.slice("block-".length);if(i){var c=o.getBoundingClientRect();e.clientX>c.right||e.clientXe}));if(!n)return;var r=n.id.slice("block-".length);if(!r)return;a(r)}}),[_]),_)return c}({element:O,rootClientId:n});return Object(d.createElement)(v,{ref:O,className:b()("block-editor-block-list__layout",t)},s.map((function(e,t){var o=h?p.includes(e):f===e;return Object(d.createElement)(g.AsyncModeProvider,{key:e,value:!o},Object(d.createElement)(zi,{rootClientId:n,clientId:e,isDraggable:r,isMultiSelecting:u,animateOnChange:t,enableAnimation:m,hasSelectedUI:a.hasSelectedUI,className:e===j?"is-drop-target":void 0}))})),Object(d.createElement)(qi,{rootClientId:n,renderAppender:o,className:null===j?"is-drop-target":void 0}),Object(d.createElement)(Zi.Slot,null))},function(e){return Object(d.createElement)(g.AsyncModeProvider,{value:!1},Object(d.createElement)(ec,e))});function nc(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(M.a)(c,2),l=a[0],s=a[1],u=Object(d.useState)(1),f=Object(M.a)(u,2),p=f[0],h=f[1],m=Object(d.useState)({x:0,y:0}),g=Object(M.a)(m,2),v=g[0],O=v.x,j=v.y,k=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){var t=li(e);if(t)return t.firstChild||t}(t[0].clientId);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),k({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:j,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)(z.Disabled,{style:y,className:"block-editor-block-preview__content"},Object(d.createElement)(tc,null)))}var rc=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(M.a)(a,2),s=l[0],u=l[1];return Object(d.useLayoutEffect)(u,[t]),Object(d.createElement)(Wo,{value:c,settings:i},Object(d.createElement)(nc,{key:s,blocks:c,viewportWidth:r,padding:o}))}));var oc=function(e){var t=e.icon,n=e.onClick,r=e.isDisabled,o=e.title,i=e.className,c=Object(F.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)(z.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)(kt,{icon:t,showColors:!0})),Object(d.createElement)("span",{className:"block-editor-block-types-list__item-title"},o)))};function ic(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function cc(e){for(var t=1;t0})),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(F.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)(kt,{icon:t,showColors:!0}),n&&Object(d.createElement)("h2",null,n)),Object(d.createElement)(ac,Object(u.a)({items:r},o)))})),uc=Object(z.createSlotFill)("__experimentalInserterMenuExtension"),dc=uc.Fill,fc=uc.Slot;dc.Slot=fc;var bc=dc;function pc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var hc=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)},mc=function(e,t){return Object(p.differenceWith)(e,hc(t),(function(e,t){return t.includes(e)}))},gc=function(e,t,n,r){var o=hc(r);return 0===o.length?e:e.filter((function(e){var r=e.name,i=e.title,c=e.category,a=e.keywords,l=void 0===a?[]:a,s=e.variations,u=void 0===s?[]:s,d=mc(o,i);if(0===d.length)return!0;if(0===(d=mc(d,l.join(" "))).length)return!0;d=mc(d,Object(p.get)(Object(p.find)(t,{slug:c}),["title"]));var f=n[r.split("/")[0]];return f&&(d=mc(d,f.title)),0===d.length||0===(d=mc(d,u.map((function(e){return e.title})).join(" "))).length})).map((function(e){if(Object(p.isEmpty)(e.variations))return e;var t=e.variations.filter((function(e){return Object(p.intersectionWith)(o,hc(e.title),(function(e,t){return t.includes(e)})).length>0}));return Object(p.isEmpty)(t)?e:function(e){for(var t=1;t0&&i.push("reusable"),r.length>0&&(i=i.concat(Object.keys(t),Object.keys(n))),i}},{key:"filter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.props,n=t.categories,r=t.collections,o=t.debouncedSpeak,i=t.items,c=t.rootChildBlocks,a=gc(i,n,r,e),l=Object(p.filter)(a,(function(e){var t=e.name;return Object(p.includes)(c,t)})),s=[];if(!e){var u=this.props.maxSuggestedItems||9;s=Object(p.filter)(i,(function(e){return e.utility>0})).slice(0,u)}var d=Object(p.filter)(a,{category:"reusable"}),f=function(e){return Object(p.findIndex)(n,(function(t){return t.slug===e.category}))},b=Object(p.flow)((function(e){return Object(p.filter)(e,(function(e){return"reusable"!==e.category}))}),(function(e){return Object(p.sortBy)(e,f)}),(function(e){return Object(p.groupBy)(e,"category")}))(a),h=Oc({},r);Object.keys(r).forEach((function(e){h[e]=a.filter((function(t){return kc(t)===e})),0===h[e].length&&delete h[e]})),this.setState({hoveredItem:null,childItems:l,filterValue:e,suggestedItems:s,reusableItems:d,itemsPerCategory:b,itemsPerCollection:h,openPanels:this.filterOpenPanels(e,b,h,a,d)});var m=Object.keys(b).reduce((function(e,t){return e+b[t].length}),0),g=Object(U.sprintf)(Object(U._n)("%d result found.","%d results found.",m),m);o(g)}},{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.collections,o=t.instanceId,c=t.onSelect,a=t.rootClientId,l=t.showInserterHelpPanel,s=this.state,u=s.childItems,f=s.hoveredItem,h=s.itemsPerCategory,m=s.itemsPerCollection,g=s.openPanels,v=s.reusableItems,O=s.suggestedItems,j=s.filterValue,k=function(e){return-1!==g.indexOf(e)},y=!(Object(p.isEmpty)(O)&&Object(p.isEmpty)(v)&&Object(p.isEmpty)(h)&&Object(p.isEmpty)(m)),_=f?Object(i.getBlockType)(f.name):null,E=y&&l;return Object(d.createElement)("div",{className:b()("block-editor-inserter__menu",{"has-help-panel":E}),onKeyPress:jc,onKeyDown:this.onKeyDown},Object(d.createElement)("div",{className:"block-editor-inserter__main-area"},Object(d.createElement)("label",{htmlFor:"block-editor-inserter__search-".concat(o),className:"screen-reader-text"},Object(U.__)("Search for a block")),Object(d.createElement)("input",{id:"block-editor-inserter__search-".concat(o),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)(sc,{rootClientId:a,items:u,onSelect:c,onHover:this.onHover}),!!O.length&&Object(d.createElement)(z.PanelBody,{title:Object(U._x)("Most used","blocks"),opened:k("suggested"),onToggle:this.onTogglePanel("suggested"),ref:this.bindPanel("suggested")},Object(d.createElement)(ac,{items:O,onSelect:c,onHover:this.onHover})),Object(p.map)(n,(function(t){var n=h[t.slug];return n&&n.length?Object(d.createElement)(z.PanelBody,{key:t.slug,title:t.title,icon:t.icon,opened:k(t.slug),onToggle:e.onTogglePanel(t.slug),ref:e.bindPanel(t.slug)},Object(d.createElement)(ac,{items:n,onSelect:c,onHover:e.onHover})):null})),Object(p.map)(r,(function(t,n){var r=m[n];return r&&r.length?Object(d.createElement)(z.PanelBody,{key:n,title:t.title,icon:t.icon,opened:k(n),onToggle:e.onTogglePanel(n),ref:e.bindPanel(n)},Object(d.createElement)(ac,{items:r,onSelect:c,onHover:e.onHover})):null})),!!v.length&&Object(d.createElement)(z.PanelBody,{className:"block-editor-inserter__reusable-blocks-panel",title:Object(U.__)("Reusable"),opened:k("reusable"),onToggle:this.onTogglePanel("reusable"),icon:"controls-repeat",ref:this.bindPanel("reusable")},Object(d.createElement)(ac,{items:v,onSelect:c,onHover:this.onHover}),Object(d.createElement)("a",{className:"block-editor-inserter__manage-reusable-blocks",href:Object(wt.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(U.__)("Manage all reusable blocks"))),Object(d.createElement)(bc.Slot,{fillProps:{onSelect:c,onHover:this.onHover,filterValue:j,hasItems:y}},(function(e){return e.length?e:y?null:Object(d.createElement)("p",{className:"block-editor-inserter__no-results"},Object(U.__)("No blocks found."))})))),E&&Object(d.createElement)("div",{className:"block-editor-inserter__menu-help-panel"},f&&Object(d.createElement)(d.Fragment,null,!Object(i.isReusableBlock)(f)&&Object(d.createElement)(lc,{blockType:f}),Object(d.createElement)("div",{className:"block-editor-inserter__preview"},Object(i.isReusableBlock)(f)||_.example?Object(d.createElement)("div",{className:"block-editor-inserter__preview-content"},Object(d.createElement)(rc,{padding:10,viewportWidth:500,blocks:_.example?Object(i.getBlockFromExample)(f.name,{attributes:Oc({},_.example.attributes,{},f.initialAttributes),innerBlocks:_.example.innerBlocks}):Object(i.createBlock)(f.name,f.initialAttributes)})):Object(d.createElement)("div",{className:"block-editor-inserter__preview-content-missing"},Object(U.__)("No Preview Available.")))),!f&&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)(z.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),_c=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.getCollections,h=f.getChildBlockNames,m=o;if(!m&&!n&&!r){var g=u();g&&(m=s(g)||void 0)}var v=l(m),O=d(),j=O.showInserterHelpPanel,k=O.__experimentalFetchReusableBlocks;return{categories:b(),collections:p(),rootChildBlocks:h(v),items:a(m),showInserterHelpPanel:i&&j,destinationRootClientId:m,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,h=n.title,m=n.initialAttributes,g=n.innerBlocks,v=s(),O=Object(i.createBlock)(b,m,function e(t){return Object(p.map)(t,(function(t){var n=Object(M.a)(t,3),r=n[0],o=n[1],c=n[2],a=void 0===c?[]:c;return Object(i.createBlock)(r,o,e(a))}))}(g));if(!u&&v&&Object(i.isUnmodifiedDefaultBlock)(v))c(v.clientId,O);else if(l(O,a(),t.destinationRootClientId,f),!f){var j=Object(U.sprintf)(Object(U.__)("%s block added"),h);Object(je.speak)(j)}return d(),O}}})),z.withSpokenMessages,h.withInstanceId,h.withSafeTimeout)(yc),Ec=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)(z.Button,{icon:_t.a,label:t,tooltipPosition:"bottom",onClick:n,className:"block-editor-inserter__toggle","aria-haspopup":!c&&"true","aria-expanded":!c&&o,disabled:r})},Sc=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(C.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(E.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?Ec: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)(_c,{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)(z.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),Cc=Object(h.compose)([Object(g.withSelect)((function(e,t){var n=t.clientId,r=t.rootClientId,o=e("core/block-editor"),i=o.getBlockRootClientId,c=o.hasInserterItems,a=o.__experimentalGetAllowedBlocks,l=e("core/blocks").__experimentalGetBlockVariations,s=a(r=r||i(n)||void 0),u=1===Object(p.size)(s)&&0===Object(p.size)(l(s[0].name,"inserter")),d=!1;return u&&(d=s[0]),{hasItems:c(r),hasSingleBlockType:u,blockTitle:d?d.title:"",allowedBlockType:d,rootClientId:r}})),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(je.speak)(u)}}}})),Object(h.ifCondition)((function(e){return e.hasItems}))])(Sc);var wc=function(e){var t=e.rootClientId,n=e.className,r=e.__experimentalSelectBlockOnInsert;return Object(d.createElement)(Cc,{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)(z.Tooltip,{text:t},Object(d.createElement)(z.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)(yt.a,{icon:_t.a})))},isAppender:!0})};function Ic(e){var t=e.blocks,n=e.selectedBlockClientId,r=e.selectBlock,o=e.showAppender,c=e.showNestedBlocks,a=e.parentBlockClientId,l=o&&!!a;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),a=e.clientId===n;return Object(d.createElement)("li",{key:e.clientId},Object(d.createElement)("div",{className:"block-editor-block-navigation__item"},Object(d.createElement)(z.Button,{className:b()("block-editor-block-navigation__item-button",{"is-selected":a}),onClick:function(){return r(e.clientId)}},Object(d.createElement)(kt,{icon:t.icon,showColors:!0}),Object(i.__experimentalGetBlockLabel)(t,e.attributes),a&&Object(d.createElement)("span",{className:"screen-reader-text"},Object(U.__)("(selected block)")))),c&&!!e.innerBlocks&&!!e.innerBlocks.length&&Object(d.createElement)(Ic,{blocks:e.innerBlocks,selectedBlockClientId:n,selectBlock:r,parentBlockClientId:e.clientId,showAppender:o,showNestedBlocks:!0}))})),l&&Object(d.createElement)("li",null,Object(d.createElement)("div",{className:"block-editor-block-navigation__item"},Object(d.createElement)(wc,{rootClientId:a,__experimentalSelectBlockOnInsert:!1}))))}var xc=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)(z.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)(Ic,{blocks:[t],selectedBlockClientId:r,selectBlock:o,showNestedBlocks:!0}),!i&&Object(d.createElement)(Ic,{blocks:n,selectedBlockClientId:r,selectBlock:o}))})),Bc=Object(d.createElement)(z.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},Object(d.createElement)(z.Path,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}));function Tc(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)(z.Button,{icon:Bc,"aria-expanded":r,onClick:t?n:void 0,label:Object(U.__)("Block navigation"),className:"block-editor-block-navigation",shortcut:o,"aria-disabled":!t})}var Pc=function(e){var t=e.isDisabled,n=Object(g.useSelect)((function(e){return!!e("core/block-editor").getBlockCount()}),[])&&!t;return Object(d.createElement)(z.Dropdown,{contentClassName:"block-editor-block-navigation__popover",renderToggle:function(e){return Object(d.createElement)(Tc,Object(u.a)({},e,{isEnabled:n}))},renderContent:function(e){var t=e.onClose;return Object(d.createElement)(xc,{onSelect:t})}})};var Nc=function(e){var t=e.icon,n=void 0===t?"layout":t,r=e.label,o=void 0===r?Object(U.__)("Choose variation"):r,i=e.instructions,c=void 0===i?Object(U.__)("Select a variation to start with."):i,a=e.variations,l=e.onSelect,s=e.allowSkip,u=b()("block-editor-block-variation-picker",{"has-many-variations":a.length>4});return Object(d.createElement)(z.Placeholder,{icon:n,label:o,instructions:c,className:u},Object(d.createElement)("ul",{className:"block-editor-block-variation-picker__variations",role:"list"},a.map((function(e){return Object(d.createElement)("li",{key:e.name},Object(d.createElement)(z.Button,{isSecondary:!0,icon:e.icon,iconSize:48,onClick:function(){return l(e)},className:"block-editor-block-variation-picker__variation",label:e.title}))}))),s&&Object(d.createElement)("div",{className:"block-editor-block-variation-picker__skip"},Object(d.createElement)(z.Button,{isLink:!0,onClick:function(){return l()}},Object(U.__)("Skip"))))},Lc=Object(d.createElement)(z.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(z.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(z.Path,{d:"M16 13h-3V3h-2v10H8l4 4 4-4zM4 19v2h16v-2H4z"})),Ac=Object(d.createElement)(z.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(z.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(z.Path,{d:"M8 19h3v4h2v-4h3l-4-4-4 4zm8-14h-3V1h-2v4H8l4 4 4-4zM4 11v2h16v-2H4z"}));function Rc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Dc={top:{icon:Object(d.createElement)(z.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(z.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(z.Path,{d:"M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z"})),title:Object(U._x)("Vertically Align Top","Block vertical alignment setting")},center:{icon:Ac,title:Object(U._x)("Vertically Align Middle","Block vertical alignment setting")},bottom:{icon:Lc,title:Object(U._x)("Vertically Align Bottom","Block vertical alignment setting")}},Mc=["top","center","bottom"],Fc="top";var Vc=function(e){var t=e.value,n=e.onChange,r=e.controls,o=void 0===r?Mc:r,i=e.isCollapsed,c=void 0===i||i,a=Dc[t],l=Dc[Fc];return Object(d.createElement)(z.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 function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:void 0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return function(){e.props.onChange({width:t,height:n})}}},{key:"render",value:function(){var e=this,t=this.props,n=t.imageWidth,r=t.imageHeight,o=t.imageSizeOptions,i=void 0===o?[]:o,c=t.isResizable,a=void 0===c||c,l=t.slug,s=t.width,u=t.height,f=t.onChange,b=t.onChangeImage,h=void 0===b?p.noop:b;return Object(d.createElement)(d.Fragment,null,!Object(p.isEmpty)(i)&&Object(d.createElement)(z.SelectControl,{label:Object(U.__)("Image Size"),value:l,options:i,onChange:h}),a&&Object(d.createElement)("div",{className:"block-editor-image-size-control"},Object(d.createElement)("p",{className:"block-editor-image-size-control__row"},Object(U.__)("Image Dimensions")),Object(d.createElement)("div",{className:"block-editor-image-size-control__row"},Object(d.createElement)(z.TextControl,{type:"number",className:"block-editor-image-size-control__width",label:Object(U.__)("Width"),value:s||n||"",min:1,onChange:function(e){return f({width:parseInt(e,10)})}}),Object(d.createElement)(z.TextControl,{type:"number",className:"block-editor-image-size-control__height",label:Object(U.__)("Height"),value:u||r||"",min:1,onChange:function(e){return f({height:parseInt(e,10)})}})),Object(d.createElement)("div",{className:"block-editor-image-size-control__row"},Object(d.createElement)(z.ButtonGroup,{"aria-label":Object(U.__)("Image Size")},[25,50,75,100].map((function(t){var o=Math.round(n*(t/100)),i=Math.round(r*(t/100)),c=s===o&&u===i;return Object(d.createElement)(z.Button,{key:t,isSmall:!0,isPrimary:c,isPressed:c,onClick:e.updateDimensions(o,i)},t,"%")}))),Object(d.createElement)(z.Button,{isSmall:!0,onClick:this.updateDimensions()},Object(U.__)("Reset")))))}}]),t}(d.Component),Yc=n(50),Xc=n.n(Yc),Zc=Object(h.createHigherOrderComponent)((function(e){return Y((function(e){return Object(p.pick)(e,["clientId"])}))(e)}),"withClientId"),Jc=Zc((function(e){var t=e.clientId,n=e.showSeparator;return Object(d.createElement)(wc,{rootClientId:t,showSeparator:n})})),Qc=Object(h.compose)([Zc,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)(Ki,{rootClientId:t,lastBlockClientId:n})})),ea=function(e){function t(){var e;return Object(_.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(I.a)(t,e),Object(E.a)(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.block,n=e.templateLock,r=e.__experimentalBlocks,o=e.replaceInnerBlocks,i=e.__unstableMarkNextChangeAsNotPersistent;0!==t.innerBlocks.length&&"all"!==n||this.synchronizeBlocksWithTemplate(),this.state.templateInProcess&&this.setState({templateInProcess:!1}),r&&(i(),o(r))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.block,r=t.templateLock,o=t.template,i=t.isLastBlockChangePersistent,c=t.onInput,a=t.onChange,l=n.innerBlocks;(this.updateNestedSettings(),0===l.length||"all"===r)&&(!Object(p.isEqual)(o,e.template)&&this.synchronizeBlocksWithTemplate());if(e.block.innerBlocks!==l){var s=i?a:c;s&&s(l)}}},{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,__experimentalMoverDirection:e.__experimentalMoverDirection,__experimentalUIParts:e.__experimentalUIParts};Xc()(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(F.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)(tc,Object(u.a)({rootClientId:n},i)))}}]),t}(d.Component);(ea=Object(h.compose)([Object(a.withViewportMatch)({isSmallScreen:"< medium"}),Y((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=n.isLastBlockChangePersistent,d=t.clientId,f=t.isSmallScreen,b=i(d),p=a(d);return{block:b,blockListSettings:c(d),hasOverlay:"core/template"!==b.name&&!r(d)&&!o(d,!0),parentLock:l(p),enableClickThrough:s()||f,isLastBlockChangePersistent:u()}})),Object(g.withDispatch)((function(e,t){var n=e("core/block-editor"),r=n.replaceInnerBlocks,o=n.__unstableMarkNextChangeAsNotPersistent,i=n.updateBlockListSettings,c=t.block,a=t.clientId,l=t.templateInsertUpdatesSelection,s=void 0===l||l;return{replaceInnerBlocks:function(e){r(a,e,0===c.innerBlocks.length&&s&&0!==e.length)},__unstableMarkNextChangeAsNotPersistent:o,updateNestedSettings:function(t){e(i(a,t))}}}))])(ea)).DefaultBlockAppender=Qc,ea.ButtonBlockAppender=Jc,ea.Content=Object(i.withBlockContentContext)((function(e){var t=e.BlockContent;return Object(d.createElement)(t,null)}));var ta=ea,na=Object(z.createSlotFill)("InspectorAdvancedControls"),ra=na.Fill,oa=na.Slot,ia=X(ra);ia.slotName="InspectorAdvancedControls",ia.Slot=oa;var ca=ia,aa=n(47);function la(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var sa=[{id:"opensInNewTab",title:Object(U.__)("Open in New Tab")}],ua=function(e){var t=e.value,n=e.onChange,r=void 0===n?p.noop:n,o=e.settings,i=void 0===o?sa:o;if(!i||!i.length)return null;var c=function(e){return function(n){r(function(e){for(var t=1;t-1&&e.stopPropagation()}(e)},onKeyPress:fa,placeholder:Object(U.__)("Search or type url"),__experimentalRenderSuggestions:o,__experimentalFetchLinkSuggestions:i,__experimentalHandleURLSuggestions:!0,__experimentalShowInitialSuggestions:a}),Object(d.createElement)(z.Button,{disabled:!t.length,type:"reset",label:Object(U.__)("Reset"),icon:"no-alt",className:"block-editor-link-control__search-reset",onClick:c}))};function pa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ha(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"";v(e)},onSelect:function(e){i(ha({},n,{},e)),I()},renderSuggestions:function(e){var t=e.suggestionsListProps,r=e.buildSuggestionItemProps,o=e.suggestions,c=e.selectedSuggestion,a=e.isLoading,s=e.isInitialSuggestions,f=b()("block-editor-link-control__search-results",{"is-loading":a}),p=["url","mailto","tel","internal"],h=s?"block-editor-link-control-search-results-label-".concat(l):void 0,g=s?Object(U.__)("Recently updated"):Object(U.sprintf)(Object(U.__)("Search results for %s"),m),v=s?void 0:g,O=Object(d.createElement)("span",{className:"block-editor-link-control__search-results-label",id:h,"aria-label":v},g);return Object(d.createElement)("div",{className:"block-editor-link-control__search-results-wrapper"},s?O:Object(d.createElement)(z.VisuallyHidden,null,O),Object(d.createElement)("div",Object(u.a)({},t,{className:f,"aria-labelledby":h}),o.map((function(e,t){return Object(d.createElement)(da,{key:"".concat(e.id,"-").concat(e.type),itemProps:r(e,t),suggestion:e,onClick:function(){i(ha({},n,{},e)),I()},isSelected:t===c,isURL:p.includes(e.type.toLowerCase()),searchTerm:m})}))))},fetchSuggestions:x,onReset:function(){v("")},showInitialSuggestions:c}):Object(d.createElement)(d.Fragment,null,Object(d.createElement)("p",{className:"screen-reader-text",id:"current-link-label-".concat(l)},Object(U.__)("Currently selected"),":"),Object(d.createElement)("div",{"aria-labelledby":"current-link-label-".concat(l),"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)(z.ExternalLink,{className:"block-editor-link-control__search-item-title",href:n.url},n&&n.title||S),n&&n.title&&Object(d.createElement)("span",{className:"block-editor-link-control__search-item-info"},S)),Object(d.createElement)(z.Button,{isSecondary:!0,onClick:function(){return y(!0)},className:"block-editor-link-control__search-item-action block-editor-link-control__search-item-action--edit"},Object(U.__)("Edit"))),Object(d.createElement)(ua,{value:n,settings:r,onChange:i})))},ga=Object(z.withFilters)("editor.MediaUpload")((function(){return null}));var va=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})),Oa=function(e){return e.stopPropagation()},ja=function(e){function t(e){var n;return Object(_.a)(this,t),(n=Object(S.a)(this,Object(C.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.isUpdatingSuggestions=!1,n.state={suggestions:[],showSuggestions:!1,selectedSuggestion:null},n}return Object(I.a)(t,e),Object(E.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,St()(this.suggestionNodes[r],this.autocompleteRef.current,{onlyScrollIfNeeded:!0}),this.props.setTimeout((function(){e.scrollingIntoView=!1}),100)),this.shouldShowInitialSuggestions()&&this.updateSuggestions()}},{key:"componentDidMount",value:function(){this.shouldShowInitialSuggestions()&&this.updateSuggestions()}},{key:"componentWillUnmount",value:function(){delete this.suggestionsRequest}},{key:"bindSuggestionNode",value:function(e){var t=this;return function(n){t.suggestionNodes[e]=n}}},{key:"shouldShowInitialSuggestions",value:function(){var e=this.state.suggestions,t=this.props,n=t.__experimentalShowInitialSuggestions,r=void 0!==n&&n,o=t.value;return!this.isUpdatingSuggestions&&r&&!(o&&o.length)&&!(e&&e.length)}},{key:"updateSuggestions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=this.props,r=n.__experimentalFetchLinkSuggestions,o=n.__experimentalHandleURLSuggestions;if(r){var i=!(t&&t.length);if(i||!(t.length<2||!o&&Object(wt.isURL)(t))){this.isUpdatingSuggestions=!0,this.setState({showSuggestions:!0,selectedSuggestion:null,loading:!0});var c=r(t,{isInitialSuggestions:i});c.then((function(t){e.suggestionsRequest===c&&(e.setState({suggestions:t,loading:!1}),t.length?e.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.",t.length),t.length),"assertive"):e.props.debouncedSpeak(Object(U.__)("No results."),"assertive"),e.isUpdatingSuggestions=!1)})).catch((function(){e.suggestionsRequest===c&&(e.setState({loading:!1}),e.isUpdatingSuggestions=!1)})),this.suggestionsRequest=c}else this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1})}}},{key:"onChange",value:function(e){var t=e.target.value;this.props.onChange(t),this.props.disableSuggestions||this.updateSuggestions(t)}},{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){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=t.__experimentalShowInitialSuggestions,O=void 0!==v&&v,j=this.state,k=j.showSuggestions,y=j.suggestions,_=j.selectedSuggestion,E=j.loading,S="url-input-control-".concat(r),C="block-editor-url-input-suggestions-".concat(r),w="block-editor-url-input-suggestion-".concat(r),I={id:C,ref:this.autocompleteRef,role:"listbox"},x=function(t,n){return{role:"option",tabIndex:"-1",id:"".concat(w,"-").concat(n),ref:e.bindSuggestionNode(n),"aria-selected":n===_}};return Object(d.createElement)(z.BaseControl,{label:n,id:S,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:Oa,placeholder:s,onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":k,"aria-autocomplete":"list","aria-owns":C,"aria-activedescendant":null!==_?"".concat(w,"-").concat(_):void 0,ref:this.inputRef}),E&&Object(d.createElement)(z.Spinner,null),Object(p.isFunction)(a)&&k&&!!y.length&&a({suggestions:y,selectedSuggestion:_,suggestionsListProps:I,buildSuggestionItemProps:x,isLoading:E,handleSuggestionClick:this.handleOnClick,isInitialSuggestions:O&&!(h&&h.length)}),!Object(p.isFunction)(a)&&k&&!!y.length&&Object(d.createElement)(z.Popover,{position:"bottom",noArrow:!0,focusOnMount:!1},Object(d.createElement)("div",Object(u.a)({},I,{className:b()("block-editor-url-input__suggestions","".concat(o,"__suggestions"))}),y.map((function(t,n){return Object(d.createElement)(z.Button,Object(u.a)({},x(0,n),{key:t.id,className:b()("block-editor-url-input__suggestion",{"is-selected":n===_}),onClick:function(){return e.handleOnClick(t)}}),t.title)})))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.value,r=e.disableSuggestions,o=e.__experimentalShowInitialSuggestions,i=void 0!==o&&o,c=t.showSuggestions,a=n&&n.length;return i||a||(c=!1),!0===r&&(c=!1),{showSuggestions:c}}}]),t}(d.Component),ka=Object(h.compose)(h.withSafeTimeout,z.withSpokenMessages,h.withInstanceId,Object(g.withSelect)((function(e,t){if(!Object(p.isFunction)(t.__experimentalFetchLinkSuggestions))return{__experimentalFetchLinkSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))(ja);function ya(e){var t=e.autocompleteRef,n=e.className,r=e.onChangeInputValue,o=e.value,i=Object(F.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)(ka,{value:o,onChange:r,autocompleteRef:t}),Object(d.createElement)(z.Button,{icon:"editor-break",label:Object(U.__)("Apply"),type:"submit"}))}function _a(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)(z.ExternalLink,{className:o,href:t},n||Object(wt.filterURLForDisplay)(Object(wt.safeDecodeURI)(t))):Object(d.createElement)("span",{className:o})}function Ea(e){var t=e.className,n=e.linkClassName,r=e.onEditLinkClick,o=e.url,i=e.urlLabel,c=Object(F.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)(_a,{url:o,urlLabel:i,className:n}),r&&Object(d.createElement)(z.Button,{icon:"edit",label:Object(U.__)("Edit"),onClick:r}))}var Sa=Object(h.compose)(z.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(M.a)(u,2),b=f[0],p=f[1],h=Object(d.useState)(!1),m=Object(M.a)(h,2),v=m[0],O=m[1],j=Object(d.useState)(n),k=Object(M.a)(j,2),y=k[0],_=k[1],E=Object(g.useSelect)((function(e){return e("core/block-editor").getSettings().mediaUpload}),[]),S=Object(d.createRef)(),C=function(e){i(e),_(e.url),Object(je.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)(ya,{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),S.current.focus()}}):Object(d.createElement)(Ea,{isFullWidth:!0,className:"block-editor-media-replace-flow__link-viewer",url:y,onEditLinkClick:function(){return O(!v)}}),Object(d.createElement)(z.Dropdown,{contentClassName:"block-editor-media-replace-flow__options",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(d.createElement)(z.ToolbarGroup,{className:"media-replace-flow"},Object(d.createElement)(z.Button,{ref:S,"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)(z.NavigableMenu,null,Object(d.createElement)(ga,{onSelect:function(e){return C(e)},allowedTypes:r,render:function(e){var t=e.open;return Object(d.createElement)(z.MenuItem,{icon:"admin-media",onClick:t},Object(U.__)("Open Media Library"))}}),Object(d.createElement)(va,null,Object(d.createElement)(z.FormFileUpload,{onChange:function(e){!function(e,t){var n=e.target.files;E({allowedTypes:r,filesList:n,onFileChange:function(e){var n=Object(M.a)(e,1)[0];C(n),t()},onError:a})}(e,n)},accept:o,render:function(e){var t=e.openFileDialog;return Object(d.createElement)(z.MenuItem,{icon:"upload",onClick:function(){t()}},Object(U.__)("Upload"))}})),c&&Object(d.createElement)(z.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))}})})),Ca=n(35),wa=n.n(Ca),Ia=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(C.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(E.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(F.a)(e,["additionalControls","children","renderSettings","position","focusOnMount"]),s=this.state.isSettingsExpanded,f=!!r&&s;return Object(d.createElement)(z.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)(z.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);Ia.LinkEditor=ya,Ia.LinkViewer=Ea;var xa=Ia,Ba=function(e){var t=e.src,n=e.onChange,r=e.onSubmit,o=e.onClose;return Object(d.createElement)(xa,{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)(z.Button,{className:"block-editor-media-placeholder__url-input-submit-button",icon:"editor-break",label:Object(U.__)("Apply"),type:"submit"})))},Ta=function(e){function t(){var e;return Object(_.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(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(E.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(M.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 j=1===o.length,k=j&&"audio"===o[0],y=j&&"image"===o[0],_=j&&"video"===o[0];void 0===v&&m&&(v=Object(U.__)("Upload a media file or pick one from your media library."),k?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"),k?O=Object(U.__)("Audio"):y?O=Object(U.__)("Image"):_&&(O=Object(U.__)("Video")))}var E=b()("block-editor-media-placeholder",i,{"is-appender":a});return Object(d.createElement)(z.Placeholder,{icon:c,label:O,instructions:v,className:E,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)(z.DropZone,{onFilesDrop:this.onFilesUpload,onHTMLDrop:r})}},{key:"renderCancelLink",value:function(){var e=this.props.onCancel;return e&&Object(d.createElement)(z.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)(z.Button,{className:"block-editor-media-placeholder__button",onClick:this.openURLInput,isPressed:t,isSecondary:!0},Object(U.__)("Insert from URL")),t&&Object(d.createElement)(Ba,{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)(ga,{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)(z.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)(z.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)(z.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)(z.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&&wa()("wp.blockEditor.MediaPlaceholder dropZoneUIOnly prop",{alternative:"disableMediaButtons"}),Object(d.createElement)(va,null,this.renderDropZone())):Object(d.createElement)(va,{fallback:this.renderPlaceholder(this.renderUrlSelectionUI())},this.renderMediaUploadChecked())}}]),t}(d.Component),Pa=Object(g.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),Na=Object(h.compose)(Pa,Object(z.withFilters)("editor.MediaPlaceholder"))(Ta),La=Object(d.forwardRef)((function(e,t){var n=e.onChange,r=e.className,o=Object(F.a)(e,["onChange","className"]);return Object(d.createElement)(ci.a,Object(u.a)({ref:t,className:b()("block-editor-plain-text",r),onChange:function(e){return n(e.target.value)}},o))}));function Aa(e){var t=e.property,n=e.viewport,r=e.desc,o=Object(h.useInstanceId)(Aa),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 Ra=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)(Aa,{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)(z.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)(Aa,{property:n,viewport:e}),e))})))))},Da=[Ct.rawShortcut.primary("z"),Ct.rawShortcut.primaryShift("z"),Ct.rawShortcut.primary("y")],Ma=Object(d.createElement)(z.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(p.fromPairs)(Da.map((function(e){return[e,function(e){return e.preventDefault()}]})))}),Fa=function(){return Ma},Va=n(39);function Ha(e){return e.filter((function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)})).map((function(e){return'')})).join("")}var Ua={position:"bottom left"},za=function(){return Object(d.createElement)("div",{className:"block-editor-format-toolbar"},Object(d.createElement)(z.Toolbar,null,["bold","italic","link"].map((function(e){return Object(d.createElement)(z.Slot,{name:"RichText.ToolbarControls.".concat(e),key:e})})),Object(d.createElement)(z.Slot,{name:"RichText.ToolbarControls"},(function(e){return 0!==e.length&&Object(d.createElement)(z.DropdownMenu,{icon:!1,label:Object(U.__)("More rich text controls"),controls:Object(p.orderBy)(e.map((function(e){return Object(M.a)(e,1)[0].props})),"title"),popoverProps:Ua})}))))},Ga=function(e){var t=e.inline,n=e.anchorRef;return t?Object(d.createElement)(z.Popover,{noArrow:!0,position:"top center",focusOnMount:!1,anchorRef:n,className:"block-editor-rich-text__inline-format-toolbar"},Object(d.createElement)(za,null)):Object(d.createElement)(jt,null,Object(d.createElement)(za,null))},Ka=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).onUse=e.onUse.bind(Object(w.a)(e)),e}return Object(I.a)(t,e),Object(E.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)(z.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(s.a)({},Ct.rawShortcut[n](t),this.onUse)})}}]),t}(d.Component);function Wa(e){var t,n=e.name,r=e.shortcutType,o=e.shortcutCharacter,i=Object(F.a)(e,["name","shortcutType","shortcutCharacter"]),c="RichText.ToolbarControls";return n&&(c+=".".concat(n)),r&&o&&(t=Ct.displayShortcut[r](o)),Object(d.createElement)(z.Fill,{name:c},Object(d.createElement)(z.ToolbarButton,Object(u.a)({},i,{shortcut:t})))}var qa=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(C.a)(t).apply(this,arguments))).onInput=e.onInput.bind(Object(w.a)(e)),e}return Object(I.a)(t,e),Object(E.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 $a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Ya="block-editor-rich-text",Xa="block-editor-rich-text__editable";function Za(e){if(!0===e||"p"===e||"li"===e)return!0===e?"p":e}var Ja=Object(d.forwardRef)((function e(t,n){var r=t.children,o=t.tagName,a=t.value,l=t.onChange,f=t.isSelected,p=t.multiline,m=t.inlineToolbar,v=t.wrapperClassName,O=t.className,j=t.autocompleters,k=t.onReplace,y=t.placeholder,_=t.keepPlaceholderOnFocus,E=t.allowedFormats,S=t.formattingControls,C=t.withoutInteractiveFormatting,w=t.onRemove,I=t.onMerge,x=t.onSplit,B=t.__unstableOnSplitMiddle,T=t.identifier,P=t.start,N=t.reversed,L=t.style,A=t.preserveWhiteSpace,R=t.__unstableEmbedURLOnPaste,V=Object(F.a)(t,["children","tagName","value","onChange","isSelected","multiline","inlineToolbar","wrapperClassName","className","autocompleters","onReplace","placeholder","keepPlaceholderOnFocus","allowedFormats","formattingControls","withoutInteractiveFormatting","onRemove","onMerge","onSplit","__unstableOnSplitMiddle","identifier","start","reversed","style","preserveWhiteSpace","__unstableEmbedURLOnPaste"]),H=Object(h.useInstanceId)(e);T=T||H;var U=Object(d.useRef)(),z=n||U,G=$(),K=G.clientId,W=G.onCaretVerticalPositionChange,q=G.isSelected,Y=Object(g.useSelect)((function(e){var t,n=e("core/block-editor"),r=n.isCaretWithinFormattedText,o=n.getSelectionStart,c=n.getSelectionEnd,a=n.getSettings,l=n.didAutomaticChange,u=n.__unstableGetBlockWithoutInnerBlocks,b=n.isMultiSelecting,p=n.hasMultiSelection,h=o(),m=c(),g=a(),v=g.__experimentalCanUserUseUnfilteredHTML,O=g.__experimentalUndo;void 0===f?t=h.clientId===K&&h.attributeKey===T:f&&(t=h.clientId===K);var j={};if("native"===d.Platform.OS){var k=K&&u(K);j={shouldBlurOnUnmount:k&&t&&Object(i.isUnmodifiedDefaultBlock)(k)}}return function(e){for(var t=1;t0,pe=a,he=l;Array.isArray(a)&&(pe=i.children.toHTML(a),he=function(e){return l(i.children.fromDOM(Object(c.__unstableCreateElement)(document,e).childNodes))});var me=Object(d.useCallback)((function(e,t){se(K,T,e,t)}),[K,T]),ge=Object(d.useCallback)((function(e){var t=e.value,n=e.isReverse;I&&I(!n),w&&Object(c.isEmpty)(t)&&n&&w(!n)}),[I,w]),ve=Object(d.useCallback)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(k&&x){var n=[],r=Object(c.split)(e),o=Object(M.a)(r,2),i=o[0],a=o[1],l=t.length>0;l&&Object(c.isEmpty)(i)||n.push(x(Object(c.toHTMLString)({value:i,multilineTag:de}))),l?n.push.apply(n,Object(D.a)(t)):B&&n.push(B()),!l&&B&&Object(c.isEmpty)(a)||n.push(x(Object(c.toHTMLString)({value:a,multilineTag:de})));var s=l?n.length-1:1;k(n,s)}}),[k,x,de,B]),Oe=Object(d.useCallback)((function(e){var t=e.value,n=e.onChange,r=e.shiftKey,o=k&&x;if(k){var a=Object(i.getBlockTransforms)("from").filter((function(e){return"enter"===e.type})),l=Object(i.findTransform)(a,(function(e){return e.regExp.test(t.text)}));l&&(k([l.transform({content:t.text})]),ue())}p?r?n(Object(c.insert)(t,"\n")):o&&Object(c.__unstableIsEmptyLine)(t)?ve(t):n(Object(c.__unstableInsertLineSeparator)(t)):r||!o?n(Object(c.insert)(t,"\n")):ve(t)}),[k,x,ue,p,ve]),je=Object(d.useCallback)((function(e){var t=e.value,n=e.onChange,r=e.html,a=e.plainText,l=e.files,s=e.activeFormats;if(l&&l.length&&!r){var u=Object(i.pasteHandler)({HTML:Ha(l),mode:"BLOCKS",tagName:o});return window.console.log("Received items:\n\n",l),void(k&&Object(c.isEmpty)(t)?k(u):ve(t,u))}var d=k&&x?"AUTO":"INLINE";R&&Object(c.isEmpty)(t)&&Object(wt.isURL)(a.trim())&&(d="BLOCKS");var f=Object(i.pasteHandler)({HTML:r,plainText:a,mode:d,tagName:o,canUserUseUnfilteredHTML:X});if("string"==typeof f){var b=Object(c.create)({html:f});if(s.length)for(var h=b.formats.length;h--;)b.formats[h]=[].concat(Object(D.a)(s),Object(D.a)(b.formats[h]||[]));p&&(b=Object(c.replace)(b,/\n+/g,c.__UNSTABLE_LINE_SEPARATOR)),n(Object(c.insert)(t,b))}else f.length>0&&(k&&Object(c.isEmpty)(t)?k(f):ve(t,f))}),[o,k,x,ve,R,X,p]),ke=Object(d.useCallback)((function(e,t){if(k){var n=e.start,r=e.text;if(" "===r.slice(n-1,n)){var o=r.slice(0,n).trim(),a=Object(i.getBlockTransforms)("from").filter((function(e){return"prefix"===e.type})),l=Object(i.findTransform)(a,(function(e){var t=e.prefix;return o===t}));if(l){var s=t(Object(c.slice)(e,n,r.length)),u=l.transform(s);k([u]),ue()}}}}),[k,ue]),ye=Object(d.createElement)(c.__experimentalRichText,Object(u.a)({},V,{clientId:K,identifier:T,ref:z,value:pe,onChange:he,selectionStart:J,selectionEnd:Q,onSelectionChange:me,tagName:o,className:b()(Xa,O,{"keep-placeholder-on-focus":_}),placeholder:y,allowedFormats:fe,withoutInteractiveFormatting:C,onEnter:Oe,onDelete:ge,onPaste:je,__unstableIsSelected:ee,__unstableInputRule:ke,__unstableMultilineTag:de,__unstableIsCaretWithinFormattedText:Z,__unstableOnEnterFormattedText:ae,__unstableOnExitFormattedText:le,__unstableOnCreateUndoLevel:ce,__unstableMarkAutomaticChange:ue,__unstableDidAutomaticChange:te,__unstableUndo:re,style:L,preserveWhiteSpace:A,disabled:ne,start:P,reversed:N,onCaretVerticalPositionChange:W,blockIsSelected:void 0!==f?f:q,shouldBlurOnUnmount:oe}),(function(e){var t=e.isSelected,n=e.value,o=e.onChange,i=e.onFocus,c=e.Editable;return Object(d.createElement)(d.Fragment,null,r&&r({value:n,onChange:o,onFocus:i}),t&&be&&Object(d.createElement)(Ga,{inline:m,anchorRef:z.current}),t&&Object(d.createElement)(Fa,null),Object(d.createElement)(Xe,{onReplace:k,completers:j,record:n,onChange:o,isSelected:t},(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:P,reversed:N,onKeyDown:r})})))}));return v?(wa()("wp.blockEditor.RichText wrapperClassName prop",{alternative:"className prop or create your own wrapper div"}),Object(d.createElement)("div",{className:b()(Ya,v)},ye)):ye}));Ja.Content=function(e){var t=e.value,n=e.tagName,r=e.multiline,o=Object(F.a)(e,["value","tagName","multiline"]);Array.isArray(t)&&(t=i.children.toHTML(t));var c=Za(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},Ja.isEmpty=function(e){return!e||0===e.length},Ja.Content.defaultProps={format:"string",value:""};var Qa=Ja,el=Object(d.createElement)(z.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(z.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(z.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"})),tl=Object(d.createElement)(z.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(z.Path,{d:"M6.5 1v21.5l6-6.5H21L6.5 1zm5.1 13l-3.1 3.4V5.9l7.8 8.1h-4.7z"}));var nl=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)(z.Dropdown,{renderToggle:function(t){var n=t.isOpen,r=t.onToggle;return Object(d.createElement)(z.Button,{icon:e?tl:el,"aria-expanded":n,onClick:r,label:Object(U.__)("Tools")})},renderContent:function(){return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(z.NavigableMenu,{role:"menu","aria-label":Object(U.__)("Tools")},Object(d.createElement)(z.MenuItemsChoice,{value:e?"select":"edit",onSelect:n,choices:[{value:"edit",label:Object(d.createElement)(d.Fragment,null,el,Object(U.__)("Edit"))},{value:"select",label:Object(d.createElement)(d.Fragment,null,tl,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.")))}})},rl=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(C.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(E.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)(z.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)(z.Button,{className:"block-editor-url-input__back",icon:"arrow-left-alt",label:Object(U.__)("Close"),onClick:this.toggle}),Object(d.createElement)(ka,{value:t||"",onChange:n}),Object(d.createElement)(z.Button,{icon:"editor-break",label:Object(U.__)("Submit"),type:"submit"}))))}}]),t}(d.Component),ol=["noreferrer","noopener"],il=Object(d.createElement)(z.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(z.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(d.createElement)(z.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)(z.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"})),cl=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(M.a)(f,2),h=b[0],m=b[1],g=Object(d.useCallback)((function(){m(!0)})),v=Object(d.useState)(!1),O=Object(M.a)(v,2),j=O[0],k=O[1],y=Object(d.useState)(null),_=Object(M.a)(y,2),E=_[0],S=_[1],C=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()},x=Object(d.useCallback)((function(){"media"!==t&&"attachment"!==t||S(""),k(!0)})),B=Object(d.useCallback)((function(){k(!1)})),T=Object(d.useCallback)((function(){S(null),B(),m(!1)})),P=function(e){var t=e;return void 0===e||Object(p.isEmpty)(t)||Object(p.isEmpty)(t)||(Object(p.each)(ol,(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},N=Object(d.useCallback)((function(){return function(e){var t=C.current;t&&t.contains(e.target)||(m(!1),S(null),B())}})),L=Object(d.useCallback)((function(){return function(e){E&&n({href:E}),B(),S(null),e.preventDefault()}})),A=Object(d.useCallback)((function(){n({linkDestination:"none",href:""})})),R=function(){return[{linkDestination:"media",title:Object(U.__)("Media File"),url:"image"===i?c:void 0,icon:il},{linkDestination:"attachment",title:Object(U.__)("Attachment Page"),url:"image"===i?a:void 0,icon:Object(d.createElement)(z.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(z.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(d.createElement)(z.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"}))}]},D=Object(d.createElement)(d.Fragment,null,Object(d.createElement)(z.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?P(u):void 0}}(e);n(t)},checked:"_blank"===l}),Object(d.createElement)(z.TextControl,{label:Object(U.__)("Link Rel"),value:P(u)||"",onChange:function(e){n({rel:e})},onKeyPress:w,onKeyDown:I}),Object(d.createElement)(z.TextControl,{label:Object(U.__)("Link CSS Class"),value:s||"",onKeyPress:w,onKeyDown:I,onChange:function(e){n({linkClass:e})}})),F=null!==E?E:r,V=(Object(p.find)(R(),["linkDestination",t])||{}).title;return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(z.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)(xa,{onFocusOutside:N(),onClose:T,renderSettings:function(){return D},additionalControls:!F&&Object(d.createElement)(z.NavigableMenu,null,Object(p.map)(R(),(function(e){return Object(d.createElement)(z.MenuItem,{key:e.linkDestination,icon:e.icon,onClick:function(){var t,r,o;S(null),t=e.url,o=R(),r=t?(Object(p.find)(o,(function(e){return e.url===t}))||{linkDestination:"custom"}).linkDestination:"none",n({linkDestination:r,href:t}),B()}},e.title)})))},(!r||j)&&Object(d.createElement)(xa.LinkEditor,{className:"block-editor-format-toolbar__link-container-content",value:F,onChangeInputValue:S,onKeyDown:I,onKeyPress:w,onSubmit:L(),autocompleteRef:C}),r&&!j&&Object(d.createElement)(d.Fragment,null,Object(d.createElement)(xa.LinkViewer,{className:"block-editor-format-toolbar__link-container-content",onKeyPress:w,url:r,onEditLinkClick:x,urlLabel:V}),Object(d.createElement)(z.Button,{icon:"no",label:Object(U.__)("Remove link"),onClick:A}))))},al=Object(z.createSlotFill)("__experimentalBlockSettingsMenuFirstItem"),ll=al.Fill,sl=al.Slot;ll.Slot=sl;var ul=ll,dl=Object(z.createSlotFill)("__experimentalBlockSettingsMenuPluginsExtension"),fl=dl.Fill,bl=dl.Slot;fl.Slot=bl;var pl=fl,hl=function(e){var t=e.icon,n=e.label,r=e.onPress;return Object(d.createElement)(z.Button,{onClick:r},t," ",n)},ml=function(e){var t=e.children;return Object(d.createElement)(Zi,null,t)};function gl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var vl=[{name:"About",icon:"👋",content:'\n\t\t\t\x3c!-- wp:paragraph {"align":"left"} --\x3e\n\t\t\t

    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.

    \n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph {"align":"left"} --\x3e\n\t\t\t

    This is sample content, included with the template to illustrate its features. Remove or replace it with your own words and media.

    \n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:heading {"align":"center","level":3} --\x3e\n\t\t\t

    What People Say

    \n\t\t\t\x3c!-- /wp:heading --\x3e\n\n\t\t\t\x3c!-- wp:quote --\x3e\n\t\t\t

    The way to get started is to quit talking and begin doing.

    Walt Disney
    \n\t\t\t\x3c!-- /wp:quote --\x3e\n\n\t\t\t\x3c!-- wp:quote --\x3e\n\t\t\t

    It is our choices, Harry, that show what we truly are, far more than our abilities.

    J. K. Rowling
    \n\t\t\t\x3c!-- /wp:quote --\x3e\n\n\t\t\t\x3c!-- wp:quote --\x3e\n\t\t\t

    Don\'t cry because it\'s over, smile because it happened.

    Dr. Seuss
    \n\t\t\t\x3c!-- /wp:quote --\x3e\n\n\t\t\t\x3c!-- wp:separator {"className":"is-style-wide"} --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- /wp:separator --\x3e\n\n\t\t\t\x3c!-- wp:heading {"align":"center"} --\x3e\n\t\t\t

    Let’s build something together.

    \n\t\t\t\x3c!-- /wp:heading --\x3e\n\n\t\t\t\x3c!-- wp:paragraph {"align":"center","textColor":"primary"} --\x3e\n\t\t\t

    Get in touch!

    \n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:separator {"className":"is-style-wide"} --\x3e\n\t\t\t
    \n\t\t\t\x3c!-- /wp:separator --\x3e\n\t\t'},{name:"Contact",icon:"✉️",content:'\n\t\t\t\x3c!-- wp:paragraph {"align":"left"} --\x3e\n\t\t\t

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

    \n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:heading {"align":"left"} --\x3e\n\t\t\t

    Get in Touch

    \n\t\t\t\x3c!-- /wp:heading --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t

    10 Street Road

    \n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t

    City, 10100

    \n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t

    USA

    \n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t

    mail@example.com

    \n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t

    (555) 555 1234

    \n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\t\t'}],Ol=H()((function(){return vl.map((function(e){return function(e){for(var t=1;t0,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)(Pl,null);var s=c===Object(i.getUnregisteredTypeHandlerName)();return t&&o&&!s?Object(d.createElement)("div",{className:"block-editor-block-inspector"},Object(d.createElement)(lc,{blockType:t}),r&&Object(d.createElement)("div",null,Object(d.createElement)(z.PanelBody,{title:Object(U.__)("Styles"),initialOpen:!1},Object(d.createElement)(Bl,{clientId:o}),Object(d.createElement)(Nl,{blockName:t.name}))),Object(d.createElement)(we.Slot,{bubblesVirtually:!0}),Object(d.createElement)("div",null,Object(d.createElement)(z.__experimentalSlotFillConsumer,null,(function(e){return(0,e.hasFills)(ca.slotName)&&Object(d.createElement)(z.PanelBody,{className:"block-editor-block-inspector__advanced",title:Object(U.__)("Advanced"),initialOpen:!1},Object(d.createElement)(ca.Slot,{bubblesVirtually:!0}))}))),Object(d.createElement)(El,{key:"back"})):l?Object(d.createElement)("span",{className:"block-editor-block-inspector__no-blocks"},Object(U.__)("No block selected.")):null}));function Al(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};if(e>1)return 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);if(r&&o)return Object(U.sprintf)(Object(U.__)("Block %s is the only block, and cannot be moved"),t);if(i>0&&!o){var u=s("down");if("down"===u)return Object(U.sprintf)(Object(U.__)("Move %1$s block from position %2$d down to position %3$d"),t,l,l+1);if("left"===u)return Object(U.sprintf)(Object(U.__)("Move %1$s block from position %2$d left to position %3$d"),t,l,l+1);if("right"===u)return Object(U.sprintf)(Object(U.__)("Move %1$s block from position %2$d right to position %3$d"),t,l,l+1)}if(i>0&&o){var d=s("down");if("down"===d)return Object(U.sprintf)(Object(U.__)("Block %1$s is at the end of the content and can’t be moved down"),t);if("left"===d)return Object(U.sprintf)(Object(U.__)("Block %1$s is at the end of the content and can’t be moved left"),t);if("right"===d)return Object(U.sprintf)(Object(U.__)("Block %1$s is at the end of the content and can’t be moved right"),t)}if(i<0&&!r){var f=s("up");if("up"===f)return Object(U.sprintf)(Object(U.__)("Move %1$s block from position %2$d up to position %3$d"),t,l,l-1);if("left"===f)return Object(U.sprintf)(Object(U.__)("Move %1$s block from position %2$d left to position %3$d"),t,l,l-1);if("right"===f)return Object(U.sprintf)(Object(U.__)("Move %1$s block from position %2$d right to position %3$d"),t,l,l-1)}if(i<0&&r){var b=s("up");if("up"===b)return Object(U.sprintf)(Object(U.__)("Block %1$s is at the beginning of the content and can’t be moved up"),t);if("left"===b)return Object(U.sprintf)(Object(U.__)("Block %1$s is at the beginning of the content and can’t be moved left"),t);if("right"===b)return Object(U.sprintf)(Object(U.__)("Block %1$s is at the beginning of the content and can’t be moved right"),t)}}var Rl=Object(d.createElement)(z.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(z.Path,{d:"M4.5 9l5.6-5.7 1.4 1.5L7.3 9l4.2 4.2-1.4 1.5L4.5 9z"})),Dl=Object(d.createElement)(z.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(z.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"})),Ml=Object(d.createElement)(z.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(d.createElement)(z.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"})),Fl=n(279),Vl=n(280),Hl=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)(z.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})}))},Ul=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(C.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(E.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?Dl:Rl:Fl.a:"down"===e?"horizontal"===r?o?Rl:Dl:Vl.a:null},j=function(e){return"up"===e?"horizontal"===r?o?"right":"left":"up":"down"===e?"horizontal"===r?o?"left":"right":"down":null};return Object(d.createElement)(z.ToolbarGroup,{className:b()("block-editor-block-mover",{"is-visible":g||!h,"is-horizontal":"horizontal"===r})},Object(d.createElement)(z.Button,{className:"block-editor-block-mover__control",onClick:i?null:t,icon:O("up"),label:Object(U.sprintf)(Object(U.__)("Move %s"),j("up")),"aria-describedby":"block-editor-block-mover__up-description-".concat(f),"aria-disabled":i,onFocus:this.onFocus,onBlur:this.onBlur}),Object(d.createElement)(Hl,{clientIds:a},(function(e){var t=e.onDraggableStart,n=e.onDraggableEnd;return Object(d.createElement)(z.Button,{icon:Ml,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)(z.Button,{className:"block-editor-block-mover__control",onClick:c?null:n,icon:O("down"),label:Object(U.sprintf)(Object(U.__)("Move %s"),j("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"},Al(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"},Al(v,l&&l.title,s,i,c,1,r,o)))}}]),t}(d.Component),zl=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)(Ul),Gl=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(C.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(E.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),Kl=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}}))])(Gl),Wl=Object(d.createElement)(Ze.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(Ze.Path,{d:"M12 4h3c.6 0 1 .4 1 1v1H3V5c0-.6.5-1 1-1h3c.2-1.1 1.3-2 2.5-2s2.3.9 2.5 2zM8 4h3c-.2-.6-.9-1-1.5-1S8.2 3.4 8 4zM4 7h11l-.9 10.1c0 .5-.5.9-1 .9H5.9c-.5 0-.9-.4-1-.9L4 7z"}));var ql=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 $l=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)(z.MenuItem,{onClick:r,icon:"html"},!c&&s)}));function Yl(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)(z.MenuItem,{onClick:n,icon:"screenoptions"},!r&&o)}var Xl=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)}))}}})))(Yl),Zl=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)}))}}})))(Yl),Jl={className:"block-editor-block-settings-menu__popover",position:"bottom right"};var Ql=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)(ql,{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)(z.Toolbar,null,Object(d.createElement)(z.DropdownMenu,{icon:"ellipsis",label:Object(U.__)("More options"),className:"block-editor-block-settings-menu",popoverProps:Jl},(function(e){var b=e.onClose;return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(z.MenuGroup,null,Object(d.createElement)(ul.Slot,{fillProps:{onClose:b}}),1===r&&Object(d.createElement)(Zl,{clientId:o}),1===r&&Object(d.createElement)(Xl,{clientId:o}),n&&Object(d.createElement)(z.MenuItem,{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)(z.MenuItem,{onClick:Object(p.flow)(b,u),icon:"insert-before",shortcut:i.insertBefore},Object(U.__)("Insert Before")),Object(d.createElement)(z.MenuItem,{onClick:Object(p.flow)(b,s),icon:"insert-after",shortcut:i.insertAfter},Object(U.__)("Insert After"))),1===r&&Object(d.createElement)($l,{clientId:o,onToggle:b}),Object(d.createElement)(pl.Slot,{fillProps:{clientIds:t,onClose:b}})),Object(d.createElement)(z.MenuGroup,null,!a&&Object(d.createElement)(z.MenuItem,{onClick:Object(p.flow)(b,f),icon:Wl,shortcut:i.remove},Object(U._n)("Remove Block","Remove Blocks",r))))})))}))};function es(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ts(e){for(var t=1;t0}})),Object(g.withDispatch)((function(e,t){return{onTransform:function(n,r){e("core/block-editor").replaceBlocks(t.clientIds,Object(i.switchToBlockType)(n,r))}}})))(ns);var os=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)(rs,{key:"switcher",clientIds:n}):null}));function is(){var e=Object(g.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockMode,r=t.getSelectedBlockClientIds,o=t.isBlockValid,i=t.getBlockRootClientId,c=t.getBlockListSettings,a=r(),l=i(a[0]),s=c(l)||{},u=s.__experimentalMoverDirection,d=s.__experimentalUIParts,f=void 0===d?{}:d;return{blockClientIds:a,rootClientId:l,isValid:1===a.length?o(a[0]):null,mode:1===a.length?n(a[0]):null,moverDirection:u,hasMovers:f.hasMovers}}),[]),t=e.blockClientIds,n=e.isValid,r=e.mode,o=e.moverDirection,i=e.hasMovers,c=void 0===i||i;return 0===t.length?null:t.length>1?Object(d.createElement)("div",{className:"block-editor-block-toolbar"},c&&Object(d.createElement)(zl,{clientIds:t,__experimentalOrientation:o}),Object(d.createElement)(os,null),Object(d.createElement)(Ql,{clientIds:t})):Object(d.createElement)("div",{className:"block-editor-block-toolbar"},c&&Object(d.createElement)(zl,{clientIds:t,__experimentalOrientation:o}),"visual"===r&&n&&Object(d.createElement)(d.Fragment,null,Object(d.createElement)(rs,{clientIds:t}),Object(d.createElement)(ht.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"}),Object(d.createElement)(jt.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"})),Object(d.createElement)(Ql,{clientIds:t}))}var cs=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($o.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 as(){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}as.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 ls=as;function ss(){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=li(t);if(e){var r=Object($o.getScrollContainer)(e);r&&St()(e,r,{onlyScrollIfNeeded:!0})}}}),[t,n]),null}var us=[Ct.UP,Ct.RIGHT,Ct.DOWN,Ct.LEFT,Ct.ENTER,Ct.BACKSPACE];var ds=Object(h.withSafeTimeout)((function(e){var t=e.children,n=e.setTimeout,r=Object(d.useRef)(),o=Object(g.useSelect)((function(e){return e("core/block-editor").isTyping()})),i=Object(g.useDispatch)("core/block-editor"),c=i.startTyping,a=i.stopTyping;function l(e){var t=e?"addEventListener":"removeEventListener";document[t]("selectionchange",u),document[t]("mousemove",s)}function s(e){var t=e.clientX,n=e.clientY;if(r.current){var o=r.current,i=o.clientX,c=o.clientY;i===t&&c===n||a()}r.current={clientX:t,clientY:n}}function u(){var e=window.getSelection();e.rangeCount>0&&e.getRangeAt(0).collapsed||a()}function f(e){var t=e.type,n=e.target;o||!Object($o.isTextField)(n)||n.closest(".block-editor-block-toolbar")||("keydown"!==t||function(e){var t=e.keyCode;return!e.shiftKey&&Object(p.includes)(us,t)}(e))&&c()}return Object(d.useEffect)((function(){return l(o),function(){return l(!1)}}),[o]),Object(d.createElement)("div",{onFocus:function(e){var t=e.target;n((function(){o&&!Object($o.isTextField)(t)&&a()}))},onKeyPress:f,onKeyDown:Object(p.over)([f,function(e){o&&e.keyCode===Ct.ESCAPE&&a()}])},t)}));function fs(){return wa()("PreserveScrollInReorder component",{hint:"This behavior is now built-in the block list"}),null}var bs=-1!==window.navigator.userAgent.indexOf("Trident"),ps=new Set([Ct.UP,Ct.DOWN,Ct.LEFT,Ct.RIGHT]),hs=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(C.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(E.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($o.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($o.computeCaretRect)();if(n)if(this.caretRect)if(ps.has(t))this.caretRect=n;else{var r=n.top-this.caretRect.top;if(0!==r){var o=Object($o.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?vs:[],!r||!0===e&&!n?p.without.apply(void 0,[t].concat(Os)):t}var ks=Object(h.createHigherOrderComponent)((function(e){return function(t){var n=t.name,r=js(Object(i.getBlockSupport)(n,"align"),Object(i.hasBlockSupport)(n,"alignWide",!0));return[r.length>0&&t.isSelected&&Object(d.createElement)(ht,{key:"align-controls"},Object(d.createElement)(lt,{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"),ys=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=js(Object(i.getBlockSupport)(n,"align"),Object(i.hasBlockSupport)(n,"alignWide",!0),o),a=t.wrapperProps;return Object(p.includes)(c,r)&&(a=function(e){for(var t=1;t");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",Ss),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=Cs(o),a=Cs(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(D.a)(e.className.split(" ")))).join(" ").trim():e.className=Object(i.getBlockDefaultClassName)(t.name)),e}));var ws=n(257),Is=n.n(ws),xs=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Bs=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=S()||C());)!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 Ts(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=Ts(t[0]),!f(/^:\s*/))return l("property missing ':'");var n=f(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),r=e({type:"declaration",property:t.replace(xs,""),value:n?Ts(n[0]).replace(xs,""):""});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 j,k=E("import"),y=E("charset"),_=E("namespace");function E(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 S(){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=Ts(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:Ts(t[1]),media:Ts(t[2])})}()||function(){var e=i(),t=f(/^@supports *([^{]+)/);if(t){var n=Ts(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 '}'")}}()||k()||y()||_()||function(){var e=i(),t=f(/^@([-\w]+)?document *([^{]+)/);if(t){var n=Ts(t[1]),r=Ts(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 C(){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(Yt.a)(c)&&e(c,o)}r&&Object.defineProperty(t,"parent",{configurable:!0,writable:!0,enumerable:!1,value:n||null});return t}((j=d(),{type:"stylesheet",stylesheet:{source:t.source,rules:j,parsingErrors:a}}))};function Ts(e){return e?e.replace(/^\s+|\s+$/g,""):""}var Ps=n(139),Ns=n.n(Ps),Ls=As;function As(e){this.options=e||{}}As.prototype.emit=function(e){return e},As.prototype.visit=function(e){return this[e.type](e)},As.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?Ys({},n,{selectors:n.selectors.map((function(n){return Object(p.includes)(t,n.trim())?n:n.match(Xs)?n.replace(/^(body|html|:root)/,e):e+" "+n}))}):n}},Js=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(Zs(t)),r&&o.push(qs(r)),o.length?Hs(n,Object(h.compose)(o)):n}))};n.d(t,"AlignmentToolbar",(function(){return Ye})),n.d(t,"Autocomplete",(function(){return Xe})),n.d(t,"BlockAlignmentToolbar",(function(){return lt})),n.d(t,"BlockBreadcrumb",(function(){return ut})),n.d(t,"BlockControls",(function(){return ht})),n.d(t,"BlockEdit",(function(){return Z})),n.d(t,"useBlockEditContext",(function(){return $})),n.d(t,"BlockFormatControls",(function(){return jt})),n.d(t,"BlockIcon",(function(){return kt})),n.d(t,"BlockNavigationDropdown",(function(){return Pc})),n.d(t,"__experimentalBlockNavigationList",(function(){return Ic})),n.d(t,"__experimentalBlockVariationPicker",(function(){return Nc})),n.d(t,"BlockVerticalAlignmentToolbar",(function(){return Vc})),n.d(t,"ButtonBlockerAppender",(function(){return wc})),n.d(t,"ColorPalette",(function(){return Uc})),n.d(t,"ColorPaletteControl",(function(){return zc})),n.d(t,"ContrastChecker",(function(){return ye})),n.d(t,"__experimentalGradientPicker",(function(){return Kc})),n.d(t,"__experimentalGradientPickerControl",(function(){return Wc})),n.d(t,"__experimentalGradientPickerPanel",(function(){return qc})),n.d(t,"__experimentalColorGradientControl",(function(){return le})),n.d(t,"__experimentalPanelColorGradientSettings",(function(){return ge})),n.d(t,"__experimentalImageSizeControl",(function(){return $c})),n.d(t,"InnerBlocks",(function(){return ta})),n.d(t,"InspectorAdvancedControls",(function(){return ca})),n.d(t,"InspectorControls",(function(){return we})),n.d(t,"__experimentalLinkControl",(function(){return ma})),n.d(t,"MediaReplaceFlow",(function(){return Sa})),n.d(t,"MediaPlaceholder",(function(){return Na})),n.d(t,"MediaUpload",(function(){return ga})),n.d(t,"MediaUploadCheck",(function(){return va})),n.d(t,"PanelColorSettings",(function(){return Oe})),n.d(t,"PlainText",(function(){return La})),n.d(t,"__experimentalResponsiveBlockControl",(function(){return Ra})),n.d(t,"RichText",(function(){return Qa})),n.d(t,"RichTextShortcut",(function(){return Ka})),n.d(t,"RichTextToolbarButton",(function(){return Wa})),n.d(t,"__unstableRichTextInputEvent",(function(){return qa})),n.d(t,"ToolSelector",(function(){return nl})),n.d(t,"URLInput",(function(){return ka})),n.d(t,"URLInputButton",(function(){return rl})),n.d(t,"URLPopover",(function(){return xa})),n.d(t,"__experimentalImageURLInputUI",(function(){return cl})),n.d(t,"withColorContext",(function(){return Hc})),n.d(t,"__experimentalBlockListFooter",(function(){return Zi})),n.d(t,"__experimentalBlockSettingsMenuFirstItem",(function(){return ul})),n.d(t,"__experimentalBlockSettingsMenuPluginsExtension",(function(){return pl})),n.d(t,"__experimentalInserterMenuExtension",(function(){return bc})),n.d(t,"__experimentalPageTemplatePicker",(function(){return kl})),n.d(t,"__experimentalWithPageTemplatePickerVisible",(function(){return _l})),n.d(t,"__experimentalUsePageTemplatePickerVisible",(function(){return yl})),n.d(t,"BlockInspector",(function(){return Ll})),n.d(t,"BlockList",(function(){return tc})),n.d(t,"BlockMover",(function(){return zl})),n.d(t,"BlockPreview",(function(){return rc})),n.d(t,"BlockSelectionClearer",(function(){return Kl})),n.d(t,"BlockSettingsMenu",(function(){return Ql})),n.d(t,"BlockTitle",(function(){return st})),n.d(t,"BlockToolbar",(function(){return is})),n.d(t,"CopyHandler",(function(){return cs})),n.d(t,"DefaultBlockAppender",(function(){return Ki})),n.d(t,"Inserter",(function(){return Cc})),n.d(t,"MultiBlocksSwitcher",(function(){return os})),n.d(t,"BlockEditorKeyboardShortcuts",(function(){return ls})),n.d(t,"MultiSelectScrollIntoView",(function(){return ss})),n.d(t,"NavigableToolbar",(function(){return Ii})),n.d(t,"ObserveTyping",(function(){return ds})),n.d(t,"PreserveScrollInReorder",(function(){return fs})),n.d(t,"SkipToSelectedBlock",(function(){return El})),n.d(t,"Typewriter",(function(){return ms})),n.d(t,"Warning",(function(){return Yo})),n.d(t,"WritingFlow",(function(){return Ei})),n.d(t,"BlockEditorProvider",(function(){return Wo})),n.d(t,"getColorClassName",(function(){return y})),n.d(t,"getColorObjectByAttributeValues",(function(){return j})),n.d(t,"getColorObjectByColorValue",(function(){return k})),n.d(t,"createCustomColorsHOC",(function(){return A})),n.d(t,"withColors",(function(){return R})),n.d(t,"__experimentalUseColors",(function(){return De})),n.d(t,"__experimentalGetGradientClass",(function(){return J})),n.d(t,"__experimentalGetGradientObjectByGradientValue",(function(){return Q})),n.d(t,"__experimentalUseGradient",(function(){return ee})),n.d(t,"getFontSize",(function(){return Me})),n.d(t,"getFontSizeClass",(function(){return Fe})),n.d(t,"FontSizePicker",(function(){return Ve})),n.d(t,"withFontSizes",(function(){return ze})),n.d(t,"transformStyles",(function(){return Js})),n.d(t,"storeConfig",(function(){return Uo})),n.d(t,"SETTINGS_DEFAULTS",(function(){return xt}))},44: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=N(e,360),t=N(t,100),n=N(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=P(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=N(e,255),t=N(t,255),n=N(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 x(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=P(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=[R(l(e).toString(16)),R(l(t).toString(16)),R(l(n).toString(16)),R(M(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*N(this._r,255))+"%",g:l(100*N(this._g,255))+"%",b:l(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*N(this._r,255))+"%, "+l(100*N(this._g,255))+"%, "+l(100*N(this._b,255))+"%)":"rgba("+l(100*N(this._r,255))+"%, "+l(100*N(this._g,255))+"%, "+l(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(T[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(j,arguments)},brighten:function(){return this._applyModification(k,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(E,arguments)},monochromatic:function(){return this._applyCombination(x,arguments)},splitcomplement:function(){return this._applyCombination(w,arguments)},triad:function(){return this._applyCombination(S,arguments)},tetrad:function(){return this._applyCombination(C,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]:D(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 B=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"},T=f.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(B);function P(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function N(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var 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 L(e){return s(1,u(0,e))}function A(e){return parseInt(e,16)}function R(e){return 1==e.length?"0"+e:""+e}function D(e){return e<=1&&(e=100*e+"%"),e}function M(e){return o.round(255*parseFloat(e)).toString(16)}function F(e){return A(e)/255}var V,H,U,z=(H="[\\s|\\(]+("+(V="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",U="[\\s|\\(]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",{CSS_UNIT:new RegExp(V),rgb:new RegExp("rgb"+H),rgba:new RegExp("rgba"+U),hsl:new RegExp("hsl"+H),hsla:new RegExp("hsla"+U),hsv:new RegExp("hsv"+H),hsva:new RegExp("hsva"+U),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!!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)},54:function(e,t){!function(){e.exports=this.wp.viewport}()},56:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},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}))},70:function(e,t,n){"use strict";t.__esModule=!0;var r=n(146);t.default=r.default},71: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},75: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(150)),i=r(n(151)),c=n(21),a=r(c),l=r(n(121)),s=r(n(152)),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 j=Math.floor(t-d),k=0;kh: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 V=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 V(this,e,t,n)},t}(v),U=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 V(this,e,t)},t}(O),z=0,G=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,D.has(t)||D.add(t),R||(R=!0,E(T||M));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,D.has(t)&&D.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}(j),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,je=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,ke=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 Ee(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 Se={};N((function(e){return new Q(e)})),x("div"),C((function(e){var t=e.output.map((function(e){return e.replace(je,ve)})).map((function(e){return e.replace(ke,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),k((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=Ee(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:Se[f]||(Se[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 Ce,we,Ie=(Ce=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 A(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 P(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]=Ce(n),e}),Ce)}),xe=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=M,t.animated=xe,t.a=xe,t.interpolate=function(e,t,n){return e&&new V(e,t,n)},t.Globals=L,t.useSpring=function(e){var t=u.fun(e),n=K(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=K(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"]),j=d(),k=c.useRef(!1),y=c.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!r.ref,instances:!k.current&&new Map,forceUpdate:j});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,j=a.order,k=void 0===j?[q,$,Y]:j,y=Z(r),_=y.keys,E=y.items,S=o({},c.current),C=[].concat(c.deleted),w=Object.keys(S),I=new Set(w),x=new Set(s),B=s.filter((function(e){return!I.has(e)})),T=c.transitions.filter((function(e){return!e.destroyed&&!x.has(e.originalKey)})).map((function(e){return e.originalKey})),P=s.filter((function(e){return I.has(e)})),N=-g;for(;k.length;){switch(k.shift()){case q:B.forEach((function(e,t){v&&C.find((function(t){return t.originalKey===e}))&&(C=C.filter((function(t){return t.originalKey!==e})));var r=s.indexOf(e),o=l[r],i=n&&void 0!==u?"initial":q;S[e]={slot:i,originalKey:e,key:v?String(e):W++,item:o,trail:N+=g,config:p(O,o,i),from:p(n&&void 0!==u?u||{}:d,o),to:p(f,o)}}));break;case $:T.forEach((function(e){var t=_.indexOf(e),n=E[t],r=$;C.unshift(o({},S[e],{slot:r,destroyed:!0,left:_[Math.max(0,t-1)],right:_[Math.min(_.length,t+1)],trail:N+=g,config:p(O,n,r),to:p(b,n)})),delete S[e]}));break;case Y:P.forEach((function(e){var t=s.indexOf(e),n=l[t],r=Y;S[e]=o({},S[e],{item:n,slot:r,trail:N+=g,config:p(O,n,r),to:p(h,n)})}))}}var L=s.map((function(e){return S[e]}));return C.forEach((function(e){var t,n=e.left,r=(e.right,i(e,["left","right"]));-1!==(t=L.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),L=[].concat(L.slice(0,t),[r],L.slice(t))})),o({},c,{changed:B.length||T.length||P.length,first:n&&0===B.length,transitions:L,current:S,deleted:C,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 G);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=k.current=!0,function(){y.current.mounted=k.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=K},8:function(e,t){!function(){e.exports=this.wp.compose}()},82:function(e,t,n){"use strict";e.exports=n(144)},88: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'], + + // RFC 2396: characters not allowed for various reasons. + unwise = ['{', '}', '|', '\\', '^', '`'].concat(delims), + + // Allowed by RFCs, but cause of XSS attacks. Always escape these. + autoEscape = ['\''].concat(unwise), + // Characters that are never ever allowed in a hostname. + // Note that any invalid chars are also handled, but these + // are the ones that are *expected* to be seen, so we fast-path + // them. + nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape), + hostEndingChars = ['/', '?', '#'], + hostnameMaxLen = 255, + hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/, + hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, + // protocols that can allow "unsafe" and "unwise" chars. + unsafeProtocol = { + 'javascript': true, + 'javascript:': true + }, + // protocols that never have a hostname. + hostlessProtocol = { + 'javascript': true, + 'javascript:': true + }, + // protocols that always contain a // bit. + slashedProtocol = { + 'http': true, + 'https': true, + 'ftp': true, + 'gopher': true, + 'file': true, + 'http:': true, + 'https:': true, + 'ftp:': true, + 'gopher:': true, + 'file:': true + }, + querystring = __webpack_require__(156); + +function urlParse(url, parseQueryString, slashesDenoteHost) { + if (url && util.isObject(url) && url instanceof Url) return url; + + var u = new Url; + u.parse(url, parseQueryString, slashesDenoteHost); + return u; +} + +Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) { + if (!util.isString(url)) { + throw new TypeError("Parameter 'url' must be a string, not " + typeof url); + } + + // Copy chrome, IE, opera backslash-handling behavior. + // Back slashes before the query string get converted to forward slashes + // See: https://code.google.com/p/chromium/issues/detail?id=25916 + var queryIndex = url.indexOf('?'), + splitter = + (queryIndex !== -1 && queryIndex < url.indexOf('#')) ? '?' : '#', + uSplit = url.split(splitter), + slashRegex = /\\/g; + uSplit[0] = uSplit[0].replace(slashRegex, '/'); + url = uSplit.join(splitter); + + var rest = url; + + // trim before proceeding. + // This is to support parse stuff like " http://foo.com \n" + rest = rest.trim(); + + if (!slashesDenoteHost && url.split('#').length === 1) { + // Try fast path regexp + var simplePath = simplePathPattern.exec(rest); + if (simplePath) { + this.path = rest; + this.href = rest; + this.pathname = simplePath[1]; + if (simplePath[2]) { + this.search = simplePath[2]; + if (parseQueryString) { + this.query = querystring.parse(this.search.substr(1)); + } else { + this.query = this.search.substr(1); + } + } else if (parseQueryString) { + this.search = ''; + this.query = {}; + } + return this; + } + } + + var proto = protocolPattern.exec(rest); + if (proto) { + proto = proto[0]; + var lowerProto = proto.toLowerCase(); + this.protocol = lowerProto; + rest = rest.substr(proto.length); + } + + // figure out if it's got a host + // user@server is *always* interpreted as a hostname, and url + // resolution will treat //foo/bar as host=foo,path=bar because that's + // how the browser resolves relative URLs. + if (slashesDenoteHost || proto || rest.match(/^\/\/[^@\/]+@[^@\/]+/)) { + var slashes = rest.substr(0, 2) === '//'; + if (slashes && !(proto && hostlessProtocol[proto])) { + rest = rest.substr(2); + this.slashes = true; + } + } + + if (!hostlessProtocol[proto] && + (slashes || (proto && !slashedProtocol[proto]))) { + + // there's a hostname. + // the first instance of /, ?, ;, or # ends the host. + // + // If there is an @ in the hostname, then non-host chars *are* allowed + // to the left of the last @ sign, unless some host-ending character + // comes *before* the @-sign. + // URLs are obnoxious. + // + // ex: + // http://a@b@c/ => user:a@b host:c + // http://a@b?@c => user:a host:c path:/?@c + + // v0.12 TODO(isaacs): This is not quite how Chrome does things. + // Review our test case against browsers more comprehensively. + + // find the first instance of any hostEndingChars + var hostEnd = -1; + for (var i = 0; i < hostEndingChars.length; i++) { + var hec = rest.indexOf(hostEndingChars[i]); + if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) + hostEnd = hec; + } + + // at this point, either we have an explicit point where the + // auth portion cannot go past, or the last @ char is the decider. + var auth, atSign; + if (hostEnd === -1) { + // atSign can be anywhere. + atSign = rest.lastIndexOf('@'); + } else { + // atSign must be in auth portion. + // http://a@b/c@d => host:b auth:a path:/c@d + atSign = rest.lastIndexOf('@', hostEnd); + } + + // Now we have a portion which is definitely the auth. + // Pull that off. + if (atSign !== -1) { + auth = rest.slice(0, atSign); + rest = rest.slice(atSign + 1); + this.auth = decodeURIComponent(auth); + } + + // the host is the remaining to the left of the first non-host char + hostEnd = -1; + for (var i = 0; i < nonHostChars.length; i++) { + var hec = rest.indexOf(nonHostChars[i]); + if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) + hostEnd = hec; + } + // if we still have not hit it, then the entire thing is a host. + if (hostEnd === -1) + hostEnd = rest.length; + + this.host = rest.slice(0, hostEnd); + rest = rest.slice(hostEnd); + + // pull out port. + this.parseHost(); + + // we've indicated that there is a hostname, + // so even if it's empty, it has to be present. + this.hostname = this.hostname || ''; + + // if hostname begins with [ and ends with ] + // assume that it's an IPv6 address. + var ipv6Hostname = this.hostname[0] === '[' && + this.hostname[this.hostname.length - 1] === ']'; + + // validate a little. + if (!ipv6Hostname) { + var hostparts = this.hostname.split(/\./); + for (var i = 0, l = hostparts.length; i < l; i++) { + var part = hostparts[i]; + if (!part) continue; + if (!part.match(hostnamePartPattern)) { + var newpart = ''; + for (var j = 0, k = part.length; j < k; j++) { + if (part.charCodeAt(j) > 127) { + // we replace non-ASCII char with a temporary placeholder + // we need this to make sure size of hostname is not + // broken by replacing non-ASCII by nothing + newpart += 'x'; + } else { + newpart += part[j]; + } + } + // we test again with ASCII char only + if (!newpart.match(hostnamePartPattern)) { + var validParts = hostparts.slice(0, i); + var notHost = hostparts.slice(i + 1); + var bit = part.match(hostnamePartStart); + if (bit) { + validParts.push(bit[1]); + notHost.unshift(bit[2]); + } + if (notHost.length) { + rest = '/' + notHost.join('.') + rest; + } + this.hostname = validParts.join('.'); + break; + } + } + } + } + + if (this.hostname.length > hostnameMaxLen) { + this.hostname = ''; + } else { + // hostnames are always lower case. + this.hostname = this.hostname.toLowerCase(); + } + + if (!ipv6Hostname) { + // IDNA Support: Returns a punycoded representation of "domain". + // It only converts parts of the domain name that + // have non-ASCII characters, i.e. it doesn't matter if + // you call it with a domain that already is ASCII-only. + this.hostname = punycode.toASCII(this.hostname); + } + + var p = this.port ? ':' + this.port : ''; + var h = this.hostname || ''; + this.host = h + p; + this.href += this.host; + + // strip [ and ] from the hostname + // the host field still retains them, though + if (ipv6Hostname) { + this.hostname = this.hostname.substr(1, this.hostname.length - 2); + if (rest[0] !== '/') { + rest = '/' + rest; + } + } + } + + // now rest is set to the post-host stuff. + // chop off any delim chars. + if (!unsafeProtocol[lowerProto]) { + + // First, make 100% sure that any "autoEscape" chars get + // escaped, even if encodeURIComponent doesn't think they + // need to be. + for (var i = 0, l = autoEscape.length; i < l; i++) { + var ae = autoEscape[i]; + if (rest.indexOf(ae) === -1) + continue; + var esc = encodeURIComponent(ae); + if (esc === ae) { + esc = escape(ae); + } + rest = rest.split(ae).join(esc); + } + } + + + // chop off from the tail first. + var hash = rest.indexOf('#'); + if (hash !== -1) { + // got a fragment string. + this.hash = rest.substr(hash); + rest = rest.slice(0, hash); + } + var qm = rest.indexOf('?'); + if (qm !== -1) { + this.search = rest.substr(qm); + this.query = rest.substr(qm + 1); + if (parseQueryString) { + this.query = querystring.parse(this.query); + } + rest = rest.slice(0, qm); + } else if (parseQueryString) { + // no query string, but parseQueryString still requested + this.search = ''; + this.query = {}; + } + if (rest) this.pathname = rest; + if (slashedProtocol[lowerProto] && + this.hostname && !this.pathname) { + this.pathname = '/'; + } + + //to support http.request + if (this.pathname || this.search) { + var p = this.pathname || ''; + var s = this.search || ''; + this.path = p + s; + } + + // finally, reconstruct the href based on what has been validated. + this.href = this.format(); + return this; +}; + +// format a parsed object into a url string +function urlFormat(obj) { + // ensure it's an object, and not a string url. + // If it's an obj, this is a no-op. + // this way, you can call url_format() on strings + // to clean up potentially wonky urls. + if (util.isString(obj)) obj = urlParse(obj); + if (!(obj instanceof Url)) return Url.prototype.format.call(obj); + return obj.format(); +} + +Url.prototype.format = function() { + var auth = this.auth || ''; + if (auth) { + auth = encodeURIComponent(auth); + auth = auth.replace(/%3A/i, ':'); + auth += '@'; + } + + var protocol = this.protocol || '', + pathname = this.pathname || '', + hash = this.hash || '', + host = false, + query = ''; + + if (this.host) { + host = auth + this.host; + } else if (this.hostname) { + host = auth + (this.hostname.indexOf(':') === -1 ? + this.hostname : + '[' + this.hostname + ']'); + if (this.port) { + host += ':' + this.port; + } + } + + if (this.query && + util.isObject(this.query) && + Object.keys(this.query).length) { + query = querystring.stringify(this.query); + } + + var search = this.search || (query && ('?' + query)) || ''; + + if (protocol && protocol.substr(-1) !== ':') protocol += ':'; + + // only the slashedProtocols get the //. Not mailto:, xmpp:, etc. + // unless they had them to begin with. + if (this.slashes || + (!protocol || slashedProtocol[protocol]) && host !== false) { + host = '//' + (host || ''); + if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname; + } else if (!host) { + host = ''; + } + + if (hash && hash.charAt(0) !== '#') hash = '#' + hash; + if (search && search.charAt(0) !== '?') search = '?' + search; + + pathname = pathname.replace(/[?#]/g, function(match) { + return encodeURIComponent(match); + }); + search = search.replace('#', '%23'); + + return protocol + host + pathname + search + hash; +}; + +function urlResolve(source, relative) { + return urlParse(source, false, true).resolve(relative); +} + +Url.prototype.resolve = function(relative) { + return this.resolveObject(urlParse(relative, false, true)).format(); +}; + +function urlResolveObject(source, relative) { + if (!source) return relative; + return urlParse(source, false, true).resolveObject(relative); +} + +Url.prototype.resolveObject = function(relative) { + if (util.isString(relative)) { + var rel = new Url(); + rel.parse(relative, false, true); + relative = rel; + } + + var result = new Url(); + var tkeys = Object.keys(this); + for (var tk = 0; tk < tkeys.length; tk++) { + var tkey = tkeys[tk]; + result[tkey] = this[tkey]; + } + + // hash is always overridden, no matter what. + // even href="" will remove it. + result.hash = relative.hash; + + // if the relative url is empty, then there's nothing left to do here. + if (relative.href === '') { + result.href = result.format(); + return result; + } + + // hrefs like //foo/bar always cut to the protocol. + if (relative.slashes && !relative.protocol) { + // take everything except the protocol from relative + var rkeys = Object.keys(relative); + for (var rk = 0; rk < rkeys.length; rk++) { + var rkey = rkeys[rk]; + if (rkey !== 'protocol') + result[rkey] = relative[rkey]; + } + + //urlParse appends trailing / to urls like http://www.example.com + if (slashedProtocol[result.protocol] && + result.hostname && !result.pathname) { + result.path = result.pathname = '/'; + } + + result.href = result.format(); + return result; + } + + if (relative.protocol && relative.protocol !== result.protocol) { + // if it's a known url protocol, then changing + // the protocol does weird things + // first, if it's not file:, then we MUST have a host, + // and if there was a path + // to begin with, then we MUST have a path. + // if it is file:, then the host is dropped, + // because that's known to be hostless. + // anything else is assumed to be absolute. + if (!slashedProtocol[relative.protocol]) { + var keys = Object.keys(relative); + for (var v = 0; v < keys.length; v++) { + var k = keys[v]; + result[k] = relative[k]; + } + result.href = result.format(); + return result; + } + + result.protocol = relative.protocol; + if (!relative.host && !hostlessProtocol[relative.protocol]) { + var relPath = (relative.pathname || '').split('/'); + while (relPath.length && !(relative.host = relPath.shift())); + if (!relative.host) relative.host = ''; + if (!relative.hostname) relative.hostname = ''; + if (relPath[0] !== '') relPath.unshift(''); + if (relPath.length < 2) relPath.unshift(''); + result.pathname = relPath.join('/'); + } else { + result.pathname = relative.pathname; + } + result.search = relative.search; + result.query = relative.query; + result.host = relative.host || ''; + result.auth = relative.auth; + result.hostname = relative.hostname || relative.host; + result.port = relative.port; + // to support http.request + if (result.pathname || result.search) { + var p = result.pathname || ''; + var s = result.search || ''; + result.path = p + s; + } + result.slashes = result.slashes || relative.slashes; + result.href = result.format(); + return result; + } + + var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'), + isRelAbs = ( + relative.host || + relative.pathname && relative.pathname.charAt(0) === '/' + ), + mustEndAbs = (isRelAbs || isSourceAbs || + (result.host && relative.pathname)), + removeAllDots = mustEndAbs, + srcPath = result.pathname && result.pathname.split('/') || [], + relPath = relative.pathname && relative.pathname.split('/') || [], + psychotic = result.protocol && !slashedProtocol[result.protocol]; + + // if the url is a non-slashed url, then relative + // links like ../.. should be able + // to crawl up to the hostname, as well. This is strange. + // result.protocol has already been set by now. + // Later on, put the first path part into the host field. + if (psychotic) { + result.hostname = ''; + result.port = null; + if (result.host) { + if (srcPath[0] === '') srcPath[0] = result.host; + else srcPath.unshift(result.host); + } + result.host = ''; + if (relative.protocol) { + relative.hostname = null; + relative.port = null; + if (relative.host) { + if (relPath[0] === '') relPath[0] = relative.host; + else relPath.unshift(relative.host); + } + relative.host = null; + } + mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === ''); + } + + if (isRelAbs) { + // it's absolute. + result.host = (relative.host || relative.host === '') ? + relative.host : result.host; + result.hostname = (relative.hostname || relative.hostname === '') ? + relative.hostname : result.hostname; + result.search = relative.search; + result.query = relative.query; + srcPath = relPath; + // fall through to the dot-handling below. + } else if (relPath.length) { + // it's relative + // throw away the existing file, and take the new path instead. + if (!srcPath) srcPath = []; + srcPath.pop(); + srcPath = srcPath.concat(relPath); + result.search = relative.search; + result.query = relative.query; + } else if (!util.isNullOrUndefined(relative.search)) { + // just pull out the search. + // like href='?foo'. + // Put this after the other two cases because it simplifies the booleans + if (psychotic) { + result.hostname = result.host = srcPath.shift(); + //occationaly the auth can get stuck only in host + //this especially happens in cases like + //url.resolveObject('mailto:local1@domain1', 'local2@domain2') + var authInHost = result.host && result.host.indexOf('@') > 0 ? + result.host.split('@') : false; + if (authInHost) { + result.auth = authInHost.shift(); + result.host = result.hostname = authInHost.shift(); + } + } + result.search = relative.search; + result.query = relative.query; + //to support http.request + if (!util.isNull(result.pathname) || !util.isNull(result.search)) { + result.path = (result.pathname ? result.pathname : '') + + (result.search ? result.search : ''); + } + result.href = result.format(); + return result; + } + + if (!srcPath.length) { + // no path at all. easy. + // we've already handled the other stuff above. + result.pathname = null; + //to support http.request + if (result.search) { + result.path = '/' + result.search; + } else { + result.path = null; + } + result.href = result.format(); + return result; + } + + // if a url ENDs in . or .., then it must get a trailing slash. + // however, if it ends in anything else non-slashy, + // then it must NOT get a trailing slash. + var last = srcPath.slice(-1)[0]; + var hasTrailingSlash = ( + (result.host || relative.host || srcPath.length > 1) && + (last === '.' || last === '..') || last === ''); + + // strip single dots, resolve double dots to parent dir + // if the path tries to go above the root, `up` ends up > 0 + var up = 0; + for (var i = srcPath.length; i >= 0; i--) { + last = srcPath[i]; + if (last === '.') { + srcPath.splice(i, 1); + } else if (last === '..') { + srcPath.splice(i, 1); + up++; + } else if (up) { + srcPath.splice(i, 1); + up--; + } + } + + // if the path is allowed to go above the root, restore leading ..s + if (!mustEndAbs && !removeAllDots) { + for (; up--; up) { + srcPath.unshift('..'); + } + } + + if (mustEndAbs && srcPath[0] !== '' && + (!srcPath[0] || srcPath[0].charAt(0) !== '/')) { + srcPath.unshift(''); + } + + if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) { + srcPath.push(''); + } + + var isAbsolute = srcPath[0] === '' || + (srcPath[0] && srcPath[0].charAt(0) === '/'); + + // put the host back + if (psychotic) { + result.hostname = result.host = isAbsolute ? '' : + srcPath.length ? srcPath.shift() : ''; + //occationaly the auth can get stuck only in host + //this especially happens in cases like + //url.resolveObject('mailto:local1@domain1', 'local2@domain2') + var authInHost = result.host && result.host.indexOf('@') > 0 ? + result.host.split('@') : false; + if (authInHost) { + result.auth = authInHost.shift(); + result.host = result.hostname = authInHost.shift(); + } + } + + mustEndAbs = mustEndAbs || (result.host && srcPath.length); + + if (mustEndAbs && !isAbsolute) { + srcPath.unshift(''); + } + + if (!srcPath.length) { + result.pathname = null; + result.path = null; + } else { + result.pathname = srcPath.join('/'); + } + + //to support request.http + if (!util.isNull(result.pathname) || !util.isNull(result.search)) { + result.path = (result.pathname ? result.pathname : '') + + (result.search ? result.search : ''); + } + result.auth = relative.auth || result.auth; + result.slashes = result.slashes || relative.slashes; + result.href = result.format(); + return result; +}; + +Url.prototype.parseHost = function() { + var host = this.host; + var port = portPattern.exec(host); + if (port) { + port = port[0]; + if (port !== ':') { + this.port = port.substr(1); + } + host = host.substr(0, host.length - port.length); + } + if (host) this.hostname = host; +}; -(function() { module.exports = this["wp"]["blocks"]; }()); /***/ }), -/***/ 12: +/***/ 11: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -191,7 +924,76 @@ function _extends() { /***/ }), -/***/ 121: +/***/ 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 _possibleConstructorReturn; }); +/* 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) { + if (call && (Object(_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(call) === "object" || typeof call === "function")) { + return call; + } + + return Object(_assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(self); +} + +/***/ }), + +/***/ 15: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _getPrototypeOf; }); +function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); +} + +/***/ }), + +/***/ 153: /***/ (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 */ @@ -714,11 +1516,11 @@ function _extends() { }(this)); -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(122)(module), __webpack_require__(63))) +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(154)(module), __webpack_require__(71))) /***/ }), -/***/ 122: +/***/ 154: /***/ (function(module, exports) { module.exports = function(module) { @@ -747,7 +1549,7 @@ module.exports = function(module) { /***/ }), -/***/ 123: +/***/ 155: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -771,19 +1573,19 @@ module.exports = { /***/ }), -/***/ 124: +/***/ 156: /***/ (function(module, exports, __webpack_require__) { "use strict"; -exports.decode = exports.parse = __webpack_require__(125); -exports.encode = exports.stringify = __webpack_require__(126); +exports.decode = exports.parse = __webpack_require__(157); +exports.encode = exports.stringify = __webpack_require__(158); /***/ }), -/***/ 125: +/***/ 157: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -875,7 +1677,7 @@ var isArray = Array.isArray || function (xs) { /***/ }), -/***/ 126: +/***/ 158: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -966,80 +1768,11 @@ 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) { - 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__(32); -/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7); - - -function _possibleConstructorReturn(self, call) { - if (call && (Object(_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(call) === "object" || typeof call === "function")) { - return call; - } - - return Object(_assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(self); -} - /***/ }), /***/ 16: /***/ (function(module, __webpack_exports__, __webpack_require__) { -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _getPrototypeOf; }); -function _getPrototypeOf(o) { - _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { - return o.__proto__ || Object.getPrototypeOf(o); - }; - return _getPrototypeOf(o); -} - -/***/ }), - -/***/ 17: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - "use strict"; // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js @@ -1071,7 +1804,7 @@ function _inherits(subClass, superClass) { /***/ }), -/***/ 18: +/***/ 17: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -1087,7 +1820,7 @@ function _arrayWithoutHoles(arr) { } } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(31); +var iterableToArray = __webpack_require__(33); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js function _nonIterableSpread() { @@ -1104,26 +1837,19 @@ function _toConsumableArray(arr) { /***/ }), +/***/ 18: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["primitives"]; }()); + +/***/ }), + /***/ 19: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["keycodes"]; }()); - -/***/ }), - -/***/ 2: -/***/ (function(module, exports) { - -(function() { module.exports = this["lodash"]; }()); - -/***/ }), - -/***/ 20: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; }); -/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(40); +/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(41); function _objectWithoutProperties(source, excluded) { if (source == null) return {}; @@ -1146,7 +1872,80 @@ function _objectWithoutProperties(source, excluded) { /***/ }), -/***/ 219: +/***/ 2: +/***/ (function(module, exports) { + +(function() { module.exports = this["lodash"]; }()); + +/***/ }), + +/***/ 20: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["keycodes"]; }()); + +/***/ }), + +/***/ 22: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +var arrayWithHoles = __webpack_require__(37); + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +function _iterableToArrayLimit(arr, i) { + if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { + return; + } + + var _arr = []; + var _n = true; + var _d = false; + var _e = undefined; + + try { + for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { + _arr.push(_s.value); + + if (i && _arr.length === i) break; + } + } catch (err) { + _d = true; + _e = err; + } finally { + try { + if (!_n && _i["return"] != null) _i["return"](); + } finally { + if (_d) throw _e; + } + } + + return _arr; +} +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +var nonIterableRest = __webpack_require__(38); + +// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); + + + +function _slicedToArray(arr, i) { + return Object(arrayWithHoles["a" /* default */])(arr) || _iterableToArrayLimit(arr, i) || Object(nonIterableRest["a" /* default */])(); +} + +/***/ }), + +/***/ 24: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["richText"]; }()); + +/***/ }), + +/***/ 258: /***/ (function(module, exports, __webpack_require__) { /*! Fast Average Color | © 2019 Denis Seleznev | MIT License | https://github.com/hcodes/fast-average-color/ */ @@ -1601,76 +2400,92 @@ return FastAverageColor; /***/ }), -/***/ 22: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -var arrayWithHoles = __webpack_require__(35); - -// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js -function _iterableToArrayLimit(arr, i) { - if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { - return; - } - - var _arr = []; - var _n = true; - var _d = false; - var _e = undefined; - - try { - for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { - _arr.push(_s.value); - - if (i && _arr.length === i) break; - } - } catch (err) { - _d = true; - _e = err; - } finally { - try { - if (!_n && _i["return"] != null) _i["return"](); - } finally { - if (_d) throw _e; - } - } - - return _arr; -} -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js -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; }); - - - -function _slicedToArray(arr, i) { - return Object(arrayWithHoles["a" /* default */])(arr) || _iterableToArrayLimit(arr, i) || Object(nonIterableRest["a" /* default */])(); -} - -/***/ }), - -/***/ 24: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["richText"]; }()); - -/***/ }), - -/***/ 25: +/***/ 26: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["url"]; }()); /***/ }), -/***/ 26: +/***/ 27: /***/ (function(module, exports) { -(function() { module.exports = this["wp"]["editor"]; }()); +(function() { module.exports = this["wp"]["dom"]; }()); + +/***/ }), + +/***/ 275: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__); + + +/** + * WordPress dependencies + */ + +var alignLeft = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "-2 -2 24 24" +}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], { + d: "M12 5V3H3v2h9zm5 4V7H3v2h14zm-5 4v-2H3v2h9zm5 4v-2H3v2h14z" +})); +/* harmony default export */ __webpack_exports__["a"] = (alignLeft); + + +/***/ }), + +/***/ 276: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__); + + +/** + * WordPress dependencies + */ + +var alignCenter = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "-2 -2 24 24" +}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], { + d: "M14 5V3H6v2h8zm3 4V7H3v2h14zm-3 4v-2H6v2h8zm3 4v-2H3v2h14z" +})); +/* harmony default export */ __webpack_exports__["a"] = (alignCenter); + + +/***/ }), + +/***/ 277: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__); + + +/** + * WordPress dependencies + */ + +var alignRight = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "-2 -2 24 24" +}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], { + d: "M17 5V3H8v2h9zm0 4V7H3v2h14zm0 4v-2H8v2h9zm0 4v-2H3v2h14z" +})); +/* harmony default export */ __webpack_exports__["a"] = (alignRight); + /***/ }), @@ -1688,23 +2503,14 @@ 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) { + "@babel/helpers - typeof"; + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; @@ -1721,13 +2527,24 @@ function _typeof(obj) { /***/ }), /***/ 33: +/***/ (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); +} + +/***/ }), + +/***/ 35: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["deprecated"]; }()); /***/ }), -/***/ 35: +/***/ 37: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -1738,7 +2555,7 @@ function _arrayWithHoles(arr) { /***/ }), -/***/ 36: +/***/ 38: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -1749,31 +2566,74 @@ function _nonIterableRest() { /***/ }), -/***/ 361: +/***/ 39: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["blob"]; }()); + +/***/ }), + +/***/ 4: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["data"]; }()); + +/***/ }), + +/***/ 40: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["apiFetch"]; }()); + +/***/ }), + +/***/ 41: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; }); +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + return target; +} + +/***/ }), + +/***/ 410: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); -var paragraph_namespaceObject = {}; -__webpack_require__.r(paragraph_namespaceObject); -__webpack_require__.d(paragraph_namespaceObject, "metadata", function() { return paragraph_metadata; }); -__webpack_require__.d(paragraph_namespaceObject, "name", function() { return paragraph_name; }); -__webpack_require__.d(paragraph_namespaceObject, "settings", function() { return paragraph_settings; }); -var image_namespaceObject = {}; -__webpack_require__.r(image_namespaceObject); -__webpack_require__.d(image_namespaceObject, "metadata", function() { return image_metadata; }); -__webpack_require__.d(image_namespaceObject, "name", function() { return image_name; }); -__webpack_require__.d(image_namespaceObject, "settings", function() { return image_settings; }); -var heading_namespaceObject = {}; -__webpack_require__.r(heading_namespaceObject); -__webpack_require__.d(heading_namespaceObject, "metadata", function() { return heading_metadata; }); -__webpack_require__.d(heading_namespaceObject, "name", function() { return heading_name; }); -__webpack_require__.d(heading_namespaceObject, "settings", function() { return heading_settings; }); -var quote_namespaceObject = {}; -__webpack_require__.r(quote_namespaceObject); -__webpack_require__.d(quote_namespaceObject, "metadata", function() { return quote_metadata; }); -__webpack_require__.d(quote_namespaceObject, "name", function() { return quote_name; }); -__webpack_require__.d(quote_namespaceObject, "settings", function() { return quote_settings; }); +var build_module_paragraph_namespaceObject = {}; +__webpack_require__.r(build_module_paragraph_namespaceObject); +__webpack_require__.d(build_module_paragraph_namespaceObject, "metadata", function() { return paragraph_metadata; }); +__webpack_require__.d(build_module_paragraph_namespaceObject, "name", function() { return paragraph_name; }); +__webpack_require__.d(build_module_paragraph_namespaceObject, "settings", function() { return paragraph_settings; }); +var build_module_image_namespaceObject = {}; +__webpack_require__.r(build_module_image_namespaceObject); +__webpack_require__.d(build_module_image_namespaceObject, "metadata", function() { return image_metadata; }); +__webpack_require__.d(build_module_image_namespaceObject, "name", function() { return image_name; }); +__webpack_require__.d(build_module_image_namespaceObject, "settings", function() { return image_settings; }); +var build_module_heading_namespaceObject = {}; +__webpack_require__.r(build_module_heading_namespaceObject); +__webpack_require__.d(build_module_heading_namespaceObject, "metadata", function() { return heading_metadata; }); +__webpack_require__.d(build_module_heading_namespaceObject, "name", function() { return heading_name; }); +__webpack_require__.d(build_module_heading_namespaceObject, "settings", function() { return heading_settings; }); +var build_module_quote_namespaceObject = {}; +__webpack_require__.r(build_module_quote_namespaceObject); +__webpack_require__.d(build_module_quote_namespaceObject, "metadata", function() { return quote_metadata; }); +__webpack_require__.d(build_module_quote_namespaceObject, "name", function() { return quote_name; }); +__webpack_require__.d(build_module_quote_namespaceObject, "settings", function() { return quote_settings; }); var build_module_gallery_namespaceObject = {}; __webpack_require__.r(build_module_gallery_namespaceObject); __webpack_require__.d(build_module_gallery_namespaceObject, "metadata", function() { return gallery_metadata; }); @@ -1783,65 +2643,65 @@ var archives_namespaceObject = {}; __webpack_require__.r(archives_namespaceObject); __webpack_require__.d(archives_namespaceObject, "name", function() { return archives_name; }); __webpack_require__.d(archives_namespaceObject, "settings", function() { return archives_settings; }); -var audio_namespaceObject = {}; -__webpack_require__.r(audio_namespaceObject); -__webpack_require__.d(audio_namespaceObject, "metadata", function() { return audio_metadata; }); -__webpack_require__.d(audio_namespaceObject, "name", function() { return audio_name; }); -__webpack_require__.d(audio_namespaceObject, "settings", function() { return audio_settings; }); -var button_namespaceObject = {}; -__webpack_require__.r(button_namespaceObject); -__webpack_require__.d(button_namespaceObject, "metadata", function() { return button_metadata; }); -__webpack_require__.d(button_namespaceObject, "name", function() { return button_name; }); -__webpack_require__.d(button_namespaceObject, "settings", function() { return button_settings; }); +var build_module_audio_namespaceObject = {}; +__webpack_require__.r(build_module_audio_namespaceObject); +__webpack_require__.d(build_module_audio_namespaceObject, "metadata", function() { return audio_metadata; }); +__webpack_require__.d(build_module_audio_namespaceObject, "name", function() { return audio_name; }); +__webpack_require__.d(build_module_audio_namespaceObject, "settings", function() { return audio_settings; }); +var build_module_button_namespaceObject = {}; +__webpack_require__.r(build_module_button_namespaceObject); +__webpack_require__.d(build_module_button_namespaceObject, "metadata", function() { return button_metadata; }); +__webpack_require__.d(build_module_button_namespaceObject, "name", function() { return button_name; }); +__webpack_require__.d(build_module_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; }); -__webpack_require__.d(calendar_namespaceObject, "settings", function() { return calendar_settings; }); +var build_module_calendar_namespaceObject = {}; +__webpack_require__.r(build_module_calendar_namespaceObject); +__webpack_require__.d(build_module_calendar_namespaceObject, "name", function() { return calendar_name; }); +__webpack_require__.d(build_module_calendar_namespaceObject, "settings", function() { return calendar_settings; }); var categories_namespaceObject = {}; __webpack_require__.r(categories_namespaceObject); __webpack_require__.d(categories_namespaceObject, "name", function() { return categories_name; }); __webpack_require__.d(categories_namespaceObject, "settings", function() { return categories_settings; }); -var code_namespaceObject = {}; -__webpack_require__.r(code_namespaceObject); -__webpack_require__.d(code_namespaceObject, "metadata", function() { return code_metadata; }); -__webpack_require__.d(code_namespaceObject, "name", function() { return code_name; }); -__webpack_require__.d(code_namespaceObject, "settings", function() { return code_settings; }); -var columns_namespaceObject = {}; -__webpack_require__.r(columns_namespaceObject); -__webpack_require__.d(columns_namespaceObject, "metadata", function() { return columns_metadata; }); -__webpack_require__.d(columns_namespaceObject, "name", function() { return columns_name; }); -__webpack_require__.d(columns_namespaceObject, "settings", function() { return columns_settings; }); -var column_namespaceObject = {}; -__webpack_require__.r(column_namespaceObject); -__webpack_require__.d(column_namespaceObject, "metadata", function() { return column_metadata; }); -__webpack_require__.d(column_namespaceObject, "name", function() { return column_name; }); -__webpack_require__.d(column_namespaceObject, "settings", function() { return column_settings; }); -var cover_namespaceObject = {}; -__webpack_require__.r(cover_namespaceObject); -__webpack_require__.d(cover_namespaceObject, "metadata", function() { return cover_metadata; }); -__webpack_require__.d(cover_namespaceObject, "name", function() { return cover_name; }); -__webpack_require__.d(cover_namespaceObject, "settings", function() { return cover_settings; }); +var build_module_code_namespaceObject = {}; +__webpack_require__.r(build_module_code_namespaceObject); +__webpack_require__.d(build_module_code_namespaceObject, "metadata", function() { return code_metadata; }); +__webpack_require__.d(build_module_code_namespaceObject, "name", function() { return code_name; }); +__webpack_require__.d(build_module_code_namespaceObject, "settings", function() { return code_settings; }); +var build_module_columns_namespaceObject = {}; +__webpack_require__.r(build_module_columns_namespaceObject); +__webpack_require__.d(build_module_columns_namespaceObject, "metadata", function() { return columns_metadata; }); +__webpack_require__.d(build_module_columns_namespaceObject, "name", function() { return columns_name; }); +__webpack_require__.d(build_module_columns_namespaceObject, "settings", function() { return columns_settings; }); +var build_module_column_namespaceObject = {}; +__webpack_require__.r(build_module_column_namespaceObject); +__webpack_require__.d(build_module_column_namespaceObject, "metadata", function() { return column_metadata; }); +__webpack_require__.d(build_module_column_namespaceObject, "name", function() { return column_name; }); +__webpack_require__.d(build_module_column_namespaceObject, "settings", function() { return column_settings; }); +var build_module_cover_namespaceObject = {}; +__webpack_require__.r(build_module_cover_namespaceObject); +__webpack_require__.d(build_module_cover_namespaceObject, "metadata", function() { return cover_metadata; }); +__webpack_require__.d(build_module_cover_namespaceObject, "name", function() { return cover_name; }); +__webpack_require__.d(build_module_cover_namespaceObject, "settings", function() { return cover_settings; }); var embed_namespaceObject = {}; __webpack_require__.r(embed_namespaceObject); __webpack_require__.d(embed_namespaceObject, "name", function() { return embed_name; }); __webpack_require__.d(embed_namespaceObject, "settings", function() { return embed_settings; }); __webpack_require__.d(embed_namespaceObject, "common", function() { return embed_common; }); __webpack_require__.d(embed_namespaceObject, "others", function() { return embed_others; }); -var file_namespaceObject = {}; -__webpack_require__.r(file_namespaceObject); -__webpack_require__.d(file_namespaceObject, "metadata", function() { return file_metadata; }); -__webpack_require__.d(file_namespaceObject, "name", function() { return file_name; }); -__webpack_require__.d(file_namespaceObject, "settings", function() { return file_settings; }); -var html_namespaceObject = {}; -__webpack_require__.r(html_namespaceObject); -__webpack_require__.d(html_namespaceObject, "metadata", function() { return html_metadata; }); -__webpack_require__.d(html_namespaceObject, "name", function() { return html_name; }); -__webpack_require__.d(html_namespaceObject, "settings", function() { return html_settings; }); +var build_module_file_namespaceObject = {}; +__webpack_require__.r(build_module_file_namespaceObject); +__webpack_require__.d(build_module_file_namespaceObject, "metadata", function() { return file_metadata; }); +__webpack_require__.d(build_module_file_namespaceObject, "name", function() { return file_name; }); +__webpack_require__.d(build_module_file_namespaceObject, "settings", function() { return file_settings; }); +var build_module_html_namespaceObject = {}; +__webpack_require__.r(build_module_html_namespaceObject); +__webpack_require__.d(build_module_html_namespaceObject, "metadata", function() { return html_metadata; }); +__webpack_require__.d(build_module_html_namespaceObject, "name", function() { return html_name; }); +__webpack_require__.d(build_module_html_namespaceObject, "settings", function() { return html_settings; }); var media_text_namespaceObject = {}; __webpack_require__.r(media_text_namespaceObject); __webpack_require__.d(media_text_namespaceObject, "metadata", function() { return media_text_metadata; }); @@ -1869,62 +2729,63 @@ var latest_posts_namespaceObject = {}; __webpack_require__.r(latest_posts_namespaceObject); __webpack_require__.d(latest_posts_namespaceObject, "name", function() { return latest_posts_name; }); __webpack_require__.d(latest_posts_namespaceObject, "settings", function() { return latest_posts_settings; }); -var list_namespaceObject = {}; -__webpack_require__.r(list_namespaceObject); -__webpack_require__.d(list_namespaceObject, "metadata", function() { return list_metadata; }); -__webpack_require__.d(list_namespaceObject, "name", function() { return list_name; }); -__webpack_require__.d(list_namespaceObject, "settings", function() { return list_settings; }); +var build_module_list_namespaceObject = {}; +__webpack_require__.r(build_module_list_namespaceObject); +__webpack_require__.d(build_module_list_namespaceObject, "metadata", function() { return list_metadata; }); +__webpack_require__.d(build_module_list_namespaceObject, "name", function() { return list_name; }); +__webpack_require__.d(build_module_list_namespaceObject, "settings", function() { return list_settings; }); var missing_namespaceObject = {}; __webpack_require__.r(missing_namespaceObject); __webpack_require__.d(missing_namespaceObject, "metadata", function() { return missing_metadata; }); __webpack_require__.d(missing_namespaceObject, "name", function() { return missing_name; }); __webpack_require__.d(missing_namespaceObject, "settings", function() { return missing_settings; }); -var more_namespaceObject = {}; -__webpack_require__.r(more_namespaceObject); -__webpack_require__.d(more_namespaceObject, "metadata", function() { return more_metadata; }); -__webpack_require__.d(more_namespaceObject, "name", function() { return more_name; }); -__webpack_require__.d(more_namespaceObject, "settings", function() { return more_settings; }); +var build_module_more_namespaceObject = {}; +__webpack_require__.r(build_module_more_namespaceObject); +__webpack_require__.d(build_module_more_namespaceObject, "metadata", function() { return more_metadata; }); +__webpack_require__.d(build_module_more_namespaceObject, "name", function() { return more_name; }); +__webpack_require__.d(build_module_more_namespaceObject, "settings", function() { return more_settings; }); var nextpage_namespaceObject = {}; __webpack_require__.r(nextpage_namespaceObject); __webpack_require__.d(nextpage_namespaceObject, "metadata", function() { return nextpage_metadata; }); __webpack_require__.d(nextpage_namespaceObject, "name", function() { return nextpage_name; }); __webpack_require__.d(nextpage_namespaceObject, "settings", function() { return nextpage_settings; }); -var preformatted_namespaceObject = {}; -__webpack_require__.r(preformatted_namespaceObject); -__webpack_require__.d(preformatted_namespaceObject, "metadata", function() { return preformatted_metadata; }); -__webpack_require__.d(preformatted_namespaceObject, "name", function() { return preformatted_name; }); -__webpack_require__.d(preformatted_namespaceObject, "settings", function() { return preformatted_settings; }); -var pullquote_namespaceObject = {}; -__webpack_require__.r(pullquote_namespaceObject); -__webpack_require__.d(pullquote_namespaceObject, "metadata", function() { return pullquote_metadata; }); -__webpack_require__.d(pullquote_namespaceObject, "name", function() { return pullquote_name; }); -__webpack_require__.d(pullquote_namespaceObject, "settings", function() { return pullquote_settings; }); +var build_module_preformatted_namespaceObject = {}; +__webpack_require__.r(build_module_preformatted_namespaceObject); +__webpack_require__.d(build_module_preformatted_namespaceObject, "metadata", function() { return preformatted_metadata; }); +__webpack_require__.d(build_module_preformatted_namespaceObject, "name", function() { return preformatted_name; }); +__webpack_require__.d(build_module_preformatted_namespaceObject, "settings", function() { return preformatted_settings; }); +var build_module_pullquote_namespaceObject = {}; +__webpack_require__.r(build_module_pullquote_namespaceObject); +__webpack_require__.d(build_module_pullquote_namespaceObject, "metadata", function() { return pullquote_metadata; }); +__webpack_require__.d(build_module_pullquote_namespaceObject, "name", function() { return pullquote_name; }); +__webpack_require__.d(build_module_pullquote_namespaceObject, "settings", function() { return pullquote_settings; }); var block_namespaceObject = {}; __webpack_require__.r(block_namespaceObject); __webpack_require__.d(block_namespaceObject, "name", function() { return block_name; }); __webpack_require__.d(block_namespaceObject, "settings", function() { return block_settings; }); -var rss_namespaceObject = {}; -__webpack_require__.r(rss_namespaceObject); -__webpack_require__.d(rss_namespaceObject, "name", function() { return rss_name; }); -__webpack_require__.d(rss_namespaceObject, "settings", function() { return rss_settings; }); -var search_namespaceObject = {}; -__webpack_require__.r(search_namespaceObject); -__webpack_require__.d(search_namespaceObject, "name", function() { return search_name; }); -__webpack_require__.d(search_namespaceObject, "settings", function() { return search_settings; }); -var group_namespaceObject = {}; -__webpack_require__.r(group_namespaceObject); -__webpack_require__.d(group_namespaceObject, "metadata", function() { return group_metadata; }); -__webpack_require__.d(group_namespaceObject, "name", function() { return group_name; }); -__webpack_require__.d(group_namespaceObject, "settings", function() { return group_settings; }); -var separator_namespaceObject = {}; -__webpack_require__.r(separator_namespaceObject); -__webpack_require__.d(separator_namespaceObject, "metadata", function() { return separator_metadata; }); -__webpack_require__.d(separator_namespaceObject, "name", function() { return separator_name; }); -__webpack_require__.d(separator_namespaceObject, "settings", function() { return build_module_separator_settings; }); -var shortcode_namespaceObject = {}; -__webpack_require__.r(shortcode_namespaceObject); -__webpack_require__.d(shortcode_namespaceObject, "name", function() { return shortcode_name; }); -__webpack_require__.d(shortcode_namespaceObject, "settings", function() { return shortcode_settings; }); +var build_module_rss_namespaceObject = {}; +__webpack_require__.r(build_module_rss_namespaceObject); +__webpack_require__.d(build_module_rss_namespaceObject, "name", function() { return rss_name; }); +__webpack_require__.d(build_module_rss_namespaceObject, "settings", function() { return rss_settings; }); +var build_module_search_namespaceObject = {}; +__webpack_require__.r(build_module_search_namespaceObject); +__webpack_require__.d(build_module_search_namespaceObject, "name", function() { return search_name; }); +__webpack_require__.d(build_module_search_namespaceObject, "settings", function() { return search_settings; }); +var build_module_group_namespaceObject = {}; +__webpack_require__.r(build_module_group_namespaceObject); +__webpack_require__.d(build_module_group_namespaceObject, "metadata", function() { return group_metadata; }); +__webpack_require__.d(build_module_group_namespaceObject, "name", function() { return group_name; }); +__webpack_require__.d(build_module_group_namespaceObject, "settings", function() { return group_settings; }); +var build_module_separator_namespaceObject = {}; +__webpack_require__.r(build_module_separator_namespaceObject); +__webpack_require__.d(build_module_separator_namespaceObject, "metadata", function() { return separator_metadata; }); +__webpack_require__.d(build_module_separator_namespaceObject, "name", function() { return separator_name; }); +__webpack_require__.d(build_module_separator_namespaceObject, "settings", function() { return build_module_separator_settings; }); +var build_module_shortcode_namespaceObject = {}; +__webpack_require__.r(build_module_shortcode_namespaceObject); +__webpack_require__.d(build_module_shortcode_namespaceObject, "metadata", function() { return shortcode_metadata; }); +__webpack_require__.d(build_module_shortcode_namespaceObject, "name", function() { return shortcode_name; }); +__webpack_require__.d(build_module_shortcode_namespaceObject, "settings", function() { return shortcode_settings; }); var spacer_namespaceObject = {}; __webpack_require__.r(spacer_namespaceObject); __webpack_require__.d(spacer_namespaceObject, "metadata", function() { return spacer_metadata; }); @@ -1935,74 +2796,89 @@ __webpack_require__.r(subhead_namespaceObject); __webpack_require__.d(subhead_namespaceObject, "metadata", function() { return subhead_metadata; }); __webpack_require__.d(subhead_namespaceObject, "name", function() { return subhead_name; }); __webpack_require__.d(subhead_namespaceObject, "settings", function() { return subhead_settings; }); -var table_namespaceObject = {}; -__webpack_require__.r(table_namespaceObject); -__webpack_require__.d(table_namespaceObject, "metadata", function() { return table_metadata; }); -__webpack_require__.d(table_namespaceObject, "name", function() { return table_name; }); -__webpack_require__.d(table_namespaceObject, "settings", function() { return table_settings; }); +var build_module_table_namespaceObject = {}; +__webpack_require__.r(build_module_table_namespaceObject); +__webpack_require__.d(build_module_table_namespaceObject, "metadata", function() { return table_metadata; }); +__webpack_require__.d(build_module_table_namespaceObject, "name", function() { return table_name; }); +__webpack_require__.d(build_module_table_namespaceObject, "settings", function() { return table_settings; }); var text_columns_namespaceObject = {}; __webpack_require__.r(text_columns_namespaceObject); __webpack_require__.d(text_columns_namespaceObject, "metadata", function() { return text_columns_metadata; }); __webpack_require__.d(text_columns_namespaceObject, "name", function() { return text_columns_name; }); __webpack_require__.d(text_columns_namespaceObject, "settings", function() { return text_columns_settings; }); -var verse_namespaceObject = {}; -__webpack_require__.r(verse_namespaceObject); -__webpack_require__.d(verse_namespaceObject, "metadata", function() { return verse_metadata; }); -__webpack_require__.d(verse_namespaceObject, "name", function() { return verse_name; }); -__webpack_require__.d(verse_namespaceObject, "settings", function() { return verse_settings; }); -var video_namespaceObject = {}; -__webpack_require__.r(video_namespaceObject); -__webpack_require__.d(video_namespaceObject, "metadata", function() { return video_metadata; }); -__webpack_require__.d(video_namespaceObject, "name", function() { return video_name; }); -__webpack_require__.d(video_namespaceObject, "settings", function() { return video_settings; }); +var build_module_verse_namespaceObject = {}; +__webpack_require__.r(build_module_verse_namespaceObject); +__webpack_require__.d(build_module_verse_namespaceObject, "metadata", function() { return verse_metadata; }); +__webpack_require__.d(build_module_verse_namespaceObject, "name", function() { return verse_name; }); +__webpack_require__.d(build_module_verse_namespaceObject, "settings", function() { return verse_settings; }); +var build_module_video_namespaceObject = {}; +__webpack_require__.r(build_module_video_namespaceObject); +__webpack_require__.d(build_module_video_namespaceObject, "metadata", function() { return video_metadata; }); +__webpack_require__.d(build_module_video_namespaceObject, "name", function() { return video_name; }); +__webpack_require__.d(build_module_video_namespaceObject, "settings", function() { return video_settings; }); var tag_cloud_namespaceObject = {}; __webpack_require__.r(tag_cloud_namespaceObject); __webpack_require__.d(tag_cloud_namespaceObject, "name", function() { return tag_cloud_name; }); __webpack_require__.d(tag_cloud_namespaceObject, "settings", function() { return tag_cloud_settings; }); -var classic_namespaceObject = {}; -__webpack_require__.r(classic_namespaceObject); -__webpack_require__.d(classic_namespaceObject, "metadata", function() { return classic_metadata; }); -__webpack_require__.d(classic_namespaceObject, "name", function() { return classic_name; }); -__webpack_require__.d(classic_namespaceObject, "settings", function() { return classic_settings; }); +var build_module_classic_namespaceObject = {}; +__webpack_require__.r(build_module_classic_namespaceObject); +__webpack_require__.d(build_module_classic_namespaceObject, "metadata", function() { return classic_metadata; }); +__webpack_require__.d(build_module_classic_namespaceObject, "name", function() { return classic_name; }); +__webpack_require__.d(build_module_classic_namespaceObject, "settings", function() { return classic_settings; }); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(18); +var toConsumableArray = __webpack_require__(17); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(9); +var defineProperty = __webpack_require__(5); // EXTERNAL MODULE: external {"this":["wp","coreData"]} -var external_this_wp_coreData_ = __webpack_require__(64); +var external_this_wp_coreData_ = __webpack_require__(73); // EXTERNAL MODULE: external {"this":["wp","blockEditor"]} -var external_this_wp_blockEditor_ = __webpack_require__(5); - -// EXTERNAL MODULE: external {"this":["wp","editor"]} -var external_this_wp_editor_ = __webpack_require__(26); +var external_this_wp_blockEditor_ = __webpack_require__(6); // EXTERNAL MODULE: external {"this":["wp","blocks"]} -var external_this_wp_blocks_ = __webpack_require__(11); +var external_this_wp_blocks_ = __webpack_require__(9); + +// EXTERNAL MODULE: external {"this":"lodash"} +var external_this_lodash_ = __webpack_require__(2); // 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__(6); - // EXTERNAL MODULE: external {"this":["wp","element"]} var external_this_wp_element_ = __webpack_require__(0); +// EXTERNAL MODULE: external {"this":["wp","primitives"]} +var external_this_wp_primitives_ = __webpack_require__(18); + +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/paragraph.js + + +/** + * WordPress dependencies + */ + +var paragraph = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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" +})); +/* harmony default export */ var library_paragraph = (paragraph); + // EXTERNAL MODULE: ./node_modules/classnames/index.js var classnames = __webpack_require__(10); var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); -// EXTERNAL MODULE: external {"this":"lodash"} -var external_this_lodash_ = __webpack_require__(2); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/deprecated.js +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -2099,7 +2975,7 @@ var deprecated = [{ } }, { supports: deprecated_supports, - attributes: Object(objectSpread["a" /* default */])({}, deprecated_blockAttributes, { + attributes: _objectSpread({}, deprecated_blockAttributes, { width: { type: 'string' } @@ -2137,7 +3013,7 @@ var deprecated = [{ } }, { supports: deprecated_supports, - attributes: Object(external_this_lodash_["omit"])(Object(objectSpread["a" /* default */])({}, deprecated_blockAttributes, { + attributes: Object(external_this_lodash_["omit"])(_objectSpread({}, deprecated_blockAttributes, { fontSize: { type: 'number' } @@ -2166,7 +3042,7 @@ var deprecated = [{ }, content); }, migrate: function migrate(attributes) { - return Object(external_this_lodash_["omit"])(Object(objectSpread["a" /* default */])({}, attributes, { + return Object(external_this_lodash_["omit"])(_objectSpread({}, attributes, { customFontSize: Object(external_this_lodash_["isFinite"])(attributes.fontSize) ? attributes.fontSize : undefined, customTextColor: attributes.textColor && '#' === attributes.textColor[0] ? attributes.textColor : undefined, customBackgroundColor: attributes.backgroundColor && '#' === attributes.backgroundColor[0] ? attributes.backgroundColor : undefined @@ -2174,7 +3050,7 @@ var deprecated = [{ } }, { supports: deprecated_supports, - attributes: Object(objectSpread["a" /* default */])({}, deprecated_blockAttributes, { + attributes: _objectSpread({}, deprecated_blockAttributes, { content: { type: 'string', source: 'html', @@ -2209,6 +3085,9 @@ var external_this_wp_data_ = __webpack_require__(4); +function edit_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { edit_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -2263,7 +3142,7 @@ function useDropCapMinimumHeight(isDropCap, deps) { var element = querySelector(PARAGRAPH_DROP_CAP_SELECTOR); if (isDropCap && element) { - setMinimumHeight(getComputedStyle(element, 'first-letter').height); + setMinimumHeight(getComputedStyle(element, 'first-letter').lineHeight); } else if (minimumHeight) { setMinimumHeight(undefined); } @@ -2286,6 +3165,7 @@ function ParagraphBlock(_ref2) { dropCap = attributes.dropCap, placeholder = attributes.placeholder, direction = attributes.direction; + var ref = Object(external_this_wp_element_["useRef"])(); var dropCapMinimumHeight = useDropCapMinimumHeight(dropCap, [fontSize.size]); var _experimentalUseColo = Object(external_this_wp_blockEditor_["__experimentalUseColors"])([{ @@ -2299,12 +3179,14 @@ function ParagraphBlock(_ref2) { backgroundColor: true, textColor: true, fontSize: fontSize.size - }] + }], + colorDetector: { + targetRef: ref + } }, [fontSize.size]), TextColor = _experimentalUseColo.TextColor, BackgroundColor = _experimentalUseColo.BackgroundColor, - InspectorControlsColorPanel = _experimentalUseColo.InspectorControlsColorPanel, - ColorDetector = _experimentalUseColo.ColorDetector; + InspectorControlsColorPanel = _experimentalUseColo.InspectorControlsColorPanel; 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_blockEditor_["AlignmentToolbar"], { value: align, @@ -2321,7 +3203,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') + title: Object(external_this_wp_i18n_["__"])('Text settings') }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["FontSizePicker"], { value: fontSize.size, onChange: setFontSize @@ -2334,9 +3216,8 @@ function ParagraphBlock(_ref2) { }); }, help: dropCap ? Object(external_this_wp_i18n_["__"])('Showing large initial letter.') : Object(external_this_wp_i18n_["__"])('Toggle to show a large initial letter.') - }))), InspectorControlsColorPanel, Object(external_this_wp_element_["createElement"])(BackgroundColor, null, Object(external_this_wp_element_["createElement"])(TextColor, null, Object(external_this_wp_element_["createElement"])(ColorDetector, { - querySelector: "[contenteditable=\"true\"]" - }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { + }))), InspectorControlsColorPanel, Object(external_this_wp_element_["createElement"])(BackgroundColor, null, Object(external_this_wp_element_["createElement"])(TextColor, null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { + ref: ref, identifier: "content", tagName: "p", className: classnames_default()('wp-block-paragraph', className, (_classnames = { @@ -2358,7 +3239,7 @@ function ParagraphBlock(_ref2) { return Object(external_this_wp_blocks_["createBlock"])(edit_name); } - return Object(external_this_wp_blocks_["createBlock"])(edit_name, Object(objectSpread["a" /* default */])({}, attributes, { + return Object(external_this_wp_blocks_["createBlock"])(edit_name, edit_objectSpread({}, attributes, { content: value })); }, @@ -2369,27 +3250,14 @@ function ParagraphBlock(_ref2) { } : undefined, "aria-label": content ? Object(external_this_wp_i18n_["__"])('Paragraph block') : Object(external_this_wp_i18n_["__"])('Empty block; start writing or type forward slash to choose a block'), placeholder: placeholder || Object(external_this_wp_i18n_["__"])('Start writing or type / to choose a block'), - __unstableEmbedURLOnPaste: true + __unstableEmbedURLOnPaste: true, + __unstableAllowPrefixTransformations: true })))); } var ParagraphEdit = Object(external_this_wp_compose_["compose"])([Object(external_this_wp_blockEditor_["withFontSizes"])('fontSize')])(ParagraphBlock); /* harmony default export */ var paragraph_edit = (ParagraphEdit); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var paragraph_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: "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" -}))); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/save.js @@ -2526,17 +3394,22 @@ var transforms_transforms = { /* harmony default export */ var paragraph_transforms = (transforms_transforms); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/index.js +/** + * External dependencies + */ + /** * WordPress dependencies */ + + /** * Internal dependencies */ - var paragraph_metadata = { name: "core/paragraph", category: "common", @@ -2588,7 +3461,7 @@ var paragraph_name = paragraph_metadata.name; var paragraph_settings = { title: Object(external_this_wp_i18n_["__"])('Paragraph'), description: Object(external_this_wp_i18n_["__"])('Start with the building block of all narrative.'), - icon: paragraph_icon, + icon: library_paragraph, keywords: [Object(external_this_wp_i18n_["__"])('text')], example: { attributes: { @@ -2601,6 +3474,14 @@ var paragraph_settings = { className: false, __unstablePasteTextInline: true }, + __experimentalLabel: function __experimentalLabel(attributes, _ref) { + var context = _ref.context; + + if (context === 'accessibility') { + var content = attributes.content; + return Object(external_this_lodash_["isEmpty"])(content) ? Object(external_this_wp_i18n_["__"])('Empty') : content; + } + }, transforms: paragraph_transforms, deprecated: paragraph_deprecated, merge: function merge(attributes, attributesToMerge) { @@ -2621,8 +3502,25 @@ var paragraph_settings = { save: save_save }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/image.js + + +/** + * WordPress dependencies + */ + +var image_image = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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_primitives_["Path"], { + d: "m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z" +})); +/* harmony default export */ var library_image = (image_image); + // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(12); +var esm_extends = __webpack_require__(11); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/deprecated.js @@ -2802,31 +3700,31 @@ 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__(14); +var classCallCheck = __webpack_require__(13); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(13); +var createClass = __webpack_require__(12); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js -var possibleConstructorReturn = __webpack_require__(15); +var possibleConstructorReturn = __webpack_require__(14); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js -var getPrototypeOf = __webpack_require__(16); +var getPrototypeOf = __webpack_require__(15); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js var assertThisInitialized = __webpack_require__(7); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules -var inherits = __webpack_require__(17); +var inherits = __webpack_require__(16); // EXTERNAL MODULE: external {"this":["wp","blob"]} -var external_this_wp_blob_ = __webpack_require__(37); +var external_this_wp_blob_ = __webpack_require__(39); // EXTERNAL MODULE: external {"this":["wp","url"]} -var external_this_wp_url_ = __webpack_require__(25); +var external_this_wp_url_ = __webpack_require__(26); // EXTERNAL MODULE: external {"this":["wp","viewport"]} -var external_this_wp_viewport_ = __webpack_require__(51); +var external_this_wp_viewport_ = __webpack_require__(54); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/icons.js @@ -3315,11 +4213,11 @@ var DEFAULT_EMBED_BLOCK = 'core/embed'; var WORDPRESS_EMBED_BLOCK = 'core-embed/wordpress'; // EXTERNAL MODULE: ./node_modules/classnames/dedupe.js -var dedupe = __webpack_require__(71); +var dedupe = __webpack_require__(86); var dedupe_default = /*#__PURE__*/__webpack_require__.n(dedupe); // EXTERNAL MODULE: ./node_modules/memize/index.js -var memize = __webpack_require__(42); +var memize = __webpack_require__(44); var memize_default = /*#__PURE__*/__webpack_require__.n(memize); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/util.js @@ -3327,6 +4225,9 @@ var memize_default = /*#__PURE__*/__webpack_require__.n(memize); +function util_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function util_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { util_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { util_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * Internal dependencies @@ -3440,7 +4341,7 @@ var util_createUpgradedEmbedBlock = function createUpgradedEmbedBlock(props, att if (util_isFromWordPress(html)) { // If this is not the WordPress embed block, transform it into one. if (WORDPRESS_EMBED_BLOCK !== name) { - return Object(external_this_wp_blocks_["createBlock"])(WORDPRESS_EMBED_BLOCK, Object(objectSpread["a" /* default */])({ + return Object(external_this_wp_blocks_["createBlock"])(WORDPRESS_EMBED_BLOCK, util_objectSpread({ url: url }, attributesFromPreview)); } @@ -3551,46 +4452,6 @@ var getAttributesFromPreview = memize_default()(function (preview, title, curren return attributes; }); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var image_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 editImageIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - width: 20, - height: 20, - viewBox: "0 0 20 20" -}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], { - x: 11, - y: 3, - width: 7, - height: 5, - rx: 1 -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], { - x: 2, - y: 12, - width: 7, - height: 5, - rx: 1 -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - d: "M13,12h1a3,3,0,0,1-3,3v2a5,5,0,0,0,5-5h1L15,9Z" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - d: "M4,8H3l2,3L7,8H6A3,3,0,0,1,9,5V3A5,5,0,0,0,4,8Z" -})); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/constants.js var MIN_SIZE = 20; var LINK_DESTINATION_NONE = 'none'; @@ -3802,6 +4663,9 @@ function (_Component) { +function image_edit_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function image_edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { image_edit_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { image_edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -3821,13 +4685,13 @@ function (_Component) { + /** * Internal dependencies */ - /** * Module constants */ @@ -3884,9 +4748,6 @@ function (_Component) { _this.onSelectImage = _this.onSelectImage.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.onSelectURL = _this.onSelectURL.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.updateImage = _this.updateImage.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.updateWidth = _this.updateWidth.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _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.onSetTitle = _this.onSetTitle.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.getFilename = _this.getFilename.bind(Object(assertThisInitialized["a" /* default */])(_this)); @@ -4020,7 +4881,7 @@ function (_Component) { mediaAttributes.href = media.link; } - this.props.setAttributes(Object(objectSpread["a" /* default */])({}, mediaAttributes, additionalAttributes)); + this.props.setAttributes(image_edit_objectSpread({}, mediaAttributes, {}, additionalAttributes)); } }, { key: "onSelectURL", @@ -4094,7 +4955,7 @@ function (_Component) { width: undefined, height: undefined } : {}; - this.props.setAttributes(Object(objectSpread["a" /* default */])({}, extraUpdatedAttributes, { + this.props.setAttributes(image_edit_objectSpread({}, extraUpdatedAttributes, { align: nextAlign })); } @@ -4115,34 +4976,6 @@ function (_Component) { sizeSlug: sizeSlug }); } - }, { - key: "updateWidth", - value: function updateWidth(width) { - this.props.setAttributes({ - width: parseInt(width, 10) - }); - } - }, { - key: "updateHeight", - value: function updateHeight(height) { - this.props.setAttributes({ - height: parseInt(height, 10) - }); - } - }, { - key: "updateDimensions", - value: function updateDimensions() { - var _this3 = this; - - var width = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : undefined; - var height = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined; - return function () { - _this3.props.setAttributes({ - width: width, - height: height - }); - }; - } }, { key: "getFilename", value: function getFilename(url) { @@ -4173,7 +5006,7 @@ function (_Component) { }, { key: "render", value: function render() { - var _this4 = this; + var _this3 = this; var _this$props3 = this.props, attributes = _this$props3.attributes, @@ -4234,7 +5067,7 @@ function (_Component) { }); var mediaPlaceholder = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaPlaceholder"], { icon: Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], { - icon: image_icon + icon: library_image }), className: className, labels: labels, @@ -4266,61 +5099,30 @@ function (_Component) { var getInspectorControls = function getInspectorControls(imageWidth, imageHeight) { 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_["__"])('Image Settings') + title: Object(external_this_wp_i18n_["__"])('Image settings') }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextareaControl"], { label: Object(external_this_wp_i18n_["__"])('Alt Text (Alternative Text)'), value: alt, - onChange: _this4.updateAlt, + onChange: _this3.updateAlt, help: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], { href: "https://www.w3.org/WAI/tutorials/images/decision-tree" }, Object(external_this_wp_i18n_["__"])('Describe the purpose of the image')), Object(external_this_wp_i18n_["__"])('Leave empty if the image is purely decorative.')) - }), !Object(external_this_lodash_["isEmpty"])(imageSizeOptions) && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], { - label: Object(external_this_wp_i18n_["__"])('Image Size'), - value: sizeSlug, - options: imageSizeOptions, - onChange: _this4.updateImage - }), isResizable && Object(external_this_wp_element_["createElement"])("div", { - className: "block-library-image__dimensions" - }, Object(external_this_wp_element_["createElement"])("p", { - className: "block-library-image__dimensions__row" - }, Object(external_this_wp_i18n_["__"])('Image Dimensions')), Object(external_this_wp_element_["createElement"])("div", { - className: "block-library-image__dimensions__row" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], { - type: "number", - className: "block-library-image__dimensions__width", - label: Object(external_this_wp_i18n_["__"])('Width'), - value: width || imageWidth || '', - min: 1, - onChange: _this4.updateWidth - }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], { - type: "number", - className: "block-library-image__dimensions__height", - label: Object(external_this_wp_i18n_["__"])('Height'), - value: height || imageHeight || '', - min: 1, - onChange: _this4.updateHeight - })), Object(external_this_wp_element_["createElement"])("div", { - className: "block-library-image__dimensions__row" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ButtonGroup"], { - "aria-label": Object(external_this_wp_i18n_["__"])('Image Size') - }, [25, 50, 75, 100].map(function (scale) { - var scaledWidth = Math.round(imageWidth * (scale / 100)); - var scaledHeight = Math.round(imageHeight * (scale / 100)); - var isCurrent = width === scaledWidth && height === scaledHeight; - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - key: scale, - isSmall: true, - isPrimary: isCurrent, - isPressed: isCurrent, - onClick: _this4.updateDimensions(scaledWidth, scaledHeight) - }, scale, "%"); - })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { - isSmall: true, - onClick: _this4.updateDimensions() - }, Object(external_this_wp_i18n_["__"])('Reset')))))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorAdvancedControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], { + }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalImageSizeControl"], { + onChangeImage: _this3.updateImage, + onChange: function onChange(value) { + return setAttributes(value); + }, + slug: sizeSlug, + width: width, + height: height, + imageSizeOptions: imageSizeOptions, + isResizable: isResizable, + imageWidth: imageWidth, + imageHeight: imageHeight + }))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorAdvancedControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], { label: Object(external_this_wp_i18n_["__"])('Title Attribute'), value: title || '', - onChange: _this4.onSetTitle, + onChange: _this3.onSetTitle, help: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_i18n_["__"])('Describe the role of this image on the page.'), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], { href: "https://www.w3.org/TR/html52/dom.html#the-title-attribute" }, Object(external_this_wp_i18n_["__"])('(Note: many devices and browsers do not display this text.)'))) @@ -4341,7 +5143,7 @@ function (_Component) { imageWidth = sizes.imageWidth, imageHeight = sizes.imageHeight; - var filename = _this4.getFilename(url); + var filename = _this3.getFilename(url); var defaultedAlt; @@ -4360,9 +5162,9 @@ function (_Component) { Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("img", { src: url, alt: defaultedAlt, - onClick: _this4.onImageClick, + onClick: _this3.onImageClick, onError: function onError() { - return _this4.onImageError(url); + return _this3.onImageError(url); } }), Object(external_this_wp_blob_["isBlobURL"])(url) && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null)) /* eslint-enable jsx-a11y/no-noninteractive-element-interactions */ @@ -4567,6 +5369,10 @@ function image_save_save(_ref) { // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/transforms.js +function transforms_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function transforms_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { transforms_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { transforms_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * WordPress dependencies */ @@ -4611,12 +5417,12 @@ var imageSchema = { } }; -var transforms_schema = function schema(_ref2) { +var schema = function schema(_ref2) { var phrasingContentSchema = _ref2.phrasingContentSchema; return { figure: { require: ['img'], - children: Object(objectSpread["a" /* default */])({}, imageSchema, { + children: transforms_objectSpread({}, imageSchema, { a: { attributes: ['href', 'rel', 'target'], children: imageSchema @@ -4635,7 +5441,7 @@ var image_transforms_transforms = { isMatch: function isMatch(node) { return node.nodeName === 'FIGURE' && !!node.querySelector('img'); }, - schema: transforms_schema, + schema: schema, transform: function transform(node) { // Search both figure and image classes. Alignment could be // set on either. ID is set on the image. @@ -4740,13 +5546,13 @@ var image_transforms_transforms = { * WordPress dependencies */ + /** * Internal dependencies */ - var image_metadata = { name: "core/image", category: "common", @@ -4827,7 +5633,7 @@ var image_name = image_metadata.name; var image_settings = { title: Object(external_this_wp_i18n_["__"])('Image'), description: Object(external_this_wp_i18n_["__"])('Insert an image to make a visual statement.'), - icon: image_icon, + icon: library_image, keywords: ['img', // "img" is not translated as it is intended to reflect the HTML tag. Object(external_this_wp_i18n_["__"])('photo')], example: { @@ -4846,6 +5652,27 @@ var image_settings = { name: 'rounded', label: Object(external_this_wp_i18n_["_x"])('Rounded', 'block style') }], + __experimentalLabel: function __experimentalLabel(attributes, _ref) { + var context = _ref.context; + + if (context === 'accessibility') { + var caption = attributes.caption, + alt = attributes.alt, + url = attributes.url; + + if (!url) { + return Object(external_this_wp_i18n_["__"])('Empty'); + } + + if (!alt) { + return caption || ''; + } // This is intended to be read by a screen reader. + // A period simply means a pause, no need to translate it. + + + return alt + (caption ? '. ' + caption : ''); + } + }, transforms: image_transforms, getEditWrapperProps: function getEditWrapperProps(attributes) { var align = attributes.align, @@ -4863,6 +5690,21 @@ var image_settings = { deprecated: image_deprecated }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/heading.js + + +/** + * WordPress dependencies + */ + +var heading = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "-2 -2 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], { + d: "M12.5 4v5.2h-5V4H5v13h2.5v-5.2h5V17H15V4" +})); +/* harmony default export */ var library_heading = (heading); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/deprecated.js @@ -5075,6 +5917,9 @@ function (_Component) { +function heading_edit_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function heading_edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { heading_edit_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { heading_edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -5094,12 +5939,14 @@ function (_Component) { + function HeadingEdit(_ref) { var attributes = _ref.attributes, setAttributes = _ref.setAttributes, mergeBlocks = _ref.mergeBlocks, onReplace = _ref.onReplace, className = _ref.className; + var ref = Object(external_this_wp_element_["useRef"])(); var _experimentalUseColo = Object(external_this_wp_blockEditor_["__experimentalUseColors"])([{ name: 'textColor', @@ -5108,11 +5955,13 @@ function HeadingEdit(_ref) { contrastCheckers: { backgroundColor: true, textColor: true + }, + colorDetector: { + targetRef: ref } }, []), TextColor = _experimentalUseColo.TextColor, - InspectorControlsColorPanel = _experimentalUseColo.InspectorControlsColorPanel, - ColorDetector = _experimentalUseColo.ColorDetector; + InspectorControlsColorPanel = _experimentalUseColo.InspectorControlsColorPanel; var align = attributes.align, content = attributes.content, @@ -5136,7 +5985,7 @@ function HeadingEdit(_ref) { }); } })), 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_["__"])('Heading Settings') + title: Object(external_this_wp_i18n_["__"])('Heading settings') }, Object(external_this_wp_element_["createElement"])("p", null, Object(external_this_wp_i18n_["__"])('Level')), Object(external_this_wp_element_["createElement"])(heading_toolbar, { isCollapsed: false, minLevel: 1, @@ -5147,9 +5996,8 @@ function HeadingEdit(_ref) { level: newLevel }); } - }))), InspectorControlsColorPanel, Object(external_this_wp_element_["createElement"])(TextColor, null, Object(external_this_wp_element_["createElement"])(ColorDetector, { - querySelector: "[contenteditable=\"true\"]" - }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { + }))), InspectorControlsColorPanel, Object(external_this_wp_element_["createElement"])(TextColor, null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { + ref: ref, identifier: "content", tagName: tagName, value: content, @@ -5164,7 +6012,7 @@ function HeadingEdit(_ref) { return Object(external_this_wp_blocks_["createBlock"])('core/paragraph'); } - return Object(external_this_wp_blocks_["createBlock"])('core/heading', Object(objectSpread["a" /* default */])({}, attributes, { + return Object(external_this_wp_blocks_["createBlock"])('core/heading', heading_edit_objectSpread({}, attributes, { content: value })); }, @@ -5336,10 +6184,16 @@ var heading_transforms_transforms = { /* harmony default export */ var heading_transforms = (heading_transforms_transforms); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/index.js +/** + * External dependencies + */ + /** * WordPress dependencies */ + + /** * Internal dependencies */ @@ -5381,7 +6235,7 @@ var heading_name = heading_metadata.name; var heading_settings = { title: Object(external_this_wp_i18n_["__"])('Heading'), description: Object(external_this_wp_i18n_["__"])('Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.'), - icon: 'heading', + icon: library_heading, keywords: [Object(external_this_wp_i18n_["__"])('title'), Object(external_this_wp_i18n_["__"])('subtitle')], supports: { className: false, @@ -5394,6 +6248,19 @@ var heading_settings = { level: 2 } }, + __experimentalLabel: function __experimentalLabel(attributes, _ref) { + var context = _ref.context; + + if (context === 'accessibility') { + var content = attributes.content, + level = attributes.level; + return Object(external_this_lodash_["isEmpty"])(content) ? Object(external_this_wp_i18n_["sprintf"])( + /* translators: accessibility text. %s: heading level. */ + Object(external_this_wp_i18n_["__"])('Level %s. Empty.'), level) : Object(external_this_wp_i18n_["sprintf"])( + /* translators: accessibility text. 1: heading level. 2: heading content. */ + Object(external_this_wp_i18n_["__"])('Level %1$s. %2$s'), level, content); + } + }, transforms: heading_transforms, deprecated: heading_deprecated, merge: function merge(attributes, attributesToMerge) { @@ -5405,10 +6272,29 @@ var heading_settings = { save: heading_save_save }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/quote.js + + +/** + * WordPress dependencies + */ + +var quote = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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" +})); +/* harmony default export */ var library_quote = (quote); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/quote/deprecated.js +function deprecated_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function deprecated_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { deprecated_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { deprecated_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -5456,7 +6342,7 @@ var quote_deprecated_deprecated = [{ })); } }, { - attributes: Object(objectSpread["a" /* default */])({}, quote_deprecated_blockAttributes, { + attributes: deprecated_objectSpread({}, quote_deprecated_blockAttributes, { style: { type: 'number', default: 1 @@ -5464,7 +6350,7 @@ var quote_deprecated_deprecated = [{ }), migrate: function migrate(attributes) { if (attributes.style === 2) { - return Object(objectSpread["a" /* default */])({}, Object(external_this_lodash_["omit"])(attributes, ['style']), { + return deprecated_objectSpread({}, Object(external_this_lodash_["omit"])(attributes, ['style']), { className: attributes.className ? attributes.className + ' is-style-large' : 'is-style-large' }); } @@ -5491,7 +6377,7 @@ var quote_deprecated_deprecated = [{ })); } }, { - attributes: Object(objectSpread["a" /* default */])({}, quote_deprecated_blockAttributes, { + attributes: deprecated_objectSpread({}, quote_deprecated_blockAttributes, { citation: { type: 'string', source: 'html', @@ -5529,6 +6415,9 @@ var quote_deprecated_deprecated = [{ +function quote_edit_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function quote_edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { quote_edit_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { quote_edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -5582,7 +6471,7 @@ function QuoteEdit(_ref) { Object(external_this_wp_i18n_["__"])('Write quote…'), onReplace: onReplace, onSplit: function onSplit(piece) { - return Object(external_this_wp_blocks_["createBlock"])('core/quote', Object(objectSpread["a" /* default */])({}, attributes, { + return Object(external_this_wp_blocks_["createBlock"])('core/quote', quote_edit_objectSpread({}, attributes, { value: piece })); }, @@ -5604,23 +6493,6 @@ function QuoteEdit(_ref) { }))); } -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/quote/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var quote_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_["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" -}))); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/quote/save.js @@ -5652,7 +6524,7 @@ function quote_save_save(_ref) { } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(20); +var objectWithoutProperties = __webpack_require__(19); // EXTERNAL MODULE: external {"this":["wp","richText"]} var external_this_wp_richText_ = __webpack_require__(24); @@ -5662,6 +6534,10 @@ var external_this_wp_richText_ = __webpack_require__(24); +function quote_transforms_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function quote_transforms_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { quote_transforms_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { quote_transforms_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * WordPress dependencies */ @@ -5819,7 +6695,7 @@ var quote_transforms_transforms = { } var quotePieces = pieces.slice(1); - var quoteBlock = Object(external_this_wp_blocks_["createBlock"])('core/quote', Object(objectSpread["a" /* default */])({}, attrs, { + var quoteBlock = Object(external_this_wp_blocks_["createBlock"])('core/quote', quote_transforms_objectSpread({}, attrs, { citation: citation, value: Object(external_this_wp_richText_["toHTMLString"])({ value: quotePieces.length ? Object(external_this_wp_richText_["join"])(pieces.slice(1), "\u2028") : Object(external_this_wp_richText_["create"])(), @@ -5846,17 +6722,21 @@ var quote_transforms_transforms = { // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/quote/index.js +function quote_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function quote_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { quote_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { quote_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * WordPress dependencies */ + /** * Internal dependencies */ - var quote_metadata = { name: "core/quote", category: "common", @@ -5886,7 +6766,7 @@ var quote_name = quote_metadata.name; var quote_settings = { title: Object(external_this_wp_i18n_["__"])('Quote'), description: Object(external_this_wp_i18n_["__"])('Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar'), - icon: quote_icon, + icon: library_quote, keywords: [Object(external_this_wp_i18n_["__"])('blockquote'), Object(external_this_wp_i18n_["__"])('cite')], example: { attributes: { @@ -5917,12 +6797,12 @@ var quote_settings = { } if (!value || value === '

    ') { - return Object(objectSpread["a" /* default */])({}, attributes, { + return quote_objectSpread({}, attributes, { citation: citation }); } - return Object(objectSpread["a" /* default */])({}, attributes, { + return quote_objectSpread({}, attributes, { value: attributes.value + value, citation: citation }); @@ -5930,6 +6810,21 @@ var quote_settings = { deprecated: quote_deprecated }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/gallery.js + + +/** + * WordPress dependencies + */ + +var gallery = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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" +})); +/* harmony default export */ var library_gallery = (gallery); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/shared.js /** * External dependencies @@ -5955,6 +6850,10 @@ var shared_pickRelevantMediaFiles = function pickRelevantMediaFiles(image) { +function gallery_deprecated_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function gallery_deprecated_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { gallery_deprecated_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { gallery_deprecated_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -5971,6 +6870,134 @@ var shared_pickRelevantMediaFiles = function pickRelevantMediaFiles(image) { var gallery_deprecated_deprecated = [{ + 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: true + }, + linkTo: { + type: 'string', + default: 'none' + } + }, + supports: { + align: true + }, + isEligible: function isEligible(_ref) { + var ids = _ref.ids; + return ids && ids.some(function (id) { + return typeof id === 'string'; + }); + }, + migrate: function migrate(attributes) { + return gallery_deprecated_objectSpread({}, attributes, { + ids: Object(external_this_lodash_["map"])(attributes.ids, function (id) { + var parsedId = parseInt(id, 10); + return Number.isInteger(parsedId) ? parsedId : null; + }) + }); + }, + save: function save(_ref2) { + var attributes = _ref2.attributes; + var images = attributes.images, + _attributes$columns = attributes.columns, + columns = _attributes$columns === void 0 ? defaultColumnsNumber(attributes) : _attributes$columns, + imageCrop = attributes.imageCrop, + caption = attributes.caption, + linkTo = attributes.linkTo; + return Object(external_this_wp_element_["createElement"])("figure", { + className: "columns-".concat(columns, " ").concat(imageCrop ? 'is-cropped' : '') + }, Object(external_this_wp_element_["createElement"])("ul", { + className: "blocks-gallery-grid" + }, images.map(function (image) { + var href; + + switch (linkTo) { + case 'media': + href = image.fullUrl || image.url; + break; + + case 'attachment': + href = image.link; + break; + } + + var img = Object(external_this_wp_element_["createElement"])("img", { + src: image.url, + alt: image.alt, + "data-id": image.id, + "data-full-url": image.fullUrl, + "data-link": image.link, + className: image.id ? "wp-image-".concat(image.id) : null + }); + return Object(external_this_wp_element_["createElement"])("li", { + key: image.id || image.url, + className: "blocks-gallery-item" + }, Object(external_this_wp_element_["createElement"])("figure", null, href ? Object(external_this_wp_element_["createElement"])("a", { + href: href + }, img) : img, !external_this_wp_blockEditor_["RichText"].isEmpty(image.caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, { + tagName: "figcaption", + className: "blocks-gallery-item__caption", + value: image.caption + }))); + })), !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, { + tagName: "figcaption", + className: "blocks-gallery-caption", + value: caption + })); + } +}, { attributes: { images: { type: 'array', @@ -6027,11 +7054,14 @@ var gallery_deprecated_deprecated = [{ default: 'none' } }, - save: function save(_ref) { - var attributes = _ref.attributes; + supports: { + align: true + }, + save: function save(_ref3) { + var attributes = _ref3.attributes; var images = attributes.images, - _attributes$columns = attributes.columns, - columns = _attributes$columns === void 0 ? defaultColumnsNumber(attributes) : _attributes$columns, + _attributes$columns2 = attributes.columns, + columns = _attributes$columns2 === void 0 ? defaultColumnsNumber(attributes) : _attributes$columns2, imageCrop = attributes.imageCrop, linkTo = attributes.linkTo; return Object(external_this_wp_element_["createElement"])("ul", { @@ -6116,9 +7146,9 @@ var gallery_deprecated_deprecated = [{ default: 'none' } }, - isEligible: function isEligible(_ref2) { - var images = _ref2.images, - ids = _ref2.ids; + isEligible: function isEligible(_ref4) { + var images = _ref4.images, + ids = _ref4.ids; return images && images.length > 0 && (!ids && images || ids && images && ids.length !== images.length || Object(external_this_lodash_["some"])(images, function (id, index) { if (!id && ids[index] !== null) { return true; @@ -6128,9 +7158,9 @@ var gallery_deprecated_deprecated = [{ })); }, migrate: function migrate(attributes) { - return Object(objectSpread["a" /* default */])({}, attributes, { - ids: Object(external_this_lodash_["map"])(attributes.images, function (_ref3) { - var id = _ref3.id; + return gallery_deprecated_objectSpread({}, attributes, { + ids: Object(external_this_lodash_["map"])(attributes.images, function (_ref5) { + var id = _ref5.id; if (!id) { return null; @@ -6140,11 +7170,14 @@ var gallery_deprecated_deprecated = [{ }) }); }, - save: function save(_ref4) { - var attributes = _ref4.attributes; + supports: { + align: true + }, + save: function save(_ref6) { + var attributes = _ref6.attributes; var images = attributes.images, - _attributes$columns2 = attributes.columns, - columns = _attributes$columns2 === void 0 ? defaultColumnsNumber(attributes) : _attributes$columns2, + _attributes$columns3 = attributes.columns, + columns = _attributes$columns3 === void 0 ? defaultColumnsNumber(attributes) : _attributes$columns3, imageCrop = attributes.imageCrop, linkTo = attributes.linkTo; return Object(external_this_wp_element_["createElement"])("ul", { @@ -6219,11 +7252,14 @@ var gallery_deprecated_deprecated = [{ default: 'none' } }, - save: function save(_ref5) { - var attributes = _ref5.attributes; + supports: { + align: true + }, + save: function save(_ref7) { + var attributes = _ref7.attributes; var images = attributes.images, - _attributes$columns3 = attributes.columns, - columns = _attributes$columns3 === void 0 ? defaultColumnsNumber(attributes) : _attributes$columns3, + _attributes$columns4 = attributes.columns, + columns = _attributes$columns4 === void 0 ? defaultColumnsNumber(attributes) : _attributes$columns4, align = attributes.align, imageCrop = attributes.imageCrop, linkTo = attributes.linkTo; @@ -6262,6 +7298,21 @@ var gallery_deprecated_deprecated = [{ }]; /* harmony default export */ var gallery_deprecated = (gallery_deprecated_deprecated); +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/shared-icon.js + + +/** + * WordPress dependencies + */ + + +var sharedIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], { + icon: library_gallery +}); + +// EXTERNAL MODULE: external {"this":["wp","keycodes"]} +var external_this_wp_keycodes_ = __webpack_require__(20); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/icons.js @@ -6269,15 +7320,6 @@ var gallery_deprecated_deprecated = [{ * WordPress dependencies */ -var icons_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: "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" -}))); var leftArrow = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { width: "18", height: "18", @@ -6295,25 +7337,6 @@ var rightArrow = Object(external_this_wp_element_["createElement"])(external_thi d: "M13 8.7L7.4 3L6 4.5L10.2 8.7L6 12.9L7.4 14.4L13 8.7Z" })); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/shared-icon.js - - -/** - * WordPress dependencies - */ - -/** - * Internal dependencies - */ - - -var sharedIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], { - 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 @@ -6338,6 +7361,7 @@ var external_this_wp_keycodes_ = __webpack_require__(19); + /** * Internal dependencies */ @@ -6411,9 +7435,12 @@ function (_Component) { var _this$props = this.props, isSelected = _this$props.isSelected, image = _this$props.image, - url = _this$props.url; + url = _this$props.url, + __unstableMarkNextChangeAsNotPersistent = _this$props.__unstableMarkNextChangeAsNotPersistent; if (image && !url) { + __unstableMarkNextChangeAsNotPersistent(); + this.props.setAttributes({ url: image.source_url, alt: image.alt_text @@ -6526,7 +7553,7 @@ function (_Component) { return GalleryImage; }(external_this_wp_element_["Component"]); -/* harmony default export */ var gallery_image = (Object(external_this_wp_data_["withSelect"])(function (select, ownProps) { +/* harmony default export */ var gallery_image = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select, ownProps) { var _select = select('core'), getMedia = _select.getMedia; @@ -6534,7 +7561,14 @@ function (_Component) { return { image: id ? getMedia(id) : null }; -})(gallery_image_GalleryImage)); +}), Object(external_this_wp_data_["withDispatch"])(function (dispatch) { + var _dispatch = dispatch('core/block-editor'), + __unstableMarkNextChangeAsNotPersistent = _dispatch.__unstableMarkNextChangeAsNotPersistent; + + return { + __unstableMarkNextChangeAsNotPersistent: __unstableMarkNextChangeAsNotPersistent + }; +})])(gallery_image_GalleryImage)); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/gallery.js @@ -6621,7 +7655,7 @@ var gallery_Gallery = function Gallery(props) { inlineToolbar: true })); }; -/* harmony default export */ var gallery = (gallery_Gallery); +/* harmony default export */ var gallery_gallery = (gallery_Gallery); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/edit.js @@ -6635,6 +7669,9 @@ var gallery_Gallery = function Gallery(props) { +function gallery_edit_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function gallery_edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { gallery_edit_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { gallery_edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -6683,6 +7720,12 @@ var MOBILE_CONTROL_PROPS = external_this_wp_element_["Platform"].select({ separatorType: 'fullWidth' } }); +var MOBILE_CONTROL_PROPS_SEPARATOR_NONE = external_this_wp_element_["Platform"].select({ + web: {}, + native: { + separatorType: 'none' + } +}); var edit_GalleryEdit = /*#__PURE__*/ @@ -6725,7 +7768,7 @@ function (_Component) { } if (attributes.images) { - attributes = Object(objectSpread["a" /* default */])({}, attributes, { + attributes = gallery_edit_objectSpread({}, attributes, { ids: Object(external_this_lodash_["map"])(attributes.images, 'id') }); } @@ -6848,7 +7891,7 @@ function (_Component) { }); this.setAttributes({ images: newImages.map(function (newImage) { - return Object(objectSpread["a" /* default */])({}, shared_pickRelevantMediaFiles(newImage, sizeSlug), { + return gallery_edit_objectSpread({}, shared_pickRelevantMediaFiles(newImage, sizeSlug), { caption: _this6.selectCaption(newImage, images, attachmentCaptions) }); }), @@ -6906,7 +7949,7 @@ function (_Component) { } setAttributes({ - 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))) + images: [].concat(Object(toConsumableArray["a" /* default */])(images.slice(0, index)), [gallery_edit_objectSpread({}, images[index], {}, attributes)], Object(toConsumableArray["a" /* default */])(images.slice(index + 1))) }); } }, { @@ -6941,7 +7984,7 @@ function (_Component) { } var url = Object(external_this_lodash_["get"])(resizedImages, [parseInt(image.id, 10), sizeSlug]); - return Object(objectSpread["a" /* default */])({}, image, url && { + return gallery_edit_objectSpread({}, image, {}, url && { url: url }); }); @@ -7032,8 +8075,11 @@ function (_Component) { } var imageSizeOptions = this.getImagesSizeOptions(); + var shouldShowSizeOptions = hasImages && !Object(external_this_lodash_["isEmpty"])(imageSizeOptions); // This is needed to fix a separator fence-post issue on mobile. + + var mobileLinkToProps = shouldShowSizeOptions ? MOBILE_CONTROL_PROPS : MOBILE_CONTROL_PROPS_SEPARATOR_NONE; 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') + 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 */])({ label: Object(external_this_wp_i18n_["__"])('Columns') }, MOBILE_CONTROL_PROPS, { @@ -7050,16 +8096,17 @@ function (_Component) { help: this.getImageCropHelp })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], Object(esm_extends["a" /* default */])({ label: Object(external_this_wp_i18n_["__"])('Link To') - }, MOBILE_CONTROL_PROPS, { + }, mobileLinkToProps, { value: linkTo, onChange: this.setLinkTo, options: linkOptions - })), 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'), + })), shouldShowSizeOptions && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], Object(esm_extends["a" /* default */])({ + label: Object(external_this_wp_i18n_["__"])('Images Size') + }, MOBILE_CONTROL_PROPS_SEPARATOR_NONE, { value: sizeSlug, options: imageSizeOptions, onChange: this.updateImagesSize - }))), noticeUI, Object(external_this_wp_element_["createElement"])(gallery, Object(esm_extends["a" /* default */])({}, this.props, { + })))), noticeUI, Object(external_this_wp_element_["createElement"])(gallery_gallery, Object(esm_extends["a" /* default */])({}, this.props, { selectedImage: this.state.selectedImage, mediaPlaceholder: mediaPlaceholder, onMoveBackward: this.onMoveBackward, @@ -7101,9 +8148,9 @@ function (_Component) { 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 gallery_edit_objectSpread({}, currentSizes, Object(defineProperty["a" /* default */])({}, size.slug, defaultUrl || mediaDetailsUrl)); }, {}); - return Object(objectSpread["a" /* default */])({}, currentResizedImages, Object(defineProperty["a" /* default */])({}, parseInt(id, 10), sizes)); + return gallery_edit_objectSpread({}, currentResizedImages, Object(defineProperty["a" /* default */])({}, parseInt(id, 10), sizes)); }, {}); } @@ -7339,13 +8386,13 @@ var gallery_transforms_transforms = { * WordPress dependencies */ + /** * Internal dependencies */ - var gallery_metadata = { name: "core/gallery", category: "common", @@ -7391,6 +8438,9 @@ var gallery_metadata = { }, ids: { type: "array", + items: { + type: "number" + }, "default": [] }, columns: { @@ -7424,7 +8474,7 @@ var gallery_name = gallery_metadata.name; var gallery_settings = { title: Object(external_this_wp_i18n_["__"])('Gallery'), description: Object(external_this_wp_i18n_["__"])('Display multiple images in a rich gallery.'), - icon: icons_icon, + icon: library_gallery, keywords: [Object(external_this_wp_i18n_["__"])('images'), Object(external_this_wp_i18n_["__"])('photos')], example: { attributes: { @@ -7445,8 +8495,23 @@ var gallery_settings = { deprecated: gallery_deprecated }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/archive.js + + +/** + * WordPress dependencies + */ + +var archive = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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" +})); +/* harmony default export */ var library_archive = (archive); + // EXTERNAL MODULE: external {"this":["wp","serverSideRender"]} -var external_this_wp_serverSideRender_ = __webpack_require__(60); +var external_this_wp_serverSideRender_ = __webpack_require__(65); 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 @@ -7465,7 +8530,7 @@ function ArchivesEdit(_ref) { var showPostCounts = attributes.showPostCounts, displayAsDropdown = attributes.displayAsDropdown; 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_["__"])('Archives Settings') + title: Object(external_this_wp_i18n_["__"])('Archives settings') }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { label: Object(external_this_wp_i18n_["__"])('Display as Dropdown'), checked: displayAsDropdown, @@ -7488,36 +8553,22 @@ function ArchivesEdit(_ref) { }))); } -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/archives/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var archives_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: "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" -}))); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/archives/index.js /** * WordPress dependencies */ + /** * Internal dependencies */ - var archives_name = 'core/archives'; var archives_settings = { title: Object(external_this_wp_i18n_["__"])('Archives'), description: Object(external_this_wp_i18n_["__"])('Display a monthly archive of your posts.'), - icon: archives_icon, + icon: library_archive, category: 'widgets', supports: { align: true, @@ -7526,6 +8577,21 @@ var archives_settings = { edit: ArchivesEdit }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/audio.js + + +/** + * WordPress dependencies + */ + +var audio = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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" +})); +/* harmony default export */ var library_audio = (audio); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/deprecated.js @@ -7591,23 +8657,6 @@ var archives_settings = { } }]); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var audio_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: "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" -}))); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/edit.js @@ -7629,10 +8678,6 @@ var archives_settings = { -/** - * Internal dependencies - */ - /** * Internal dependencies @@ -7651,12 +8696,7 @@ function (_Component) { Object(classCallCheck["a" /* default */])(this, AudioEdit); - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(AudioEdit).apply(this, arguments)); // edit component has its own src in the state so it can be edited - // without setting the actual value outside of the edit UI - - _this.state = { - editing: !_this.props.attributes.src - }; + _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(AudioEdit).apply(this, arguments)); _this.toggleAttribute = _this.toggleAttribute.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.onSelectURL = _this.onSelectURL.bind(Object(assertThisInitialized["a" /* default */])(_this)); _this.onUploadError = _this.onUploadError.bind(Object(assertThisInitialized["a" /* default */])(_this)); @@ -7666,8 +8706,6 @@ function (_Component) { Object(createClass["a" /* default */])(AudioEdit, [{ key: "componentDidMount", value: function componentDidMount() { - var _this2 = this; - var _this$props = this.props, attributes = _this$props.attributes, mediaUpload = _this$props.mediaUpload, @@ -7699,11 +8737,6 @@ function (_Component) { src: undefined, id: undefined }); - - _this2.setState({ - editing: true - }); - noticeOperations.createErrorNotice(e); }, allowedTypes: audio_edit_ALLOWED_MEDIA_TYPES @@ -7714,10 +8747,10 @@ function (_Component) { }, { key: "toggleAttribute", value: function toggleAttribute(attribute) { - var _this3 = this; + var _this2 = this; return function (newValue) { - _this3.props.setAttributes(Object(defineProperty["a" /* default */])({}, attribute, newValue)); + _this2.props.setAttributes(Object(defineProperty["a" /* default */])({}, attribute, newValue)); }; } }, { @@ -7747,10 +8780,6 @@ function (_Component) { id: undefined }); } - - this.setState({ - editing: false - }); } }, { key: "onUploadError", @@ -7767,8 +8796,6 @@ function (_Component) { }, { key: "render", value: function render() { - var _this4 = this; - var _this$props$attribute = this.props.attributes, autoplay = _this$props$attribute.autoplay, caption = _this$props$attribute.caption, @@ -7780,13 +8807,6 @@ function (_Component) { isSelected = _this$props3.isSelected, className = _this$props3.className, noticeUI = _this$props3.noticeUI; - var editing = this.state.editing; - - var switchToEditing = function switchToEditing() { - _this4.setState({ - editing: true - }); - }; var onSelectAudio = function onSelectAudio(media) { if (!media || !media.url) { @@ -7796,7 +8816,6 @@ function (_Component) { src: undefined, id: undefined }); - switchToEditing(); return; } // sets the block's attribute and updates the edit component from the // selected media, then switches off the editing UI @@ -7806,17 +8825,12 @@ function (_Component) { src: media.url, id: media.id }); - - _this4.setState({ - src: media.url, - editing: false - }); }; - if (editing) { + if (!src) { return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaPlaceholder"], { icon: Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], { - icon: audio_icon + icon: library_audio }), className: className, onSelect: onSelectAudio, @@ -7829,13 +8843,15 @@ 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_["Button"], { - className: "components-toolbar__control", - label: Object(external_this_wp_i18n_["__"])('Edit audio'), - onClick: switchToEditing, - icon: "edit" - }))), 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_["__"])('Audio Settings') + 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_blockEditor_["MediaReplaceFlow"], { + mediaURL: src, + allowedTypes: audio_edit_ALLOWED_MEDIA_TYPES, + accept: "audio/*", + onSelect: onSelectAudio, + onSelectURL: this.onSelectURL, + onError: this.onUploadError + })), 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_["__"])('Audio settings') }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { label: Object(external_this_wp_i18n_["__"])('Autoplay'), onChange: this.toggleAttribute('autoplay'), @@ -7988,13 +9004,13 @@ var audio_transforms_transforms = { * WordPress dependencies */ + /** * Internal dependencies */ - var audio_metadata = { name: "core/audio", category: "common", @@ -8041,7 +9057,7 @@ var audio_settings = { title: Object(external_this_wp_i18n_["__"])('Audio'), description: Object(external_this_wp_i18n_["__"])('Embed a simple audio player.'), 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, + icon: library_audio, transforms: audio_transforms, deprecated: audio_deprecated, supports: { @@ -8051,10 +9067,28 @@ var audio_settings = { save: audio_save_save }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/button.js + + +/** + * WordPress dependencies + */ + +var button_button = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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" +})); +/* harmony default export */ var library_button = (button_button); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/button/deprecated.js +function button_deprecated_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function button_deprecated_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { button_deprecated_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { button_deprecated_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -8068,7 +9102,7 @@ var audio_settings = { var deprecated_colorsMigration = function colorsMigration(attributes) { - return Object(external_this_lodash_["omit"])(Object(objectSpread["a" /* default */])({}, attributes, { + return Object(external_this_lodash_["omit"])(button_deprecated_objectSpread({}, attributes, { customTextColor: attributes.textColor && '#' === attributes.textColor[0] ? attributes.textColor : undefined, customBackgroundColor: attributes.color && '#' === attributes.color[0] ? attributes.color : undefined }), ['color', 'textColor']); @@ -8094,7 +9128,7 @@ var button_deprecated_blockAttributes = { } }; var button_deprecated_deprecated = [{ - attributes: Object(objectSpread["a" /* default */])({}, button_deprecated_blockAttributes, { + attributes: button_deprecated_objectSpread({}, button_deprecated_blockAttributes, { align: { type: 'string', default: 'none' @@ -8137,7 +9171,7 @@ var button_deprecated_deprecated = [{ newClassName = newClassName.replace(/is-style-squared[\s]?/, '').trim(); } - return Object(objectSpread["a" /* default */])({}, attributes, { + return button_deprecated_objectSpread({}, attributes, { className: newClassName ? newClassName : undefined, borderRadius: 0 }); @@ -8176,7 +9210,7 @@ var button_deprecated_deprecated = [{ })); } }, { - attributes: Object(objectSpread["a" /* default */])({}, button_deprecated_blockAttributes, { + attributes: button_deprecated_objectSpread({}, button_deprecated_blockAttributes, { align: { type: 'string', default: 'none' @@ -8225,7 +9259,7 @@ var button_deprecated_deprecated = [{ }, migrate: deprecated_colorsMigration }, { - attributes: Object(objectSpread["a" /* default */])({}, button_deprecated_blockAttributes, { + attributes: button_deprecated_objectSpread({}, button_deprecated_blockAttributes, { color: { type: 'string' }, @@ -8263,7 +9297,7 @@ var button_deprecated_deprecated = [{ }, migrate: deprecated_colorsMigration }, { - attributes: Object(objectSpread["a" /* default */])({}, button_deprecated_blockAttributes, { + attributes: button_deprecated_objectSpread({}, button_deprecated_blockAttributes, { color: { type: 'string' }, @@ -8307,6 +9341,9 @@ var button_deprecated_deprecated = [{ +function button_edit_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function button_edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { button_edit_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { button_edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -8352,7 +9389,7 @@ function BorderPanel(_ref) { }); }, [setAttributes]); return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { - title: Object(external_this_wp_i18n_["__"])('Border Settings') + title: Object(external_this_wp_i18n_["__"])('Border settings') }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], { value: borderRadius, label: Object(external_this_wp_i18n_["__"])('Border Radius'), @@ -8364,19 +9401,6 @@ function BorderPanel(_ref) { })); } -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, @@ -8390,48 +9414,38 @@ function URLPicker(_ref2) { 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"], { + var linkControl = isURLPickerOpen && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], { + position: "bottom center", + onClose: function onClose() { + return setIsURLPickerOpen(false); + } + }, 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 : { + value: { url: url, - title: title + title: title, + opensInNewTab: opensInNewTab }, - onLinkChange: function onLinkChange(_ref3) { + onChange: function onChange(_ref3) { var _ref3$title = _ref3.title, newTitle = _ref3$title === void 0 ? '' : _ref3$title, _ref3$url = _ref3.url, - newURL = _ref3$url === void 0 ? '' : _ref3$url; + newURL = _ref3$url === void 0 ? '' : _ref3$url, + newOpensInNewTab = _ref3.opensInNewTab; 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); + + if (opensInNewTab !== newOpensInNewTab) { + onToggleOpenInNewTab(newOpensInNewTab); } - }, - 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", @@ -8505,7 +9519,7 @@ function ButtonEdit(_ref5) { className: classnames_default()('wp-block-button__link', (_classnames = { 'has-background': backgroundColor.color || gradientValue }, Object(defineProperty["a" /* default */])(_classnames, backgroundColor.class, !gradientValue && backgroundColor.class), Object(defineProperty["a" /* default */])(_classnames, 'has-text-color', textColor.color), Object(defineProperty["a" /* default */])(_classnames, textColor.class, textColor.class), Object(defineProperty["a" /* default */])(_classnames, gradientClass, gradientClass), Object(defineProperty["a" /* default */])(_classnames, 'no-border-radius', borderRadius === 0), _classnames)), - style: Object(objectSpread["a" /* default */])({}, !backgroundColor.color && gradientValue ? { + style: button_edit_objectSpread({}, !backgroundColor.color && gradientValue ? { background: gradientValue } : { backgroundColor: backgroundColor.color @@ -8561,23 +9575,6 @@ function ButtonEdit(_ref5) { textColor: 'color' }), applyFallbackStyles])(ButtonEdit)); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/button/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var button_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/button/save.js @@ -8638,13 +9635,13 @@ function button_save_save(_ref) { * WordPress dependencies */ + /** * Internal dependencies */ - var button_metadata = { name: "core/button", category: "layout", @@ -8710,7 +9707,7 @@ var button_name = button_metadata.name; var button_settings = { title: Object(external_this_wp_i18n_["__"])('Button'), description: Object(external_this_wp_i18n_["__"])('Prompt visitors to take action with a button-style link.'), - icon: button_icon, + icon: library_button, keywords: [Object(external_this_wp_i18n_["__"])('link')], example: { attributes: { @@ -8769,23 +9766,6 @@ function ButtonsEdit(_ref) { /* 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 @@ -8802,12 +9782,12 @@ function buttons_save_save() { * WordPress dependencies */ + /** * Internal dependencies */ - var buttons_metadata = { name: "core/buttons", category: "layout", @@ -8819,7 +9799,7 @@ 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, + icon: library_button, keywords: [Object(external_this_wp_i18n_["__"])('link')], supports: { align: true, @@ -8829,6 +9809,21 @@ var buttons_settings = { save: buttons_save_save }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/calendar.js + + +/** + * WordPress dependencies + */ + +var calendar = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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" +})); +/* harmony default export */ var library_calendar = (calendar); + // EXTERNAL MODULE: external {"this":"moment"} var external_this_moment_ = __webpack_require__(30); var external_this_moment_default = /*#__PURE__*/__webpack_require__.n(external_this_moment_); @@ -8843,6 +9838,10 @@ var external_this_moment_default = /*#__PURE__*/__webpack_require__.n(external_t +function calendar_edit_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function calendar_edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { calendar_edit_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { calendar_edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -8893,7 +9892,7 @@ function (_Component) { }, { key: "getServerSideAttributes", value: function getServerSideAttributes(attributes, date) { - return Object(objectSpread["a" /* default */])({}, attributes, this.getYearMonth(date)); + return calendar_edit_objectSpread({}, attributes, {}, this.getYearMonth(date)); } }, { key: "render", @@ -8925,39 +9924,22 @@ function (_Component) { }; })(edit_CalendarEdit)); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/calendar/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var calendar_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: "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" -})))); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/calendar/index.js /** * WordPress dependencies */ + /** * Internal dependencies */ - var calendar_name = 'core/calendar'; var calendar_settings = { title: Object(external_this_wp_i18n_["__"])('Calendar'), description: Object(external_this_wp_i18n_["__"])('A calendar of your site’s posts.'), - icon: calendar_icon, + icon: library_calendar, category: 'widgets', keywords: [Object(external_this_wp_i18n_["__"])('posts'), Object(external_this_wp_i18n_["__"])('archive')], supports: { @@ -8967,6 +9949,25 @@ var calendar_settings = { edit: calendar_edit }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/category.js + + +/** + * WordPress dependencies + */ + +var category_category = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], { + d: "M12,2l-5.5,9h11L12,2z M12,5.84L13.93,9h-3.87L12,5.84z" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], { + d: "m3 21.5h8v-8h-8v8zm2-6h4v4h-4v-4z" +})); +/* harmony default export */ var library_category = (category_category); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/categories/edit.js @@ -9157,7 +10158,7 @@ function (_Component) { showHierarchy = attributes.showHierarchy, showPostCounts = attributes.showPostCounts; var inspectorControls = 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_["__"])('Categories Settings') + title: Object(external_this_wp_i18n_["__"])('Categories settings') }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { label: Object(external_this_wp_i18n_["__"])('Display as Dropdown'), checked: displayAsDropdown, @@ -9205,43 +10206,22 @@ function (_Component) { }; }), external_this_wp_compose_["withInstanceId"])(edit_CategoriesEdit)); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/categories/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var categories_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: "M12,2l-5.5,9h11L12,2z M12,5.84L13.93,9h-3.87L12,5.84z" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["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(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - d: "m3 21.5h8v-8h-8v8zm2-6h4v4h-4v-4z" -}))); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/categories/index.js /** * WordPress dependencies */ + /** * Internal dependencies */ - var categories_name = 'core/categories'; var categories_settings = { title: Object(external_this_wp_i18n_["__"])('Categories'), description: Object(external_this_wp_i18n_["__"])('Display a list of all categories.'), - icon: categories_icon, + icon: library_category, category: 'widgets', supports: { align: true, @@ -9250,6 +10230,21 @@ var categories_settings = { edit: categories_edit }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/code.js + + +/** + * WordPress dependencies + */ + +var code = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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" +})); +/* harmony default export */ var library_code = (code); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/edit.js @@ -9280,25 +10275,8 @@ function CodeEdit(_ref) { })); } -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var code_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: "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" -}))); - // EXTERNAL MODULE: external {"this":["wp","escapeHtml"]} -var external_this_wp_escapeHtml_ = __webpack_require__(61); +var external_this_wp_escapeHtml_ = __webpack_require__(66); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/utils.js /** @@ -9406,12 +10384,12 @@ var code_transforms_transforms = { * WordPress dependencies */ + /** * Internal dependencies */ - var code_metadata = { name: "core/code", category: "formatting", @@ -9430,7 +10408,7 @@ var code_name = code_metadata.name; var code_settings = { title: Object(external_this_wp_i18n_["__"])('Code'), description: Object(external_this_wp_i18n_["__"])('Display code snippets that respect your spacing and tabs.'), - icon: code_icon, + icon: library_code, example: { attributes: { // translators: Preserve \n markers for line breaks @@ -9445,6 +10423,21 @@ var code_settings = { save: code_save_save }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/columns.js + + +/** + * WordPress dependencies + */ + +var columns_columns = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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" +})); +/* harmony default export */ var library_columns = (columns_columns); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/deprecated.js @@ -9778,8 +10771,18 @@ function ColumnsEditContainer(_ref) { }, [clientId]), count = _useSelect.count; + var _experimentalUseColo = Object(external_this_wp_blockEditor_["__experimentalUseColors"])([{ + name: 'backgroundColor', + className: 'has-background' + }]), + BackgroundColor = _experimentalUseColo.BackgroundColor, + InspectorControlsColorPanel = _experimentalUseColo.InspectorControlsColorPanel; + var classes = classnames_default()(className, Object(defineProperty["a" /* default */])({}, "are-vertically-aligned-".concat(verticalAlignment), verticalAlignment)); - 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"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], { + 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_blockEditor_["BlockVerticalAlignmentToolbar"], { + onChange: updateAlignment, + value: verticalAlignment + })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], { label: Object(external_this_wp_i18n_["__"])('Columns'), value: count, onChange: function onChange(value) { @@ -9787,15 +10790,12 @@ function ColumnsEditContainer(_ref) { }, min: 2, max: 6 - }))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockVerticalAlignmentToolbar"], { - onChange: updateAlignment, - value: verticalAlignment - })), Object(external_this_wp_element_["createElement"])("div", { + }))), InspectorControlsColorPanel, Object(external_this_wp_element_["createElement"])(BackgroundColor, null, Object(external_this_wp_element_["createElement"])("div", { className: classes }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"], { templateLock: "all", allowedBlocks: edit_ALLOWED_BLOCKS - }))); + })))); } var ColumnsEditContainerWrapper = Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps, registry) { @@ -9902,21 +10902,21 @@ var edit_ColumnsEdit = function ColumnsEdit(props) { var _useSelect2 = Object(external_this_wp_data_["useSelect"])(function (select) { var _select = select('core/blocks'), - __experimentalGetBlockPatterns = _select.__experimentalGetBlockPatterns, + __experimentalGetBlockVariations = _select.__experimentalGetBlockVariations, getBlockType = _select.getBlockType, - __experimentalGetDefaultBlockPattern = _select.__experimentalGetDefaultBlockPattern; + __experimentalGetDefaultBlockVariation = _select.__experimentalGetDefaultBlockVariation; return { blockType: getBlockType(name), - defaultPattern: __experimentalGetDefaultBlockPattern(name), + defaultVariation: __experimentalGetDefaultBlockVariation(name, 'block'), hasInnerBlocks: select('core/block-editor').getBlocks(clientId).length > 0, - patterns: __experimentalGetBlockPatterns(name) + variations: __experimentalGetBlockVariations(name, 'block') }; }, [clientId, name]), blockType = _useSelect2.blockType, - defaultPattern = _useSelect2.defaultPattern, + defaultVariation = _useSelect2.defaultVariation, hasInnerBlocks = _useSelect2.hasInnerBlocks, - patterns = _useSelect2.patterns; + variations = _useSelect2.variations; var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), replaceInnerBlocks = _useDispatch.replaceInnerBlocks; @@ -9925,19 +10925,19 @@ var edit_ColumnsEdit = function ColumnsEdit(props) { return Object(external_this_wp_element_["createElement"])(ColumnsEditContainerWrapper, props); } - return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalBlockPatternPicker"], { + return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalBlockVariationPicker"], { icon: Object(external_this_lodash_["get"])(blockType, ['icon', 'src']), label: Object(external_this_lodash_["get"])(blockType, ['title']), - patterns: patterns, + variations: variations, onSelect: function onSelect() { - var nextPattern = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultPattern; + var nextVariation = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultVariation; - if (nextPattern.attributes) { - props.setAttributes(nextPattern.attributes); + if (nextVariation.attributes) { + props.setAttributes(nextVariation.attributes); } - if (nextPattern.innerBlocks) { - replaceInnerBlocks(props.clientId, edit_createBlocksFromInnerBlocksTemplate(nextPattern.innerBlocks)); + if (nextVariation.innerBlocks) { + replaceInnerBlocks(props.clientId, edit_createBlocksFromInnerBlocksTemplate(nextVariation.innerBlocks)); } }, allowSkip: true @@ -9946,123 +10946,6 @@ var edit_ColumnsEdit = function ColumnsEdit(props) { /* harmony default export */ var columns_edit = (edit_ColumnsEdit); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var columns_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: "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" -})))); - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/patterns.js - - -/** - * WordPress dependencies - */ - - -/** - * Template option choices for predefined columns layouts. - * - * @type {WPBlockPattern[]} - */ - -var patterns_patterns = [{ - name: 'two-columns-equal', - label: Object(external_this_wp_i18n_["__"])('Two columns; equal split'), - icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - width: "48", - height: "48", - viewBox: "0 0 48 48", - xmlns: "http://www.w3.org/2000/svg" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["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: true, - innerBlocks: [['core/column'], ['core/column']] -}, { - name: 'two-columns-one-third-two-thirds', - label: Object(external_this_wp_i18n_["__"])('Two columns; one-third, two-thirds split'), - icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - width: "48", - height: "48", - viewBox: "0 0 48 48", - xmlns: "http://www.w3.org/2000/svg" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["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(external_this_wp_i18n_["__"])('Two columns; two-thirds, one-third split'), - icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - width: "48", - height: "48", - viewBox: "0 0 48 48", - xmlns: "http://www.w3.org/2000/svg" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["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(external_this_wp_i18n_["__"])('Three columns; equal split'), - icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - width: "48", - height: "48", - viewBox: "0 0 48 48", - xmlns: "http://www.w3.org/2000/svg" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["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(external_this_wp_i18n_["__"])('Three columns; wide center column'), - icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - width: "48", - height: "48", - viewBox: "0 0 48 48", - xmlns: "http://www.w3.org/2000/svg" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["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 - }]] -}]; -/* harmony default export */ var columns_patterns = (patterns_patterns); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/save.js @@ -10077,32 +10960,156 @@ var patterns_patterns = [{ function columns_save_save(_ref) { + var _classnames; + var attributes = _ref.attributes; - var verticalAlignment = attributes.verticalAlignment; - var wrapperClasses = classnames_default()(Object(defineProperty["a" /* default */])({}, "are-vertically-aligned-".concat(verticalAlignment), verticalAlignment)); + var verticalAlignment = attributes.verticalAlignment, + backgroundColor = attributes.backgroundColor, + customBackgroundColor = attributes.customBackgroundColor; + var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor); + var className = classnames_default()((_classnames = { + 'has-background': backgroundColor || customBackgroundColor + }, Object(defineProperty["a" /* default */])(_classnames, backgroundClass, backgroundClass), Object(defineProperty["a" /* default */])(_classnames, "are-vertically-aligned-".concat(verticalAlignment), verticalAlignment), _classnames)); + var style = { + backgroundColor: backgroundClass ? undefined : customBackgroundColor + }; return Object(external_this_wp_element_["createElement"])("div", { - className: wrapperClasses + className: className ? className : undefined, + style: style }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null)); } +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/variations.js + + +/** + * WordPress dependencies + */ + + +/** @typedef {import('@wordpress/blocks').WPBlockVariation} WPBlockVariation */ + +/** + * Template option choices for predefined columns layouts. + * + * @type {WPBlockVariation[]} + */ + +var variations_variations = [{ + name: 'two-columns-equal', + title: Object(external_this_wp_i18n_["__"])('Two columns; equal split'), + icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + width: "48", + height: "48", + viewBox: "0 0 48 48", + xmlns: "http://www.w3.org/2000/svg" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["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: true, + innerBlocks: [['core/column'], ['core/column']], + scope: ['block'] +}, { + name: 'two-columns-one-third-two-thirds', + title: Object(external_this_wp_i18n_["__"])('Two columns; one-third, two-thirds split'), + icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + width: "48", + height: "48", + viewBox: "0 0 48 48", + xmlns: "http://www.w3.org/2000/svg" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + fillRule: "evenodd", + clipRule: "evenodd", + d: "M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H20V34H39ZM18 34H9V14H18V34Z" + })), + innerBlocks: [['core/column', { + width: 33.33 + }], ['core/column', { + width: 66.66 + }]], + scope: ['block'] +}, { + name: 'two-columns-two-thirds-one-third', + title: Object(external_this_wp_i18n_["__"])('Two columns; two-thirds, one-third split'), + icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + width: "48", + height: "48", + viewBox: "0 0 48 48", + xmlns: "http://www.w3.org/2000/svg" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + fillRule: "evenodd", + clipRule: "evenodd", + d: "M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H30V34H39ZM28 34H9V14H28V34Z" + })), + innerBlocks: [['core/column', { + width: 66.66 + }], ['core/column', { + width: 33.33 + }]], + scope: ['block'] +}, { + name: 'three-columns-equal', + title: Object(external_this_wp_i18n_["__"])('Three columns; equal split'), + icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + width: "48", + height: "48", + viewBox: "0 0 48 48", + xmlns: "http://www.w3.org/2000/svg" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + fillRule: "evenodd", + d: "M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM28.5 34h-9V14h9v20zm2 0V14H39v20h-8.5zm-13 0H9V14h8.5v20z" + })), + innerBlocks: [['core/column'], ['core/column'], ['core/column']], + scope: ['block'] +}, { + name: 'three-columns-wider-center', + title: Object(external_this_wp_i18n_["__"])('Three columns; wide center column'), + icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + width: "48", + height: "48", + viewBox: "0 0 48 48", + xmlns: "http://www.w3.org/2000/svg" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + fillRule: "evenodd", + d: "M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM31 34H17V14h14v20zm2 0V14h6v20h-6zm-18 0H9V14h6v20z" + })), + innerBlocks: [['core/column', { + width: 25 + }], ['core/column', { + width: 50 + }], ['core/column', { + width: 25 + }]], + scope: ['block'] +}]; +/* harmony default export */ var columns_variations = (variations_variations); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/index.js /** * WordPress dependencies */ + /** * Internal dependencies */ - var columns_metadata = { name: "core/columns", category: "layout", attributes: { verticalAlignment: { type: "string" + }, + backgroundColor: { + type: "string" + }, + customBackgroundColor: { + type: "string" } } }; @@ -10112,13 +11119,13 @@ var columns_name = columns_metadata.name; var columns_settings = { title: Object(external_this_wp_i18n_["__"])('Columns'), - icon: columns_icon, + icon: library_columns, description: Object(external_this_wp_i18n_["__"])('Add a block that displays content in multiple columns, then add whatever content blocks you’d like.'), supports: { align: ['wide', 'full'], html: false }, - patterns: columns_patterns, + variations: columns_variations, example: { innerBlocks: [{ name: 'core/column', @@ -10162,11 +11169,29 @@ var columns_settings = { save: columns_save_save }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/column.js + + +/** + * WordPress dependencies + */ + +var column = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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" +})); +/* harmony default export */ var library_column = (column); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/column/edit.js +function column_edit_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function column_edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { column_edit_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { column_edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -10203,7 +11228,7 @@ function ColumnEdit(_ref) { onChange: updateAlignment, value: verticalAlignment })), 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_["__"])('Column Settings') + title: Object(external_this_wp_i18n_["__"])('Column settings') }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], { label: Object(external_this_wp_i18n_["__"])('Percentage width'), value: width || '', @@ -10274,7 +11299,7 @@ function ColumnEdit(_ref) { // any explicit widths assigned (include updates to those not // part of the adjacent blocks). - var nextColumnWidths = Object(objectSpread["a" /* default */])({}, getColumnWidths(columns, columns.length), Object(defineProperty["a" /* default */])({}, clientId, toWidthPrecision(width)), getRedistributedColumnWidths(adjacentColumns, 100 - occupiedWidth, columns.length)); + var nextColumnWidths = column_edit_objectSpread({}, getColumnWidths(columns, columns.length), Object(defineProperty["a" /* default */])({}, clientId, toWidthPrecision(width)), getRedistributedColumnWidths(adjacentColumns, 100 - occupiedWidth, columns.length)); Object(external_this_lodash_["forEach"])(nextColumnWidths, function (nextColumnWidth, columnClientId) { updateBlockAttributes(columnClientId, { @@ -10285,23 +11310,6 @@ function ColumnEdit(_ref) { }; }))(ColumnEdit)); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/column/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var column_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"], { - fill: "none", - d: "M0 0h24v24H0V0z" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["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" -}))); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/column/save.js @@ -10339,12 +11347,12 @@ function column_save_save(_ref) { * WordPress dependencies */ + /** * Internal dependencies */ - var column_metadata = { name: "core/column", category: "common", @@ -10365,7 +11373,7 @@ var column_name = column_metadata.name; var column_settings = { title: Object(external_this_wp_i18n_["__"])('Column'), parent: ['core/columns'], - icon: column_icon, + icon: library_column, description: Object(external_this_wp_i18n_["__"])('A single column within a columns block.'), supports: { inserter: false, @@ -10387,6 +11395,21 @@ var column_settings = { save: column_save_save }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/cover.js + + +/** + * WordPress dependencies + */ + +var cover = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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" +})); +/* harmony default export */ var library_cover = (cover); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/shared.js var IMAGE_BACKGROUND_TYPE = 'image'; var VIDEO_BACKGROUND_TYPE = 'video'; @@ -10404,6 +11427,9 @@ function dimRatioToClass(ratio) { +function cover_deprecated_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function cover_deprecated_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { cover_deprecated_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { cover_deprecated_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -10452,7 +11478,7 @@ var cover_deprecated_blockAttributes = { } }; var cover_deprecated_deprecated = [{ - attributes: Object(objectSpread["a" /* default */])({}, cover_deprecated_blockAttributes, { + attributes: cover_deprecated_objectSpread({}, cover_deprecated_blockAttributes, { title: { type: 'string', source: 'html', @@ -10528,7 +11554,7 @@ var cover_deprecated_deprecated = [{ }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"].Content, null))); } }, { - attributes: Object(objectSpread["a" /* default */])({}, cover_deprecated_blockAttributes, { + attributes: cover_deprecated_objectSpread({}, cover_deprecated_blockAttributes, { title: { type: 'string', source: 'html', @@ -10592,7 +11618,7 @@ var cover_deprecated_deprecated = [{ })]]; } }, { - attributes: Object(objectSpread["a" /* default */])({}, cover_deprecated_blockAttributes, { + attributes: cover_deprecated_objectSpread({}, cover_deprecated_blockAttributes, { title: { type: 'string', source: 'html', @@ -10648,7 +11674,7 @@ var cover_deprecated_deprecated = [{ })]]; } }, { - attributes: Object(objectSpread["a" /* default */])({}, cover_deprecated_blockAttributes, { + attributes: cover_deprecated_objectSpread({}, cover_deprecated_blockAttributes, { title: { type: 'string', source: 'html', @@ -10697,35 +11723,21 @@ var cover_deprecated_deprecated = [{ /* harmony default export */ var cover_deprecated = (cover_deprecated_deprecated); // EXTERNAL MODULE: ./node_modules/fast-average-color/dist/index.js -var dist = __webpack_require__(219); +var dist = __webpack_require__(258); var dist_default = /*#__PURE__*/__webpack_require__.n(dist); // EXTERNAL MODULE: ./node_modules/tinycolor2/tinycolor.js -var tinycolor = __webpack_require__(49); +var tinycolor = __webpack_require__(52); var tinycolor_default = /*#__PURE__*/__webpack_require__.n(tinycolor); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var cover_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: "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(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - d: "M0 0h24v24H0z", - fill: "none" -}))); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/edit.js +function cover_edit_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function cover_edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { cover_edit_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { cover_edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -10743,12 +11755,12 @@ var tinycolor_default = /*#__PURE__*/__webpack_require__.n(tinycolor); + /** * Internal dependencies */ - /** * Module Constants */ @@ -10887,7 +11899,7 @@ function onCoverSelectMedia(setAttributes) { mediaType = media.type; } - setAttributes(Object(objectSpread["a" /* default */])({ + setAttributes(cover_edit_objectSpread({ url: media.url, id: media.id, backgroundType: mediaType @@ -10970,7 +11982,6 @@ function CoverEdit(_ref3) { dimRatio = attributes.dimRatio, focalPoint = attributes.focalPoint, hasParallax = attributes.hasParallax, - id = attributes.id, minHeight = attributes.minHeight, url = attributes.url; @@ -10982,7 +11993,7 @@ function CoverEdit(_ref3) { var onSelectMedia = onCoverSelectMedia(setAttributes); var toggleParallax = function toggleParallax() { - setAttributes(Object(objectSpread["a" /* default */])({ + setAttributes(cover_edit_objectSpread({ hasParallax: !hasParallax }, !hasParallax ? { focalPoint: undefined @@ -11000,7 +12011,7 @@ function CoverEdit(_ref3) { var removeAllNotices = noticeOperations.removeAllNotices, createErrorNotice = noticeOperations.createErrorNotice; - var style = Object(objectSpread["a" /* default */])({}, backgroundType === IMAGE_BACKGROUND_TYPE ? backgroundImageStyles(url) : {}, { + var style = cover_edit_objectSpread({}, backgroundType === IMAGE_BACKGROUND_TYPE ? backgroundImageStyles(url) : {}, { backgroundColor: overlayColor.color, minHeight: temporaryMinHeight || minHeight }); @@ -11014,21 +12025,13 @@ function CoverEdit(_ref3) { } var hasBackground = !!(url || overlayColor.color || gradientValue); - var controls = Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, hasBackground && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], 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"], { - onSelect: onSelectMedia, + var controls = Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, hasBackground && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaReplaceFlow"], { + mediaURL: url, allowedTypes: cover_edit_ALLOWED_MEDIA_TYPES, - value: id, - render: function render(_ref4) { - var open = _ref4.open; - 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", - onClick: open - }); - } - }))))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, !!url && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { - title: Object(external_this_wp_i18n_["__"])('Media Settings') + accept: "image/*,video/*", + onSelect: onSelectMedia + })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, !!url && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { + title: Object(external_this_wp_i18n_["__"])('Media settings') }, IMAGE_BACKGROUND_TYPE === backgroundType && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { label: Object(external_this_wp_i18n_["__"])('Fixed Background'), checked: hasParallax, @@ -11096,7 +12099,7 @@ function CoverEdit(_ref3) { if (!hasBackground) { var placeholderIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], { - icon: cover_icon + icon: library_cover }); var label = Object(external_this_wp_i18n_["__"])('Cover'); @@ -11123,16 +12126,6 @@ function CoverEdit(_ref3) { value: overlayColor.color, onChange: setOverlayColor, clearable: false - }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalGradientPicker"], { - disableCustomGradients: true, - onChange: function onChange(newGradient) { - setGradient(newGradient); - setAttributes({ - overlayColor: undefined - }); - }, - value: gradientValue, - clearable: false })))); } @@ -11388,13 +12381,13 @@ var cover_transforms_transforms = { * WordPress dependencies */ + /** * Internal dependencies */ - var cover_metadata = { name: "core/cover", category: "common", @@ -11444,7 +12437,7 @@ var cover_name = cover_metadata.name; var cover_settings = { title: Object(external_this_wp_i18n_["__"])('Cover'), description: Object(external_this_wp_i18n_["__"])('Add an image or video with a text overlay — great for headers.'), - icon: cover_icon, + icon: library_cover, supports: { align: true, html: false @@ -11494,7 +12487,7 @@ var embed_controls_EmbedControls = function EmbedControls(props) { icon: "edit", onClick: switchBackToURLInput }))), themeSupportsResponsive && blockSupportsResponsive && 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_["__"])('Media Settings'), + title: Object(external_this_wp_i18n_["__"])('Media settings'), className: "blocks-responsive" }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { label: Object(external_this_wp_i18n_["__"])('Resize for smaller devices'), @@ -11562,25 +12555,27 @@ var embed_placeholder_EmbedPlaceholder = function EmbedPlaceholder(props) { }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { 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"], { - 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"], { - isSecondary: true, - onClick: fallback - }, Object(external_this_wp_i18n_["_x"])('Convert to link', 'button label')))), Object(external_this_wp_element_["createElement"])("div", { + }, Object(external_this_wp_i18n_["_x"])('Embed', 'button label'))), Object(external_this_wp_element_["createElement"])("div", { className: "components-placeholder__learn-more" }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], { href: Object(external_this_wp_i18n_["__"])('https://wordpress.org/support/article/embeds/') - }, Object(external_this_wp_i18n_["__"])('Learn more about embeds')))); + }, Object(external_this_wp_i18n_["__"])('Learn more about embeds'))), cannotEmbed && Object(external_this_wp_element_["createElement"])("div", { + className: "components-placeholder__error" + }, Object(external_this_wp_element_["createElement"])("div", { + className: "components-placeholder__instructions" + }, Object(external_this_wp_i18n_["__"])('Sorry, this content could not be embedded.')), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { + 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"], { + isSecondary: true, + onClick: fallback + }, Object(external_this_wp_i18n_["_x"])('Convert to link', 'button label')))); }; /* harmony default export */ var embed_placeholder = (embed_placeholder_EmbedPlaceholder); // EXTERNAL MODULE: ./node_modules/url/url.js -var url_url = __webpack_require__(85); +var url_url = __webpack_require__(109); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/wp-embed-preview.js @@ -11825,6 +12820,10 @@ function (_Component) { +function embed_edit_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function embed_edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { embed_edit_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { embed_edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * Internal dependencies */ @@ -11949,7 +12948,7 @@ function getEmbedEditComponent(title, icon) { var _this$props$attribute = this.props.attributes, className = _this$props$attribute.className, allowResponsive = _this$props$attribute.allowResponsive; - return Object(objectSpread["a" /* default */])({}, this.props.attributes, getAttributesFromPreview(preview, title, className, responsive, allowResponsive)); + return embed_edit_objectSpread({}, this.props.attributes, {}, getAttributesFromPreview(preview, title, className, responsive, allowResponsive)); } /*** * Sets block attributes based on the current attributes and preview data. @@ -12077,6 +13076,9 @@ function getEmbedEditComponent(title, icon) { +function settings_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function settings_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { settings_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { settings_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * Internal dependencies @@ -12139,7 +13141,7 @@ function getEmbedBlockSettings(_ref) { category: category, keywords: keywords, attributes: embedAttributes, - supports: Object(objectSpread["a" /* default */])({ + supports: settings_objectSpread({ align: true }, supports), transforms: transforms, @@ -12237,6 +13239,10 @@ function getEmbedBlockSettings(_ref) { // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/index.js +function embed_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function embed_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { embed_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { embed_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * Internal dependencies */ @@ -12271,32 +13277,30 @@ var embed_settings = getEmbedBlockSettings({ } }); var embed_common = common.map(function (embedDefinition) { - return Object(objectSpread["a" /* default */])({}, embedDefinition, { + return embed_objectSpread({}, embedDefinition, { settings: getEmbedBlockSettings(embedDefinition.settings) }); }); var embed_others = others.map(function (embedDefinition) { - return Object(objectSpread["a" /* default */])({}, embedDefinition, { + return embed_objectSpread({}, embedDefinition, { settings: getEmbedBlockSettings(embedDefinition.settings) }); }); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/icon.js +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/file.js /** * WordPress dependencies */ -/* harmony default export */ var file_icon = (Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { +var file_file = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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_["Path"], { +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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" -}))); +})); +/* harmony default export */ var library_file = (file_file); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/inspector.js @@ -12378,13 +13382,13 @@ function FileBlockInspector(_ref) { + /** * Internal dependencies */ - var edit_FileEdit = /*#__PURE__*/ function (_Component) { @@ -12544,7 +13548,7 @@ function (_Component) { if (!href || hasError) { return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaPlaceholder"], { icon: Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], { - icon: file_icon + icon: library_file }), labels: { title: Object(external_this_wp_i18n_["__"])('File'), @@ -12820,12 +13824,12 @@ var file_transforms_transforms = { * WordPress dependencies */ + /** * Internal dependencies */ - var file_metadata = { name: "core/file", category: "common", @@ -12871,7 +13875,7 @@ var file_name = file_metadata.name; 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, + icon: library_file, keywords: [Object(external_this_wp_i18n_["__"])('document'), Object(external_this_wp_i18n_["__"])('pdf'), Object(external_this_wp_i18n_["__"])('download')], supports: { align: true @@ -12881,6 +13885,21 @@ var file_settings = { save: file_save_save }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/html.js + + +/** + * WordPress dependencies + */ + +var html_html = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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" +})); +/* harmony default export */ var library_html = (html_html); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/html/edit.js @@ -12994,20 +14013,6 @@ function (_Component) { }; })(edit_HTMLEdit)); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/html/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var html_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: "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" -}))); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/html/save.js @@ -13052,12 +14057,12 @@ var html_transforms_transforms = { * WordPress dependencies */ + /** * Internal dependencies */ - var html_metadata = { name: "core/html", category: "formatting", @@ -13075,7 +14080,7 @@ var html_name = html_metadata.name; var html_settings = { title: Object(external_this_wp_i18n_["__"])('Custom HTML'), description: Object(external_this_wp_i18n_["__"])('Add custom HTML code and preview it as you edit.'), - icon: html_icon, + icon: library_html, keywords: [Object(external_this_wp_i18n_["__"])('embed')], example: { attributes: { @@ -13092,6 +14097,21 @@ var html_settings = { save: html_save_save }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/media-and-text.js + + +/** + * WordPress dependencies + */ + +var mediaAndText = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], { + d: "M13 17h8v-2h-8v2zM3 19h8V5H3v14zM13 9h8V7h-8v2zm0 4h8v-2h-8v2z" +})); +/* harmony default export */ var media_and_text = (mediaAndText); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/media-container-icon.js @@ -13171,22 +14191,14 @@ function (_Component) { key: "renderToolbarEditButton", value: function renderToolbarEditButton() { var _this$props = this.props, - mediaId = _this$props.mediaId, - onSelectMedia = _this$props.onSelectMedia; - return 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_blockEditor_["MediaUpload"], { - onSelect: onSelectMedia, + onSelectMedia = _this$props.onSelectMedia, + mediaUrl = _this$props.mediaUrl; + return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaReplaceFlow"], { + mediaURL: mediaUrl, allowedTypes: media_container_ALLOWED_MEDIA_TYPES, - value: mediaId, - render: function render(_ref) { - var open = _ref.open; - 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", - onClick: open - }); - } - }))); + accept: "image/*,video/*", + onSelect: onSelectMedia + })); } }, { key: "renderImage", @@ -13318,6 +14330,9 @@ function (_Component) { +function media_text_deprecated_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function media_text_deprecated_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { media_text_deprecated_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { media_text_deprecated_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -13379,7 +14394,7 @@ var baseAttributes = { } }; /* harmony default export */ var media_text_deprecated = ([{ - attributes: Object(objectSpread["a" /* default */])({}, baseAttributes, { + attributes: media_text_deprecated_objectSpread({}, baseAttributes, { verticalAlignment: { type: 'string' }, @@ -13617,7 +14632,6 @@ function (_Component) { mediaUrl: src || media.url, mediaLink: media.link || undefined, href: newHref, - imageFill: undefined, focalPoint: undefined }); } @@ -13750,7 +14764,7 @@ function (_Component) { }; var mediaTextGeneralSettings = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { - title: Object(external_this_wp_i18n_["__"])('Media & Text Settings') + title: Object(external_this_wp_i18n_["__"])('Media & Text settings') }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { label: Object(external_this_wp_i18n_["__"])('Stack on mobile'), checked: isStackedOnMobile, @@ -13785,7 +14799,7 @@ function (_Component) { }, Object(external_this_wp_i18n_["__"])('Describe the purpose of the image')), Object(external_this_wp_i18n_["__"])('Leave empty if the image is purely decorative.')) })); 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, mediaTextGeneralSettings, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["PanelColorSettings"], { - title: Object(external_this_wp_i18n_["__"])('Color Settings'), + title: Object(external_this_wp_i18n_["__"])('Color settings'), initialOpen: false, colorSettings: colorSettings })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], { @@ -13827,20 +14841,6 @@ function (_Component) { }; })])(edit_MediaTextEdit)); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var media_text_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: "M13 17h8v-2h-8v2zM3 19h8V5H3v14zM13 9h8V7h-8v2zm0 4h8v-2h-8v2z" -}))); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/save.js @@ -14012,13 +15012,13 @@ var media_text_transforms_transforms = { * WordPress dependencies */ + /** * Internal dependencies */ - var media_text_metadata = { name: "core/media-text", category: "layout", @@ -14112,7 +15112,7 @@ var media_text_name = media_text_metadata.name; var media_text_settings = { title: Object(external_this_wp_i18n_["__"])('Media & Text'), description: Object(external_this_wp_i18n_["__"])('Set media and words side-by-side for a richer layout.'), - icon: media_text_icon, + icon: media_and_text, keywords: [Object(external_this_wp_i18n_["__"])('image'), Object(external_this_wp_i18n_["__"])('video')], supports: { align: ['wide', 'full'], @@ -14141,6 +15141,21 @@ var media_text_settings = { deprecated: media_text_deprecated }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/menu.js + + +/** + * WordPress dependencies + */ + +var menu = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "-2 -2 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], { + d: "M17 7V5H3v2h14zm0 4V9H3v2h14zm0 4v-2H3v2h14z" +})); +/* harmony default export */ var library_menu = (menu); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/block-navigation-list.js @@ -14233,10 +15248,6 @@ function useBlockNavigator(clientId) { -/** - * External dependencies - */ - /** * WordPress dependencies */ @@ -14244,8 +15255,6 @@ function useBlockNavigator(clientId) { - - var block_colors_selector_ColorSelectorSVGIcon = function ColorSelectorSVGIcon() { return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { xmlns: "https://www.w3.org/2000/svg", @@ -14263,14 +15272,13 @@ var block_colors_selector_ColorSelectorSVGIcon = function ColorSelectorSVGIcon() var block_colors_selector_ColorSelectorIcon = function ColorSelectorIcon(_ref) { - var color = _ref.color; + var style = _ref.style, + className = _ref.className; return Object(external_this_wp_element_["createElement"])("div", { className: "block-library-colors-selector__icon-container" }, Object(external_this_wp_element_["createElement"])("div", { - className: "block-library-colors-selector__state-selection", - style: Object(objectSpread["a" /* default */])({}, color && { - color: color - }) + className: "".concat(className, " block-library-colors-selector__state-selection"), + style: style }, Object(external_this_wp_element_["createElement"])(block_colors_selector_ColorSelectorSVGIcon, null))); }; /** @@ -14282,7 +15290,8 @@ var block_colors_selector_ColorSelectorIcon = function ColorSelectorIcon(_ref) { var block_colors_selector_renderToggleComponent = function renderToggleComponent(_ref2) { - var value = _ref2.value; + var TextColor = _ref2.TextColor, + BackgroundColor = _ref2.BackgroundColor; return function (_ref3) { var onToggle = _ref3.onToggle, isOpen = _ref3.isOpen; @@ -14300,37 +15309,27 @@ var block_colors_selector_renderToggleComponent = function renderToggleComponent label: Object(external_this_wp_i18n_["__"])('Open Colors Selector'), onClick: onToggle, onKeyDown: openOnArrowDown, - icon: Object(external_this_wp_element_["createElement"])(block_colors_selector_ColorSelectorIcon, { - color: value - }) + icon: Object(external_this_wp_element_["createElement"])(BackgroundColor, null, Object(external_this_wp_element_["createElement"])(TextColor, null, Object(external_this_wp_element_["createElement"])(block_colors_selector_ColorSelectorIcon, null))) })); }; }; -var block_colors_selector_renderContent = function renderContent(_ref4) { - var value = _ref4.value, - _ref4$onChange = _ref4.onChange, - onChange = _ref4$onChange === void 0 ? external_this_lodash_["noop"] : _ref4$onChange; - return function () { - return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("div", { - className: "color-palette-controller-container" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["ColorPaletteControl"], { - value: value, - onChange: onChange, - label: Object(external_this_wp_i18n_["__"])('Text Color') - }))); - }; -}; +var block_colors_selector_BlockColorsStyleSelector = function BlockColorsStyleSelector(_ref4) { + var children = _ref4.children, + other = Object(objectWithoutProperties["a" /* default */])(_ref4, ["children"]); -/* harmony default export */ var block_colors_selector = (function (colorControlProps) { return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Dropdown"], { position: "bottom right", className: "block-library-colors-selector", contentClassName: "block-library-colors-selector__popover", - renderToggle: block_colors_selector_renderToggleComponent(colorControlProps), - renderContent: block_colors_selector_renderContent(colorControlProps) + renderToggle: block_colors_selector_renderToggleComponent(other), + renderContent: function renderContent() { + return children; + } }); -}); +}; + +/* harmony default export */ var block_colors_selector = (block_colors_selector_BlockColorsStyleSelector); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/icons.js @@ -14406,17 +15405,39 @@ function Navigation(_ref) { setAttributes = _ref.setAttributes, setFontSize = _ref.setFontSize, updateNavItemBlocks = _ref.updateNavItemBlocks; - // // HOOKS // /* eslint-disable @wordpress/no-unused-vars-before-return */ + var ref = Object(external_this_wp_element_["useRef"])(); + + var _useDispatch = Object(external_this_wp_data_["useDispatch"])('core/block-editor'), + selectBlock = _useDispatch.selectBlock; + var _experimentalUseColo = Object(external_this_wp_blockEditor_["__experimentalUseColors"])([{ name: 'textColor', property: 'color' - }]), - TextColor = _experimentalUseColo.TextColor; + }, { + name: 'backgroundColor', + className: 'background-color' + }], { + contrastCheckers: [{ + backgroundColor: true, + textColor: true, + fontSize: fontSize.size + }], + colorDetector: { + targetRef: ref + }, + colorPanelProps: { + initialOpen: true + } + }, [fontSize.size]), + TextColor = _experimentalUseColo.TextColor, + BackgroundColor = _experimentalUseColo.BackgroundColor, + InspectorControlsColorPanel = _experimentalUseColo.InspectorControlsColorPanel, + ColorPanel = _experimentalUseColo.ColorPanel; /* eslint-enable @wordpress/no-unused-vars-before-return */ @@ -14439,8 +15460,8 @@ function Navigation(_ref) { type: type, id: id, url: url, - label: Object(external_this_lodash_["escape"])(title.rendered), - title: Object(external_this_lodash_["escape"])(title.raw), + label: !title.rendered ? Object(external_this_wp_i18n_["__"])('(no title)') : Object(external_this_lodash_["escape"])(title.rendered), + title: !title.raw ? Object(external_this_wp_i18n_["__"])('(no title)') : Object(external_this_lodash_["escape"])(title.raw), opensInNewTab: false }); }); @@ -14464,6 +15485,7 @@ function Navigation(_ref) { function handleCreateFromExistingPages() { updateNavItemBlocks(defaultPagesNavigationItems); + selectBlock(clientId); } var hasPages = hasResolvedPages && pages && pages.length; @@ -14481,6 +15503,7 @@ function Navigation(_ref) { label: Object(external_this_wp_i18n_["__"])('Navigation'), instructions: Object(external_this_wp_i18n_["__"])('Create a Navigation from all existing pages, or create an empty one.') }, Object(external_this_wp_element_["createElement"])("div", { + ref: ref, className: "wp-block-navigation-placeholder__buttons" }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { isSecondary: true, @@ -14516,25 +15539,36 @@ function Navigation(_ref) { onClick: handleItemsAlignment('right') }] }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarGroup"], null, navigatorToolbarButton), Object(external_this_wp_element_["createElement"])(block_colors_selector, { - value: TextColor.color, - onChange: TextColor.setColor - })), navigatorModal, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { + TextColor: TextColor, + BackgroundColor: BackgroundColor + }, ColorPanel)), navigatorModal, 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_["__"])('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') + 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", { + }))), InspectorControlsColorPanel, 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_["__"])('Display settings') + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { + checked: attributes.showSubmenuIcon, + onChange: function onChange(value) { + setAttributes({ + showSubmenuIcon: value + }); + }, + label: Object(external_this_wp_i18n_["__"])('Show submenu icon for top-level items') + }))), Object(external_this_wp_element_["createElement"])(TextColor, null, Object(external_this_wp_element_["createElement"])(BackgroundColor, null, Object(external_this_wp_element_["createElement"])("div", { + ref: ref, 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"], { + }, !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, __experimentalMoverDirection: 'horizontal' - })))); + }))))); } /* 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) { @@ -14579,6 +15613,7 @@ function navigation_save_save() { * WordPress dependencies */ + /** * Internal dependencies */ @@ -14588,7 +15623,7 @@ function navigation_save_save() { var navigation_name = 'core/navigation'; var navigation_settings = { title: Object(external_this_wp_i18n_["__"])('Navigation'), - icon: 'menu', + icon: library_menu, description: Object(external_this_wp_i18n_["__"])('Add a navigation block to your site.'), keywords: [Object(external_this_wp_i18n_["__"])('menu'), Object(external_this_wp_i18n_["__"])('navigation'), Object(external_this_wp_i18n_["__"])('links')], category: 'layout', @@ -14610,6 +15645,50 @@ var navigation_settings = { save: navigation_save_save }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/navigation.js + + +/** + * WordPress dependencies + */ + +var navigation = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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" +})); +/* harmony default export */ var library_navigation = (navigation); + +// EXTERNAL MODULE: external {"this":["wp","dom"]} +var external_this_wp_dom_ = __webpack_require__(27); + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-link/icons.js + + +/** + * WordPress dependencies + */ + +var toolbarSubmenuIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + width: "24", + height: "24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["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(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { + fill: "none", + d: "M0 0h24v24H0z" +})); +var itemSubmenuIcon = Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { + width: "18", + height: "18", + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 18 18" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Polygon"], { + points: "9,13.5 14.7,7.9 13.2,6.5 9,10.7 4.8,6.5 3.3,7.9 " +})); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-link/edit.js @@ -14632,157 +15711,110 @@ var navigation_settings = { -/** - * It updates the link attribute when the - * link settings changes. - * - * @param {Function} setter Setter attribute function. - */ -var edit_updateLinkSetting = function updateLinkSetting(setter) { - return function (setting, value) { - setter(Object(defineProperty["a" /* default */])({}, setting, value)); - }; -}; + /** - * Updates the link attribute when it changes - * through of the `onLinkChange` LinkControl callback. - * - * @param {Function} setter Setter attribute function. - * @param {string} label Link label. + * Internal dependencies */ -var edit_updateLink = function updateLink(setter, label) { - return function () { - var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, - _ref$title = _ref.title, - newTitle = _ref$title === void 0 ? '' : _ref$title, - _ref$url = _ref.url, - newURL = _ref$url === void 0 ? '' : _ref$url; - setter({ - title: Object(external_this_lodash_["escape"])(newTitle), - url: newURL - }); // Set the item label as well if it isn't already defined. - - if (!label) { - setter({ - label: Object(external_this_lodash_["escape"])(newTitle) - }); - } - }; -}; - -function NavigationLinkEdit(_ref2) { - var attributes = _ref2.attributes, - hasDescendants = _ref2.hasDescendants, - isSelected = _ref2.isSelected, - isParentOfSelectedBlock = _ref2.isParentOfSelectedBlock, - setAttributes = _ref2.setAttributes, - insertLinkBlock = _ref2.insertLinkBlock; +function NavigationLinkEdit(_ref) { + var attributes = _ref.attributes, + hasDescendants = _ref.hasDescendants, + isSelected = _ref.isSelected, + isParentOfSelectedBlock = _ref.isParentOfSelectedBlock, + setAttributes = _ref.setAttributes, + showSubmenuIcon = _ref.showSubmenuIcon, + insertLinkBlock = _ref.insertLinkBlock; var label = attributes.label, opensInNewTab = attributes.opensInNewTab, title = attributes.title, url = attributes.url, nofollow = attributes.nofollow, description = attributes.description; - var link = title ? { - title: Object(external_this_lodash_["unescape"])(title), - url: url - } : null; + var link = { + title: title ? Object(external_this_lodash_["unescape"])(title) : '', + url: url, + opensInNewTab: opensInNewTab + }; - var _useState = Object(external_this_wp_element_["useState"])(!label && isSelected), + var _useState = Object(external_this_wp_element_["useState"])(false), _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), isLinkOpen = _useState2[0], setIsLinkOpen = _useState2[1]; - var onCloseTimerId = null; + var itemLabelPlaceholder = Object(external_this_wp_i18n_["__"])('Add link…'); + + var ref = Object(external_this_wp_element_["useRef"])(); // Show the LinkControl on mount if the URL is empty + // ( When adding a new menu item) + // This can't be done in the useState call because it cconflicts + // with the autofocus behavior of the BlockListBlock component. + + Object(external_this_wp_element_["useEffect"])(function () { + if (!url) { + setIsLinkOpen(true); + } + }, []); /** - * It's a kind of hack to handle closing the LinkControl popover - * clicking on the ToolbarButton link. + * The hook shouldn't be necessary but due to a focus loss happening + * when selecting a suggestion in the link popover, we force close on block unselection. */ Object(external_this_wp_element_["useEffect"])(function () { if (!isSelected) { setIsLinkOpen(false); } + }, [isSelected]); // If the LinkControl popover is open and the URL has changed, close the LinkControl and focus the label text. - return function () { - // Clear LinkControl.OnClose timeout. - if (onCloseTimerId) { - clearTimeout(onCloseTimerId); + Object(external_this_wp_element_["useEffect"])(function () { + if (isLinkOpen && url) { + // Close the link. + setIsLinkOpen(false); // Does this look like a URL and have something TLD-ish? + + if (Object(external_this_wp_url_["isURL"])(Object(external_this_wp_url_["prependHTTP"])(label)) && /^.+\.[a-z]+/.test(label)) { + // Focus and select the label text. + selectLabelText(); + } else { + // Focus it (but do not select). + Object(external_this_wp_dom_["placeCaretAtHorizontalEdge"])(ref.current, true); } - }; - }, [isSelected]); + } + }, [url]); /** - * Opens the LinkControl popup + * Focus the navigation link label text and select it. */ - var openLinkControl = function openLinkControl() { - if (isLinkOpen) { - return; - } + function selectLabelText() { + ref.current.focus(); + var selection = window.getSelection(); + var range = document.createRange(); // Get the range of the current ref contents so we can add this range to the selection. - setIsLinkOpen(!isLinkOpen); - }; - /** - * `onKeyDown` LinkControl handler. - * It takes over to stop the event propagation to make the - * navigation work, avoiding undesired behaviors. - * For instance, it will block to move between link blocks - * when the LinkControl is focused. - * - * @param {Event} event - */ - - - var 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 itemLabelPlaceholder = Object(external_this_wp_i18n_["__"])('Add link…'); + range.selectNodeContents(ref.current); + selection.removeAllRanges(); + selection.addRange(range); + } 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_["KeyboardShortcuts"], { bindGlobal: true, - shortcuts: Object(defineProperty["a" /* default */])({}, external_this_wp_keycodes_["rawShortcut"].primary('k'), openLinkControl) + shortcuts: Object(defineProperty["a" /* default */])({}, external_this_wp_keycodes_["rawShortcut"].primary('k'), function () { + return setIsLinkOpen(true); + }) }), 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 + onClick: function onClick() { + return setIsLinkOpen(true); + } }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToolbarButton"], { name: "submenu", - icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - xmlns: "http://www.w3.org/2000/svg", - width: "24", - height: "24" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["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(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - fill: "none", - d: "M0 0h24v24H0z" - })), + icon: toolbarSubmenuIcon, 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') - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextareaControl"], { - value: description || '', - onChange: function onChange(descriptionValue) { - setAttributes({ - description: descriptionValue - }); - }, - label: Object(external_this_wp_i18n_["__"])('Description') - })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { - title: Object(external_this_wp_i18n_["__"])('SEO Settings') + title: Object(external_this_wp_i18n_["__"])('SEO settings') }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], { value: title || '', onChange: function onChange(titleValue) { @@ -14800,18 +15832,33 @@ function NavigationLinkEdit(_ref2) { }); }, label: Object(external_this_wp_i18n_["__"])('Add nofollow to link'), - help: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_i18n_["__"])('Don\'t let search engines follow this link.'), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], { + help: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_i18n_["__"])("Don't let search engines follow this link."), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], { className: "wp-block-navigation-link__nofollow-external-link", href: Object(external_this_wp_i18n_["__"])('https://codex.wordpress.org/Nofollow') - }, Object(external_this_wp_i18n_["__"])('What\'s this?'))) + }, Object(external_this_wp_i18n_["__"])("What's this?"))) + })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { + title: Object(external_this_wp_i18n_["__"])('Link settings') + }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextareaControl"], { + value: description || '', + onChange: function onChange(descriptionValue) { + setAttributes({ + description: descriptionValue + }); + }, + label: Object(external_this_wp_i18n_["__"])('Description'), + help: Object(external_this_wp_i18n_["__"])('The description will be displayed in the menu if the current theme supports it.') }))), Object(external_this_wp_element_["createElement"])("div", { className: classnames_default()('wp-block-navigation-link', { 'is-editing': isSelected || isParentOfSelectedBlock, 'is-selected': isSelected, 'has-link': !!url }) - }, Object(external_this_wp_element_["createElement"])("div", null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { - className: "wp-block-navigation-link__content", + }, Object(external_this_wp_element_["createElement"])("div", { + className: "wp-block-navigation-link__content" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { + ref: ref, + tagName: "span", + className: "wp-block-navigation-link__label", value: label, onChange: function onChange(labelValue) { return setAttributes({ @@ -14819,41 +15866,74 @@ function NavigationLinkEdit(_ref2) { }); }, placeholder: itemLabelPlaceholder, - withoutInteractiveFormatting: true - }), isLinkOpen && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalLinkControl"], { - className: "wp-block-navigation-link__inline-link-input", - onKeyDown: handleLinkControlOnKeyDown, - onKeyPress: function onKeyPress(event) { - return event.stopPropagation(); - }, - currentLink: link, - onLinkChange: edit_updateLink(setAttributes, label), + withoutInteractiveFormatting: true, + allowedFormats: ['core/bold', 'core/italic', 'core/image', 'core/strikethrough'] + }), showSubmenuIcon && Object(external_this_wp_element_["createElement"])("span", { + className: "wp-block-navigation-link__submenu-icon" + }, itemSubmenuIcon), isLinkOpen && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], { + position: "bottom center", onClose: function onClose() { - onCloseTimerId = setTimeout(function () { - return setIsLinkOpen(false); - }, 100); - }, - currentSettings: [{ - id: 'opensInNewTab', - title: Object(external_this_wp_i18n_["__"])('Open in new tab'), - checked: opensInNewTab - }], - onSettingsChange: edit_updateLinkSetting(setAttributes) - })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"], { + return setIsLinkOpen(false); + } + }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalLinkControl"], { + className: "wp-block-navigation-link__inline-link-input", + value: link, + showInitialSuggestions: true, + onChange: function onChange() { + var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, + _ref3$title = _ref3.title, + newTitle = _ref3$title === void 0 ? '' : _ref3$title, + _ref3$url = _ref3.url, + newURL = _ref3$url === void 0 ? '' : _ref3$url, + newOpensInNewTab = _ref3.opensInNewTab, + id = _ref3.id; + + return setAttributes({ + title: Object(external_this_lodash_["escape"])(newTitle), + url: encodeURI(newURL), + label: function () { + var normalizedTitle = newTitle.replace(/http(s?):\/\//gi, ''); + var normalizedURL = newURL.replace(/http(s?):\/\//gi, ''); + + if (newTitle !== '' && normalizedTitle !== normalizedURL && label !== newTitle) { + return Object(external_this_lodash_["escape"])(newTitle); + } else if (label) { + return label; + } // If there's no label, add the URL. + + + return Object(external_this_lodash_["escape"])(normalizedURL); + }(), + opensInNewTab: newOpensInNewTab, + id: id + }); + } + }))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InnerBlocks"], { allowedBlocks: ['core/navigation-link'], - renderAppender: hasDescendants ? external_this_wp_blockEditor_["InnerBlocks"].ButtonBlockAppender : false + renderAppender: hasDescendants && isSelected || isParentOfSelectedBlock ? external_this_wp_blockEditor_["InnerBlocks"].DefaultAppender : false }))); } /* harmony default export */ var navigation_link_edit = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_data_["withSelect"])(function (select, ownProps) { var _select = select('core/block-editor'), + getBlockName = _select.getBlockName, + getBlockAttributes = _select.getBlockAttributes, + getBlockParents = _select.getBlockParents, getClientIdsOfDescendants = _select.getClientIdsOfDescendants, hasSelectedInnerBlock = _select.hasSelectedInnerBlock; var clientId = ownProps.clientId; + var rootBlock = getBlockParents(clientId)[0]; + var parentBlock = getBlockParents(clientId, true)[0]; + var rootBlockAttributes = getBlockAttributes(rootBlock); + var hasDescendants = !!getClientIdsOfDescendants([clientId]).length; + var isLevelZero = getBlockName(parentBlock) === 'core/navigation'; + var showSubmenuIcon = rootBlockAttributes.showSubmenuIcon && isLevelZero && hasDescendants; + var isParentOfSelectedBlock = hasSelectedInnerBlock(clientId, true); return { - isParentOfSelectedBlock: hasSelectedInnerBlock(clientId, true), - hasDescendants: !!getClientIdsOfDescendants([clientId]).length + isParentOfSelectedBlock: isParentOfSelectedBlock, + hasDescendants: hasDescendants, + showSubmenuIcon: showSubmenuIcon }; }), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps, registry) { return { @@ -14886,8 +15966,6 @@ function navigation_link_save_save() { } // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-link/index.js - - /** * WordPress dependencies */ @@ -14936,22 +16014,35 @@ var navigation_link_name = navigation_link_metadata.name; var navigation_link_settings = { title: Object(external_this_wp_i18n_["__"])('Navigation Link'), parent: ['core/navigation'], - icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - xmlns: "http://www.w3.org/2000/svg", - width: "24", - height: "24" - }, 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" - })), + icon: library_navigation, description: Object(external_this_wp_i18n_["__"])('Add a page, link, or another item to your navigation.'), supports: { - reusable: false + reusable: false, + html: false + }, + __experimentalLabel: function __experimentalLabel(_ref) { + var label = _ref.label; + return label; }, - __experimentalDisplayName: 'label', edit: navigation_link_edit, save: navigation_link_save_save }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/comment.js + + +/** + * WordPress dependencies + */ + +var comment = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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" +})); +/* harmony default export */ var library_comment = (comment); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-comments/edit.js @@ -15033,7 +16124,7 @@ function (_Component) { displayDate = _this$props$attribute.displayDate, displayExcerpt = _this$props$attribute.displayExcerpt; 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_["__"])('Latest Comments Settings') + title: Object(external_this_wp_i18n_["__"])('Latest comments settings') }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { label: Object(external_this_wp_i18n_["__"])('Display Avatar'), checked: displayAvatar, @@ -15065,39 +16156,22 @@ function (_Component) { /* harmony default export */ var latest_comments_edit = (edit_LatestComments); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-comments/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var latest_comments_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: "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" -})))); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-comments/index.js /** * WordPress dependencies */ + /** * Internal dependencies */ - var latest_comments_name = 'core/latest-comments'; var latest_comments_settings = { title: Object(external_this_wp_i18n_["__"])('Latest Comments'), description: Object(external_this_wp_i18n_["__"])('Display a list of your most recent comments.'), - icon: latest_comments_icon, + icon: library_comment, category: 'widgets', keywords: [Object(external_this_wp_i18n_["__"])('recent comments')], supports: { @@ -15107,12 +16181,57 @@ var latest_comments_settings = { edit: latest_comments_edit }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/post-list.js + + +/** + * WordPress dependencies + */ + +var postList = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Rect"], { + x: "11", + y: "7", + width: "6", + height: "2" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Rect"], { + x: "11", + y: "11", + width: "6", + height: "2" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Rect"], { + x: "11", + y: "15", + width: "6", + height: "2" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Rect"], { + x: "7", + y: "7", + width: "2", + height: "2" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Rect"], { + x: "7", + y: "11", + width: "2", + height: "2" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Rect"], { + x: "7", + y: "15", + width: "2", + height: "2" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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" +})); +/* harmony default export */ var post_list = (postList); + // EXTERNAL MODULE: external {"this":["wp","apiFetch"]} -var external_this_wp_apiFetch_ = __webpack_require__(38); +var external_this_wp_apiFetch_ = __webpack_require__(40); 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__(55); +var external_this_wp_date_ = __webpack_require__(58); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-posts/edit.js @@ -15213,7 +16332,7 @@ function (_Component) { postsToShow = attributes.postsToShow, excerptLength = attributes.excerptLength; var inspectorControls = 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_["__"])('Post Content Settings') + title: Object(external_this_wp_i18n_["__"])('Post content settings') }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { label: Object(external_this_wp_i18n_["__"])('Post Content'), checked: displayPostContent, @@ -15248,7 +16367,7 @@ function (_Component) { min: 10, max: 100 })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { - title: Object(external_this_wp_i18n_["__"])('Post Meta Settings') + title: Object(external_this_wp_i18n_["__"])('Post meta settings') }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { label: Object(external_this_wp_i18n_["__"])('Display post date'), checked: displayPostDate, @@ -15258,7 +16377,7 @@ function (_Component) { }); } })), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { - title: Object(external_this_wp_i18n_["__"])('Sorting and Filtering') + title: Object(external_this_wp_i18n_["__"])('Sorting and filtering') }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["QueryControls"], Object(esm_extends["a" /* default */])({ order: order, orderBy: orderBy @@ -15398,69 +16517,22 @@ function (_Component) { }; })(edit_LatestPostsEdit)); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-posts/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var latest_posts_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_["Rect"], { - x: "11", - y: "7", - width: "6", - height: "2" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], { - x: "11", - y: "11", - width: "6", - height: "2" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], { - x: "11", - y: "15", - width: "6", - height: "2" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], { - x: "7", - y: "7", - width: "2", - height: "2" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], { - x: "7", - y: "11", - width: "2", - height: "2" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], { - x: "7", - y: "15", - width: "2", - height: "2" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["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" -}))); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-posts/index.js /** * WordPress dependencies */ + /** * Internal dependencies */ - var latest_posts_name = 'core/latest-posts'; var latest_posts_settings = { title: Object(external_this_wp_i18n_["__"])('Latest Posts'), description: Object(external_this_wp_i18n_["__"])('Display a list of your most recent posts.'), - icon: latest_posts_icon, + icon: post_list, category: 'widgets', keywords: [Object(external_this_wp_i18n_["__"])('recent posts')], supports: { @@ -15470,6 +16542,21 @@ var latest_posts_settings = { edit: latest_posts_edit }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/list.js + + +/** + * WordPress dependencies + */ + +var list = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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" +})); +/* harmony default export */ var library_list = (list); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/list/ordered-list-settings.js @@ -15485,7 +16572,7 @@ var ordered_list_settings_OrderedListSettings = function OrderedListSettings(_re reversed = _ref.reversed, start = _ref.start; return 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_["__"])('Ordered List Settings') + title: Object(external_this_wp_i18n_["__"])('Ordered list settings') }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], { label: Object(external_this_wp_i18n_["__"])('Start Value'), type: "number", @@ -15517,6 +16604,10 @@ var ordered_list_settings_OrderedListSettings = function OrderedListSettings(_re +function list_edit_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function list_edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { list_edit_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { list_edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * WordPress dependencies */ @@ -15547,7 +16638,8 @@ function ListEdit(_ref) { var controls = function controls(_ref2) { var value = _ref2.value, - onChange = _ref2.onChange; + onChange = _ref2.onChange, + onFocus = _ref2.onFocus; 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: "[", @@ -15585,6 +16677,7 @@ function ListEdit(_ref) { onChange(Object(external_this_wp_richText_["__unstableChangeListType"])(value, { type: 'ul' })); + onFocus(); if (Object(external_this_wp_richText_["__unstableIsListRootSelected"])(value)) { setAttributes({ @@ -15600,6 +16693,7 @@ function ListEdit(_ref) { onChange(Object(external_this_wp_richText_["__unstableChangeListType"])(value, { type: 'ol' })); + onFocus(); if (Object(external_this_wp_richText_["__unstableIsListRootSelected"])(value)) { setAttributes({ @@ -15614,6 +16708,7 @@ function ListEdit(_ref) { isDisabled: !Object(external_this_wp_richText_["__unstableCanOutdentListItems"])(value), onClick: function onClick() { onChange(Object(external_this_wp_richText_["__unstableOutdentListItems"])(value)); + onFocus(); } }, { icon: 'editor-indent', @@ -15624,6 +16719,7 @@ function ListEdit(_ref) { onChange(Object(external_this_wp_richText_["__unstableIndentListItems"])(value, { type: tagName })); + onFocus(); } }] }))); @@ -15643,7 +16739,7 @@ function ListEdit(_ref) { placeholder: Object(external_this_wp_i18n_["__"])('Write list…'), onMerge: mergeBlocks, onSplit: function onSplit(value) { - return Object(external_this_wp_blocks_["createBlock"])(list_name, Object(objectSpread["a" /* default */])({}, attributes, { + return Object(external_this_wp_blocks_["createBlock"])(list_name, list_edit_objectSpread({}, attributes, { values: value })); }, @@ -15665,20 +16761,6 @@ function ListEdit(_ref) { })); } -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/list/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var list_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_["G"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["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" -})))); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/list/save.js @@ -15708,6 +16790,10 @@ function list_save_save(_ref) { +function list_transforms_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function list_transforms_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { list_transforms_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { list_transforms_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * WordPress dependencies */ @@ -15717,7 +16803,7 @@ function list_save_save(_ref) { function getListContentSchema(_ref) { var phrasingContentSchema = _ref.phrasingContentSchema; - var listContentSchema = Object(objectSpread["a" /* default */])({}, phrasingContentSchema, { + var listContentSchema = list_transforms_objectSpread({}, phrasingContentSchema, { ul: {}, ol: { attributes: ['type', 'start', 'reversed'] @@ -15811,7 +16897,7 @@ var list_transforms_transforms = { } } - return Object(external_this_wp_blocks_["createBlock"])('core/list', Object(objectSpread["a" /* default */])({}, Object(external_this_wp_blocks_["getBlockAttributes"])('core/list', node.outerHTML), attributes)); + return Object(external_this_wp_blocks_["createBlock"])('core/list', list_transforms_objectSpread({}, Object(external_this_wp_blocks_["getBlockAttributes"])('core/list', node.outerHTML), {}, attributes)); } }].concat(Object(toConsumableArray["a" /* default */])(['*', '-'].map(function (prefix) { return { @@ -15875,16 +16961,20 @@ var list_transforms_transforms = { // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/list/index.js +function list_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function list_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { list_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { list_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * WordPress dependencies */ + /** * Internal dependencies */ - var list_metadata = { name: "core/list", category: "common", @@ -15919,7 +17009,7 @@ var list_name = list_metadata.name; var list_settings = { title: Object(external_this_wp_i18n_["__"])('List'), description: Object(external_this_wp_i18n_["__"])('Create a bulleted or numbered list.'), - icon: list_icon, + icon: library_list, 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, @@ -15938,7 +17028,7 @@ var list_settings = { return attributes; } - return Object(objectSpread["a" /* default */])({}, attributes, { + return list_objectSpread({}, attributes, { values: attributes.values + values }); }, @@ -16021,6 +17111,7 @@ function missing_save_save(_ref) { * WordPress dependencies */ + /** * Internal dependencies */ @@ -16047,7 +17138,7 @@ var missing_name = missing_metadata.name; var missing_settings = { name: missing_name, - title: Object(external_this_wp_i18n_["__"])('Unrecognized Block'), + title: Object(external_this_wp_i18n_["__"])('Unsupported'), description: Object(external_this_wp_i18n_["__"])('Your site doesn’t include support for this block.'), supports: { className: false, @@ -16056,10 +17147,39 @@ var missing_settings = { html: false, reusable: false }, + __experimentalLabel: function __experimentalLabel(attributes, _ref) { + var context = _ref.context; + + if (context === 'accessibility') { + var originalName = attributes.originalName; + var originalBlockType = originalName ? Object(external_this_wp_blocks_["getBlockType"])(originalName) : undefined; + + if (originalBlockType) { + return originalBlockType.settings.title || originalName; + } + + return ''; + } + }, edit: missing_edit, save: missing_save_save }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/more.js + + +/** + * WordPress dependencies + */ + +var more = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], { + d: "M2 9v2h19V9H2zm0 6h5v-2H2v2zm7 0h5v-2H9v2zm7 0h5v-2h-5v2z" +})); +/* harmony default export */ var library_more = (more); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/more/edit.js @@ -16141,7 +17261,10 @@ function (_Component) { var defaultText = this.state.defaultText; var value = customText !== undefined ? customText : defaultText; - var inputLength = value.length + 1; + var inputLength = value.length + 1.2; + var currentWidth = { + width: inputLength + 'em' + }; 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"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { label: Object(external_this_wp_i18n_["__"])('Hide the excerpt on the full content page'), checked: !!noTeaser, @@ -16152,9 +17275,9 @@ function (_Component) { }, Object(external_this_wp_element_["createElement"])("input", { type: "text", value: value, - size: inputLength, onChange: this.onChangeInput, - onKeyDown: this.onKeyDown + onKeyDown: this.onKeyDown, + style: currentWidth }))); } }]); @@ -16164,23 +17287,6 @@ function (_Component) { -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/more/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var more_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: "M2 9v2h19V9H2zm0 6h5v-2H2v2zm7 0h5v-2H9v2zm7 0h5v-2h-5v2z" -})))); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/more/save.js @@ -16244,12 +17350,12 @@ var more_transforms_transforms = { * WordPress dependencies */ + /** * Internal dependencies */ - var more_metadata = { name: "core/more", category: "layout", @@ -16270,7 +17376,7 @@ var more_name = more_metadata.name; var more_settings = { title: Object(external_this_wp_i18n_["_x"])('More', 'block name'), description: Object(external_this_wp_i18n_["__"])('Content before this block will be shown in the excerpt on your archives page.'), - icon: more_icon, + icon: library_more, supports: { customClassName: false, className: false, @@ -16278,11 +17384,33 @@ var more_settings = { multiple: false }, example: {}, + __experimentalLabel: function __experimentalLabel(attributes, _ref) { + var context = _ref.context; + + if (context === 'accessibility') { + return attributes.customText; + } + }, transforms: more_transforms, edit: edit_MoreEdit, save: more_save_save }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/page-break.js + + +/** + * WordPress dependencies + */ + +var pageBreak = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "0 0 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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" +})); +/* harmony default export */ var page_break = (pageBreak); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/nextpage/edit.js @@ -16296,25 +17424,6 @@ function NextPageEdit() { }, Object(external_this_wp_element_["createElement"])("span", null, Object(external_this_wp_i18n_["__"])('Page break'))); } -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/nextpage/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var nextpage_icon = (Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - xmlns: "http://www.w3.org/2000/svg", - width: "24px", - height: "24px", - viewBox: "0 0 24 24" -}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - d: "M0 0h24v24H0z", - fill: "none" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["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" -}))); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/nextpage/save.js @@ -16354,12 +17463,12 @@ var nextpage_transforms_transforms = { * WordPress dependencies */ + /** * Internal dependencies */ - var nextpage_metadata = { name: "core/nextpage", category: "layout" @@ -16372,7 +17481,7 @@ 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, + icon: page_break, keywords: [Object(external_this_wp_i18n_["__"])('next page'), Object(external_this_wp_i18n_["__"])('pagination')], supports: { customClassName: false, @@ -16385,6 +17494,41 @@ var nextpage_settings = { save: nextpage_save_save }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/preformatted.js + + +/** + * WordPress dependencies + */ + +var preformatted = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Rect"], { + x: "6", + y: "10", + width: "2", + height: "2" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Rect"], { + x: "6", + y: "14", + width: "8", + height: "2" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Rect"], { + x: "16", + y: "14", + width: "2", + height: "2" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Rect"], { + x: "10", + y: "10", + width: "8", + height: "2" +})); +/* harmony default export */ var library_preformatted = (preformatted); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/preformatted/edit.js @@ -16417,43 +17561,6 @@ function PreformattedEdit(_ref) { }); } -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/preformatted/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var preformatted_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: "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(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], { - x: "6", - y: "10", - width: "2", - height: "2" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], { - x: "6", - y: "14", - width: "8", - height: "2" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], { - x: "16", - y: "14", - width: "2", - height: "2" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], { - x: "10", - y: "10", - width: "8", - height: "2" -}))); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/preformatted/save.js @@ -16514,12 +17621,12 @@ var preformatted_transforms_transforms = { * WordPress dependencies */ + /** * Internal dependencies */ - var preformatted_metadata = { name: "core/preformatted", category: "formatting", @@ -16540,7 +17647,7 @@ var preformatted_name = preformatted_metadata.name; var preformatted_settings = { title: Object(external_this_wp_i18n_["__"])('Preformatted'), description: Object(external_this_wp_i18n_["__"])('Add text that respects your spacing and tabs, and also allows styling.'), - icon: preformatted_icon, + icon: library_preformatted, example: { attributes: { // translators: Sample content for the Preformatted block. Can be replaced with a more locale-adequate work. @@ -16557,6 +17664,25 @@ var preformatted_settings = { } }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/pullquote.js + + +/** + * WordPress dependencies + */ + +var pullquote = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Polygon"], { + points: "21 18 2 18 2 20 21 20" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Polygon"], { + points: "21 4 2 4 2 6 21 6" +})); +/* harmony default export */ var library_pullquote = (pullquote); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/shared.js var SOLID_COLOR_STYLE_NAME = 'solid-color'; var SOLID_COLOR_CLASS = "is-style-".concat(SOLID_COLOR_STYLE_NAME); @@ -16566,6 +17692,9 @@ var SOLID_COLOR_CLASS = "is-style-".concat(SOLID_COLOR_STYLE_NAME); +function pullquote_deprecated_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function pullquote_deprecated_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { pullquote_deprecated_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { pullquote_deprecated_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -16623,7 +17752,7 @@ function parseBorderColor(styleString) { } var pullquote_deprecated_deprecated = [{ - attributes: Object(objectSpread["a" /* default */])({}, pullquote_deprecated_blockAttributes, { + attributes: pullquote_deprecated_objectSpread({}, pullquote_deprecated_blockAttributes, { // figureStyle is an attribute that never existed. // We are using it as a way to access the styles previously applied to the figure. figureStyle: { @@ -16703,14 +17832,14 @@ var pullquote_deprecated_deprecated = [{ var borderColor = parseBorderColor(figureStyle); if (borderColor) { - return Object(objectSpread["a" /* default */])({}, attributes, { + return pullquote_deprecated_objectSpread({}, attributes, { className: className, customMainColor: borderColor }); } } - return Object(objectSpread["a" /* default */])({ + return pullquote_deprecated_objectSpread({ className: className, mainColor: mainColor }, attributes); @@ -16771,7 +17900,7 @@ var pullquote_deprecated_deprecated = [{ }))); } }, { - attributes: Object(objectSpread["a" /* default */])({}, pullquote_deprecated_blockAttributes), + attributes: pullquote_deprecated_objectSpread({}, pullquote_deprecated_blockAttributes), save: function save(_ref4) { var attributes = _ref4.attributes; var value = attributes.value, @@ -16785,7 +17914,7 @@ var pullquote_deprecated_deprecated = [{ })); } }, { - attributes: Object(objectSpread["a" /* default */])({}, pullquote_deprecated_blockAttributes, { + attributes: pullquote_deprecated_objectSpread({}, pullquote_deprecated_blockAttributes, { citation: { type: 'string', source: 'html', @@ -16969,7 +18098,7 @@ function (_Component) { }, className: "wp-block-pullquote__citation" }))), 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'), + title: Object(external_this_wp_i18n_["__"])('Color settings'), colorSettings: [{ value: mainColor.color, onChange: this.pullQuoteMainColorSetter, @@ -16996,27 +18125,6 @@ function (_Component) { textColor: 'color' })(edit_PullQuoteEdit)); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var pullquote_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_["Polygon"], { - points: "21 18 2 18 2 20 21 20" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["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(external_this_wp_element_["createElement"])(external_this_wp_components_["Polygon"], { - points: "21 4 2 4 2 6 21 6" -}))); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/save.js @@ -17087,6 +18195,7 @@ function pullquote_save_save(_ref) { * WordPress dependencies */ + /** * Internal dependencies */ @@ -17094,7 +18203,6 @@ function pullquote_save_save(_ref) { - var pullquote_metadata = { name: "core/pullquote", category: "formatting", @@ -17131,7 +18239,7 @@ var pullquote_name = pullquote_metadata.name; var pullquote_settings = { title: Object(external_this_wp_i18n_["__"])('Pullquote'), description: Object(external_this_wp_i18n_["__"])('Give special visual emphasis to a quote from your text.'), - icon: pullquote_icon, + icon: library_pullquote, example: { attributes: { value: '

    ' + // translators: Quote serving as example for the Pullquote block. Attributed to Matt Mullenweg. @@ -17529,6 +18637,21 @@ var block_settings = { edit: block_edit }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/rss.js + + +/** + * WordPress dependencies + */ + +var rss = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "-2 -2 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], { + d: "M14.92 18H18C18 9.32 10.82 2.25 2 2.25v3.02c7.12 0 12.92 5.71 12.92 12.73zm-5.44 0h3.08C12.56 12.27 7.82 7.6 2 7.6v3.02c2 0 3.87.77 5.29 2.16C8.7 14.17 9.48 16.03 9.48 18zm-5.35-.02c1.17 0 2.13-.93 2.13-2.09 0-1.15-.96-2.09-2.13-2.09-1.18 0-2.13.94-2.13 2.09 0 1.16.95 2.09 2.13 2.09z" +})); +/* harmony default export */ var library_rss = (rss); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/rss/edit.js @@ -17659,7 +18782,7 @@ 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"], { controls: toolbarControls })), 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_["__"])('RSS Settings') + title: Object(external_this_wp_i18n_["__"])('RSS settings') }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["RangeControl"], { label: Object(external_this_wp_i18n_["__"])('Number of items'), value: itemsToShow, @@ -17722,6 +18845,7 @@ function (_Component) { * WordPress dependencies */ + /** * Internal dependencies */ @@ -17731,7 +18855,7 @@ var rss_name = 'core/rss'; var rss_settings = { title: Object(external_this_wp_i18n_["__"])('RSS'), description: Object(external_this_wp_i18n_["__"])('Display entries from any RSS or Atom feed.'), - icon: 'rss', + icon: library_rss, category: 'widgets', keywords: [Object(external_this_wp_i18n_["__"])('atom'), Object(external_this_wp_i18n_["__"])('feed')], supports: { @@ -17746,6 +18870,21 @@ var rss_settings = { edit: rss_edit }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/search.js + + +/** + * WordPress dependencies + */ + +var search = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "-2 -2 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], { + d: "M12.14 4.18c1.87 1.87 2.11 4.75.72 6.89.12.1.22.21.36.31.2.16.47.36.81.59.34.24.56.39.66.47.42.31.73.57.94.78.32.32.6.65.84 1 .25.35.44.69.59 1.04.14.35.21.68.18 1-.02.32-.14.59-.36.81s-.49.34-.81.36c-.31.02-.65-.04-.99-.19-.35-.14-.7-.34-1.04-.59-.35-.24-.68-.52-1-.84-.21-.21-.47-.52-.77-.93-.1-.13-.25-.35-.47-.66-.22-.32-.4-.57-.56-.78-.16-.2-.29-.35-.44-.5-2.07 1.09-4.69.76-6.44-.98-2.14-2.15-2.14-5.64 0-7.78 2.15-2.15 5.63-2.15 7.78 0zm-1.41 6.36c1.36-1.37 1.36-3.58 0-4.95-1.37-1.37-3.59-1.37-4.95 0-1.37 1.37-1.37 3.58 0 4.95 1.36 1.37 3.58 1.37 4.95 0z" +})); +/* harmony default export */ var library_search = (search); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/search/edit.js @@ -17806,6 +18945,7 @@ function SearchEdit(_ref) { * WordPress dependencies */ + /** * Internal dependencies */ @@ -17815,7 +18955,7 @@ var search_name = 'core/search'; var search_settings = { title: Object(external_this_wp_i18n_["__"])('Search'), description: Object(external_this_wp_i18n_["__"])('Help visitors find your content.'), - icon: 'search', + icon: library_search, category: 'widgets', keywords: [Object(external_this_wp_i18n_["__"])('find')], supports: { @@ -17825,6 +18965,27 @@ var search_settings = { edit: SearchEdit }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/group.js + + +/** + * WordPress dependencies + */ + +var group = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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" +})); +/* harmony default export */ var library_group = (group); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/group/deprecated.js @@ -17874,10 +19035,6 @@ var group_deprecated_deprecated = [// v1 of group block. Deprecated to add an in // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/group/edit.js -/** - * External dependencies - */ - /** * WordPress dependencies */ @@ -17886,40 +19043,40 @@ var group_deprecated_deprecated = [// v1 of group block. Deprecated to add an in - function GroupEdit(_ref) { - var className = _ref.className, - setBackgroundColor = _ref.setBackgroundColor, - backgroundColor = _ref.backgroundColor, - hasInnerBlocks = _ref.hasInnerBlocks; - var styles = { - backgroundColor: backgroundColor.color - }; - var classes = classnames_default()(className, backgroundColor.class, { - 'has-background': !!backgroundColor.color - }); - 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_blockEditor_["PanelColorSettings"], { - title: Object(external_this_wp_i18n_["__"])('Color Settings'), - colorSettings: [{ - value: backgroundColor.color, - onChange: setBackgroundColor, - label: Object(external_this_wp_i18n_["__"])('Background Color') - }] - })), Object(external_this_wp_element_["createElement"])("div", { - className: classes, - style: styles + var hasInnerBlocks = _ref.hasInnerBlocks; + var ref = Object(external_this_wp_element_["useRef"])(); + + var _experimentalUseColo = Object(external_this_wp_blockEditor_["__experimentalUseColors"])([{ + name: 'textColor', + property: 'color' + }, { + name: 'backgroundColor', + className: 'has-background' + }], { + contrastCheckers: { + backgroundColor: true, + textColor: true + }, + colorDetector: { + targetRef: ref + } + }), + TextColor = _experimentalUseColo.TextColor, + BackgroundColor = _experimentalUseColo.BackgroundColor, + InspectorControlsColorPanel = _experimentalUseColo.InspectorControlsColorPanel; + + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, InspectorControlsColorPanel, Object(external_this_wp_element_["createElement"])(BackgroundColor, null, Object(external_this_wp_element_["createElement"])(TextColor, null, Object(external_this_wp_element_["createElement"])("div", { + className: "wp-block-group", + ref: 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, - __experimentalUIParts: { - hasSelectedUI: false, - hasMovers: false - } - })))); + renderAppender: !hasInnerBlocks && external_this_wp_blockEditor_["InnerBlocks"].ButtonBlockAppender + })))))); } -/* harmony default export */ var group_edit = (Object(external_this_wp_compose_["compose"])([Object(external_this_wp_blockEditor_["withColors"])('backgroundColor'), Object(external_this_wp_data_["withSelect"])(function (select, _ref2) { +/* harmony default export */ var group_edit = (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'), @@ -17931,28 +19088,6 @@ function GroupEdit(_ref) { }; })])(GroupEdit)); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/group/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var group_icon = (Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { - width: "24", - height: "24", - viewBox: "0 0 24 24", - xmlns: "http://www.w3.org/2000/svg" -}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["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(external_this_wp_element_["createElement"])(external_this_wp_components_["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" -}))); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/group/save.js @@ -17968,13 +19103,18 @@ function GroupEdit(_ref) { function group_save_save(_ref) { var attributes = _ref.attributes; var backgroundColor = attributes.backgroundColor, - customBackgroundColor = attributes.customBackgroundColor; + customBackgroundColor = attributes.customBackgroundColor, + textColor = attributes.textColor, + customTextColor = attributes.customTextColor; var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor); + var textClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor); var className = classnames_default()(backgroundClass, { + 'has-text-color': textColor || customTextColor, 'has-background': backgroundColor || customBackgroundColor }); var styles = { - backgroundColor: backgroundClass ? undefined : customBackgroundColor + backgroundColor: backgroundClass ? undefined : customBackgroundColor, + color: textClass ? undefined : customTextColor }; return Object(external_this_wp_element_["createElement"])("div", { className: className, @@ -17990,13 +19130,13 @@ function group_save_save(_ref) { */ + /** * Internal dependencies */ - var group_metadata = { name: "core/group", category: "layout", @@ -18006,6 +19146,12 @@ var group_metadata = { }, customBackgroundColor: { type: "string" + }, + textColor: { + type: "string" + }, + customTextColor: { + type: "string" } } }; @@ -18014,12 +19160,13 @@ var group_name = group_metadata.name; var group_settings = { title: Object(external_this_wp_i18n_["__"])('Group'), - icon: group_icon, + icon: library_group, description: Object(external_this_wp_i18n_["__"])('A block that groups other blocks.'), keywords: [Object(external_this_wp_i18n_["__"])('container'), Object(external_this_wp_i18n_["__"])('wrapper'), Object(external_this_wp_i18n_["__"])('row'), Object(external_this_wp_i18n_["__"])('section')], example: { attributes: { - customBackgroundColor: '#ffffff' + customBackgroundColor: '#ffffff', + customTextColor: '#000000' }, innerBlocks: [{ name: 'core/paragraph', @@ -18106,6 +19253,21 @@ var group_settings = { deprecated: group_deprecated }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/separator.js + + +/** + * WordPress dependencies + */ + +var separator = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], { + d: "M19 13H5v-2h14v2z" +})); +/* harmony default export */ var library_separator = (separator); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/separator/separator-settings.js @@ -18119,7 +19281,7 @@ var separator_settings_SeparatorSettings = function SeparatorSettings(_ref) { var color = _ref.color, setColor = _ref.setColor; return 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'), + title: Object(external_this_wp_i18n_["__"])('Color settings'), colorSettings: [{ value: color.color, onChange: setColor, @@ -18172,23 +19334,6 @@ function SeparatorEdit(_ref) { textColor: 'color' })(SeparatorEdit)); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/separator/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var separator_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_["Path"], { - d: "M19 13H5v-2h14v2z" -}))); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/separator/save.js @@ -18254,12 +19399,12 @@ var separator_transforms_transforms = { * WordPress dependencies */ + /** * Internal dependencies */ - var separator_metadata = { name: "core/separator", category: "layout", @@ -18279,7 +19424,7 @@ var separator_name = separator_metadata.name; var build_module_separator_settings = { title: Object(external_this_wp_i18n_["__"])('Separator'), description: Object(external_this_wp_i18n_["__"])('Create a break between ideas or sections with a horizontal separator.'), - icon: separator_icon, + icon: library_separator, keywords: [Object(external_this_wp_i18n_["__"])('horizontal-line'), 'hr', Object(external_this_wp_i18n_["__"])('divider')], example: { attributes: { @@ -18303,6 +19448,21 @@ var build_module_separator_settings = { save: separatorSave }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/shortcode.js + + +/** + * WordPress dependencies + */ + +var shortcode_shortcode = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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" +})); +/* harmony default export */ var library_shortcode = (shortcode_shortcode); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/shortcode/edit.js @@ -18338,20 +19498,6 @@ function ShortcodeEdit(_ref) { })); } -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/shortcode/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var shortcode_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: "M8.5,21.4l1.9,0.5l5.2-19.3l-1.9-0.5L8.5,21.4z M3,19h4v-2H5V7h2V5H3V19z M17,5v2h2v10h-2v2h4V5H17z" -}))); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/shortcode/save.js @@ -18365,7 +19511,7 @@ function shortcode_save_save(_ref) { } // EXTERNAL MODULE: external {"this":["wp","autop"]} -var external_this_wp_autop_ = __webpack_require__(70); +var external_this_wp_autop_ = __webpack_require__(83); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/shortcode/transforms.js /** @@ -18402,6 +19548,7 @@ var shortcode_transforms_transforms = { * WordPress dependencies */ + /** * Internal dependencies */ @@ -18409,13 +19556,22 @@ var shortcode_transforms_transforms = { +var shortcode_metadata = { + name: "core/shortcode", + category: "widgets", + attributes: { + text: { + type: "string", + source: "html" + } + } +}; +var shortcode_name = shortcode_metadata.name; -var shortcode_name = 'core/shortcode'; var shortcode_settings = { title: Object(external_this_wp_i18n_["__"])('Shortcode'), description: Object(external_this_wp_i18n_["__"])('Insert additional custom elements with a WordPress shortcode.'), - icon: shortcode_icon, - category: 'widgets', + icon: library_shortcode, transforms: shortcode_transforms, supports: { customClassName: false, @@ -18426,6 +19582,21 @@ var shortcode_settings = { save: shortcode_save_save }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/resize-corner-n-e.js + + +/** + * WordPress dependencies + */ + +var resizeCornerNE = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], { + d: "M13 4v2h3.59L6 16.59V13H4v7h7v-2H7.41L18 7.41V11h2V4h-7" +})); +/* harmony default export */ var resize_corner_n_e = (resizeCornerNE); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/spacer/edit.js @@ -18489,7 +19660,7 @@ var edit_SpacerEdit = function SpacerEdit(_ref) { setInputHeightValue(spacerHeight); } }), 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_["__"])('Spacer Settings') + title: Object(external_this_wp_i18n_["__"])('Spacer settings') }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["BaseControl"], { label: Object(external_this_wp_i18n_["__"])('Height in pixels'), id: id @@ -18533,20 +19704,6 @@ var edit_SpacerEdit = function SpacerEdit(_ref) { }; }), external_this_wp_compose_["withInstanceId"]])(edit_SpacerEdit)); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/spacer/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var spacer_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_["G"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], { - d: "M13 4v2h3.59L6 16.59V13H4v7h7v-2H7.41L18 7.41V11h2V4h-7" -})))); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/spacer/save.js function spacer_save_save(_ref) { @@ -18564,12 +19721,12 @@ function spacer_save_save(_ref) { * WordPress dependencies */ + /** * Internal dependencies */ - var spacer_metadata = { name: "core/spacer", category: "layout", @@ -18586,13 +19743,13 @@ var spacer_name = spacer_metadata.name; var spacer_settings = { title: Object(external_this_wp_i18n_["__"])('Spacer'), description: Object(external_this_wp_i18n_["__"])('Add white space between blocks and customize its height.'), - icon: spacer_icon, + icon: resize_corner_n_e, edit: spacer_edit, save: spacer_save_save }; // EXTERNAL MODULE: external {"this":["wp","deprecated"]} -var external_this_wp_deprecated_ = __webpack_require__(33); +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-library/build-module/subhead/edit.js @@ -18638,20 +19795,6 @@ function SubheadEdit(_ref) { })); } -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/subhead/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var subhead_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: "M7.1 6l-.5 3h4.5L9.4 19h3l1.8-10h4.5l.5-3H7.1z" -}))); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/subhead/save.js @@ -18689,16 +19832,18 @@ var subhead_transforms_transforms = { /* harmony default export */ var subhead_transforms = (subhead_transforms_transforms); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/subhead/index.js + + /** * WordPress dependencies */ + /** * Internal dependencies */ - var subhead_metadata = { name: "core/subhead", category: "common", @@ -18720,7 +19865,12 @@ var subhead_name = subhead_metadata.name; var subhead_settings = { title: Object(external_this_wp_i18n_["__"])('Subheading (deprecated)'), description: Object(external_this_wp_i18n_["__"])('This block is deprecated. Please use the Paragraph block instead.'), - icon: subhead_icon, + 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: "M7.1 6l-.5 3h4.5L9.4 19h3l1.8-10h4.5l.5-3H7.1z" + })), supports: { // Hide from inserter as this block is deprecated. inserter: false, @@ -18731,6 +19881,21 @@ var subhead_settings = { save: subhead_save_save }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/table.js + + +/** + * WordPress dependencies + */ + +var table = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], { + d: "M20 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 2v3H5V5h15zm-5 14h-5v-9h5v9zM5 10h3v9H5v-9zm12 9v-9h3v9h-3z" +})); +/* harmony default export */ var library_table = (table); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/table/deprecated.js @@ -18909,10 +20074,22 @@ var table_deprecated_deprecated = [{ }]; /* harmony default export */ var table_deprecated = (table_deprecated_deprecated); +// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/align-left.js +var align_left = __webpack_require__(275); + +// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/align-center.js +var align_center = __webpack_require__(276); + +// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/align-right.js +var align_right = __webpack_require__(277); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/table/state.js +function state_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function state_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { state_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { state_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -19076,7 +20253,7 @@ function insertRow(state, _ref2) { cells: Object(external_this_lodash_["times"])(cellCount, function (index) { var firstCellInColumn = Object(external_this_lodash_["get"])(firstRow, ['cells', index], {}); var inheritedAttributes = Object(external_this_lodash_["pick"])(firstCellInColumn, INHERITED_COLUMN_ATTRIBUTES); - return Object(objectSpread["a" /* default */])({}, inheritedAttributes, { + return state_objectSpread({}, inheritedAttributes, { content: '', tag: sectionName === 'head' ? 'th' : 'td' }); @@ -19213,23 +20390,6 @@ function isEmptyRow(row) { return !(row.cells && row.cells.length); } -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/table/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var table_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: "M20 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 2v3H5V5h15zm-5 14h-5v-9h5v9zM5 10h3v9H5v-9zm12 9v-9h3v9h-3z" -})))); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/table/edit.js @@ -19240,6 +20400,9 @@ function isEmptyRow(row) { +function table_edit_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function table_edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { table_edit_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { table_edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -19253,12 +20416,12 @@ function isEmptyRow(row) { + /** * Internal dependencies */ - var BACKGROUND_COLORS = [{ color: '#f3f4f5', name: 'Subtle light gray', @@ -19277,15 +20440,15 @@ var BACKGROUND_COLORS = [{ slug: 'subtle-pale-pink' }]; var ALIGNMENT_CONTROLS = [{ - icon: 'editor-alignleft', + icon: align_left["a" /* default */], title: Object(external_this_wp_i18n_["__"])('Align Column Left'), align: 'left' }, { - icon: 'editor-aligncenter', + icon: align_center["a" /* default */], title: Object(external_this_wp_i18n_["__"])('Align Column Center'), align: 'center' }, { - icon: 'editor-alignright', + icon: align_right["a" /* default */], title: Object(external_this_wp_i18n_["__"])('Align Column Right'), align: 'right' }]; @@ -19409,7 +20572,7 @@ function (_Component) { attributes = _this$props2.attributes, setAttributes = _this$props2.setAttributes; setAttributes(updateSelectedCell(attributes, selectedCell, function (cellAttributes) { - return Object(objectSpread["a" /* default */])({}, cellAttributes, { + return table_edit_objectSpread({}, cellAttributes, { content: content }); })); @@ -19439,7 +20602,7 @@ function (_Component) { attributes = _this$props3.attributes, setAttributes = _this$props3.setAttributes; var newAttributes = updateSelectedCell(attributes, columnSelection, function (cellAttributes) { - return Object(objectSpread["a" /* default */])({}, cellAttributes, { + return table_edit_objectSpread({}, cellAttributes, { align: align }); }); @@ -19646,7 +20809,7 @@ function (_Component) { return function () { _this2.setState({ - selectedCell: Object(objectSpread["a" /* default */])({}, cellLocation, { + selectedCell: table_edit_objectSpread({}, cellLocation, { type: 'cell' }) }); @@ -19732,6 +20895,14 @@ function (_Component) { columnIndex: columnIndex }; var cellClasses = classnames_default()(Object(defineProperty["a" /* default */])({}, "has-text-align-".concat(align), align), 'wp-block-table__cell-content'); + var placeholder = ''; + + if (name === 'head') { + placeholder = Object(external_this_wp_i18n_["__"])('Header label'); + } else if (name === 'foot') { + placeholder = Object(external_this_wp_i18n_["__"])('Footer label'); + } + return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], { tagName: CellTag, key: columnIndex, @@ -19739,7 +20910,8 @@ function (_Component) { scope: CellTag === 'th' ? scope : undefined, value: content, onChange: _this3.onChange, - unstableOnFocus: _this3.createOnFocus(cellLocation) + unstableOnFocus: _this3.createOnFocus(cellLocation), + placeholder: placeholder }); })); })); @@ -19782,7 +20954,7 @@ function (_Component) { return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], { label: Object(external_this_wp_i18n_["__"])('Table'), icon: Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], { - icon: table_icon, + icon: library_table, showColors: true }), instructions: Object(external_this_wp_i18n_["__"])('Insert a table for sharing data.') @@ -19828,7 +21000,7 @@ function (_Component) { }, onHover: this.onHoverAlignment })), 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_["__"])('Table Settings'), + title: Object(external_this_wp_i18n_["__"])('Table settings'), className: "blocks-table-settings" }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { label: Object(external_this_wp_i18n_["__"])('Fixed width table cells'), @@ -19843,7 +21015,7 @@ function (_Component) { checked: !!(foot && foot.length), onChange: this.onToggleFooterSection })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["PanelColorSettings"], { - title: Object(external_this_wp_i18n_["__"])('Color Settings'), + title: Object(external_this_wp_i18n_["__"])('Color settings'), initialOpen: false, colorSettings: [{ value: backgroundColor.color, @@ -20026,13 +21198,13 @@ var table_transforms_transforms = { * WordPress dependencies */ + /** * Internal dependencies */ - var table_metadata = { name: "core/table", category: "formatting", @@ -20164,7 +21336,7 @@ var table_name = table_metadata.name; var table_settings = { title: Object(external_this_wp_i18n_["__"])('Table'), description: Object(external_this_wp_i18n_["__"])('Insert a table — perfect for sharing charts and data.'), - icon: table_icon, + icon: library_table, example: { attributes: { head: [{ @@ -20419,6 +21591,21 @@ var text_columns_settings = { save: text_columns_save_save }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/verse.js + + +/** + * WordPress dependencies + */ + +var verse = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], { + d: "M21 11.01L3 11V13H21V11.01ZM3 16H17V18H3V16ZM15 6H3V8.01L15 8V6Z" +})); +/* harmony default export */ var library_verse = (verse); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/verse/deprecated.js @@ -20497,20 +21684,6 @@ function VerseEdit(_ref) { })); } -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/verse/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var verse_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: "M21 11.01L3 11V13H21V11.01ZM3 16H17V18H3V16ZM15 6H3V8.01L15 8V6Z" -}))); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/verse/save.js @@ -20564,13 +21737,13 @@ var verse_transforms_transforms = { * WordPress dependencies */ + /** * Internal dependencies */ - var verse_metadata = { name: "core/verse", category: "formatting", @@ -20594,7 +21767,7 @@ var verse_name = verse_metadata.name; var verse_settings = { title: Object(external_this_wp_i18n_["__"])('Verse'), description: Object(external_this_wp_i18n_["__"])('Insert poetry. Use special spacing formats. Or quote song lyrics.'), - icon: verse_icon, + icon: library_verse, example: { attributes: { // translators: Sample content for the Verse block. Can be replaced with a more locale-adequate work. @@ -20613,22 +21786,20 @@ var verse_settings = { save: verse_save_save }; -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/icon.js +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/video.js /** * WordPress dependencies */ -/* harmony default export */ var video_icon = (Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], { +var video_video = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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_["Path"], { +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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" -}))); +})); +/* harmony default export */ var library_video = (video_video); // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/edit-common-settings.js @@ -20724,13 +21895,13 @@ var edit_common_settings_VideoSettings = function VideoSettings(_ref) { + /** * Internal dependencies */ - var video_edit_ALLOWED_MEDIA_TYPES = ['video']; var VIDEO_POSTER_ALLOWED_MEDIA_TYPES = ['image']; @@ -20744,12 +21915,7 @@ function (_Component) { Object(classCallCheck["a" /* default */])(this, VideoEdit); - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(VideoEdit).apply(this, arguments)); // edit component has its own src in the state so it can be edited - // without setting the actual value outside of the edit UI - - _this.state = { - editing: !_this.props.attributes.src - }; + _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(VideoEdit).apply(this, arguments)); _this.videoPlayer = Object(external_this_wp_element_["createRef"])(); _this.posterImageButton = Object(external_this_wp_element_["createRef"])(); _this.onSelectURL = _this.onSelectURL.bind(Object(assertThisInitialized["a" /* default */])(_this)); @@ -20762,8 +21928,6 @@ function (_Component) { Object(createClass["a" /* default */])(VideoEdit, [{ key: "componentDidMount", value: function componentDidMount() { - var _this2 = this; - var _this$props = this.props, attributes = _this$props.attributes, mediaUpload = _this$props.mediaUpload, @@ -20788,10 +21952,6 @@ function (_Component) { }); }, onError: function onError(message) { - _this2.setState({ - editing: true - }); - noticeOperations.createErrorNotice(message); }, allowedTypes: video_edit_ALLOWED_MEDIA_TYPES @@ -20812,8 +21972,7 @@ function (_Component) { var _this$props2 = this.props, attributes = _this$props2.attributes, setAttributes = _this$props2.setAttributes; - var src = attributes.src; // Set the block's src from the edit component's state, and switch off - // the editing UI. + var src = attributes.src; if (newSrc !== src) { // Check if there's an embed block that handles this URL. @@ -20833,10 +21992,6 @@ function (_Component) { id: undefined }); } - - this.setState({ - editing: false - }); } }, { key: "onSelectPoster", @@ -20866,7 +22021,7 @@ function (_Component) { }, { key: "render", value: function render() { - var _this3 = this; + var _this2 = this; var _this$props$attribute = this.props.attributes, caption = _this$props$attribute.caption, @@ -20880,43 +22035,31 @@ function (_Component) { noticeUI = _this$props3.noticeUI, attributes = _this$props3.attributes, setAttributes = _this$props3.setAttributes; - var editing = this.state.editing; - - var switchToEditing = function switchToEditing() { - _this3.setState({ - editing: true - }); - }; var onSelectVideo = function onSelectVideo(media) { if (!media || !media.url) { - // in this case there was an error and we should continue in the editing state - // previous attributes should be removed because they may be temporary blob urls + // in this case there was an error + // previous attributes should be removed + // because they may be temporary blob urls setAttributes({ src: undefined, id: undefined }); - switchToEditing(); return; } // sets the block's attribute and updates the edit component from the - // selected media, then switches off the editing UI + // selected media setAttributes({ src: media.url, id: media.id }); - - _this3.setState({ - src: media.url, - editing: false - }); }; - if (editing) { + if (!src) { return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaPlaceholder"], { icon: Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], { - icon: video_icon + icon: library_video }), className: className, onSelect: onSelectVideo, @@ -20930,13 +22073,15 @@ 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_["Button"], { - className: "components-toolbar__control", - label: Object(external_this_wp_i18n_["__"])('Edit video'), - onClick: switchToEditing, - icon: "edit" - }))), 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_["__"])('Video Settings') + 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_blockEditor_["MediaReplaceFlow"], { + mediaURL: src, + allowedTypes: video_edit_ALLOWED_MEDIA_TYPES, + accept: "video/*", + onSelect: onSelectVideo, + onSelectURL: this.onSelectURL, + onError: this.onUploadError + })), 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_["__"])('Video settings') }, Object(external_this_wp_element_["createElement"])(edit_common_settings, { setAttributes: setAttributes, attributes: attributes @@ -20951,9 +22096,9 @@ function (_Component) { return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], { isSecondary: true, onClick: open, - ref: _this3.posterImageButton, + ref: _this2.posterImageButton, "aria-describedby": videoPosterDescription - }, !_this3.props.attributes.poster ? Object(external_this_wp_i18n_["__"])('Select Poster Image') : Object(external_this_wp_i18n_["__"])('Replace image')); + }, !_this2.props.attributes.poster ? Object(external_this_wp_i18n_["__"])('Select Poster Image') : Object(external_this_wp_i18n_["__"])('Replace image')); } }), Object(external_this_wp_element_["createElement"])("p", { id: videoPosterDescription, @@ -21108,12 +22253,12 @@ var video_transforms_transforms = { * WordPress dependencies */ + /** * Internal dependencies */ - var video_metadata = { name: "core/video", category: "common", @@ -21185,7 +22330,7 @@ var video_name = video_metadata.name; var video_settings = { title: Object(external_this_wp_i18n_["__"])('Video'), description: Object(external_this_wp_i18n_["__"])('Embed a video from your media library or upload a new one.'), - icon: video_icon, + icon: library_video, keywords: [Object(external_this_wp_i18n_["__"])('movie')], transforms: video_transforms, supports: { @@ -21195,6 +22340,21 @@ var video_settings = { save: video_save_save }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/tag.js + + +/** + * WordPress dependencies + */ + +var tag_tag = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "-2 -2 24 24" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], { + d: "M11 2h7v7L8 19l-7-7zm3 6c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z" +})); +/* harmony default export */ var library_tag = (tag_tag); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/tag-cloud/edit.js @@ -21283,7 +22443,7 @@ function (_Component) { showTagCounts = attributes.showTagCounts; var taxonomyOptions = this.getTaxonomyOptions(); var inspectorControls = 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_["__"])('Tag Cloud Settings') + title: Object(external_this_wp_i18n_["__"])('Tag Cloud settings') }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SelectControl"], { label: Object(external_this_wp_i18n_["__"])('Taxonomy'), options: taxonomyOptions, @@ -21316,6 +22476,7 @@ function (_Component) { * WordPress dependencies */ + /** * Internal dependencies */ @@ -21325,7 +22486,7 @@ var tag_cloud_name = 'core/tag-cloud'; var tag_cloud_settings = { title: Object(external_this_wp_i18n_["__"])('Tag Cloud'), description: Object(external_this_wp_i18n_["__"])('A cloud of your most used tags.'), - icon: 'tag', + icon: library_tag, category: 'widgets', supports: { html: false, @@ -21334,6 +22495,76 @@ var tag_cloud_settings = { edit: tag_cloud_edit }; +// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/classic.js + + +/** + * WordPress dependencies + */ + +var classic = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["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(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Rect"], { + x: "11", + y: "8", + width: "2", + height: "2" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Rect"], { + x: "11", + y: "11", + width: "2", + height: "2" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Rect"], { + x: "8", + y: "8", + width: "2", + height: "2" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Rect"], { + x: "8", + y: "11", + width: "2", + height: "2" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Rect"], { + x: "5", + y: "11", + width: "2", + height: "2" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Rect"], { + x: "5", + y: "8", + width: "2", + height: "2" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Rect"], { + x: "8", + y: "14", + width: "8", + height: "2" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Rect"], { + x: "14", + y: "11", + width: "2", + height: "2" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Rect"], { + x: "14", + y: "8", + width: "2", + height: "2" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Rect"], { + x: "17", + y: "11", + width: "2", + height: "2" +}), Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Rect"], { + x: "17", + y: "8", + width: "2", + height: "2" +})); +/* harmony default export */ var library_classic = (classic); + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/classic/edit.js @@ -21344,6 +22575,10 @@ var tag_cloud_settings = { +function classic_edit_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function classic_edit_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { classic_edit_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { classic_edit_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * WordPress dependencies */ @@ -21430,7 +22665,7 @@ function (_Component) { var clientId = this.props.clientId; var settings = window.wpEditorL10n.tinymce.settings; wp.oldEditor.initialize("editor-".concat(clientId), { - tinymce: Object(objectSpread["a" /* default */])({}, settings, { + tinymce: classic_edit_objectSpread({}, settings, { inline: true, content_css: false, fixed_toolbar_container: "#toolbar-".concat(clientId), @@ -21576,78 +22811,6 @@ function (_Component) { -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/classic/icon.js - - -/** - * WordPress dependencies - */ - -/* harmony default export */ var classic_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 M0,0h24v24H0V0z", - fill: "none" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["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(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], { - x: "11", - y: "8", - width: "2", - height: "2" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], { - x: "11", - y: "11", - width: "2", - height: "2" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], { - x: "8", - y: "8", - width: "2", - height: "2" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], { - x: "8", - y: "11", - width: "2", - height: "2" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], { - x: "5", - y: "11", - width: "2", - height: "2" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], { - x: "5", - y: "8", - width: "2", - height: "2" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], { - x: "8", - y: "14", - width: "8", - height: "2" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], { - x: "14", - y: "11", - width: "2", - height: "2" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], { - x: "14", - y: "8", - width: "2", - height: "2" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], { - x: "17", - y: "11", - width: "2", - height: "2" -}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], { - x: "17", - y: "8", - width: "2", - height: "2" -}))); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/classic/save.js @@ -21666,12 +22829,12 @@ function classic_save_save(_ref) { * WordPress dependencies */ + /** * Internal dependencies */ - var classic_metadata = { name: "core/freeform", category: "formatting", @@ -21688,7 +22851,7 @@ var classic_name = classic_metadata.name; var classic_settings = { title: Object(external_this_wp_i18n_["_x"])('Classic', 'block title'), description: Object(external_this_wp_i18n_["__"])('Use the classic WordPress editor.'), - icon: classic_icon, + icon: library_classic, supports: { className: false, customClassName: false, @@ -21712,7 +22875,6 @@ var classic_settings = { - /** * Internal dependencies */ @@ -21768,6 +22930,9 @@ var classic_settings = { + + + /** * Function to register an individual block. * @@ -21805,9 +22970,9 @@ var build_module_registerBlock = function registerBlock(block) { 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, 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); + build_module_paragraph_namespaceObject, build_module_image_namespaceObject, build_module_heading_namespaceObject, build_module_gallery_namespaceObject, build_module_list_namespaceObject, build_module_quote_namespaceObject, // Register all remaining core blocks. + build_module_shortcode_namespaceObject, archives_namespaceObject, build_module_audio_namespaceObject, build_module_button_namespaceObject, buttons_namespaceObject, build_module_calendar_namespaceObject, categories_namespaceObject, build_module_code_namespaceObject, build_module_columns_namespaceObject, build_module_column_namespaceObject, build_module_cover_namespaceObject, embed_namespaceObject].concat(Object(toConsumableArray["a" /* default */])(embed_common), Object(toConsumableArray["a" /* default */])(embed_others), [build_module_file_namespaceObject, build_module_group_namespaceObject, window.wp && window.wp.oldEditor ? build_module_classic_namespaceObject : null, // Only add the classic block in WP Context + build_module_html_namespaceObject, media_text_namespaceObject, latest_comments_namespaceObject, latest_posts_namespaceObject, missing_namespaceObject, build_module_more_namespaceObject, navigation_namespaceObject, navigation_link_namespaceObject, nextpage_namespaceObject, build_module_preformatted_namespaceObject, build_module_pullquote_namespaceObject, build_module_rss_namespaceObject, build_module_search_namespaceObject, build_module_separator_namespaceObject, block_namespaceObject, spacer_namespaceObject, subhead_namespaceObject, build_module_table_namespaceObject, tag_cloud_namespaceObject, text_columns_namespaceObject, build_module_verse_namespaceObject, build_module_video_namespaceObject]).forEach(build_module_registerBlock); Object(external_this_wp_blocks_["setDefaultBlockName"])(paragraph_name); if (window.wp && window.wp.oldEditor) { @@ -21816,7 +22981,7 @@ var build_module_registerCoreBlocks = function registerCoreBlocks() { Object(external_this_wp_blocks_["setUnregisteredTypeHandlerName"])(missing_name); - if (group_namespaceObject) { + if (build_module_group_namespaceObject) { Object(external_this_wp_blocks_["setGroupingBlockName"])(group_name); } }; @@ -21838,50 +23003,7 @@ 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"]; }()); - -/***/ }), - -/***/ 4: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["data"]; }()); - -/***/ }), - -/***/ 40: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; }); -function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } - - return target; -} - -/***/ }), - -/***/ 42: +/***/ 44: /***/ (function(module, exports, __webpack_require__) { module.exports = function memize( fn, options ) { @@ -21999,7 +23121,29 @@ module.exports = function memize( fn, options ) { /***/ }), -/***/ 49: +/***/ 5: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} + +/***/ }), + +/***/ 52: /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;// TinyColor v1.4.1 @@ -23200,21 +24344,14 @@ else {} /***/ }), -/***/ 5: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["blockEditor"]; }()); - -/***/ }), - -/***/ 51: +/***/ 54: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["viewport"]; }()); /***/ }), -/***/ 55: +/***/ 58: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["date"]; }()); @@ -23222,48 +24359,42 @@ else {} /***/ }), /***/ 6: -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/***/ (function(module, exports) { -"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; -} +(function() { module.exports = this["wp"]["blockEditor"]; }()); /***/ }), -/***/ 60: +/***/ 65: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["serverSideRender"]; }()); /***/ }), -/***/ 61: +/***/ 66: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["escapeHtml"]; }()); /***/ }), -/***/ 63: +/***/ 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; +} + +/***/ }), + +/***/ 71: /***/ (function(module, exports) { var g; @@ -23290,36 +24421,28 @@ module.exports = g; /***/ }), -/***/ 64: +/***/ 73: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["coreData"]; }()); /***/ }), -/***/ 7: -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/***/ 8: +/***/ (function(module, exports) { -"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; -} +(function() { module.exports = this["wp"]["compose"]; }()); /***/ }), -/***/ 70: +/***/ 83: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["autop"]; }()); /***/ }), -/***/ 71: +/***/ 86: /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! @@ -23435,772 +24558,10 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! /***/ }), -/***/ 8: +/***/ 9: /***/ (function(module, exports) { -(function() { module.exports = this["wp"]["compose"]; }()); - -/***/ }), - -/***/ 85: -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -// Copyright Joyent, Inc. and other Node contributors. -// -// Permission is hereby granted, free of charge, to any person obtaining a -// copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to permit -// persons to whom the Software is furnished to do so, subject to the -// following conditions: -// -// The above copyright notice and this permission notice shall be included -// in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN -// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE -// USE OR OTHER DEALINGS IN THE SOFTWARE. - - - -var punycode = __webpack_require__(121); -var util = __webpack_require__(123); - -exports.parse = urlParse; -exports.resolve = urlResolve; -exports.resolveObject = urlResolveObject; -exports.format = urlFormat; - -exports.Url = Url; - -function Url() { - this.protocol = null; - this.slashes = null; - this.auth = null; - this.host = null; - this.port = null; - this.hostname = null; - this.hash = null; - this.search = null; - this.query = null; - this.pathname = null; - this.path = null; - this.href = null; -} - -// Reference: RFC 3986, RFC 1808, RFC 2396 - -// define these here so at least they only have to be -// compiled once on the first module load. -var protocolPattern = /^([a-z0-9.+-]+:)/i, - portPattern = /:[0-9]*$/, - - // Special case for a simple path URL - simplePathPattern = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, - - // RFC 2396: characters reserved for delimiting URLs. - // We actually just auto-escape these. - delims = ['<', '>', '"', '`', ' ', '\r', '\n', '\t'], - - // RFC 2396: characters not allowed for various reasons. - unwise = ['{', '}', '|', '\\', '^', '`'].concat(delims), - - // Allowed by RFCs, but cause of XSS attacks. Always escape these. - autoEscape = ['\''].concat(unwise), - // Characters that are never ever allowed in a hostname. - // Note that any invalid chars are also handled, but these - // are the ones that are *expected* to be seen, so we fast-path - // them. - nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape), - hostEndingChars = ['/', '?', '#'], - hostnameMaxLen = 255, - hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/, - hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, - // protocols that can allow "unsafe" and "unwise" chars. - unsafeProtocol = { - 'javascript': true, - 'javascript:': true - }, - // protocols that never have a hostname. - hostlessProtocol = { - 'javascript': true, - 'javascript:': true - }, - // protocols that always contain a // bit. - slashedProtocol = { - 'http': true, - 'https': true, - 'ftp': true, - 'gopher': true, - 'file': true, - 'http:': true, - 'https:': true, - 'ftp:': true, - 'gopher:': true, - 'file:': true - }, - querystring = __webpack_require__(124); - -function urlParse(url, parseQueryString, slashesDenoteHost) { - if (url && util.isObject(url) && url instanceof Url) return url; - - var u = new Url; - u.parse(url, parseQueryString, slashesDenoteHost); - return u; -} - -Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) { - if (!util.isString(url)) { - throw new TypeError("Parameter 'url' must be a string, not " + typeof url); - } - - // Copy chrome, IE, opera backslash-handling behavior. - // Back slashes before the query string get converted to forward slashes - // See: https://code.google.com/p/chromium/issues/detail?id=25916 - var queryIndex = url.indexOf('?'), - splitter = - (queryIndex !== -1 && queryIndex < url.indexOf('#')) ? '?' : '#', - uSplit = url.split(splitter), - slashRegex = /\\/g; - uSplit[0] = uSplit[0].replace(slashRegex, '/'); - url = uSplit.join(splitter); - - var rest = url; - - // trim before proceeding. - // This is to support parse stuff like " http://foo.com \n" - rest = rest.trim(); - - if (!slashesDenoteHost && url.split('#').length === 1) { - // Try fast path regexp - var simplePath = simplePathPattern.exec(rest); - if (simplePath) { - this.path = rest; - this.href = rest; - this.pathname = simplePath[1]; - if (simplePath[2]) { - this.search = simplePath[2]; - if (parseQueryString) { - this.query = querystring.parse(this.search.substr(1)); - } else { - this.query = this.search.substr(1); - } - } else if (parseQueryString) { - this.search = ''; - this.query = {}; - } - return this; - } - } - - var proto = protocolPattern.exec(rest); - if (proto) { - proto = proto[0]; - var lowerProto = proto.toLowerCase(); - this.protocol = lowerProto; - rest = rest.substr(proto.length); - } - - // figure out if it's got a host - // user@server is *always* interpreted as a hostname, and url - // resolution will treat //foo/bar as host=foo,path=bar because that's - // how the browser resolves relative URLs. - if (slashesDenoteHost || proto || rest.match(/^\/\/[^@\/]+@[^@\/]+/)) { - var slashes = rest.substr(0, 2) === '//'; - if (slashes && !(proto && hostlessProtocol[proto])) { - rest = rest.substr(2); - this.slashes = true; - } - } - - if (!hostlessProtocol[proto] && - (slashes || (proto && !slashedProtocol[proto]))) { - - // there's a hostname. - // the first instance of /, ?, ;, or # ends the host. - // - // If there is an @ in the hostname, then non-host chars *are* allowed - // to the left of the last @ sign, unless some host-ending character - // comes *before* the @-sign. - // URLs are obnoxious. - // - // ex: - // http://a@b@c/ => user:a@b host:c - // http://a@b?@c => user:a host:c path:/?@c - - // v0.12 TODO(isaacs): This is not quite how Chrome does things. - // Review our test case against browsers more comprehensively. - - // find the first instance of any hostEndingChars - var hostEnd = -1; - for (var i = 0; i < hostEndingChars.length; i++) { - var hec = rest.indexOf(hostEndingChars[i]); - if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) - hostEnd = hec; - } - - // at this point, either we have an explicit point where the - // auth portion cannot go past, or the last @ char is the decider. - var auth, atSign; - if (hostEnd === -1) { - // atSign can be anywhere. - atSign = rest.lastIndexOf('@'); - } else { - // atSign must be in auth portion. - // http://a@b/c@d => host:b auth:a path:/c@d - atSign = rest.lastIndexOf('@', hostEnd); - } - - // Now we have a portion which is definitely the auth. - // Pull that off. - if (atSign !== -1) { - auth = rest.slice(0, atSign); - rest = rest.slice(atSign + 1); - this.auth = decodeURIComponent(auth); - } - - // the host is the remaining to the left of the first non-host char - hostEnd = -1; - for (var i = 0; i < nonHostChars.length; i++) { - var hec = rest.indexOf(nonHostChars[i]); - if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) - hostEnd = hec; - } - // if we still have not hit it, then the entire thing is a host. - if (hostEnd === -1) - hostEnd = rest.length; - - this.host = rest.slice(0, hostEnd); - rest = rest.slice(hostEnd); - - // pull out port. - this.parseHost(); - - // we've indicated that there is a hostname, - // so even if it's empty, it has to be present. - this.hostname = this.hostname || ''; - - // if hostname begins with [ and ends with ] - // assume that it's an IPv6 address. - var ipv6Hostname = this.hostname[0] === '[' && - this.hostname[this.hostname.length - 1] === ']'; - - // validate a little. - if (!ipv6Hostname) { - var hostparts = this.hostname.split(/\./); - for (var i = 0, l = hostparts.length; i < l; i++) { - var part = hostparts[i]; - if (!part) continue; - if (!part.match(hostnamePartPattern)) { - var newpart = ''; - for (var j = 0, k = part.length; j < k; j++) { - if (part.charCodeAt(j) > 127) { - // we replace non-ASCII char with a temporary placeholder - // we need this to make sure size of hostname is not - // broken by replacing non-ASCII by nothing - newpart += 'x'; - } else { - newpart += part[j]; - } - } - // we test again with ASCII char only - if (!newpart.match(hostnamePartPattern)) { - var validParts = hostparts.slice(0, i); - var notHost = hostparts.slice(i + 1); - var bit = part.match(hostnamePartStart); - if (bit) { - validParts.push(bit[1]); - notHost.unshift(bit[2]); - } - if (notHost.length) { - rest = '/' + notHost.join('.') + rest; - } - this.hostname = validParts.join('.'); - break; - } - } - } - } - - if (this.hostname.length > hostnameMaxLen) { - this.hostname = ''; - } else { - // hostnames are always lower case. - this.hostname = this.hostname.toLowerCase(); - } - - if (!ipv6Hostname) { - // IDNA Support: Returns a punycoded representation of "domain". - // It only converts parts of the domain name that - // have non-ASCII characters, i.e. it doesn't matter if - // you call it with a domain that already is ASCII-only. - this.hostname = punycode.toASCII(this.hostname); - } - - var p = this.port ? ':' + this.port : ''; - var h = this.hostname || ''; - this.host = h + p; - this.href += this.host; - - // strip [ and ] from the hostname - // the host field still retains them, though - if (ipv6Hostname) { - this.hostname = this.hostname.substr(1, this.hostname.length - 2); - if (rest[0] !== '/') { - rest = '/' + rest; - } - } - } - - // now rest is set to the post-host stuff. - // chop off any delim chars. - if (!unsafeProtocol[lowerProto]) { - - // First, make 100% sure that any "autoEscape" chars get - // escaped, even if encodeURIComponent doesn't think they - // need to be. - for (var i = 0, l = autoEscape.length; i < l; i++) { - var ae = autoEscape[i]; - if (rest.indexOf(ae) === -1) - continue; - var esc = encodeURIComponent(ae); - if (esc === ae) { - esc = escape(ae); - } - rest = rest.split(ae).join(esc); - } - } - - - // chop off from the tail first. - var hash = rest.indexOf('#'); - if (hash !== -1) { - // got a fragment string. - this.hash = rest.substr(hash); - rest = rest.slice(0, hash); - } - var qm = rest.indexOf('?'); - if (qm !== -1) { - this.search = rest.substr(qm); - this.query = rest.substr(qm + 1); - if (parseQueryString) { - this.query = querystring.parse(this.query); - } - rest = rest.slice(0, qm); - } else if (parseQueryString) { - // no query string, but parseQueryString still requested - this.search = ''; - this.query = {}; - } - if (rest) this.pathname = rest; - if (slashedProtocol[lowerProto] && - this.hostname && !this.pathname) { - this.pathname = '/'; - } - - //to support http.request - if (this.pathname || this.search) { - var p = this.pathname || ''; - var s = this.search || ''; - this.path = p + s; - } - - // finally, reconstruct the href based on what has been validated. - this.href = this.format(); - return this; -}; - -// format a parsed object into a url string -function urlFormat(obj) { - // ensure it's an object, and not a string url. - // If it's an obj, this is a no-op. - // this way, you can call url_format() on strings - // to clean up potentially wonky urls. - if (util.isString(obj)) obj = urlParse(obj); - if (!(obj instanceof Url)) return Url.prototype.format.call(obj); - return obj.format(); -} - -Url.prototype.format = function() { - var auth = this.auth || ''; - if (auth) { - auth = encodeURIComponent(auth); - auth = auth.replace(/%3A/i, ':'); - auth += '@'; - } - - var protocol = this.protocol || '', - pathname = this.pathname || '', - hash = this.hash || '', - host = false, - query = ''; - - if (this.host) { - host = auth + this.host; - } else if (this.hostname) { - host = auth + (this.hostname.indexOf(':') === -1 ? - this.hostname : - '[' + this.hostname + ']'); - if (this.port) { - host += ':' + this.port; - } - } - - if (this.query && - util.isObject(this.query) && - Object.keys(this.query).length) { - query = querystring.stringify(this.query); - } - - var search = this.search || (query && ('?' + query)) || ''; - - if (protocol && protocol.substr(-1) !== ':') protocol += ':'; - - // only the slashedProtocols get the //. Not mailto:, xmpp:, etc. - // unless they had them to begin with. - if (this.slashes || - (!protocol || slashedProtocol[protocol]) && host !== false) { - host = '//' + (host || ''); - if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname; - } else if (!host) { - host = ''; - } - - if (hash && hash.charAt(0) !== '#') hash = '#' + hash; - if (search && search.charAt(0) !== '?') search = '?' + search; - - pathname = pathname.replace(/[?#]/g, function(match) { - return encodeURIComponent(match); - }); - search = search.replace('#', '%23'); - - return protocol + host + pathname + search + hash; -}; - -function urlResolve(source, relative) { - return urlParse(source, false, true).resolve(relative); -} - -Url.prototype.resolve = function(relative) { - return this.resolveObject(urlParse(relative, false, true)).format(); -}; - -function urlResolveObject(source, relative) { - if (!source) return relative; - return urlParse(source, false, true).resolveObject(relative); -} - -Url.prototype.resolveObject = function(relative) { - if (util.isString(relative)) { - var rel = new Url(); - rel.parse(relative, false, true); - relative = rel; - } - - var result = new Url(); - var tkeys = Object.keys(this); - for (var tk = 0; tk < tkeys.length; tk++) { - var tkey = tkeys[tk]; - result[tkey] = this[tkey]; - } - - // hash is always overridden, no matter what. - // even href="" will remove it. - result.hash = relative.hash; - - // if the relative url is empty, then there's nothing left to do here. - if (relative.href === '') { - result.href = result.format(); - return result; - } - - // hrefs like //foo/bar always cut to the protocol. - if (relative.slashes && !relative.protocol) { - // take everything except the protocol from relative - var rkeys = Object.keys(relative); - for (var rk = 0; rk < rkeys.length; rk++) { - var rkey = rkeys[rk]; - if (rkey !== 'protocol') - result[rkey] = relative[rkey]; - } - - //urlParse appends trailing / to urls like http://www.example.com - if (slashedProtocol[result.protocol] && - result.hostname && !result.pathname) { - result.path = result.pathname = '/'; - } - - result.href = result.format(); - return result; - } - - if (relative.protocol && relative.protocol !== result.protocol) { - // if it's a known url protocol, then changing - // the protocol does weird things - // first, if it's not file:, then we MUST have a host, - // and if there was a path - // to begin with, then we MUST have a path. - // if it is file:, then the host is dropped, - // because that's known to be hostless. - // anything else is assumed to be absolute. - if (!slashedProtocol[relative.protocol]) { - var keys = Object.keys(relative); - for (var v = 0; v < keys.length; v++) { - var k = keys[v]; - result[k] = relative[k]; - } - result.href = result.format(); - return result; - } - - result.protocol = relative.protocol; - if (!relative.host && !hostlessProtocol[relative.protocol]) { - var relPath = (relative.pathname || '').split('/'); - while (relPath.length && !(relative.host = relPath.shift())); - if (!relative.host) relative.host = ''; - if (!relative.hostname) relative.hostname = ''; - if (relPath[0] !== '') relPath.unshift(''); - if (relPath.length < 2) relPath.unshift(''); - result.pathname = relPath.join('/'); - } else { - result.pathname = relative.pathname; - } - result.search = relative.search; - result.query = relative.query; - result.host = relative.host || ''; - result.auth = relative.auth; - result.hostname = relative.hostname || relative.host; - result.port = relative.port; - // to support http.request - if (result.pathname || result.search) { - var p = result.pathname || ''; - var s = result.search || ''; - result.path = p + s; - } - result.slashes = result.slashes || relative.slashes; - result.href = result.format(); - return result; - } - - var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'), - isRelAbs = ( - relative.host || - relative.pathname && relative.pathname.charAt(0) === '/' - ), - mustEndAbs = (isRelAbs || isSourceAbs || - (result.host && relative.pathname)), - removeAllDots = mustEndAbs, - srcPath = result.pathname && result.pathname.split('/') || [], - relPath = relative.pathname && relative.pathname.split('/') || [], - psychotic = result.protocol && !slashedProtocol[result.protocol]; - - // if the url is a non-slashed url, then relative - // links like ../.. should be able - // to crawl up to the hostname, as well. This is strange. - // result.protocol has already been set by now. - // Later on, put the first path part into the host field. - if (psychotic) { - result.hostname = ''; - result.port = null; - if (result.host) { - if (srcPath[0] === '') srcPath[0] = result.host; - else srcPath.unshift(result.host); - } - result.host = ''; - if (relative.protocol) { - relative.hostname = null; - relative.port = null; - if (relative.host) { - if (relPath[0] === '') relPath[0] = relative.host; - else relPath.unshift(relative.host); - } - relative.host = null; - } - mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === ''); - } - - if (isRelAbs) { - // it's absolute. - result.host = (relative.host || relative.host === '') ? - relative.host : result.host; - result.hostname = (relative.hostname || relative.hostname === '') ? - relative.hostname : result.hostname; - result.search = relative.search; - result.query = relative.query; - srcPath = relPath; - // fall through to the dot-handling below. - } else if (relPath.length) { - // it's relative - // throw away the existing file, and take the new path instead. - if (!srcPath) srcPath = []; - srcPath.pop(); - srcPath = srcPath.concat(relPath); - result.search = relative.search; - result.query = relative.query; - } else if (!util.isNullOrUndefined(relative.search)) { - // just pull out the search. - // like href='?foo'. - // Put this after the other two cases because it simplifies the booleans - if (psychotic) { - result.hostname = result.host = srcPath.shift(); - //occationaly the auth can get stuck only in host - //this especially happens in cases like - //url.resolveObject('mailto:local1@domain1', 'local2@domain2') - var authInHost = result.host && result.host.indexOf('@') > 0 ? - result.host.split('@') : false; - if (authInHost) { - result.auth = authInHost.shift(); - result.host = result.hostname = authInHost.shift(); - } - } - result.search = relative.search; - result.query = relative.query; - //to support http.request - if (!util.isNull(result.pathname) || !util.isNull(result.search)) { - result.path = (result.pathname ? result.pathname : '') + - (result.search ? result.search : ''); - } - result.href = result.format(); - return result; - } - - if (!srcPath.length) { - // no path at all. easy. - // we've already handled the other stuff above. - result.pathname = null; - //to support http.request - if (result.search) { - result.path = '/' + result.search; - } else { - result.path = null; - } - result.href = result.format(); - return result; - } - - // if a url ENDs in . or .., then it must get a trailing slash. - // however, if it ends in anything else non-slashy, - // then it must NOT get a trailing slash. - var last = srcPath.slice(-1)[0]; - var hasTrailingSlash = ( - (result.host || relative.host || srcPath.length > 1) && - (last === '.' || last === '..') || last === ''); - - // strip single dots, resolve double dots to parent dir - // if the path tries to go above the root, `up` ends up > 0 - var up = 0; - for (var i = srcPath.length; i >= 0; i--) { - last = srcPath[i]; - if (last === '.') { - srcPath.splice(i, 1); - } else if (last === '..') { - srcPath.splice(i, 1); - up++; - } else if (up) { - srcPath.splice(i, 1); - up--; - } - } - - // if the path is allowed to go above the root, restore leading ..s - if (!mustEndAbs && !removeAllDots) { - for (; up--; up) { - srcPath.unshift('..'); - } - } - - if (mustEndAbs && srcPath[0] !== '' && - (!srcPath[0] || srcPath[0].charAt(0) !== '/')) { - srcPath.unshift(''); - } - - if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) { - srcPath.push(''); - } - - var isAbsolute = srcPath[0] === '' || - (srcPath[0] && srcPath[0].charAt(0) === '/'); - - // put the host back - if (psychotic) { - result.hostname = result.host = isAbsolute ? '' : - srcPath.length ? srcPath.shift() : ''; - //occationaly the auth can get stuck only in host - //this especially happens in cases like - //url.resolveObject('mailto:local1@domain1', 'local2@domain2') - var authInHost = result.host && result.host.indexOf('@') > 0 ? - result.host.split('@') : false; - if (authInHost) { - result.auth = authInHost.shift(); - result.host = result.hostname = authInHost.shift(); - } - } - - mustEndAbs = mustEndAbs || (result.host && srcPath.length); - - if (mustEndAbs && !isAbsolute) { - srcPath.unshift(''); - } - - if (!srcPath.length) { - result.pathname = null; - result.path = null; - } else { - result.pathname = srcPath.join('/'); - } - - //to support request.http - if (!util.isNull(result.pathname) || !util.isNull(result.search)) { - result.path = (result.pathname ? result.pathname : '') + - (result.search ? result.search : ''); - } - result.auth = relative.auth || result.auth; - result.slashes = result.slashes || relative.slashes; - result.href = result.format(); - return result; -}; - -Url.prototype.parseHost = function() { - var host = this.host; - var port = portPattern.exec(host); - if (port) { - port = port[0]; - if (port !== ':') { - this.port = port.substr(1); - } - host = host.substr(0, host.length - port.length); - } - if (host) this.hostname = host; -}; - - -/***/ }), - -/***/ 9: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} +(function() { module.exports = this["wp"]["blocks"]; }()); /***/ }) diff --git a/wp-includes/js/dist/block-library.min.js b/wp-includes/js/dist/block-library.min.js index 046d104175..a77bf82567 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=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; +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=410)}({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 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){ +*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(s),b=["%","/","?",";","#"].concat(u),m=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={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},O=n(156);function v(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+=B[A];if(!R.match(d)){var M=P.slice(0,x),z=P.slice(x+1),L=B.match(p);L&&(M.push(L[1]),z.unshift(L[2])),z.length&&(v="/"+z.join(".")+v),this.hostname=M.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=r.toASCII(this.hostname));var H=this.port?":"+this.port:"",D=this.hostname||"";this.host=D+H,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==v[0]&&(v="/"+v))}if(!h[_])for(x=0,N=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 C=k.slice(-1)[0],E=(n.host||e.host||k.length>1)&&("."===C||".."===C)||""===C,x=0,S=k.length;S>=0;S--)"."===(C=k[S])?k.splice(S,1):".."===C?(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,P=""===k[0]||k[0]&&"/"===k[0].charAt(0);w&&(n.hostname=n.host=P?"":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)&&!P&&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)}},11: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"},y=s-u,_=Math.floor,k=String.fromCharCode;function w(e){throw RangeError(j[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(v,".")).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 P(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 N(e){var t,n,r,o,a,c,i,m,d,f,O,v=[],j=e.length,y=0,k=h,C=p;for((n=e.lastIndexOf(g))<0&&(n=0),r=0;r=128&&w("not-basic"),v.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=j&&w("invalid-input"),((m=(O=e.charCodeAt(o++))-48<10?O-22:O-65<26?O-65:O-97<26?O-97:s)>=s||m>_((l-y)/c))&&w("overflow"),y+=m*c,!(m<(d=i<=C?u:i>=C+b?b:i-C));i+=s)c>_(l/(f=s-d))&&w("overflow"),c*=f;C=P(y-a,t=v.length+1,0==a),_(y/t)>l-k&&w("overflow"),k+=_(y/t),y%=t,v.splice(y++,0,k)}return S(v)}function B(e){var t,n,r,o,a,c,i,m,d,f,O,v,j,y,C,E=[];for(v=(e=x(e)).length,t=h,n=0,a=p,c=0;c=t&&O_((l-n)/(j=r+1))&&w("overflow"),n+=(i-t)*j,t=i,c=0;cl&&w("overflow"),O==t){for(m=n,d=s;!(m<(f=d<=a?u:d>=a+b?b:d-a));d+=s)C=m-f,y=s-f,E.push(k(T(f+C%y,0))),m=_(C/y);E.push(k(T(m,0))),a=P(n,j,r==o),n=0,++r}++n,++t}return E.join("")}i={version:"1.3.2",ucs2:{decode:x,encode:S},decode:N,encode:B,toASCII:function(e){return E(e,(function(e){return O.test(e)?"xn--"+B(e):e}))},toUnicode:function(e){return E(e,(function(e){return f.test(e)?N(e.slice(4).toLowerCase()):e}))}},void 0===(o=function(){return i}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n(154)(e),n(71))},154: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}},155: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}}},156:function(e,t,n){"use strict";t.decode=t.parse=n(157),t.encode=t.stringify=n(158)},157: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=h.substr(0,g),m=h.substr(g+1)):(b=h,m=""),d=decodeURIComponent(b),p=decodeURIComponent(m),r(c,d)?o(c[d])?c[d].push(p):c[d]=[c[d],p]:c[d]=p}return c};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},158: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}},2:function(e,t){!function(){e.exports=this.lodash}()},20:function(e,t){!function(){e.exports=this.wp.keycodes}()},22:function(e,t,n){"use strict";var r=n(37);var o=n(38);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}()},258: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(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;tc?(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],p=b[2],h=b[3],g=b[4];return h?[Math.round(m/h),Math.round(d/h),Math.round(p/h),Math.round(h/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}()}()},26:function(e,t){!function(){e.exports=this.wp.url}()},27:function(e,t){!function(){e.exports=this.wp.dom}()},275:function(e,t,n){"use strict";var r=n(0),o=n(18),a=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(r.createElement)(o.Path,{d:"M12 5V3H3v2h9zm5 4V7H3v2h14zm-5 4v-2H3v2h9zm5 4v-2H3v2h14z"}));t.a=a},276:function(e,t,n){"use strict";var r=n(0),o=n(18),a=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(r.createElement)(o.Path,{d:"M14 5V3H6v2h8zm3 4V7H3v2h14zm-3 4v-2H6v2h8zm3 4v-2H3v2h14z"}));t.a=a},277:function(e,t,n){"use strict";var r=n(0),o=n(18),a=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(r.createElement)(o.Path,{d:"M17 5V3H8v2h9zm0 4V7H3v2h14zm0 4v-2H8v2h9zm0 4v-2H3v2h14z"}));t.a=a},3:function(e,t){!function(){e.exports=this.wp.components}()},30:function(e,t){!function(){e.exports=this.moment}()},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,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}))},35:function(e,t){!function(){e.exports=this.wp.deprecated}()},37:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},38: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}))},39:function(e,t){!function(){e.exports=this.wp.blob}()},4:function(e,t){!function(){e.exports=this.wp.data}()},40:function(e,t){!function(){e.exports=this.wp.apiFetch}()},41: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}))},410:function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"metadata",(function(){return ye})),n.d(r,"name",(function(){return _e})),n.d(r,"settings",(function(){return ke}));var o={};n.r(o),n.d(o,"metadata",(function(){return Ct})),n.d(o,"name",(function(){return Et})),n.d(o,"settings",(function(){return xt}));var a={};n.r(a),n.d(a,"metadata",(function(){return zt})),n.d(a,"name",(function(){return Lt})),n.d(a,"settings",(function(){return Ht}));var c={};n.r(c),n.d(c,"metadata",(function(){return Yt})),n.d(c,"name",(function(){return Xt})),n.d(c,"settings",(function(){return en}));var i={};n.r(i),n.d(i,"metadata",(function(){return En})),n.d(i,"name",(function(){return xn})),n.d(i,"settings",(function(){return Sn}));var l={};n.r(l),n.d(l,"name",(function(){return Bn})),n.d(l,"settings",(function(){return Rn}));var s={};n.r(s),n.d(s,"metadata",(function(){return Dn})),n.d(s,"name",(function(){return Vn})),n.d(s,"settings",(function(){return Fn}));var u={};n.r(u),n.d(u,"metadata",(function(){return cr})),n.d(u,"name",(function(){return ir})),n.d(u,"settings",(function(){return lr}));var b={};n.r(b),n.d(b,"metadata",(function(){return dr})),n.d(b,"name",(function(){return pr})),n.d(b,"settings",(function(){return hr}));var m={};n.r(m),n.d(m,"name",(function(){return _r})),n.d(m,"settings",(function(){return kr}));var d={};n.r(d),n.d(d,"name",(function(){return xr})),n.d(d,"settings",(function(){return Sr}));var p={};n.r(p),n.d(p,"metadata",(function(){return Ar})),n.d(p,"name",(function(){return Ir})),n.d(p,"settings",(function(){return Mr}));var h={};n.r(h),n.d(h,"metadata",(function(){return Qr})),n.d(h,"name",(function(){return Yr})),n.d(h,"settings",(function(){return Xr}));var g={};n.r(g),n.d(g,"metadata",(function(){return ro})),n.d(g,"name",(function(){return oo})),n.d(g,"settings",(function(){return ao}));var f={};n.r(f),n.d(f,"metadata",(function(){return No})),n.d(f,"name",(function(){return Bo})),n.d(f,"settings",(function(){return Ro}));var O={};n.r(O),n.d(O,"name",(function(){return Jo})),n.d(O,"settings",(function(){return Qo})),n.d(O,"common",(function(){return Yo})),n.d(O,"others",(function(){return Xo}));var v={};n.r(v),n.d(v,"metadata",(function(){return aa})),n.d(v,"name",(function(){return ca})),n.d(v,"settings",(function(){return ia}));var j={};n.r(j),n.d(j,"metadata",(function(){return ma})),n.d(j,"name",(function(){return da})),n.d(j,"settings",(function(){return pa}));var y={};n.r(y),n.d(y,"metadata",(function(){return Pa})),n.d(y,"name",(function(){return Na})),n.d(y,"settings",(function(){return Ba}));var _={};n.r(_),n.d(_,"justifyLeftIcon",(function(){return Ha})),n.d(_,"justifyCenterIcon",(function(){return Da})),n.d(_,"justifyRightIcon",(function(){return Va}));var k={};n.r(k),n.d(k,"name",(function(){return Ua})),n.d(k,"settings",(function(){return qa}));var w={};n.r(w),n.d(w,"metadata",(function(){return Ja})),n.d(w,"name",(function(){return Qa})),n.d(w,"settings",(function(){return Ya}));var C={};n.r(C),n.d(C,"name",(function(){return tc})),n.d(C,"settings",(function(){return nc}));var E={};n.r(E),n.d(E,"name",(function(){return uc})),n.d(E,"settings",(function(){return bc}));var x={};n.r(x),n.d(x,"metadata",(function(){return jc})),n.d(x,"name",(function(){return yc})),n.d(x,"settings",(function(){return _c}));var S={};n.r(S),n.d(S,"metadata",(function(){return wc})),n.d(S,"name",(function(){return Cc})),n.d(S,"settings",(function(){return Ec}));var T={};n.r(T),n.d(T,"metadata",(function(){return Pc})),n.d(T,"name",(function(){return Nc})),n.d(T,"settings",(function(){return Bc}));var P={};n.r(P),n.d(P,"metadata",(function(){return Ic})),n.d(P,"name",(function(){return Mc})),n.d(P,"settings",(function(){return zc}));var N={};n.r(N),n.d(N,"metadata",(function(){return Dc})),n.d(N,"name",(function(){return Vc})),n.d(N,"settings",(function(){return Fc}));var B={};n.r(B),n.d(B,"metadata",(function(){return Yc})),n.d(B,"name",(function(){return Xc})),n.d(B,"settings",(function(){return ei}));var R={};n.r(R),n.d(R,"name",(function(){return ai})),n.d(R,"settings",(function(){return ci}));var A={};n.r(A),n.d(A,"name",(function(){return si})),n.d(A,"settings",(function(){return ui}));var I={};n.r(I),n.d(I,"name",(function(){return mi})),n.d(I,"settings",(function(){return di}));var M={};n.r(M),n.d(M,"metadata",(function(){return fi})),n.d(M,"name",(function(){return Oi})),n.d(M,"settings",(function(){return vi}));var z={};n.r(z),n.d(z,"metadata",(function(){return wi})),n.d(z,"name",(function(){return Ci})),n.d(z,"settings",(function(){return Ei}));var L={};n.r(L),n.d(L,"metadata",(function(){return Pi})),n.d(L,"name",(function(){return Ni})),n.d(L,"settings",(function(){return Bi}));var H={};n.r(H),n.d(H,"metadata",(function(){return Ii})),n.d(H,"name",(function(){return Mi})),n.d(H,"settings",(function(){return zi}));var D={};n.r(D),n.d(D,"metadata",(function(){return Vi})),n.d(D,"name",(function(){return Fi})),n.d(D,"settings",(function(){return Ui}));var V={};n.r(V),n.d(V,"metadata",(function(){return ml})),n.d(V,"name",(function(){return dl})),n.d(V,"settings",(function(){return pl}));var F={};n.r(F),n.d(F,"metadata",(function(){return gl})),n.d(F,"name",(function(){return fl})),n.d(F,"settings",(function(){return Ol}));var U={};n.r(U),n.d(U,"metadata",(function(){return _l})),n.d(U,"name",(function(){return kl})),n.d(U,"settings",(function(){return wl}));var q={};n.r(q),n.d(q,"metadata",(function(){return Bl})),n.d(q,"name",(function(){return Rl})),n.d(q,"settings",(function(){return Al}));var G={};n.r(G),n.d(G,"name",(function(){return Ll})),n.d(G,"settings",(function(){return Hl}));var W={};n.r(W),n.d(W,"metadata",(function(){return Gl})),n.d(W,"name",(function(){return Wl})),n.d(W,"settings",(function(){return Kl}));var K=n(17),Z=n(5),$=(n(73),n(6)),J=n(9),Q=n(2),Y=n(1),X=n(0),ee=n(18),te=Object(X.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(X.createElement)(ee.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"})),ne=n(10),re=n.n(ne);function oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ae(e){for(var t=1;t 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"}},xe=[{attributes:Ee,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=re()((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:Ee,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:Ee,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(Ce.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}))}}],Se=n(13),Te=n(12),Pe=n(14),Ne=n(15),Be=n(7),Re=n(16),Ae=n(39),Ie=n(26),Me=n(54),ze=Object(X.createElement)(ue.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ue.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(X.createElement)(ue.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"})),Le=Object(X.createElement)(ue.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ue.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(X.createElement)(ue.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"})),He=Object(X.createElement)(ue.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ue.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(X.createElement)(ue.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)(ue.Polygon,{points:"14.5 11 11 15.51 8.5 12.5 5 17 19 17"})),De=Object(X.createElement)(ue.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ue.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(X.createElement)(ue.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"})),Ve={foreground:"#1da1f2",src:Object(X.createElement)(ue.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(X.createElement)(ue.G,null,Object(X.createElement)(ue.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"})))},Fe={foreground:"#ff0000",src:Object(X.createElement)(ue.SVG,{viewBox:"0 0 24 24"},Object(X.createElement)(ue.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"}))},Ue={foreground:"#3b5998",src:Object(X.createElement)(ue.SVG,{viewBox:"0 0 24 24"},Object(X.createElement)(ue.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"}))},qe=Object(X.createElement)(ue.SVG,{viewBox:"0 0 24 24"},Object(X.createElement)(ue.G,null,Object(X.createElement)(ue.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"}))),Ge={foreground:"#0073AA",src:Object(X.createElement)(ue.SVG,{viewBox:"0 0 24 24"},Object(X.createElement)(ue.G,null,Object(X.createElement)(ue.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"})))},We={foreground:"#1db954",src:Object(X.createElement)(ue.SVG,{viewBox:"0 0 24 24"},Object(X.createElement)(ue.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"}))},Ke=Object(X.createElement)(ue.SVG,{viewBox:"0 0 24 24"},Object(X.createElement)(ue.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"})),Ze={foreground:"#1ab7ea",src:Object(X.createElement)(ue.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(X.createElement)(ue.G,null,Object(X.createElement)(ue.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"})))},$e=Object(X.createElement)(ue.SVG,{viewBox:"0 0 24 24"},Object(X.createElement)(ue.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"})),Je={foreground:"#35465c",src:Object(X.createElement)(ue.SVG,{viewBox:"0 0 24 24"},Object(X.createElement)(ue.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"}))},Qe=Object(X.createElement)(ue.SVG,{viewBox:"0 0 24 24"},Object(X.createElement)(ue.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)(ue.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)(ue.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"})),Ye=[{name:"core-embed/twitter",settings:{title:"Twitter",icon:Ve,keywords:["tweet"],description:Object(Y.__)("Embed a tweet.")},patterns:[/^https?:\/\/(www\.)?twitter\.com\/.+/i]},{name:"core-embed/youtube",settings:{title:"YouTube",icon:Fe,keywords:[Object(Y.__)("music"),Object(Y.__)("video")],description:Object(Y.__)("Embed a YouTube video.")},patterns:[/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i,/^https?:\/\/youtu\.be\/.+/i]},{name:"core-embed/facebook",settings:{title:"Facebook",icon:Ue,description:Object(Y.__)("Embed a Facebook post.")},patterns:[/^https?:\/\/www\.facebook.com\/.+/i]},{name:"core-embed/instagram",settings:{title:"Instagram",icon:qe,keywords:[Object(Y.__)("image")],description:Object(Y.__)("Embed an Instagram post.")},patterns:[/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i]},{name:"core-embed/wordpress",settings:{title:"WordPress",icon:Ge,keywords:[Object(Y.__)("post"),Object(Y.__)("blog")],responsive:!1,description:Object(Y.__)("Embed a WordPress post.")}},{name:"core-embed/soundcloud",settings:{title:"SoundCloud",icon:Le,keywords:[Object(Y.__)("music"),Object(Y.__)("audio")],description:Object(Y.__)("Embed SoundCloud content.")},patterns:[/^https?:\/\/(www\.)?soundcloud\.com\/.+/i]},{name:"core-embed/spotify",settings:{title:"Spotify",icon:We,keywords:[Object(Y.__)("music"),Object(Y.__)("audio")],description:Object(Y.__)("Embed Spotify content.")},patterns:[/^https?:\/\/(open|play)\.spotify\.com\/.+/i]},{name:"core-embed/flickr",settings:{title:"Flickr",icon:Ke,keywords:[Object(Y.__)("image")],description:Object(Y.__)("Embed Flickr content.")},patterns:[/^https?:\/\/(www\.)?flickr\.com\/.+/i,/^https?:\/\/flic\.kr\/.+/i]},{name:"core-embed/vimeo",settings:{title:"Vimeo",icon:Ze,keywords:[Object(Y.__)("video")],description:Object(Y.__)("Embed a Vimeo video.")},patterns:[/^https?:\/\/(www\.)?vimeo\.com\/.+/i]}],Xe=[{name:"core-embed/animoto",settings:{title:"Animoto",icon:De,description:Object(Y.__)("Embed an Animoto video.")},patterns:[/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i]},{name:"core-embed/cloudup",settings:{title:"Cloudup",icon:ze,description:Object(Y.__)("Embed Cloudup content.")},patterns:[/^https?:\/\/cloudup\.com\/.+/i]},{name:"core-embed/collegehumor",settings:{title:"CollegeHumor",icon:De,description:Object(Y.__)("Embed CollegeHumor content."),supports:{inserter:!1}},patterns:[]},{name:"core-embed/crowdsignal",settings:{title:"Crowdsignal",icon:ze,keywords:["polldaddy"],transform:[{type:"block",blocks:["core-embed/polldaddy"],transform:function(e){return Object(J.createBlock)("core-embed/crowdsignal",{content:e})}}],description:Object(Y.__)("Embed Crowdsignal (formerly Polldaddy) content.")},patterns:[/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i]},{name:"core-embed/dailymotion",settings:{title:"Dailymotion",icon:De,description:Object(Y.__)("Embed a Dailymotion video.")},patterns:[/^https?:\/\/(www\.)?dailymotion\.com\/.+/i]},{name:"core-embed/hulu",settings:{title:"Hulu",icon:De,description:Object(Y.__)("Embed Hulu content.")},patterns:[/^https?:\/\/(www\.)?hulu\.com\/.+/i]},{name:"core-embed/imgur",settings:{title:"Imgur",icon:He,description:Object(Y.__)("Embed Imgur content.")},patterns:[/^https?:\/\/(.+\.)?imgur\.com\/.+/i]},{name:"core-embed/issuu",settings:{title:"Issuu",icon:ze,description:Object(Y.__)("Embed Issuu content.")},patterns:[/^https?:\/\/(www\.)?issuu\.com\/.+/i]},{name:"core-embed/kickstarter",settings:{title:"Kickstarter",icon:ze,description:Object(Y.__)("Embed Kickstarter content.")},patterns:[/^https?:\/\/(www\.)?kickstarter\.com\/.+/i,/^https?:\/\/kck\.st\/.+/i]},{name:"core-embed/meetup-com",settings:{title:"Meetup.com",icon:ze,description:Object(Y.__)("Embed Meetup.com content.")},patterns:[/^https?:\/\/(www\.)?meetu(\.ps|p\.com)\/.+/i]},{name:"core-embed/mixcloud",settings:{title:"Mixcloud",icon:Le,keywords:[Object(Y.__)("music"),Object(Y.__)("audio")],description:Object(Y.__)("Embed Mixcloud content.")},patterns:[/^https?:\/\/(www\.)?mixcloud\.com\/.+/i]},{name:"core-embed/polldaddy",settings:{title:"Polldaddy",icon:ze,description:Object(Y.__)("Embed Polldaddy content."),supports:{inserter:!1}},patterns:[]},{name:"core-embed/reddit",settings:{title:"Reddit",icon:$e,description:Object(Y.__)("Embed a Reddit thread.")},patterns:[/^https?:\/\/(www\.)?reddit\.com\/.+/i]},{name:"core-embed/reverbnation",settings:{title:"ReverbNation",icon:Le,description:Object(Y.__)("Embed ReverbNation content.")},patterns:[/^https?:\/\/(www\.)?reverbnation\.com\/.+/i]},{name:"core-embed/screencast",settings:{title:"Screencast",icon:De,description:Object(Y.__)("Embed Screencast content.")},patterns:[/^https?:\/\/(www\.)?screencast\.com\/.+/i]},{name:"core-embed/scribd",settings:{title:"Scribd",icon:ze,description:Object(Y.__)("Embed Scribd content.")},patterns:[/^https?:\/\/(www\.)?scribd\.com\/.+/i]},{name:"core-embed/slideshare",settings:{title:"Slideshare",icon:ze,description:Object(Y.__)("Embed Slideshare content.")},patterns:[/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i]},{name:"core-embed/smugmug",settings:{title:"SmugMug",icon:He,description:Object(Y.__)("Embed SmugMug content.")},patterns:[/^https?:\/\/(www\.)?smugmug\.com\/.+/i]},{name:"core-embed/speaker",settings:{title:"Speaker",icon:Le,supports:{inserter:!1}},patterns:[]},{name:"core-embed/speaker-deck",settings:{title:"Speaker Deck",icon:ze,transform:[{type:"block",blocks:["core-embed/speaker"],transform:function(e){return Object(J.createBlock)("core-embed/speaker-deck",{content:e})}}],description:Object(Y.__)("Embed Speaker Deck content.")},patterns:[/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i]},{name:"core-embed/ted",settings:{title:"TED",icon:De,description:Object(Y.__)("Embed a TED video.")},patterns:[/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i]},{name:"core-embed/tumblr",settings:{title:"Tumblr",icon:Je,description:Object(Y.__)("Embed a Tumblr post.")},patterns:[/^https?:\/\/(www\.)?tumblr\.com\/.+/i]},{name:"core-embed/videopress",settings:{title:"VideoPress",icon:De,keywords:[Object(Y.__)("video")],description:Object(Y.__)("Embed a VideoPress video.")},patterns:[/^https?:\/\/videopress\.com\/.+/i]},{name:"core-embed/wordpress-tv",settings:{title:"WordPress.tv",icon:De,description:Object(Y.__)("Embed a WordPress.tv video.")},patterns:[/^https?:\/\/wordpress\.tv\/.+/i]},{name:"core-embed/amazon-kindle",settings:{title:"Amazon Kindle",icon:Qe,keywords:[Object(Y.__)("ebook")],responsive:!1,description:Object(Y.__)("Embed Amazon Kindle content.")},patterns:[/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i,/^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i]}],et=["facebook.com","smugmug.com"],tt=[{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"}],nt=n(86),rt=n.n(nt),ot=n(44),at=n.n(ot);function ct(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var it=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.some((function(t){return e.match(t)}))},lt=function(e){return Object(Q.includes)(e,'class="wp-embedded-content"')},st=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)(Ye),Object(K.a)(Xe));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 rt()(t,(s={},Object(Z.a)(s,u.className,n),Object(Z.a)(s,"wp-has-aspect-ratio",n),s))}return t}var bt=at()((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(Q.kebabCase)(Object(Q.toLower)(""!==s?s:t));return lt(l)&&(i="wp-embed"),(l||"photo"===i)&&(a.type=i,a.providerNameSlug=u),a.className=ut(l,n,r&&o),a})),mt=["image"];var dt=function(e){function t(){var e;return Object(Se.a)(this,t),(e=Object(Pe.a)(this,Object(Ne.a)(t).apply(this,arguments))).state={width:void 0,height:void 0},e.bindContainer=e.bindContainer.bind(Object(Be.a)(e)),e.calculateSize=e.calculateSize.bind(Object(Be.a)(e)),e}return Object(Re.a)(t,e),Object(Te.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=Q.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),pt=Object(be.withGlobalEvents)({resize:"calculateSize"})(dt);function ht(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function gt(e){for(var t=1;t 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"}}},Et=Ct.name,xt={title:Object(Y.__)("Image"),description:Object(Y.__)("Insert an image to make a visual statement."),icon:we,keywords:["img",Object(Y.__)("photo")],example:{attributes:{sizeSlug:"large",url:"https://s.w.org/images/core/5.3/MtBlanc1.jpg",caption:Object(Y.__)("Mont Blanc appears—still, snowy, and serene.")}},styles:[{name:"default",label:Object(Y._x)("Default","block style"),isDefault:!0},{name:"rounded",label:Object(Y._x)("Rounded","block style")}],__experimentalLabel:function(e,t){if("accessibility"===t.context){var n=e.caption,r=e.alt;return e.url?r?r+(n?". "+n:""):n||"":Object(Y.__)("Empty")}},transforms:wt,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,p=n.sizeSlug,h=n.title,g=Object(Q.isEmpty)(l)?void 0:l,f=re()((t={},Object(Z.a)(t,"align".concat(c),c),Object(Z.a)(t,"size-".concat(p),p),Object(Z.a)(t,"is-resized",u||b),t)),O=Object(X.createElement)("img",{src:r,alt:o,className:m?"wp-image-".concat(m):null,width:u,height:b,title:h}),v=Object(X.createElement)(X.Fragment,null,i?Object(X.createElement)("a",{className:s,href:i,target:d,rel:g},O):O,!$.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},v)):Object(X.createElement)("figure",{className:f},v)},deprecated:xe},St=Object(X.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(X.createElement)(ee.Path,{d:"M12.5 4v5.2h-5V4H5v13h2.5v-5.2h5V17H15V4"})),Tt={className:!1,anchor:!0},Pt={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"}},Nt=[{attributes:Pt,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=re()((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:Tt},{supports:Tt,attributes:Pt,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=re()(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 Bt(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)(ue.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:r},Object(X.createElement)(ue.Path,{d:o[t]})):null}var Rt=function(e){function t(){return Object(Se.a)(this,t),Object(Pe.a)(this,Object(Ne.a)(t).apply(this,arguments))}return Object(Re.a)(t,e),Object(Te.a)(t,[{key:"createLevelControl",value:function(e,t,n){var r=e===t;return{icon:Object(X.createElement)(Bt,{level:e,isPressed:r}),title:Object(Y.sprintf)(Object(Y.__)("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)(ue.ToolbarGroup,{isCollapsed:r,icon:Object(X.createElement)(Bt,{level:c}),controls:Object(Q.range)(o,a).map((function(t){return e.createLevelControl(t,c,i)}))})}}]),t}(X.Component);function At(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var It=function(e){var t=e.attributes,n=e.setAttributes,r=e.mergeBlocks,o=e.onReplace,a=e.className,c=Object(X.useRef)(),i=Object($.__experimentalUseColors)([{name:"textColor",property:"color"}],{contrastCheckers:{backgroundColor:!0,textColor:!0},colorDetector:{targetRef:c}},[]),l=i.TextColor,s=i.InspectorControlsColorPanel,u=t.align,b=t.content,m=t.level,d=t.placeholder,p="h"+m;return Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.BlockControls,null,Object(X.createElement)(Rt,{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)(ue.PanelBody,{title:Object(Y.__)("Heading settings")},Object(X.createElement)("p",null,Object(Y.__)("Level")),Object(X.createElement)(Rt,{isCollapsed:!1,minLevel:1,maxLevel:7,selectedLevel:m,onChange:function(e){return n({level:e})}}))),s,Object(X.createElement)(l,null,Object(X.createElement)($.RichText,{ref:c,identifier:"content",tagName:p,value:b,onChange:function(e){return n({content:e})},onMerge:r,onSplit:function(e){return e?Object(J.createBlock)("core/heading",function(e){for(var t=1;t".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(Kt.split)(Object(Kt.create)({html:t,multilineTag:"p"}),"\u2028").map((function(e){return Object(J.createBlock)("core/paragraph",{content:Object(Kt.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(Wt.a)(e,["value","citation"]);if("

    "===t)return Object(J.createBlock)("core/heading",{content:n});var o=Object(Kt.split)(Object(Kt.create)({html:t,multilineTag:"p"}),"\u2028"),a=Object(J.createBlock)("core/heading",{content:Object(Kt.toHTMLString)({value:o[0]})});if(!n&&1===o.length)return a;var c=o.slice(1);return[a,Object(J.createBlock)("core/quote",function(e){for(var t=1;t"+Object(Y.__)("In quoting others, we cite ourselves.")+"

    ",citation:"Julio Cortázar",className:"is-style-large"}},styles:[{name:"default",label:Object(Y._x)("Default","block style"),isDefault:!0},{name:"large",label:Object(Y._x)("Large","block style")}],transforms:$t,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)(ue.BlockQuotation,{className:re()(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(Y.__)("Write quote…"),onReplace:a,onSplit:function(e){return Object(J.createBlock)("core/quote",function(e){for(var t=1;t

    "!==n?{value:e.value+n,citation:r}:{citation:r})},deprecated:qt},tn=Object(X.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ee.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"}));function nn(e){return Math.min(3,e.images.length)}var rn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"large",n=Object(Q.pick)(e,["alt","id","link","caption"]);n.url=Object(Q.get)(e,["sizes",t,"url"])||Object(Q.get)(e,["media_details","sizes",t,"source_url"])||e.url;var r=Object(Q.get)(e,["sizes","full","url"])||Object(Q.get)(e,["media_details","sizes","full","source_url"]);return r&&(n.fullUrl=r),n};function on(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function an(e){for(var t=1;t0&&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(Q.some)(t,(function(e,t){return!e&&null!==n[t]||parseInt(e,10)!==n[t]})))},migrate:function(e){return an({},e,{ids:Object(Q.map)(e.images,(function(e){var t=e.id;return t?parseInt(t,10):null}))})},supports:{align:!0},save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?nn(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"}},supports:{align:!0},save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?nn(t):r,a=t.align,c=t.imageCrop,i=t.linkTo,l=re()("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)})))}}],ln=Object(X.createElement)($.BlockIcon,{icon:tn}),sn=n(20),un=Object(X.createElement)(ue.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ue.Path,{d:"M5 8.70002L10.6 14.4L12 12.9L7.8 8.70002L12 4.50002L10.6 3.00002L5 8.70002Z"})),bn=Object(X.createElement)(ue.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ue.Path,{d:"M13 8.7L7.4 3L6 4.5L10.2 8.7L6 12.9L7.4 14.4L13 8.7Z"})),mn=function(e){function t(){var e;return Object(Se.a)(this,t),(e=Object(Pe.a)(this,Object(Ne.a)(t).apply(this,arguments))).onSelectImage=e.onSelectImage.bind(Object(Be.a)(e)),e.onSelectCaption=e.onSelectCaption.bind(Object(Be.a)(e)),e.onRemoveImage=e.onRemoveImage.bind(Object(Be.a)(e)),e.bindContainer=e.bindContainer.bind(Object(Be.a)(e)),e.state={captionSelected:!1},e}return Object(Re.a)(t,e),Object(Te.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!==[sn.BACKSPACE,sn.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,a=t.__unstableMarkNextChangeAsNotPersistent;r&&!o&&(a(),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,p=t.setAttributes,h=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":h,ref:this.bindContainer}),Object(Ae.isBlobURL)(n)&&Object(X.createElement)(ue.Spinner,null)),f=re()({"is-selected":s,"is-transient":Object(Ae.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)(ue.Button,{icon:un,onClick:i?void 0:d,className:"blocks-gallery-item__move-backward",label:Object(Y.__)("Move image backward"),"aria-disabled":i,disabled:!s}),Object(X.createElement)(ue.Button,{icon:bn,onClick:l?void 0:m,className:"blocks-gallery-item__move-forward",label:Object(Y.__)("Move image forward"),"aria-disabled":l,disabled:!s})),Object(X.createElement)("div",{className:"block-library-gallery-item__inline-menu"},Object(X.createElement)(ue.Button,{icon:"no-alt",onClick:b,className:"blocks-gallery-item__remove",label:Object(Y.__)("Remove image"),disabled:!s})),(s||u)&&Object(X.createElement)($.RichText,{tagName:"figcaption",placeholder:s?Object(Y.__)("Write caption…"):null,value:u,isSelected:this.state.captionSelected,onChange:function(e){return p({caption:e})},unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}))}}]),t}(X.Component),dn=Object(be.compose)([Object(me.withSelect)((function(e,t){var n=e("core").getMedia,r=t.id;return{image:r?n(r):null}})),Object(me.withDispatch)((function(e){return{__unstableMarkNextChangeAsNotPersistent:e("core/block-editor").__unstableMarkNextChangeAsNotPersistent}}))])(mn),pn=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,p=n.align,h=n.columns,g=void 0===h?nn(n):h,f=n.caption,O=n.imageCrop,v=n.images,j=re()("blocks-gallery-caption",{"screen-reader-text":!o&&$.RichText.isEmpty(f)});return Object(X.createElement)("figure",{className:re()(r,(t={},Object(Z.a)(t,"align".concat(p),p),Object(Z.a)(t,"columns-".concat(g),g),Object(Z.a)(t,"is-cropped",O),t))},Object(X.createElement)("ul",{className:"blocks-gallery-grid"},v.map((function(e,t){var n=Object(Y.sprintf)(Object(Y.__)("image %1$d of %2$d in gallery"),t+1,v.length);return Object(X.createElement)("li",{className:"blocks-gallery-item",key:e.id||e.url},Object(X.createElement)(dn,{url:e.url,alt:e.alt,id:e.id,isFirstItem:0===t,isLastItem:t+1===v.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(Y.__)("Write gallery caption…"),value:f,unstableOnFocus:d,onChange:function(e){return a({caption:e})},inlineToolbar:!0}))};function hn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function gn(e){for(var t=1;t0&&Object(Q.every)(r,(function(e){var t=e.url;return Object(Ae.isBlobURL)(t)}))){var o=Object(Q.map)(r,(function(e){var t=e.url;return Object(Ae.getBlobByURL)(t)}));Object(Q.forEach)(r,(function(e){var t=e.url;return Object(Ae.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?nn(t):a,i=t.imageCrop,l=t.images,s=t.linkTo,u=t.sizeSlug,b=!!l.length,m=b&&Object(Q.some)(l,(function(e){return e.id})),d=Object(X.createElement)($.MediaPlaceholder,{addToGallery:m,isAppender:b,className:n,disableMediaButtons:b&&!r,icon:!b&&ln,labels:{title:!b&&Object(Y.__)("Gallery"),instructions:!b&&vn},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:On,multiple:!0,value:m?l:void 0,onError:this.onUploadError,notices:b?void 0:o,onFocus:this.props.onFocus});if(!b)return d;var p=this.getImagesSizeOptions(),h=b&&!Object(Q.isEmpty)(p),g=h?jn:yn;return Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ue.PanelBody,{title:Object(Y.__)("Gallery settings")},l.length>1&&Object(X.createElement)(ue.RangeControl,Object(Ce.a)({label:Object(Y.__)("Columns")},jn,{value:c,onChange:this.setColumnsNumber,min:1,max:Math.min(8,l.length),required:!0})),Object(X.createElement)(ue.ToggleControl,Object(Ce.a)({label:Object(Y.__)("Crop Images")},jn,{checked:!!i,onChange:this.toggleImageCrop,help:this.getImageCropHelp})),Object(X.createElement)(ue.SelectControl,Object(Ce.a)({label:Object(Y.__)("Link To")},g,{value:s,onChange:this.setLinkTo,options:fn})),h&&Object(X.createElement)(ue.SelectControl,Object(Ce.a)({label:Object(Y.__)("Images Size")},yn,{value:u,options:p,onChange:this.updateImagesSize})))),o,Object(X.createElement)(pn,Object(Ce.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),kn=Object(be.compose)([Object(me.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(Q.reduce)(n,(function(e,t){if(!t)return e;var n=o(t),r=Object(Q.reduce)(c,(function(e,t){var r=Object(Q.get)(n,["sizes",t.slug,"url"]),o=Object(Q.get)(n,["media_details","sizes",t.slug,"source_url"]);return gn({},e,Object(Z.a)({},t.slug,r||o))}),{});return gn({},e,Object(Z.a)({},parseInt(t,10),r))}),{})),{imageSizes:c,mediaUpload:i,resizedImages:l}})),ue.withNotices,Object(Me.withViewportMatch)({isNarrow:"< small"})])(_n);var wn=function(e){return e?e.split(",").map((function(e){return parseInt(e,10)})):[]},Cn={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0],n=t.align,r=t.sizeSlug;n=Object(Q.every)(e,["align",n])?n:void 0,r=Object(Q.every)(e,["sizeSlug",r])?r:void 0;var o=Object(Q.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 wn(t).map((function(e){return{id:e}}))}},ids:{type:"array",shortcode:function(e){var t=e.named.ids;return wn(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(Q.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 rn({url:Object(Ae.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})}}]},En={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",items:{type:"number"},default:[]},columns:{type:"number",minimum:1,maximum:8},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"},sizeSlug:{type:"string",default:"large"}}},xn=En.name,Sn={title:Object(Y.__)("Gallery"),description:Object(Y.__)("Display multiple images in a rich gallery."),icon:tn,keywords:[Object(Y.__)("images"),Object(Y.__)("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:Cn,edit:kn,save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?nn(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:cn},Tn=Object(X.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ee.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=n(65),Nn=n.n(Pn);var Bn="core/archives",Rn={title:Object(Y.__)("Archives"),description:Object(Y.__)("Display a monthly archive of your posts."),icon:Tn,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)(ue.PanelBody,{title:Object(Y.__)("Archives settings")},Object(X.createElement)(ue.ToggleControl,{label:Object(Y.__)("Display as Dropdown"),checked:o,onChange:function(){return n({displayAsDropdown:!o})}}),Object(X.createElement)(ue.ToggleControl,{label:Object(Y.__)("Show Post Counts"),checked:r,onChange:function(){return n({showPostCounts:!r})}}))),Object(X.createElement)(ue.Disabled,null,Object(X.createElement)(Nn.a,{block:"core/archives",attributes:t})))}},An=Object(X.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ee.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"})),In=[{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}))}}],Mn=["audio"],zn=function(e){function t(){var e;return Object(Se.a)(this,t),(e=Object(Pe.a)(this,Object(Ne.a)(t).apply(this,arguments))).toggleAttribute=e.toggleAttribute.bind(Object(Be.a)(e)),e.onSelectURL=e.onSelectURL.bind(Object(Be.a)(e)),e.onUploadError=e.onUploadError.bind(Object(Be.a)(e)),e}return Object(Re.a)(t,e),Object(Te.a)(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,n=e.mediaUpload,r=e.noticeOperations,o=e.setAttributes,a=t.id,c=t.src,i=void 0===c?"":c;if(!a&&Object(Ae.isBlobURL)(i)){var l=Object(Ae.getBlobByURL)(i);l&&n({filesList:[l],onFileChange:function(e){var t=Object(se.a)(e,1)[0],n=t.id,r=t.url;o({id:n,src:r})},onError:function(e){o({src:void 0,id:void 0}),r.createErrorNotice(e)},allowedTypes:Mn})}}},{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=st({attributes:{url:e}});if(void 0!==o)return void this.props.onReplace(o);r({src:e,id:void 0})}}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"getAutoplayHelp",value:function(e){return e?Object(Y.__)("Note: Autoplaying audio may cause usability issues for some visitors."):null}},{key:"render",value:function(){var e=this.props.attributes,t=e.autoplay,n=e.caption,r=e.loop,o=e.preload,a=e.src,c=this.props,i=c.setAttributes,l=c.isSelected,s=c.className,u=c.noticeUI,b=function(e){e&&e.url?i({src:e.url,id:e.id}):i({src:void 0,id:void 0})};return a?Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.BlockControls,null,Object(X.createElement)($.MediaReplaceFlow,{mediaURL:a,allowedTypes:Mn,accept:"audio/*",onSelect:b,onSelectURL:this.onSelectURL,onError:this.onUploadError})),Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ue.PanelBody,{title:Object(Y.__)("Audio settings")},Object(X.createElement)(ue.ToggleControl,{label:Object(Y.__)("Autoplay"),onChange:this.toggleAttribute("autoplay"),checked:t,help:this.getAutoplayHelp}),Object(X.createElement)(ue.ToggleControl,{label:Object(Y.__)("Loop"),onChange:this.toggleAttribute("loop"),checked:r}),Object(X.createElement)(ue.SelectControl,{label:Object(Y.__)("Preload"),value:void 0!==o?o:"none",onChange:function(e){return i({preload:"none"!==e?e:void 0})},options:[{value:"auto",label:Object(Y.__)("Auto")},{value:"metadata",label:Object(Y.__)("Metadata")},{value:"none",label:Object(Y.__)("None")}]}))),Object(X.createElement)("figure",{className:s},Object(X.createElement)(ue.Disabled,null,Object(X.createElement)("audio",{controls:"controls",src:a})),(!$.RichText.isEmpty(n)||l)&&Object(X.createElement)($.RichText,{tagName:"figcaption",placeholder:Object(Y.__)("Write caption…"),value:n,onChange:function(e){return i({caption:e})},inlineToolbar:!0}))):Object(X.createElement)($.MediaPlaceholder,{icon:Object(X.createElement)($.BlockIcon,{icon:An}),className:s,onSelect:b,onSelectURL:this.onSelectURL,accept:"audio/*",allowedTypes:Mn,value:this.props.attributes,notices:u,onError:this.onUploadError})}}]),t}(X.Component),Ln=Object(be.compose)([Object(me.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),ue.withNotices])(zn);var Hn={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(Ae.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}}}}]},Dn={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"}}},Vn=Dn.name,Fn={title:Object(Y.__)("Audio"),description:Object(Y.__)("Embed a simple audio player."),keywords:[Object(Y.__)("music"),Object(Y.__)("sound"),Object(Y.__)("podcast"),Object(Y.__)("recording")],icon:An,transforms:Hn,deprecated:In,supports:{align:!0},edit:Ln,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}))}},Un=Object(X.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ee.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"}));function qn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Gn(e){for(var t=1;t0&&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(Q.unescape)(e.name).trim():Object(Y.__)("(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(Y.__)("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(Q.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)(ue.PanelBody,{title:Object(Y.__)("Categories settings")},Object(X.createElement)(ue.ToggleControl,{label:Object(Y.__)("Display as Dropdown"),checked:r,onChange:this.toggleDisplayAsDropdown}),Object(X.createElement)(ue.ToggleControl,{label:Object(Y.__)("Show Hierarchy"),checked:o,onChange:this.toggleShowHierarchy}),Object(X.createElement)(ue.ToggleControl,{label:Object(Y.__)("Show Post Counts"),checked:a,onChange:this.toggleShowPostCounts})));return n?Object(X.createElement)(X.Fragment,null,c,Object(X.createElement)(ue.Placeholder,{icon:"admin-post",label:Object(Y.__)("Categories")},Object(X.createElement)(ue.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),Er=Object(be.compose)(Object(me.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])}})),be.withInstanceId)(Cr),xr="core/categories",Sr={title:Object(Y.__)("Categories"),description:Object(Y.__)("Display a list of all categories."),icon:wr,category:"widgets",supports:{align:!0,html:!1},edit:Er},Tr=Object(X.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ee.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"}));var Pr=n(66);function Nr(e){return e.replace(/\[/g,"[")}function Br(e){return e.replace(/^(\s*https?:)\/\/([^\s<>"]+\s*)$/m,"$1//$2")}var Rr={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":{}}}}}}}]},Ar={name:"core/code",category:"formatting",attributes:{content:{type:"string",source:"text",selector:"code"}}},Ir=Ar.name,Mr={title:Object(Y.__)("Code"),description:Object(Y.__)("Display code snippets that respect your spacing and tabs."),icon:Tr,example:{attributes:{content:Object(Y.__)('// 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:Rr,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(Y.__)("Write code…"),"aria-label":Object(Y.__)("Code")}))},save:function(e){var t,n=e.attributes;return Object(X.createElement)("pre",null,Object(X.createElement)("code",null,(t=n.content,Object(Q.flow)(Pr.escapeEditableHTML,Nr,Br)(t||""))))}},zr=Object(X.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ee.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"}));function Lr(e){var t,n=Lr.doc;n||(n=document.implementation.createHTMLDocument(""),Lr.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 Hr=[{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!==Lr(e.originalContent)}))},migrate:function(e,t){var n=t.reduce((function(e,t){var n=Lr(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(Q.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(Q.omit)(e,["columns"]),t]},save:function(e){var t=e.attributes,n=t.verticalAlignment,r=t.columns,o=re()("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))}}],Dr=function(e){return Number.isFinite(e)?parseFloat(e.toFixed(2)):void 0};function Vr(e,t){var n=e.attributes.width;return Dr(void 0===n?100/t:n)}function Fr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return Object(Q.sumBy)(e,(function(e){return Vr(e,t)}))}function Ur(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return e.reduce((function(e,n){var r=Vr(n,t);return Object.assign(e,Object(Z.a)({},n.clientId,r))}),{})}function qr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=(t-Fr(e,n))/e.length;return Object(Q.mapValues)(Ur(e,n),(function(e){return Dr(e+r)}))}function Gr(e,t){return e.map((function(e){return Object(Q.merge)({},e,{attributes:{width:t[e.clientId]}})}))}var Wr=["core/column"];var Kr=Object(me.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=Dr(100/o),b=qr(i,100-u);i=[].concat(Object(K.a)(Gr(i,b)),Object(K.a)(Object(Q.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(Q.times)(o-r,(function(){return Object(J.createBlock)("core/column")}))));else{if(i=Object(Q.dropRight)(i,r-o),l)i=Gr(i,qr(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(me.useSelect)((function(e){return{count:e("core/block-editor").getBlockCount(a)}}),[a]).count,l=Object($.__experimentalUseColors)([{name:"backgroundColor",className:"has-background"}]),s=l.BackgroundColor,u=l.InspectorControlsColorPanel,b=re()(n,Object(Z.a)({},"are-vertically-aligned-".concat(c),c));return Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.BlockControls,null,Object(X.createElement)($.BlockVerticalAlignmentToolbar,{onChange:r,value:c})),Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ue.PanelBody,null,Object(X.createElement)(ue.RangeControl,{label:Object(Y.__)("Columns"),value:i,onChange:function(e){return o(i,e)},min:2,max:6}))),u,Object(X.createElement)(s,null,Object(X.createElement)("div",{className:b},Object(X.createElement)($.InnerBlocks,{templateLock:"all",allowedBlocks:Wr}))))})),Zr=function e(t){return Object(Q.map)(t,(function(t){var n=Object(se.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))}))},$r=function(e){var t=e.clientId,n=e.name,r=Object(me.useSelect)((function(e){var r=e("core/blocks"),o=r.__experimentalGetBlockVariations,a=r.getBlockType,c=r.__experimentalGetDefaultBlockVariation;return{blockType:a(n),defaultVariation:c(n,"block"),hasInnerBlocks:e("core/block-editor").getBlocks(t).length>0,variations:o(n,"block")}}),[t,n]),o=r.blockType,a=r.defaultVariation,c=r.hasInnerBlocks,i=r.variations,l=Object(me.useDispatch)("core/block-editor").replaceInnerBlocks;return c?Object(X.createElement)(Kr,e):Object(X.createElement)($.__experimentalBlockVariationPicker,{icon:Object(Q.get)(o,["icon","src"]),label:Object(Q.get)(o,["title"]),variations: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,Zr(t.innerBlocks))},allowSkip:!0})};var Jr=[{name:"two-columns-equal",title:Object(Y.__)("Two columns; equal split"),icon:Object(X.createElement)(ue.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ue.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H25V34H39ZM23 34H9V14H23V34Z"})),isDefault:!0,innerBlocks:[["core/column"],["core/column"]],scope:["block"]},{name:"two-columns-one-third-two-thirds",title:Object(Y.__)("Two columns; one-third, two-thirds split"),icon:Object(X.createElement)(ue.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ue.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H20V34H39ZM18 34H9V14H18V34Z"})),innerBlocks:[["core/column",{width:33.33}],["core/column",{width:66.66}]],scope:["block"]},{name:"two-columns-two-thirds-one-third",title:Object(Y.__)("Two columns; two-thirds, one-third split"),icon:Object(X.createElement)(ue.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ue.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H30V34H39ZM28 34H9V14H28V34Z"})),innerBlocks:[["core/column",{width:66.66}],["core/column",{width:33.33}]],scope:["block"]},{name:"three-columns-equal",title:Object(Y.__)("Three columns; equal split"),icon:Object(X.createElement)(ue.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ue.Path,{fillRule:"evenodd",d:"M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM28.5 34h-9V14h9v20zm2 0V14H39v20h-8.5zm-13 0H9V14h8.5v20z"})),innerBlocks:[["core/column"],["core/column"],["core/column"]],scope:["block"]},{name:"three-columns-wider-center",title:Object(Y.__)("Three columns; wide center column"),icon:Object(X.createElement)(ue.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ue.Path,{fillRule:"evenodd",d:"M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM31 34H17V14h14v20zm2 0V14h6v20h-6zm-18 0H9V14h6v20z"})),innerBlocks:[["core/column",{width:25}],["core/column",{width:50}],["core/column",{width:25}]],scope:["block"]}],Qr={name:"core/columns",category:"layout",attributes:{verticalAlignment:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"}}},Yr=Qr.name,Xr={title:Object(Y.__)("Columns"),icon:zr,description:Object(Y.__)("Add a block that displays content in multiple columns, then add whatever content blocks you’d like."),supports:{align:["wide","full"],html:!1},variations:Jr,example:{innerBlocks:[{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:Object(Y.__)("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(Y.__)("Suspendisse commodo neque lacus, a dictum orci interdum et.")}}]},{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:Object(Y.__)("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(Y.__)("Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.")}}]}]},deprecated:Hr,edit:$r,save:function(e){var t,n=e.attributes,r=n.verticalAlignment,o=n.backgroundColor,a=n.customBackgroundColor,c=Object($.getColorClassName)("background-color",o),i=re()((t={"has-background":o||a},Object(Z.a)(t,c,c),Object(Z.a)(t,"are-vertically-aligned-".concat(r),r),t)),l={backgroundColor:c?void 0:a};return Object(X.createElement)("div",{className:i||void 0,style:l},Object(X.createElement)($.InnerBlocks.Content,null))}},eo=Object(X.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(X.createElement)(ee.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"}));function to(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var no=Object(be.compose)(Object(me.withSelect)((function(e,t){var n=t.clientId;return{hasChildBlocks:(0,e("core/block-editor").getBlockOrder)(n).length>0}})),Object(me.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(Q.findIndex)(e,{clientId:t});return n===e.length-1?e.slice(0,n):e.slice(n+1)}(l,o),u=r+Fr(Object(Q.difference)(l,[Object(Q.find)(l,{clientId:o})].concat(Object(K.a)(s)))),b=function(e){for(var t=1;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(se.a)(o,2),c=a[0],i=a[1];return Object(X.useEffect)((function(){e&&t<=50&&r.current&&Co().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(jo()(n).isDark())}}),[n,t>50||!e,i]),Object(X.useEffect)((function(){e||n||i(!1)}),[!e&&!n,i]),c}(g,m,i.color,_),w=Object(X.useState)(null),C=Object(se.a)(w,2),E=C[0],x=C[1],S=u.removeAllNotices,T=u.createErrorNotice,P=_o({},b===io?uo(g):{},{backgroundColor:i.color,minHeight:E||h});v&&!g&&(P.background=v),d&&(P.backgroundPosition="".concat(100*d.x,"% ").concat(100*d.y,"%"));var N=!!(g||i.color||v),B=Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.BlockControls,null,N&&Object(X.createElement)($.MediaReplaceFlow,{mediaURL:g,allowedTypes:ko,accept:"image/*,video/*",onSelect:y})),Object(X.createElement)($.InspectorControls,null,!!g&&Object(X.createElement)(ue.PanelBody,{title:Object(Y.__)("Media settings")},io===b&&Object(X.createElement)(ue.ToggleControl,{label:Object(Y.__)("Fixed Background"),checked:p,onChange:function(){r(_o({hasParallax:!p},p?{}:{focalPoint:void 0}))}}),io===b&&!p&&Object(X.createElement)(ue.FocalPointPicker,{label:Object(Y.__)("Focal Point Picker"),url:g,value:d,onChange:function(e){return r({focalPoint:e})}}),lo===b&&Object(X.createElement)("video",{autoPlay:!0,muted:!0,loop:!0,src:g}),Object(X.createElement)(ue.PanelRow,null,Object(X.createElement)(ue.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(Y.__)("Clear Media")))),N&&Object(X.createElement)(X.Fragment,null,Object(X.createElement)(ue.PanelBody,{title:Object(Y.__)("Dimensions")},Object(X.createElement)(Eo,{value:E||h,onChange:function(e){return r({minHeight:e})}})),Object(X.createElement)($.__experimentalPanelColorGradientSettings,{title:Object(Y.__)("Overlay"),initialOpen:!0,settings:[{colorValue:i.color,gradientValue:v,onColorChange:l,onGradientChange:j,label:Object(Y.__)("Overlay")}]},!!g&&Object(X.createElement)(ue.RangeControl,{label:Object(Y.__)("Background Opacity"),value:m,onChange:function(e){return r({dimRatio:e})},min:0,max:100,step:10,required:!0})))));if(!N){var R=Object(X.createElement)($.BlockIcon,{icon:co}),A=Object(Y.__)("Cover");return Object(X.createElement)(X.Fragment,null,B,Object(X.createElement)($.MediaPlaceholder,{icon:R,className:a,labels:{title:A,instructions:Object(Y.__)("Upload an image or video file, or pick one from your media library.")},onSelect:y,accept:"image/*,video/*",allowedTypes:ko,notices:c,onError:function(e){S(),T(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}))))}var I=re()(a,bo(m),(t={"is-dark-theme":k,"has-background-dim":0!==m,"has-parallax":p},Object(Z.a)(t,i.class,i.class),Object(Z.a)(t,"has-background-gradient",v),Object(Z.a)(t,O,!g&&O),t));return Object(X.createElement)(X.Fragment,null,B,Object(X.createElement)(So,{className:re()("block-library-cover__resize-container",{"is-selected":o}),onResizeStart:function(){return s(!1)},onResize:x,onResizeStop:function(e){s(!0),r({minHeight:e}),x(null)}},Object(X.createElement)("div",{"data-url":g,style:P,className:I},io===b&&Object(X.createElement)("img",{ref:_,"aria-hidden":!0,alt:"",style:{display:"none"},src:g}),g&&v&&0!==m&&Object(X.createElement)("span",{"aria-hidden":"true",className:re()("wp-block-cover__gradient-background",O),style:{background:v}}),lo===b&&Object(X.createElement)("video",{ref:_,className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:g}),Object(X.createElement)("div",{className:"wp-block-cover__inner-container"},Object(X.createElement)($.InnerBlocks,{template:wo})))))}));var Po={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:lo})}}],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===io:!(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===lo:!(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"}}},Bo=No.name,Ro={title:Object(Y.__)("Cover"),description:Object(Y.__)("Add an image or video with a text overlay — great for headers."),icon:co,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(Y.__)("Snow Patrol"),align:"center"}}]},transforms:Po,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),p=n===io?uo(u):{};m||(p.backgroundColor=a),i&&!l&&(p.backgroundPosition="".concat(Math.round(100*i.x),"% ").concat(Math.round(100*i.y),"%")),o&&!u&&(p.background=o),p.minHeight=b||void 0;var h=re()(bo(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:h,style:p},u&&(r||o)&&0!==c&&Object(X.createElement)("span",{"aria-hidden":"true",className:re()("wp-block-cover__gradient-background",d),style:o?{background:o}:void 0}),lo===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:To,deprecated:go},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)(ue.ToolbarGroup,null,n&&Object(X.createElement)(ue.Button,{className:"components-toolbar__control",label:Object(Y.__)("Edit URL"),icon:"edit",onClick:i}))),r&&t&&Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ue.PanelBody,{title:Object(Y.__)("Media settings"),className:"blocks-responsive"},Object(X.createElement)(ue.ToggleControl,{label:Object(Y.__)("Resize for smaller devices"),checked:o,help:a,onChange:c}))))},Io=function(){return Object(X.createElement)("div",{className:"wp-block-embed is-loading"},Object(X.createElement)(ue.Spinner,null),Object(X.createElement)("p",null,Object(Y.__)("Embedding…")))},Mo=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)(ue.Placeholder,{icon:Object(X.createElement)($.BlockIcon,{icon:t,showColors:!0}),label:n,className:"wp-block-embed",instructions:Object(Y.__)("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(Y.__)("Enter URL to embed here…"),onChange:a}),Object(X.createElement)(ue.Button,{isSecondary:!0,type:"submit"},Object(Y._x)("Embed","button label"))),Object(X.createElement)("div",{className:"components-placeholder__learn-more"},Object(X.createElement)(ue.ExternalLink,{href:Object(Y.__)("https://wordpress.org/support/article/embeds/")},Object(Y.__)("Learn more about embeds"))),c&&Object(X.createElement)("div",{className:"components-placeholder__error"},Object(X.createElement)("div",{className:"components-placeholder__instructions"},Object(Y.__)("Sorry, this content could not be embedded.")),Object(X.createElement)(ue.Button,{isSecondary:!0,onClick:l},Object(Y._x)("Try again","button label"))," ",Object(X.createElement)(ue.Button,{isSecondary:!0,onClick:i},Object(Y._x)("Convert to link","button label"))))},zo=n(109),Lo=window.FocusEvent,Ho=function(e){function t(){var e;return Object(Se.a)(this,t),(e=Object(Pe.a)(this,Object(Ne.a)(t).apply(this,arguments))).checkFocus=e.checkFocus.bind(Object(Be.a)(e)),e.node=Object(X.createRef)(),e}return Object(Re.a)(t,e),Object(Te.a)(t,[{key:"checkFocus",value:function(){var e=document.activeElement;if("IFRAME"===e.tagName&&e.parentNode===this.node.current){var t=new Lo("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),Do=Object(be.withGlobalEvents)({blur:"checkFocus"})(Ho),Vo=function(e){function t(){var e;return Object(Se.a)(this,t),(e=Object(Pe.a)(this,Object(Ne.a)(t).apply(this,arguments))).hideOverlay=e.hideOverlay.bind(Object(Be.a)(e)),e.state={interactive:!1},e}return Object(Re.a)(t,e),Object(Te.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,p=this.state.interactive,h="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(zo.parse)(a).host.split("."),f=g.splice(g.length-2,g.length-1).join("."),O=Object(Q.includes)(et,f),v=Object(Y.sprintf)(Object(Y.__)("Embedded content from %s"),f),j=rt()(c,u,"wp-block-embed__wrapper"),y="wp-embed"===c?Object(X.createElement)(Do,{html:h}):Object(X.createElement)("div",{className:"wp-block-embed__wrapper"},Object(X.createElement)(ue.SandBox,{html:h,scripts:d,title:v,type:j,onFocus:this.hideOverlay}),!p&&Object(X.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}));return Object(X.createElement)("figure",{className:rt()(u,"wp-block-embed",{"is-type-video":"video"===c})},O?Object(X.createElement)(ue.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(Y.sprintf)(Object(Y.__)("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(Y.__)("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 Fo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Uo(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return(function(r){function o(){var e;return Object(Se.a)(this,o),(e=Object(Pe.a)(this,Object(Ne.a)(o).apply(this,arguments))).switchBackToURLInput=e.switchBackToURLInput.bind(Object(Be.a)(e)),e.setUrl=e.setUrl.bind(Object(Be.a)(e)),e.getMergedAttributes=e.getMergedAttributes.bind(Object(Be.a)(e)),e.setMergedAttributes=e.setMergedAttributes.bind(Object(Be.a)(e)),e.getResponsiveHelp=e.getResponsiveHelp.bind(Object(Be.a)(e)),e.toggleResponsive=e.toggleResponsive.bind(Object(Be.a)(e)),e.handleIncomingPreview=e.handleIncomingPreview.bind(Object(Be.a)(e)),e.state={editingURL:!1,url:e.props.attributes.url},e.props.preview&&e.handleIncomingPreview(),e}return Object(Re.a)(o,r),Object(Te.a)(o,[{key:"handleIncomingPreview",value:function(){if(this.setMergedAttributes(),this.props.onReplace){var e=st(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 function(e){for(var t=1;t0},priority:15,transform:function(e){var t=[];return e.forEach((function(e){var n=Object(Ae.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(me.select)("core").getMedia)(t);return!!n&&Object(Q.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(me.select)("core").getMedia)(t);return!!n&&Object(Q.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(me.select)("core").getMedia)(t);return!!n&&Object(Q.includes)(n.mime_type,"image")},transform:function(e){return Object(J.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id})}}]},aa={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]"}}},ca=aa.name,ia={title:Object(Y.__)("File"),description:Object(Y.__)("Add a link to a downloadable file."),icon:ea,keywords:[Object(Y.__)("document"),Object(Y.__)("pdf"),Object(Y.__)("download")],supports:{align:!0},transforms:oa,edit:ra,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})))}},la=Object(X.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ee.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"})),sa=function(e){function t(){var e;return Object(Se.a)(this,t),(e=Object(Pe.a)(this,Object(Ne.a)(t).apply(this,arguments))).state={isPreview:!1,styles:[]},e.switchToHTML=e.switchToHTML.bind(Object(Be.a)(e)),e.switchToPreview=e.switchToPreview.bind(Object(Be.a)(e)),e}return Object(Re.a)(t,e),Object(Te.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)(ue.ToolbarGroup,null,Object(X.createElement)(ue.Button,{className:"components-tab-button",isPressed:!o,onClick:this.switchToHTML},Object(X.createElement)("span",null,"HTML")),Object(X.createElement)(ue.Button,{className:"components-tab-button",isPressed:o,onClick:this.switchToPreview},Object(X.createElement)("span",null,Object(Y.__)("Preview"))))),Object(X.createElement)(ue.Disabled.Consumer,null,(function(e){return o||e?Object(X.createElement)(ue.SandBox,{html:t.content,styles:a}):Object(X.createElement)($.PlainText,{value:t.content,onChange:function(e){return n({content:e})},placeholder:Object(Y.__)("Write HTML…"),"aria-label":Object(Y.__)("HTML")})})))}}]),t}(X.Component),ua=Object(me.withSelect)((function(e){return{styles:(0,e("core/block-editor").getSettings)().styles}}))(sa);var ba={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}}}}}}]},ma={name:"core/html",category:"formatting",attributes:{content:{type:"string",source:"html"}}},da=ma.name,pa={title:Object(Y.__)("Custom HTML"),description:Object(Y.__)("Add custom HTML code and preview it as you edit."),icon:la,keywords:[Object(Y.__)("embed")],example:{attributes:{content:""+Object(Y.__)("Welcome to the wonderful world of blocks…")+""}},supports:{customClassName:!1,className:!1,html:!1},transforms:ba,edit:ua,save:function(e){var t=e.attributes;return Object(X.createElement)(X.RawHTML,null,t.content)}},ha=Object(X.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(X.createElement)(ee.Path,{d:"M13 17h8v-2h-8v2zM3 19h8V5H3v14zM13 9h8V7h-8v2zm0 4h8v-2h-8v2z"})),ga=Object(X.createElement)(ue.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(X.createElement)(ue.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)(ue.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)(ue.Path,{d:"M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19z"})),fa=["image","video"];function Oa(e,t){return e?{backgroundImage:"url(".concat(e,")"),backgroundPosition:t?"".concat(100*t.x,"% ").concat(100*t.y,"%"):"50% 50%"}:{}}var va=function(e){function t(){var e;return Object(Se.a)(this,t),(e=Object(Pe.a)(this,Object(Ne.a)(t).apply(this,arguments))).onUploadError=e.onUploadError.bind(Object(Be.a)(e)),e}return Object(Re.a)(t,e),Object(Te.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.onSelectMedia,n=e.mediaUrl;return Object(X.createElement)($.BlockControls,null,Object(X.createElement)($.MediaReplaceFlow,{mediaURL:n,allowedTypes:fa,accept:"image/*,video/*",onSelect: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?Oa(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:ga}),labels:{title:Object(Y.__)("Media area")},className:n,onSelect:t,accept:"image/*,video/*",allowedTypes:fa,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)(ue.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),ja=Object(be.compose)([Object(me.withDispatch)((function(e){return{toggleSelection:e("core/block-editor").toggleSelection}})),ue.withNotices])(va);function ya(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var _a={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}},ka=[{attributes:function(e){for(var t=1;tEarns his living
    Noiselessly.")}},{name:"core/paragraph",attributes:{content:Object(Y.__)("— Kobayashi Issa (一茶)")}}]},transforms:Ta,edit:xa,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,p=n.focalPoint,h=n.linkClass,g=n.href,f=n.linkTarget,O=n.rel,v=Object(Q.isEmpty)(O)?void 0:O,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:h,href:g,target:f,rel:v},j));var y,_={image:function(){return j},video:function(){return Object(X.createElement)("video",{controls:!0,src:s})}},k=Object($.getColorClassName)("background-color",r),w=re()((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)),C=d?Oa(s,p):{};u!==Sa&&(y="right"===i?"auto ".concat(u,"%"):"".concat(u,"% auto"));var E={backgroundColor:k?void 0:o,gridTemplateColumns:y};return Object(X.createElement)("div",{className:w,style:E},Object(X.createElement)("figure",{className:"wp-block-media-text__media",style:C},(_[l]||Q.noop)()),Object(X.createElement)("div",{className:"wp-block-media-text__content"},Object(X.createElement)($.InnerBlocks.Content,null)))},deprecated:ka},Ra=Object(X.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(X.createElement)(ee.Path,{d:"M17 7V5H3v2h14zm0 4V9H3v2h14zm0 4v-2H3v2h14z"}));function Aa(e){var t=e.clientId,n=Object(me.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(me.useDispatch)("core/block-editor").selectBlock;return Object(X.createElement)($.__experimentalBlockNavigationList,{blocks:[r],selectedBlockClientId:o,selectBlock:a,showNestedBlocks:!0,showAppender:!0})}var Ia=Object(X.createElement)(ue.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},Object(X.createElement)(ue.Path,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}));var Ma=function(){return Object(X.createElement)(ue.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(X.createElement)(ue.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"}))},za=function(e){var t=e.style,n=e.className;return Object(X.createElement)("div",{className:"block-library-colors-selector__icon-container"},Object(X.createElement)("div",{className:"".concat(n," block-library-colors-selector__state-selection"),style:t},Object(X.createElement)(Ma,null)))},La=function(e){var t,n,r,o=e.children,a=Object(Wt.a)(e,["children"]);return Object(X.createElement)(ue.Dropdown,{position:"bottom right",className:"block-library-colors-selector",contentClassName:"block-library-colors-selector__popover",renderToggle:(t=a,n=t.TextColor,r=t.BackgroundColor,function(e){var t=e.onToggle,o=e.isOpen;return Object(X.createElement)(ue.ToolbarGroup,null,Object(X.createElement)(ue.Button,{className:"components-toolbar__control block-library-colors-selector__toggle",label:Object(Y.__)("Open Colors Selector"),onClick:t,onKeyDown:function(e){o||e.keyCode!==sn.DOWN||(e.preventDefault(),e.stopPropagation(),t())},icon:Object(X.createElement)(r,null,Object(X.createElement)(n,null,Object(X.createElement)(za,null)))}))}),renderContent:function(){return o}})},Ha=Object(X.createElement)(ue.SVG,{width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(X.createElement)(ue.Path,{d:"M11 16v-3h10v-2H11V8l-4 4 4 4zM5 4H3v16h2V4z"})),Da=Object(X.createElement)(ue.SVG,{width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(X.createElement)(ue.Path,{d:"M5 8v3H1v2h4v3l4-4-4-4zm14 8v-3h4v-2h-4V8l-4 4 4 4zM13 4h-2v16h2V4z"})),Va=Object(X.createElement)(ue.SVG,{width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(X.createElement)(ue.Path,{d:"M13 8v3H3v2h10v3l4-4-4-4zm8-4h-2v16h2V4z"}));var Fa=Object(be.compose)([Object($.withFontSizes)("fontSize"),Object(me.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(me.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(X.useRef)(),d=Object(me.useDispatch)("core/block-editor").selectBlock,p=Object($.__experimentalUseColors)([{name:"textColor",property:"color"},{name:"backgroundColor",className:"background-color"}],{contrastCheckers:[{backgroundColor:!0,textColor:!0,fontSize:o.size}],colorDetector:{targetRef:m},colorPanelProps:{initialOpen:!0}},[o.size]),h=p.TextColor,g=p.BackgroundColor,f=p.InspectorControlsColorPanel,O=p.ColorPanel,v=function(e){var t=Object(X.useState)(!1),n=Object(se.a)(t,2),r=n[0],o=n[1];return{navigatorToolbarButton:Object(X.createElement)(ue.Button,{className:"components-toolbar__control",label:Object(Y.__)("Open block navigator"),onClick:function(){return o(!0)},icon:Ia}),navigatorModal:r&&Object(X.createElement)(ue.Modal,{title:Object(Y.__)("Block Navigator"),closeLabel:Object(Y.__)("Close"),onRequestClose:function(){o(!1)}},Object(X.createElement)(Aa,{clientId:e}))}}(r),j=v.navigatorToolbarButton,y=v.navigatorModal,k=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:t.rendered?Object(Q.escape)(t.rendered):Object(Y.__)("(no title)"),title:t.raw?Object(Q.escape)(t.raw):Object(Y.__)("(no title)"),opensInNewTab:!1})})):null}),[l]);function w(e){return function(){var t=n.itemsJustification===e?void 0:e;s({itemsJustification:t})}}var C=c&&l&&l.length,E=re()("wp-block-navigation",(t={},Object(Z.a)(t,"items-justification-".concat(n.itemsJustification),n.itemsJustification),Object(Z.a)(t,o.class,o.class),t)),x={fontSize:o.size?o.size+"px":void 0};return a?Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.BlockControls,null,Object(X.createElement)(ue.Toolbar,{icon:n.itemsJustification?_["justify".concat(Object(Q.upperFirst)(n.itemsJustification),"Icon")]:Ha,label:Object(Y.__)("Change items justification"),isCollapsed:!0,controls:[{icon:Ha,title:Object(Y.__)("Justify items left"),isActive:"left"===n.itemsJustification,onClick:w("left")},{icon:Da,title:Object(Y.__)("Justify items center"),isActive:"center"===n.itemsJustification,onClick:w("center")},{icon:Va,title:Object(Y.__)("Justify items right"),isActive:"right"===n.itemsJustification,onClick:w("right")}]}),Object(X.createElement)(ue.ToolbarGroup,null,j),Object(X.createElement)(La,{TextColor:h,BackgroundColor:g},O)),y,Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ue.PanelBody,{title:Object(Y.__)("Navigation Structure")},Object(X.createElement)(Aa,{clientId:r})),Object(X.createElement)(ue.PanelBody,{title:Object(Y.__)("Text settings")},Object(X.createElement)($.FontSizePicker,{value:o.size,onChange:u}))),f,Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ue.PanelBody,{title:Object(Y.__)("Display settings")},Object(X.createElement)(ue.ToggleControl,{checked:n.showSubmenuIcon,onChange:function(e){s({showSubmenuIcon:e})},label:Object(Y.__)("Show submenu icon for top-level items")}))),Object(X.createElement)(h,null,Object(X.createElement)(g,null,Object(X.createElement)("div",{ref:m,className:E,style:x},!a&&i&&Object(X.createElement)(X.Fragment,null,Object(X.createElement)(ue.Spinner,null)," ",Object(Y.__)("Loading Navigation…")," "),Object(X.createElement)($.InnerBlocks,{allowedBlocks:["core/navigation-link"],templateInsertUpdatesSelection:!1,__experimentalMoverDirection:"horizontal"}))))):Object(X.createElement)(X.Fragment,null,Object(X.createElement)(ue.Placeholder,{className:"wp-block-navigation-placeholder",icon:"menu",label:Object(Y.__)("Navigation"),instructions:Object(Y.__)("Create a Navigation from all existing pages, or create an empty one.")},Object(X.createElement)("div",{ref:m,className:"wp-block-navigation-placeholder__buttons"},Object(X.createElement)(ue.Button,{isSecondary:!0,className:"wp-block-navigation-placeholder__button",onClick:function(){b(k),d(r)},disabled:!C},Object(Y.__)("Create from all top-level pages")),Object(X.createElement)(ue.Button,{isLink:!0,className:"wp-block-navigation-placeholder__button",onClick:function(){var e=Object(J.createBlock)("core/navigation-link");b([e])}},Object(Y.__)("Create empty")))))}));var Ua="core/navigation",qa={title:Object(Y.__)("Navigation"),icon:Ra,description:Object(Y.__)("Add a navigation block to your site."),keywords:[Object(Y.__)("menu"),Object(Y.__)("navigation"),Object(Y.__)("links")],category:"layout",supports:{align:["wide","full"],anchor:!0,html:!1,inserter:!0},styles:[{name:"light",label:Object(Y.__)("Light"),isDefault:!0},{name:"dark",label:Object(Y.__)("Dark")}],edit:Fa,save:function(){return Object(X.createElement)($.InnerBlocks.Content,null)}},Ga=Object(X.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ee.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"})),Wa=n(27),Ka=Object(X.createElement)(ue.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},Object(X.createElement)(ue.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)(ue.Path,{fill:"none",d:"M0 0h24v24H0z"})),Za=Object(X.createElement)(ue.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(X.createElement)(ue.Polygon,{points:"9,13.5 14.7,7.9 13.2,6.5 9,10.7 4.8,6.5 3.3,7.9 "}));var $a=Object(be.compose)([Object(me.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.getBlockName,o=n.getBlockAttributes,a=n.getBlockParents,c=n.getClientIdsOfDescendants,i=n.hasSelectedInnerBlock,l=t.clientId,s=a(l)[0],u=a(l,!0)[0],b=o(s),m=!!c([l]).length,d="core/navigation"===r(u),p=b.showSubmenuIcon&&d&&m;return{isParentOfSelectedBlock:i(l,!0),hasDescendants:m,showSubmenuIcon:p}})),Object(me.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.showSubmenuIcon,i=e.insertLinkBlock,l=t.label,s=t.opensInNewTab,u=t.title,b=t.url,m=t.nofollow,d=t.description,p={title:u?Object(Q.unescape)(u):"",url:b,opensInNewTab:s},h=Object(X.useState)(!1),g=Object(se.a)(h,2),f=g[0],O=g[1],v=Object(Y.__)("Add link…"),j=Object(X.useRef)();return Object(X.useEffect)((function(){b||O(!0)}),[]),Object(X.useEffect)((function(){r||O(!1)}),[r]),Object(X.useEffect)((function(){f&&b&&(O(!1),Object(Ie.isURL)(Object(Ie.prependHTTP)(l))&&/^.+\.[a-z]+/.test(l)?function(){j.current.focus();var e=window.getSelection(),t=document.createRange();t.selectNodeContents(j.current),e.removeAllRanges(),e.addRange(t)}():Object(Wa.placeCaretAtHorizontalEdge)(j.current,!0))}),[b]),Object(X.createElement)(X.Fragment,null,Object(X.createElement)($.BlockControls,null,Object(X.createElement)(ue.ToolbarGroup,null,Object(X.createElement)(ue.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(Z.a)({},sn.rawShortcut.primary("k"),(function(){return O(!0)}))}),Object(X.createElement)(ue.ToolbarButton,{name:"link",icon:"admin-links",title:Object(Y.__)("Link"),shortcut:sn.displayShortcut.primary("k"),onClick:function(){return O(!0)}}),Object(X.createElement)(ue.ToolbarButton,{name:"submenu",icon:Ka,title:Object(Y.__)("Add submenu"),onClick:i}))),Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ue.PanelBody,{title:Object(Y.__)("SEO settings")},Object(X.createElement)(ue.TextControl,{value:u||"",onChange:function(e){a({title:e})},label:Object(Y.__)("Title Attribute"),help:Object(Y.__)("Provide more context about where the link goes.")}),Object(X.createElement)(ue.ToggleControl,{checked:m,onChange:function(e){a({nofollow:e})},label:Object(Y.__)("Add nofollow to link"),help:Object(X.createElement)(X.Fragment,null,Object(Y.__)("Don't let search engines follow this link."),Object(X.createElement)(ue.ExternalLink,{className:"wp-block-navigation-link__nofollow-external-link",href:Object(Y.__)("https://codex.wordpress.org/Nofollow")},Object(Y.__)("What's this?")))})),Object(X.createElement)(ue.PanelBody,{title:Object(Y.__)("Link settings")},Object(X.createElement)(ue.TextareaControl,{value:d||"",onChange:function(e){a({description:e})},label:Object(Y.__)("Description"),help:Object(Y.__)("The description will be displayed in the menu if the current theme supports it.")}))),Object(X.createElement)("div",{className:re()("wp-block-navigation-link",{"is-editing":r||o,"is-selected":r,"has-link":!!b})},Object(X.createElement)("div",{className:"wp-block-navigation-link__content"},Object(X.createElement)($.RichText,{ref:j,tagName:"span",className:"wp-block-navigation-link__label",value:l,onChange:function(e){return a({label:e})},placeholder:v,withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/image","core/strikethrough"]}),c&&Object(X.createElement)("span",{className:"wp-block-navigation-link__submenu-icon"},Za),f&&Object(X.createElement)(ue.Popover,{position:"bottom center",onClose:function(){return O(!1)}},Object(X.createElement)($.__experimentalLinkControl,{className:"wp-block-navigation-link__inline-link-input",value:p,showInitialSuggestions:!0,onChange:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.title,o=void 0===r?"":r,c=n.url,i=void 0===c?"":c,s=n.opensInNewTab,u=n.id;return a({title:Object(Q.escape)(o),url:encodeURI(i),label:(e=o.replace(/http(s?):\/\//gi,""),t=i.replace(/http(s?):\/\//gi,""),""!==o&&e!==t&&l!==o?Object(Q.escape)(o):l||Object(Q.escape)(t)),opensInNewTab:s,id:u})}}))),Object(X.createElement)($.InnerBlocks,{allowedBlocks:["core/navigation-link"],renderAppender:!!(n&&r||o)&&$.InnerBlocks.DefaultAppender})))}));var Ja={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"}}},Qa=Ja.name,Ya={title:Object(Y.__)("Navigation Link"),parent:["core/navigation"],icon:Ga,description:Object(Y.__)("Add a page, link, or another item to your navigation."),supports:{reusable:!1,html:!1},__experimentalLabel:function(e){return e.label},edit:$a,save:function(){return Object(X.createElement)($.InnerBlocks.Content,null)}},Xa=Object(X.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ee.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"})),ec=function(e){function t(){var e;return Object(Se.a)(this,t),(e=Object(Pe.a)(this,Object(Ne.a)(t).apply(this,arguments))).setCommentsToShow=e.setCommentsToShow.bind(Object(Be.a)(e)),e.toggleDisplayAvatar=e.createToggleAttribute("displayAvatar"),e.toggleDisplayDate=e.createToggleAttribute("displayDate"),e.toggleDisplayExcerpt=e.createToggleAttribute("displayExcerpt"),e}return Object(Re.a)(t,e),Object(Te.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)(ue.PanelBody,{title:Object(Y.__)("Latest comments settings")},Object(X.createElement)(ue.ToggleControl,{label:Object(Y.__)("Display Avatar"),checked:n,onChange:this.toggleDisplayAvatar}),Object(X.createElement)(ue.ToggleControl,{label:Object(Y.__)("Display Date"),checked:r,onChange:this.toggleDisplayDate}),Object(X.createElement)(ue.ToggleControl,{label:Object(Y.__)("Display Excerpt"),checked:o,onChange:this.toggleDisplayExcerpt}),Object(X.createElement)(ue.RangeControl,{label:Object(Y.__)("Number of Comments"),value:t,onChange:this.setCommentsToShow,min:1,max:100,required:!0}))),Object(X.createElement)(ue.Disabled,null,Object(X.createElement)(Nn.a,{block:"core/latest-comments",attributes:this.props.attributes})))}}]),t}(X.Component),tc="core/latest-comments",nc={title:Object(Y.__)("Latest Comments"),description:Object(Y.__)("Display a list of your most recent comments."),icon:Xa,category:"widgets",keywords:[Object(Y.__)("recent comments")],supports:{align:!0,html:!1},edit:ec},rc=Object(X.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ee.Rect,{x:"11",y:"7",width:"6",height:"2"}),Object(X.createElement)(ee.Rect,{x:"11",y:"11",width:"6",height:"2"}),Object(X.createElement)(ee.Rect,{x:"11",y:"15",width:"6",height:"2"}),Object(X.createElement)(ee.Rect,{x:"7",y:"7",width:"2",height:"2"}),Object(X.createElement)(ee.Rect,{x:"7",y:"11",width:"2",height:"2"}),Object(X.createElement)(ee.Rect,{x:"7",y:"15",width:"2",height:"2"}),Object(X.createElement)(ee.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"})),oc=n(40),ac=n.n(oc),cc=n(58),ic={per_page:-1},lc=function(e){function t(){var e;return Object(Se.a)(this,t),(e=Object(Pe.a)(this,Object(Ne.a)(t).apply(this,arguments))).state={categoriesList:[]},e}return Object(Re.a)(t,e),Object(Te.a)(t,[{key:"componentDidMount",value:function(){var e=this;this.isStillMounted=!0,this.fetchRequest=ac()({path:Object(Ie.addQueryArgs)("/wp/v2/categories",ic)}).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,p=t.excerptLength,h=Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ue.PanelBody,{title:Object(Y.__)("Post content settings")},Object(X.createElement)(ue.ToggleControl,{label:Object(Y.__)("Post Content"),checked:c,onChange:function(e){return n({displayPostContent:e})}}),c&&Object(X.createElement)(ue.RadioControl,{label:Object(Y.__)("Show:"),selected:a,options:[{label:Object(Y.__)("Excerpt"),value:"excerpt"},{label:Object(Y.__)("Full Post"),value:"full_post"}],onChange:function(e){return n({displayPostContentRadio:e})}}),c&&"excerpt"===a&&Object(X.createElement)(ue.RangeControl,{label:Object(Y.__)("Max number of words in excerpt"),value:p,onChange:function(e){return n({excerptLength:e})},min:10,max:100})),Object(X.createElement)(ue.PanelBody,{title:Object(Y.__)("Post meta settings")},Object(X.createElement)(ue.ToggleControl,{label:Object(Y.__)("Display post date"),checked:i,onChange:function(e){return n({displayPostDate:e})}})),Object(X.createElement)(ue.PanelBody,{title:Object(Y.__)("Sorting and filtering")},Object(X.createElement)(ue.QueryControls,Object(Ce.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)(ue.RangeControl,{label:Object(Y.__)("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,h,Object(X.createElement)(ue.Placeholder,{icon:"admin-post",label:Object(Y.__)("Latest Posts")},Array.isArray(r)?Object(Y.__)("No posts found."):Object(X.createElement)(ue.Spinner,null)));var f=r.length>d?r.slice(0,d):r,O=[{icon:"list-view",title:Object(Y.__)("List view"),onClick:function(){return n({postLayout:"list"})},isActive:"list"===l},{icon:"grid-view",title:Object(Y.__)("Grid view"),onClick:function(){return n({postLayout:"grid"})},isActive:"grid"===l}],v=Object(cc.__experimentalGetSettings)().formats.date;return Object(X.createElement)(X.Fragment,null,h,Object(X.createElement)($.BlockControls,null,Object(X.createElement)(ue.ToolbarGroup,{controls:O})),Object(X.createElement)("ul",{className:re()(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(Y.__)("(no title)")),i&&e.date_gmt&&Object(X.createElement)("time",{dateTime:Object(cc.format)("c",e.date_gmt),className:"wp-block-latest-posts__post-date"},Object(cc.dateI18n)(v,e.date_gmt)),c&&"excerpt"===a&&Object(X.createElement)("div",{className:"wp-block-latest-posts__post-excerpt"},Object(X.createElement)(X.RawHTML,{key:"html"},p'+Object(Y.__)("Read more")+"":r.trim().split(" ",p).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),sc=Object(me.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(Q.pickBy)({categories:c,order:o,orderby:a,per_page:r},(function(e){return!Object(Q.isUndefined)(e)})))}}))(lc),uc="core/latest-posts",bc={title:Object(Y.__)("Latest Posts"),description:Object(Y.__)("Display a list of your most recent posts."),icon:rc,category:"widgets",keywords:[Object(Y.__)("recent posts")],supports:{align:!0,html:!1},edit:sc},mc=Object(X.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ee.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"})),dc=function(e){var t=e.setAttributes,n=e.reversed,r=e.start;return Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ue.PanelBody,{title:Object(Y.__)("Ordered list settings")},Object(X.createElement)(ue.TextControl,{label:Object(Y.__)("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)(ue.ToggleControl,{label:Object(Y.__)("Reverse List Numbering"),checked:n||!1,onChange:function(e){t({reversed:e||void 0})}})))};function pc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function hc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function gc(e){for(var t=1;t1?r:Object(Kt.replace)(r,/\n/g,Kt.__UNSTABLE_LINE_SEPARATOR)})),Kt.__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(Kt.toHTMLString)({value:Object(Kt.create)({html:t,multilineTag:"p"}),multilineTag:"li"})})}},{type:"raw",selector:"ol,ul",schema:function(e){return{ol:fc(e).ol,ul:fc(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",gc({},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(Kt.split)(Object(Kt.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),Kt.__UNSTABLE_LINE_SEPARATOR).map((function(e){return Object(J.createBlock)("core/paragraph",{content:Object(Kt.toHTMLString)({value:e})})}))}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values;return Object(J.createBlock)("core/quote",{value:Object(Kt.toHTMLString)({value:Object(Kt.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"})})}}]};function vc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var jc={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"}}},yc=jc.name,_c={title:Object(Y.__)("List"),description:Object(Y.__)("Create a bulleted or numbered list."),icon:mc,keywords:[Object(Y.__)("bullet list"),Object(Y.__)("ordered list"),Object(Y.__)("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:Oc,merge:function(e,t){var n=t.values;return n&&"
  • "!==n?function(e){for(var t=1;t"+Object(Y.__)("One of the hardest things to do in technology is disrupt yourself.")+"

    ",citation:Object(Y.__)("Matt Mullenweg")}},styles:[{name:"default",label:Object(Y._x)("Default","block style"),isDefault:!0},{name:"solid-color",label:Object(Y.__)("Solid Color")}],supports:{align:["left","right","wide","full"]},edit:Qc,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(Q.includes)(u,qc)){var b=Object($.getColorClassName)("background-color",o);t=re()(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)&&re()("has-text-color",Object(Z.a)({},m,m)),p=m?void 0:{color:i};return Object(X.createElement)("figure",{className:t,style:n},Object(X.createElement)("blockquote",{className:d,style:p},Object(X.createElement)($.RichText.Content,{value:l,multiline:!0}),!$.RichText.isEmpty(s)&&Object(X.createElement)($.RichText.Content,{tagName:"cite",value:s})))},deprecated:$c},ti=function(e){function t(){var e;return Object(Se.a)(this,t),(e=Object(Pe.a)(this,Object(Ne.a)(t).apply(this,arguments))).titleField=Object(X.createRef)(),e.editButton=Object(X.createRef)(),e.handleFormSubmit=e.handleFormSubmit.bind(Object(Be.a)(e)),e.handleTitleChange=e.handleTitleChange.bind(Object(Be.a)(e)),e.handleTitleKeyDown=e.handleTitleKeyDown.bind(Object(Be.a)(e)),e}return Object(Re.a)(t,e),Object(Te.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===sn.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)(ue.Button,{ref:this.editButton,isSecondary:!0,className:"reusable-block-edit-panel__button",disabled:o,onClick:a},Object(Y.__)("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(Y.__)("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)(ue.Button,{type:"submit",isSecondary:!0,isBusy:r,disabled:!n||r,className:"reusable-block-edit-panel__button"},Object(Y.__)("Save"))))}}]),t}(X.Component),ni=Object(be.withInstanceId)(ti),ri=function(e){function t(e){var n,r=e.reusableBlock;return Object(Se.a)(this,t),(n=Object(Pe.a)(this,Object(Ne.a)(t).apply(this,arguments))).startEditing=n.startEditing.bind(Object(Be.a)(n)),n.stopEditing=n.stopEditing.bind(Object(Be.a)(n)),n.setBlocks=n.setBlocks.bind(Object(Be.a)(n)),n.setTitle=n.setTitle.bind(Object(Be.a)(n)),n.save=n.save.bind(Object(Be.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(Re.a)(t,e),Object(Te.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)(ue.Placeholder,null,Object(X.createElement)(ue.Spinner,null));if(!n)return Object(X.createElement)(ue.Placeholder,null,Object(Y.__)("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)(ue.Disabled,null,b)),Object(X.createElement)("div",{className:"block-library-block__reusable-block-container"},(t||l)&&Object(X.createElement)(ni,{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),oi=Object(be.compose)([Object(me.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(me.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(Q.partial)(r,c),onChange:Object(Q.partial)(o,c),onSave:Object(Q.partial)(a,c)}}))])(ri),ai="core/block",ci={title:Object(Y.__)("Reusable Block"),category:"reusable",description:Object(Y.__)("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:oi},ii=Object(X.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(X.createElement)(ee.Path,{d:"M14.92 18H18C18 9.32 10.82 2.25 2 2.25v3.02c7.12 0 12.92 5.71 12.92 12.73zm-5.44 0h3.08C12.56 12.27 7.82 7.6 2 7.6v3.02c2 0 3.87.77 5.29 2.16C8.7 14.17 9.48 16.03 9.48 18zm-5.35-.02c1.17 0 2.13-.93 2.13-2.09 0-1.15-.96-2.09-2.13-2.09-1.18 0-2.13.94-2.13 2.09 0 1.16.95 2.09 2.13 2.09z"})),li=function(e){function t(){var e;return Object(Se.a)(this,t),(e=Object(Pe.a)(this,Object(Ne.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.feedURL},e.toggleAttribute=e.toggleAttribute.bind(Object(Be.a)(e)),e.onSubmitURL=e.onSubmitURL.bind(Object(Be.a)(e)),e}return Object(Re.a)(t,e),Object(Te.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)(ue.Placeholder,{icon:"rss",label:"RSS"},Object(X.createElement)("form",{onSubmit:this.onSubmitURL},Object(X.createElement)(ue.TextControl,{placeholder:Object(Y.__)("Enter URL here…"),value:l,onChange:function(e){return u({feedURL:e})},className:"components-placeholder__input"}),Object(X.createElement)(ue.Button,{isSecondary:!0,type:"submit"},Object(Y.__)("Use URL"))));var b=[{icon:"edit",title:Object(Y.__)("Edit RSS URL"),onClick:function(){return e.setState({editing:!0})}},{icon:"list-view",title:Object(Y.__)("List view"),onClick:function(){return u({blockLayout:"list"})},isActive:"list"===n},{icon:"grid-view",title:Object(Y.__)("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)(ue.ToolbarGroup,{controls:b})),Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ue.PanelBody,{title:Object(Y.__)("RSS settings")},Object(X.createElement)(ue.RangeControl,{label:Object(Y.__)("Number of items"),value:s,onChange:function(e){return u({itemsToShow:e})},min:1,max:10,required:!0}),Object(X.createElement)(ue.ToggleControl,{label:Object(Y.__)("Display author"),checked:o,onChange:this.toggleAttribute("displayAuthor")}),Object(X.createElement)(ue.ToggleControl,{label:Object(Y.__)("Display date"),checked:c,onChange:this.toggleAttribute("displayDate")}),Object(X.createElement)(ue.ToggleControl,{label:Object(Y.__)("Display excerpt"),checked:a,onChange:this.toggleAttribute("displayExcerpt")}),a&&Object(X.createElement)(ue.RangeControl,{label:Object(Y.__)("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)(ue.RangeControl,{label:Object(Y.__)("Columns"),value:r,onChange:function(e){return u({columns:e})},min:2,max:6,required:!0}))),Object(X.createElement)(ue.Disabled,null,Object(X.createElement)(Nn.a,{block:"core/rss",attributes:this.props.attributes})))}}]),t}(X.Component),si="core/rss",ui={title:Object(Y.__)("RSS"),description:Object(Y.__)("Display entries from any RSS or Atom feed."),icon:ii,category:"widgets",keywords:[Object(Y.__)("atom"),Object(Y.__)("feed")],supports:{align:!0,html:!1},example:{attributes:{feedURL:"https://wordpress.org"}},edit:li},bi=Object(X.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(X.createElement)(ee.Path,{d:"M12.14 4.18c1.87 1.87 2.11 4.75.72 6.89.12.1.22.21.36.31.2.16.47.36.81.59.34.24.56.39.66.47.42.31.73.57.94.78.32.32.6.65.84 1 .25.35.44.69.59 1.04.14.35.21.68.18 1-.02.32-.14.59-.36.81s-.49.34-.81.36c-.31.02-.65-.04-.99-.19-.35-.14-.7-.34-1.04-.59-.35-.24-.68-.52-1-.84-.21-.21-.47-.52-.77-.93-.1-.13-.25-.35-.47-.66-.22-.32-.4-.57-.56-.78-.16-.2-.29-.35-.44-.5-2.07 1.09-4.69.76-6.44-.98-2.14-2.15-2.14-5.64 0-7.78 2.15-2.15 5.63-2.15 7.78 0zm-1.41 6.36c1.36-1.37 1.36-3.58 0-4.95-1.37-1.37-3.59-1.37-4.95 0-1.37 1.37-1.37 3.58 0 4.95 1.36 1.37 3.58 1.37 4.95 0z"}));var mi="core/search",di={title:Object(Y.__)("Search"),description:Object(Y.__)("Help visitors find your content."),icon:bi,category:"widgets",keywords:[Object(Y.__)("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(Y.__)("Label text"),placeholder:Object(Y.__)("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(Y.__)("Optional placeholder text"),placeholder:a?void 0:Object(Y.__)("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(Y.__)("Button text"),placeholder:Object(Y.__)("Add button text…"),withoutInteractiveFormatting:!0,value:c,onChange:function(e){return r({buttonText:e})}}))}},pi=Object(X.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ee.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)(ee.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"})),hi=[{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=re()(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 gi=Object(be.compose)([Object(me.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.hasInnerBlocks,n=Object(X.useRef)(),r=Object($.__experimentalUseColors)([{name:"textColor",property:"color"},{name:"backgroundColor",className:"has-background"}],{contrastCheckers:{backgroundColor:!0,textColor:!0},colorDetector:{targetRef:n}}),o=r.TextColor,a=r.BackgroundColor,c=r.InspectorControlsColorPanel;return Object(X.createElement)(X.Fragment,null,c,Object(X.createElement)(a,null,Object(X.createElement)(o,null,Object(X.createElement)("div",{className:"wp-block-group",ref:n},Object(X.createElement)("div",{className:"wp-block-group__inner-container"},Object(X.createElement)($.InnerBlocks,{renderAppender:!t&&$.InnerBlocks.ButtonBlockAppender}))))))}));var fi={name:"core/group",category:"layout",attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}}},Oi=fi.name,vi={title:Object(Y.__)("Group"),icon:pi,description:Object(Y.__)("A block that groups other blocks."),keywords:[Object(Y.__)("container"),Object(Y.__)("wrapper"),Object(Y.__)("row"),Object(Y.__)("section")],example:{attributes:{customBackgroundColor:"#ffffff",customTextColor:"#000000"},innerBlocks:[{name:"core/paragraph",attributes:{customTextColor:"#cf2e2e",fontSize:"large",content:Object(Y.__)("One.")}},{name:"core/paragraph",attributes:{customTextColor:"#ff6900",fontSize:"large",content:Object(Y.__)("Two.")}},{name:"core/paragraph",attributes:{customTextColor:"#fcb900",fontSize:"large",content:Object(Y.__)("Three.")}},{name:"core/paragraph",attributes:{customTextColor:"#00d084",fontSize:"large",content:Object(Y.__)("Four.")}},{name:"core/paragraph",attributes:{customTextColor:"#0693e3",fontSize:"large",content:Object(Y.__)("Five.")}},{name:"core/paragraph",attributes:{customTextColor:"#9b51e0",fontSize:"large",content:Object(Y.__)("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:gi,save:function(e){var t=e.attributes,n=t.backgroundColor,r=t.customBackgroundColor,o=t.textColor,a=t.customTextColor,c=Object($.getColorClassName)("background-color",n),i=Object($.getColorClassName)("color",o),l=re()(c,{"has-text-color":o||a,"has-background":n||r}),s={backgroundColor:c?void 0:r,color:i?void 0:a};return Object(X.createElement)("div",{className:l,style:s},Object(X.createElement)("div",{className:"wp-block-group__inner-container"},Object(X.createElement)($.InnerBlocks.Content,null)))},deprecated:hi},ji=Object(X.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ee.Path,{d:"M19 13H5v-2h14v2z"})),yi=function(e){var t=e.color,n=e.setColor;return Object(X.createElement)($.InspectorControls,null,Object(X.createElement)($.PanelColorSettings,{title:Object(Y.__)("Color settings"),colorSettings:[{value:t.color,onChange:n,label:Object(Y.__)("Color")}]}))};var _i=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)(ue.HorizontalRule,{className:re()(r,Object(Z.a)({"has-background":t.color},t.class,t.class)),style:{backgroundColor:t.color,color:t.color}}),Object(X.createElement)(yi,{color:t,setColor:n}))}));var ki={from:[{type:"enter",regExp:/^-{3,}$/,transform:function(){return Object(J.createBlock)("core/separator")}},{type:"raw",selector:"hr",schema:{hr:{}}}]},wi={name:"core/separator",category:"layout",attributes:{color:{type:"string"},customColor:{type:"string"}}},Ci=wi.name,Ei={title:Object(Y.__)("Separator"),description:Object(Y.__)("Create a break between ideas or sections with a horizontal separator."),icon:ji,keywords:[Object(Y.__)("horizontal-line"),"hr",Object(Y.__)("divider")],example:{attributes:{customColor:"#065174",className:"is-style-wide"}},styles:[{name:"default",label:Object(Y.__)("Default"),isDefault:!0},{name:"wide",label:Object(Y.__)("Wide Line")},{name:"dots",label:Object(Y.__)("Dots")}],transforms:ki,edit:_i,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=re()((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})}},xi=Object(X.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ee.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 Si=n(83),Ti={from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:function(e,t){var n=t.content;return Object(Si.removep)(Object(Si.autop)(n))}}},priority:20}]},Pi={name:"core/shortcode",category:"widgets",attributes:{text:{type:"string",source:"html"}}},Ni=Pi.name,Bi={title:Object(Y.__)("Shortcode"),description:Object(Y.__)("Insert additional custom elements with a WordPress shortcode."),icon:xi,transforms:Ti,supports:{customClassName:!1,className:!1,html:!1},edit:function e(t){var n=t.attributes,r=t.setAttributes,o=Object(be.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)(ue.Dashicon,{icon:"shortcode"}),Object(Y.__)("Shortcode")),Object(X.createElement)($.PlainText,{className:"input-control",id:a,value:n.text,placeholder:Object(Y.__)("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)}},Ri=Object(X.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ee.Path,{d:"M13 4v2h3.59L6 16.59V13H4v7h7v-2H7.41L18 7.41V11h2V4h-7"})),Ai=Object(be.compose)([Object(me.withDispatch)((function(e){var t=e("core/block-editor").toggleSelection;return{onResizeStart:function(){return t(!1)},onResizeStop:function(){return t(!0)}}})),be.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(se.a)(s,2),b=u[0],m=u[1];return Object(X.createElement)(X.Fragment,null,Object(X.createElement)(ue.ResizableBox,{className:re()("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)(ue.PanelBody,{title:Object(Y.__)("Spacer settings")},Object(X.createElement)(ue.BaseControl,{label:Object(Y.__)("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"})))))}));var Ii={name:"core/spacer",category:"layout",attributes:{height:{type:"number",default:100}}},Mi=Ii.name,zi={title:Object(Y.__)("Spacer"),description:Object(Y.__)("Add white space between blocks and customize its height."),icon:Ri,edit:Ai,save:function(e){var t=e.attributes;return Object(X.createElement)("div",{style:{height:t.height},"aria-hidden":!0})}},Li=n(35),Hi=n.n(Li);var Di={to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(J.createBlock)("core/paragraph",e)}}]},Vi={name:"core/subhead",category:"common",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p"}}},Fi=Vi.name,Ui={title:Object(Y.__)("Subheading (deprecated)"),description:Object(Y.__)("This block is deprecated. Please use the Paragraph block instead."),icon:Object(X.createElement)(ue.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(X.createElement)(ue.Path,{d:"M7.1 6l-.5 3h4.5L9.4 19h3l1.8-10h4.5l.5-3H7.1z"})),supports:{inserter:!1,multiple:!1},transforms:Di,edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=t.align,a=t.content,c=t.placeholder;return Hi()("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(Y.__)("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})}},qi=Object(X.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ee.Path,{d:"M20 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 2v3H5V5h15zm-5 14h-5v-9h5v9zM5 10h3v9H5v-9zm12 9v-9h3v9h-3z"})),Gi=[{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=re()(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}))}}],Wi=n(275),Ki=n(276),Zi=n(277);function $i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Ji=["align"];function Qi(e,t,n){if(!t)return e;var r=Object(Q.pick)(e,["head","body","foot"]),o=t.sectionName,a=t.rowIndex;return Object(Q.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 Yi(e,t){var n=t.sectionName,r=t.rowIndex,o=t.columnCount,a=function(e){return tl(e.head)?tl(e.body)?tl(e.foot)?void 0:e.foot[0]:e.body[0]:e.head[0]}(e),c=void 0===o?Object(Q.get)(a,["cells","length"]):o;return c?Object(Z.a)({},n,[].concat(Object(K.a)(e[n].slice(0,r)),[{cells:Object(Q.times)(c,(function(e){var t=Object(Q.get)(a,["cells",e],{});return function(e){for(var t=1;t0&&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(Xi(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(Q.pick)(e,["head","body","foot"]);return Object(Q.mapValues)(r,(function(e){return tl(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:ol({},e,{type:"cell"})})}}},{key:"getTableControls",value:function(){var e=this.state.selectedCell;return[{icon:"table-row-before",title:Object(Y.__)("Add Row Before"),isDisabled:!e,onClick:this.onInsertRowBefore},{icon:"table-row-after",title:Object(Y.__)("Add Row After"),isDisabled:!e,onClick:this.onInsertRowAfter},{icon:"table-row-delete",title:Object(Y.__)("Delete Row"),isDisabled:!e,onClick:this.onDeleteRow},{icon:"table-col-before",title:Object(Y.__)("Add Column Before"),isDisabled:!e,onClick:this.onInsertColumnBefore},{icon:"table-col-after",title:Object(Y.__)("Add Column After"),isDisabled:!e,onClick:this.onInsertColumnAfter},{icon:"table-col-delete",title:Object(Y.__)("Delete Column"),isDisabled:!e,onClick:this.onDeleteColumn}]}},{key:"renderSection",value:function(e){var t=this,n=e.name,r=e.rows;if(tl(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=re()(Object(Z.a)({},"has-text-align-".concat(l),l),"wp-block-table__cell-content"),b="";return"head"===n?b=Object(Y.__)("Header label"):"foot"===n&&(b=Object(Y.__)("Footer label")),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),placeholder:b})})))})))}},{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,p=n.foot,h=tl(m)&&tl(d)&&tl(p),g=this.renderSection;if(h)return Object(X.createElement)(ue.Placeholder,{label:Object(Y.__)("Table"),icon:Object(X.createElement)($.BlockIcon,{icon:qi,showColors:!0}),instructions:Object(Y.__)("Insert a table for sharing data.")},Object(X.createElement)("form",{className:"wp-block-table__placeholder-form",onSubmit:this.onCreateTable},Object(X.createElement)(ue.TextControl,{type:"number",label:Object(Y.__)("Column Count"),value:s,onChange:this.onChangeInitialColumnCount,min:"1",className:"wp-block-table__placeholder-input"}),Object(X.createElement)(ue.TextControl,{type:"number",label:Object(Y.__)("Row Count"),value:l,onChange:this.onChangeInitialRowCount,min:"1",className:"wp-block-table__placeholder-input"}),Object(X.createElement)(ue.Button,{className:"wp-block-table__placeholder-button",isSecondary:!0,type:"submit"},Object(Y.__)("Create Table"))));var f=re()(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)(ue.ToolbarGroup,null,Object(X.createElement)(ue.DropdownMenu,{hasArrowIndicator:!0,icon:"editor-table",label:Object(Y.__)("Edit table"),controls:this.getTableControls()})),Object(X.createElement)($.AlignmentToolbar,{label:Object(Y.__)("Change column alignment"),alignmentControls:cl,value:this.getCellAlignment(),onChange:function(t){return e.onChangeColumnAlignment(t)},onHover:this.onHoverAlignment})),Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ue.PanelBody,{title:Object(Y.__)("Table settings"),className:"blocks-table-settings"},Object(X.createElement)(ue.ToggleControl,{label:Object(Y.__)("Fixed width table cells"),checked:!!u,onChange:this.onChangeFixedLayout}),Object(X.createElement)(ue.ToggleControl,{label:Object(Y.__)("Header section"),checked:!(!m||!m.length),onChange:this.onToggleHeaderSection}),Object(X.createElement)(ue.ToggleControl,{label:Object(Y.__)("Footer section"),checked:!(!p||!p.length),onChange:this.onToggleFooterSection})),Object(X.createElement)($.PanelColorSettings,{title:Object(Y.__)("Color settings"),initialOpen:!1,colorSettings:[{value:o.color,onChange:a,label:Object(Y.__)("Background Color"),disableCustomColors:!0,colors:al}]})),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:p})),Object(X.createElement)($.RichText,{tagName:"figcaption",placeholder:Object(Y.__)("Write caption…"),value:b,onChange:function(e){return c({caption:e})},unstableOnFocus:function(){return e.setState({selectedCell:null})}})))}}]),t}(X.Component),sl=il("backgroundColor")(ll);var ul=function(e){var t=e.phrasingContentSchema;return{tr:{allowEmpty:!0,children:{th:{allowEmpty:!0,children:t,attributes:["scope"]},td:{allowEmpty:!0,children:t}}}}},bl={from:[{type:"raw",selector:"table",schema:function(e){return{table:{children:{thead:{allowEmpty:!0,children:ul(e)},tfoot:{allowEmpty:!0,children:ul(e)},tbody:{allowEmpty:!0,children:ul(e)}}}}}}]},ml={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"}}}}}}},dl=ml.name,pl={title:Object(Y.__)("Table"),description:Object(Y.__)("Insert a table — perfect for sharing charts and data."),icon:qi,example:{attributes:{head:[{cells:[{content:Object(Y.__)("Version"),tag:"th"},{content:Object(Y.__)("Jazz Musician"),tag:"th"},{content:Object(Y.__)("Release Date"),tag:"th"}]}],body:[{cells:[{content:"5.2",tag:"td"},{content:"Jaco Pastorius",tag:"td"},{content:Object(Y.__)("May 7, 2019"),tag:"td"}]},{cells:[{content:"5.1",tag:"td"},{content:"Betty Carter",tag:"td"},{content:Object(Y.__)("February 21, 2019"),tag:"td"}]},{cells:[{content:"5.0",tag:"td"},{content:"Bebo Valdés",tag:"td"},{content:Object(Y.__)("December 6, 2018"),tag:"td"}]}]}},styles:[{name:"regular",label:Object(Y._x)("Default","block style"),isDefault:!0},{name:"stripes",label:Object(Y.__)("Stripes")}],supports:{align:!0},transforms:bl,edit:sl,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=re()(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=re()(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:Gi};var hl={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})])})))}}]},gl={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"}}},fl=gl.name,Ol={supports:{inserter:!1},title:Object(Y.__)("Text Columns (deprecated)"),description:Object(Y.__)("This block is deprecated. Please use the Columns block instead."),transforms:hl,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 Hi()("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)(ue.PanelBody,null,Object(X.createElement)(ue.RangeControl,{label:Object(Y.__)("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(Q.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(Q.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(Y.__)("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(Q.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(Q.get)(r,[e,"children"])}))})))}},vl=Object(X.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ee.Path,{d:"M21 11.01L3 11V13H21V11.01ZM3 16H17V18H3V16ZM15 6H3V8.01L15 8V6Z"})),jl=[{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 yl={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)}}]},_l={name:"core/verse",category:"formatting",attributes:{content:{type:"string",source:"html",selector:"pre",default:"",__unstablePreserveWhiteSpace:!0},textAlign:{type:"string"}}},kl=_l.name,wl={title:Object(Y.__)("Verse"),description:Object(Y.__)("Insert poetry. Use special spacing formats. Or quote song lyrics."),icon:vl,example:{attributes:{content:Object(Y.__)("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(Y.__)("poetry"),Object(Y.__)("poem")],transforms:yl,deprecated:jl,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(Y.__)("Write…"),className:re()(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=re()(Object(Z.a)({},"has-text-align-".concat(n),n));return Object(X.createElement)($.RichText.Content,{tagName:"pre",className:o,value:r})}},Cl=Object(X.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ee.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"})),El=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)(ue.ToggleControl,{label:Object(Y.__)("Autoplay"),onChange:s("autoplay"),checked:r,help:function(e){return e?Object(Y.__)("Note: Autoplaying videos may cause usability issues for some visitors."):null}}),Object(X.createElement)(ue.ToggleControl,{label:Object(Y.__)("Loop"),onChange:s("loop"),checked:a}),Object(X.createElement)(ue.ToggleControl,{label:Object(Y.__)("Muted"),onChange:s("muted"),checked:c}),Object(X.createElement)(ue.ToggleControl,{label:Object(Y.__)("Playback Controls"),onChange:s("controls"),checked:o}),Object(X.createElement)(ue.ToggleControl,{label:Object(Y.__)("Play inline"),onChange:s("playsInline"),checked:i}),Object(X.createElement)(ue.SelectControl,{label:Object(Y.__)("Preload"),value:l,onChange:function(e){return t({preload:e})},options:[{value:"auto",label:Object(Y.__)("Auto")},{value:"metadata",label:Object(Y.__)("Metadata")},{value:"none",label:Object(Y.__)("None")}]}))},xl=["video"],Sl=["image"],Tl=function(e){function t(){var e;return Object(Se.a)(this,t),(e=Object(Pe.a)(this,Object(Ne.a)(t).apply(this,arguments))).videoPlayer=Object(X.createRef)(),e.posterImageButton=Object(X.createRef)(),e.onSelectURL=e.onSelectURL.bind(Object(Be.a)(e)),e.onSelectPoster=e.onSelectPoster.bind(Object(Be.a)(e)),e.onRemovePoster=e.onRemovePoster.bind(Object(Be.a)(e)),e.onUploadError=e.onUploadError.bind(Object(Be.a)(e)),e}return Object(Re.a)(t,e),Object(Te.a)(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,n=e.mediaUpload,r=e.noticeOperations,o=e.setAttributes,a=t.id,c=t.src,i=void 0===c?"":c;if(!a&&Object(Ae.isBlobURL)(i)){var l=Object(Ae.getBlobByURL)(i);l&&n({filesList:[l],onFileChange:function(e){var t=Object(se.a)(e,1)[0].url;o({src:t})},onError:function(e){r.createErrorNotice(e)},allowedTypes:xl})}}},{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=st({attributes:{url:e}});if(void 0!==o)return void this.props.onReplace(o);r({src:e,id:void 0})}}},{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=function(e){e&&e.url?m({src:e.url,id:e.id}):m({src:void 0,id:void 0})};if(!a)return Object(X.createElement)($.MediaPlaceholder,{icon:Object(X.createElement)($.BlockIcon,{icon:Cl}),className:i,onSelect:d,onSelectURL:this.onSelectURL,accept:"video/*",allowedTypes:xl,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)($.MediaReplaceFlow,{mediaURL:a,allowedTypes:xl,accept:"video/*",onSelect:d,onSelectURL:this.onSelectURL,onError:this.onUploadError})),Object(X.createElement)($.InspectorControls,null,Object(X.createElement)(ue.PanelBody,{title:Object(Y.__)("Video settings")},Object(X.createElement)(El,{setAttributes:m,attributes:b}),Object(X.createElement)($.MediaUploadCheck,null,Object(X.createElement)(ue.BaseControl,{className:"editor-video-poster-control"},Object(X.createElement)(ue.BaseControl.VisualLabel,null,Object(Y.__)("Poster Image")),Object(X.createElement)($.MediaUpload,{title:Object(Y.__)("Select Poster Image"),onSelect:this.onSelectPoster,allowedTypes:Sl,render:function(t){var n=t.open;return Object(X.createElement)(ue.Button,{isSecondary:!0,onClick:n,ref:e.posterImageButton,"aria-describedby":p},e.props.attributes.poster?Object(Y.__)("Replace image"):Object(Y.__)("Select Poster Image"))}}),Object(X.createElement)("p",{id:p,hidden:!0},this.props.attributes.poster?Object(Y.sprintf)(Object(Y.__)("The current poster image url is %s"),this.props.attributes.poster):Object(Y.__)("There is no poster image currently selected")),!!this.props.attributes.poster&&Object(X.createElement)(ue.Button,{onClick:this.onRemovePoster,isLink:!0,isDestructive:!0},Object(Y.__)("Remove Poster Image")))))),Object(X.createElement)("figure",{className:i},Object(X.createElement)(ue.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(Y.__)("Write caption…"),value:n,onChange:function(e){return m({caption:e})},inlineToolbar:!0})))}}]),t}(X.Component),Pl=Object(be.compose)([Object(me.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),ue.withNotices,be.withInstanceId])(Tl);var Nl={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(Ae.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}}}}]},Bl={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"}}},Rl=Bl.name,Al={title:Object(Y.__)("Video"),description:Object(Y.__)("Embed a video from your media library or upload a new one."),icon:Cl,keywords:[Object(Y.__)("movie")],transforms:Nl,supports:{align:!0},edit:Pl,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}))}},Il=Object(X.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(X.createElement)(ee.Path,{d:"M11 2h7v7L8 19l-7-7zm3 6c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"})),Ml=function(e){function t(){var e;return Object(Se.a)(this,t),(e=Object(Pe.a)(this,Object(Ne.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.taxonomy},e.setTaxonomy=e.setTaxonomy.bind(Object(Be.a)(e)),e.toggleShowTagCounts=e.toggleShowTagCounts.bind(Object(Be.a)(e)),e}return Object(Re.a)(t,e),Object(Te.a)(t,[{key:"getTaxonomyOptions",value:function(){var e=Object(Q.filter)(this.props.taxonomies,"show_cloud"),t={label:Object(Y.__)("- Select -"),value:"",disabled:!0},n=Object(Q.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)(ue.PanelBody,{title:Object(Y.__)("Tag Cloud settings")},Object(X.createElement)(ue.SelectControl,{label:Object(Y.__)("Taxonomy"),options:r,value:t,onChange:this.setTaxonomy}),Object(X.createElement)(ue.ToggleControl,{label:Object(Y.__)("Show post counts"),checked:n,onChange:this.toggleShowTagCounts})));return Object(X.createElement)(X.Fragment,null,o,Object(X.createElement)(Nn.a,{key:"tag-cloud",block:"core/tag-cloud",attributes:e}))}}]),t}(X.Component),zl=Object(me.withSelect)((function(e){return{taxonomies:e("core").getTaxonomies()}}))(Ml),Ll="core/tag-cloud",Hl={title:Object(Y.__)("Tag Cloud"),description:Object(Y.__)("A cloud of your most used tags."),icon:Il,category:"widgets",supports:{html:!1,align:!0},edit:zl},Dl=Object(X.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(X.createElement)(ee.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)(ee.Rect,{x:"11",y:"8",width:"2",height:"2"}),Object(X.createElement)(ee.Rect,{x:"11",y:"11",width:"2",height:"2"}),Object(X.createElement)(ee.Rect,{x:"8",y:"8",width:"2",height:"2"}),Object(X.createElement)(ee.Rect,{x:"8",y:"11",width:"2",height:"2"}),Object(X.createElement)(ee.Rect,{x:"5",y:"11",width:"2",height:"2"}),Object(X.createElement)(ee.Rect,{x:"5",y:"8",width:"2",height:"2"}),Object(X.createElement)(ee.Rect,{x:"8",y:"14",width:"8",height:"2"}),Object(X.createElement)(ee.Rect,{x:"14",y:"11",width:"2",height:"2"}),Object(X.createElement)(ee.Rect,{x:"14",y:"8",width:"2",height:"2"}),Object(X.createElement)(ee.Rect,{x:"17",y:"11",width:"2",height:"2"}),Object(X.createElement)(ee.Rect,{x:"17",y:"8",width:"2",height:"2"}));function Vl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fl(e){for(var t=1;t1)&&(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===sn.F10&&t.stopPropagation()})),e.addButton("kitchensink",{tooltip:Object(Y._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(Y.__)("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(Y.__)("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);var Gl={name:"core/freeform",category:"formatting",attributes:{content:{type:"string",source:"html"}}},Wl=Gl.name,Kl={title:Object(Y._x)("Classic","block title"),description:Object(Y.__)("Use the classic WordPress editor."),icon:Dl,supports:{className:!1,customClassName:!1,reusable:!1},edit:ql,save:function(e){var t=e.attributes.content;return Object(X.createElement)(X.RawHTML,null,t)}};n.d(t,"registerCoreBlocks",(function(){return $l})),n.d(t,"__experimentalRegisterExperimentalCoreBlocks",(function(){return Jl}));var Zl=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)}},$l=function(){[r,o,a,i,x,c,L,l,s,u,b,m,d,p,h,g,f,O].concat(Object(K.a)(Yo),Object(K.a)(Xo),[v,M,window.wp&&window.wp.oldEditor?W:null,j,y,C,E,S,T,k,w,P,N,B,A,I,z,R,H,D,V,G,F,U,q]).forEach(Zl),Object(J.setDefaultBlockName)(_e),window.wp&&window.wp.oldEditor&&Object(J.setFreeformContentHandlerName)(Wl),Object(J.setUnregisteredTypeHandlerName)(Cc),M&&Object(J.setGroupingBlockName)(Oi)},Jl=void 0},44: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,p,h;return n=B(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=B(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=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 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 a=[M(l(e).toString(16)),M(l(t).toString(16)),M(l(n).toString(16)),M(L(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)&&(N[h(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(O,arguments)},greyscale:function(){return this._applyModification(v,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(w,arguments)},monochromatic:function(){return this._applyCombination(T,arguments)},splitcomplement:function(){return this._applyCombination(x,arguments)},triad:function(){return this._applyCombination(C,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 P=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"},N=m.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(P);function B(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 A(e){return s(1,u(0,e))}function I(e){return parseInt(e,16)}function M(e){return 1==e.length?"0"+e:""+e}function z(e){return e<=1&&(e=100*e+"%"),e}function L(e){return o.round(255*parseFloat(e)).toString(16)}function H(e){return I(e)/255}var D,V,F,U=(V="[\\s|\\(]+("+(D="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+D+")[,|\\s]+("+D+")\\s*\\)?",F="[\\s|\\(]+("+D+")[,|\\s]+("+D+")[,|\\s]+("+D+")[,|\\s]+("+D+")\\s*\\)?",{CSS_UNIT:new RegExp(D),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!!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)},54:function(e,t){!function(){e.exports=this.wp.viewport}()},58:function(e,t){!function(){e.exports=this.wp.date}()},6:function(e,t){!function(){e.exports=this.wp.blockEditor}()},65:function(e,t){!function(){e.exports=this.wp.serverSideRender}()},66:function(e,t){!function(){e.exports=this.wp.escapeHtml}()},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}))},71: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},73:function(e,t){!function(){e.exports=this.wp.coreData}()},8:function(e,t){!function(){e.exports=this.wp.compose}()},83:function(e,t){!function(){e.exports=this.wp.autop}()},86: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=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 +*/!function(){"use strict";var n=function(){function e(){}function t(e,t){for(var n=t.length,r=0;r)[^])*)\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>> ((i & 0x03) << 3) & 0xff; + } + + return rnds; + }; +} + + +/***/ }), + +/***/ 112: +/***/ (function(module, exports) { + +/** + * Convert array of 16 byte values to UUID string format of the form: + * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX + */ +var byteToHex = []; +for (var i = 0; i < 256; ++i) { + byteToHex[i] = (i + 0x100).toString(16).substr(1); +} + +function bytesToUuid(buf, offset) { + var i = offset || 0; + var bth = byteToHex; + // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4 + return ([bth[buf[i++]], bth[buf[i++]], + bth[buf[i++]], bth[buf[i++]], '-', + bth[buf[i++]], bth[buf[i++]], '-', + bth[buf[i++]], bth[buf[i++]], '-', + bth[buf[i++]], bth[buf[i++]], '-', + bth[buf[i++]], bth[buf[i++]], + bth[buf[i++]], bth[buf[i++]], + bth[buf[i++]], bth[buf[i++]]]).join(''); +} + +module.exports = bytesToUuid; + + +/***/ }), + +/***/ 12: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -156,7 +221,7 @@ function _createClass(Constructor, protoProps, staticProps) { /***/ }), -/***/ 14: +/***/ 13: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -169,7 +234,14 @@ function _classCallCheck(instance, Constructor) { /***/ }), -/***/ 18: +/***/ 143: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["shortcode"]; }()); + +/***/ }), + +/***/ 17: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -185,7 +257,7 @@ function _arrayWithoutHoles(arr) { } } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(31); +var iterableToArray = __webpack_require__(33); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js function _nonIterableSpread() { @@ -215,7 +287,7 @@ function _toConsumableArray(arr) { "use strict"; // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -var arrayWithHoles = __webpack_require__(35); +var arrayWithHoles = __webpack_require__(37); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js function _iterableToArrayLimit(arr, i) { @@ -248,7 +320,7 @@ function _iterableToArrayLimit(arr, i) { return _arr; } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js -var nonIterableRest = __webpack_require__(36); +var nonIterableRest = __webpack_require__(38); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); @@ -261,14 +333,14 @@ function _slicedToArray(arr, i) { /***/ }), -/***/ 220: +/***/ 259: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["blockSerializationDefaultParser"]; }()); /***/ }), -/***/ 221: +/***/ 260: /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;;/*! showdown v 1.9.1 - 02-11-2019 */ @@ -5426,7 +5498,7 @@ if (true) { /***/ }), -/***/ 31: +/***/ 33: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -5437,7 +5509,7 @@ function _iterableToArray(iter) { /***/ }), -/***/ 34: +/***/ 36: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -5719,7 +5791,7 @@ function isShallowEqual( a, b, fromIndex ) { /***/ }), -/***/ 35: +/***/ 37: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -5730,7 +5802,7 @@ function _arrayWithHoles(arr) { /***/ }), -/***/ 36: +/***/ 38: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -5741,7 +5813,21 @@ function _nonIterableRest() { /***/ }), -/***/ 367: +/***/ 39: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["blob"]; }()); + +/***/ }), + +/***/ 4: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["data"]; }()); + +/***/ }), + +/***/ 415: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -5751,9 +5837,10 @@ __webpack_require__.r(selectors_namespaceObject); __webpack_require__.d(selectors_namespaceObject, "getBlockTypes", function() { return getBlockTypes; }); __webpack_require__.d(selectors_namespaceObject, "getBlockType", function() { return getBlockType; }); __webpack_require__.d(selectors_namespaceObject, "getBlockStyles", function() { return getBlockStyles; }); -__webpack_require__.d(selectors_namespaceObject, "__experimentalGetBlockPatterns", function() { return __experimentalGetBlockPatterns; }); -__webpack_require__.d(selectors_namespaceObject, "__experimentalGetDefaultBlockPattern", function() { return __experimentalGetDefaultBlockPattern; }); +__webpack_require__.d(selectors_namespaceObject, "__experimentalGetBlockVariations", function() { return __experimentalGetBlockVariations; }); +__webpack_require__.d(selectors_namespaceObject, "__experimentalGetDefaultBlockVariation", function() { return __experimentalGetDefaultBlockVariation; }); __webpack_require__.d(selectors_namespaceObject, "getCategories", function() { return getCategories; }); +__webpack_require__.d(selectors_namespaceObject, "getCollections", function() { return getCollections; }); __webpack_require__.d(selectors_namespaceObject, "getDefaultBlockName", function() { return getDefaultBlockName; }); __webpack_require__.d(selectors_namespaceObject, "getFreeformFallbackBlockName", function() { return getFreeformFallbackBlockName; }); __webpack_require__.d(selectors_namespaceObject, "getUnregisteredFallbackBlockName", function() { return getUnregisteredFallbackBlockName; }); @@ -5770,26 +5857,25 @@ __webpack_require__.d(actions_namespaceObject, "addBlockTypes", function() { ret __webpack_require__.d(actions_namespaceObject, "removeBlockTypes", function() { return removeBlockTypes; }); __webpack_require__.d(actions_namespaceObject, "addBlockStyles", function() { return addBlockStyles; }); __webpack_require__.d(actions_namespaceObject, "removeBlockStyles", function() { return removeBlockStyles; }); -__webpack_require__.d(actions_namespaceObject, "__experimentalAddBlockPatterns", function() { return __experimentalAddBlockPatterns; }); -__webpack_require__.d(actions_namespaceObject, "__experimentalRemoveBlockPatterns", function() { return __experimentalRemoveBlockPatterns; }); +__webpack_require__.d(actions_namespaceObject, "__experimentalAddBlockVariations", function() { return __experimentalAddBlockVariations; }); +__webpack_require__.d(actions_namespaceObject, "__experimentalRemoveBlockVariations", function() { return __experimentalRemoveBlockVariations; }); __webpack_require__.d(actions_namespaceObject, "setDefaultBlockName", function() { return setDefaultBlockName; }); __webpack_require__.d(actions_namespaceObject, "setFreeformFallbackBlockName", function() { return setFreeformFallbackBlockName; }); __webpack_require__.d(actions_namespaceObject, "setUnregisteredFallbackBlockName", function() { return setUnregisteredFallbackBlockName; }); __webpack_require__.d(actions_namespaceObject, "setGroupingBlockName", function() { return setGroupingBlockName; }); __webpack_require__.d(actions_namespaceObject, "setCategories", function() { return setCategories; }); __webpack_require__.d(actions_namespaceObject, "updateCategory", function() { return updateCategory; }); +__webpack_require__.d(actions_namespaceObject, "addBlockCollection", function() { return addBlockCollection; }); +__webpack_require__.d(actions_namespaceObject, "removeBlockCollection", function() { return removeBlockCollection; }); // EXTERNAL MODULE: external {"this":["wp","data"]} var external_this_wp_data_ = __webpack_require__(4); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(9); - // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(18); +var toConsumableArray = __webpack_require__(17); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js -var objectSpread = __webpack_require__(6); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(5); // EXTERNAL MODULE: external {"this":"lodash"} var external_this_lodash_ = __webpack_require__(2); @@ -5801,6 +5887,9 @@ var external_this_wp_i18n_ = __webpack_require__(1); +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -5850,7 +5939,7 @@ function reducer_blockTypes() { switch (action.type) { case 'ADD_BLOCK_TYPES': - return Object(objectSpread["a" /* default */])({}, state, Object(external_this_lodash_["keyBy"])(Object(external_this_lodash_["map"])(action.blockTypes, function (blockType) { + return _objectSpread({}, state, {}, Object(external_this_lodash_["keyBy"])(Object(external_this_lodash_["map"])(action.blockTypes, function (blockType) { return Object(external_this_lodash_["omit"])(blockType, 'styles '); }), 'name')); @@ -5875,19 +5964,19 @@ function blockStyles() { switch (action.type) { case 'ADD_BLOCK_TYPES': - return Object(objectSpread["a" /* default */])({}, state, Object(external_this_lodash_["mapValues"])(Object(external_this_lodash_["keyBy"])(action.blockTypes, 'name'), function (blockType) { + return _objectSpread({}, state, {}, Object(external_this_lodash_["mapValues"])(Object(external_this_lodash_["keyBy"])(action.blockTypes, 'name'), function (blockType) { return Object(external_this_lodash_["uniqBy"])([].concat(Object(toConsumableArray["a" /* default */])(Object(external_this_lodash_["get"])(blockType, ['styles'], [])), Object(toConsumableArray["a" /* default */])(Object(external_this_lodash_["get"])(state, [blockType.name], []))), function (style) { return style.name; }); })); case 'ADD_BLOCK_STYLES': - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, action.blockName, Object(external_this_lodash_["uniqBy"])([].concat(Object(toConsumableArray["a" /* default */])(Object(external_this_lodash_["get"])(state, [action.blockName], [])), Object(toConsumableArray["a" /* default */])(action.styles)), function (style) { + return _objectSpread({}, state, Object(defineProperty["a" /* default */])({}, action.blockName, Object(external_this_lodash_["uniqBy"])([].concat(Object(toConsumableArray["a" /* default */])(Object(external_this_lodash_["get"])(state, [action.blockName], [])), Object(toConsumableArray["a" /* default */])(action.styles)), function (style) { return style.name; }))); case 'REMOVE_BLOCK_STYLES': - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, action.blockName, Object(external_this_lodash_["filter"])(Object(external_this_lodash_["get"])(state, [action.blockName], []), function (style) { + return _objectSpread({}, state, Object(defineProperty["a" /* default */])({}, action.blockName, Object(external_this_lodash_["filter"])(Object(external_this_lodash_["get"])(state, [action.blockName], []), function (style) { return action.styleNames.indexOf(style.name) === -1; }))); } @@ -5895,7 +5984,7 @@ function blockStyles() { return state; } /** - * Reducer managing the block patterns. + * Reducer managing the block variations. * * @param {Object} state Current state. * @param {Object} action Dispatched action. @@ -5903,26 +5992,26 @@ function blockStyles() { * @return {Object} Updated state. */ -function blockPatterns() { +function blockVariations() { var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var action = arguments.length > 1 ? arguments[1] : undefined; switch (action.type) { case 'ADD_BLOCK_TYPES': - return Object(objectSpread["a" /* default */])({}, state, Object(external_this_lodash_["mapValues"])(Object(external_this_lodash_["keyBy"])(action.blockTypes, 'name'), function (blockType) { - return Object(external_this_lodash_["uniqBy"])([].concat(Object(toConsumableArray["a" /* default */])(Object(external_this_lodash_["get"])(blockType, ['patterns'], [])), Object(toConsumableArray["a" /* default */])(Object(external_this_lodash_["get"])(state, [blockType.name], []))), function (pattern) { - return pattern.name; + return _objectSpread({}, state, {}, Object(external_this_lodash_["mapValues"])(Object(external_this_lodash_["keyBy"])(action.blockTypes, 'name'), function (blockType) { + return Object(external_this_lodash_["uniqBy"])([].concat(Object(toConsumableArray["a" /* default */])(Object(external_this_lodash_["get"])(blockType, ['variations'], [])), Object(toConsumableArray["a" /* default */])(Object(external_this_lodash_["get"])(state, [blockType.name], []))), function (variation) { + return variation.name; }); })); - case 'ADD_BLOCK_PATTERNS': - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, action.blockName, Object(external_this_lodash_["uniqBy"])([].concat(Object(toConsumableArray["a" /* default */])(Object(external_this_lodash_["get"])(state, [action.blockName], [])), Object(toConsumableArray["a" /* default */])(action.patterns)), function (pattern) { - return pattern.name; + case 'ADD_BLOCK_VARIATIONS': + return _objectSpread({}, state, Object(defineProperty["a" /* default */])({}, action.blockName, Object(external_this_lodash_["uniqBy"])([].concat(Object(toConsumableArray["a" /* default */])(Object(external_this_lodash_["get"])(state, [action.blockName], [])), Object(toConsumableArray["a" /* default */])(action.variations)), function (variation) { + return variation.name; }))); - case 'REMOVE_BLOCK_PATTERNS': - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, action.blockName, Object(external_this_lodash_["filter"])(Object(external_this_lodash_["get"])(state, [action.blockName], []), function (pattern) { - return action.patternNames.indexOf(pattern.name) === -1; + case 'REMOVE_BLOCK_VARIATIONS': + return _objectSpread({}, state, Object(defineProperty["a" /* default */])({}, action.blockName, Object(external_this_lodash_["filter"])(Object(external_this_lodash_["get"])(state, [action.blockName], []), function (variation) { + return action.variationNames.indexOf(variation.name) === -1; }))); } @@ -5988,7 +6077,7 @@ function reducer_categories() { if (categoryToChange) { return Object(external_this_lodash_["map"])(state, function (category) { if (category.slug === action.slug) { - return Object(objectSpread["a" /* default */])({}, category, action.category); + return _objectSpread({}, category, {}, action.category); } return category; @@ -5999,26 +6088,54 @@ function reducer_categories() { return state; } +function collections() { + var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + var action = arguments.length > 1 ? arguments[1] : undefined; + + switch (action.type) { + case 'ADD_BLOCK_COLLECTION': + return _objectSpread({}, state, Object(defineProperty["a" /* default */])({}, action.namespace, { + title: action.title, + icon: action.icon + })); + + case 'REMOVE_BLOCK_COLLECTION': + return Object(external_this_lodash_["omit"])(state, action.namespace); + } + + return state; +} /* harmony default export */ var reducer = (Object(external_this_wp_data_["combineReducers"])({ blockTypes: reducer_blockTypes, blockStyles: blockStyles, - blockPatterns: blockPatterns, + blockVariations: blockVariations, defaultBlockName: reducer_defaultBlockName, freeformFallbackBlockName: freeformFallbackBlockName, unregisteredFallbackBlockName: unregisteredFallbackBlockName, groupingBlockName: groupingBlockName, - categories: reducer_categories + categories: reducer_categories, + collections: collections })); // EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js -var rememo = __webpack_require__(34); +var rememo = __webpack_require__(36); // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/store/selectors.js + + +function selectors_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function selectors_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { selectors_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { selectors_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ +/** @typedef {import('../api/registration').WPBlockVariation} WPBlockVariation */ + +/** @typedef {import('../api/registration').WPBlockVariationScope} WPBlockVariationScope */ + /** * Given a block name or block type object, returns the corresponding * normalized block type object. @@ -6042,9 +6159,13 @@ var getNormalizedBlockType = function getNormalizedBlockType(state, nameOrType) var getBlockTypes = Object(rememo["a" /* default */])(function (state) { - return Object.values(state.blockTypes); + return Object.values(state.blockTypes).map(function (blockType) { + return selectors_objectSpread({}, blockType, { + variations: __experimentalGetBlockVariations(state, blockType.name) + }); + }); }, function (state) { - return [state.blockTypes]; + return [state.blockTypes, state.blockVariations]; }); /** * Returns a block type by name. @@ -6071,33 +6192,43 @@ function getBlockStyles(state, name) { return state.blockStyles[name]; } /** - * Returns block patterns by block name. + * Returns block variations by block name. * - * @param {Object} state Data state. - * @param {string} blockName Block type name. + * @param {Object} state Data state. + * @param {string} blockName Block type name. + * @param {WPBlockVariationScope} [scope] Block variation scope name. * - * @return {(WPBlockPattern[]|void)} Block patterns. + * @return {(WPBlockVariation[]|void)} Block variations. */ -function __experimentalGetBlockPatterns(state, blockName) { - return state.blockPatterns[blockName]; +function __experimentalGetBlockVariations(state, blockName, scope) { + var variations = state.blockVariations[blockName]; + + if (!variations || !scope) { + return variations; + } + + return variations.filter(function (variation) { + return !variation.scope || variation.scope.includes(scope); + }); } /** - * Returns the default block pattern for the given block type. - * When there are multiple patterns annotated as the default one, + * Returns the default block variation for the given block type. + * When there are multiple variations annotated as the default one, * the last added item is picked. This simplifies registering overrides. - * When there is no default pattern set, it returns the first item. + * When there is no default variation set, it returns the first item. * - * @param {Object} state Data state. - * @param {string} blockName Block type name. + * @param {Object} state Data state. + * @param {string} blockName Block type name. + * @param {WPBlockVariationScope} [scope] Block variation scope name. * - * @return {?WPBlockPattern} The default block pattern. + * @return {?WPBlockVariation} The default block variation. */ -function __experimentalGetDefaultBlockPattern(state, blockName) { - var patterns = __experimentalGetBlockPatterns(state, blockName); +function __experimentalGetDefaultBlockVariation(state, blockName, scope) { + var variations = __experimentalGetBlockVariations(state, blockName, scope); - return Object(external_this_lodash_["findLast"])(patterns, 'isDefault') || Object(external_this_lodash_["first"])(patterns); + return Object(external_this_lodash_["findLast"])(variations, 'isDefault') || Object(external_this_lodash_["first"])(variations); } /** * Returns all the available categories. @@ -6110,6 +6241,17 @@ function __experimentalGetDefaultBlockPattern(state, blockName) { function getCategories(state) { return state.categories; } +/** + * Returns all the available collections. + * + * @param {Object} state Data state. + * + * @return {Object} Collections list. + */ + +function getCollections(state) { + return state.collections; +} /** * Returns the name of the default block name. * @@ -6267,6 +6409,8 @@ var selectors_hasChildBlocksWithInserterSupport = function hasChildBlocksWithIns * External dependencies */ +/** @typedef {import('../api/registration').WPBlockVariation} WPBlockVariation */ + /** * Returns an action object used in signalling that block types have been added. * @@ -6328,34 +6472,34 @@ function removeBlockStyles(blockName, styleNames) { }; } /** - * Returns an action object used in signalling that new block patterns have been added. + * Returns an action object used in signalling that new block variations have been added. * - * @param {string} blockName Block name. - * @param {WPBlockPattern|WPBlockPattern[]} patterns Block patterns. + * @param {string} blockName Block name. + * @param {WPBlockVariation|WPBlockVariation[]} variations Block variations. * * @return {Object} Action object. */ -function __experimentalAddBlockPatterns(blockName, patterns) { +function __experimentalAddBlockVariations(blockName, variations) { return { - type: 'ADD_BLOCK_PATTERNS', - patterns: Object(external_this_lodash_["castArray"])(patterns), + type: 'ADD_BLOCK_VARIATIONS', + variations: Object(external_this_lodash_["castArray"])(variations), blockName: blockName }; } /** - * Returns an action object used in signalling that block patterns have been removed. + * Returns an action object used in signalling that block variations have been removed. * - * @param {string} blockName Block name. - * @param {string|string[]} patternNames Block pattern names. + * @param {string} blockName Block name. + * @param {string|string[]} variationNames Block variation names. * * @return {Object} Action object. */ -function __experimentalRemoveBlockPatterns(blockName, patternNames) { +function __experimentalRemoveBlockVariations(blockName, variationNames) { return { - type: 'REMOVE_BLOCK_PATTERNS', - patternNames: Object(external_this_lodash_["castArray"])(patternNames), + type: 'REMOVE_BLOCK_VARIATIONS', + variationNames: Object(external_this_lodash_["castArray"])(variationNames), blockName: blockName }; } @@ -6449,6 +6593,38 @@ function updateCategory(slug, category) { category: category }; } +/** + * Returns an action object used to add block collections + * + * @param {string} namespace The namespace of the blocks to put in the collection + * @param {string} title The title to display in the block inserter + * @param {Object} icon (optional) The icon to display in the block inserter + * + * @return {Object} Action object. + */ + +function addBlockCollection(namespace, title, icon) { + return { + type: 'ADD_BLOCK_COLLECTION', + namespace: namespace, + title: title, + icon: icon + }; +} +/** + * Returns an action object used to remove block collections + * + * @param {string} namespace The namespace of the blocks to put in the collection + * + * @return {Object} Action object. + */ + +function removeBlockCollection(namespace) { + return { + type: 'REMOVE_BLOCK_COLLECTION', + namespace: namespace + }; +} // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/store/index.js /** @@ -6469,22 +6645,29 @@ Object(external_this_wp_data_["registerStore"])('core/blocks', { }); // EXTERNAL MODULE: ./node_modules/uuid/v4.js -var v4 = __webpack_require__(68); +var v4 = __webpack_require__(81); var v4_default = /*#__PURE__*/__webpack_require__.n(v4); // EXTERNAL MODULE: external {"this":["wp","hooks"]} var external_this_wp_hooks_ = __webpack_require__(29); // EXTERNAL MODULE: ./node_modules/tinycolor2/tinycolor.js -var tinycolor = __webpack_require__(49); +var tinycolor = __webpack_require__(52); var tinycolor_default = /*#__PURE__*/__webpack_require__.n(tinycolor); // EXTERNAL MODULE: external {"this":["wp","element"]} var external_this_wp_element_ = __webpack_require__(0); +// EXTERNAL MODULE: external {"this":["wp","dom"]} +var external_this_wp_dom_ = __webpack_require__(27); + // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/utils.js +function utils_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function utils_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { utils_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { utils_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -6495,6 +6678,8 @@ var external_this_wp_element_ = __webpack_require__(0); */ + + /** * Internal dependencies */ @@ -6570,7 +6755,7 @@ function normalizeIconObject(icon) { if (Object(external_this_lodash_["has"])(icon, ['background'])) { var tinyBgColor = tinycolor_default()(icon.background); - return Object(objectSpread["a" /* default */])({}, icon, { + return utils_objectSpread({}, icon, { foreground: icon.foreground ? icon.foreground : Object(tinycolor["mostReadable"])(tinyBgColor, ICON_COLORS, { includeFallbackColors: true, level: 'AA', @@ -6599,6 +6784,89 @@ function normalizeBlockType(blockTypeOrName) { return blockTypeOrName; } +/** + * Get the label for the block, usually this is either the block title, + * or the value of the block's `label` function when that's specified. + * + * @param {Object} blockType The block type. + * @param {Object} attributes The values of the block's attributes. + * @param {Object} context The intended use for the label. + * + * @return {string} The block label. + */ + +function getBlockLabel(blockType, attributes) { + var context = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'visual'; + var getLabel = blockType.__experimentalLabel, + title = blockType.title; + var label = getLabel && getLabel(attributes, { + context: context + }); + + if (!label) { + return title; + } // Strip any HTML (i.e. RichText formatting) before returning. + + + return Object(external_this_wp_dom_["__unstableStripHTML"])(label); +} +/** + * Get a label for the block for use by screenreaders, this is more descriptive + * than the visual label and includes the block title and the value of the + * `getLabel` function if it's specified. + * + * @param {Object} blockType The block type. + * @param {Object} attributes The values of the block's attributes. + * @param {?number} position The position of the block in the block list. + * @param {string} [direction='vertical'] The direction of the block layout. + * + * @return {string} The block label. + */ + +function getAccessibleBlockLabel(blockType, attributes, position) { + var direction = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'vertical'; + // `title` is already localized, `label` is a user-supplied value. + var title = blockType.title; + var label = getBlockLabel(blockType, attributes, 'accessibility'); + var hasPosition = position !== undefined; // getBlockLabel returns the block title as a fallback when there's no label, + // if it did return the title, this function needs to avoid adding the + // title twice within the accessible label. Use this `hasLabel` boolean to + // handle that. + + var hasLabel = label && label !== title; + + if (hasPosition && direction === 'vertical') { + if (hasLabel) { + return Object(external_this_wp_i18n_["sprintf"])( + /* translators: accessibility text. %1: The block title, %2: The block row number, %3: The block label.. */ + Object(external_this_wp_i18n_["__"])('%1$s Block. Row %2$d. %3$s'), title, position, label); + } + + return Object(external_this_wp_i18n_["sprintf"])( + /* translators: accessibility text. %s: The block title, %d The block row number. */ + Object(external_this_wp_i18n_["__"])('%s Block. Row %d'), title, position); + } else if (hasPosition && direction === 'horizontal') { + if (hasLabel) { + return Object(external_this_wp_i18n_["sprintf"])( + /* translators: accessibility text. %1: The block title, %2: The block column number, %3: The block label.. */ + Object(external_this_wp_i18n_["__"])('%1$s Block. Column %2$d. %3$s'), title, position, label); + } + + return Object(external_this_wp_i18n_["sprintf"])( + /* translators: accessibility text. %s: The block title, %d The block column number. */ + Object(external_this_wp_i18n_["__"])('%s Block. Column %d'), title, position); + } + + if (hasLabel) { + return Object(external_this_wp_i18n_["sprintf"])( + /* translators: accessibility text. %1: The block title. %2: The block label. */ + Object(external_this_wp_i18n_["__"])('%1$s Block. %2$s'), title, label); + } + + return Object(external_this_wp_i18n_["sprintf"])( + /* translators: accessibility text. %s: The block title. */ + Object(external_this_wp_i18n_["__"])('%s Block'), title); +} // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/constants.js /** @@ -6611,6 +6879,10 @@ var DEPRECATED_ENTRY_KEYS = ['attributes', 'supports', 'save', 'migrate', 'isEli // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/registration.js +function registration_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function registration_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { registration_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { registration_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /* eslint no-console: [ 'error', { allow: [ 'error' ] } ] */ /** @@ -6670,17 +6942,31 @@ var DEPRECATED_ENTRY_KEYS = ['attributes', 'supports', 'save', 'migrate', 'isEli */ /** - * An object describing a pattern defined for the block type. + * Named block variation scopes. * - * @typedef {Object} WPBlockPattern + * @typedef {'block'|'inserter'} WPBlockVariationScope + */ + +/** + * An object describing a variation defined for the block type. * - * @property {string} name The unique and machine-readable name. - * @property {string} label A human-readable label. - * @property {WPIcon} [icon] An icon helping to visualize the pattern. - * @property {boolean} [isDefault] Indicates whether the current pattern is the default one. - * Defaults to `false`. - * @property {Object} [attributes] Values which override block attributes. - * @property {Array[]} [innerBlocks] Initial configuration of nested blocks. + * @typedef {Object} WPBlockVariation + * + * @property {string} name The unique and machine-readable name. + * @property {string} title A human-readable variation title. + * @property {string} description A detailed variation description. + * @property {WPIcon} [icon] An icon helping to visualize the variation. + * @property {boolean} [isDefault] Indicates whether the current variation is + * the default one. Defaults to `false`. + * @property {Object} [attributes] Values which override block attributes. + * @property {Array[]} [innerBlocks] Initial configuration of nested blocks. + * @property {Object} [example] Example provides structured data for + * the block preview. You can set to + * `undefined` to disable the preview shown + * for the block type. + * @property {WPBlockVariationScope[]} [scope] The list of scopes where the variation + * is applicable. When not provided, it + * assumes all available scopes. */ /** @@ -6688,22 +6974,26 @@ var DEPRECATED_ENTRY_KEYS = ['attributes', 'supports', 'save', 'migrate', 'isEli * * @typedef {Object} WPBlock * - * @property {string} name Block type's namespaced name. - * @property {string} title Human-readable block type label. - * @property {string} category Block type category classification, - * used in search interfaces to arrange - * block types by category. - * @property {WPBlockTypeIcon} [icon] Block type icon. - * @property {string[]} [keywords] Additional keywords to produce block - * type as result in search interfaces. - * @property {Object} [attributes] Block type attributes. - * @property {WPComponent} [save] Optional component describing - * serialized markup structure of a - * block type. - * @property {WPComponent} edit Component rendering an element to - * manipulate the attributes of a block - * in the context of an editor. - * @property {WPBlockPattern[]} [patterns] The list of block patterns. + * @property {string} name Block type's namespaced name. + * @property {string} title Human-readable block type label. + * @property {string} description A detailed block type description. + * @property {string} category Block type category classification, + * used in search interfaces to arrange + * block types by category. + * @property {WPBlockTypeIcon} [icon] Block type icon. + * @property {string[]} [keywords] Additional keywords to produce block + * type as result in search interfaces. + * @property {Object} [attributes] Block type attributes. + * @property {WPComponent} [save] Optional component describing + * serialized markup structure of a + * block type. + * @property {WPComponent} edit Component rendering an element to + * manipulate the attributes of a block + * in the context of an editor. + * @property {WPBlockVariation[]} [variations] The list of block variations. + * @property {Object} [example] Example provides structured data for + * the block preview. When not defined + * then no preview is shown. */ /** @@ -6726,10 +7016,10 @@ var serverSideBlockDefinitions = {}; * * @param {Object} definitions Server-side block definitions */ +// eslint-disable-next-line camelcase function unstable__bootstrapServerSideBlockDefinitions(definitions) { - // eslint-disable-line camelcase - serverSideBlockDefinitions = Object(objectSpread["a" /* default */])({}, serverSideBlockDefinitions, definitions); + serverSideBlockDefinitions = registration_objectSpread({}, serverSideBlockDefinitions, {}, definitions); } /** * Registers a new block provided a unique name and an object defining its @@ -6744,9 +7034,9 @@ function unstable__bootstrapServerSideBlockDefinitions(definitions) { */ function registerBlockType(name, settings) { - settings = Object(objectSpread["a" /* default */])({ + settings = registration_objectSpread({ name: name - }, DEFAULT_BLOCK_TYPE_SETTINGS, Object(external_this_lodash_["get"])(serverSideBlockDefinitions, name), settings); + }, DEFAULT_BLOCK_TYPE_SETTINGS, {}, Object(external_this_lodash_["get"])(serverSideBlockDefinitions, name), {}, settings); if (typeof name !== 'string') { console.error('Block names must be strings.'); @@ -6763,7 +7053,7 @@ function registerBlockType(name, settings) { return; } - var preFilterSettings = Object(objectSpread["a" /* default */])({}, settings); + var preFilterSettings = registration_objectSpread({}, settings); settings = Object(external_this_wp_hooks_["applyFilters"])('blocks.registerBlockType', settings, name); @@ -6773,7 +7063,7 @@ function registerBlockType(name, settings) { Object(external_this_wp_hooks_["applyFilters"])('blocks.registerBlockType', // Merge deprecation keys with pre-filter settings // so that filters that depend on specific keys being // present don't fail. - Object(objectSpread["a" /* default */])({}, Object(external_this_lodash_["omit"])(preFilterSettings, DEPRECATED_ENTRY_KEYS), deprecation), name), DEPRECATED_ENTRY_KEYS); + registration_objectSpread({}, Object(external_this_lodash_["omit"])(preFilterSettings, DEPRECATED_ENTRY_KEYS), {}, deprecation), name), DEPRECATED_ENTRY_KEYS); }); } @@ -6824,6 +7114,29 @@ function registerBlockType(name, settings) { Object(external_this_wp_data_["dispatch"])('core/blocks').addBlockTypes(settings); return settings; } +/** + * Registers a new block collection to group blocks in the same namespace in the inserter. + * + * @param {string} namespace The namespace to group blocks by in the inserter; corresponds to the block namespace + * @param {Object} settings An object composed of a title to show in the inserter, and an icon to show in the inserter + * + */ + +function registerBlockCollection(namespace, _ref) { + var title = _ref.title, + icon = _ref.icon; + Object(external_this_wp_data_["dispatch"])('core/blocks').addBlockCollection(namespace, title, icon); +} +/** + * Unregisters a block collection + * + * @param {string} namespace The namespace to group blocks by in the inserter; corresponds to the block namespace + * + */ + +function unregisterBlockCollection(namespace) { + Object(external_this_wp_data_["dispatch"])('core/blocks').removeBlockCollection(namespace); +} /** * Unregisters a block. * @@ -7034,30 +7347,34 @@ var registration_unregisterBlockStyle = function unregisterBlockStyle(blockName, Object(external_this_wp_data_["dispatch"])('core/blocks').removeBlockStyles(blockName, styleVariationName); }; /** - * Registers a new block pattern for the given block. + * Registers a new block variation for the given block. * - * @param {string} blockName Name of the block (example: “core/columns”). - * @param {WPBlockPattern} pattern Object describing a block pattern. + * @param {string} blockName Name of the block (example: “core/columns”). + * @param {WPBlockVariation} variation Object describing a block variation. */ -var registration_experimentalRegisterBlockPattern = function __experimentalRegisterBlockPattern(blockName, pattern) { - Object(external_this_wp_data_["dispatch"])('core/blocks').__experimentalAddBlockPatterns(blockName, pattern); +var registration_experimentalRegisterBlockVariation = function __experimentalRegisterBlockVariation(blockName, variation) { + Object(external_this_wp_data_["dispatch"])('core/blocks').__experimentalAddBlockVariations(blockName, variation); }; /** - * Unregisters a block pattern defined for the given block. + * Unregisters a block variation defined for the given block. * - * @param {string} blockName Name of the block (example: “core/columns”). - * @param {string} patternName Name of the pattern defined for the block. + * @param {string} blockName Name of the block (example: “core/columns”). + * @param {string} variationName Name of the variation defined for the block. */ -var registration_experimentalUnregisterBlockPattern = function __experimentalUnregisterBlockPattern(blockName, patternName) { - Object(external_this_wp_data_["dispatch"])('core/blocks').__experimentalRemoveBlockPatterns(blockName, patternName); +var registration_experimentalUnregisterBlockVariation = function __experimentalUnregisterBlockVariation(blockName, variationName) { + Object(external_this_wp_data_["dispatch"])('core/blocks').__experimentalRemoveBlockVariations(blockName, variationName); }; // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/factory.js +function factory_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function factory_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { factory_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { factory_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -7138,9 +7455,9 @@ function cloneBlock(block) { var mergeAttributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; var newInnerBlocks = arguments.length > 2 ? arguments[2] : undefined; var clientId = v4_default()(); - return Object(objectSpread["a" /* default */])({}, block, { + return factory_objectSpread({}, block, { clientId: clientId, - attributes: Object(objectSpread["a" /* default */])({}, block.attributes, mergeAttributes), + attributes: factory_objectSpread({}, block.attributes, {}, mergeAttributes), innerBlocks: newInnerBlocks || block.innerBlocks.map(function (innerBlock) { return cloneBlock(innerBlock); }) @@ -7404,7 +7721,7 @@ function getBlockTransforms(direction, blockTypeOrName) { return transforms[direction].map(function (transform) { - return Object(objectSpread["a" /* default */])({}, transform, { + return factory_objectSpread({}, transform, { blockName: blockName }); }); @@ -7489,7 +7806,7 @@ function switchToBlockType(blocks, name) { } return transformationResults.map(function (result, index) { - var transformedBlock = Object(objectSpread["a" /* default */])({}, result, { + var transformedBlock = factory_objectSpread({}, result, { // The first transformed block whose type matches the "destination" // type gets to keep the existing client ID of the first block. clientId: index === firstSwitchedBlock ? firstBlock.clientId : result.clientId @@ -7705,19 +8022,19 @@ function query(selector, matchers) { }; } // EXTERNAL MODULE: external {"this":["wp","autop"]} -var external_this_wp_autop_ = __webpack_require__(70); +var external_this_wp_autop_ = __webpack_require__(83); // EXTERNAL MODULE: external {"this":["wp","blockSerializationDefaultParser"]} -var external_this_wp_blockSerializationDefaultParser_ = __webpack_require__(220); +var external_this_wp_blockSerializationDefaultParser_ = __webpack_require__(259); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -var arrayWithHoles = __webpack_require__(35); +var arrayWithHoles = __webpack_require__(37); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(31); +var iterableToArray = __webpack_require__(33); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js -var nonIterableRest = __webpack_require__(36); +var nonIterableRest = __webpack_require__(38); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toArray.js @@ -7727,10 +8044,10 @@ function _toArray(arr) { return Object(arrayWithHoles["a" /* default */])(arr) || Object(iterableToArray["a" /* default */])(arr) || Object(nonIterableRest["a" /* default */])(); } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js -var classCallCheck = __webpack_require__(14); +var classCallCheck = __webpack_require__(13); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(13); +var createClass = __webpack_require__(12); // CONCATENATED MODULE: ./node_modules/simple-html-tokenizer/dist/es6/index.js /** @@ -7812,7 +8129,7 @@ var EventedTokenizer = /** @class */ (function () { }, data: function () { var char = this.peek(); - var tag = this.tagNameBuffer.toLowerCase(); + var tag = this.tagNameBuffer; if (char === '<' && !this.isIgnoredEndTag()) { this.delegate.finishData(); this.transitionTo("tagOpen" /* tagOpen */); @@ -8241,7 +8558,7 @@ var EventedTokenizer = /** @class */ (function () { this.delegate.appendToTagName(char); }; EventedTokenizer.prototype.isIgnoredEndTag = function () { - var tag = this.tagNameBuffer.toLowerCase(); + var tag = this.tagNameBuffer; return (tag === 'title' && this.input.substring(this.index, this.index + 8) !== '') || (tag === 'style' && this.input.substring(this.index, this.index + 8) !== '') || (tag === 'script' && this.input.substring(this.index, this.index + 9) !== ''); @@ -8400,7 +8717,7 @@ function tokenize(input, options) { // EXTERNAL MODULE: external {"this":["wp","htmlEntities"]} -var external_this_wp_htmlEntities_ = __webpack_require__(54); +var external_this_wp_htmlEntities_ = __webpack_require__(56); // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/validation/logger.js function createLogger() { @@ -8475,11 +8792,11 @@ function createQueuedLogger() { } // EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]} -var external_this_wp_isShallowEqual_ = __webpack_require__(46); +var external_this_wp_isShallowEqual_ = __webpack_require__(50); var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(12); +var esm_extends = __webpack_require__(11); // EXTERNAL MODULE: external {"this":["wp","compose"]} var external_this_wp_compose_ = __webpack_require__(8); @@ -8561,6 +8878,10 @@ var withBlockContentContext = Object(external_this_wp_compose_["createHigherOrde +function serializer_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function serializer_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { serializer_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { serializer_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -8651,7 +8972,7 @@ function getSaveElement(blockTypeOrName, attributes) { * @param {WPBlock} blockType Block type definition. * @param {Object} attributes Block attributes. */ - var props = Object(external_this_wp_hooks_["applyFilters"])('blocks.getSaveContent.extraProps', Object(objectSpread["a" /* default */])({}, element.props), blockType, attributes); + var props = Object(external_this_wp_hooks_["applyFilters"])('blocks.getSaveContent.extraProps', serializer_objectSpread({}, element.props), blockType, attributes); if (!external_this_wp_isShallowEqual_default()(props, element.props)) { element = Object(external_this_wp_element_["cloneElement"])(element, props); @@ -8840,6 +9161,10 @@ function serialize(blocks, options) { +function validation_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function validation_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { validation_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { validation_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -9152,7 +9477,7 @@ function getStyleProperties(text) { * @type {Object} */ -var isEqualAttributesOfName = Object(objectSpread["a" /* default */])({ +var isEqualAttributesOfName = validation_objectSpread({ class: function _class(actual, expected) { // Class matches if members are the same, even if out of order or // superfluous whitespace between. @@ -9613,6 +9938,10 @@ function children_matcher(selector) { // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/node.js +function node_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function node_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { node_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { node_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * Internal dependencies */ @@ -9694,7 +10023,7 @@ function node_fromDOM(domNode) { return { type: domNode.nodeName.toLowerCase(), - props: Object(objectSpread["a" /* default */])({}, getNamedNodeMapAsObject(domNode.attributes), { + props: node_objectSpread({}, getNamedNodeMapAsObject(domNode.attributes), { children: fromDOM(domNode.childNodes) }) }; @@ -9802,6 +10131,10 @@ function matchers_html(selector, multilineTag) { +function parser_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function parser_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { parser_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { parser_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -10136,7 +10469,7 @@ function getMigratedBlock(block, parsedAttributes) { validationIssues = _getBlockContentValid.validationIssues; if (!isValid) { - block = Object(objectSpread["a" /* default */])({}, block, { + block = parser_objectSpread({}, block, { validationIssues: [].concat(Object(toConsumableArray["a" /* default */])(Object(external_this_lodash_["get"])(block, 'validationIssues', [])), Object(toConsumableArray["a" /* default */])(validationIssues)) }); continue; @@ -10158,7 +10491,7 @@ function getMigratedBlock(block, parsedAttributes) { migratedInnerBlocks = _castArray2$2 === void 0 ? innerBlocks : _castArray2$2; } - block = Object(objectSpread["a" /* default */])({}, block, { + block = parser_objectSpread({}, block, { attributes: migratedAttributes, innerBlocks: migratedInnerBlocks, isValid: true @@ -10369,12 +10702,13 @@ var createParse = function createParse(parseImplementation) { var parseWithGrammar = createParse(external_this_wp_blockSerializationDefaultParser_["parse"]); /* harmony default export */ var parser = (parseWithGrammar); -// EXTERNAL MODULE: external {"this":["wp","dom"]} -var external_this_wp_dom_ = __webpack_require__(27); - // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/phrasing-content.js +function phrasing_content_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function phrasing_content_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { phrasing_content_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { phrasing_content_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -10482,7 +10816,7 @@ var embeddedContentSchema = { * @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); +var phrasing_content_phrasingContentSchema = phrasing_content_objectSpread({}, textContentSchema, {}, embeddedContentSchema); /** * Get schema of possible paths for phrasing content. * @@ -10500,7 +10834,7 @@ function getPhrasingContentSchema(context) { return phrasing_content_phrasingContentSchema; } - return Object(external_this_lodash_["omit"])(Object(objectSpread["a" /* default */])({}, phrasing_content_phrasingContentSchema, { + return Object(external_this_lodash_["omit"])(phrasing_content_objectSpread({}, phrasing_content_phrasingContentSchema, { // We shouldn't paste potentially sensitive information which is not // visible to the user when pasted, so strip the attributes. ins: { @@ -10541,6 +10875,10 @@ function isTextContent(node) { +function raw_handling_utils_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function raw_handling_utils_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { raw_handling_utils_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { raw_handling_utils_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -10596,7 +10934,7 @@ function getBlockContentSchema(transforms, phrasingContentSchema, isPaste) { attributes = [].concat(Object(toConsumableArray["a" /* default */])(attributes), ['id']); } - return Object(objectSpread["a" /* default */])({}, value, { + return raw_handling_utils_objectSpread({}, value, { attributes: attributes, isMatch: isMatch ? isMatch : undefined }); @@ -10610,7 +10948,7 @@ function getBlockContentSchema(transforms, phrasingContentSchema, isPaste) { return '*'; } - return Object(objectSpread["a" /* default */])({}, objValue, srcValue); + return raw_handling_utils_objectSpread({}, objValue, {}, srcValue); } case 'attributes': @@ -11211,12 +11549,16 @@ function wrapFigureContent(element) { }); // EXTERNAL MODULE: external {"this":["wp","shortcode"]} -var external_this_wp_shortcode_ = __webpack_require__(111); +var external_this_wp_shortcode_ = __webpack_require__(143); // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/shortcode-converter.js +function shortcode_converter_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function shortcode_converter_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { shortcode_converter_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { shortcode_converter_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -11289,7 +11631,7 @@ function segmentHTMLToShortcodeBlock(HTML) { function (schema) { return schema.shortcode(match.shortcode.attrs, match); }); - var block = createBlock(transformation.blockName, getBlockAttributes(Object(objectSpread["a" /* default */])({}, registration_getBlockType(transformation.blockName), { + var block = createBlock(transformation.blockName, getBlockAttributes(shortcode_converter_objectSpread({}, registration_getBlockType(transformation.blockName), { attributes: transformation.attributes }), match.shortcode.content, attributes)); return [beforeHTML, block].concat(Object(toConsumableArray["a" /* default */])(segmentHTMLToShortcodeBlock(HTML.substr(lastIndex)))); @@ -11523,7 +11865,7 @@ function ms_list_converter_isList(node) { }); // EXTERNAL MODULE: external {"this":["wp","blob"]} -var external_this_wp_blob_ = __webpack_require__(37); +var external_this_wp_blob_ = __webpack_require__(39); // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/image-corrector.js @@ -11593,7 +11935,7 @@ var image_corrector_window = window, }); // EXTERNAL MODULE: ./node_modules/showdown/dist/showdown.js -var showdown = __webpack_require__(221); +var showdown = __webpack_require__(260); var showdown_default = /*#__PURE__*/__webpack_require__.n(showdown); // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/markdown-converter.js @@ -11778,6 +12120,10 @@ function isFormattingSpace(character) { // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/paste-handler.js +function paste_handler_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function paste_handler_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { paste_handler_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { paste_handler_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -11839,7 +12185,7 @@ function getRawTransformations() { return Object(external_this_lodash_["filter"])(getBlockTransforms('from'), { type: 'raw' }).map(function (transform) { - return transform.isMatch ? transform : Object(objectSpread["a" /* default */])({}, transform, { + return transform.isMatch ? transform : paste_handler_objectSpread({}, transform, { isMatch: function isMatch(node) { return transform.selector && node.matches(transform.selector); } @@ -11985,7 +12331,7 @@ function pasteHandler(_ref3) { filters.unshift(iframe_remover); } - var schema = Object(objectSpread["a" /* default */])({}, blockContentSchema, phrasingContentSchema); + var schema = paste_handler_objectSpread({}, blockContentSchema, {}, phrasingContentSchema); piece = deepFilterHTML(piece, filters, blockContentSchema); piece = removeInvalidHTML(piece, schema); @@ -12015,6 +12361,10 @@ function pasteHandler(_ref3) { // CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/index.js +function raw_handling_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function raw_handling_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { raw_handling_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { raw_handling_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -12040,7 +12390,7 @@ function raw_handling_getRawTransformations() { return Object(external_this_lodash_["filter"])(getBlockTransforms('from'), { type: 'raw' }).map(function (transform) { - return transform.isMatch ? transform : Object(objectSpread["a" /* default */])({}, transform, { + return transform.isMatch ? transform : raw_handling_objectSpread({}, transform, { isMatch: function isMatch(node) { return transform.selector && node.matches(transform.selector); } @@ -12173,6 +12523,10 @@ function categories_updateCategory(slug, category) { +function templates_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function templates_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { templates_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { templates_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -12242,7 +12596,7 @@ function synchronizeBlocksWithTemplate() { if (block && block.name === name) { var innerBlocks = synchronizeBlocksWithTemplate(block.innerBlocks, innerBlocksTemplate); - return Object(objectSpread["a" /* default */])({}, block, { + return templates_objectSpread({}, block, { innerBlocks: innerBlocks }); } // To support old templates that were using the "children" format @@ -12325,6 +12679,7 @@ function synchronizeBlocksWithTemplate() { /* concated harmony reexport setCategories */__webpack_require__.d(__webpack_exports__, "setCategories", function() { return categories_setCategories; }); /* concated harmony reexport updateCategory */__webpack_require__.d(__webpack_exports__, "updateCategory", function() { return categories_updateCategory; }); /* concated harmony reexport registerBlockType */__webpack_require__.d(__webpack_exports__, "registerBlockType", function() { return registerBlockType; }); +/* concated harmony reexport registerBlockCollection */__webpack_require__.d(__webpack_exports__, "registerBlockCollection", function() { return registerBlockCollection; }); /* concated harmony reexport unregisterBlockType */__webpack_require__.d(__webpack_exports__, "unregisterBlockType", function() { return unregisterBlockType; }); /* concated harmony reexport setFreeformContentHandlerName */__webpack_require__.d(__webpack_exports__, "setFreeformContentHandlerName", function() { return setFreeformContentHandlerName; }); /* concated harmony reexport getFreeformContentHandlerName */__webpack_require__.d(__webpack_exports__, "getFreeformContentHandlerName", function() { return getFreeformContentHandlerName; }); @@ -12345,11 +12700,13 @@ function synchronizeBlocksWithTemplate() { /* concated harmony reexport unstable__bootstrapServerSideBlockDefinitions */__webpack_require__.d(__webpack_exports__, "unstable__bootstrapServerSideBlockDefinitions", function() { return unstable__bootstrapServerSideBlockDefinitions; }); /* concated harmony reexport registerBlockStyle */__webpack_require__.d(__webpack_exports__, "registerBlockStyle", function() { return registration_registerBlockStyle; }); /* concated harmony reexport unregisterBlockStyle */__webpack_require__.d(__webpack_exports__, "unregisterBlockStyle", function() { return registration_unregisterBlockStyle; }); -/* concated harmony reexport __experimentalRegisterBlockPattern */__webpack_require__.d(__webpack_exports__, "__experimentalRegisterBlockPattern", function() { return registration_experimentalRegisterBlockPattern; }); -/* concated harmony reexport __experimentalUnregisterBlockPattern */__webpack_require__.d(__webpack_exports__, "__experimentalUnregisterBlockPattern", function() { return registration_experimentalUnregisterBlockPattern; }); +/* concated harmony reexport __experimentalRegisterBlockVariation */__webpack_require__.d(__webpack_exports__, "__experimentalRegisterBlockVariation", function() { return registration_experimentalRegisterBlockVariation; }); +/* concated harmony reexport __experimentalUnregisterBlockVariation */__webpack_require__.d(__webpack_exports__, "__experimentalUnregisterBlockVariation", function() { return registration_experimentalUnregisterBlockVariation; }); /* concated harmony reexport isUnmodifiedDefaultBlock */__webpack_require__.d(__webpack_exports__, "isUnmodifiedDefaultBlock", function() { return isUnmodifiedDefaultBlock; }); /* concated harmony reexport normalizeIconObject */__webpack_require__.d(__webpack_exports__, "normalizeIconObject", function() { return normalizeIconObject; }); /* concated harmony reexport isValidIcon */__webpack_require__.d(__webpack_exports__, "isValidIcon", function() { return isValidIcon; }); +/* concated harmony reexport __experimentalGetBlockLabel */__webpack_require__.d(__webpack_exports__, "__experimentalGetBlockLabel", function() { return getBlockLabel; }); +/* concated harmony reexport __experimentalGetAccessibleBlockLabel */__webpack_require__.d(__webpack_exports__, "__experimentalGetAccessibleBlockLabel", function() { return getAccessibleBlockLabel; }); /* concated harmony reexport doBlocksMatchTemplate */__webpack_require__.d(__webpack_exports__, "doBlocksMatchTemplate", function() { return doBlocksMatchTemplate; }); /* concated harmony reexport synchronizeBlocksWithTemplate */__webpack_require__.d(__webpack_exports__, "synchronizeBlocksWithTemplate", function() { return synchronizeBlocksWithTemplate; }); /* concated harmony reexport children */__webpack_require__.d(__webpack_exports__, "children", function() { return api_children; }); @@ -12375,28 +12732,36 @@ function synchronizeBlocksWithTemplate() { /***/ }), -/***/ 37: -/***/ (function(module, exports) { +/***/ 5: +/***/ (function(module, __webpack_exports__, __webpack_require__) { -(function() { module.exports = this["wp"]["blob"]; }()); +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} /***/ }), -/***/ 4: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["data"]; }()); - -/***/ }), - -/***/ 46: +/***/ 50: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["isShallowEqual"]; }()); /***/ }), -/***/ 49: +/***/ 52: /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;// TinyColor v1.4.1 @@ -13597,46 +13962,25 @@ else {} /***/ }), -/***/ 54: +/***/ 56: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["htmlEntities"]; }()); /***/ }), -/***/ 6: -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/***/ 8: +/***/ (function(module, exports) { -"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; -} +(function() { module.exports = this["wp"]["compose"]; }()); /***/ }), -/***/ 68: +/***/ 81: /***/ (function(module, exports, __webpack_require__) { -var rng = __webpack_require__(87); -var bytesToUuid = __webpack_require__(88); +var rng = __webpack_require__(111); +var bytesToUuid = __webpack_require__(112); function v4(options, buf, offset) { var i = buf && offset || 0; @@ -13668,112 +14012,11 @@ module.exports = v4; /***/ }), -/***/ 70: +/***/ 83: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["autop"]; }()); -/***/ }), - -/***/ 8: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["compose"]; }()); - -/***/ }), - -/***/ 87: -/***/ (function(module, exports) { - -// Unique ID creation requires a high quality random # generator. In the -// browser this is a little complicated due to unknown quality of Math.random() -// and inconsistent support for the `crypto` API. We do the best we can via -// feature-detection - -// getRandomValues needs to be invoked in a context where "this" is a Crypto -// implementation. Also, find the complete implementation of crypto on IE11. -var getRandomValues = (typeof(crypto) != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) || - (typeof(msCrypto) != 'undefined' && typeof window.msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto)); - -if (getRandomValues) { - // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto - var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef - - module.exports = function whatwgRNG() { - getRandomValues(rnds8); - return rnds8; - }; -} else { - // Math.random()-based (RNG) - // - // If all else fails, use Math.random(). It's fast, but is of unspecified - // quality. - var rnds = new Array(16); - - module.exports = function mathRNG() { - for (var i = 0, r; i < 16; i++) { - if ((i & 0x03) === 0) r = Math.random() * 0x100000000; - rnds[i] = r >>> ((i & 0x03) << 3) & 0xff; - } - - return rnds; - }; -} - - -/***/ }), - -/***/ 88: -/***/ (function(module, exports) { - -/** - * Convert array of 16 byte values to UUID string format of the form: - * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX - */ -var byteToHex = []; -for (var i = 0; i < 256; ++i) { - byteToHex[i] = (i + 0x100).toString(16).substr(1); -} - -function bytesToUuid(buf, offset) { - var i = offset || 0; - var bth = byteToHex; - // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4 - return ([bth[buf[i++]], bth[buf[i++]], - bth[buf[i++]], bth[buf[i++]], '-', - bth[buf[i++]], bth[buf[i++]], '-', - bth[buf[i++]], bth[buf[i++]], '-', - bth[buf[i++]], bth[buf[i++]], '-', - bth[buf[i++]], bth[buf[i++]], - bth[buf[i++]], bth[buf[i++]], - bth[buf[i++]], bth[buf[i++]]]).join(''); -} - -module.exports = bytesToUuid; - - -/***/ }), - -/***/ 9: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} - /***/ }) /******/ }); \ No newline at end of file diff --git a/wp-includes/js/dist/blocks.min.js b/wp-includes/js/dist/blocks.min.js index 05451b7134..deb749f52f 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=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 +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=415)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},11:function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t>>((3&t)<<3)&255;return a}}},112: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("")}},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 o={},i={},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 f(e,t){"use strict";var r=t?"Error in "+t+" extension->":"Error in unnamed extension",n={valid:!0,error:""};o.helper.isArray(e)||(e=[e]);for(var a=0;a").replace(/&/g,"&")};var p=function(e,t,r,n){"use strict";var a,o,i,s,c,u=n||"",l=u.indexOf("g")>-1,f=new RegExp(t+"|"+r,"g"+u.replace(/g/g,"")),d=new RegExp(t,u.replace(/g/g,"")),p=[];do{for(a=0;i=f.exec(e);)if(d.test(i[0]))a++||(s=(o=f.lastIndex)-i[0].length);else if(a&&!--a){c=i.index+i[0].length;var h={left:{start:s,end:o},match:{start:o,end:i.index},right:{start:i.index,end:c},wholeMatch:{start:s,end:c}};if(p.push(h),!l)return p}}while(a&&(f.lastIndex=o));return p};o.helper.matchRecursiveRegExp=function(e,t,r,n){"use strict";for(var a=p(e,t,r,n),o=[],i=0;i0){var l=[];0!==s[0].wholeMatch.start&&l.push(e.slice(0,s[0].wholeMatch.start));for(var f=0;f=0?n+(r||0):n},o.helper.splitAtIndex=function(e,t){"use strict";if(!o.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},o.helper.encodeEmailAddress=function(e){"use strict";var t=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e=e.replace(/./g,(function(e){if("@"===e)e=t[Math.floor(2*Math.random())](e);else{var r=Math.random();e=r>.9?t[2](e):r>.45?t[1](e):t[0](e)}return e}))},o.helper.padEnd=function(e,t,r){"use strict";return t>>=0,r=String(r||" "),e.length>t?String(e):((t-=e.length)>r.length&&(r+=r.repeat(t/r.length)),String(e)+r.slice(0,t))},"undefined"==typeof console&&(console={warn:function(e){"use strict";alert(e)},log:function(e){"use strict";alert(e)},error:function(e){"use strict";throw e}}),o.helper.regexes={asteriskDashAndColon:/([*_:~])/g},o.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️‍♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴‍♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱‍♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇‍♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷‍♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯‍♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁‍🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨‍👦",family_man_boy_boy:"👨‍👦‍👦",family_man_girl:"👨‍👧",family_man_girl_boy:"👨‍👧‍👦",family_man_girl_girl:"👨‍👧‍👧",family_man_man_boy:"👨‍👨‍👦",family_man_man_boy_boy:"👨‍👨‍👦‍👦",family_man_man_girl:"👨‍👨‍👧",family_man_man_girl_boy:"👨‍👨‍👧‍👦",family_man_man_girl_girl:"👨‍👨‍👧‍👧",family_man_woman_boy_boy:"👨‍👩‍👦‍👦",family_man_woman_girl:"👨‍👩‍👧",family_man_woman_girl_boy:"👨‍👩‍👧‍👦",family_man_woman_girl_girl:"👨‍👩‍👧‍👧",family_woman_boy:"👩‍👦",family_woman_boy_boy:"👩‍👦‍👦",family_woman_girl:"👩‍👧",family_woman_girl_boy:"👩‍👧‍👦",family_woman_girl_girl:"👩‍👧‍👧",family_woman_woman_boy:"👩‍👩‍👦",family_woman_woman_boy_boy:"👩‍👩‍👦‍👦",family_woman_woman_girl:"👩‍👩‍👧",family_woman_woman_girl_boy:"👩‍👩‍👧‍👦",family_woman_woman_girl_girl:"👩‍👩‍👧‍👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️‍♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍‍♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️‍♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂‍♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇‍♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨‍🎨",man_astronaut:"👨‍🚀",man_cartwheeling:"🤸‍♂️",man_cook:"👨‍🍳",man_dancing:"🕺",man_facepalming:"🤦‍♂️",man_factory_worker:"👨‍🏭",man_farmer:"👨‍🌾",man_firefighter:"👨‍🚒",man_health_worker:"👨‍⚕️",man_in_tuxedo:"🤵",man_judge:"👨‍⚖️",man_juggling:"🤹‍♂️",man_mechanic:"👨‍🔧",man_office_worker:"👨‍💼",man_pilot:"👨‍✈️",man_playing_handball:"🤾‍♂️",man_playing_water_polo:"🤽‍♂️",man_scientist:"👨‍🔬",man_shrugging:"🤷‍♂️",man_singer:"👨‍🎤",man_student:"👨‍🎓",man_teacher:"👨‍🏫",man_technologist:"👨‍💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆‍♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼‍♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵‍♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅‍♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆‍♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮‍♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎‍♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️‍🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋‍♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣‍♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃‍♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄‍♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊‍♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁‍♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶‍♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️‍♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩‍🎨",woman_astronaut:"👩‍🚀",woman_cartwheeling:"🤸‍♀️",woman_cook:"👩‍🍳",woman_facepalming:"🤦‍♀️",woman_factory_worker:"👩‍🏭",woman_farmer:"👩‍🌾",woman_firefighter:"👩‍🚒",woman_health_worker:"👩‍⚕️",woman_judge:"👩‍⚖️",woman_juggling:"🤹‍♀️",woman_mechanic:"👩‍🔧",woman_office_worker:"👩‍💼",woman_pilot:"👩‍✈️",woman_playing_handball:"🤾‍♀️",woman_playing_water_polo:"🤽‍♀️",woman_scientist:"👩‍🔬",woman_shrugging:"🤷‍♀️",woman_singer:"👩‍🎤",woman_student:"👩‍🎓",woman_teacher:"👩‍🏫",woman_technologist:"👩‍💻",woman_with_turban:"👳‍♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼‍♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:':octocat:',showdown:"S"},o.Converter=function(e){"use strict";var t={},r=[],n=[],a={},i=u,d={parsed:{},raw:"",format:""};function p(e,t){if(t=t||null,o.helper.isString(e)){if(t=e=o.helper.stdExtName(e),o.extensions[e])return console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void function(e,t){"function"==typeof e&&(e=e(new o.Converter));o.helper.isArray(e)||(e=[e]);var a=f(e,t);if(!a.valid)throw Error(a.error);for(var i=0;i[ \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)i="";else if(!i){if(a||(a=n.toLowerCase().replace(/ ?\n/g," ")),i="#"+a,o.helper.isUndefined(r.gUrls[a]))return e;i=r.gUrls[a],o.helper.isUndefined(r.gTitles[a])||(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,i){if("\\"===n)return r+a;if(!o.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var s=t.ghMentionsLink.replace(/\{u}/g,i),c="";return t.openLinksInNewWindow&&(c=' rel="noopener noreferrer" target="¨E95Eblank"'),r+'"+a+""}))),e=r.converter._dispatch("anchors.after",e,t,r)}));var h=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,b=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,g=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,m=/(^|\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,i,s,c){var u=n=n.replace(o.helper.regexes.asteriskDashAndColon,o.helper.escapeCharactersCallback),l="",f="",d=r||"",p=c||"";return/^www\./i.test(n)&&(n=n.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&s&&(l=s),e.openLinksInNewWindow&&(f=' rel="noopener noreferrer" target="¨E95Eblank"'),d+'"+u+""+l+p}},w=function(e,t){"use strict";return function(r,n,a){var i="mailto:";return n=n||"",a=o.subParser("unescapeSpecialChars")(a,e,t),e.encodeEmails?(i=o.helper.encodeEmailAddress(i+a),a=o.helper.encodeEmailAddress(a)):i+=a,n+''+a+""}};o.subParser("autoLinks",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("autoLinks.before",e,t,r)).replace(g,v(t))).replace(_,w(t,r)),e=r.converter._dispatch("autoLinks.after",e,t,r)})),o.subParser("simplifiedAutoLinks",(function(e,t,r){"use strict";return t.simplifiedAutoLink?(e=r.converter._dispatch("simplifiedAutoLinks.before",e,t,r),e=(e=t.excludeTrailingPunctuationFromURLs?e.replace(b,v(t)):e.replace(h,v(t))).replace(m,w(t,r)),e=r.converter._dispatch("simplifiedAutoLinks.after",e,t,r)):e})),o.subParser("blockGamut",(function(e,t,r){"use strict";return e=r.converter._dispatch("blockGamut.before",e,t,r),e=o.subParser("blockQuotes")(e,t,r),e=o.subParser("headers")(e,t,r),e=o.subParser("horizontalRule")(e,t,r),e=o.subParser("lists")(e,t,r),e=o.subParser("codeBlocks")(e,t,r),e=o.subParser("tables")(e,t,r),e=o.subParser("hashHTMLBlocks")(e,t,r),e=o.subParser("paragraphs")(e,t,r),e=r.converter._dispatch("blockGamut.after",e,t,r)})),o.subParser("blockQuotes",(function(e,t,r){"use strict";e=r.converter._dispatch("blockQuotes.before",e,t,r),e+="\n\n";var n=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(n=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=e.replace(n,(function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),e=o.subParser("githubCodeBlocks")(e,t,r),e=(e=(e=o.subParser("blockGamut")(e,t,r)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*
    [^\r]+?<\/pre>)/gm,(function(e,t){var r=t;return r=(r=r.replace(/^  /gm,"¨0")).replace(/¨0/g,"")})),o.subParser("hashBlock")("
    \n"+e+"\n
    ",t,r)})),e=r.converter._dispatch("blockQuotes.after",e,t,r)})),o.subParser("codeBlocks",(function(e,t,r){"use strict";e=r.converter._dispatch("codeBlocks.before",e,t,r);return e=(e=(e+="¨0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,(function(e,n,a){var i=n,s=a,c="\n";return i=o.subParser("outdent")(i,t,r),i=o.subParser("encodeCode")(i,t,r),i=(i=(i=o.subParser("detab")(i,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(c=""),i="
    "+i+c+"
    ",o.subParser("hashBlock")(i,t,r)+s}))).replace(/¨0/,""),e=r.converter._dispatch("codeBlocks.after",e,t,r)})),o.subParser("codeSpans",(function(e,t,r){"use strict";return void 0===(e=r.converter._dispatch("codeSpans.before",e,t,r))&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,(function(e,n,a,i){var s=i;return s=(s=s.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),s=n+""+(s=o.subParser("encodeCode")(s,t,r))+"",s=o.subParser("hashHTMLSpans")(s,t,r)})),e=r.converter._dispatch("codeSpans.after",e,t,r)})),o.subParser("completeHTMLDocument",(function(e,t,r){"use strict";if(!t.completeHTMLDocument)return e;e=r.converter._dispatch("completeHTMLDocument.before",e,t,r);var n="html",a="\n",o="",i='\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||(i='')),r.metadata.parsed)if(r.metadata.parsed.hasOwnProperty(u))switch(u.toLowerCase()){case"doctype":break;case"title":o=""+r.metadata.parsed.title+"\n";break;case"charset":i="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"+o+i+c+"\n\n"+e.trim()+"\n\n",e=r.converter._dispatch("completeHTMLDocument.after",e,t,r)})),o.subParser("detab",(function(e,t,r){"use strict";return e=(e=(e=(e=(e=(e=r.converter._dispatch("detab.before",e,t,r)).replace(/\t(?=\t)/g," ")).replace(/\t/g,"¨A¨B")).replace(/¨B(.+?)¨A/g,(function(e,t){for(var r=t,n=4-r.length%4,a=0;a/g,">"),e=r.converter._dispatch("encodeAmpsAndAngles.after",e,t,r)})),o.subParser("encodeBackslashEscapes",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("encodeBackslashEscapes.before",e,t,r)).replace(/\\(\\)/g,o.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,o.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeBackslashEscapes.after",e,t,r)})),o.subParser("encodeCode",(function(e,t,r){"use strict";return e=(e=r.converter._dispatch("encodeCode.before",e,t,r)).replace(/&/g,"&").replace(//g,">").replace(/([*_{}\[\]\\=~-])/g,o.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeCode.after",e,t,r)})),o.subParser("escapeSpecialCharsWithinTagAttributes",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,r)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,(function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,o.helper.escapeCharactersCallback)}))).replace(/-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,(function(e){return e.replace(/([\\`*_~=|])/g,o.helper.escapeCharactersCallback)})),e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,r)})),o.subParser("githubCodeBlocks",(function(e,t,r){"use strict";return t.ghCodeBlocks?(e=r.converter._dispatch("githubCodeBlocks.before",e,t,r),e=(e=(e+="¨0").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,(function(e,n,a,i){var s=t.omitExtraWLInCodeBlocks?"":"\n";return i=o.subParser("encodeCode")(i,t,r),i="
    "+(i=(i=(i=o.subParser("detab")(i,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+s+"
    ",i=o.subParser("hashBlock")(i,t,r),"\n\n¨G"+(r.ghCodeBlocks.push({text:e,codeblock:i})-1)+"G\n\n"}))).replace(/¨0/,""),r.converter._dispatch("githubCodeBlocks.after",e,t,r)):e})),o.subParser("hashBlock",(function(e,t,r){"use strict";return e=(e=r.converter._dispatch("hashBlock.before",e,t,r)).replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(r.gHtmlBlocks.push(e)-1)+"K\n\n",e=r.converter._dispatch("hashBlock.after",e,t,r)})),o.subParser("hashCodeTags",(function(e,t,r){"use strict";e=r.converter._dispatch("hashCodeTags.before",e,t,r);return e=o.helper.replaceRecursiveRegExp(e,(function(e,n,a,i){var s=a+o.subParser("encodeCode")(n,t,r)+i;return"¨C"+(r.gHtmlSpans.push(s)-1)+"C"}),"]*>","","gim"),e=r.converter._dispatch("hashCodeTags.after",e,t,r)})),o.subParser("hashElement",(function(e,t,r){"use strict";return function(e,t){var n=t;return n=(n=(n=n.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),n="\n\n¨K"+(r.gHtmlBlocks.push(n)-1)+"K\n\n"}})),o.subParser("hashHTMLBlocks",(function(e,t,r){"use strict";e=r.converter._dispatch("hashHTMLBlocks.before",e,t,r);var n=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],a=function(e,t,n,a){var o=e;return-1!==n.search(/\bmarkdown\b/)&&(o=n+r.converter.makeHtml(t)+a),"\n\n¨K"+(r.gHtmlBlocks.push(o)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,(function(e,t){return"<"+t+">"})));for(var i=0;i]*>)","im"),u="<"+n[i]+"\\b[^>]*>",l="";-1!==(s=o.helper.regexIndexOf(e,c));){var f=o.helper.splitAtIndex(e,s),d=o.helper.replaceRecursiveRegExp(f[1],a,u,l,"im");if(d===f[1])break;e=f[0].concat(d)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,o.subParser("hashElement")(e,t,r)),e=(e=o.helper.replaceRecursiveRegExp(e,(function(e){return"\n\n¨K"+(r.gHtmlBlocks.push(e)-1)+"K\n\n"}),"^ {0,3}\x3c!--","--\x3e","gm")).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,o.subParser("hashElement")(e,t,r)),e=r.converter._dispatch("hashHTMLBlocks.after",e,t,r)})),o.subParser("hashHTMLSpans",(function(e,t,r){"use strict";function n(e){return"¨C"+(r.gHtmlSpans.push(e)-1)+"C"}return e=(e=(e=(e=(e=r.converter._dispatch("hashHTMLSpans.before",e,t,r)).replace(/<[^>]+?\/>/gi,(function(e){return n(e)}))).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,(function(e){return n(e)}))).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,(function(e){return n(e)}))).replace(/<[^>]+?>/gi,(function(e){return n(e)})),e=r.converter._dispatch("hashHTMLSpans.after",e,t,r)})),o.subParser("unhashHTMLSpans",(function(e,t,r){"use strict";e=r.converter._dispatch("unhashHTMLSpans.before",e,t,r);for(var n=0;n]*>\\s*]*>","^ {0,3}\\s*
    ","gim"),e=r.converter._dispatch("hashPreCodeTags.after",e,t,r)})),o.subParser("headers",(function(e,t,r){"use strict";e=r.converter._dispatch("headers.before",e,t,r);var n=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),a=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,i=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=(e=e.replace(a,(function(e,a){var i=o.subParser("spanGamut")(a,t,r),s=t.noHeaderId?"":' id="'+c(a)+'"',u=""+i+"";return o.subParser("hashBlock")(u,t,r)}))).replace(i,(function(e,a){var i=o.subParser("spanGamut")(a,t,r),s=t.noHeaderId?"":' id="'+c(a)+'"',u=n+1,l=""+i+"";return o.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 i=e.match(/\{([^{]+?)}\s*$/);i&&i[1]&&(e=i[1])}return n=e,a=o.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(n=a+n),n=t.ghCompatibleHeaderId?n.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?n.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():n.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(n=a+n),r.hashLinkCounts[n]?n=n+"-"+r.hashLinkCounts[n]++:r.hashLinkCounts[n]=1,n}return e=e.replace(s,(function(e,a,i){var s=i;t.customizedHeaderId&&(s=i.replace(/\s?\{([^{]+?)}\s*$/,""));var u=o.subParser("spanGamut")(s,t,r),l=t.noHeaderId?"":' id="'+c(i)+'"',f=n-1+a.length,d=""+u+"";return o.subParser("hashBlock")(d,t,r)})),e=r.converter._dispatch("headers.after",e,t,r)})),o.subParser("horizontalRule",(function(e,t,r){"use strict";e=r.converter._dispatch("horizontalRule.before",e,t,r);var n=o.subParser("hashBlock")("
    ",t,r);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,n)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,n)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,n),e=r.converter._dispatch("horizontalRule.after",e,t,r)})),o.subParser("images",(function(e,t,r){"use strict";function n(e,t,n,a,i,s,c,u){var l=r.gUrls,f=r.gTitles,d=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,o.helper.isUndefined(l[n]))return e;a=l[n],o.helper.isUndefined(f[n])||(u=f[n]),o.helper.isUndefined(d[n])||(i=d[n].width,s=d[n].height)}t=t.replace(/"/g,""").replace(o.helper.regexes.asteriskDashAndColon,o.helper.escapeCharactersCallback);var p=''+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,o,i,s,c){return n(e,t,r,a=a.replace(/\s/g,""),o,i,s,c)}))).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,n)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,n)).replace(/!\[([^\[\]]+)]()()()()()/g,n),e=r.converter._dispatch("images.after",e,t,r)})),o.subParser("italicsAndBold",(function(e,t,r){"use strict";function n(e,t,r){return t+e+r}return e=r.converter._dispatch("italicsAndBold.before",e,t,r),e=t.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return n(t,"","")}))).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)})),o.subParser("lists",(function(e,t,r){"use strict";function n(e,n){r.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var a=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,i=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return t.disableForced4SpacesIndentedSublists&&(a=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(a,(function(e,n,a,s,c,u,l){l=l&&""!==l.trim();var f=o.subParser("outdent")(c,t,r),d="";return u&&t.tasklists&&(d=' class="task-list-item" style="list-style-type: none;"',f=f.replace(/^[ \t]*\[(x|X| )?]/m,(function(){var e='-1?(f=o.subParser("githubCodeBlocks")(f,t,r),f=o.subParser("blockGamut")(f,t,r)):(f=(f=o.subParser("lists")(f,t,r)).replace(/\n$/,""),f=(f=o.subParser("hashHTMLBlocks")(f,t,r)).replace(/\n\n+/g,"\n\n"),f=i?o.subParser("paragraphs")(f,t,r):o.subParser("spanGamut")(f,t,r)),f=""+(f=f.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 i(e,r,o){var i=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,s=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,c="ul"===r?i:s,u="";if(-1!==e.search(c))!function t(l){var f=l.search(c),d=a(e,r);-1!==f?(u+="\n\n<"+r+d+">\n"+n(l.slice(0,f),!!o)+"\n",c="ul"===(r="ul"===r?"ol":"ul")?i:s,t(l.slice(f))):u+="\n\n<"+r+d+">\n"+n(l,!!o)+"\n"}(e);else{var l=a(e,r);u="\n\n<"+r+l+">\n"+n(e,!!o)+"\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 i(t,r.search(/[*+-]/g)>-1?"ul":"ol",!0)})):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,r,n){return i(r,n.search(/[*+-]/g)>-1?"ul":"ol",!1)}))).replace(/¨0/,""),e=r.converter._dispatch("lists.after",e,t,r)})),o.subParser("metadata",(function(e,t,r){"use strict";if(!t.metadata)return e;function n(e){r.metadata.raw=e,(e=(e=e.replace(/&/g,"&").replace(/"/g,""")).replace(/\n {4}/g," ")).replace(/^([\S ]+): +([\s\S]+?)$/gm,(function(e,t,n){return r.metadata.parsed[t]=n,""}))}return e=(e=(e=(e=r.converter._dispatch("metadata.before",e,t,r)).replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,(function(e,t,r){return n(r),"¨M"}))).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,(function(e,t,a){return t&&(r.metadata.format=t),n(a),"¨M"}))).replace(/¨M/g,""),e=r.converter._dispatch("metadata.after",e,t,r)})),o.subParser("outdent",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("outdent.before",e,t,r)).replace(/^(\t|[ ]{1,4})/gm,"¨0")).replace(/¨0/g,""),e=r.converter._dispatch("outdent.after",e,t,r)})),o.subParser("paragraphs",(function(e,t,r){"use strict";for(var n=(e=(e=(e=r.converter._dispatch("paragraphs.before",e,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),a=[],i=n.length,s=0;s=0?a.push(c):c.search(/\S/)>=0&&(c=(c=o.subParser("spanGamut")(c,t,r)).replace(/^([ \t]*)/g,"

    "),c+="

    ",a.push(c))}for(i=a.length,s=0;s]*>\s*]*>/.test(l)&&(f=!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)})),o.subParser("runExtension",(function(e,t,r,n){"use strict";if(e.filter)t=e.filter(t,n.converter,r);else if(e.regex){var a=e.regex;a instanceof RegExp||(a=new RegExp(a,"g")),t=t.replace(a,e.replace)}return t})),o.subParser("spanGamut",(function(e,t,r){"use strict";return e=r.converter._dispatch("spanGamut.before",e,t,r),e=o.subParser("codeSpans")(e,t,r),e=o.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,r),e=o.subParser("encodeBackslashEscapes")(e,t,r),e=o.subParser("images")(e,t,r),e=o.subParser("anchors")(e,t,r),e=o.subParser("autoLinks")(e,t,r),e=o.subParser("simplifiedAutoLinks")(e,t,r),e=o.subParser("emoji")(e,t,r),e=o.subParser("underline")(e,t,r),e=o.subParser("italicsAndBold")(e,t,r),e=o.subParser("strikethrough")(e,t,r),e=o.subParser("ellipsis")(e,t,r),e=o.subParser("hashHTMLSpans")(e,t,r),e=o.subParser("encodeAmpsAndAngles")(e,t,r),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"
    \n")):e=e.replace(/ +\n/g,"
    \n"),e=r.converter._dispatch("spanGamut.after",e,t,r)})),o.subParser("strikethrough",(function(e,t,r){"use strict";return t.strikethrough&&(e=(e=r.converter._dispatch("strikethrough.before",e,t,r)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,(function(e,n){return function(e){return t.simplifiedAutoLink&&(e=o.subParser("simplifiedAutoLinks")(e,t,r)),""+e+""}(n)})),e=r.converter._dispatch("strikethrough.after",e,t,r)),e})),o.subParser("stripLinkDefinitions",(function(e,t,r){"use strict";var n=function(e,n,a,i,s,c,u){return n=n.toLowerCase(),a.match(/^data:.+?\/.+?;base64,/)?r.gUrls[n]=a.replace(/\s/g,""):r.gUrls[n]=o.subParser("encodeAmpsAndAngles")(a,t,r),c?c+u:(u&&(r.gTitles[n]=u.replace(/"|'/g,""")),t.parseImgDimensions&&i&&s&&(r.gDimensions[n]={width:i,height:s}),"")};return e=(e=(e=(e+="¨0").replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm,n)).replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,n)).replace(/¨0/,"")})),o.subParser("tables",(function(e,t,r){"use strict";if(!t.tables)return e;function n(e,n){return""+o.subParser("spanGamut")(e,t,r)+"\n"}function a(e){var a,i=e.split("\n");for(a=0;a"+(c=o.subParser("spanGamut")(c,t,r))+"\n"));for(a=0;a\n\n\n",a=0;a\n";for(var o=0;o\n"}return r+="\n\n"}(h,g)}return e=(e=(e=(e=r.converter._dispatch("tables.before",e,t,r)).replace(/\\(\|)/g,o.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,a)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,a),e=r.converter._dispatch("tables.after",e,t,r)})),o.subParser("underline",(function(e,t,r){"use strict";return t.underline?(e=r.converter._dispatch("underline.before",e,t,r),e=(e=t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return""+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,o.helper.escapeCharactersCallback),e=r.converter._dispatch("underline.after",e,t,r)):e})),o.subParser("unescapeSpecialChars",(function(e,t,r){"use strict";return e=(e=r.converter._dispatch("unescapeSpecialChars.before",e,t,r)).replace(/¨E(\d+)E/g,(function(e,t){var r=parseInt(t);return String.fromCharCode(r)})),e=r.converter._dispatch("unescapeSpecialChars.after",e,t,r)})),o.subParser("makeMarkdown.blockquote",(function(e,t){"use strict";var r="";if(e.hasChildNodes())for(var n=e.childNodes,a=n.length,i=0;i ")})),o.subParser("makeMarkdown.codeBlock",(function(e,t){"use strict";var r=e.getAttribute("language"),n=e.getAttribute("precodenum");return"```"+r+"\n"+t.preList[n]+"\n```"})),o.subParser("makeMarkdown.codeSpan",(function(e){"use strict";return"`"+e.innerHTML+"`"})),o.subParser("makeMarkdown.emphasis",(function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="*";for(var n=e.childNodes,a=n.length,i=0;i",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t})),o.subParser("makeMarkdown.links",(function(e,t){"use strict";var r="";if(e.hasChildNodes()&&e.hasAttribute("href")){var n=e.childNodes,a=n.length;r="[";for(var i=0;i",e.hasAttribute("title")&&(r+=' "'+e.getAttribute("title")+'"'),r+=")"}return r})),o.subParser("makeMarkdown.list",(function(e,t,r){"use strict";var n="";if(!e.hasChildNodes())return"";for(var a=e.childNodes,i=a.length,s=e.getAttribute("start")||1,c=0;c"+t.preList[r]+""})),o.subParser("makeMarkdown.strikethrough",(function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="~~";for(var n=e.childNodes,a=n.length,i=0;itr>th"),c=e.querySelectorAll("tbody>tr");for(r=0;rh&&(h=b)}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 o}.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}()},33: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}))},36:function(e,t,r){"use strict";var n,a;function o(e){return[e]}function i(){var e={clear:function(){e.head=null}};return e}function s(e,t,r){var n;if(e.length!==t.length)return!1;for(n=r;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=p("SET_DEFAULT_BLOCK_NAME"),b=p("SET_FREEFORM_FALLBACK_BLOCK_NAME"),g=p("SET_UNREGISTERED_FALLBACK_BLOCK_NAME"),m=p("SET_GROUPING_BLOCK_NAME");var _=Object(o.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 f({},e,{},Object(c.keyBy)(Object(c.map)(t.blockTypes,(function(e){return Object(c.omit)(e,"styles ")})),"name"));case"REMOVE_BLOCK_TYPES":return Object(c.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 f({},e,{},Object(c.mapValues)(Object(c.keyBy)(t.blockTypes,"name"),(function(t){return Object(c.uniqBy)([].concat(Object(i.a)(Object(c.get)(t,["styles"],[])),Object(i.a)(Object(c.get)(e,[t.name],[]))),(function(e){return e.name}))})));case"ADD_BLOCK_STYLES":return f({},e,Object(s.a)({},t.blockName,Object(c.uniqBy)([].concat(Object(i.a)(Object(c.get)(e,[t.blockName],[])),Object(i.a)(t.styles)),(function(e){return e.name}))));case"REMOVE_BLOCK_STYLES":return f({},e,Object(s.a)({},t.blockName,Object(c.filter)(Object(c.get)(e,[t.blockName],[]),(function(e){return-1===t.styleNames.indexOf(e.name)}))))}return e},blockVariations: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 f({},e,{},Object(c.mapValues)(Object(c.keyBy)(t.blockTypes,"name"),(function(t){return Object(c.uniqBy)([].concat(Object(i.a)(Object(c.get)(t,["variations"],[])),Object(i.a)(Object(c.get)(e,[t.name],[]))),(function(e){return e.name}))})));case"ADD_BLOCK_VARIATIONS":return f({},e,Object(s.a)({},t.blockName,Object(c.uniqBy)([].concat(Object(i.a)(Object(c.get)(e,[t.blockName],[])),Object(i.a)(t.variations)),(function(e){return e.name}))));case"REMOVE_BLOCK_VARIATIONS":return f({},e,Object(s.a)({},t.blockName,Object(c.filter)(Object(c.get)(e,[t.blockName],[]),(function(e){return-1===t.variationNames.indexOf(e.name)}))))}return e},defaultBlockName:h,freeformFallbackBlockName:b,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(c.isEmpty)(t.category))return e;if(Object(c.find)(e,["slug",t.slug]))return Object(c.map)(e,(function(e){return e.slug===t.slug?f({},e,{},t.category):e}))}return e},collections: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_COLLECTION":return f({},e,Object(s.a)({},t.namespace,{title:t.title,icon:t.icon}));case"REMOVE_BLOCK_COLLECTION":return Object(c.omit)(e,t.namespace)}return e}}),v=r(36);function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var y=function(e,t){return"string"==typeof t?O(e,t):t},k=Object(v.a)((function(e){return Object.values(e.blockTypes).map((function(t){return function(e){for(var t=1;t0},H=function(e,t){return Object(c.some)(B(e,t),(function(t){return M(e,t,"inserter",!0)}))};function I(e){return{type:"ADD_BLOCK_TYPES",blockTypes:Object(c.castArray)(e)}}function V(e){return{type:"REMOVE_BLOCK_TYPES",names:Object(c.castArray)(e)}}function R(e,t){return{type:"ADD_BLOCK_STYLES",styles:Object(c.castArray)(t),blockName:e}}function F(e,t){return{type:"REMOVE_BLOCK_STYLES",styleNames:Object(c.castArray)(t),blockName:e}}function $(e,t){return{type:"ADD_BLOCK_VARIATIONS",variations:Object(c.castArray)(t),blockName:e}}function q(e,t){return{type:"REMOVE_BLOCK_VARIATIONS",variationNames:Object(c.castArray)(t),blockName:e}}function U(e){return{type:"SET_DEFAULT_BLOCK_NAME",name:e}}function G(e){return{type:"SET_FREEFORM_FALLBACK_BLOCK_NAME",name:e}}function K(e){return{type:"SET_UNREGISTERED_FALLBACK_BLOCK_NAME",name:e}}function W(e){return{type:"SET_GROUPING_BLOCK_NAME",name:e}}function Y(e){return{type:"SET_CATEGORIES",categories:e}}function Z(e,t){return{type:"UPDATE_CATEGORY",slug:e,category:t}}function Q(e,t,r){return{type:"ADD_BLOCK_COLLECTION",namespace:e,title:t,icon:r}}function X(e){return{type:"REMOVE_BLOCK_COLLECTION",namespace:e}}Object(o.registerStore)("core/blocks",{reducer:_,selectors:n,actions:a});var J=r(81),ee=r.n(J),te=r(29),re=r(52),ne=r.n(re),ae=r(0),oe=r(27);function ie(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var se=["#191e23","#f8f9f9"];function ce(e){var t=Se();if(e.name!==t)return!1;ce.block&&ce.block.name===t||(ce.block=Ue(t));var r=ce.block,n=Ee(t);return Object(c.every)(n.attributes,(function(t,n){return r.attributes[n]===e.attributes[n]}))}function ue(e){return!!e&&(Object(c.isString)(e)||Object(ae.isValidElement)(e)||Object(c.isFunction)(e)||e instanceof ae.Component)}function le(e){if(ue(e))return{src:e};if(Object(c.has)(e,["background"])){var t=ne()(e.background);return function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:"visual",n=e.__experimentalLabel,a=e.title,o=n&&n(t,{context:r});return o?Object(oe.__unstableStripHTML)(o):a}function pe(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"vertical",a=e.title,o=de(e,t,"accessibility"),i=void 0!==r,s=o&&o!==a;return i&&"vertical"===n?s?Object(u.sprintf)(Object(u.__)("%1$s Block. Row %2$d. %3$s"),a,r,o):Object(u.sprintf)(Object(u.__)("%s Block. Row %d"),a,r):i&&"horizontal"===n?s?Object(u.sprintf)(Object(u.__)("%1$s Block. Column %2$d. %3$s"),a,r,o):Object(u.sprintf)(Object(u.__)("%s Block. Column %d"),a,r):s?Object(u.sprintf)(Object(u.__)("%1$s Block. %2$s"),a,o):Object(u.sprintf)(Object(u.__)("%s Block"),a)}var he=["attributes","supports","save","migrate","isEligible"];function be(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ge(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=Ee(e),a=Object(c.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:ee()(),name:e,isValid:!0,attributes:a,innerBlocks:r}}function Ge(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return qe({},e,{clientId:ee()(),attributes:qe({},e.attributes,{},t),innerBlocks:r||e.innerBlocks.map((function(e){return Ge(e)}))})}var Ke=function(e,t,r){if(Object(c.isEmpty)(r))return!1;var n=r.length>1,a=Object(c.first)(r).name;if(!(Ze(e)||!n||e.isMultiBlock))return!1;if(!Ze(e)&&!Object(c.every)(r,{name:a}))return!1;if(!("block"===e.type))return!1;var o=Object(c.first)(r);if(!("from"!==t||-1!==e.blocks.indexOf(o.name)||Ze(e)))return!1;if(!n&&Qe(o.name)&&Qe(e.blockName))return!1;if(Object(c.isFunction)(e.isMatch)){var i=e.isMultiBlock?r.map((function(e){return e.attributes})):o.attributes;if(!e.isMatch(i))return!1}return!0},We=function(e){if(Object(c.isEmpty)(e))return[];var t=Ne();return Object(c.filter)(t,(function(t){return!!et(tt("from",t.name),(function(t){return Ke(t,"from",e)}))}))},Ye=function(e){if(Object(c.isEmpty)(e))return[];var t=tt("to",Ee(Object(c.first)(e).name).name),r=Object(c.filter)(t,(function(t){return t&&Ke(t,"to",e)}));return Object(c.flatMap)(r,(function(e){return e.blocks})).map((function(e){return Ee(e)}))},Ze=function(e){return e&&"block"===e.type&&Array.isArray(e.blocks)&&e.blocks.includes("*")},Qe=function(e){return e===Ce()},Xe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!e.length)return!1;var t=e[0].name;return Object(c.every)(e,["name",t])};function Je(e){if(Object(c.isEmpty)(e))return[];var t=We(e),r=Ye(e);return Object(c.uniq)([].concat(Object(i.a)(t),Object(i.a)(r)))}function et(e,t){for(var r=Object(te.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],o=a.name;if(!Qe(t)&&n&&!Xe(r))return null;var i,s=tt("from",t),u=et(tt("to",o),(function(e){return"block"===e.type&&(Ze(e)||-1!==e.blocks.indexOf(t))&&(!n||e.isMultiBlock)}))||et(s,(function(e){return"block"===e.type&&(Ze(e)||-1!==e.blocks.indexOf(o))&&(!n||e.isMultiBlock)}));if(!u)return null;if(i=u.isMultiBlock?Object(c.has)(u,"__experimentalConvert")?u.__experimentalConvert(r):u.transform(r.map((function(e){return e.attributes})),r.map((function(e){return e.innerBlocks}))):Object(c.has)(u,"__experimentalConvert")?u.__experimentalConvert(a):u.transform(a.attributes,a.innerBlocks),!Object(c.isObjectLike)(i))return null;if((i=Object(c.castArray)(i)).some((function(e){return!Ee(e.name)})))return null;var l=Object(c.findIndex)(i,(function(e){return e.name===t}));return l<0?null:i.map((function(t,r){var n=qe({},t,{clientId:r===l?a.clientId:t.clientId});return Object(te.applyFilters)("blocks.switchToBlockType.transformedBlock",n,e)}))}var nt=function e(t,r){return Ue(t,r.attributes,Object(c.map)(r.innerBlocks,(function(t){return e(t.name,t)})))},at=r(22);var ot,it=function(){return ot||(ot=document.implementation.createHTMLDocument("")),ot};function st(e,t){if(t){if("string"==typeof e){var r=it();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]=st(e,t[n]),r}),{})}}function ct(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 ut=r(83),lt=r(259),ft=r(37),dt=r(33),pt=r(38);var ht=r(13),bt=r(12),gt=/^#[xX]([A-Fa-f0-9]+)$/,mt=/^#([0-9]+)$/,_t=/^([A-Za-z0-9]+)$/,vt=(function(){function e(e){this.named=e}e.prototype.parse=function(e){if(e){var t=e.match(gt);return t?String.fromCharCode(parseInt(t[1],16)):(t=e.match(mt))?String.fromCharCode(parseInt(t[1],10)):(t=e.match(_t))?this.named[t[1]]:void 0}}}(),/[\t\n\f ]/),wt=/[A-Za-z]/,yt=/\r\n?/g;function kt(e){return vt.test(e)}function Ot(e){return wt.test(e)}var jt=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;"<"!==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||Ot(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();kt(e)?this.transitionTo("beforeAttributeName"):"/"===e?this.transitionTo("selfClosingStartTag"):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(e)},endTagName:function(){var e=this.consume();kt(e)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):"/"===e?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();kt(e)?this.consume():"/"===e?(this.transitionTo("selfClosingStartTag"),this.consume()):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):"="===e?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var e=this.peek();kt(e)?(this.transitionTo("afterAttributeName"),this.consume()):"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.transitionTo("beforeAttributeValue"),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):'"'===e||"'"===e||"<"===e?(this.delegate.reportSyntaxError(e+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(e)):(this.consume(),this.delegate.appendToAttributeName(e))},afterAttributeName:function(){var e=this.peek();kt(e)?this.consume():"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.consume(),this.transitionTo("beforeAttributeValue")):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();kt(e)?this.consume():'"'===e?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):"'"===e?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();'"'===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueSingleQuoted:function(){var e=this.consume();"'"===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueUnquoted:function(){var e=this.peek();kt(e)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"&"===e?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):">"===e?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();kt(e)?(this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.consume(),this.transitionTo("selfClosingStartTag")):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var e=this.consume();("@"===e||":"===e||Ot(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(yt,"\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}(),Ct=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 jt(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=fe(e),a=n.save;if(a.prototype instanceof ae.Component){var o=new a({attributes:t});a=o.render.bind(o)}var i=a({attributes:t,innerBlocks:r});if(Object(c.isObject)(i)&&Object(te.hasFilter)("blocks.getSaveContent.extraProps")){var u=Object(te.applyFilters)("blocks.getSaveContent.extraProps",function(e){for(var t=1;t/g,"\\u003e").replace(/&/g,"\\u0026").replace(/\\"/g,"\\u0022")}(t)+" ",a=Object(c.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 qt(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isInnerBlocks,r=void 0!==t&&t,n=e.name,a=Ft(e);return n===xe()||!r&&n===je()?a:$t(n,function(e,t){return Object(c.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)}),{})}(Ee(n),e.attributes),a)}function Ut(e,t){return Object(c.castArray)(e).map((function(e){return qt(e,t)})).join("\n\n")}function Gt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var Kt=/[\t\n\r\v\f ]+/g,Wt=/^[\t\n\r\v\f ]*$/,Yt=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,Zt=["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"],Qt=[].concat(Zt,["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),Xt=[c.identity,function(e){return nr(e).join(" ")}],Jt=/^[\da-z]+$/i,er=/^#\d+$/,tr=/^#x[\da-f]+$/i;var rr=function(){function e(){Object(ht.a)(this,e)}return Object(bt.a)(e,[{key:"parse",value:function(e){if(t=e,Jt.test(t)||er.test(t)||tr.test(t))return Object(Tt.decodeEntities)("&"+e+";");var t}}]),e}();function nr(e){return e.trim().split(Kt)}function ar(e){return e.attributes.filter((function(e){var t=Object(at.a)(e,2),r=t[0];return t[1]||0===r.indexOf("data-")||Object(c.includes)(Qt,r)}))}function or(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:xt(),n=e.chars,a=t.chars,o=0;o2&&void 0!==arguments[2]?arguments[2]:xt();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]:xt();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):ur.apply(void 0,Object(i.a)([e,t].map(ar)).concat([r]))},Chars:or,Comment:or};function fr(e){for(var t;t=e.shift();){if("Chars"!==t.type)return t;if(!Wt.test(t.chars))return t}}function dr(e,t){return!!e.selfClosing&&!(!t||t.tagName!==e.tagName||"EndTag"!==t.type)}function pr(e,t){var r,n,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:xt(),o=[e,t].map((function(e){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xt();try{return new Ct(new rr).tokenize(e)}catch(r){t.warning("Malformed HTML detected: %s",e)}return null}(e,a)})),i=Object(at.a)(o,2),s=i[0],c=i[1];if(!s||!c)return!1;for(;r=fr(s);){if(!(n=fr(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=lr[r.type];if(u&&!u(r,n,a))return!1;dr(r,c[0])?fr(c):dr(n,s[0])&&fr(s)}return!(n=fr(c))||(a.warning("Expected %o, instead saw end of content.",n),!1)}function hr(e,t,r){var n,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){var e=[],t=xt();return{error:function(){for(var r=arguments.length,n=new Array(r),a=0;a2&&void 0!==arguments[2]?arguments[2]:{},n=fe(e),a=Object(c.mapValues)(n.attributes,(function(e,n){return Mr(n,e,t,r)}));return Object(te.applyFilters)("blocks.getBlockAttributes",a,n,t,r)}function Dr(e){var t=e.blockName,r=e.attrs,n=e.innerBlocks,a=void 0===n?[]:n,o=e.innerHTML,s=e.innerContent,u=je(),l=xe()||u;r=r||{},o=o.trim();var f=t||u;"core/cover-image"===f&&(f="core/cover"),"core/text"!==f&&"core/cover-text"!==f||(f="core/paragraph"),f===u&&(o=Object(ut.autop)(o).trim());var d=Ee(f);if(!d){var p={attrs:r,blockName:t,innerBlocks:a,innerContent:s},h=Hr(p,{isCommentDelimited:!1}),b=Hr(p,{isCommentDelimited:!0});f&&(o=b),r={originalName:t,originalContent:b,originalUndelimitedContent:h},d=Ee(f=l)}a=(a=a.map(Dr)).filter((function(e){return e}));var g=f===u||f===l;if(d&&(o||!g)){var m=Ue(f,zr(d,o,r),a);if(!g){var _=hr(d,m.attributes,o),v=_.isValid,w=_.validationIssues;m.isValid=v,m.validationIssues=w}return m.originalContent=m.originalContent||o,(m=function(e,t){var r=Ee(e.name),n=r.deprecated;if(!n||!n.length)return e;for(var a=e,o=a.originalContent,s=a.innerBlocks,u=0;u0&&(m.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",d.name,d,Rt(d,m.attributes),m.originalContent):m.validationIssues.forEach((function(e){var t=e.log,r=e.args;return t.apply(void 0,Object(i.a)(r))}))),m}}function Hr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.isCommentDelimited,n=void 0===r||r,a=e.blockName,o=e.attrs,i=void 0===o?{}:o,s=e.innerBlocks,c=void 0===s?[]:s,u=e.innerContent,l=0,f=(void 0===u?[]:u).map((function(e){return null!==e?e:Hr(c[l++],t)})).join("\n").replace(/\n+/g,"\n").trim();return n?$t(a,i,f):f}var Ir,Vr=(Ir=lt.parse,function(e){return Ir(e).reduce((function(e,t){var r=Dr(t);return r&&e.push(r),e}),[])}),Rr=Vr;function Fr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function $r(e){for(var t=1;t1&&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 nn(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 o=t.nodeName.toLowerCase();if(!n.hasOwnProperty(o)||n[o].isMatch&&!n[o].isMatch(t))e(t.childNodes,r,n,a),a&&!Kr(t)&&t.nextElementSibling&&Object(oe.insertAfter)(r.createElement("br"),t),Object(oe.unwrap)(t);else if(t.nodeType===Xr){var i=n[o],s=i.attributes,u=void 0===s?[]:s,l=i.classes,f=void 0===l?[]:l,d=i.children,p=i.require,h=void 0===p?[]:p,b=i.allowEmpty;if(d&&!b&&tn(t))return void Object(oe.remove)(t);if(t.hasAttributes()&&(Array.from(t.attributes).forEach((function(e){var r=e.name;"class"===r||Object(c.includes)(u,r)||t.removeAttribute(r)})),t.classList&&t.classList.length)){var g=f.map((function(e){return"string"==typeof e?function(t){return t===e}:e instanceof RegExp?function(t){return e.test(t)}:c.noop}));Array.from(t.classList).forEach((function(e){g.some((function(t){return t(e)}))||t.classList.remove(e)})),t.classList.length||t.removeAttribute("class")}if(t.hasChildNodes()){if("*"===d)return;if(d)h.length&&!t.querySelector(h.join(","))?(e(t.childNodes,r,n,a),Object(oe.unwrap)(t)):"BODY"===t.parentNode.nodeName&&Kr(t)?(e(t.childNodes,r,n,a),Array.from(t.childNodes).some((function(e){return!Kr(e)}))&&Object(oe.unwrap)(t)):e(t.childNodes,r,d,a);else for(;t.firstChild;)Object(oe.remove)(t.firstChild)}}}))}(n.body.childNodes,n,t,r),n.body.innerHTML}function an(e,t){var r=e["".concat(t,"Sibling")];if(r&&Kr(r))return r;var n=e.parentNode;return n&&Kr(n)?an(n,t):void 0}var on=window.Node,sn=on.ELEMENT_NODE,cn=on.TEXT_NODE,un=function(e){var t=document.implementation.createHTMLDocument(""),r=document.implementation.createHTMLDocument(""),n=t.body,a=r.body;for(n.innerHTML=e;n.firstChild;){var o=n.firstChild;o.nodeType===cn?o.nodeValue.trim()?(a.lastChild&&"P"===a.lastChild.nodeName||a.appendChild(r.createElement("P")),a.lastChild.appendChild(o)):n.removeChild(o):o.nodeType===sn?"BR"===o.nodeName?(o.nextSibling&&"BR"===o.nextSibling.nodeName&&(a.appendChild(r.createElement("P")),n.removeChild(o.nextSibling)),a.lastChild&&"P"===a.lastChild.nodeName&&a.lastChild.hasChildNodes()?a.lastChild.appendChild(o):n.removeChild(o)):"P"===o.nodeName?tn(o)?n.removeChild(o):a.appendChild(o):Kr(o)?(a.lastChild&&"P"===a.lastChild.nodeName||a.appendChild(r.createElement("P")),a.lastChild.appendChild(o)):a.appendChild(o):n.removeChild(o)}return a.innerHTML},ln=window.Node.COMMENT_NODE,fn=function(e,t){if(e.nodeType===ln)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===ln&&"noteaser"===n.nodeValue){a=!0,Object(oe.remove)(n);break}Object(oe.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(oe.replace)(e,function(e){var t=e.createElement("wp-block");return t.dataset.block="core/nextpage",t}(t))};function dn(e){return"OL"===e.nodeName||"UL"===e.nodeName}var pn=function(e){if(dn(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 o=a,i=o.previousElementSibling,s=o.parentNode;i?(i.appendChild(t),s.removeChild(o)):(s.parentNode.insertBefore(t,s),s.parentNode.removeChild(s))}if(a&&dn(a)){var c=e.previousElementSibling;c?c.appendChild(e):Object(oe.unwrap)(e)}}},hn=function(e){"BLOCKQUOTE"===e.nodeName&&(e.innerHTML=un(e.innerHTML))};function bn(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 gn=function(e,t,r){if(function(e,t){var r=e.nodeName.toLowerCase();return"figcaption"!==r&&!Wr(e)&&Object(c.has)(t,["figure","children",r])}(e,r)){var n=e,a=e.parentNode;(function(e,t){var r=e.nodeName.toLowerCase();return Object(c.has)(t,["figure","children","a","children",r])})(e,r)&&"A"===a.nodeName&&1===a.childNodes.length&&(n=e.parentNode);var o=n.closest("p,div");o?(e.classList.contains("alignright")||e.classList.contains("alignleft")||e.classList.contains("aligncenter")||!o.textContent.trim())&&bn(n,o):"BODY"===n.parentNode.nodeName&&bn(n)}},mn=r(143);function _n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var vn=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=et(tt("from"),(function(e){return-1===n.indexOf(e.blockName)&&"shortcode"===e.type&&Object(c.some)(Object(c.castArray)(e.tag),(function(e){return Object(mn.regexp)(e).test(t)}))}));if(!a)return[t];var o,u=Object(c.castArray)(a.tag),l=Object(c.find)(u,(function(e){return Object(mn.regexp)(e).test(t)})),f=r;if(o=Object(mn.next)(l,t,r)){r=o.index+o.content.length;var d=t.substr(0,o.index),p=t.substr(r);if(!(Object(c.includes)(o.shortcode.content||"","<")||/(\n|

    )\s*$/.test(d)&&/^\s*(\n|<\/p>)/.test(p)))return e(t,r);if(a.isMatch&&!a.isMatch(o.shortcode.attrs))return e(t,f,[].concat(Object(i.a)(n),[a.blockName]));var h=Object(c.mapValues)(Object(c.pickBy)(a.attributes,(function(e){return e.shortcode})),(function(e){return e.shortcode(o.shortcode.attrs,o)}));return[d,Ue(a.blockName,zr(function(e){for(var t=1;t]+>/g,"")).replace(/^\s*]*>\s*]*>(?:\s*)?/i,"")).replace(/(?:\s*)?<\/body>\s*<\/html>\s*$/i,""),"INLINE"!==i){var f=r||a;if(-1!==f.indexOf("\x3c!-- wp:"))return Vr(f)}if(String.prototype.normalize&&(r=r.normalize()),!a||r&&!function(e){return!/<(?!br[ />])/i.test(e)}(r)||(r=Dn(a),"AUTO"===i&&-1===a.indexOf("\n")&&0!==a.indexOf("

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

    ")&&(i="INLINE")),"INLINE"===i)return Gn(r);var d=vn(r),p=d.length>1;if("AUTO"===i&&!p&&jn(r,s))return Gn(r);var h=Object(c.filter)(tt("from"),{type:"raw"}).map((function(e){return e.isMatch?e:qn({},e,{isMatch:function(t){return e.selector&&t.matches(e.selector)}})})),b=Gr("paste"),g=en(h,b,!0),m=Object(c.compact)(Object(c.flatMap)(d,(function(e){if("string"!=typeof e)return e;var t=[In,An,Tn,pn,Ln,Cn,fn,yn,gn,hn];l||t.unshift(Hn);var r=qn({},g,{},b);return e=nn(e=rn(e,t,g),r),e=rn(e=un(e),[Vn,Rn,Fn],g),Un.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=et(r,(function(t){return(0,t.isMatch)(e)}));if(!t)return Ue("core/html",zr("core/html",e.outerHTML));var n=t.transform,a=t.blockName;return n?n(e):Ue(a,zr(a,e.outerHTML))}))}({html:e,rawTransforms:h})})));if("AUTO"===i&&1===m.length&&Le(m[0].name,"__unstablePasteTextInline",!1)){var _=a.trim();if(""!==_&&-1===_.indexOf("\n"))return nn(Ft(m[0]),b)}return m}function Wn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Yn(){return Object(c.filter)(tt("from"),{type:"raw"}).map((function(e){return e.isMatch?e:function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length===t.length&&Object(c.every)(t,(function(t,r){var n=Object(at.a)(t,3),a=n[0],o=n[2],i=e[r];return a===i.name&&ta(i.innerBlocks,o)}))}function ra(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t?Object(c.map)(t,(function(t,r){var n=Object(at.a)(t,3),a=n[0],o=n[1],i=n[2],u=e[r];if(u&&u.name===a)return function(e){for(var t=1;t1&&(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=o=r;else{var s=r<.5?r*(1+t):r+t-r*t,c=2*r-s;n=i(c,s,e+1/3),a=i(c,s,e),o=i(c,s,e-1/3)}return{r:255*n,g:255*a,b:255*o}}(e.h,n,c),f=!0,d="hsl"),e.hasOwnProperty("a")&&(r=e.a));var p,h,b;return r=N(r),{ok:f,format:e.format||d,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 p(e,t,r){e=B(e,255),t=B(t,255),r=B(r,255);var n,a,o=l(e,t,r),i=u(e,t,r),s=(o+i)/2;if(o==i)n=a=0;else{var c=o-i;switch(a=s>.5?c/(2-o-i):c/(o+i),o){case e:n=(t-r)/c+(t>1)+720)%360;--t;)n.h=(n.h+a)%360,o.push(d(n));return o}function A(e,t){t=t||6;for(var r=d(e).toHsv(),n=r.h,a=r.s,o=r.v,i=[],s=1/t;t--;)i.push(d({h:n,s:a,v:o})),o=(o+s)%1;return i}d.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=N(e),this._roundA=c(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=c(360*e.h),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=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=p(this._r,this._g,this._b),t=c(360*e.h),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 b(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,a){var o=[z(c(e).toString(16)),z(c(t).toString(16)),z(c(r).toString(16)),z(H(n))];if(a&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1))return o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0);return o.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*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)&&(E[b(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+g(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var a=d(e);r="#"+g(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 d(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(w,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(k,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(_,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(O,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(P,arguments)},complement:function(){return this._applyCombination(j,arguments)},monochromatic:function(){return this._applyCombination(A,arguments)},splitcomplement:function(){return this._applyCombination(x,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(T,arguments)}},d.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:D(e[n]));e=r}return d(e,t)},d.equals=function(e,t){return!(!e||!t)&&d(e).toRgbString()==d(t).toRgbString()},d.random=function(){return d.fromRatio({r:f(),g:f(),b:f()})},d.mix=function(e,t,r){r=0===r?0:r||50;var n=d(e).toRgb(),a=d(t).toRgb(),o=r/100;return d({r:(a.r-n.r)*o+n.r,g:(a.g-n.g)*o+n.g,b:(a.b-n.b)*o+n.b,a:(a.a-n.a)*o+n.a})},d.readability=function(e,t){var r=d(e),n=d(t);return(a.max(r.getLuminance(),n.getLuminance())+.05)/(a.min(r.getLuminance(),n.getLuminance())+.05)},d.isReadable=function(e,t,r){var n,a,o=d.readability(e,t);switch(a=!1,(n=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":a=o>=4.5;break;case"AAlarge":a=o>=3;break;case"AAAsmall":a=o>=7}return a},d.mostReadable=function(e,t,r){var n,a,o,i,s=null,c=0;a=(r=r||{}).includeFallbackColors,o=r.level,i=r.size;for(var u=0;uc&&(c=n,s=d(t[u]));return d.isReadable(e,s,{level:o,size:i})||!a?s:(r.includeFallbackColors=!1,d.mostReadable(e,["#fff","#000"],r))};var S=d.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"},E=d.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(S);function N(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 L(e){return u(1,l(0,e))}function M(e){return parseInt(e,16)}function z(e){return 1==e.length?"0"+e:""+e}function D(e){return e<=1&&(e=100*e+"%"),e}function H(e){return a.round(255*parseFloat(e)).toString(16)}function I(e){return M(e)/255}var V,R,F,$=(R="[\\s|\\(]+("+(V="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",F="[\\s|\\(]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",{CSS_UNIT:new RegExp(V),rgb:new RegExp("rgb"+R),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+R),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+R),hsva:new RegExp("hsva"+F),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function q(e){return!!$.CSS_UNIT.exec(e)}e.exports?e.exports=d:void 0===(n=function(){return d}.call(t,r,t,e))||(e.exports=n)}(Math)},56:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},8:function(e,t){!function(){e.exports=this.wp.compose}()},81:function(e,t,r){var n=r(111),a=r(112);e.exports=function(e,t,r){var o=t&&r||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var i=(e=e||{}).random||(e.rng||n)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var s=0;s<16;++s)t[o+s]=i[s];return t||a(i)}},83:function(e,t){!function(){e.exports=this.wp.autop}()}}); \ No newline at end of file diff --git a/wp-includes/js/dist/components.js b/wp-includes/js/dist/components.js index eb238cbc30..5c2cf80ac4 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 = 362); +/******/ return __webpack_require__(__webpack_require__.s = 252); /******/ }) /************************************************************************/ /******/ ([ @@ -106,55 +106,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["components"] = /***/ }), /* 3 */, /* 4 */, -/* 5 */, -/* 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; -} - -/***/ }), -/* 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) { - -(function() { module.exports = this["wp"]["compose"]; }()); - -/***/ }), -/* 9 */ +/* 5 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -175,6 +127,28 @@ function _defineProperty(obj, key, value) { } /***/ }), +/* 6 */, +/* 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) { + +(function() { module.exports = this["wp"]["compose"]; }()); + +/***/ }), +/* 9 */, /* 10 */ /***/ (function(module, exports, __webpack_require__) { @@ -232,8 +206,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! /***/ }), -/* 11 */, -/* 12 */ +/* 11 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -257,7 +230,7 @@ function _extends() { } /***/ }), -/* 13 */ +/* 12 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -279,7 +252,7 @@ function _createClass(Constructor, protoProps, staticProps) { } /***/ }), -/* 14 */ +/* 13 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -291,7 +264,7 @@ function _classCallCheck(instance, Constructor) { } /***/ }), -/* 15 */ +/* 14 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -309,7 +282,7 @@ function _possibleConstructorReturn(self, call) { } /***/ }), -/* 16 */ +/* 15 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -322,7 +295,7 @@ function _getPrototypeOf(o) { } /***/ }), -/* 17 */ +/* 16 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -355,7 +328,7 @@ function _inherits(subClass, superClass) { } /***/ }), -/* 18 */ +/* 17 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -371,7 +344,7 @@ function _arrayWithoutHoles(arr) { } } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(31); +var iterableToArray = __webpack_require__(33); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js function _nonIterableSpread() { @@ -387,18 +360,18 @@ function _toConsumableArray(arr) { } /***/ }), -/* 19 */ +/* 18 */ /***/ (function(module, exports) { -(function() { module.exports = this["wp"]["keycodes"]; }()); +(function() { module.exports = this["wp"]["primitives"]; }()); /***/ }), -/* 20 */ +/* 19 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; }); -/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(40); +/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(41); function _objectWithoutProperties(source, excluded) { if (source == null) return {}; @@ -419,6 +392,12 @@ function _objectWithoutProperties(source, excluded) { return target; } +/***/ }), +/* 20 */ +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["keycodes"]; }()); + /***/ }), /* 21 */ /***/ (function(module, exports) { @@ -432,7 +411,7 @@ function _objectWithoutProperties(source, excluded) { "use strict"; // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -var arrayWithHoles = __webpack_require__(35); +var arrayWithHoles = __webpack_require__(37); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js function _iterableToArrayLimit(arr, i) { @@ -465,7 +444,7 @@ function _iterableToArrayLimit(arr, i) { return _arr; } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js -var nonIterableRest = __webpack_require__(36); +var nonIterableRest = __webpack_require__(38); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); @@ -489,15 +468,7 @@ function _slicedToArray(arr, i) { (function() { module.exports = this["wp"]["richText"]; }()); /***/ }), -/* 25 */, -/* 26 */, -/* 27 */ -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["dom"]; }()); - -/***/ }), -/* 28 */ +/* 25 */ /***/ (function(module, exports, __webpack_require__) { /** @@ -510,11 +481,19 @@ 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__(89)(); + module.exports = __webpack_require__(113)(); } /***/ }), +/* 26 */, +/* 27 */ +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["dom"]; }()); + +/***/ }), +/* 28 */, /* 29 */ /***/ (function(module, exports) { @@ -527,22 +506,15 @@ if (false) { var throwOnDirectAccess, ReactIs; } else { (function() { module.exports = this["moment"]; }()); /***/ }), -/* 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); -} - -/***/ }), +/* 31 */, /* 32 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; }); function _typeof(obj) { + "@babel/helpers - typeof"; + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; @@ -558,13 +530,180 @@ function _typeof(obj) { /***/ }), /* 33 */ +/***/ (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); +} + +/***/ }), +/* 34 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* unused harmony export Button */ +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(11); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(19); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(10); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2); +/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(35); +/* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_5__); +/* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(106); +/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(84); + + + + +/** + * External dependencies + */ + + +/** + * WordPress dependencies + */ + + + +/** + * Internal dependencies + */ + + + +var disabledEventsOnDisabledButton = ['onMouseDown', 'onClick']; +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, + disabled = props.disabled, + icon = props.icon, + iconSize = props.iconSize, + showTooltip = props.showTooltip, + tooltipPosition = props.tooltipPosition, + shortcut = props.shortcut, + label = props.label, + children = props.children, + isFocusable = props.__experimentalIsFocusable, + additionalProps = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(props, ["href", "target", "isPrimary", "isLarge", "isSmall", "isTertiary", "isPressed", "isBusy", "isDefault", "isSecondary", "isLink", "isDestructive", "className", "disabled", "icon", "iconSize", "showTooltip", "tooltipPosition", "shortcut", "label", "children", "__experimentalIsFocusable"]); + + if (isDefault) { + _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_5___default()('Button isDefault prop', { + alternative: 'isSecondary' + }); + } + + var classes = classnames__WEBPACK_IMPORTED_MODULE_3___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 trulyDisabled = disabled && !isFocusable; + var Tag = href !== undefined && !trulyDisabled ? 'a' : 'button'; + var tagProps = Tag === 'a' ? { + href: href, + target: target + } : { + type: 'button', + disabled: trulyDisabled, + 'aria-pressed': isPressed + }; + + if (disabled && isFocusable) { + // In this case, the button will be disabled, but still focusable and + // perceivable by screen reader users. + tagProps['aria-disabled'] = true; + var _iteratorNormalCompletion = true; + var _didIteratorError = false; + var _iteratorError = undefined; + + try { + for (var _iterator = disabledEventsOnDisabledButton[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) { + var disabledEvent = _step.value; + + additionalProps[disabledEvent] = function (event) { + event.stopPropagation(); + event.preventDefault(); + }; + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally { + try { + if (!_iteratorNormalCompletion && _iterator.return != null) { + _iterator.return(); + } + } finally { + if (_didIteratorError) { + throw _iteratorError; + } + } + } + } // Should show the tooltip if... + + + var shouldShowTooltip = !trulyDisabled && ( // an explicit tooltip is passed or... + showTooltip && label || // there's a shortcut or... + shortcut || // there's a label and... + !!label && ( // the children are empty and... + !children || Object(lodash__WEBPACK_IMPORTED_MODULE_4__["isArray"])(children) && !children.length) && // the tooltip is not explicitly disabled. + false !== showTooltip); + var element = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])(Tag, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, tagProps, additionalProps, { + className: classes, + "aria-label": additionalProps['aria-label'] || label, + ref: ref + }), icon && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])(_icon__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"], { + icon: icon, + size: iconSize + }), children); + + if (!shouldShowTooltip) { + return element; + } + + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])(_tooltip__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"], { + text: label, + shortcut: shortcut, + position: tooltipPosition + }, element); +} +/* harmony default export */ __webpack_exports__["a"] = (Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["forwardRef"])(Button)); + + +/***/ }), +/* 35 */ /***/ (function(module, exports) { (function() { module.exports = this["wp"]["deprecated"]; }()); /***/ }), -/* 34 */, -/* 35 */ +/* 36 */, +/* 37 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -574,7 +713,7 @@ function _arrayWithHoles(arr) { } /***/ }), -/* 36 */ +/* 38 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -584,10 +723,9 @@ function _nonIterableRest() { } /***/ }), -/* 37 */, -/* 38 */, /* 39 */, -/* 40 */ +/* 40 */, +/* 41 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -608,7 +746,83 @@ function _objectWithoutPropertiesLoose(source, excluded) { } /***/ }), -/* 41 */ +/* 42 */, +/* 43 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return _objectSpread2; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} + +function ownKeys(object, enumerableOnly) { + var keys = Object.keys(object); + + if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(object); + if (enumerableOnly) symbols = symbols.filter(function (sym) { + return Object.getOwnPropertyDescriptor(object, sym).enumerable; + }); + keys.push.apply(keys, symbols); + } + + return keys; +} + +function _objectSpread2(target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i] != null ? arguments[i] : {}; + + if (i % 2) { + ownKeys(Object(source), true).forEach(function (key) { + _defineProperty(target, key, source[key]); + }); + } else if (Object.getOwnPropertyDescriptors) { + Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); + } else { + ownKeys(Object(source)).forEach(function (key) { + Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); + }); + } + } + + return target; +} + +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + return target; +} + + + + +/***/ }), +/* 44 */, +/* 45 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -653,9 +867,8 @@ var DEFAULT_VERTICAL_SPACING = exports.DEFAULT_VERTICAL_SPACING = 22; var MODIFIER_KEY_NAMES = exports.MODIFIER_KEY_NAMES = new Set(['Shift', 'Control', 'Alt', 'Meta']); /***/ }), -/* 42 */, -/* 43 */, -/* 44 */ +/* 46 */, +/* 47 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -697,19 +910,13 @@ function _asyncToGenerator(fn) { } /***/ }), -/* 45 */ +/* 48 */ /***/ (function(module, exports) { (function() { module.exports = this["wp"]["a11y"]; }()); /***/ }), -/* 46 */ -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["isShallowEqual"]; }()); - -/***/ }), -/* 47 */ +/* 49 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -751,7 +958,7 @@ var ThrowTypeError = $gOPD }()) : throwTypeError; -var hasSymbols = __webpack_require__(245)(); +var hasSymbols = __webpack_require__(291)(); var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto @@ -877,7 +1084,7 @@ var INTRINSICS = { '%WeakSetPrototype%': typeof WeakSet === 'undefined' ? undefined : WeakSet.prototype }; -var bind = __webpack_require__(74); +var bind = __webpack_require__(93); 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 */ @@ -920,6 +1127,9 @@ module.exports = function GetIntrinsic(name, allowMissing) { if (value != null) { if ($gOPD && (i + 1) >= parts.length) { var desc = $gOPD(value, parts[i]); + if (!allowMissing && !(parts[i] in value)) { + throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.'); + } value = desc ? (desc.get || desc.value) : value[parts[i]]; } else { value = value[parts[i]]; @@ -931,15 +1141,21 @@ module.exports = function GetIntrinsic(name, allowMissing) { /***/ }), -/* 48 */ +/* 50 */ +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["isShallowEqual"]; }()); + +/***/ }), +/* 51 */ /***/ (function(module, exports, __webpack_require__) { -module.exports = true ? __webpack_require__(287) : undefined; +module.exports = true ? __webpack_require__(337) : undefined; /***/ }), -/* 49 */ +/* 52 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;// TinyColor v1.4.1 @@ -2139,19 +2355,19 @@ else {} /***/ }), -/* 50 */, -/* 51 */, -/* 52 */ +/* 53 */, +/* 54 */, +/* 55 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var defineProperties = __webpack_require__(66); +var defineProperties = __webpack_require__(77); -var implementation = __webpack_require__(167); -var getPolyfill = __webpack_require__(168); -var shim = __webpack_require__(283); +var implementation = __webpack_require__(205); +var getPolyfill = __webpack_require__(206); +var shim = __webpack_require__(333); var polyfill = getPolyfill(); @@ -2165,7 +2381,8 @@ module.exports = polyfill; /***/ }), -/* 53 */ +/* 56 */, +/* 57 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -2384,9 +2601,8 @@ var CalendarDayPhrases = exports.CalendarDayPhrases = { }; /***/ }), -/* 54 */, -/* 55 */, -/* 56 */ +/* 58 */, +/* 59 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -2397,11 +2613,11 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = getPhrasePropTypes; -var _object = __webpack_require__(52); +var _object = __webpack_require__(55); var _object2 = _interopRequireDefault(_object); -var _propTypes = __webpack_require__(28); +var _propTypes = __webpack_require__(25); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -2416,8 +2632,365 @@ function getPhrasePropTypes(defaultPhrases) { } /***/ }), -/* 57 */, -/* 58 */ +/* 60 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXTERNAL MODULE: external {"this":"React"} +var external_this_React_ = __webpack_require__(21); + +// EXTERNAL MODULE: ./node_modules/reakit-system/es/SystemContext.js +var SystemContext = __webpack_require__(87); + +// CONCATENATED MODULE: ./node_modules/reakit-system/es/useToken.js + + + +function useToken(token, defaultValue) { + Object(external_this_React_["useDebugValue"])(token); + var context = Object(external_this_React_["useContext"])(SystemContext["a" /* SystemContext */]); + return context[token] != null ? context[token] : defaultValue; +} + + + +// CONCATENATED MODULE: ./node_modules/reakit-system/es/useProps.js + + + + +function useProps(name, options, htmlProps) { + if (options === void 0) { + options = {}; + } + + if (htmlProps === void 0) { + htmlProps = {}; + } + + var hookName = "use" + name + "Props"; + Object(external_this_React_["useDebugValue"])(hookName); + var useHook = useToken(hookName); + + if (useHook) { + return useHook(options, htmlProps); + } + + return htmlProps; +} + + + +// EXTERNAL MODULE: ./node_modules/reakit-system/es/_rollupPluginBabelHelpers-ce04ac6e.js +var _rollupPluginBabelHelpers_ce04ac6e = __webpack_require__(76); + +// CONCATENATED MODULE: ./node_modules/reakit-system/es/useOptions.js + + + + + +function useOptions(name, options, htmlProps) { + if (options === void 0) { + options = {}; + } + + if (htmlProps === void 0) { + htmlProps = {}; + } + + var hookName = "use" + name + "Options"; + Object(external_this_React_["useDebugValue"])(hookName); + var useHook = useToken(hookName); + + if (useHook) { + return Object(_rollupPluginBabelHelpers_ce04ac6e["a" /* _ */])({}, options, {}, useHook(options, htmlProps)); + } + + return options; +} + + + +// CONCATENATED MODULE: ./node_modules/reakit-utils/es/isObject.js +function isObject(arg) { + return typeof arg === "object" && arg != null; +} + + + +// CONCATENATED MODULE: ./node_modules/reakit-utils/es/toArray.js +function toArray(arg) { + if (Array.isArray(arg)) { + return arg; + } + + return typeof arg !== "undefined" ? [arg] : []; +} + + + +// CONCATENATED MODULE: ./node_modules/reakit-system/es/createHook.js +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return createHook; }); + + + + + + + + + +function deepEqual(objA, objB, depth) { + if (depth === void 0) { + depth = 1; + } + + if (objA === objB) return true; + if (!objA || !objB) return false; + var aKeys = Object.keys(objA); + var bKeys = Object.keys(objB); + var length = aKeys.length; + if (bKeys.length !== length) return false; + + for (var _i = 0, _aKeys = aKeys; _i < _aKeys.length; _i++) { + var key = _aKeys[_i]; + + if (objA[key] !== objB[key]) { + if (!depth || !isObject(objA[key]) || !isObject(objB[key]) || !deepEqual(objA[key], objB[key], depth - 1)) { + return false; + } + } + } + + return true; +} + +function createHook(options) { + var composedHooks = toArray(options.compose); + + var __useOptions = function __useOptions(hookOptions, htmlProps) { + // Call the current hook's useOptions first + if (options.useOptions) { + hookOptions = options.useOptions(hookOptions, htmlProps); + } // If there's name, call useOptions from the system context + + + if (options.name) { + hookOptions = useOptions(options.name, hookOptions, htmlProps); + } + + return hookOptions; + }; + + var useHook = function useHook(hookOptions, htmlProps, unstable_ignoreUseOptions) { + if (hookOptions === void 0) { + hookOptions = {}; + } + + if (htmlProps === void 0) { + htmlProps = {}; + } + + if (unstable_ignoreUseOptions === void 0) { + unstable_ignoreUseOptions = false; + } + + // This won't execute when useHook was called from within another useHook + if (!unstable_ignoreUseOptions) { + hookOptions = __useOptions(hookOptions, htmlProps); + } // We're already calling composed useOptions here + // That's why we ignoreUseOptions for composed hooks + + + if (options.compose) { + composedHooks.forEach(function (hook) { + hookOptions = hook.__useOptions(hookOptions, htmlProps); + }); + } // Call the current hook's useProps + + + if (options.useProps) { + htmlProps = options.useProps(hookOptions, htmlProps); + } // If there's name, call useProps from the system context + + + if (options.name) { + htmlProps = useProps(options.name, hookOptions, htmlProps); + } + + if (options.compose) { + if (options.useComposeOptions) { + hookOptions = options.useComposeOptions(hookOptions, htmlProps); + } + + composedHooks.forEach(function (hook) { + // @ts-ignore The third option is only used internally + htmlProps = hook(hookOptions, htmlProps, true); + }); + } + + return htmlProps; + }; + + if (false) {} + + useHook.__useOptions = __useOptions; // It's used by createComponent to split option props (keys) and html props + + useHook.__keys = [].concat(composedHooks.reduce(function (allKeys, hook) { + allKeys.push.apply(allKeys, hook.__keys || []); + return allKeys; + }, []), options.useState ? options.useState.__keys : [], options.keys || []); + var hasPropsAreEqual = Boolean(options.propsAreEqual || composedHooks.find(function (hook) { + return Boolean(hook.__propsAreEqual); + })); + + if (hasPropsAreEqual) { + useHook.__propsAreEqual = function (prev, next) { + var result = options.propsAreEqual && options.propsAreEqual(prev, next); + + if (result != null) { + return result; + } + + for (var _iterator = composedHooks, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) { + var _ref; + + if (_isArray) { + if (_i >= _iterator.length) break; + _ref = _iterator[_i++]; + } else { + _i = _iterator.next(); + if (_i.done) break; + _ref = _i.value; + } + + var hook = _ref; + var propsAreEqual = hook.__propsAreEqual; + var hookResult = propsAreEqual && propsAreEqual(prev, next); + + if (hookResult != null) { + return hookResult; + } + } + + return deepEqual(prev, next); + }; + } + + return useHook; +} + + + + +/***/ }), +/* 61 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXTERNAL MODULE: external {"this":"React"} +var external_this_React_ = __webpack_require__(21); + +// EXTERNAL MODULE: ./node_modules/reakit-system/es/_rollupPluginBabelHelpers-ce04ac6e.js +var _rollupPluginBabelHelpers_ce04ac6e = __webpack_require__(76); + +// EXTERNAL MODULE: ./node_modules/reakit-system/es/useCreateElement.js +var useCreateElement = __webpack_require__(142); + +// CONCATENATED MODULE: ./node_modules/reakit-utils/es/splitProps.js +function splitProps(props, keys) { + var propsKeys = Object.keys(props); + var picked = {}; + var omitted = {}; + + for (var _i = 0, _propsKeys = propsKeys; _i < _propsKeys.length; _i++) { + var key = _propsKeys[_i]; + + if (keys.indexOf(key) >= 0) { + picked[key] = props[key]; + } else { + omitted[key] = props[key]; + } + } + + return [picked, omitted]; +} + + + +// CONCATENATED MODULE: ./node_modules/reakit-system/es/createComponent.js +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return createComponent; }); + + + + + + +function memo(component, propsAreEqual) { + return Object(external_this_React_["memo"])(component, propsAreEqual); +} + +function forwardRef(component) { + return Object(external_this_React_["forwardRef"])(component); +} + +function createComponent(_ref) { + var type = _ref.as, + useHook = _ref.useHook, + _ref$keys = _ref.keys, + keys = _ref$keys === void 0 ? useHook && useHook.__keys || [] : _ref$keys, + _ref$propsAreEqual = _ref.propsAreEqual, + propsAreEqual = _ref$propsAreEqual === void 0 ? useHook && useHook.__propsAreEqual : _ref$propsAreEqual, + _ref$useCreateElement = _ref.useCreateElement, + useCreateElement$1 = _ref$useCreateElement === void 0 ? useCreateElement["a" /* useCreateElement */] : _ref$useCreateElement; + + var Comp = function Comp(_ref2, ref) { + var _ref2$as = _ref2.as, + as = _ref2$as === void 0 ? type : _ref2$as, + props = Object(_rollupPluginBabelHelpers_ce04ac6e["b" /* a */])(_ref2, ["as"]); + + if (useHook) { + var _splitProps = splitProps(props, keys), + _options = _splitProps[0], + htmlProps = _splitProps[1]; + + var _useHook = useHook(_options, Object(_rollupPluginBabelHelpers_ce04ac6e["a" /* _ */])({ + ref: ref + }, htmlProps)), + unstable_wrap = _useHook.unstable_wrap, + elementProps = Object(_rollupPluginBabelHelpers_ce04ac6e["b" /* a */])(_useHook, ["unstable_wrap"]); // @ts-ignore + + + var asKeys = as.render ? as.render.__keys : as.__keys; + var asOptions = asKeys ? splitProps(props, asKeys)[0] : {}; + var element = useCreateElement$1(as, Object(_rollupPluginBabelHelpers_ce04ac6e["a" /* _ */])({}, elementProps, {}, asOptions)); + + if (unstable_wrap) { + return unstable_wrap(element); + } + + return element; + } + + return useCreateElement$1(as, props); + }; + + Comp.__keys = keys; + + if (false) {} + + return memo(forwardRef(Comp), propsAreEqual); +} + + + + +/***/ }), +/* 62 */, +/* 63 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -2434,7 +3007,7 @@ var _createClass = function () { function defineProperties(target, props) { for exports.withStyles = withStyles; -var _object = __webpack_require__(52); +var _object = __webpack_require__(55); var _object2 = _interopRequireDefault(_object); @@ -2442,21 +3015,21 @@ var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(28); +var _propTypes = __webpack_require__(25); var _propTypes2 = _interopRequireDefault(_propTypes); -var _hoistNonReactStatics = __webpack_require__(288); +var _hoistNonReactStatics = __webpack_require__(338); var _hoistNonReactStatics2 = _interopRequireDefault(_hoistNonReactStatics); -var _constants = __webpack_require__(291); +var _constants = __webpack_require__(341); -var _brcast = __webpack_require__(292); +var _brcast = __webpack_require__(342); var _brcast2 = _interopRequireDefault(_brcast); -var _ThemedStyleSheet = __webpack_require__(165); +var _ThemedStyleSheet = __webpack_require__(203); var _ThemedStyleSheet2 = _interopRequireDefault(_ThemedStyleSheet); @@ -2671,16 +3244,120 @@ function withStyles(styleFn) { } /***/ }), -/* 59 */ +/* 64 */ /***/ (function(module, exports) { (function() { module.exports = this["ReactDOM"]; }()); /***/ }), -/* 60 */, -/* 61 */, -/* 62 */, -/* 63 */ +/* 65 */, +/* 66 */, +/* 67 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useSealedState; }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(21); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); + + +function useSealedState(initialState) { + var _React$useState = Object(react__WEBPACK_IMPORTED_MODULE_0__["useState"])(initialState), + sealed = _React$useState[0]; + + return sealed; +} + + + + +/***/ }), +/* 68 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return unstable_IdContext; }); +/* unused harmony export unstable_IdProvider */ +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(21); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); + + +var defaultPrefix = "id"; +function generateRandomString(prefix) { + if (prefix === void 0) { + prefix = defaultPrefix; + } + + return "" + (prefix ? prefix + "-" : "") + Math.random().toString(32).substr(2, 6); +} + +var unstable_IdContext = Object(react__WEBPACK_IMPORTED_MODULE_0__["createContext"])(generateRandomString); +function unstable_IdProvider(_ref) { + var children = _ref.children, + _ref$prefix = _ref.prefix, + prefix = _ref$prefix === void 0 ? defaultPrefix : _ref$prefix; + var count = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(0); + var generateId = Object(react__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(function (localPrefix) { + if (localPrefix === void 0) { + localPrefix = prefix; + } + + return "" + (localPrefix ? localPrefix + "-" : "") + ++count.current; + }, []); + return Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(unstable_IdContext.Provider, { + value: generateId + }, children); +} + + + + +/***/ }), +/* 69 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return unstable_useIdState; }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(21); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _IdProvider_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(68); +/* harmony import */ var reakit_utils_useSealedState__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67); + + + + +function unstable_useIdState(initialState) { + if (initialState === void 0) { + initialState = {}; + } + + var _useSealedState = Object(reakit_utils_useSealedState__WEBPACK_IMPORTED_MODULE_2__[/* useSealedState */ "a"])(initialState), + initialBaseId = _useSealedState.baseId; + + var generateId = Object(react__WEBPACK_IMPORTED_MODULE_0__["useContext"])(_IdProvider_js__WEBPACK_IMPORTED_MODULE_1__[/* unstable_IdContext */ "a"]); + var idCountRef = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(0); + + var _React$useState = Object(react__WEBPACK_IMPORTED_MODULE_0__["useState"])(function () { + return initialBaseId || generateId(); + }), + baseId = _React$useState[0], + setBaseId = _React$useState[1]; + + return { + baseId: baseId, + unstable_setBaseId: setBaseId, + unstable_idCountRef: idCountRef + }; +} +var keys = ["baseId", "unstable_setBaseId", "unstable_idCountRef"]; +unstable_useIdState.__keys = keys; + + + + +/***/ }), +/* 70 */, +/* 71 */ /***/ (function(module, exports) { var g; @@ -2706,8 +3383,35 @@ module.exports = g; /***/ }), -/* 64 */, -/* 65 */ +/* 72 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var bind = __webpack_require__(93); + +module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty); + + +/***/ }), +/* 73 */, +/* 74 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__); +/** + * WordPress dependencies + */ + +var ToolbarContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createContext"])(); +/* harmony default export */ __webpack_exports__["a"] = (ToolbarContext); + + +/***/ }), +/* 75 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -2717,12 +3421,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__(118)); -var _objectWithoutPropertiesLoose = _interopDefault(__webpack_require__(119)); +var _extends = _interopDefault(__webpack_require__(150)); +var _objectWithoutPropertiesLoose = _interopDefault(__webpack_require__(151)); var React = __webpack_require__(21); var React__default = _interopDefault(React); -var _inheritsLoose = _interopDefault(__webpack_require__(96)); -var _assertThisInitialized = _interopDefault(__webpack_require__(120)); +var _inheritsLoose = _interopDefault(__webpack_require__(121)); +var _assertThisInitialized = _interopDefault(__webpack_require__(152)); var is = { arr: Array.isArray, @@ -5037,13 +5741,87 @@ exports.useSprings = useSprings; /***/ }), -/* 66 */ +/* 76 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread2; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return _objectWithoutPropertiesLoose; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} + +function ownKeys(object, enumerableOnly) { + var keys = Object.keys(object); + + if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(object); + if (enumerableOnly) symbols = symbols.filter(function (sym) { + return Object.getOwnPropertyDescriptor(object, sym).enumerable; + }); + keys.push.apply(keys, symbols); + } + + return keys; +} + +function _objectSpread2(target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i] != null ? arguments[i] : {}; + + if (i % 2) { + ownKeys(Object(source), true).forEach(function (key) { + _defineProperty(target, key, source[key]); + }); + } else if (Object.getOwnPropertyDescriptors) { + Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); + } else { + ownKeys(Object(source)).forEach(function (key) { + Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); + }); + } + } + + return target; +} + +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + return target; +} + + + + +/***/ }), +/* 77 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var keys = __webpack_require__(127); +var keys = __webpack_require__(159); var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol'; var toStr = Object.prototype.toString; @@ -5102,12 +5880,31 @@ module.exports = defineProperties; /***/ }), -/* 67 */ +/* 78 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var ES5Type = __webpack_require__(295); + +// https://www.ecma-international.org/ecma-262/6.0/#sec-tostring + +module.exports = function Type(x) { + if (typeof x === 'symbol') { + return 'Symbol'; + } + return ES5Type(x); +}; + + +/***/ }), +/* 79 */ /***/ (function(module, exports, __webpack_require__) { var moment = __webpack_require__(30); -var momentValidationWrapper = __webpack_require__(285); -var core = __webpack_require__(286); +var momentValidationWrapper = __webpack_require__(335); +var core = __webpack_require__(336); module.exports = { @@ -5148,11 +5945,35 @@ module.exports = { /***/ }), -/* 68 */ +/* 80 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* unused harmony export Box */ +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useBox; }); +/* harmony import */ var reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(61); +/* harmony import */ var reakit_system_createHook__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(60); + + + +var useBox = Object(reakit_system_createHook__WEBPACK_IMPORTED_MODULE_1__[/* createHook */ "a"])({ + name: "Box", + keys: ["unstable_system"] +}); +var Box = Object(reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_0__[/* createComponent */ "a"])({ + as: "div", + useHook: useBox +}); + + + + +/***/ }), +/* 81 */ /***/ (function(module, exports, __webpack_require__) { -var rng = __webpack_require__(87); -var bytesToUuid = __webpack_require__(88); +var rng = __webpack_require__(111); +var bytesToUuid = __webpack_require__(112); function v4(options, buf, offset) { var i = buf && offset || 0; @@ -5183,63 +6004,2703 @@ module.exports = v4; /***/ }), -/* 69 */ +/* 82 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -module.exports = __webpack_require__(112); +module.exports = __webpack_require__(144); /***/ }), -/* 70 */, -/* 71 */, -/* 72 */, -/* 73 */, -/* 74 */ +/* 83 */, +/* 84 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5); +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(11); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(19); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(18); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var _dashicon__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(85); + + + + +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + +/** + * WordPress dependencies + */ + + +/** + * Internal dependencies + */ + + + +function Icon(_ref) { + var _ref$icon = _ref.icon, + icon = _ref$icon === void 0 ? null : _ref$icon, + size = _ref.size, + additionalProps = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(_ref, ["icon", "size"]); + + // Dashicons should be 20x20 by default. + var dashiconSize = size || 20; + + if ('string' === typeof icon) { + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["createElement"])(_dashicon__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])({ + icon: icon, + size: dashiconSize + }, additionalProps)); + } + + if (icon && _dashicon__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"] === icon.type) { + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["cloneElement"])(icon, _objectSpread({ + size: dashiconSize + }, additionalProps)); + } // Icons should be 24x24 by default. + + + var iconSize = size || 24; + + if ('function' === typeof icon) { + if (icon.prototype instanceof _wordpress_element__WEBPACK_IMPORTED_MODULE_3__["Component"]) { + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["createElement"])(icon, _objectSpread({ + size: iconSize + }, additionalProps)); + } + + return icon(_objectSpread({ + size: iconSize + }, additionalProps)); + } + + if (icon && (icon.type === 'svg' || icon.type === _wordpress_primitives__WEBPACK_IMPORTED_MODULE_4__["SVG"])) { + var appliedProps = _objectSpread({ + width: iconSize, + height: iconSize + }, icon.props, {}, additionalProps); + + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_4__["SVG"], appliedProps); + } + + if (Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["isValidElement"])(icon)) { + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["cloneElement"])(icon, _objectSpread({ + size: iconSize + }, additionalProps)); + } + + return icon; +} + +/* harmony default export */ __webpack_exports__["a"] = (Icon); + + +/***/ }), +/* 85 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Dashicon; }); +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(11); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(19); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(13); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(12); +/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(14); +/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(15); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(16); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(18); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_8__); + + + + + + + + + +/* !!! +IF YOU ARE EDITING dashicon/index.jsx +THEN YOU ARE EDITING A FILE THAT GETS OUTPUT FROM THE DASHICONS REPO! +DO NOT EDIT THAT FILE! EDIT index-header.jsx and index-footer.jsx instead +OR if you're looking to change now SVGs get output, you'll need to edit strings in the Gruntfile :) +!!! */ + +/** + * WordPress dependencies + */ + + + +var Dashicon = +/*#__PURE__*/ +function (_Component) { + Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(Dashicon, _Component); + + function Dashicon() { + Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, Dashicon); + + return Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(Dashicon).apply(this, arguments)); + } + + Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(Dashicon, [{ + key: "render", + value: function render() { + var _this$props = this.props, + icon = _this$props.icon, + _this$props$size = _this$props.size, + size = _this$props$size === void 0 ? 20 : _this$props$size, + className = _this$props.className, + extraProps = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_this$props, ["icon", "size", "className"]); + + var path; + + switch (icon) { + case 'admin-appearance': + path = 'M14.48 11.06L7.41 3.99l1.5-1.5c.5-.56 2.3-.47 3.51.32 1.21.8 1.43 1.28 2.91 2.1 1.18.64 2.45 1.26 4.45.85zm-.71.71L6.7 4.7 4.93 6.47c-.39.39-.39 1.02 0 1.41l1.06 1.06c.39.39.39 1.03 0 1.42-.6.6-1.43 1.11-2.21 1.69-.35.26-.7.53-1.01.84C1.43 14.23.4 16.08 1.4 17.07c.99 1 2.84-.03 4.18-1.36.31-.31.58-.66.85-1.02.57-.78 1.08-1.61 1.69-2.21.39-.39 1.02-.39 1.41 0l1.06 1.06c.39.39 1.02.39 1.41 0z'; + break; + + case 'admin-collapse': + path = 'M10 2.16c4.33 0 7.84 3.51 7.84 7.84s-3.51 7.84-7.84 7.84S2.16 14.33 2.16 10 5.71 2.16 10 2.16zm2 11.72V6.12L6.18 9.97z'; + break; + + case 'admin-comments': + path = 'M5 2h9c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2z'; + break; + + case 'admin-customizer': + path = 'M18.33 3.57s.27-.8-.31-1.36c-.53-.52-1.22-.24-1.22-.24-.61.3-5.76 3.47-7.67 5.57-.86.96-2.06 3.79-1.09 4.82.92.98 3.96-.17 4.79-1 2.06-2.06 5.21-7.17 5.5-7.79zM1.4 17.65c2.37-1.56 1.46-3.41 3.23-4.64.93-.65 2.22-.62 3.08.29.63.67.8 2.57-.16 3.46-1.57 1.45-4 1.55-6.15.89z'; + break; + + case 'admin-generic': + path = 'M18 12h-2.18c-.17.7-.44 1.35-.81 1.93l1.54 1.54-2.1 2.1-1.54-1.54c-.58.36-1.23.63-1.91.79V19H8v-2.18c-.68-.16-1.33-.43-1.91-.79l-1.54 1.54-2.12-2.12 1.54-1.54c-.36-.58-.63-1.23-.79-1.91H1V9.03h2.17c.16-.7.44-1.35.8-1.94L2.43 5.55l2.1-2.1 1.54 1.54c.58-.37 1.24-.64 1.93-.81V2h3v2.18c.68.16 1.33.43 1.91.79l1.54-1.54 2.12 2.12-1.54 1.54c.36.59.64 1.24.8 1.94H18V12zm-8.5 1.5c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3z'; + break; + + case 'admin-home': + path = 'M16 8.5l1.53 1.53-1.06 1.06L10 4.62l-6.47 6.47-1.06-1.06L10 2.5l4 4v-2h2v4zm-6-2.46l6 5.99V18H4v-5.97zM12 17v-5H8v5h4z'; + break; + + case 'admin-links': + path = 'M17.74 2.76c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-1.12 1.12-2.7 1.47-4.14 1.09l2.62-2.61.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-3.38 3.38c-.37-1.44-.02-3.02 1.1-4.14l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM8.59 13.43l5.34-5.34c.42-.42.42-1.1 0-1.52-.44-.43-1.13-.39-1.53 0l-5.33 5.34c-.42.42-.42 1.1 0 1.52.44.43 1.13.39 1.52 0zm-.76 2.29l4.14-4.15c.38 1.44.03 3.02-1.09 4.14l-1.52 1.53c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.53-1.52c1.12-1.12 2.7-1.47 4.14-1.1l-4.14 4.15c-.85.84-.85 2.2 0 3.05.84.84 2.2.84 3.04 0z'; + break; + + case 'admin-media': + path = 'M13 11V4c0-.55-.45-1-1-1h-1.67L9 1H5L3.67 3H2c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h10c.55 0 1-.45 1-1zM7 4.5c1.38 0 2.5 1.12 2.5 2.5S8.38 9.5 7 9.5 4.5 8.38 4.5 7 5.62 4.5 7 4.5zM14 6h5v10.5c0 1.38-1.12 2.5-2.5 2.5S14 17.88 14 16.5s1.12-2.5 2.5-2.5c.17 0 .34.02.5.05V9h-3V6zm-4 8.05V13h2v3.5c0 1.38-1.12 2.5-2.5 2.5S7 17.88 7 16.5 8.12 14 9.5 14c.17 0 .34.02.5.05z'; + break; + + case 'admin-multisite': + path = 'M14.27 6.87L10 3.14 5.73 6.87 5 6.14l5-4.38 5 4.38zM14 8.42l-4.05 3.43L6 8.38v-.74l4-3.5 4 3.5v.78zM11 9.7V8H9v1.7h2zm-1.73 4.03L5 10 .73 13.73 0 13l5-4.38L10 13zm10 0L15 10l-4.27 3.73L10 13l5-4.38L20 13zM5 11l4 3.5V18H1v-3.5zm10 0l4 3.5V18h-8v-3.5zm-9 6v-2H4v2h2zm10 0v-2h-2v2h2z'; + break; + + case 'admin-network': + path = 'M16.95 2.58c1.96 1.95 1.96 5.12 0 7.07-1.51 1.51-3.75 1.84-5.59 1.01l-1.87 3.31-2.99.31L5 18H2l-1-2 7.95-7.69c-.92-1.87-.62-4.18.93-5.73 1.95-1.96 5.12-1.96 7.07 0zm-2.51 3.79c.74 0 1.33-.6 1.33-1.34 0-.73-.59-1.33-1.33-1.33-.73 0-1.33.6-1.33 1.33 0 .74.6 1.34 1.33 1.34z'; + break; + + case 'admin-page': + path = 'M6 15V2h10v13H6zm-1 1h8v2H3V5h2v11z'; + break; + + case 'admin-plugins': + path = 'M13.11 4.36L9.87 7.6 8 5.73l3.24-3.24c.35-.34 1.05-.2 1.56.32.52.51.66 1.21.31 1.55zm-8 1.77l.91-1.12 9.01 9.01-1.19.84c-.71.71-2.63 1.16-3.82 1.16H6.14L4.9 17.26c-.59.59-1.54.59-2.12 0-.59-.58-.59-1.53 0-2.12l1.24-1.24v-3.88c0-1.13.4-3.19 1.09-3.89zm7.26 3.97l3.24-3.24c.34-.35 1.04-.21 1.55.31.52.51.66 1.21.31 1.55l-3.24 3.25z'; + break; + + case 'admin-post': + path = 'M10.44 3.02l1.82-1.82 6.36 6.35-1.83 1.82c-1.05-.68-2.48-.57-3.41.36l-.75.75c-.92.93-1.04 2.35-.35 3.41l-1.83 1.82-2.41-2.41-2.8 2.79c-.42.42-3.38 2.71-3.8 2.29s1.86-3.39 2.28-3.81l2.79-2.79L4.1 9.36l1.83-1.82c1.05.69 2.48.57 3.4-.36l.75-.75c.93-.92 1.05-2.35.36-3.41z'; + break; + + case 'admin-settings': + path = 'M18 16V4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h13c.55 0 1-.45 1-1zM8 11h1c.55 0 1 .45 1 1s-.45 1-1 1H8v1.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V13H6c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V11zm5-2h-1c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V7h1c.55 0 1 .45 1 1s-.45 1-1 1h-1v5.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V9z'; + break; + + case 'admin-site-alt': + path = 'M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm7.5 6.48c-.274.896-.908 1.64-1.75 2.05-.45-1.69-1.658-3.074-3.27-3.75.13-.444.41-.83.79-1.09-.43-.28-1-.42-1.34.07-.53.69 0 1.61.21 2v.14c-.555-.337-.99-.84-1.24-1.44-.966-.03-1.922.208-2.76.69-.087-.565-.032-1.142.16-1.68.733.07 1.453-.23 1.92-.8.46-.52-.13-1.18-.59-1.58h.36c1.36-.01 2.702.335 3.89 1 1.36 1.005 2.194 2.57 2.27 4.26.24 0 .7-.55.91-.92.172.34.32.69.44 1.05zM9 16.84c-2.05-2.08.25-3.75-1-5.24-.92-.85-2.29-.26-3.11-1.23-.282-1.473.267-2.982 1.43-3.93.52-.44 4-1 5.42.22.83.715 1.415 1.674 1.67 2.74.46.035.918-.066 1.32-.29.41 2.98-3.15 6.74-5.73 7.73zM5.15 2.09c.786-.3 1.676-.028 2.16.66-.42.38-.94.63-1.5.72.02-.294.085-.584.19-.86l-.85-.52z'; + break; + + case 'admin-site-alt2': + path = 'M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm2.92 12.34c0 .35.14.63.36.66.22.03.47-.22.58-.6l.2.08c.718.384 1.07 1.22.84 2-.15.69-.743 1.198-1.45 1.24-.49-1.21-2.11.06-3.56-.22-.612-.154-1.11-.6-1.33-1.19 1.19-.11 2.85-1.73 4.36-1.97zM8 11.27c.918 0 1.695-.68 1.82-1.59.44.54.41 1.324-.07 1.83-.255.223-.594.325-.93.28-.335-.047-.635-.236-.82-.52zm3-.76c.41.39 3-.06 3.52 1.09-.95-.2-2.95.61-3.47-1.08l-.05-.01zM9.73 5.45v.27c-.65-.77-1.33-1.07-1.61-.57-.28.5 1 1.11.76 1.88-.24.77-1.27.56-1.88 1.61-.61 1.05-.49 2.42 1.24 3.67-1.192-.132-2.19-.962-2.54-2.11-.4-1.2-.09-2.26-.78-2.46C4 7.46 3 8.71 3 9.8c-1.26-1.26.05-2.86-1.2-4.18C3.5 1.998 7.644.223 11.44 1.49c-1.1 1.02-1.722 2.458-1.71 3.96z'; + break; + + case 'admin-site-alt3': + path = 'M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zM1.11 9.68h2.51c.04.91.167 1.814.38 2.7H1.84c-.403-.85-.65-1.764-.73-2.7zm8.57-5.4V1.19c.964.366 1.756 1.08 2.22 2 .205.347.386.708.54 1.08l-2.76.01zm3.22 1.35c.232.883.37 1.788.41 2.7H9.68v-2.7h3.22zM8.32 1.19v3.09H5.56c.154-.372.335-.733.54-1.08.462-.924 1.255-1.64 2.22-2.01zm0 4.44v2.7H4.7c.04-.912.178-1.817.41-2.7h3.21zm-4.7 2.69H1.11c.08-.936.327-1.85.73-2.7H4c-.213.886-.34 1.79-.38 2.7zM4.7 9.68h3.62v2.7H5.11c-.232-.883-.37-1.788-.41-2.7zm3.63 4v3.09c-.964-.366-1.756-1.08-2.22-2-.205-.347-.386-.708-.54-1.08l2.76-.01zm1.35 3.09v-3.04h2.76c-.154.372-.335.733-.54 1.08-.464.92-1.256 1.634-2.22 2v-.04zm0-4.44v-2.7h3.62c-.04.912-.178 1.817-.41 2.7H9.68zm4.71-2.7h2.51c-.08.936-.327 1.85-.73 2.7H14c.21-.87.337-1.757.38-2.65l.01-.05zm0-1.35c-.046-.894-.176-1.78-.39-2.65h2.16c.403.85.65 1.764.73 2.7l-2.5-.05zm1-4H13.6c-.324-.91-.793-1.76-1.39-2.52 1.244.56 2.325 1.426 3.14 2.52h.04zm-9.6-2.52c-.597.76-1.066 1.61-1.39 2.52H2.65c.815-1.094 1.896-1.96 3.14-2.52zm-3.15 12H4.4c.324.91.793 1.76 1.39 2.52-1.248-.567-2.33-1.445-3.14-2.55l-.01.03zm9.56 2.52c.597-.76 1.066-1.61 1.39-2.52h1.76c-.82 1.08-1.9 1.933-3.14 2.48l-.01.04z'; + break; + + case 'admin-site': + path = 'M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm3.46 11.95c0 1.47-.8 3.3-4.06 4.7.3-4.17-2.52-3.69-3.2-5 .126-1.1.804-2.063 1.8-2.55-1.552-.266-3-.96-4.18-2 .05.47.28.904.64 1.21-.782-.295-1.458-.817-1.94-1.5.977-3.225 3.883-5.482 7.25-5.63-.84 1.38-1.5 4.13 0 5.57C7.23 7 6.26 5 5.41 5.79c-1.13 1.06.33 2.51 3.42 3.08 3.29.59 3.66 1.58 3.63 3.08zm1.34-4c-.32-1.11.62-2.23 1.69-3.14 1.356 1.955 1.67 4.45.84 6.68-.77-1.89-2.17-2.32-2.53-3.57v.03z'; + break; + + case 'admin-tools': + path = 'M16.68 9.77c-1.34 1.34-3.3 1.67-4.95.99l-5.41 6.52c-.99.99-2.59.99-3.58 0s-.99-2.59 0-3.57l6.52-5.42c-.68-1.65-.35-3.61.99-4.95 1.28-1.28 3.12-1.62 4.72-1.06l-2.89 2.89 2.82 2.82 2.86-2.87c.53 1.58.18 3.39-1.08 4.65zM3.81 16.21c.4.39 1.04.39 1.43 0 .4-.4.4-1.04 0-1.43-.39-.4-1.03-.4-1.43 0-.39.39-.39 1.03 0 1.43z'; + break; + + case 'admin-users': + path = 'M10 9.25c-2.27 0-2.73-3.44-2.73-3.44C7 4.02 7.82 2 9.97 2c2.16 0 2.98 2.02 2.71 3.81 0 0-.41 3.44-2.68 3.44zm0 2.57L12.72 10c2.39 0 4.52 2.33 4.52 4.53v2.49s-3.65 1.13-7.24 1.13c-3.65 0-7.24-1.13-7.24-1.13v-2.49c0-2.25 1.94-4.48 4.47-4.48z'; + break; + + case 'album': + path = 'M0 18h10v-.26c1.52.4 3.17.35 4.76-.24 4.14-1.52 6.27-6.12 4.75-10.26-1.43-3.89-5.58-6-9.51-4.98V2H0v16zM9 3v14H1V3h8zm5.45 8.22c-.68 1.35-2.32 1.9-3.67 1.23-.31-.15-.57-.35-.78-.59V8.13c.8-.86 2.11-1.13 3.22-.58 1.35.68 1.9 2.32 1.23 3.67zm-2.75-.82c.22.16.53.12.7-.1.16-.22.12-.53-.1-.7s-.53-.12-.7.1c-.16.21-.12.53.1.7zm3.01 3.67c-1.17.78-2.56.99-3.83.69-.27-.06-.44-.34-.37-.61s.34-.43.62-.36l.17.04c.96.17 1.98-.01 2.86-.59.47-.32.86-.72 1.14-1.18.15-.23.45-.3.69-.16.23.15.3.46.16.69-.36.57-.84 1.08-1.44 1.48zm1.05 1.57c-1.48.99-3.21 1.32-4.84 1.06-.28-.05-.47-.32-.41-.6.05-.27.32-.45.61-.39l.22.04c1.31.15 2.68-.14 3.87-.94.71-.47 1.27-1.07 1.7-1.74.14-.24.45-.31.68-.16.24.14.31.45.16.69-.49.79-1.16 1.49-1.99 2.04z'; + break; + + case 'align-center': + path = 'M3 5h14V3H3v2zm12 8V7H5v6h10zM3 17h14v-2H3v2z'; + break; + + case 'align-full-width': + path = 'M17 13V3H3v10h14zM5 17h10v-2H5v2z'; + break; + + case 'align-left': + path = 'M3 5h14V3H3v2zm9 8V7H3v6h9zm2-4h3V7h-3v2zm0 4h3v-2h-3v2zM3 17h14v-2H3v2z'; + break; + + case 'align-none': + path = 'M3 5h14V3H3v2zm10 8V7H3v6h10zM3 17h14v-2H3v2z'; + break; + + case 'align-pull-left': + path = 'M9 16V4H3v12h6zm2-7h6V7h-6v2zm0 4h6v-2h-6v2z'; + break; + + case 'align-pull-right': + path = 'M17 16V4h-6v12h6zM9 7H3v2h6V7zm0 4H3v2h6v-2z'; + break; + + case 'align-right': + path = 'M3 5h14V3H3v2zm0 4h3V7H3v2zm14 4V7H8v6h9zM3 13h3v-2H3v2zm0 4h14v-2H3v2z'; + break; + + case 'align-wide': + path = 'M5 5h10V3H5v2zm12 8V7H3v6h14zM5 17h10v-2H5v2z'; + break; + + case 'analytics': + path = 'M18 18V2H2v16h16zM16 5H4V4h12v1zM7 7v3h3c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3zm1 2V7c1.1 0 2 .9 2 2H8zm8-1h-4V7h4v1zm0 3h-4V9h4v2zm0 2h-4v-1h4v1zm0 3H4v-1h12v1z'; + break; + + case 'archive': + path = 'M19 4v2H1V4h18zM2 7h16v10H2V7zm11 3V9H7v1h6z'; + break; + + case 'arrow-down-alt': + path = 'M9 2h2v12l4-4 2 1-7 7-7-7 2-1 4 4V2z'; + break; + + case 'arrow-down-alt2': + path = 'M5 6l5 5 5-5 2 1-7 7-7-7z'; + break; + + case 'arrow-down': + path = 'M15 8l-4.03 6L7 8h8z'; + break; + + case 'arrow-left-alt': + path = 'M18 9v2H6l4 4-1 2-7-7 7-7 1 2-4 4h12z'; + break; + + case 'arrow-left-alt2': + path = 'M14 5l-5 5 5 5-1 2-7-7 7-7z'; + break; + + case 'arrow-left': + path = 'M13 14L7 9.97 13 6v8z'; + break; + + case 'arrow-right-alt': + path = 'M2 11V9h12l-4-4 1-2 7 7-7 7-1-2 4-4H2z'; + break; + + case 'arrow-right-alt2': + path = 'M6 15l5-5-5-5 1-2 7 7-7 7z'; + break; + + case 'arrow-right': + path = 'M8 6l6 4.03L8 14V6z'; + break; + + case 'arrow-up-alt': + path = 'M11 18H9V6l-4 4-2-1 7-7 7 7-2 1-4-4v12z'; + break; + + case 'arrow-up-alt2': + path = 'M15 14l-5-5-5 5-2-1 7-7 7 7z'; + break; + + case 'arrow-up': + path = 'M7 13l4.03-6L15 13H7z'; + break; + + case 'art': + path = 'M8.55 3.06c1.01.34-1.95 2.01-.1 3.13 1.04.63 3.31-2.22 4.45-2.86.97-.54 2.67-.65 3.53 1.23 1.09 2.38.14 8.57-3.79 11.06-3.97 2.5-8.97 1.23-10.7-2.66-2.01-4.53 3.12-11.09 6.61-9.9zm1.21 6.45c.73 1.64 4.7-.5 3.79-2.8-.59-1.49-4.48 1.25-3.79 2.8z'; + break; + + case 'awards': + path = 'M4.46 5.16L5 7.46l-.54 2.29 2.01 1.24L7.7 13l2.3-.54 2.3.54 1.23-2.01 2.01-1.24L15 7.46l.54-2.3-2-1.24-1.24-2.01-2.3.55-2.29-.54-1.25 2zm5.55 6.34C7.79 11.5 6 9.71 6 7.49c0-2.2 1.79-3.99 4.01-3.99 2.2 0 3.99 1.79 3.99 3.99 0 2.22-1.79 4.01-3.99 4.01zm-.02-1C8.33 10.5 7 9.16 7 7.5c0-1.65 1.33-3 2.99-3S13 5.85 13 7.5c0 1.66-1.35 3-3.01 3zm3.84 1.1l-1.28 2.24-2.08-.47L13 19.2l1.4-2.2h2.5zm-7.7.07l1.25 2.25 2.13-.51L7 19.2 5.6 17H3.1z'; + break; + + case 'backup': + path = 'M13.65 2.88c3.93 2.01 5.48 6.84 3.47 10.77s-6.83 5.48-10.77 3.47c-1.87-.96-3.2-2.56-3.86-4.4l1.64-1.03c.45 1.57 1.52 2.95 3.08 3.76 3.01 1.54 6.69.35 8.23-2.66 1.55-3.01.36-6.69-2.65-8.24C9.78 3.01 6.1 4.2 4.56 7.21l1.88.97-4.95 3.08-.39-5.82 1.78.91C4.9 2.4 9.75.89 13.65 2.88zm-4.36 7.83C9.11 10.53 9 10.28 9 10c0-.07.03-.12.04-.19h-.01L10 5l.97 4.81L14 13l-4.5-2.12.02-.02c-.08-.04-.16-.09-.23-.15z'; + break; + + case 'block-default': + path = 'M15 6V4h-3v2H8V4H5v2H4c-.6 0-1 .4-1 1v8h14V7c0-.6-.4-1-1-1h-1z'; + break; + + case 'book-alt': + path = 'M5 17h13v2H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h13v14H5c-.55 0-1 .45-1 1s.45 1 1 1zm2-3.5v-11c0-.28-.22-.5-.5-.5s-.5.22-.5.5v11c0 .28.22.5.5.5s.5-.22.5-.5z'; + break; + + case 'book': + path = 'M16 3h2v16H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h9v14H5c-.55 0-1 .45-1 1s.45 1 1 1h11V3z'; + break; + + case 'buddicons-activity': + path = 'M8 1v7h2V6c0-1.52 1.45-3 3-3v.86c.55-.52 1.26-.86 2-.86v3h1c1.1 0 2 .9 2 2s-.9 2-2 2h-1v6c0 .55-.45 1-1 1s-1-.45-1-1v-2.18c-.31.11-.65.18-1 .18v2c0 .55-.45 1-1 1s-1-.45-1-1v-2H8v2c0 .55-.45 1-1 1s-1-.45-1-1v-2c-.35 0-.69-.07-1-.18V16c0 .55-.45 1-1 1s-1-.45-1-1v-4H2v-1c0-1.66 1.34-3 3-3h2V1h1zm5 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1z'; + break; + + case 'buddicons-bbpress-logo': + path = 'M8.5 12.6c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.3 1.7c-.3 1 .3 1.5 1 1.5 1.2 0 1.9-1.1 2.2-2.4zm-4-6.4C3.7 7.3 3.3 8.6 3.3 10c0 1 .2 1.9.6 2.8l1-4.6c.3-1.7.4-2-.4-2zm9.3 6.4c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.4 1.7c-.2 1.1.4 1.6 1.1 1.6 1.1-.1 1.9-1.2 2.2-2.5zM10 3.3c-2 0-3.9.9-5.1 2.3.6-.1 1.4-.2 1.8-.3.2 0 .2.1.2.2 0 .2-1 4.8-1 4.8.5-.3 1.2-.7 1.8-.7.9 0 1.5.4 1.9.9l.5-2.4c.4-1.6.4-1.9-.4-1.9-.4 0-.4-.5 0-.6.6-.1 1.8-.2 2.3-.3.2 0 .2.1.2.2l-1 4.8c.5-.4 1.2-.7 1.9-.7 1.7 0 2.5 1.3 2.1 3-.3 1.7-2 3-3.8 3-1.3 0-2.1-.7-2.3-1.4-.7.8-1.7 1.3-2.8 1.4 1.1.7 2.4 1.1 3.7 1.1 3.7 0 6.7-3 6.7-6.7s-3-6.7-6.7-6.7zM10 2c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 15.5c-2.1 0-4-.8-5.3-2.2-.3-.4-.7-.8-1-1.2-.7-1.2-1.2-2.6-1.2-4.1 0-4.1 3.4-7.5 7.5-7.5s7.5 3.4 7.5 7.5-3.4 7.5-7.5 7.5z'; + break; + + case 'buddicons-buddypress-logo': + path = 'M10 0c5.52 0 10 4.48 10 10s-4.48 10-10 10S0 15.52 0 10 4.48 0 10 0zm0 .5C4.75.5.5 4.75.5 10s4.25 9.5 9.5 9.5 9.5-4.25 9.5-9.5S15.25.5 10 .5zm0 1c4.7 0 8.5 3.8 8.5 8.5s-3.8 8.5-8.5 8.5-8.5-3.8-8.5-8.5S5.3 1.5 10 1.5zm1.8 1.71c-.57 0-1.1.17-1.55.45 1.56.37 2.73 1.77 2.73 3.45 0 .69-.21 1.33-.55 1.87 1.31-.29 2.29-1.45 2.29-2.85 0-1.61-1.31-2.92-2.92-2.92zm-2.38 1c-1.61 0-2.92 1.31-2.92 2.93 0 1.61 1.31 2.92 2.92 2.92 1.62 0 2.93-1.31 2.93-2.92 0-1.62-1.31-2.93-2.93-2.93zm4.25 5.01l-.51.59c2.34.69 2.45 3.61 2.45 3.61h1.28c0-4.71-3.22-4.2-3.22-4.2zm-2.1.8l-2.12 2.09-2.12-2.09C3.12 10.24 3.89 15 3.89 15h11.08c.47-4.98-3.4-4.98-3.4-4.98z'; + break; + + case 'buddicons-community': + path = 'M9 3c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zm4 0c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zM9 9V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 0V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 1c0-1.48-1.41-2.77-3.5-3.46V9c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5V6.01c-.17 0-.33-.01-.5-.01s-.33.01-.5.01V9c0 .83-.67 1.5-1.5 1.5S6.5 9.83 6.5 9V6.54C4.41 7.23 3 8.52 3 10c0 1.41.95 2.65 3.21 3.37 1.11.35 2.39 1.12 3.79 1.12s2.69-.78 3.79-1.13C16.04 12.65 17 11.41 17 10zm-7 5.43c1.43 0 2.74-.79 3.88-1.11 1.9-.53 2.49-1.34 3.12-2.32v3c0 2.21-3.13 4-7 4s-7-1.79-7-4v-3c.64.99 1.32 1.8 3.15 2.33 1.13.33 2.44 1.1 3.85 1.1z'; + break; + + case 'buddicons-forums': + path = 'M13.5 7h-7C5.67 7 5 6.33 5 5.5S5.67 4 6.5 4h1.59C8.04 3.84 8 3.68 8 3.5 8 2.67 8.67 2 9.5 2h1c.83 0 1.5.67 1.5 1.5 0 .18-.04.34-.09.5h1.59c.83 0 1.5.67 1.5 1.5S14.33 7 13.5 7zM4 8h12c.55 0 1 .45 1 1s-.45 1-1 1H4c-.55 0-1-.45-1-1s.45-1 1-1zm1 3h10c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1s.45-1 1-1zm2 3h6c.55 0 1 .45 1 1s-.45 1-1 1h-1.09c.05.16.09.32.09.5 0 .83-.67 1.5-1.5 1.5h-1c-.83 0-1.5-.67-1.5-1.5 0-.18.04-.34.09-.5H7c-.55 0-1-.45-1-1s.45-1 1-1z'; + break; + + case 'buddicons-friends': + path = 'M8.75 5.77C8.75 4.39 7 2 7 2S5.25 4.39 5.25 5.77 5.9 7.5 7 7.5s1.75-.35 1.75-1.73zm6 0C14.75 4.39 13 2 13 2s-1.75 2.39-1.75 3.77S11.9 7.5 13 7.5s1.75-.35 1.75-1.73zM9 17V9c0-.55-.45-1-1-1H6c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm6 0V9c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-9-6l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2zm-6 3l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2z'; + break; + + case 'buddicons-groups': + path = 'M15.45 6.25c1.83.94 1.98 3.18.7 4.98-.8 1.12-2.33 1.88-3.46 1.78L10.05 18H9l-2.65-4.99c-1.13.16-2.73-.63-3.55-1.79-1.28-1.8-1.13-4.04.71-4.97.48-.24.96-.33 1.43-.31-.01.4.01.8.07 1.21.26 1.69 1.41 3.53 2.86 4.37-.19.55-.49.99-.88 1.25L9 16.58v-5.66C7.64 10.55 6.26 8.76 6 7c-.4-2.65 1-5 3.5-5s3.9 2.35 3.5 5c-.26 1.76-1.64 3.55-3 3.92v5.77l2.07-3.84c-.44-.23-.77-.71-.99-1.3 1.48-.83 2.65-2.69 2.91-4.4.06-.41.08-.82.07-1.22.46-.01.92.08 1.39.32z'; + break; + + case 'buddicons-pm': + path = 'M10 2c3 0 8 5 8 5v11H2V7s5-5 8-5zm7 14.72l-3.73-2.92L17 11l-.43-.37-2.26 1.3.24-4.31-8.77-.52-.46 4.54-1.99-.95L3 11l3.73 2.8-3.44 2.85.4.43L10 13l6.53 4.15z'; + break; + + case 'buddicons-replies': + path = 'M17.54 10.29c1.17 1.17 1.17 3.08 0 4.25-1.18 1.17-3.08 1.17-4.25 0l-.34-.52c0 3.66-2 4.38-2.95 4.98-.82-.6-2.95-1.28-2.95-4.98l-.34.52c-1.17 1.17-3.07 1.17-4.25 0-1.17-1.17-1.17-3.08 0-4.25 0 0 1.02-.67 2.1-1.3C3.71 7.84 3.2 6.42 3.2 4.88c0-.34.03-.67.08-1C3.53 5.66 4.47 7.22 5.8 8.3c.67-.35 1.85-.83 2.37-.92H8c-1.1 0-2-.9-2-2s.9-2 2-2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5h2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5c1.1 0 2 .9 2 2s-.9 2-2 2h-.17c.51.09 1.78.61 2.38.92 1.33-1.08 2.27-2.64 2.52-4.42.05.33.08.66.08 1 0 1.54-.51 2.96-1.36 4.11 1.08.63 2.09 1.3 2.09 1.3zM8.5 6.38c.5 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm3-2c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-2.3 5.73c-.12.11-.19.26-.19.43.02.25.23.46.49.46h1c.26 0 .47-.21.49-.46 0-.15-.07-.29-.19-.43-.08-.06-.18-.11-.3-.11h-1c-.12 0-.22.05-.3.11zM12 12.5c0-.12-.06-.28-.19-.38-.09-.07-.19-.12-.31-.12h-3c-.12 0-.22.05-.31.12-.11.1-.19.25-.19.38 0 .28.22.5.5.5h3c.28 0 .5-.22.5-.5zM8.5 15h3c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-3c-.28 0-.5.22-.5.5s.22.5.5.5zm1 2h1c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-1c-.28 0-.5.22-.5.5s.22.5.5.5z'; + break; + + case 'buddicons-topics': + path = 'M10.44 1.66c-.59-.58-1.54-.58-2.12 0L2.66 7.32c-.58.58-.58 1.53 0 2.12.6.6 1.56.56 2.12 0l5.66-5.66c.58-.58.59-1.53 0-2.12zm2.83 2.83c-.59-.59-1.54-.59-2.12 0l-5.66 5.66c-.59.58-.59 1.53 0 2.12.6.6 1.56.55 2.12 0l5.66-5.66c.58-.58.58-1.53 0-2.12zm1.06 6.72l4.18 4.18c.59.58.59 1.53 0 2.12s-1.54.59-2.12 0l-4.18-4.18-1.77 1.77c-.59.58-1.54.58-2.12 0-.59-.59-.59-1.54 0-2.13l5.66-5.65c.58-.59 1.53-.59 2.12 0 .58.58.58 1.53 0 2.12zM5 15c0-1.59-1.66-4-1.66-4S2 13.78 2 15s.6 2 1.34 2h.32C4.4 17 5 16.59 5 15z'; + break; + + case 'buddicons-tracking': + path = 'M10.98 6.78L15.5 15c-1 2-3.5 3-5.5 3s-4.5-1-5.5-3L9 6.82c-.75-1.23-2.28-1.98-4.29-2.03l2.46-2.92c1.68 1.19 2.46 2.32 2.97 3.31.56-.87 1.2-1.68 2.7-2.12l1.83 2.86c-1.42-.34-2.64.08-3.69.86zM8.17 10.4l-.93 1.69c.49.11 1 .16 1.54.16 1.35 0 2.58-.36 3.55-.95l-1.01-1.82c-.87.53-1.96.86-3.15.92zm.86 5.38c1.99 0 3.73-.74 4.74-1.86l-.98-1.76c-1 1.12-2.74 1.87-4.74 1.87-.62 0-1.21-.08-1.76-.21l-.63 1.15c.94.5 2.1.81 3.37.81z'; + break; + + case 'building': + path = 'M3 20h14V0H3v20zM7 3H5V1h2v2zm4 0H9V1h2v2zm4 0h-2V1h2v2zM7 6H5V4h2v2zm4 0H9V4h2v2zm4 0h-2V4h2v2zM7 9H5V7h2v2zm4 0H9V7h2v2zm4 0h-2V7h2v2zm-8 3H5v-2h2v2zm4 0H9v-2h2v2zm4 0h-2v-2h2v2zm-4 7H5v-6h6v6zm4-4h-2v-2h2v2zm0 3h-2v-2h2v2z'; + break; + + case 'businessman': + path = 'M7.3 6l-.03-.19c-.04-.37-.05-.73-.03-1.08.02-.36.1-.71.25-1.04.14-.32.31-.61.52-.86s.49-.46.83-.6c.34-.15.72-.23 1.13-.23.69 0 1.26.2 1.71.59s.76.87.91 1.44.18 1.16.09 1.78l-.03.19c-.01.09-.05.25-.11.48-.05.24-.12.47-.2.69-.08.21-.19.45-.34.72-.14.27-.3.49-.47.69-.18.19-.4.34-.67.48-.27.13-.55.19-.86.19s-.59-.06-.87-.19c-.26-.13-.49-.29-.67-.5-.18-.2-.34-.42-.49-.66-.15-.25-.26-.49-.34-.73-.09-.25-.16-.47-.21-.67-.06-.21-.1-.37-.12-.5zm9.2 6.24c.41.7.5 1.41.5 2.14v2.49c0 .03-.12.08-.29.13-.18.04-.42.13-.97.27-.55.12-1.1.24-1.65.34s-1.19.19-1.95.27c-.75.08-1.46.12-2.13.12-.68 0-1.39-.04-2.14-.12-.75-.07-1.4-.17-1.98-.27-.58-.11-1.08-.23-1.56-.34-.49-.11-.8-.21-1.06-.29L3 16.87v-2.49c0-.75.07-1.46.46-2.15s.81-1.25 1.5-1.68C5.66 10.12 7.19 10 8 10l1.67 1.67L9 13v3l1.02 1.08L11 16v-3l-.68-1.33L11.97 10c.77 0 2.2.07 2.9.52.71.45 1.21 1.02 1.63 1.72z'; + break; + + case 'button': + path = 'M17 5H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm1 7c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h14c.6 0 1 .4 1 1v5z'; + break; + + case 'calendar-alt': + path = 'M15 4h3v15H2V4h3V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1h4V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1zM6 3v2.5c0 .14.05.26.15.36.09.09.21.14.35.14s.26-.05.35-.14c.1-.1.15-.22.15-.36V3c0-.14-.05-.26-.15-.35-.09-.1-.21-.15-.35-.15s-.26.05-.35.15c-.1.09-.15.21-.15.35zm7 0v2.5c0 .14.05.26.14.36.1.09.22.14.36.14s.26-.05.36-.14c.09-.1.14-.22.14-.36V3c0-.14-.05-.26-.14-.35-.1-.1-.22-.15-.36-.15s-.26.05-.36.15c-.09.09-.14.21-.14.35zm4 15V8H3v10h14zM7 9v2H5V9h2zm2 0h2v2H9V9zm4 2V9h2v2h-2zm-6 1v2H5v-2h2zm2 0h2v2H9v-2zm4 2v-2h2v2h-2zm-6 1v2H5v-2h2zm4 2H9v-2h2v2zm4 0h-2v-2h2v2z'; + break; + + case 'calendar': + path = 'M15 4h3v14H2V4h3V3c0-.83.67-1.5 1.5-1.5S8 2.17 8 3v1h4V3c0-.83.67-1.5 1.5-1.5S15 2.17 15 3v1zM6 3v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5S6 2.72 6 3zm7 0v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5s-.5.22-.5.5zm4 14V8H3v9h14zM7 16V9H5v7h2zm4 0V9H9v7h2zm4 0V9h-2v7h2z'; + break; + + case 'camera': + path = 'M6 5V3H3v2h3zm12 10V4H9L7 6H2v9h16zm-7-8c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3z'; + break; + + case 'carrot': + path = 'M2 18.43c1.51 1.36 11.64-4.67 13.14-7.21.72-1.22-.13-3.01-1.52-4.44C15.2 5.73 16.59 9 17.91 8.31c.6-.32.99-1.31.7-1.92-.52-1.08-2.25-1.08-3.42-1.21.83-.2 2.82-1.05 2.86-2.25.04-.92-1.13-1.97-2.05-1.86-1.21.14-1.65 1.88-2.06 3-.05-.71-.2-2.27-.98-2.95-1.04-.91-2.29-.05-2.32 1.05-.04 1.33 2.82 2.07 1.92 3.67C11.04 4.67 9.25 4.03 8.1 4.7c-.49.31-1.05.91-1.63 1.69.89.94 2.12 2.07 3.09 2.72.2.14.26.42.11.62-.14.21-.42.26-.62.12-.99-.67-2.2-1.78-3.1-2.71-.45.67-.91 1.43-1.34 2.23.85.86 1.93 1.83 2.79 2.41.2.14.25.42.11.62-.14.21-.42.26-.63.12-.85-.58-1.86-1.48-2.71-2.32C2.4 13.69 1.1 17.63 2 18.43z'; + break; + + case 'cart': + path = 'M6 13h9c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1V4H2c-.55 0-1-.45-1-1s.45-1 1-1h3c.55 0 1 .45 1 1v2h13l-4 7H6v1zm-.5 3c.83 0 1.5.67 1.5 1.5S6.33 19 5.5 19 4 18.33 4 17.5 4.67 16 5.5 16zm9 0c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5z'; + break; + + case 'category': + path = 'M5 7h13v10H2V4h7l2 2H4v9h1V7z'; + break; + + case 'chart-area': + path = 'M18 18l.01-12.28c.59-.35.99-.99.99-1.72 0-1.1-.9-2-2-2s-2 .9-2 2c0 .8.47 1.48 1.14 1.8l-4.13 6.58c-.33-.24-.73-.38-1.16-.38-.84 0-1.55.51-1.85 1.24l-2.14-1.53c.09-.22.14-.46.14-.71 0-1.11-.89-2-2-2-1.1 0-2 .89-2 2 0 .73.4 1.36.98 1.71L1 18h17zM17 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM5 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm5.85 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z'; + break; + + case 'chart-bar': + path = 'M18 18V2h-4v16h4zm-6 0V7H8v11h4zm-6 0v-8H2v8h4z'; + break; + + case 'chart-line': + path = 'M18 3.5c0 .62-.38 1.16-.92 1.38v13.11H1.99l4.22-6.73c-.13-.23-.21-.48-.21-.76C6 9.67 6.67 9 7.5 9S9 9.67 9 10.5c0 .13-.02.25-.05.37l1.44.63c.27-.3.67-.5 1.11-.5.18 0 .35.04.51.09l3.58-6.41c-.36-.27-.59-.7-.59-1.18 0-.83.67-1.5 1.5-1.5.19 0 .36.04.53.1l.05-.09v.11c.54.22.92.76.92 1.38zm-1.92 13.49V5.85l-3.29 5.89c.13.23.21.48.21.76 0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5l.01-.07-1.63-.72c-.25.18-.55.29-.88.29-.18 0-.35-.04-.51-.1l-3.2 5.09h12.29z'; + break; + + case 'chart-pie': + path = 'M10 10V3c3.87 0 7 3.13 7 7h-7zM9 4v7h7c0 3.87-3.13 7-7 7s-7-3.13-7-7 3.13-7 7-7z'; + break; + + case 'clipboard': + path = 'M11.9.39l1.4 1.4c1.61.19 3.5-.74 4.61.37s.18 3 .37 4.61l1.4 1.4c.39.39.39 1.02 0 1.41l-9.19 9.2c-.4.39-1.03.39-1.42 0L1.29 11c-.39-.39-.39-1.02 0-1.42l9.2-9.19c.39-.39 1.02-.39 1.41 0zm.58 2.25l-.58.58 4.95 4.95.58-.58c-.19-.6-.2-1.22-.15-1.82.02-.31.05-.62.09-.92.12-1 .18-1.63-.17-1.98s-.98-.29-1.98-.17c-.3.04-.61.07-.92.09-.6.05-1.22.04-1.82-.15zm4.02.93c.39.39.39 1.03 0 1.42s-1.03.39-1.42 0-.39-1.03 0-1.42 1.03-.39 1.42 0zm-6.72.36l-.71.7L15.44 11l.7-.71zM8.36 5.34l-.7.71 6.36 6.36.71-.7zM6.95 6.76l-.71.7 6.37 6.37.7-.71zM5.54 8.17l-.71.71 6.36 6.36.71-.71zM4.12 9.58l-.71.71 6.37 6.37.71-.71z'; + break; + + case 'clock': + path = 'M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 14c3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6 2.69 6 6 6zm-.71-5.29c.07.05.14.1.23.15l-.02.02L14 13l-3.03-3.19L10 5l-.97 4.81h.01c0 .02-.01.05-.02.09S9 9.97 9 10c0 .28.1.52.29.71z'; + break; + + case 'cloud-saved': + path = 'M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16h10c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5zm-6.3 5.9l-3.2-3.2 1.4-1.4 1.8 1.8 3.8-3.8 1.4 1.4-5.2 5.2z'; + break; + + case 'cloud-upload': + path = 'M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16H8v-3H5l4.5-4.5L14 13h-3v3h3.5c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5z'; + break; + + case 'cloud': + path = 'M14.9 9c1.8.2 3.1 1.7 3.1 3.5 0 1.9-1.6 3.5-3.5 3.5h-10C2.6 16 1 14.4 1 12.5 1 10.7 2.3 9.3 4.1 9 4 8.9 4 8.7 4 8.5 4 7.1 5.1 6 6.5 6c.3 0 .7.1.9.2C8.1 4.9 9.4 4 11 4c2.2 0 4 1.8 4 4 0 .4-.1.7-.1 1z'; + break; + + case 'columns': + path = 'M3 15h6V5H3v10zm8 0h6V5h-6v10z'; + break; + + case 'controls-back': + path = 'M2 10l10-6v3.6L18 4v12l-6-3.6V16z'; + break; + + case 'controls-forward': + path = 'M18 10L8 16v-3.6L2 16V4l6 3.6V4z'; + break; + + case 'controls-pause': + path = 'M5 16V4h3v12H5zm7-12h3v12h-3V4z'; + break; + + case 'controls-play': + path = 'M5 4l10 6-10 6V4z'; + break; + + case 'controls-repeat': + path = 'M5 7v3l-2 1.5V5h11V3l4 3.01L14 9V7H5zm10 6v-3l2-1.5V15H6v2l-4-3.01L6 11v2h9z'; + break; + + case 'controls-skipback': + path = 'M11.98 7.63l6-3.6v12l-6-3.6v3.6l-8-4.8v4.8h-2v-12h2v4.8l8-4.8v3.6z'; + break; + + case 'controls-skipforward': + path = 'M8 12.4L2 16V4l6 3.6V4l8 4.8V4h2v12h-2v-4.8L8 16v-3.6z'; + break; + + case 'controls-volumeoff': + path = 'M2 7h4l5-4v14l-5-4H2V7z'; + break; + + case 'controls-volumeon': + path = 'M2 7h4l5-4v14l-5-4H2V7zm12.69-2.46C14.82 4.59 18 5.92 18 10s-3.18 5.41-3.31 5.46c-.06.03-.13.04-.19.04-.2 0-.39-.12-.46-.31-.11-.26.02-.55.27-.65.11-.05 2.69-1.15 2.69-4.54 0-3.41-2.66-4.53-2.69-4.54-.25-.1-.38-.39-.27-.65.1-.25.39-.38.65-.27zM16 10c0 2.57-2.23 3.43-2.32 3.47-.06.02-.12.03-.18.03-.2 0-.39-.12-.47-.32-.1-.26.04-.55.29-.65.07-.02 1.68-.67 1.68-2.53s-1.61-2.51-1.68-2.53c-.25-.1-.38-.39-.29-.65.1-.25.39-.39.65-.29.09.04 2.32.9 2.32 3.47z'; + break; + + case 'cover-image': + path = 'M2.2 1h15.5c.7 0 1.3.6 1.3 1.2v11.5c0 .7-.6 1.2-1.2 1.2H2.2c-.6.1-1.2-.5-1.2-1.1V2.2C1 1.6 1.6 1 2.2 1zM17 13V3H3v10h14zm-4-4s0-5 3-5v7c0 .6-.4 1-1 1H5c-.6 0-1-.4-1-1V7c2 0 3 4 3 4s1-4 3-4 3 2 3 2zM4 17h12v2H4z'; + break; + + case 'dashboard': + path = 'M3.76 16h12.48c1.1-1.37 1.76-3.11 1.76-5 0-4.42-3.58-8-8-8s-8 3.58-8 8c0 1.89.66 3.63 1.76 5zM10 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM6 6c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5.37 5.55L12 7v6c0 1.1-.9 2-2 2s-2-.9-2-2c0-.57.24-1.08.63-1.45zM4 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm12 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5 3c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1z'; + break; + + case 'desktop': + path = 'M3 2h14c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1h-5v2h2c.55 0 1 .45 1 1v1H5v-1c0-.55.45-1 1-1h2v-2H3c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm13 9V4H4v7h12zM5 5h9L5 9V5z'; + break; + + case 'dismiss': + path = 'M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm5 11l-3-3 3-3-2-2-3 3-3-3-2 2 3 3-3 3 2 2 3-3 3 3z'; + break; + + case 'download': + path = 'M14.01 4v6h2V2H4v8h2.01V4h8zm-2 2v6h3l-5 6-5-6h3V6h4z'; + break; + + case 'edit': + path = 'M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z'; + break; + + case 'editor-aligncenter': + path = 'M14 5V3H6v2h8zm3 4V7H3v2h14zm-3 4v-2H6v2h8zm3 4v-2H3v2h14z'; + break; + + case 'editor-alignleft': + path = 'M12 5V3H3v2h9zm5 4V7H3v2h14zm-5 4v-2H3v2h9zm5 4v-2H3v2h14z'; + break; + + case 'editor-alignright': + path = 'M17 5V3H8v2h9zm0 4V7H3v2h14zm0 4v-2H8v2h9zm0 4v-2H3v2h14z'; + break; + + case 'editor-bold': + path = 'M6 4v13h4.54c1.37 0 2.46-.33 3.26-1 .8-.66 1.2-1.58 1.2-2.77 0-.84-.17-1.51-.51-2.01s-.9-.85-1.67-1.03v-.09c.57-.1 1.02-.4 1.36-.9s.51-1.13.51-1.91c0-1.14-.39-1.98-1.17-2.5C12.75 4.26 11.5 4 9.78 4H6zm2.57 5.15V6.26h1.36c.73 0 1.27.11 1.61.32.34.22.51.58.51 1.07 0 .54-.16.92-.47 1.15s-.82.35-1.51.35h-1.5zm0 2.19h1.6c1.44 0 2.16.53 2.16 1.61 0 .6-.17 1.05-.51 1.34s-.86.43-1.57.43H8.57v-3.38z'; + break; + + case 'editor-break': + path = 'M16 4h2v9H7v3l-5-4 5-4v3h9V4z'; + break; + + case 'editor-code': + path = 'M9 6l-4 4 4 4-1 2-6-6 6-6zm2 8l4-4-4-4 1-2 6 6-6 6z'; + break; + + case 'editor-contract': + path = 'M15.75 6.75L18 3v14l-2.25-3.75L17 12h-4v4l1.25-1.25L18 17H2l3.75-2.25L7 16v-4H3l1.25 1.25L2 17V3l2.25 3.75L3 8h4V4L5.75 5.25 2 3h16l-3.75 2.25L13 4v4h4z'; + break; + + case 'editor-customchar': + path = 'M10 5.4c1.27 0 2.24.36 2.91 1.08.66.71 1 1.76 1 3.13 0 1.28-.23 2.37-.69 3.27-.47.89-1.27 1.52-2.22 2.12v2h6v-2h-3.69c.92-.64 1.62-1.34 2.12-2.34.49-1.01.74-2.13.74-3.35 0-1.78-.55-3.19-1.65-4.22S11.92 3.54 10 3.54s-3.43.53-4.52 1.57c-1.1 1.04-1.65 2.44-1.65 4.2 0 1.21.24 2.31.73 3.33.48 1.01 1.19 1.71 2.1 2.36H3v2h6v-2c-.98-.64-1.8-1.28-2.24-2.17-.45-.89-.67-1.96-.67-3.22 0-1.37.33-2.41 1-3.13C7.75 5.76 8.72 5.4 10 5.4z'; + break; + + case 'editor-expand': + path = 'M7 8h6v4H7zm-5 5v4h4l-1.2-1.2L7 12l-3.8 2.2M14 17h4v-4l-1.2 1.2L13 12l2.2 3.8M14 3l1.3 1.3L13 8l3.8-2.2L18 7V3M6 3H2v4l1.2-1.2L7 8 4.7 4.3'; + break; + + case 'editor-help': + path = 'M17 10c0-3.87-3.14-7-7-7-3.87 0-7 3.13-7 7s3.13 7 7 7c3.86 0 7-3.13 7-7zm-6.3 1.48H9.14v-.43c0-.38.08-.7.24-.98s.46-.57.88-.89c.41-.29.68-.53.81-.71.14-.18.2-.39.2-.62 0-.25-.09-.44-.28-.58-.19-.13-.45-.19-.79-.19-.58 0-1.25.19-2 .57l-.64-1.28c.87-.49 1.8-.74 2.77-.74.81 0 1.45.2 1.92.58.48.39.71.91.71 1.55 0 .43-.09.8-.29 1.11-.19.32-.57.67-1.11 1.06-.38.28-.61.49-.71.63-.1.15-.15.34-.15.57v.35zm-1.47 2.74c-.18-.17-.27-.42-.27-.73 0-.33.08-.58.26-.75s.43-.25.77-.25c.32 0 .57.09.75.26s.27.42.27.74c0 .3-.09.55-.27.72-.18.18-.43.27-.75.27-.33 0-.58-.09-.76-.26z'; + break; + + case 'editor-indent': + path = 'M3 5V3h9v2H3zm10-1V3h4v1h-4zm0 3h2V5l4 3.5-4 3.5v-2h-2V7zM3 8V6h9v2H3zm2 3V9h7v2H5zm-2 3v-2h9v2H3zm10 0v-1h4v1h-4zm-4 3v-2h3v2H9z'; + break; + + case 'editor-insertmore': + path = 'M17 7V3H3v4h14zM6 11V9H3v2h3zm6 0V9H8v2h4zm5 0V9h-3v2h3zm0 6v-4H3v4h14z'; + break; + + case 'editor-italic': + path = 'M14.78 6h-2.13l-2.8 9h2.12l-.62 2H4.6l.62-2h2.14l2.8-9H8.03l.62-2h6.75z'; + break; + + case 'editor-justify': + path = 'M2 3h16v2H2V3zm0 4h16v2H2V7zm0 4h16v2H2v-2zm0 4h16v2H2v-2z'; + break; + + case 'editor-kitchensink': + path = 'M19 2v6H1V2h18zm-1 5V3H2v4h16zM5 4v2H3V4h2zm3 0v2H6V4h2zm3 0v2H9V4h2zm3 0v2h-2V4h2zm3 0v2h-2V4h2zm2 5v9H1V9h18zm-1 8v-7H2v7h16zM5 11v2H3v-2h2zm3 0v2H6v-2h2zm3 0v2H9v-2h2zm6 0v2h-5v-2h5zm-6 3v2H3v-2h8zm3 0v2h-2v-2h2zm3 0v2h-2v-2h2z'; + break; + + case 'editor-ltr': + path = 'M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z'; + break; + + case 'editor-ol-rtl': + path = 'M15.025 8.75a1.048 1.048 0 0 1 .45-.1.507.507 0 0 1 .35.11.455.455 0 0 1 .13.36.803.803 0 0 1-.06.3 1.448 1.448 0 0 1-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76v-.7h-1.72v-.04l.51-.48a7.276 7.276 0 0 0 .7-.71 1.75 1.75 0 0 0 .3-.49 1.254 1.254 0 0 0 .1-.51.968.968 0 0 0-.16-.56 1.007 1.007 0 0 0-.44-.37 1.512 1.512 0 0 0-.65-.14 1.98 1.98 0 0 0-.51.06 1.9 1.9 0 0 0-.42.15 3.67 3.67 0 0 0-.48.35l.45.54a2.505 2.505 0 0 1 .45-.3zM16.695 15.29a1.29 1.29 0 0 0-.74-.3v-.02a1.203 1.203 0 0 0 .65-.37.973.973 0 0 0 .23-.65.81.81 0 0 0-.37-.71 1.72 1.72 0 0 0-1-.26 2.185 2.185 0 0 0-1.33.4l.4.6a1.79 1.79 0 0 1 .46-.23 1.18 1.18 0 0 1 .41-.07c.38 0 .58.15.58.46a.447.447 0 0 1-.22.43 1.543 1.543 0 0 1-.7.12h-.31v.66h.31a1.764 1.764 0 0 1 .75.12.433.433 0 0 1 .23.41.55.55 0 0 1-.2.47 1.084 1.084 0 0 1-.63.15 2.24 2.24 0 0 1-.57-.08 2.671 2.671 0 0 1-.52-.2v.74a2.923 2.923 0 0 0 1.18.22 1.948 1.948 0 0 0 1.22-.33 1.077 1.077 0 0 0 .43-.92.836.836 0 0 0-.26-.64zM15.005 4.17c.06-.05.16-.14.3-.28l-.02.42V7h.84V3h-.69l-1.29 1.03.4.51zM4.02 5h9v1h-9zM4.02 10h9v1h-9zM4.02 15h9v1h-9z'; + break; + + case 'editor-ol': + path = 'M6 7V3h-.69L4.02 4.03l.4.51.46-.37c.06-.05.16-.14.3-.28l-.02.42V7H6zm2-2h9v1H8V5zm-1.23 6.95v-.7H5.05v-.04l.51-.48c.33-.31.57-.54.7-.71.14-.17.24-.33.3-.49.07-.16.1-.33.1-.51 0-.21-.05-.4-.16-.56-.1-.16-.25-.28-.44-.37s-.41-.14-.65-.14c-.19 0-.36.02-.51.06-.15.03-.29.09-.42.15-.12.07-.29.19-.48.35l.45.54c.16-.13.31-.23.45-.3.15-.07.3-.1.45-.1.14 0 .26.03.35.11s.13.2.13.36c0 .1-.02.2-.06.3s-.1.21-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76zM8 10h9v1H8v-1zm-1.29 3.95c0-.3-.12-.54-.37-.71-.24-.17-.58-.26-1-.26-.52 0-.96.13-1.33.4l.4.6c.17-.11.32-.19.46-.23.14-.05.27-.07.41-.07.38 0 .58.15.58.46 0 .2-.07.35-.22.43s-.38.12-.7.12h-.31v.66h.31c.34 0 .59.04.75.12.15.08.23.22.23.41 0 .22-.07.37-.2.47-.14.1-.35.15-.63.15-.19 0-.38-.03-.57-.08s-.36-.12-.52-.2v.74c.34.15.74.22 1.18.22.53 0 .94-.11 1.22-.33.29-.22.43-.52.43-.92 0-.27-.09-.48-.26-.64s-.42-.26-.74-.3v-.02c.27-.06.49-.19.65-.37.15-.18.23-.39.23-.65zM8 15h9v1H8v-1z'; + break; + + case 'editor-outdent': + path = 'M7 4V3H3v1h4zm10 1V3H8v2h9zM7 7H5V5L1 8.5 5 12v-2h2V7zm10 1V6H8v2h9zm-2 3V9H8v2h7zm2 3v-2H8v2h9zM7 14v-1H3v1h4zm4 3v-2H8v2h3z'; + break; + + case 'editor-paragraph': + path = 'M15 2H7.54c-.83 0-1.59.2-2.28.6-.7.41-1.25.96-1.65 1.65C3.2 4.94 3 5.7 3 6.52s.2 1.58.61 2.27c.4.69.95 1.24 1.65 1.64.69.41 1.45.61 2.28.61h.43V17c0 .27.1.51.29.71.2.19.44.29.71.29.28 0 .51-.1.71-.29.2-.2.3-.44.3-.71V5c0-.27.09-.51.29-.71.2-.19.44-.29.71-.29s.51.1.71.29c.19.2.29.44.29.71v12c0 .27.1.51.3.71.2.19.43.29.71.29.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71V4H15c.27 0 .5-.1.7-.3.2-.19.3-.43.3-.7s-.1-.51-.3-.71C15.5 2.1 15.27 2 15 2z'; + break; + + case 'editor-paste-text': + path = 'M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.44 1-1 0-.55-.45-1-1-1s-1 .45-1 1c0 .56.45 1 1 1zm5.45-1H17c.55 0 1 .45 1 1v12c0 .56-.45 1-1 1H3c-.55 0-1-.44-1-1V5c0-.55.45-1 1-1h1.55L4 4.63V7h12V4.63zM14 11V9H6v2h3v5h2v-5h3z'; + break; + + case 'editor-paste-word': + path = 'M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm8 12V5c0-.55-.45-1-1-1h-1.54l.54.63V7H4V4.62L4.55 4H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-3-8l-2 7h-2l-1-5-1 5H6.92L5 9h2l1 5 1-5h2l1 5 1-5h2z'; + break; + + case 'editor-quote': + path = 'M9.49 13.22c0-.74-.2-1.38-.61-1.9-.62-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L7.88 4c-2.73 1.3-5.42 4.28-4.96 8.05C3.21 14.43 4.59 16 6.54 16c.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03zm8.05 0c0-.74-.2-1.38-.61-1.9-.63-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L15.93 4c-2.73 1.3-5.41 4.28-4.95 8.05.29 2.38 1.66 3.95 3.61 3.95.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03z'; + break; + + case 'editor-removeformatting': + path = 'M14.29 4.59l1.1 1.11c.41.4.61.94.61 1.47v2.12c0 .53-.2 1.07-.61 1.47l-6.63 6.63c-.4.41-.94.61-1.47.61s-1.07-.2-1.47-.61l-1.11-1.1-1.1-1.11c-.41-.4-.61-.94-.61-1.47v-2.12c0-.54.2-1.07.61-1.48l6.63-6.62c.4-.41.94-.61 1.47-.61s1.06.2 1.47.61zm-6.21 9.7l6.42-6.42c.39-.39.39-1.03 0-1.43L12.36 4.3c-.19-.19-.45-.29-.72-.29s-.52.1-.71.29l-6.42 6.42c-.39.4-.39 1.04 0 1.43l2.14 2.14c.38.38 1.04.38 1.43 0z'; + break; + + case 'editor-rtl': + path = 'M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM19 6l-5 4 5 4V6z'; + break; + + case 'editor-spellcheck': + path = 'M15.84 2.76c.25 0 .49.04.71.11.23.07.44.16.64.25l.35-.81c-.52-.26-1.08-.39-1.69-.39-.58 0-1.09.13-1.52.37-.43.25-.76.61-.99 1.08C13.11 3.83 13 4.38 13 5c0 .99.23 1.75.7 2.28s1.15.79 2.02.79c.6 0 1.13-.09 1.6-.26v-.84c-.26.08-.51.14-.74.19-.24.05-.49.08-.74.08-.59 0-1.04-.19-1.34-.57-.32-.37-.47-.93-.47-1.66 0-.7.16-1.25.48-1.65.33-.4.77-.6 1.33-.6zM6.5 8h1.04L5.3 2H4.24L2 8h1.03l.58-1.66H5.9zM8 2v6h2.17c.67 0 1.19-.15 1.57-.46.38-.3.56-.72.56-1.26 0-.4-.1-.72-.3-.95-.19-.24-.5-.39-.93-.47v-.04c.35-.06.6-.21.78-.44.18-.24.28-.53.28-.88 0-.52-.19-.9-.56-1.14-.36-.24-.96-.36-1.79-.36H8zm.98 2.48V2.82h.85c.44 0 .77.06.97.19.21.12.31.33.31.61 0 .31-.1.53-.29.66-.18.13-.48.2-.89.2h-.95zM5.64 5.5H3.9l.54-1.56c.14-.4.25-.76.32-1.1l.15.52c.07.23.13.4.17.51zm3.34-.23h.99c.44 0 .76.08.98.23.21.15.32.38.32.69 0 .34-.11.59-.32.75s-.52.24-.93.24H8.98V5.27zM4 13l5 5 9-8-1-1-8 6-4-3z'; + break; + + case 'editor-strikethrough': + path = 'M15.82 12.25c.26 0 .5-.02.74-.07.23-.05.48-.12.73-.2v.84c-.46.17-.99.26-1.58.26-.88 0-1.54-.26-2.01-.79-.39-.44-.62-1.04-.68-1.79h-.94c.12.21.18.48.18.79 0 .54-.18.95-.55 1.26-.38.3-.9.45-1.56.45H8v-2.5H6.59l.93 2.5H6.49l-.59-1.67H3.62L3.04 13H2l.93-2.5H2v-1h1.31l.93-2.49H5.3l.92 2.49H8V7h1.77c1 0 1.41.17 1.77.41.37.24.55.62.55 1.13 0 .35-.09.64-.27.87l-.08.09h1.29c.05-.4.15-.77.31-1.1.23-.46.55-.82.98-1.06.43-.25.93-.37 1.51-.37.61 0 1.17.12 1.69.38l-.35.81c-.2-.1-.42-.18-.64-.25s-.46-.11-.71-.11c-.55 0-.99.2-1.31.59-.23.29-.38.66-.44 1.11H17v1h-2.95c.06.5.2.9.44 1.19.3.37.75.56 1.33.56zM4.44 8.96l-.18.54H5.3l-.22-.61c-.04-.11-.09-.28-.17-.51-.07-.24-.12-.41-.14-.51-.08.33-.18.69-.33 1.09zm4.53-1.09V9.5h1.19c.28-.02.49-.09.64-.18.19-.13.28-.35.28-.66 0-.28-.1-.48-.3-.61-.2-.12-.53-.18-.97-.18h-.84zm-3.33 2.64v-.01H3.91v.01h1.73zm5.28.01l-.03-.02H8.97v1.68h1.04c.4 0 .71-.08.92-.23.21-.16.31-.4.31-.74 0-.31-.11-.54-.32-.69z'; + break; + + case 'editor-table': + path = 'M18 17V3H2v14h16zM16 7H4V5h12v2zm-7 4H4V9h5v2zm7 0h-5V9h5v2zm-7 4H4v-2h5v2zm7 0h-5v-2h5v2z'; + break; + + case 'editor-textcolor': + path = 'M13.23 15h1.9L11 4H9L5 15h1.88l1.07-3h4.18zm-1.53-4.54H8.51L10 5.6z'; + break; + + case 'editor-ul': + path = 'M5.5 7C4.67 7 4 6.33 4 5.5 4 4.68 4.67 4 5.5 4 6.32 4 7 4.68 7 5.5 7 6.33 6.32 7 5.5 7zM8 5h9v1H8V5zm-2.5 7c-.83 0-1.5-.67-1.5-1.5C4 9.68 4.67 9 5.5 9c.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 10h9v1H8v-1zm-2.5 7c-.83 0-1.5-.67-1.5-1.5 0-.82.67-1.5 1.5-1.5.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 15h9v1H8v-1z'; + break; + + case 'editor-underline': + path = 'M14 5h-2v5.71c0 1.99-1.12 2.98-2.45 2.98-1.32 0-2.55-1-2.55-2.96V5H5v5.87c0 1.91 1 4.54 4.48 4.54 3.49 0 4.52-2.58 4.52-4.5V5zm0 13v-2H5v2h9z'; + break; + + case 'editor-unlink': + path = 'M17.74 2.26c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-.32.33-.69.58-1.08.77L13 10l1.69-1.64.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-.76.76L10 7l-.65-2.14c.19-.38.44-.75.77-1.07l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM2 4l8 6-6-8zm4-2l4 8-2-8H6zM2 6l8 4-8-2V6zm7.36 7.69L10 13l.74 2.35-1.38 1.39c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.39-1.38L7 10l-.69.64-1.52 1.53c-.85.84-.85 2.2 0 3.04.84.85 2.2.85 3.04 0zM18 16l-8-6 6 8zm-4 2l-4-8 2 8h2zm4-4l-8-4 8 2v2z'; + break; + + case 'editor-video': + path = 'M16 2h-3v1H7V2H4v15h3v-1h6v1h3V2zM6 3v1H5V3h1zm9 0v1h-1V3h1zm-2 1v5H7V4h6zM6 5v1H5V5h1zm9 0v1h-1V5h1zM6 7v1H5V7h1zm9 0v1h-1V7h1zM6 9v1H5V9h1zm9 0v1h-1V9h1zm-2 1v5H7v-5h6zm-7 1v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1z'; + break; + + case 'ellipsis': + path = 'M5 10c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z'; + break; + + case 'email-alt': + path = 'M19 14.5v-9c0-.83-.67-1.5-1.5-1.5H3.49c-.83 0-1.5.67-1.5 1.5v9c0 .83.67 1.5 1.5 1.5H17.5c.83 0 1.5-.67 1.5-1.5zm-1.31-9.11c.33.33.15.67-.03.84L13.6 9.95l3.9 4.06c.12.14.2.36.06.51-.13.16-.43.15-.56.05l-4.37-3.73-2.14 1.95-2.13-1.95-4.37 3.73c-.13.1-.43.11-.56-.05-.14-.15-.06-.37.06-.51l3.9-4.06-4.06-3.72c-.18-.17-.36-.51-.03-.84s.67-.17.95.07l6.24 5.04 6.25-5.04c.28-.24.62-.4.95-.07z'; + break; + + case 'email-alt2': + path = 'M18.01 11.18V2.51c0-1.19-.9-1.81-2-1.37L4 5.91c-1.1.44-2 1.77-2 2.97v8.66c0 1.2.9 1.81 2 1.37l12.01-4.77c1.1-.44 2-1.76 2-2.96zm-1.43-7.46l-6.04 9.33-6.65-4.6c-.1-.07-.36-.32-.17-.64.21-.36.65-.21.65-.21l6.3 2.32s4.83-6.34 5.11-6.7c.13-.17.43-.34.73-.13.29.2.16.49.07.63z'; + break; + + case 'email': + path = 'M3.87 4h13.25C18.37 4 19 4.59 19 5.79v8.42c0 1.19-.63 1.79-1.88 1.79H3.87c-1.25 0-1.88-.6-1.88-1.79V5.79c0-1.2.63-1.79 1.88-1.79zm6.62 8.6l6.74-5.53c.24-.2.43-.66.13-1.07-.29-.41-.82-.42-1.17-.17l-5.7 3.86L4.8 5.83c-.35-.25-.88-.24-1.17.17-.3.41-.11.87.13 1.07z'; + break; + + case 'embed-audio': + path = 'M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 3H7v4c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.4 0 .7.1 1 .3V5h4v2zm4 3.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z'; + break; + + case 'embed-generic': + path = 'M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-3 6.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z'; + break; + + case 'embed-photo': + path = 'M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 8H3V6h7v6zm4-1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3zm-6-4V8.5L7.2 10 6 9.2 4 11h5zM4.6 8.6c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z'; + break; + + case 'embed-post': + path = 'M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM8.6 9l-.4.3c-.4.4-.5 1.1-.2 1.6l-.8.8-1.1-1.1-1.3 1.3c-.2.2-1.6 1.3-1.8 1.1-.2-.2.9-1.6 1.1-1.8l1.3-1.3-1.1-1.1.8-.8c.5.3 1.2.3 1.6-.2l.3-.3c.5-.5.5-1.2.2-1.7L8 5l3 2.9-.8.8c-.5-.2-1.2-.2-1.6.3zm5.4 1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z'; + break; + + case 'embed-video': + path = 'M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 6.5L8 9.1V11H3V6h5v1.8l2-1.3v4zm4 0L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z'; + break; + + case 'excerpt-view': + path = 'M19 18V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h16c.55 0 1-.45 1-1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6V3h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6v-6h11z'; + break; + + case 'exit': + path = 'M13 3v2h2v10h-2v2h4V3h-4zm0 8V9H5.4l4.3-4.3-1.4-1.4L1.6 10l6.7 6.7 1.4-1.4L5.4 11H13z'; + break; + + case 'external': + path = 'M9 3h8v8l-2-1V6.92l-5.6 5.59-1.41-1.41L14.08 5H10zm3 12v-3l2-2v7H3V6h8L9 8H5v7h7z'; + break; + + case 'facebook-alt': + path = 'M8.46 18h2.93v-7.3h2.45l.37-2.84h-2.82V6.04c0-.82.23-1.38 1.41-1.38h1.51V2.11c-.26-.03-1.15-.11-2.19-.11-2.18 0-3.66 1.33-3.66 3.76v2.1H6v2.84h2.46V18z'; + break; + + case 'facebook': + path = 'M2.89 2h14.23c.49 0 .88.39.88.88v14.24c0 .48-.39.88-.88.88h-4.08v-6.2h2.08l.31-2.41h-2.39V7.85c0-.7.2-1.18 1.2-1.18h1.28V4.51c-.22-.03-.98-.09-1.86-.09-1.85 0-3.11 1.12-3.11 3.19v1.78H8.46v2.41h2.09V18H2.89c-.49 0-.89-.4-.89-.88V2.88c0-.49.4-.88.89-.88z'; + break; + + case 'feedback': + path = 'M2 2h16c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm15 14V7H3v9h14zM4 8v1h3V8H4zm4 0v3h8V8H8zm-4 4v1h3v-1H4zm4 0v3h8v-3H8z'; + break; + + case 'filter': + path = 'M3 4.5v-2s3.34-1 7-1 7 1 7 1v2l-5 7.03v6.97s-1.22-.09-2.25-.59S8 16.5 8 16.5v-4.97z'; + break; + + case 'flag': + path = 'M5 18V3H3v15h2zm1-6V4c3-1 7 1 11 0v8c-3 1.27-8-1-11 0z'; + break; + + case 'format-aside': + path = 'M1 1h18v12l-6 6H1V1zm3 3v1h12V4H4zm0 4v1h12V8H4zm6 5v-1H4v1h6zm2 4l5-5h-5v5z'; + break; + + case 'format-audio': + path = 'M6.99 3.08l11.02-2c.55-.08.99.45.99 1V14.5c0 1.94-1.57 3.5-3.5 3.5S12 16.44 12 14.5c0-1.93 1.57-3.5 3.5-3.5.54 0 1.04.14 1.5.35V5.08l-9 2V16c-.24 1.7-1.74 3-3.5 3C2.57 19 1 17.44 1 15.5 1 13.57 2.57 12 4.5 12c.54 0 1.04.14 1.5.35V4.08c0-.55.44-.91.99-1z'; + break; + + case 'format-chat': + path = 'M11 6h-.82C9.07 6 8 7.2 8 8.16V10l-3 3v-3H3c-1.1 0-2-.9-2-2V3c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v3zm0 1h6c1.1 0 2 .9 2 2v5c0 1.1-.9 2-2 2h-2v3l-3-3h-1c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2z'; + break; + + case 'format-gallery': + path = 'M16 4h1.96c.57 0 1.04.47 1.04 1.04v12.92c0 .57-.47 1.04-1.04 1.04H5.04C4.47 19 4 18.53 4 17.96V16H2.04C1.47 16 1 15.53 1 14.96V2.04C1 1.47 1.47 1 2.04 1h12.92c.57 0 1.04.47 1.04 1.04V4zM3 14h11V3H3v11zm5-8.5C8 4.67 7.33 4 6.5 4S5 4.67 5 5.5 5.67 7 6.5 7 8 6.33 8 5.5zm2 4.5s1-5 3-5v8H4V7c2 0 2 3 2 3s.33-2 2-2 2 2 2 2zm7 7V6h-1v8.96c0 .57-.47 1.04-1.04 1.04H6v1h11z'; + break; + + case 'format-image': + path = 'M2.25 1h15.5c.69 0 1.25.56 1.25 1.25v15.5c0 .69-.56 1.25-1.25 1.25H2.25C1.56 19 1 18.44 1 17.75V2.25C1 1.56 1.56 1 2.25 1zM17 17V3H3v14h14zM10 6c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm3 5s0-6 3-6v10c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1V8c2 0 3 4 3 4s1-3 3-3 3 2 3 2z'; + break; + + case 'format-quote': + path = 'M8.54 12.74c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45L6.65 1.94C3.45 3.46.31 6.96.85 11.37 1.19 14.16 2.8 16 5.08 16c1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38zm9.43 0c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45l-1.63-2.28c-3.2 1.52-6.34 5.02-5.8 9.43.34 2.79 1.95 4.63 4.23 4.63 1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38z'; + break; + + case 'format-status': + path = 'M10 1c7 0 9 2.91 9 6.5S17 14 10 14s-9-2.91-9-6.5S3 1 10 1zM5.5 9C6.33 9 7 8.33 7 7.5S6.33 6 5.5 6 4 6.67 4 7.5 4.67 9 5.5 9zM10 9c.83 0 1.5-.67 1.5-1.5S10.83 6 10 6s-1.5.67-1.5 1.5S9.17 9 10 9zm4.5 0c.83 0 1.5-.67 1.5-1.5S15.33 6 14.5 6 13 6.67 13 7.5 13.67 9 14.5 9zM6 14.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm-3 2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z'; + break; + + case 'format-video': + path = 'M2 1h16c.55 0 1 .45 1 1v16l-18-.02V2c0-.55.45-1 1-1zm4 1L4 5h1l2-3H6zm4 0H9L7 5h1zm3 0h-1l-2 3h1zm3 0h-1l-2 3h1zm1 14V6H3v10h14zM8 7l6 4-6 4V7z'; + break; + + case 'forms': + path = 'M2 2h7v7H2V2zm9 0v7h7V2h-7zM5.5 4.5L7 3H4zM12 8V3h5v5h-5zM4.5 5.5L3 4v3zM8 4L6.5 5.5 8 7V4zM5.5 6.5L4 8h3zM9 18v-7H2v7h7zm9 0h-7v-7h7v7zM8 12v5H3v-5h5zm6.5 1.5L16 12h-3zM12 16l1.5-1.5L12 13v3zm3.5-1.5L17 16v-3zm-1 1L13 17h3z'; + break; + + case 'googleplus': + path = 'M6.73 10h5.4c.05.29.09.57.09.95 0 3.27-2.19 5.6-5.49 5.6-3.17 0-5.73-2.57-5.73-5.73 0-3.17 2.56-5.73 5.73-5.73 1.54 0 2.84.57 3.83 1.5l-1.55 1.5c-.43-.41-1.17-.89-2.28-.89-1.96 0-3.55 1.62-3.55 3.62 0 1.99 1.59 3.61 3.55 3.61 2.26 0 3.11-1.62 3.24-2.47H6.73V10zM19 10v1.64h-1.64v1.63h-1.63v-1.63h-1.64V10h1.64V8.36h1.63V10H19z'; + break; + + case 'grid-view': + path = 'M2 1h16c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1zm7.01 7.99v-6H3v6h6.01zm8 0v-6h-6v6h6zm-8 8.01v-6H3v6h6.01zm8 0v-6h-6v6h6z'; + break; + + case 'groups': + path = 'M8.03 4.46c-.29 1.28.55 3.46 1.97 3.46 1.41 0 2.25-2.18 1.96-3.46-.22-.98-1.08-1.63-1.96-1.63-.89 0-1.74.65-1.97 1.63zm-4.13.9c-.25 1.08.47 2.93 1.67 2.93s1.92-1.85 1.67-2.93c-.19-.83-.92-1.39-1.67-1.39s-1.48.56-1.67 1.39zm8.86 0c-.25 1.08.47 2.93 1.66 2.93 1.2 0 1.92-1.85 1.67-2.93-.19-.83-.92-1.39-1.67-1.39-.74 0-1.47.56-1.66 1.39zm-.59 11.43l1.25-4.3C14.2 10 12.71 8.47 10 8.47c-2.72 0-4.21 1.53-3.44 4.02l1.26 4.3C8.05 17.51 9 18 10 18c.98 0 1.94-.49 2.17-1.21zm-6.1-7.63c-.49.67-.96 1.83-.42 3.59l1.12 3.79c-.34.2-.77.31-1.2.31-.85 0-1.65-.41-1.85-1.03l-1.07-3.65c-.65-2.11.61-3.4 2.92-3.4.27 0 .54.02.79.06-.1.1-.2.22-.29.33zm8.35-.39c2.31 0 3.58 1.29 2.92 3.4l-1.07 3.65c-.2.62-1 1.03-1.85 1.03-.43 0-.86-.11-1.2-.31l1.11-3.77c.55-1.78.08-2.94-.42-3.61-.08-.11-.18-.23-.28-.33.25-.04.51-.06.79-.06z'; + break; + + case 'hammer': + path = 'M17.7 6.32l1.41 1.42-3.47 3.41-1.42-1.42.84-.82c-.32-.76-.81-1.57-1.51-2.31l-4.61 6.59-5.26 4.7c-.39.39-1.02.39-1.42 0l-1.2-1.21c-.39-.39-.39-1.02 0-1.41l10.97-9.92c-1.37-.86-3.21-1.46-5.67-1.48 2.7-.82 4.95-.93 6.58-.3 1.7.66 2.82 2.2 3.91 3.58z'; + break; + + case 'heading': + path = 'M12.5 4v5.2h-5V4H5v13h2.5v-5.2h5V17H15V4'; + break; + + case 'heart': + path = 'M10 17.12c3.33-1.4 5.74-3.79 7.04-6.21 1.28-2.41 1.46-4.81.32-6.25-1.03-1.29-2.37-1.78-3.73-1.74s-2.68.63-3.63 1.46c-.95-.83-2.27-1.42-3.63-1.46s-2.7.45-3.73 1.74c-1.14 1.44-.96 3.84.34 6.25 1.28 2.42 3.69 4.81 7.02 6.21z'; + break; + + case 'hidden': + path = 'M17.2 3.3l.16.17c.39.39.39 1.02 0 1.41L4.55 17.7c-.39.39-1.03.39-1.41 0l-.17-.17c-.39-.39-.39-1.02 0-1.41l1.59-1.6c-1.57-1-2.76-2.3-3.56-3.93.81-1.65 2.03-2.98 3.64-3.99S8.04 5.09 10 5.09c1.2 0 2.33.21 3.4.6l2.38-2.39c.39-.39 1.03-.39 1.42 0zm-7.09 4.01c-.23.25-.34.54-.34.88 0 .31.12.58.31.81l1.8-1.79c-.13-.12-.28-.21-.45-.26-.11-.01-.28-.03-.49-.04-.33.03-.6.16-.83.4zM2.4 10.59c.69 1.23 1.71 2.25 3.05 3.05l1.28-1.28c-.51-.69-.77-1.47-.77-2.36 0-1.06.36-1.98 1.09-2.76-1.04.27-1.96.7-2.76 1.26-.8.58-1.43 1.27-1.89 2.09zm13.22-2.13l.96-.96c1.02.86 1.83 1.89 2.42 3.09-.81 1.65-2.03 2.98-3.64 3.99s-3.4 1.51-5.36 1.51c-.63 0-1.24-.07-1.83-.18l1.07-1.07c.25.02.5.05.76.05 1.63 0 3.13-.4 4.5-1.21s2.4-1.84 3.1-3.09c-.46-.82-1.09-1.51-1.89-2.09-.03-.01-.06-.03-.09-.04zm-5.58 5.58l4-4c-.01 1.1-.41 2.04-1.18 2.81-.78.78-1.72 1.18-2.82 1.19z'; + break; + + case 'html': + path = 'M4 16v-2H2v2H1v-5h1v2h2v-2h1v5H4zM7 16v-4H5.6v-1h3.7v1H8v4H7zM10 16v-5h1l1.4 3.4h.1L14 11h1v5h-1v-3.1h-.1l-1.1 2.5h-.6l-1.1-2.5H11V16h-1zM19 16h-3v-5h1v4h2v1zM9.4 4.2L7.1 6.5l2.3 2.3-.6 1.2-3.5-3.5L8.8 3l.6 1.2zm1.2 4.6l2.3-2.3-2.3-2.3.6-1.2 3.5 3.5-3.5 3.5-.6-1.2z'; + break; + + case 'id-alt': + path = 'M18 18H2V2h16v16zM8.05 7.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L8.95 6c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C8.23 4.1 7.95 4 7.6 4c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM16 5V4h-5v1h5zm0 2V6h-5v1h5zM7.62 8.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM16 9V8h-3v1h3zm0 2v-1h-3v1h3zm0 3v-1H4v1h12zm0 2v-1H4v1h12z'; + break; + + case 'id': + path = 'M18 16H2V4h16v12zM7.05 8.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L7.95 7c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C7.23 5.1 6.95 5 6.6 5c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM17 9V5h-5v4h5zm-10.38.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM17 11v-1h-5v1h5zm0 2v-1h-5v1h5zm0 2v-1H3v1h14z'; + break; + + case 'image-crop': + path = 'M19 12v3h-4v4h-3v-4H4V7H0V4h4V0h3v4h7l3-3 1 1-3 3v7h4zm-8-5H7v4zm-3 5h4V8z'; + break; + + case 'image-filter': + path = 'M14 5.87c0-2.2-1.79-4-4-4s-4 1.8-4 4c0 2.21 1.79 4 4 4s4-1.79 4-4zM3.24 10.66c-1.92 1.1-2.57 3.55-1.47 5.46 1.11 1.92 3.55 2.57 5.47 1.47 1.91-1.11 2.57-3.55 1.46-5.47-1.1-1.91-3.55-2.56-5.46-1.46zm9.52 6.93c1.92 1.1 4.36.45 5.47-1.46 1.1-1.92.45-4.36-1.47-5.47-1.91-1.1-4.36-.45-5.46 1.46-1.11 1.92-.45 4.36 1.46 5.47z'; + break; + + case 'image-flip-horizontal': + path = 'M19 3v14h-8v3H9v-3H1V3h8V0h2v3h8zm-8.5 14V3h-1v14h1zM7 6.5L3 10l4 3.5v-7zM17 10l-4-3.5v7z'; + break; + + case 'image-flip-vertical': + path = 'M20 9v2h-3v8H3v-8H0V9h3V1h14v8h3zM6.5 7h7L10 3zM17 9.5H3v1h14v-1zM13.5 13h-7l3.5 4z'; + break; + + case 'image-rotate-left': + path = 'M7 5H5.05c0-1.74.85-2.9 2.95-2.9V0C4.85 0 2.96 2.11 2.96 5H1.18L3.8 8.39zm13-4v14h-5v5H1V10h9V1h10zm-2 2h-6v7h3v3h3V3zm-5 9H3v6h10v-6z'; + break; + + case 'image-rotate-right': + path = 'M15.95 5H14l3.2 3.39L19.82 5h-1.78c0-2.89-1.89-5-5.04-5v2.1c2.1 0 2.95 1.16 2.95 2.9zM1 1h10v9h9v10H6v-5H1V1zm2 2v10h3v-3h3V3H3zm5 9v6h10v-6H8z'; + break; + + case 'image-rotate': + path = 'M10.25 1.02c5.1 0 8.75 4.04 8.75 9s-3.65 9-8.75 9c-3.2 0-6.02-1.59-7.68-3.99l2.59-1.52c1.1 1.5 2.86 2.51 4.84 2.51 3.3 0 6-2.79 6-6s-2.7-6-6-6c-1.97 0-3.72 1-4.82 2.49L7 8.02l-6 2v-7L2.89 4.6c1.69-2.17 4.36-3.58 7.36-3.58z'; + break; + + case 'images-alt': + path = 'M4 15v-3H2V2h12v3h2v3h2v10H6v-3H4zm7-12c-1.1 0-2 .9-2 2h4c0-1.1-.89-2-2-2zm-7 8V6H3v5h1zm7-3h4c0-1.1-.89-2-2-2-1.1 0-2 .9-2 2zm-5 6V9H5v5h1zm9-1c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2s-2 .9-2 2c0 1.11.9 2 2 2zm2 4v-2c-5 0-5-3-10-3v5h10z'; + break; + + case 'images-alt2': + path = 'M5 3h14v11h-2v2h-2v2H1V7h2V5h2V3zm13 10V4H6v9h12zm-3-4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm1 6v-1H5V6H4v9h12zM7 6l10 6H7V6zm7 11v-1H3V8H2v9h12z'; + break; + + case 'index-card': + path = 'M1 3.17V18h18V4H8v-.83c0-.32-.12-.6-.35-.83S7.14 2 6.82 2H2.18c-.33 0-.6.11-.83.34-.24.23-.35.51-.35.83zM10 6v2H3V6h7zm7 0v10h-5V6h5zm-7 4v2H3v-2h7zm0 4v2H3v-2h7z'; + break; + + case 'info-outline': + path = 'M9 15h2V9H9v6zm1-10c-.5 0-1 .5-1 1s.5 1 1 1 1-.5 1-1-.5-1-1-1zm0-4c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7z'; + break; + + case 'info': + path = 'M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1 4c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1zm0 9V9H9v6h2z'; + break; + + case 'insert-after': + path = 'M9 12h2v-2h2V8h-2V6H9v2H7v2h2v2zm1 4c3.9 0 7-3.1 7-7s-3.1-7-7-7-7 3.1-7 7 3.1 7 7 7zm0-12c2.8 0 5 2.2 5 5s-2.2 5-5 5-5-2.2-5-5 2.2-5 5-5zM3 19h14v-2H3v2z'; + break; + + case 'insert-before': + path = 'M11 8H9v2H7v2h2v2h2v-2h2v-2h-2V8zm-1-4c-3.9 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zM3 1v2h14V1H3z'; + break; + + case 'insert': + path = 'M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z'; + break; + + case 'instagram': + path = 'M12.67 10A2.67 2.67 0 1 0 10 12.67 2.68 2.68 0 0 0 12.67 10zm1.43 0A4.1 4.1 0 1 1 10 5.9a4.09 4.09 0 0 1 4.1 4.1zm1.13-4.27a1 1 0 1 1-1-1 1 1 0 0 1 1 1zM10 3.44c-1.17 0-3.67-.1-4.72.32a2.67 2.67 0 0 0-1.52 1.52c-.42 1-.32 3.55-.32 4.72s-.1 3.67.32 4.72a2.74 2.74 0 0 0 1.52 1.52c1 .42 3.55.32 4.72.32s3.67.1 4.72-.32a2.83 2.83 0 0 0 1.52-1.52c.42-1.05.32-3.55.32-4.72s.1-3.67-.32-4.72a2.74 2.74 0 0 0-1.52-1.52c-1.05-.42-3.55-.32-4.72-.32zM18 10c0 1.1 0 2.2-.05 3.3a4.84 4.84 0 0 1-1.29 3.36A4.8 4.8 0 0 1 13.3 18H6.7a4.84 4.84 0 0 1-3.36-1.29 4.84 4.84 0 0 1-1.29-3.41C2 12.2 2 11.1 2 10V6.7a4.84 4.84 0 0 1 1.34-3.36A4.8 4.8 0 0 1 6.7 2.05C7.8 2 8.9 2 10 2h3.3a4.84 4.84 0 0 1 3.36 1.29A4.8 4.8 0 0 1 18 6.7V10z'; + break; + + case 'keyboard-hide': + path = 'M18,0 L2,0 C0.9,0 0.01,0.9 0.01,2 L0,12 C0,13.1 0.9,14 2,14 L18,14 C19.1,14 20,13.1 20,12 L20,2 C20,0.9 19.1,0 18,0 Z M18,12 L2,12 L2,2 L18,2 L18,12 Z M9,3 L11,3 L11,5 L9,5 L9,3 Z M9,6 L11,6 L11,8 L9,8 L9,6 Z M6,3 L8,3 L8,5 L6,5 L6,3 Z M6,6 L8,6 L8,8 L6,8 L6,6 Z M3,6 L5,6 L5,8 L3,8 L3,6 Z M3,3 L5,3 L5,5 L3,5 L3,3 Z M6,9 L14,9 L14,11 L6,11 L6,9 Z M12,6 L14,6 L14,8 L12,8 L12,6 Z M12,3 L14,3 L14,5 L12,5 L12,3 Z M15,6 L17,6 L17,8 L15,8 L15,6 Z M15,3 L17,3 L17,5 L15,5 L15,3 Z M10,20 L14,16 L6,16 L10,20 Z'; + break; + + case 'laptop': + path = 'M3 3h14c.6 0 1 .4 1 1v10c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V4c0-.6.4-1 1-1zm13 2H4v8h12V5zm-3 1H5v4zm6 11v-1H1v1c0 .6.5 1 1.1 1h15.8c.6 0 1.1-.4 1.1-1z'; + break; + + case 'layout': + path = 'M2 2h5v11H2V2zm6 0h5v5H8V2zm6 0h4v16h-4V2zM8 8h5v5H8V8zm-6 6h11v4H2v-4z'; + break; + + case 'leftright': + path = 'M3 10.03L9 6v8zM11 6l6 4.03L11 14V6z'; + break; + + case 'lightbulb': + path = 'M10 1c3.11 0 5.63 2.52 5.63 5.62 0 1.84-2.03 4.58-2.03 4.58-.33.44-.6 1.25-.6 1.8v1c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-1c0-.55-.27-1.36-.6-1.8 0 0-2.02-2.74-2.02-4.58C4.38 3.52 6.89 1 10 1zM7 16.87V16h6v.87c0 .62-.13 1.13-.75 1.13H12c0 .62-.4 1-1.02 1h-2c-.61 0-.98-.38-.98-1h-.25c-.62 0-.75-.51-.75-1.13z'; + break; + + case 'list-view': + path = 'M2 19h16c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V3h11zM4 7c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V7h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11zM4 15c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11z'; + break; + + case 'location-alt': + path = 'M13 13.14l1.17-5.94c.79-.43 1.33-1.25 1.33-2.2 0-1.38-1.12-2.5-2.5-2.5S10.5 3.62 10.5 5c0 .95.54 1.77 1.33 2.2zm0-9.64c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm1.72 4.8L18 6.97v9L13.12 18 7 15.97l-5 2v-9l5-2 4.27 1.41 1.73 7.3z'; + break; + + case 'location': + path = 'M10 2C6.69 2 4 4.69 4 8c0 2.02 1.17 3.71 2.53 4.89.43.37 1.18.96 1.85 1.83.74.97 1.41 2.01 1.62 2.71.21-.7.88-1.74 1.62-2.71.67-.87 1.42-1.46 1.85-1.83C14.83 11.71 16 10.02 16 8c0-3.31-2.69-6-6-6zm0 2.56c1.9 0 3.44 1.54 3.44 3.44S11.9 11.44 10 11.44 6.56 9.9 6.56 8 8.1 4.56 10 4.56z'; + break; + + case 'lock': + path = 'M14 9h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h1V6c0-2.21 1.79-4 4-4s4 1.79 4 4v3zm-2 0V6c0-1.1-.9-2-2-2s-2 .9-2 2v3h4zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z'; + break; + + case 'marker': + path = 'M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z'; + break; + + case 'media-archive': + path = 'M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zM8 3.5v2l1.8-1zM11 5L9.2 6 11 7V5zM8 6.5v2l1.8-1zM11 8L9.2 9l1.8 1V8zM8 9.5v2l1.8-1zm3 1.5l-1.8 1 1.8 1v-2zm-1.5 6c.83 0 1.62-.72 1.5-1.63-.05-.38-.49-1.61-.49-1.61l-1.99-1.1s-.45 1.95-.52 2.71c-.07.77.67 1.63 1.5 1.63zm0-2.39c.42 0 .76.34.76.76 0 .43-.34.77-.76.77s-.76-.34-.76-.77c0-.42.34-.76.76-.76z'; + break; + + case 'media-audio': + path = 'M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm1 7.26V8.09c0-.11-.04-.21-.12-.29-.07-.08-.16-.11-.27-.1 0 0-3.97.71-4.25.78C8.07 8.54 8 8.8 8 9v3.37c-.2-.09-.42-.07-.6-.07-.38 0-.7.13-.96.39-.26.27-.4.58-.4.96 0 .37.14.69.4.95.26.27.58.4.96.4.34 0 .7-.04.96-.26.26-.23.64-.65.64-1.12V10.3l3-.6V12c-.67-.2-1.17.04-1.44.31-.26.26-.39.58-.39.95 0 .38.13.69.39.96.27.26.71.39 1.08.39.38 0 .7-.13.96-.39.26-.27.4-.58.4-.96z'; + break; + + case 'media-code': + path = 'M12 2l4 4v12H4V2h8zM9 13l-2-2 2-2-1-1-3 3 3 3zm3 1l3-3-3-3-1 1 2 2-2 2z'; + break; + + case 'media-default': + path = 'M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3z'; + break; + + case 'media-document': + path = 'M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zM5 9v1h4V9H5zm10 3V9h-5v3h5zM5 11v1h4v-1H5zm10 3v-1H5v1h10zm-3 2v-1H5v1h7z'; + break; + + case 'media-interactive': + path = 'M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm2 8V8H6v6h3l-1 2h1l1-2 1 2h1l-1-2h3zm-6-3c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm5-2v2h-3V9h3zm0 3v1H7v-1h6z'; + break; + + case 'media-spreadsheet': + path = 'M12 2l4 4v12H4V2h8zm-1 4V3H5v3h6zM8 8V7H5v1h3zm3 0V7H9v1h2zm4 0V7h-3v1h3zm-7 2V9H5v1h3zm3 0V9H9v1h2zm4 0V9h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2z'; + break; + + case 'media-text': + path = 'M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zm0 2V9H5v1h10zm0 2v-1H5v1h10zm-4 2v-1H5v1h6z'; + break; + + case 'media-video': + path = 'M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm-1 8v-3c0-.27-.1-.51-.29-.71-.2-.19-.44-.29-.71-.29H7c-.27 0-.51.1-.71.29-.19.2-.29.44-.29.71v3c0 .27.1.51.29.71.2.19.44.29.71.29h3c.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71zm3 1v-5l-2 2v1z'; + break; + + case 'megaphone': + path = 'M18.15 5.94c.46 1.62.38 3.22-.02 4.48-.42 1.28-1.26 2.18-2.3 2.48-.16.06-.26.06-.4.06-.06.02-.12.02-.18.02-.06.02-.14.02-.22.02h-6.8l2.22 5.5c.02.14-.06.26-.14.34-.08.1-.24.16-.34.16H6.95c-.1 0-.26-.06-.34-.16-.08-.08-.16-.2-.14-.34l-1-5.5H4.25l-.02-.02c-.5.06-1.08-.18-1.54-.62s-.88-1.08-1.06-1.88c-.24-.8-.2-1.56-.02-2.2.18-.62.58-1.08 1.06-1.3l.02-.02 9-5.4c.1-.06.18-.1.24-.16.06-.04.14-.08.24-.12.16-.08.28-.12.5-.18 1.04-.3 2.24.1 3.22.98s1.84 2.24 2.26 3.86zm-2.58 5.98h-.02c.4-.1.74-.34 1.04-.7.58-.7.86-1.76.86-3.04 0-.64-.1-1.3-.28-1.98-.34-1.36-1.02-2.5-1.78-3.24s-1.68-1.1-2.46-.88c-.82.22-1.4.96-1.7 2-.32 1.04-.28 2.36.06 3.72.38 1.36 1 2.5 1.8 3.24.78.74 1.62 1.1 2.48.88zm-2.54-7.08c.22-.04.42-.02.62.04.38.16.76.48 1.02 1s.42 1.2.42 1.78c0 .3-.04.56-.12.8-.18.48-.44.84-.86.94-.34.1-.8-.06-1.14-.4s-.64-.86-.78-1.5c-.18-.62-.12-1.24.02-1.72s.48-.84.82-.94z'; + break; + + case 'menu-alt': + path = 'M3 4h14v2H3V4zm0 5h14v2H3V9zm0 5h14v2H3v-2z'; + break; + + case 'menu': + path = 'M17 7V5H3v2h14zm0 4V9H3v2h14zm0 4v-2H3v2h14z'; + break; + + case 'microphone': + path = 'M12 9V3c0-1.1-.89-2-2-2-1.12 0-2 .94-2 2v6c0 1.1.9 2 2 2 1.13 0 2-.94 2-2zm4 0c0 2.97-2.16 5.43-5 5.91V17h2c.56 0 1 .45 1 1s-.44 1-1 1H7c-.55 0-1-.45-1-1s.45-1 1-1h2v-2.09C6.17 14.43 4 11.97 4 9c0-.55.45-1 1-1 .56 0 1 .45 1 1 0 2.21 1.8 4 4 4 2.21 0 4-1.79 4-4 0-.55.45-1 1-1 .56 0 1 .45 1 1z'; + break; + + case 'migrate': + path = 'M4 6h6V4H2v12.01h8V14H4V6zm2 2h6V5l6 5-6 5v-3H6V8z'; + break; + + case 'minus': + path = 'M4 9h12v2H4V9z'; + break; + + case 'money': + path = 'M0 3h20v12h-.75c0-1.79-1.46-3.25-3.25-3.25-1.31 0-2.42.79-2.94 1.91-.25-.1-.52-.16-.81-.16-.98 0-1.8.63-2.11 1.5H0V3zm8.37 3.11c-.06.15-.1.31-.11.47s-.01.33.01.5l.02.08c.01.06.02.14.05.23.02.1.06.2.1.31.03.11.09.22.15.33.07.12.15.22.23.31s.18.17.31.23c.12.06.25.09.4.09.14 0 .27-.03.39-.09s.22-.14.3-.22c.09-.09.16-.2.22-.32.07-.12.12-.23.16-.33s.07-.2.09-.31c.03-.11.04-.18.05-.22s.01-.07.01-.09c.05-.29.03-.56-.04-.82s-.21-.48-.41-.66c-.21-.18-.47-.27-.79-.27-.19 0-.36.03-.52.1-.15.07-.28.16-.38.28-.09.11-.17.25-.24.4zm4.48 6.04v-1.14c0-.33-.1-.66-.29-.98s-.45-.59-.77-.79c-.32-.21-.66-.31-1.02-.31l-1.24.84-1.28-.82c-.37 0-.72.1-1.04.3-.31.2-.56.46-.74.77-.18.32-.27.65-.27.99v1.14l.18.05c.12.04.29.08.51.14.23.05.47.1.74.15.26.05.57.09.91.13.34.03.67.05.99.05.3 0 .63-.02.98-.05.34-.04.64-.08.89-.13.25-.04.5-.1.76-.16l.5-.12c.08-.02.14-.04.19-.06zm3.15.1c1.52 0 2.75 1.23 2.75 2.75s-1.23 2.75-2.75 2.75c-.73 0-1.38-.3-1.87-.77.23-.35.37-.78.37-1.23 0-.77-.39-1.46-.99-1.86.43-.96 1.37-1.64 2.49-1.64zm-5.5 3.5c0-.96.79-1.75 1.75-1.75s1.75.79 1.75 1.75-.79 1.75-1.75 1.75-1.75-.79-1.75-1.75z'; + break; + + case 'move': + path = 'M19 10l-4 4v-3h-4v4h3l-4 4-4-4h3v-4H5v3l-4-4 4-4v3h4V5H6l4-4 4 4h-3v4h4V6z'; + break; + + case 'nametag': + path = 'M12 5V2c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-2-3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 13V7c0-1.1-.9-2-2-2h-3v.33C13 6.25 12.25 7 11.33 7H8.67C7.75 7 7 6.25 7 5.33V5H4c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-1-6v6H3V9h14zm-8 2c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm3 0c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm-5.96 1.21c.92.48 2.34.79 3.96.79s3.04-.31 3.96-.79c-.21 1-1.89 1.79-3.96 1.79s-3.75-.79-3.96-1.79z'; + break; + + case 'networking': + path = 'M18 13h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01h-4c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2h-5v2h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01H8c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2H4v2h1c.55 0 1 .45 1 1.01v2.98C6 17.55 5.55 18 5 18H1c-.55 0-1-.45-1-1.01v-2.98C0 13.45.45 13 1 13h1v-2c0-1.1.9-2 2-2h5V7H8c-.55 0-1-.45-1-1.01V3.01C7 2.45 7.45 2 8 2h4c.55 0 1 .45 1 1.01v2.98C13 6.55 12.55 7 12 7h-1v2h5c1.1 0 2 .9 2 2v2z'; + break; + + case 'no-alt': + path = 'M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z'; + break; + + case 'no': + path = 'M12.12 10l3.53 3.53-2.12 2.12L10 12.12l-3.54 3.54-2.12-2.12L7.88 10 4.34 6.46l2.12-2.12L10 7.88l3.54-3.53 2.12 2.12z'; + break; + + case 'palmtree': + path = 'M8.58 2.39c.32 0 .59.05.81.14 1.25.55 1.69 2.24 1.7 3.97.59-.82 2.15-2.29 3.41-2.29s2.94.73 3.53 3.55c-1.13-.65-2.42-.94-3.65-.94-1.26 0-2.45.32-3.29.89.4-.11.86-.16 1.33-.16 1.39 0 2.9.45 3.4 1.31.68 1.16.47 3.38-.76 4.14-.14-2.1-1.69-4.12-3.47-4.12-.44 0-.88.12-1.33.38C8 10.62 7 14.56 7 19H2c0-5.53 4.21-9.65 7.68-10.79-.56-.09-1.17-.15-1.82-.15C6.1 8.06 4.05 8.5 2 10c.76-2.96 2.78-4.1 4.69-4.1 1.25 0 2.45.5 3.2 1.29-.66-2.24-2.49-2.86-4.08-2.86-.8 0-1.55.16-2.05.35.91-1.29 3.31-2.29 4.82-2.29zM13 11.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5.67 1.5 1.5 1.5 1.5-.67 1.5-1.5z'; + break; + + case 'paperclip': + path = 'M17.05 2.7c1.93 1.94 1.93 5.13 0 7.07L10 16.84c-1.88 1.89-4.91 1.93-6.86.15-.06-.05-.13-.09-.19-.15-1.93-1.94-1.93-5.12 0-7.07l4.94-4.95c.91-.92 2.28-1.1 3.39-.58.3.15.59.33.83.58 1.17 1.17 1.17 3.07 0 4.24l-4.93 4.95c-.39.39-1.02.39-1.41 0s-.39-1.02 0-1.41l4.93-4.95c.39-.39.39-1.02 0-1.41-.38-.39-1.02-.39-1.4 0l-4.94 4.95c-.91.92-1.1 2.29-.57 3.4.14.3.32.59.57.84s.54.43.84.57c1.11.53 2.47.35 3.39-.57l7.05-7.07c1.16-1.17 1.16-3.08 0-4.25-.56-.55-1.28-.83-2-.86-.08.01-.16.01-.24 0-.22-.03-.43-.11-.6-.27-.39-.4-.38-1.05.02-1.45.16-.16.36-.24.56-.28.14-.02.27-.01.4.02 1.19.06 2.36.52 3.27 1.43z'; + break; + + case 'performance': + path = 'M3.76 17.01h12.48C17.34 15.63 18 13.9 18 12c0-4.41-3.58-8-8-8s-8 3.59-8 8c0 1.9.66 3.63 1.76 5.01zM9 6c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zM4 8c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm4.52 3.4c.84-.83 6.51-3.5 6.51-3.5s-2.66 5.68-3.49 6.51c-.84.84-2.18.84-3.02 0-.83-.83-.83-2.18 0-3.01zM3 13c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1z'; + break; + + case 'phone': + path = 'M12.06 6l-.21-.2c-.52-.54-.43-.79.08-1.3l2.72-2.75c.81-.82.96-1.21 1.73-.48l.21.2zm.53.45l4.4-4.4c.7.94 2.34 3.47 1.53 5.34-.73 1.67-1.09 1.75-2 3-1.85 2.11-4.18 4.37-6 6.07-1.26.91-1.31 1.33-3 2-1.8.71-4.4-.89-5.38-1.56l4.4-4.4 1.18 1.62c.34.46 1.2-.06 1.8-.66 1.04-1.05 3.18-3.18 4-4.07.59-.59 1.12-1.45.66-1.8zM1.57 16.5l-.21-.21c-.68-.74-.29-.9.52-1.7l2.74-2.72c.51-.49.75-.6 1.27-.11l.2.21z'; + break; + + case 'playlist-audio': + path = 'M17 3V1H2v2h15zm0 4V5H2v2h15zm-7 4V9H2v2h8zm7.45-1.96l-6 1.12c-.16.02-.19.03-.29.13-.11.09-.16.22-.16.37v4.59c-.29-.13-.66-.14-.93-.14-.54 0-1 .19-1.38.57s-.56.84-.56 1.38c0 .53.18.99.56 1.37s.84.57 1.38.57c.49 0 .92-.16 1.29-.48s.59-.71.65-1.19v-4.95L17 11.27v3.48c-.29-.13-.56-.19-.83-.19-.54 0-1.11.19-1.49.57-.38.37-.57.83-.57 1.37s.19.99.57 1.37.84.57 1.38.57c.53 0 .99-.19 1.37-.57s.57-.83.57-1.37V9.6c0-.16-.05-.3-.16-.41-.11-.12-.24-.17-.39-.15zM8 15v-2H2v2h6zm-2 4v-2H2v2h4z'; + break; + + case 'playlist-video': + path = 'M17 3V1H2v2h15zm0 4V5H2v2h15zM6 11V9H2v2h4zm2-2h9c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-8c0-.55.45-1 1-1zm3 7l3.33-2L11 12v4zm-5-1v-2H2v2h4zm0 4v-2H2v2h4z'; + break; + + case 'plus-alt': + path = 'M15.8 4.2c3.2 3.21 3.2 8.39 0 11.6-3.21 3.2-8.39 3.2-11.6 0C1 12.59 1 7.41 4.2 4.2 7.41 1 12.59 1 15.8 4.2zm-4.3 11.3v-4h4v-3h-4v-4h-3v4h-4v3h4v4h3z'; + break; + + case 'plus-light': + path = 'M17 9v2h-6v6H9v-6H3V9h6V3h2v6h6z'; + break; + + case 'plus': + path = 'M17 7v3h-5v5H9v-5H4V7h5V2h3v5h5z'; + break; + + case 'portfolio': + path = 'M4 5H.78c-.37 0-.74.32-.69.84l1.56 9.99S3.5 8.47 3.86 6.7c.11-.53.61-.7.98-.7H10s-.7-2.08-.77-2.31C9.11 3.25 8.89 3 8.45 3H5.14c-.36 0-.7.23-.8.64C4.25 4.04 4 5 4 5zm4.88 0h-4s.42-1 .87-1h2.13c.48 0 1 1 1 1zM2.67 16.25c-.31.47-.76.75-1.26.75h15.73c.54 0 .92-.31 1.03-.83.44-2.19 1.68-8.44 1.68-8.44.07-.5-.3-.73-.62-.73H16V5.53c0-.16-.26-.53-.66-.53h-3.76c-.52 0-.87.58-.87.58L10 7H5.59c-.32 0-.63.19-.69.5 0 0-1.59 6.7-1.72 7.33-.07.37-.22.99-.51 1.42zM15.38 7H11s.58-1 1.13-1h2.29c.71 0 .96 1 .96 1z'; + break; + + case 'post-status': + path = 'M14 6c0 1.86-1.28 3.41-3 3.86V16c0 1-2 2-2 2V9.86c-1.72-.45-3-2-3-3.86 0-2.21 1.79-4 4-4s4 1.79 4 4zM8 5c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1z'; + break; + + case 'pressthis': + path = 'M14.76 1C16.55 1 18 2.46 18 4.25c0 1.78-1.45 3.24-3.24 3.24-.23 0-.47-.03-.7-.08L13 8.47V19H2V4h9.54c.13-2 1.52-3 3.22-3zm0 5.49C16 6.49 17 5.48 17 4.25 17 3.01 16 2 14.76 2s-2.24 1.01-2.24 2.25c0 .37.1.72.27 1.03L9.57 8.5c-.28.28-1.77 2.22-1.5 2.49.02.03.06.04.1.04.49 0 2.14-1.28 2.39-1.53l3.24-3.24c.29.14.61.23.96.23z'; + break; + + case 'products': + path = 'M17 8h1v11H2V8h1V6c0-2.76 2.24-5 5-5 .71 0 1.39.15 2 .42.61-.27 1.29-.42 2-.42 2.76 0 5 2.24 5 5v2zM5 6v2h2V6c0-1.13.39-2.16 1.02-3H8C6.35 3 5 4.35 5 6zm10 2V6c0-1.65-1.35-3-3-3h-.02c.63.84 1.02 1.87 1.02 3v2h2zm-5-4.22C9.39 4.33 9 5.12 9 6v2h2V6c0-.88-.39-1.67-1-2.22z'; + break; + + case 'randomize': + path = 'M18 6.01L14 9V7h-4l-5 8H2v-2h2l5-8h5V3zM2 5h3l1.15 2.17-1.12 1.8L4 7H2V5zm16 9.01L14 17v-2H9l-1.15-2.17 1.12-1.8L10 13h4v-2z'; + break; + + case 'redo': + path = 'M8 5h5V2l6 4-6 4V7H8c-2.2 0-4 1.8-4 4s1.8 4 4 4h5v2H8c-3.3 0-6-2.7-6-6s2.7-6 6-6z'; + break; + + case 'rest-api': + path = 'M3 4h2v12H3z'; + break; + + case 'rss': + path = 'M14.92 18H18C18 9.32 10.82 2.25 2 2.25v3.02c7.12 0 12.92 5.71 12.92 12.73zm-5.44 0h3.08C12.56 12.27 7.82 7.6 2 7.6v3.02c2 0 3.87.77 5.29 2.16C8.7 14.17 9.48 16.03 9.48 18zm-5.35-.02c1.17 0 2.13-.93 2.13-2.09 0-1.15-.96-2.09-2.13-2.09-1.18 0-2.13.94-2.13 2.09 0 1.16.95 2.09 2.13 2.09z'; + break; + + case 'saved': + path = 'M15.3 5.3l-6.8 6.8-2.8-2.8-1.4 1.4 4.2 4.2 8.2-8.2'; + break; + + case 'schedule': + path = 'M2 2h16v4H2V2zm0 10V8h4v4H2zm6-2V8h4v2H8zm6 3V8h4v5h-4zm-6 5v-6h4v6H8zm-6 0v-4h4v4H2zm12 0v-3h4v3h-4z'; + break; + + case 'screenoptions': + path = 'M9 9V3H3v6h6zm8 0V3h-6v6h6zm-8 8v-6H3v6h6zm8 0v-6h-6v6h6z'; + break; + + case 'search': + path = 'M12.14 4.18c1.87 1.87 2.11 4.75.72 6.89.12.1.22.21.36.31.2.16.47.36.81.59.34.24.56.39.66.47.42.31.73.57.94.78.32.32.6.65.84 1 .25.35.44.69.59 1.04.14.35.21.68.18 1-.02.32-.14.59-.36.81s-.49.34-.81.36c-.31.02-.65-.04-.99-.19-.35-.14-.7-.34-1.04-.59-.35-.24-.68-.52-1-.84-.21-.21-.47-.52-.77-.93-.1-.13-.25-.35-.47-.66-.22-.32-.4-.57-.56-.78-.16-.2-.29-.35-.44-.5-2.07 1.09-4.69.76-6.44-.98-2.14-2.15-2.14-5.64 0-7.78 2.15-2.15 5.63-2.15 7.78 0zm-1.41 6.36c1.36-1.37 1.36-3.58 0-4.95-1.37-1.37-3.59-1.37-4.95 0-1.37 1.37-1.37 3.58 0 4.95 1.36 1.37 3.58 1.37 4.95 0z'; + break; + + case 'share-alt': + path = 'M16.22 5.8c.47.69.29 1.62-.4 2.08-.69.47-1.62.29-2.08-.4-.16-.24-.35-.46-.55-.67-.21-.2-.43-.39-.67-.55s-.5-.3-.77-.41c-.27-.12-.55-.21-.84-.26-.59-.13-1.23-.13-1.82-.01-.29.06-.57.15-.84.27-.27.11-.53.25-.77.41s-.46.35-.66.55c-.21.21-.4.43-.56.67s-.3.5-.41.76c-.01.02-.01.03-.01.04-.1.24-.17.48-.23.72H1V6h2.66c.04-.07.07-.13.12-.2.27-.4.57-.77.91-1.11s.72-.65 1.11-.91c.4-.27.83-.51 1.28-.7s.93-.34 1.41-.43c.99-.21 2.03-.21 3.02 0 .48.09.96.24 1.41.43s.88.43 1.28.7c.39.26.77.57 1.11.91s.64.71.91 1.11zM12.5 10c0-1.38-1.12-2.5-2.5-2.5S7.5 8.62 7.5 10s1.12 2.5 2.5 2.5 2.5-1.12 2.5-2.5zm-8.72 4.2c-.47-.69-.29-1.62.4-2.09.69-.46 1.62-.28 2.08.41.16.24.35.46.55.67.21.2.43.39.67.55s.5.3.77.41c.27.12.55.2.84.26.59.13 1.23.12 1.82 0 .29-.06.57-.14.84-.26.27-.11.53-.25.77-.41s.46-.35.66-.55c.21-.21.4-.44.56-.67.16-.25.3-.5.41-.76.01-.02.01-.03.01-.04.1-.24.17-.48.23-.72H19v3h-2.66c-.04.06-.07.13-.12.2-.27.4-.57.77-.91 1.11s-.72.65-1.11.91c-.4.27-.83.51-1.28.7s-.93.33-1.41.43c-.99.21-2.03.21-3.02 0-.48-.1-.96-.24-1.41-.43s-.88-.43-1.28-.7c-.39-.26-.77-.57-1.11-.91s-.64-.71-.91-1.11z'; + break; + + case 'share-alt2': + path = 'M18 8l-5 4V9.01c-2.58.06-4.88.45-7 2.99.29-3.57 2.66-5.66 7-5.94V3zM4 14h11v-2l2-1.6V16H2V5h9.43c-1.83.32-3.31 1-4.41 2H4v7z'; + break; + + case 'share': + path = 'M14.5 12c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3c0-.24.03-.46.09-.69l-4.38-2.3c-.55.61-1.33.99-2.21.99-1.66 0-3-1.34-3-3s1.34-3 3-3c.88 0 1.66.39 2.21.99l4.38-2.3c-.06-.23-.09-.45-.09-.69 0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3c-.88 0-1.66-.39-2.21-.99l-4.38 2.3c.06.23.09.45.09.69s-.03.46-.09.69l4.38 2.3c.55-.61 1.33-.99 2.21-.99z'; + break; + + case 'shield-alt': + path = 'M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2z'; + break; + + case 'shield': + path = 'M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2zm0 8h5s1-1 1-5c0 0-5-1-6-2v7H5c1 4 5 7 5 7v-7z'; + break; + + case 'shortcode': + path = 'M6 14H4V6h2V4H2v12h4M7.1 17h2.1l3.7-14h-2.1M14 4v2h2v8h-2v2h4V4'; + break; + + case 'slides': + path = 'M5 14V6h10v8H5zm-3-1V7h2v6H2zm4-6v6h8V7H6zm10 0h2v6h-2V7zm-3 2V8H7v1h6zm0 3v-2H7v2h6z'; + break; + + case 'smartphone': + path = 'M6 2h8c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm7 12V4H7v10h6zM8 5h4l-4 5V5z'; + break; + + case 'smiley': + path = 'M7 5.2c1.1 0 2 .89 2 2 0 .37-.11.71-.28 1C8.72 8.2 8 8 7 8s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.9-2 2-2zm6 0c1.11 0 2 .89 2 2 0 .37-.11.71-.28 1 0 0-.72-.2-1.72-.2s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.89-2 2-2zm-3 13.7c3.72 0 7.03-2.36 8.23-5.88l-1.32-.46C15.9 15.52 13.12 17.5 10 17.5s-5.9-1.98-6.91-4.94l-1.32.46c1.2 3.52 4.51 5.88 8.23 5.88z'; + break; + + case 'sort': + path = 'M11 7H1l5 7zm-2 7h10l-5-7z'; + break; + + case 'sos': + path = 'M18 10c0-4.42-3.58-8-8-8s-8 3.58-8 8 3.58 8 8 8 8-3.58 8-8zM7.23 3.57L8.72 7.3c-.62.29-1.13.8-1.42 1.42L3.57 7.23c.71-1.64 2.02-2.95 3.66-3.66zm9.2 3.66L12.7 8.72c-.29-.62-.8-1.13-1.42-1.42l1.49-3.73c1.64.71 2.95 2.02 3.66 3.66zM10 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm-6.43.77l3.73-1.49c.29.62.8 1.13 1.42 1.42l-1.49 3.73c-1.64-.71-2.95-2.02-3.66-3.66zm9.2 3.66l-1.49-3.73c.62-.29 1.13-.8 1.42-1.42l3.73 1.49c-.71 1.64-2.02 2.95-3.66 3.66z'; + break; + + case 'star-empty': + path = 'M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88l-4.68 2.34.87-5.15-3.18-3.56 4.65-.58z'; + break; + + case 'star-filled': + path = 'M10 1l3 6 6 .75-4.12 4.62L16 19l-6-3-6 3 1.13-6.63L1 7.75 7 7z'; + break; + + case 'star-half': + path = 'M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88V3.24z'; + break; + + case 'sticky': + path = 'M5 3.61V1.04l8.99-.01-.01 2.58c-1.22.26-2.16 1.35-2.16 2.67v.5c.01 1.31.93 2.4 2.17 2.66l-.01 2.58h-3.41l-.01 2.57c0 .6-.47 4.41-1.06 4.41-.6 0-1.08-3.81-1.08-4.41v-2.56L5 12.02l.01-2.58c1.23-.25 2.15-1.35 2.15-2.66v-.5c0-1.31-.92-2.41-2.16-2.67z'; + break; + + case 'store': + path = 'M1 10c.41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.51.43.54 0 1.08-.14 1.49-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.63-.46 1-1.17 1-2V7l-3-7H4L0 7v1c0 .83.37 1.54 1 2zm2 8.99h5v-5h4v5h5v-7c-.37-.05-.72-.22-1-.43-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.49.44-.55 0-1.1-.14-1.51-.44-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.5.44-.54 0-1.09-.14-1.5-.44-.63-.45-1-.73-1-1.57 0 .84-.38 1.12-1 1.57-.29.21-.63.38-1 .44v6.99z'; + break; + + case 'table-col-after': + path = 'M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z'; + break; + + case 'table-col-before': + path = 'M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z'; + break; + + case 'table-col-delete': + path = 'M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z'; + break; + + case 'table-row-after': + path = 'M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z'; + break; + + case 'table-row-before': + path = 'M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z'; + break; + + case 'table-row-delete': + path = 'M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z'; + break; + + case 'tablet': + path = 'M4 2h12c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H4c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm11 14V4H5v12h10zM6 5h6l-6 5V5z'; + break; + + case 'tag': + path = 'M11 2h7v7L8 19l-7-7zm3 6c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z'; + break; + + case 'tagcloud': + path = 'M11 3v4H1V3h10zm8 0v4h-7V3h7zM7 8v3H1V8h6zm12 0v3H8V8h11zM9 12v2H1v-2h8zm10 0v2h-9v-2h9zM6 15v1H1v-1h5zm5 0v1H7v-1h4zm3 0v1h-2v-1h2zm5 0v1h-4v-1h4z'; + break; + + case 'testimonial': + path = 'M4 3h12c.55 0 1.02.2 1.41.59S18 4.45 18 5v7c0 .55-.2 1.02-.59 1.41S16.55 14 16 14h-1l-5 5v-5H4c-.55 0-1.02-.2-1.41-.59S2 12.55 2 12V5c0-.55.2-1.02.59-1.41S3.45 3 4 3zm11 2H4v1h11V5zm1 3H4v1h12V8zm-3 3H4v1h9v-1z'; + break; + + case 'text': + path = 'M18 3v2H2V3h16zm-6 4v2H2V7h10zm6 0v2h-4V7h4zM8 11v2H2v-2h6zm10 0v2h-8v-2h8zm-4 4v2H2v-2h12z'; + break; + + case 'thumbs-down': + path = 'M7.28 18c-.15.02-.26-.02-.41-.07-.56-.19-.83-.79-.66-1.35.17-.55 1-3.04 1-3.58 0-.53-.75-1-1.35-1h-3c-.6 0-1-.4-1-1s2-7 2-7c.17-.39.55-1 1-1H14v9h-2.14c-.41.41-3.3 4.71-3.58 5.27-.21.41-.6.68-1 .73zM18 12h-2V3h2v9z'; + break; + + case 'thumbs-up': + path = 'M12.72 2c.15-.02.26.02.41.07.56.19.83.79.66 1.35-.17.55-1 3.04-1 3.58 0 .53.75 1 1.35 1h3c.6 0 1 .4 1 1s-2 7-2 7c-.17.39-.55 1-1 1H6V8h2.14c.41-.41 3.3-4.71 3.58-5.27.21-.41.6-.68 1-.73zM2 8h2v9H2V8z'; + break; + + case 'tickets-alt': + path = 'M20 6.38L18.99 9.2v-.01c-.52-.19-1.03-.16-1.53.08s-.85.62-1.04 1.14-.16 1.03.07 1.53c.24.5.62.84 1.15 1.03v.01l-1.01 2.82-15.06-5.38.99-2.79c.52.19 1.03.16 1.53-.08.5-.23.84-.61 1.03-1.13s.16-1.03-.08-1.53c-.23-.49-.61-.83-1.13-1.02L4.93 1zm-4.97 5.69l1.37-3.76c.12-.31.1-.65-.04-.95s-.39-.53-.7-.65L8.14 3.98c-.64-.23-1.37.12-1.6.74L5.17 8.48c-.24.65.1 1.37.74 1.6l7.52 2.74c.14.05.28.08.43.08.52 0 1-.33 1.17-.83zM7.97 4.45l7.51 2.73c.19.07.34.21.43.39.08.18.09.38.02.57l-1.37 3.76c-.13.38-.58.59-.96.45L6.09 9.61c-.39-.14-.59-.57-.45-.96l1.37-3.76c.1-.29.39-.49.7-.49.09 0 .17.02.26.05zm6.82 12.14c.35.27.75.41 1.2.41H16v3H0v-2.96c.55 0 1.03-.2 1.41-.59.39-.38.59-.86.59-1.41s-.2-1.02-.59-1.41-.86-.59-1.41-.59V10h1.05l-.28.8 2.87 1.02c-.51.16-.89.62-.89 1.18v4c0 .69.56 1.25 1.25 1.25h8c.69 0 1.25-.56 1.25-1.25v-1.75l.83.3c.12.43.36.78.71 1.04zM3.25 17v-4c0-.41.34-.75.75-.75h.83l7.92 2.83V17c0 .41-.34.75-.75.75H4c-.41 0-.75-.34-.75-.75z'; + break; + + case 'tickets': + path = 'M20 5.38L18.99 8.2v-.01c-1.04-.37-2.19.18-2.57 1.22-.37 1.04.17 2.19 1.22 2.56v.01l-1.01 2.82L1.57 9.42l.99-2.79c1.04.38 2.19-.17 2.56-1.21s-.17-2.18-1.21-2.55L4.93 0zm-5.45 3.37c.74-2.08-.34-4.37-2.42-5.12-2.08-.74-4.37.35-5.11 2.42-.74 2.08.34 4.38 2.42 5.12 2.07.74 4.37-.35 5.11-2.42zm-2.56-4.74c.89.32 1.57.94 1.97 1.71-.01-.01-.02-.01-.04-.02-.33-.12-.67.09-.78.4-.1.28-.03.57.05.91.04.27.09.62-.06 1.04-.1.29-.33.58-.65 1l-.74 1.01.08-4.08.4.11c.19.04.26-.24.08-.29 0 0-.57-.15-.92-.28-.34-.12-.88-.36-.88-.36-.18-.08-.3.19-.12.27 0 0 .16.08.34.16l.01 1.63L9.2 9.18l.08-4.11c.2.06.4.11.4.11.19.04.26-.23.07-.29 0 0-.56-.15-.91-.28-.07-.02-.14-.05-.22-.08.93-.7 2.19-.94 3.37-.52zM7.4 6.19c.17-.49.44-.92.78-1.27l.04 5c-.94-.95-1.3-2.39-.82-3.73zm4.04 4.75l2.1-2.63c.37-.41.57-.77.69-1.12.05-.12.08-.24.11-.35.09.57.04 1.18-.17 1.77-.45 1.25-1.51 2.1-2.73 2.33zm-.7-3.22l.02 3.22c0 .02 0 .04.01.06-.4 0-.8-.07-1.2-.21-.33-.12-.63-.28-.9-.48zm1.24 6.08l2.1.75c.24.84 1 1.45 1.91 1.45H16v3H0v-2.96c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2V9h1.05l-.28.8 4.28 1.52C4.4 12.03 4 12.97 4 14c0 2.21 1.79 4 4 4s4-1.79 4-4c0-.07-.02-.13-.02-.2zm-6.53-2.33l1.48.53c-.14.04-.15.27.03.28 0 0 .18.02.37.03l.56 1.54-.78 2.36-1.31-3.9c.21-.01.41-.03.41-.03.19-.02.17-.31-.02-.3 0 0-.59.05-.96.05-.07 0-.15 0-.23-.01.13-.2.28-.38.45-.55zM4.4 14c0-.52.12-1.02.32-1.46l1.71 4.7C5.23 16.65 4.4 15.42 4.4 14zm4.19-1.41l1.72.62c.07.17.12.37.12.61 0 .31-.12.66-.28 1.16l-.35 1.2zM11.6 14c0 1.33-.72 2.49-1.79 3.11l1.1-3.18c.06-.17.1-.31.14-.46l.52.19c.02.11.03.22.03.34zm-4.62 3.45l1.08-3.14 1.11 3.03c.01.02.01.04.02.05-.37.13-.77.21-1.19.21-.35 0-.69-.06-1.02-.15z'; + break; + + case 'tide': + path = 'M17 7.2V3H3v7.1c2.6-.5 4.5-1.5 6.4-2.6.2-.2.4-.3.6-.5v3c-1.9 1.1-4 2.2-7 2.8V17h14V9.9c-2.6.5-4.4 1.5-6.2 2.6-.3.1-.5.3-.8.4V10c2-1.1 4-2.2 7-2.8z'; + break; + + case 'translation': + path = 'M11 7H9.49c-.63 0-1.25.3-1.59.7L7 5H4.13l-2.39 7h1.69l.74-2H7v4H2c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h7c1.1 0 2 .9 2 2v2zM6.51 9H4.49l1-2.93zM10 8h7c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-7c-1.1 0-2-.9-2-2v-7c0-1.1.9-2 2-2zm7.25 5v-1.08h-3.17V9.75h-1.16v2.17H9.75V13h1.28c.11.85.56 1.85 1.28 2.62-.87.36-1.89.62-2.31.62-.01.02.22.97.2 1.46.84 0 2.21-.5 3.28-1.15 1.09.65 2.48 1.15 3.34 1.15-.02-.49.2-1.44.2-1.46-.43 0-1.49-.27-2.38-.63.7-.77 1.14-1.77 1.25-2.61h1.36zm-3.81 1.93c-.5-.46-.85-1.13-1.01-1.93h2.09c-.17.8-.51 1.47-1 1.93l-.04.03s-.03-.02-.04-.03z'; + break; + + case 'trash': + path = 'M12 4h3c.6 0 1 .4 1 1v1H3V5c0-.6.5-1 1-1h3c.2-1.1 1.3-2 2.5-2s2.3.9 2.5 2zM8 4h3c-.2-.6-.9-1-1.5-1S8.2 3.4 8 4zM4 7h11l-.9 10.1c0 .5-.5.9-1 .9H5.9c-.5 0-.9-.4-1-.9L4 7z'; + break; + + case 'twitter': + path = 'M18.94 4.46c-.49.73-1.11 1.38-1.83 1.9.01.15.01.31.01.47 0 4.85-3.69 10.44-10.43 10.44-2.07 0-4-.61-5.63-1.65.29.03.58.05.88.05 1.72 0 3.3-.59 4.55-1.57-1.6-.03-2.95-1.09-3.42-2.55.22.04.45.07.69.07.33 0 .66-.05.96-.13-1.67-.34-2.94-1.82-2.94-3.6v-.04c.5.27 1.06.44 1.66.46-.98-.66-1.63-1.78-1.63-3.06 0-.67.18-1.3.5-1.84 1.81 2.22 4.51 3.68 7.56 3.83-.06-.27-.1-.55-.1-.84 0-2.02 1.65-3.66 3.67-3.66 1.06 0 2.01.44 2.68 1.16.83-.17 1.62-.47 2.33-.89-.28.85-.86 1.57-1.62 2.02.75-.08 1.45-.28 2.11-.57z'; + break; + + case 'undo': + path = 'M12 5H7V2L1 6l6 4V7h5c2.2 0 4 1.8 4 4s-1.8 4-4 4H7v2h5c3.3 0 6-2.7 6-6s-2.7-6-6-6z'; + break; + + case 'universal-access-alt': + path = 'M19 10c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9 9-4.03 9-9zm-9-7.4c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z'; + break; + + case 'universal-access': + path = 'M10 2.6c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z'; + break; + + case 'unlock': + path = 'M12 9V6c0-1.1-.9-2-2-2s-2 .9-2 2H6c0-2.21 1.79-4 4-4s4 1.79 4 4v3h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h7zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z'; + break; + + case 'update': + path = 'M10.2 3.28c3.53 0 6.43 2.61 6.92 6h2.08l-3.5 4-3.5-4h2.32c-.45-1.97-2.21-3.45-4.32-3.45-1.45 0-2.73.71-3.54 1.78L4.95 5.66C6.23 4.2 8.11 3.28 10.2 3.28zm-.4 13.44c-3.52 0-6.43-2.61-6.92-6H.8l3.5-4c1.17 1.33 2.33 2.67 3.5 4H5.48c.45 1.97 2.21 3.45 4.32 3.45 1.45 0 2.73-.71 3.54-1.78l1.71 1.95c-1.28 1.46-3.15 2.38-5.25 2.38z'; + break; + + case 'upload': + path = 'M8 14V8H5l5-6 5 6h-3v6H8zm-2 2v-6H4v8h12.01v-8H14v6H6z'; + break; + + case 'vault': + path = 'M18 17V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-1 0H3V3h14v14zM4.75 4h10.5c.41 0 .75.34.75.75V6h-1v3h1v2h-1v3h1v1.25c0 .41-.34.75-.75.75H4.75c-.41 0-.75-.34-.75-.75V4.75c0-.41.34-.75.75-.75zM13 10c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4zM9 7l.77 1.15C10.49 8.46 11 9.17 11 10c0 1.1-.9 2-2 2s-2-.9-2-2c0-.83.51-1.54 1.23-1.85z'; + break; + + case 'video-alt': + path = 'M8 5c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1 0 .57.49 1 1 1h5c.55 0 1-.45 1-1zm6 5l4-4v10l-4-4v-2zm-1 4V8c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h8c.55 0 1-.45 1-1z'; + break; + + case 'video-alt2': + path = 'M12 13V7c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2zm1-2.5l6 4.5V5l-6 4.5v1z'; + break; + + case 'video-alt3': + path = 'M19 15V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2zM8 14V6l6 4z'; + break; + + case 'visibility': + path = 'M19.7 9.4C17.7 6 14 3.9 10 3.9S2.3 6 .3 9.4L0 10l.3.6c2 3.4 5.7 5.5 9.7 5.5s7.7-2.1 9.7-5.5l.3-.6-.3-.6zM10 14.1c-3.1 0-6-1.6-7.7-4.1C3.6 8 5.7 6.6 8 6.1c-.9.6-1.5 1.7-1.5 2.9 0 1.9 1.6 3.5 3.5 3.5s3.5-1.6 3.5-3.5c0-1.2-.6-2.3-1.5-2.9 2.3.5 4.4 1.9 5.7 3.9-1.7 2.5-4.6 4.1-7.7 4.1z'; + break; + + case 'warning': + path = 'M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z'; + break; + + case 'welcome-add-page': + path = 'M17 7V4h-2V2h-3v1H3v15h11V9h1V7h2zm-1-2v1h-2v2h-1V6h-2V5h2V3h1v2h2z'; + break; + + case 'welcome-comments': + path = 'M5 2h10c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2zm8.5 8.5L11 8l2.5-2.5-1-1L10 7 7.5 4.5l-1 1L9 8l-2.5 2.5 1 1L10 9l2.5 2.5z'; + break; + + case 'welcome-learn-more': + path = 'M10 10L2.54 7.02 3 18H1l.48-11.41L0 6l10-4 10 4zm0-5c-.55 0-1 .22-1 .5s.45.5 1 .5 1-.22 1-.5-.45-.5-1-.5zm0 6l5.57-2.23c.71.94 1.2 2.07 1.36 3.3-.3-.04-.61-.07-.93-.07-2.55 0-4.78 1.37-6 3.41C8.78 13.37 6.55 12 4 12c-.32 0-.63.03-.93.07.16-1.23.65-2.36 1.36-3.3z'; + break; + + case 'welcome-view-site': + path = 'M18 14V4c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-8-8c2.3 0 4.4 1.14 6 3-1.6 1.86-3.7 3-6 3s-4.4-1.14-6-3c1.6-1.86 3.7-3 6-3zm2 3c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm2 8h3v1H3v-1h3v-1h8v1z'; + break; + + case 'welcome-widgets-menus': + path = 'M19 16V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v13c0 .55.45 1 1 1h15c.55 0 1-.45 1-1zM4 4h13v4H4V4zm1 1v2h3V5H5zm4 0v2h3V5H9zm4 0v2h3V5h-3zm-8.5 5c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 10h4v1H6v-1zm6 0h5v5h-5v-5zm-7.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 12h4v1H6v-1zm7 0v2h3v-2h-3zm-8.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 14h4v1H6v-1z'; + break; + + case 'welcome-write-blog': + path = 'M16.89 1.2l1.41 1.41c.39.39.39 1.02 0 1.41L14 8.33V18H3V3h10.67l1.8-1.8c.4-.39 1.03-.4 1.42 0zm-5.66 8.48l5.37-5.36-1.42-1.42-5.36 5.37-.71 2.12z'; + break; + + case 'wordpress-alt': + path = 'M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z'; + break; + + case 'wordpress': + path = 'M20 10c0-5.52-4.48-10-10-10S0 4.48 0 10s4.48 10 10 10 10-4.48 10-10zM10 1.01c4.97 0 8.99 4.02 8.99 8.99s-4.02 8.99-8.99 8.99S1.01 14.97 1.01 10 5.03 1.01 10 1.01zM8.01 14.82L4.96 6.61c.49-.03 1.05-.08 1.05-.08.43-.05.38-1.01-.06-.99 0 0-1.29.1-2.13.1-.15 0-.33 0-.52-.01 1.44-2.17 3.9-3.6 6.7-3.6 2.09 0 3.99.79 5.41 2.09-.6-.08-1.45.35-1.45 1.42 0 .66.38 1.22.79 1.88.31.54.5 1.22.5 2.21 0 1.34-1.27 4.48-1.27 4.48l-2.71-7.5c.48-.03.75-.16.75-.16.43-.05.38-1.1-.05-1.08 0 0-1.3.11-2.14.11-.78 0-2.11-.11-2.11-.11-.43-.02-.48 1.06-.05 1.08l.84.08 1.12 3.04zm6.02 2.15L16.64 10s.67-1.69.39-3.81c.63 1.14.94 2.42.94 3.81 0 2.96-1.56 5.58-3.94 6.97zM2.68 6.77L6.5 17.25c-2.67-1.3-4.47-4.08-4.47-7.25 0-1.16.2-2.23.65-3.23zm7.45 4.53l2.29 6.25c-.75.27-1.57.42-2.42.42-.72 0-1.41-.11-2.06-.3z'; + break; + + case 'yes-alt': + path = 'M10 2c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm-.615 12.66h-1.34l-3.24-4.54 1.34-1.25 2.57 2.4 5.14-5.93 1.34.94-5.81 8.38z'; + break; + + case 'yes': + path = 'M14.83 4.89l1.34.94-5.81 8.38H9.02L5.78 9.67l1.34-1.25 2.57 2.4z'; + break; + } + + if (!path) { + return null; + } + + var iconClass = ['dashicon', 'dashicons-' + icon, className].filter(Boolean).join(' '); + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_8__["SVG"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({ + "aria-hidden": true, + role: "img", + focusable: "false", + className: iconClass, + xmlns: "http://www.w3.org/2000/svg", + width: size, + height: size, + viewBox: "0 0 20 20" + }, extraProps), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_8__["Path"], { + d: path + })); + } + }]); + + return Dashicon; +}(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["Component"]); + + + + +/***/ }), +/* 86 */, +/* 87 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return SystemContext; }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(21); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); + + +var SystemContext = Object(react__WEBPACK_IMPORTED_MODULE_0__["createContext"])({}); + + + + +/***/ }), +/* 88 */, +/* 89 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(11); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(13); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(12); +/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(14); +/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(15); +/* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(7); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(16); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__); +/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(2); +/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_8__); +/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(8); +/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_9__); + + + + + + + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +/** + * Input types which are classified as button types, for use in considering + * whether element is a (focus-normalized) button. + * + * @type {string[]} + */ + +var INPUT_BUTTON_TYPES = ['button', 'submit']; +/** + * Returns true if the given element is a button element subject to focus + * normalization, or false otherwise. + * + * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus + * + * @param {Element} element Element to test. + * + * @return {boolean} Whether element is a button. + */ + +function isFocusNormalizedButton(element) { + switch (element.nodeName) { + case 'A': + case 'BUTTON': + return true; + + case 'INPUT': + return Object(lodash__WEBPACK_IMPORTED_MODULE_8__["includes"])(INPUT_BUTTON_TYPES, element.type); + } + + return false; +} + +/* harmony default export */ __webpack_exports__["a"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_9__["createHigherOrderComponent"])(function (WrappedComponent) { + return ( + /*#__PURE__*/ + function (_Component) { + Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(_class, _Component); + + function _class() { + var _this; + + Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(this, _class); + + _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(_class).apply(this, arguments)); + _this.bindNode = _this.bindNode.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(_this)); + _this.cancelBlurCheck = _this.cancelBlurCheck.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(_this)); + _this.queueBlurCheck = _this.queueBlurCheck.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(_this)); + _this.normalizeButtonFocus = _this.normalizeButtonFocus.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(_this)); + return _this; + } + + Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(_class, [{ + key: "componentWillUnmount", + value: function componentWillUnmount() { + this.cancelBlurCheck(); + } + }, { + key: "bindNode", + value: function bindNode(node) { + if (node) { + this.node = node; + } else { + delete this.node; + this.cancelBlurCheck(); + } + } + }, { + key: "queueBlurCheck", + value: function queueBlurCheck(event) { + var _this2 = this; + + // React does not allow using an event reference asynchronously + // due to recycling behavior, except when explicitly persisted. + event.persist(); // Skip blur check if clicking button. See `normalizeButtonFocus`. + + if (this.preventBlurCheck) { + return; + } + + this.blurCheckTimeout = setTimeout(function () { + // If document is not focused then focus should remain + // inside the wrapped component and therefore we cancel + // this blur event thereby leaving focus in place. + // https://developer.mozilla.org/en-US/docs/Web/API/Document/hasFocus. + if (!document.hasFocus()) { + event.preventDefault(); + return; + } + + if ('function' === typeof _this2.node.handleFocusOutside) { + _this2.node.handleFocusOutside(event); + } + }, 0); + } + }, { + key: "cancelBlurCheck", + value: function cancelBlurCheck() { + clearTimeout(this.blurCheckTimeout); + } + /** + * Handles a mousedown or mouseup event to respectively assign and + * unassign a flag for preventing blur check on button elements. Some + * browsers, namely Firefox and Safari, do not emit a focus event on + * button elements when clicked, while others do. The logic here + * intends to normalize this as treating click on buttons as focus. + * + * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus + * + * @param {MouseEvent} event Event for mousedown or mouseup. + */ + + }, { + key: "normalizeButtonFocus", + value: function normalizeButtonFocus(event) { + var type = event.type, + target = event.target; + var isInteractionEnd = Object(lodash__WEBPACK_IMPORTED_MODULE_8__["includes"])(['mouseup', 'touchend'], type); + + if (isInteractionEnd) { + this.preventBlurCheck = false; + } else if (isFocusNormalizedButton(target)) { + this.preventBlurCheck = true; + } + } + }, { + key: "render", + value: function render() { + // Disable reason: See `normalizeButtonFocus` for browser-specific + // focus event normalization. + + /* eslint-disable jsx-a11y/no-static-element-interactions */ + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])("div", { + onFocus: this.cancelBlurCheck, + onMouseDown: this.normalizeButtonFocus, + onMouseUp: this.normalizeButtonFocus, + onTouchStart: this.normalizeButtonFocus, + onTouchEnd: this.normalizeButtonFocus, + onBlur: this.queueBlurCheck + }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(WrappedComponent, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({ + ref: this.bindNode + }, this.props))); + /* eslint-enable jsx-a11y/no-static-element-interactions */ + } + }]); + + return _class; + }(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["Component"]) + ); +}, 'withFocusOutside')); + + +/***/ }), +/* 90 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return useSlot; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Consumer; }); +/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22); +/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(13); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(12); +/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(14); +/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(15); +/* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(7); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(16); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__); +/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(2); +/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_9__); + + + + + + + + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + +var SlotFillContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createContext"])({ + registerSlot: function registerSlot() {}, + unregisterSlot: function unregisterSlot() {}, + registerFill: function registerFill() {}, + unregisterFill: function unregisterFill() {}, + getSlot: function getSlot() {}, + getFills: function getFills() {}, + subscribe: function subscribe() {} +}); +var Provider = SlotFillContext.Provider, + Consumer = SlotFillContext.Consumer; + +var SlotFillProvider = +/*#__PURE__*/ +function (_Component) { + Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"])(SlotFillProvider, _Component); + + function SlotFillProvider() { + var _this; + + Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, SlotFillProvider); + + _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(SlotFillProvider).apply(this, arguments)); + _this.registerSlot = _this.registerSlot.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(_this)); + _this.registerFill = _this.registerFill.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(_this)); + _this.unregisterSlot = _this.unregisterSlot.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(_this)); + _this.unregisterFill = _this.unregisterFill.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(_this)); + _this.getSlot = _this.getSlot.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(_this)); + _this.getFills = _this.getFills.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(_this)); + _this.hasFills = _this.hasFills.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(_this)); + _this.subscribe = _this.subscribe.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(_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(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(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(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(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(lodash__WEBPACK_IMPORTED_MODULE_9__["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(lodash__WEBPACK_IMPORTED_MODULE_9__["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(lodash__WEBPACK_IMPORTED_MODULE_9__["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(lodash__WEBPACK_IMPORTED_MODULE_9__["without"])(_this2.listeners, listener); + }; + } + }, { + key: "render", + value: function render() { + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(Provider, { + value: this.contextValue + }, this.props.children); + } + }]); + + return SlotFillProvider; +}(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["Component"]); +/** + * React hook returning the active slot given a name. + * + * @param {string} name Slot name. + * @return {Object} Slot object. + */ + + +var useSlot = function useSlot(name) { + var _useContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["useContext"])(SlotFillContext), + getSlot = _useContext.getSlot, + subscribe = _useContext.subscribe; + + var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["useState"])(getSlot(name)), + _useState2 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_useState, 2), + slot = _useState2[0], + setSlot = _useState2[1]; + + Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["useEffect"])(function () { + setSlot(getSlot(name)); + var unsubscribe = subscribe(function () { + setSlot(getSlot(name)); + }); + return unsubscribe; + }, [name]); + return slot; +}; +/* harmony default export */ __webpack_exports__["b"] = (SlotFillProvider); + + + +/***/ }), +/* 91 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(11); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(22); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(19); + +// 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__(10); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); + +// EXTERNAL MODULE: external {"this":["wp","dom"]} +var external_this_wp_dom_ = __webpack_require__(27); + +// EXTERNAL MODULE: external {"this":["wp","keycodes"]} +var external_this_wp_keycodes_ = __webpack_require__(20); + +// 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_); + +// EXTERNAL MODULE: external {"this":["wp","compose"]} +var external_this_wp_compose_ = __webpack_require__(8); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(5); + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/popover/utils.js + + + +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + +/** + * WordPress dependencies + */ + +/** + * Module constants + */ + +var HEIGHT_OFFSET = 10; // used by the arrow and a bit of empty space + +/** + * Utility used to compute the popover position over the xAxis + * + * @param {Object} anchorRect Anchor Rect. + * @param {Object} contentSize Content Size. + * @param {string} xAxis Desired xAxis. + * @param {string} corner Desired corner. + * @param {boolean} 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 + + if (xAxis === 'left' && isRTL) { + xAxis = 'right'; + } else if (xAxis === 'right' && isRTL) { + xAxis = 'left'; + } + + if (corner === 'left' && isRTL) { + corner = 'right'; + } else if (corner === 'right' && isRTL) { + corner = 'left'; + } // x axis alignment choices + + + var anchorMidPoint = Math.round(anchorRect.left + anchorRect.width / 2); + var centerAlignment = { + popoverLeft: anchorMidPoint, + contentWidth: (anchorMidPoint - width / 2 > 0 ? width / 2 : anchorMidPoint) + (anchorMidPoint + width / 2 > window.innerWidth ? window.innerWidth - anchorMidPoint : width / 2) + }; + 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 rightAlignment = { + popoverLeft: rightAlignmentX, + contentWidth: rightAlignmentX + width > window.innerWidth ? window.innerWidth - rightAlignmentX : width + }; // Choosing the x axis + + var chosenXAxis = xAxis; + var contentWidth = 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; + + if (chosenXAxis === 'center') { + popoverLeft = centerAlignment.popoverLeft; + } else if (chosenXAxis === 'left') { + popoverLeft = leftAlignment.popoverLeft; + } else { + popoverLeft = rightAlignment.popoverLeft; + } + + return { + xAxis: chosenXAxis, + popoverLeft: popoverLeft, + contentWidth: contentWidth + }; +} +/** + * Utility used to compute the popover position over the yAxis + * + * @param {Object} anchorRect Anchor Rect. + * @param {Object} contentSize Content Size. + * @param {string} yAxis Desired yAxis. + * @param {string} corner Desired corner. + * @param {boolean} 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. + * @param {Element} relativeOffsetTop If applicable, top offset of the relative + * positioned parent container. + * + * @return {Object} Popover xAxis position and constraints. + */ + +function computePopoverYAxisPosition(anchorRect, contentSize, yAxis, corner, sticky, anchorRef, relativeOffsetTop) { + var height = contentSize.height; + + if (sticky) { + var scrollContainerEl = Object(external_this_wp_dom_["getScrollContainer"])(anchorRef) || document.body; + var scrollRect = scrollContainerEl.getBoundingClientRect(); + + if (anchorRect.top - height <= scrollRect.top) { + return { + yAxis: yAxis, + popoverTop: Math.min(anchorRect.bottom - relativeOffsetTop, scrollRect.top + height - relativeOffsetTop) + }; + } + } // 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) + }; + var topAlignment = { + popoverTop: anchorRect.top, + contentHeight: anchorRect.top - HEIGHT_OFFSET - height > 0 ? height : anchorRect.top - HEIGHT_OFFSET + }; + var bottomAlignment = { + popoverTop: anchorRect.bottom, + contentHeight: anchorRect.bottom + HEIGHT_OFFSET + height > window.innerHeight ? window.innerHeight - HEIGHT_OFFSET - anchorRect.bottom : height + }; // Choosing the y axis + + var chosenYAxis = yAxis; + var contentHeight = 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; + + if (chosenYAxis === 'middle') { + popoverTop = middleAlignment.popoverTop; + } else if (chosenYAxis === 'top') { + popoverTop = topAlignment.popoverTop; + } else { + popoverTop = bottomAlignment.popoverTop; + } + + return { + yAxis: chosenYAxis, + popoverTop: popoverTop, + contentHeight: contentHeight + }; +} +/** + * Utility used to compute the popover position and the content max width/height + * for a popover given its anchor rect and its content size. + * + * @param {Object} anchorRect Anchor Rect. + * @param {Object} contentSize Content Size. + * @param {string} position Position. + * @param {boolean} 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. + * @param {number} relativeOffsetTop If applicable, top offset of the relative + * positioned parent container. + * + * @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 relativeOffsetTop = arguments.length > 5 ? arguments[5] : undefined; + + var _position$split = position.split(' '), + _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$, + corner = _position$split2[2]; + + var yAxisPosition = computePopoverYAxisPosition(anchorRect, contentSize, yAxis, corner, sticky, anchorRef, relativeOffsetTop); + var xAxisPosition = computePopoverXAxisPosition(anchorRect, contentSize, xAxis, corner, sticky, yAxisPosition.yAxis); + return _objectSpread({}, xAxisPosition, {}, yAxisPosition); +} + +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-focus-return/index.js +var with_focus_return = __webpack_require__(104); + +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-constrained-tabbing/index.js +var with_constrained_tabbing = __webpack_require__(103); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js +var classCallCheck = __webpack_require__(13); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js +var createClass = __webpack_require__(12); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +var possibleConstructorReturn = __webpack_require__(14); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +var getPrototypeOf = __webpack_require__(15); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules +var inherits = __webpack_require__(16); + +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-focus-outside/index.js +var with_focus_outside = __webpack_require__(89); + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/popover/detect-outside.js + + + + + + +/** + * WordPress dependencies + */ + +/** + * Internal dependencies + */ + + + +var detect_outside_PopoverDetectOutside = +/*#__PURE__*/ +function (_Component) { + Object(inherits["a" /* default */])(PopoverDetectOutside, _Component); + + function PopoverDetectOutside() { + Object(classCallCheck["a" /* default */])(this, PopoverDetectOutside); + + return Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(PopoverDetectOutside).apply(this, arguments)); + } + + Object(createClass["a" /* default */])(PopoverDetectOutside, [{ + key: "handleFocusOutside", + value: function handleFocusOutside(event) { + this.props.onFocusOutside(event); + } + }, { + key: "render", + value: function render() { + return this.props.children; + } + }]); + + return PopoverDetectOutside; +}(external_this_wp_element_["Component"]); + +/* harmony default export */ var detect_outside = (Object(with_focus_outside["a" /* default */])(detect_outside_PopoverDetectOutside)); + +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/button/index.js +var build_module_button = __webpack_require__(34); + +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/scroll-lock/index.js +var scroll_lock = __webpack_require__(136); + +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/isolated-event-container/index.js +var isolated_event_container = __webpack_require__(105); + +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/context.js +var context = __webpack_require__(90); + +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/fill.js +var fill = __webpack_require__(178); + +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/slot.js +var slot = __webpack_require__(179); + +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/animate/index.js +var build_module_animate = __webpack_require__(135); + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/popover/index.js + + + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + + + + +/** + * Internal dependencies + */ + + + + + + + + + + +var FocusManaged = Object(with_constrained_tabbing["a" /* default */])(Object(with_focus_return["a" /* default */])(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); + } + + if (anchorRef instanceof window.Element) { + var _rect2 = anchorRef.getBoundingClientRect(); + + if (shouldAnchorIncludePadding) { + return _rect2; + } + + return withoutPadding(_rect2, anchorRef); + } + + var top = anchorRef.top, + bottom = anchorRef.bottom; + var topRect = top.getBoundingClientRect(); + var bottomRect = bottom.getBoundingClientRect(); + + var _rect = new window.DOMRect(topRect.left, topRect.top, topRect.width, bottomRect.bottom - topRect.top); + + 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, + _ref2$__unstableFixed = _ref2.__unstableFixedPosition, + __unstableFixedPosition = _ref2$__unstableFixed === void 0 ? true : _ref2$__unstableFixed, + 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", "__unstableFixedPosition"]); + + 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'); + setStyle(containerRef.current, 'position'); + 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 relativeOffsetTop = 0; // If there is a positioned ancestor element that is not the body, + // subtract the position from the anchor rect. If the position of + // the popover is fixed, the offset parent is null or the body + // element, in which case the position is relative to the viewport. + // See https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetParent + + if (!__unstableFixedPosition) { + setStyle(containerRef.current, 'position', 'absolute'); + var offsetParent = containerRef.current.offsetParent; + var offsetParentRect = offsetParent.getBoundingClientRect(); + relativeOffsetTop = offsetParentRect.top; + anchor = new window.DOMRect(anchor.left - offsetParentRect.left, anchor.top - offsetParentRect.top, anchor.width, anchor.height); + } else { + setStyle(containerRef.current, 'position'); + } + + var _computePopoverPositi = computePopoverPosition(anchor, contentRect.current, position, __unstableSticky, containerRef.current, relativeOffsetTop), + 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); + /* + * 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); + var rafId; + + var refreshOnAnimationFrame = function refreshOnAnimationFrame() { + window.cancelAnimationFrame(rafId); + rafId = window.requestAnimationFrame(refresh); + }; // Sometimes a click trigger a layout change that affects the popover + // position. This is an opportunity to immediately refresh rather than + // at the interval. + + + 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.removeEventListener('click', refreshOnAnimationFrame); + window.cancelAnimationFrame(rafId); + + 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["a" /* default */], { + type: animate && animateOrigin ? 'appear' : null, + options: { + origin: animateOrigin + } + }, function (_ref4) { + var animateClassName = _ref4.className; + return Object(external_this_wp_element_["createElement"])(isolated_event_container["a" /* default */], 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["a" /* default */], 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["a" /* default */], { + 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["a" /* 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"])(fill["a" /* default */], { + 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["a" /* default */], { + bubblesVirtually: true, + name: name + }); +}; + +/* harmony default export */ var popover = __webpack_exports__["a"] = (PopoverContainer); + + +/***/ }), +/* 92 */, +/* 93 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var implementation = __webpack_require__(244); +var implementation = __webpack_require__(290); module.exports = Function.prototype.bind || implementation; /***/ }), -/* 75 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var ES5Type = __webpack_require__(249); - -// https://www.ecma-international.org/ecma-262/6.0/#sec-tostring - -module.exports = function Type(x) { - if (typeof x === 'symbol') { - return 'Symbol'; - } - return ES5Type(x); -}; - - -/***/ }), -/* 76 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var bind = __webpack_require__(74); - -module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty); - - -/***/ }), -/* 77 */ +/* 94 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5249,18 +8710,306 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(28); +var _propTypes = __webpack_require__(25); var _propTypes2 = _interopRequireDefault(_propTypes); -var _constants = __webpack_require__(41); +var _constants = __webpack_require__(45); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } exports['default'] = _propTypes2['default'].oneOf(_constants.WEEKDAYS); /***/ }), -/* 78 */ +/* 95 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useRoverState; }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(21); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _rollupPluginBabelHelpers_f089acec_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(43); +/* harmony import */ var reakit_utils_useSealedState__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67); +/* harmony import */ var _Id_IdState_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(69); + + + + + + + +function reducer(state, action) { + var stops = state.stops, + currentId = state.currentId, + pastId = state.unstable_pastId, + moves = state.unstable_moves, + loop = state.loop; + + switch (action.type) { + case "register": + { + var _id = action.id, + _ref = action.ref; + + if (stops.length === 0) { + return Object(_rollupPluginBabelHelpers_f089acec_js__WEBPACK_IMPORTED_MODULE_1__[/* a */ "b"])({}, state, { + stops: [{ + id: _id, + ref: _ref + }] + }); + } + + var index = stops.findIndex(function (stop) { + return stop.id === _id; + }); + + if (index >= 0) { + return state; + } + + var indexToInsertAt = stops.findIndex(function (stop) { + if (!stop.ref.current || !_ref.current) return false; // Return true if the new rover element is located earlier in the DOM + // than stop's element, else false: + + return Boolean(stop.ref.current.compareDocumentPosition(_ref.current) & Node.DOCUMENT_POSITION_PRECEDING); + }); // findIndex returns -1 when the new rover should be inserted + // at the end of stops (the compareDocumentPosition test + // always returns false in that case). + + if (indexToInsertAt === -1) { + return Object(_rollupPluginBabelHelpers_f089acec_js__WEBPACK_IMPORTED_MODULE_1__[/* a */ "b"])({}, state, { + stops: [].concat(stops, [{ + id: _id, + ref: _ref + }]) + }); + } + + return Object(_rollupPluginBabelHelpers_f089acec_js__WEBPACK_IMPORTED_MODULE_1__[/* a */ "b"])({}, state, { + stops: [].concat(stops.slice(0, indexToInsertAt), [{ + id: _id, + ref: _ref + }], stops.slice(indexToInsertAt)) + }); + } + + case "unregister": + { + var _id2 = action.id; + var nextStops = stops.filter(function (stop) { + return stop.id !== _id2; + }); + + if (nextStops.length === stops.length) { + false ? undefined : void 0; + return state; + } + + return Object(_rollupPluginBabelHelpers_f089acec_js__WEBPACK_IMPORTED_MODULE_1__[/* a */ "b"])({}, state, { + stops: nextStops, + unstable_pastId: pastId && pastId === _id2 ? null : pastId, + currentId: currentId && currentId === _id2 ? null : currentId + }); + } + + case "move": + { + var _id3 = action.id, + silent = action.silent; + var nextMoves = silent ? moves : moves + 1; + + if (_id3 === null) { + return Object(_rollupPluginBabelHelpers_f089acec_js__WEBPACK_IMPORTED_MODULE_1__[/* a */ "b"])({}, state, { + currentId: null, + unstable_pastId: currentId, + unstable_moves: nextMoves + }); + } + + var _index = stops.findIndex(function (stop) { + return stop.id === _id3; + }); // Item doesn't exist, so we don't count a move + + + if (_index === -1) { + return state; + } + + if (stops[_index].id === currentId) { + return Object(_rollupPluginBabelHelpers_f089acec_js__WEBPACK_IMPORTED_MODULE_1__[/* a */ "b"])({}, state, { + unstable_moves: nextMoves + }); + } + + return Object(_rollupPluginBabelHelpers_f089acec_js__WEBPACK_IMPORTED_MODULE_1__[/* a */ "b"])({}, state, { + currentId: stops[_index].id, + unstable_pastId: currentId, + unstable_moves: nextMoves + }); + } + + case "next": + { + if (currentId == null) { + return reducer(state, { + type: "move", + id: stops[0] && stops[0].id + }); + } + + var _index2 = stops.findIndex(function (stop) { + return stop.id === currentId; + }); // If loop is truthy, turns [0, currentId, 2, 3] into [currentId, 2, 3, 0] + // Otherwise turns into [currentId, 2, 3] + + + var reorderedStops = [].concat(stops.slice(_index2 + 1), loop ? stops.slice(0, _index2) : []); + var nextIndex = reorderedStops.findIndex(function (stop) { + return stop.id === currentId; + }) + 1; + return reducer(state, { + type: "move", + id: reorderedStops[nextIndex] && reorderedStops[nextIndex].id + }); + } + + case "previous": + { + var _reducer = reducer(Object(_rollupPluginBabelHelpers_f089acec_js__WEBPACK_IMPORTED_MODULE_1__[/* a */ "b"])({}, state, { + stops: stops.slice().reverse() + }), { + type: "next" + }), + _ = _reducer.stops, + nextState = Object(_rollupPluginBabelHelpers_f089acec_js__WEBPACK_IMPORTED_MODULE_1__[/* _ */ "a"])(_reducer, ["stops"]); + + return Object(_rollupPluginBabelHelpers_f089acec_js__WEBPACK_IMPORTED_MODULE_1__[/* a */ "b"])({}, state, {}, nextState); + } + + case "first": + { + var stop = stops[0]; + return reducer(state, { + type: "move", + id: stop && stop.id + }); + } + + case "last": + { + var _stop = stops[stops.length - 1]; + return reducer(state, { + type: "move", + id: _stop && _stop.id + }); + } + + case "reset": + { + return Object(_rollupPluginBabelHelpers_f089acec_js__WEBPACK_IMPORTED_MODULE_1__[/* a */ "b"])({}, state, { + currentId: null, + unstable_pastId: null + }); + } + + case "orientate": + return Object(_rollupPluginBabelHelpers_f089acec_js__WEBPACK_IMPORTED_MODULE_1__[/* a */ "b"])({}, state, { + orientation: action.orientation + }); + + default: + throw new Error(); + } +} + +function useRoverState(initialState) { + if (initialState === void 0) { + initialState = {}; + } + + var _useSealedState = Object(reakit_utils_useSealedState__WEBPACK_IMPORTED_MODULE_2__[/* useSealedState */ "a"])(initialState), + orientation = _useSealedState.orientation, + _useSealedState$curre = _useSealedState.currentId, + currentId = _useSealedState$curre === void 0 ? null : _useSealedState$curre, + _useSealedState$loop = _useSealedState.loop, + loop = _useSealedState$loop === void 0 ? false : _useSealedState$loop, + sealed = Object(_rollupPluginBabelHelpers_f089acec_js__WEBPACK_IMPORTED_MODULE_1__[/* _ */ "a"])(_useSealedState, ["orientation", "currentId", "loop"]); + + var _React$useReducer = Object(react__WEBPACK_IMPORTED_MODULE_0__["useReducer"])(reducer, { + orientation: orientation, + stops: [], + currentId: currentId, + unstable_pastId: null, + unstable_moves: 0, + loop: loop + }), + state = _React$useReducer[0], + dispatch = _React$useReducer[1]; + + var idState = Object(_Id_IdState_js__WEBPACK_IMPORTED_MODULE_3__[/* unstable_useIdState */ "a"])(sealed); + return Object(_rollupPluginBabelHelpers_f089acec_js__WEBPACK_IMPORTED_MODULE_1__[/* a */ "b"])({}, idState, {}, state, { + register: Object(react__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(function (id, ref) { + return dispatch({ + type: "register", + id: id, + ref: ref + }); + }, []), + unregister: Object(react__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(function (id) { + return dispatch({ + type: "unregister", + id: id + }); + }, []), + move: Object(react__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(function (id, silent) { + return dispatch({ + type: "move", + id: id, + silent: silent + }); + }, []), + next: Object(react__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(function () { + return dispatch({ + type: "next" + }); + }, []), + previous: Object(react__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(function () { + return dispatch({ + type: "previous" + }); + }, []), + first: Object(react__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(function () { + return dispatch({ + type: "first" + }); + }, []), + last: Object(react__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(function () { + return dispatch({ + type: "last" + }); + }, []), + unstable_reset: Object(react__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(function () { + return dispatch({ + type: "reset" + }); + }, []), + unstable_orientate: Object(react__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(function (o) { + return dispatch({ + type: "orientate", + orientation: o + }); + }, []) + }); +} +var keys = [].concat(_Id_IdState_js__WEBPACK_IMPORTED_MODULE_3__[/* unstable_useIdState */ "a"].__keys, ["orientation", "stops", "currentId", "unstable_pastId", "unstable_moves", "loop", "register", "unregister", "move", "next", "previous", "first", "last", "unstable_reset", "unstable_orientate"]); +useRoverState.__keys = keys; + + + + +/***/ }), +/* 96 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5275,7 +9024,7 @@ exports['default'] = _propTypes2['default'].oneOf(_constants.WEEKDAYS); -var shallowEqual = __webpack_require__(284); +var shallowEqual = __webpack_require__(334); /** * Does a shallow comparison for props and state. @@ -5293,7 +9042,7 @@ module.exports = shallowCompare; /***/ }), -/* 79 */ +/* 97 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5318,7 +9067,7 @@ function isSameDay(a, b) { } /***/ }), -/* 80 */ +/* 98 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5333,7 +9082,7 @@ var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _constants = __webpack_require__(41); +var _constants = __webpack_require__(45); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -5345,7 +9094,7 @@ function toMomentObject(dateString, customFormat) { } /***/ }), -/* 81 */ +/* 99 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5355,18 +9104,18 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(28); +var _propTypes = __webpack_require__(25); var _propTypes2 = _interopRequireDefault(_propTypes); -var _constants = __webpack_require__(41); +var _constants = __webpack_require__(45); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } exports['default'] = _propTypes2['default'].oneOf([_constants.HORIZONTAL_ORIENTATION, _constants.VERTICAL_ORIENTATION, _constants.VERTICAL_SCROLLABLE]); /***/ }), -/* 82 */ +/* 100 */ /***/ (function(module, exports) { Object.defineProperty(exports, "__esModule", { @@ -5379,7 +9128,7 @@ function isTouchDevice() { module.exports = exports['default']; /***/ }), -/* 83 */ +/* 101 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5389,21 +9138,802 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(28); +var _propTypes = __webpack_require__(25); var _propTypes2 = _interopRequireDefault(_propTypes); -var _constants = __webpack_require__(41); +var _constants = __webpack_require__(45); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } exports['default'] = _propTypes2['default'].oneOf([_constants.OPEN_DOWN, _constants.OPEN_UP]); /***/ }), -/* 84 */, -/* 85 */, -/* 86 */, -/* 87 */ +/* 102 */ +/***/ (function(module, exports) { + +// shim for using process in browser +var process = module.exports = {}; + +// cached from whatever global is present so that test runners that stub it +// don't break things. But we need to wrap it in a try catch in case it is +// wrapped in strict mode code which doesn't define any globals. It's inside a +// function because try/catches deoptimize in certain engines. + +var cachedSetTimeout; +var cachedClearTimeout; + +function defaultSetTimout() { + throw new Error('setTimeout has not been defined'); +} +function defaultClearTimeout () { + throw new Error('clearTimeout has not been defined'); +} +(function () { + try { + if (typeof setTimeout === 'function') { + cachedSetTimeout = setTimeout; + } else { + cachedSetTimeout = defaultSetTimout; + } + } catch (e) { + cachedSetTimeout = defaultSetTimout; + } + try { + if (typeof clearTimeout === 'function') { + cachedClearTimeout = clearTimeout; + } else { + cachedClearTimeout = defaultClearTimeout; + } + } catch (e) { + cachedClearTimeout = defaultClearTimeout; + } +} ()) +function runTimeout(fun) { + if (cachedSetTimeout === setTimeout) { + //normal enviroments in sane situations + return setTimeout(fun, 0); + } + // if setTimeout wasn't available but was latter defined + if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { + cachedSetTimeout = setTimeout; + return setTimeout(fun, 0); + } + try { + // when when somebody has screwed with setTimeout but no I.E. maddness + return cachedSetTimeout(fun, 0); + } catch(e){ + try { + // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally + return cachedSetTimeout.call(null, fun, 0); + } catch(e){ + // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error + return cachedSetTimeout.call(this, fun, 0); + } + } + + +} +function runClearTimeout(marker) { + if (cachedClearTimeout === clearTimeout) { + //normal enviroments in sane situations + return clearTimeout(marker); + } + // if clearTimeout wasn't available but was latter defined + if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { + cachedClearTimeout = clearTimeout; + return clearTimeout(marker); + } + try { + // when when somebody has screwed with setTimeout but no I.E. maddness + return cachedClearTimeout(marker); + } catch (e){ + try { + // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally + return cachedClearTimeout.call(null, marker); + } catch (e){ + // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. + // Some versions of I.E. have different rules for clearTimeout vs setTimeout + return cachedClearTimeout.call(this, marker); + } + } + + + +} +var queue = []; +var draining = false; +var currentQueue; +var queueIndex = -1; + +function cleanUpNextTick() { + if (!draining || !currentQueue) { + return; + } + draining = false; + if (currentQueue.length) { + queue = currentQueue.concat(queue); + } else { + queueIndex = -1; + } + if (queue.length) { + drainQueue(); + } +} + +function drainQueue() { + if (draining) { + return; + } + var timeout = runTimeout(cleanUpNextTick); + draining = true; + + var len = queue.length; + while(len) { + currentQueue = queue; + queue = []; + while (++queueIndex < len) { + if (currentQueue) { + currentQueue[queueIndex].run(); + } + } + queueIndex = -1; + len = queue.length; + } + currentQueue = null; + draining = false; + runClearTimeout(timeout); +} + +process.nextTick = function (fun) { + var args = new Array(arguments.length - 1); + if (arguments.length > 1) { + for (var i = 1; i < arguments.length; i++) { + args[i - 1] = arguments[i]; + } + } + queue.push(new Item(fun, args)); + if (queue.length === 1 && !draining) { + runTimeout(drainQueue); + } +}; + +// v8 likes predictible objects +function Item(fun, array) { + this.fun = fun; + this.array = array; +} +Item.prototype.run = function () { + this.fun.apply(null, this.array); +}; +process.title = 'browser'; +process.browser = true; +process.env = {}; +process.argv = []; +process.version = ''; // empty string to avoid regexp issues +process.versions = {}; + +function noop() {} + +process.on = noop; +process.addListener = noop; +process.once = noop; +process.off = noop; +process.removeListener = noop; +process.removeAllListeners = noop; +process.emit = noop; +process.prependListener = noop; +process.prependOnceListener = noop; + +process.listeners = function (name) { return [] } + +process.binding = function (name) { + throw new Error('process.binding is not supported'); +}; + +process.cwd = function () { return '/' }; +process.chdir = function (dir) { + throw new Error('process.chdir is not supported'); +}; +process.umask = function() { return 0; }; + + +/***/ }), +/* 103 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(13); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(12); +/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(14); +/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(15); +/* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(7); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__); +/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(8); +/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_7__); +/* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(20); +/* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_keycodes__WEBPACK_IMPORTED_MODULE_8__); +/* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(27); +/* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_wordpress_dom__WEBPACK_IMPORTED_MODULE_9__); + + + + + + + + +/** + * WordPress dependencies + */ + + + + +var withConstrainedTabbing = Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_7__["createHigherOrderComponent"])(function (WrappedComponent) { + return ( + /*#__PURE__*/ + function (_Component) { + Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(_class, _Component); + + function _class() { + var _this; + + Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(this, _class); + + _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_class).apply(this, arguments)); + _this.focusContainRef = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createRef"])(); + _this.handleTabBehaviour = _this.handleTabBehaviour.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(_this)); + return _this; + } + + Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_class, [{ + key: "handleTabBehaviour", + value: function handleTabBehaviour(event) { + if (event.keyCode !== _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_8__["TAB"]) { + return; + } + + var tabbables = _wordpress_dom__WEBPACK_IMPORTED_MODULE_9__["focus"].tabbable.find(this.focusContainRef.current); + + if (!tabbables.length) { + return; + } + + var firstTabbable = tabbables[0]; + var lastTabbable = tabbables[tabbables.length - 1]; + + if (event.shiftKey && event.target === firstTabbable) { + event.preventDefault(); + lastTabbable.focus(); + } else if (!event.shiftKey && event.target === lastTabbable) { + event.preventDefault(); + firstTabbable.focus(); + /* + * When pressing Tab and none of the tabbables has focus, the keydown + * event happens on the wrapper div: move focus on the first tabbable. + */ + } else if (!tabbables.includes(event.target)) { + event.preventDefault(); + firstTabbable.focus(); + } + } + }, { + key: "render", + value: function render() { + // Disable reason: this component is non-interactive, but must capture + // events from the wrapped component to determine when the Tab key is used. + + /* eslint-disable jsx-a11y/no-static-element-interactions */ + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("div", { + onKeyDown: this.handleTabBehaviour, + ref: this.focusContainRef, + tabIndex: "-1" + }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(WrappedComponent, this.props)); + /* eslint-enable jsx-a11y/no-static-element-interactions */ + } + }]); + + return _class; + }(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["Component"]) + ); +}, 'withConstrainedTabbing'); +/* harmony default export */ __webpack_exports__["a"] = (withConstrainedTabbing); + + +/***/ }), +/* 104 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(13); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(12); +/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(14); +/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(15); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__); +/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(2); +/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_7__); +/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(8); +/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_8__); +/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(177); + + + + + + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +/** + * Internal dependencies + */ + + +/** + * Returns true if the given object is component-like. An object is component- + * like if it is an instance of wp.element.Component, or is a function. + * + * @param {*} object Object to test. + * + * @return {boolean} Whether object is component-like. + */ + +function isComponentLike(object) { + return object instanceof _wordpress_element__WEBPACK_IMPORTED_MODULE_6__["Component"] || typeof object === 'function'; +} +/** + * Higher Order Component used to be used to wrap disposable elements like + * sidebars, modals, dropdowns. When mounting the wrapped component, we track a + * reference to the current active element so we know where to restore focus + * when the component is unmounted. + * + * @param {(WPComponent|Object)} options The component to be enhanced with + * focus return behavior, or an object + * describing the component and the + * focus return characteristics. + * + * @return {WPComponent} Component with the focus restauration behaviour. + */ + + +function withFocusReturn(options) { + // Normalize as overloaded form `withFocusReturn( options )( Component )` + // or as `withFocusReturn( Component )`. + if (isComponentLike(options)) { + var WrappedComponent = options; + return withFocusReturn({})(WrappedComponent); + } + + var _options$onFocusRetur = options.onFocusReturn, + onFocusReturn = _options$onFocusRetur === void 0 ? lodash__WEBPACK_IMPORTED_MODULE_7__["stubTrue"] : _options$onFocusRetur; + return function (WrappedComponent) { + var FocusReturn = + /*#__PURE__*/ + function (_Component) { + Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(FocusReturn, _Component); + + function FocusReturn() { + var _this; + + Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(this, FocusReturn); + + _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(FocusReturn).apply(this, arguments)); + _this.ownFocusedElements = new Set(); + _this.activeElementOnMount = document.activeElement; + + _this.setIsFocusedFalse = function () { + return _this.isFocused = false; + }; + + _this.setIsFocusedTrue = function (event) { + _this.ownFocusedElements.add(event.target); + + _this.isFocused = true; + }; + + return _this; + } + + Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(FocusReturn, [{ + key: "componentWillUnmount", + value: function componentWillUnmount() { + var activeElementOnMount = this.activeElementOnMount, + isFocused = this.isFocused, + ownFocusedElements = this.ownFocusedElements; + + if (!isFocused) { + return; + } // Defer to the component's own explicit focus return behavior, + // if specified. The function should return `false` to prevent + // the default behavior otherwise occurring here. This allows + // for support that the `onFocusReturn` decides to allow the + // default behavior to occur under some conditions. + + + if (onFocusReturn() === false) { + return; + } + + var stack = [].concat(Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(lodash__WEBPACK_IMPORTED_MODULE_7__["without"].apply(void 0, [this.props.focus.focusHistory].concat(Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(ownFocusedElements)))), [activeElementOnMount]); + var candidate; + + while (candidate = stack.pop()) { + if (document.body.contains(candidate)) { + candidate.focus(); + return; + } + } + } + }, { + key: "render", + value: function render() { + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("div", { + onFocus: this.setIsFocusedTrue, + onBlur: this.setIsFocusedFalse + }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(WrappedComponent, this.props.childProps)); + } + }]); + + return FocusReturn; + }(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["Component"]); + + return function (props) { + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_context__WEBPACK_IMPORTED_MODULE_9__[/* Consumer */ "a"], null, function (context) { + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(FocusReturn, { + childProps: props, + focus: context + }); + }); + }; + }; +} + +/* harmony default export */ __webpack_exports__["a"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_8__["createHigherOrderComponent"])(withFocusReturn, 'withFocusReturn')); + + + +/***/ }), +/* 105 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(11); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(19); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__); + + + + +/** + * WordPress dependencies + */ + + +function stopPropagation(event) { + event.stopPropagation(); +} + +/* harmony default export */ __webpack_exports__["a"] = (Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["forwardRef"])(function (_ref, ref) { + var children = _ref.children, + props = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_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(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])("div", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, props, { + ref: ref, + onMouseDown: stopPropagation + }), children); + /* eslint-enable jsx-a11y/no-static-element-interactions */ +})); + + +/***/ }), +/* 106 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(13); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(12); +/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(14); +/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(15); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(16); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__); +/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(2); +/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_6__); +/* harmony import */ var _popover__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(91); +/* harmony import */ var _shortcut__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(140); + + + + + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + +/** + * Internal dependencies + */ + + + +/** + * Time over children to wait before showing tooltip + * + * @type {number} + */ + +var TOOLTIP_DELAY = 700; + +var Tooltip = +/*#__PURE__*/ +function (_Component) { + Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(Tooltip, _Component); + + function Tooltip() { + var _this; + + Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(this, Tooltip); + + _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(Tooltip).apply(this, arguments)); + _this.delayedSetIsOver = Object(lodash__WEBPACK_IMPORTED_MODULE_6__["debounce"])(function (isOver) { + return _this.setState({ + isOver: isOver + }); + }, TOOLTIP_DELAY); + /** + * Prebound `isInMouseDown` handler, created as a constant reference to + * assure ability to remove in component unmount. + * + * @type {Function} + */ + + _this.cancelIsMouseDown = _this.createSetIsMouseDown(false); + /** + * Whether a the mouse is currently pressed, used in determining whether + * to handle a focus event as displaying the tooltip immediately. + * + * @type {boolean} + */ + + _this.isInMouseDown = false; + _this.state = { + isOver: false + }; + return _this; + } + + Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(Tooltip, [{ + key: "componentWillUnmount", + value: function componentWillUnmount() { + this.delayedSetIsOver.cancel(); + document.removeEventListener('mouseup', this.cancelIsMouseDown); + } + }, { + key: "emitToChild", + value: function emitToChild(eventName, event) { + var children = this.props.children; + + if (_wordpress_element__WEBPACK_IMPORTED_MODULE_5__["Children"].count(children) !== 1) { + return; + } + + var child = _wordpress_element__WEBPACK_IMPORTED_MODULE_5__["Children"].only(children); + + if (typeof child.props[eventName] === 'function') { + child.props[eventName](event); + } + } + }, { + key: "createToggleIsOver", + value: function createToggleIsOver(eventName, isDelayed) { + var _this2 = this; + + return function (event) { + // Preserve original child callback behavior + _this2.emitToChild(eventName, event); // Mouse events behave unreliably in React for disabled elements, + // firing on mouseenter but not mouseleave. Further, the default + // behavior for disabled elements in some browsers is to ignore + // mouse events. Don't bother trying to to handle them. + // + // See: https://github.com/facebook/react/issues/4251 + + + if (event.currentTarget.disabled) { + return; + } // A focus event will occur as a result of a mouse click, but it + // should be disambiguated between interacting with the button and + // using an explicit focus shift as a cue to display the tooltip. + + + if ('focus' === event.type && _this2.isInMouseDown) { + return; + } // Needed in case unsetting is over while delayed set pending, i.e. + // quickly blur/mouseleave before delayedSetIsOver is called + + + _this2.delayedSetIsOver.cancel(); + + var isOver = Object(lodash__WEBPACK_IMPORTED_MODULE_6__["includes"])(['focus', 'mouseenter'], event.type); + + if (isOver === _this2.state.isOver) { + return; + } + + if (isDelayed) { + _this2.delayedSetIsOver(isOver); + } else { + _this2.setState({ + isOver: isOver + }); + } + }; + } + /** + * Creates an event callback to handle assignment of the `isInMouseDown` + * instance property in response to a `mousedown` or `mouseup` event. + * + * @param {boolean} isMouseDown Whether handler is to be created for the + * `mousedown` event, as opposed to `mouseup`. + * + * @return {Function} Event callback handler. + */ + + }, { + key: "createSetIsMouseDown", + value: function createSetIsMouseDown(isMouseDown) { + var _this3 = this; + + return function (event) { + // Preserve original child callback behavior + _this3.emitToChild(isMouseDown ? 'onMouseDown' : 'onMouseUp', event); // On mouse down, the next `mouseup` should revert the value of the + // instance property and remove its own event handler. The bind is + // made on the document since the `mouseup` might not occur within + // the bounds of the element. + + + document[isMouseDown ? 'addEventListener' : 'removeEventListener']('mouseup', _this3.cancelIsMouseDown); + _this3.isInMouseDown = isMouseDown; + }; + } + }, { + key: "render", + value: function render() { + var _this$props = this.props, + children = _this$props.children, + position = _this$props.position, + text = _this$props.text, + shortcut = _this$props.shortcut; + + if (_wordpress_element__WEBPACK_IMPORTED_MODULE_5__["Children"].count(children) !== 1) { + if (false) {} + + return children; + } + + var child = _wordpress_element__WEBPACK_IMPORTED_MODULE_5__["Children"].only(children); + var isOver = this.state.isOver; + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__["cloneElement"])(child, { + onMouseEnter: this.createToggleIsOver('onMouseEnter', true), + onMouseLeave: this.createToggleIsOver('onMouseLeave'), + onClick: this.createToggleIsOver('onClick'), + onFocus: this.createToggleIsOver('onFocus'), + onBlur: this.createToggleIsOver('onBlur'), + onMouseDown: this.createSetIsMouseDown(true), + children: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__["concatChildren"])(child.props.children, isOver && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__["createElement"])(_popover__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"], { + focusOnMount: false, + position: position, + className: "components-tooltip", + "aria-hidden": "true", + animate: false + }, text, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__["createElement"])(_shortcut__WEBPACK_IMPORTED_MODULE_8__[/* default */ "a"], { + className: "components-tooltip__shortcut", + shortcut: shortcut + }))) + }); + } + }]); + + return Tooltip; +}(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__["Component"]); + +/* harmony default export */ __webpack_exports__["a"] = (Tooltip); + + +/***/ }), +/* 107 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(19); +/* harmony import */ var reakit_Toolbar__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(443); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(125); +/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_warning__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var _toolbar_context__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(74); + + + +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +/** + * Internal dependencies + */ + + + +function ToolbarItem(_ref, ref) { + var children = _ref.children, + props = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_ref, ["children"]); + + var accessibleToolbarState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["useContext"])(_toolbar_context__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"]); // https://reakit.io/docs/composition/#props-hooks + + var itemProps = Object(reakit_Toolbar__WEBPACK_IMPORTED_MODULE_2__[/* useToolbarItem */ "a"])(accessibleToolbarState, _objectSpread({}, props, { + ref: ref + })); + + if (typeof children !== 'function') { + typeof process !== "undefined" && process.env && "production" !== "production" ? _wordpress_warning__WEBPACK_IMPORTED_MODULE_4___default()('`ToolbarItem` is a generic headless component that accepts only function children props') : void 0; + return null; + } + + if (!accessibleToolbarState) { + typeof process !== "undefined" && process.env && "production" !== "production" ? _wordpress_warning__WEBPACK_IMPORTED_MODULE_4___default()('`ToolbarItem` should be rendered within ``') : void 0; + return null; + } + + return children(itemProps); +} + +/* harmony default export */ __webpack_exports__["a"] = (Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["forwardRef"])(ToolbarItem)); + +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(102))) + +/***/ }), +/* 108 */, +/* 109 */, +/* 110 */, +/* 111 */ /***/ (function(module, exports) { // Unique ID creation requires a high quality random # generator. In the @@ -5443,7 +9973,7 @@ if (getRandomValues) { /***/ }), -/* 88 */ +/* 112 */ /***/ (function(module, exports) { /** @@ -5473,7 +10003,7 @@ module.exports = bytesToUuid; /***/ }), -/* 89 */ +/* 113 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5486,7 +10016,7 @@ module.exports = bytesToUuid; -var ReactPropTypesSecret = __webpack_require__(90); +var ReactPropTypesSecret = __webpack_require__(114); function emptyFunction() {} function emptyFunctionWithReset() {} @@ -5544,7 +10074,7 @@ module.exports = function() { /***/ }), -/* 90 */ +/* 114 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5563,7 +10093,21 @@ module.exports = ReactPropTypesSecret; /***/ }), -/* 91 */ +/* 115 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +// https://www.ecma-international.org/ecma-262/6.0/#sec-ispropertykey + +module.exports = function IsPropertyKey(argument) { + return typeof argument === 'string' || typeof argument === 'symbol'; +}; + + +/***/ }), +/* 116 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5573,18 +10117,18 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(28); +var _propTypes = __webpack_require__(25); var _propTypes2 = _interopRequireDefault(_propTypes); -var _constants = __webpack_require__(41); +var _constants = __webpack_require__(45); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } exports['default'] = _propTypes2['default'].oneOf([_constants.ICON_BEFORE_POSITION, _constants.ICON_AFTER_POSITION]); /***/ }), -/* 92 */ +/* 117 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5594,18 +10138,18 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(28); +var _propTypes = __webpack_require__(25); var _propTypes2 = _interopRequireDefault(_propTypes); -var _constants = __webpack_require__(41); +var _constants = __webpack_require__(45); 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 */ +/* 118 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5620,7 +10164,7 @@ var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _isBeforeDay = __webpack_require__(94); +var _isBeforeDay = __webpack_require__(119); var _isBeforeDay2 = _interopRequireDefault(_isBeforeDay); @@ -5632,7 +10176,7 @@ function isInclusivelyAfterDay(a, b) { } /***/ }), -/* 94 */ +/* 119 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5667,7 +10211,7 @@ function isBeforeDay(a, b) { } /***/ }), -/* 95 */ +/* 120 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5704,7 +10248,7 @@ CloseButton.defaultProps = { exports['default'] = CloseButton; /***/ }), -/* 96 */ +/* 121 */ /***/ (function(module, exports) { function _inheritsLoose(subClass, superClass) { @@ -5716,25 +10260,39 @@ function _inheritsLoose(subClass, superClass) { module.exports = _inheritsLoose; /***/ }), -/* 97 */, -/* 98 */, -/* 99 */, -/* 100 */, -/* 101 */ +/* 122 */, +/* 123 */, +/* 124 */, +/* 125 */ +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["warning"]; }()); + +/***/ }), +/* 126 */, +/* 127 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -// https://www.ecma-international.org/ecma-262/6.0/#sec-ispropertykey +var GetIntrinsic = __webpack_require__(49); -module.exports = function IsPropertyKey(argument) { - return typeof argument === 'string' || typeof argument === 'symbol'; +var callBind = __webpack_require__(160); + +var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf')); + +module.exports = function callBoundIntrinsic(name, allowMissing) { + var intrinsic = GetIntrinsic(name, !!allowMissing); + if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.')) { + return callBind(intrinsic); + } + return intrinsic; }; /***/ }), -/* 102 */ +/* 128 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5744,11 +10302,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(28); +var _propTypes = __webpack_require__(25); var _propTypes2 = _interopRequireDefault(_propTypes); -var _airbnbPropTypes = __webpack_require__(48); +var _airbnbPropTypes = __webpack_require__(51); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -5779,7 +10337,7 @@ exports['default'] = (0, _airbnbPropTypes.and)([_propTypes2['default'].instanceO }()], 'Modifiers (Set of Strings)'); /***/ }), -/* 103 */ +/* 129 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -5794,11 +10352,11 @@ var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _toMomentObject = __webpack_require__(80); +var _toMomentObject = __webpack_require__(98); var _toMomentObject2 = _interopRequireDefault(_toMomentObject); -var _constants = __webpack_require__(41); +var _constants = __webpack_require__(45); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -5810,7 +10368,7 @@ function toISODateString(date, currentFormat) { } /***/ }), -/* 104 */ +/* 130 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -6025,7 +10583,7 @@ function addEventListener(target, eventName, listener, options) { /***/ }), -/* 105 */ +/* 131 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -6040,11 +10598,11 @@ var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _toMomentObject = __webpack_require__(80); +var _toMomentObject = __webpack_require__(98); var _toMomentObject2 = _interopRequireDefault(_toMomentObject); -var _constants = __webpack_require__(41); +var _constants = __webpack_require__(45); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -6056,7 +10614,7 @@ function toISOMonthString(date, currentFormat) { } /***/ }), -/* 106 */ +/* 132 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -6066,18 +10624,18 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(28); +var _propTypes = __webpack_require__(25); var _propTypes2 = _interopRequireDefault(_propTypes); -var _constants = __webpack_require__(41); +var _constants = __webpack_require__(45); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } exports['default'] = _propTypes2['default'].oneOfType([_propTypes2['default'].bool, _propTypes2['default'].oneOf([_constants.START_DATE, _constants.END_DATE])]); /***/ }), -/* 107 */ +/* 133 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -6092,11 +10650,11 @@ var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _isBeforeDay = __webpack_require__(94); +var _isBeforeDay = __webpack_require__(119); var _isBeforeDay2 = _interopRequireDefault(_isBeforeDay); -var _isSameDay = __webpack_require__(79); +var _isSameDay = __webpack_require__(97); var _isSameDay2 = _interopRequireDefault(_isSameDay); @@ -6108,17 +10666,454 @@ function isAfterDay(a, b) { } /***/ }), -/* 108 */, -/* 109 */, -/* 110 */, -/* 111 */, -/* 112 */ +/* 134 */, +/* 135 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5); +/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(10); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__); + + + +/** + * External dependencies + */ + + +function Animate(_ref) { + var type = _ref.type, + _ref$options = _ref.options, + options = _ref$options === void 0 ? {} : _ref$options, + children = _ref.children; + + if (type === 'appear') { + var _classnames; + + var _options$origin = options.origin, + origin = _options$origin === void 0 ? 'top' : _options$origin; + + var _origin$split = origin.split(' '), + _origin$split2 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_origin$split, 2), + yAxis = _origin$split2[0], + _origin$split2$ = _origin$split2[1], + xAxis = _origin$split2$ === void 0 ? 'center' : _origin$split2$; + + return children({ + className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('components-animate__appear', (_classnames = {}, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_classnames, 'is-from-' + xAxis, xAxis !== 'center'), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_classnames, 'is-from-' + yAxis, yAxis !== 'middle'), _classnames)) + }); + } + + if (type === 'slide-in') { + var _options$origin2 = options.origin, + _origin = _options$origin2 === void 0 ? 'left' : _options$origin2; + + return children({ + className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('components-animate__slide-in', 'is-from-' + _origin) + }); + } + + if (type === 'loading') { + return children({ + className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('components-animate__loading') + }); + } + + return children({}); +} + +/* harmony default export */ __webpack_exports__["a"] = (Animate); + + +/***/ }), +/* 136 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* unused harmony export createScrollLockComponent */ +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(13); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(12); +/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(14); +/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(15); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(16); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__); + + + + + + +/** + * 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(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(ScrollLock, _Component); + + function ScrollLock() { + Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(this, ScrollLock); + + return Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(ScrollLock).apply(this, arguments)); + } + + Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(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; + }(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__["Component"]) + ); +} +/* harmony default export */ __webpack_exports__["a"] = (createScrollLockComponent()); + + +/***/ }), +/* 137 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2); +/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(10); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1); +/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(125); +/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_warning__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var ___WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(34); + + +/** + * External dependencies + */ + + +/** + * WordPress dependencies + */ + + + + +/** + * Internal dependencies + */ + + +var NOTICE_TIMEOUT = 10000; + +function Snackbar(_ref, ref) { + var className = _ref.className, + children = _ref.children, + _ref$actions = _ref.actions, + actions = _ref$actions === void 0 ? [] : _ref$actions, + _ref$onRemove = _ref.onRemove, + onRemove = _ref$onRemove === void 0 ? lodash__WEBPACK_IMPORTED_MODULE_1__["noop"] : _ref$onRemove; + Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useEffect"])(function () { + var timeoutHandle = setTimeout(function () { + onRemove(); + }, NOTICE_TIMEOUT); + return function () { + return clearTimeout(timeoutHandle); + }; + }, []); + var classes = classnames__WEBPACK_IMPORTED_MODULE_2___default()(className, 'components-snackbar'); + + if (actions && actions.length > 1) { + // we need to inform developers that snackbar only accepts 1 action + typeof process !== "undefined" && process.env && "production" !== "production" ? _wordpress_warning__WEBPACK_IMPORTED_MODULE_4___default()('Snackbar can only have 1 action, use Notice if your message require many messages') : void 0; // return first element only while keeping it inside an array + + actions = [actions[0]]; + } + + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", { + ref: ref, + className: classes, + onClick: onRemove, + tabIndex: "0", + role: "button", + onKeyPress: onRemove, + label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["__"])('Dismiss this notice') + }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", { + className: "components-snackbar__content" + }, children, actions.map(function (_ref2, index) { + var label = _ref2.label, + _onClick = _ref2.onClick, + url = _ref2.url; + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(___WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"], { + key: index, + href: url, + isTertiary: true, + onClick: function onClick(event) { + event.stopPropagation(); + + if (_onClick) { + _onClick(event); + } + }, + className: "components-snackbar__action" + }, label); + }))); +} + +/* harmony default export */ __webpack_exports__["a"] = (Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["forwardRef"])(Snackbar)); + +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(102))) + +/***/ }), +/* 138 */, +/* 139 */, +/* 140 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2); +/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__); + + +/** + * External dependencies + */ + + +function Shortcut(_ref) { + var shortcut = _ref.shortcut, + className = _ref.className; + + if (!shortcut) { + return null; + } + + var displayText; + var ariaLabel; + + if (Object(lodash__WEBPACK_IMPORTED_MODULE_1__["isString"])(shortcut)) { + displayText = shortcut; + } + + if (Object(lodash__WEBPACK_IMPORTED_MODULE_1__["isObject"])(shortcut)) { + displayText = shortcut.display; + ariaLabel = shortcut.ariaLabel; + } + + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("span", { + className: className, + "aria-label": ariaLabel + }, displayText); +} + +/* harmony default export */ __webpack_exports__["a"] = (Shortcut); + + +/***/ }), +/* 141 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useToolbarState; }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(21); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _rollupPluginBabelHelpers_f089acec_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(43); +/* harmony import */ var reakit_utils_useSealedState__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67); +/* harmony import */ var _Rover_RoverState_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(95); + + + + + + + + +function useToolbarState(initialState) { + if (initialState === void 0) { + initialState = {}; + } + + var _useSealedState = Object(reakit_utils_useSealedState__WEBPACK_IMPORTED_MODULE_2__[/* useSealedState */ "a"])(initialState), + _useSealedState$orien = _useSealedState.orientation, + orientation = _useSealedState$orien === void 0 ? "horizontal" : _useSealedState$orien, + sealed = Object(_rollupPluginBabelHelpers_f089acec_js__WEBPACK_IMPORTED_MODULE_1__[/* _ */ "a"])(_useSealedState, ["orientation"]); + + return Object(_Rover_RoverState_js__WEBPACK_IMPORTED_MODULE_3__[/* useRoverState */ "a"])(Object(_rollupPluginBabelHelpers_f089acec_js__WEBPACK_IMPORTED_MODULE_1__[/* a */ "b"])({ + orientation: orientation + }, sealed)); +} +var keys = [].concat(_Rover_RoverState_js__WEBPACK_IMPORTED_MODULE_3__[/* useRoverState */ "a"].__keys); +useToolbarState.__keys = keys; + + + + +/***/ }), +/* 142 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useCreateElement; }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(21); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _SystemContext_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(87); +/* harmony import */ var _rollupPluginBabelHelpers_ce04ac6e_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(76); + + + + +function isRenderProp(children) { + return typeof children === "function"; +} + +var useCreateElement = function useCreateElement(type, props, children) { + if (children === void 0) { + children = props.children; + } + + var context = Object(react__WEBPACK_IMPORTED_MODULE_0__["useContext"])(_SystemContext_js__WEBPACK_IMPORTED_MODULE_1__[/* SystemContext */ "a"]); + + if (context.useCreateElement) { + return context.useCreateElement(type, props, children); + } + + if (isRenderProp(children)) { + var _ = props.children, + rest = Object(_rollupPluginBabelHelpers_ce04ac6e_js__WEBPACK_IMPORTED_MODULE_2__[/* a */ "b"])(props, ["children"]); + + return children(rest); + } + + return Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(type, props, children); +}; + + + + +/***/ }), +/* 143 */, +/* 144 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var util = __webpack_require__(113); +var util = __webpack_require__(145); function scrollIntoView(elem, container, config) { config = config || {}; @@ -6247,7 +11242,7 @@ function scrollIntoView(elem, container, config) { module.exports = scrollIntoView; /***/ }), -/* 113 */ +/* 145 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -6692,11 +11687,11 @@ module.exports = _extends({ }, domUtils); /***/ }), -/* 114 */, -/* 115 */, -/* 116 */, -/* 117 */, -/* 118 */ +/* 146 */, +/* 147 */, +/* 148 */, +/* 149 */, +/* 150 */ /***/ (function(module, exports) { function _extends() { @@ -6720,7 +11715,7 @@ function _extends() { module.exports = _extends; /***/ }), -/* 119 */ +/* 151 */ /***/ (function(module, exports) { function _objectWithoutPropertiesLoose(source, excluded) { @@ -6741,7 +11736,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { module.exports = _objectWithoutPropertiesLoose; /***/ }), -/* 120 */ +/* 152 */ /***/ (function(module, exports) { function _assertThisInitialized(self) { @@ -6755,23 +11750,23 @@ function _assertThisInitialized(self) { module.exports = _assertThisInitialized; /***/ }), -/* 121 */, -/* 122 */, -/* 123 */, -/* 124 */, -/* 125 */, -/* 126 */, -/* 127 */ +/* 153 */, +/* 154 */, +/* 155 */, +/* 156 */, +/* 157 */, +/* 158 */, +/* 159 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var slice = Array.prototype.slice; -var isArgs = __webpack_require__(151); +var isArgs = __webpack_require__(188); var origKeys = Object.keys; -var keysShim = origKeys ? function keys(o) { return origKeys(o); } : __webpack_require__(243); +var keysShim = origKeys ? function keys(o) { return origKeys(o); } : __webpack_require__(289); var originalKeys = Object.keys; @@ -6800,15 +11795,15 @@ module.exports = keysShim; /***/ }), -/* 128 */ +/* 160 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var bind = __webpack_require__(74); +var bind = __webpack_require__(93); -var GetIntrinsic = __webpack_require__(47); +var GetIntrinsic = __webpack_require__(49); var $Function = GetIntrinsic('%Function%'); var $apply = $Function.apply; @@ -6824,20 +11819,20 @@ module.exports.apply = function applyBind() { /***/ }), -/* 129 */ +/* 161 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var GetIntrinsic = __webpack_require__(47); +var GetIntrinsic = __webpack_require__(49); var $TypeError = GetIntrinsic('%TypeError%'); -var inspect = __webpack_require__(153); +var inspect = __webpack_require__(190); -var IsPropertyKey = __webpack_require__(101); -var Type = __webpack_require__(75); +var IsPropertyKey = __webpack_require__(115); +var Type = __webpack_require__(78); /** * 7.3.1 Get (O, P) - https://ecma-international.org/ecma-262/6.0/#sec-get-o-p @@ -6861,29 +11856,28 @@ module.exports = function Get(O, P) { /***/ }), -/* 130 */ +/* 162 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var GetIntrinsic = __webpack_require__(47); +var GetIntrinsic = __webpack_require__(49); -var callBind = __webpack_require__(128); +var $Array = GetIntrinsic('%Array%'); -var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf')); +// eslint-disable-next-line global-require +var toStr = !$Array.isArray && __webpack_require__(127)('Object.prototype.toString'); -module.exports = function callBoundIntrinsic(name, allowMissing) { - var intrinsic = GetIntrinsic(name, !!allowMissing); - if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.')) { - return callBind(intrinsic); - } - return intrinsic; +// https://www.ecma-international.org/ecma-262/6.0/#sec-isarray + +module.exports = $Array.isArray || function IsArray(argument) { + return toStr(argument) === '[object Array]'; }; /***/ }), -/* 131 */ +/* 163 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -6895,14 +11889,14 @@ module.exports = Number.isNaN || function isNaN(a) { /***/ }), -/* 132 */ +/* 164 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var toStr = Object.prototype.toString; -var hasSymbols = __webpack_require__(271)(); +var hasSymbols = __webpack_require__(321)(); if (hasSymbols) { var symToStr = Symbol.prototype.toString; @@ -6937,7 +11931,7 @@ if (hasSymbols) { /***/ }), -/* 133 */ +/* 165 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -6952,7 +11946,7 @@ 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__(52); +var _object = __webpack_require__(55); var _object2 = _interopRequireDefault(_object); @@ -6960,41 +11954,41 @@ var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(28); +var _propTypes = __webpack_require__(25); var _propTypes2 = _interopRequireDefault(_propTypes); -var _reactAddonsShallowCompare = __webpack_require__(78); +var _reactAddonsShallowCompare = __webpack_require__(96); var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare); -var _reactMomentProptypes = __webpack_require__(67); +var _reactMomentProptypes = __webpack_require__(79); var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes); -var _airbnbPropTypes = __webpack_require__(48); +var _airbnbPropTypes = __webpack_require__(51); -var _reactWithStyles = __webpack_require__(58); +var _reactWithStyles = __webpack_require__(63); var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _defaultPhrases = __webpack_require__(53); +var _defaultPhrases = __webpack_require__(57); -var _getPhrasePropTypes = __webpack_require__(56); +var _getPhrasePropTypes = __webpack_require__(59); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _getCalendarDaySettings = __webpack_require__(169); +var _getCalendarDaySettings = __webpack_require__(207); var _getCalendarDaySettings2 = _interopRequireDefault(_getCalendarDaySettings); -var _ModifiersShape = __webpack_require__(102); +var _ModifiersShape = __webpack_require__(128); var _ModifiersShape2 = _interopRequireDefault(_ModifiersShape); -var _constants = __webpack_require__(41); +var _constants = __webpack_require__(45); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -7419,25 +12413,25 @@ exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) { })(CalendarDay); /***/ }), -/* 134 */ +/* 166 */ /***/ (function(module, exports, __webpack_require__) { // eslint-disable-next-line import/no-unresolved -module.exports = __webpack_require__(302); +module.exports = __webpack_require__(352); /***/ }), -/* 135 */ +/* 167 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var define = __webpack_require__(66); +var define = __webpack_require__(77); -var implementation = __webpack_require__(175); -var getPolyfill = __webpack_require__(183); -var shim = __webpack_require__(312); +var implementation = __webpack_require__(213); +var getPolyfill = __webpack_require__(221); +var shim = __webpack_require__(362); var polyfill = getPolyfill(); @@ -7451,7 +12445,7 @@ module.exports = polyfill; /***/ }), -/* 136 */ +/* 168 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -7495,7 +12489,7 @@ module.exports = function isCallable(value) { /***/ }), -/* 137 */ +/* 169 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -7679,7 +12673,7 @@ module.exports = function GetIntrinsic(name, allowMissing) { /***/ }), -/* 138 */ +/* 170 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -7744,7 +12738,7 @@ function getInputHeight(_ref, small) { } /***/ }), -/* 139 */ +/* 171 */ /***/ (function(module, exports) { /** @@ -7781,7 +12775,7 @@ module.exports = isObject; /***/ }), -/* 140 */ +/* 172 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -7796,11 +12790,11 @@ var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _toMomentObject = __webpack_require__(80); +var _toMomentObject = __webpack_require__(98); var _toMomentObject2 = _interopRequireDefault(_toMomentObject); -var _constants = __webpack_require__(41); +var _constants = __webpack_require__(45); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -7812,7 +12806,7 @@ function toLocalizedDateString(date, currentFormat) { } /***/ }), -/* 141 */ +/* 173 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -7823,11 +12817,11 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = isDayVisible; -var _isBeforeDay = __webpack_require__(94); +var _isBeforeDay = __webpack_require__(119); var _isBeforeDay2 = _interopRequireDefault(_isBeforeDay); -var _isAfterDay = __webpack_require__(107); +var _isAfterDay = __webpack_require__(133); var _isAfterDay2 = _interopRequireDefault(_isAfterDay); @@ -7844,7 +12838,7 @@ function isDayVisible(day, month, numberOfMonths, enableOutsideDays) { } /***/ }), -/* 142 */ +/* 174 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -7859,7 +12853,7 @@ 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__(52); +var _object = __webpack_require__(55); var _object2 = _interopRequireDefault(_object); @@ -7867,89 +12861,89 @@ var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(28); +var _propTypes = __webpack_require__(25); var _propTypes2 = _interopRequireDefault(_propTypes); -var _reactAddonsShallowCompare = __webpack_require__(78); +var _reactAddonsShallowCompare = __webpack_require__(96); var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare); -var _airbnbPropTypes = __webpack_require__(48); +var _airbnbPropTypes = __webpack_require__(51); -var _reactWithStyles = __webpack_require__(58); +var _reactWithStyles = __webpack_require__(63); var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _throttle = __webpack_require__(196); +var _throttle = __webpack_require__(234); var _throttle2 = _interopRequireDefault(_throttle); -var _isTouchDevice = __webpack_require__(82); +var _isTouchDevice = __webpack_require__(100); var _isTouchDevice2 = _interopRequireDefault(_isTouchDevice); -var _reactOutsideClickHandler = __webpack_require__(134); +var _reactOutsideClickHandler = __webpack_require__(166); var _reactOutsideClickHandler2 = _interopRequireDefault(_reactOutsideClickHandler); -var _defaultPhrases = __webpack_require__(53); +var _defaultPhrases = __webpack_require__(57); -var _getPhrasePropTypes = __webpack_require__(56); +var _getPhrasePropTypes = __webpack_require__(59); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _CalendarMonthGrid = __webpack_require__(172); +var _CalendarMonthGrid = __webpack_require__(210); var _CalendarMonthGrid2 = _interopRequireDefault(_CalendarMonthGrid); -var _DayPickerNavigation = __webpack_require__(325); +var _DayPickerNavigation = __webpack_require__(375); var _DayPickerNavigation2 = _interopRequireDefault(_DayPickerNavigation); -var _DayPickerKeyboardShortcuts = __webpack_require__(328); +var _DayPickerKeyboardShortcuts = __webpack_require__(378); var _DayPickerKeyboardShortcuts2 = _interopRequireDefault(_DayPickerKeyboardShortcuts); -var _getNumberOfCalendarMonthWeeks = __webpack_require__(330); +var _getNumberOfCalendarMonthWeeks = __webpack_require__(380); var _getNumberOfCalendarMonthWeeks2 = _interopRequireDefault(_getNumberOfCalendarMonthWeeks); -var _getCalendarMonthWidth = __webpack_require__(173); +var _getCalendarMonthWidth = __webpack_require__(211); var _getCalendarMonthWidth2 = _interopRequireDefault(_getCalendarMonthWidth); -var _calculateDimension = __webpack_require__(171); +var _calculateDimension = __webpack_require__(209); var _calculateDimension2 = _interopRequireDefault(_calculateDimension); -var _getActiveElement = __webpack_require__(331); +var _getActiveElement = __webpack_require__(381); var _getActiveElement2 = _interopRequireDefault(_getActiveElement); -var _isDayVisible = __webpack_require__(141); +var _isDayVisible = __webpack_require__(173); var _isDayVisible2 = _interopRequireDefault(_isDayVisible); -var _ModifiersShape = __webpack_require__(102); +var _ModifiersShape = __webpack_require__(128); var _ModifiersShape2 = _interopRequireDefault(_ModifiersShape); -var _ScrollableOrientationShape = __webpack_require__(81); +var _ScrollableOrientationShape = __webpack_require__(99); var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape); -var _DayOfWeekShape = __webpack_require__(77); +var _DayOfWeekShape = __webpack_require__(94); var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape); -var _CalendarInfoPositionShape = __webpack_require__(92); +var _CalendarInfoPositionShape = __webpack_require__(117); var _CalendarInfoPositionShape2 = _interopRequireDefault(_CalendarInfoPositionShape); -var _constants = __webpack_require__(41); +var _constants = __webpack_require__(45); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -9426,21 +14420,418 @@ exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) { })(DayPicker); /***/ }), -/* 143 */, -/* 144 */, -/* 145 */ +/* 175 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return createSlotFill; }); +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(11); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _slot__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(179); +/* harmony import */ var _fill__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(178); + + + +/** + * Internal dependencies + */ + + + + + + +function createSlotFill(name) { + var FillComponent = function FillComponent(props) { + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_fill__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({ + name: name + }, props)); + }; + + FillComponent.displayName = name + 'Fill'; + + var SlotComponent = function SlotComponent(props) { + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_slot__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({ + name: name + }, props)); + }; + + SlotComponent.displayName = name + 'Slot'; + return { + Fill: FillComponent, + Slot: SlotComponent + }; +} + + +/***/ }), +/* 176 */, +/* 177 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Consumer; }); +/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(13); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(12); +/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(14); +/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(15); +/* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(7); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(16); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__); +/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(2); +/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_8__); + + + + + + + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +var _createContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createContext"])({ + focusHistory: [] +}), + Provider = _createContext.Provider, + Consumer = _createContext.Consumer; + +Provider.displayName = 'FocusReturnProvider'; +Consumer.displayName = 'FocusReturnConsumer'; +/** + * The maximum history length to capture for the focus stack. When exceeded, + * items should be shifted from the stack for each consecutive push. + * + * @type {number} + */ + +var MAX_STACK_LENGTH = 100; + +var FocusReturnProvider = +/*#__PURE__*/ +function (_Component) { + Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(FocusReturnProvider, _Component); + + function FocusReturnProvider() { + var _this; + + Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(this, FocusReturnProvider); + + _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(FocusReturnProvider).apply(this, arguments)); + _this.onFocus = _this.onFocus.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(_this)); + _this.state = { + focusHistory: [] + }; + return _this; + } + + Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(FocusReturnProvider, [{ + key: "onFocus", + value: function onFocus(event) { + var focusHistory = this.state.focusHistory; // Push the focused element to the history stack, keeping only unique + // members but preferring the _last_ occurrence of any duplicates. + // Lodash's `uniq` behavior favors the first occurrence, so the array + // is temporarily reversed prior to it being called upon. Uniqueness + // helps avoid situations where, such as in a constrained tabbing area, + // the user changes focus enough within a transient element that the + // stack may otherwise only consist of members pending destruction, at + // which point focus might have been lost. + + var nextFocusHistory = Object(lodash__WEBPACK_IMPORTED_MODULE_8__["uniq"])([].concat(Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(focusHistory), [event.target]).slice(-1 * MAX_STACK_LENGTH).reverse()).reverse(); + this.setState({ + focusHistory: nextFocusHistory + }); + } + }, { + key: "render", + value: function render() { + var _this$props = this.props, + children = _this$props.children, + className = _this$props.className; + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(Provider, { + value: this.state + }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])("div", { + onFocus: this.onFocus, + className: className + }, children)); + } + }]); + + return FocusReturnProvider; +}(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["Component"]); + +/* harmony default export */ __webpack_exports__["b"] = (FocusReturnProvider); + + + +/***/ }), +/* 178 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(11); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2); +/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(90); + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + +/** + * Internal dependencies + */ + + +var occurrences = 0; + +function FillComponent(_ref) { + var name = _ref.name, + children = _ref.children, + registerFill = _ref.registerFill, + unregisterFill = _ref.unregisterFill; + var slot = Object(_context__WEBPACK_IMPORTED_MODULE_3__[/* useSlot */ "c"])(name); + var ref = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useRef"])({ + name: name, + children: children + }); + + if (!ref.current.occurrence) { + ref.current.occurrence = ++occurrences; + } + + Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useLayoutEffect"])(function () { + registerFill(name, ref.current); + return function () { + return unregisterFill(name, ref.current); + }; + }, []); + Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useLayoutEffect"])(function () { + ref.current.children = children; + + if (slot && !slot.props.bubblesVirtually) { + slot.forceUpdate(); + } + }, [children]); + Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["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(lodash__WEBPACK_IMPORTED_MODULE_2__["isFunction"])(children)) { + children = children(slot.props.fillProps); + } + + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createPortal"])(children, slot.node); +} + +var Fill = function Fill(props) { + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_context__WEBPACK_IMPORTED_MODULE_3__[/* Consumer */ "a"], null, function (_ref2) { + var registerFill = _ref2.registerFill, + unregisterFill = _ref2.unregisterFill; + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(FillComponent, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, props, { + registerFill: registerFill, + unregisterFill: unregisterFill + })); + }); +}; + +/* harmony default export */ __webpack_exports__["a"] = (Fill); + + +/***/ }), +/* 179 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(11); +/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(13); +/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(12); +/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(14); +/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(15); +/* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(7); +/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(16); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__); +/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(2); +/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_8__); +/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(90); + + + + + + + + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + +/** + * Internal dependencies + */ + + + +var SlotComponent = +/*#__PURE__*/ +function (_Component) { + Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(SlotComponent, _Component); + + function SlotComponent() { + var _this; + + Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(this, SlotComponent); + + _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(SlotComponent).apply(this, arguments)); + _this.bindNode = _this.bindNode.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(_this)); + return _this; + } + + Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(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(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])("div", { + ref: this.bindNode, + className: className + }); + } + + var fills = Object(lodash__WEBPACK_IMPORTED_MODULE_8__["map"])(getFills(name, this), function (fill) { + var fillKey = fill.occurrence; + var fillChildren = Object(lodash__WEBPACK_IMPORTED_MODULE_8__["isFunction"])(fill.children) ? fill.children(fillProps) : fill.children; + return _wordpress_element__WEBPACK_IMPORTED_MODULE_7__["Children"].map(fillChildren, function (child, childIndex) { + if (!child || Object(lodash__WEBPACK_IMPORTED_MODULE_8__["isString"])(child)) { + return child; + } + + var childKey = "".concat(fillKey, "---").concat(child.key || childIndex); + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["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(lodash__WEBPACK_IMPORTED_MODULE_8__["negate"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["isEmptyElement"])); + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["Fragment"], null, Object(lodash__WEBPACK_IMPORTED_MODULE_8__["isFunction"])(children) ? children(fills) : fills); + } + }]); + + return SlotComponent; +}(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["Component"]); + +var Slot = function Slot(props) { + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(_context__WEBPACK_IMPORTED_MODULE_9__[/* Consumer */ "a"], null, function (_ref) { + var registerSlot = _ref.registerSlot, + unregisterSlot = _ref.unregisterSlot, + getFills = _ref.getFills; + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(SlotComponent, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, props, { + registerSlot: registerSlot, + unregisterSlot: unregisterSlot, + getFills: getFills + })); + }); +}; + +/* harmony default export */ __webpack_exports__["a"] = (Slot); + + +/***/ }), +/* 180 */, +/* 181 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; if (true) { - module.exports = __webpack_require__(236); + module.exports = __webpack_require__(282); } else {} /***/ }), -/* 146 */ +/* 182 */ /***/ (function(module, exports) { // Copyright (c) 2014 Rafael Caricio. All rights reserved. @@ -9785,11 +15176,70 @@ exports.parse = (GradientParser || {}).parse; /***/ }), -/* 147 */, -/* 148 */, -/* 149 */, -/* 150 */, -/* 151 */ +/* 183 */, +/* 184 */, +/* 185 */, +/* 186 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(19); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__); + + + +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + +/** + * WordPress dependencies + */ + + +function Icon(_ref) { + var icon = _ref.icon, + _ref$size = _ref.size, + size = _ref$size === void 0 ? 24 : _ref$size, + props = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_ref, ["icon", "size"]); + + return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["cloneElement"])(icon, _objectSpread({ + width: size, + height: size + }, props)); +} + +/* harmony default export */ __webpack_exports__["a"] = (Icon); + + +/***/ }), +/* 187 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__); + + +/** + * WordPress dependencies + */ + +var check = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "-2 -2 24 24" +}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], { + d: "M15.3 5.3l-6.8 6.8-2.8-2.8-1.4 1.4 4.2 4.2 8.2-8.2" +})); +/* harmony default export */ __webpack_exports__["a"] = (check); + + +/***/ }), +/* 188 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -9813,18 +15263,18 @@ module.exports = function isArguments(value) { /***/ }), -/* 152 */ +/* 189 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var ArraySpeciesCreate = __webpack_require__(247); -var FlattenIntoArray = __webpack_require__(252); -var Get = __webpack_require__(129); -var ToInteger = __webpack_require__(161); -var ToLength = __webpack_require__(160); -var ToObject = __webpack_require__(273); +var ArraySpeciesCreate = __webpack_require__(293); +var FlattenIntoArray = __webpack_require__(298); +var Get = __webpack_require__(161); +var ToInteger = __webpack_require__(199); +var ToLength = __webpack_require__(198); +var ToObject = __webpack_require__(323); module.exports = function flat() { var O = ToObject(this); @@ -9842,7 +15292,7 @@ module.exports = function flat() { /***/ }), -/* 153 */ +/* 190 */ /***/ (function(module, exports, __webpack_require__) { var hasMap = typeof Map === 'function' && Map.prototype; @@ -9862,7 +15312,7 @@ var objectToString = Object.prototype.toString; var match = String.prototype.match; var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null; -var inspectCustom = __webpack_require__(248).custom; +var inspectCustom = __webpack_require__(294).custom; var inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null; module.exports = function inspect_(obj, options, depth, seen) { @@ -10155,28 +15605,7 @@ function arrObjKeys(obj, inspect) { /***/ }), -/* 154 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var GetIntrinsic = __webpack_require__(47); - -var $Array = GetIntrinsic('%Array%'); - -// eslint-disable-next-line global-require -var toStr = !$Array.isArray && __webpack_require__(130)('Object.prototype.toString'); - -// https://www.ecma-international.org/ecma-262/6.0/#sec-isarray - -module.exports = $Array.isArray || function IsArray(argument) { - return toStr(argument) === '[object Array]'; -}; - - -/***/ }), -/* 155 */ +/* 191 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10188,13 +15617,13 @@ module.exports = Number.isFinite || function (x) { return typeof x === 'number' /***/ }), -/* 156 */ +/* 192 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var GetIntrinsic = __webpack_require__(47); +var GetIntrinsic = __webpack_require__(49); var $Math = GetIntrinsic('%Math%'); var $Number = GetIntrinsic('%Number%'); @@ -10203,7 +15632,19 @@ module.exports = $Number.MAX_SAFE_INTEGER || $Math.pow(2, 53) - 1; /***/ }), -/* 157 */ +/* 193 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +// http://www.ecma-international.org/ecma-262/5.1/#sec-9.11 + +module.exports = __webpack_require__(194); + + +/***/ }), +/* 194 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10247,18 +15688,18 @@ module.exports = function isCallable(value) { /***/ }), -/* 158 */ +/* 195 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var GetIntrinsic = __webpack_require__(47); +var GetIntrinsic = __webpack_require__(49); var $TypeError = GetIntrinsic('%TypeError%'); var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var has = __webpack_require__(76); +var has = __webpack_require__(72); var predicates = { // https://ecma-international.org/ecma-262/6.0/#sec-property-descriptor-specification-type @@ -10302,7 +15743,19 @@ module.exports = function assertRecord(Type, recordType, argumentName, value) { /***/ }), -/* 159 */ +/* 196 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +// http://www.ecma-international.org/ecma-262/5.1/#sec-9.2 + +module.exports = function ToBoolean(value) { return !!value; }; + + +/***/ }), +/* 197 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10314,15 +15767,15 @@ module.exports = function isPrimitive(value) { /***/ }), -/* 160 */ +/* 198 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var MAX_SAFE_INTEGER = __webpack_require__(156); +var MAX_SAFE_INTEGER = __webpack_require__(192); -var ToInteger = __webpack_require__(161); +var ToInteger = __webpack_require__(199); module.exports = function ToLength(argument) { var len = ToInteger(argument); @@ -10333,15 +15786,15 @@ module.exports = function ToLength(argument) { /***/ }), -/* 161 */ +/* 199 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var ES5ToInteger = __webpack_require__(263); +var ES5ToInteger = __webpack_require__(313); -var ToNumber = __webpack_require__(266); +var ToNumber = __webpack_require__(316); // https://www.ecma-international.org/ecma-262/6.0/#sec-tointeger @@ -10352,7 +15805,7 @@ module.exports = function ToInteger(value) { /***/ }), -/* 162 */ +/* 200 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10379,7 +15832,7 @@ module.exports = function isDateObject(value) { /***/ }), -/* 163 */ +/* 201 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10428,13 +15881,13 @@ module.exports = function hasSymbols() { /***/ }), -/* 164 */ +/* 202 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var implementation = __webpack_require__(152); +var implementation = __webpack_require__(189); module.exports = function getPolyfill() { return Array.prototype.flat || implementation; @@ -10442,7 +15895,7 @@ module.exports = function getPolyfill() { /***/ }), -/* 165 */ +/* 203 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10543,7 +15996,7 @@ exports['default'] = { }; /***/ }), -/* 166 */ +/* 204 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10749,19 +16202,19 @@ exports['default'] = { }; /***/ }), -/* 167 */ +/* 205 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; // modified from https://github.com/es-shims/es6-shim -var keys = __webpack_require__(127); -var bind = __webpack_require__(74); +var keys = __webpack_require__(159); +var bind = __webpack_require__(93); var canBeObject = function (obj) { return typeof obj !== 'undefined' && obj !== null; }; -var hasSymbols = __webpack_require__(163)(); +var hasSymbols = __webpack_require__(201)(); var toObject = Object; var push = bind.call(Function.call, Array.prototype.push); var propIsEnumerable = bind.call(Function.call, Object.prototype.propertyIsEnumerable); @@ -10797,13 +16250,13 @@ module.exports = function assign(target, source1) { /***/ }), -/* 168 */ +/* 206 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var implementation = __webpack_require__(167); +var implementation = __webpack_require__(205); var lacksProperEnumerationOrder = function () { if (!Object.assign) { @@ -10855,7 +16308,7 @@ module.exports = function getPolyfill() { /***/ }), -/* 169 */ +/* 207 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10866,11 +16319,11 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = getCalendarDaySettings; -var _getPhrase = __webpack_require__(293); +var _getPhrase = __webpack_require__(343); var _getPhrase2 = _interopRequireDefault(_getPhrase); -var _constants = __webpack_require__(41); +var _constants = __webpack_require__(45); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -10913,7 +16366,7 @@ function getCalendarDaySettings(day, ariaLabelFormat, daySize, modifiers, phrase } /***/ }), -/* 170 */ +/* 208 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -10927,7 +16380,7 @@ 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__(52); +var _object = __webpack_require__(55); var _object2 = _interopRequireDefault(_object); @@ -10935,69 +16388,69 @@ var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(28); +var _propTypes = __webpack_require__(25); var _propTypes2 = _interopRequireDefault(_propTypes); -var _reactAddonsShallowCompare = __webpack_require__(78); +var _reactAddonsShallowCompare = __webpack_require__(96); var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare); -var _reactMomentProptypes = __webpack_require__(67); +var _reactMomentProptypes = __webpack_require__(79); var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes); -var _airbnbPropTypes = __webpack_require__(48); +var _airbnbPropTypes = __webpack_require__(51); -var _reactWithStyles = __webpack_require__(58); +var _reactWithStyles = __webpack_require__(63); var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _defaultPhrases = __webpack_require__(53); +var _defaultPhrases = __webpack_require__(57); -var _getPhrasePropTypes = __webpack_require__(56); +var _getPhrasePropTypes = __webpack_require__(59); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _CalendarWeek = __webpack_require__(294); +var _CalendarWeek = __webpack_require__(344); var _CalendarWeek2 = _interopRequireDefault(_CalendarWeek); -var _CalendarDay = __webpack_require__(133); +var _CalendarDay = __webpack_require__(165); var _CalendarDay2 = _interopRequireDefault(_CalendarDay); -var _calculateDimension = __webpack_require__(171); +var _calculateDimension = __webpack_require__(209); var _calculateDimension2 = _interopRequireDefault(_calculateDimension); -var _getCalendarMonthWeeks = __webpack_require__(296); +var _getCalendarMonthWeeks = __webpack_require__(346); var _getCalendarMonthWeeks2 = _interopRequireDefault(_getCalendarMonthWeeks); -var _isSameDay = __webpack_require__(79); +var _isSameDay = __webpack_require__(97); var _isSameDay2 = _interopRequireDefault(_isSameDay); -var _toISODateString = __webpack_require__(103); +var _toISODateString = __webpack_require__(129); var _toISODateString2 = _interopRequireDefault(_toISODateString); -var _ModifiersShape = __webpack_require__(102); +var _ModifiersShape = __webpack_require__(128); var _ModifiersShape2 = _interopRequireDefault(_ModifiersShape); -var _ScrollableOrientationShape = __webpack_require__(81); +var _ScrollableOrientationShape = __webpack_require__(99); var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape); -var _DayOfWeekShape = __webpack_require__(77); +var _DayOfWeekShape = __webpack_require__(94); var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape); -var _constants = __webpack_require__(41); +var _constants = __webpack_require__(45); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -11318,7 +16771,7 @@ exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref) { })(CalendarMonth); /***/ }), -/* 171 */ +/* 209 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11362,7 +16815,7 @@ function calculateDimension(el, axis) { } /***/ }), -/* 172 */ +/* 210 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11376,7 +16829,7 @@ 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__(52); +var _object = __webpack_require__(55); var _object2 = _interopRequireDefault(_object); @@ -11384,75 +16837,75 @@ var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(28); +var _propTypes = __webpack_require__(25); var _propTypes2 = _interopRequireDefault(_propTypes); -var _reactAddonsShallowCompare = __webpack_require__(78); +var _reactAddonsShallowCompare = __webpack_require__(96); var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare); -var _reactMomentProptypes = __webpack_require__(67); +var _reactMomentProptypes = __webpack_require__(79); var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes); -var _airbnbPropTypes = __webpack_require__(48); +var _airbnbPropTypes = __webpack_require__(51); -var _reactWithStyles = __webpack_require__(58); +var _reactWithStyles = __webpack_require__(63); var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _consolidatedEvents = __webpack_require__(104); +var _consolidatedEvents = __webpack_require__(130); -var _defaultPhrases = __webpack_require__(53); +var _defaultPhrases = __webpack_require__(57); -var _getPhrasePropTypes = __webpack_require__(56); +var _getPhrasePropTypes = __webpack_require__(59); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _CalendarMonth = __webpack_require__(170); +var _CalendarMonth = __webpack_require__(208); var _CalendarMonth2 = _interopRequireDefault(_CalendarMonth); -var _isTransitionEndSupported = __webpack_require__(297); +var _isTransitionEndSupported = __webpack_require__(347); var _isTransitionEndSupported2 = _interopRequireDefault(_isTransitionEndSupported); -var _getTransformStyles = __webpack_require__(298); +var _getTransformStyles = __webpack_require__(348); var _getTransformStyles2 = _interopRequireDefault(_getTransformStyles); -var _getCalendarMonthWidth = __webpack_require__(173); +var _getCalendarMonthWidth = __webpack_require__(211); var _getCalendarMonthWidth2 = _interopRequireDefault(_getCalendarMonthWidth); -var _toISOMonthString = __webpack_require__(105); +var _toISOMonthString = __webpack_require__(131); var _toISOMonthString2 = _interopRequireDefault(_toISOMonthString); -var _isPrevMonth = __webpack_require__(299); +var _isPrevMonth = __webpack_require__(349); var _isPrevMonth2 = _interopRequireDefault(_isPrevMonth); -var _isNextMonth = __webpack_require__(300); +var _isNextMonth = __webpack_require__(350); var _isNextMonth2 = _interopRequireDefault(_isNextMonth); -var _ModifiersShape = __webpack_require__(102); +var _ModifiersShape = __webpack_require__(128); var _ModifiersShape2 = _interopRequireDefault(_ModifiersShape); -var _ScrollableOrientationShape = __webpack_require__(81); +var _ScrollableOrientationShape = __webpack_require__(99); var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape); -var _DayOfWeekShape = __webpack_require__(77); +var _DayOfWeekShape = __webpack_require__(94); var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape); -var _constants = __webpack_require__(41); +var _constants = __webpack_require__(45); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -11928,7 +17381,7 @@ exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref) { })(CalendarMonthGrid); /***/ }), -/* 173 */ +/* 211 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11943,7 +17396,7 @@ function getCalendarMonthWidth(daySize, calendarMonthPadding) { } /***/ }), -/* 174 */ +/* 212 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -11968,15 +17421,15 @@ function isSameMonth(a, b) { } /***/ }), -/* 175 */ +/* 213 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var ES = __webpack_require__(303); -var has = __webpack_require__(76); -var bind = __webpack_require__(74); +var ES = __webpack_require__(353); +var has = __webpack_require__(72); +var bind = __webpack_require__(93); var isEnumerable = bind.call(Function.call, Object.prototype.propertyIsEnumerable); module.exports = function values(O) { @@ -11992,7 +17445,7 @@ module.exports = function values(O) { /***/ }), -/* 176 */ +/* 214 */ /***/ (function(module, exports) { module.exports = function isPrimitive(value) { @@ -12001,18 +17454,18 @@ module.exports = function isPrimitive(value) { /***/ }), -/* 177 */ +/* 215 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var GetIntrinsic = __webpack_require__(137); +var GetIntrinsic = __webpack_require__(169); var $TypeError = GetIntrinsic('%TypeError%'); var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var has = __webpack_require__(76); +var has = __webpack_require__(72); var predicates = { // https://ecma-international.org/ecma-262/6.0/#sec-property-descriptor-specification-type @@ -12057,7 +17510,7 @@ module.exports = function assertRecord(ES, recordType, argumentName, value) { /***/ }), -/* 178 */ +/* 216 */ /***/ (function(module, exports) { module.exports = Number.isNaN || function isNaN(a) { @@ -12066,7 +17519,7 @@ module.exports = Number.isNaN || function isNaN(a) { /***/ }), -/* 179 */ +/* 217 */ /***/ (function(module, exports) { var $isNaN = Number.isNaN || function (a) { return a !== a; }; @@ -12075,10 +17528,10 @@ module.exports = Number.isFinite || function (x) { return typeof x === 'number' /***/ }), -/* 180 */ +/* 218 */ /***/ (function(module, exports, __webpack_require__) { -var bind = __webpack_require__(74); +var bind = __webpack_require__(93); var has = bind.call(Function.call, Object.prototype.hasOwnProperty); var $assign = Object.assign; @@ -12098,7 +17551,7 @@ module.exports = function assign(target, source) { /***/ }), -/* 181 */ +/* 219 */ /***/ (function(module, exports) { module.exports = function sign(number) { @@ -12107,7 +17560,7 @@ module.exports = function sign(number) { /***/ }), -/* 182 */ +/* 220 */ /***/ (function(module, exports) { module.exports = function mod(number, modulo) { @@ -12117,13 +17570,13 @@ module.exports = function mod(number, modulo) { /***/ }), -/* 183 */ +/* 221 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var implementation = __webpack_require__(175); +var implementation = __webpack_require__(213); module.exports = function getPolyfill() { return typeof Object.values === 'function' ? Object.values : implementation; @@ -12131,7 +17584,7 @@ module.exports = function getPolyfill() { /***/ }), -/* 184 */ +/* 222 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -12160,13 +17613,13 @@ module.exports = function contains(other) { /***/ }), -/* 185 */ +/* 223 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var implementation = __webpack_require__(184); +var implementation = __webpack_require__(222); module.exports = function getPolyfill() { if (typeof document !== 'undefined') { @@ -12182,7 +17635,7 @@ module.exports = function getPolyfill() { /***/ }), -/* 186 */ +/* 224 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -12192,51 +17645,51 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(28); +var _propTypes = __webpack_require__(25); var _propTypes2 = _interopRequireDefault(_propTypes); -var _reactMomentProptypes = __webpack_require__(67); +var _reactMomentProptypes = __webpack_require__(79); var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes); -var _airbnbPropTypes = __webpack_require__(48); +var _airbnbPropTypes = __webpack_require__(51); -var _defaultPhrases = __webpack_require__(53); +var _defaultPhrases = __webpack_require__(57); -var _getPhrasePropTypes = __webpack_require__(56); +var _getPhrasePropTypes = __webpack_require__(59); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _FocusedInputShape = __webpack_require__(187); +var _FocusedInputShape = __webpack_require__(225); var _FocusedInputShape2 = _interopRequireDefault(_FocusedInputShape); -var _IconPositionShape = __webpack_require__(91); +var _IconPositionShape = __webpack_require__(116); var _IconPositionShape2 = _interopRequireDefault(_IconPositionShape); -var _OrientationShape = __webpack_require__(188); +var _OrientationShape = __webpack_require__(226); var _OrientationShape2 = _interopRequireDefault(_OrientationShape); -var _DisabledShape = __webpack_require__(106); +var _DisabledShape = __webpack_require__(132); var _DisabledShape2 = _interopRequireDefault(_DisabledShape); -var _AnchorDirectionShape = __webpack_require__(189); +var _AnchorDirectionShape = __webpack_require__(227); var _AnchorDirectionShape2 = _interopRequireDefault(_AnchorDirectionShape); -var _OpenDirectionShape = __webpack_require__(83); +var _OpenDirectionShape = __webpack_require__(101); var _OpenDirectionShape2 = _interopRequireDefault(_OpenDirectionShape); -var _DayOfWeekShape = __webpack_require__(77); +var _DayOfWeekShape = __webpack_require__(94); var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape); -var _CalendarInfoPositionShape = __webpack_require__(92); +var _CalendarInfoPositionShape = __webpack_require__(117); var _CalendarInfoPositionShape2 = _interopRequireDefault(_CalendarInfoPositionShape); @@ -12323,7 +17776,7 @@ exports['default'] = { }; /***/ }), -/* 187 */ +/* 225 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -12333,18 +17786,18 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(28); +var _propTypes = __webpack_require__(25); var _propTypes2 = _interopRequireDefault(_propTypes); -var _constants = __webpack_require__(41); +var _constants = __webpack_require__(45); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } exports['default'] = _propTypes2['default'].oneOf([_constants.START_DATE, _constants.END_DATE]); /***/ }), -/* 188 */ +/* 226 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -12354,18 +17807,18 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(28); +var _propTypes = __webpack_require__(25); var _propTypes2 = _interopRequireDefault(_propTypes); -var _constants = __webpack_require__(41); +var _constants = __webpack_require__(45); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } exports['default'] = _propTypes2['default'].oneOf([_constants.HORIZONTAL_ORIENTATION, _constants.VERTICAL_ORIENTATION]); /***/ }), -/* 189 */ +/* 227 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -12375,18 +17828,18 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(28); +var _propTypes = __webpack_require__(25); var _propTypes2 = _interopRequireDefault(_propTypes); -var _constants = __webpack_require__(41); +var _constants = __webpack_require__(45); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } exports['default'] = _propTypes2['default'].oneOf([_constants.ANCHOR_LEFT, _constants.ANCHOR_RIGHT]); /***/ }), -/* 190 */ +/* 228 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -12397,7 +17850,7 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = getResponsiveContainerStyles; -var _constants = __webpack_require__(41); +var _constants = __webpack_require__(45); function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } @@ -12410,7 +17863,7 @@ function getResponsiveContainerStyles(anchorDirection, currentOffset, containerE } /***/ }), -/* 191 */ +/* 229 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -12421,7 +17874,7 @@ Object.defineProperty(exports, "__esModule", { }); exports['default'] = getDetachedContainerStyles; -var _constants = __webpack_require__(41); +var _constants = __webpack_require__(45); /** * Calculate and return a CSS transform style to position a detached element @@ -12462,7 +17915,7 @@ function getDetachedContainerStyles(openDirection, anchorDirection, referenceEl) } /***/ }), -/* 192 */ +/* 230 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -12551,7 +18004,7 @@ function disableScroll(node) { } /***/ }), -/* 193 */ +/* 231 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -12567,7 +18020,7 @@ var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(28); +var _propTypes = __webpack_require__(25); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -12575,51 +18028,51 @@ var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _reactMomentProptypes = __webpack_require__(67); +var _reactMomentProptypes = __webpack_require__(79); var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes); -var _airbnbPropTypes = __webpack_require__(48); +var _airbnbPropTypes = __webpack_require__(51); -var _OpenDirectionShape = __webpack_require__(83); +var _OpenDirectionShape = __webpack_require__(101); var _OpenDirectionShape2 = _interopRequireDefault(_OpenDirectionShape); -var _defaultPhrases = __webpack_require__(53); +var _defaultPhrases = __webpack_require__(57); -var _getPhrasePropTypes = __webpack_require__(56); +var _getPhrasePropTypes = __webpack_require__(59); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _DateRangePickerInput = __webpack_require__(194); +var _DateRangePickerInput = __webpack_require__(232); var _DateRangePickerInput2 = _interopRequireDefault(_DateRangePickerInput); -var _IconPositionShape = __webpack_require__(91); +var _IconPositionShape = __webpack_require__(116); var _IconPositionShape2 = _interopRequireDefault(_IconPositionShape); -var _DisabledShape = __webpack_require__(106); +var _DisabledShape = __webpack_require__(132); var _DisabledShape2 = _interopRequireDefault(_DisabledShape); -var _toMomentObject = __webpack_require__(80); +var _toMomentObject = __webpack_require__(98); var _toMomentObject2 = _interopRequireDefault(_toMomentObject); -var _toLocalizedDateString = __webpack_require__(140); +var _toLocalizedDateString = __webpack_require__(172); var _toLocalizedDateString2 = _interopRequireDefault(_toLocalizedDateString); -var _isInclusivelyAfterDay = __webpack_require__(93); +var _isInclusivelyAfterDay = __webpack_require__(118); var _isInclusivelyAfterDay2 = _interopRequireDefault(_isInclusivelyAfterDay); -var _isBeforeDay = __webpack_require__(94); +var _isBeforeDay = __webpack_require__(119); var _isBeforeDay2 = _interopRequireDefault(_isBeforeDay); -var _constants = __webpack_require__(41); +var _constants = __webpack_require__(45); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -13036,7 +18489,7 @@ DateRangePickerInputController.propTypes = propTypes; DateRangePickerInputController.defaultProps = defaultProps; /***/ }), -/* 194 */ +/* 232 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -13048,7 +18501,7 @@ 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__(52); +var _object = __webpack_require__(55); var _object2 = _interopRequireDefault(_object); @@ -13056,53 +18509,53 @@ var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(28); +var _propTypes = __webpack_require__(25); var _propTypes2 = _interopRequireDefault(_propTypes); -var _airbnbPropTypes = __webpack_require__(48); +var _airbnbPropTypes = __webpack_require__(51); -var _reactWithStyles = __webpack_require__(58); +var _reactWithStyles = __webpack_require__(63); -var _defaultPhrases = __webpack_require__(53); +var _defaultPhrases = __webpack_require__(57); -var _getPhrasePropTypes = __webpack_require__(56); +var _getPhrasePropTypes = __webpack_require__(59); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _OpenDirectionShape = __webpack_require__(83); +var _OpenDirectionShape = __webpack_require__(101); var _OpenDirectionShape2 = _interopRequireDefault(_OpenDirectionShape); -var _DateInput = __webpack_require__(195); +var _DateInput = __webpack_require__(233); var _DateInput2 = _interopRequireDefault(_DateInput); -var _IconPositionShape = __webpack_require__(91); +var _IconPositionShape = __webpack_require__(116); var _IconPositionShape2 = _interopRequireDefault(_IconPositionShape); -var _DisabledShape = __webpack_require__(106); +var _DisabledShape = __webpack_require__(132); var _DisabledShape2 = _interopRequireDefault(_DisabledShape); -var _RightArrow = __webpack_require__(199); +var _RightArrow = __webpack_require__(237); var _RightArrow2 = _interopRequireDefault(_RightArrow); -var _LeftArrow = __webpack_require__(200); +var _LeftArrow = __webpack_require__(238); var _LeftArrow2 = _interopRequireDefault(_LeftArrow); -var _CloseButton = __webpack_require__(95); +var _CloseButton = __webpack_require__(120); var _CloseButton2 = _interopRequireDefault(_CloseButton); -var _CalendarIcon = __webpack_require__(201); +var _CalendarIcon = __webpack_require__(239); var _CalendarIcon2 = _interopRequireDefault(_CalendarIcon); -var _constants = __webpack_require__(41); +var _constants = __webpack_require__(45); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -13492,7 +18945,7 @@ exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) { })(DateRangePickerInput); /***/ }), -/* 195 */ +/* 233 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -13506,7 +18959,7 @@ 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__(52); +var _object = __webpack_require__(55); var _object2 = _interopRequireDefault(_object); @@ -13514,31 +18967,31 @@ var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(28); +var _propTypes = __webpack_require__(25); var _propTypes2 = _interopRequireDefault(_propTypes); -var _airbnbPropTypes = __webpack_require__(48); +var _airbnbPropTypes = __webpack_require__(51); -var _reactWithStyles = __webpack_require__(58); +var _reactWithStyles = __webpack_require__(63); -var _throttle = __webpack_require__(196); +var _throttle = __webpack_require__(234); var _throttle2 = _interopRequireDefault(_throttle); -var _isTouchDevice = __webpack_require__(82); +var _isTouchDevice = __webpack_require__(100); var _isTouchDevice2 = _interopRequireDefault(_isTouchDevice); -var _getInputHeight = __webpack_require__(138); +var _getInputHeight = __webpack_require__(170); var _getInputHeight2 = _interopRequireDefault(_getInputHeight); -var _OpenDirectionShape = __webpack_require__(83); +var _OpenDirectionShape = __webpack_require__(101); var _OpenDirectionShape2 = _interopRequireDefault(_OpenDirectionShape); -var _constants = __webpack_require__(41); +var _constants = __webpack_require__(45); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -13972,11 +19425,11 @@ exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref) { })(DateInput); /***/ }), -/* 196 */ +/* 234 */ /***/ (function(module, exports, __webpack_require__) { -var debounce = __webpack_require__(315), - isObject = __webpack_require__(139); +var debounce = __webpack_require__(365), + isObject = __webpack_require__(171); /** Error message constants. */ var FUNC_ERROR_TEXT = 'Expected a function'; @@ -14047,10 +19500,10 @@ module.exports = throttle; /***/ }), -/* 197 */ +/* 235 */ /***/ (function(module, exports, __webpack_require__) { -var freeGlobal = __webpack_require__(317); +var freeGlobal = __webpack_require__(367); /** Detect free variable `self`. */ var freeSelf = typeof self == 'object' && self && self.Object === Object && self; @@ -14062,10 +19515,10 @@ module.exports = root; /***/ }), -/* 198 */ +/* 236 */ /***/ (function(module, exports, __webpack_require__) { -var root = __webpack_require__(197); +var root = __webpack_require__(235); /** Built-in value references. */ var Symbol = root.Symbol; @@ -14074,7 +19527,7 @@ module.exports = Symbol; /***/ }), -/* 199 */ +/* 237 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -14110,7 +19563,7 @@ RightArrow.defaultProps = { exports['default'] = RightArrow; /***/ }), -/* 200 */ +/* 238 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -14146,7 +19599,7 @@ LeftArrow.defaultProps = { exports['default'] = LeftArrow; /***/ }), -/* 201 */ +/* 239 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -14182,7 +19635,7 @@ CalendarIcon.defaultProps = { exports['default'] = CalendarIcon; /***/ }), -/* 202 */ +/* 240 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -14196,7 +19649,7 @@ 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__(52); +var _object = __webpack_require__(55); var _object2 = _interopRequireDefault(_object); @@ -14204,97 +19657,97 @@ var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(28); +var _propTypes = __webpack_require__(25); var _propTypes2 = _interopRequireDefault(_propTypes); -var _reactMomentProptypes = __webpack_require__(67); +var _reactMomentProptypes = __webpack_require__(79); var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes); -var _airbnbPropTypes = __webpack_require__(48); +var _airbnbPropTypes = __webpack_require__(51); var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _object3 = __webpack_require__(135); +var _object3 = __webpack_require__(167); var _object4 = _interopRequireDefault(_object3); -var _isTouchDevice = __webpack_require__(82); +var _isTouchDevice = __webpack_require__(100); var _isTouchDevice2 = _interopRequireDefault(_isTouchDevice); -var _defaultPhrases = __webpack_require__(53); +var _defaultPhrases = __webpack_require__(57); -var _getPhrasePropTypes = __webpack_require__(56); +var _getPhrasePropTypes = __webpack_require__(59); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _isInclusivelyAfterDay = __webpack_require__(93); +var _isInclusivelyAfterDay = __webpack_require__(118); var _isInclusivelyAfterDay2 = _interopRequireDefault(_isInclusivelyAfterDay); -var _isNextDay = __webpack_require__(203); +var _isNextDay = __webpack_require__(241); var _isNextDay2 = _interopRequireDefault(_isNextDay); -var _isSameDay = __webpack_require__(79); +var _isSameDay = __webpack_require__(97); var _isSameDay2 = _interopRequireDefault(_isSameDay); -var _isAfterDay = __webpack_require__(107); +var _isAfterDay = __webpack_require__(133); var _isAfterDay2 = _interopRequireDefault(_isAfterDay); -var _isBeforeDay = __webpack_require__(94); +var _isBeforeDay = __webpack_require__(119); var _isBeforeDay2 = _interopRequireDefault(_isBeforeDay); -var _getVisibleDays = __webpack_require__(204); +var _getVisibleDays = __webpack_require__(242); var _getVisibleDays2 = _interopRequireDefault(_getVisibleDays); -var _isDayVisible = __webpack_require__(141); +var _isDayVisible = __webpack_require__(173); var _isDayVisible2 = _interopRequireDefault(_isDayVisible); -var _getSelectedDateOffset = __webpack_require__(324); +var _getSelectedDateOffset = __webpack_require__(374); var _getSelectedDateOffset2 = _interopRequireDefault(_getSelectedDateOffset); -var _toISODateString = __webpack_require__(103); +var _toISODateString = __webpack_require__(129); var _toISODateString2 = _interopRequireDefault(_toISODateString); -var _toISOMonthString = __webpack_require__(105); +var _toISOMonthString = __webpack_require__(131); var _toISOMonthString2 = _interopRequireDefault(_toISOMonthString); -var _DisabledShape = __webpack_require__(106); +var _DisabledShape = __webpack_require__(132); var _DisabledShape2 = _interopRequireDefault(_DisabledShape); -var _FocusedInputShape = __webpack_require__(187); +var _FocusedInputShape = __webpack_require__(225); var _FocusedInputShape2 = _interopRequireDefault(_FocusedInputShape); -var _ScrollableOrientationShape = __webpack_require__(81); +var _ScrollableOrientationShape = __webpack_require__(99); var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape); -var _DayOfWeekShape = __webpack_require__(77); +var _DayOfWeekShape = __webpack_require__(94); var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape); -var _CalendarInfoPositionShape = __webpack_require__(92); +var _CalendarInfoPositionShape = __webpack_require__(117); var _CalendarInfoPositionShape2 = _interopRequireDefault(_CalendarInfoPositionShape); -var _constants = __webpack_require__(41); +var _constants = __webpack_require__(45); -var _DayPicker = __webpack_require__(142); +var _DayPicker = __webpack_require__(174); var _DayPicker2 = _interopRequireDefault(_DayPicker); @@ -15693,7 +21146,7 @@ DayPickerRangeController.propTypes = propTypes; DayPickerRangeController.defaultProps = defaultProps; /***/ }), -/* 203 */ +/* 241 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -15708,7 +21161,7 @@ var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _isSameDay = __webpack_require__(79); +var _isSameDay = __webpack_require__(97); var _isSameDay2 = _interopRequireDefault(_isSameDay); @@ -15721,7 +21174,7 @@ function isNextDay(a, b) { } /***/ }), -/* 204 */ +/* 242 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -15736,7 +21189,7 @@ var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _toISOMonthString = __webpack_require__(105); +var _toISOMonthString = __webpack_require__(131); var _toISOMonthString2 = _interopRequireDefault(_toISOMonthString); @@ -15790,7 +21243,7 @@ function getVisibleDays(month, numberOfMonths, enableOutsideDays, withoutTransit } /***/ }), -/* 205 */ +/* 243 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -15804,7 +21257,7 @@ 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__(52); +var _object = __webpack_require__(55); var _object2 = _interopRequireDefault(_object); @@ -15812,73 +21265,73 @@ var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(28); +var _propTypes = __webpack_require__(25); var _propTypes2 = _interopRequireDefault(_propTypes); -var _reactMomentProptypes = __webpack_require__(67); +var _reactMomentProptypes = __webpack_require__(79); var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes); -var _airbnbPropTypes = __webpack_require__(48); +var _airbnbPropTypes = __webpack_require__(51); var _moment = __webpack_require__(30); var _moment2 = _interopRequireDefault(_moment); -var _object3 = __webpack_require__(135); +var _object3 = __webpack_require__(167); var _object4 = _interopRequireDefault(_object3); -var _isTouchDevice = __webpack_require__(82); +var _isTouchDevice = __webpack_require__(100); var _isTouchDevice2 = _interopRequireDefault(_isTouchDevice); -var _defaultPhrases = __webpack_require__(53); +var _defaultPhrases = __webpack_require__(57); -var _getPhrasePropTypes = __webpack_require__(56); +var _getPhrasePropTypes = __webpack_require__(59); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _isSameDay = __webpack_require__(79); +var _isSameDay = __webpack_require__(97); var _isSameDay2 = _interopRequireDefault(_isSameDay); -var _isAfterDay = __webpack_require__(107); +var _isAfterDay = __webpack_require__(133); var _isAfterDay2 = _interopRequireDefault(_isAfterDay); -var _getVisibleDays = __webpack_require__(204); +var _getVisibleDays = __webpack_require__(242); var _getVisibleDays2 = _interopRequireDefault(_getVisibleDays); -var _isDayVisible = __webpack_require__(141); +var _isDayVisible = __webpack_require__(173); var _isDayVisible2 = _interopRequireDefault(_isDayVisible); -var _toISODateString = __webpack_require__(103); +var _toISODateString = __webpack_require__(129); var _toISODateString2 = _interopRequireDefault(_toISODateString); -var _toISOMonthString = __webpack_require__(105); +var _toISOMonthString = __webpack_require__(131); var _toISOMonthString2 = _interopRequireDefault(_toISOMonthString); -var _ScrollableOrientationShape = __webpack_require__(81); +var _ScrollableOrientationShape = __webpack_require__(99); var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape); -var _DayOfWeekShape = __webpack_require__(77); +var _DayOfWeekShape = __webpack_require__(94); var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape); -var _CalendarInfoPositionShape = __webpack_require__(92); +var _CalendarInfoPositionShape = __webpack_require__(117); var _CalendarInfoPositionShape2 = _interopRequireDefault(_CalendarInfoPositionShape); -var _constants = __webpack_require__(41); +var _constants = __webpack_require__(45); -var _DayPicker = __webpack_require__(142); +var _DayPicker = __webpack_require__(174); var _DayPicker2 = _interopRequireDefault(_DayPicker); @@ -16838,7 +22291,7 @@ DayPickerSingleDateController.propTypes = propTypes; DayPickerSingleDateController.defaultProps = defaultProps; /***/ }), -/* 206 */ +/* 244 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -16848,43 +22301,43 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _propTypes = __webpack_require__(28); +var _propTypes = __webpack_require__(25); var _propTypes2 = _interopRequireDefault(_propTypes); -var _reactMomentProptypes = __webpack_require__(67); +var _reactMomentProptypes = __webpack_require__(79); var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes); -var _airbnbPropTypes = __webpack_require__(48); +var _airbnbPropTypes = __webpack_require__(51); -var _defaultPhrases = __webpack_require__(53); +var _defaultPhrases = __webpack_require__(57); -var _getPhrasePropTypes = __webpack_require__(56); +var _getPhrasePropTypes = __webpack_require__(59); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _IconPositionShape = __webpack_require__(91); +var _IconPositionShape = __webpack_require__(116); var _IconPositionShape2 = _interopRequireDefault(_IconPositionShape); -var _OrientationShape = __webpack_require__(188); +var _OrientationShape = __webpack_require__(226); var _OrientationShape2 = _interopRequireDefault(_OrientationShape); -var _AnchorDirectionShape = __webpack_require__(189); +var _AnchorDirectionShape = __webpack_require__(227); var _AnchorDirectionShape2 = _interopRequireDefault(_AnchorDirectionShape); -var _OpenDirectionShape = __webpack_require__(83); +var _OpenDirectionShape = __webpack_require__(101); var _OpenDirectionShape2 = _interopRequireDefault(_OpenDirectionShape); -var _DayOfWeekShape = __webpack_require__(77); +var _DayOfWeekShape = __webpack_require__(94); var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape); -var _CalendarInfoPositionShape = __webpack_require__(92); +var _CalendarInfoPositionShape = __webpack_require__(117); var _CalendarInfoPositionShape2 = _interopRequireDefault(_CalendarInfoPositionShape); @@ -16967,7 +22420,7 @@ exports['default'] = { }; /***/ }), -/* 207 */ +/* 245 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -16979,7 +22432,7 @@ 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__(52); +var _object = __webpack_require__(55); var _object2 = _interopRequireDefault(_object); @@ -16987,41 +22440,41 @@ var _react = __webpack_require__(21); var _react2 = _interopRequireDefault(_react); -var _propTypes = __webpack_require__(28); +var _propTypes = __webpack_require__(25); var _propTypes2 = _interopRequireDefault(_propTypes); -var _airbnbPropTypes = __webpack_require__(48); +var _airbnbPropTypes = __webpack_require__(51); -var _reactWithStyles = __webpack_require__(58); +var _reactWithStyles = __webpack_require__(63); -var _defaultPhrases = __webpack_require__(53); +var _defaultPhrases = __webpack_require__(57); -var _getPhrasePropTypes = __webpack_require__(56); +var _getPhrasePropTypes = __webpack_require__(59); var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); -var _DateInput = __webpack_require__(195); +var _DateInput = __webpack_require__(233); var _DateInput2 = _interopRequireDefault(_DateInput); -var _IconPositionShape = __webpack_require__(91); +var _IconPositionShape = __webpack_require__(116); var _IconPositionShape2 = _interopRequireDefault(_IconPositionShape); -var _CloseButton = __webpack_require__(95); +var _CloseButton = __webpack_require__(120); var _CloseButton2 = _interopRequireDefault(_CloseButton); -var _CalendarIcon = __webpack_require__(201); +var _CalendarIcon = __webpack_require__(239); var _CalendarIcon2 = _interopRequireDefault(_CalendarIcon); -var _OpenDirectionShape = __webpack_require__(83); +var _OpenDirectionShape = __webpack_require__(101); var _OpenDirectionShape2 = _interopRequireDefault(_OpenDirectionShape); -var _constants = __webpack_require__(41); +var _constants = __webpack_require__(45); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } @@ -17327,13941 +22780,313 @@ exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) { })(SingleDatePickerInput); /***/ }), -/* 208 */, -/* 209 */, -/* 210 */, -/* 211 */, -/* 212 */, -/* 213 */, -/* 214 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); - -// EXTERNAL MODULE: external {"this":"ReactDOM"} -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__(21); -var external_this_React_default = /*#__PURE__*/__webpack_require__.n(external_this_React_); - -// EXTERNAL MODULE: ./node_modules/prop-types/index.js -var prop_types = __webpack_require__(28); -var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types); - -// CONCATENATED MODULE: ./node_modules/react-portal/es/utils.js -var canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement); -// CONCATENATED MODULE: ./node_modules/react-portal/es/Portal.js -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - - - - - - -var Portal_Portal = function (_React$Component) { - _inherits(Portal, _React$Component); - - function Portal() { - _classCallCheck(this, Portal); - - return _possibleConstructorReturn(this, (Portal.__proto__ || Object.getPrototypeOf(Portal)).apply(this, arguments)); - } - - _createClass(Portal, [{ - key: 'componentWillUnmount', - value: function componentWillUnmount() { - if (this.defaultNode) { - document.body.removeChild(this.defaultNode); - } - this.defaultNode = null; - } - }, { - key: 'render', - value: function render() { - if (!canUseDOM) { - return null; - } - if (!this.props.node && !this.defaultNode) { - this.defaultNode = document.createElement('div'); - document.body.appendChild(this.defaultNode); - } - return external_this_ReactDOM_default.a.createPortal(this.props.children, this.props.node || this.defaultNode); - } - }]); - - return Portal; -}(external_this_React_default.a.Component); - -Portal_Portal.propTypes = { - children: prop_types_default.a.node.isRequired, - node: prop_types_default.a.any -}; - -/* harmony default export */ var es_Portal = (Portal_Portal); -// CONCATENATED MODULE: ./node_modules/react-portal/es/LegacyPortal.js -var LegacyPortal_createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -function LegacyPortal_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function LegacyPortal_possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function LegacyPortal_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -// This file is a fallback for a consumer who is not yet on React 16 -// as createPortal was introduced in React 16 - - - - - -var LegacyPortal_Portal = function (_React$Component) { - LegacyPortal_inherits(Portal, _React$Component); - - function Portal() { - LegacyPortal_classCallCheck(this, Portal); - - return LegacyPortal_possibleConstructorReturn(this, (Portal.__proto__ || Object.getPrototypeOf(Portal)).apply(this, arguments)); - } - - LegacyPortal_createClass(Portal, [{ - key: 'componentDidMount', - value: function componentDidMount() { - this.renderPortal(); - } - }, { - key: 'componentDidUpdate', - value: function componentDidUpdate(props) { - this.renderPortal(); - } - }, { - key: 'componentWillUnmount', - value: function componentWillUnmount() { - external_this_ReactDOM_default.a.unmountComponentAtNode(this.defaultNode || this.props.node); - if (this.defaultNode) { - document.body.removeChild(this.defaultNode); - } - this.defaultNode = null; - this.portal = null; - } - }, { - key: 'renderPortal', - value: function renderPortal(props) { - if (!this.props.node && !this.defaultNode) { - this.defaultNode = document.createElement('div'); - document.body.appendChild(this.defaultNode); - } - - var children = this.props.children; - // https://gist.github.com/jimfb/d99e0678e9da715ccf6454961ef04d1b - if (typeof this.props.children.type === 'function') { - children = external_this_React_default.a.cloneElement(this.props.children); - } - - this.portal = external_this_ReactDOM_default.a.unstable_renderSubtreeIntoContainer(this, children, this.props.node || this.defaultNode); - } - }, { - key: 'render', - value: function render() { - return null; - } - }]); - - return Portal; -}(external_this_React_default.a.Component); - -/* harmony default export */ var LegacyPortal = (LegacyPortal_Portal); - - -LegacyPortal_Portal.propTypes = { - children: prop_types_default.a.node.isRequired, - node: prop_types_default.a.any -}; -// CONCATENATED MODULE: ./node_modules/react-portal/es/PortalCompat.js - - - - - -var PortalCompat_Portal = void 0; - -if (external_this_ReactDOM_default.a.createPortal) { - PortalCompat_Portal = es_Portal; -} else { - PortalCompat_Portal = LegacyPortal; -} - -/* harmony default export */ var PortalCompat = (PortalCompat_Portal); -// CONCATENATED MODULE: ./node_modules/react-portal/es/PortalWithState.js -var PortalWithState_createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -function PortalWithState_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function PortalWithState_possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function PortalWithState_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - - - - - -var KEYCODES = { - ESCAPE: 27 -}; - -var PortalWithState_PortalWithState = function (_React$Component) { - PortalWithState_inherits(PortalWithState, _React$Component); - - function PortalWithState(props) { - PortalWithState_classCallCheck(this, PortalWithState); - - var _this = PortalWithState_possibleConstructorReturn(this, (PortalWithState.__proto__ || Object.getPrototypeOf(PortalWithState)).call(this, props)); - - _this.portalNode = null; - _this.state = { active: !!props.defaultOpen }; - _this.openPortal = _this.openPortal.bind(_this); - _this.closePortal = _this.closePortal.bind(_this); - _this.wrapWithPortal = _this.wrapWithPortal.bind(_this); - _this.handleOutsideMouseClick = _this.handleOutsideMouseClick.bind(_this); - _this.handleKeydown = _this.handleKeydown.bind(_this); - return _this; - } - - PortalWithState_createClass(PortalWithState, [{ - key: 'componentDidMount', - value: function componentDidMount() { - if (this.props.closeOnEsc) { - document.addEventListener('keydown', this.handleKeydown); - } - if (this.props.closeOnOutsideClick) { - document.addEventListener('click', this.handleOutsideMouseClick); - } - } - }, { - key: 'componentWillUnmount', - value: function componentWillUnmount() { - if (this.props.closeOnEsc) { - document.removeEventListener('keydown', this.handleKeydown); - } - if (this.props.closeOnOutsideClick) { - document.removeEventListener('click', this.handleOutsideMouseClick); - } - } - }, { - key: 'openPortal', - value: function openPortal(e) { - if (this.state.active) { - return; - } - if (e && e.nativeEvent) { - e.nativeEvent.stopImmediatePropagation(); - } - this.setState({ active: true }, this.props.onOpen); - } - }, { - key: 'closePortal', - value: function closePortal() { - if (!this.state.active) { - return; - } - this.setState({ active: false }, this.props.onClose); - } - }, { - key: 'wrapWithPortal', - value: function wrapWithPortal(children) { - var _this2 = this; - - if (!this.state.active) { - return null; - } - return external_this_React_default.a.createElement( - PortalCompat, - { - node: this.props.node, - key: 'react-portal', - ref: function ref(portalNode) { - return _this2.portalNode = portalNode; - } - }, - children - ); - } - }, { - key: 'handleOutsideMouseClick', - value: function handleOutsideMouseClick(e) { - if (!this.state.active) { - return; - } - var root = this.portalNode.props.node || this.portalNode.defaultNode; - if (!root || root.contains(e.target) || e.button && e.button !== 0) { - return; - } - this.closePortal(); - } - }, { - key: 'handleKeydown', - value: function handleKeydown(e) { - if (e.keyCode === KEYCODES.ESCAPE && this.state.active) { - this.closePortal(); - } - } - }, { - key: 'render', - value: function render() { - return this.props.children({ - openPortal: this.openPortal, - closePortal: this.closePortal, - portal: this.wrapWithPortal, - isOpen: this.state.active - }); - } - }]); - - return PortalWithState; -}(external_this_React_default.a.Component); - -PortalWithState_PortalWithState.propTypes = { - children: prop_types_default.a.func.isRequired, - defaultOpen: prop_types_default.a.bool, - node: prop_types_default.a.any, - closeOnEsc: prop_types_default.a.bool, - closeOnOutsideClick: prop_types_default.a.bool, - onOpen: prop_types_default.a.func, - onClose: prop_types_default.a.func -}; - -PortalWithState_PortalWithState.defaultProps = { - onOpen: function onOpen() {}, - onClose: function onClose() {} -}; - -/* harmony default export */ var es_PortalWithState = (PortalWithState_PortalWithState); -// CONCATENATED MODULE: ./node_modules/react-portal/es/index.js -/* concated harmony reexport Portal */__webpack_require__.d(__webpack_exports__, "Portal", function() { return PortalCompat; }); -/* concated harmony reexport PortalWithState */__webpack_require__.d(__webpack_exports__, "PortalWithState", function() { return es_PortalWithState; }); - - - - - -/***/ }), -/* 215 */, -/* 216 */, -/* 217 */, -/* 218 */, -/* 219 */, -/* 220 */, -/* 221 */, -/* 222 */ -/***/ (function(module, exports) { - -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} - -module.exports = _defineProperty; - -/***/ }), -/* 223 */ -/***/ (function(module, exports, __webpack_require__) { - -/*! - * clipboard.js v2.0.4 - * https://zenorocha.github.io/clipboard.js - * - * Licensed MIT © Zeno Rocha - */ -(function webpackUniversalModuleDefinition(root, factory) { - if(true) - module.exports = factory(); - else {} -})(this, function() { -return /******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -var _clipboardAction = __webpack_require__(1); - -var _clipboardAction2 = _interopRequireDefault(_clipboardAction); - -var _tinyEmitter = __webpack_require__(3); - -var _tinyEmitter2 = _interopRequireDefault(_tinyEmitter); - -var _goodListener = __webpack_require__(4); - -var _goodListener2 = _interopRequireDefault(_goodListener); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -/** - * Base class which takes one or more elements, adds event listeners to them, - * and instantiates a new `ClipboardAction` on each click. - */ -var Clipboard = function (_Emitter) { - _inherits(Clipboard, _Emitter); - - /** - * @param {String|HTMLElement|HTMLCollection|NodeList} trigger - * @param {Object} options - */ - function Clipboard(trigger, options) { - _classCallCheck(this, Clipboard); - - var _this = _possibleConstructorReturn(this, (Clipboard.__proto__ || Object.getPrototypeOf(Clipboard)).call(this)); - - _this.resolveOptions(options); - _this.listenClick(trigger); - return _this; - } - - /** - * Defines if attributes would be resolved using internal setter functions - * or custom functions that were passed in the constructor. - * @param {Object} options - */ - - - _createClass(Clipboard, [{ - key: 'resolveOptions', - value: function resolveOptions() { - var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - - this.action = typeof options.action === 'function' ? options.action : this.defaultAction; - this.target = typeof options.target === 'function' ? options.target : this.defaultTarget; - this.text = typeof options.text === 'function' ? options.text : this.defaultText; - this.container = _typeof(options.container) === 'object' ? options.container : document.body; - } - - /** - * Adds a click event listener to the passed trigger. - * @param {String|HTMLElement|HTMLCollection|NodeList} trigger - */ - - }, { - key: 'listenClick', - value: function listenClick(trigger) { - var _this2 = this; - - this.listener = (0, _goodListener2.default)(trigger, 'click', function (e) { - return _this2.onClick(e); - }); - } - - /** - * Defines a new `ClipboardAction` on each click event. - * @param {Event} e - */ - - }, { - key: 'onClick', - value: function onClick(e) { - var trigger = e.delegateTarget || e.currentTarget; - - if (this.clipboardAction) { - this.clipboardAction = null; - } - - this.clipboardAction = new _clipboardAction2.default({ - action: this.action(trigger), - target: this.target(trigger), - text: this.text(trigger), - container: this.container, - trigger: trigger, - emitter: this - }); - } - - /** - * Default `action` lookup function. - * @param {Element} trigger - */ - - }, { - key: 'defaultAction', - value: function defaultAction(trigger) { - return getAttributeValue('action', trigger); - } - - /** - * Default `target` lookup function. - * @param {Element} trigger - */ - - }, { - key: 'defaultTarget', - value: function defaultTarget(trigger) { - var selector = getAttributeValue('target', trigger); - - if (selector) { - return document.querySelector(selector); - } - } - - /** - * Returns the support of the given action, or all actions if no action is - * given. - * @param {String} [action] - */ - - }, { - key: 'defaultText', - - - /** - * Default `text` lookup function. - * @param {Element} trigger - */ - value: function defaultText(trigger) { - return getAttributeValue('text', trigger); - } - - /** - * Destroy lifecycle. - */ - - }, { - key: 'destroy', - value: function destroy() { - this.listener.destroy(); - - if (this.clipboardAction) { - this.clipboardAction.destroy(); - this.clipboardAction = null; - } - } - }], [{ - key: 'isSupported', - value: function isSupported() { - var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['copy', 'cut']; - - var actions = typeof action === 'string' ? [action] : action; - var support = !!document.queryCommandSupported; - - actions.forEach(function (action) { - support = support && !!document.queryCommandSupported(action); - }); - - return support; - } - }]); - - return Clipboard; -}(_tinyEmitter2.default); - -/** - * Helper function to retrieve attribute value. - * @param {String} suffix - * @param {Element} element - */ - - -function getAttributeValue(suffix, element) { - var attribute = 'data-clipboard-' + suffix; - - if (!element.hasAttribute(attribute)) { - return; - } - - return element.getAttribute(attribute); -} - -module.exports = Clipboard; - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -var _select = __webpack_require__(2); - -var _select2 = _interopRequireDefault(_select); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -/** - * Inner class which performs selection from either `text` or `target` - * properties and then executes copy or cut operations. - */ -var ClipboardAction = function () { - /** - * @param {Object} options - */ - function ClipboardAction(options) { - _classCallCheck(this, ClipboardAction); - - this.resolveOptions(options); - this.initSelection(); - } - - /** - * Defines base properties passed from constructor. - * @param {Object} options - */ - - - _createClass(ClipboardAction, [{ - key: 'resolveOptions', - value: function resolveOptions() { - var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - - this.action = options.action; - this.container = options.container; - this.emitter = options.emitter; - this.target = options.target; - this.text = options.text; - this.trigger = options.trigger; - - this.selectedText = ''; - } - - /** - * Decides which selection strategy is going to be applied based - * on the existence of `text` and `target` properties. - */ - - }, { - key: 'initSelection', - value: function initSelection() { - if (this.text) { - this.selectFake(); - } else if (this.target) { - this.selectTarget(); - } - } - - /** - * Creates a fake textarea element, sets its value from `text` property, - * and makes a selection on it. - */ - - }, { - key: 'selectFake', - value: function selectFake() { - var _this = this; - - var isRTL = document.documentElement.getAttribute('dir') == 'rtl'; - - this.removeFake(); - - this.fakeHandlerCallback = function () { - return _this.removeFake(); - }; - this.fakeHandler = this.container.addEventListener('click', this.fakeHandlerCallback) || true; - - this.fakeElem = document.createElement('textarea'); - // Prevent zooming on iOS - this.fakeElem.style.fontSize = '12pt'; - // Reset box model - this.fakeElem.style.border = '0'; - this.fakeElem.style.padding = '0'; - this.fakeElem.style.margin = '0'; - // Move element out of screen horizontally - this.fakeElem.style.position = 'absolute'; - this.fakeElem.style[isRTL ? 'right' : 'left'] = '-9999px'; - // Move element to the same position vertically - var yPosition = window.pageYOffset || document.documentElement.scrollTop; - this.fakeElem.style.top = yPosition + 'px'; - - this.fakeElem.setAttribute('readonly', ''); - this.fakeElem.value = this.text; - - this.container.appendChild(this.fakeElem); - - this.selectedText = (0, _select2.default)(this.fakeElem); - this.copyText(); - } - - /** - * Only removes the fake element after another click event, that way - * a user can hit `Ctrl+C` to copy because selection still exists. - */ - - }, { - key: 'removeFake', - value: function removeFake() { - if (this.fakeHandler) { - this.container.removeEventListener('click', this.fakeHandlerCallback); - this.fakeHandler = null; - this.fakeHandlerCallback = null; - } - - if (this.fakeElem) { - this.container.removeChild(this.fakeElem); - this.fakeElem = null; - } - } - - /** - * Selects the content from element passed on `target` property. - */ - - }, { - key: 'selectTarget', - value: function selectTarget() { - this.selectedText = (0, _select2.default)(this.target); - this.copyText(); - } - - /** - * Executes the copy operation based on the current selection. - */ - - }, { - key: 'copyText', - value: function copyText() { - var succeeded = void 0; - - try { - succeeded = document.execCommand(this.action); - } catch (err) { - succeeded = false; - } - - this.handleResult(succeeded); - } - - /** - * Fires an event based on the copy operation result. - * @param {Boolean} succeeded - */ - - }, { - key: 'handleResult', - value: function handleResult(succeeded) { - this.emitter.emit(succeeded ? 'success' : 'error', { - action: this.action, - text: this.selectedText, - trigger: this.trigger, - clearSelection: this.clearSelection.bind(this) - }); - } - - /** - * Moves focus away from `target` and back to the trigger, removes current selection. - */ - - }, { - key: 'clearSelection', - value: function clearSelection() { - if (this.trigger) { - this.trigger.focus(); - } - - window.getSelection().removeAllRanges(); - } - - /** - * Sets the `action` to be performed which can be either 'copy' or 'cut'. - * @param {String} action - */ - - }, { - key: 'destroy', - - - /** - * Destroy lifecycle. - */ - value: function destroy() { - this.removeFake(); - } - }, { - key: 'action', - set: function set() { - var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'copy'; - - this._action = action; - - if (this._action !== 'copy' && this._action !== 'cut') { - throw new Error('Invalid "action" value, use either "copy" or "cut"'); - } - } - - /** - * Gets the `action` property. - * @return {String} - */ - , - get: function get() { - return this._action; - } - - /** - * Sets the `target` property using an element - * that will be have its content copied. - * @param {Element} target - */ - - }, { - key: 'target', - set: function set(target) { - if (target !== undefined) { - if (target && (typeof target === 'undefined' ? 'undefined' : _typeof(target)) === 'object' && target.nodeType === 1) { - if (this.action === 'copy' && target.hasAttribute('disabled')) { - throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute'); - } - - if (this.action === 'cut' && (target.hasAttribute('readonly') || target.hasAttribute('disabled'))) { - throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes'); - } - - this._target = target; - } else { - throw new Error('Invalid "target" value, use a valid Element'); - } - } - } - - /** - * Gets the `target` property. - * @return {String|HTMLElement} - */ - , - get: function get() { - return this._target; - } - }]); - - return ClipboardAction; -}(); - -module.exports = ClipboardAction; - -/***/ }), -/* 2 */ -/***/ (function(module, exports) { - -function select(element) { - var selectedText; - - if (element.nodeName === 'SELECT') { - element.focus(); - - selectedText = element.value; - } - else if (element.nodeName === 'INPUT' || element.nodeName === 'TEXTAREA') { - var isReadOnly = element.hasAttribute('readonly'); - - if (!isReadOnly) { - element.setAttribute('readonly', ''); - } - - element.select(); - element.setSelectionRange(0, element.value.length); - - if (!isReadOnly) { - element.removeAttribute('readonly'); - } - - selectedText = element.value; - } - else { - if (element.hasAttribute('contenteditable')) { - element.focus(); - } - - var selection = window.getSelection(); - var range = document.createRange(); - - range.selectNodeContents(element); - selection.removeAllRanges(); - selection.addRange(range); - - selectedText = selection.toString(); - } - - return selectedText; -} - -module.exports = select; - - -/***/ }), -/* 3 */ -/***/ (function(module, exports) { - -function E () { - // Keep this empty so it's easier to inherit from - // (via https://github.com/lipsmack from https://github.com/scottcorgan/tiny-emitter/issues/3) -} - -E.prototype = { - on: function (name, callback, ctx) { - var e = this.e || (this.e = {}); - - (e[name] || (e[name] = [])).push({ - fn: callback, - ctx: ctx - }); - - return this; - }, - - once: function (name, callback, ctx) { - var self = this; - function listener () { - self.off(name, listener); - callback.apply(ctx, arguments); - }; - - listener._ = callback - return this.on(name, listener, ctx); - }, - - emit: function (name) { - var data = [].slice.call(arguments, 1); - var evtArr = ((this.e || (this.e = {}))[name] || []).slice(); - var i = 0; - var len = evtArr.length; - - for (i; i < len; i++) { - evtArr[i].fn.apply(evtArr[i].ctx, data); - } - - return this; - }, - - off: function (name, callback) { - var e = this.e || (this.e = {}); - var evts = e[name]; - var liveEvents = []; - - if (evts && callback) { - for (var i = 0, len = evts.length; i < len; i++) { - if (evts[i].fn !== callback && evts[i].fn._ !== callback) - liveEvents.push(evts[i]); - } - } - - // Remove event from queue to prevent memory leak - // Suggested by https://github.com/lazd - // Ref: https://github.com/scottcorgan/tiny-emitter/commit/c6ebfaa9bc973b33d110a84a307742b7cf94c953#commitcomment-5024910 - - (liveEvents.length) - ? e[name] = liveEvents - : delete e[name]; - - return this; - } -}; - -module.exports = E; - - -/***/ }), -/* 4 */ -/***/ (function(module, exports, __webpack_require__) { - -var is = __webpack_require__(5); -var delegate = __webpack_require__(6); - -/** - * Validates all params and calls the right - * listener function based on its target type. - * - * @param {String|HTMLElement|HTMLCollection|NodeList} target - * @param {String} type - * @param {Function} callback - * @return {Object} - */ -function listen(target, type, callback) { - if (!target && !type && !callback) { - throw new Error('Missing required arguments'); - } - - if (!is.string(type)) { - throw new TypeError('Second argument must be a String'); - } - - if (!is.fn(callback)) { - throw new TypeError('Third argument must be a Function'); - } - - if (is.node(target)) { - return listenNode(target, type, callback); - } - else if (is.nodeList(target)) { - return listenNodeList(target, type, callback); - } - else if (is.string(target)) { - return listenSelector(target, type, callback); - } - else { - throw new TypeError('First argument must be a String, HTMLElement, HTMLCollection, or NodeList'); - } -} - -/** - * Adds an event listener to a HTML element - * and returns a remove listener function. - * - * @param {HTMLElement} node - * @param {String} type - * @param {Function} callback - * @return {Object} - */ -function listenNode(node, type, callback) { - node.addEventListener(type, callback); - - return { - destroy: function() { - node.removeEventListener(type, callback); - } - } -} - -/** - * Add an event listener to a list of HTML elements - * and returns a remove listener function. - * - * @param {NodeList|HTMLCollection} nodeList - * @param {String} type - * @param {Function} callback - * @return {Object} - */ -function listenNodeList(nodeList, type, callback) { - Array.prototype.forEach.call(nodeList, function(node) { - node.addEventListener(type, callback); - }); - - return { - destroy: function() { - Array.prototype.forEach.call(nodeList, function(node) { - node.removeEventListener(type, callback); - }); - } - } -} - -/** - * Add an event listener to a selector - * and returns a remove listener function. - * - * @param {String} selector - * @param {String} type - * @param {Function} callback - * @return {Object} - */ -function listenSelector(selector, type, callback) { - return delegate(document.body, selector, type, callback); -} - -module.exports = listen; - - -/***/ }), -/* 5 */ -/***/ (function(module, exports) { - -/** - * Check if argument is a HTML element. - * - * @param {Object} value - * @return {Boolean} - */ -exports.node = function(value) { - return value !== undefined - && value instanceof HTMLElement - && value.nodeType === 1; -}; - -/** - * Check if argument is a list of HTML elements. - * - * @param {Object} value - * @return {Boolean} - */ -exports.nodeList = function(value) { - var type = Object.prototype.toString.call(value); - - return value !== undefined - && (type === '[object NodeList]' || type === '[object HTMLCollection]') - && ('length' in value) - && (value.length === 0 || exports.node(value[0])); -}; - -/** - * Check if argument is a string. - * - * @param {Object} value - * @return {Boolean} - */ -exports.string = function(value) { - return typeof value === 'string' - || value instanceof String; -}; - -/** - * Check if argument is a function. - * - * @param {Object} value - * @return {Boolean} - */ -exports.fn = function(value) { - var type = Object.prototype.toString.call(value); - - return type === '[object Function]'; -}; - - -/***/ }), -/* 6 */ -/***/ (function(module, exports, __webpack_require__) { - -var closest = __webpack_require__(7); - -/** - * Delegates event to a selector. - * - * @param {Element} element - * @param {String} selector - * @param {String} type - * @param {Function} callback - * @param {Boolean} useCapture - * @return {Object} - */ -function _delegate(element, selector, type, callback, useCapture) { - var listenerFn = listener.apply(this, arguments); - - element.addEventListener(type, listenerFn, useCapture); - - return { - destroy: function() { - element.removeEventListener(type, listenerFn, useCapture); - } - } -} - -/** - * Delegates event to a selector. - * - * @param {Element|String|Array} [elements] - * @param {String} selector - * @param {String} type - * @param {Function} callback - * @param {Boolean} useCapture - * @return {Object} - */ -function delegate(elements, selector, type, callback, useCapture) { - // Handle the regular Element usage - if (typeof elements.addEventListener === 'function') { - return _delegate.apply(null, arguments); - } - - // Handle Element-less usage, it defaults to global delegation - if (typeof type === 'function') { - // Use `document` as the first parameter, then apply arguments - // This is a short way to .unshift `arguments` without running into deoptimizations - return _delegate.bind(null, document).apply(null, arguments); - } - - // Handle Selector-based usage - if (typeof elements === 'string') { - elements = document.querySelectorAll(elements); - } - - // Handle Array-like based usage - return Array.prototype.map.call(elements, function (element) { - return _delegate(element, selector, type, callback, useCapture); - }); -} - -/** - * Finds closest match and invokes callback. - * - * @param {Element} element - * @param {String} selector - * @param {String} type - * @param {Function} callback - * @return {Function} - */ -function listener(element, selector, type, callback) { - return function(e) { - e.delegateTarget = closest(e.target, selector); - - if (e.delegateTarget) { - callback.call(element, e); - } - } -} - -module.exports = delegate; - - -/***/ }), -/* 7 */ -/***/ (function(module, exports) { - -var DOCUMENT_NODE_TYPE = 9; - -/** - * A polyfill for Element.matches() - */ -if (typeof Element !== 'undefined' && !Element.prototype.matches) { - var proto = Element.prototype; - - proto.matches = proto.matchesSelector || - proto.mozMatchesSelector || - proto.msMatchesSelector || - proto.oMatchesSelector || - proto.webkitMatchesSelector; -} - -/** - * Finds the closest parent that matches a selector. - * - * @param {Element} element - * @param {String} selector - * @return {Function} - */ -function closest (element, selector) { - while (element && element.nodeType !== DOCUMENT_NODE_TYPE) { - if (typeof element.matches === 'function' && - element.matches(selector)) { - return element; - } - element = element.parentNode; - } -} - -module.exports = closest; - - -/***/ }) -/******/ ]); -}); - -/***/ }), -/* 224 */ -/***/ (function(module, exports, __webpack_require__) { - -// eslint-disable-next-line import/no-unresolved -module.exports = __webpack_require__(282); - - -/***/ }), -/* 225 */ -/***/ (function(module, exports, __webpack_require__) { - -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]}; - - -/***/ }), -/* 226 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var __extends = (this && this.__extends) || (function () { - var extendStatics = function (d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - return function (d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -})(); -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result["default"] = mod; - return result; -}; -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__(21)); -var resizer_1 = __webpack_require__(334); -var fast_memoize_1 = __importDefault(__webpack_require__(335)); -var DEFAULT_SIZE = { - width: 'auto', - height: 'auto', -}; -var clamp = fast_memoize_1.default(function (n, min, max) { return Math.max(Math.min(n, max), min); }); -var snap = fast_memoize_1.default(function (n, size) { return Math.round(n / size) * size; }); -var hasDirection = fast_memoize_1.default(function (dir, target) { return new RegExp(dir, 'i').test(target); }); -var findClosestSnap = fast_memoize_1.default(function (n, snapArray, snapGap) { - if (snapGap === void 0) { snapGap = 0; } - var closestGapIndex = snapArray.reduce(function (prev, curr, index) { return (Math.abs(curr - n) < Math.abs(snapArray[prev] - n) ? index : prev); }, 0); - var gap = Math.abs(snapArray[closestGapIndex] - n); - return snapGap === 0 || gap < snapGap ? snapArray[closestGapIndex] : n; -}); -var endsWith = fast_memoize_1.default(function (str, searchStr) { - return str.substr(str.length - searchStr.length, searchStr.length) === searchStr; -}); -var getStringSize = fast_memoize_1.default(function (n) { - n = n.toString(); - if (n === 'auto') { - return n; - } - if (endsWith(n, 'px')) { - return n; - } - if (endsWith(n, '%')) { - return n; - } - if (endsWith(n, 'vh')) { - return n; - } - if (endsWith(n, 'vw')) { - return n; - } - if (endsWith(n, 'vmax')) { - return n; - } - if (endsWith(n, 'vmin')) { - return n; - } - return n + "px"; -}); -var getPixelSize = function (size, parentSize) { - if (size && typeof size === 'string') { - if (endsWith(size, '%')) { - var ratio = Number(size.replace('%', '')) / 100; - return parentSize * ratio; - } - else if (endsWith(size, 'vw')) { - var ratio = Number(size.replace('vw', '')) / 100; - return window.innerWidth * ratio; - } - else if (endsWith(size, 'vh')) { - var ratio = Number(size.replace('vh', '')) / 100; - return window.innerHeight * ratio; - } - } - return size; -}; -var calculateNewMax = fast_memoize_1.default(function (parentSize, maxWidth, maxHeight, minWidth, minHeight) { - maxWidth = getPixelSize(maxWidth, parentSize.width); - maxHeight = getPixelSize(maxHeight, parentSize.height); - minWidth = getPixelSize(minWidth, parentSize.width); - minHeight = getPixelSize(minHeight, parentSize.height); - return { - maxWidth: typeof maxWidth === 'undefined' ? undefined : Number(maxWidth), - maxHeight: typeof maxHeight === 'undefined' ? undefined : Number(maxHeight), - minWidth: typeof minWidth === 'undefined' ? undefined : Number(minWidth), - minHeight: typeof minHeight === 'undefined' ? undefined : Number(minHeight), - }; -}); -var definedProps = [ - 'style', - 'className', - 'grid', - 'snap', - 'bounds', - 'size', - 'defaultSize', - 'minWidth', - 'minHeight', - 'maxWidth', - 'maxHeight', - 'lockAspectRatio', - 'lockAspectRatioExtraWidth', - 'lockAspectRatioExtraHeight', - 'enable', - 'handleStyles', - 'handleClasses', - 'handleWrapperStyle', - 'handleWrapperClass', - 'children', - 'onResizeStart', - 'onResize', - 'onResizeStop', - 'handleComponent', - 'scale', - 'resizeRatio', - 'snapGap', -]; -// HACK: This class is used to calculate % size. -var baseClassName = '__resizable_base__'; -var Resizable = /** @class */ (function (_super) { - __extends(Resizable, _super); - function Resizable(props) { - var _this = _super.call(this, props) || this; - _this.ratio = 1; - _this.resizable = null; - // For parent boundary - _this.parentLeft = 0; - _this.parentTop = 0; - // For boundary - _this.resizableLeft = 0; - _this.resizableTop = 0; - // For target boundary - _this.targetLeft = 0; - _this.targetTop = 0; - _this.state = { - isResizing: false, - resizeCursor: 'auto', - width: typeof (_this.propsSize && _this.propsSize.width) === 'undefined' - ? 'auto' - : _this.propsSize && _this.propsSize.width, - height: typeof (_this.propsSize && _this.propsSize.height) === 'undefined' - ? 'auto' - : _this.propsSize && _this.propsSize.height, - direction: 'right', - original: { - x: 0, - y: 0, - width: 0, - height: 0, - }, - }; - _this.onResizeStart = _this.onResizeStart.bind(_this); - _this.onMouseMove = _this.onMouseMove.bind(_this); - _this.onMouseUp = _this.onMouseUp.bind(_this); - return _this; - } - Object.defineProperty(Resizable.prototype, "parentNode", { - get: function () { - if (!this.resizable) { - return null; - } - return this.resizable.parentNode; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(Resizable.prototype, "propsSize", { - get: function () { - return this.props.size || this.props.defaultSize || DEFAULT_SIZE; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(Resizable.prototype, "base", { - get: function () { - var parent = this.parentNode; - if (!parent) { - return undefined; - } - var children = [].slice.call(parent.children); - for (var _i = 0, children_1 = children; _i < children_1.length; _i++) { - var n = children_1[_i]; - if (n instanceof HTMLElement) { - if (n.classList.contains(baseClassName)) { - return n; - } - } - } - return undefined; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(Resizable.prototype, "size", { - get: function () { - var width = 0; - var height = 0; - if (typeof window !== 'undefined' && this.resizable) { - var orgWidth = this.resizable.offsetWidth; - var orgHeight = this.resizable.offsetHeight; - // HACK: Set position `relative` to get parent size. - // This is because when re-resizable set `absolute`, I can not get base width correctly. - var orgPosition = this.resizable.style.position; - if (orgPosition !== 'relative') { - this.resizable.style.position = 'relative'; - } - // INFO: Use original width or height if set auto. - width = this.resizable.style.width !== 'auto' ? this.resizable.offsetWidth : orgWidth; - height = this.resizable.style.height !== 'auto' ? this.resizable.offsetHeight : orgHeight; - // Restore original position - this.resizable.style.position = orgPosition; - } - return { width: width, height: height }; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(Resizable.prototype, "sizeStyle", { - get: function () { - var _this = this; - var size = this.props.size; - var getSize = function (key) { - if (typeof _this.state[key] === 'undefined' || _this.state[key] === 'auto') { - return 'auto'; - } - if (_this.propsSize && _this.propsSize[key] && endsWith(_this.propsSize[key].toString(), '%')) { - if (endsWith(_this.state[key].toString(), '%')) { - return _this.state[key].toString(); - } - var parentSize = _this.getParentSize(); - var value = Number(_this.state[key].toString().replace('px', '')); - var percent = (value / parentSize[key]) * 100; - return percent + "%"; - } - return getStringSize(_this.state[key]); - }; - var width = size && typeof size.width !== 'undefined' && !this.state.isResizing - ? getStringSize(size.width) - : getSize('width'); - var height = size && typeof size.height !== 'undefined' && !this.state.isResizing - ? getStringSize(size.height) - : getSize('height'); - return { width: width, height: height }; - }, - enumerable: true, - configurable: true - }); - Resizable.prototype.getParentSize = function () { - if (!this.base || !this.parentNode) { - return { width: window.innerWidth, height: window.innerHeight }; - } - // INFO: To calculate parent width with flex layout - var wrapChanged = false; - var wrap = this.parentNode.style.flexWrap; - var minWidth = this.base.style.minWidth; - if (wrap !== 'wrap') { - wrapChanged = true; - this.parentNode.style.flexWrap = 'wrap'; - // HACK: Use relative to get parent padding size - } - this.base.style.position = 'relative'; - this.base.style.minWidth = '100%'; - var size = { - width: this.base.offsetWidth, - height: this.base.offsetHeight, - }; - this.base.style.position = 'absolute'; - if (wrapChanged) { - this.parentNode.style.flexWrap = wrap; - } - this.base.style.minWidth = minWidth; - return size; - }; - Resizable.prototype.bindEvents = function () { - if (typeof window !== 'undefined') { - window.addEventListener('mouseup', this.onMouseUp); - window.addEventListener('mousemove', this.onMouseMove); - window.addEventListener('mouseleave', this.onMouseUp); - window.addEventListener('touchmove', this.onMouseMove); - window.addEventListener('touchend', this.onMouseUp); - } - }; - Resizable.prototype.unbindEvents = function () { - if (typeof window !== 'undefined') { - window.removeEventListener('mouseup', this.onMouseUp); - window.removeEventListener('mousemove', this.onMouseMove); - window.removeEventListener('mouseleave', this.onMouseUp); - window.removeEventListener('touchmove', this.onMouseMove); - window.removeEventListener('touchend', this.onMouseUp); - } - }; - Resizable.prototype.componentDidMount = function () { - this.setState({ - width: this.state.width || this.size.width, - height: this.state.height || this.size.height, - }); - var parent = this.parentNode; - if (!(parent instanceof HTMLElement)) { - return; - } - if (this.base) { - return; - } - var element = document.createElement('div'); - element.style.width = '100%'; - element.style.height = '100%'; - element.style.position = 'absolute'; - element.style.transform = 'scale(0, 0)'; - element.style.left = '0'; - element.style.flex = '0'; - if (element.classList) { - element.classList.add(baseClassName); - } - else { - element.className += baseClassName; - } - parent.appendChild(element); - }; - Resizable.prototype.componentWillUnmount = function () { - if (typeof window !== 'undefined') { - this.unbindEvents(); - var parent_1 = this.parentNode; - if (!this.base || !parent_1) { - return; - } - if (!(parent_1 instanceof HTMLElement) || !(this.base instanceof Node)) { - return; - } - parent_1.removeChild(this.base); - } - }; - Resizable.prototype.createSizeForCssProperty = function (newSize, kind) { - var propsSize = this.propsSize && this.propsSize[kind]; - return this.state[kind] === 'auto' && - this.state.original[kind] === newSize && - (typeof propsSize === 'undefined' || propsSize === 'auto') - ? 'auto' - : newSize; - }; - Resizable.prototype.calculateNewMaxFromBoundary = function (maxWidth, maxHeight) { - if (this.props.bounds === 'parent') { - var parent_2 = this.parentNode; - if (parent_2 instanceof HTMLElement) { - var boundWidth = parent_2.offsetWidth + (this.parentLeft - this.resizableLeft); - var boundHeight = parent_2.offsetHeight + (this.parentTop - this.resizableTop); - maxWidth = maxWidth && maxWidth < boundWidth ? maxWidth : boundWidth; - maxHeight = maxHeight && maxHeight < boundHeight ? maxHeight : boundHeight; - } - } - else if (this.props.bounds === 'window') { - if (typeof window !== 'undefined') { - var boundWidth = window.innerWidth - this.resizableLeft; - var boundHeight = window.innerHeight - this.resizableTop; - maxWidth = maxWidth && maxWidth < boundWidth ? maxWidth : boundWidth; - maxHeight = maxHeight && maxHeight < boundHeight ? maxHeight : boundHeight; - } - } - else if (this.props.bounds instanceof HTMLElement) { - var boundWidth = this.props.bounds.offsetWidth + (this.targetLeft - this.resizableLeft); - var boundHeight = this.props.bounds.offsetHeight + (this.targetTop - this.resizableTop); - maxWidth = maxWidth && maxWidth < boundWidth ? maxWidth : boundWidth; - maxHeight = maxHeight && maxHeight < boundHeight ? maxHeight : boundHeight; - } - return { maxWidth: maxWidth, maxHeight: maxHeight }; - }; - Resizable.prototype.calculateNewSizeFromDirection = function (clientX, clientY) { - var scale = this.props.scale || 1; - var resizeRatio = this.props.resizeRatio || 1; - var _a = this.state, direction = _a.direction, original = _a.original; - var _b = this.props, lockAspectRatio = _b.lockAspectRatio, lockAspectRatioExtraHeight = _b.lockAspectRatioExtraHeight, lockAspectRatioExtraWidth = _b.lockAspectRatioExtraWidth; - var newWidth = original.width; - var newHeight = original.height; - var extraHeight = lockAspectRatioExtraHeight || 0; - var extraWidth = lockAspectRatioExtraWidth || 0; - if (hasDirection('right', direction)) { - newWidth = original.width + ((clientX - original.x) * resizeRatio) / scale; - if (lockAspectRatio) { - newHeight = (newWidth - extraWidth) / this.ratio + extraHeight; - } - } - if (hasDirection('left', direction)) { - newWidth = original.width - ((clientX - original.x) * resizeRatio) / scale; - if (lockAspectRatio) { - newHeight = (newWidth - extraWidth) / this.ratio + extraHeight; - } - } - if (hasDirection('bottom', direction)) { - newHeight = original.height + ((clientY - original.y) * resizeRatio) / scale; - if (lockAspectRatio) { - newWidth = (newHeight - extraHeight) * this.ratio + extraWidth; - } - } - if (hasDirection('top', direction)) { - newHeight = original.height - ((clientY - original.y) * resizeRatio) / scale; - if (lockAspectRatio) { - newWidth = (newHeight - extraHeight) * this.ratio + extraWidth; - } - } - return { newWidth: newWidth, newHeight: newHeight }; - }; - Resizable.prototype.calculateNewSizeFromAspectRatio = function (newWidth, newHeight, max, min) { - var _a = this.props, lockAspectRatio = _a.lockAspectRatio, lockAspectRatioExtraHeight = _a.lockAspectRatioExtraHeight, lockAspectRatioExtraWidth = _a.lockAspectRatioExtraWidth; - var computedMinWidth = typeof min.width === 'undefined' ? 10 : min.width; - var computedMaxWidth = typeof max.width === 'undefined' || max.width < 0 ? newWidth : max.width; - var computedMinHeight = typeof min.height === 'undefined' ? 10 : min.height; - var computedMaxHeight = typeof max.height === 'undefined' || max.height < 0 ? newHeight : max.height; - var extraHeight = lockAspectRatioExtraHeight || 0; - var extraWidth = lockAspectRatioExtraWidth || 0; - if (lockAspectRatio) { - var extraMinWidth = (computedMinHeight - extraHeight) * this.ratio + extraWidth; - var extraMaxWidth = (computedMaxHeight - extraHeight) * this.ratio + extraWidth; - var extraMinHeight = (computedMinWidth - extraWidth) / this.ratio + extraHeight; - var extraMaxHeight = (computedMaxWidth - extraWidth) / this.ratio + extraHeight; - var lockedMinWidth = Math.max(computedMinWidth, extraMinWidth); - var lockedMaxWidth = Math.min(computedMaxWidth, extraMaxWidth); - var lockedMinHeight = Math.max(computedMinHeight, extraMinHeight); - var lockedMaxHeight = Math.min(computedMaxHeight, extraMaxHeight); - newWidth = clamp(newWidth, lockedMinWidth, lockedMaxWidth); - newHeight = clamp(newHeight, lockedMinHeight, lockedMaxHeight); - } - else { - newWidth = clamp(newWidth, computedMinWidth, computedMaxWidth); - newHeight = clamp(newHeight, computedMinHeight, computedMaxHeight); - } - return { newWidth: newWidth, newHeight: newHeight }; - }; - Resizable.prototype.setBoundingClientRect = function () { - // For parent boundary - if (this.props.bounds === 'parent') { - var parent_3 = this.parentNode; - if (parent_3 instanceof HTMLElement) { - var parentRect = parent_3.getBoundingClientRect(); - this.parentLeft = parentRect.left; - this.parentTop = parentRect.top; - } - } - // For target(html element) boundary - if (this.props.bounds instanceof HTMLElement) { - var targetRect = this.props.bounds.getBoundingClientRect(); - this.targetLeft = targetRect.left; - this.targetTop = targetRect.top; - } - // For boundary - if (this.resizable) { - var _a = this.resizable.getBoundingClientRect(), left = _a.left, top_1 = _a.top; - this.resizableLeft = left; - this.resizableTop = top_1; - } - }; - Resizable.prototype.onResizeStart = function (event, direction) { - var clientX = 0; - var clientY = 0; - if (event.nativeEvent instanceof MouseEvent) { - clientX = event.nativeEvent.clientX; - clientY = event.nativeEvent.clientY; - // When user click with right button the resize is stuck in resizing mode - // until users clicks again, dont continue if right click is used. - // HACK: MouseEvent does not have `which` from flow-bin v0.68. - if (event.nativeEvent.which === 3) { - return; - } - } - else if (event.nativeEvent instanceof TouchEvent) { - clientX = event.nativeEvent.touches[0].clientX; - clientY = event.nativeEvent.touches[0].clientY; - } - if (this.props.onResizeStart) { - if (this.resizable) { - var startResize = this.props.onResizeStart(event, direction, this.resizable); - if (startResize === false) { - return; - } - } - } - // Fix #168 - if (this.props.size) { - if (typeof this.props.size.height !== 'undefined' && this.props.size.height !== this.state.height) { - this.setState({ height: this.props.size.height }); - } - if (typeof this.props.size.width !== 'undefined' && this.props.size.width !== this.state.width) { - this.setState({ width: this.props.size.width }); - } - } - // For lockAspectRatio case - this.ratio = - typeof this.props.lockAspectRatio === 'number' ? this.props.lockAspectRatio : this.size.width / this.size.height; - // For boundary - this.setBoundingClientRect(); - this.bindEvents(); - this.setState({ - original: { - x: clientX, - y: clientY, - width: this.size.width, - height: this.size.height, - }, - isResizing: true, - resizeCursor: window.getComputedStyle(event.target).cursor || 'auto', - direction: direction, - }); - }; - Resizable.prototype.onMouseMove = function (event) { - if (!this.state.isResizing || !this.resizable) { - return; - } - var _a = this.props, maxWidth = _a.maxWidth, maxHeight = _a.maxHeight, minWidth = _a.minWidth, minHeight = _a.minHeight; - var clientX = event instanceof MouseEvent ? event.clientX : event.touches[0].clientX; - var clientY = event instanceof MouseEvent ? event.clientY : event.touches[0].clientY; - var _b = this.state, direction = _b.direction, original = _b.original, width = _b.width, height = _b.height; - var parentSize = this.getParentSize(); - var max = calculateNewMax(parentSize, maxWidth, maxHeight, minWidth, minHeight); - maxWidth = max.maxWidth; - maxHeight = max.maxHeight; - minWidth = max.minWidth; - minHeight = max.minHeight; - // Calculate new size - var _c = this.calculateNewSizeFromDirection(clientX, clientY), newHeight = _c.newHeight, newWidth = _c.newWidth; - // Calculate max size from boundary settings - var boundaryMax = this.calculateNewMaxFromBoundary(maxWidth, maxHeight); - // Calculate new size from aspect ratio - var newSize = this.calculateNewSizeFromAspectRatio(newWidth, newHeight, { width: boundaryMax.maxWidth, height: boundaryMax.maxHeight }, { width: minWidth, height: minHeight }); - newWidth = newSize.newWidth; - newHeight = newSize.newHeight; - if (this.props.grid) { - var newGridWidth = snap(newWidth, this.props.grid[0]); - var newGridHeight = snap(newHeight, this.props.grid[1]); - var gap = this.props.snapGap || 0; - newWidth = gap === 0 || Math.abs(newGridWidth - newWidth) <= gap ? newGridWidth : newWidth; - newHeight = gap === 0 || Math.abs(newGridHeight - newHeight) <= gap ? newGridHeight : newHeight; - } - if (this.props.snap && this.props.snap.x) { - newWidth = findClosestSnap(newWidth, this.props.snap.x, this.props.snapGap); - } - if (this.props.snap && this.props.snap.y) { - newHeight = findClosestSnap(newHeight, this.props.snap.y, this.props.snapGap); - } - var delta = { - width: newWidth - original.width, - height: newHeight - original.height, - }; - if (width && typeof width === 'string') { - if (endsWith(width, '%')) { - var percent = (newWidth / parentSize.width) * 100; - newWidth = percent + "%"; - } - else if (endsWith(width, 'vw')) { - var vw = (newWidth / window.innerWidth) * 100; - newWidth = vw + "vw"; - } - else if (endsWith(width, 'vh')) { - var vh = (newWidth / window.innerHeight) * 100; - newWidth = vh + "vh"; - } - } - if (height && typeof height === 'string') { - if (endsWith(height, '%')) { - var percent = (newHeight / parentSize.height) * 100; - newHeight = percent + "%"; - } - else if (endsWith(height, 'vw')) { - var vw = (newHeight / window.innerWidth) * 100; - newHeight = vw + "vw"; - } - else if (endsWith(height, 'vh')) { - var vh = (newHeight / window.innerHeight) * 100; - newHeight = vh + "vh"; - } - } - this.setState({ - width: this.createSizeForCssProperty(newWidth, 'width'), - height: this.createSizeForCssProperty(newHeight, 'height'), - }); - if (this.props.onResize) { - this.props.onResize(event, direction, this.resizable, delta); - } - }; - Resizable.prototype.onMouseUp = function (event) { - var _a = this.state, isResizing = _a.isResizing, direction = _a.direction, original = _a.original; - if (!isResizing || !this.resizable) { - return; - } - var delta = { - width: this.size.width - original.width, - height: this.size.height - original.height, - }; - if (this.props.onResizeStop) { - this.props.onResizeStop(event, direction, this.resizable, delta); - } - if (this.props.size) { - this.setState(this.props.size); - } - this.unbindEvents(); - this.setState({ isResizing: false, resizeCursor: 'auto' }); - }; - Resizable.prototype.updateSize = function (size) { - this.setState({ width: size.width, height: size.height }); - }; - Resizable.prototype.renderResizer = function () { - var _this = this; - var _a = this.props, enable = _a.enable, handleStyles = _a.handleStyles, handleClasses = _a.handleClasses, handleWrapperStyle = _a.handleWrapperStyle, handleWrapperClass = _a.handleWrapperClass, handleComponent = _a.handleComponent; - if (!enable) { - return null; - } - var resizers = Object.keys(enable).map(function (dir) { - if (enable[dir] !== false) { - return (React.createElement(resizer_1.Resizer, { key: dir, direction: dir, onResizeStart: _this.onResizeStart, replaceStyles: handleStyles && handleStyles[dir], className: handleClasses && handleClasses[dir] }, handleComponent && handleComponent[dir] ? handleComponent[dir] : null)); - } - return null; - }); - // #93 Wrap the resize box in span (will not break 100% width/height) - return (React.createElement("span", { className: handleWrapperClass, style: handleWrapperStyle }, resizers)); - }; - Resizable.prototype.render = function () { - var _this = this; - var extendsProps = Object.keys(this.props).reduce(function (acc, key) { - if (definedProps.indexOf(key) !== -1) { - return acc; - } - acc[key] = _this.props[key]; - return acc; - }, {}); - return (React.createElement("div", __assign({ ref: function (c) { - if (c) { - _this.resizable = c; - } - }, style: __assign({ position: 'relative', userSelect: this.state.isResizing ? 'none' : 'auto' }, this.props.style, this.sizeStyle, { maxWidth: this.props.maxWidth, maxHeight: this.props.maxHeight, minWidth: this.props.minWidth, minHeight: this.props.minHeight, boxSizing: 'border-box', flexShrink: 0 }), className: this.props.className }, extendsProps), - this.state.isResizing && (React.createElement("div", { style: { - height: '100%', - width: '100%', - backgroundColor: 'rgba(0,0,0,0)', - cursor: "" + (this.state.resizeCursor || 'auto'), - opacity: 0, - position: 'fixed', - zIndex: 9999, - top: '0', - left: '0', - bottom: '0', - right: '0', - } })), - this.props.children, - this.renderResizer())); - }; - Resizable.defaultProps = { - onResizeStart: function () { }, - onResize: function () { }, - onResizeStop: function () { }, - enable: { - top: true, - right: true, - bottom: true, - left: true, - topRight: true, - bottomRight: true, - bottomLeft: true, - topLeft: true, - }, - style: {}, - grid: [1, 1], - lockAspectRatio: false, - lockAspectRatioExtraWidth: 0, - lockAspectRatioExtraHeight: 0, - scale: 1, - resizeRatio: 1, - snapGap: 0, - }; - return Resizable; -}(React.PureComponent)); -exports.Resizable = Resizable; - - -/***/ }), -/* 227 */, -/* 228 */, -/* 229 */, -/* 230 */, -/* 231 */, -/* 232 */, -/* 233 */, -/* 234 */, -/* 235 */, -/* 236 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/** @license React v16.12.0 - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -Object.defineProperty(exports,"__esModule",{value:!0}); -var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?Symbol.for("react.suspense_list"): -60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.fundamental"):60117,w=b?Symbol.for("react.responder"):60118,x=b?Symbol.for("react.scope"):60119;function y(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function z(a){return y(a)===m} -exports.typeOf=y;exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;exports.Profiler=g;exports.StrictMode=f;exports.Suspense=p; -exports.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===v||a.$$typeof===w||a.$$typeof===x)};exports.isAsyncMode=function(a){return z(a)||y(a)===l};exports.isConcurrentMode=z;exports.isContextConsumer=function(a){return y(a)===k};exports.isContextProvider=function(a){return y(a)===h}; -exports.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return y(a)===n};exports.isFragment=function(a){return y(a)===e};exports.isLazy=function(a){return y(a)===t};exports.isMemo=function(a){return y(a)===r};exports.isPortal=function(a){return y(a)===d};exports.isProfiler=function(a){return y(a)===g};exports.isStrictMode=function(a){return y(a)===f};exports.isSuspense=function(a){return y(a)===p}; - - -/***/ }), -/* 237 */ -/***/ (function(module, exports, __webpack_require__) { - -// eslint-disable-next-line import/no-unresolved -__webpack_require__(238); - - -/***/ }), -/* 238 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var _registerCSSInterfaceWithDefaultTheme = __webpack_require__(239); - -var _registerCSSInterfaceWithDefaultTheme2 = _interopRequireDefault(_registerCSSInterfaceWithDefaultTheme); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - -(0, _registerCSSInterfaceWithDefaultTheme2['default'])(); - -/***/ }), -/* 239 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports['default'] = registerCSSInterfaceWithDefaultTheme; - -var _reactWithStylesInterfaceCss = __webpack_require__(240); - -var _reactWithStylesInterfaceCss2 = _interopRequireDefault(_reactWithStylesInterfaceCss); - -var _registerInterfaceWithDefaultTheme = __webpack_require__(281); - -var _registerInterfaceWithDefaultTheme2 = _interopRequireDefault(_registerInterfaceWithDefaultTheme); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - -function registerCSSInterfaceWithDefaultTheme() { - (0, _registerInterfaceWithDefaultTheme2['default'])(_reactWithStylesInterfaceCss2['default']); -} - -/***/ }), -/* 240 */ -/***/ (function(module, exports, __webpack_require__) { - -// eslint-disable-next-line import/no-unresolved -module.exports = __webpack_require__(241).default; - - -/***/ }), -/* 241 */ -/***/ (function(module, exports, __webpack_require__) { - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _arrayPrototype = __webpack_require__(242); - -var _arrayPrototype2 = _interopRequireDefault(_arrayPrototype); - -var _globalCache = __webpack_require__(277); - -var _globalCache2 = _interopRequireDefault(_globalCache); - -var _constants = __webpack_require__(278); - -var _getClassName = __webpack_require__(279); - -var _getClassName2 = _interopRequireDefault(_getClassName); - -var _separateStyles2 = __webpack_require__(280); - -var _separateStyles3 = _interopRequireDefault(_separateStyles2); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - -/** - * Function required as part of the react-with-styles interface. Parses the styles provided by - * react-with-styles to produce class names based on the style name and optionally the namespace if - * available. - * - * stylesObject {Object} The styles object passed to withStyles. - * - * Return an object mapping style names to class names. - */ -function create(stylesObject) { - var stylesToClasses = {}; - var styleNames = Object.keys(stylesObject); - var sharedState = _globalCache2['default'].get(_constants.GLOBAL_CACHE_KEY) || {}; - var _sharedState$namespac = sharedState.namespace, - namespace = _sharedState$namespac === undefined ? '' : _sharedState$namespac; - - styleNames.forEach(function (styleName) { - var className = (0, _getClassName2['default'])(namespace, styleName); - stylesToClasses[styleName] = className; - }); - return stylesToClasses; -} - -/** - * Process styles to be consumed by a component. - * - * stylesArray {Array} Array of the following: values returned by create, plain JavaScript objects - * representing inline styles, or arrays thereof. - * - * Return an object with optional className and style properties to be spread on a component. - */ -function resolve(stylesArray) { - var flattenedStyles = (0, _arrayPrototype2['default'])(stylesArray, Infinity); - - var _separateStyles = (0, _separateStyles3['default'])(flattenedStyles), - classNames = _separateStyles.classNames, - hasInlineStyles = _separateStyles.hasInlineStyles, - inlineStyles = _separateStyles.inlineStyles; - - var specificClassNames = classNames.map(function (name, index) { - return String(name) + ' ' + String(name) + '_' + String(index + 1); - }); - var className = specificClassNames.join(' '); - - var result = { className: className }; - if (hasInlineStyles) result.style = inlineStyles; - return result; -} - -exports['default'] = { create: create, resolve: resolve }; - -/***/ }), -/* 242 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var define = __webpack_require__(66); -var callBind = __webpack_require__(128); - -var implementation = __webpack_require__(152); -var getPolyfill = __webpack_require__(164); -var polyfill = getPolyfill(); -var shim = __webpack_require__(276); - -var boundFlat = callBind(polyfill); - -define(boundFlat, { - getPolyfill: getPolyfill, - implementation: implementation, - shim: shim -}); - -module.exports = boundFlat; - - -/***/ }), -/* 243 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var keysShim; -if (!Object.keys) { - // modified from https://github.com/es-shims/es5-shim - var has = Object.prototype.hasOwnProperty; - var toStr = Object.prototype.toString; - var isArgs = __webpack_require__(151); // eslint-disable-line global-require - var isEnumerable = Object.prototype.propertyIsEnumerable; - var hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString'); - var hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype'); - var dontEnums = [ - 'toString', - 'toLocaleString', - 'valueOf', - 'hasOwnProperty', - 'isPrototypeOf', - 'propertyIsEnumerable', - 'constructor' - ]; - var equalsConstructorPrototype = function (o) { - var ctor = o.constructor; - return ctor && ctor.prototype === o; - }; - var excludedKeys = { - $applicationCache: true, - $console: true, - $external: true, - $frame: true, - $frameElement: true, - $frames: true, - $innerHeight: true, - $innerWidth: true, - $onmozfullscreenchange: true, - $onmozfullscreenerror: true, - $outerHeight: true, - $outerWidth: true, - $pageXOffset: true, - $pageYOffset: true, - $parent: true, - $scrollLeft: true, - $scrollTop: true, - $scrollX: true, - $scrollY: true, - $self: true, - $webkitIndexedDB: true, - $webkitStorageInfo: true, - $window: true - }; - var hasAutomationEqualityBug = (function () { - /* global window */ - if (typeof window === 'undefined') { return false; } - for (var k in window) { - try { - if (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') { - try { - equalsConstructorPrototype(window[k]); - } catch (e) { - return true; - } - } - } catch (e) { - return true; - } - } - return false; - }()); - var equalsConstructorPrototypeIfNotBuggy = function (o) { - /* global window */ - if (typeof window === 'undefined' || !hasAutomationEqualityBug) { - return equalsConstructorPrototype(o); - } - try { - return equalsConstructorPrototype(o); - } catch (e) { - return false; - } - }; - - keysShim = function keys(object) { - var isObject = object !== null && typeof object === 'object'; - var isFunction = toStr.call(object) === '[object Function]'; - var isArguments = isArgs(object); - var isString = isObject && toStr.call(object) === '[object String]'; - var theKeys = []; - - if (!isObject && !isFunction && !isArguments) { - throw new TypeError('Object.keys called on a non-object'); - } - - var skipProto = hasProtoEnumBug && isFunction; - if (isString && object.length > 0 && !has.call(object, 0)) { - for (var i = 0; i < object.length; ++i) { - theKeys.push(String(i)); - } - } - - if (isArguments && object.length > 0) { - for (var j = 0; j < object.length; ++j) { - theKeys.push(String(j)); - } - } else { - for (var name in object) { - if (!(skipProto && name === 'prototype') && has.call(object, name)) { - theKeys.push(String(name)); - } - } - } - - if (hasDontEnumBug) { - var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object); - - for (var k = 0; k < dontEnums.length; ++k) { - if (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) { - theKeys.push(dontEnums[k]); - } - } - } - return theKeys; - }; -} -module.exports = keysShim; - - -/***/ }), -/* 244 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -/* eslint no-invalid-this: 1 */ - -var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible '; -var slice = Array.prototype.slice; -var toStr = Object.prototype.toString; -var funcType = '[object Function]'; - -module.exports = function bind(that) { - var target = this; - if (typeof target !== 'function' || toStr.call(target) !== funcType) { - throw new TypeError(ERROR_MESSAGE + target); - } - var args = slice.call(arguments, 1); - - var bound; - var binder = function () { - if (this instanceof bound) { - var result = target.apply( - this, - args.concat(slice.call(arguments)) - ); - if (Object(result) === result) { - return result; - } - return this; - } else { - return target.apply( - that, - args.concat(slice.call(arguments)) - ); - } - }; - - var boundLength = Math.max(0, target.length - args.length); - var boundArgs = []; - for (var i = 0; i < boundLength; i++) { - boundArgs.push('$' + i); - } - - bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder); - - if (target.prototype) { - var Empty = function Empty() {}; - Empty.prototype = target.prototype; - bound.prototype = new Empty(); - Empty.prototype = null; - } - - return bound; -}; - - -/***/ }), -/* 245 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* WEBPACK VAR INJECTION */(function(global) { - -var origSymbol = global.Symbol; -var hasSymbolSham = __webpack_require__(246); - -module.exports = function hasNativeSymbols() { - if (typeof origSymbol !== 'function') { return false; } - if (typeof Symbol !== 'function') { return false; } - if (typeof origSymbol('foo') !== 'symbol') { return false; } - if (typeof Symbol('bar') !== 'symbol') { return false; } - - return hasSymbolSham(); -}; - -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(63))) - -/***/ }), -/* 246 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -/* eslint complexity: [2, 18], max-statements: [2, 33] */ -module.exports = function hasSymbols() { - if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; } - if (typeof Symbol.iterator === 'symbol') { return true; } - - var obj = {}; - var sym = Symbol('test'); - var symObj = Object(sym); - if (typeof sym === 'string') { return false; } - - if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; } - if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; } - - // temp disabled per https://github.com/ljharb/object.assign/issues/17 - // if (sym instanceof Symbol) { return false; } - // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4 - // if (!(symObj instanceof Symbol)) { return false; } - - // if (typeof Symbol.prototype.toString !== 'function') { return false; } - // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; } - - var symVal = 42; - obj[sym] = symVal; - for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax - if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; } - - if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; } - - var syms = Object.getOwnPropertySymbols(obj); - if (syms.length !== 1 || syms[0] !== sym) { return false; } - - if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; } - - if (typeof Object.getOwnPropertyDescriptor === 'function') { - var descriptor = Object.getOwnPropertyDescriptor(obj, sym); - if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; } - } - - return true; -}; - - -/***/ }), -/* 247 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var GetIntrinsic = __webpack_require__(47); - -var $Array = GetIntrinsic('%Array%'); -var $species = GetIntrinsic('%Symbol.species%', true); -var $TypeError = GetIntrinsic('%TypeError%'); - -var Get = __webpack_require__(129); -var IsArray = __webpack_require__(154); -var IsConstructor = __webpack_require__(250); -var IsInteger = __webpack_require__(251); -var Type = __webpack_require__(75); - -// https://ecma-international.org/ecma-262/6.0/#sec-arrayspeciescreate - -module.exports = function ArraySpeciesCreate(originalArray, length) { - if (!IsInteger(length) || length < 0) { - throw new $TypeError('Assertion failed: length must be an integer >= 0'); - } - var len = length === 0 ? 0 : length; - var C; - var isArray = IsArray(originalArray); - if (isArray) { - C = Get(originalArray, 'constructor'); - // TODO: figure out how to make a cross-realm normal Array, a same-realm Array - // if (IsConstructor(C)) { - // if C is another realm's Array, C = undefined - // Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(Array))) === null ? - // } - if ($species && Type(C) === 'Object') { - C = Get(C, $species); - if (C === null) { - C = void 0; - } - } - } - if (typeof C === 'undefined') { - return $Array(len); - } - if (!IsConstructor(C)) { - throw new $TypeError('C must be a constructor'); - } - return new C(len); // Construct(C, len); -}; - - - -/***/ }), -/* 248 */ -/***/ (function(module, exports) { - -/* (ignored) */ - -/***/ }), -/* 249 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -// https://www.ecma-international.org/ecma-262/5.1/#sec-8 - -module.exports = function Type(x) { - if (x === null) { - return 'Null'; - } - if (typeof x === 'undefined') { - return 'Undefined'; - } - if (typeof x === 'function' || typeof x === 'object') { - return 'Object'; - } - if (typeof x === 'number') { - return 'Number'; - } - if (typeof x === 'boolean') { - return 'Boolean'; - } - if (typeof x === 'string') { - return 'String'; - } -}; - - -/***/ }), -/* 250 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -// https://www.ecma-international.org/ecma-262/6.0/#sec-isconstructor - -module.exports = function IsConstructor(argument) { - return typeof argument === 'function' && !!argument.prototype; // unfortunately there's no way to truly check this without try/catch `new argument` -}; - - -/***/ }), -/* 251 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var GetIntrinsic = __webpack_require__(47); - -var $Math = GetIntrinsic('%Math%'); - -var $floor = $Math.floor; -var $abs = $Math.abs; - -var $isNaN = __webpack_require__(131); -var $isFinite = __webpack_require__(155); - -// https://www.ecma-international.org/ecma-262/6.0/#sec-isinteger - -module.exports = function IsInteger(argument) { - if (typeof argument !== 'number' || $isNaN(argument) || !$isFinite(argument)) { - return false; - } - var abs = $abs(argument); - return $floor(abs) === abs; -}; - - -/***/ }), +/* 246 */, +/* 247 */, +/* 248 */, +/* 249 */, +/* 250 */, +/* 251 */, /* 252 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var GetIntrinsic = __webpack_require__(47); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var MAX_SAFE_INTEGER = __webpack_require__(156); - -var Call = __webpack_require__(253); -var CreateDataPropertyOrThrow = __webpack_require__(255); -var Get = __webpack_require__(129); -var HasProperty = __webpack_require__(262); -var IsArray = __webpack_require__(154); -var ToLength = __webpack_require__(160); -var ToString = __webpack_require__(272); - -// https://ecma-international.org/ecma-262/10.0/#sec-flattenintoarray - -// eslint-disable-next-line max-params, max-statements -module.exports = function FlattenIntoArray(target, source, sourceLen, start, depth) { - var mapperFunction; - if (arguments.length > 5) { - mapperFunction = arguments[5]; - } - - var targetIndex = start; - var sourceIndex = 0; - while (sourceIndex < sourceLen) { - var P = ToString(sourceIndex); - var exists = HasProperty(source, P); - if (exists === true) { - var element = Get(source, P); - if (typeof mapperFunction !== 'undefined') { - if (arguments.length <= 6) { - throw new $TypeError('Assertion failed: thisArg is required when mapperFunction is provided'); - } - element = Call(mapperFunction, arguments[6], [element, sourceIndex, source]); - } - var shouldFlatten = false; - if (depth > 0) { - shouldFlatten = IsArray(element); - } - if (shouldFlatten) { - var elementLen = ToLength(Get(element, 'length')); - targetIndex = FlattenIntoArray(target, element, elementLen, targetIndex, depth - 1); - } else { - if (targetIndex >= MAX_SAFE_INTEGER) { - throw new $TypeError('index too large'); - } - CreateDataPropertyOrThrow(target, ToString(targetIndex), element); - targetIndex += 1; - } - } - sourceIndex += 1; - } - - return targetIndex; -}; - - -/***/ }), -/* 253 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var GetIntrinsic = __webpack_require__(47); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var inspect = __webpack_require__(153); - -var IsCallable = __webpack_require__(254); - -// https://www.ecma-international.org/ecma-262/6.0/#sec-call - -module.exports = function Call(F, V) { - var args = arguments.length > 2 ? arguments[2] : []; - if (!IsCallable(F)) { - throw new $TypeError(inspect(F) + ' is not a function'); - } - return F.apply(V, args); -}; - - -/***/ }), -/* 254 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -// http://www.ecma-international.org/ecma-262/5.1/#sec-9.11 - -module.exports = __webpack_require__(157); - - -/***/ }), -/* 255 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var GetIntrinsic = __webpack_require__(47); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var CreateDataProperty = __webpack_require__(256); -var IsPropertyKey = __webpack_require__(101); -var Type = __webpack_require__(75); - -// // https://ecma-international.org/ecma-262/6.0/#sec-createdatapropertyorthrow - -module.exports = function CreateDataPropertyOrThrow(O, P, V) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - var success = CreateDataProperty(O, P, V); - if (!success) { - throw new $TypeError('unable to create data property'); - } - return success; -}; - - -/***/ }), -/* 256 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var GetIntrinsic = __webpack_require__(47); - -var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -var DefineOwnProperty = __webpack_require__(257); - -var FromPropertyDescriptor = __webpack_require__(258); -var IsDataDescriptor = __webpack_require__(259); -var IsExtensible = __webpack_require__(260); -var IsPropertyKey = __webpack_require__(101); -var SameValue = __webpack_require__(261); -var Type = __webpack_require__(75); - -// https://www.ecma-international.org/ecma-262/6.0/#sec-createdataproperty - -module.exports = function CreateDataProperty(O, P, V) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - var oldDesc = $gOPD(O, P); - var extensible = oldDesc || IsExtensible(O); - var immutable = oldDesc && (!oldDesc.writable || !oldDesc.configurable); - if (immutable || !extensible) { - return false; - } - return DefineOwnProperty( - IsDataDescriptor, - SameValue, - FromPropertyDescriptor, - O, - P, - { - '[[Configurable]]': true, - '[[Enumerable]]': true, - '[[Value]]': V, - '[[Writable]]': true - } - ); -}; - - -/***/ }), -/* 257 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var GetIntrinsic = __webpack_require__(47); - -var $defineProperty = GetIntrinsic('%Object.defineProperty%'); - -var callBound = __webpack_require__(130); - -var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable'); - -// eslint-disable-next-line max-params -module.exports = function DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, desc) { - if (!$defineProperty) { - if (!IsDataDescriptor(desc)) { - // ES3 does not support getters/setters - return false; - } - if (!desc['[[Configurable]]'] || !desc['[[Writable]]']) { - return false; - } - - // fallback for ES3 - if (P in O && $isEnumerable(O, P) !== !!desc['[[Enumerable]]']) { - // a non-enumerable existing property - return false; - } - - // property does not exist at all, or exists but is enumerable - var V = desc['[[Value]]']; - // eslint-disable-next-line no-param-reassign - O[P] = V; // will use [[Define]] - return SameValue(O[P], V); - } - $defineProperty(O, P, FromPropertyDescriptor(desc)); - return true; -}; - - -/***/ }), -/* 258 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var assertRecord = __webpack_require__(158); - -var Type = __webpack_require__(75); - -// https://www.ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor - -module.exports = function FromPropertyDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return Desc; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - var obj = {}; - if ('[[Value]]' in Desc) { - obj.value = Desc['[[Value]]']; - } - if ('[[Writable]]' in Desc) { - obj.writable = Desc['[[Writable]]']; - } - if ('[[Get]]' in Desc) { - obj.get = Desc['[[Get]]']; - } - if ('[[Set]]' in Desc) { - obj.set = Desc['[[Set]]']; - } - if ('[[Enumerable]]' in Desc) { - obj.enumerable = Desc['[[Enumerable]]']; - } - if ('[[Configurable]]' in Desc) { - obj.configurable = Desc['[[Configurable]]']; - } - return obj; -}; - - -/***/ }), -/* 259 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var has = __webpack_require__(76); - -var assertRecord = __webpack_require__(158); - -var Type = __webpack_require__(75); - -// https://www.ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor - -module.exports = function IsDataDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - assertRecord(Type, 'Property Descriptor', 'Desc', Desc); - - if (!has(Desc, '[[Value]]') && !has(Desc, '[[Writable]]')) { - return false; - } - - return true; -}; - - -/***/ }), -/* 260 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var GetIntrinsic = __webpack_require__(47); - -var $Object = GetIntrinsic('%Object%'); - -var isPrimitive = __webpack_require__(159); - -var $preventExtensions = $Object.preventExtensions; -var $isExtensible = $Object.isExtensible; - -// https://www.ecma-international.org/ecma-262/6.0/#sec-isextensible-o - -module.exports = $preventExtensions - ? function IsExtensible(obj) { - return !isPrimitive(obj) && $isExtensible(obj); - } - : function IsExtensible(obj) { // eslint-disable-line no-unused-vars - return true; - }; - - -/***/ }), -/* 261 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var $isNaN = __webpack_require__(131); - -// http://www.ecma-international.org/ecma-262/5.1/#sec-9.12 - -module.exports = function SameValue(x, y) { - if (x === y) { // 0 === -0, but they are not identical. - if (x === 0) { return 1 / x === 1 / y; } - return true; - } - return $isNaN(x) && $isNaN(y); -}; - - -/***/ }), -/* 262 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var GetIntrinsic = __webpack_require__(47); - -var $TypeError = GetIntrinsic('%TypeError%'); - -var IsPropertyKey = __webpack_require__(101); -var Type = __webpack_require__(75); - -// https://ecma-international.org/ecma-262/6.0/#sec-hasproperty - -module.exports = function HasProperty(O, P) { - if (Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: `O` must be an Object'); - } - if (!IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: `P` must be a Property Key'); - } - return P in O; -}; - - -/***/ }), -/* 263 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var GetIntrinsic = __webpack_require__(47); - -var $Math = GetIntrinsic('%Math%'); - -var ToNumber = __webpack_require__(264); -var $isNaN = __webpack_require__(131); -var $isFinite = __webpack_require__(155); -var $sign = __webpack_require__(265); - -var $floor = $Math.floor; -var $abs = $Math.abs; - -// http://www.ecma-international.org/ecma-262/5.1/#sec-9.4 - -module.exports = function ToInteger(value) { - var number = ToNumber(value); - if ($isNaN(number)) { return 0; } - if (number === 0 || !$isFinite(number)) { return number; } - return $sign(number) * $floor($abs(number)); -}; - - -/***/ }), -/* 264 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -// http://www.ecma-international.org/ecma-262/5.1/#sec-9.3 - -module.exports = function ToNumber(value) { - return +value; // eslint-disable-line no-implicit-coercion -}; - - -/***/ }), -/* 265 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -module.exports = function sign(number) { - return number >= 0 ? 1 : -1; -}; - - -/***/ }), -/* 266 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -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__(130); -var regexTester = __webpack_require__(267); -var isPrimitive = __webpack_require__(159); - -var $strSlice = callBound('String.prototype.slice'); -var isBinary = regexTester(/^0b[01]+$/i); -var isOctal = regexTester(/^0o[0-7]+$/i); -var isInvalidHexLiteral = regexTester(/^[-+]0x[0-9a-f]+$/i); -var nonWS = ['\u0085', '\u200b', '\ufffe'].join(''); -var nonWSregex = new $RegExp('[' + nonWS + ']', 'g'); -var hasNonWS = regexTester(nonWSregex); - -// whitespace from: https://es5.github.io/#x15.5.4.20 -// implementation from https://github.com/es-shims/es5-shim/blob/v3.4.0/es5-shim.js#L1304-L1324 -var ws = [ - '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003', - '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028', - '\u2029\uFEFF' -].join(''); -var trimRegex = new RegExp('(^[' + ws + ']+)|([' + ws + ']+$)', 'g'); -var $replace = callBound('String.prototype.replace'); -var $trim = function (value) { - return $replace(value, trimRegex, ''); -}; - -var ToPrimitive = __webpack_require__(268); - -// https://www.ecma-international.org/ecma-262/6.0/#sec-tonumber - -module.exports = function ToNumber(argument) { - var value = isPrimitive(argument) ? argument : ToPrimitive(argument, $Number); - if (typeof value === 'symbol') { - throw new $TypeError('Cannot convert a Symbol value to a number'); - } - if (typeof value === 'string') { - if (isBinary(value)) { - return ToNumber($parseInteger($strSlice(value, 2), 2)); - } else if (isOctal(value)) { - return ToNumber($parseInteger($strSlice(value, 2), 8)); - } else if (hasNonWS(value) || isInvalidHexLiteral(value)) { - return NaN; - } else { - var trimmed = $trim(value); - if (trimmed !== value) { - return ToNumber(trimmed); - } - } - } - return $Number(value); -}; - - -/***/ }), -/* 267 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var GetIntrinsic = __webpack_require__(47); - -var $test = GetIntrinsic('RegExp.prototype.test'); - -var callBind = __webpack_require__(128); - -module.exports = function regexTester(regex) { - return callBind($test, regex); -}; - - -/***/ }), -/* 268 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var toPrimitive = __webpack_require__(269); - -// https://www.ecma-international.org/ecma-262/6.0/#sec-toprimitive - -module.exports = function ToPrimitive(input) { - if (arguments.length > 1) { - return toPrimitive(input, arguments[1]); - } - return toPrimitive(input); -}; - - -/***/ }), -/* 269 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var hasSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol'; - -var isPrimitive = __webpack_require__(270); -var isCallable = __webpack_require__(157); -var isDate = __webpack_require__(162); -var isSymbol = __webpack_require__(132); - -var ordinaryToPrimitive = function OrdinaryToPrimitive(O, hint) { - if (typeof O === 'undefined' || O === null) { - throw new TypeError('Cannot call method on ' + O); - } - if (typeof hint !== 'string' || (hint !== 'number' && hint !== 'string')) { - throw new TypeError('hint must be "string" or "number"'); - } - var methodNames = hint === 'string' ? ['toString', 'valueOf'] : ['valueOf', 'toString']; - var method, result, i; - for (i = 0; i < methodNames.length; ++i) { - method = O[methodNames[i]]; - if (isCallable(method)) { - result = method.call(O); - if (isPrimitive(result)) { - return result; - } - } - } - throw new TypeError('No default value'); -}; - -var GetMethod = function GetMethod(O, P) { - var func = O[P]; - if (func !== null && typeof func !== 'undefined') { - if (!isCallable(func)) { - throw new TypeError(func + ' returned for property ' + P + ' of object ' + O + ' is not a function'); - } - return func; - } - return void 0; -}; - -// http://www.ecma-international.org/ecma-262/6.0/#sec-toprimitive -module.exports = function ToPrimitive(input) { - if (isPrimitive(input)) { - return input; - } - var hint = 'default'; - if (arguments.length > 1) { - if (arguments[1] === String) { - hint = 'string'; - } else if (arguments[1] === Number) { - hint = 'number'; - } - } - - var exoticToPrim; - if (hasSymbols) { - if (Symbol.toPrimitive) { - exoticToPrim = GetMethod(input, Symbol.toPrimitive); - } else if (isSymbol(input)) { - exoticToPrim = Symbol.prototype.valueOf; - } - } - if (typeof exoticToPrim !== 'undefined') { - var result = exoticToPrim.call(input, hint); - if (isPrimitive(result)) { - return result; - } - throw new TypeError('unable to convert exotic object to primitive'); - } - if (hint === 'default' && (isDate(input) || isSymbol(input))) { - hint = 'string'; - } - return ordinaryToPrimitive(input, hint === 'default' ? 'number' : hint); -}; - - -/***/ }), -/* 270 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -module.exports = function isPrimitive(value) { - return value === null || (typeof value !== 'function' && typeof value !== 'object'); -}; - - -/***/ }), -/* 271 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* WEBPACK VAR INJECTION */(function(global) { - -var origSymbol = global.Symbol; -var hasSymbolSham = __webpack_require__(163); - -module.exports = function hasNativeSymbols() { - if (typeof origSymbol !== 'function') { return false; } - if (typeof Symbol !== 'function') { return false; } - if (typeof origSymbol('foo') !== 'symbol') { return false; } - if (typeof Symbol('bar') !== 'symbol') { return false; } - - return hasSymbolSham(); -}; - -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(63))) - -/***/ }), -/* 272 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var GetIntrinsic = __webpack_require__(47); - -var $String = GetIntrinsic('%String%'); -var $TypeError = GetIntrinsic('%TypeError%'); - -// https://www.ecma-international.org/ecma-262/6.0/#sec-tostring - -module.exports = function ToString(argument) { - if (typeof argument === 'symbol') { - throw new $TypeError('Cannot convert a Symbol value to a string'); - } - return $String(argument); -}; - - -/***/ }), -/* 273 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var GetIntrinsic = __webpack_require__(47); - -var $Object = GetIntrinsic('%Object%'); - -var RequireObjectCoercible = __webpack_require__(274); - -// https://www.ecma-international.org/ecma-262/6.0/#sec-toobject - -module.exports = function ToObject(value) { - RequireObjectCoercible(value); - return $Object(value); -}; - - -/***/ }), -/* 274 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -module.exports = __webpack_require__(275); - - -/***/ }), -/* 275 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var GetIntrinsic = __webpack_require__(47); - -var $TypeError = GetIntrinsic('%TypeError%'); - -// http://www.ecma-international.org/ecma-262/5.1/#sec-9.10 - -module.exports = function CheckObjectCoercible(value, optMessage) { - if (value == null) { - throw new $TypeError(optMessage || ('Cannot call method on ' + value)); - } - return value; -}; - - -/***/ }), -/* 276 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var define = __webpack_require__(66); -var getPolyfill = __webpack_require__(164); - -module.exports = function shimFlat() { - var polyfill = getPolyfill(); - define( - Array.prototype, - { flat: polyfill }, - { flat: function () { return Array.prototype.flat !== polyfill; } } - ); - return polyfill; -}; - - -/***/ }), -/* 277 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* WEBPACK VAR INJECTION */(function(global) { - -var define = __webpack_require__(66); -var isSymbol = __webpack_require__(132); - -var globalKey = '__ global cache key __'; -/* istanbul ignore else */ -// eslint-disable-next-line no-restricted-properties -if (typeof Symbol === 'function' && isSymbol(Symbol('foo')) && typeof Symbol['for'] === 'function') { - // eslint-disable-next-line no-restricted-properties - globalKey = Symbol['for'](globalKey); -} - -var trueThunk = function () { - return true; -}; - -var ensureCache = function ensureCache() { - if (!global[globalKey]) { - var properties = {}; - properties[globalKey] = {}; - var predicates = {}; - predicates[globalKey] = trueThunk; - define(global, properties, predicates); - } - return global[globalKey]; -}; - -var cache = ensureCache(); - -var isPrimitive = function isPrimitive(val) { - return val === null || (typeof val !== 'object' && typeof val !== 'function'); -}; - -var getPrimitiveKey = function getPrimitiveKey(val) { - if (isSymbol(val)) { - return Symbol.prototype.valueOf.call(val); - } - return typeof val + ' | ' + String(val); -}; - -var requirePrimitiveKey = function requirePrimitiveKey(val) { - if (!isPrimitive(val)) { - throw new TypeError('key must not be an object'); - } -}; - -var globalCache = { - clear: function clear() { - delete global[globalKey]; - cache = ensureCache(); - }, - - 'delete': function deleteKey(key) { - requirePrimitiveKey(key); - delete cache[getPrimitiveKey(key)]; - return !globalCache.has(key); - }, - - get: function get(key) { - requirePrimitiveKey(key); - return cache[getPrimitiveKey(key)]; - }, - - has: function has(key) { - requirePrimitiveKey(key); - return getPrimitiveKey(key) in cache; - }, - - set: function set(key, value) { - requirePrimitiveKey(key); - var primitiveKey = getPrimitiveKey(key); - var props = {}; - props[primitiveKey] = value; - var predicates = {}; - predicates[primitiveKey] = trueThunk; - define(cache, props, predicates); - return globalCache.has(key); - }, - - setIfMissingThenGet: function setIfMissingThenGet(key, valueThunk) { - if (globalCache.has(key)) { - return globalCache.get(key); - } - var item = valueThunk(); - globalCache.set(key, item); - return item; - } -}; - -module.exports = globalCache; - -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(63))) - -/***/ }), -/* 278 */ -/***/ (function(module, exports) { - -Object.defineProperty(exports, "__esModule", { - value: true -}); -var GLOBAL_CACHE_KEY = 'reactWithStylesInterfaceCSS'; -var MAX_SPECIFICITY = 20; - -exports.GLOBAL_CACHE_KEY = GLOBAL_CACHE_KEY; -exports.MAX_SPECIFICITY = MAX_SPECIFICITY; - -/***/ }), -/* 279 */ -/***/ (function(module, exports) { - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports['default'] = getClassName; -/** - * Construct a class name. - * - * namespace {String} Used to construct unique class names. - * styleName {String} Name identifying the specific style. - * - * Return the class name. - */ -function getClassName(namespace, styleName) { - var namespaceSegment = namespace.length > 0 ? String(namespace) + '__' : ''; - return '' + namespaceSegment + String(styleName); -} - -/***/ }), -/* 280 */ -/***/ (function(module, exports) { - -Object.defineProperty(exports, "__esModule", { - value: true -}); -// This function takes an array of styles and separates them into styles that -// are handled by Aphrodite and inline styles. -function separateStyles(stylesArray) { - var classNames = []; - - // Since determining if an Object is empty requires collecting all of its - // keys, and we want the best performance in this code because we are in the - // render path, we are going to do a little bookkeeping ourselves. - var hasInlineStyles = false; - var inlineStyles = {}; - - // This is run on potentially every node in the tree when rendering, where - // performance is critical. Normally we would prefer using `forEach`, but - // old-fashioned for loops are faster so that's what we have chosen here. - for (var i = 0; i < stylesArray.length; i++) { - // eslint-disable-line no-plusplus - var style = stylesArray[i]; - - // If this style is falsy, we just want to disregard it. This allows for - // syntax like: - // - // css(isFoo && styles.foo) - if (style) { - if (typeof style === 'string') { - classNames.push(style); - } else { - Object.assign(inlineStyles, style); - hasInlineStyles = true; - } - } - } - - return { - classNames: classNames, - hasInlineStyles: hasInlineStyles, - inlineStyles: inlineStyles - }; -} - -exports['default'] = separateStyles; - -/***/ }), -/* 281 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports['default'] = registerInterfaceWithDefaultTheme; - -var _ThemedStyleSheet = __webpack_require__(165); - -var _ThemedStyleSheet2 = _interopRequireDefault(_ThemedStyleSheet); - -var _DefaultTheme = __webpack_require__(166); - -var _DefaultTheme2 = _interopRequireDefault(_DefaultTheme); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - -function registerInterfaceWithDefaultTheme(reactWithStylesInterface) { - _ThemedStyleSheet2['default'].registerInterface(reactWithStylesInterface); - _ThemedStyleSheet2['default'].registerTheme(_DefaultTheme2['default']); -} - -/***/ }), -/* 282 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _CalendarDay = __webpack_require__(133); - -Object.defineProperty(exports, 'CalendarDay', { - enumerable: true, - get: function () { - function get() { - return _interopRequireDefault(_CalendarDay)['default']; - } - - return get; - }() -}); - -var _CalendarMonth = __webpack_require__(170); - -Object.defineProperty(exports, 'CalendarMonth', { - enumerable: true, - get: function () { - function get() { - return _interopRequireDefault(_CalendarMonth)['default']; - } - - return get; - }() -}); - -var _CalendarMonthGrid = __webpack_require__(172); - -Object.defineProperty(exports, 'CalendarMonthGrid', { - enumerable: true, - get: function () { - function get() { - return _interopRequireDefault(_CalendarMonthGrid)['default']; - } - - return get; - }() -}); - -var _DateRangePicker = __webpack_require__(301); - -Object.defineProperty(exports, 'DateRangePicker', { - enumerable: true, - get: function () { - function get() { - return _interopRequireDefault(_DateRangePicker)['default']; - } - - return get; - }() -}); - -var _DateRangePickerInput = __webpack_require__(194); - -Object.defineProperty(exports, 'DateRangePickerInput', { - enumerable: true, - get: function () { - function get() { - return _interopRequireDefault(_DateRangePickerInput)['default']; - } - - return get; - }() -}); - -var _DateRangePickerInputController = __webpack_require__(193); - -Object.defineProperty(exports, 'DateRangePickerInputController', { - enumerable: true, - get: function () { - function get() { - return _interopRequireDefault(_DateRangePickerInputController)['default']; - } - - return get; - }() -}); - -var _DateRangePickerShape = __webpack_require__(186); - -Object.defineProperty(exports, 'DateRangePickerShape', { - enumerable: true, - get: function () { - function get() { - return _interopRequireDefault(_DateRangePickerShape)['default']; - } - - return get; - }() -}); - -var _DayPicker = __webpack_require__(142); - -Object.defineProperty(exports, 'DayPicker', { - enumerable: true, - get: function () { - function get() { - return _interopRequireDefault(_DayPicker)['default']; - } - - return get; - }() -}); - -var _DayPickerRangeController = __webpack_require__(202); - -Object.defineProperty(exports, 'DayPickerRangeController', { - enumerable: true, - get: function () { - function get() { - return _interopRequireDefault(_DayPickerRangeController)['default']; - } - - return get; - }() -}); - -var _DayPickerSingleDateController = __webpack_require__(205); - -Object.defineProperty(exports, 'DayPickerSingleDateController', { - enumerable: true, - get: function () { - function get() { - return _interopRequireDefault(_DayPickerSingleDateController)['default']; - } - - return get; - }() -}); - -var _SingleDatePicker = __webpack_require__(332); - -Object.defineProperty(exports, 'SingleDatePicker', { - enumerable: true, - get: function () { - function get() { - return _interopRequireDefault(_SingleDatePicker)['default']; - } - - return get; - }() -}); - -var _SingleDatePickerInput = __webpack_require__(207); - -Object.defineProperty(exports, 'SingleDatePickerInput', { - enumerable: true, - get: function () { - function get() { - return _interopRequireDefault(_SingleDatePickerInput)['default']; - } - - return get; - }() -}); - -var _SingleDatePickerShape = __webpack_require__(206); - -Object.defineProperty(exports, 'SingleDatePickerShape', { - enumerable: true, - get: function () { - function get() { - return _interopRequireDefault(_SingleDatePickerShape)['default']; - } - - return get; - }() -}); - -var _isInclusivelyAfterDay = __webpack_require__(93); - -Object.defineProperty(exports, 'isInclusivelyAfterDay', { - enumerable: true, - get: function () { - function get() { - return _interopRequireDefault(_isInclusivelyAfterDay)['default']; - } - - return get; - }() -}); - -var _isInclusivelyBeforeDay = __webpack_require__(333); - -Object.defineProperty(exports, 'isInclusivelyBeforeDay', { - enumerable: true, - get: function () { - function get() { - return _interopRequireDefault(_isInclusivelyBeforeDay)['default']; - } - - return get; - }() -}); - -var _isNextDay = __webpack_require__(203); - -Object.defineProperty(exports, 'isNextDay', { - enumerable: true, - get: function () { - function get() { - return _interopRequireDefault(_isNextDay)['default']; - } - - return get; - }() -}); - -var _isSameDay = __webpack_require__(79); - -Object.defineProperty(exports, 'isSameDay', { - enumerable: true, - get: function () { - function get() { - return _interopRequireDefault(_isSameDay)['default']; - } - - return get; - }() -}); - -var _toISODateString = __webpack_require__(103); - -Object.defineProperty(exports, 'toISODateString', { - enumerable: true, - get: function () { - function get() { - return _interopRequireDefault(_toISODateString)['default']; - } - - return get; - }() -}); - -var _toLocalizedDateString = __webpack_require__(140); - -Object.defineProperty(exports, 'toLocalizedDateString', { - enumerable: true, - get: function () { - function get() { - return _interopRequireDefault(_toLocalizedDateString)['default']; - } - - return get; - }() -}); - -var _toMomentObject = __webpack_require__(80); - -Object.defineProperty(exports, 'toMomentObject', { - enumerable: true, - get: function () { - function get() { - return _interopRequireDefault(_toMomentObject)['default']; - } - - return get; - }() -}); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - -/***/ }), -/* 283 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var define = __webpack_require__(66); -var getPolyfill = __webpack_require__(168); - -module.exports = function shimAssign() { - var polyfill = getPolyfill(); - define( - Object, - { assign: polyfill }, - { assign: function () { return Object.assign !== polyfill; } } - ); - return polyfill; -}; - - -/***/ }), -/* 284 */ -/***/ (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. - * - * @typechecks - * - */ - -/*eslint-disable no-self-compare */ - - - -var hasOwnProperty = Object.prototype.hasOwnProperty; - -/** - * inlined Object.is polyfill to avoid requiring consumers ship their own - * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is - */ -function is(x, y) { - // SameValue algorithm - if (x === y) { - // Steps 1-5, 7-10 - // Steps 6.b-6.e: +0 != -0 - // Added the nonzero y check to make Flow happy, but it is redundant - return x !== 0 || y !== 0 || 1 / x === 1 / y; - } else { - // Step 6.a: NaN == NaN - return x !== x && y !== y; - } -} - -/** - * Performs equality by iterating through keys on an object and returning false - * when any key has values which are not strictly equal between the arguments. - * Returns true when the values of all keys are strictly equal. - */ -function shallowEqual(objA, objB) { - if (is(objA, objB)) { - return true; - } - - if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) { - return false; - } - - var keysA = Object.keys(objA); - var keysB = Object.keys(objB); - - if (keysA.length !== keysB.length) { - return false; - } - - // Test for A's keys different from B. - for (var i = 0; i < keysA.length; i++) { - if (!hasOwnProperty.call(objB, keysA[i]) || !is(objA[keysA[i]], objB[keysA[i]])) { - return false; - } - } - - return true; -} - -module.exports = shallowEqual; - -/***/ }), -/* 285 */ -/***/ (function(module, exports, __webpack_require__) { - -var moment = __webpack_require__(30); - -function isValidMoment(testMoment) { - if (typeof moment.isMoment === 'function' && !moment.isMoment(testMoment)) { - return false; - } - - /* istanbul ignore else */ - if (typeof testMoment.isValid === 'function') { - // moment 1.7.0+ - return testMoment.isValid(); - } - - /* istanbul ignore next */ - return !isNaN(testMoment); -} - -module.exports = { - isValidMoment : isValidMoment, -}; - - -/***/ }), -/* 286 */ -/***/ (function(module, exports) { - -var messages = { - invalidPredicate: '`predicate` must be a function', - invalidPropValidator: '`propValidator` must be a function', - requiredCore: 'is marked as required', - invalidTypeCore: 'Invalid input type', - predicateFailureCore: 'Failed to succeed with predicate', - anonymousMessage: '<>', - baseInvalidMessage: 'Invalid ', -}; - -function constructPropValidatorVariations(propValidator) { - if (typeof propValidator !== 'function') { - throw new Error(messages.invalidPropValidator); - } - - var requiredPropValidator = propValidator.bind(null, false, null); - requiredPropValidator.isRequired = propValidator.bind(null, true, null); - - requiredPropValidator.withPredicate = function predicateApplication(predicate) { - if (typeof predicate !== 'function') { - throw new Error(messages.invalidPredicate); - } - var basePropValidator = propValidator.bind(null, false, predicate); - basePropValidator.isRequired = propValidator.bind(null, true, predicate); - return basePropValidator; - }; - - return requiredPropValidator; -} - -function createInvalidRequiredErrorMessage(propName, componentName, value) { - return new Error( - 'The prop `' + propName + '` ' + messages.requiredCore + - ' in `' + componentName + '`, but its value is `' + value + '`.' - ); -} - -var independentGuardianValue = -1; - -function preValidationRequireCheck(isRequired, componentName, propFullName, propValue) { - var isPropValueUndefined = typeof propValue === 'undefined'; - var isPropValueNull = propValue === null; - - if (isRequired) { - if (isPropValueUndefined) { - return createInvalidRequiredErrorMessage(propFullName, componentName, 'undefined'); - } else if (isPropValueNull) { - return createInvalidRequiredErrorMessage(propFullName, componentName, 'null'); - } - } - - if (isPropValueUndefined || isPropValueNull) { - return null; - } - - return independentGuardianValue; -} - -function createMomentChecker(type, typeValidator, validator, momentType) { - - function propValidator( - isRequired, // Bound parameter to indicate with the propType is required - predicate, // Bound parameter to allow user to add dynamic validation - props, - propName, - componentName, - location, - propFullName - ) { - var propValue = props[ propName ]; - var propType = typeof propValue; - - componentName = componentName || messages.anonymousMessage; - propFullName = propFullName || propName; - - var preValidationRequireCheckValue = preValidationRequireCheck( - isRequired, componentName, propFullName, propValue - ); - - if (preValidationRequireCheckValue !== independentGuardianValue) { - return preValidationRequireCheckValue; - } - - if (typeValidator && !typeValidator(propValue)) { - return new Error( - messages.invalidTypeCore + ': `' + propName + '` of type `' + propType + '` ' + - 'supplied to `' + componentName + '`, expected `' + type + '`.' - ); - } - - if (!validator(propValue)) { - return new Error( - messages.baseInvalidMessage + location + ' `' + propName + '` of type `' + propType + '` ' + - 'supplied to `' + componentName + '`, expected `' + momentType + '`.' - ); - } - - if (predicate && !predicate(propValue)) { - var predicateName = predicate.name || messages.anonymousMessage; - return new Error( - messages.baseInvalidMessage + location + ' `' + propName + '` of type `' + propType + '` ' + - 'supplied to `' + componentName + '`. ' + messages.predicateFailureCore + ' `' + - predicateName + '`.' - ); - } - - return null; - - } - - return constructPropValidatorVariations(propValidator); - -} - -module.exports = { - constructPropValidatorVariations: constructPropValidatorVariations, - createMomentChecker: createMomentChecker, - messages: messages, -}; - - -/***/ }), -/* 287 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -function noop() { - return null; -} - -noop.isRequired = noop; - -function noopThunk() { - return noop; -} - -module.exports = { - and: noopThunk, - between: noopThunk, - booleanSome: noopThunk, - childrenHavePropXorChildren: noopThunk, - childrenOf: noopThunk, - childrenOfType: noopThunk, - childrenSequenceOf: noopThunk, - componentWithName: noopThunk, - disallowedIf: noopThunk, - elementType: noopThunk, - empty: noopThunk, - explicitNull: noopThunk, - forbidExtraProps: Object, - integer: noopThunk, - keysOf: noopThunk, - mutuallyExclusiveProps: noopThunk, - mutuallyExclusiveTrueProps: noopThunk, - nChildren: noopThunk, - nonNegativeInteger: noop, - nonNegativeNumber: noopThunk, - numericString: noopThunk, - object: noopThunk, - or: noopThunk, - range: noopThunk, - ref: noopThunk, - requiredBy: noopThunk, - restrictedProp: noopThunk, - sequenceOf: noopThunk, - shape: noopThunk, - stringEndsWith: noopThunk, - stringStartsWith: noopThunk, - uniqueArray: noopThunk, - uniqueArrayOf: noopThunk, - valuesOf: noopThunk, - withShape: noopThunk -}; - - -/***/ }), -/* 288 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var reactIs = __webpack_require__(289); - -/** - * Copyright 2015, Yahoo! Inc. - * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -var REACT_STATICS = { - childContextTypes: true, - contextType: true, - contextTypes: true, - defaultProps: true, - displayName: true, - getDefaultProps: true, - getDerivedStateFromError: true, - getDerivedStateFromProps: true, - mixins: true, - propTypes: true, - type: true -}; -var KNOWN_STATICS = { - name: true, - length: true, - prototype: true, - caller: true, - callee: true, - arguments: true, - arity: true -}; -var FORWARD_REF_STATICS = { - '$$typeof': true, - render: true, - defaultProps: true, - displayName: true, - propTypes: true -}; -var MEMO_STATICS = { - '$$typeof': true, - compare: true, - defaultProps: true, - displayName: true, - propTypes: true, - type: true -}; -var TYPE_STATICS = {}; -TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS; - -function getStatics(component) { - if (reactIs.isMemo(component)) { - return MEMO_STATICS; - } - - return TYPE_STATICS[component['$$typeof']] || REACT_STATICS; -} - -var defineProperty = Object.defineProperty; -var getOwnPropertyNames = Object.getOwnPropertyNames; -var getOwnPropertySymbols = Object.getOwnPropertySymbols; -var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; -var getPrototypeOf = Object.getPrototypeOf; -var objectPrototype = Object.prototype; -function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) { - if (typeof sourceComponent !== 'string') { - // don't hoist over string (html) components - if (objectPrototype) { - var inheritedComponent = getPrototypeOf(sourceComponent); - - if (inheritedComponent && inheritedComponent !== objectPrototype) { - hoistNonReactStatics(targetComponent, inheritedComponent, blacklist); - } - } - - var keys = getOwnPropertyNames(sourceComponent); - - if (getOwnPropertySymbols) { - keys = keys.concat(getOwnPropertySymbols(sourceComponent)); - } - - var targetStatics = getStatics(targetComponent); - var sourceStatics = getStatics(sourceComponent); - - for (var i = 0; i < keys.length; ++i) { - var key = keys[i]; - - if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) { - var descriptor = getOwnPropertyDescriptor(sourceComponent, key); - - try { - // Avoid failures from read-only properties - defineProperty(targetComponent, key, descriptor); - } catch (e) {} - } - } - } - - return targetComponent; -} - -module.exports = hoistNonReactStatics; - - -/***/ }), -/* 289 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -if (true) { - module.exports = __webpack_require__(290); -} else {} - - -/***/ }), -/* 290 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/** @license React v16.8.6 - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -Object.defineProperty(exports,"__esModule",{value:!0}); -var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?Symbol.for("react.memo"): -60115,r=b?Symbol.for("react.lazy"):60116;function t(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case h:return a;default:return u}}case r:case q:case d:return u}}}function v(a){return t(a)===m}exports.typeOf=t;exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n; -exports.Fragment=e;exports.Lazy=r;exports.Memo=q;exports.Portal=d;exports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||"object"===typeof a&&null!==a&&(a.$$typeof===r||a.$$typeof===q||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n)};exports.isAsyncMode=function(a){return v(a)||t(a)===l};exports.isConcurrentMode=v;exports.isContextConsumer=function(a){return t(a)===k}; -exports.isContextProvider=function(a){return t(a)===h};exports.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return t(a)===n};exports.isFragment=function(a){return t(a)===e};exports.isLazy=function(a){return t(a)===r};exports.isMemo=function(a){return t(a)===q};exports.isPortal=function(a){return t(a)===d};exports.isProfiler=function(a){return t(a)===g};exports.isStrictMode=function(a){return t(a)===f}; -exports.isSuspense=function(a){return t(a)===p}; - - -/***/ }), -/* 291 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); -var CHANNEL = exports.CHANNEL = '__direction__'; - -var DIRECTIONS = exports.DIRECTIONS = { - LTR: 'ltr', - RTL: 'rtl' -}; - -/***/ }), -/* 292 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _propTypes = __webpack_require__(28); - -var _propTypes2 = _interopRequireDefault(_propTypes); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - -exports['default'] = _propTypes2['default'].shape({ - getState: _propTypes2['default'].func, - setState: _propTypes2['default'].func, - subscribe: _propTypes2['default'].func -}); - -/***/ }), -/* 293 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports['default'] = getPhrase; -function getPhrase(phrase, args) { - if (typeof phrase === 'string') return phrase; - - if (typeof phrase === 'function') { - return phrase(args); - } - - return ''; -} - -/***/ }), -/* 294 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports['default'] = CalendarWeek; - -var _react = __webpack_require__(21); - -var _react2 = _interopRequireDefault(_react); - -var _airbnbPropTypes = __webpack_require__(48); - -var _CalendarDay = __webpack_require__(133); - -var _CalendarDay2 = _interopRequireDefault(_CalendarDay); - -var _CustomizableCalendarDay = __webpack_require__(295); - -var _CustomizableCalendarDay2 = _interopRequireDefault(_CustomizableCalendarDay); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - -var propTypes = (0, _airbnbPropTypes.forbidExtraProps)({ - children: (0, _airbnbPropTypes.or)([(0, _airbnbPropTypes.childrenOfType)(_CalendarDay2['default']), (0, _airbnbPropTypes.childrenOfType)(_CustomizableCalendarDay2['default'])]).isRequired -}); - -function CalendarWeek(_ref) { - var children = _ref.children; - - return _react2['default'].createElement( - 'tr', - null, - children - ); -} - -CalendarWeek.propTypes = propTypes; - -/***/ }), -/* 295 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.PureCustomizableCalendarDay = exports.selectedStyles = exports.lastInRangeStyles = exports.selectedSpanStyles = exports.hoveredSpanStyles = exports.blockedOutOfRangeStyles = exports.blockedCalendarStyles = exports.blockedMinNightsStyles = exports.highlightedCalendarStyles = exports.outsideStyles = exports.defaultStyles = undefined; - -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -var _object = __webpack_require__(52); - -var _object2 = _interopRequireDefault(_object); - -var _react = __webpack_require__(21); - -var _react2 = _interopRequireDefault(_react); - -var _propTypes = __webpack_require__(28); - -var _propTypes2 = _interopRequireDefault(_propTypes); - -var _reactAddonsShallowCompare = __webpack_require__(78); - -var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare); - -var _reactMomentProptypes = __webpack_require__(67); - -var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes); - -var _airbnbPropTypes = __webpack_require__(48); - -var _reactWithStyles = __webpack_require__(58); - -var _moment = __webpack_require__(30); - -var _moment2 = _interopRequireDefault(_moment); - -var _defaultPhrases = __webpack_require__(53); - -var _getPhrasePropTypes = __webpack_require__(56); - -var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); - -var _getCalendarDaySettings = __webpack_require__(169); - -var _getCalendarDaySettings2 = _interopRequireDefault(_getCalendarDaySettings); - -var _constants = __webpack_require__(41); - -var _DefaultTheme = __webpack_require__(166); - -var _DefaultTheme2 = _interopRequireDefault(_DefaultTheme); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var color = _DefaultTheme2['default'].reactDates.color; - - -function getStyles(stylesObj, isHovered) { - if (!stylesObj) return null; - - var hover = stylesObj.hover; - - if (isHovered && hover) { - return hover; - } - - return stylesObj; -} - -var DayStyleShape = _propTypes2['default'].shape({ - background: _propTypes2['default'].string, - border: (0, _airbnbPropTypes.or)([_propTypes2['default'].string, _propTypes2['default'].number]), - color: _propTypes2['default'].string, - - hover: _propTypes2['default'].shape({ - background: _propTypes2['default'].string, - border: (0, _airbnbPropTypes.or)([_propTypes2['default'].string, _propTypes2['default'].number]), - color: _propTypes2['default'].string - }) -}); - -var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, { - day: _reactMomentProptypes2['default'].momentObj, - daySize: _airbnbPropTypes.nonNegativeInteger, - isOutsideDay: _propTypes2['default'].bool, - modifiers: _propTypes2['default'].instanceOf(Set), - isFocused: _propTypes2['default'].bool, - tabIndex: _propTypes2['default'].oneOf([0, -1]), - onDayClick: _propTypes2['default'].func, - onDayMouseEnter: _propTypes2['default'].func, - onDayMouseLeave: _propTypes2['default'].func, - renderDayContents: _propTypes2['default'].func, - ariaLabelFormat: _propTypes2['default'].string, - - // style overrides - defaultStyles: DayStyleShape, - outsideStyles: DayStyleShape, - todayStyles: DayStyleShape, - firstDayOfWeekStyles: DayStyleShape, - lastDayOfWeekStyles: DayStyleShape, - highlightedCalendarStyles: DayStyleShape, - blockedMinNightsStyles: DayStyleShape, - blockedCalendarStyles: DayStyleShape, - blockedOutOfRangeStyles: DayStyleShape, - hoveredSpanStyles: DayStyleShape, - selectedSpanStyles: DayStyleShape, - lastInRangeStyles: DayStyleShape, - selectedStyles: DayStyleShape, - selectedStartStyles: DayStyleShape, - selectedEndStyles: DayStyleShape, - afterHoveredStartStyles: DayStyleShape, - - // internationalization - phrases: _propTypes2['default'].shape((0, _getPhrasePropTypes2['default'])(_defaultPhrases.CalendarDayPhrases)) -})); - -var defaultStyles = exports.defaultStyles = { - border: '1px solid ' + String(color.core.borderLight), - color: color.text, - background: color.background, - - hover: { - background: color.core.borderLight, - border: '1px double ' + String(color.core.borderLight), - color: 'inherit' - } -}; - -var outsideStyles = exports.outsideStyles = { - background: color.outside.backgroundColor, - border: 0, - color: color.outside.color -}; - -var highlightedCalendarStyles = exports.highlightedCalendarStyles = { - background: color.highlighted.backgroundColor, - color: color.highlighted.color, - - hover: { - background: color.highlighted.backgroundColor_hover, - color: color.highlighted.color_active - } -}; - -var blockedMinNightsStyles = exports.blockedMinNightsStyles = { - background: color.minimumNights.backgroundColor, - border: '1px solid ' + String(color.minimumNights.borderColor), - color: color.minimumNights.color, - - hover: { - background: color.minimumNights.backgroundColor_hover, - color: color.minimumNights.color_active - } -}; - -var blockedCalendarStyles = exports.blockedCalendarStyles = { - background: color.blocked_calendar.backgroundColor, - border: '1px solid ' + String(color.blocked_calendar.borderColor), - color: color.blocked_calendar.color, - - hover: { - background: color.blocked_calendar.backgroundColor_hover, - border: '1px solid ' + String(color.blocked_calendar.borderColor), - color: color.blocked_calendar.color_active - } -}; - -var blockedOutOfRangeStyles = exports.blockedOutOfRangeStyles = { - background: color.blocked_out_of_range.backgroundColor, - border: '1px solid ' + String(color.blocked_out_of_range.borderColor), - color: color.blocked_out_of_range.color, - - hover: { - background: color.blocked_out_of_range.backgroundColor_hover, - border: '1px solid ' + String(color.blocked_out_of_range.borderColor), - color: color.blocked_out_of_range.color_active - } -}; - -var hoveredSpanStyles = exports.hoveredSpanStyles = { - background: color.hoveredSpan.backgroundColor, - border: '1px solid ' + String(color.hoveredSpan.borderColor), - color: color.hoveredSpan.color, - - hover: { - background: color.hoveredSpan.backgroundColor_hover, - border: '1px solid ' + String(color.hoveredSpan.borderColor), - color: color.hoveredSpan.color_active - } -}; - -var selectedSpanStyles = exports.selectedSpanStyles = { - background: color.selectedSpan.backgroundColor, - border: '1px solid ' + String(color.selectedSpan.borderColor), - color: color.selectedSpan.color, - - hover: { - background: color.selectedSpan.backgroundColor_hover, - border: '1px solid ' + String(color.selectedSpan.borderColor), - color: color.selectedSpan.color_active - } -}; - -var lastInRangeStyles = exports.lastInRangeStyles = { - borderRight: color.core.primary -}; - -var selectedStyles = exports.selectedStyles = { - background: color.selected.backgroundColor, - border: '1px solid ' + String(color.selected.borderColor), - color: color.selected.color, - - hover: { - background: color.selected.backgroundColor_hover, - border: '1px solid ' + String(color.selected.borderColor), - color: color.selected.color_active - } -}; - -var defaultProps = { - day: (0, _moment2['default'])(), - daySize: _constants.DAY_SIZE, - isOutsideDay: false, - modifiers: new Set(), - isFocused: false, - tabIndex: -1, - onDayClick: function () { - function onDayClick() {} - - return onDayClick; - }(), - onDayMouseEnter: function () { - function onDayMouseEnter() {} - - return onDayMouseEnter; - }(), - onDayMouseLeave: function () { - function onDayMouseLeave() {} - - return onDayMouseLeave; - }(), - - renderDayContents: null, - ariaLabelFormat: 'dddd, LL', - - // style defaults - defaultStyles: defaultStyles, - outsideStyles: outsideStyles, - todayStyles: {}, - highlightedCalendarStyles: highlightedCalendarStyles, - blockedMinNightsStyles: blockedMinNightsStyles, - blockedCalendarStyles: blockedCalendarStyles, - blockedOutOfRangeStyles: blockedOutOfRangeStyles, - hoveredSpanStyles: hoveredSpanStyles, - selectedSpanStyles: selectedSpanStyles, - lastInRangeStyles: lastInRangeStyles, - selectedStyles: selectedStyles, - selectedStartStyles: {}, - selectedEndStyles: {}, - afterHoveredStartStyles: {}, - firstDayOfWeekStyles: {}, - lastDayOfWeekStyles: {}, - - // internationalization - phrases: _defaultPhrases.CalendarDayPhrases -}; - -var CustomizableCalendarDay = function (_React$Component) { - _inherits(CustomizableCalendarDay, _React$Component); - - function CustomizableCalendarDay() { - var _ref; - - _classCallCheck(this, CustomizableCalendarDay); - - for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - - var _this = _possibleConstructorReturn(this, (_ref = CustomizableCalendarDay.__proto__ || Object.getPrototypeOf(CustomizableCalendarDay)).call.apply(_ref, [this].concat(args))); - - _this.state = { - isHovered: false - }; - - _this.setButtonRef = _this.setButtonRef.bind(_this); - return _this; - } - - _createClass(CustomizableCalendarDay, [{ - key: 'shouldComponentUpdate', - value: function () { - function shouldComponentUpdate(nextProps, nextState) { - return (0, _reactAddonsShallowCompare2['default'])(this, nextProps, nextState); - } - - return shouldComponentUpdate; - }() - }, { - key: 'componentDidUpdate', - value: function () { - function componentDidUpdate(prevProps) { - var _props = this.props, - isFocused = _props.isFocused, - tabIndex = _props.tabIndex; - - if (tabIndex === 0) { - if (isFocused || tabIndex !== prevProps.tabIndex) { - this.buttonRef.focus(); - } - } - } - - return componentDidUpdate; - }() - }, { - key: 'onDayClick', - value: function () { - function onDayClick(day, e) { - var onDayClick = this.props.onDayClick; - - onDayClick(day, e); - } - - return onDayClick; - }() - }, { - key: 'onDayMouseEnter', - value: function () { - function onDayMouseEnter(day, e) { - var onDayMouseEnter = this.props.onDayMouseEnter; - - this.setState({ isHovered: true }); - onDayMouseEnter(day, e); - } - - return onDayMouseEnter; - }() - }, { - key: 'onDayMouseLeave', - value: function () { - function onDayMouseLeave(day, e) { - var onDayMouseLeave = this.props.onDayMouseLeave; - - this.setState({ isHovered: false }); - onDayMouseLeave(day, e); - } - - return onDayMouseLeave; - }() - }, { - key: 'onKeyDown', - value: function () { - function onKeyDown(day, e) { - var onDayClick = this.props.onDayClick; - var key = e.key; - - if (key === 'Enter' || key === ' ') { - onDayClick(day, e); - } - } - - return onKeyDown; - }() - }, { - key: 'setButtonRef', - value: function () { - function setButtonRef(ref) { - this.buttonRef = ref; - } - - return setButtonRef; - }() - }, { - key: 'render', - value: function () { - function render() { - var _this2 = this; - - var _props2 = this.props, - day = _props2.day, - ariaLabelFormat = _props2.ariaLabelFormat, - daySize = _props2.daySize, - isOutsideDay = _props2.isOutsideDay, - modifiers = _props2.modifiers, - tabIndex = _props2.tabIndex, - renderDayContents = _props2.renderDayContents, - styles = _props2.styles, - phrases = _props2.phrases, - defaultStylesWithHover = _props2.defaultStyles, - outsideStylesWithHover = _props2.outsideStyles, - todayStylesWithHover = _props2.todayStyles, - firstDayOfWeekStylesWithHover = _props2.firstDayOfWeekStyles, - lastDayOfWeekStylesWithHover = _props2.lastDayOfWeekStyles, - highlightedCalendarStylesWithHover = _props2.highlightedCalendarStyles, - blockedMinNightsStylesWithHover = _props2.blockedMinNightsStyles, - blockedCalendarStylesWithHover = _props2.blockedCalendarStyles, - blockedOutOfRangeStylesWithHover = _props2.blockedOutOfRangeStyles, - hoveredSpanStylesWithHover = _props2.hoveredSpanStyles, - selectedSpanStylesWithHover = _props2.selectedSpanStyles, - lastInRangeStylesWithHover = _props2.lastInRangeStyles, - selectedStylesWithHover = _props2.selectedStyles, - selectedStartStylesWithHover = _props2.selectedStartStyles, - selectedEndStylesWithHover = _props2.selectedEndStyles, - afterHoveredStartStylesWithHover = _props2.afterHoveredStartStyles; - var isHovered = this.state.isHovered; - - - if (!day) return _react2['default'].createElement('td', null); - - var _getCalendarDaySettin = (0, _getCalendarDaySettings2['default'])(day, ariaLabelFormat, daySize, modifiers, phrases), - daySizeStyles = _getCalendarDaySettin.daySizeStyles, - useDefaultCursor = _getCalendarDaySettin.useDefaultCursor, - selected = _getCalendarDaySettin.selected, - hoveredSpan = _getCalendarDaySettin.hoveredSpan, - isOutsideRange = _getCalendarDaySettin.isOutsideRange, - ariaLabel = _getCalendarDaySettin.ariaLabel; - - return _react2['default'].createElement( - 'td', - _extends({}, (0, _reactWithStyles.css)(styles.CalendarDay, useDefaultCursor && styles.CalendarDay__defaultCursor, daySizeStyles, getStyles(defaultStylesWithHover, isHovered), isOutsideDay && getStyles(outsideStylesWithHover, isHovered), modifiers.has('today') && getStyles(todayStylesWithHover, isHovered), modifiers.has('first-day-of-week') && getStyles(firstDayOfWeekStylesWithHover, isHovered), modifiers.has('last-day-of-week') && getStyles(lastDayOfWeekStylesWithHover, isHovered), modifiers.has('highlighted-calendar') && getStyles(highlightedCalendarStylesWithHover, isHovered), modifiers.has('blocked-minimum-nights') && getStyles(blockedMinNightsStylesWithHover, isHovered), modifiers.has('blocked-calendar') && getStyles(blockedCalendarStylesWithHover, isHovered), hoveredSpan && getStyles(hoveredSpanStylesWithHover, isHovered), modifiers.has('after-hovered-start') && getStyles(afterHoveredStartStylesWithHover, isHovered), modifiers.has('selected-span') && getStyles(selectedSpanStylesWithHover, isHovered), modifiers.has('last-in-range') && getStyles(lastInRangeStylesWithHover, isHovered), selected && getStyles(selectedStylesWithHover, isHovered), modifiers.has('selected-start') && getStyles(selectedStartStylesWithHover, isHovered), modifiers.has('selected-end') && getStyles(selectedEndStylesWithHover, isHovered), isOutsideRange && getStyles(blockedOutOfRangeStylesWithHover, isHovered)), { - role: 'button' // eslint-disable-line jsx-a11y/no-noninteractive-element-to-interactive-role - , ref: this.setButtonRef, - 'aria-label': ariaLabel, - onMouseEnter: function () { - function onMouseEnter(e) { - _this2.onDayMouseEnter(day, e); - } - - return onMouseEnter; - }(), - onMouseLeave: function () { - function onMouseLeave(e) { - _this2.onDayMouseLeave(day, e); - } - - return onMouseLeave; - }(), - onMouseUp: function () { - function onMouseUp(e) { - e.currentTarget.blur(); - } - - return onMouseUp; - }(), - onClick: function () { - function onClick(e) { - _this2.onDayClick(day, e); - } - - return onClick; - }(), - onKeyDown: function () { - function onKeyDown(e) { - _this2.onKeyDown(day, e); - } - - return onKeyDown; - }(), - tabIndex: tabIndex - }), - renderDayContents ? renderDayContents(day, modifiers) : day.format('D') - ); - } - - return render; - }() - }]); - - return CustomizableCalendarDay; -}(_react2['default'].Component); - -CustomizableCalendarDay.propTypes = propTypes; -CustomizableCalendarDay.defaultProps = defaultProps; - -exports.PureCustomizableCalendarDay = CustomizableCalendarDay; -exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) { - var font = _ref2.reactDates.font; - return { - CalendarDay: { - boxSizing: 'border-box', - cursor: 'pointer', - fontSize: font.size, - textAlign: 'center', - - ':active': { - outline: 0 - } - }, - - CalendarDay__defaultCursor: { - cursor: 'default' - } - }; -})(CustomizableCalendarDay); - -/***/ }), -/* 296 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports['default'] = getCalendarMonthWeeks; - -var _moment = __webpack_require__(30); - -var _moment2 = _interopRequireDefault(_moment); - -var _constants = __webpack_require__(41); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - -function getCalendarMonthWeeks(month, enableOutsideDays) { - var firstDayOfWeek = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : _moment2['default'].localeData().firstDayOfWeek(); - - if (!_moment2['default'].isMoment(month) || !month.isValid()) { - throw new TypeError('`month` must be a valid moment object'); - } - if (_constants.WEEKDAYS.indexOf(firstDayOfWeek) === -1) { - throw new TypeError('`firstDayOfWeek` must be an integer between 0 and 6'); - } - - // set utc offset to get correct dates in future (when timezone changes) - var firstOfMonth = month.clone().startOf('month').hour(12); - var lastOfMonth = month.clone().endOf('month').hour(12); - - // calculate the exact first and last days to fill the entire matrix - // (considering days outside month) - var prevDays = (firstOfMonth.day() + 7 - firstDayOfWeek) % 7; - var nextDays = (firstDayOfWeek + 6 - lastOfMonth.day()) % 7; - var firstDay = firstOfMonth.clone().subtract(prevDays, 'day'); - var lastDay = lastOfMonth.clone().add(nextDays, 'day'); - - var totalDays = lastDay.diff(firstDay, 'days') + 1; - - var currentDay = firstDay.clone(); - var weeksInMonth = []; - - for (var i = 0; i < totalDays; i += 1) { - if (i % 7 === 0) { - weeksInMonth.push([]); - } - - var day = null; - if (i >= prevDays && i < totalDays - nextDays || enableOutsideDays) { - day = currentDay.clone(); - } - - weeksInMonth[weeksInMonth.length - 1].push(day); - - currentDay.add(1, 'day'); - } - - return weeksInMonth; -} - -/***/ }), -/* 297 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports['default'] = isTransitionEndSupported; -function isTransitionEndSupported() { - return !!(typeof window !== 'undefined' && 'TransitionEvent' in window); -} - -/***/ }), -/* 298 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports["default"] = getTransformStyles; -function getTransformStyles(transformValue) { - return { - transform: transformValue, - msTransform: transformValue, - MozTransform: transformValue, - WebkitTransform: transformValue - }; -} - -/***/ }), -/* 299 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports['default'] = isPrevMonth; - -var _moment = __webpack_require__(30); - -var _moment2 = _interopRequireDefault(_moment); - -var _isSameMonth = __webpack_require__(174); - -var _isSameMonth2 = _interopRequireDefault(_isSameMonth); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - -function isPrevMonth(a, b) { - if (!_moment2['default'].isMoment(a) || !_moment2['default'].isMoment(b)) return false; - return (0, _isSameMonth2['default'])(a.clone().subtract(1, 'month'), b); -} - -/***/ }), -/* 300 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports['default'] = isNextMonth; - -var _moment = __webpack_require__(30); - -var _moment2 = _interopRequireDefault(_moment); - -var _isSameMonth = __webpack_require__(174); - -var _isSameMonth2 = _interopRequireDefault(_isSameMonth); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - -function isNextMonth(a, b) { - if (!_moment2['default'].isMoment(a) || !_moment2['default'].isMoment(b)) return false; - return (0, _isSameMonth2['default'])(a.clone().add(1, 'month'), b); -} - -/***/ }), -/* 301 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.PureDateRangePicker = undefined; - -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -var _object = __webpack_require__(52); - -var _object2 = _interopRequireDefault(_object); - -var _react = __webpack_require__(21); - -var _react2 = _interopRequireDefault(_react); - -var _reactAddonsShallowCompare = __webpack_require__(78); - -var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare); - -var _moment = __webpack_require__(30); - -var _moment2 = _interopRequireDefault(_moment); - -var _reactWithStyles = __webpack_require__(58); - -var _reactPortal = __webpack_require__(214); - -var _airbnbPropTypes = __webpack_require__(48); - -var _consolidatedEvents = __webpack_require__(104); - -var _isTouchDevice = __webpack_require__(82); - -var _isTouchDevice2 = _interopRequireDefault(_isTouchDevice); - -var _reactOutsideClickHandler = __webpack_require__(134); - -var _reactOutsideClickHandler2 = _interopRequireDefault(_reactOutsideClickHandler); - -var _DateRangePickerShape = __webpack_require__(186); - -var _DateRangePickerShape2 = _interopRequireDefault(_DateRangePickerShape); - -var _defaultPhrases = __webpack_require__(53); - -var _getResponsiveContainerStyles = __webpack_require__(190); - -var _getResponsiveContainerStyles2 = _interopRequireDefault(_getResponsiveContainerStyles); - -var _getDetachedContainerStyles = __webpack_require__(191); - -var _getDetachedContainerStyles2 = _interopRequireDefault(_getDetachedContainerStyles); - -var _getInputHeight = __webpack_require__(138); - -var _getInputHeight2 = _interopRequireDefault(_getInputHeight); - -var _isInclusivelyAfterDay = __webpack_require__(93); - -var _isInclusivelyAfterDay2 = _interopRequireDefault(_isInclusivelyAfterDay); - -var _disableScroll2 = __webpack_require__(192); - -var _disableScroll3 = _interopRequireDefault(_disableScroll2); - -var _DateRangePickerInputController = __webpack_require__(193); - -var _DateRangePickerInputController2 = _interopRequireDefault(_DateRangePickerInputController); - -var _DayPickerRangeController = __webpack_require__(202); - -var _DayPickerRangeController2 = _interopRequireDefault(_DayPickerRangeController); - -var _CloseButton = __webpack_require__(95); - -var _CloseButton2 = _interopRequireDefault(_CloseButton); - -var _constants = __webpack_require__(41); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, _DateRangePickerShape2['default'])); - -var defaultProps = { - // required props for a functional interactive DateRangePicker - startDate: null, - endDate: null, - focusedInput: null, - - // input related props - startDatePlaceholderText: 'Start Date', - endDatePlaceholderText: 'End Date', - disabled: false, - required: false, - readOnly: false, - screenReaderInputMessage: '', - showClearDates: false, - showDefaultInputIcon: false, - inputIconPosition: _constants.ICON_BEFORE_POSITION, - customInputIcon: null, - customArrowIcon: null, - customCloseIcon: null, - noBorder: false, - block: false, - small: false, - regular: false, - keepFocusOnInput: false, - - // calendar presentation and interaction related props - renderMonthText: null, - orientation: _constants.HORIZONTAL_ORIENTATION, - anchorDirection: _constants.ANCHOR_LEFT, - openDirection: _constants.OPEN_DOWN, - horizontalMargin: 0, - withPortal: false, - withFullScreenPortal: false, - appendToBody: false, - disableScroll: false, - initialVisibleMonth: null, - numberOfMonths: 2, - keepOpenOnDateSelect: false, - reopenPickerOnClearDates: false, - renderCalendarInfo: null, - calendarInfoPosition: _constants.INFO_POSITION_BOTTOM, - hideKeyboardShortcutsPanel: false, - daySize: _constants.DAY_SIZE, - isRTL: false, - firstDayOfWeek: null, - verticalHeight: null, - transitionDuration: undefined, - verticalSpacing: _constants.DEFAULT_VERTICAL_SPACING, - - // navigation related props - navPrev: null, - navNext: null, - - onPrevMonthClick: function () { - function onPrevMonthClick() {} - - return onPrevMonthClick; - }(), - onNextMonthClick: function () { - function onNextMonthClick() {} - - return onNextMonthClick; - }(), - onClose: function () { - function onClose() {} - - return onClose; - }(), - - - // day presentation and interaction related props - renderCalendarDay: undefined, - renderDayContents: null, - renderMonthElement: null, - minimumNights: 1, - enableOutsideDays: false, - isDayBlocked: function () { - function isDayBlocked() { - return false; - } - - return isDayBlocked; - }(), - isOutsideRange: function () { - function isOutsideRange(day) { - return !(0, _isInclusivelyAfterDay2['default'])(day, (0, _moment2['default'])()); - } - - return isOutsideRange; - }(), - isDayHighlighted: function () { - function isDayHighlighted() { - return false; - } - - return isDayHighlighted; - }(), - - // internationalization - displayFormat: function () { - function displayFormat() { - return _moment2['default'].localeData().longDateFormat('L'); - } - - return displayFormat; - }(), - monthFormat: 'MMMM YYYY', - weekDayFormat: 'dd', - phrases: _defaultPhrases.DateRangePickerPhrases, - dayAriaLabelFormat: undefined -}; - -var DateRangePicker = function (_React$Component) { - _inherits(DateRangePicker, _React$Component); - - function DateRangePicker(props) { - _classCallCheck(this, DateRangePicker); - - var _this = _possibleConstructorReturn(this, (DateRangePicker.__proto__ || Object.getPrototypeOf(DateRangePicker)).call(this, props)); - - _this.state = { - dayPickerContainerStyles: {}, - isDateRangePickerInputFocused: false, - isDayPickerFocused: false, - showKeyboardShortcuts: false - }; - - _this.isTouchDevice = false; - - _this.onOutsideClick = _this.onOutsideClick.bind(_this); - _this.onDateRangePickerInputFocus = _this.onDateRangePickerInputFocus.bind(_this); - _this.onDayPickerFocus = _this.onDayPickerFocus.bind(_this); - _this.onDayPickerBlur = _this.onDayPickerBlur.bind(_this); - _this.showKeyboardShortcutsPanel = _this.showKeyboardShortcutsPanel.bind(_this); - - _this.responsivizePickerPosition = _this.responsivizePickerPosition.bind(_this); - _this.disableScroll = _this.disableScroll.bind(_this); - - _this.setDayPickerContainerRef = _this.setDayPickerContainerRef.bind(_this); - _this.setContainerRef = _this.setContainerRef.bind(_this); - return _this; - } - - _createClass(DateRangePicker, [{ - key: 'componentDidMount', - value: function () { - function componentDidMount() { - this.removeEventListener = (0, _consolidatedEvents.addEventListener)(window, 'resize', this.responsivizePickerPosition, { passive: true }); - this.responsivizePickerPosition(); - this.disableScroll(); - - var focusedInput = this.props.focusedInput; - - if (focusedInput) { - this.setState({ - isDateRangePickerInputFocused: true - }); - } - - this.isTouchDevice = (0, _isTouchDevice2['default'])(); - } - - return componentDidMount; - }() - }, { - key: 'shouldComponentUpdate', - value: function () { - function shouldComponentUpdate(nextProps, nextState) { - return (0, _reactAddonsShallowCompare2['default'])(this, nextProps, nextState); - } - - return shouldComponentUpdate; - }() - }, { - key: 'componentDidUpdate', - value: function () { - function componentDidUpdate(prevProps) { - var focusedInput = this.props.focusedInput; - - if (!prevProps.focusedInput && focusedInput && this.isOpened()) { - // The date picker just changed from being closed to being open. - this.responsivizePickerPosition(); - this.disableScroll(); - } else if (prevProps.focusedInput && !focusedInput && !this.isOpened()) { - // The date picker just changed from being open to being closed. - if (this.enableScroll) this.enableScroll(); - } - } - - return componentDidUpdate; - }() - }, { - key: 'componentWillUnmount', - value: function () { - function componentWillUnmount() { - if (this.removeEventListener) this.removeEventListener(); - if (this.enableScroll) this.enableScroll(); - } - - return componentWillUnmount; - }() - }, { - key: 'onOutsideClick', - value: function () { - function onOutsideClick(event) { - var _props = this.props, - onFocusChange = _props.onFocusChange, - onClose = _props.onClose, - startDate = _props.startDate, - endDate = _props.endDate, - appendToBody = _props.appendToBody; - - if (!this.isOpened()) return; - if (appendToBody && this.dayPickerContainer.contains(event.target)) return; - - this.setState({ - isDateRangePickerInputFocused: false, - isDayPickerFocused: false, - showKeyboardShortcuts: false - }); - - onFocusChange(null); - onClose({ startDate: startDate, endDate: endDate }); - } - - return onOutsideClick; - }() - }, { - key: 'onDateRangePickerInputFocus', - value: function () { - function onDateRangePickerInputFocus(focusedInput) { - var _props2 = this.props, - onFocusChange = _props2.onFocusChange, - readOnly = _props2.readOnly, - withPortal = _props2.withPortal, - withFullScreenPortal = _props2.withFullScreenPortal, - keepFocusOnInput = _props2.keepFocusOnInput; - - - if (focusedInput) { - var withAnyPortal = withPortal || withFullScreenPortal; - var moveFocusToDayPicker = withAnyPortal || readOnly && !keepFocusOnInput || this.isTouchDevice && !keepFocusOnInput; - - if (moveFocusToDayPicker) { - this.onDayPickerFocus(); - } else { - this.onDayPickerBlur(); - } - } - - onFocusChange(focusedInput); - } - - return onDateRangePickerInputFocus; - }() - }, { - key: 'onDayPickerFocus', - value: function () { - function onDayPickerFocus() { - var _props3 = this.props, - focusedInput = _props3.focusedInput, - onFocusChange = _props3.onFocusChange; - - if (!focusedInput) onFocusChange(_constants.START_DATE); - - this.setState({ - isDateRangePickerInputFocused: false, - isDayPickerFocused: true, - showKeyboardShortcuts: false - }); - } - - return onDayPickerFocus; - }() - }, { - key: 'onDayPickerBlur', - value: function () { - function onDayPickerBlur() { - this.setState({ - isDateRangePickerInputFocused: true, - isDayPickerFocused: false, - showKeyboardShortcuts: false - }); - } - - return onDayPickerBlur; - }() - }, { - key: 'setDayPickerContainerRef', - value: function () { - function setDayPickerContainerRef(ref) { - this.dayPickerContainer = ref; - } - - return setDayPickerContainerRef; - }() - }, { - key: 'setContainerRef', - value: function () { - function setContainerRef(ref) { - this.container = ref; - } - - return setContainerRef; - }() - }, { - key: 'isOpened', - value: function () { - function isOpened() { - var focusedInput = this.props.focusedInput; - - return focusedInput === _constants.START_DATE || focusedInput === _constants.END_DATE; - } - - return isOpened; - }() - }, { - key: 'disableScroll', - value: function () { - function disableScroll() { - var _props4 = this.props, - appendToBody = _props4.appendToBody, - propDisableScroll = _props4.disableScroll; - - if (!appendToBody && !propDisableScroll) return; - if (!this.isOpened()) return; - - // Disable scroll for every ancestor of this DateRangePicker up to the - // document level. This ensures the input and the picker never move. Other - // sibling elements or the picker itself can scroll. - this.enableScroll = (0, _disableScroll3['default'])(this.container); - } - - return disableScroll; - }() - }, { - key: 'responsivizePickerPosition', - value: function () { - function responsivizePickerPosition() { - // It's possible the portal props have been changed in response to window resizes - // So let's ensure we reset this back to the base state each time - this.setState({ dayPickerContainerStyles: {} }); - - if (!this.isOpened()) { - return; - } - - var _props5 = this.props, - openDirection = _props5.openDirection, - anchorDirection = _props5.anchorDirection, - horizontalMargin = _props5.horizontalMargin, - withPortal = _props5.withPortal, - withFullScreenPortal = _props5.withFullScreenPortal, - appendToBody = _props5.appendToBody; - var dayPickerContainerStyles = this.state.dayPickerContainerStyles; - - - var isAnchoredLeft = anchorDirection === _constants.ANCHOR_LEFT; - if (!withPortal && !withFullScreenPortal) { - var containerRect = this.dayPickerContainer.getBoundingClientRect(); - var currentOffset = dayPickerContainerStyles[anchorDirection] || 0; - var containerEdge = isAnchoredLeft ? containerRect[_constants.ANCHOR_RIGHT] : containerRect[_constants.ANCHOR_LEFT]; - - this.setState({ - dayPickerContainerStyles: (0, _object2['default'])({}, (0, _getResponsiveContainerStyles2['default'])(anchorDirection, currentOffset, containerEdge, horizontalMargin), appendToBody && (0, _getDetachedContainerStyles2['default'])(openDirection, anchorDirection, this.container)) - }); - } - } - - return responsivizePickerPosition; - }() - }, { - key: 'showKeyboardShortcutsPanel', - value: function () { - function showKeyboardShortcutsPanel() { - this.setState({ - isDateRangePickerInputFocused: false, - isDayPickerFocused: true, - showKeyboardShortcuts: true - }); - } - - return showKeyboardShortcutsPanel; - }() - }, { - key: 'maybeRenderDayPickerWithPortal', - value: function () { - function maybeRenderDayPickerWithPortal() { - var _props6 = this.props, - withPortal = _props6.withPortal, - withFullScreenPortal = _props6.withFullScreenPortal, - appendToBody = _props6.appendToBody; - - - if (!this.isOpened()) { - return null; - } - - if (withPortal || withFullScreenPortal || appendToBody) { - return _react2['default'].createElement( - _reactPortal.Portal, - null, - this.renderDayPicker() - ); - } - - return this.renderDayPicker(); - } - - return maybeRenderDayPickerWithPortal; - }() - }, { - key: 'renderDayPicker', - value: function () { - function renderDayPicker() { - var _props7 = this.props, - anchorDirection = _props7.anchorDirection, - openDirection = _props7.openDirection, - isDayBlocked = _props7.isDayBlocked, - isDayHighlighted = _props7.isDayHighlighted, - isOutsideRange = _props7.isOutsideRange, - numberOfMonths = _props7.numberOfMonths, - orientation = _props7.orientation, - monthFormat = _props7.monthFormat, - renderMonthText = _props7.renderMonthText, - navPrev = _props7.navPrev, - navNext = _props7.navNext, - onPrevMonthClick = _props7.onPrevMonthClick, - onNextMonthClick = _props7.onNextMonthClick, - onDatesChange = _props7.onDatesChange, - onFocusChange = _props7.onFocusChange, - withPortal = _props7.withPortal, - withFullScreenPortal = _props7.withFullScreenPortal, - daySize = _props7.daySize, - enableOutsideDays = _props7.enableOutsideDays, - focusedInput = _props7.focusedInput, - startDate = _props7.startDate, - endDate = _props7.endDate, - minimumNights = _props7.minimumNights, - keepOpenOnDateSelect = _props7.keepOpenOnDateSelect, - renderCalendarDay = _props7.renderCalendarDay, - renderDayContents = _props7.renderDayContents, - renderCalendarInfo = _props7.renderCalendarInfo, - renderMonthElement = _props7.renderMonthElement, - calendarInfoPosition = _props7.calendarInfoPosition, - firstDayOfWeek = _props7.firstDayOfWeek, - initialVisibleMonth = _props7.initialVisibleMonth, - hideKeyboardShortcutsPanel = _props7.hideKeyboardShortcutsPanel, - customCloseIcon = _props7.customCloseIcon, - onClose = _props7.onClose, - phrases = _props7.phrases, - dayAriaLabelFormat = _props7.dayAriaLabelFormat, - isRTL = _props7.isRTL, - weekDayFormat = _props7.weekDayFormat, - styles = _props7.styles, - verticalHeight = _props7.verticalHeight, - transitionDuration = _props7.transitionDuration, - verticalSpacing = _props7.verticalSpacing, - small = _props7.small, - disabled = _props7.disabled, - reactDates = _props7.theme.reactDates; - var _state = this.state, - dayPickerContainerStyles = _state.dayPickerContainerStyles, - isDayPickerFocused = _state.isDayPickerFocused, - showKeyboardShortcuts = _state.showKeyboardShortcuts; - - - var onOutsideClick = !withFullScreenPortal && withPortal ? this.onOutsideClick : undefined; - var initialVisibleMonthThunk = initialVisibleMonth || function () { - return startDate || endDate || (0, _moment2['default'])(); - }; - - var closeIcon = customCloseIcon || _react2['default'].createElement(_CloseButton2['default'], (0, _reactWithStyles.css)(styles.DateRangePicker_closeButton_svg)); - - var inputHeight = (0, _getInputHeight2['default'])(reactDates, small); - - var withAnyPortal = withPortal || withFullScreenPortal; - - return _react2['default'].createElement( - 'div', - _extends({ // eslint-disable-line jsx-a11y/no-static-element-interactions - ref: this.setDayPickerContainerRef - }, (0, _reactWithStyles.css)(styles.DateRangePicker_picker, anchorDirection === _constants.ANCHOR_LEFT && styles.DateRangePicker_picker__directionLeft, anchorDirection === _constants.ANCHOR_RIGHT && styles.DateRangePicker_picker__directionRight, orientation === _constants.HORIZONTAL_ORIENTATION && styles.DateRangePicker_picker__horizontal, orientation === _constants.VERTICAL_ORIENTATION && styles.DateRangePicker_picker__vertical, !withAnyPortal && openDirection === _constants.OPEN_DOWN && { - top: inputHeight + verticalSpacing - }, !withAnyPortal && openDirection === _constants.OPEN_UP && { - bottom: inputHeight + verticalSpacing - }, withAnyPortal && styles.DateRangePicker_picker__portal, withFullScreenPortal && styles.DateRangePicker_picker__fullScreenPortal, isRTL && styles.DateRangePicker_picker__rtl, dayPickerContainerStyles), { - onClick: onOutsideClick - }), - _react2['default'].createElement(_DayPickerRangeController2['default'], { - orientation: orientation, - enableOutsideDays: enableOutsideDays, - numberOfMonths: numberOfMonths, - onPrevMonthClick: onPrevMonthClick, - onNextMonthClick: onNextMonthClick, - onDatesChange: onDatesChange, - onFocusChange: onFocusChange, - onClose: onClose, - focusedInput: focusedInput, - startDate: startDate, - endDate: endDate, - monthFormat: monthFormat, - renderMonthText: renderMonthText, - withPortal: withAnyPortal, - daySize: daySize, - initialVisibleMonth: initialVisibleMonthThunk, - hideKeyboardShortcutsPanel: hideKeyboardShortcutsPanel, - navPrev: navPrev, - navNext: navNext, - minimumNights: minimumNights, - isOutsideRange: isOutsideRange, - isDayHighlighted: isDayHighlighted, - isDayBlocked: isDayBlocked, - keepOpenOnDateSelect: keepOpenOnDateSelect, - renderCalendarDay: renderCalendarDay, - renderDayContents: renderDayContents, - renderCalendarInfo: renderCalendarInfo, - renderMonthElement: renderMonthElement, - calendarInfoPosition: calendarInfoPosition, - isFocused: isDayPickerFocused, - showKeyboardShortcuts: showKeyboardShortcuts, - onBlur: this.onDayPickerBlur, - phrases: phrases, - dayAriaLabelFormat: dayAriaLabelFormat, - isRTL: isRTL, - firstDayOfWeek: firstDayOfWeek, - weekDayFormat: weekDayFormat, - verticalHeight: verticalHeight, - transitionDuration: transitionDuration, - disabled: disabled - }), - withFullScreenPortal && _react2['default'].createElement( - 'button', - _extends({}, (0, _reactWithStyles.css)(styles.DateRangePicker_closeButton), { - type: 'button', - onClick: this.onOutsideClick, - 'aria-label': phrases.closeDatePicker - }), - closeIcon - ) - ); - } - - return renderDayPicker; - }() - }, { - key: 'render', - value: function () { - function render() { - var _props8 = this.props, - startDate = _props8.startDate, - startDateId = _props8.startDateId, - startDatePlaceholderText = _props8.startDatePlaceholderText, - endDate = _props8.endDate, - endDateId = _props8.endDateId, - endDatePlaceholderText = _props8.endDatePlaceholderText, - focusedInput = _props8.focusedInput, - screenReaderInputMessage = _props8.screenReaderInputMessage, - showClearDates = _props8.showClearDates, - showDefaultInputIcon = _props8.showDefaultInputIcon, - inputIconPosition = _props8.inputIconPosition, - customInputIcon = _props8.customInputIcon, - customArrowIcon = _props8.customArrowIcon, - customCloseIcon = _props8.customCloseIcon, - disabled = _props8.disabled, - required = _props8.required, - readOnly = _props8.readOnly, - openDirection = _props8.openDirection, - phrases = _props8.phrases, - isOutsideRange = _props8.isOutsideRange, - minimumNights = _props8.minimumNights, - withPortal = _props8.withPortal, - withFullScreenPortal = _props8.withFullScreenPortal, - displayFormat = _props8.displayFormat, - reopenPickerOnClearDates = _props8.reopenPickerOnClearDates, - keepOpenOnDateSelect = _props8.keepOpenOnDateSelect, - onDatesChange = _props8.onDatesChange, - onClose = _props8.onClose, - isRTL = _props8.isRTL, - noBorder = _props8.noBorder, - block = _props8.block, - verticalSpacing = _props8.verticalSpacing, - small = _props8.small, - regular = _props8.regular, - styles = _props8.styles; - var isDateRangePickerInputFocused = this.state.isDateRangePickerInputFocused; - - - var enableOutsideClick = !withPortal && !withFullScreenPortal; - - var hideFang = verticalSpacing < _constants.FANG_HEIGHT_PX; - - var input = _react2['default'].createElement(_DateRangePickerInputController2['default'], { - startDate: startDate, - startDateId: startDateId, - startDatePlaceholderText: startDatePlaceholderText, - isStartDateFocused: focusedInput === _constants.START_DATE, - endDate: endDate, - endDateId: endDateId, - endDatePlaceholderText: endDatePlaceholderText, - isEndDateFocused: focusedInput === _constants.END_DATE, - displayFormat: displayFormat, - showClearDates: showClearDates, - showCaret: !withPortal && !withFullScreenPortal && !hideFang, - showDefaultInputIcon: showDefaultInputIcon, - inputIconPosition: inputIconPosition, - customInputIcon: customInputIcon, - customArrowIcon: customArrowIcon, - customCloseIcon: customCloseIcon, - disabled: disabled, - required: required, - readOnly: readOnly, - openDirection: openDirection, - reopenPickerOnClearDates: reopenPickerOnClearDates, - keepOpenOnDateSelect: keepOpenOnDateSelect, - isOutsideRange: isOutsideRange, - minimumNights: minimumNights, - withFullScreenPortal: withFullScreenPortal, - onDatesChange: onDatesChange, - onFocusChange: this.onDateRangePickerInputFocus, - onKeyDownArrowDown: this.onDayPickerFocus, - onKeyDownQuestionMark: this.showKeyboardShortcutsPanel, - onClose: onClose, - phrases: phrases, - screenReaderMessage: screenReaderInputMessage, - isFocused: isDateRangePickerInputFocused, - isRTL: isRTL, - noBorder: noBorder, - block: block, - small: small, - regular: regular, - verticalSpacing: verticalSpacing - }); - - return _react2['default'].createElement( - 'div', - _extends({ - ref: this.setContainerRef - }, (0, _reactWithStyles.css)(styles.DateRangePicker, block && styles.DateRangePicker__block)), - enableOutsideClick && _react2['default'].createElement( - _reactOutsideClickHandler2['default'], - { onOutsideClick: this.onOutsideClick }, - input, - this.maybeRenderDayPickerWithPortal() - ), - !enableOutsideClick && input, - !enableOutsideClick && this.maybeRenderDayPickerWithPortal() - ); - } - - return render; - }() - }]); - - return DateRangePicker; -}(_react2['default'].Component); - -DateRangePicker.propTypes = propTypes; -DateRangePicker.defaultProps = defaultProps; - -exports.PureDateRangePicker = DateRangePicker; -exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref) { - var _ref$reactDates = _ref.reactDates, - color = _ref$reactDates.color, - zIndex = _ref$reactDates.zIndex; - return { - DateRangePicker: { - position: 'relative', - display: 'inline-block' - }, - - DateRangePicker__block: { - display: 'block' - }, - - DateRangePicker_picker: { - zIndex: zIndex + 1, - backgroundColor: color.background, - position: 'absolute' - }, - - DateRangePicker_picker__rtl: { - direction: 'rtl' - }, - - DateRangePicker_picker__directionLeft: { - left: 0 - }, - - DateRangePicker_picker__directionRight: { - right: 0 - }, - - DateRangePicker_picker__portal: { - backgroundColor: 'rgba(0, 0, 0, 0.3)', - position: 'fixed', - top: 0, - left: 0, - height: '100%', - width: '100%' - }, - - DateRangePicker_picker__fullScreenPortal: { - backgroundColor: color.background - }, - - DateRangePicker_closeButton: { - background: 'none', - border: 0, - color: 'inherit', - font: 'inherit', - lineHeight: 'normal', - overflow: 'visible', - cursor: 'pointer', - - position: 'absolute', - top: 0, - right: 0, - padding: 15, - zIndex: zIndex + 2, - - ':hover': { - color: 'darken(' + String(color.core.grayLighter) + ', 10%)', - textDecoration: 'none' - }, - - ':focus': { - color: 'darken(' + String(color.core.grayLighter) + ', 10%)', - textDecoration: 'none' - } - }, - - DateRangePicker_closeButton_svg: { - height: 15, - width: 15, - fill: color.core.grayLighter - } - }; -})(DateRangePicker); - -/***/ }), -/* 302 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -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__(21); - -var _react2 = _interopRequireDefault(_react); - -var _propTypes = __webpack_require__(28); - -var _propTypes2 = _interopRequireDefault(_propTypes); - -var _airbnbPropTypes = __webpack_require__(48); - -var _consolidatedEvents = __webpack_require__(104); - -var _object = __webpack_require__(135); - -var _object2 = _interopRequireDefault(_object); - -var _document = __webpack_require__(313); - -var _document2 = _interopRequireDefault(_document); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var DISPLAY = { - BLOCK: 'block', - FLEX: 'flex', - INLINE: 'inline', - INLINE_BLOCK: 'inline-block', - CONTENTS: 'contents' -}; - -var propTypes = (0, _airbnbPropTypes.forbidExtraProps)({ - children: _propTypes2['default'].node.isRequired, - onOutsideClick: _propTypes2['default'].func.isRequired, - disabled: _propTypes2['default'].bool, - useCapture: _propTypes2['default'].bool, - display: _propTypes2['default'].oneOf((0, _object2['default'])(DISPLAY)) -}); - -var defaultProps = { - disabled: false, - - // `useCapture` is set to true by default so that a `stopPropagation` in the - // children will not prevent all outside click handlers from firing - maja - useCapture: true, - display: DISPLAY.BLOCK -}; - -var OutsideClickHandler = function (_React$Component) { - _inherits(OutsideClickHandler, _React$Component); - - function OutsideClickHandler() { - var _ref; - - _classCallCheck(this, OutsideClickHandler); - - for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - - var _this = _possibleConstructorReturn(this, (_ref = OutsideClickHandler.__proto__ || Object.getPrototypeOf(OutsideClickHandler)).call.apply(_ref, [this].concat(args))); - - _this.onMouseDown = _this.onMouseDown.bind(_this); - _this.onMouseUp = _this.onMouseUp.bind(_this); - _this.setChildNodeRef = _this.setChildNodeRef.bind(_this); - return _this; - } - - _createClass(OutsideClickHandler, [{ - key: 'componentDidMount', - value: function () { - function componentDidMount() { - var _props = this.props, - disabled = _props.disabled, - useCapture = _props.useCapture; - - - if (!disabled) this.addMouseDownEventListener(useCapture); - } - - return componentDidMount; - }() - }, { - key: 'componentDidUpdate', - value: function () { - function componentDidUpdate(_ref2) { - var prevDisabled = _ref2.disabled; - var _props2 = this.props, - disabled = _props2.disabled, - useCapture = _props2.useCapture; - - if (prevDisabled !== disabled) { - if (disabled) { - this.removeEventListeners(); - } else { - this.addMouseDownEventListener(useCapture); - } - } - } - - return componentDidUpdate; - }() - }, { - key: 'componentWillUnmount', - value: function () { - function componentWillUnmount() { - this.removeEventListeners(); - } - - return componentWillUnmount; - }() - - // Use mousedown/mouseup to enforce that clicks remain outside the root's - // descendant tree, even when dragged. This should also get triggered on - // touch devices. - - }, { - key: 'onMouseDown', - value: function () { - function onMouseDown(e) { - var useCapture = this.props.useCapture; - - - var isDescendantOfRoot = this.childNode && (0, _document2['default'])(this.childNode, e.target); - if (!isDescendantOfRoot) { - if (this.removeMouseUp) { - this.removeMouseUp(); - this.removeMouseUp = null; - } - this.removeMouseUp = (0, _consolidatedEvents.addEventListener)(document, 'mouseup', this.onMouseUp, { capture: useCapture }); - } - } - - return onMouseDown; - }() - - // Use mousedown/mouseup to enforce that clicks remain outside the root's - // descendant tree, even when dragged. This should also get triggered on - // touch devices. - - }, { - key: 'onMouseUp', - value: function () { - function onMouseUp(e) { - var onOutsideClick = this.props.onOutsideClick; - - - var isDescendantOfRoot = this.childNode && (0, _document2['default'])(this.childNode, e.target); - if (this.removeMouseUp) { - this.removeMouseUp(); - this.removeMouseUp = null; - } - - if (!isDescendantOfRoot) { - onOutsideClick(e); - } - } - - return onMouseUp; - }() - }, { - key: 'setChildNodeRef', - value: function () { - function setChildNodeRef(ref) { - this.childNode = ref; - } - - return setChildNodeRef; - }() - }, { - key: 'addMouseDownEventListener', - value: function () { - function addMouseDownEventListener(useCapture) { - this.removeMouseDown = (0, _consolidatedEvents.addEventListener)(document, 'mousedown', this.onMouseDown, { capture: useCapture }); - } - - return addMouseDownEventListener; - }() - }, { - key: 'removeEventListeners', - value: function () { - function removeEventListeners() { - if (this.removeMouseDown) this.removeMouseDown(); - if (this.removeMouseUp) this.removeMouseUp(); - } - - return removeEventListeners; - }() - }, { - key: 'render', - value: function () { - function render() { - var _props3 = this.props, - children = _props3.children, - display = _props3.display; - - - return _react2['default'].createElement( - 'div', - { - ref: this.setChildNodeRef, - style: display !== DISPLAY.BLOCK && (0, _object2['default'])(DISPLAY).includes(display) ? { display: display } : undefined - }, - children - ); - } - - return render; - }() - }]); - - return OutsideClickHandler; -}(_react2['default'].Component); - -exports['default'] = OutsideClickHandler; - - -OutsideClickHandler.propTypes = propTypes; -OutsideClickHandler.defaultProps = defaultProps; - -/***/ }), -/* 303 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -module.exports = __webpack_require__(304); - - -/***/ }), -/* 304 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var ES2015 = __webpack_require__(305); -var assign = __webpack_require__(180); - -var ES2016 = assign(assign({}, ES2015), { - // https://github.com/tc39/ecma262/pull/60 - SameValueNonNumber: function SameValueNonNumber(x, y) { - if (typeof x === 'number' || typeof x !== typeof y) { - throw new TypeError('SameValueNonNumber requires two non-number values of the same type.'); - } - return this.SameValue(x, y); - } -}); - -module.exports = ES2016; - - -/***/ }), -/* 305 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var has = __webpack_require__(76); -var toPrimitive = __webpack_require__(306); -var keys = __webpack_require__(127); - -var GetIntrinsic = __webpack_require__(137); - -var $TypeError = GetIntrinsic('%TypeError%'); -var $SyntaxError = GetIntrinsic('%SyntaxError%'); -var $Array = GetIntrinsic('%Array%'); -var $String = GetIntrinsic('%String%'); -var $Object = GetIntrinsic('%Object%'); -var $Number = GetIntrinsic('%Number%'); -var $Symbol = GetIntrinsic('%Symbol%', true); -var $RegExp = GetIntrinsic('%RegExp%'); - -var hasSymbols = !!$Symbol; - -var assertRecord = __webpack_require__(177); -var $isNaN = __webpack_require__(178); -var $isFinite = __webpack_require__(179); -var MAX_SAFE_INTEGER = $Number.MAX_SAFE_INTEGER || Math.pow(2, 53) - 1; - -var assign = __webpack_require__(180); -var sign = __webpack_require__(181); -var mod = __webpack_require__(182); -var isPrimitive = __webpack_require__(308); -var parseInteger = parseInt; -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); -var isOctal = bind.call(Function.call, $RegExp.prototype.test, /^0o[0-7]+$/i); -var regexExec = bind.call(Function.call, $RegExp.prototype.exec); -var nonWS = ['\u0085', '\u200b', '\ufffe'].join(''); -var nonWSregex = new $RegExp('[' + nonWS + ']', 'g'); -var hasNonWS = bind.call(Function.call, $RegExp.prototype.test, nonWSregex); -var invalidHexLiteral = /^[-+]0x[0-9a-f]+$/i; -var isInvalidHexLiteral = bind.call(Function.call, $RegExp.prototype.test, invalidHexLiteral); -var $charCodeAt = bind.call(Function.call, $String.prototype.charCodeAt); - -var toStr = bind.call(Function.call, Object.prototype.toString); - -var $NumberValueOf = bind.call(Function.call, GetIntrinsic('%NumberPrototype%').valueOf); -var $BooleanValueOf = bind.call(Function.call, GetIntrinsic('%BooleanPrototype%').valueOf); -var $StringValueOf = bind.call(Function.call, GetIntrinsic('%StringPrototype%').valueOf); -var $DateValueOf = bind.call(Function.call, GetIntrinsic('%DatePrototype%').valueOf); - -var $floor = Math.floor; -var $abs = Math.abs; - -var $ObjectCreate = Object.create; -var $gOPD = $Object.getOwnPropertyDescriptor; - -var $isExtensible = $Object.isExtensible; - -var $defineProperty = $Object.defineProperty; - -// whitespace from: http://es5.github.io/#x15.5.4.20 -// implementation from https://github.com/es-shims/es5-shim/blob/v3.4.0/es5-shim.js#L1304-L1324 -var ws = [ - '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003', - '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028', - '\u2029\uFEFF' -].join(''); -var trimRegex = new RegExp('(^[' + ws + ']+)|([' + ws + ']+$)', 'g'); -var replace = bind.call(Function.call, $String.prototype.replace); -var trim = function (value) { - return replace(value, trimRegex, ''); -}; - -var ES5 = __webpack_require__(309); - -var hasRegExpMatcher = __webpack_require__(311); - -// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-abstract-operations -var ES6 = assign(assign({}, ES5), { - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-call-f-v-args - Call: function Call(F, V) { - var args = arguments.length > 2 ? arguments[2] : []; - if (!this.IsCallable(F)) { - throw new $TypeError(F + ' is not a function'); - } - return F.apply(V, args); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toprimitive - ToPrimitive: toPrimitive, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toboolean - // ToBoolean: ES5.ToBoolean, - - // https://ecma-international.org/ecma-262/6.0/#sec-tonumber - ToNumber: function ToNumber(argument) { - var value = isPrimitive(argument) ? argument : toPrimitive(argument, $Number); - if (typeof value === 'symbol') { - throw new $TypeError('Cannot convert a Symbol value to a number'); - } - if (typeof value === 'string') { - if (isBinary(value)) { - return this.ToNumber(parseInteger(strSlice(value, 2), 2)); - } else if (isOctal(value)) { - return this.ToNumber(parseInteger(strSlice(value, 2), 8)); - } else if (hasNonWS(value) || isInvalidHexLiteral(value)) { - return NaN; - } else { - var trimmed = trim(value); - if (trimmed !== value) { - return this.ToNumber(trimmed); - } - } - } - return $Number(value); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tointeger - // ToInteger: ES5.ToNumber, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toint32 - // ToInt32: ES5.ToInt32, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-touint32 - // ToUint32: ES5.ToUint32, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toint16 - ToInt16: function ToInt16(argument) { - var int16bit = this.ToUint16(argument); - return int16bit >= 0x8000 ? int16bit - 0x10000 : int16bit; - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-touint16 - // ToUint16: ES5.ToUint16, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toint8 - ToInt8: function ToInt8(argument) { - var int8bit = this.ToUint8(argument); - return int8bit >= 0x80 ? int8bit - 0x100 : int8bit; - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-touint8 - ToUint8: function ToUint8(argument) { - var number = this.ToNumber(argument); - if ($isNaN(number) || number === 0 || !$isFinite(number)) { return 0; } - var posInt = sign(number) * $floor($abs(number)); - return mod(posInt, 0x100); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-touint8clamp - ToUint8Clamp: function ToUint8Clamp(argument) { - var number = this.ToNumber(argument); - if ($isNaN(number) || number <= 0) { return 0; } - if (number >= 0xFF) { return 0xFF; } - var f = $floor(argument); - if (f + 0.5 < number) { return f + 1; } - if (number < f + 0.5) { return f; } - if (f % 2 !== 0) { return f + 1; } - return f; - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tostring - ToString: function ToString(argument) { - if (typeof argument === 'symbol') { - throw new $TypeError('Cannot convert a Symbol value to a string'); - } - return $String(argument); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toobject - ToObject: function ToObject(value) { - this.RequireObjectCoercible(value); - return $Object(value); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-topropertykey - ToPropertyKey: function ToPropertyKey(argument) { - var key = this.ToPrimitive(argument, $String); - return typeof key === 'symbol' ? key : this.ToString(key); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength - ToLength: function ToLength(argument) { - var len = this.ToInteger(argument); - if (len <= 0) { return 0; } // includes converting -0 to +0 - if (len > MAX_SAFE_INTEGER) { return MAX_SAFE_INTEGER; } - return len; - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-canonicalnumericindexstring - CanonicalNumericIndexString: function CanonicalNumericIndexString(argument) { - if (toStr(argument) !== '[object String]') { - throw new $TypeError('must be a string'); - } - if (argument === '-0') { return -0; } - var n = this.ToNumber(argument); - if (this.SameValue(this.ToString(n), argument)) { return n; } - return void 0; - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-requireobjectcoercible - RequireObjectCoercible: ES5.CheckObjectCoercible, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isarray - IsArray: $Array.isArray || function IsArray(argument) { - return toStr(argument) === '[object Array]'; - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-iscallable - // IsCallable: ES5.IsCallable, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isconstructor - IsConstructor: function IsConstructor(argument) { - return typeof argument === 'function' && !!argument.prototype; // unfortunately there's no way to truly check this without try/catch `new argument` - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isextensible-o - IsExtensible: Object.preventExtensions - ? function IsExtensible(obj) { - if (isPrimitive(obj)) { - return false; - } - return $isExtensible(obj); - } - : function isExtensible(obj) { return true; }, // eslint-disable-line no-unused-vars - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isinteger - IsInteger: function IsInteger(argument) { - if (typeof argument !== 'number' || $isNaN(argument) || !$isFinite(argument)) { - return false; - } - var abs = $abs(argument); - return $floor(abs) === abs; - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-ispropertykey - IsPropertyKey: function IsPropertyKey(argument) { - return typeof argument === 'string' || typeof argument === 'symbol'; - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-isregexp - IsRegExp: function IsRegExp(argument) { - if (!argument || typeof argument !== 'object') { - return false; - } - if (hasSymbols) { - var isRegExp = argument[$Symbol.match]; - if (typeof isRegExp !== 'undefined') { - return ES5.ToBoolean(isRegExp); - } - } - return hasRegExpMatcher(argument); - }, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevalue - // SameValue: ES5.SameValue, - - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero - SameValueZero: function SameValueZero(x, y) { - return (x === y) || ($isNaN(x) && $isNaN(y)); - }, - - /** - * 7.3.2 GetV (V, P) - * 1. Assert: IsPropertyKey(P) is true. - * 2. Let O be ToObject(V). - * 3. ReturnIfAbrupt(O). - * 4. Return O.[[Get]](P, V). - */ - GetV: function GetV(V, P) { - // 7.3.2.1 - if (!this.IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - // 7.3.2.2-3 - var O = this.ToObject(V); - - // 7.3.2.4 - return O[P]; - }, - - /** - * 7.3.9 - https://ecma-international.org/ecma-262/6.0/#sec-getmethod - * 1. Assert: IsPropertyKey(P) is true. - * 2. Let func be GetV(O, P). - * 3. ReturnIfAbrupt(func). - * 4. If func is either undefined or null, return undefined. - * 5. If IsCallable(func) is false, throw a TypeError exception. - * 6. Return func. - */ - GetMethod: function GetMethod(O, P) { - // 7.3.9.1 - if (!this.IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - // 7.3.9.2 - var func = this.GetV(O, P); - - // 7.3.9.4 - if (func == null) { - return void 0; - } - - // 7.3.9.5 - if (!this.IsCallable(func)) { - throw new $TypeError(P + 'is not a function'); - } - - // 7.3.9.6 - return func; - }, - - /** - * 7.3.1 Get (O, P) - https://ecma-international.org/ecma-262/6.0/#sec-get-o-p - * 1. Assert: Type(O) is Object. - * 2. Assert: IsPropertyKey(P) is true. - * 3. Return O.[[Get]](P, O). - */ - Get: function Get(O, P) { - // 7.3.1.1 - if (this.Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - // 7.3.1.2 - if (!this.IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - // 7.3.1.3 - return O[P]; - }, - - Type: function Type(x) { - if (typeof x === 'symbol') { - return 'Symbol'; - } - return ES5.Type(x); - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-speciesconstructor - SpeciesConstructor: function SpeciesConstructor(O, defaultConstructor) { - if (this.Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - var C = O.constructor; - if (typeof C === 'undefined') { - return defaultConstructor; - } - if (this.Type(C) !== 'Object') { - throw new $TypeError('O.constructor is not an Object'); - } - var S = hasSymbols && $Symbol.species ? C[$Symbol.species] : void 0; - if (S == null) { - return defaultConstructor; - } - if (this.IsConstructor(S)) { - return S; - } - throw new $TypeError('no constructor found'); - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-completepropertydescriptor - CompletePropertyDescriptor: function CompletePropertyDescriptor(Desc) { - assertRecord(this, 'Property Descriptor', 'Desc', Desc); - - if (this.IsGenericDescriptor(Desc) || this.IsDataDescriptor(Desc)) { - if (!has(Desc, '[[Value]]')) { - Desc['[[Value]]'] = void 0; - } - if (!has(Desc, '[[Writable]]')) { - Desc['[[Writable]]'] = false; - } - } else { - if (!has(Desc, '[[Get]]')) { - Desc['[[Get]]'] = void 0; - } - if (!has(Desc, '[[Set]]')) { - Desc['[[Set]]'] = void 0; - } - } - if (!has(Desc, '[[Enumerable]]')) { - Desc['[[Enumerable]]'] = false; - } - if (!has(Desc, '[[Configurable]]')) { - Desc['[[Configurable]]'] = false; - } - return Desc; - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-set-o-p-v-throw - Set: function Set(O, P, V, Throw) { - if (this.Type(O) !== 'Object') { - throw new $TypeError('O must be an Object'); - } - if (!this.IsPropertyKey(P)) { - throw new $TypeError('P must be a Property Key'); - } - if (this.Type(Throw) !== 'Boolean') { - throw new $TypeError('Throw must be a Boolean'); - } - if (Throw) { - O[P] = V; - return true; - } else { - try { - O[P] = V; - } catch (e) { - return false; - } - } - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-hasownproperty - HasOwnProperty: function HasOwnProperty(O, P) { - if (this.Type(O) !== 'Object') { - throw new $TypeError('O must be an Object'); - } - if (!this.IsPropertyKey(P)) { - throw new $TypeError('P must be a Property Key'); - } - return has(O, P); - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-hasproperty - HasProperty: function HasProperty(O, P) { - if (this.Type(O) !== 'Object') { - throw new $TypeError('O must be an Object'); - } - if (!this.IsPropertyKey(P)) { - throw new $TypeError('P must be a Property Key'); - } - return P in O; - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-isconcatspreadable - IsConcatSpreadable: function IsConcatSpreadable(O) { - if (this.Type(O) !== 'Object') { - return false; - } - if (hasSymbols && typeof $Symbol.isConcatSpreadable === 'symbol') { - var spreadable = this.Get(O, Symbol.isConcatSpreadable); - if (typeof spreadable !== 'undefined') { - return this.ToBoolean(spreadable); - } - } - return this.IsArray(O); - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-invoke - Invoke: function Invoke(O, P) { - if (!this.IsPropertyKey(P)) { - throw new $TypeError('P must be a Property Key'); - } - var argumentsList = arraySlice(arguments, 2); - var func = this.GetV(O, P); - return this.Call(func, O, argumentsList); - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-getiterator - GetIterator: function GetIterator(obj, method) { - if (!hasSymbols) { - throw new SyntaxError('ES.GetIterator depends on native iterator support.'); - } - - var actualMethod = method; - if (arguments.length < 2) { - actualMethod = this.GetMethod(obj, $Symbol.iterator); - } - var iterator = this.Call(actualMethod, obj); - if (this.Type(iterator) !== 'Object') { - throw new $TypeError('iterator must return an object'); - } - - return iterator; - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-iteratornext - IteratorNext: function IteratorNext(iterator, value) { - var result = this.Invoke(iterator, 'next', arguments.length < 2 ? [] : [value]); - if (this.Type(result) !== 'Object') { - throw new $TypeError('iterator next must return an object'); - } - return result; - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-iteratorcomplete - IteratorComplete: function IteratorComplete(iterResult) { - if (this.Type(iterResult) !== 'Object') { - throw new $TypeError('Assertion failed: Type(iterResult) is not Object'); - } - return this.ToBoolean(this.Get(iterResult, 'done')); - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-iteratorvalue - IteratorValue: function IteratorValue(iterResult) { - if (this.Type(iterResult) !== 'Object') { - throw new $TypeError('Assertion failed: Type(iterResult) is not Object'); - } - return this.Get(iterResult, 'value'); - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-iteratorstep - IteratorStep: function IteratorStep(iterator) { - var result = this.IteratorNext(iterator); - var done = this.IteratorComplete(result); - return done === true ? false : result; - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-iteratorclose - IteratorClose: function IteratorClose(iterator, completion) { - if (this.Type(iterator) !== 'Object') { - throw new $TypeError('Assertion failed: Type(iterator) is not Object'); - } - if (!this.IsCallable(completion)) { - throw new $TypeError('Assertion failed: completion is not a thunk for a Completion Record'); - } - var completionThunk = completion; - - var iteratorReturn = this.GetMethod(iterator, 'return'); - - if (typeof iteratorReturn === 'undefined') { - return completionThunk(); - } - - var completionRecord; - try { - var innerResult = this.Call(iteratorReturn, iterator, []); - } catch (e) { - // if we hit here, then "e" is the innerResult completion that needs re-throwing - - // if the completion is of type "throw", this will throw. - completionRecord = completionThunk(); - completionThunk = null; // ensure it's not called twice. - - // if not, then return the innerResult completion - throw e; - } - completionRecord = completionThunk(); // if innerResult worked, then throw if the completion does - completionThunk = null; // ensure it's not called twice. - - if (this.Type(innerResult) !== 'Object') { - throw new $TypeError('iterator .return must return an object'); - } - - return completionRecord; - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-createiterresultobject - CreateIterResultObject: function CreateIterResultObject(value, done) { - if (this.Type(done) !== 'Boolean') { - throw new $TypeError('Assertion failed: Type(done) is not Boolean'); - } - return { - value: value, - done: done - }; - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-regexpexec - RegExpExec: function RegExpExec(R, S) { - if (this.Type(R) !== 'Object') { - throw new $TypeError('R must be an Object'); - } - if (this.Type(S) !== 'String') { - throw new $TypeError('S must be a String'); - } - var exec = this.Get(R, 'exec'); - if (this.IsCallable(exec)) { - var result = this.Call(exec, R, [S]); - if (result === null || this.Type(result) === 'Object') { - return result; - } - throw new $TypeError('"exec" method must return `null` or an Object'); - } - return regexExec(R, S); - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-arrayspeciescreate - ArraySpeciesCreate: function ArraySpeciesCreate(originalArray, length) { - if (!this.IsInteger(length) || length < 0) { - throw new $TypeError('Assertion failed: length must be an integer >= 0'); - } - var len = length === 0 ? 0 : length; - var C; - var isArray = this.IsArray(originalArray); - if (isArray) { - C = this.Get(originalArray, 'constructor'); - // TODO: figure out how to make a cross-realm normal Array, a same-realm Array - // if (this.IsConstructor(C)) { - // if C is another realm's Array, C = undefined - // Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(Array))) === null ? - // } - if (this.Type(C) === 'Object' && hasSymbols && $Symbol.species) { - C = this.Get(C, $Symbol.species); - if (C === null) { - C = void 0; - } - } - } - if (typeof C === 'undefined') { - return $Array(len); - } - if (!this.IsConstructor(C)) { - throw new $TypeError('C must be a constructor'); - } - return new C(len); // this.Construct(C, len); - }, - - CreateDataProperty: function CreateDataProperty(O, P, V) { - if (this.Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (!this.IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - var oldDesc = $gOPD(O, P); - var extensible = oldDesc || (typeof $isExtensible !== 'function' || $isExtensible(O)); - var immutable = oldDesc && (!oldDesc.writable || !oldDesc.configurable); - if (immutable || !extensible) { - return false; - } - var newDesc = { - configurable: true, - enumerable: true, - value: V, - writable: true - }; - $defineProperty(O, P, newDesc); - return true; - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-createdatapropertyorthrow - CreateDataPropertyOrThrow: function CreateDataPropertyOrThrow(O, P, V) { - if (this.Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - if (!this.IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - var success = this.CreateDataProperty(O, P, V); - if (!success) { - throw new $TypeError('unable to create data property'); - } - return success; - }, - - // https://www.ecma-international.org/ecma-262/6.0/#sec-objectcreate - ObjectCreate: function ObjectCreate(proto, internalSlotsList) { - if (proto !== null && this.Type(proto) !== 'Object') { - throw new $TypeError('Assertion failed: proto must be null or an object'); - } - var slots = arguments.length < 2 ? [] : internalSlotsList; - if (slots.length > 0) { - throw new $SyntaxError('es-abstract does not yet support internal slots'); - } - - if (proto === null && !$ObjectCreate) { - throw new $SyntaxError('native Object.create support is required to create null objects'); - } - - return $ObjectCreate(proto); - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-advancestringindex - AdvanceStringIndex: function AdvanceStringIndex(S, index, unicode) { - if (this.Type(S) !== 'String') { - throw new $TypeError('S must be a String'); - } - if (!this.IsInteger(index) || index < 0 || index > MAX_SAFE_INTEGER) { - throw new $TypeError('Assertion failed: length must be an integer >= 0 and <= 2**53'); - } - if (this.Type(unicode) !== 'Boolean') { - throw new $TypeError('Assertion failed: unicode must be a Boolean'); - } - if (!unicode) { - return index + 1; - } - var length = S.length; - if ((index + 1) >= length) { - return index + 1; - } - - var first = $charCodeAt(S, index); - if (first < 0xD800 || first > 0xDBFF) { - return index + 1; - } - - var second = $charCodeAt(S, index + 1); - if (second < 0xDC00 || second > 0xDFFF) { - return index + 1; - } - - return index + 2; - }, - - // https://www.ecma-international.org/ecma-262/6.0/#sec-createmethodproperty - CreateMethodProperty: function CreateMethodProperty(O, P, V) { - if (this.Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - if (!this.IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - var newDesc = { - configurable: true, - enumerable: false, - value: V, - writable: true - }; - return !!$defineProperty(O, P, newDesc); - }, - - // https://www.ecma-international.org/ecma-262/6.0/#sec-definepropertyorthrow - DefinePropertyOrThrow: function DefinePropertyOrThrow(O, P, desc) { - if (this.Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - if (!this.IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - return !!$defineProperty(O, P, desc); - }, - - // https://www.ecma-international.org/ecma-262/6.0/#sec-deletepropertyorthrow - DeletePropertyOrThrow: function DeletePropertyOrThrow(O, P) { - if (this.Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - if (!this.IsPropertyKey(P)) { - throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); - } - - var success = delete O[P]; - if (!success) { - throw new TypeError('Attempt to delete property failed.'); - } - return success; - }, - - // https://www.ecma-international.org/ecma-262/6.0/#sec-enumerableownnames - EnumerableOwnNames: function EnumerableOwnNames(O) { - if (this.Type(O) !== 'Object') { - throw new $TypeError('Assertion failed: Type(O) is not Object'); - } - - return keys(O); - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-number-prototype-object - thisNumberValue: function thisNumberValue(value) { - if (this.Type(value) === 'Number') { - return value; - } - - return $NumberValueOf(value); - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-boolean-prototype-object - thisBooleanValue: function thisBooleanValue(value) { - if (this.Type(value) === 'Boolean') { - return value; - } - - return $BooleanValueOf(value); - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-string-prototype-object - thisStringValue: function thisStringValue(value) { - if (this.Type(value) === 'String') { - return value; - } - - return $StringValueOf(value); - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-date-prototype-object - thisTimeValue: function thisTimeValue(value) { - return $DateValueOf(value); - } -}); - -delete ES6.CheckObjectCoercible; // renamed in ES6 to RequireObjectCoercible - -module.exports = ES6; - - -/***/ }), -/* 306 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -module.exports = __webpack_require__(307); - - -/***/ }), -/* 307 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var hasSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol'; - -var isPrimitive = __webpack_require__(176); -var isCallable = __webpack_require__(136); -var isDate = __webpack_require__(162); -var isSymbol = __webpack_require__(132); - -var ordinaryToPrimitive = function OrdinaryToPrimitive(O, hint) { - if (typeof O === 'undefined' || O === null) { - throw new TypeError('Cannot call method on ' + O); - } - if (typeof hint !== 'string' || (hint !== 'number' && hint !== 'string')) { - throw new TypeError('hint must be "string" or "number"'); - } - var methodNames = hint === 'string' ? ['toString', 'valueOf'] : ['valueOf', 'toString']; - var method, result, i; - for (i = 0; i < methodNames.length; ++i) { - method = O[methodNames[i]]; - if (isCallable(method)) { - result = method.call(O); - if (isPrimitive(result)) { - return result; - } - } - } - throw new TypeError('No default value'); -}; - -var GetMethod = function GetMethod(O, P) { - var func = O[P]; - if (func !== null && typeof func !== 'undefined') { - if (!isCallable(func)) { - throw new TypeError(func + ' returned for property ' + P + ' of object ' + O + ' is not a function'); - } - return func; - } - return void 0; -}; - -// http://www.ecma-international.org/ecma-262/6.0/#sec-toprimitive -module.exports = function ToPrimitive(input) { - if (isPrimitive(input)) { - return input; - } - var hint = 'default'; - if (arguments.length > 1) { - if (arguments[1] === String) { - hint = 'string'; - } else if (arguments[1] === Number) { - hint = 'number'; - } - } - - var exoticToPrim; - if (hasSymbols) { - if (Symbol.toPrimitive) { - exoticToPrim = GetMethod(input, Symbol.toPrimitive); - } else if (isSymbol(input)) { - exoticToPrim = Symbol.prototype.valueOf; - } - } - if (typeof exoticToPrim !== 'undefined') { - var result = exoticToPrim.call(input, hint); - if (isPrimitive(result)) { - return result; - } - throw new TypeError('unable to convert exotic object to primitive'); - } - if (hint === 'default' && (isDate(input) || isSymbol(input))) { - hint = 'string'; - } - return ordinaryToPrimitive(input, hint === 'default' ? 'number' : hint); -}; - - -/***/ }), -/* 308 */ -/***/ (function(module, exports) { - -module.exports = function isPrimitive(value) { - return value === null || (typeof value !== 'function' && typeof value !== 'object'); -}; - - -/***/ }), -/* 309 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var GetIntrinsic = __webpack_require__(137); - -var $Object = GetIntrinsic('%Object%'); -var $TypeError = GetIntrinsic('%TypeError%'); -var $String = GetIntrinsic('%String%'); - -var assertRecord = __webpack_require__(177); -var $isNaN = __webpack_require__(178); -var $isFinite = __webpack_require__(179); - -var sign = __webpack_require__(181); -var mod = __webpack_require__(182); - -var IsCallable = __webpack_require__(136); -var toPrimitive = __webpack_require__(310); - -var has = __webpack_require__(76); - -// https://es5.github.io/#x9 -var ES5 = { - ToPrimitive: toPrimitive, - - ToBoolean: function ToBoolean(value) { - return !!value; - }, - ToNumber: function ToNumber(value) { - return +value; // eslint-disable-line no-implicit-coercion - }, - ToInteger: function ToInteger(value) { - var number = this.ToNumber(value); - if ($isNaN(number)) { return 0; } - if (number === 0 || !$isFinite(number)) { return number; } - return sign(number) * Math.floor(Math.abs(number)); - }, - ToInt32: function ToInt32(x) { - return this.ToNumber(x) >> 0; - }, - ToUint32: function ToUint32(x) { - return this.ToNumber(x) >>> 0; - }, - ToUint16: function ToUint16(value) { - var number = this.ToNumber(value); - if ($isNaN(number) || number === 0 || !$isFinite(number)) { return 0; } - var posInt = sign(number) * Math.floor(Math.abs(number)); - return mod(posInt, 0x10000); - }, - ToString: function ToString(value) { - return $String(value); - }, - ToObject: function ToObject(value) { - this.CheckObjectCoercible(value); - return $Object(value); - }, - CheckObjectCoercible: function CheckObjectCoercible(value, optMessage) { - /* jshint eqnull:true */ - if (value == null) { - throw new $TypeError(optMessage || 'Cannot call method on ' + value); - } - return value; - }, - IsCallable: IsCallable, - SameValue: function SameValue(x, y) { - if (x === y) { // 0 === -0, but they are not identical. - if (x === 0) { return 1 / x === 1 / y; } - return true; - } - return $isNaN(x) && $isNaN(y); - }, - - // https://www.ecma-international.org/ecma-262/5.1/#sec-8 - Type: function Type(x) { - if (x === null) { - return 'Null'; - } - if (typeof x === 'undefined') { - return 'Undefined'; - } - if (typeof x === 'function' || typeof x === 'object') { - return 'Object'; - } - if (typeof x === 'number') { - return 'Number'; - } - if (typeof x === 'boolean') { - return 'Boolean'; - } - if (typeof x === 'string') { - return 'String'; - } - }, - - // https://ecma-international.org/ecma-262/6.0/#sec-property-descriptor-specification-type - IsPropertyDescriptor: function IsPropertyDescriptor(Desc) { - if (this.Type(Desc) !== 'Object') { - return false; - } - var allowed = { - '[[Configurable]]': true, - '[[Enumerable]]': true, - '[[Get]]': true, - '[[Set]]': true, - '[[Value]]': true, - '[[Writable]]': true - }; - - for (var key in Desc) { // eslint-disable-line - if (has(Desc, key) && !allowed[key]) { - return false; - } - } - - var isData = has(Desc, '[[Value]]'); - var IsAccessor = has(Desc, '[[Get]]') || has(Desc, '[[Set]]'); - if (isData && IsAccessor) { - throw new $TypeError('Property Descriptors may not be both accessor and data descriptors'); - } - return true; - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-8.10.1 - IsAccessorDescriptor: function IsAccessorDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - assertRecord(this, 'Property Descriptor', 'Desc', Desc); - - if (!has(Desc, '[[Get]]') && !has(Desc, '[[Set]]')) { - return false; - } - - return true; - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-8.10.2 - IsDataDescriptor: function IsDataDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - assertRecord(this, 'Property Descriptor', 'Desc', Desc); - - if (!has(Desc, '[[Value]]') && !has(Desc, '[[Writable]]')) { - return false; - } - - return true; - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-8.10.3 - IsGenericDescriptor: function IsGenericDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return false; - } - - assertRecord(this, 'Property Descriptor', 'Desc', Desc); - - if (!this.IsAccessorDescriptor(Desc) && !this.IsDataDescriptor(Desc)) { - return true; - } - - return false; - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-8.10.4 - FromPropertyDescriptor: function FromPropertyDescriptor(Desc) { - if (typeof Desc === 'undefined') { - return Desc; - } - - assertRecord(this, 'Property Descriptor', 'Desc', Desc); - - if (this.IsDataDescriptor(Desc)) { - return { - value: Desc['[[Value]]'], - writable: !!Desc['[[Writable]]'], - enumerable: !!Desc['[[Enumerable]]'], - configurable: !!Desc['[[Configurable]]'] - }; - } else if (this.IsAccessorDescriptor(Desc)) { - return { - get: Desc['[[Get]]'], - set: Desc['[[Set]]'], - enumerable: !!Desc['[[Enumerable]]'], - configurable: !!Desc['[[Configurable]]'] - }; - } else { - throw new $TypeError('FromPropertyDescriptor must be called with a fully populated Property Descriptor'); - } - }, - - // https://ecma-international.org/ecma-262/5.1/#sec-8.10.5 - ToPropertyDescriptor: function ToPropertyDescriptor(Obj) { - if (this.Type(Obj) !== 'Object') { - throw new $TypeError('ToPropertyDescriptor requires an object'); - } - - var desc = {}; - if (has(Obj, 'enumerable')) { - desc['[[Enumerable]]'] = this.ToBoolean(Obj.enumerable); - } - if (has(Obj, 'configurable')) { - desc['[[Configurable]]'] = this.ToBoolean(Obj.configurable); - } - if (has(Obj, 'value')) { - desc['[[Value]]'] = Obj.value; - } - if (has(Obj, 'writable')) { - desc['[[Writable]]'] = this.ToBoolean(Obj.writable); - } - if (has(Obj, 'get')) { - var getter = Obj.get; - if (typeof getter !== 'undefined' && !this.IsCallable(getter)) { - throw new TypeError('getter must be a function'); - } - desc['[[Get]]'] = getter; - } - if (has(Obj, 'set')) { - var setter = Obj.set; - if (typeof setter !== 'undefined' && !this.IsCallable(setter)) { - throw new $TypeError('setter must be a function'); - } - desc['[[Set]]'] = setter; - } - - if ((has(desc, '[[Get]]') || has(desc, '[[Set]]')) && (has(desc, '[[Value]]') || has(desc, '[[Writable]]'))) { - throw new $TypeError('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute'); - } - return desc; - } -}; - -module.exports = ES5; - - -/***/ }), -/* 310 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var toStr = Object.prototype.toString; - -var isPrimitive = __webpack_require__(176); - -var isCallable = __webpack_require__(136); - -// http://ecma-international.org/ecma-262/5.1/#sec-8.12.8 -var ES5internalSlots = { - '[[DefaultValue]]': function (O) { - var actualHint; - if (arguments.length > 1) { - actualHint = arguments[1]; - } else { - actualHint = toStr.call(O) === '[object Date]' ? String : Number; - } - - if (actualHint === String || actualHint === Number) { - var methods = actualHint === String ? ['toString', 'valueOf'] : ['valueOf', 'toString']; - var value, i; - for (i = 0; i < methods.length; ++i) { - if (isCallable(O[methods[i]])) { - value = O[methods[i]](); - if (isPrimitive(value)) { - return value; - } - } - } - throw new TypeError('No default value'); - } - throw new TypeError('invalid [[DefaultValue]] hint supplied'); - } -}; - -// http://ecma-international.org/ecma-262/5.1/#sec-9.1 -module.exports = function ToPrimitive(input) { - if (isPrimitive(input)) { - return input; - } - if (arguments.length > 1) { - return ES5internalSlots['[[DefaultValue]]'](input, arguments[1]); - } - return ES5internalSlots['[[DefaultValue]]'](input); -}; - - -/***/ }), -/* 311 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var has = __webpack_require__(76); -var regexExec = RegExp.prototype.exec; -var gOPD = Object.getOwnPropertyDescriptor; - -var tryRegexExecCall = function tryRegexExec(value) { - try { - var lastIndex = value.lastIndex; - value.lastIndex = 0; - - regexExec.call(value); - return true; - } catch (e) { - return false; - } finally { - value.lastIndex = lastIndex; - } -}; -var toStr = Object.prototype.toString; -var regexClass = '[object RegExp]'; -var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol'; - -module.exports = function isRegex(value) { - if (!value || typeof value !== 'object') { - return false; - } - if (!hasToStringTag) { - return toStr.call(value) === regexClass; - } - - var descriptor = gOPD(value, 'lastIndex'); - var hasLastIndexDataProperty = descriptor && has(descriptor, 'value'); - if (!hasLastIndexDataProperty) { - return false; - } - - return tryRegexExecCall(value); -}; - - -/***/ }), -/* 312 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var getPolyfill = __webpack_require__(183); -var define = __webpack_require__(66); - -module.exports = function shimValues() { - var polyfill = getPolyfill(); - define(Object, { values: polyfill }, { - values: function testValues() { - return Object.values !== polyfill; - } - }); - return polyfill; -}; - - -/***/ }), -/* 313 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var define = __webpack_require__(66); - -var implementation = __webpack_require__(184); -var getPolyfill = __webpack_require__(185); -var polyfill = getPolyfill(); -var shim = __webpack_require__(314); - -var boundContains = function contains(node, other) { - return polyfill.apply(node, [other]); -}; - -define(boundContains, { - getPolyfill: getPolyfill, - implementation: implementation, - shim: shim -}); - -module.exports = boundContains; - - -/***/ }), -/* 314 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var define = __webpack_require__(66); -var getPolyfill = __webpack_require__(185); - -module.exports = function shimContains() { - var polyfill = getPolyfill(); - if (typeof document !== 'undefined') { - define( - document, - { contains: polyfill }, - { contains: function () { return document.contains !== polyfill; } } - ); - if (typeof Element !== 'undefined') { - define( - Element.prototype, - { contains: polyfill }, - { contains: function () { return Element.prototype.contains !== polyfill; } } - ); - } - } - return polyfill; -}; - - -/***/ }), -/* 315 */ -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__(139), - now = __webpack_require__(316), - toNumber = __webpack_require__(318); - -/** Error message constants. */ -var FUNC_ERROR_TEXT = 'Expected a function'; - -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeMax = Math.max, - nativeMin = Math.min; - -/** - * Creates a debounced function that delays invoking `func` until after `wait` - * milliseconds have elapsed since the last time the debounced function was - * invoked. The debounced function comes with a `cancel` method to cancel - * delayed `func` invocations and a `flush` method to immediately invoke them. - * Provide `options` to indicate whether `func` should be invoked on the - * leading and/or trailing edge of the `wait` timeout. The `func` is invoked - * with the last arguments provided to the debounced function. Subsequent - * calls to the debounced function return the result of the last `func` - * invocation. - * - * **Note:** If `leading` and `trailing` options are `true`, `func` is - * invoked on the trailing edge of the timeout only if the debounced function - * is invoked more than once during the `wait` timeout. - * - * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred - * until to the next tick, similar to `setTimeout` with a timeout of `0`. - * - * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/) - * for details over the differences between `_.debounce` and `_.throttle`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to debounce. - * @param {number} [wait=0] The number of milliseconds to delay. - * @param {Object} [options={}] The options object. - * @param {boolean} [options.leading=false] - * Specify invoking on the leading edge of the timeout. - * @param {number} [options.maxWait] - * The maximum time `func` is allowed to be delayed before it's invoked. - * @param {boolean} [options.trailing=true] - * Specify invoking on the trailing edge of the timeout. - * @returns {Function} Returns the new debounced function. - * @example - * - * // Avoid costly calculations while the window size is in flux. - * jQuery(window).on('resize', _.debounce(calculateLayout, 150)); - * - * // Invoke `sendMail` when clicked, debouncing subsequent calls. - * jQuery(element).on('click', _.debounce(sendMail, 300, { - * 'leading': true, - * 'trailing': false - * })); - * - * // Ensure `batchLog` is invoked once after 1 second of debounced calls. - * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 }); - * var source = new EventSource('/stream'); - * jQuery(source).on('message', debounced); - * - * // Cancel the trailing debounced invocation. - * jQuery(window).on('popstate', debounced.cancel); - */ -function debounce(func, wait, options) { - var lastArgs, - lastThis, - maxWait, - result, - timerId, - lastCallTime, - lastInvokeTime = 0, - leading = false, - maxing = false, - trailing = true; - - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - wait = toNumber(wait) || 0; - if (isObject(options)) { - leading = !!options.leading; - maxing = 'maxWait' in options; - maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait; - trailing = 'trailing' in options ? !!options.trailing : trailing; - } - - function invokeFunc(time) { - var args = lastArgs, - thisArg = lastThis; - - lastArgs = lastThis = undefined; - lastInvokeTime = time; - result = func.apply(thisArg, args); - return result; - } - - function leadingEdge(time) { - // Reset any `maxWait` timer. - lastInvokeTime = time; - // Start the timer for the trailing edge. - timerId = setTimeout(timerExpired, wait); - // Invoke the leading edge. - return leading ? invokeFunc(time) : result; - } - - function remainingWait(time) { - var timeSinceLastCall = time - lastCallTime, - timeSinceLastInvoke = time - lastInvokeTime, - timeWaiting = wait - timeSinceLastCall; - - return maxing - ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) - : timeWaiting; - } - - function shouldInvoke(time) { - var timeSinceLastCall = time - lastCallTime, - timeSinceLastInvoke = time - lastInvokeTime; - - // Either this is the first call, activity has stopped and we're at the - // trailing edge, the system time has gone backwards and we're treating - // it as the trailing edge, or we've hit the `maxWait` limit. - return (lastCallTime === undefined || (timeSinceLastCall >= wait) || - (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait)); - } - - function timerExpired() { - var time = now(); - if (shouldInvoke(time)) { - return trailingEdge(time); - } - // Restart the timer. - timerId = setTimeout(timerExpired, remainingWait(time)); - } - - function trailingEdge(time) { - timerId = undefined; - - // Only invoke if we have `lastArgs` which means `func` has been - // debounced at least once. - if (trailing && lastArgs) { - return invokeFunc(time); - } - lastArgs = lastThis = undefined; - return result; - } - - function cancel() { - if (timerId !== undefined) { - clearTimeout(timerId); - } - lastInvokeTime = 0; - lastArgs = lastCallTime = lastThis = timerId = undefined; - } - - function flush() { - return timerId === undefined ? result : trailingEdge(now()); - } - - function debounced() { - var time = now(), - isInvoking = shouldInvoke(time); - - lastArgs = arguments; - lastThis = this; - lastCallTime = time; - - if (isInvoking) { - if (timerId === undefined) { - return leadingEdge(lastCallTime); - } - if (maxing) { - // Handle invocations in a tight loop. - clearTimeout(timerId); - timerId = setTimeout(timerExpired, wait); - return invokeFunc(lastCallTime); - } - } - if (timerId === undefined) { - timerId = setTimeout(timerExpired, wait); - } - return result; - } - debounced.cancel = cancel; - debounced.flush = flush; - return debounced; -} - -module.exports = debounce; - - -/***/ }), -/* 316 */ -/***/ (function(module, exports, __webpack_require__) { - -var root = __webpack_require__(197); - -/** - * Gets the timestamp of the number of milliseconds that have elapsed since - * the Unix epoch (1 January 1970 00:00:00 UTC). - * - * @static - * @memberOf _ - * @since 2.4.0 - * @category Date - * @returns {number} Returns the timestamp. - * @example - * - * _.defer(function(stamp) { - * console.log(_.now() - stamp); - * }, _.now()); - * // => Logs the number of milliseconds it took for the deferred invocation. - */ -var now = function() { - return root.Date.now(); -}; - -module.exports = now; - - -/***/ }), -/* 317 */ -/***/ (function(module, exports, __webpack_require__) { - -/* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */ -var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; - -module.exports = freeGlobal; - -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(63))) - -/***/ }), -/* 318 */ -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__(139), - isSymbol = __webpack_require__(319); - -/** Used as references for various `Number` constants. */ -var NAN = 0 / 0; - -/** Used to match leading and trailing whitespace. */ -var reTrim = /^\s+|\s+$/g; - -/** Used to detect bad signed hexadecimal string values. */ -var reIsBadHex = /^[-+]0x[0-9a-f]+$/i; - -/** Used to detect binary string values. */ -var reIsBinary = /^0b[01]+$/i; - -/** Used to detect octal string values. */ -var reIsOctal = /^0o[0-7]+$/i; - -/** Built-in method references without a dependency on `root`. */ -var freeParseInt = parseInt; - -/** - * Converts `value` to a number. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to process. - * @returns {number} Returns the number. - * @example - * - * _.toNumber(3.2); - * // => 3.2 - * - * _.toNumber(Number.MIN_VALUE); - * // => 5e-324 - * - * _.toNumber(Infinity); - * // => Infinity - * - * _.toNumber('3.2'); - * // => 3.2 - */ -function toNumber(value) { - if (typeof value == 'number') { - return value; - } - if (isSymbol(value)) { - return NAN; - } - if (isObject(value)) { - var other = typeof value.valueOf == 'function' ? value.valueOf() : value; - value = isObject(other) ? (other + '') : other; - } - if (typeof value != 'string') { - return value === 0 ? value : +value; - } - value = value.replace(reTrim, ''); - var isBinary = reIsBinary.test(value); - return (isBinary || reIsOctal.test(value)) - ? freeParseInt(value.slice(2), isBinary ? 2 : 8) - : (reIsBadHex.test(value) ? NAN : +value); -} - -module.exports = toNumber; - - -/***/ }), -/* 319 */ -/***/ (function(module, exports, __webpack_require__) { - -var baseGetTag = __webpack_require__(320), - isObjectLike = __webpack_require__(323); - -/** `Object#toString` result references. */ -var symbolTag = '[object Symbol]'; - -/** - * Checks if `value` is classified as a `Symbol` primitive or object. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a symbol, else `false`. - * @example - * - * _.isSymbol(Symbol.iterator); - * // => true - * - * _.isSymbol('abc'); - * // => false - */ -function isSymbol(value) { - return typeof value == 'symbol' || - (isObjectLike(value) && baseGetTag(value) == symbolTag); -} - -module.exports = isSymbol; - - -/***/ }), -/* 320 */ -/***/ (function(module, exports, __webpack_require__) { - -var Symbol = __webpack_require__(198), - getRawTag = __webpack_require__(321), - objectToString = __webpack_require__(322); - -/** `Object#toString` result references. */ -var nullTag = '[object Null]', - undefinedTag = '[object Undefined]'; - -/** Built-in value references. */ -var symToStringTag = Symbol ? Symbol.toStringTag : undefined; - -/** - * The base implementation of `getTag` without fallbacks for buggy environments. - * - * @private - * @param {*} value The value to query. - * @returns {string} Returns the `toStringTag`. - */ -function baseGetTag(value) { - if (value == null) { - return value === undefined ? undefinedTag : nullTag; - } - return (symToStringTag && symToStringTag in Object(value)) - ? getRawTag(value) - : objectToString(value); -} - -module.exports = baseGetTag; - - -/***/ }), -/* 321 */ -/***/ (function(module, exports, __webpack_require__) { - -var Symbol = __webpack_require__(198); - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** Used to check objects for own properties. */ -var hasOwnProperty = objectProto.hasOwnProperty; - -/** - * Used to resolve the - * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) - * of values. - */ -var nativeObjectToString = objectProto.toString; - -/** Built-in value references. */ -var symToStringTag = Symbol ? Symbol.toStringTag : undefined; - -/** - * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values. - * - * @private - * @param {*} value The value to query. - * @returns {string} Returns the raw `toStringTag`. - */ -function getRawTag(value) { - var isOwn = hasOwnProperty.call(value, symToStringTag), - tag = value[symToStringTag]; - - try { - value[symToStringTag] = undefined; - var unmasked = true; - } catch (e) {} - - var result = nativeObjectToString.call(value); - if (unmasked) { - if (isOwn) { - value[symToStringTag] = tag; - } else { - delete value[symToStringTag]; - } - } - return result; -} - -module.exports = getRawTag; - - -/***/ }), -/* 322 */ -/***/ (function(module, exports) { - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** - * Used to resolve the - * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) - * of values. - */ -var nativeObjectToString = objectProto.toString; - -/** - * Converts `value` to a string using `Object.prototype.toString`. - * - * @private - * @param {*} value The value to convert. - * @returns {string} Returns the converted string. - */ -function objectToString(value) { - return nativeObjectToString.call(value); -} - -module.exports = objectToString; - - -/***/ }), -/* 323 */ -/***/ (function(module, exports) { - -/** - * Checks if `value` is object-like. A value is object-like if it's not `null` - * and has a `typeof` result of "object". - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is object-like, else `false`. - * @example - * - * _.isObjectLike({}); - * // => true - * - * _.isObjectLike([1, 2, 3]); - * // => true - * - * _.isObjectLike(_.noop); - * // => false - * - * _.isObjectLike(null); - * // => false - */ -function isObjectLike(value) { - return value != null && typeof value == 'object'; -} - -module.exports = isObjectLike; - - -/***/ }), -/* 324 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports["default"] = getSelectedDateOffset; -var defaultModifier = function defaultModifier(day) { - return day; -}; - -function getSelectedDateOffset(fn, day) { - var modifier = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : defaultModifier; - - if (!fn) return day; - return modifier(fn(day.clone())); -} - -/***/ }), -/* 325 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -var _object = __webpack_require__(52); - -var _object2 = _interopRequireDefault(_object); - -var _react = __webpack_require__(21); - -var _react2 = _interopRequireDefault(_react); - -var _propTypes = __webpack_require__(28); - -var _propTypes2 = _interopRequireDefault(_propTypes); - -var _airbnbPropTypes = __webpack_require__(48); - -var _reactWithStyles = __webpack_require__(58); - -var _defaultPhrases = __webpack_require__(53); - -var _getPhrasePropTypes = __webpack_require__(56); - -var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); - -var _LeftArrow = __webpack_require__(200); - -var _LeftArrow2 = _interopRequireDefault(_LeftArrow); - -var _RightArrow = __webpack_require__(199); - -var _RightArrow2 = _interopRequireDefault(_RightArrow); - -var _ChevronUp = __webpack_require__(326); - -var _ChevronUp2 = _interopRequireDefault(_ChevronUp); - -var _ChevronDown = __webpack_require__(327); - -var _ChevronDown2 = _interopRequireDefault(_ChevronDown); - -var _ScrollableOrientationShape = __webpack_require__(81); - -var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape); - -var _constants = __webpack_require__(41); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - -function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } - -var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, { - navPrev: _propTypes2['default'].node, - navNext: _propTypes2['default'].node, - orientation: _ScrollableOrientationShape2['default'], - - onPrevMonthClick: _propTypes2['default'].func, - onNextMonthClick: _propTypes2['default'].func, - - // internationalization - phrases: _propTypes2['default'].shape((0, _getPhrasePropTypes2['default'])(_defaultPhrases.DayPickerNavigationPhrases)), - - isRTL: _propTypes2['default'].bool -})); - -var defaultProps = { - navPrev: null, - navNext: null, - orientation: _constants.HORIZONTAL_ORIENTATION, - - onPrevMonthClick: function () { - function onPrevMonthClick() {} - - return onPrevMonthClick; - }(), - onNextMonthClick: function () { - function onNextMonthClick() {} - - return onNextMonthClick; - }(), - - - // internationalization - phrases: _defaultPhrases.DayPickerNavigationPhrases, - isRTL: false -}; - -function DayPickerNavigation(_ref) { - var navPrev = _ref.navPrev, - navNext = _ref.navNext, - onPrevMonthClick = _ref.onPrevMonthClick, - onNextMonthClick = _ref.onNextMonthClick, - orientation = _ref.orientation, - phrases = _ref.phrases, - isRTL = _ref.isRTL, - styles = _ref.styles; - - var isHorizontal = orientation === _constants.HORIZONTAL_ORIENTATION; - var isVertical = orientation !== _constants.HORIZONTAL_ORIENTATION; - var isVerticalScrollable = orientation === _constants.VERTICAL_SCROLLABLE; - - var navPrevIcon = navPrev; - var navNextIcon = navNext; - var isDefaultNavPrev = false; - var isDefaultNavNext = false; - if (!navPrevIcon) { - isDefaultNavPrev = true; - var Icon = isVertical ? _ChevronUp2['default'] : _LeftArrow2['default']; - if (isRTL && !isVertical) { - Icon = _RightArrow2['default']; - } - navPrevIcon = _react2['default'].createElement(Icon, (0, _reactWithStyles.css)(isHorizontal && styles.DayPickerNavigation_svg__horizontal, isVertical && styles.DayPickerNavigation_svg__vertical)); - } - - if (!navNextIcon) { - isDefaultNavNext = true; - var _Icon = isVertical ? _ChevronDown2['default'] : _RightArrow2['default']; - if (isRTL && !isVertical) { - _Icon = _LeftArrow2['default']; - } - navNextIcon = _react2['default'].createElement(_Icon, (0, _reactWithStyles.css)(isHorizontal && styles.DayPickerNavigation_svg__horizontal, isVertical && styles.DayPickerNavigation_svg__vertical)); - } - - var isDefaultNav = isVerticalScrollable ? isDefaultNavNext : isDefaultNavNext || isDefaultNavPrev; - - return _react2['default'].createElement( - 'div', - _reactWithStyles.css.apply(undefined, [styles.DayPickerNavigation, isHorizontal && styles.DayPickerNavigation__horizontal].concat(_toConsumableArray(isVertical && [styles.DayPickerNavigation__vertical, isDefaultNav && styles.DayPickerNavigation__verticalDefault]), _toConsumableArray(isVerticalScrollable && [styles.DayPickerNavigation__verticalScrollable, isDefaultNav && styles.DayPickerNavigation__verticalScrollableDefault]))), - !isVerticalScrollable && _react2['default'].createElement( - 'div', - _extends({ - role: 'button', - tabIndex: '0' - }, _reactWithStyles.css.apply(undefined, [styles.DayPickerNavigation_button, isDefaultNavPrev && styles.DayPickerNavigation_button__default].concat(_toConsumableArray(isHorizontal && [styles.DayPickerNavigation_button__horizontal].concat(_toConsumableArray(isDefaultNavPrev && [styles.DayPickerNavigation_button__horizontalDefault, !isRTL && styles.DayPickerNavigation_leftButton__horizontalDefault, isRTL && styles.DayPickerNavigation_rightButton__horizontalDefault]))), _toConsumableArray(isVertical && [styles.DayPickerNavigation_button__vertical].concat(_toConsumableArray(isDefaultNavPrev && [styles.DayPickerNavigation_button__verticalDefault, styles.DayPickerNavigation_prevButton__verticalDefault]))))), { - 'aria-label': phrases.jumpToPrevMonth, - onClick: onPrevMonthClick, - onKeyUp: function () { - function onKeyUp(e) { - var key = e.key; - - if (key === 'Enter' || key === ' ') onPrevMonthClick(e); - } - - return onKeyUp; - }(), - onMouseUp: function () { - function onMouseUp(e) { - e.currentTarget.blur(); - } - - return onMouseUp; - }() - }), - navPrevIcon - ), - _react2['default'].createElement( - 'div', - _extends({ - role: 'button', - tabIndex: '0' - }, _reactWithStyles.css.apply(undefined, [styles.DayPickerNavigation_button, isDefaultNavNext && styles.DayPickerNavigation_button__default].concat(_toConsumableArray(isHorizontal && [styles.DayPickerNavigation_button__horizontal].concat(_toConsumableArray(isDefaultNavNext && [styles.DayPickerNavigation_button__horizontalDefault, isRTL && styles.DayPickerNavigation_leftButton__horizontalDefault, !isRTL && styles.DayPickerNavigation_rightButton__horizontalDefault]))), _toConsumableArray(isVertical && [styles.DayPickerNavigation_button__vertical, styles.DayPickerNavigation_nextButton__vertical].concat(_toConsumableArray(isDefaultNavNext && [styles.DayPickerNavigation_button__verticalDefault, styles.DayPickerNavigation_nextButton__verticalDefault, isVerticalScrollable && styles.DayPickerNavigation_nextButton__verticalScrollableDefault]))))), { - 'aria-label': phrases.jumpToNextMonth, - onClick: onNextMonthClick, - onKeyUp: function () { - function onKeyUp(e) { - var key = e.key; - - if (key === 'Enter' || key === ' ') onNextMonthClick(e); - } - - return onKeyUp; - }(), - onMouseUp: function () { - function onMouseUp(e) { - e.currentTarget.blur(); - } - - return onMouseUp; - }() - }), - navNextIcon - ) - ); -} - -DayPickerNavigation.propTypes = propTypes; -DayPickerNavigation.defaultProps = defaultProps; - -exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) { - var _ref2$reactDates = _ref2.reactDates, - color = _ref2$reactDates.color, - zIndex = _ref2$reactDates.zIndex; - return { - DayPickerNavigation: { - position: 'relative', - zIndex: zIndex + 2 - }, - - DayPickerNavigation__horizontal: { - height: 0 - }, - - DayPickerNavigation__vertical: {}, - DayPickerNavigation__verticalScrollable: {}, - - DayPickerNavigation__verticalDefault: { - position: 'absolute', - width: '100%', - height: 52, - bottom: 0, - left: 0 - }, - - DayPickerNavigation__verticalScrollableDefault: { - position: 'relative' - }, - - DayPickerNavigation_button: { - cursor: 'pointer', - userSelect: 'none', - border: 0, - padding: 0, - margin: 0 - }, - - DayPickerNavigation_button__default: { - border: '1px solid ' + String(color.core.borderLight), - backgroundColor: color.background, - color: color.placeholderText, - - ':focus': { - border: '1px solid ' + String(color.core.borderMedium) - }, - - ':hover': { - border: '1px solid ' + String(color.core.borderMedium) - }, - - ':active': { - background: color.backgroundDark - } - }, - - DayPickerNavigation_button__horizontal: {}, - - DayPickerNavigation_button__horizontalDefault: { - position: 'absolute', - top: 18, - lineHeight: 0.78, - borderRadius: 3, - padding: '6px 9px' - }, - - DayPickerNavigation_leftButton__horizontalDefault: { - left: 22 - }, - - DayPickerNavigation_rightButton__horizontalDefault: { - right: 22 - }, - - DayPickerNavigation_button__vertical: {}, - - DayPickerNavigation_button__verticalDefault: { - padding: 5, - background: color.background, - boxShadow: '0 0 5px 2px rgba(0, 0, 0, 0.1)', - position: 'relative', - display: 'inline-block', - height: '100%', - width: '50%' - }, - - DayPickerNavigation_prevButton__verticalDefault: {}, - - DayPickerNavigation_nextButton__verticalDefault: { - borderLeft: 0 - }, - - DayPickerNavigation_nextButton__verticalScrollableDefault: { - width: '100%' - }, - - DayPickerNavigation_svg__horizontal: { - height: 19, - width: 19, - fill: color.core.grayLight, - display: 'block' - }, - - DayPickerNavigation_svg__vertical: { - height: 42, - width: 42, - fill: color.text, - display: 'block' - } - }; -})(DayPickerNavigation); - -/***/ }), -/* 326 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(21); - -var _react2 = _interopRequireDefault(_react); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - -var ChevronUp = function () { - function ChevronUp(props) { - return _react2['default'].createElement( - 'svg', - props, - _react2['default'].createElement('path', { - d: 'M32.1 712.6l453.2-452.2c11-11 21-11 32 0l453.2 452.2c4 5 6 10 6 16 0 13-10 23-22 23-7 0-12-2-16-7L501.3 308.5 64.1 744.7c-4 5-9 7-15 7-7 0-12-2-17-7-9-11-9-21 0-32.1z' - }) - ); - } - - return ChevronUp; -}(); - -ChevronUp.defaultProps = { - viewBox: '0 0 1000 1000' -}; -exports['default'] = ChevronUp; - -/***/ }), -/* 327 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(21); - -var _react2 = _interopRequireDefault(_react); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - -var ChevronDown = function () { - function ChevronDown(props) { - return _react2['default'].createElement( - 'svg', - props, - _react2['default'].createElement('path', { - d: 'M967.5 288.5L514.3 740.7c-11 11-21 11-32 0L29.1 288.5c-4-5-6-11-6-16 0-13 10-23 23-23 6 0 11 2 15 7l437.2 436.2 437.2-436.2c4-5 9-7 16-7 6 0 11 2 16 7 9 10.9 9 21 0 32z' - }) - ); - } - - return ChevronDown; -}(); - -ChevronDown.defaultProps = { - viewBox: '0 0 1000 1000' -}; -exports['default'] = ChevronDown; - -/***/ }), -/* 328 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.BOTTOM_RIGHT = exports.TOP_RIGHT = exports.TOP_LEFT = undefined; - -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -var _object = __webpack_require__(52); - -var _object2 = _interopRequireDefault(_object); - -var _react = __webpack_require__(21); - -var _react2 = _interopRequireDefault(_react); - -var _propTypes = __webpack_require__(28); - -var _propTypes2 = _interopRequireDefault(_propTypes); - -var _airbnbPropTypes = __webpack_require__(48); - -var _reactWithStyles = __webpack_require__(58); - -var _defaultPhrases = __webpack_require__(53); - -var _getPhrasePropTypes = __webpack_require__(56); - -var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); - -var _KeyboardShortcutRow = __webpack_require__(329); - -var _KeyboardShortcutRow2 = _interopRequireDefault(_KeyboardShortcutRow); - -var _CloseButton = __webpack_require__(95); - -var _CloseButton2 = _interopRequireDefault(_CloseButton); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var TOP_LEFT = exports.TOP_LEFT = 'top-left'; -var TOP_RIGHT = exports.TOP_RIGHT = 'top-right'; -var BOTTOM_RIGHT = exports.BOTTOM_RIGHT = 'bottom-right'; - -var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, { - block: _propTypes2['default'].bool, - buttonLocation: _propTypes2['default'].oneOf([TOP_LEFT, TOP_RIGHT, BOTTOM_RIGHT]), - showKeyboardShortcutsPanel: _propTypes2['default'].bool, - openKeyboardShortcutsPanel: _propTypes2['default'].func, - closeKeyboardShortcutsPanel: _propTypes2['default'].func, - phrases: _propTypes2['default'].shape((0, _getPhrasePropTypes2['default'])(_defaultPhrases.DayPickerKeyboardShortcutsPhrases)) -})); - -var defaultProps = { - block: false, - buttonLocation: BOTTOM_RIGHT, - showKeyboardShortcutsPanel: false, - openKeyboardShortcutsPanel: function () { - function openKeyboardShortcutsPanel() {} - - return openKeyboardShortcutsPanel; - }(), - closeKeyboardShortcutsPanel: function () { - function closeKeyboardShortcutsPanel() {} - - return closeKeyboardShortcutsPanel; - }(), - - phrases: _defaultPhrases.DayPickerKeyboardShortcutsPhrases -}; - -function getKeyboardShortcuts(phrases) { - return [{ - unicode: '↵', - label: phrases.enterKey, - action: phrases.selectFocusedDate - }, { - unicode: '←/→', - label: phrases.leftArrowRightArrow, - action: phrases.moveFocusByOneDay - }, { - unicode: '↑/↓', - label: phrases.upArrowDownArrow, - action: phrases.moveFocusByOneWeek - }, { - unicode: 'PgUp/PgDn', - label: phrases.pageUpPageDown, - action: phrases.moveFocusByOneMonth - }, { - unicode: 'Home/End', - label: phrases.homeEnd, - action: phrases.moveFocustoStartAndEndOfWeek - }, { - unicode: 'Esc', - label: phrases.escape, - action: phrases.returnFocusToInput - }, { - unicode: '?', - label: phrases.questionMark, - action: phrases.openThisPanel - }]; -} - -var DayPickerKeyboardShortcuts = function (_React$Component) { - _inherits(DayPickerKeyboardShortcuts, _React$Component); - - function DayPickerKeyboardShortcuts() { - var _ref; - - _classCallCheck(this, DayPickerKeyboardShortcuts); - - for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - - var _this = _possibleConstructorReturn(this, (_ref = DayPickerKeyboardShortcuts.__proto__ || Object.getPrototypeOf(DayPickerKeyboardShortcuts)).call.apply(_ref, [this].concat(args))); - - var phrases = _this.props.phrases; - - _this.keyboardShortcuts = getKeyboardShortcuts(phrases); - - _this.onShowKeyboardShortcutsButtonClick = _this.onShowKeyboardShortcutsButtonClick.bind(_this); - _this.setShowKeyboardShortcutsButtonRef = _this.setShowKeyboardShortcutsButtonRef.bind(_this); - _this.setHideKeyboardShortcutsButtonRef = _this.setHideKeyboardShortcutsButtonRef.bind(_this); - _this.handleFocus = _this.handleFocus.bind(_this); - _this.onKeyDown = _this.onKeyDown.bind(_this); - return _this; - } - - _createClass(DayPickerKeyboardShortcuts, [{ - key: 'componentWillReceiveProps', - value: function () { - function componentWillReceiveProps(nextProps) { - var phrases = this.props.phrases; - - if (nextProps.phrases !== phrases) { - this.keyboardShortcuts = getKeyboardShortcuts(nextProps.phrases); - } - } - - return componentWillReceiveProps; - }() - }, { - key: 'componentDidUpdate', - value: function () { - function componentDidUpdate() { - this.handleFocus(); - } - - return componentDidUpdate; - }() - }, { - key: 'onKeyDown', - value: function () { - function onKeyDown(e) { - e.stopPropagation(); - - var closeKeyboardShortcutsPanel = this.props.closeKeyboardShortcutsPanel; - // Because the close button is the only focusable element inside of the panel, this - // amounts to a very basic focus trap. The user can exit the panel by "pressing" the - // close button or hitting escape - - switch (e.key) { - case 'Enter': - case ' ': - case 'Spacebar': // for older browsers - case 'Escape': - closeKeyboardShortcutsPanel(); - break; - - // do nothing - this allows the up and down arrows continue their - // default behavior of scrolling the content of the Keyboard Shortcuts Panel - // which is needed when only a single month is shown for instance. - case 'ArrowUp': - case 'ArrowDown': - break; - - // completely block the rest of the keys that have functionality outside of this panel - case 'Tab': - case 'Home': - case 'End': - case 'PageUp': - case 'PageDown': - case 'ArrowLeft': - case 'ArrowRight': - e.preventDefault(); - break; - - default: - break; - } - } - - return onKeyDown; - }() - }, { - key: 'onShowKeyboardShortcutsButtonClick', - value: function () { - function onShowKeyboardShortcutsButtonClick() { - var _this2 = this; - - var openKeyboardShortcutsPanel = this.props.openKeyboardShortcutsPanel; - - // we want to return focus to this button after closing the keyboard shortcuts panel - - openKeyboardShortcutsPanel(function () { - _this2.showKeyboardShortcutsButton.focus(); - }); - } - - return onShowKeyboardShortcutsButtonClick; - }() - }, { - key: 'setShowKeyboardShortcutsButtonRef', - value: function () { - function setShowKeyboardShortcutsButtonRef(ref) { - this.showKeyboardShortcutsButton = ref; - } - - return setShowKeyboardShortcutsButtonRef; - }() - }, { - key: 'setHideKeyboardShortcutsButtonRef', - value: function () { - function setHideKeyboardShortcutsButtonRef(ref) { - this.hideKeyboardShortcutsButton = ref; - } - - return setHideKeyboardShortcutsButtonRef; - }() - }, { - key: 'handleFocus', - value: function () { - function handleFocus() { - if (this.hideKeyboardShortcutsButton) { - // automatically move focus into the dialog by moving - // to the only interactive element, the hide button - this.hideKeyboardShortcutsButton.focus(); - } - } - - return handleFocus; - }() - }, { - key: 'render', - value: function () { - function render() { - var _this3 = this; - - var _props = this.props, - block = _props.block, - buttonLocation = _props.buttonLocation, - showKeyboardShortcutsPanel = _props.showKeyboardShortcutsPanel, - closeKeyboardShortcutsPanel = _props.closeKeyboardShortcutsPanel, - styles = _props.styles, - phrases = _props.phrases; - - - var toggleButtonText = showKeyboardShortcutsPanel ? phrases.hideKeyboardShortcutsPanel : phrases.showKeyboardShortcutsPanel; - - var bottomRight = buttonLocation === BOTTOM_RIGHT; - var topRight = buttonLocation === TOP_RIGHT; - var topLeft = buttonLocation === TOP_LEFT; - - return _react2['default'].createElement( - 'div', - null, - _react2['default'].createElement( - 'button', - _extends({ - ref: this.setShowKeyboardShortcutsButtonRef - }, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_buttonReset, styles.DayPickerKeyboardShortcuts_show, bottomRight && styles.DayPickerKeyboardShortcuts_show__bottomRight, topRight && styles.DayPickerKeyboardShortcuts_show__topRight, topLeft && styles.DayPickerKeyboardShortcuts_show__topLeft), { - type: 'button', - 'aria-label': toggleButtonText, - onClick: this.onShowKeyboardShortcutsButtonClick, - onKeyDown: function () { - function onKeyDown(e) { - if (e.key === 'Enter') { - e.preventDefault(); - } else if (e.key === 'Space') { - _this3.onShowKeyboardShortcutsButtonClick(e); - } - } - - return onKeyDown; - }(), - onMouseUp: function () { - function onMouseUp(e) { - e.currentTarget.blur(); - } - - return onMouseUp; - }() - }), - _react2['default'].createElement( - 'span', - (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_showSpan, bottomRight && styles.DayPickerKeyboardShortcuts_showSpan__bottomRight, topRight && styles.DayPickerKeyboardShortcuts_showSpan__topRight, topLeft && styles.DayPickerKeyboardShortcuts_showSpan__topLeft), - '?' - ) - ), - showKeyboardShortcutsPanel && _react2['default'].createElement( - 'div', - _extends({}, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_panel), { - role: 'dialog', - 'aria-labelledby': 'DayPickerKeyboardShortcuts_title', - 'aria-describedby': 'DayPickerKeyboardShortcuts_description' - }), - _react2['default'].createElement( - 'div', - _extends({}, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_title), { - id: 'DayPickerKeyboardShortcuts_title' - }), - phrases.keyboardShortcuts - ), - _react2['default'].createElement( - 'button', - _extends({ - ref: this.setHideKeyboardShortcutsButtonRef - }, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_buttonReset, styles.DayPickerKeyboardShortcuts_close), { - type: 'button', - tabIndex: '0', - 'aria-label': phrases.hideKeyboardShortcutsPanel, - onClick: closeKeyboardShortcutsPanel, - onKeyDown: this.onKeyDown - }), - _react2['default'].createElement(_CloseButton2['default'], (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_closeSvg)) - ), - _react2['default'].createElement( - 'ul', - _extends({}, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_list), { - id: 'DayPickerKeyboardShortcuts_description' - }), - this.keyboardShortcuts.map(function (_ref2) { - var unicode = _ref2.unicode, - label = _ref2.label, - action = _ref2.action; - return _react2['default'].createElement(_KeyboardShortcutRow2['default'], { - key: label, - unicode: unicode, - label: label, - action: action, - block: block - }); - }) - ) - ) - ); - } - - return render; - }() - }]); - - return DayPickerKeyboardShortcuts; -}(_react2['default'].Component); - -DayPickerKeyboardShortcuts.propTypes = propTypes; -DayPickerKeyboardShortcuts.defaultProps = defaultProps; - -exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref3) { - var _ref3$reactDates = _ref3.reactDates, - color = _ref3$reactDates.color, - font = _ref3$reactDates.font, - zIndex = _ref3$reactDates.zIndex; - return { - DayPickerKeyboardShortcuts_buttonReset: { - background: 'none', - border: 0, - borderRadius: 0, - color: 'inherit', - font: 'inherit', - lineHeight: 'normal', - overflow: 'visible', - padding: 0, - cursor: 'pointer', - fontSize: font.size, - - ':active': { - outline: 'none' - } - }, - - DayPickerKeyboardShortcuts_show: { - width: 22, - position: 'absolute', - zIndex: zIndex + 2 - }, - - DayPickerKeyboardShortcuts_show__bottomRight: { - borderTop: '26px solid transparent', - borderRight: '33px solid ' + String(color.core.primary), - bottom: 0, - right: 0, - - ':hover': { - borderRight: '33px solid ' + String(color.core.primary_dark) - } - }, - - DayPickerKeyboardShortcuts_show__topRight: { - borderBottom: '26px solid transparent', - borderRight: '33px solid ' + String(color.core.primary), - top: 0, - right: 0, - - ':hover': { - borderRight: '33px solid ' + String(color.core.primary_dark) - } - }, - - DayPickerKeyboardShortcuts_show__topLeft: { - borderBottom: '26px solid transparent', - borderLeft: '33px solid ' + String(color.core.primary), - top: 0, - left: 0, - - ':hover': { - borderLeft: '33px solid ' + String(color.core.primary_dark) - } - }, - - DayPickerKeyboardShortcuts_showSpan: { - color: color.core.white, - position: 'absolute' - }, - - DayPickerKeyboardShortcuts_showSpan__bottomRight: { - bottom: 0, - right: -28 - }, - - DayPickerKeyboardShortcuts_showSpan__topRight: { - top: 1, - right: -28 - }, - - DayPickerKeyboardShortcuts_showSpan__topLeft: { - top: 1, - left: -28 - }, - - DayPickerKeyboardShortcuts_panel: { - overflow: 'auto', - background: color.background, - border: '1px solid ' + String(color.core.border), - borderRadius: 2, - position: 'absolute', - top: 0, - bottom: 0, - right: 0, - left: 0, - zIndex: zIndex + 2, - padding: 22, - margin: 33 - }, - - DayPickerKeyboardShortcuts_title: { - fontSize: 16, - fontWeight: 'bold', - margin: 0 - }, - - DayPickerKeyboardShortcuts_list: { - listStyle: 'none', - padding: 0, - fontSize: font.size - }, - - DayPickerKeyboardShortcuts_close: { - position: 'absolute', - right: 22, - top: 22, - zIndex: zIndex + 2, - - ':active': { - outline: 'none' - } - }, - - DayPickerKeyboardShortcuts_closeSvg: { - height: 15, - width: 15, - fill: color.core.grayLighter, - - ':hover': { - fill: color.core.grayLight - }, - - ':focus': { - fill: color.core.grayLight - } - } - }; -})(DayPickerKeyboardShortcuts); - -/***/ }), -/* 329 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -var _object = __webpack_require__(52); - -var _object2 = _interopRequireDefault(_object); - -var _react = __webpack_require__(21); - -var _react2 = _interopRequireDefault(_react); - -var _propTypes = __webpack_require__(28); - -var _propTypes2 = _interopRequireDefault(_propTypes); - -var _airbnbPropTypes = __webpack_require__(48); - -var _reactWithStyles = __webpack_require__(58); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - -var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, { - unicode: _propTypes2['default'].string.isRequired, - label: _propTypes2['default'].string.isRequired, - action: _propTypes2['default'].string.isRequired, - block: _propTypes2['default'].bool -})); - -var defaultProps = { - block: false -}; - -function KeyboardShortcutRow(_ref) { - var unicode = _ref.unicode, - label = _ref.label, - action = _ref.action, - block = _ref.block, - styles = _ref.styles; - - return _react2['default'].createElement( - 'li', - (0, _reactWithStyles.css)(styles.KeyboardShortcutRow, block && styles.KeyboardShortcutRow__block), - _react2['default'].createElement( - 'div', - (0, _reactWithStyles.css)(styles.KeyboardShortcutRow_keyContainer, block && styles.KeyboardShortcutRow_keyContainer__block), - _react2['default'].createElement( - 'span', - _extends({}, (0, _reactWithStyles.css)(styles.KeyboardShortcutRow_key), { - role: 'img', - 'aria-label': String(label) + ',' // add comma so screen readers will pause before reading action - }), - unicode - ) - ), - _react2['default'].createElement( - 'div', - (0, _reactWithStyles.css)(styles.KeyboardShortcutRow_action), - action - ) - ); -} - -KeyboardShortcutRow.propTypes = propTypes; -KeyboardShortcutRow.defaultProps = defaultProps; - -exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) { - var color = _ref2.reactDates.color; - return { - KeyboardShortcutRow: { - listStyle: 'none', - margin: '6px 0' - }, - - KeyboardShortcutRow__block: { - marginBottom: 16 - }, - - KeyboardShortcutRow_keyContainer: { - display: 'inline-block', - whiteSpace: 'nowrap', - textAlign: 'right', - marginRight: 6 - }, - - KeyboardShortcutRow_keyContainer__block: { - textAlign: 'left', - display: 'inline' - }, - - KeyboardShortcutRow_key: { - fontFamily: 'monospace', - fontSize: 12, - textTransform: 'uppercase', - background: color.core.grayLightest, - padding: '2px 6px' - }, - - KeyboardShortcutRow_action: { - display: 'inline', - wordBreak: 'break-word', - marginLeft: 8 - } - }; -})(KeyboardShortcutRow); - -/***/ }), -/* 330 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports['default'] = getNumberOfCalendarMonthWeeks; - -var _moment = __webpack_require__(30); - -var _moment2 = _interopRequireDefault(_moment); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - -function getBlankDaysBeforeFirstDay(firstDayOfMonth, firstDayOfWeek) { - var weekDayDiff = firstDayOfMonth.day() - firstDayOfWeek; - return (weekDayDiff + 7) % 7; -} - -function getNumberOfCalendarMonthWeeks(month) { - var firstDayOfWeek = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _moment2['default'].localeData().firstDayOfWeek(); - - var firstDayOfMonth = month.clone().startOf('month'); - var numBlankDays = getBlankDaysBeforeFirstDay(firstDayOfMonth, firstDayOfWeek); - return Math.ceil((numBlankDays + month.daysInMonth()) / 7); -} - -/***/ }), -/* 331 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports['default'] = getActiveElement; -function getActiveElement() { - return typeof document !== 'undefined' && document.activeElement; -} - -/***/ }), -/* 332 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.PureSingleDatePicker = undefined; - -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -var _object = __webpack_require__(52); - -var _object2 = _interopRequireDefault(_object); - -var _react = __webpack_require__(21); - -var _react2 = _interopRequireDefault(_react); - -var _moment = __webpack_require__(30); - -var _moment2 = _interopRequireDefault(_moment); - -var _reactWithStyles = __webpack_require__(58); - -var _reactPortal = __webpack_require__(214); - -var _airbnbPropTypes = __webpack_require__(48); - -var _consolidatedEvents = __webpack_require__(104); - -var _isTouchDevice = __webpack_require__(82); - -var _isTouchDevice2 = _interopRequireDefault(_isTouchDevice); - -var _reactOutsideClickHandler = __webpack_require__(134); - -var _reactOutsideClickHandler2 = _interopRequireDefault(_reactOutsideClickHandler); - -var _SingleDatePickerShape = __webpack_require__(206); - -var _SingleDatePickerShape2 = _interopRequireDefault(_SingleDatePickerShape); - -var _defaultPhrases = __webpack_require__(53); - -var _toMomentObject = __webpack_require__(80); - -var _toMomentObject2 = _interopRequireDefault(_toMomentObject); - -var _toLocalizedDateString = __webpack_require__(140); - -var _toLocalizedDateString2 = _interopRequireDefault(_toLocalizedDateString); - -var _getResponsiveContainerStyles = __webpack_require__(190); - -var _getResponsiveContainerStyles2 = _interopRequireDefault(_getResponsiveContainerStyles); - -var _getDetachedContainerStyles = __webpack_require__(191); - -var _getDetachedContainerStyles2 = _interopRequireDefault(_getDetachedContainerStyles); - -var _getInputHeight = __webpack_require__(138); - -var _getInputHeight2 = _interopRequireDefault(_getInputHeight); - -var _isInclusivelyAfterDay = __webpack_require__(93); - -var _isInclusivelyAfterDay2 = _interopRequireDefault(_isInclusivelyAfterDay); - -var _disableScroll2 = __webpack_require__(192); - -var _disableScroll3 = _interopRequireDefault(_disableScroll2); - -var _SingleDatePickerInput = __webpack_require__(207); - -var _SingleDatePickerInput2 = _interopRequireDefault(_SingleDatePickerInput); - -var _DayPickerSingleDateController = __webpack_require__(205); - -var _DayPickerSingleDateController2 = _interopRequireDefault(_DayPickerSingleDateController); - -var _CloseButton = __webpack_require__(95); - -var _CloseButton2 = _interopRequireDefault(_CloseButton); - -var _constants = __webpack_require__(41); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, _SingleDatePickerShape2['default'])); - -var defaultProps = { - // required props for a functional interactive SingleDatePicker - date: null, - focused: false, - - // input related props - id: 'date', - placeholder: 'Date', - disabled: false, - required: false, - readOnly: false, - screenReaderInputMessage: '', - showClearDate: false, - showDefaultInputIcon: false, - inputIconPosition: _constants.ICON_BEFORE_POSITION, - customInputIcon: null, - customCloseIcon: null, - noBorder: false, - block: false, - small: false, - regular: false, - verticalSpacing: _constants.DEFAULT_VERTICAL_SPACING, - keepFocusOnInput: false, - - // calendar presentation and interaction related props - orientation: _constants.HORIZONTAL_ORIENTATION, - anchorDirection: _constants.ANCHOR_LEFT, - openDirection: _constants.OPEN_DOWN, - horizontalMargin: 0, - withPortal: false, - withFullScreenPortal: false, - appendToBody: false, - disableScroll: false, - initialVisibleMonth: null, - firstDayOfWeek: null, - numberOfMonths: 2, - keepOpenOnDateSelect: false, - reopenPickerOnClearDate: false, - renderCalendarInfo: null, - calendarInfoPosition: _constants.INFO_POSITION_BOTTOM, - hideKeyboardShortcutsPanel: false, - daySize: _constants.DAY_SIZE, - isRTL: false, - verticalHeight: null, - transitionDuration: undefined, - horizontalMonthPadding: 13, - - // navigation related props - navPrev: null, - navNext: null, - - onPrevMonthClick: function () { - function onPrevMonthClick() {} - - return onPrevMonthClick; - }(), - onNextMonthClick: function () { - function onNextMonthClick() {} - - return onNextMonthClick; - }(), - onClose: function () { - function onClose() {} - - return onClose; - }(), - - - // month presentation and interaction related props - renderMonthText: null, - - // day presentation and interaction related props - renderCalendarDay: undefined, - renderDayContents: null, - renderMonthElement: null, - enableOutsideDays: false, - isDayBlocked: function () { - function isDayBlocked() { - return false; - } - - return isDayBlocked; - }(), - isOutsideRange: function () { - function isOutsideRange(day) { - return !(0, _isInclusivelyAfterDay2['default'])(day, (0, _moment2['default'])()); - } - - return isOutsideRange; - }(), - isDayHighlighted: function () { - function isDayHighlighted() {} - - return isDayHighlighted; - }(), - - // internationalization props - displayFormat: function () { - function displayFormat() { - return _moment2['default'].localeData().longDateFormat('L'); - } - - return displayFormat; - }(), - monthFormat: 'MMMM YYYY', - weekDayFormat: 'dd', - phrases: _defaultPhrases.SingleDatePickerPhrases, - dayAriaLabelFormat: undefined -}; - -var SingleDatePicker = function (_React$Component) { - _inherits(SingleDatePicker, _React$Component); - - function SingleDatePicker(props) { - _classCallCheck(this, SingleDatePicker); - - var _this = _possibleConstructorReturn(this, (SingleDatePicker.__proto__ || Object.getPrototypeOf(SingleDatePicker)).call(this, props)); - - _this.isTouchDevice = false; - - _this.state = { - dayPickerContainerStyles: {}, - isDayPickerFocused: false, - isInputFocused: false, - showKeyboardShortcuts: false - }; - - _this.onDayPickerFocus = _this.onDayPickerFocus.bind(_this); - _this.onDayPickerBlur = _this.onDayPickerBlur.bind(_this); - _this.showKeyboardShortcutsPanel = _this.showKeyboardShortcutsPanel.bind(_this); - - _this.onChange = _this.onChange.bind(_this); - _this.onFocus = _this.onFocus.bind(_this); - _this.onClearFocus = _this.onClearFocus.bind(_this); - _this.clearDate = _this.clearDate.bind(_this); - - _this.responsivizePickerPosition = _this.responsivizePickerPosition.bind(_this); - _this.disableScroll = _this.disableScroll.bind(_this); - - _this.setDayPickerContainerRef = _this.setDayPickerContainerRef.bind(_this); - _this.setContainerRef = _this.setContainerRef.bind(_this); - return _this; - } - - /* istanbul ignore next */ - - - _createClass(SingleDatePicker, [{ - key: 'componentDidMount', - value: function () { - function componentDidMount() { - this.removeEventListener = (0, _consolidatedEvents.addEventListener)(window, 'resize', this.responsivizePickerPosition, { passive: true }); - this.responsivizePickerPosition(); - this.disableScroll(); - - var focused = this.props.focused; - - - if (focused) { - this.setState({ - isInputFocused: true - }); - } - - this.isTouchDevice = (0, _isTouchDevice2['default'])(); - } - - return componentDidMount; - }() - }, { - key: 'componentDidUpdate', - value: function () { - function componentDidUpdate(prevProps) { - var focused = this.props.focused; - - if (!prevProps.focused && focused) { - this.responsivizePickerPosition(); - this.disableScroll(); - } else if (prevProps.focused && !focused) { - if (this.enableScroll) this.enableScroll(); - } - } - - return componentDidUpdate; - }() - - /* istanbul ignore next */ - - }, { - key: 'componentWillUnmount', - value: function () { - function componentWillUnmount() { - if (this.removeEventListener) this.removeEventListener(); - if (this.enableScroll) this.enableScroll(); - } - - return componentWillUnmount; - }() - }, { - key: 'onChange', - value: function () { - function onChange(dateString) { - var _props = this.props, - isOutsideRange = _props.isOutsideRange, - keepOpenOnDateSelect = _props.keepOpenOnDateSelect, - onDateChange = _props.onDateChange, - onFocusChange = _props.onFocusChange, - onClose = _props.onClose; - - var newDate = (0, _toMomentObject2['default'])(dateString, this.getDisplayFormat()); - - var isValid = newDate && !isOutsideRange(newDate); - if (isValid) { - onDateChange(newDate); - if (!keepOpenOnDateSelect) { - onFocusChange({ focused: false }); - onClose({ date: newDate }); - } - } else { - onDateChange(null); - } - } - - return onChange; - }() - }, { - key: 'onFocus', - value: function () { - function onFocus() { - var _props2 = this.props, - disabled = _props2.disabled, - onFocusChange = _props2.onFocusChange, - readOnly = _props2.readOnly, - withPortal = _props2.withPortal, - withFullScreenPortal = _props2.withFullScreenPortal, - keepFocusOnInput = _props2.keepFocusOnInput; - - - var withAnyPortal = withPortal || withFullScreenPortal; - var moveFocusToDayPicker = withAnyPortal || readOnly && !keepFocusOnInput || this.isTouchDevice && !keepFocusOnInput; - - if (moveFocusToDayPicker) { - this.onDayPickerFocus(); - } else { - this.onDayPickerBlur(); - } - - if (!disabled) { - onFocusChange({ focused: true }); - } - } - - return onFocus; - }() - }, { - key: 'onClearFocus', - value: function () { - function onClearFocus(event) { - var _props3 = this.props, - date = _props3.date, - focused = _props3.focused, - onFocusChange = _props3.onFocusChange, - onClose = _props3.onClose, - appendToBody = _props3.appendToBody; - - if (!focused) return; - if (appendToBody && this.dayPickerContainer.contains(event.target)) return; - - this.setState({ - isInputFocused: false, - isDayPickerFocused: false - }); - - onFocusChange({ focused: false }); - onClose({ date: date }); - } - - return onClearFocus; - }() - }, { - key: 'onDayPickerFocus', - value: function () { - function onDayPickerFocus() { - this.setState({ - isInputFocused: false, - isDayPickerFocused: true, - showKeyboardShortcuts: false - }); - } - - return onDayPickerFocus; - }() - }, { - key: 'onDayPickerBlur', - value: function () { - function onDayPickerBlur() { - this.setState({ - isInputFocused: true, - isDayPickerFocused: false, - showKeyboardShortcuts: false - }); - } - - return onDayPickerBlur; - }() - }, { - key: 'getDateString', - value: function () { - function getDateString(date) { - var displayFormat = this.getDisplayFormat(); - if (date && displayFormat) { - return date && date.format(displayFormat); - } - return (0, _toLocalizedDateString2['default'])(date); - } - - return getDateString; - }() - }, { - key: 'getDisplayFormat', - value: function () { - function getDisplayFormat() { - var displayFormat = this.props.displayFormat; - - return typeof displayFormat === 'string' ? displayFormat : displayFormat(); - } - - return getDisplayFormat; - }() - }, { - key: 'setDayPickerContainerRef', - value: function () { - function setDayPickerContainerRef(ref) { - this.dayPickerContainer = ref; - } - - return setDayPickerContainerRef; - }() - }, { - key: 'setContainerRef', - value: function () { - function setContainerRef(ref) { - this.container = ref; - } - - return setContainerRef; - }() - }, { - key: 'clearDate', - value: function () { - function clearDate() { - var _props4 = this.props, - onDateChange = _props4.onDateChange, - reopenPickerOnClearDate = _props4.reopenPickerOnClearDate, - onFocusChange = _props4.onFocusChange; - - onDateChange(null); - if (reopenPickerOnClearDate) { - onFocusChange({ focused: true }); - } - } - - return clearDate; - }() - }, { - key: 'disableScroll', - value: function () { - function disableScroll() { - var _props5 = this.props, - appendToBody = _props5.appendToBody, - propDisableScroll = _props5.disableScroll, - focused = _props5.focused; - - if (!appendToBody && !propDisableScroll) return; - if (!focused) return; - - // Disable scroll for every ancestor of this up to the - // document level. This ensures the input and the picker never move. Other - // sibling elements or the picker itself can scroll. - this.enableScroll = (0, _disableScroll3['default'])(this.container); - } - - return disableScroll; - }() - - /* istanbul ignore next */ - - }, { - key: 'responsivizePickerPosition', - value: function () { - function responsivizePickerPosition() { - // It's possible the portal props have been changed in response to window resizes - // So let's ensure we reset this back to the base state each time - this.setState({ dayPickerContainerStyles: {} }); - - var _props6 = this.props, - openDirection = _props6.openDirection, - anchorDirection = _props6.anchorDirection, - horizontalMargin = _props6.horizontalMargin, - withPortal = _props6.withPortal, - withFullScreenPortal = _props6.withFullScreenPortal, - appendToBody = _props6.appendToBody, - focused = _props6.focused; - var dayPickerContainerStyles = this.state.dayPickerContainerStyles; - - - if (!focused) { - return; - } - - var isAnchoredLeft = anchorDirection === _constants.ANCHOR_LEFT; - - if (!withPortal && !withFullScreenPortal) { - var containerRect = this.dayPickerContainer.getBoundingClientRect(); - var currentOffset = dayPickerContainerStyles[anchorDirection] || 0; - var containerEdge = isAnchoredLeft ? containerRect[_constants.ANCHOR_RIGHT] : containerRect[_constants.ANCHOR_LEFT]; - - this.setState({ - dayPickerContainerStyles: (0, _object2['default'])({}, (0, _getResponsiveContainerStyles2['default'])(anchorDirection, currentOffset, containerEdge, horizontalMargin), appendToBody && (0, _getDetachedContainerStyles2['default'])(openDirection, anchorDirection, this.container)) - }); - } - } - - return responsivizePickerPosition; - }() - }, { - key: 'showKeyboardShortcutsPanel', - value: function () { - function showKeyboardShortcutsPanel() { - this.setState({ - isInputFocused: false, - isDayPickerFocused: true, - showKeyboardShortcuts: true - }); - } - - return showKeyboardShortcutsPanel; - }() - }, { - key: 'maybeRenderDayPickerWithPortal', - value: function () { - function maybeRenderDayPickerWithPortal() { - var _props7 = this.props, - focused = _props7.focused, - withPortal = _props7.withPortal, - withFullScreenPortal = _props7.withFullScreenPortal, - appendToBody = _props7.appendToBody; - - - if (!focused) { - return null; - } - - if (withPortal || withFullScreenPortal || appendToBody) { - return _react2['default'].createElement( - _reactPortal.Portal, - null, - this.renderDayPicker() - ); - } - - return this.renderDayPicker(); - } - - return maybeRenderDayPickerWithPortal; - }() - }, { - key: 'renderDayPicker', - value: function () { - function renderDayPicker() { - var _props8 = this.props, - anchorDirection = _props8.anchorDirection, - openDirection = _props8.openDirection, - onDateChange = _props8.onDateChange, - date = _props8.date, - onFocusChange = _props8.onFocusChange, - focused = _props8.focused, - enableOutsideDays = _props8.enableOutsideDays, - numberOfMonths = _props8.numberOfMonths, - orientation = _props8.orientation, - monthFormat = _props8.monthFormat, - navPrev = _props8.navPrev, - navNext = _props8.navNext, - onPrevMonthClick = _props8.onPrevMonthClick, - onNextMonthClick = _props8.onNextMonthClick, - onClose = _props8.onClose, - withPortal = _props8.withPortal, - withFullScreenPortal = _props8.withFullScreenPortal, - keepOpenOnDateSelect = _props8.keepOpenOnDateSelect, - initialVisibleMonth = _props8.initialVisibleMonth, - renderMonthText = _props8.renderMonthText, - renderCalendarDay = _props8.renderCalendarDay, - renderDayContents = _props8.renderDayContents, - renderCalendarInfo = _props8.renderCalendarInfo, - renderMonthElement = _props8.renderMonthElement, - calendarInfoPosition = _props8.calendarInfoPosition, - hideKeyboardShortcutsPanel = _props8.hideKeyboardShortcutsPanel, - firstDayOfWeek = _props8.firstDayOfWeek, - customCloseIcon = _props8.customCloseIcon, - phrases = _props8.phrases, - dayAriaLabelFormat = _props8.dayAriaLabelFormat, - daySize = _props8.daySize, - isRTL = _props8.isRTL, - isOutsideRange = _props8.isOutsideRange, - isDayBlocked = _props8.isDayBlocked, - isDayHighlighted = _props8.isDayHighlighted, - weekDayFormat = _props8.weekDayFormat, - styles = _props8.styles, - verticalHeight = _props8.verticalHeight, - transitionDuration = _props8.transitionDuration, - verticalSpacing = _props8.verticalSpacing, - horizontalMonthPadding = _props8.horizontalMonthPadding, - small = _props8.small, - reactDates = _props8.theme.reactDates; - var _state = this.state, - dayPickerContainerStyles = _state.dayPickerContainerStyles, - isDayPickerFocused = _state.isDayPickerFocused, - showKeyboardShortcuts = _state.showKeyboardShortcuts; - - - var onOutsideClick = !withFullScreenPortal && withPortal ? this.onClearFocus : undefined; - var closeIcon = customCloseIcon || _react2['default'].createElement(_CloseButton2['default'], null); - - var inputHeight = (0, _getInputHeight2['default'])(reactDates, small); - - var withAnyPortal = withPortal || withFullScreenPortal; - - return _react2['default'].createElement( - 'div', - _extends({ // eslint-disable-line jsx-a11y/no-static-element-interactions - ref: this.setDayPickerContainerRef - }, (0, _reactWithStyles.css)(styles.SingleDatePicker_picker, anchorDirection === _constants.ANCHOR_LEFT && styles.SingleDatePicker_picker__directionLeft, anchorDirection === _constants.ANCHOR_RIGHT && styles.SingleDatePicker_picker__directionRight, openDirection === _constants.OPEN_DOWN && styles.SingleDatePicker_picker__openDown, openDirection === _constants.OPEN_UP && styles.SingleDatePicker_picker__openUp, !withAnyPortal && openDirection === _constants.OPEN_DOWN && { - top: inputHeight + verticalSpacing - }, !withAnyPortal && openDirection === _constants.OPEN_UP && { - bottom: inputHeight + verticalSpacing - }, orientation === _constants.HORIZONTAL_ORIENTATION && styles.SingleDatePicker_picker__horizontal, orientation === _constants.VERTICAL_ORIENTATION && styles.SingleDatePicker_picker__vertical, withAnyPortal && styles.SingleDatePicker_picker__portal, withFullScreenPortal && styles.SingleDatePicker_picker__fullScreenPortal, isRTL && styles.SingleDatePicker_picker__rtl, dayPickerContainerStyles), { - onClick: onOutsideClick - }), - _react2['default'].createElement(_DayPickerSingleDateController2['default'], { - date: date, - onDateChange: onDateChange, - onFocusChange: onFocusChange, - orientation: orientation, - enableOutsideDays: enableOutsideDays, - numberOfMonths: numberOfMonths, - monthFormat: monthFormat, - withPortal: withAnyPortal, - focused: focused, - keepOpenOnDateSelect: keepOpenOnDateSelect, - hideKeyboardShortcutsPanel: hideKeyboardShortcutsPanel, - initialVisibleMonth: initialVisibleMonth, - navPrev: navPrev, - navNext: navNext, - onPrevMonthClick: onPrevMonthClick, - onNextMonthClick: onNextMonthClick, - onClose: onClose, - renderMonthText: renderMonthText, - renderCalendarDay: renderCalendarDay, - renderDayContents: renderDayContents, - renderCalendarInfo: renderCalendarInfo, - renderMonthElement: renderMonthElement, - calendarInfoPosition: calendarInfoPosition, - isFocused: isDayPickerFocused, - showKeyboardShortcuts: showKeyboardShortcuts, - onBlur: this.onDayPickerBlur, - phrases: phrases, - dayAriaLabelFormat: dayAriaLabelFormat, - daySize: daySize, - isRTL: isRTL, - isOutsideRange: isOutsideRange, - isDayBlocked: isDayBlocked, - isDayHighlighted: isDayHighlighted, - firstDayOfWeek: firstDayOfWeek, - weekDayFormat: weekDayFormat, - verticalHeight: verticalHeight, - transitionDuration: transitionDuration, - horizontalMonthPadding: horizontalMonthPadding - }), - withFullScreenPortal && _react2['default'].createElement( - 'button', - _extends({}, (0, _reactWithStyles.css)(styles.SingleDatePicker_closeButton), { - 'aria-label': phrases.closeDatePicker, - type: 'button', - onClick: this.onClearFocus - }), - _react2['default'].createElement( - 'div', - (0, _reactWithStyles.css)(styles.SingleDatePicker_closeButton_svg), - closeIcon - ) - ) - ); - } - - return renderDayPicker; - }() - }, { - key: 'render', - value: function () { - function render() { - var _props9 = this.props, - id = _props9.id, - placeholder = _props9.placeholder, - disabled = _props9.disabled, - focused = _props9.focused, - required = _props9.required, - readOnly = _props9.readOnly, - openDirection = _props9.openDirection, - showClearDate = _props9.showClearDate, - showDefaultInputIcon = _props9.showDefaultInputIcon, - inputIconPosition = _props9.inputIconPosition, - customCloseIcon = _props9.customCloseIcon, - customInputIcon = _props9.customInputIcon, - date = _props9.date, - phrases = _props9.phrases, - withPortal = _props9.withPortal, - withFullScreenPortal = _props9.withFullScreenPortal, - screenReaderInputMessage = _props9.screenReaderInputMessage, - isRTL = _props9.isRTL, - noBorder = _props9.noBorder, - block = _props9.block, - small = _props9.small, - regular = _props9.regular, - verticalSpacing = _props9.verticalSpacing, - styles = _props9.styles; - var isInputFocused = this.state.isInputFocused; - - - var displayValue = this.getDateString(date); - - var enableOutsideClick = !withPortal && !withFullScreenPortal; - - var hideFang = verticalSpacing < _constants.FANG_HEIGHT_PX; - - var input = _react2['default'].createElement(_SingleDatePickerInput2['default'], { - id: id, - placeholder: placeholder, - focused: focused, - isFocused: isInputFocused, - disabled: disabled, - required: required, - readOnly: readOnly, - openDirection: openDirection, - showCaret: !withPortal && !withFullScreenPortal && !hideFang, - onClearDate: this.clearDate, - showClearDate: showClearDate, - showDefaultInputIcon: showDefaultInputIcon, - inputIconPosition: inputIconPosition, - customCloseIcon: customCloseIcon, - customInputIcon: customInputIcon, - displayValue: displayValue, - onChange: this.onChange, - onFocus: this.onFocus, - onKeyDownShiftTab: this.onClearFocus, - onKeyDownTab: this.onClearFocus, - onKeyDownArrowDown: this.onDayPickerFocus, - onKeyDownQuestionMark: this.showKeyboardShortcutsPanel, - screenReaderMessage: screenReaderInputMessage, - phrases: phrases, - isRTL: isRTL, - noBorder: noBorder, - block: block, - small: small, - regular: regular, - verticalSpacing: verticalSpacing - }); - - return _react2['default'].createElement( - 'div', - _extends({ - ref: this.setContainerRef - }, (0, _reactWithStyles.css)(styles.SingleDatePicker, block && styles.SingleDatePicker__block)), - enableOutsideClick && _react2['default'].createElement( - _reactOutsideClickHandler2['default'], - { onOutsideClick: this.onClearFocus }, - input, - this.maybeRenderDayPickerWithPortal() - ), - !enableOutsideClick && input, - !enableOutsideClick && this.maybeRenderDayPickerWithPortal() - ); - } - - return render; - }() - }]); - - return SingleDatePicker; -}(_react2['default'].Component); - -SingleDatePicker.propTypes = propTypes; -SingleDatePicker.defaultProps = defaultProps; - -exports.PureSingleDatePicker = SingleDatePicker; -exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref) { - var _ref$reactDates = _ref.reactDates, - color = _ref$reactDates.color, - zIndex = _ref$reactDates.zIndex; - return { - SingleDatePicker: { - position: 'relative', - display: 'inline-block' - }, - - SingleDatePicker__block: { - display: 'block' - }, - - SingleDatePicker_picker: { - zIndex: zIndex + 1, - backgroundColor: color.background, - position: 'absolute' - }, - - SingleDatePicker_picker__rtl: { - direction: 'rtl' - }, - - SingleDatePicker_picker__directionLeft: { - left: 0 - }, - - SingleDatePicker_picker__directionRight: { - right: 0 - }, - - SingleDatePicker_picker__portal: { - backgroundColor: 'rgba(0, 0, 0, 0.3)', - position: 'fixed', - top: 0, - left: 0, - height: '100%', - width: '100%' - }, - - SingleDatePicker_picker__fullScreenPortal: { - backgroundColor: color.background - }, - - SingleDatePicker_closeButton: { - background: 'none', - border: 0, - color: 'inherit', - font: 'inherit', - lineHeight: 'normal', - overflow: 'visible', - cursor: 'pointer', - - position: 'absolute', - top: 0, - right: 0, - padding: 15, - zIndex: zIndex + 2, - - ':hover': { - color: 'darken(' + String(color.core.grayLighter) + ', 10%)', - textDecoration: 'none' - }, - - ':focus': { - color: 'darken(' + String(color.core.grayLighter) + ', 10%)', - textDecoration: 'none' - } - }, - - SingleDatePicker_closeButton_svg: { - height: 15, - width: 15, - fill: color.core.grayLighter - } - }; -})(SingleDatePicker); - -/***/ }), -/* 333 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports['default'] = isInclusivelyBeforeDay; - -var _moment = __webpack_require__(30); - -var _moment2 = _interopRequireDefault(_moment); - -var _isAfterDay = __webpack_require__(107); - -var _isAfterDay2 = _interopRequireDefault(_isAfterDay); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - -function isInclusivelyBeforeDay(a, b) { - if (!_moment2['default'].isMoment(a) || !_moment2['default'].isMoment(b)) return false; - return !(0, _isAfterDay2['default'])(a, b); -} - -/***/ }), -/* 334 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var __assign = (this && this.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result["default"] = mod; - return result; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -var React = __importStar(__webpack_require__(21)); -var styles = { - top: { - width: '100%', - height: '10px', - top: '-5px', - left: '0px', - cursor: 'row-resize', - }, - right: { - width: '10px', - height: '100%', - top: '0px', - right: '-5px', - cursor: 'col-resize', - }, - bottom: { - width: '100%', - height: '10px', - bottom: '-5px', - left: '0px', - cursor: 'row-resize', - }, - left: { - width: '10px', - height: '100%', - top: '0px', - left: '-5px', - cursor: 'col-resize', - }, - topRight: { - width: '20px', - height: '20px', - position: 'absolute', - right: '-10px', - top: '-10px', - cursor: 'ne-resize', - }, - bottomRight: { - width: '20px', - height: '20px', - position: 'absolute', - right: '-10px', - bottom: '-10px', - cursor: 'se-resize', - }, - bottomLeft: { - width: '20px', - height: '20px', - position: 'absolute', - left: '-10px', - bottom: '-10px', - cursor: 'sw-resize', - }, - topLeft: { - width: '20px', - height: '20px', - position: 'absolute', - left: '-10px', - top: '-10px', - cursor: 'nw-resize', - }, -}; -function Resizer(props) { - return (React.createElement("div", { className: props.className || '', style: __assign({ position: 'absolute', userSelect: 'none' }, styles[props.direction], (props.replaceStyles || {})), onMouseDown: function (e) { - props.onResizeStart(e, props.direction); - }, onTouchStart: function (e) { - props.onResizeStart(e, props.direction); - } }, props.children)); -} -exports.Resizer = Resizer; - - -/***/ }), -/* 335 */ -/***/ (function(module, exports) { - -// -// Main -// - -function memoize (fn, options) { - var cache = options && options.cache - ? options.cache - : cacheDefault - - var serializer = options && options.serializer - ? options.serializer - : serializerDefault - - var strategy = options && options.strategy - ? options.strategy - : strategyDefault - - return strategy(fn, { - cache: cache, - serializer: serializer - }) -} - -// -// Strategy -// - -function isPrimitive (value) { - return value == null || typeof value === 'number' || typeof value === 'boolean' // || typeof value === "string" 'unsafe' primitive for our needs -} - -function monadic (fn, cache, serializer, arg) { - var cacheKey = isPrimitive(arg) ? arg : serializer(arg) - - var computedValue = cache.get(cacheKey) - if (typeof computedValue === 'undefined') { - computedValue = fn.call(this, arg) - cache.set(cacheKey, computedValue) - } - - return computedValue -} - -function variadic (fn, cache, serializer) { - var args = Array.prototype.slice.call(arguments, 3) - var cacheKey = serializer(args) - - var computedValue = cache.get(cacheKey) - if (typeof computedValue === 'undefined') { - computedValue = fn.apply(this, args) - cache.set(cacheKey, computedValue) - } - - return computedValue -} - -function assemble (fn, context, strategy, cache, serialize) { - return strategy.bind( - context, - fn, - cache, - serialize - ) -} - -function strategyDefault (fn, options) { - var strategy = fn.length === 1 ? monadic : variadic - - return assemble( - fn, - this, - strategy, - options.cache.create(), - options.serializer - ) -} - -function strategyVariadic (fn, options) { - var strategy = variadic - - return assemble( - fn, - this, - strategy, - options.cache.create(), - options.serializer - ) -} - -function strategyMonadic (fn, options) { - var strategy = monadic - - return assemble( - fn, - this, - strategy, - options.cache.create(), - options.serializer - ) -} - -// -// Serializer -// - -function serializerDefault () { - return JSON.stringify(arguments) -} - -// -// Cache -// - -function ObjectWithoutPrototypeCache () { - this.cache = Object.create(null) -} - -ObjectWithoutPrototypeCache.prototype.has = function (key) { - return (key in this.cache) -} - -ObjectWithoutPrototypeCache.prototype.get = function (key) { - return this.cache[key] -} - -ObjectWithoutPrototypeCache.prototype.set = function (key, value) { - this.cache[key] = value -} - -var cacheDefault = { - create: function create () { - return new ObjectWithoutPrototypeCache() - } -} - -// -// API -// - -module.exports = memoize -module.exports.strategies = { - variadic: strategyVariadic, - monadic: strategyMonadic -} - - -/***/ }), -/* 336 */, -/* 337 */, -/* 338 */, -/* 339 */, -/* 340 */, -/* 341 */, -/* 342 */, -/* 343 */, -/* 344 */, -/* 345 */, -/* 346 */, -/* 347 */, -/* 348 */, -/* 349 */, -/* 350 */, -/* 351 */, -/* 352 */, -/* 353 */, -/* 354 */, -/* 355 */, -/* 356 */, -/* 357 */, -/* 358 */, -/* 359 */, -/* 360 */, -/* 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__(6); +// EXTERNAL MODULE: external {"this":["wp","primitives"]} +var external_this_wp_primitives_ = __webpack_require__(18); + +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/animate/index.js +var animate = __webpack_require__(135); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(11); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(20); +var objectWithoutProperties = __webpack_require__(19); + +// EXTERNAL MODULE: external {"this":["wp","element"]} +var external_this_wp_element_ = __webpack_require__(0); + +// EXTERNAL MODULE: external {"this":["wp","compose"]} +var external_this_wp_compose_ = __webpack_require__(8); + +// EXTERNAL MODULE: external {"this":["wp","i18n"]} +var external_this_wp_i18n_ = __webpack_require__(1); // 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); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(5); -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/primitives/svg/index.js +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/visually-hidden/utils.js +/** + * Utility Functions + */ + +/** + * renderAsRenderProps is used to wrap a component and convert + * the passed property "as" either a string or component, to the + * rendered tag if a string, or component. + * + * See VisuallyHidden hidden for example. + * + * @param {string|WPComponent} as A tag or component to render. + * @return {WPComponent} The rendered component. + */ +function renderAsRenderProps(_ref) { + var _ref$as = _ref.as, + Component = _ref$as === void 0 ? 'div' : _ref$as, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["as"]); + + if (typeof props.children === 'function') { + return props.children(props); + } + + return Object(external_this_wp_element_["createElement"])(Component, props); +} + + + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/visually-hidden/index.js + + + +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + +/** + * Internal dependencies + */ + +/** + * VisuallyHidden component to render text out non-visually + * for use in devices such as a screen reader. + */ + +function VisuallyHidden(_ref) { + var _ref$as = _ref.as, + as = _ref$as === void 0 ? 'div' : _ref$as, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["as"]); + + return renderAsRenderProps(_objectSpread({ + as: as, + className: 'components-visually-hidden' + }, props)); +} + +/* harmony default export */ var visually_hidden = (VisuallyHidden); + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/base-control/index.js + + /** * External dependencies */ +/** + * Internal dependencies + */ + + + +function BaseControl(_ref) { + var id = _ref.id, + label = _ref.label, + hideLabelFromVision = _ref.hideLabelFromVision, + help = _ref.help, + className = _ref.className, + children = _ref.children; + return Object(external_this_wp_element_["createElement"])("div", { + className: classnames_default()('components-base-control', className) + }, Object(external_this_wp_element_["createElement"])("div", { + className: "components-base-control__field" + }, label && id && (hideLabelFromVision ? Object(external_this_wp_element_["createElement"])(visually_hidden, { + as: "label", + htmlFor: id + }, label) : Object(external_this_wp_element_["createElement"])("label", { + className: "components-base-control__label", + htmlFor: id + }, label)), label && !id && (hideLabelFromVision ? Object(external_this_wp_element_["createElement"])(visually_hidden, { + as: "label" + }, label) : Object(external_this_wp_element_["createElement"])(BaseControl.VisualLabel, null, label)), children), !!help && Object(external_this_wp_element_["createElement"])("p", { + id: id + '__help', + className: "components-base-control__help" + }, help)); +} + +BaseControl.VisualLabel = function (_ref2) { + var className = _ref2.className, + children = _ref2.children; + className = classnames_default()('components-base-control__label', className); + return Object(external_this_wp_element_["createElement"])("span", { + className: className + }, children); +}; + +/* harmony default export */ var base_control = (BaseControl); + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/angle-picker/index.js + + + + /** * WordPress dependencies */ -var svg_Circle = function Circle(props) { - return Object(external_this_wp_element_["createElement"])('circle', props); -}; -var svg_G = function G(props) { - return Object(external_this_wp_element_["createElement"])('g', props); -}; -var svg_Path = function Path(props) { - return Object(external_this_wp_element_["createElement"])('path', props); -}; -var svg_Polygon = function Polygon(props) { - return Object(external_this_wp_element_["createElement"])('polygon', props); -}; -var svg_Rect = function Rect(props) { - return Object(external_this_wp_element_["createElement"])('rect', 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' - }); // Disable reason: We need to have a way to render HTML tag for web. - // eslint-disable-next-line react/forbid-elements - - - return Object(external_this_wp_element_["createElement"])("svg", appliedProps); -}; - -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/primitives/horizontal-rule/index.js -var HorizontalRule = 'hr'; - -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/primitives/block-quotation/index.js -var BlockQuotation = 'blockquote'; - -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/primitives/index.js - - - - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(9); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(22); - -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/animate/index.js - - /** - * External dependencies + * Internal dependencies */ -function Animate(_ref) { - var type = _ref.type, - _ref$options = _ref.options, - options = _ref$options === void 0 ? {} : _ref$options, - children = _ref.children; - if (type === 'appear') { - var _classnames; +function getAngle(centerX, centerY, pointX, pointY) { + var y = pointY - centerY; + var x = pointX - centerX; + var angleInRadians = Math.atan2(y, x); + var angleInDeg = Math.round(angleInRadians * (180 / Math.PI)) + 90; - var _options$origin = options.origin, - origin = _options$origin === void 0 ? 'top' : _options$origin; - - var _origin$split = origin.split(' '), - _origin$split2 = Object(slicedToArray["a" /* default */])(_origin$split, 2), - yAxis = _origin$split2[0], - _origin$split2$ = _origin$split2[1], - xAxis = _origin$split2$ === void 0 ? 'center' : _origin$split2$; - - return children({ - className: classnames_default()('components-animate__appear', (_classnames = {}, Object(defineProperty["a" /* default */])(_classnames, 'is-from-' + xAxis, xAxis !== 'center'), Object(defineProperty["a" /* default */])(_classnames, 'is-from-' + yAxis, yAxis !== 'middle'), _classnames)) - }); + if (angleInDeg < 0) { + return 360 + angleInDeg; } - if (type === 'slide-in') { - var _options$origin2 = options.origin, - _origin = _options$origin2 === void 0 ? 'left' : _options$origin2; - - return children({ - className: classnames_default()('components-animate__slide-in', 'is-from-' + _origin) - }); - } - - if (type === 'loading') { - return children({ - className: classnames_default()('components-animate__loading') - }); - } - - return children({}); + return angleInDeg; } -/* harmony default export */ var build_module_animate = (Animate); +var angle_picker_AngleCircle = function AngleCircle(_ref) { + var value = _ref.value, + onChange = _ref.onChange, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["value", "onChange"]); + + var angleCircleRef = Object(external_this_wp_element_["useRef"])(); + var angleCircleCenter = Object(external_this_wp_element_["useRef"])(); + + var setAngleCircleCenter = function setAngleCircleCenter() { + var rect = angleCircleRef.current.getBoundingClientRect(); + angleCircleCenter.current = { + x: rect.x + rect.width / 2, + y: rect.y + rect.height / 2 + }; + }; + + var changeAngleToPosition = function changeAngleToPosition(event) { + var _angleCircleCenter$cu = angleCircleCenter.current, + centerX = _angleCircleCenter$cu.x, + centerY = _angleCircleCenter$cu.y; + onChange(getAngle(centerX, centerY, event.clientX, event.clientY)); + }; + + var _useDragging = Object(external_this_wp_compose_["__experimentalUseDragging"])({ + onDragStart: function onDragStart(event) { + setAngleCircleCenter(); + changeAngleToPosition(event); + }, + onDragMove: changeAngleToPosition, + onDragEnd: changeAngleToPosition + }), + startDrag = _useDragging.startDrag, + isDragging = _useDragging.isDragging; + + return ( + /* eslint-disable jsx-a11y/no-static-element-interactions */ + Object(external_this_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({ + ref: angleCircleRef, + onMouseDown: startDrag, + className: "components-angle-picker__angle-circle", + style: isDragging ? { + cursor: 'grabbing' + } : undefined + }, props), Object(external_this_wp_element_["createElement"])("div", { + style: value ? { + transform: "rotate(".concat(value, "deg)") + } : undefined, + className: "components-angle-picker__angle-circle-indicator-wrapper" + }, Object(external_this_wp_element_["createElement"])("span", { + className: "components-angle-picker__angle-circle-indicator" + }))) + /* eslint-enable jsx-a11y/no-static-element-interactions */ + + ); +}; + +function AnglePicker(_ref2) { + var value = _ref2.value, + _onChange = _ref2.onChange, + _ref2$label = _ref2.label, + label = _ref2$label === void 0 ? Object(external_this_wp_i18n_["__"])('Angle') : _ref2$label; + var instanceId = Object(external_this_wp_compose_["useInstanceId"])(AnglePicker); + var inputId = "components-angle-picker__input-".concat(instanceId); + return Object(external_this_wp_element_["createElement"])(base_control, { + label: label, + id: inputId, + className: "components-angle-picker" + }, Object(external_this_wp_element_["createElement"])(angle_picker_AngleCircle, { + value: value, + onChange: _onChange, + "aria-hidden": "true" + }), Object(external_this_wp_element_["createElement"])("input", { + className: "components-angle-picker__input-field", + type: "number", + id: inputId, + onChange: function onChange(event) { + var unprocessedValue = event.target.value; + var inputValue = unprocessedValue !== '' ? parseInt(event.target.value, 10) : 0; + + _onChange(inputValue); + }, + value: value, + min: 0, + max: 360, + step: "1" + })); +} // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js -var classCallCheck = __webpack_require__(14); +var classCallCheck = __webpack_require__(13); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js -var possibleConstructorReturn = __webpack_require__(15); +var possibleConstructorReturn = __webpack_require__(14); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js -var getPrototypeOf = __webpack_require__(16); +var getPrototypeOf = __webpack_require__(15); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js var assertThisInitialized = __webpack_require__(7); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(13); +var createClass = __webpack_require__(12); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules -var inherits = __webpack_require__(17); +var inherits = __webpack_require__(16); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(18); +var toConsumableArray = __webpack_require__(17); // 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); - -// EXTERNAL MODULE: external {"this":["wp","i18n"]} -var external_this_wp_i18n_ = __webpack_require__(1); - -// EXTERNAL MODULE: external {"this":["wp","compose"]} -var external_this_wp_compose_ = __webpack_require__(8); +var external_this_wp_keycodes_ = __webpack_require__(20); // EXTERNAL MODULE: external {"this":["wp","richText"]} var external_this_wp_richText_ = __webpack_require__(24); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(12); +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/button/index.js +var build_module_button = __webpack_require__(34); -// 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_); - -// 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 - -/** - * Utility used to compute the popover position over the xAxis - * - * @param {Object} anchorRect Anchor Rect. - * @param {Object} contentSize Content Size. - * @param {string} xAxis Desired xAxis. - * @param {string} corner Desired corner. - * @param {boolean} 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 - - if (xAxis === 'left' && isRTL) { - xAxis = 'right'; - } else if (xAxis === 'right' && isRTL) { - xAxis = 'left'; - } - - if (corner === 'left' && isRTL) { - corner = 'right'; - } else if (corner === 'right' && isRTL) { - corner = 'left'; - } // x axis alignment choices - - - var anchorMidPoint = Math.round(anchorRect.left + anchorRect.width / 2); - var centerAlignment = { - popoverLeft: anchorMidPoint, - contentWidth: (anchorMidPoint - width / 2 > 0 ? width / 2 : anchorMidPoint) + (anchorMidPoint + width / 2 > window.innerWidth ? window.innerWidth - anchorMidPoint : width / 2) - }; - 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 rightAlignment = { - popoverLeft: rightAlignmentX, - contentWidth: rightAlignmentX + width > window.innerWidth ? window.innerWidth - rightAlignmentX : width - }; // Choosing the x axis - - var chosenXAxis = xAxis; - var contentWidth = 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; - - if (chosenXAxis === 'center') { - popoverLeft = centerAlignment.popoverLeft; - } else if (chosenXAxis === 'left') { - popoverLeft = leftAlignment.popoverLeft; - } else { - popoverLeft = rightAlignment.popoverLeft; - } - - return { - xAxis: chosenXAxis, - popoverLeft: popoverLeft, - contentWidth: contentWidth - }; -} -/** - * Utility used to compute the popover position over the yAxis - * - * @param {Object} anchorRect Anchor Rect. - * @param {Object} contentSize Content Size. - * @param {string} yAxis Desired yAxis. - * @param {string} corner Desired corner. - * @param {boolean} 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, 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) - }; - var topAlignment = { - popoverTop: anchorRect.top, - contentHeight: anchorRect.top - HEIGHT_OFFSET - height > 0 ? height : anchorRect.top - HEIGHT_OFFSET - }; - var bottomAlignment = { - popoverTop: anchorRect.bottom, - contentHeight: anchorRect.bottom + HEIGHT_OFFSET + height > window.innerHeight ? window.innerHeight - HEIGHT_OFFSET - anchorRect.bottom : height - }; // Choosing the y axis - - var chosenYAxis = yAxis; - var contentHeight = 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; - - if (chosenYAxis === 'middle') { - popoverTop = middleAlignment.popoverTop; - } else if (chosenYAxis === 'top') { - popoverTop = topAlignment.popoverTop; - } else { - popoverTop = bottomAlignment.popoverTop; - } - - return { - yAxis: chosenYAxis, - popoverTop: popoverTop, - contentHeight: contentHeight - }; -} -/** - * Utility used to compute the popover position and the content max width/height for a popover - * given its anchor rect and its content size. - * - * @param {Object} anchorRect Anchor Rect. - * @param {Object} contentSize Content Size. - * @param {string} position Position. - * @param {boolean} 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, 3), - yAxis = _position$split2[0], - _position$split2$ = _position$split2[1], - xAxis = _position$split2$ === void 0 ? 'center' : _position$split2$, - corner = _position$split2[2]; - - 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); -} - -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-focus-return/context.js - - - - - - - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - -var _createContext = Object(external_this_wp_element_["createContext"])({ - focusHistory: [] -}), - context_Provider = _createContext.Provider, - Consumer = _createContext.Consumer; - -context_Provider.displayName = 'FocusReturnProvider'; -Consumer.displayName = 'FocusReturnConsumer'; -/** - * The maximum history length to capture for the focus stack. When exceeded, - * items should be shifted from the stack for each consecutive push. - * - * @type {number} - */ - -var MAX_STACK_LENGTH = 100; - -var context_FocusReturnProvider = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(FocusReturnProvider, _Component); - - function FocusReturnProvider() { - var _this; - - Object(classCallCheck["a" /* default */])(this, FocusReturnProvider); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(FocusReturnProvider).apply(this, arguments)); - _this.onFocus = _this.onFocus.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.state = { - focusHistory: [] - }; - return _this; - } - - Object(createClass["a" /* default */])(FocusReturnProvider, [{ - key: "onFocus", - value: function onFocus(event) { - var focusHistory = this.state.focusHistory; // Push the focused element to the history stack, keeping only unique - // members but preferring the _last_ occurrence of any duplicates. - // Lodash's `uniq` behavior favors the first occurrence, so the array - // is temporarily reversed prior to it being called upon. Uniqueness - // helps avoid situations where, such as in a constrained tabbing area, - // the user changes focus enough within a transient element that the - // stack may otherwise only consist of members pending destruction, at - // which point focus might have been lost. - - var nextFocusHistory = Object(external_this_lodash_["uniq"])([].concat(Object(toConsumableArray["a" /* default */])(focusHistory), [event.target]).slice(-1 * MAX_STACK_LENGTH).reverse()).reverse(); - this.setState({ - focusHistory: nextFocusHistory - }); - } - }, { - key: "render", - value: function render() { - var _this$props = this.props, - children = _this$props.children, - className = _this$props.className; - return Object(external_this_wp_element_["createElement"])(context_Provider, { - value: this.state - }, Object(external_this_wp_element_["createElement"])("div", { - onFocus: this.onFocus, - className: className - }, children)); - } - }]); - - return FocusReturnProvider; -}(external_this_wp_element_["Component"]); - -/* harmony default export */ var with_focus_return_context = (context_FocusReturnProvider); - - -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-focus-return/index.js - - - - - - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - -/** - * Internal dependencies - */ - - -/** - * Returns true if the given object is component-like. An object is component- - * like if it is an instance of wp.element.Component, or is a function. - * - * @param {*} object Object to test. - * - * @return {boolean} Whether object is component-like. - */ - -function isComponentLike(object) { - return object instanceof external_this_wp_element_["Component"] || typeof object === 'function'; -} -/** - * Higher Order Component used to be used to wrap disposable elements like - * sidebars, modals, dropdowns. When mounting the wrapped component, we track a - * reference to the current active element so we know where to restore focus - * when the component is unmounted. - * - * @param {(WPComponent|Object)} options The component to be enhanced with - * focus return behavior, or an object - * describing the component and the - * focus return characteristics. - * - * @return {WPComponent} Component with the focus restauration behaviour. - */ - - -function withFocusReturn(options) { - // Normalize as overloaded form `withFocusReturn( options )( Component )` - // or as `withFocusReturn( Component )`. - if (isComponentLike(options)) { - var WrappedComponent = options; - return withFocusReturn({})(WrappedComponent); - } - - var _options$onFocusRetur = options.onFocusReturn, - onFocusReturn = _options$onFocusRetur === void 0 ? external_this_lodash_["stubTrue"] : _options$onFocusRetur; - return function (WrappedComponent) { - var FocusReturn = - /*#__PURE__*/ - function (_Component) { - Object(inherits["a" /* default */])(FocusReturn, _Component); - - function FocusReturn() { - var _this; - - Object(classCallCheck["a" /* default */])(this, FocusReturn); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(FocusReturn).apply(this, arguments)); - _this.ownFocusedElements = new Set(); - _this.activeElementOnMount = document.activeElement; - - _this.setIsFocusedFalse = function () { - return _this.isFocused = false; - }; - - _this.setIsFocusedTrue = function (event) { - _this.ownFocusedElements.add(event.target); - - _this.isFocused = true; - }; - - return _this; - } - - Object(createClass["a" /* default */])(FocusReturn, [{ - key: "componentWillUnmount", - value: function componentWillUnmount() { - var activeElementOnMount = this.activeElementOnMount, - isFocused = this.isFocused, - ownFocusedElements = this.ownFocusedElements; - - if (!isFocused) { - return; - } // Defer to the component's own explicit focus return behavior, - // if specified. The function should return `false` to prevent - // the default behavior otherwise occurring here. This allows - // for support that the `onFocusReturn` decides to allow the - // default behavior to occur under some conditions. - - - if (onFocusReturn() === false) { - return; - } - - var stack = [].concat(Object(toConsumableArray["a" /* default */])(external_this_lodash_["without"].apply(void 0, [this.props.focus.focusHistory].concat(Object(toConsumableArray["a" /* default */])(ownFocusedElements)))), [activeElementOnMount]); - var candidate; - - while (candidate = stack.pop()) { - if (document.body.contains(candidate)) { - candidate.focus(); - return; - } - } - } - }, { - key: "render", - value: function render() { - return Object(external_this_wp_element_["createElement"])("div", { - onFocus: this.setIsFocusedTrue, - onBlur: this.setIsFocusedFalse - }, Object(external_this_wp_element_["createElement"])(WrappedComponent, this.props.childProps)); - } - }]); - - return FocusReturn; - }(external_this_wp_element_["Component"]); - - return function (props) { - return Object(external_this_wp_element_["createElement"])(Consumer, null, function (context) { - return Object(external_this_wp_element_["createElement"])(FocusReturn, { - childProps: props, - focus: context - }); - }); - }; - }; -} - -/* harmony default export */ var with_focus_return = (Object(external_this_wp_compose_["createHigherOrderComponent"])(withFocusReturn, 'withFocusReturn')); - - -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-constrained-tabbing/index.js - - - - - - - - -/** - * WordPress dependencies - */ - - - - -var withConstrainedTabbing = Object(external_this_wp_compose_["createHigherOrderComponent"])(function (WrappedComponent) { - return ( - /*#__PURE__*/ - function (_Component) { - Object(inherits["a" /* default */])(_class, _Component); - - function _class() { - var _this; - - Object(classCallCheck["a" /* default */])(this, _class); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(_class).apply(this, arguments)); - _this.focusContainRef = Object(external_this_wp_element_["createRef"])(); - _this.handleTabBehaviour = _this.handleTabBehaviour.bind(Object(assertThisInitialized["a" /* default */])(_this)); - return _this; - } - - Object(createClass["a" /* default */])(_class, [{ - key: "handleTabBehaviour", - value: function handleTabBehaviour(event) { - if (event.keyCode !== external_this_wp_keycodes_["TAB"]) { - return; - } - - var tabbables = external_this_wp_dom_["focus"].tabbable.find(this.focusContainRef.current); - - if (!tabbables.length) { - return; - } - - var firstTabbable = tabbables[0]; - var lastTabbable = tabbables[tabbables.length - 1]; - - if (event.shiftKey && event.target === firstTabbable) { - event.preventDefault(); - lastTabbable.focus(); - } else if (!event.shiftKey && event.target === lastTabbable) { - event.preventDefault(); - firstTabbable.focus(); - /* - * When pressing Tab and none of the tabbables has focus, the keydown - * event happens on the wrapper div: move focus on the first tabbable. - */ - } else if (!tabbables.includes(event.target)) { - event.preventDefault(); - firstTabbable.focus(); - } - } - }, { - key: "render", - value: function render() { - // Disable reason: this component is non-interactive, but must capture - // events from the wrapped component to determine when the Tab key is used. - - /* eslint-disable jsx-a11y/no-static-element-interactions */ - return Object(external_this_wp_element_["createElement"])("div", { - onKeyDown: this.handleTabBehaviour, - ref: this.focusContainRef, - tabIndex: "-1" - }, Object(external_this_wp_element_["createElement"])(WrappedComponent, this.props)); - /* eslint-enable jsx-a11y/no-static-element-interactions */ - } - }]); - - return _class; - }(external_this_wp_element_["Component"]) - ); -}, 'withConstrainedTabbing'); -/* harmony default export */ var with_constrained_tabbing = (withConstrainedTabbing); - -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-focus-outside/index.js - - - - - - - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - -/** - * Input types which are classified as button types, for use in considering - * whether element is a (focus-normalized) button. - * - * @type {string[]} - */ - -var INPUT_BUTTON_TYPES = ['button', 'submit']; -/** - * Returns true if the given element is a button element subject to focus - * normalization, or false otherwise. - * - * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus - * - * @param {Element} element Element to test. - * - * @return {boolean} Whether element is a button. - */ - -function isFocusNormalizedButton(element) { - switch (element.nodeName) { - case 'A': - case 'BUTTON': - return true; - - case 'INPUT': - return Object(external_this_lodash_["includes"])(INPUT_BUTTON_TYPES, element.type); - } - - return false; -} - -/* harmony default export */ var with_focus_outside = (Object(external_this_wp_compose_["createHigherOrderComponent"])(function (WrappedComponent) { - return ( - /*#__PURE__*/ - function (_Component) { - Object(inherits["a" /* default */])(_class, _Component); - - function _class() { - var _this; - - Object(classCallCheck["a" /* default */])(this, _class); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(_class).apply(this, arguments)); - _this.bindNode = _this.bindNode.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.cancelBlurCheck = _this.cancelBlurCheck.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.queueBlurCheck = _this.queueBlurCheck.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.normalizeButtonFocus = _this.normalizeButtonFocus.bind(Object(assertThisInitialized["a" /* default */])(_this)); - return _this; - } - - Object(createClass["a" /* default */])(_class, [{ - key: "componentWillUnmount", - value: function componentWillUnmount() { - this.cancelBlurCheck(); - } - }, { - key: "bindNode", - value: function bindNode(node) { - if (node) { - this.node = node; - } else { - delete this.node; - this.cancelBlurCheck(); - } - } - }, { - key: "queueBlurCheck", - value: function queueBlurCheck(event) { - var _this2 = this; - - // React does not allow using an event reference asynchronously - // due to recycling behavior, except when explicitly persisted. - event.persist(); // Skip blur check if clicking button. See `normalizeButtonFocus`. - - if (this.preventBlurCheck) { - return; - } - - this.blurCheckTimeout = setTimeout(function () { - // If document is not focused then focus should remain - // inside the wrapped component and therefore we cancel - // this blur event thereby leaving focus in place. - // https://developer.mozilla.org/en-US/docs/Web/API/Document/hasFocus. - if (!document.hasFocus()) { - event.preventDefault(); - return; - } - - if ('function' === typeof _this2.node.handleFocusOutside) { - _this2.node.handleFocusOutside(event); - } - }, 0); - } - }, { - key: "cancelBlurCheck", - value: function cancelBlurCheck() { - clearTimeout(this.blurCheckTimeout); - } - /** - * Handles a mousedown or mouseup event to respectively assign and - * unassign a flag for preventing blur check on button elements. Some - * browsers, namely Firefox and Safari, do not emit a focus event on - * button elements when clicked, while others do. The logic here - * intends to normalize this as treating click on buttons as focus. - * - * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus - * - * @param {MouseEvent} event Event for mousedown or mouseup. - */ - - }, { - key: "normalizeButtonFocus", - value: function normalizeButtonFocus(event) { - var type = event.type, - target = event.target; - var isInteractionEnd = Object(external_this_lodash_["includes"])(['mouseup', 'touchend'], type); - - if (isInteractionEnd) { - this.preventBlurCheck = false; - } else if (isFocusNormalizedButton(target)) { - this.preventBlurCheck = true; - } - } - }, { - key: "render", - value: function render() { - // Disable reason: See `normalizeButtonFocus` for browser-specific - // focus event normalization. - - /* eslint-disable jsx-a11y/no-static-element-interactions */ - return Object(external_this_wp_element_["createElement"])("div", { - onFocus: this.cancelBlurCheck, - onMouseDown: this.normalizeButtonFocus, - onMouseUp: this.normalizeButtonFocus, - onTouchStart: this.normalizeButtonFocus, - onTouchEnd: this.normalizeButtonFocus, - onBlur: this.queueBlurCheck - }, Object(external_this_wp_element_["createElement"])(WrappedComponent, Object(esm_extends["a" /* default */])({ - ref: this.bindNode - }, this.props))); - /* eslint-enable jsx-a11y/no-static-element-interactions */ - } - }]); - - return _class; - }(external_this_wp_element_["Component"]) - ); -}, 'withFocusOutside')); - -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/popover/detect-outside.js - - - - - - -/** - * WordPress dependencies - */ - -/** - * Internal dependencies - */ - - - -var detect_outside_PopoverDetectOutside = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(PopoverDetectOutside, _Component); - - function PopoverDetectOutside() { - Object(classCallCheck["a" /* default */])(this, PopoverDetectOutside); - - return Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(PopoverDetectOutside).apply(this, arguments)); - } - - Object(createClass["a" /* default */])(PopoverDetectOutside, [{ - key: "handleFocusOutside", - value: function handleFocusOutside(event) { - this.props.onFocusOutside(event); - } - }, { - key: "render", - value: function render() { - return this.props.children; - } - }]); - - return PopoverDetectOutside; -}(external_this_wp_element_["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 - - -/** - * External dependencies - */ - - -function Shortcut(_ref) { - var shortcut = _ref.shortcut, - className = _ref.className; - - if (!shortcut) { - return null; - } - - var displayText; - var ariaLabel; - - if (Object(external_this_lodash_["isString"])(shortcut)) { - displayText = shortcut; - } - - if (Object(external_this_lodash_["isObject"])(shortcut)) { - displayText = shortcut.display; - ariaLabel = shortcut.ariaLabel; - } - - return Object(external_this_wp_element_["createElement"])("span", { - className: className, - "aria-label": ariaLabel - }, displayText); -} - -/* harmony default export */ var build_module_shortcut = (Shortcut); - -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tooltip/index.js - - - - - - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - -/** - * Internal dependencies - */ - - - -/** - * Time over children to wait before showing tooltip - * - * @type {number} - */ - -var TOOLTIP_DELAY = 700; - -var tooltip_Tooltip = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(Tooltip, _Component); - - function Tooltip() { - var _this; - - Object(classCallCheck["a" /* default */])(this, Tooltip); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(Tooltip).apply(this, arguments)); - _this.delayedSetIsOver = Object(external_this_lodash_["debounce"])(function (isOver) { - return _this.setState({ - isOver: isOver - }); - }, TOOLTIP_DELAY); - /** - * Prebound `isInMouseDown` handler, created as a constant reference to - * assure ability to remove in component unmount. - * - * @type {Function} - */ - - _this.cancelIsMouseDown = _this.createSetIsMouseDown(false); - /** - * Whether a the mouse is currently pressed, used in determining whether - * to handle a focus event as displaying the tooltip immediately. - * - * @type {boolean} - */ - - _this.isInMouseDown = false; - _this.state = { - isOver: false - }; - return _this; - } - - Object(createClass["a" /* default */])(Tooltip, [{ - key: "componentWillUnmount", - value: function componentWillUnmount() { - this.delayedSetIsOver.cancel(); - document.removeEventListener('mouseup', this.cancelIsMouseDown); - } - }, { - key: "emitToChild", - value: function emitToChild(eventName, event) { - var children = this.props.children; - - if (external_this_wp_element_["Children"].count(children) !== 1) { - return; - } - - var child = external_this_wp_element_["Children"].only(children); - - if (typeof child.props[eventName] === 'function') { - child.props[eventName](event); - } - } - }, { - key: "createToggleIsOver", - value: function createToggleIsOver(eventName, isDelayed) { - var _this2 = this; - - return function (event) { - // Preserve original child callback behavior - _this2.emitToChild(eventName, event); // Mouse events behave unreliably in React for disabled elements, - // firing on mouseenter but not mouseleave. Further, the default - // behavior for disabled elements in some browsers is to ignore - // mouse events. Don't bother trying to to handle them. - // - // See: https://github.com/facebook/react/issues/4251 - - - if (event.currentTarget.disabled) { - return; - } // A focus event will occur as a result of a mouse click, but it - // should be disambiguated between interacting with the button and - // using an explicit focus shift as a cue to display the tooltip. - - - if ('focus' === event.type && _this2.isInMouseDown) { - return; - } // Needed in case unsetting is over while delayed set pending, i.e. - // quickly blur/mouseleave before delayedSetIsOver is called - - - _this2.delayedSetIsOver.cancel(); - - var isOver = Object(external_this_lodash_["includes"])(['focus', 'mouseenter'], event.type); - - if (isOver === _this2.state.isOver) { - return; - } - - if (isDelayed) { - _this2.delayedSetIsOver(isOver); - } else { - _this2.setState({ - isOver: isOver - }); - } - }; - } - /** - * Creates an event callback to handle assignment of the `isInMouseDown` - * instance property in response to a `mousedown` or `mouseup` event. - * - * @param {boolean} isMouseDown Whether handler is to be created for the - * `mousedown` event, as opposed to `mouseup`. - * - * @return {Function} Event callback handler. - */ - - }, { - key: "createSetIsMouseDown", - value: function createSetIsMouseDown(isMouseDown) { - var _this3 = this; - - return function (event) { - // Preserve original child callback behavior - _this3.emitToChild(isMouseDown ? 'onMouseDown' : 'onMouseUp', event); // On mouse down, the next `mouseup` should revert the value of the - // instance property and remove its own event handler. The bind is - // made on the document since the `mouseup` might not occur within - // the bounds of the element. - - - document[isMouseDown ? 'addEventListener' : 'removeEventListener']('mouseup', _this3.cancelIsMouseDown); - _this3.isInMouseDown = isMouseDown; - }; - } - }, { - key: "render", - value: function render() { - var _this$props = this.props, - children = _this$props.children, - position = _this$props.position, - text = _this$props.text, - shortcut = _this$props.shortcut; - - if (external_this_wp_element_["Children"].count(children) !== 1) { - if (false) {} - - return children; - } - - var child = external_this_wp_element_["Children"].only(children); - var isOver = this.state.isOver; - return Object(external_this_wp_element_["cloneElement"])(child, { - onMouseEnter: this.createToggleIsOver('onMouseEnter', true), - onMouseLeave: this.createToggleIsOver('onMouseLeave'), - onClick: this.createToggleIsOver('onClick'), - onFocus: this.createToggleIsOver('onFocus'), - onBlur: this.createToggleIsOver('onBlur'), - onMouseDown: this.createSetIsMouseDown(true), - children: Object(external_this_wp_element_["concatChildren"])(child.props.children, isOver && Object(external_this_wp_element_["createElement"])(popover, { - focusOnMount: false, - position: position, - className: "components-tooltip", - "aria-hidden": "true", - animate: false - }, text, Object(external_this_wp_element_["createElement"])(build_module_shortcut, { - className: "components-tooltip__shortcut", - shortcut: shortcut - }))) - }); - } - }]); - - return Tooltip; -}(external_this_wp_element_["Component"]); - -/* harmony default export */ var build_module_tooltip = (tooltip_Tooltip); - -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/dashicon/index.js - - - - - - - - - -/* !!! -IF YOU ARE EDITING dashicon/index.jsx -THEN YOU ARE EDITING A FILE THAT GETS OUTPUT FROM THE DASHICONS REPO! -DO NOT EDIT THAT FILE! EDIT index-header.jsx and index-footer.jsx instead -OR if you're looking to change now SVGs get output, you'll need to edit strings in the Gruntfile :) -!!! */ - -/** - * WordPress dependencies - */ - -/** - * Internal dependencies - */ - - - -var dashicon_Dashicon = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(Dashicon, _Component); - - function Dashicon() { - Object(classCallCheck["a" /* default */])(this, Dashicon); - - return Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(Dashicon).apply(this, arguments)); - } - - Object(createClass["a" /* default */])(Dashicon, [{ - key: "render", - value: function render() { - var _this$props = this.props, - icon = _this$props.icon, - _this$props$size = _this$props.size, - size = _this$props$size === void 0 ? 20 : _this$props$size, - className = _this$props.className, - extraProps = Object(objectWithoutProperties["a" /* default */])(_this$props, ["icon", "size", "className"]); - - var path; - - switch (icon) { - case 'admin-appearance': - path = 'M14.48 11.06L7.41 3.99l1.5-1.5c.5-.56 2.3-.47 3.51.32 1.21.8 1.43 1.28 2.91 2.1 1.18.64 2.45 1.26 4.45.85zm-.71.71L6.7 4.7 4.93 6.47c-.39.39-.39 1.02 0 1.41l1.06 1.06c.39.39.39 1.03 0 1.42-.6.6-1.43 1.11-2.21 1.69-.35.26-.7.53-1.01.84C1.43 14.23.4 16.08 1.4 17.07c.99 1 2.84-.03 4.18-1.36.31-.31.58-.66.85-1.02.57-.78 1.08-1.61 1.69-2.21.39-.39 1.02-.39 1.41 0l1.06 1.06c.39.39 1.02.39 1.41 0z'; - break; - - case 'admin-collapse': - path = 'M10 2.16c4.33 0 7.84 3.51 7.84 7.84s-3.51 7.84-7.84 7.84S2.16 14.33 2.16 10 5.71 2.16 10 2.16zm2 11.72V6.12L6.18 9.97z'; - break; - - case 'admin-comments': - path = 'M5 2h9c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2z'; - break; - - case 'admin-customizer': - path = 'M18.33 3.57s.27-.8-.31-1.36c-.53-.52-1.22-.24-1.22-.24-.61.3-5.76 3.47-7.67 5.57-.86.96-2.06 3.79-1.09 4.82.92.98 3.96-.17 4.79-1 2.06-2.06 5.21-7.17 5.5-7.79zM1.4 17.65c2.37-1.56 1.46-3.41 3.23-4.64.93-.65 2.22-.62 3.08.29.63.67.8 2.57-.16 3.46-1.57 1.45-4 1.55-6.15.89z'; - break; - - case 'admin-generic': - path = 'M18 12h-2.18c-.17.7-.44 1.35-.81 1.93l1.54 1.54-2.1 2.1-1.54-1.54c-.58.36-1.23.63-1.91.79V19H8v-2.18c-.68-.16-1.33-.43-1.91-.79l-1.54 1.54-2.12-2.12 1.54-1.54c-.36-.58-.63-1.23-.79-1.91H1V9.03h2.17c.16-.7.44-1.35.8-1.94L2.43 5.55l2.1-2.1 1.54 1.54c.58-.37 1.24-.64 1.93-.81V2h3v2.18c.68.16 1.33.43 1.91.79l1.54-1.54 2.12 2.12-1.54 1.54c.36.59.64 1.24.8 1.94H18V12zm-8.5 1.5c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3z'; - break; - - case 'admin-home': - path = 'M16 8.5l1.53 1.53-1.06 1.06L10 4.62l-6.47 6.47-1.06-1.06L10 2.5l4 4v-2h2v4zm-6-2.46l6 5.99V18H4v-5.97zM12 17v-5H8v5h4z'; - break; - - case 'admin-links': - path = 'M17.74 2.76c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-1.12 1.12-2.7 1.47-4.14 1.09l2.62-2.61.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-3.38 3.38c-.37-1.44-.02-3.02 1.1-4.14l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM8.59 13.43l5.34-5.34c.42-.42.42-1.1 0-1.52-.44-.43-1.13-.39-1.53 0l-5.33 5.34c-.42.42-.42 1.1 0 1.52.44.43 1.13.39 1.52 0zm-.76 2.29l4.14-4.15c.38 1.44.03 3.02-1.09 4.14l-1.52 1.53c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.53-1.52c1.12-1.12 2.7-1.47 4.14-1.1l-4.14 4.15c-.85.84-.85 2.2 0 3.05.84.84 2.2.84 3.04 0z'; - break; - - case 'admin-media': - path = 'M13 11V4c0-.55-.45-1-1-1h-1.67L9 1H5L3.67 3H2c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h10c.55 0 1-.45 1-1zM7 4.5c1.38 0 2.5 1.12 2.5 2.5S8.38 9.5 7 9.5 4.5 8.38 4.5 7 5.62 4.5 7 4.5zM14 6h5v10.5c0 1.38-1.12 2.5-2.5 2.5S14 17.88 14 16.5s1.12-2.5 2.5-2.5c.17 0 .34.02.5.05V9h-3V6zm-4 8.05V13h2v3.5c0 1.38-1.12 2.5-2.5 2.5S7 17.88 7 16.5 8.12 14 9.5 14c.17 0 .34.02.5.05z'; - break; - - case 'admin-multisite': - path = 'M14.27 6.87L10 3.14 5.73 6.87 5 6.14l5-4.38 5 4.38zM14 8.42l-4.05 3.43L6 8.38v-.74l4-3.5 4 3.5v.78zM11 9.7V8H9v1.7h2zm-1.73 4.03L5 10 .73 13.73 0 13l5-4.38L10 13zm10 0L15 10l-4.27 3.73L10 13l5-4.38L20 13zM5 11l4 3.5V18H1v-3.5zm10 0l4 3.5V18h-8v-3.5zm-9 6v-2H4v2h2zm10 0v-2h-2v2h2z'; - break; - - case 'admin-network': - path = 'M16.95 2.58c1.96 1.95 1.96 5.12 0 7.07-1.51 1.51-3.75 1.84-5.59 1.01l-1.87 3.31-2.99.31L5 18H2l-1-2 7.95-7.69c-.92-1.87-.62-4.18.93-5.73 1.95-1.96 5.12-1.96 7.07 0zm-2.51 3.79c.74 0 1.33-.6 1.33-1.34 0-.73-.59-1.33-1.33-1.33-.73 0-1.33.6-1.33 1.33 0 .74.6 1.34 1.33 1.34z'; - break; - - case 'admin-page': - path = 'M6 15V2h10v13H6zm-1 1h8v2H3V5h2v11z'; - break; - - case 'admin-plugins': - path = 'M13.11 4.36L9.87 7.6 8 5.73l3.24-3.24c.35-.34 1.05-.2 1.56.32.52.51.66 1.21.31 1.55zm-8 1.77l.91-1.12 9.01 9.01-1.19.84c-.71.71-2.63 1.16-3.82 1.16H6.14L4.9 17.26c-.59.59-1.54.59-2.12 0-.59-.58-.59-1.53 0-2.12l1.24-1.24v-3.88c0-1.13.4-3.19 1.09-3.89zm7.26 3.97l3.24-3.24c.34-.35 1.04-.21 1.55.31.52.51.66 1.21.31 1.55l-3.24 3.25z'; - break; - - case 'admin-post': - path = 'M10.44 3.02l1.82-1.82 6.36 6.35-1.83 1.82c-1.05-.68-2.48-.57-3.41.36l-.75.75c-.92.93-1.04 2.35-.35 3.41l-1.83 1.82-2.41-2.41-2.8 2.79c-.42.42-3.38 2.71-3.8 2.29s1.86-3.39 2.28-3.81l2.79-2.79L4.1 9.36l1.83-1.82c1.05.69 2.48.57 3.4-.36l.75-.75c.93-.92 1.05-2.35.36-3.41z'; - break; - - case 'admin-settings': - path = 'M18 16V4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h13c.55 0 1-.45 1-1zM8 11h1c.55 0 1 .45 1 1s-.45 1-1 1H8v1.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V13H6c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V11zm5-2h-1c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V7h1c.55 0 1 .45 1 1s-.45 1-1 1h-1v5.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V9z'; - break; - - case 'admin-site-alt': - path = 'M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm7.5 6.48c-.274.896-.908 1.64-1.75 2.05-.45-1.69-1.658-3.074-3.27-3.75.13-.444.41-.83.79-1.09-.43-.28-1-.42-1.34.07-.53.69 0 1.61.21 2v.14c-.555-.337-.99-.84-1.24-1.44-.966-.03-1.922.208-2.76.69-.087-.565-.032-1.142.16-1.68.733.07 1.453-.23 1.92-.8.46-.52-.13-1.18-.59-1.58h.36c1.36-.01 2.702.335 3.89 1 1.36 1.005 2.194 2.57 2.27 4.26.24 0 .7-.55.91-.92.172.34.32.69.44 1.05zM9 16.84c-2.05-2.08.25-3.75-1-5.24-.92-.85-2.29-.26-3.11-1.23-.282-1.473.267-2.982 1.43-3.93.52-.44 4-1 5.42.22.83.715 1.415 1.674 1.67 2.74.46.035.918-.066 1.32-.29.41 2.98-3.15 6.74-5.73 7.73zM5.15 2.09c.786-.3 1.676-.028 2.16.66-.42.38-.94.63-1.5.72.02-.294.085-.584.19-.86l-.85-.52z'; - break; - - case 'admin-site-alt2': - path = 'M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm2.92 12.34c0 .35.14.63.36.66.22.03.47-.22.58-.6l.2.08c.718.384 1.07 1.22.84 2-.15.69-.743 1.198-1.45 1.24-.49-1.21-2.11.06-3.56-.22-.612-.154-1.11-.6-1.33-1.19 1.19-.11 2.85-1.73 4.36-1.97zM8 11.27c.918 0 1.695-.68 1.82-1.59.44.54.41 1.324-.07 1.83-.255.223-.594.325-.93.28-.335-.047-.635-.236-.82-.52zm3-.76c.41.39 3-.06 3.52 1.09-.95-.2-2.95.61-3.47-1.08l-.05-.01zM9.73 5.45v.27c-.65-.77-1.33-1.07-1.61-.57-.28.5 1 1.11.76 1.88-.24.77-1.27.56-1.88 1.61-.61 1.05-.49 2.42 1.24 3.67-1.192-.132-2.19-.962-2.54-2.11-.4-1.2-.09-2.26-.78-2.46C4 7.46 3 8.71 3 9.8c-1.26-1.26.05-2.86-1.2-4.18C3.5 1.998 7.644.223 11.44 1.49c-1.1 1.02-1.722 2.458-1.71 3.96z'; - break; - - case 'admin-site-alt3': - path = 'M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zM1.11 9.68h2.51c.04.91.167 1.814.38 2.7H1.84c-.403-.85-.65-1.764-.73-2.7zm8.57-5.4V1.19c.964.366 1.756 1.08 2.22 2 .205.347.386.708.54 1.08l-2.76.01zm3.22 1.35c.232.883.37 1.788.41 2.7H9.68v-2.7h3.22zM8.32 1.19v3.09H5.56c.154-.372.335-.733.54-1.08.462-.924 1.255-1.64 2.22-2.01zm0 4.44v2.7H4.7c.04-.912.178-1.817.41-2.7h3.21zm-4.7 2.69H1.11c.08-.936.327-1.85.73-2.7H4c-.213.886-.34 1.79-.38 2.7zM4.7 9.68h3.62v2.7H5.11c-.232-.883-.37-1.788-.41-2.7zm3.63 4v3.09c-.964-.366-1.756-1.08-2.22-2-.205-.347-.386-.708-.54-1.08l2.76-.01zm1.35 3.09v-3.04h2.76c-.154.372-.335.733-.54 1.08-.464.92-1.256 1.634-2.22 2v-.04zm0-4.44v-2.7h3.62c-.04.912-.178 1.817-.41 2.7H9.68zm4.71-2.7h2.51c-.08.936-.327 1.85-.73 2.7H14c.21-.87.337-1.757.38-2.65l.01-.05zm0-1.35c-.046-.894-.176-1.78-.39-2.65h2.16c.403.85.65 1.764.73 2.7l-2.5-.05zm1-4H13.6c-.324-.91-.793-1.76-1.39-2.52 1.244.56 2.325 1.426 3.14 2.52h.04zm-9.6-2.52c-.597.76-1.066 1.61-1.39 2.52H2.65c.815-1.094 1.896-1.96 3.14-2.52zm-3.15 12H4.4c.324.91.793 1.76 1.39 2.52-1.248-.567-2.33-1.445-3.14-2.55l-.01.03zm9.56 2.52c.597-.76 1.066-1.61 1.39-2.52h1.76c-.82 1.08-1.9 1.933-3.14 2.48l-.01.04z'; - break; - - case 'admin-site': - path = 'M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm3.46 11.95c0 1.47-.8 3.3-4.06 4.7.3-4.17-2.52-3.69-3.2-5 .126-1.1.804-2.063 1.8-2.55-1.552-.266-3-.96-4.18-2 .05.47.28.904.64 1.21-.782-.295-1.458-.817-1.94-1.5.977-3.225 3.883-5.482 7.25-5.63-.84 1.38-1.5 4.13 0 5.57C7.23 7 6.26 5 5.41 5.79c-1.13 1.06.33 2.51 3.42 3.08 3.29.59 3.66 1.58 3.63 3.08zm1.34-4c-.32-1.11.62-2.23 1.69-3.14 1.356 1.955 1.67 4.45.84 6.68-.77-1.89-2.17-2.32-2.53-3.57v.03z'; - break; - - case 'admin-tools': - path = 'M16.68 9.77c-1.34 1.34-3.3 1.67-4.95.99l-5.41 6.52c-.99.99-2.59.99-3.58 0s-.99-2.59 0-3.57l6.52-5.42c-.68-1.65-.35-3.61.99-4.95 1.28-1.28 3.12-1.62 4.72-1.06l-2.89 2.89 2.82 2.82 2.86-2.87c.53 1.58.18 3.39-1.08 4.65zM3.81 16.21c.4.39 1.04.39 1.43 0 .4-.4.4-1.04 0-1.43-.39-.4-1.03-.4-1.43 0-.39.39-.39 1.03 0 1.43z'; - break; - - case 'admin-users': - path = 'M10 9.25c-2.27 0-2.73-3.44-2.73-3.44C7 4.02 7.82 2 9.97 2c2.16 0 2.98 2.02 2.71 3.81 0 0-.41 3.44-2.68 3.44zm0 2.57L12.72 10c2.39 0 4.52 2.33 4.52 4.53v2.49s-3.65 1.13-7.24 1.13c-3.65 0-7.24-1.13-7.24-1.13v-2.49c0-2.25 1.94-4.48 4.47-4.48z'; - break; - - case 'album': - path = 'M0 18h10v-.26c1.52.4 3.17.35 4.76-.24 4.14-1.52 6.27-6.12 4.75-10.26-1.43-3.89-5.58-6-9.51-4.98V2H0v16zM9 3v14H1V3h8zm5.45 8.22c-.68 1.35-2.32 1.9-3.67 1.23-.31-.15-.57-.35-.78-.59V8.13c.8-.86 2.11-1.13 3.22-.58 1.35.68 1.9 2.32 1.23 3.67zm-2.75-.82c.22.16.53.12.7-.1.16-.22.12-.53-.1-.7s-.53-.12-.7.1c-.16.21-.12.53.1.7zm3.01 3.67c-1.17.78-2.56.99-3.83.69-.27-.06-.44-.34-.37-.61s.34-.43.62-.36l.17.04c.96.17 1.98-.01 2.86-.59.47-.32.86-.72 1.14-1.18.15-.23.45-.3.69-.16.23.15.3.46.16.69-.36.57-.84 1.08-1.44 1.48zm1.05 1.57c-1.48.99-3.21 1.32-4.84 1.06-.28-.05-.47-.32-.41-.6.05-.27.32-.45.61-.39l.22.04c1.31.15 2.68-.14 3.87-.94.71-.47 1.27-1.07 1.7-1.74.14-.24.45-.31.68-.16.24.14.31.45.16.69-.49.79-1.16 1.49-1.99 2.04z'; - break; - - case 'align-center': - path = 'M3 5h14V3H3v2zm12 8V7H5v6h10zM3 17h14v-2H3v2z'; - break; - - case 'align-full-width': - path = 'M17 13V3H3v10h14zM5 17h10v-2H5v2z'; - break; - - case 'align-left': - path = 'M3 5h14V3H3v2zm9 8V7H3v6h9zm2-4h3V7h-3v2zm0 4h3v-2h-3v2zM3 17h14v-2H3v2z'; - break; - - case 'align-none': - path = 'M3 5h14V3H3v2zm10 8V7H3v6h10zM3 17h14v-2H3v2z'; - break; - - case 'align-pull-left': - path = 'M9 16V4H3v12h6zm2-7h6V7h-6v2zm0 4h6v-2h-6v2z'; - break; - - case 'align-pull-right': - path = 'M17 16V4h-6v12h6zM9 7H3v2h6V7zm0 4H3v2h6v-2z'; - break; - - case 'align-right': - path = 'M3 5h14V3H3v2zm0 4h3V7H3v2zm14 4V7H8v6h9zM3 13h3v-2H3v2zm0 4h14v-2H3v2z'; - break; - - case 'align-wide': - path = 'M5 5h10V3H5v2zm12 8V7H3v6h14zM5 17h10v-2H5v2z'; - break; - - case 'analytics': - path = 'M18 18V2H2v16h16zM16 5H4V4h12v1zM7 7v3h3c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3zm1 2V7c1.1 0 2 .9 2 2H8zm8-1h-4V7h4v1zm0 3h-4V9h4v2zm0 2h-4v-1h4v1zm0 3H4v-1h12v1z'; - break; - - case 'archive': - path = 'M19 4v2H1V4h18zM2 7h16v10H2V7zm11 3V9H7v1h6z'; - break; - - case 'arrow-down-alt': - path = 'M9 2h2v12l4-4 2 1-7 7-7-7 2-1 4 4V2z'; - break; - - case 'arrow-down-alt2': - path = 'M5 6l5 5 5-5 2 1-7 7-7-7z'; - break; - - case 'arrow-down': - path = 'M15 8l-4.03 6L7 8h8z'; - break; - - case 'arrow-left-alt': - path = 'M18 9v2H6l4 4-1 2-7-7 7-7 1 2-4 4h12z'; - break; - - case 'arrow-left-alt2': - path = 'M14 5l-5 5 5 5-1 2-7-7 7-7z'; - break; - - case 'arrow-left': - path = 'M13 14L7 9.97 13 6v8z'; - break; - - case 'arrow-right-alt': - path = 'M2 11V9h12l-4-4 1-2 7 7-7 7-1-2 4-4H2z'; - break; - - case 'arrow-right-alt2': - path = 'M6 15l5-5-5-5 1-2 7 7-7 7z'; - break; - - case 'arrow-right': - path = 'M8 6l6 4.03L8 14V6z'; - break; - - case 'arrow-up-alt': - path = 'M11 18H9V6l-4 4-2-1 7-7 7 7-2 1-4-4v12z'; - break; - - case 'arrow-up-alt2': - path = 'M15 14l-5-5-5 5-2-1 7-7 7 7z'; - break; - - case 'arrow-up': - path = 'M7 13l4.03-6L15 13H7z'; - break; - - case 'art': - path = 'M8.55 3.06c1.01.34-1.95 2.01-.1 3.13 1.04.63 3.31-2.22 4.45-2.86.97-.54 2.67-.65 3.53 1.23 1.09 2.38.14 8.57-3.79 11.06-3.97 2.5-8.97 1.23-10.7-2.66-2.01-4.53 3.12-11.09 6.61-9.9zm1.21 6.45c.73 1.64 4.7-.5 3.79-2.8-.59-1.49-4.48 1.25-3.79 2.8z'; - break; - - case 'awards': - path = 'M4.46 5.16L5 7.46l-.54 2.29 2.01 1.24L7.7 13l2.3-.54 2.3.54 1.23-2.01 2.01-1.24L15 7.46l.54-2.3-2-1.24-1.24-2.01-2.3.55-2.29-.54-1.25 2zm5.55 6.34C7.79 11.5 6 9.71 6 7.49c0-2.2 1.79-3.99 4.01-3.99 2.2 0 3.99 1.79 3.99 3.99 0 2.22-1.79 4.01-3.99 4.01zm-.02-1C8.33 10.5 7 9.16 7 7.5c0-1.65 1.33-3 2.99-3S13 5.85 13 7.5c0 1.66-1.35 3-3.01 3zm3.84 1.1l-1.28 2.24-2.08-.47L13 19.2l1.4-2.2h2.5zm-7.7.07l1.25 2.25 2.13-.51L7 19.2 5.6 17H3.1z'; - break; - - case 'backup': - path = 'M13.65 2.88c3.93 2.01 5.48 6.84 3.47 10.77s-6.83 5.48-10.77 3.47c-1.87-.96-3.2-2.56-3.86-4.4l1.64-1.03c.45 1.57 1.52 2.95 3.08 3.76 3.01 1.54 6.69.35 8.23-2.66 1.55-3.01.36-6.69-2.65-8.24C9.78 3.01 6.1 4.2 4.56 7.21l1.88.97-4.95 3.08-.39-5.82 1.78.91C4.9 2.4 9.75.89 13.65 2.88zm-4.36 7.83C9.11 10.53 9 10.28 9 10c0-.07.03-.12.04-.19h-.01L10 5l.97 4.81L14 13l-4.5-2.12.02-.02c-.08-.04-.16-.09-.23-.15z'; - break; - - case 'block-default': - path = 'M15 6V4h-3v2H8V4H5v2H4c-.6 0-1 .4-1 1v8h14V7c0-.6-.4-1-1-1h-1z'; - break; - - case 'book-alt': - path = 'M5 17h13v2H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h13v14H5c-.55 0-1 .45-1 1s.45 1 1 1zm2-3.5v-11c0-.28-.22-.5-.5-.5s-.5.22-.5.5v11c0 .28.22.5.5.5s.5-.22.5-.5z'; - break; - - case 'book': - path = 'M16 3h2v16H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h9v14H5c-.55 0-1 .45-1 1s.45 1 1 1h11V3z'; - break; - - case 'buddicons-activity': - path = 'M8 1v7h2V6c0-1.52 1.45-3 3-3v.86c.55-.52 1.26-.86 2-.86v3h1c1.1 0 2 .9 2 2s-.9 2-2 2h-1v6c0 .55-.45 1-1 1s-1-.45-1-1v-2.18c-.31.11-.65.18-1 .18v2c0 .55-.45 1-1 1s-1-.45-1-1v-2H8v2c0 .55-.45 1-1 1s-1-.45-1-1v-2c-.35 0-.69-.07-1-.18V16c0 .55-.45 1-1 1s-1-.45-1-1v-4H2v-1c0-1.66 1.34-3 3-3h2V1h1zm5 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1z'; - break; - - case 'buddicons-bbpress-logo': - path = 'M8.5 12.6c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.3 1.7c-.3 1 .3 1.5 1 1.5 1.2 0 1.9-1.1 2.2-2.4zm-4-6.4C3.7 7.3 3.3 8.6 3.3 10c0 1 .2 1.9.6 2.8l1-4.6c.3-1.7.4-2-.4-2zm9.3 6.4c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.4 1.7c-.2 1.1.4 1.6 1.1 1.6 1.1-.1 1.9-1.2 2.2-2.5zM10 3.3c-2 0-3.9.9-5.1 2.3.6-.1 1.4-.2 1.8-.3.2 0 .2.1.2.2 0 .2-1 4.8-1 4.8.5-.3 1.2-.7 1.8-.7.9 0 1.5.4 1.9.9l.5-2.4c.4-1.6.4-1.9-.4-1.9-.4 0-.4-.5 0-.6.6-.1 1.8-.2 2.3-.3.2 0 .2.1.2.2l-1 4.8c.5-.4 1.2-.7 1.9-.7 1.7 0 2.5 1.3 2.1 3-.3 1.7-2 3-3.8 3-1.3 0-2.1-.7-2.3-1.4-.7.8-1.7 1.3-2.8 1.4 1.1.7 2.4 1.1 3.7 1.1 3.7 0 6.7-3 6.7-6.7s-3-6.7-6.7-6.7zM10 2c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 15.5c-2.1 0-4-.8-5.3-2.2-.3-.4-.7-.8-1-1.2-.7-1.2-1.2-2.6-1.2-4.1 0-4.1 3.4-7.5 7.5-7.5s7.5 3.4 7.5 7.5-3.4 7.5-7.5 7.5z'; - break; - - case 'buddicons-buddypress-logo': - path = 'M10 0c5.52 0 10 4.48 10 10s-4.48 10-10 10S0 15.52 0 10 4.48 0 10 0zm0 .5C4.75.5.5 4.75.5 10s4.25 9.5 9.5 9.5 9.5-4.25 9.5-9.5S15.25.5 10 .5zm0 1c4.7 0 8.5 3.8 8.5 8.5s-3.8 8.5-8.5 8.5-8.5-3.8-8.5-8.5S5.3 1.5 10 1.5zm1.8 1.71c-.57 0-1.1.17-1.55.45 1.56.37 2.73 1.77 2.73 3.45 0 .69-.21 1.33-.55 1.87 1.31-.29 2.29-1.45 2.29-2.85 0-1.61-1.31-2.92-2.92-2.92zm-2.38 1c-1.61 0-2.92 1.31-2.92 2.93 0 1.61 1.31 2.92 2.92 2.92 1.62 0 2.93-1.31 2.93-2.92 0-1.62-1.31-2.93-2.93-2.93zm4.25 5.01l-.51.59c2.34.69 2.45 3.61 2.45 3.61h1.28c0-4.71-3.22-4.2-3.22-4.2zm-2.1.8l-2.12 2.09-2.12-2.09C3.12 10.24 3.89 15 3.89 15h11.08c.47-4.98-3.4-4.98-3.4-4.98z'; - break; - - case 'buddicons-community': - path = 'M9 3c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zm4 0c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zM9 9V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 0V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 1c0-1.48-1.41-2.77-3.5-3.46V9c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5V6.01c-.17 0-.33-.01-.5-.01s-.33.01-.5.01V9c0 .83-.67 1.5-1.5 1.5S6.5 9.83 6.5 9V6.54C4.41 7.23 3 8.52 3 10c0 1.41.95 2.65 3.21 3.37 1.11.35 2.39 1.12 3.79 1.12s2.69-.78 3.79-1.13C16.04 12.65 17 11.41 17 10zm-7 5.43c1.43 0 2.74-.79 3.88-1.11 1.9-.53 2.49-1.34 3.12-2.32v3c0 2.21-3.13 4-7 4s-7-1.79-7-4v-3c.64.99 1.32 1.8 3.15 2.33 1.13.33 2.44 1.1 3.85 1.1z'; - break; - - case 'buddicons-forums': - path = 'M13.5 7h-7C5.67 7 5 6.33 5 5.5S5.67 4 6.5 4h1.59C8.04 3.84 8 3.68 8 3.5 8 2.67 8.67 2 9.5 2h1c.83 0 1.5.67 1.5 1.5 0 .18-.04.34-.09.5h1.59c.83 0 1.5.67 1.5 1.5S14.33 7 13.5 7zM4 8h12c.55 0 1 .45 1 1s-.45 1-1 1H4c-.55 0-1-.45-1-1s.45-1 1-1zm1 3h10c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1s.45-1 1-1zm2 3h6c.55 0 1 .45 1 1s-.45 1-1 1h-1.09c.05.16.09.32.09.5 0 .83-.67 1.5-1.5 1.5h-1c-.83 0-1.5-.67-1.5-1.5 0-.18.04-.34.09-.5H7c-.55 0-1-.45-1-1s.45-1 1-1z'; - break; - - case 'buddicons-friends': - path = 'M8.75 5.77C8.75 4.39 7 2 7 2S5.25 4.39 5.25 5.77 5.9 7.5 7 7.5s1.75-.35 1.75-1.73zm6 0C14.75 4.39 13 2 13 2s-1.75 2.39-1.75 3.77S11.9 7.5 13 7.5s1.75-.35 1.75-1.73zM9 17V9c0-.55-.45-1-1-1H6c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm6 0V9c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-9-6l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2zm-6 3l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2z'; - break; - - case 'buddicons-groups': - path = 'M15.45 6.25c1.83.94 1.98 3.18.7 4.98-.8 1.12-2.33 1.88-3.46 1.78L10.05 18H9l-2.65-4.99c-1.13.16-2.73-.63-3.55-1.79-1.28-1.8-1.13-4.04.71-4.97.48-.24.96-.33 1.43-.31-.01.4.01.8.07 1.21.26 1.69 1.41 3.53 2.86 4.37-.19.55-.49.99-.88 1.25L9 16.58v-5.66C7.64 10.55 6.26 8.76 6 7c-.4-2.65 1-5 3.5-5s3.9 2.35 3.5 5c-.26 1.76-1.64 3.55-3 3.92v5.77l2.07-3.84c-.44-.23-.77-.71-.99-1.3 1.48-.83 2.65-2.69 2.91-4.4.06-.41.08-.82.07-1.22.46-.01.92.08 1.39.32z'; - break; - - case 'buddicons-pm': - path = 'M10 2c3 0 8 5 8 5v11H2V7s5-5 8-5zm7 14.72l-3.73-2.92L17 11l-.43-.37-2.26 1.3.24-4.31-8.77-.52-.46 4.54-1.99-.95L3 11l3.73 2.8-3.44 2.85.4.43L10 13l6.53 4.15z'; - break; - - case 'buddicons-replies': - path = 'M17.54 10.29c1.17 1.17 1.17 3.08 0 4.25-1.18 1.17-3.08 1.17-4.25 0l-.34-.52c0 3.66-2 4.38-2.95 4.98-.82-.6-2.95-1.28-2.95-4.98l-.34.52c-1.17 1.17-3.07 1.17-4.25 0-1.17-1.17-1.17-3.08 0-4.25 0 0 1.02-.67 2.1-1.3C3.71 7.84 3.2 6.42 3.2 4.88c0-.34.03-.67.08-1C3.53 5.66 4.47 7.22 5.8 8.3c.67-.35 1.85-.83 2.37-.92H8c-1.1 0-2-.9-2-2s.9-2 2-2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5h2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5c1.1 0 2 .9 2 2s-.9 2-2 2h-.17c.51.09 1.78.61 2.38.92 1.33-1.08 2.27-2.64 2.52-4.42.05.33.08.66.08 1 0 1.54-.51 2.96-1.36 4.11 1.08.63 2.09 1.3 2.09 1.3zM8.5 6.38c.5 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm3-2c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-2.3 5.73c-.12.11-.19.26-.19.43.02.25.23.46.49.46h1c.26 0 .47-.21.49-.46 0-.15-.07-.29-.19-.43-.08-.06-.18-.11-.3-.11h-1c-.12 0-.22.05-.3.11zM12 12.5c0-.12-.06-.28-.19-.38-.09-.07-.19-.12-.31-.12h-3c-.12 0-.22.05-.31.12-.11.1-.19.25-.19.38 0 .28.22.5.5.5h3c.28 0 .5-.22.5-.5zM8.5 15h3c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-3c-.28 0-.5.22-.5.5s.22.5.5.5zm1 2h1c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-1c-.28 0-.5.22-.5.5s.22.5.5.5z'; - break; - - case 'buddicons-topics': - path = 'M10.44 1.66c-.59-.58-1.54-.58-2.12 0L2.66 7.32c-.58.58-.58 1.53 0 2.12.6.6 1.56.56 2.12 0l5.66-5.66c.58-.58.59-1.53 0-2.12zm2.83 2.83c-.59-.59-1.54-.59-2.12 0l-5.66 5.66c-.59.58-.59 1.53 0 2.12.6.6 1.56.55 2.12 0l5.66-5.66c.58-.58.58-1.53 0-2.12zm1.06 6.72l4.18 4.18c.59.58.59 1.53 0 2.12s-1.54.59-2.12 0l-4.18-4.18-1.77 1.77c-.59.58-1.54.58-2.12 0-.59-.59-.59-1.54 0-2.13l5.66-5.65c.58-.59 1.53-.59 2.12 0 .58.58.58 1.53 0 2.12zM5 15c0-1.59-1.66-4-1.66-4S2 13.78 2 15s.6 2 1.34 2h.32C4.4 17 5 16.59 5 15z'; - break; - - case 'buddicons-tracking': - path = 'M10.98 6.78L15.5 15c-1 2-3.5 3-5.5 3s-4.5-1-5.5-3L9 6.82c-.75-1.23-2.28-1.98-4.29-2.03l2.46-2.92c1.68 1.19 2.46 2.32 2.97 3.31.56-.87 1.2-1.68 2.7-2.12l1.83 2.86c-1.42-.34-2.64.08-3.69.86zM8.17 10.4l-.93 1.69c.49.11 1 .16 1.54.16 1.35 0 2.58-.36 3.55-.95l-1.01-1.82c-.87.53-1.96.86-3.15.92zm.86 5.38c1.99 0 3.73-.74 4.74-1.86l-.98-1.76c-1 1.12-2.74 1.87-4.74 1.87-.62 0-1.21-.08-1.76-.21l-.63 1.15c.94.5 2.1.81 3.37.81z'; - break; - - case 'building': - path = 'M3 20h14V0H3v20zM7 3H5V1h2v2zm4 0H9V1h2v2zm4 0h-2V1h2v2zM7 6H5V4h2v2zm4 0H9V4h2v2zm4 0h-2V4h2v2zM7 9H5V7h2v2zm4 0H9V7h2v2zm4 0h-2V7h2v2zm-8 3H5v-2h2v2zm4 0H9v-2h2v2zm4 0h-2v-2h2v2zm-4 7H5v-6h6v6zm4-4h-2v-2h2v2zm0 3h-2v-2h2v2z'; - break; - - case 'businessman': - path = 'M7.3 6l-.03-.19c-.04-.37-.05-.73-.03-1.08.02-.36.1-.71.25-1.04.14-.32.31-.61.52-.86s.49-.46.83-.6c.34-.15.72-.23 1.13-.23.69 0 1.26.2 1.71.59s.76.87.91 1.44.18 1.16.09 1.78l-.03.19c-.01.09-.05.25-.11.48-.05.24-.12.47-.2.69-.08.21-.19.45-.34.72-.14.27-.3.49-.47.69-.18.19-.4.34-.67.48-.27.13-.55.19-.86.19s-.59-.06-.87-.19c-.26-.13-.49-.29-.67-.5-.18-.2-.34-.42-.49-.66-.15-.25-.26-.49-.34-.73-.09-.25-.16-.47-.21-.67-.06-.21-.1-.37-.12-.5zm9.2 6.24c.41.7.5 1.41.5 2.14v2.49c0 .03-.12.08-.29.13-.18.04-.42.13-.97.27-.55.12-1.1.24-1.65.34s-1.19.19-1.95.27c-.75.08-1.46.12-2.13.12-.68 0-1.39-.04-2.14-.12-.75-.07-1.4-.17-1.98-.27-.58-.11-1.08-.23-1.56-.34-.49-.11-.8-.21-1.06-.29L3 16.87v-2.49c0-.75.07-1.46.46-2.15s.81-1.25 1.5-1.68C5.66 10.12 7.19 10 8 10l1.67 1.67L9 13v3l1.02 1.08L11 16v-3l-.68-1.33L11.97 10c.77 0 2.2.07 2.9.52.71.45 1.21 1.02 1.63 1.72z'; - break; - - case 'button': - path = 'M17 5H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm1 7c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h14c.6 0 1 .4 1 1v5z'; - break; - - case 'calendar-alt': - path = 'M15 4h3v15H2V4h3V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1h4V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1zM6 3v2.5c0 .14.05.26.15.36.09.09.21.14.35.14s.26-.05.35-.14c.1-.1.15-.22.15-.36V3c0-.14-.05-.26-.15-.35-.09-.1-.21-.15-.35-.15s-.26.05-.35.15c-.1.09-.15.21-.15.35zm7 0v2.5c0 .14.05.26.14.36.1.09.22.14.36.14s.26-.05.36-.14c.09-.1.14-.22.14-.36V3c0-.14-.05-.26-.14-.35-.1-.1-.22-.15-.36-.15s-.26.05-.36.15c-.09.09-.14.21-.14.35zm4 15V8H3v10h14zM7 9v2H5V9h2zm2 0h2v2H9V9zm4 2V9h2v2h-2zm-6 1v2H5v-2h2zm2 0h2v2H9v-2zm4 2v-2h2v2h-2zm-6 1v2H5v-2h2zm4 2H9v-2h2v2zm4 0h-2v-2h2v2z'; - break; - - case 'calendar': - path = 'M15 4h3v14H2V4h3V3c0-.83.67-1.5 1.5-1.5S8 2.17 8 3v1h4V3c0-.83.67-1.5 1.5-1.5S15 2.17 15 3v1zM6 3v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5S6 2.72 6 3zm7 0v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5s-.5.22-.5.5zm4 14V8H3v9h14zM7 16V9H5v7h2zm4 0V9H9v7h2zm4 0V9h-2v7h2z'; - break; - - case 'camera': - path = 'M6 5V3H3v2h3zm12 10V4H9L7 6H2v9h16zm-7-8c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3z'; - break; - - case 'carrot': - path = 'M2 18.43c1.51 1.36 11.64-4.67 13.14-7.21.72-1.22-.13-3.01-1.52-4.44C15.2 5.73 16.59 9 17.91 8.31c.6-.32.99-1.31.7-1.92-.52-1.08-2.25-1.08-3.42-1.21.83-.2 2.82-1.05 2.86-2.25.04-.92-1.13-1.97-2.05-1.86-1.21.14-1.65 1.88-2.06 3-.05-.71-.2-2.27-.98-2.95-1.04-.91-2.29-.05-2.32 1.05-.04 1.33 2.82 2.07 1.92 3.67C11.04 4.67 9.25 4.03 8.1 4.7c-.49.31-1.05.91-1.63 1.69.89.94 2.12 2.07 3.09 2.72.2.14.26.42.11.62-.14.21-.42.26-.62.12-.99-.67-2.2-1.78-3.1-2.71-.45.67-.91 1.43-1.34 2.23.85.86 1.93 1.83 2.79 2.41.2.14.25.42.11.62-.14.21-.42.26-.63.12-.85-.58-1.86-1.48-2.71-2.32C2.4 13.69 1.1 17.63 2 18.43z'; - break; - - case 'cart': - path = 'M6 13h9c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1V4H2c-.55 0-1-.45-1-1s.45-1 1-1h3c.55 0 1 .45 1 1v2h13l-4 7H6v1zm-.5 3c.83 0 1.5.67 1.5 1.5S6.33 19 5.5 19 4 18.33 4 17.5 4.67 16 5.5 16zm9 0c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5z'; - break; - - case 'category': - path = 'M5 7h13v10H2V4h7l2 2H4v9h1V7z'; - break; - - case 'chart-area': - path = 'M18 18l.01-12.28c.59-.35.99-.99.99-1.72 0-1.1-.9-2-2-2s-2 .9-2 2c0 .8.47 1.48 1.14 1.8l-4.13 6.58c-.33-.24-.73-.38-1.16-.38-.84 0-1.55.51-1.85 1.24l-2.14-1.53c.09-.22.14-.46.14-.71 0-1.11-.89-2-2-2-1.1 0-2 .89-2 2 0 .73.4 1.36.98 1.71L1 18h17zM17 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM5 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm5.85 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z'; - break; - - case 'chart-bar': - path = 'M18 18V2h-4v16h4zm-6 0V7H8v11h4zm-6 0v-8H2v8h4z'; - break; - - case 'chart-line': - path = 'M18 3.5c0 .62-.38 1.16-.92 1.38v13.11H1.99l4.22-6.73c-.13-.23-.21-.48-.21-.76C6 9.67 6.67 9 7.5 9S9 9.67 9 10.5c0 .13-.02.25-.05.37l1.44.63c.27-.3.67-.5 1.11-.5.18 0 .35.04.51.09l3.58-6.41c-.36-.27-.59-.7-.59-1.18 0-.83.67-1.5 1.5-1.5.19 0 .36.04.53.1l.05-.09v.11c.54.22.92.76.92 1.38zm-1.92 13.49V5.85l-3.29 5.89c.13.23.21.48.21.76 0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5l.01-.07-1.63-.72c-.25.18-.55.29-.88.29-.18 0-.35-.04-.51-.1l-3.2 5.09h12.29z'; - break; - - case 'chart-pie': - path = 'M10 10V3c3.87 0 7 3.13 7 7h-7zM9 4v7h7c0 3.87-3.13 7-7 7s-7-3.13-7-7 3.13-7 7-7z'; - break; - - case 'clipboard': - path = 'M11.9.39l1.4 1.4c1.61.19 3.5-.74 4.61.37s.18 3 .37 4.61l1.4 1.4c.39.39.39 1.02 0 1.41l-9.19 9.2c-.4.39-1.03.39-1.42 0L1.29 11c-.39-.39-.39-1.02 0-1.42l9.2-9.19c.39-.39 1.02-.39 1.41 0zm.58 2.25l-.58.58 4.95 4.95.58-.58c-.19-.6-.2-1.22-.15-1.82.02-.31.05-.62.09-.92.12-1 .18-1.63-.17-1.98s-.98-.29-1.98-.17c-.3.04-.61.07-.92.09-.6.05-1.22.04-1.82-.15zm4.02.93c.39.39.39 1.03 0 1.42s-1.03.39-1.42 0-.39-1.03 0-1.42 1.03-.39 1.42 0zm-6.72.36l-.71.7L15.44 11l.7-.71zM8.36 5.34l-.7.71 6.36 6.36.71-.7zM6.95 6.76l-.71.7 6.37 6.37.7-.71zM5.54 8.17l-.71.71 6.36 6.36.71-.71zM4.12 9.58l-.71.71 6.37 6.37.71-.71z'; - break; - - case 'clock': - path = 'M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 14c3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6 2.69 6 6 6zm-.71-5.29c.07.05.14.1.23.15l-.02.02L14 13l-3.03-3.19L10 5l-.97 4.81h.01c0 .02-.01.05-.02.09S9 9.97 9 10c0 .28.1.52.29.71z'; - break; - - case 'cloud-saved': - path = 'M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16h10c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5zm-6.3 5.9l-3.2-3.2 1.4-1.4 1.8 1.8 3.8-3.8 1.4 1.4-5.2 5.2z'; - break; - - case 'cloud-upload': - path = 'M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16H8v-3H5l4.5-4.5L14 13h-3v3h3.5c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5z'; - break; - - case 'cloud': - path = 'M14.9 9c1.8.2 3.1 1.7 3.1 3.5 0 1.9-1.6 3.5-3.5 3.5h-10C2.6 16 1 14.4 1 12.5 1 10.7 2.3 9.3 4.1 9 4 8.9 4 8.7 4 8.5 4 7.1 5.1 6 6.5 6c.3 0 .7.1.9.2C8.1 4.9 9.4 4 11 4c2.2 0 4 1.8 4 4 0 .4-.1.7-.1 1z'; - break; - - case 'columns': - path = 'M3 15h6V5H3v10zm8 0h6V5h-6v10z'; - break; - - case 'controls-back': - path = 'M2 10l10-6v3.6L18 4v12l-6-3.6V16z'; - break; - - case 'controls-forward': - path = 'M18 10L8 16v-3.6L2 16V4l6 3.6V4z'; - break; - - case 'controls-pause': - path = 'M5 16V4h3v12H5zm7-12h3v12h-3V4z'; - break; - - case 'controls-play': - path = 'M5 4l10 6-10 6V4z'; - break; - - case 'controls-repeat': - path = 'M5 7v3l-2 1.5V5h11V3l4 3.01L14 9V7H5zm10 6v-3l2-1.5V15H6v2l-4-3.01L6 11v2h9z'; - break; - - case 'controls-skipback': - path = 'M11.98 7.63l6-3.6v12l-6-3.6v3.6l-8-4.8v4.8h-2v-12h2v4.8l8-4.8v3.6z'; - break; - - case 'controls-skipforward': - path = 'M8 12.4L2 16V4l6 3.6V4l8 4.8V4h2v12h-2v-4.8L8 16v-3.6z'; - break; - - case 'controls-volumeoff': - path = 'M2 7h4l5-4v14l-5-4H2V7z'; - break; - - case 'controls-volumeon': - path = 'M2 7h4l5-4v14l-5-4H2V7zm12.69-2.46C14.82 4.59 18 5.92 18 10s-3.18 5.41-3.31 5.46c-.06.03-.13.04-.19.04-.2 0-.39-.12-.46-.31-.11-.26.02-.55.27-.65.11-.05 2.69-1.15 2.69-4.54 0-3.41-2.66-4.53-2.69-4.54-.25-.1-.38-.39-.27-.65.1-.25.39-.38.65-.27zM16 10c0 2.57-2.23 3.43-2.32 3.47-.06.02-.12.03-.18.03-.2 0-.39-.12-.47-.32-.1-.26.04-.55.29-.65.07-.02 1.68-.67 1.68-2.53s-1.61-2.51-1.68-2.53c-.25-.1-.38-.39-.29-.65.1-.25.39-.39.65-.29.09.04 2.32.9 2.32 3.47z'; - break; - - case 'cover-image': - path = 'M2.2 1h15.5c.7 0 1.3.6 1.3 1.2v11.5c0 .7-.6 1.2-1.2 1.2H2.2c-.6.1-1.2-.5-1.2-1.1V2.2C1 1.6 1.6 1 2.2 1zM17 13V3H3v10h14zm-4-4s0-5 3-5v7c0 .6-.4 1-1 1H5c-.6 0-1-.4-1-1V7c2 0 3 4 3 4s1-4 3-4 3 2 3 2zM4 17h12v2H4z'; - break; - - case 'dashboard': - path = 'M3.76 16h12.48c1.1-1.37 1.76-3.11 1.76-5 0-4.42-3.58-8-8-8s-8 3.58-8 8c0 1.89.66 3.63 1.76 5zM10 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM6 6c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5.37 5.55L12 7v6c0 1.1-.9 2-2 2s-2-.9-2-2c0-.57.24-1.08.63-1.45zM4 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm12 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5 3c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1z'; - break; - - case 'desktop': - path = 'M3 2h14c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1h-5v2h2c.55 0 1 .45 1 1v1H5v-1c0-.55.45-1 1-1h2v-2H3c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm13 9V4H4v7h12zM5 5h9L5 9V5z'; - break; - - case 'dismiss': - path = 'M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm5 11l-3-3 3-3-2-2-3 3-3-3-2 2 3 3-3 3 2 2 3-3 3 3z'; - break; - - case 'download': - path = 'M14.01 4v6h2V2H4v8h2.01V4h8zm-2 2v6h3l-5 6-5-6h3V6h4z'; - break; - - case 'edit': - path = 'M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z'; - break; - - case 'editor-aligncenter': - path = 'M14 5V3H6v2h8zm3 4V7H3v2h14zm-3 4v-2H6v2h8zm3 4v-2H3v2h14z'; - break; - - case 'editor-alignleft': - path = 'M12 5V3H3v2h9zm5 4V7H3v2h14zm-5 4v-2H3v2h9zm5 4v-2H3v2h14z'; - break; - - case 'editor-alignright': - path = 'M17 5V3H8v2h9zm0 4V7H3v2h14zm0 4v-2H8v2h9zm0 4v-2H3v2h14z'; - break; - - case 'editor-bold': - path = 'M6 4v13h4.54c1.37 0 2.46-.33 3.26-1 .8-.66 1.2-1.58 1.2-2.77 0-.84-.17-1.51-.51-2.01s-.9-.85-1.67-1.03v-.09c.57-.1 1.02-.4 1.36-.9s.51-1.13.51-1.91c0-1.14-.39-1.98-1.17-2.5C12.75 4.26 11.5 4 9.78 4H6zm2.57 5.15V6.26h1.36c.73 0 1.27.11 1.61.32.34.22.51.58.51 1.07 0 .54-.16.92-.47 1.15s-.82.35-1.51.35h-1.5zm0 2.19h1.6c1.44 0 2.16.53 2.16 1.61 0 .6-.17 1.05-.51 1.34s-.86.43-1.57.43H8.57v-3.38z'; - break; - - case 'editor-break': - path = 'M16 4h2v9H7v3l-5-4 5-4v3h9V4z'; - break; - - case 'editor-code': - path = 'M9 6l-4 4 4 4-1 2-6-6 6-6zm2 8l4-4-4-4 1-2 6 6-6 6z'; - break; - - case 'editor-contract': - path = 'M15.75 6.75L18 3v14l-2.25-3.75L17 12h-4v4l1.25-1.25L18 17H2l3.75-2.25L7 16v-4H3l1.25 1.25L2 17V3l2.25 3.75L3 8h4V4L5.75 5.25 2 3h16l-3.75 2.25L13 4v4h4z'; - break; - - case 'editor-customchar': - path = 'M10 5.4c1.27 0 2.24.36 2.91 1.08.66.71 1 1.76 1 3.13 0 1.28-.23 2.37-.69 3.27-.47.89-1.27 1.52-2.22 2.12v2h6v-2h-3.69c.92-.64 1.62-1.34 2.12-2.34.49-1.01.74-2.13.74-3.35 0-1.78-.55-3.19-1.65-4.22S11.92 3.54 10 3.54s-3.43.53-4.52 1.57c-1.1 1.04-1.65 2.44-1.65 4.2 0 1.21.24 2.31.73 3.33.48 1.01 1.19 1.71 2.1 2.36H3v2h6v-2c-.98-.64-1.8-1.28-2.24-2.17-.45-.89-.67-1.96-.67-3.22 0-1.37.33-2.41 1-3.13C7.75 5.76 8.72 5.4 10 5.4z'; - break; - - case 'editor-expand': - path = 'M7 8h6v4H7zm-5 5v4h4l-1.2-1.2L7 12l-3.8 2.2M14 17h4v-4l-1.2 1.2L13 12l2.2 3.8M14 3l1.3 1.3L13 8l3.8-2.2L18 7V3M6 3H2v4l1.2-1.2L7 8 4.7 4.3'; - break; - - case 'editor-help': - path = 'M17 10c0-3.87-3.14-7-7-7-3.87 0-7 3.13-7 7s3.13 7 7 7c3.86 0 7-3.13 7-7zm-6.3 1.48H9.14v-.43c0-.38.08-.7.24-.98s.46-.57.88-.89c.41-.29.68-.53.81-.71.14-.18.2-.39.2-.62 0-.25-.09-.44-.28-.58-.19-.13-.45-.19-.79-.19-.58 0-1.25.19-2 .57l-.64-1.28c.87-.49 1.8-.74 2.77-.74.81 0 1.45.2 1.92.58.48.39.71.91.71 1.55 0 .43-.09.8-.29 1.11-.19.32-.57.67-1.11 1.06-.38.28-.61.49-.71.63-.1.15-.15.34-.15.57v.35zm-1.47 2.74c-.18-.17-.27-.42-.27-.73 0-.33.08-.58.26-.75s.43-.25.77-.25c.32 0 .57.09.75.26s.27.42.27.74c0 .3-.09.55-.27.72-.18.18-.43.27-.75.27-.33 0-.58-.09-.76-.26z'; - break; - - case 'editor-indent': - path = 'M3 5V3h9v2H3zm10-1V3h4v1h-4zm0 3h2V5l4 3.5-4 3.5v-2h-2V7zM3 8V6h9v2H3zm2 3V9h7v2H5zm-2 3v-2h9v2H3zm10 0v-1h4v1h-4zm-4 3v-2h3v2H9z'; - break; - - case 'editor-insertmore': - path = 'M17 7V3H3v4h14zM6 11V9H3v2h3zm6 0V9H8v2h4zm5 0V9h-3v2h3zm0 6v-4H3v4h14z'; - break; - - case 'editor-italic': - path = 'M14.78 6h-2.13l-2.8 9h2.12l-.62 2H4.6l.62-2h2.14l2.8-9H8.03l.62-2h6.75z'; - break; - - case 'editor-justify': - path = 'M2 3h16v2H2V3zm0 4h16v2H2V7zm0 4h16v2H2v-2zm0 4h16v2H2v-2z'; - break; - - case 'editor-kitchensink': - path = 'M19 2v6H1V2h18zm-1 5V3H2v4h16zM5 4v2H3V4h2zm3 0v2H6V4h2zm3 0v2H9V4h2zm3 0v2h-2V4h2zm3 0v2h-2V4h2zm2 5v9H1V9h18zm-1 8v-7H2v7h16zM5 11v2H3v-2h2zm3 0v2H6v-2h2zm3 0v2H9v-2h2zm6 0v2h-5v-2h5zm-6 3v2H3v-2h8zm3 0v2h-2v-2h2zm3 0v2h-2v-2h2z'; - break; - - case 'editor-ltr': - path = 'M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z'; - break; - - case 'editor-ol-rtl': - path = 'M15.025 8.75a1.048 1.048 0 0 1 .45-.1.507.507 0 0 1 .35.11.455.455 0 0 1 .13.36.803.803 0 0 1-.06.3 1.448 1.448 0 0 1-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76v-.7h-1.72v-.04l.51-.48a7.276 7.276 0 0 0 .7-.71 1.75 1.75 0 0 0 .3-.49 1.254 1.254 0 0 0 .1-.51.968.968 0 0 0-.16-.56 1.007 1.007 0 0 0-.44-.37 1.512 1.512 0 0 0-.65-.14 1.98 1.98 0 0 0-.51.06 1.9 1.9 0 0 0-.42.15 3.67 3.67 0 0 0-.48.35l.45.54a2.505 2.505 0 0 1 .45-.3zM16.695 15.29a1.29 1.29 0 0 0-.74-.3v-.02a1.203 1.203 0 0 0 .65-.37.973.973 0 0 0 .23-.65.81.81 0 0 0-.37-.71 1.72 1.72 0 0 0-1-.26 2.185 2.185 0 0 0-1.33.4l.4.6a1.79 1.79 0 0 1 .46-.23 1.18 1.18 0 0 1 .41-.07c.38 0 .58.15.58.46a.447.447 0 0 1-.22.43 1.543 1.543 0 0 1-.7.12h-.31v.66h.31a1.764 1.764 0 0 1 .75.12.433.433 0 0 1 .23.41.55.55 0 0 1-.2.47 1.084 1.084 0 0 1-.63.15 2.24 2.24 0 0 1-.57-.08 2.671 2.671 0 0 1-.52-.2v.74a2.923 2.923 0 0 0 1.18.22 1.948 1.948 0 0 0 1.22-.33 1.077 1.077 0 0 0 .43-.92.836.836 0 0 0-.26-.64zM15.005 4.17c.06-.05.16-.14.3-.28l-.02.42V7h.84V3h-.69l-1.29 1.03.4.51zM4.02 5h9v1h-9zM4.02 10h9v1h-9zM4.02 15h9v1h-9z'; - break; - - case 'editor-ol': - path = 'M6 7V3h-.69L4.02 4.03l.4.51.46-.37c.06-.05.16-.14.3-.28l-.02.42V7H6zm2-2h9v1H8V5zm-1.23 6.95v-.7H5.05v-.04l.51-.48c.33-.31.57-.54.7-.71.14-.17.24-.33.3-.49.07-.16.1-.33.1-.51 0-.21-.05-.4-.16-.56-.1-.16-.25-.28-.44-.37s-.41-.14-.65-.14c-.19 0-.36.02-.51.06-.15.03-.29.09-.42.15-.12.07-.29.19-.48.35l.45.54c.16-.13.31-.23.45-.3.15-.07.3-.1.45-.1.14 0 .26.03.35.11s.13.2.13.36c0 .1-.02.2-.06.3s-.1.21-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76zM8 10h9v1H8v-1zm-1.29 3.95c0-.3-.12-.54-.37-.71-.24-.17-.58-.26-1-.26-.52 0-.96.13-1.33.4l.4.6c.17-.11.32-.19.46-.23.14-.05.27-.07.41-.07.38 0 .58.15.58.46 0 .2-.07.35-.22.43s-.38.12-.7.12h-.31v.66h.31c.34 0 .59.04.75.12.15.08.23.22.23.41 0 .22-.07.37-.2.47-.14.1-.35.15-.63.15-.19 0-.38-.03-.57-.08s-.36-.12-.52-.2v.74c.34.15.74.22 1.18.22.53 0 .94-.11 1.22-.33.29-.22.43-.52.43-.92 0-.27-.09-.48-.26-.64s-.42-.26-.74-.3v-.02c.27-.06.49-.19.65-.37.15-.18.23-.39.23-.65zM8 15h9v1H8v-1z'; - break; - - case 'editor-outdent': - path = 'M7 4V3H3v1h4zm10 1V3H8v2h9zM7 7H5V5L1 8.5 5 12v-2h2V7zm10 1V6H8v2h9zm-2 3V9H8v2h7zm2 3v-2H8v2h9zM7 14v-1H3v1h4zm4 3v-2H8v2h3z'; - break; - - case 'editor-paragraph': - path = 'M15 2H7.54c-.83 0-1.59.2-2.28.6-.7.41-1.25.96-1.65 1.65C3.2 4.94 3 5.7 3 6.52s.2 1.58.61 2.27c.4.69.95 1.24 1.65 1.64.69.41 1.45.61 2.28.61h.43V17c0 .27.1.51.29.71.2.19.44.29.71.29.28 0 .51-.1.71-.29.2-.2.3-.44.3-.71V5c0-.27.09-.51.29-.71.2-.19.44-.29.71-.29s.51.1.71.29c.19.2.29.44.29.71v12c0 .27.1.51.3.71.2.19.43.29.71.29.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71V4H15c.27 0 .5-.1.7-.3.2-.19.3-.43.3-.7s-.1-.51-.3-.71C15.5 2.1 15.27 2 15 2z'; - break; - - case 'editor-paste-text': - path = 'M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.44 1-1 0-.55-.45-1-1-1s-1 .45-1 1c0 .56.45 1 1 1zm5.45-1H17c.55 0 1 .45 1 1v12c0 .56-.45 1-1 1H3c-.55 0-1-.44-1-1V5c0-.55.45-1 1-1h1.55L4 4.63V7h12V4.63zM14 11V9H6v2h3v5h2v-5h3z'; - break; - - case 'editor-paste-word': - path = 'M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm8 12V5c0-.55-.45-1-1-1h-1.54l.54.63V7H4V4.62L4.55 4H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-3-8l-2 7h-2l-1-5-1 5H6.92L5 9h2l1 5 1-5h2l1 5 1-5h2z'; - break; - - case 'editor-quote': - path = 'M9.49 13.22c0-.74-.2-1.38-.61-1.9-.62-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L7.88 4c-2.73 1.3-5.42 4.28-4.96 8.05C3.21 14.43 4.59 16 6.54 16c.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03zm8.05 0c0-.74-.2-1.38-.61-1.9-.63-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L15.93 4c-2.73 1.3-5.41 4.28-4.95 8.05.29 2.38 1.66 3.95 3.61 3.95.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03z'; - break; - - case 'editor-removeformatting': - path = 'M14.29 4.59l1.1 1.11c.41.4.61.94.61 1.47v2.12c0 .53-.2 1.07-.61 1.47l-6.63 6.63c-.4.41-.94.61-1.47.61s-1.07-.2-1.47-.61l-1.11-1.1-1.1-1.11c-.41-.4-.61-.94-.61-1.47v-2.12c0-.54.2-1.07.61-1.48l6.63-6.62c.4-.41.94-.61 1.47-.61s1.06.2 1.47.61zm-6.21 9.7l6.42-6.42c.39-.39.39-1.03 0-1.43L12.36 4.3c-.19-.19-.45-.29-.72-.29s-.52.1-.71.29l-6.42 6.42c-.39.4-.39 1.04 0 1.43l2.14 2.14c.38.38 1.04.38 1.43 0z'; - break; - - case 'editor-rtl': - path = 'M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM19 6l-5 4 5 4V6z'; - break; - - case 'editor-spellcheck': - path = 'M15.84 2.76c.25 0 .49.04.71.11.23.07.44.16.64.25l.35-.81c-.52-.26-1.08-.39-1.69-.39-.58 0-1.09.13-1.52.37-.43.25-.76.61-.99 1.08C13.11 3.83 13 4.38 13 5c0 .99.23 1.75.7 2.28s1.15.79 2.02.79c.6 0 1.13-.09 1.6-.26v-.84c-.26.08-.51.14-.74.19-.24.05-.49.08-.74.08-.59 0-1.04-.19-1.34-.57-.32-.37-.47-.93-.47-1.66 0-.7.16-1.25.48-1.65.33-.4.77-.6 1.33-.6zM6.5 8h1.04L5.3 2H4.24L2 8h1.03l.58-1.66H5.9zM8 2v6h2.17c.67 0 1.19-.15 1.57-.46.38-.3.56-.72.56-1.26 0-.4-.1-.72-.3-.95-.19-.24-.5-.39-.93-.47v-.04c.35-.06.6-.21.78-.44.18-.24.28-.53.28-.88 0-.52-.19-.9-.56-1.14-.36-.24-.96-.36-1.79-.36H8zm.98 2.48V2.82h.85c.44 0 .77.06.97.19.21.12.31.33.31.61 0 .31-.1.53-.29.66-.18.13-.48.2-.89.2h-.95zM5.64 5.5H3.9l.54-1.56c.14-.4.25-.76.32-1.1l.15.52c.07.23.13.4.17.51zm3.34-.23h.99c.44 0 .76.08.98.23.21.15.32.38.32.69 0 .34-.11.59-.32.75s-.52.24-.93.24H8.98V5.27zM4 13l5 5 9-8-1-1-8 6-4-3z'; - break; - - case 'editor-strikethrough': - path = 'M15.82 12.25c.26 0 .5-.02.74-.07.23-.05.48-.12.73-.2v.84c-.46.17-.99.26-1.58.26-.88 0-1.54-.26-2.01-.79-.39-.44-.62-1.04-.68-1.79h-.94c.12.21.18.48.18.79 0 .54-.18.95-.55 1.26-.38.3-.9.45-1.56.45H8v-2.5H6.59l.93 2.5H6.49l-.59-1.67H3.62L3.04 13H2l.93-2.5H2v-1h1.31l.93-2.49H5.3l.92 2.49H8V7h1.77c1 0 1.41.17 1.77.41.37.24.55.62.55 1.13 0 .35-.09.64-.27.87l-.08.09h1.29c.05-.4.15-.77.31-1.1.23-.46.55-.82.98-1.06.43-.25.93-.37 1.51-.37.61 0 1.17.12 1.69.38l-.35.81c-.2-.1-.42-.18-.64-.25s-.46-.11-.71-.11c-.55 0-.99.2-1.31.59-.23.29-.38.66-.44 1.11H17v1h-2.95c.06.5.2.9.44 1.19.3.37.75.56 1.33.56zM4.44 8.96l-.18.54H5.3l-.22-.61c-.04-.11-.09-.28-.17-.51-.07-.24-.12-.41-.14-.51-.08.33-.18.69-.33 1.09zm4.53-1.09V9.5h1.19c.28-.02.49-.09.64-.18.19-.13.28-.35.28-.66 0-.28-.1-.48-.3-.61-.2-.12-.53-.18-.97-.18h-.84zm-3.33 2.64v-.01H3.91v.01h1.73zm5.28.01l-.03-.02H8.97v1.68h1.04c.4 0 .71-.08.92-.23.21-.16.31-.4.31-.74 0-.31-.11-.54-.32-.69z'; - break; - - case 'editor-table': - path = 'M18 17V3H2v14h16zM16 7H4V5h12v2zm-7 4H4V9h5v2zm7 0h-5V9h5v2zm-7 4H4v-2h5v2zm7 0h-5v-2h5v2z'; - break; - - case 'editor-textcolor': - path = 'M13.23 15h1.9L11 4H9L5 15h1.88l1.07-3h4.18zm-1.53-4.54H8.51L10 5.6z'; - break; - - case 'editor-ul': - path = 'M5.5 7C4.67 7 4 6.33 4 5.5 4 4.68 4.67 4 5.5 4 6.32 4 7 4.68 7 5.5 7 6.33 6.32 7 5.5 7zM8 5h9v1H8V5zm-2.5 7c-.83 0-1.5-.67-1.5-1.5C4 9.68 4.67 9 5.5 9c.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 10h9v1H8v-1zm-2.5 7c-.83 0-1.5-.67-1.5-1.5 0-.82.67-1.5 1.5-1.5.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 15h9v1H8v-1z'; - break; - - case 'editor-underline': - path = 'M14 5h-2v5.71c0 1.99-1.12 2.98-2.45 2.98-1.32 0-2.55-1-2.55-2.96V5H5v5.87c0 1.91 1 4.54 4.48 4.54 3.49 0 4.52-2.58 4.52-4.5V5zm0 13v-2H5v2h9z'; - break; - - case 'editor-unlink': - path = 'M17.74 2.26c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-.32.33-.69.58-1.08.77L13 10l1.69-1.64.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-.76.76L10 7l-.65-2.14c.19-.38.44-.75.77-1.07l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM2 4l8 6-6-8zm4-2l4 8-2-8H6zM2 6l8 4-8-2V6zm7.36 7.69L10 13l.74 2.35-1.38 1.39c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.39-1.38L7 10l-.69.64-1.52 1.53c-.85.84-.85 2.2 0 3.04.84.85 2.2.85 3.04 0zM18 16l-8-6 6 8zm-4 2l-4-8 2 8h2zm4-4l-8-4 8 2v2z'; - break; - - case 'editor-video': - path = 'M16 2h-3v1H7V2H4v15h3v-1h6v1h3V2zM6 3v1H5V3h1zm9 0v1h-1V3h1zm-2 1v5H7V4h6zM6 5v1H5V5h1zm9 0v1h-1V5h1zM6 7v1H5V7h1zm9 0v1h-1V7h1zM6 9v1H5V9h1zm9 0v1h-1V9h1zm-2 1v5H7v-5h6zm-7 1v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1z'; - break; - - case 'ellipsis': - path = 'M5 10c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z'; - break; - - case 'email-alt': - path = 'M19 14.5v-9c0-.83-.67-1.5-1.5-1.5H3.49c-.83 0-1.5.67-1.5 1.5v9c0 .83.67 1.5 1.5 1.5H17.5c.83 0 1.5-.67 1.5-1.5zm-1.31-9.11c.33.33.15.67-.03.84L13.6 9.95l3.9 4.06c.12.14.2.36.06.51-.13.16-.43.15-.56.05l-4.37-3.73-2.14 1.95-2.13-1.95-4.37 3.73c-.13.1-.43.11-.56-.05-.14-.15-.06-.37.06-.51l3.9-4.06-4.06-3.72c-.18-.17-.36-.51-.03-.84s.67-.17.95.07l6.24 5.04 6.25-5.04c.28-.24.62-.4.95-.07z'; - break; - - case 'email-alt2': - path = 'M18.01 11.18V2.51c0-1.19-.9-1.81-2-1.37L4 5.91c-1.1.44-2 1.77-2 2.97v8.66c0 1.2.9 1.81 2 1.37l12.01-4.77c1.1-.44 2-1.76 2-2.96zm-1.43-7.46l-6.04 9.33-6.65-4.6c-.1-.07-.36-.32-.17-.64.21-.36.65-.21.65-.21l6.3 2.32s4.83-6.34 5.11-6.7c.13-.17.43-.34.73-.13.29.2.16.49.07.63z'; - break; - - case 'email': - path = 'M3.87 4h13.25C18.37 4 19 4.59 19 5.79v8.42c0 1.19-.63 1.79-1.88 1.79H3.87c-1.25 0-1.88-.6-1.88-1.79V5.79c0-1.2.63-1.79 1.88-1.79zm6.62 8.6l6.74-5.53c.24-.2.43-.66.13-1.07-.29-.41-.82-.42-1.17-.17l-5.7 3.86L4.8 5.83c-.35-.25-.88-.24-1.17.17-.3.41-.11.87.13 1.07z'; - break; - - case 'embed-audio': - path = 'M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 3H7v4c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.4 0 .7.1 1 .3V5h4v2zm4 3.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z'; - break; - - case 'embed-generic': - path = 'M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-3 6.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z'; - break; - - case 'embed-photo': - path = 'M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 8H3V6h7v6zm4-1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3zm-6-4V8.5L7.2 10 6 9.2 4 11h5zM4.6 8.6c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z'; - break; - - case 'embed-post': - path = 'M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM8.6 9l-.4.3c-.4.4-.5 1.1-.2 1.6l-.8.8-1.1-1.1-1.3 1.3c-.2.2-1.6 1.3-1.8 1.1-.2-.2.9-1.6 1.1-1.8l1.3-1.3-1.1-1.1.8-.8c.5.3 1.2.3 1.6-.2l.3-.3c.5-.5.5-1.2.2-1.7L8 5l3 2.9-.8.8c-.5-.2-1.2-.2-1.6.3zm5.4 1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z'; - break; - - case 'embed-video': - path = 'M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 6.5L8 9.1V11H3V6h5v1.8l2-1.3v4zm4 0L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z'; - break; - - case 'excerpt-view': - path = 'M19 18V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h16c.55 0 1-.45 1-1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6V3h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6v-6h11z'; - break; - - case 'exit': - path = 'M13 3v2h2v10h-2v2h4V3h-4zm0 8V9H5.4l4.3-4.3-1.4-1.4L1.6 10l6.7 6.7 1.4-1.4L5.4 11H13z'; - break; - - case 'external': - path = 'M9 3h8v8l-2-1V6.92l-5.6 5.59-1.41-1.41L14.08 5H10zm3 12v-3l2-2v7H3V6h8L9 8H5v7h7z'; - break; - - case 'facebook-alt': - path = 'M8.46 18h2.93v-7.3h2.45l.37-2.84h-2.82V6.04c0-.82.23-1.38 1.41-1.38h1.51V2.11c-.26-.03-1.15-.11-2.19-.11-2.18 0-3.66 1.33-3.66 3.76v2.1H6v2.84h2.46V18z'; - break; - - case 'facebook': - path = 'M2.89 2h14.23c.49 0 .88.39.88.88v14.24c0 .48-.39.88-.88.88h-4.08v-6.2h2.08l.31-2.41h-2.39V7.85c0-.7.2-1.18 1.2-1.18h1.28V4.51c-.22-.03-.98-.09-1.86-.09-1.85 0-3.11 1.12-3.11 3.19v1.78H8.46v2.41h2.09V18H2.89c-.49 0-.89-.4-.89-.88V2.88c0-.49.4-.88.89-.88z'; - break; - - case 'feedback': - path = 'M2 2h16c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm15 14V7H3v9h14zM4 8v1h3V8H4zm4 0v3h8V8H8zm-4 4v1h3v-1H4zm4 0v3h8v-3H8z'; - break; - - case 'filter': - path = 'M3 4.5v-2s3.34-1 7-1 7 1 7 1v2l-5 7.03v6.97s-1.22-.09-2.25-.59S8 16.5 8 16.5v-4.97z'; - break; - - case 'flag': - path = 'M5 18V3H3v15h2zm1-6V4c3-1 7 1 11 0v8c-3 1.27-8-1-11 0z'; - break; - - case 'format-aside': - path = 'M1 1h18v12l-6 6H1V1zm3 3v1h12V4H4zm0 4v1h12V8H4zm6 5v-1H4v1h6zm2 4l5-5h-5v5z'; - break; - - case 'format-audio': - path = 'M6.99 3.08l11.02-2c.55-.08.99.45.99 1V14.5c0 1.94-1.57 3.5-3.5 3.5S12 16.44 12 14.5c0-1.93 1.57-3.5 3.5-3.5.54 0 1.04.14 1.5.35V5.08l-9 2V16c-.24 1.7-1.74 3-3.5 3C2.57 19 1 17.44 1 15.5 1 13.57 2.57 12 4.5 12c.54 0 1.04.14 1.5.35V4.08c0-.55.44-.91.99-1z'; - break; - - case 'format-chat': - path = 'M11 6h-.82C9.07 6 8 7.2 8 8.16V10l-3 3v-3H3c-1.1 0-2-.9-2-2V3c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v3zm0 1h6c1.1 0 2 .9 2 2v5c0 1.1-.9 2-2 2h-2v3l-3-3h-1c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2z'; - break; - - case 'format-gallery': - path = 'M16 4h1.96c.57 0 1.04.47 1.04 1.04v12.92c0 .57-.47 1.04-1.04 1.04H5.04C4.47 19 4 18.53 4 17.96V16H2.04C1.47 16 1 15.53 1 14.96V2.04C1 1.47 1.47 1 2.04 1h12.92c.57 0 1.04.47 1.04 1.04V4zM3 14h11V3H3v11zm5-8.5C8 4.67 7.33 4 6.5 4S5 4.67 5 5.5 5.67 7 6.5 7 8 6.33 8 5.5zm2 4.5s1-5 3-5v8H4V7c2 0 2 3 2 3s.33-2 2-2 2 2 2 2zm7 7V6h-1v8.96c0 .57-.47 1.04-1.04 1.04H6v1h11z'; - break; - - case 'format-image': - path = 'M2.25 1h15.5c.69 0 1.25.56 1.25 1.25v15.5c0 .69-.56 1.25-1.25 1.25H2.25C1.56 19 1 18.44 1 17.75V2.25C1 1.56 1.56 1 2.25 1zM17 17V3H3v14h14zM10 6c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm3 5s0-6 3-6v10c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1V8c2 0 3 4 3 4s1-3 3-3 3 2 3 2z'; - break; - - case 'format-quote': - path = 'M8.54 12.74c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45L6.65 1.94C3.45 3.46.31 6.96.85 11.37 1.19 14.16 2.8 16 5.08 16c1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38zm9.43 0c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45l-1.63-2.28c-3.2 1.52-6.34 5.02-5.8 9.43.34 2.79 1.95 4.63 4.23 4.63 1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38z'; - break; - - case 'format-status': - path = 'M10 1c7 0 9 2.91 9 6.5S17 14 10 14s-9-2.91-9-6.5S3 1 10 1zM5.5 9C6.33 9 7 8.33 7 7.5S6.33 6 5.5 6 4 6.67 4 7.5 4.67 9 5.5 9zM10 9c.83 0 1.5-.67 1.5-1.5S10.83 6 10 6s-1.5.67-1.5 1.5S9.17 9 10 9zm4.5 0c.83 0 1.5-.67 1.5-1.5S15.33 6 14.5 6 13 6.67 13 7.5 13.67 9 14.5 9zM6 14.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm-3 2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z'; - break; - - case 'format-video': - path = 'M2 1h16c.55 0 1 .45 1 1v16l-18-.02V2c0-.55.45-1 1-1zm4 1L4 5h1l2-3H6zm4 0H9L7 5h1zm3 0h-1l-2 3h1zm3 0h-1l-2 3h1zm1 14V6H3v10h14zM8 7l6 4-6 4V7z'; - break; - - case 'forms': - path = 'M2 2h7v7H2V2zm9 0v7h7V2h-7zM5.5 4.5L7 3H4zM12 8V3h5v5h-5zM4.5 5.5L3 4v3zM8 4L6.5 5.5 8 7V4zM5.5 6.5L4 8h3zM9 18v-7H2v7h7zm9 0h-7v-7h7v7zM8 12v5H3v-5h5zm6.5 1.5L16 12h-3zM12 16l1.5-1.5L12 13v3zm3.5-1.5L17 16v-3zm-1 1L13 17h3z'; - break; - - case 'googleplus': - path = 'M6.73 10h5.4c.05.29.09.57.09.95 0 3.27-2.19 5.6-5.49 5.6-3.17 0-5.73-2.57-5.73-5.73 0-3.17 2.56-5.73 5.73-5.73 1.54 0 2.84.57 3.83 1.5l-1.55 1.5c-.43-.41-1.17-.89-2.28-.89-1.96 0-3.55 1.62-3.55 3.62 0 1.99 1.59 3.61 3.55 3.61 2.26 0 3.11-1.62 3.24-2.47H6.73V10zM19 10v1.64h-1.64v1.63h-1.63v-1.63h-1.64V10h1.64V8.36h1.63V10H19z'; - break; - - case 'grid-view': - path = 'M2 1h16c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1zm7.01 7.99v-6H3v6h6.01zm8 0v-6h-6v6h6zm-8 8.01v-6H3v6h6.01zm8 0v-6h-6v6h6z'; - break; - - case 'groups': - path = 'M8.03 4.46c-.29 1.28.55 3.46 1.97 3.46 1.41 0 2.25-2.18 1.96-3.46-.22-.98-1.08-1.63-1.96-1.63-.89 0-1.74.65-1.97 1.63zm-4.13.9c-.25 1.08.47 2.93 1.67 2.93s1.92-1.85 1.67-2.93c-.19-.83-.92-1.39-1.67-1.39s-1.48.56-1.67 1.39zm8.86 0c-.25 1.08.47 2.93 1.66 2.93 1.2 0 1.92-1.85 1.67-2.93-.19-.83-.92-1.39-1.67-1.39-.74 0-1.47.56-1.66 1.39zm-.59 11.43l1.25-4.3C14.2 10 12.71 8.47 10 8.47c-2.72 0-4.21 1.53-3.44 4.02l1.26 4.3C8.05 17.51 9 18 10 18c.98 0 1.94-.49 2.17-1.21zm-6.1-7.63c-.49.67-.96 1.83-.42 3.59l1.12 3.79c-.34.2-.77.31-1.2.31-.85 0-1.65-.41-1.85-1.03l-1.07-3.65c-.65-2.11.61-3.4 2.92-3.4.27 0 .54.02.79.06-.1.1-.2.22-.29.33zm8.35-.39c2.31 0 3.58 1.29 2.92 3.4l-1.07 3.65c-.2.62-1 1.03-1.85 1.03-.43 0-.86-.11-1.2-.31l1.11-3.77c.55-1.78.08-2.94-.42-3.61-.08-.11-.18-.23-.28-.33.25-.04.51-.06.79-.06z'; - break; - - case 'hammer': - path = 'M17.7 6.32l1.41 1.42-3.47 3.41-1.42-1.42.84-.82c-.32-.76-.81-1.57-1.51-2.31l-4.61 6.59-5.26 4.7c-.39.39-1.02.39-1.42 0l-1.2-1.21c-.39-.39-.39-1.02 0-1.41l10.97-9.92c-1.37-.86-3.21-1.46-5.67-1.48 2.7-.82 4.95-.93 6.58-.3 1.7.66 2.82 2.2 3.91 3.58z'; - break; - - case 'heading': - path = 'M12.5 4v5.2h-5V4H5v13h2.5v-5.2h5V17H15V4'; - break; - - case 'heart': - path = 'M10 17.12c3.33-1.4 5.74-3.79 7.04-6.21 1.28-2.41 1.46-4.81.32-6.25-1.03-1.29-2.37-1.78-3.73-1.74s-2.68.63-3.63 1.46c-.95-.83-2.27-1.42-3.63-1.46s-2.7.45-3.73 1.74c-1.14 1.44-.96 3.84.34 6.25 1.28 2.42 3.69 4.81 7.02 6.21z'; - break; - - case 'hidden': - path = 'M17.2 3.3l.16.17c.39.39.39 1.02 0 1.41L4.55 17.7c-.39.39-1.03.39-1.41 0l-.17-.17c-.39-.39-.39-1.02 0-1.41l1.59-1.6c-1.57-1-2.76-2.3-3.56-3.93.81-1.65 2.03-2.98 3.64-3.99S8.04 5.09 10 5.09c1.2 0 2.33.21 3.4.6l2.38-2.39c.39-.39 1.03-.39 1.42 0zm-7.09 4.01c-.23.25-.34.54-.34.88 0 .31.12.58.31.81l1.8-1.79c-.13-.12-.28-.21-.45-.26-.11-.01-.28-.03-.49-.04-.33.03-.6.16-.83.4zM2.4 10.59c.69 1.23 1.71 2.25 3.05 3.05l1.28-1.28c-.51-.69-.77-1.47-.77-2.36 0-1.06.36-1.98 1.09-2.76-1.04.27-1.96.7-2.76 1.26-.8.58-1.43 1.27-1.89 2.09zm13.22-2.13l.96-.96c1.02.86 1.83 1.89 2.42 3.09-.81 1.65-2.03 2.98-3.64 3.99s-3.4 1.51-5.36 1.51c-.63 0-1.24-.07-1.83-.18l1.07-1.07c.25.02.5.05.76.05 1.63 0 3.13-.4 4.5-1.21s2.4-1.84 3.1-3.09c-.46-.82-1.09-1.51-1.89-2.09-.03-.01-.06-.03-.09-.04zm-5.58 5.58l4-4c-.01 1.1-.41 2.04-1.18 2.81-.78.78-1.72 1.18-2.82 1.19z'; - break; - - case 'html': - path = 'M4 16v-2H2v2H1v-5h1v2h2v-2h1v5H4zM7 16v-4H5.6v-1h3.7v1H8v4H7zM10 16v-5h1l1.4 3.4h.1L14 11h1v5h-1v-3.1h-.1l-1.1 2.5h-.6l-1.1-2.5H11V16h-1zM19 16h-3v-5h1v4h2v1zM9.4 4.2L7.1 6.5l2.3 2.3-.6 1.2-3.5-3.5L8.8 3l.6 1.2zm1.2 4.6l2.3-2.3-2.3-2.3.6-1.2 3.5 3.5-3.5 3.5-.6-1.2z'; - break; - - case 'id-alt': - path = 'M18 18H2V2h16v16zM8.05 7.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L8.95 6c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C8.23 4.1 7.95 4 7.6 4c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM16 5V4h-5v1h5zm0 2V6h-5v1h5zM7.62 8.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM16 9V8h-3v1h3zm0 2v-1h-3v1h3zm0 3v-1H4v1h12zm0 2v-1H4v1h12z'; - break; - - case 'id': - path = 'M18 16H2V4h16v12zM7.05 8.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L7.95 7c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C7.23 5.1 6.95 5 6.6 5c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM17 9V5h-5v4h5zm-10.38.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM17 11v-1h-5v1h5zm0 2v-1h-5v1h5zm0 2v-1H3v1h14z'; - break; - - case 'image-crop': - path = 'M19 12v3h-4v4h-3v-4H4V7H0V4h4V0h3v4h7l3-3 1 1-3 3v7h4zm-8-5H7v4zm-3 5h4V8z'; - break; - - case 'image-filter': - path = 'M14 5.87c0-2.2-1.79-4-4-4s-4 1.8-4 4c0 2.21 1.79 4 4 4s4-1.79 4-4zM3.24 10.66c-1.92 1.1-2.57 3.55-1.47 5.46 1.11 1.92 3.55 2.57 5.47 1.47 1.91-1.11 2.57-3.55 1.46-5.47-1.1-1.91-3.55-2.56-5.46-1.46zm9.52 6.93c1.92 1.1 4.36.45 5.47-1.46 1.1-1.92.45-4.36-1.47-5.47-1.91-1.1-4.36-.45-5.46 1.46-1.11 1.92-.45 4.36 1.46 5.47z'; - break; - - case 'image-flip-horizontal': - path = 'M19 3v14h-8v3H9v-3H1V3h8V0h2v3h8zm-8.5 14V3h-1v14h1zM7 6.5L3 10l4 3.5v-7zM17 10l-4-3.5v7z'; - break; - - case 'image-flip-vertical': - path = 'M20 9v2h-3v8H3v-8H0V9h3V1h14v8h3zM6.5 7h7L10 3zM17 9.5H3v1h14v-1zM13.5 13h-7l3.5 4z'; - break; - - case 'image-rotate-left': - path = 'M7 5H5.05c0-1.74.85-2.9 2.95-2.9V0C4.85 0 2.96 2.11 2.96 5H1.18L3.8 8.39zm13-4v14h-5v5H1V10h9V1h10zm-2 2h-6v7h3v3h3V3zm-5 9H3v6h10v-6z'; - break; - - case 'image-rotate-right': - path = 'M15.95 5H14l3.2 3.39L19.82 5h-1.78c0-2.89-1.89-5-5.04-5v2.1c2.1 0 2.95 1.16 2.95 2.9zM1 1h10v9h9v10H6v-5H1V1zm2 2v10h3v-3h3V3H3zm5 9v6h10v-6H8z'; - break; - - case 'image-rotate': - path = 'M10.25 1.02c5.1 0 8.75 4.04 8.75 9s-3.65 9-8.75 9c-3.2 0-6.02-1.59-7.68-3.99l2.59-1.52c1.1 1.5 2.86 2.51 4.84 2.51 3.3 0 6-2.79 6-6s-2.7-6-6-6c-1.97 0-3.72 1-4.82 2.49L7 8.02l-6 2v-7L2.89 4.6c1.69-2.17 4.36-3.58 7.36-3.58z'; - break; - - case 'images-alt': - path = 'M4 15v-3H2V2h12v3h2v3h2v10H6v-3H4zm7-12c-1.1 0-2 .9-2 2h4c0-1.1-.89-2-2-2zm-7 8V6H3v5h1zm7-3h4c0-1.1-.89-2-2-2-1.1 0-2 .9-2 2zm-5 6V9H5v5h1zm9-1c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2s-2 .9-2 2c0 1.11.9 2 2 2zm2 4v-2c-5 0-5-3-10-3v5h10z'; - break; - - case 'images-alt2': - path = 'M5 3h14v11h-2v2h-2v2H1V7h2V5h2V3zm13 10V4H6v9h12zm-3-4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm1 6v-1H5V6H4v9h12zM7 6l10 6H7V6zm7 11v-1H3V8H2v9h12z'; - break; - - case 'index-card': - path = 'M1 3.17V18h18V4H8v-.83c0-.32-.12-.6-.35-.83S7.14 2 6.82 2H2.18c-.33 0-.6.11-.83.34-.24.23-.35.51-.35.83zM10 6v2H3V6h7zm7 0v10h-5V6h5zm-7 4v2H3v-2h7zm0 4v2H3v-2h7z'; - break; - - case 'info-outline': - path = 'M9 15h2V9H9v6zm1-10c-.5 0-1 .5-1 1s.5 1 1 1 1-.5 1-1-.5-1-1-1zm0-4c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7z'; - break; - - case 'info': - path = 'M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1 4c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1zm0 9V9H9v6h2z'; - break; - - case 'insert-after': - path = 'M9 12h2v-2h2V8h-2V6H9v2H7v2h2v2zm1 4c3.9 0 7-3.1 7-7s-3.1-7-7-7-7 3.1-7 7 3.1 7 7 7zm0-12c2.8 0 5 2.2 5 5s-2.2 5-5 5-5-2.2-5-5 2.2-5 5-5zM3 19h14v-2H3v2z'; - break; - - case 'insert-before': - path = 'M11 8H9v2H7v2h2v2h2v-2h2v-2h-2V8zm-1-4c-3.9 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zM3 1v2h14V1H3z'; - break; - - case 'insert': - path = 'M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z'; - break; - - case 'instagram': - path = 'M12.67 10A2.67 2.67 0 1 0 10 12.67 2.68 2.68 0 0 0 12.67 10zm1.43 0A4.1 4.1 0 1 1 10 5.9a4.09 4.09 0 0 1 4.1 4.1zm1.13-4.27a1 1 0 1 1-1-1 1 1 0 0 1 1 1zM10 3.44c-1.17 0-3.67-.1-4.72.32a2.67 2.67 0 0 0-1.52 1.52c-.42 1-.32 3.55-.32 4.72s-.1 3.67.32 4.72a2.74 2.74 0 0 0 1.52 1.52c1 .42 3.55.32 4.72.32s3.67.1 4.72-.32a2.83 2.83 0 0 0 1.52-1.52c.42-1.05.32-3.55.32-4.72s.1-3.67-.32-4.72a2.74 2.74 0 0 0-1.52-1.52c-1.05-.42-3.55-.32-4.72-.32zM18 10c0 1.1 0 2.2-.05 3.3a4.84 4.84 0 0 1-1.29 3.36A4.8 4.8 0 0 1 13.3 18H6.7a4.84 4.84 0 0 1-3.36-1.29 4.84 4.84 0 0 1-1.29-3.41C2 12.2 2 11.1 2 10V6.7a4.84 4.84 0 0 1 1.34-3.36A4.8 4.8 0 0 1 6.7 2.05C7.8 2 8.9 2 10 2h3.3a4.84 4.84 0 0 1 3.36 1.29A4.8 4.8 0 0 1 18 6.7V10z'; - break; - - case 'keyboard-hide': - path = 'M18,0 L2,0 C0.9,0 0.01,0.9 0.01,2 L0,12 C0,13.1 0.9,14 2,14 L18,14 C19.1,14 20,13.1 20,12 L20,2 C20,0.9 19.1,0 18,0 Z M18,12 L2,12 L2,2 L18,2 L18,12 Z M9,3 L11,3 L11,5 L9,5 L9,3 Z M9,6 L11,6 L11,8 L9,8 L9,6 Z M6,3 L8,3 L8,5 L6,5 L6,3 Z M6,6 L8,6 L8,8 L6,8 L6,6 Z M3,6 L5,6 L5,8 L3,8 L3,6 Z M3,3 L5,3 L5,5 L3,5 L3,3 Z M6,9 L14,9 L14,11 L6,11 L6,9 Z M12,6 L14,6 L14,8 L12,8 L12,6 Z M12,3 L14,3 L14,5 L12,5 L12,3 Z M15,6 L17,6 L17,8 L15,8 L15,6 Z M15,3 L17,3 L17,5 L15,5 L15,3 Z M10,20 L14,16 L6,16 L10,20 Z'; - break; - - case 'laptop': - path = 'M3 3h14c.6 0 1 .4 1 1v10c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V4c0-.6.4-1 1-1zm13 2H4v8h12V5zm-3 1H5v4zm6 11v-1H1v1c0 .6.5 1 1.1 1h15.8c.6 0 1.1-.4 1.1-1z'; - break; - - case 'layout': - path = 'M2 2h5v11H2V2zm6 0h5v5H8V2zm6 0h4v16h-4V2zM8 8h5v5H8V8zm-6 6h11v4H2v-4z'; - break; - - case 'leftright': - path = 'M3 10.03L9 6v8zM11 6l6 4.03L11 14V6z'; - break; - - case 'lightbulb': - path = 'M10 1c3.11 0 5.63 2.52 5.63 5.62 0 1.84-2.03 4.58-2.03 4.58-.33.44-.6 1.25-.6 1.8v1c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-1c0-.55-.27-1.36-.6-1.8 0 0-2.02-2.74-2.02-4.58C4.38 3.52 6.89 1 10 1zM7 16.87V16h6v.87c0 .62-.13 1.13-.75 1.13H12c0 .62-.4 1-1.02 1h-2c-.61 0-.98-.38-.98-1h-.25c-.62 0-.75-.51-.75-1.13z'; - break; - - case 'list-view': - path = 'M2 19h16c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V3h11zM4 7c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V7h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11zM4 15c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11z'; - break; - - case 'location-alt': - path = 'M13 13.14l1.17-5.94c.79-.43 1.33-1.25 1.33-2.2 0-1.38-1.12-2.5-2.5-2.5S10.5 3.62 10.5 5c0 .95.54 1.77 1.33 2.2zm0-9.64c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm1.72 4.8L18 6.97v9L13.12 18 7 15.97l-5 2v-9l5-2 4.27 1.41 1.73 7.3z'; - break; - - case 'location': - path = 'M10 2C6.69 2 4 4.69 4 8c0 2.02 1.17 3.71 2.53 4.89.43.37 1.18.96 1.85 1.83.74.97 1.41 2.01 1.62 2.71.21-.7.88-1.74 1.62-2.71.67-.87 1.42-1.46 1.85-1.83C14.83 11.71 16 10.02 16 8c0-3.31-2.69-6-6-6zm0 2.56c1.9 0 3.44 1.54 3.44 3.44S11.9 11.44 10 11.44 6.56 9.9 6.56 8 8.1 4.56 10 4.56z'; - break; - - case 'lock': - path = 'M14 9h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h1V6c0-2.21 1.79-4 4-4s4 1.79 4 4v3zm-2 0V6c0-1.1-.9-2-2-2s-2 .9-2 2v3h4zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z'; - break; - - case 'marker': - path = 'M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z'; - break; - - case 'media-archive': - path = 'M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zM8 3.5v2l1.8-1zM11 5L9.2 6 11 7V5zM8 6.5v2l1.8-1zM11 8L9.2 9l1.8 1V8zM8 9.5v2l1.8-1zm3 1.5l-1.8 1 1.8 1v-2zm-1.5 6c.83 0 1.62-.72 1.5-1.63-.05-.38-.49-1.61-.49-1.61l-1.99-1.1s-.45 1.95-.52 2.71c-.07.77.67 1.63 1.5 1.63zm0-2.39c.42 0 .76.34.76.76 0 .43-.34.77-.76.77s-.76-.34-.76-.77c0-.42.34-.76.76-.76z'; - break; - - case 'media-audio': - path = 'M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm1 7.26V8.09c0-.11-.04-.21-.12-.29-.07-.08-.16-.11-.27-.1 0 0-3.97.71-4.25.78C8.07 8.54 8 8.8 8 9v3.37c-.2-.09-.42-.07-.6-.07-.38 0-.7.13-.96.39-.26.27-.4.58-.4.96 0 .37.14.69.4.95.26.27.58.4.96.4.34 0 .7-.04.96-.26.26-.23.64-.65.64-1.12V10.3l3-.6V12c-.67-.2-1.17.04-1.44.31-.26.26-.39.58-.39.95 0 .38.13.69.39.96.27.26.71.39 1.08.39.38 0 .7-.13.96-.39.26-.27.4-.58.4-.96z'; - break; - - case 'media-code': - path = 'M12 2l4 4v12H4V2h8zM9 13l-2-2 2-2-1-1-3 3 3 3zm3 1l3-3-3-3-1 1 2 2-2 2z'; - break; - - case 'media-default': - path = 'M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3z'; - break; - - case 'media-document': - path = 'M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zM5 9v1h4V9H5zm10 3V9h-5v3h5zM5 11v1h4v-1H5zm10 3v-1H5v1h10zm-3 2v-1H5v1h7z'; - break; - - case 'media-interactive': - path = 'M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm2 8V8H6v6h3l-1 2h1l1-2 1 2h1l-1-2h3zm-6-3c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm5-2v2h-3V9h3zm0 3v1H7v-1h6z'; - break; - - case 'media-spreadsheet': - path = 'M12 2l4 4v12H4V2h8zm-1 4V3H5v3h6zM8 8V7H5v1h3zm3 0V7H9v1h2zm4 0V7h-3v1h3zm-7 2V9H5v1h3zm3 0V9H9v1h2zm4 0V9h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2z'; - break; - - case 'media-text': - path = 'M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zm0 2V9H5v1h10zm0 2v-1H5v1h10zm-4 2v-1H5v1h6z'; - break; - - case 'media-video': - path = 'M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm-1 8v-3c0-.27-.1-.51-.29-.71-.2-.19-.44-.29-.71-.29H7c-.27 0-.51.1-.71.29-.19.2-.29.44-.29.71v3c0 .27.1.51.29.71.2.19.44.29.71.29h3c.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71zm3 1v-5l-2 2v1z'; - break; - - case 'megaphone': - path = 'M18.15 5.94c.46 1.62.38 3.22-.02 4.48-.42 1.28-1.26 2.18-2.3 2.48-.16.06-.26.06-.4.06-.06.02-.12.02-.18.02-.06.02-.14.02-.22.02h-6.8l2.22 5.5c.02.14-.06.26-.14.34-.08.1-.24.16-.34.16H6.95c-.1 0-.26-.06-.34-.16-.08-.08-.16-.2-.14-.34l-1-5.5H4.25l-.02-.02c-.5.06-1.08-.18-1.54-.62s-.88-1.08-1.06-1.88c-.24-.8-.2-1.56-.02-2.2.18-.62.58-1.08 1.06-1.3l.02-.02 9-5.4c.1-.06.18-.1.24-.16.06-.04.14-.08.24-.12.16-.08.28-.12.5-.18 1.04-.3 2.24.1 3.22.98s1.84 2.24 2.26 3.86zm-2.58 5.98h-.02c.4-.1.74-.34 1.04-.7.58-.7.86-1.76.86-3.04 0-.64-.1-1.3-.28-1.98-.34-1.36-1.02-2.5-1.78-3.24s-1.68-1.1-2.46-.88c-.82.22-1.4.96-1.7 2-.32 1.04-.28 2.36.06 3.72.38 1.36 1 2.5 1.8 3.24.78.74 1.62 1.1 2.48.88zm-2.54-7.08c.22-.04.42-.02.62.04.38.16.76.48 1.02 1s.42 1.2.42 1.78c0 .3-.04.56-.12.8-.18.48-.44.84-.86.94-.34.1-.8-.06-1.14-.4s-.64-.86-.78-1.5c-.18-.62-.12-1.24.02-1.72s.48-.84.82-.94z'; - break; - - case 'menu-alt': - path = 'M3 4h14v2H3V4zm0 5h14v2H3V9zm0 5h14v2H3v-2z'; - break; - - case 'menu': - path = 'M17 7V5H3v2h14zm0 4V9H3v2h14zm0 4v-2H3v2h14z'; - break; - - case 'microphone': - path = 'M12 9V3c0-1.1-.89-2-2-2-1.12 0-2 .94-2 2v6c0 1.1.9 2 2 2 1.13 0 2-.94 2-2zm4 0c0 2.97-2.16 5.43-5 5.91V17h2c.56 0 1 .45 1 1s-.44 1-1 1H7c-.55 0-1-.45-1-1s.45-1 1-1h2v-2.09C6.17 14.43 4 11.97 4 9c0-.55.45-1 1-1 .56 0 1 .45 1 1 0 2.21 1.8 4 4 4 2.21 0 4-1.79 4-4 0-.55.45-1 1-1 .56 0 1 .45 1 1z'; - break; - - case 'migrate': - path = 'M4 6h6V4H2v12.01h8V14H4V6zm2 2h6V5l6 5-6 5v-3H6V8z'; - break; - - case 'minus': - path = 'M4 9h12v2H4V9z'; - break; - - case 'money': - path = 'M0 3h20v12h-.75c0-1.79-1.46-3.25-3.25-3.25-1.31 0-2.42.79-2.94 1.91-.25-.1-.52-.16-.81-.16-.98 0-1.8.63-2.11 1.5H0V3zm8.37 3.11c-.06.15-.1.31-.11.47s-.01.33.01.5l.02.08c.01.06.02.14.05.23.02.1.06.2.1.31.03.11.09.22.15.33.07.12.15.22.23.31s.18.17.31.23c.12.06.25.09.4.09.14 0 .27-.03.39-.09s.22-.14.3-.22c.09-.09.16-.2.22-.32.07-.12.12-.23.16-.33s.07-.2.09-.31c.03-.11.04-.18.05-.22s.01-.07.01-.09c.05-.29.03-.56-.04-.82s-.21-.48-.41-.66c-.21-.18-.47-.27-.79-.27-.19 0-.36.03-.52.1-.15.07-.28.16-.38.28-.09.11-.17.25-.24.4zm4.48 6.04v-1.14c0-.33-.1-.66-.29-.98s-.45-.59-.77-.79c-.32-.21-.66-.31-1.02-.31l-1.24.84-1.28-.82c-.37 0-.72.1-1.04.3-.31.2-.56.46-.74.77-.18.32-.27.65-.27.99v1.14l.18.05c.12.04.29.08.51.14.23.05.47.1.74.15.26.05.57.09.91.13.34.03.67.05.99.05.3 0 .63-.02.98-.05.34-.04.64-.08.89-.13.25-.04.5-.1.76-.16l.5-.12c.08-.02.14-.04.19-.06zm3.15.1c1.52 0 2.75 1.23 2.75 2.75s-1.23 2.75-2.75 2.75c-.73 0-1.38-.3-1.87-.77.23-.35.37-.78.37-1.23 0-.77-.39-1.46-.99-1.86.43-.96 1.37-1.64 2.49-1.64zm-5.5 3.5c0-.96.79-1.75 1.75-1.75s1.75.79 1.75 1.75-.79 1.75-1.75 1.75-1.75-.79-1.75-1.75z'; - break; - - case 'move': - path = 'M19 10l-4 4v-3h-4v4h3l-4 4-4-4h3v-4H5v3l-4-4 4-4v3h4V5H6l4-4 4 4h-3v4h4V6z'; - break; - - case 'nametag': - path = 'M12 5V2c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-2-3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 13V7c0-1.1-.9-2-2-2h-3v.33C13 6.25 12.25 7 11.33 7H8.67C7.75 7 7 6.25 7 5.33V5H4c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-1-6v6H3V9h14zm-8 2c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm3 0c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm-5.96 1.21c.92.48 2.34.79 3.96.79s3.04-.31 3.96-.79c-.21 1-1.89 1.79-3.96 1.79s-3.75-.79-3.96-1.79z'; - break; - - case 'networking': - path = 'M18 13h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01h-4c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2h-5v2h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01H8c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2H4v2h1c.55 0 1 .45 1 1.01v2.98C6 17.55 5.55 18 5 18H1c-.55 0-1-.45-1-1.01v-2.98C0 13.45.45 13 1 13h1v-2c0-1.1.9-2 2-2h5V7H8c-.55 0-1-.45-1-1.01V3.01C7 2.45 7.45 2 8 2h4c.55 0 1 .45 1 1.01v2.98C13 6.55 12.55 7 12 7h-1v2h5c1.1 0 2 .9 2 2v2z'; - break; - - case 'no-alt': - path = 'M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z'; - break; - - case 'no': - path = 'M12.12 10l3.53 3.53-2.12 2.12L10 12.12l-3.54 3.54-2.12-2.12L7.88 10 4.34 6.46l2.12-2.12L10 7.88l3.54-3.53 2.12 2.12z'; - break; - - case 'palmtree': - path = 'M8.58 2.39c.32 0 .59.05.81.14 1.25.55 1.69 2.24 1.7 3.97.59-.82 2.15-2.29 3.41-2.29s2.94.73 3.53 3.55c-1.13-.65-2.42-.94-3.65-.94-1.26 0-2.45.32-3.29.89.4-.11.86-.16 1.33-.16 1.39 0 2.9.45 3.4 1.31.68 1.16.47 3.38-.76 4.14-.14-2.1-1.69-4.12-3.47-4.12-.44 0-.88.12-1.33.38C8 10.62 7 14.56 7 19H2c0-5.53 4.21-9.65 7.68-10.79-.56-.09-1.17-.15-1.82-.15C6.1 8.06 4.05 8.5 2 10c.76-2.96 2.78-4.1 4.69-4.1 1.25 0 2.45.5 3.2 1.29-.66-2.24-2.49-2.86-4.08-2.86-.8 0-1.55.16-2.05.35.91-1.29 3.31-2.29 4.82-2.29zM13 11.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5.67 1.5 1.5 1.5 1.5-.67 1.5-1.5z'; - break; - - case 'paperclip': - path = 'M17.05 2.7c1.93 1.94 1.93 5.13 0 7.07L10 16.84c-1.88 1.89-4.91 1.93-6.86.15-.06-.05-.13-.09-.19-.15-1.93-1.94-1.93-5.12 0-7.07l4.94-4.95c.91-.92 2.28-1.1 3.39-.58.3.15.59.33.83.58 1.17 1.17 1.17 3.07 0 4.24l-4.93 4.95c-.39.39-1.02.39-1.41 0s-.39-1.02 0-1.41l4.93-4.95c.39-.39.39-1.02 0-1.41-.38-.39-1.02-.39-1.4 0l-4.94 4.95c-.91.92-1.1 2.29-.57 3.4.14.3.32.59.57.84s.54.43.84.57c1.11.53 2.47.35 3.39-.57l7.05-7.07c1.16-1.17 1.16-3.08 0-4.25-.56-.55-1.28-.83-2-.86-.08.01-.16.01-.24 0-.22-.03-.43-.11-.6-.27-.39-.4-.38-1.05.02-1.45.16-.16.36-.24.56-.28.14-.02.27-.01.4.02 1.19.06 2.36.52 3.27 1.43z'; - break; - - case 'performance': - path = 'M3.76 17.01h12.48C17.34 15.63 18 13.9 18 12c0-4.41-3.58-8-8-8s-8 3.59-8 8c0 1.9.66 3.63 1.76 5.01zM9 6c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zM4 8c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm4.52 3.4c.84-.83 6.51-3.5 6.51-3.5s-2.66 5.68-3.49 6.51c-.84.84-2.18.84-3.02 0-.83-.83-.83-2.18 0-3.01zM3 13c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1z'; - break; - - case 'phone': - path = 'M12.06 6l-.21-.2c-.52-.54-.43-.79.08-1.3l2.72-2.75c.81-.82.96-1.21 1.73-.48l.21.2zm.53.45l4.4-4.4c.7.94 2.34 3.47 1.53 5.34-.73 1.67-1.09 1.75-2 3-1.85 2.11-4.18 4.37-6 6.07-1.26.91-1.31 1.33-3 2-1.8.71-4.4-.89-5.38-1.56l4.4-4.4 1.18 1.62c.34.46 1.2-.06 1.8-.66 1.04-1.05 3.18-3.18 4-4.07.59-.59 1.12-1.45.66-1.8zM1.57 16.5l-.21-.21c-.68-.74-.29-.9.52-1.7l2.74-2.72c.51-.49.75-.6 1.27-.11l.2.21z'; - break; - - case 'playlist-audio': - path = 'M17 3V1H2v2h15zm0 4V5H2v2h15zm-7 4V9H2v2h8zm7.45-1.96l-6 1.12c-.16.02-.19.03-.29.13-.11.09-.16.22-.16.37v4.59c-.29-.13-.66-.14-.93-.14-.54 0-1 .19-1.38.57s-.56.84-.56 1.38c0 .53.18.99.56 1.37s.84.57 1.38.57c.49 0 .92-.16 1.29-.48s.59-.71.65-1.19v-4.95L17 11.27v3.48c-.29-.13-.56-.19-.83-.19-.54 0-1.11.19-1.49.57-.38.37-.57.83-.57 1.37s.19.99.57 1.37.84.57 1.38.57c.53 0 .99-.19 1.37-.57s.57-.83.57-1.37V9.6c0-.16-.05-.3-.16-.41-.11-.12-.24-.17-.39-.15zM8 15v-2H2v2h6zm-2 4v-2H2v2h4z'; - break; - - case 'playlist-video': - path = 'M17 3V1H2v2h15zm0 4V5H2v2h15zM6 11V9H2v2h4zm2-2h9c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-8c0-.55.45-1 1-1zm3 7l3.33-2L11 12v4zm-5-1v-2H2v2h4zm0 4v-2H2v2h4z'; - break; - - case 'plus-alt': - path = 'M15.8 4.2c3.2 3.21 3.2 8.39 0 11.6-3.21 3.2-8.39 3.2-11.6 0C1 12.59 1 7.41 4.2 4.2 7.41 1 12.59 1 15.8 4.2zm-4.3 11.3v-4h4v-3h-4v-4h-3v4h-4v3h4v4h3z'; - break; - - case 'plus-light': - path = 'M17 9v2h-6v6H9v-6H3V9h6V3h2v6h6z'; - break; - - case 'plus': - path = 'M17 7v3h-5v5H9v-5H4V7h5V2h3v5h5z'; - break; - - case 'portfolio': - path = 'M4 5H.78c-.37 0-.74.32-.69.84l1.56 9.99S3.5 8.47 3.86 6.7c.11-.53.61-.7.98-.7H10s-.7-2.08-.77-2.31C9.11 3.25 8.89 3 8.45 3H5.14c-.36 0-.7.23-.8.64C4.25 4.04 4 5 4 5zm4.88 0h-4s.42-1 .87-1h2.13c.48 0 1 1 1 1zM2.67 16.25c-.31.47-.76.75-1.26.75h15.73c.54 0 .92-.31 1.03-.83.44-2.19 1.68-8.44 1.68-8.44.07-.5-.3-.73-.62-.73H16V5.53c0-.16-.26-.53-.66-.53h-3.76c-.52 0-.87.58-.87.58L10 7H5.59c-.32 0-.63.19-.69.5 0 0-1.59 6.7-1.72 7.33-.07.37-.22.99-.51 1.42zM15.38 7H11s.58-1 1.13-1h2.29c.71 0 .96 1 .96 1z'; - break; - - case 'post-status': - path = 'M14 6c0 1.86-1.28 3.41-3 3.86V16c0 1-2 2-2 2V9.86c-1.72-.45-3-2-3-3.86 0-2.21 1.79-4 4-4s4 1.79 4 4zM8 5c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1z'; - break; - - case 'pressthis': - path = 'M14.76 1C16.55 1 18 2.46 18 4.25c0 1.78-1.45 3.24-3.24 3.24-.23 0-.47-.03-.7-.08L13 8.47V19H2V4h9.54c.13-2 1.52-3 3.22-3zm0 5.49C16 6.49 17 5.48 17 4.25 17 3.01 16 2 14.76 2s-2.24 1.01-2.24 2.25c0 .37.1.72.27 1.03L9.57 8.5c-.28.28-1.77 2.22-1.5 2.49.02.03.06.04.1.04.49 0 2.14-1.28 2.39-1.53l3.24-3.24c.29.14.61.23.96.23z'; - break; - - case 'products': - path = 'M17 8h1v11H2V8h1V6c0-2.76 2.24-5 5-5 .71 0 1.39.15 2 .42.61-.27 1.29-.42 2-.42 2.76 0 5 2.24 5 5v2zM5 6v2h2V6c0-1.13.39-2.16 1.02-3H8C6.35 3 5 4.35 5 6zm10 2V6c0-1.65-1.35-3-3-3h-.02c.63.84 1.02 1.87 1.02 3v2h2zm-5-4.22C9.39 4.33 9 5.12 9 6v2h2V6c0-.88-.39-1.67-1-2.22z'; - break; - - case 'randomize': - path = 'M18 6.01L14 9V7h-4l-5 8H2v-2h2l5-8h5V3zM2 5h3l1.15 2.17-1.12 1.8L4 7H2V5zm16 9.01L14 17v-2H9l-1.15-2.17 1.12-1.8L10 13h4v-2z'; - break; - - case 'redo': - path = 'M8 5h5V2l6 4-6 4V7H8c-2.2 0-4 1.8-4 4s1.8 4 4 4h5v2H8c-3.3 0-6-2.7-6-6s2.7-6 6-6z'; - break; - - case 'rest-api': - path = 'M3 4h2v12H3z'; - break; - - case 'rss': - path = 'M14.92 18H18C18 9.32 10.82 2.25 2 2.25v3.02c7.12 0 12.92 5.71 12.92 12.73zm-5.44 0h3.08C12.56 12.27 7.82 7.6 2 7.6v3.02c2 0 3.87.77 5.29 2.16C8.7 14.17 9.48 16.03 9.48 18zm-5.35-.02c1.17 0 2.13-.93 2.13-2.09 0-1.15-.96-2.09-2.13-2.09-1.18 0-2.13.94-2.13 2.09 0 1.16.95 2.09 2.13 2.09z'; - break; - - case 'saved': - path = 'M15.3 5.3l-6.8 6.8-2.8-2.8-1.4 1.4 4.2 4.2 8.2-8.2'; - break; - - case 'schedule': - path = 'M2 2h16v4H2V2zm0 10V8h4v4H2zm6-2V8h4v2H8zm6 3V8h4v5h-4zm-6 5v-6h4v6H8zm-6 0v-4h4v4H2zm12 0v-3h4v3h-4z'; - break; - - case 'screenoptions': - path = 'M9 9V3H3v6h6zm8 0V3h-6v6h6zm-8 8v-6H3v6h6zm8 0v-6h-6v6h6z'; - break; - - case 'search': - path = 'M12.14 4.18c1.87 1.87 2.11 4.75.72 6.89.12.1.22.21.36.31.2.16.47.36.81.59.34.24.56.39.66.47.42.31.73.57.94.78.32.32.6.65.84 1 .25.35.44.69.59 1.04.14.35.21.68.18 1-.02.32-.14.59-.36.81s-.49.34-.81.36c-.31.02-.65-.04-.99-.19-.35-.14-.7-.34-1.04-.59-.35-.24-.68-.52-1-.84-.21-.21-.47-.52-.77-.93-.1-.13-.25-.35-.47-.66-.22-.32-.4-.57-.56-.78-.16-.2-.29-.35-.44-.5-2.07 1.09-4.69.76-6.44-.98-2.14-2.15-2.14-5.64 0-7.78 2.15-2.15 5.63-2.15 7.78 0zm-1.41 6.36c1.36-1.37 1.36-3.58 0-4.95-1.37-1.37-3.59-1.37-4.95 0-1.37 1.37-1.37 3.58 0 4.95 1.36 1.37 3.58 1.37 4.95 0z'; - break; - - case 'share-alt': - path = 'M16.22 5.8c.47.69.29 1.62-.4 2.08-.69.47-1.62.29-2.08-.4-.16-.24-.35-.46-.55-.67-.21-.2-.43-.39-.67-.55s-.5-.3-.77-.41c-.27-.12-.55-.21-.84-.26-.59-.13-1.23-.13-1.82-.01-.29.06-.57.15-.84.27-.27.11-.53.25-.77.41s-.46.35-.66.55c-.21.21-.4.43-.56.67s-.3.5-.41.76c-.01.02-.01.03-.01.04-.1.24-.17.48-.23.72H1V6h2.66c.04-.07.07-.13.12-.2.27-.4.57-.77.91-1.11s.72-.65 1.11-.91c.4-.27.83-.51 1.28-.7s.93-.34 1.41-.43c.99-.21 2.03-.21 3.02 0 .48.09.96.24 1.41.43s.88.43 1.28.7c.39.26.77.57 1.11.91s.64.71.91 1.11zM12.5 10c0-1.38-1.12-2.5-2.5-2.5S7.5 8.62 7.5 10s1.12 2.5 2.5 2.5 2.5-1.12 2.5-2.5zm-8.72 4.2c-.47-.69-.29-1.62.4-2.09.69-.46 1.62-.28 2.08.41.16.24.35.46.55.67.21.2.43.39.67.55s.5.3.77.41c.27.12.55.2.84.26.59.13 1.23.12 1.82 0 .29-.06.57-.14.84-.26.27-.11.53-.25.77-.41s.46-.35.66-.55c.21-.21.4-.44.56-.67.16-.25.3-.5.41-.76.01-.02.01-.03.01-.04.1-.24.17-.48.23-.72H19v3h-2.66c-.04.06-.07.13-.12.2-.27.4-.57.77-.91 1.11s-.72.65-1.11.91c-.4.27-.83.51-1.28.7s-.93.33-1.41.43c-.99.21-2.03.21-3.02 0-.48-.1-.96-.24-1.41-.43s-.88-.43-1.28-.7c-.39-.26-.77-.57-1.11-.91s-.64-.71-.91-1.11z'; - break; - - case 'share-alt2': - path = 'M18 8l-5 4V9.01c-2.58.06-4.88.45-7 2.99.29-3.57 2.66-5.66 7-5.94V3zM4 14h11v-2l2-1.6V16H2V5h9.43c-1.83.32-3.31 1-4.41 2H4v7z'; - break; - - case 'share': - path = 'M14.5 12c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3c0-.24.03-.46.09-.69l-4.38-2.3c-.55.61-1.33.99-2.21.99-1.66 0-3-1.34-3-3s1.34-3 3-3c.88 0 1.66.39 2.21.99l4.38-2.3c-.06-.23-.09-.45-.09-.69 0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3c-.88 0-1.66-.39-2.21-.99l-4.38 2.3c.06.23.09.45.09.69s-.03.46-.09.69l4.38 2.3c.55-.61 1.33-.99 2.21-.99z'; - break; - - case 'shield-alt': - path = 'M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2z'; - break; - - case 'shield': - path = 'M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2zm0 8h5s1-1 1-5c0 0-5-1-6-2v7H5c1 4 5 7 5 7v-7z'; - break; - - case 'shortcode': - path = 'M6 14H4V6h2V4H2v12h4M7.1 17h2.1l3.7-14h-2.1M14 4v2h2v8h-2v2h4V4'; - break; - - case 'slides': - path = 'M5 14V6h10v8H5zm-3-1V7h2v6H2zm4-6v6h8V7H6zm10 0h2v6h-2V7zm-3 2V8H7v1h6zm0 3v-2H7v2h6z'; - break; - - case 'smartphone': - path = 'M6 2h8c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm7 12V4H7v10h6zM8 5h4l-4 5V5z'; - break; - - case 'smiley': - path = 'M7 5.2c1.1 0 2 .89 2 2 0 .37-.11.71-.28 1C8.72 8.2 8 8 7 8s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.9-2 2-2zm6 0c1.11 0 2 .89 2 2 0 .37-.11.71-.28 1 0 0-.72-.2-1.72-.2s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.89-2 2-2zm-3 13.7c3.72 0 7.03-2.36 8.23-5.88l-1.32-.46C15.9 15.52 13.12 17.5 10 17.5s-5.9-1.98-6.91-4.94l-1.32.46c1.2 3.52 4.51 5.88 8.23 5.88z'; - break; - - case 'sort': - path = 'M11 7H1l5 7zm-2 7h10l-5-7z'; - break; - - case 'sos': - path = 'M18 10c0-4.42-3.58-8-8-8s-8 3.58-8 8 3.58 8 8 8 8-3.58 8-8zM7.23 3.57L8.72 7.3c-.62.29-1.13.8-1.42 1.42L3.57 7.23c.71-1.64 2.02-2.95 3.66-3.66zm9.2 3.66L12.7 8.72c-.29-.62-.8-1.13-1.42-1.42l1.49-3.73c1.64.71 2.95 2.02 3.66 3.66zM10 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm-6.43.77l3.73-1.49c.29.62.8 1.13 1.42 1.42l-1.49 3.73c-1.64-.71-2.95-2.02-3.66-3.66zm9.2 3.66l-1.49-3.73c.62-.29 1.13-.8 1.42-1.42l3.73 1.49c-.71 1.64-2.02 2.95-3.66 3.66z'; - break; - - case 'star-empty': - path = 'M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88l-4.68 2.34.87-5.15-3.18-3.56 4.65-.58z'; - break; - - case 'star-filled': - path = 'M10 1l3 6 6 .75-4.12 4.62L16 19l-6-3-6 3 1.13-6.63L1 7.75 7 7z'; - break; - - case 'star-half': - path = 'M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88V3.24z'; - break; - - case 'sticky': - path = 'M5 3.61V1.04l8.99-.01-.01 2.58c-1.22.26-2.16 1.35-2.16 2.67v.5c.01 1.31.93 2.4 2.17 2.66l-.01 2.58h-3.41l-.01 2.57c0 .6-.47 4.41-1.06 4.41-.6 0-1.08-3.81-1.08-4.41v-2.56L5 12.02l.01-2.58c1.23-.25 2.15-1.35 2.15-2.66v-.5c0-1.31-.92-2.41-2.16-2.67z'; - break; - - case 'store': - path = 'M1 10c.41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.51.43.54 0 1.08-.14 1.49-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.63-.46 1-1.17 1-2V7l-3-7H4L0 7v1c0 .83.37 1.54 1 2zm2 8.99h5v-5h4v5h5v-7c-.37-.05-.72-.22-1-.43-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.49.44-.55 0-1.1-.14-1.51-.44-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.5.44-.54 0-1.09-.14-1.5-.44-.63-.45-1-.73-1-1.57 0 .84-.38 1.12-1 1.57-.29.21-.63.38-1 .44v6.99z'; - break; - - case 'table-col-after': - path = 'M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z'; - break; - - case 'table-col-before': - path = 'M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z'; - break; - - case 'table-col-delete': - path = 'M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z'; - break; - - case 'table-row-after': - path = 'M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z'; - break; - - case 'table-row-before': - path = 'M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z'; - break; - - case 'table-row-delete': - path = 'M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z'; - break; - - case 'tablet': - path = 'M4 2h12c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H4c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm11 14V4H5v12h10zM6 5h6l-6 5V5z'; - break; - - case 'tag': - path = 'M11 2h7v7L8 19l-7-7zm3 6c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z'; - break; - - case 'tagcloud': - path = 'M11 3v4H1V3h10zm8 0v4h-7V3h7zM7 8v3H1V8h6zm12 0v3H8V8h11zM9 12v2H1v-2h8zm10 0v2h-9v-2h9zM6 15v1H1v-1h5zm5 0v1H7v-1h4zm3 0v1h-2v-1h2zm5 0v1h-4v-1h4z'; - break; - - case 'testimonial': - path = 'M4 3h12c.55 0 1.02.2 1.41.59S18 4.45 18 5v7c0 .55-.2 1.02-.59 1.41S16.55 14 16 14h-1l-5 5v-5H4c-.55 0-1.02-.2-1.41-.59S2 12.55 2 12V5c0-.55.2-1.02.59-1.41S3.45 3 4 3zm11 2H4v1h11V5zm1 3H4v1h12V8zm-3 3H4v1h9v-1z'; - break; - - case 'text': - path = 'M18 3v2H2V3h16zm-6 4v2H2V7h10zm6 0v2h-4V7h4zM8 11v2H2v-2h6zm10 0v2h-8v-2h8zm-4 4v2H2v-2h12z'; - break; - - case 'thumbs-down': - path = 'M7.28 18c-.15.02-.26-.02-.41-.07-.56-.19-.83-.79-.66-1.35.17-.55 1-3.04 1-3.58 0-.53-.75-1-1.35-1h-3c-.6 0-1-.4-1-1s2-7 2-7c.17-.39.55-1 1-1H14v9h-2.14c-.41.41-3.3 4.71-3.58 5.27-.21.41-.6.68-1 .73zM18 12h-2V3h2v9z'; - break; - - case 'thumbs-up': - path = 'M12.72 2c.15-.02.26.02.41.07.56.19.83.79.66 1.35-.17.55-1 3.04-1 3.58 0 .53.75 1 1.35 1h3c.6 0 1 .4 1 1s-2 7-2 7c-.17.39-.55 1-1 1H6V8h2.14c.41-.41 3.3-4.71 3.58-5.27.21-.41.6-.68 1-.73zM2 8h2v9H2V8z'; - break; - - case 'tickets-alt': - path = 'M20 6.38L18.99 9.2v-.01c-.52-.19-1.03-.16-1.53.08s-.85.62-1.04 1.14-.16 1.03.07 1.53c.24.5.62.84 1.15 1.03v.01l-1.01 2.82-15.06-5.38.99-2.79c.52.19 1.03.16 1.53-.08.5-.23.84-.61 1.03-1.13s.16-1.03-.08-1.53c-.23-.49-.61-.83-1.13-1.02L4.93 1zm-4.97 5.69l1.37-3.76c.12-.31.1-.65-.04-.95s-.39-.53-.7-.65L8.14 3.98c-.64-.23-1.37.12-1.6.74L5.17 8.48c-.24.65.1 1.37.74 1.6l7.52 2.74c.14.05.28.08.43.08.52 0 1-.33 1.17-.83zM7.97 4.45l7.51 2.73c.19.07.34.21.43.39.08.18.09.38.02.57l-1.37 3.76c-.13.38-.58.59-.96.45L6.09 9.61c-.39-.14-.59-.57-.45-.96l1.37-3.76c.1-.29.39-.49.7-.49.09 0 .17.02.26.05zm6.82 12.14c.35.27.75.41 1.2.41H16v3H0v-2.96c.55 0 1.03-.2 1.41-.59.39-.38.59-.86.59-1.41s-.2-1.02-.59-1.41-.86-.59-1.41-.59V10h1.05l-.28.8 2.87 1.02c-.51.16-.89.62-.89 1.18v4c0 .69.56 1.25 1.25 1.25h8c.69 0 1.25-.56 1.25-1.25v-1.75l.83.3c.12.43.36.78.71 1.04zM3.25 17v-4c0-.41.34-.75.75-.75h.83l7.92 2.83V17c0 .41-.34.75-.75.75H4c-.41 0-.75-.34-.75-.75z'; - break; - - case 'tickets': - path = 'M20 5.38L18.99 8.2v-.01c-1.04-.37-2.19.18-2.57 1.22-.37 1.04.17 2.19 1.22 2.56v.01l-1.01 2.82L1.57 9.42l.99-2.79c1.04.38 2.19-.17 2.56-1.21s-.17-2.18-1.21-2.55L4.93 0zm-5.45 3.37c.74-2.08-.34-4.37-2.42-5.12-2.08-.74-4.37.35-5.11 2.42-.74 2.08.34 4.38 2.42 5.12 2.07.74 4.37-.35 5.11-2.42zm-2.56-4.74c.89.32 1.57.94 1.97 1.71-.01-.01-.02-.01-.04-.02-.33-.12-.67.09-.78.4-.1.28-.03.57.05.91.04.27.09.62-.06 1.04-.1.29-.33.58-.65 1l-.74 1.01.08-4.08.4.11c.19.04.26-.24.08-.29 0 0-.57-.15-.92-.28-.34-.12-.88-.36-.88-.36-.18-.08-.3.19-.12.27 0 0 .16.08.34.16l.01 1.63L9.2 9.18l.08-4.11c.2.06.4.11.4.11.19.04.26-.23.07-.29 0 0-.56-.15-.91-.28-.07-.02-.14-.05-.22-.08.93-.7 2.19-.94 3.37-.52zM7.4 6.19c.17-.49.44-.92.78-1.27l.04 5c-.94-.95-1.3-2.39-.82-3.73zm4.04 4.75l2.1-2.63c.37-.41.57-.77.69-1.12.05-.12.08-.24.11-.35.09.57.04 1.18-.17 1.77-.45 1.25-1.51 2.1-2.73 2.33zm-.7-3.22l.02 3.22c0 .02 0 .04.01.06-.4 0-.8-.07-1.2-.21-.33-.12-.63-.28-.9-.48zm1.24 6.08l2.1.75c.24.84 1 1.45 1.91 1.45H16v3H0v-2.96c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2V9h1.05l-.28.8 4.28 1.52C4.4 12.03 4 12.97 4 14c0 2.21 1.79 4 4 4s4-1.79 4-4c0-.07-.02-.13-.02-.2zm-6.53-2.33l1.48.53c-.14.04-.15.27.03.28 0 0 .18.02.37.03l.56 1.54-.78 2.36-1.31-3.9c.21-.01.41-.03.41-.03.19-.02.17-.31-.02-.3 0 0-.59.05-.96.05-.07 0-.15 0-.23-.01.13-.2.28-.38.45-.55zM4.4 14c0-.52.12-1.02.32-1.46l1.71 4.7C5.23 16.65 4.4 15.42 4.4 14zm4.19-1.41l1.72.62c.07.17.12.37.12.61 0 .31-.12.66-.28 1.16l-.35 1.2zM11.6 14c0 1.33-.72 2.49-1.79 3.11l1.1-3.18c.06-.17.1-.31.14-.46l.52.19c.02.11.03.22.03.34zm-4.62 3.45l1.08-3.14 1.11 3.03c.01.02.01.04.02.05-.37.13-.77.21-1.19.21-.35 0-.69-.06-1.02-.15z'; - break; - - case 'tide': - path = 'M17 7.2V3H3v7.1c2.6-.5 4.5-1.5 6.4-2.6.2-.2.4-.3.6-.5v3c-1.9 1.1-4 2.2-7 2.8V17h14V9.9c-2.6.5-4.4 1.5-6.2 2.6-.3.1-.5.3-.8.4V10c2-1.1 4-2.2 7-2.8z'; - break; - - case 'translation': - path = 'M11 7H9.49c-.63 0-1.25.3-1.59.7L7 5H4.13l-2.39 7h1.69l.74-2H7v4H2c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h7c1.1 0 2 .9 2 2v2zM6.51 9H4.49l1-2.93zM10 8h7c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-7c-1.1 0-2-.9-2-2v-7c0-1.1.9-2 2-2zm7.25 5v-1.08h-3.17V9.75h-1.16v2.17H9.75V13h1.28c.11.85.56 1.85 1.28 2.62-.87.36-1.89.62-2.31.62-.01.02.22.97.2 1.46.84 0 2.21-.5 3.28-1.15 1.09.65 2.48 1.15 3.34 1.15-.02-.49.2-1.44.2-1.46-.43 0-1.49-.27-2.38-.63.7-.77 1.14-1.77 1.25-2.61h1.36zm-3.81 1.93c-.5-.46-.85-1.13-1.01-1.93h2.09c-.17.8-.51 1.47-1 1.93l-.04.03s-.03-.02-.04-.03z'; - break; - - case 'trash': - path = 'M12 4h3c.6 0 1 .4 1 1v1H3V5c0-.6.5-1 1-1h3c.2-1.1 1.3-2 2.5-2s2.3.9 2.5 2zM8 4h3c-.2-.6-.9-1-1.5-1S8.2 3.4 8 4zM4 7h11l-.9 10.1c0 .5-.5.9-1 .9H5.9c-.5 0-.9-.4-1-.9L4 7z'; - break; - - case 'twitter': - path = 'M18.94 4.46c-.49.73-1.11 1.38-1.83 1.9.01.15.01.31.01.47 0 4.85-3.69 10.44-10.43 10.44-2.07 0-4-.61-5.63-1.65.29.03.58.05.88.05 1.72 0 3.3-.59 4.55-1.57-1.6-.03-2.95-1.09-3.42-2.55.22.04.45.07.69.07.33 0 .66-.05.96-.13-1.67-.34-2.94-1.82-2.94-3.6v-.04c.5.27 1.06.44 1.66.46-.98-.66-1.63-1.78-1.63-3.06 0-.67.18-1.3.5-1.84 1.81 2.22 4.51 3.68 7.56 3.83-.06-.27-.1-.55-.1-.84 0-2.02 1.65-3.66 3.67-3.66 1.06 0 2.01.44 2.68 1.16.83-.17 1.62-.47 2.33-.89-.28.85-.86 1.57-1.62 2.02.75-.08 1.45-.28 2.11-.57z'; - break; - - case 'undo': - path = 'M12 5H7V2L1 6l6 4V7h5c2.2 0 4 1.8 4 4s-1.8 4-4 4H7v2h5c3.3 0 6-2.7 6-6s-2.7-6-6-6z'; - break; - - case 'universal-access-alt': - path = 'M19 10c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9 9-4.03 9-9zm-9-7.4c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z'; - break; - - case 'universal-access': - path = 'M10 2.6c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z'; - break; - - case 'unlock': - path = 'M12 9V6c0-1.1-.9-2-2-2s-2 .9-2 2H6c0-2.21 1.79-4 4-4s4 1.79 4 4v3h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h7zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z'; - break; - - case 'update': - path = 'M10.2 3.28c3.53 0 6.43 2.61 6.92 6h2.08l-3.5 4-3.5-4h2.32c-.45-1.97-2.21-3.45-4.32-3.45-1.45 0-2.73.71-3.54 1.78L4.95 5.66C6.23 4.2 8.11 3.28 10.2 3.28zm-.4 13.44c-3.52 0-6.43-2.61-6.92-6H.8l3.5-4c1.17 1.33 2.33 2.67 3.5 4H5.48c.45 1.97 2.21 3.45 4.32 3.45 1.45 0 2.73-.71 3.54-1.78l1.71 1.95c-1.28 1.46-3.15 2.38-5.25 2.38z'; - break; - - case 'upload': - path = 'M8 14V8H5l5-6 5 6h-3v6H8zm-2 2v-6H4v8h12.01v-8H14v6H6z'; - break; - - case 'vault': - path = 'M18 17V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-1 0H3V3h14v14zM4.75 4h10.5c.41 0 .75.34.75.75V6h-1v3h1v2h-1v3h1v1.25c0 .41-.34.75-.75.75H4.75c-.41 0-.75-.34-.75-.75V4.75c0-.41.34-.75.75-.75zM13 10c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4zM9 7l.77 1.15C10.49 8.46 11 9.17 11 10c0 1.1-.9 2-2 2s-2-.9-2-2c0-.83.51-1.54 1.23-1.85z'; - break; - - case 'video-alt': - path = 'M8 5c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1 0 .57.49 1 1 1h5c.55 0 1-.45 1-1zm6 5l4-4v10l-4-4v-2zm-1 4V8c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h8c.55 0 1-.45 1-1z'; - break; - - case 'video-alt2': - path = 'M12 13V7c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2zm1-2.5l6 4.5V5l-6 4.5v1z'; - break; - - case 'video-alt3': - path = 'M19 15V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2zM8 14V6l6 4z'; - break; - - case 'visibility': - path = 'M19.7 9.4C17.7 6 14 3.9 10 3.9S2.3 6 .3 9.4L0 10l.3.6c2 3.4 5.7 5.5 9.7 5.5s7.7-2.1 9.7-5.5l.3-.6-.3-.6zM10 14.1c-3.1 0-6-1.6-7.7-4.1C3.6 8 5.7 6.6 8 6.1c-.9.6-1.5 1.7-1.5 2.9 0 1.9 1.6 3.5 3.5 3.5s3.5-1.6 3.5-3.5c0-1.2-.6-2.3-1.5-2.9 2.3.5 4.4 1.9 5.7 3.9-1.7 2.5-4.6 4.1-7.7 4.1z'; - break; - - case 'warning': - path = 'M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z'; - break; - - case 'welcome-add-page': - path = 'M17 7V4h-2V2h-3v1H3v15h11V9h1V7h2zm-1-2v1h-2v2h-1V6h-2V5h2V3h1v2h2z'; - break; - - case 'welcome-comments': - path = 'M5 2h10c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2zm8.5 8.5L11 8l2.5-2.5-1-1L10 7 7.5 4.5l-1 1L9 8l-2.5 2.5 1 1L10 9l2.5 2.5z'; - break; - - case 'welcome-learn-more': - path = 'M10 10L2.54 7.02 3 18H1l.48-11.41L0 6l10-4 10 4zm0-5c-.55 0-1 .22-1 .5s.45.5 1 .5 1-.22 1-.5-.45-.5-1-.5zm0 6l5.57-2.23c.71.94 1.2 2.07 1.36 3.3-.3-.04-.61-.07-.93-.07-2.55 0-4.78 1.37-6 3.41C8.78 13.37 6.55 12 4 12c-.32 0-.63.03-.93.07.16-1.23.65-2.36 1.36-3.3z'; - break; - - case 'welcome-view-site': - path = 'M18 14V4c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-8-8c2.3 0 4.4 1.14 6 3-1.6 1.86-3.7 3-6 3s-4.4-1.14-6-3c1.6-1.86 3.7-3 6-3zm2 3c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm2 8h3v1H3v-1h3v-1h8v1z'; - break; - - case 'welcome-widgets-menus': - path = 'M19 16V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v13c0 .55.45 1 1 1h15c.55 0 1-.45 1-1zM4 4h13v4H4V4zm1 1v2h3V5H5zm4 0v2h3V5H9zm4 0v2h3V5h-3zm-8.5 5c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 10h4v1H6v-1zm6 0h5v5h-5v-5zm-7.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 12h4v1H6v-1zm7 0v2h3v-2h-3zm-8.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 14h4v1H6v-1z'; - break; - - case 'welcome-write-blog': - path = 'M16.89 1.2l1.41 1.41c.39.39.39 1.02 0 1.41L14 8.33V18H3V3h10.67l1.8-1.8c.4-.39 1.03-.4 1.42 0zm-5.66 8.48l5.37-5.36-1.42-1.42-5.36 5.37-.71 2.12z'; - break; - - case 'wordpress-alt': - path = 'M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z'; - break; - - case 'wordpress': - path = 'M20 10c0-5.52-4.48-10-10-10S0 4.48 0 10s4.48 10 10 10 10-4.48 10-10zM10 1.01c4.97 0 8.99 4.02 8.99 8.99s-4.02 8.99-8.99 8.99S1.01 14.97 1.01 10 5.03 1.01 10 1.01zM8.01 14.82L4.96 6.61c.49-.03 1.05-.08 1.05-.08.43-.05.38-1.01-.06-.99 0 0-1.29.1-2.13.1-.15 0-.33 0-.52-.01 1.44-2.17 3.9-3.6 6.7-3.6 2.09 0 3.99.79 5.41 2.09-.6-.08-1.45.35-1.45 1.42 0 .66.38 1.22.79 1.88.31.54.5 1.22.5 2.21 0 1.34-1.27 4.48-1.27 4.48l-2.71-7.5c.48-.03.75-.16.75-.16.43-.05.38-1.1-.05-1.08 0 0-1.3.11-2.14.11-.78 0-2.11-.11-2.11-.11-.43-.02-.48 1.06-.05 1.08l.84.08 1.12 3.04zm6.02 2.15L16.64 10s.67-1.69.39-3.81c.63 1.14.94 2.42.94 3.81 0 2.96-1.56 5.58-3.94 6.97zM2.68 6.77L6.5 17.25c-2.67-1.3-4.47-4.08-4.47-7.25 0-1.16.2-2.23.65-3.23zm7.45 4.53l2.29 6.25c-.75.27-1.57.42-2.42.42-.72 0-1.41-.11-2.06-.3z'; - break; - - case 'yes-alt': - path = 'M10 2c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm-.615 12.66h-1.34l-3.24-4.54 1.34-1.25 2.57 2.4 5.14-5.93 1.34.94-5.81 8.38z'; - break; - - case 'yes': - path = 'M14.83 4.89l1.34.94-5.81 8.38H9.02L5.78 9.67l1.34-1.25 2.57 2.4z'; - break; - } - - if (!path) { - return null; - } - - var iconClass = ['dashicon', 'dashicons-' + icon, className].filter(Boolean).join(' '); - return Object(external_this_wp_element_["createElement"])(svg_SVG, Object(esm_extends["a" /* default */])({ - "aria-hidden": true, - role: "img", - focusable: "false", - className: iconClass, - xmlns: "http://www.w3.org/2000/svg", - width: size, - height: size, - viewBox: "0 0 20 20" - }, extraProps), Object(external_this_wp_element_["createElement"])(svg_Path, { - d: path - })); - } - }]); - - return Dashicon; -}(external_this_wp_element_["Component"]); - - - -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/icon/index.js - - - - -/** - * WordPress dependencies - */ - -/** - * Internal dependencies - */ - - - - -function Icon(_ref) { - var _ref$icon = _ref.icon, - icon = _ref$icon === void 0 ? null : _ref$icon, - size = _ref.size, - additionalProps = Object(objectWithoutProperties["a" /* default */])(_ref, ["icon", "size"]); - - // Dashicons should be 20x20 by default. - var dashiconSize = size || 20; - - if ('string' === typeof icon) { - return Object(external_this_wp_element_["createElement"])(dashicon_Dashicon, Object(esm_extends["a" /* default */])({ - icon: icon, - size: dashiconSize - }, additionalProps)); - } - - if (icon && dashicon_Dashicon === icon.type) { - return Object(external_this_wp_element_["cloneElement"])(icon, Object(objectSpread["a" /* default */])({ - size: dashiconSize - }, additionalProps)); - } // Icons should be 24x24 by default. - - - var iconSize = size || 24; - - if ('function' === typeof icon) { - if (icon.prototype instanceof external_this_wp_element_["Component"]) { - return Object(external_this_wp_element_["createElement"])(icon, Object(objectSpread["a" /* default */])({ - size: iconSize - }, additionalProps)); - } - - return icon(Object(objectSpread["a" /* default */])({ - size: iconSize - }, additionalProps)); - } - - if (icon && (icon.type === 'svg' || icon.type === svg_SVG)) { - var appliedProps = Object(objectSpread["a" /* default */])({ - width: iconSize, - height: iconSize - }, icon.props, additionalProps); - - return Object(external_this_wp_element_["createElement"])(svg_SVG, appliedProps); - } - - if (Object(external_this_wp_element_["isValidElement"])(icon)) { - return Object(external_this_wp_element_["cloneElement"])(icon, Object(objectSpread["a" /* default */])({ - size: iconSize - }, additionalProps)); - } - - return icon; -} - -/* harmony default export */ var build_module_icon = (Icon); - -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/button/index.js - - - - -/** - * External dependencies - */ - - -/** - * WordPress dependencies - */ - - - -/** - * Internal dependencies - */ - - - -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, - disabled = props.disabled, - icon = props.icon, - iconSize = props.iconSize, - showTooltip = props.showTooltip, - tooltipPosition = props.tooltipPosition, - shortcut = props.shortcut, - 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"]); - - 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 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 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 !== 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 - }), icon && Object(external_this_wp_element_["createElement"])(build_module_icon, { - icon: icon, - size: iconSize - }), children); - - if (!shouldShowTooltip) { - return element; - } - - return Object(external_this_wp_element_["createElement"])(build_module_tooltip, { - text: label, - shortcut: shortcut, - position: tooltipPosition - }, element); -} -/* harmony default export */ var build_module_button = (Object(external_this_wp_element_["forwardRef"])(Button)); +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/popover/index.js + 2 modules +var popover = __webpack_require__(91); // EXTERNAL MODULE: external {"this":["wp","a11y"]} -var external_this_wp_a11y_ = __webpack_require__(45); +var external_this_wp_a11y_ = __webpack_require__(48); // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-spoken-messages/index.js @@ -31347,6 +23172,9 @@ var external_this_wp_a11y_ = __webpack_require__(45); +function autocomplete_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function autocomplete_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { autocomplete_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { autocomplete_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -31753,7 +23581,7 @@ function (_Component) { if (text !== prevText) { var textAfterSelection = Object(external_this_wp_richText_["getTextContent"])(Object(external_this_wp_richText_["slice"])(record, undefined, Object(external_this_wp_richText_["getTextContent"])(record).length)); var allCompleters = Object(external_this_lodash_["map"])(completers, function (completer, idx) { - return Object(objectSpread["a" /* default */])({}, completer, { + return autocomplete_objectSpread({}, completer, { idx: idx }); }); @@ -31855,7 +23683,7 @@ function (_Component) { listBoxId: listBoxId, activeId: activeId, onKeyDown: this.handleKeyDown - }), isExpanded && isSelected && Object(external_this_wp_element_["createElement"])(popover, { + }), isExpanded && isSelected && Object(external_this_wp_element_["createElement"])(popover["a" /* default */], { focusOnMount: false, onClose: this.reset, position: "top right", @@ -31866,7 +23694,7 @@ function (_Component) { role: "listbox", className: "components-autocomplete__results" }, isExpanded && Object(external_this_lodash_["map"])(filteredOptions, function (option, index) { - return Object(external_this_wp_element_["createElement"])(build_module_button, { + return Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], { key: option.key, id: "components-autocomplete-item-".concat(instanceId, "-").concat(option.key), role: "option", @@ -31887,113 +23715,6 @@ function (_Component) { }(external_this_wp_element_["Component"]); /* harmony default export */ var autocomplete = (Object(external_this_wp_compose_["compose"])([with_spoken_messages, external_this_wp_compose_["withInstanceId"]])(autocomplete_Autocomplete)); -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/visually-hidden/utils.js - - - -/** - * Utility Functions - */ - -/** - * renderAsRenderProps is used to wrap a component and convert - * the passed property "as" either a string or component, to the - * rendered tag if a string, or component. - * - * See VisuallyHidden hidden for example. - * - * @param {string|WPComponent} as A tag or component to render. - * @return {WPComponent} The rendered component. - */ -function renderAsRenderProps(_ref) { - var _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'div' : _ref$as, - props = Object(objectWithoutProperties["a" /* default */])(_ref, ["as"]); - - if (typeof props.children === 'function') { - return props.children(props); - } - - return Object(external_this_wp_element_["createElement"])(Component, props); -} - - - -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/visually-hidden/index.js - - - -/** - * Internal dependencies - */ - -/** - * VisuallyHidden component to render text out non-visually - * for use in devices such as a screen reader. - */ - -function VisuallyHidden(_ref) { - var _ref$as = _ref.as, - as = _ref$as === void 0 ? 'div' : _ref$as, - props = Object(objectWithoutProperties["a" /* default */])(_ref, ["as"]); - - return renderAsRenderProps(Object(objectSpread["a" /* default */])({ - as: as, - className: 'components-visually-hidden' - }, props)); -} - -/* harmony default export */ var visually_hidden = (VisuallyHidden); - -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/base-control/index.js - - -/** - * External dependencies - */ - -/** - * Internal dependencies - */ - - - -function BaseControl(_ref) { - var id = _ref.id, - label = _ref.label, - hideLabelFromVision = _ref.hideLabelFromVision, - help = _ref.help, - className = _ref.className, - children = _ref.children; - return Object(external_this_wp_element_["createElement"])("div", { - className: classnames_default()('components-base-control', className) - }, Object(external_this_wp_element_["createElement"])("div", { - className: "components-base-control__field" - }, label && id && (hideLabelFromVision ? Object(external_this_wp_element_["createElement"])(visually_hidden, { - as: "label", - htmlFor: id - }, label) : Object(external_this_wp_element_["createElement"])("label", { - className: "components-base-control__label", - htmlFor: id - }, label)), label && !id && (hideLabelFromVision ? Object(external_this_wp_element_["createElement"])(visually_hidden, { - as: "label" - }, label) : Object(external_this_wp_element_["createElement"])(BaseControl.VisualLabel, null, label)), children), !!help && Object(external_this_wp_element_["createElement"])("p", { - id: id + '__help', - className: "components-base-control__help" - }, help)); -} - -BaseControl.VisualLabel = function (_ref2) { - var className = _ref2.className, - children = _ref2.children; - className = classnames_default()('components-base-control__label', className); - return Object(external_this_wp_element_["createElement"])("span", { - className: className - }, children); -}; - -/* harmony default export */ var base_control = (BaseControl); - // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/button-group/index.js @@ -32028,7 +23749,7 @@ var context_useCardContext = function useCardContext() { }; // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/defineProperty.js -var helpers_defineProperty = __webpack_require__(222); +var helpers_defineProperty = __webpack_require__(261); var defineProperty_default = /*#__PURE__*/__webpack_require__.n(helpers_defineProperty); // EXTERNAL MODULE: external {"this":"React"} @@ -32063,10 +23784,10 @@ 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__(96); +var inheritsLoose = __webpack_require__(121); var inheritsLoose_default = /*#__PURE__*/__webpack_require__.n(inheritsLoose); -// CONCATENATED MODULE: ./node_modules/@emotion/cache/node_modules/@emotion/sheet/dist/sheet.browser.esm.js +// CONCATENATED MODULE: ./node_modules/@emotion/sheet/dist/sheet.browser.esm.js /* Based off glamor's StyleSheet, thanks Sunil ❤️ @@ -33377,141 +25098,6 @@ var serialize_browser_esm_serializeStyles = function serializeStyles(args, regis -// CONCATENATED MODULE: ./node_modules/@emotion/sheet/dist/sheet.browser.esm.js -/* - -Based off glamor's StyleSheet, thanks Sunil ❤️ - -high performance StyleSheet for css-in-js systems - -- uses multiple style tags behind the scenes for millions of rules -- uses `insertRule` for appending in production for *much* faster performance - -// usage - -import { StyleSheet } from '@emotion/sheet' - -let styleSheet = new StyleSheet({ key: '', container: document.head }) - -styleSheet.insert('#box { border: 1px solid red; }') -- appends a css rule into the stylesheet - -styleSheet.flush() -- empties the stylesheet of all its contents - -*/ -// $FlowFixMe -function sheet_browser_esm_sheetForTag(tag) { - if (tag.sheet) { - // $FlowFixMe - return tag.sheet; - } // this weirdness brought to you by firefox - - /* istanbul ignore next */ - - - for (var i = 0; i < document.styleSheets.length; i++) { - if (document.styleSheets[i].ownerNode === tag) { - // $FlowFixMe - return document.styleSheets[i]; - } - } -} - -function sheet_browser_esm_createStyleElement(options) { - var tag = document.createElement('style'); - tag.setAttribute('data-emotion', options.key); - - if (options.nonce !== undefined) { - tag.setAttribute('nonce', options.nonce); - } - - tag.appendChild(document.createTextNode('')); - return tag; -} - -var sheet_browser_esm_StyleSheet = -/*#__PURE__*/ -function () { - function StyleSheet(options) { - this.isSpeedy = options.speedy === undefined ? "production" === 'production' : options.speedy; - this.tags = []; - this.ctr = 0; - this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets - - this.key = options.key; - this.container = options.container; - this.before = null; - } - - var _proto = StyleSheet.prototype; - - _proto.insert = function insert(rule) { - // the max length is how many rules we have per style tag, it's 65000 in speedy mode - // it's 1 in dev because we insert source maps that map a single rule to a location - // and you can only have one source map per style tag - if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) { - var _tag = sheet_browser_esm_createStyleElement(this); - - var before; - - if (this.tags.length === 0) { - before = this.before; - } else { - before = this.tags[this.tags.length - 1].nextSibling; - } - - this.container.insertBefore(_tag, before); - this.tags.push(_tag); - } - - var tag = this.tags[this.tags.length - 1]; - - if (this.isSpeedy) { - var sheet = sheet_browser_esm_sheetForTag(tag); - - try { - // this is a really hot path - // we check the second character first because having "i" - // as the second character will happen less often than - // having "@" as the first character - var isImportRule = rule.charCodeAt(1) === 105 && rule.charCodeAt(0) === 64; // this is the ultrafast version, works across browsers - // the big drawback is that the css won't be editable in devtools - - sheet.insertRule(rule, // we need to insert @import rules before anything else - // otherwise there will be an error - // technically this means that the @import rules will - // _usually_(not always since there could be multiple style tags) - // be the first ones in prod and generally later in dev - // this shouldn't really matter in the real world though - // @import is generally only used for font faces from google fonts and etc. - // so while this could be technically correct then it would be slower and larger - // for a tiny bit of correctness that won't matter in the real world - isImportRule ? 0 : sheet.cssRules.length); - } catch (e) { - if (false) {} - } - } else { - tag.appendChild(document.createTextNode(rule)); - } - - this.ctr++; - }; - - _proto.flush = function flush() { - // $FlowFixMe - this.tags.forEach(function (tag) { - return tag.parentNode.removeChild(tag); - }); - this.tags = []; - this.ctr = 0; - }; - - return StyleSheet; -}(); - - - // CONCATENATED MODULE: ./node_modules/@emotion/css/dist/css.browser.esm.js @@ -33697,7 +25283,7 @@ function (_React$Component) { var _proto = InnerGlobal.prototype; _proto.componentDidMount = function componentDidMount() { - this.sheet = new sheet_browser_esm_StyleSheet({ + this.sheet = new StyleSheet({ key: this.props.cache.key + "-global", nonce: this.props.cache.sheet.nonce, container: this.props.cache.sheet.container @@ -33870,48 +25456,6 @@ var ClassNames = core_browser_esm_withEmotionCache(function (props, context) { -// CONCATENATED MODULE: ./node_modules/@emotion/styled-base/node_modules/@emotion/utils/dist/utils.browser.esm.js -var utils_browser_esm_isBrowser = "object" !== 'undefined'; -function utils_browser_esm_getRegisteredStyles(registered, registeredStyles, classNames) { - var rawClassName = ''; - classNames.split(' ').forEach(function (className) { - if (registered[className] !== undefined) { - registeredStyles.push(registered[className]); - } else { - rawClassName += className + " "; - } - }); - return rawClassName; -} -var utils_browser_esm_insertStyles = function insertStyles(cache, serialized, isStringTag) { - var className = cache.key + "-" + serialized.name; - - if ( // we only need to add the styles to the registered cache if the - // class name could be used further down - // the tree but if it's a string tag, we know it won't - // so we don't have to add it to registered cache. - // this improves memory usage since we can avoid storing the whole style string - (isStringTag === false || // we need to always store it if we're in compat mode and - // in node since emotion-server relies on whether a style is in - // the registered cache to know whether a style is global or not - // also, note that this check will be dead code eliminated in the browser - utils_browser_esm_isBrowser === false && cache.compat !== undefined) && cache.registered[className] === undefined) { - cache.registered[className] = serialized.styles; - } - - if (cache.inserted[serialized.name] === undefined) { - var current = serialized; - - do { - var maybeStyles = cache.insert("." + className, current, cache.sheet, true); - - current = current.next; - } while (current !== undefined); - } -}; - - - // CONCATENATED MODULE: ./node_modules/@emotion/styled-base/dist/styled-base.browser.esm.js @@ -33933,9 +25477,9 @@ var getDefaultShouldForwardProp = function getDefaultShouldForwardProp(tag) { tag.charCodeAt(0) > 96 ? testOmitPropsOnStringTag : testOmitPropsOnComponent; }; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } +function styled_base_browser_esm_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } -function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { defineProperty_default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } +function styled_base_browser_esm_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { styled_base_browser_esm_ownKeys(source, true).forEach(function (key) { defineProperty_default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { styled_base_browser_esm_ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } var styled_base_browser_esm_ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences"; var styled_base_browser_esm_createStyled = function createStyled(tag, options) { @@ -34006,13 +25550,13 @@ var styled_base_browser_esm_createStyled = function createStyled(tag, options) { } if (typeof props.className === 'string') { - className = utils_browser_esm_getRegisteredStyles(context.registered, classInterpolations, props.className); + className = getRegisteredStyles(context.registered, classInterpolations, props.className); } else if (props.className != null) { className = props.className + " "; } var serialized = serialize_browser_esm_serializeStyles(styles.concat(classInterpolations), context.registered, mergedProps); - var rules = utils_browser_esm_insertStyles(context, serialized, typeof finalTag === 'string'); + var rules = insertStyles(context, serialized, typeof finalTag === 'string'); className += context.key + "-" + serialized.name; if (targetClassName !== undefined) { @@ -34059,7 +25603,7 @@ var styled_base_browser_esm_createStyled = function createStyled(tag, options) { }); Styled.withComponent = function (nextTag, nextOptions) { - return createStyled(nextTag, nextOptions !== undefined ? _objectSpread({}, options || {}, {}, nextOptions) : options).apply(void 0, styles); + return createStyled(nextTag, nextOptions !== undefined ? styled_base_browser_esm_objectSpread({}, options || {}, {}, nextOptions) : options).apply(void 0, styles); }; return Styled; @@ -34069,12 +25613,16 @@ 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__(49); +var tinycolor = __webpack_require__(52); var tinycolor_default = /*#__PURE__*/__webpack_require__.n(tinycolor); // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/colors-values.js +function colors_values_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function colors_values_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { colors_values_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { colors_values_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * Internal dependencies */ @@ -34174,7 +25722,7 @@ var ALERT = { red: '#d94f4f', green: '#4ab866' }; -var COLORS = Object(objectSpread["a" /* default */])({}, BASE, { +var COLORS = colors_values_objectSpread({}, BASE, { darkGrey: DARK_GRAY, darkOpacity: DARK_OPACITY, darkOpacityLight: DARK_OPACITY_LIGHT, @@ -34238,6 +25786,10 @@ function colors_color(value) { // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/styles/card-styles.js +/** + * WordPress dependencies + */ + /** * Internal dependencies */ @@ -34254,7 +25806,7 @@ var borderColor = styleProps.borderColor, var CardUI = styled_base_browser_esm("div", { target: "e1q7k77g0", label: "CardUI" -})("background:", colors_color('white'), ";box-sizing:border-box;border-radius:", borderRadius, ";border:1px solid ", borderColor, ";", handleBorderless, ";&.is-elevated{box-shadow:0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12);}" + ( true ? "" : undefined)); +})("background:", colors_color('white'), ";box-sizing:border-box;border-radius:", borderRadius, ";border:1px solid ", borderColor, ";", handleBorderless, ";&.is-elevated{box-shadow:0px 1px 3px 0px rgba( 0,0,0,0.2 ),0px 1px 1px 0px rgba( 0,0,0,0.14 ),0px 2px 1px -1px rgba( 0,0,0,0.12 );}" + ( true ? "" : undefined)); var HeaderUI = styled_base_browser_esm("div", { target: "e1q7k77g1", label: "HeaderUI" @@ -34273,7 +25825,7 @@ var FooterUI = styled_base_browser_esm("div", { })("border-top:1px solid ", borderColor, ";border-bottom-left-radius:", borderRadius, ";border-bottom-right-radius:", borderRadius, ";box-sizing:border-box;&:first-of-type{border-top:none;}", headerFooterSizes, ";", handleBorderless, ";", handleShady, ";" + ( true ? "" : undefined)); var DividerUI = /*#__PURE__*/ -styled_base_browser_esm(HorizontalRule, { +styled_base_browser_esm(external_this_wp_primitives_["HorizontalRule"], { target: "e1q7k77g5", label: "DividerUI" })("all:unset;border-top:1px solid ", borderColor, ";box-sizing:border-box;display:block;height:0;width:100%;" + ( true ? "" : undefined)); @@ -34339,6 +25891,10 @@ Card.defaultProps = card_defaultProps; +function body_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function body_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { body_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { body_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -34358,7 +25914,7 @@ function CardBody(props) { isShady = props.isShady, additionalProps = Object(objectWithoutProperties["a" /* default */])(props, ["className", "isShady"]); - var mergedProps = Object(objectSpread["a" /* default */])({}, body_defaultProps, context_useCardContext(), props); + var mergedProps = body_objectSpread({}, body_defaultProps, {}, context_useCardContext(), {}, props); var size = mergedProps.size; var classes = classnames_default()('components-card__body', isShady && 'is-shady', size && "is-size-".concat(size), className); @@ -34401,6 +25957,10 @@ function CardDivider(props) { +function footer_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function footer_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { footer_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { footer_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -34421,7 +25981,7 @@ function CardFooter(props) { isShady = props.isShady, additionalProps = Object(objectWithoutProperties["a" /* default */])(props, ["className", "isShady"]); - var mergedProps = Object(objectSpread["a" /* default */])({}, footer_defaultProps, context_useCardContext(), props); + var mergedProps = footer_objectSpread({}, footer_defaultProps, {}, context_useCardContext(), {}, props); var isBorderless = mergedProps.isBorderless, size = mergedProps.size; @@ -34438,6 +25998,10 @@ function CardFooter(props) { +function header_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function header_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { header_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { header_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -34458,7 +26022,7 @@ function CardHeader(props) { isShady = props.isShady, additionalProps = Object(objectWithoutProperties["a" /* default */])(props, ["className", "isShady"]); - var mergedProps = Object(objectSpread["a" /* default */])({}, header_defaultProps, context_useCardContext(), props); + var mergedProps = header_objectSpread({}, header_defaultProps, {}, context_useCardContext(), {}, props); var isBorderless = mergedProps.isBorderless, size = mergedProps.size; @@ -34494,6 +26058,12 @@ function CardMedia(props) { } /* harmony default export */ var media = (CardMedia); +// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js +var build_module_icon = __webpack_require__(186); + +// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/check.js +var check = __webpack_require__(187); + // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/checkbox-control/index.js @@ -34503,12 +26073,12 @@ function CardMedia(props) { * WordPress dependencies */ + /** * Internal dependencies */ - function CheckboxControl(_ref) { var label = _ref.label, className = _ref.className, @@ -34540,8 +26110,8 @@ function CheckboxControl(_ref) { onChange: onChangeValue, checked: checked, "aria-describedby": !!help ? id + '__help' : undefined - }, props)), checked ? Object(external_this_wp_element_["createElement"])(dashicon_Dashicon, { - icon: "yes", + }, props)), checked ? Object(external_this_wp_element_["createElement"])(build_module_icon["a" /* default */], { + icon: check["a" /* default */], className: "components-checkbox-control__checked", role: "presentation" }) : null), Object(external_this_wp_element_["createElement"])("label", { @@ -34551,7 +26121,7 @@ function CheckboxControl(_ref) { } // EXTERNAL MODULE: ./node_modules/clipboard/dist/clipboard.js -var clipboard = __webpack_require__(223); +var clipboard = __webpack_require__(262); var clipboard_default = /*#__PURE__*/__webpack_require__.n(clipboard); // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/clipboard-button/index.js @@ -34654,8 +26224,6 @@ function (_Component) { }, { key: "render", value: function render() { - // Disable reason: Exclude from spread props passed to Button - // eslint-disable-next-line no-unused-vars var _this$props2 = this.props, className = _this$props2.className, children = _this$props2.children, @@ -34677,7 +26245,7 @@ function (_Component) { return Object(external_this_wp_element_["createElement"])("span", { ref: this.containerRef, onCopy: focusOnCopyEventTarget - }, Object(external_this_wp_element_["createElement"])(build_module_button, Object(esm_extends["a" /* default */])({}, buttonProps, { + }, Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({}, buttonProps, { className: classes }), children)); } @@ -35663,7 +27231,7 @@ function (_Component) { return Input; }(external_this_wp_element_["Component"]); -var PureButton = Object(external_this_wp_compose_["pure"])(build_module_button); +var PureButton = Object(external_this_wp_compose_["pure"])(build_module_button["a" /* default */]); var inputs_Inputs = /*#__PURE__*/ function (_Component2) { @@ -35861,8 +27429,9 @@ function (_Component2) { return Object(external_this_wp_element_["createElement"])("div", { className: "components-color-picker__inputs-wrapper" }, this.renderFields(), Object(external_this_wp_element_["createElement"])("div", { - className: "components-color-picker__inputs-toggle" + className: "components-color-picker__inputs-toggle-wrapper" }, Object(external_this_wp_element_["createElement"])(PureButton, { + className: "components-color-picker__inputs-toggle", icon: "arrow-down-alt2", label: Object(external_this_wp_i18n_["__"])('Change color format'), onClick: this.toggleViews @@ -36110,7 +27679,7 @@ function (_Component) { className: "components-color-picker__saturation-white" }), Object(external_this_wp_element_["createElement"])("div", { className: "components-color-picker__saturation-black" - }), Object(external_this_wp_element_["createElement"])(build_module_button, { + }), Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], { "aria-label": Object(external_this_wp_i18n_["__"])('Choose a shade'), "aria-describedby": "color-picker-saturation-".concat(instanceId), className: "components-color-picker__saturation-pointer", @@ -36137,6 +27706,9 @@ function (_Component) { +function color_picker_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function color_picker_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { color_picker_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { color_picker_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * Parts of this source were derived and modified from react-color, @@ -36245,9 +27817,9 @@ var color_picker_dataToColors = function dataToColors(oldColors, _ref) { }, source, value); } - return Object(objectSpread["a" /* default */])({ + return color_picker_objectSpread({ source: source - }, Object(objectSpread["a" /* default */])({}, oldColors[source], Object(defineProperty["a" /* default */])({}, valueKey, value))); + }, color_picker_objectSpread({}, oldColors[source], {}, Object(defineProperty["a" /* default */])({}, valueKey, value))); }; var color_picker_ColorPicker = @@ -36265,7 +27837,7 @@ function (_Component) { _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(ColorPicker).apply(this, arguments)); var colors = colorToState(color); - _this.state = Object(objectSpread["a" /* default */])({}, colors, { + _this.state = color_picker_objectSpread({}, colors, { draftHex: toLowerCase(colors.hex), draftRgb: colors.rgb, draftHsl: colors.hsl @@ -36287,7 +27859,7 @@ function (_Component) { if (color_picker_isValidColor(data)) { var colors = colorToState(data, data.h || oldHue); - this.setState(Object(objectSpread["a" /* default */])({}, colors, { + this.setState(color_picker_objectSpread({}, colors, { draftHex: toLowerCase(colors.hex), draftHsl: colors.hsl, draftRgb: colors.rgb @@ -36534,7 +28106,7 @@ function (_Component) { return Object(external_this_wp_element_["createElement"])("div", { className: classnames_default()('components-dropdown', className), ref: this.containerRef - }, renderToggle(args), isOpen && Object(external_this_wp_element_["createElement"])(popover, Object(esm_extends["a" /* default */])({ + }, renderToggle(args), isOpen && Object(external_this_wp_element_["createElement"])(popover["a" /* default */], Object(esm_extends["a" /* default */])({ className: contentClassName, position: position, onClose: this.close, @@ -36551,6 +28123,9 @@ function (_Component) { /* harmony default export */ var dropdown = (dropdown_Dropdown); +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/tooltip/index.js +var build_module_tooltip = __webpack_require__(106); + // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/circular-option-picker/index.js @@ -36561,10 +28136,14 @@ function (_Component) { */ /** - * Internal dependencies + * WordPress dependencies */ +/** + * Internal dependencies + */ + @@ -36575,16 +28154,16 @@ function Option(_ref) { tooltipText = _ref.tooltipText, additionalProps = Object(objectWithoutProperties["a" /* default */])(_ref, ["className", "isSelected", "tooltipText"]); - var optionButton = Object(external_this_wp_element_["createElement"])(build_module_button, Object(esm_extends["a" /* default */])({ + var optionButton = Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({ isPressed: isSelected, className: classnames_default()(className, 'components-circular-option-picker__option') }, additionalProps)); return Object(external_this_wp_element_["createElement"])("div", { className: "components-circular-option-picker__option-wrapper" - }, tooltipText ? Object(external_this_wp_element_["createElement"])(build_module_tooltip, { + }, tooltipText ? Object(external_this_wp_element_["createElement"])(build_module_tooltip["a" /* default */], { text: tooltipText - }, optionButton) : optionButton, isSelected && Object(external_this_wp_element_["createElement"])(dashicon_Dashicon, { - icon: "saved" + }, optionButton) : optionButton, isSelected && Object(external_this_wp_element_["createElement"])(build_module_icon["a" /* default */], { + icon: check["a" /* default */] })); } @@ -36598,7 +28177,7 @@ function DropdownLinkAction(_ref2) { renderToggle: function renderToggle(_ref3) { var isOpen = _ref3.isOpen, onToggle = _ref3.onToggle; - return Object(external_this_wp_element_["createElement"])(build_module_button, Object(esm_extends["a" /* default */])({ + return Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({ "aria-expanded": isOpen, onClick: onToggle, isLink: true @@ -36612,7 +28191,7 @@ function ButtonAction(_ref4) { children = _ref4.children, additionalProps = Object(objectWithoutProperties["a" /* default */])(_ref4, ["className", "children"]); - return Object(external_this_wp_element_["createElement"])(build_module_button, Object(esm_extends["a" /* default */])({ + return Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({ className: classnames_default()('components-circular-option-picker__clear', className), isSmall: true, isSecondary: true @@ -36714,7 +28293,7 @@ function ColorPalette(_ref) { } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js -var objectWithoutPropertiesLoose = __webpack_require__(40); +var objectWithoutPropertiesLoose = __webpack_require__(41); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js function _inheritsLoose(subClass, superClass) { @@ -36723,11 +28302,11 @@ function _inheritsLoose(subClass, superClass) { subClass.__proto__ = superClass; } // EXTERNAL MODULE: ./node_modules/prop-types/index.js -var prop_types = __webpack_require__(28); +var prop_types = __webpack_require__(25); var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types); // EXTERNAL MODULE: ./node_modules/downshift/node_modules/react-is/index.js -var react_is = __webpack_require__(145); +var react_is = __webpack_require__(181); // CONCATENATED MODULE: ./node_modules/compute-scroll-into-view/es/index.js function isElement(el) { @@ -37176,6 +28755,39 @@ function pickState(state) { }); return result; } +/** + * This will perform a shallow merge of the given state object + * with the state coming from props + * (for the controlled component scenario) + * This is used in state updater functions so they're referencing + * the right state regardless of where it comes from. + * + * @param {Object} state The state of the component/hook. + * @param {Object} props The props that may contain controlled values. + * @returns {Object} The merged controlled state. + */ + + +function getState(state, props) { + return Object.keys(state).reduce(function (prevState, key) { + prevState[key] = isControlledProp(props, key) ? props[key] : state[key]; + return prevState; + }, {}); +} +/** + * This determines whether a prop is a "controlled prop" meaning it is + * state which is controlled by the outside of this component rather + * than within this component. + * + * @param {Object} props The props that may contain controlled values. + * @param {String} key the key to check + * @return {Boolean} whether it is a controlled controlled prop + */ + + +function isControlledProp(props, key) { + return props[key] !== undefined; +} /** * Normalizes the 'key' property of a KeyboardEvent in IE/Edge * @param {Object} event a keyboardEvent object @@ -37211,11 +28823,17 @@ function isPlainObject(obj) { * @param {number} moveAmount Number of positions to move. Negative to move backwards, positive forwards. * @param {number} baseIndex The initial position to move from. * @param {number} itemCount The total number of items. + * @param {Function} getItemNodeFromIndex Used to check if item is disabled. + * @param {boolean} circular Specify if navigation is circular. Default is true. * @returns {number} The new index after the move. */ -function getNextWrappingIndex(moveAmount, baseIndex, itemCount) { +function getNextWrappingIndex(moveAmount, baseIndex, itemCount, getItemNodeFromIndex, circular) { + if (circular === void 0) { + circular = true; + } + var itemsLastIndex = itemCount - 1; if (typeof baseIndex !== 'number' || baseIndex < 0 || baseIndex >= itemCount) { @@ -37225,12 +28843,74 @@ function getNextWrappingIndex(moveAmount, baseIndex, itemCount) { var newIndex = baseIndex + moveAmount; if (newIndex < 0) { - newIndex = itemsLastIndex; + newIndex = circular ? itemsLastIndex : 0; } else if (newIndex > itemsLastIndex) { - newIndex = 0; + newIndex = circular ? 0 : itemsLastIndex; } - return newIndex; + var nonDisabledNewIndex = getNextNonDisabledIndex(moveAmount, newIndex, itemCount, getItemNodeFromIndex, circular); + return nonDisabledNewIndex === -1 ? baseIndex : nonDisabledNewIndex; +} +/** + * Returns the next index in the list of an item that is not disabled. + * + * @param {number} moveAmount Number of positions to move. Negative to move backwards, positive forwards. + * @param {number} baseIndex The initial position to move from. + * @param {number} itemCount The total number of items. + * @param {Function} getItemNodeFromIndex Used to check if item is disabled. + * @param {boolean} circular Specify if navigation is circular. Default is true. + * @returns {number} The new index. Returns baseIndex if item is not disabled. Returns next non-disabled item otherwise. If no non-disabled found it will return -1. + */ + + +function getNextNonDisabledIndex(moveAmount, baseIndex, itemCount, getItemNodeFromIndex, circular) { + var currentElementNode = getItemNodeFromIndex(baseIndex); + + if (!currentElementNode || !currentElementNode.hasAttribute('disabled')) { + return baseIndex; + } + + if (moveAmount > 0) { + for (var index = baseIndex + 1; index < itemCount; index++) { + if (!getItemNodeFromIndex(index).hasAttribute('disabled')) { + return index; + } + } + } else { + for (var _index = baseIndex - 1; _index >= 0; _index--) { + if (!getItemNodeFromIndex(_index).hasAttribute('disabled')) { + return _index; + } + } + } + + if (circular) { + return moveAmount > 0 ? getNextNonDisabledIndex(1, 0, itemCount, getItemNodeFromIndex, false) : getNextNonDisabledIndex(-1, itemCount - 1, itemCount, getItemNodeFromIndex, false); + } + + return -1; +} +/** + * Checks if event target is within the downshift elements. + * + * @param {EventTarget} target Target to check. + * @param {HTMLElement} rootNode The element with combobox role. + * @param {HTMLElement} menuNode The elements list with listbox role. + * @param {Document} document The document. + * @param {boolean} checkActiveElement Whether to also check activeElement. + * + * @returns {boolean} Whether or not the target is within downshift elements. + */ + + +function targetWithinDownshift(target, rootNode, menuNode, document, checkActiveElement) { + if (checkActiveElement === void 0) { + checkActiveElement = true; + } + + return [rootNode, menuNode].some(function (contextNode) { + return contextNode && (isOrContainsNode(contextNode, target) || checkActiveElement && isOrContainsNode(contextNode, document.activeElement)); + }); } var cleanupStatus = debounce(function () { @@ -37475,7 +29155,7 @@ function () { nextFullState[key] = newStateToSet[key]; // if it's coming from props, then we don't care to set it internally - if (!_this.isControlledProp(key)) { + if (!isControlledProp(_this.props, key)) { nextState[key] = newStateToSet[key]; } }); // if stateToSet is a function, then we weren't able to call onInputValueChange @@ -37559,7 +29239,14 @@ function () { var itemCount = _this2.getItemCount(); if (itemCount > 0) { - _this2.setHighlightedIndex(getNextWrappingIndex(1, _this2.getState().highlightedIndex, itemCount), { + var _this2$getState = _this2.getState(), + highlightedIndex = _this2$getState.highlightedIndex; + + var nextHighlightedIndex = getNextWrappingIndex(1, highlightedIndex, itemCount, function (index) { + return _this2.getItemNodeFromIndex(index); + }); + + _this2.setHighlightedIndex(nextHighlightedIndex, { type: keyDownArrowDown }); } @@ -37584,8 +29271,15 @@ function () { var itemCount = _this3.getItemCount(); if (itemCount > 0) { - _this3.setHighlightedIndex(getNextWrappingIndex(-1, _this3.getState().highlightedIndex, itemCount), { - type: keyDownArrowDown + var _this3$getState = _this3.getState(), + highlightedIndex = _this3$getState.highlightedIndex; + + var nextHighlightedIndex = getNextWrappingIndex(-1, highlightedIndex, itemCount, function (index) { + return _this3.getItemNodeFromIndex(index); + }); + + _this3.setHighlightedIndex(nextHighlightedIndex, { + type: keyDownArrowUp }); } }); @@ -37629,12 +29323,44 @@ function () { }); _this.inputKeyDownHandlers = Object(esm_extends["a" /* default */])({}, _this.keyDownHandlers, { Home: function Home(event) { - this.highlightFirstOrLastIndex(event, true, { + var _this4 = this; + + event.preventDefault(); + var itemCount = this.getItemCount(); + + var _this$getState3 = this.getState(), + isOpen = _this$getState3.isOpen; + + if (itemCount <= 0 || !isOpen) { + return; + } // get next non-disabled starting downwards from 0 if that's disabled. + + + var newHighlightedIndex = getNextNonDisabledIndex(1, 0, itemCount, function (index) { + return _this4.getItemNodeFromIndex(index); + }, false); + this.setHighlightedIndex(newHighlightedIndex, { type: keyDownHome }); }, End: function End(event) { - this.highlightFirstOrLastIndex(event, false, { + var _this5 = this; + + event.preventDefault(); + var itemCount = this.getItemCount(); + + var _this$getState4 = this.getState(), + isOpen = _this$getState4.isOpen; + + if (itemCount <= 0 || !isOpen) { + return; + } // get next non-disabled starting upwards from last index if that's disabled. + + + var newHighlightedIndex = getNextNonDisabledIndex(-1, itemCount - 1, itemCount, function (index) { + return _this5.getItemNodeFromIndex(index); + }, false); + this.setHighlightedIndex(newHighlightedIndex, { type: keyDownEnd }); } @@ -37649,8 +29375,8 @@ function () { onBlur = _ref3.onBlur, rest = Object(objectWithoutPropertiesLoose["a" /* default */])(_ref3, ["onClick", "onPress", "onKeyDown", "onKeyUp", "onBlur"]); - var _this$getState3 = _this.getState(), - isOpen = _this$getState3.isOpen; + var _this$getState5 = _this.getState(), + isOpen = _this$getState5.isOpen; var enabledEventHandlers = { onClick: callAllEventHandlers(onClick, _this.buttonHandleClick), @@ -37740,10 +29466,10 @@ function () { onChangeKey = 'onChange'; - var _this$getState4 = _this.getState(), - inputValue = _this$getState4.inputValue, - isOpen = _this$getState4.isOpen, - highlightedIndex = _this$getState4.highlightedIndex; + var _this$getState6 = _this.getState(), + inputValue = _this$getState6.inputValue, + isOpen = _this$getState6.isOpen, + highlightedIndex = _this$getState6.highlightedIndex; if (!rest.disabled) { var _eventHandlers; @@ -37926,9 +29652,9 @@ function () { highlightedIndex: _this.props.defaultHighlightedIndex }, {}, otherStateToSet); }, function () { - var _this$getState5 = _this.getState(), - isOpen = _this$getState5.isOpen, - highlightedIndex = _this$getState5.highlightedIndex; + var _this$getState7 = _this.getState(), + isOpen = _this$getState7.isOpen, + highlightedIndex = _this$getState7.highlightedIndex; if (isOpen) { if (_this.getItemCount() > 0 && typeof highlightedIndex === 'number') { @@ -38017,40 +29743,17 @@ function () { * is the value given, otherwise it's retrieved from * stateToMerge * - * This will perform a shallow merge of the given state object - * with the state coming from props - * (for the controlled component scenario) - * This is used in state updater functions so they're referencing - * the right state regardless of where it comes from. - * * @param {Object} stateToMerge defaults to this.state * @return {Object} the state */ ; - _proto.getState = function getState(stateToMerge) { - var _this4 = this; - + _proto.getState = function getState$1(stateToMerge) { if (stateToMerge === void 0) { stateToMerge = this.state; } - return Object.keys(stateToMerge).reduce(function (state, key) { - state[key] = _this4.isControlledProp(key) ? _this4.props[key] : stateToMerge[key]; - return state; - }, {}); - } - /** - * This determines whether a prop is a "controlled prop" meaning it is - * state which is controlled by the outside of this component rather - * than within this component. - * @param {String} key the key to check - * @return {Boolean} whether it is a controlled controlled prop - */ - ; - - _proto.isControlledProp = function isControlledProp(key) { - return this.props[key] !== undefined; + return getState(stateToMerge, this.props); }; _proto.getItemCount = function getItemCount() { @@ -38082,31 +29785,27 @@ function () { }; _proto.moveHighlightedIndex = function moveHighlightedIndex(amount, otherStateToSet) { + var _this6 = this; + var itemCount = this.getItemCount(); + var _this$getState8 = this.getState(), + highlightedIndex = _this$getState8.highlightedIndex; + if (itemCount > 0) { - var nextHighlightedIndex = getNextWrappingIndex(amount, this.getState().highlightedIndex, itemCount); + var nextHighlightedIndex = getNextWrappingIndex(amount, highlightedIndex, itemCount, function (index) { + return _this6.getItemNodeFromIndex(index); + }); this.setHighlightedIndex(nextHighlightedIndex, otherStateToSet); } }; - _proto.highlightFirstOrLastIndex = function highlightFirstOrLastIndex(event, first, otherStateToSet) { - var itemsLastIndex = this.getItemCount() - 1; - - if (itemsLastIndex < 0 || !this.getState().isOpen) { - return; - } - - event.preventDefault(); - this.setHighlightedIndex(first ? 0 : itemsLastIndex, otherStateToSet); - }; - _proto.getStateAndHelpers = function getStateAndHelpers() { - var _this$getState6 = this.getState(), - highlightedIndex = _this$getState6.highlightedIndex, - inputValue = _this$getState6.inputValue, - selectedItem = _this$getState6.selectedItem, - isOpen = _this$getState6.isOpen; + var _this$getState9 = this.getState(), + highlightedIndex = _this$getState9.highlightedIndex, + inputValue = _this$getState9.inputValue, + selectedItem = _this$getState9.selectedItem, + isOpen = _this$getState9.isOpen; var itemToString = this.props.itemToString; var id = this.id; @@ -38165,7 +29864,7 @@ function () { ; _proto.componentDidMount = function componentDidMount() { - var _this5 = this; + var _this7 = this; /* istanbul ignore if (react-native) */ if (false) {} @@ -38173,37 +29872,26 @@ function () { { - var targetWithinDownshift = function (target, checkActiveElement) { - if (checkActiveElement === void 0) { - checkActiveElement = true; - } - - var document = _this5.props.environment.document; - return [_this5._rootNode, _this5._menuNode].some(function (contextNode) { - return contextNode && (isOrContainsNode(contextNode, target) || checkActiveElement && isOrContainsNode(contextNode, document.activeElement)); - }); - }; // this.isMouseDown helps us track whether the mouse is currently held down. + // this.isMouseDown helps us track whether the mouse is currently held down. // This is useful when the user clicks on an item in the list, but holds the mouse // down long enough for the list to disappear (because the blur event fires on the input) // this.isMouseDown is used in the blur handler on the input to determine whether the blur event should // trigger hiding the menu. - - var onMouseDown = function () { - _this5.isMouseDown = true; + _this7.isMouseDown = true; }; var onMouseUp = function (event) { - _this5.isMouseDown = false; // if the target element or the activeElement is within a downshift node + _this7.isMouseDown = false; // if the target element or the activeElement is within a downshift node // then we don't want to reset downshift - var contextWithinDownshift = targetWithinDownshift(event.target); + var contextWithinDownshift = targetWithinDownshift(event.target, _this7._rootNode, _this7._menuNode, _this7.props.environment.document); - if (!contextWithinDownshift && _this5.getState().isOpen) { - _this5.reset({ + if (!contextWithinDownshift && _this7.getState().isOpen) { + _this7.reset({ type: mouseUp }, function () { - return _this5.props.onOuterClick(_this5.getStateAndHelpers()); + return _this7.props.onOuterClick(_this7.getStateAndHelpers()); }); } }; // Touching an element in iOS gives focus and hover states, but touching out of @@ -38215,21 +29903,21 @@ function () { var onTouchStart = function () { - _this5.isTouchMove = false; + _this7.isTouchMove = false; }; var onTouchMove = function () { - _this5.isTouchMove = true; + _this7.isTouchMove = true; }; var onTouchEnd = function (event) { - var contextWithinDownshift = targetWithinDownshift(event.target, false); + var contextWithinDownshift = targetWithinDownshift(event.target, _this7._rootNode, _this7._menuNode, _this7.props.environment.document, false); - if (!_this5.isTouchMove && !contextWithinDownshift && _this5.getState().isOpen) { - _this5.reset({ + if (!_this7.isTouchMove && !contextWithinDownshift && _this7.getState().isOpen) { + _this7.reset({ type: touchEnd }, function () { - return _this5.props.onOuterClick(_this5.getStateAndHelpers()); + return _this7.props.onOuterClick(_this7.getStateAndHelpers()); }); } }; @@ -38242,9 +29930,9 @@ function () { environment.addEventListener('touchend', onTouchEnd); this.cleanup = function () { - _this5.internalClearTimeouts(); + _this7.internalClearTimeouts(); - _this5.updateStatus.cancel(); + _this7.updateStatus.cancel(); environment.removeEventListener('mousedown', onMouseDown); environment.removeEventListener('mouseup', onMouseUp); @@ -38269,7 +29957,7 @@ function () { _proto.componentDidUpdate = function componentDidUpdate(prevProps, prevState) { if (false) {} - if (this.isControlledProp('selectedItem') && this.props.selectedItemChanged(prevProps.selectedItem, this.props.selectedItem)) { + if (isControlledProp(this.props, 'selectedItem') && this.props.selectedItemChanged(prevProps.selectedItem, this.props.selectedItem)) { this.internalSetState({ type: controlledPropUpdatedSelectedItem, inputValue: this.props.itemToString(this.props.selectedItem) @@ -38416,6 +30104,12 @@ function validateControlledUnchanged(prevProps, nextProps) { }); } +var defaultStateValues = { + highlightedIndex: -1, + isOpen: false, + selectedItem: null +}; + function getElementIds(generateDefaultId, _temp) { var _ref = _temp === void 0 ? {} : _temp, id = _ref.id, @@ -38435,51 +30129,6 @@ function getElementIds(generateDefaultId, _temp) { }; } -function getNextWrappingIndex$1(moveAmount, baseIndex, itemsLength, circular) { - if (baseIndex === -1) { - return moveAmount > 0 ? 0 : itemsLength - 1; - } - - var nextIndex = baseIndex + moveAmount; - - if (nextIndex < 0) { - return circular ? itemsLength - 1 : 0; - } - - if (nextIndex >= itemsLength) { - return circular ? 0 : itemsLength - 1; - } - - return nextIndex; -} - -function getItemIndexByCharacterKey(keysSoFar, highlightedIndex, items, itemToStringParam) { - var newHighlightedIndex = -1; - var itemStrings = items.map(function (item) { - return itemToStringParam(item).toLowerCase(); - }); - var startPosition = highlightedIndex + 1; - newHighlightedIndex = itemStrings.slice(startPosition).findIndex(function (itemString) { - return itemString.startsWith(keysSoFar); - }); - - if (newHighlightedIndex > -1) { - return newHighlightedIndex + startPosition; - } else { - return itemStrings.slice(0, startPosition).findIndex(function (itemString) { - return itemString.startsWith(keysSoFar); - }); - } -} - -function getState(state, props) { - return Object.keys(state).reduce(function (prevState, key) { - // eslint-disable-next-line no-param-reassign - prevState[key] = key in props ? props[key] : state[key]; - return prevState; - }, {}); -} - function getItemIndex(index, item, items) { if (index !== undefined) { return index; @@ -38537,14 +30186,14 @@ function callOnChangeProps(props, state, changes) { } function useEnhancedReducer(reducer, initialState, props) { + var prevState = Object(external_this_React_["useRef"])(); var enhancedReducer = Object(external_this_React_["useCallback"])(function (state, action) { state = getState(state, action.props); - var stateReducer = action.props.stateReducer; + var stateReduceLocal = action.props.stateReducer; var changes = reducer(state, action); - var newState = stateReducer(state, Object(esm_extends["a" /* default */])({}, action, { + var newState = stateReduceLocal(state, Object(esm_extends["a" /* default */])({}, action, { changes: changes })); - callOnChangeProps(action.props, state, newState); return newState; }, [reducer]); @@ -38552,6 +30201,13 @@ function useEnhancedReducer(reducer, initialState, props) { state = _useReducer[0], dispatch = _useReducer[1]; + Object(external_this_React_["useEffect"])(function () { + if (prevState.current) { + callOnChangeProps(props, prevState.current, state); + } + + prevState.current = state; + }, [state, props]); return [getState(state, props), dispatch]; } @@ -38588,19 +30244,32 @@ function useId() { function focusLandsOnElement(event, nextElement) { - return event.relatedTarget === nextElement || // https://github.com/downshift-js/downshift/issues/832 - workaround for Firefox. - event.nativeEvent && (nextElement === event.nativeEvent.explicitOriginalTarget || nextElement.contains(event.nativeEvent.explicitOriginalTarget)); + return !!nextElement && (event.relatedTarget === nextElement || // https://github.com/downshift-js/downshift/issues/832 - workaround for Firefox. + event.nativeEvent && (nextElement === event.nativeEvent.explicitOriginalTarget || nextElement.contains(event.nativeEvent.explicitOriginalTarget))); } +/** + * Default state reducer that returns the changes. + * + * @param {Object} s state. + * @param {Object} a action with changes. + * @returns {Object} changes. + */ -var defaultStateValues = { - highlightedIndex: -1, - isOpen: false, - selectedItem: null -}; -function getA11yStatusMessage$1(_ref) { - var isOpen = _ref.isOpen, - items = _ref.items; +function downshift_esm_stateReducer(s, a) { + return a.changes; +} +/** + * Returns a message to be added to aria-live region when dropdown is open. + * + * @param {*} selectionParameters Parameters required to build the message. + * @returns {string} The a11y message. + */ + + +function getA11yStatusMessage$1(selectionParameters) { + var isOpen = selectionParameters.isOpen, + items = selectionParameters.items; if (!items) { return ''; @@ -38618,21 +30287,64 @@ function getA11yStatusMessage$1(_ref) { return ''; } +/** + * Returns a message to be added to aria-live region when item is selected. + * + * @param {Object} selectionParameters Parameters required to build the message. + * @returns {string} The a11y message. + */ -function downshift_esm_getA11ySelectionMessage(_ref2) { - var selectedItem = _ref2.selectedItem, - itemToString = _ref2.itemToString; - return itemToString(selectedItem) + " has been selected."; + +function downshift_esm_getA11ySelectionMessage(selectionParameters) { + var selectedItem = selectionParameters.selectedItem, + itemToStringLocal = selectionParameters.itemToString; + return itemToStringLocal(selectedItem) + " has been selected."; } -function getHighlightedIndexOnOpen(props, state, offset) { +var downshift_esm_defaultProps = { + itemToString: downshift_esm_itemToString, + stateReducer: downshift_esm_stateReducer, + getA11yStatusMessage: getA11yStatusMessage$1, + getA11ySelectionMessage: downshift_esm_getA11ySelectionMessage, + scrollIntoView: downshift_esm_scrollIntoView, + circularNavigation: false, + environment: typeof window === 'undefined' + /* istanbul ignore next (ssr) */ + ? {} : window +}; + +function getDefaultValue(props, propKey, defaultStateValuesLocal) { + var defaultPropKey = "default" + capitalizeString(propKey); + + if (defaultPropKey in props) { + return props[defaultPropKey]; + } + + return Object(esm_extends["a" /* default */])({}, defaultStateValues, {}, defaultStateValuesLocal)[propKey]; +} + +function getInitialValue(props, propKey, defaultStateValuesLocal) { + if (propKey in props) { + return props[propKey]; + } + + var initialPropKey = "initial" + capitalizeString(propKey); + + if (initialPropKey in props) { + return props[initialPropKey]; + } + + return getDefaultValue(props, propKey, defaultStateValuesLocal); +} + +function getHighlightedIndexOnOpen(props, state, offset, getItemNodeFromIndex) { var items = props.items, initialHighlightedIndex = props.initialHighlightedIndex, defaultHighlightedIndex = props.defaultHighlightedIndex; var selectedItem = state.selectedItem, highlightedIndex = state.highlightedIndex; // initialHighlightedIndex will give value to highlightedIndex on initial state only. - if (initialHighlightedIndex !== undefined && highlightedIndex > -1) { + if (initialHighlightedIndex !== undefined && highlightedIndex === initialHighlightedIndex) { return initialHighlightedIndex; } @@ -38645,7 +30357,7 @@ function getHighlightedIndexOnOpen(props, state, offset) { return items.indexOf(selectedItem); } - return getNextWrappingIndex$1(offset, items.indexOf(selectedItem), items.length, false); + return getNextWrappingIndex(offset, items.indexOf(selectedItem), items.length, getItemNodeFromIndex, false); } if (offset === 0) { @@ -38655,34 +30367,22 @@ function getHighlightedIndexOnOpen(props, state, offset) { return offset < 0 ? items.length - 1 : 0; } -function getDefaultValue(props, propKey) { - var defaultPropKey = "default" + capitalizeString(propKey); +var defaultStateValues$1 = { + keysSoFar: '' +}; - if (defaultPropKey in props) { - return props[defaultPropKey]; - } - - return defaultStateValues[propKey]; +function getDefaultValue$1(props, propKey) { + return getDefaultValue(props, propKey, defaultStateValues$1); } -function getInitialValue(props, propKey) { - if (propKey in props) { - return props[propKey]; - } - - var initialPropKey = "initial" + capitalizeString(propKey); - - if (initialPropKey in props) { - return props[initialPropKey]; - } - - return getDefaultValue(props, propKey); +function getInitialValue$1(props, propKey) { + return getInitialValue(props, propKey, defaultStateValues$1); } function getInitialState(props) { - var selectedItem = getInitialValue(props, 'selectedItem'); - var highlightedIndex = getInitialValue(props, 'highlightedIndex'); - var isOpen = getInitialValue(props, 'isOpen'); + var selectedItem = getInitialValue$1(props, 'selectedItem'); + var isOpen = getInitialValue$1(props, 'isOpen'); + var highlightedIndex = getInitialValue$1(props, 'highlightedIndex'); return { highlightedIndex: highlightedIndex < 0 && selectedItem ? props.items.indexOf(selectedItem) : highlightedIndex, isOpen: isOpen, @@ -38691,6 +30391,36 @@ function getInitialState(props) { }; } +function getItemIndexByCharacterKey(keysSoFar, highlightedIndex, items, itemToStringParam, getItemNodeFromIndex) { + var lowerCasedItemStrings = items.map(function (item) { + return itemToStringParam(item).toLowerCase(); + }); + var lowerCasedKeysSoFar = keysSoFar.toLowerCase(); + + var isValid = function (itemString, index) { + var element = getItemNodeFromIndex(index); + return itemString.startsWith(lowerCasedKeysSoFar) && !(element && element.hasAttribute('disabled')); + }; + + for (var index = highlightedIndex + 1; index < lowerCasedItemStrings.length; index++) { + var itemString = lowerCasedItemStrings[index]; + + if (isValid(itemString, index)) { + return index; + } + } + + for (var _index = 0; _index < highlightedIndex; _index++) { + var _itemString = lowerCasedItemStrings[_index]; + + if (isValid(_itemString, _index)) { + return _index; + } + } + + return highlightedIndex; +} + var downshift_esm_propTypes = { items: prop_types_default.a.array.isRequired, itemToString: prop_types_default.a.func, @@ -38733,22 +30463,23 @@ var MenuKeyDownEscape = false ? undefined : 2; var MenuKeyDownHome = false ? undefined : 3; var MenuKeyDownEnd = false ? undefined : 4; var MenuKeyDownEnter = false ? undefined : 5; -var MenuKeyDownCharacter = false ? undefined : 6; -var MenuBlur = false ? undefined : 7; -var MenuMouseLeave = false ? undefined : 8; -var ItemMouseMove = false ? undefined : 9; -var ItemClick = false ? undefined : 10; -var ToggleButtonKeyDownCharacter = false ? undefined : 11; -var ToggleButtonKeyDownArrowDown = false ? undefined : 12; -var ToggleButtonKeyDownArrowUp = false ? undefined : 13; -var ToggleButtonClick = false ? undefined : 14; -var FunctionToggleMenu = false ? undefined : 15; -var FunctionOpenMenu = false ? undefined : 16; -var FunctionCloseMenu = false ? undefined : 17; -var FunctionSetHighlightedIndex = false ? undefined : 18; -var FunctionSelectItem = false ? undefined : 19; -var FunctionClearKeysSoFar = false ? undefined : 20; -var FunctionReset = false ? undefined : 21; +var MenuKeyDownSpaceButton = false ? undefined : 6; +var MenuKeyDownCharacter = false ? undefined : 7; +var MenuBlur = false ? undefined : 8; +var MenuMouseLeave = false ? undefined : 9; +var ItemMouseMove = false ? undefined : 10; +var ItemClick = false ? undefined : 11; +var ToggleButtonKeyDownCharacter = false ? undefined : 12; +var ToggleButtonKeyDownArrowDown = false ? undefined : 13; +var ToggleButtonKeyDownArrowUp = false ? undefined : 14; +var ToggleButtonClick = false ? undefined : 15; +var FunctionToggleMenu = false ? undefined : 16; +var FunctionOpenMenu = false ? undefined : 17; +var FunctionCloseMenu = false ? undefined : 18; +var FunctionSetHighlightedIndex = false ? undefined : 19; +var FunctionSelectItem = false ? undefined : 20; +var FunctionClearKeysSoFar = false ? undefined : 21; +var FunctionReset = false ? undefined : 22; var stateChangeTypes$1 = /*#__PURE__*/Object.freeze({ __proto__: null, @@ -38758,6 +30489,7 @@ var stateChangeTypes$1 = /*#__PURE__*/Object.freeze({ MenuKeyDownHome: MenuKeyDownHome, MenuKeyDownEnd: MenuKeyDownEnd, MenuKeyDownEnter: MenuKeyDownEnter, + MenuKeyDownSpaceButton: MenuKeyDownSpaceButton, MenuKeyDownCharacter: MenuKeyDownCharacter, MenuBlur: MenuBlur, MenuMouseLeave: MenuMouseLeave, @@ -38793,8 +30525,8 @@ function downshiftSelectReducer(state, action) { case ItemClick: changes = { - isOpen: getDefaultValue(props, 'isOpen'), - highlightedIndex: getDefaultValue(props, 'highlightedIndex'), + isOpen: getDefaultValue$1(props, 'isOpen'), + highlightedIndex: getDefaultValue$1(props, 'highlightedIndex'), selectedItem: props.items[action.index] }; break; @@ -38808,25 +30540,25 @@ function downshiftSelectReducer(state, action) { case MenuKeyDownArrowDown: changes = { - highlightedIndex: getNextWrappingIndex$1(shiftKey ? 5 : 1, state.highlightedIndex, props.items.length, props.circularNavigation) + highlightedIndex: getNextWrappingIndex(shiftKey ? 5 : 1, state.highlightedIndex, props.items.length, action.getItemNodeFromIndex, props.circularNavigation) }; break; case MenuKeyDownArrowUp: changes = { - highlightedIndex: getNextWrappingIndex$1(shiftKey ? -5 : -1, state.highlightedIndex, props.items.length, props.circularNavigation) + highlightedIndex: getNextWrappingIndex(shiftKey ? -5 : -1, state.highlightedIndex, props.items.length, action.getItemNodeFromIndex, props.circularNavigation) }; break; case MenuKeyDownHome: changes = { - highlightedIndex: 0 + highlightedIndex: getNextNonDisabledIndex(1, 0, props.items.length, action.getItemNodeFromIndex, false) }; break; case MenuKeyDownEnd: changes = { - highlightedIndex: props.items.length - 1 + highlightedIndex: getNextNonDisabledIndex(-1, props.items.length - 1, props.items.length, action.getItemNodeFromIndex, false) }; break; @@ -38838,9 +30570,10 @@ function downshiftSelectReducer(state, action) { break; case MenuKeyDownEnter: + case MenuKeyDownSpaceButton: changes = Object(esm_extends["a" /* default */])({ - isOpen: getDefaultValue(props, 'isOpen'), - highlightedIndex: getDefaultValue(props, 'highlightedIndex') + isOpen: getDefaultValue$1(props, 'isOpen'), + highlightedIndex: getDefaultValue$1(props, 'highlightedIndex') }, state.highlightedIndex >= 0 && { selectedItem: props.items[state.highlightedIndex] }); @@ -38850,7 +30583,7 @@ function downshiftSelectReducer(state, action) { { var lowercasedKey = action.key; var keysSoFar = "" + state.keysSoFar + lowercasedKey; - var highlightedIndex = getItemIndexByCharacterKey(keysSoFar, state.highlightedIndex, props.items, props.itemToString); + var highlightedIndex = getItemIndexByCharacterKey(keysSoFar, state.highlightedIndex, props.items, props.itemToString, action.getItemNodeFromIndex); changes = Object(esm_extends["a" /* default */])({ keysSoFar: keysSoFar }, highlightedIndex >= 0 && { @@ -38871,7 +30604,7 @@ function downshiftSelectReducer(state, action) { var _keysSoFar = "" + state.keysSoFar + _lowercasedKey; - var itemIndex = getItemIndexByCharacterKey(_keysSoFar, state.selectedItem ? props.items.indexOf(state.selectedItem) : -1, props.items, props.itemToString); + var itemIndex = getItemIndexByCharacterKey(_keysSoFar, state.selectedItem ? props.items.indexOf(state.selectedItem) : -1, props.items, props.itemToString, action.getItemNodeFromIndex); changes = Object(esm_extends["a" /* default */])({ keysSoFar: _keysSoFar }, itemIndex >= 0 && { @@ -38884,7 +30617,7 @@ function downshiftSelectReducer(state, action) { { changes = { isOpen: true, - highlightedIndex: getHighlightedIndexOnOpen(props, state, 1) + highlightedIndex: getHighlightedIndexOnOpen(props, state, 1, action.getItemNodeFromIndex) }; break; } @@ -38892,7 +30625,7 @@ function downshiftSelectReducer(state, action) { case ToggleButtonKeyDownArrowUp: changes = { isOpen: true, - highlightedIndex: getHighlightedIndexOnOpen(props, state, -1) + highlightedIndex: getHighlightedIndexOnOpen(props, state, -1, action.getItemNodeFromIndex) }; break; @@ -38937,9 +30670,9 @@ function downshiftSelectReducer(state, action) { case FunctionReset: changes = { - highlightedIndex: getDefaultValue(props, 'highlightedIndex'), - isOpen: getDefaultValue(props, 'isOpen'), - selectedItem: getDefaultValue(props, 'selectedItem') + highlightedIndex: getDefaultValue$1(props, 'highlightedIndex'), + isOpen: getDefaultValue$1(props, 'isOpen'), + selectedItem: getDefaultValue$1(props, 'selectedItem') }; break; @@ -38954,18 +30687,6 @@ function downshiftSelectReducer(state, action) { var validatePropTypes = true ? /* istanbul ignore next */ null : undefined; -var downshift_esm_defaultProps = { - itemToString: downshift_esm_itemToString, - stateReducer: function stateReducer(s, a) { - return a.changes; - }, - getA11yStatusMessage: getA11yStatusMessage$1, - getA11ySelectionMessage: downshift_esm_getA11ySelectionMessage, - scrollIntoView: downshift_esm_scrollIntoView, - environment: typeof window === 'undefined' - /* istanbul ignore next (ssr) */ - ? {} : window -}; useSelect.stateChangeTypes = stateChangeTypes$1; function useSelect(userProps) { @@ -39109,33 +30830,42 @@ function useSelect(userProps) { Object(external_this_React_["useEffect"])(function () { isInitialMount.current = false; }, []); + + var getItemNodeFromIndex = function (index) { + return itemRefs.current[index]; + }; /* Event handler functions */ + var menuKeyDownHandlers = { ArrowDown: function ArrowDown(event) { event.preventDefault(); dispatch({ type: MenuKeyDownArrowDown, - shiftKey: event.shiftKey + shiftKey: event.shiftKey, + getItemNodeFromIndex: getItemNodeFromIndex }); }, ArrowUp: function ArrowUp(event) { event.preventDefault(); dispatch({ type: MenuKeyDownArrowUp, - shiftKey: event.shiftKey + shiftKey: event.shiftKey, + getItemNodeFromIndex: getItemNodeFromIndex }); }, Home: function Home(event) { event.preventDefault(); dispatch({ - type: MenuKeyDownHome + type: MenuKeyDownHome, + getItemNodeFromIndex: getItemNodeFromIndex }); }, End: function End(event) { event.preventDefault(); dispatch({ - type: MenuKeyDownEnd + type: MenuKeyDownEnd, + getItemNodeFromIndex: getItemNodeFromIndex }); }, Escape: function Escape() { @@ -39149,6 +30879,12 @@ function useSelect(userProps) { type: MenuKeyDownEnter }); }, + ' ': function _(event) { + event.preventDefault(); + dispatch({ + type: MenuKeyDownSpaceButton + }); + }, Tab: function Tab(event) { // The exception that calls MenuBlur. // istanbul ignore next @@ -39163,13 +30899,15 @@ function useSelect(userProps) { ArrowDown: function ArrowDown(event) { event.preventDefault(); dispatch({ - type: ToggleButtonKeyDownArrowDown + type: ToggleButtonKeyDownArrowDown, + getItemNodeFromIndex: getItemNodeFromIndex }); }, ArrowUp: function ArrowUp(event) { event.preventDefault(); dispatch({ - type: ToggleButtonKeyDownArrowUp + type: ToggleButtonKeyDownArrowUp, + getItemNodeFromIndex: getItemNodeFromIndex }); } }; // Event handlers. @@ -39182,7 +30920,8 @@ function useSelect(userProps) { } else if (isAcceptedCharacterKey(key)) { dispatch({ type: MenuKeyDownCharacter, - key: key + key: key, + getItemNodeFromIndex: getItemNodeFromIndex }); } }; // Focus going back to the toggleButton is something we control (Escape, Enter, Click). @@ -39218,7 +30957,8 @@ function useSelect(userProps) { } else if (isAcceptedCharacterKey(key)) { dispatch({ type: ToggleButtonKeyDownCharacter, - key: key + key: key, + getItemNodeFromIndex: getItemNodeFromIndex }); } }; @@ -39375,9 +31115,773 @@ function useSelect(userProps) { }; } +var defaultStateValues$2 = { + inputValue: '' +}; + +function getElementIds$1(generateDefaultId, _temp) { + var _ref = _temp === void 0 ? {} : _temp, + id = _ref.id, + inputId = _ref.inputId, + rest = Object(objectWithoutPropertiesLoose["a" /* default */])(_ref, ["id", "inputId"]); + + var uniqueId = id === undefined ? "downshift-" + generateDefaultId() : id; + return Object(esm_extends["a" /* default */])({ + inputId: inputId || uniqueId + "-input" + }, getElementIds(generateDefaultId, Object(esm_extends["a" /* default */])({ + id: id + }, rest))); +} + +function getDefaultValue$2(props, propKey) { + return getDefaultValue(props, propKey, defaultStateValues$2); +} + +function getInitialValue$2(props, propKey) { + return getInitialValue(props, propKey, defaultStateValues$2); +} + +function getInitialState$1(props) { + var selectedItem = getInitialValue$2(props, 'selectedItem'); + var isOpen = getInitialValue$2(props, 'isOpen'); + var highlightedIndex = getInitialValue$2(props, 'highlightedIndex'); + var inputValue = getInitialValue$2(props, 'inputValue'); + + if (inputValue === '' && selectedItem && props.defaultInputValue === undefined && props.initialInputValue === undefined && props.inputValue === undefined) { + inputValue = props.itemToString(selectedItem); + } + + return { + highlightedIndex: highlightedIndex < 0 && selectedItem ? props.items.indexOf(selectedItem) : highlightedIndex, + isOpen: isOpen, + selectedItem: selectedItem, + inputValue: inputValue + }; +} + +var propTypes$1 = { + items: prop_types_default.a.array.isRequired, + itemToString: prop_types_default.a.func, + getA11yStatusMessage: prop_types_default.a.func, + getA11ySelectionMessage: prop_types_default.a.func, + circularNavigation: prop_types_default.a.bool, + highlightedIndex: prop_types_default.a.number, + defaultHighlightedIndex: prop_types_default.a.number, + initialHighlightedIndex: prop_types_default.a.number, + isOpen: prop_types_default.a.bool, + defaultIsOpen: prop_types_default.a.bool, + initialIsOpen: prop_types_default.a.bool, + selectedItem: prop_types_default.a.any, + initialSelectedItem: prop_types_default.a.any, + defaultSelectedItem: prop_types_default.a.any, + inputValue: prop_types_default.a.string, + defaultInputValue: prop_types_default.a.string, + initialInputValue: prop_types_default.a.string, + id: prop_types_default.a.string, + labelId: prop_types_default.a.string, + menuId: prop_types_default.a.string, + getItemId: prop_types_default.a.func, + inputId: prop_types_default.a.string, + toggleButtonId: prop_types_default.a.string, + stateReducer: prop_types_default.a.func, + onSelectedItemChange: prop_types_default.a.func, + onHighlightedIndexChange: prop_types_default.a.func, + onStateChange: prop_types_default.a.func, + onIsOpenChange: prop_types_default.a.func, + onInputValueChange: prop_types_default.a.func, + environment: prop_types_default.a.shape({ + addEventListener: prop_types_default.a.func, + removeEventListener: prop_types_default.a.func, + document: prop_types_default.a.shape({ + getElementById: prop_types_default.a.func, + activeElement: prop_types_default.a.any, + body: prop_types_default.a.any + }) + }) +}; + +var defaultProps$1 = Object(esm_extends["a" /* default */])({}, downshift_esm_defaultProps, { + circularNavigation: true +}); + +var InputKeyDownArrowDown = false ? undefined : 0; +var InputKeyDownArrowUp = false ? undefined : 1; +var InputKeyDownEscape = false ? undefined : 2; +var InputKeyDownHome = false ? undefined : 3; +var InputKeyDownEnd = false ? undefined : 4; +var InputKeyDownEnter = false ? undefined : 5; +var InputChange = false ? undefined : 6; +var InputBlur = false ? undefined : 7; +var MenuMouseLeave$1 = false ? undefined : 8; +var ItemMouseMove$1 = false ? undefined : 9; +var ItemClick$1 = false ? undefined : 10; +var ToggleButtonClick$1 = false ? undefined : 11; +var FunctionToggleMenu$1 = false ? undefined : 12; +var FunctionOpenMenu$1 = false ? undefined : 13; +var FunctionCloseMenu$1 = false ? undefined : 14; +var FunctionSetHighlightedIndex$1 = false ? undefined : 15; +var FunctionSelectItem$1 = false ? undefined : 16; +var FunctionSetInputValue = false ? undefined : 17; +var FunctionReset$1 = false ? undefined : 18; + +var stateChangeTypes$2 = /*#__PURE__*/Object.freeze({ + __proto__: null, + InputKeyDownArrowDown: InputKeyDownArrowDown, + InputKeyDownArrowUp: InputKeyDownArrowUp, + InputKeyDownEscape: InputKeyDownEscape, + InputKeyDownHome: InputKeyDownHome, + InputKeyDownEnd: InputKeyDownEnd, + InputKeyDownEnter: InputKeyDownEnter, + InputChange: InputChange, + InputBlur: InputBlur, + MenuMouseLeave: MenuMouseLeave$1, + ItemMouseMove: ItemMouseMove$1, + ItemClick: ItemClick$1, + ToggleButtonClick: ToggleButtonClick$1, + FunctionToggleMenu: FunctionToggleMenu$1, + FunctionOpenMenu: FunctionOpenMenu$1, + FunctionCloseMenu: FunctionCloseMenu$1, + FunctionSetHighlightedIndex: FunctionSetHighlightedIndex$1, + FunctionSelectItem: FunctionSelectItem$1, + FunctionSetInputValue: FunctionSetInputValue, + FunctionReset: FunctionReset$1 +}); + +/* eslint-disable complexity */ + +function downshiftUseComboboxReducer(state, action) { + var type = action.type, + props = action.props, + shiftKey = action.shiftKey; + var changes; + + switch (type) { + case ItemMouseMove$1: + changes = { + highlightedIndex: action.index + }; + break; + + case ItemClick$1: + changes = { + isOpen: getDefaultValue$2(props, 'isOpen'), + highlightedIndex: getDefaultValue$2(props, 'highlightedIndex'), + selectedItem: props.items[action.index], + inputValue: props.itemToString(props.items[action.index]) + }; + break; + + case InputKeyDownArrowDown: + if (state.isOpen) { + changes = { + highlightedIndex: getNextWrappingIndex(shiftKey ? 5 : 1, state.highlightedIndex, props.items.length, action.getItemNodeFromIndex, props.circularNavigation) + }; + } else { + changes = { + highlightedIndex: getHighlightedIndexOnOpen(props, state, 1, action.getItemNodeFromIndex), + isOpen: true + }; + } + + break; + + case InputKeyDownArrowUp: + if (state.isOpen) { + changes = { + highlightedIndex: getNextWrappingIndex(shiftKey ? -5 : -1, state.highlightedIndex, props.items.length, action.getItemNodeFromIndex, props.circularNavigation) + }; + } else { + changes = { + highlightedIndex: getHighlightedIndexOnOpen(props, state, -1, action.getItemNodeFromIndex), + isOpen: true + }; + } + + break; + + case InputKeyDownEnter: + changes = Object(esm_extends["a" /* default */])({}, state.highlightedIndex >= 0 && { + selectedItem: props.items[state.highlightedIndex], + isOpen: getDefaultValue$2(props, 'isOpen'), + highlightedIndex: getDefaultValue$2(props, 'highlightedIndex'), + inputValue: props.itemToString(props.items[state.highlightedIndex]) + }); + break; + + case InputKeyDownEscape: + changes = { + isOpen: false, + selectedItem: null, + highlightedIndex: -1, + inputValue: '' + }; + break; + + case InputKeyDownHome: + changes = { + highlightedIndex: getNextNonDisabledIndex(1, 0, props.items.length, action.getItemNodeFromIndex, false) + }; + break; + + case InputKeyDownEnd: + changes = { + highlightedIndex: getNextNonDisabledIndex(-1, props.items.length - 1, props.items.length, action.getItemNodeFromIndex, false) + }; + break; + + case InputBlur: + changes = Object(esm_extends["a" /* default */])({ + isOpen: false + }, state.highlightedIndex >= 0 && { + selectedItem: props.items[state.highlightedIndex], + inputValue: props.itemToString(props.items[state.highlightedIndex]), + highlightedIndex: -1 + }); + break; + + case InputChange: + changes = { + isOpen: true, + highlightedIndex: getDefaultValue$2(props, 'highlightedIndex'), + inputValue: action.inputValue + }; + break; + + case MenuMouseLeave$1: + changes = { + highlightedIndex: -1 + }; + break; + + case ToggleButtonClick$1: + case FunctionToggleMenu$1: + changes = { + isOpen: !state.isOpen, + highlightedIndex: state.isOpen ? -1 : getHighlightedIndexOnOpen(props, state, 0) + }; + break; + + case FunctionOpenMenu$1: + changes = { + isOpen: true, + highlightedIndex: getHighlightedIndexOnOpen(props, state, 0) + }; + break; + + case FunctionCloseMenu$1: + changes = { + isOpen: false + }; + break; + + case FunctionSetHighlightedIndex$1: + changes = { + highlightedIndex: action.highlightedIndex + }; + break; + + case FunctionSelectItem$1: + changes = { + selectedItem: action.selectedItem + }; + break; + + case FunctionSetInputValue: + changes = { + inputValue: action.inputValue + }; + break; + + case FunctionReset$1: + changes = { + highlightedIndex: getDefaultValue$2(props, 'highlightedIndex'), + isOpen: getDefaultValue$2(props, 'isOpen'), + selectedItem: getDefaultValue$2(props, 'selectedItem'), + inputValue: getDefaultValue$2(props, 'inputValue') + }; + break; + + default: + throw new Error('Reducer called without proper action type.'); + } + + return Object(esm_extends["a" /* default */])({}, state, {}, changes); +} +/* eslint-enable complexity */ + +var validatePropTypes$1 = true ? +/* istanbul ignore next */ +null : undefined; +useCombobox.stateChangeTypes = stateChangeTypes$2; + +function useCombobox(userProps) { + if (userProps === void 0) { + userProps = {}; + } + + /* istanbul ignore else */ + if (false) {} // Props defaults and destructuring. + + + var props = Object(esm_extends["a" /* default */])({}, defaultProps$1, {}, userProps); + + var initialIsOpen = props.initialIsOpen, + defaultIsOpen = props.defaultIsOpen, + items = props.items, + scrollIntoView = props.scrollIntoView, + getA11ySelectionMessage = props.getA11ySelectionMessage, + getA11yStatusMessage = props.getA11yStatusMessage, + itemToString = props.itemToString, + environment = props.environment; // Initial state depending on controlled props. + + var initialState = getInitialState$1(props); // Reducer init. + + var _useEnhancedReducer = useEnhancedReducer(downshiftUseComboboxReducer, initialState, props), + _useEnhancedReducer$ = _useEnhancedReducer[0], + isOpen = _useEnhancedReducer$.isOpen, + highlightedIndex = _useEnhancedReducer$.highlightedIndex, + selectedItem = _useEnhancedReducer$.selectedItem, + inputValue = _useEnhancedReducer$.inputValue, + dispatchWithoutProps = _useEnhancedReducer[1]; + + var dispatch = function (action) { + return dispatchWithoutProps(Object(esm_extends["a" /* default */])({ + props: props + }, action)); + }; // IDs generation. + + + var _getElementIds = getElementIds$1(useId, props), + labelId = _getElementIds.labelId, + getItemId = _getElementIds.getItemId, + menuId = _getElementIds.menuId, + toggleButtonId = _getElementIds.toggleButtonId, + inputId = _getElementIds.inputId; + /* Refs */ + + + var menuRef = Object(external_this_React_["useRef"])(null); + var itemRefs = Object(external_this_React_["useRef"])(); + var inputRef = Object(external_this_React_["useRef"])(null); + var toggleButtonRef = Object(external_this_React_["useRef"])(null); + var comboboxRef = Object(external_this_React_["useRef"])(null); + itemRefs.current = []; + var shouldScroll = Object(external_this_React_["useRef"])(true); + var isInitialMount = Object(external_this_React_["useRef"])(true); + var mouseAndTouchTrackers = Object(external_this_React_["useRef"])({ + isMouseDown: false, + isTouchMove: false + }); + /* Effects */ + + /* Sets a11y status message on changes in isOpen. */ + + Object(external_this_React_["useEffect"])(function () { + if (isInitialMount.current) { + return; + } + + setStatus(getA11yStatusMessage({ + isOpen: isOpen, + items: items, + selectedItem: selectedItem, + itemToString: itemToString, + inputValue: inputValue + }), environment.document); // eslint-disable-next-line react-hooks/exhaustive-deps + }, [isOpen]); + /* Sets a11y status message on changes in selectedItem. */ + + Object(external_this_React_["useEffect"])(function () { + if (isInitialMount.current) { + return; + } + + setStatus(getA11ySelectionMessage({ + isOpen: isOpen, + items: items, + selectedItem: selectedItem, + itemToString: itemToString, + inputValue: inputValue + }), environment.document); // eslint-disable-next-line react-hooks/exhaustive-deps + }, [selectedItem]); + /* Scroll on highlighted item if change comes from keyboard. */ + + Object(external_this_React_["useEffect"])(function () { + if (highlightedIndex < 0 || !isOpen || !itemRefs.current.length) { + return; + } + + if (shouldScroll.current === false) { + shouldScroll.current = true; + } else { + scrollIntoView(itemRefs.current[highlightedIndex], menuRef.current); + } // eslint-disable-next-line react-hooks/exhaustive-deps + + }, [highlightedIndex]); + /* Controls the focus on the menu or the toggle button. */ + + Object(external_this_React_["useEffect"])(function () { + // Don't focus menu on first render. + if (isInitialMount.current) { + // Unless it was initialised as open. + if (initialIsOpen || defaultIsOpen || isOpen) { + inputRef.current.focus(); + } + + return; + } // Focus menu on open. + // istanbul ignore next + + + if (isOpen) { + inputRef.current.focus(); + } // eslint-disable-next-line react-hooks/exhaustive-deps + + }, [isOpen]); + /* Make initial ref false. */ + + Object(external_this_React_["useEffect"])(function () { + isInitialMount.current = false; + }, []); + /* Add mouse/touch events to document. */ + + Object(external_this_React_["useEffect"])(function () { + // The same strategy for checking if a click occurred inside or outside downsift + // as in downshift.js. + var onMouseDown = function () { + mouseAndTouchTrackers.current.isMouseDown = true; + }; + + var onMouseUp = function (event) { + mouseAndTouchTrackers.current.isMouseDown = false; + + if (isOpen && !targetWithinDownshift(event.target, comboboxRef.current, menuRef.current, environment.document)) { + dispatch({ + type: InputBlur + }); + } + }; + + var onTouchStart = function () { + mouseAndTouchTrackers.current.isTouchMove = false; + }; + + var onTouchMove = function () { + mouseAndTouchTrackers.current.isTouchMove = true; + }; + + var onTouchEnd = function (event) { + if (isOpen && !mouseAndTouchTrackers.current.isTouchMove && !targetWithinDownshift(event.target, comboboxRef.current, menuRef.current, environment.document, false)) { + dispatch({ + type: InputBlur + }); + } + }; + + environment.addEventListener('mousedown', onMouseDown); + environment.addEventListener('mouseup', onMouseUp); + environment.addEventListener('touchstart', onTouchStart); + environment.addEventListener('touchmove', onTouchMove); + environment.addEventListener('touchend', onTouchEnd); + return function () { + environment.removeEventListener('mousedown', onMouseDown); + environment.removeEventListener('mouseup', onMouseUp); + environment.removeEventListener('touchstart', onTouchStart); + environment.removeEventListener('touchmove', onTouchMove); + environment.removeEventListener('touchend', onTouchEnd); + }; + }); + + var getItemNodeFromIndex = function (index) { + return itemRefs.current[index]; + }; + /* Event handler functions */ + + + var inputKeyDownHandlers = { + ArrowDown: function ArrowDown(event) { + event.preventDefault(); + dispatch({ + type: InputKeyDownArrowDown, + shiftKey: event.shiftKey, + getItemNodeFromIndex: getItemNodeFromIndex + }); + }, + ArrowUp: function ArrowUp(event) { + event.preventDefault(); + dispatch({ + type: InputKeyDownArrowUp, + shiftKey: event.shiftKey, + getItemNodeFromIndex: getItemNodeFromIndex + }); + }, + Home: function Home(event) { + event.preventDefault(); + dispatch({ + type: InputKeyDownHome, + getItemNodeFromIndex: getItemNodeFromIndex + }); + }, + End: function End(event) { + event.preventDefault(); + dispatch({ + type: InputKeyDownEnd, + getItemNodeFromIndex: getItemNodeFromIndex + }); + }, + Escape: function Escape() { + dispatch({ + type: InputKeyDownEscape + }); + }, + Enter: function Enter(event) { + event.preventDefault(); + dispatch({ + type: InputKeyDownEnter, + getItemNodeFromIndex: getItemNodeFromIndex + }); + } + }; // Event handlers. + + var inputHandleKeyDown = function (event) { + var key = normalizeArrowKey(event); + + if (key && inputKeyDownHandlers[key]) { + inputKeyDownHandlers[key](event); + } + }; + + var inputHandleChange = function (event) { + dispatch({ + type: InputChange, + inputValue: event.target.value + }); + }; + + var inputHandleBlur = function (event) { + var shouldBlur = !(mouseAndTouchTrackers.current.isMouseDown || focusLandsOnElement(event, toggleButtonRef.current)); + /* istanbul ignore else */ + + if (shouldBlur) { + dispatch({ + type: InputBlur + }); + } + }; + + var menuHandleMouseLeave = function () { + dispatch({ + type: MenuMouseLeave$1 + }); + }; + + var itemHandleMouseMove = function (index) { + if (index === highlightedIndex) { + return; + } + + shouldScroll.current = false; + dispatch({ + type: ItemMouseMove$1, + index: index + }); + }; + + var itemHandleClick = function (index) { + dispatch({ + type: ItemClick$1, + index: index + }); + }; + + var toggleButtonHandleClick = function () { + dispatch({ + type: ToggleButtonClick$1 + }); + }; // returns + + + return { + // prop getters. + getItemProps: function getItemProps(_temp2) { + var _extends3, _ref3; + + var _ref2 = _temp2 === void 0 ? {} : _temp2, + item = _ref2.item, + index = _ref2.index, + _ref2$refKey = _ref2.refKey, + refKey = _ref2$refKey === void 0 ? 'ref' : _ref2$refKey, + ref = _ref2.ref, + onMouseMove = _ref2.onMouseMove, + onClick = _ref2.onClick, + onPress = _ref2.onPress, + rest = Object(objectWithoutPropertiesLoose["a" /* default */])(_ref2, ["item", "index", "refKey", "ref", "onMouseMove", "onClick", "onPress"]); + + var itemIndex = getItemIndex(index, item, items); + + if (itemIndex < 0) { + throw new Error('Pass either item or item index in getItemProps!'); + } + + var onSelectKey = 'onClick'; + var customClickHandler = onClick; + return Object(esm_extends["a" /* default */])((_extends3 = {}, _extends3[refKey] = handleRefs(ref, function (itemNode) { + if (itemNode) { + itemRefs.current.push(itemNode); + } + }), _extends3.role = 'option', _extends3), itemIndex === highlightedIndex && { + 'aria-selected': true + }, { + id: getItemId(itemIndex) + }, !rest.disabled && (_ref3 = { + onMouseMove: callAllEventHandlers(onMouseMove, function () { + itemHandleMouseMove(itemIndex); + }) + }, _ref3[onSelectKey] = callAllEventHandlers(customClickHandler, function () { + itemHandleClick(itemIndex); + }), _ref3), {}, rest); + }, + getLabelProps: function getLabelProps(labelProps) { + return Object(esm_extends["a" /* default */])({ + id: labelId, + htmlFor: inputId + }, labelProps); + }, + getMenuProps: function getMenuProps(_temp) { + var _extends2; + + var _ref = _temp === void 0 ? {} : _temp, + onMouseLeave = _ref.onMouseLeave, + _ref$refKey = _ref.refKey, + refKey = _ref$refKey === void 0 ? 'ref' : _ref$refKey, + ref = _ref.ref, + rest = Object(objectWithoutPropertiesLoose["a" /* default */])(_ref, ["onMouseLeave", "refKey", "ref"]); + + return Object(esm_extends["a" /* default */])((_extends2 = {}, _extends2[refKey] = handleRefs(ref, function (menuNode) { + menuRef.current = menuNode; + }), _extends2.id = menuId, _extends2.role = 'listbox', _extends2['aria-labelledby'] = labelId, _extends2.onMouseLeave = callAllEventHandlers(onMouseLeave, menuHandleMouseLeave), _extends2), rest); + }, + getInputProps: function getInputProps(_temp4) { + var _extends5; + + var _ref5 = _temp4 === void 0 ? {} : _temp4, + onKeyDown = _ref5.onKeyDown, + onChange = _ref5.onChange, + onInput = _ref5.onInput, + onBlur = _ref5.onBlur, + onChangeText = _ref5.onChangeText, + _ref5$refKey = _ref5.refKey, + refKey = _ref5$refKey === void 0 ? 'ref' : _ref5$refKey, + ref = _ref5.ref, + rest = Object(objectWithoutPropertiesLoose["a" /* default */])(_ref5, ["onKeyDown", "onChange", "onInput", "onBlur", "onChangeText", "refKey", "ref"]); + + /* istanbul ignore next (preact) */ + var onChangeKey = 'onChange'; + var eventHandlers = {}; + + if (!rest.disabled) { + var _eventHandlers; + + eventHandlers = (_eventHandlers = {}, _eventHandlers[onChangeKey] = callAllEventHandlers(onChange, onInput, inputHandleChange), _eventHandlers.onKeyDown = callAllEventHandlers(onKeyDown, inputHandleKeyDown), _eventHandlers.onBlur = callAllEventHandlers(onBlur, inputHandleBlur), _eventHandlers); + } + /* istanbul ignore if (react-native) */ + + + return Object(esm_extends["a" /* default */])((_extends5 = {}, _extends5[refKey] = handleRefs(ref, function (inputNode) { + inputRef.current = inputNode; + }), _extends5.id = inputId, _extends5['aria-autocomplete'] = 'list', _extends5['aria-controls'] = menuId, _extends5), highlightedIndex > -1 && { + 'aria-activedescendant': getItemId(highlightedIndex) + }, { + 'aria-labelledby': labelId, + // https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion + // revert back since autocomplete="nope" is ignored on latest Chrome and Opera + autoComplete: 'off', + value: inputValue + }, eventHandlers, {}, rest); + }, + getComboboxProps: function getComboboxProps(_temp5) { + var _extends6; + + var _ref6 = _temp5 === void 0 ? {} : _temp5, + _ref6$refKey = _ref6.refKey, + refKey = _ref6$refKey === void 0 ? 'ref' : _ref6$refKey, + ref = _ref6.ref, + rest = Object(objectWithoutPropertiesLoose["a" /* default */])(_ref6, ["refKey", "ref"]); + + return Object(esm_extends["a" /* default */])((_extends6 = {}, _extends6[refKey] = handleRefs(ref, function (comboboxNode) { + comboboxRef.current = comboboxNode; + }), _extends6.role = 'combobox', _extends6['aria-haspopup'] = 'listbox', _extends6['aria-owns'] = menuId, _extends6['aria-expanded'] = isOpen, _extends6), rest); + }, + getToggleButtonProps: function getToggleButtonProps(_temp3) { + var _extends4; + + var _ref4 = _temp3 === void 0 ? {} : _temp3, + onClick = _ref4.onClick, + onPress = _ref4.onPress, + _ref4$refKey = _ref4.refKey, + refKey = _ref4$refKey === void 0 ? 'ref' : _ref4$refKey, + ref = _ref4.ref, + rest = Object(objectWithoutPropertiesLoose["a" /* default */])(_ref4, ["onClick", "onPress", "refKey", "ref"]); + + return Object(esm_extends["a" /* default */])((_extends4 = {}, _extends4[refKey] = handleRefs(ref, function (toggleButtonNode) { + toggleButtonRef.current = toggleButtonNode; + }), _extends4.id = toggleButtonId, _extends4.tabIndex = -1, _extends4), !rest.disabled && Object(esm_extends["a" /* default */])({}, { + onClick: callAllEventHandlers(onClick, toggleButtonHandleClick) + }), {}, rest); + }, + // actions. + toggleMenu: function toggleMenu() { + dispatch({ + type: FunctionToggleMenu$1 + }); + }, + openMenu: function openMenu() { + dispatch({ + type: FunctionOpenMenu$1 + }); + }, + closeMenu: function closeMenu() { + dispatch({ + type: FunctionCloseMenu$1 + }); + }, + setHighlightedIndex: function setHighlightedIndex(newHighlightedIndex) { + dispatch({ + type: FunctionSetHighlightedIndex$1, + highlightedIndex: newHighlightedIndex + }); + }, + setInputValue: function setInputValue(newInputValue) { + dispatch({ + type: FunctionSetInputValue, + inputValue: newInputValue + }); + }, + selectItem: function selectItem(newSelectedItem) { + dispatch({ + type: FunctionSelectItem$1, + selectedItem: newSelectedItem + }); + }, + reset: function reset() { + dispatch({ + type: FunctionReset$1 + }); + }, + // state. + highlightedIndex: highlightedIndex, + isOpen: isOpen, + selectedItem: selectedItem, + inputValue: inputValue + }; +} + /* harmony default export */ var downshift_esm = (downshift_esm_Downshift); +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/dashicon/index.js +var dashicon = __webpack_require__(85); + // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/custom-select-control/index.js @@ -39386,6 +31890,11 @@ function useSelect(userProps) { */ +/** + * WordPress dependencies + */ + + /** * Internal dependencies */ @@ -39465,12 +31974,13 @@ function CustomSelectControl(_ref3) { className: classnames_default()('components-custom-select-control__label', { 'screen-reader-text': hideLabelFromVision }) - }), label), Object(external_this_wp_element_["createElement"])(build_module_button, getToggleButtonProps({ + }), label), Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], getToggleButtonProps({ // This is needed because some speech recognition software don't support `aria-labelledby`. 'aria-label': label, 'aria-labelledby': undefined, - className: 'components-custom-select-control__button' - }), custom_select_control_itemToString(selectedItem), Object(external_this_wp_element_["createElement"])(dashicon_Dashicon, { + className: 'components-custom-select-control__button', + isSmall: true + }), custom_select_control_itemToString(selectedItem), Object(external_this_wp_element_["createElement"])(dashicon["a" /* default */], { icon: "arrow-down-alt2", className: "components-custom-select-control__button-icon" })), Object(external_this_wp_element_["createElement"])("ul", menuProps, isOpen && items.map(function (item, index) { @@ -39483,8 +31993,8 @@ function CustomSelectControl(_ref3) { 'is-highlighted': index === highlightedIndex }), style: item.style - }), item === selectedItem && Object(external_this_wp_element_["createElement"])(dashicon_Dashicon, { - icon: "saved", + }), item === selectedItem && Object(external_this_wp_element_["createElement"])(build_module_icon["a" /* default */], { + icon: check["a" /* default */], className: "components-custom-select-control__item-icon" }), item.name) ); @@ -39492,14 +32002,14 @@ function CustomSelectControl(_ref3) { } // EXTERNAL MODULE: ./node_modules/react-dates/initialize.js -var initialize = __webpack_require__(237); +var initialize = __webpack_require__(283); // EXTERNAL MODULE: external {"this":"moment"} var external_this_moment_ = __webpack_require__(30); var external_this_moment_default = /*#__PURE__*/__webpack_require__.n(external_this_moment_); // EXTERNAL MODULE: ./node_modules/react-dates/index.js -var react_dates = __webpack_require__(224); +var react_dates = __webpack_require__(263); // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/date-time/date.js @@ -39547,11 +32057,11 @@ function (_Component) { return _this; } /* - * Todo: We should remove this function ASAP. - * It is kept because focus is lost when we click on the previous and next month buttons. - * This focus loss closes the date picker popover. - * Ideally we should add an upstream commit on react-dates to fix this issue. - */ + * Todo: We should remove this function ASAP. + * It is kept because focus is lost when we click on the previous and next month buttons. + * This focus loss closes the date picker popover. + * Ideally we should add an upstream commit on react-dates to fix this issue. + */ Object(createClass["a" /* default */])(DatePicker, [{ @@ -40041,12 +32551,12 @@ function (_Component) { onBlur: this.updateMinutes })), is12Hour && Object(external_this_wp_element_["createElement"])("div", { className: "components-datetime__time-field components-datetime__time-field-am-pm" - }, Object(external_this_wp_element_["createElement"])(build_module_button, { + }, Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], { isSecondary: true, className: "components-datetime__time-am-button", isPressed: am === 'AM', onClick: this.updateAmPm('AM') - }, Object(external_this_wp_i18n_["__"])('AM')), Object(external_this_wp_element_["createElement"])(build_module_button, { + }, Object(external_this_wp_i18n_["__"])('AM')), Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], { isSecondary: true, className: "components-datetime__time-pm-button", isPressed: am === 'PM', @@ -40154,10 +32664,10 @@ function (_Component) { "aria-label": Object(external_this_wp_i18n_["__"])('Home and End') }, Object(external_this_wp_i18n_["__"])('Home/End')), ' ' /* JSX removes whitespace, but a space is required for screen readers. */ - , Object(external_this_wp_i18n_["__"])('Go to the first (home) or last (end) day of a week.'))), Object(external_this_wp_element_["createElement"])(build_module_button, { + , Object(external_this_wp_i18n_["__"])('Go to the first (home) or last (end) day of a week.'))), Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], { isSmall: true, onClick: this.onClickDescriptionToggle - }, Object(external_this_wp_i18n_["__"])('Close')))), !this.state.calendarHelpIsVisible && Object(external_this_wp_element_["createElement"])(build_module_button, { + }, Object(external_this_wp_i18n_["__"])('Close')))), !this.state.calendarHelpIsVisible && Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], { className: "components-datetime__date-help-button", isLink: true, onClick: this.onClickDescriptionToggle @@ -40168,6 +32678,9 @@ function (_Component) { return DateTimePicker; }(external_this_wp_element_["Component"]); +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/icon/index.js +var components_build_module_icon = __webpack_require__(84); + // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/select-control/index.js @@ -40350,7 +32863,7 @@ function DimensionControl(props) { }].concat(options); }; - var selectLabel = Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, icon && Object(external_this_wp_element_["createElement"])(build_module_icon, { + var selectLabel = Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, icon && Object(external_this_wp_element_["createElement"])(components_build_module_icon["a" /* default */], { icon: icon }), label); return Object(external_this_wp_element_["createElement"])(SelectControl, { @@ -40364,6 +32877,9 @@ function DimensionControl(props) { } /* harmony default export */ var dimension_control = (DimensionControl); +// EXTERNAL MODULE: external {"this":["wp","dom"]} +var external_this_wp_dom_ = __webpack_require__(27); + // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/disabled/index.js @@ -40387,9 +32903,9 @@ function DimensionControl(props) { -var disabled_createContext = Object(external_this_wp_element_["createContext"])(false), - disabled_Consumer = disabled_createContext.Consumer, - disabled_Provider = disabled_createContext.Provider; +var _createContext = Object(external_this_wp_element_["createContext"])(false), + Consumer = _createContext.Consumer, + disabled_Provider = _createContext.Provider; /** * Names of control nodes which qualify for disabled behavior. * @@ -40482,7 +32998,7 @@ function (_Component) { return Disabled; }(external_this_wp_element_["Component"]); -disabled_Disabled.Consumer = disabled_Consumer; +disabled_Disabled.Consumer = Consumer; /* harmony default export */ var build_module_disabled = (disabled_Disabled); // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/draggable/index.js @@ -40675,8 +33191,11 @@ function (_Component) { /* harmony default export */ var draggable = (Object(external_this_wp_compose_["withSafeTimeout"])(draggable_Draggable)); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(22); + // EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]} -var external_this_wp_isShallowEqual_ = __webpack_require__(46); +var external_this_wp_isShallowEqual_ = __webpack_require__(50); var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_); // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/drop-zone/provider.js @@ -40699,13 +33218,12 @@ var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n - -var provider_createContext = Object(external_this_wp_element_["createContext"])({ +var Context = Object(external_this_wp_element_["createContext"])({ addDropZone: function addDropZone() {}, removeDropZone: function removeDropZone() {} -}), - provider_Provider = provider_createContext.Provider, - provider_Consumer = provider_createContext.Consumer; +}); +var provider_Provider = Context.Provider, + provider_Consumer = Context.Consumer; var provider_getDragEventType = function getDragEventType(_ref) { var dataTransfer = _ref.dataTransfer; @@ -40838,22 +33356,21 @@ function (_Component) { var detail = window.CustomEvent && event instanceof window.CustomEvent ? event.detail : event; // Index of hovered dropzone. var hoveredDropZones = Object(external_this_lodash_["filter"])(this.dropZones, function (dropZone) { - return isTypeSupportedByDropZone(dragEventType, dropZone) && isWithinElementBounds(dropZone.element, detail.clientX, detail.clientY); + return isTypeSupportedByDropZone(dragEventType, dropZone) && isWithinElementBounds(dropZone.element.current, detail.clientX, detail.clientY); }); // Find the leaf dropzone not containing another dropzone var hoveredDropZone = Object(external_this_lodash_["find"])(hoveredDropZones, function (zone) { return !Object(external_this_lodash_["some"])(hoveredDropZones, function (subZone) { - return subZone !== zone && zone.element.parentElement.contains(subZone.element); + return subZone !== zone && zone.element.current.parentElement.contains(subZone.element.current); }); }); var hoveredDropZoneIndex = this.dropZones.indexOf(hoveredDropZone); var position = null; - if (hoveredDropZone) { - var rect = hoveredDropZone.element.getBoundingClientRect(); + if (hoveredDropZone && hoveredDropZone.withPosition) { position = { - x: detail.clientX - rect.left < rect.right - detail.clientX ? 'left' : 'right', - y: detail.clientY - rect.top < rect.bottom - detail.clientY ? 'top' : 'bottom' + x: detail.clientX, + y: detail.clientY }; } // Optimisation: Only update the changed dropzones @@ -40958,11 +33475,6 @@ function (_Component) { - - - - - /** * External dependencies */ @@ -40979,107 +33491,106 @@ function (_Component) { +function useDropZone(_ref) { + var element = _ref.element, + onFilesDrop = _ref.onFilesDrop, + onHTMLDrop = _ref.onHTMLDrop, + onDrop = _ref.onDrop, + isDisabled = _ref.isDisabled, + withPosition = _ref.withPosition; + + var _useContext = Object(external_this_wp_element_["useContext"])(Context), + addDropZone = _useContext.addDropZone, + removeDropZone = _useContext.removeDropZone; + + var _useState = Object(external_this_wp_element_["useState"])({ + isDraggingOverDocument: false, + isDraggingOverElement: false, + type: null + }), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + state = _useState2[0], + setState = _useState2[1]; + + Object(external_this_wp_element_["useEffect"])(function () { + if (!isDisabled) { + var dropZone = { + element: element, + onDrop: onDrop, + onFilesDrop: onFilesDrop, + onHTMLDrop: onHTMLDrop, + setState: setState, + withPosition: withPosition + }; + addDropZone(dropZone); + return function () { + removeDropZone(dropZone); + }; + } + }, [isDisabled, onDrop, onFilesDrop, onHTMLDrop, withPosition]); + return state; +} var drop_zone_DropZone = function DropZone(props) { - return Object(external_this_wp_element_["createElement"])(provider_Consumer, null, function (_ref) { - var addDropZone = _ref.addDropZone, - removeDropZone = _ref.removeDropZone; - return Object(external_this_wp_element_["createElement"])(drop_zone_DropZoneComponent, Object(esm_extends["a" /* default */])({ + return Object(external_this_wp_element_["createElement"])(provider_Consumer, null, function (_ref2) { + var addDropZone = _ref2.addDropZone, + removeDropZone = _ref2.removeDropZone; + return Object(external_this_wp_element_["createElement"])(DropZoneComponent, Object(esm_extends["a" /* default */])({ addDropZone: addDropZone, removeDropZone: removeDropZone }, props)); }); }; -var drop_zone_DropZoneComponent = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(DropZoneComponent, _Component); +function DropZoneComponent(_ref3) { + var className = _ref3.className, + label = _ref3.label, + onFilesDrop = _ref3.onFilesDrop, + onHTMLDrop = _ref3.onHTMLDrop, + onDrop = _ref3.onDrop; + var element = Object(external_this_wp_element_["useRef"])(); - function DropZoneComponent() { - var _this; + var _useDropZone = useDropZone({ + element: element, + onFilesDrop: onFilesDrop, + onHTMLDrop: onHTMLDrop, + onDrop: onDrop + }), + isDraggingOverDocument = _useDropZone.isDraggingOverDocument, + isDraggingOverElement = _useDropZone.isDraggingOverElement, + type = _useDropZone.type; - Object(classCallCheck["a" /* default */])(this, DropZoneComponent); + var children; - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(DropZoneComponent).apply(this, arguments)); - _this.dropZoneElement = Object(external_this_wp_element_["createRef"])(); - _this.dropZone = { - element: null, - onDrop: _this.props.onDrop, - onFilesDrop: _this.props.onFilesDrop, - onHTMLDrop: _this.props.onHTMLDrop, - setState: _this.setState.bind(Object(assertThisInitialized["a" /* default */])(_this)) - }; - _this.state = { - isDraggingOverDocument: false, - isDraggingOverElement: false, - position: null, - type: null - }; - return _this; + if (isDraggingOverElement) { + children = Object(external_this_wp_element_["createElement"])("div", { + className: "components-drop-zone__content" + }, Object(external_this_wp_element_["createElement"])(dashicon["a" /* default */], { + icon: "upload", + size: "40", + className: "components-drop-zone__content-icon" + }), Object(external_this_wp_element_["createElement"])("span", { + className: "components-drop-zone__content-text" + }, label ? label : Object(external_this_wp_i18n_["__"])('Drop files to upload'))); } - Object(createClass["a" /* default */])(DropZoneComponent, [{ - key: "componentDidMount", - value: function componentDidMount() { - // Set element after the component has a node assigned in the DOM - this.dropZone.element = this.dropZoneElement.current; - this.props.addDropZone(this.dropZone); - } - }, { - key: "componentWillUnmount", - value: function componentWillUnmount() { - this.props.removeDropZone(this.dropZone); - } - }, { - key: "render", - value: function render() { - var _this$props = this.props, - className = _this$props.className, - label = _this$props.label, - onFilesDrop = _this$props.onFilesDrop, - onHTMLDrop = _this$props.onHTMLDrop, - onDrop = _this$props.onDrop; - var _this$state = this.state, - isDraggingOverDocument = _this$state.isDraggingOverDocument, - isDraggingOverElement = _this$state.isDraggingOverElement, - position = _this$state.position, - type = _this$state.type; - var classes = classnames_default()('components-drop-zone', className, Object(defineProperty["a" /* default */])({ - 'is-active': (isDraggingOverDocument || isDraggingOverElement) && (type === 'file' && onFilesDrop || type === 'html' && onHTMLDrop || type === 'default' && onDrop), - 'is-dragging-over-document': isDraggingOverDocument, - 'is-dragging-over-element': isDraggingOverElement, - 'is-close-to-top': position && position.y === 'top', - 'is-close-to-bottom': position && position.y === 'bottom', - 'is-close-to-left': position && position.x === 'left', - 'is-close-to-right': position && position.x === 'right' - }, "is-dragging-".concat(type), !!type)); - var children; - - if (isDraggingOverElement) { - children = Object(external_this_wp_element_["createElement"])("div", { - className: "components-drop-zone__content" - }, Object(external_this_wp_element_["createElement"])(dashicon_Dashicon, { - icon: "upload", - size: "40", - className: "components-drop-zone__content-icon" - }), Object(external_this_wp_element_["createElement"])("span", { - className: "components-drop-zone__content-text" - }, label ? label : Object(external_this_wp_i18n_["__"])('Drop files to upload'))); - } - - return Object(external_this_wp_element_["createElement"])("div", { - ref: this.dropZoneElement, - className: classes - }, children); - } - }]); - - return DropZoneComponent; -}(external_this_wp_element_["Component"]); + var classes = classnames_default()('components-drop-zone', className, Object(defineProperty["a" /* default */])({ + 'is-active': (isDraggingOverDocument || isDraggingOverElement) && (type === 'file' && onFilesDrop || type === 'html' && onHTMLDrop || type === 'default' && onDrop), + 'is-dragging-over-document': isDraggingOverDocument, + 'is-dragging-over-element': isDraggingOverElement + }, "is-dragging-".concat(type), !!type)); + return Object(external_this_wp_element_["createElement"])("div", { + ref: element, + className: classes + }, children); +} /* harmony default export */ var drop_zone = (drop_zone_DropZone); +// 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/components/build-module/navigable-container/container.js @@ -41243,7 +33754,7 @@ function (_Component) { return Object(external_this_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({ ref: this.bindContainer - }, Object(external_this_lodash_["omit"])(props, ['stopNavigationEvents', 'eventToOffset', 'onNavigate', 'cycle', 'onlyBrowserTabstops', 'forwardedRef'])), children); + }, Object(external_this_lodash_["omit"])(props, ['stopNavigationEvents', 'eventToOffset', 'onNavigate', 'onKeyDown', 'cycle', 'onlyBrowserTabstops', 'forwardedRef'])), children); } }]); @@ -41324,6 +33835,10 @@ function NavigableMenu(_ref, ref) { +function dropdown_menu_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function dropdown_menu_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { dropdown_menu_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { dropdown_menu_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -41347,7 +33862,7 @@ function mergeProps() { var defaultProps = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var props = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - var mergedProps = Object(objectSpread["a" /* default */])({}, defaultProps, props); + var mergedProps = dropdown_menu_objectSpread({}, defaultProps, {}, props); if (props.className && defaultProps.className) { mergedProps.className = classnames_default()(props.className, defaultProps.className); @@ -41424,7 +33939,7 @@ function DropdownMenu(_ref) { 'is-opened': isOpen }) }, toggleProps); - return Object(external_this_wp_element_["createElement"])(build_module_button, Object(esm_extends["a" /* default */])({}, mergedToggleProps, { + return Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({}, mergedToggleProps, { icon: icon, onClick: function onClick(event) { onToggle(event); @@ -41457,7 +33972,7 @@ function DropdownMenu(_ref) { role: "menu" }), Object(external_this_lodash_["isFunction"])(children) ? children(props) : null, Object(external_this_lodash_["flatMap"])(controlSets, function (controlSet, indexOfSet) { return controlSet.map(function (control, indexOfControl) { - return Object(external_this_wp_element_["createElement"])(build_module_button, { + return Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], { key: [indexOfSet, indexOfControl].join(), onClick: function onClick(event) { event.stopPropagation(); @@ -41517,25 +34032,27 @@ function ExternalLink(_ref, ref) { rel = Object(external_this_lodash_["uniq"])(Object(external_this_lodash_["compact"])([].concat(Object(toConsumableArray["a" /* default */])(rel.split(' ')), ['external', 'noreferrer', 'noopener']))).join(' '); var classes = classnames_default()('components-external-link', className); - return (// eslint-disable-next-line react/jsx-no-target-blank - Object(external_this_wp_element_["createElement"])("a", Object(esm_extends["a" /* default */])({}, additionalProps, { - className: classes, - href: href, - target: "_blank", - rel: rel, - ref: ref - }), children, Object(external_this_wp_element_["createElement"])(visually_hidden, { - as: "span" - }, - /* translators: accessibility text */ - Object(external_this_wp_i18n_["__"])('(opens in a new tab)')), Object(external_this_wp_element_["createElement"])(dashicon_Dashicon, { - icon: "external", - className: "components-external-link__icon" - })) - ); + return Object(external_this_wp_element_["createElement"])("a", Object(esm_extends["a" /* default */])({}, additionalProps, { + className: classes, + href: href // eslint-disable-next-line react/jsx-no-target-blank + , + target: "_blank", + rel: rel, + ref: ref + }), children, Object(external_this_wp_element_["createElement"])(visually_hidden, { + as: "span" + }, + /* translators: accessibility text */ + Object(external_this_wp_i18n_["__"])('(opens in a new tab)')), Object(external_this_wp_element_["createElement"])(dashicon["a" /* default */], { + icon: "external", + className: "components-external-link__icon" + })); } /* harmony default export */ var external_link = (Object(external_this_wp_element_["forwardRef"])(ExternalLink)); +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-focus-outside/index.js +var with_focus_outside = __webpack_require__(89); + // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/focal-point-picker/index.js @@ -41556,13 +34073,13 @@ function ExternalLink(_ref, ref) { + /** * Internal dependencies */ - var TEXTCONTROL_MIN = 0; var TEXTCONTROL_MAX = 100; var focal_point_picker_FocalPointPicker = @@ -41802,14 +34319,14 @@ function (_Component) { }), Object(external_this_wp_element_["createElement"])("div", { className: iconContainerClasses, style: iconContainerStyle - }, Object(external_this_wp_element_["createElement"])(svg_SVG, { + }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { className: "components-focal-point-picker__icon", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 30 30" - }, Object(external_this_wp_element_["createElement"])(svg_Path, { + }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], { className: "components-focal-point-picker__icon-outline", d: "M15 1C7.3 1 1 7.3 1 15s6.3 14 14 14 14-6.3 14-14S22.7 1 15 1zm0 22c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8z" - }), Object(external_this_wp_element_["createElement"])(svg_Path, { + }), Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], { className: "components-focal-point-picker__icon-fill", d: "M15 3C8.4 3 3 8.4 3 15s5.4 12 12 12 12-5.4 12-12S21.6 3 15 3zm0 22C9.5 25 5 20.5 5 15S9.5 5 15 5s10 4.5 10 10-4.5 10-10 10z" }))))), Object(external_this_wp_element_["createElement"])("div", { @@ -41850,7 +34367,7 @@ focal_point_picker_FocalPointPicker.defaultProps = { }, onChange: function onChange() {} }; -/* harmony default export */ var focal_point_picker = (Object(external_this_wp_compose_["compose"])([external_this_wp_compose_["withInstanceId"], with_focus_outside])(focal_point_picker_FocalPointPicker)); +/* harmony default export */ var focal_point_picker = (Object(external_this_wp_compose_["compose"])([external_this_wp_compose_["withInstanceId"], with_focus_outside["a" /* default */]])(focal_point_picker_FocalPointPicker)); // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/focusable-iframe/index.js @@ -42020,7 +34537,7 @@ function RangeControl(_ref) { id: id, help: help, className: classnames_default()('components-range-control', className) - }, beforeIcon && Object(external_this_wp_element_["createElement"])(dashicon_Dashicon, { + }, beforeIcon && Object(external_this_wp_element_["createElement"])(dashicon["a" /* default */], { icon: beforeIcon }), Object(external_this_wp_element_["createElement"])("input", Object(esm_extends["a" /* default */])({ className: "components-range-control__slider", @@ -42031,7 +34548,7 @@ function RangeControl(_ref) { "aria-describedby": !!help ? id + '__help' : undefined, min: min, max: max - }, props)), afterIcon && Object(external_this_wp_element_["createElement"])(dashicon_Dashicon, { + }, props)), afterIcon && Object(external_this_wp_element_["createElement"])(dashicon["a" /* default */], { icon: afterIcon }), Object(external_this_wp_element_["createElement"])("input", Object(esm_extends["a" /* default */])({ className: "components-range-control__number", @@ -42042,7 +34559,7 @@ function RangeControl(_ref) { min: min, max: max, onBlur: resetCurrentInput - }, props)), allowReset && Object(external_this_wp_element_["createElement"])(build_module_button, { + }, props)), allowReset && Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], { onClick: resetValue, disabled: value === undefined, isSmall: true, @@ -42191,7 +34708,7 @@ function FontSizePicker(_ref) { onChange: onChangeValue, "aria-label": Object(external_this_wp_i18n_["__"])('Custom'), value: value || '' - })), Object(external_this_wp_element_["createElement"])(build_module_button, { + })), Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], { className: "components-color-palette__clear", disabled: value === undefined, onClick: reset, @@ -42271,7 +34788,7 @@ function (_Component) { var ui = render ? render({ openFileDialog: this.openFileDialog - }) : Object(external_this_wp_element_["createElement"])(build_module_button, Object(esm_extends["a" /* default */])({ + }) : Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({ onClick: this.openFileDialog }, props), children); return Object(external_this_wp_element_["createElement"])("div", { @@ -42305,7 +34822,7 @@ function (_Component) { /** - * Internal dependencies + * WordPress dependencies */ @@ -42333,15 +34850,15 @@ function FormToggle(_ref) { className: "components-form-toggle__track" }), Object(external_this_wp_element_["createElement"])("span", { className: "components-form-toggle__thumb" - }), checked ? Object(external_this_wp_element_["createElement"])(svg_SVG, { + }), checked ? Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { className: "components-form-toggle__on", width: "2", height: "6", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 2 6" - }, Object(external_this_wp_element_["createElement"])(svg_Path, { + }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], { d: "M0 0h2v6H0z" - })) : Object(external_this_wp_element_["createElement"])(svg_SVG, { + })) : Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { className: "components-form-toggle__off", width: "6", height: "6", @@ -42350,7 +34867,7 @@ function FormToggle(_ref) { focusable: "false", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 6 6" - }, Object(external_this_wp_element_["createElement"])(svg_Path, { + }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], { d: "M3 1.5c.8 0 1.5.7 1.5 1.5S3.8 4.5 3 4.5 1.5 3.8 1.5 3 2.2 1.5 3 1.5M3 0C1.3 0 0 1.3 0 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3z" }))); } @@ -42427,7 +34944,7 @@ function Token(_ref) { as: "span" }, termPositionAndCount), Object(external_this_wp_element_["createElement"])("span", { "aria-hidden": "true" - }, transformedValue)), Object(external_this_wp_element_["createElement"])(build_module_button, { + }, transformedValue)), Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], { className: "components-form-token-field__remove-token", icon: "dismiss", onClick: !disabled && onClick, @@ -42526,7 +35043,7 @@ function (_Component) { /* harmony default export */ var token_input = (token_input_TokenInput); // EXTERNAL MODULE: ./node_modules/dom-scroll-into-view/lib/index.js -var lib = __webpack_require__(69); +var lib = __webpack_require__(82); var lib_default = /*#__PURE__*/__webpack_require__.n(lib); // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/form-token-field/suggestions-list.js @@ -42695,6 +35212,10 @@ suggestions_list_SuggestionsList.defaultProps = { +function form_token_field_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function form_token_field_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { form_token_field_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { form_token_field_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -43277,7 +35798,7 @@ function (_Component) { }; if (!(maxLength && value.length >= maxLength)) { - props = Object(objectSpread["a" /* default */])({}, props, { + props = form_token_field_objectSpread({}, props, { onChange: this.onInputChange }); } @@ -43379,70 +35900,13 @@ form_token_field_FormTokenField.defaultProps = { }; /* harmony default export */ var form_token_field = (with_spoken_messages(Object(external_this_wp_compose_["withInstanceId"])(form_token_field_FormTokenField))); -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/gradient-picker/index.js - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - - -/** - * Internal dependencies - */ - - -function GradientPicker(_ref) { - var className = _ref.className, - gradients = _ref.gradients, - onChange = _ref.onChange, - value = _ref.value, - _ref$clearable = _ref.clearable, - clearable = _ref$clearable === void 0 ? true : _ref$clearable; - var clearGradient = Object(external_this_wp_element_["useCallback"])(function () { - return onChange(undefined); - }, [onChange]); - var gradientOptions = Object(external_this_wp_element_["useMemo"])(function () { - return Object(external_this_lodash_["map"])(gradients, function (_ref2) { - var gradient = _ref2.gradient, - name = _ref2.name; - return Object(external_this_wp_element_["createElement"])(CircularOptionPicker.Option, { - key: gradient, - value: gradient, - isSelected: value === gradient, - tooltipText: name || // translators: %s: gradient code e.g: "linear-gradient(90deg, rgba(98,16,153,1) 0%, rgba(172,110,22,1) 100%);". - Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Gradient code: %s'), gradient), - style: { - color: 'rgba( 0,0,0,0 )', - background: gradient - }, - onClick: value === gradient ? clearGradient : function () { - return onChange(gradient); - }, - "aria-label": name ? // translators: %s: The name of the gradient e.g: "Angular red to blue". - Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Gradient: %s'), name) : // translators: %s: gradient code e.g: "linear-gradient(90deg, rgba(98,16,153,1) 0%, rgba(172,110,22,1) 100%);". - Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Gradient code: %s'), gradient) - }); - }); - }, [gradients, value, onChange, clearGradient]); - return Object(external_this_wp_element_["createElement"])(CircularOptionPicker, { - className: className, - options: gradientOptions, - actions: clearable && Object(external_this_wp_element_["createElement"])(CircularOptionPicker.ButtonAction, { - onClick: clearGradient - }, Object(external_this_wp_i18n_["__"])('Clear')) - }); -} - // EXTERNAL MODULE: ./node_modules/gradient-parser/build/node.js -var build_node = __webpack_require__(146); +var build_node = __webpack_require__(182); var node_default = /*#__PURE__*/__webpack_require__.n(build_node); +// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/plus-circle.js +var plus_circle = __webpack_require__(278); + // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/custom-gradient-picker/constants.js var INSERT_POINT_WIDTH = 23; var GRADIENT_MARKERS_WIDTH = 18; @@ -43504,6 +35968,10 @@ function serializeGradient(_ref4) { +function utils_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function utils_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { utils_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { utils_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -43540,19 +36008,19 @@ function getGradientWithColorStopAdded(gradientAST, relativePosition, rgbaColor) type: '%', value: relativePosition }; - return Object(objectSpread["a" /* default */])({}, gradientAST, { + return utils_objectSpread({}, gradientAST, { colorStops: [].concat(Object(toConsumableArray["a" /* default */])(gradientAST.colorStops), [colorStop]) }); } function getGradientWithPositionAtIndexChanged(gradientAST, index, relativePosition) { - return Object(objectSpread["a" /* default */])({}, gradientAST, { + return utils_objectSpread({}, gradientAST, { colorStops: gradientAST.colorStops.map(function (colorStop, colorStopIndex) { if (colorStopIndex !== index) { return colorStop; } - return Object(objectSpread["a" /* default */])({}, colorStop, { - length: Object(objectSpread["a" /* default */])({}, colorStop.length, { + return utils_objectSpread({}, colorStop, { + length: utils_objectSpread({}, colorStop.length, { value: relativePosition }) }); @@ -43588,13 +36056,13 @@ function getGradientWithPositionAtIndexDecreased(gradientAST, index) { return getGradientWithPositionAtIndexSummed(gradientAST, index, -MINIMUM_DISTANCE_BETWEEN_POINTS); } function getGradientWithColorAtIndexChanged(gradientAST, index, rgbaColor) { - return Object(objectSpread["a" /* default */])({}, gradientAST, { + return utils_objectSpread({}, gradientAST, { colorStops: gradientAST.colorStops.map(function (colorStop, colorStopIndex) { if (colorStopIndex !== index) { return colorStop; } - return Object(objectSpread["a" /* default */])({}, colorStop, tinyColorRgbToGradientColorStop(rgbaColor)); + return utils_objectSpread({}, colorStop, {}, tinyColorRgbToGradientColorStop(rgbaColor)); }) }); } @@ -43605,7 +36073,7 @@ function getGradientWithColorAtPositionChanged(gradientAST, relativePositionValu return getGradientWithColorAtIndexChanged(gradientAST, index, rgbaColor); } function getGradientWithControlPointRemoved(gradientAST, index) { - return Object(objectSpread["a" /* default */])({}, gradientAST, { + return utils_objectSpread({}, gradientAST, { colorStops: gradientAST.colorStops.filter(function (elem, elemIndex) { return elemIndex !== index; }) @@ -43759,7 +36227,7 @@ function ControlPointButton(_ref) { onChange: onChange, gradientIndex: gradientIndex, gradientAST: gradientAST - }, Object(external_this_wp_element_["createElement"])(build_module_button, Object(esm_extends["a" /* default */])({ + }, Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({ "aria-label": Object(external_this_wp_i18n_["sprintf"])( // translators: %1$s: gradient position e.g: 70%, %2$s: gradient color code e.g: rgb(52,121,151). Object(external_this_wp_i18n_["__"])('Gradient control point at position %1$s with color code %2$s.'), position, color), "aria-describedby": descriptionId, @@ -43866,7 +36334,7 @@ function ControlPoints(_ref2) { var rgb = _ref5.rgb; onChange(getGradientWithColorAtIndexChanged(gradientAST, index, rgb)); } - }), Object(external_this_wp_element_["createElement"])(build_module_button, { + }), Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], { className: "components-custom-gradient-picker__remove-control-point", onClick: function onClick() { onChange(getGradientWithControlPointRemoved(gradientAST, index)); @@ -43895,6 +36363,7 @@ function ControlPoints(_ref2) { */ + /** * Internal dependencies */ @@ -43927,7 +36396,7 @@ function InsertPoint(_ref) { renderToggle: function renderToggle(_ref2) { var isOpen = _ref2.isOpen, onToggle = _ref2.onToggle; - return Object(external_this_wp_element_["createElement"])(build_module_button, { + return Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], { "aria-expanded": isOpen, onClick: function onClick() { setAlreadyInsertedPoint(false); @@ -43935,7 +36404,7 @@ function InsertPoint(_ref) { onToggle(); }, className: "components-custom-gradient-picker__insert-point", - icon: "insert", + icon: plus_circle["a" /* default */], style: { left: insertPosition !== null ? "".concat(insertPosition, "%") : undefined } @@ -44133,6 +36602,81 @@ function CustomGradientPicker(_ref4) { }))); } +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/gradient-picker/index.js + + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + + +/** + * Internal dependencies + */ + + + +function GradientPicker(_ref) { + var className = _ref.className, + gradients = _ref.gradients, + onChange = _ref.onChange, + value = _ref.value, + _ref$clearable = _ref.clearable, + clearable = _ref$clearable === void 0 ? true : _ref$clearable, + _ref$disableCustomGra = _ref.disableCustomGradients, + disableCustomGradients = _ref$disableCustomGra === void 0 ? false : _ref$disableCustomGra; + var clearGradient = Object(external_this_wp_element_["useCallback"])(function () { + return onChange(undefined); + }, [onChange]); + var gradientOptions = Object(external_this_wp_element_["useMemo"])(function () { + return Object(external_this_lodash_["map"])(gradients, function (_ref2) { + var gradient = _ref2.gradient, + name = _ref2.name; + return Object(external_this_wp_element_["createElement"])(CircularOptionPicker.Option, { + key: gradient, + value: gradient, + isSelected: value === gradient, + tooltipText: name || // translators: %s: gradient code e.g: "linear-gradient(90deg, rgba(98,16,153,1) 0%, rgba(172,110,22,1) 100%);". + Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Gradient code: %s'), gradient), + style: { + color: 'rgba( 0,0,0,0 )', + background: gradient + }, + onClick: value === gradient ? clearGradient : function () { + return onChange(gradient); + }, + "aria-label": name ? // translators: %s: The name of the gradient e.g: "Angular red to blue". + Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Gradient: %s'), name) : // translators: %s: gradient code e.g: "linear-gradient(90deg, rgba(98,16,153,1) 0%, rgba(172,110,22,1) 100%);". + Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Gradient code: %s'), gradient) + }); + }); + }, [gradients, value, onChange, clearGradient]); + return Object(external_this_wp_element_["createElement"])(CircularOptionPicker, { + className: className, + options: gradientOptions, + actions: clearable && Object(external_this_wp_element_["createElement"])(CircularOptionPicker.ButtonAction, { + onClick: clearGradient + }, Object(external_this_wp_i18n_["__"])('Clear')) + }, !disableCustomGradients && Object(external_this_wp_element_["createElement"])(CustomGradientPicker, { + value: value, + onChange: onChange + })); +} + +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/isolated-event-container/index.js +var isolated_event_container = __webpack_require__(105); + +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-focus-return/index.js +var with_focus_return = __webpack_require__(104); + +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-constrained-tabbing/index.js +var with_constrained_tabbing = __webpack_require__(103); + // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/modal/frame.js @@ -44282,7 +36826,7 @@ function (_Component) { className = _this$props.className, role = _this$props.role, style = _this$props.style; - return Object(external_this_wp_element_["createElement"])(isolated_event_container, { + return Object(external_this_wp_element_["createElement"])(isolated_event_container["a" /* default */], { className: classnames_default()('components-modal__screen-overlay', overlayClassName), onKeyDown: this.handleKeyDown }, Object(external_this_wp_element_["createElement"])("div", { @@ -44301,7 +36845,7 @@ function (_Component) { return ModalFrame; }(external_this_wp_element_["Component"]); -/* harmony default export */ var modal_frame = (Object(external_this_wp_compose_["compose"])([with_focus_return, with_constrained_tabbing, with_focus_outside])(frame_ModalFrame)); +/* harmony default export */ var modal_frame = (Object(external_this_wp_compose_["compose"])([with_focus_return["a" /* default */], with_constrained_tabbing["a" /* default */], with_focus_outside["a" /* default */]])(frame_ModalFrame)); // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/modal/header.js @@ -44334,7 +36878,7 @@ var header_ModalHeader = function ModalHeader(_ref) { }, icon), title && Object(external_this_wp_element_["createElement"])("h1", { id: headingId, className: "components-modal__header-heading" - }, title)), isDismissible && Object(external_this_wp_element_["createElement"])(build_module_button, { + }, title)), isDismissible && Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], { onClick: onClose, icon: "no-alt", label: label @@ -44617,41 +37161,41 @@ modal_Modal.defaultProps = { /** - * Internal dependencies + * WordPress dependencies */ var icons_BackButtonIcon = function BackButtonIcon() { - return Object(external_this_wp_element_["createElement"])(svg_SVG, { + return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24" - }, Object(external_this_wp_element_["createElement"])(svg_Path, { + }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], { d: "M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" - }), Object(external_this_wp_element_["createElement"])(svg_Path, { + }), Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], { d: "M0 0h24v24H0z", fill: "none" })); }; var icons_ForwardButtonIcon = function ForwardButtonIcon() { - return Object(external_this_wp_element_["createElement"])(svg_SVG, { + return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24" - }, Object(external_this_wp_element_["createElement"])(svg_Path, { + }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], { d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" - }), Object(external_this_wp_element_["createElement"])(svg_Path, { + }), Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], { d: "M0 0h24v24H0z", fill: "none" })); }; var icons_PageControlIcon = function PageControlIcon(_ref) { var isSelected = _ref.isSelected; - return Object(external_this_wp_element_["createElement"])(svg_SVG, { + return Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { width: "12", height: "12", fill: "none", xmlns: "http://www.w3.org/2000/svg" - }, Object(external_this_wp_element_["createElement"])(svg_Circle, { + }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Circle"], { cx: "6", cy: "6", r: "6", @@ -44689,7 +37233,7 @@ function PageControl(_ref) { key: page // Set aria-current="step" on the active page, see https://www.w3.org/TR/wai-aria-1.1/#aria-current , "aria-current": page === currentPage ? 'step' : undefined - }, Object(external_this_wp_element_["createElement"])(build_module_button, { + }, Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], { key: page, icon: Object(external_this_wp_element_["createElement"])(icons_PageControlIcon, { isSelected: page === currentPage @@ -44728,7 +37272,7 @@ function FinishButton(_ref) { button.current.focus(); } }, [button]); - return Object(external_this_wp_element_["createElement"])(build_module_button, { + return Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], { ref: button, className: className, isPrimary: true, @@ -44809,7 +37353,7 @@ function Guide(_ref) { onClick: onFinish }, finishButtonText || Object(external_this_wp_i18n_["__"])('Finish')), Object(external_this_wp_element_["createElement"])("div", { className: "components-guide__footer" - }, canGoBack && Object(external_this_wp_element_["createElement"])(build_module_button, { + }, canGoBack && Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], { className: "components-guide__back-button", icon: Object(external_this_wp_element_["createElement"])(icons_BackButtonIcon, null), onClick: goBack @@ -44817,7 +37361,7 @@ function Guide(_ref) { currentPage: currentPage, numberOfPages: numberOfPages, setCurrentPage: setCurrentPage - }), canGoForward && Object(external_this_wp_element_["createElement"])(build_module_button, { + }), canGoForward && Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], { className: "components-guide__forward-button", icon: Object(external_this_wp_element_["createElement"])(icons_ForwardButtonIcon, null), onClick: goForward @@ -44859,7 +37403,7 @@ function IconButton(_ref, ref) { external_this_wp_deprecated_default()('wp.components.IconButton', { alternative: 'wp.components.Button' }); - return Object(external_this_wp_element_["createElement"])(build_module_button, Object(esm_extends["a" /* default */])({}, props, { + return Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({}, props, { ref: ref, tooltipPosition: labelPosition, iconSize: size, @@ -44909,6 +37453,9 @@ function MenuGroup(_ref) { } /* harmony default export */ var menu_group = (MenuGroup); +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/shortcut/index.js +var build_module_shortcut = __webpack_require__(140); + // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/menu-item/index.js @@ -44965,13 +37512,13 @@ function MenuItem(_ref) { }); } - return Object(external_this_wp_element_["createElement"])(build_module_button, Object(esm_extends["a" /* default */])({ + return Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({ icon: icon // Make sure aria-checked matches spec https://www.w3.org/TR/wai-aria-1.1/#aria-checked , "aria-checked": role === 'menuitemcheckbox' || role === 'menuitemradio' ? isSelected : undefined, role: role, className: className - }, props), children, Object(external_this_wp_element_["createElement"])(build_module_shortcut, { + }, props), children, Object(external_this_wp_element_["createElement"])(build_module_shortcut["a" /* default */], { className: "components-menu-item__shortcut", shortcut: shortcut })); @@ -44981,10 +37528,15 @@ function MenuItem(_ref) { // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/menu-items-choice/index.js +/** + * WordPress dependencies + */ + /** * Internal dependencies */ + function MenuItemsChoice(_ref) { var _ref$choices = _ref.choices, choices = _ref$choices === void 0 ? [] : _ref$choices, @@ -44995,7 +37547,7 @@ function MenuItemsChoice(_ref) { return Object(external_this_wp_element_["createElement"])(menu_item, { key: item.value, role: "menuitemradio", - icon: isSelected && 'yes', + icon: isSelected && check["a" /* default */], isSelected: isSelected, shortcut: item.shortcut, className: "components-menu-items-choice", @@ -45008,6 +37560,9 @@ function MenuItemsChoice(_ref) { }); } +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/scroll-lock/index.js +var scroll_lock = __webpack_require__(136); + // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigable-container/tabbable.js @@ -45110,7 +37665,7 @@ function Notice(_ref) { noDefaultClasses = _ref2$noDefaultClasse === void 0 ? false : _ref2$noDefaultClasse, onClick = _ref2.onClick, url = _ref2.url; - return Object(external_this_wp_element_["createElement"])(build_module_button, { + return Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], { key: index, href: url, isSecondary: !noDefaultClasses && !url, @@ -45118,7 +37673,7 @@ function Notice(_ref) { onClick: url ? undefined : onClick, className: classnames_default()('components-notice__action', buttonCustomClasses) }, label); - })), isDismissible && Object(external_this_wp_element_["createElement"])(build_module_button, { + })), isDismissible && Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], { className: "components-notice__dismiss", icon: "no-alt", label: Object(external_this_wp_i18n_["__"])('Dismiss this notice'), @@ -45221,6 +37776,12 @@ function Panel(_ref) { /* harmony default export */ var panel = (Panel); +// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-up.js +var chevron_up = __webpack_require__(279); + +// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-down.js +var chevron_down = __webpack_require__(280); + // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/panel/body.js @@ -45240,13 +37801,13 @@ function Panel(_ref) { */ + /** * Internal dependencies */ - var body_PanelBody = /*#__PURE__*/ function (_Component) { @@ -45301,35 +37862,16 @@ function (_Component) { ref: forwardedRef }, !!title && Object(external_this_wp_element_["createElement"])("h2", { className: "components-panel__body-title" - }, Object(external_this_wp_element_["createElement"])(build_module_button, { + }, Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], { className: "components-panel__body-toggle", onClick: this.toggle, "aria-expanded": isOpened }, Object(external_this_wp_element_["createElement"])("span", { "aria-hidden": "true" - }, isOpened ? Object(external_this_wp_element_["createElement"])(svg_SVG, { + }, Object(external_this_wp_element_["createElement"])(components_build_module_icon["a" /* default */], { className: "components-panel__arrow", - width: "24px", - height: "24px", - viewBox: "0 0 24 24", - xmlns: "http://www.w3.org/2000/svg" - }, Object(external_this_wp_element_["createElement"])(svg_G, null, Object(external_this_wp_element_["createElement"])(svg_Path, { - fill: "none", - d: "M0,0h24v24H0V0z" - })), Object(external_this_wp_element_["createElement"])(svg_G, null, Object(external_this_wp_element_["createElement"])(svg_Path, { - d: "M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z" - }))) : Object(external_this_wp_element_["createElement"])(svg_SVG, { - className: "components-panel__arrow", - width: "24px", - height: "24px", - viewBox: "0 0 24 24", - xmlns: "http://www.w3.org/2000/svg" - }, Object(external_this_wp_element_["createElement"])(svg_G, null, Object(external_this_wp_element_["createElement"])(svg_Path, { - fill: "none", - d: "M0,0h24v24H0V0z" - })), Object(external_this_wp_element_["createElement"])(svg_G, null, Object(external_this_wp_element_["createElement"])(svg_Path, { - d: "M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z" - })))), title, icon && Object(external_this_wp_element_["createElement"])(build_module_icon, { + icon: isOpened ? chevron_up["a" /* default */] : chevron_down["a" /* default */] + })), title, icon && Object(external_this_wp_element_["createElement"])(components_build_module_icon["a" /* default */], { icon: icon, className: "components-panel__icon", size: 20 @@ -45369,7 +37911,7 @@ function PanelRow(_ref) { /* harmony default export */ var row = (PanelRow); // EXTERNAL MODULE: ./node_modules/react-resize-aware/dist/index.js -var dist = __webpack_require__(225); +var dist = __webpack_require__(264); var dist_default = /*#__PURE__*/__webpack_require__.n(dist); // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/placeholder/index.js @@ -45409,9 +37951,21 @@ function Placeholder(_ref) { var _useResizeAware = dist_default()(), _useResizeAware2 = Object(slicedToArray["a" /* default */])(_useResizeAware, 2), resizeListener = _useResizeAware2[0], - width = _useResizeAware2[1].width; + width = _useResizeAware2[1].width; // Since `useResizeAware` will report a width of `null` until after the + // first render, avoid applying any modifier classes until width is known. - var classes = classnames_default()('components-placeholder', width >= 320 ? 'is-large' : '', width >= 160 && width < 320 ? 'is-medium' : '', width < 160 ? 'is-small' : '', className); + + var modifierClassNames; + + if (typeof width === 'number') { + modifierClassNames = { + 'is-large': width >= 320, + 'is-medium': width >= 160 && width < 320, + 'is-small': width < 160 + }; + } + + var classes = classnames_default()('components-placeholder', className, modifierClassNames); var fieldsetClasses = classnames_default()('components-placeholder__fieldset', { 'is-column-layout': isColumnLayout }); @@ -45421,7 +37975,7 @@ function Placeholder(_ref) { className: "components-placeholder__preview" }, preview), Object(external_this_wp_element_["createElement"])("div", { className: "components-placeholder__label" - }, Object(external_this_wp_element_["createElement"])(build_module_icon, { + }, Object(external_this_wp_element_["createElement"])(components_build_module_icon["a" /* default */], { icon: icon }), label), !!instructions && Object(external_this_wp_element_["createElement"])("div", { className: "components-placeholder__instructions" @@ -45435,6 +37989,10 @@ function Placeholder(_ref) { // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/query-controls/terms.js +function terms_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function terms_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { terms_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { terms_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -45449,7 +38007,7 @@ function Placeholder(_ref) { function buildTermsTree(flatTerms) { var flatTermsWithParentAndChildren = flatTerms.map(function (term) { - return Object(objectSpread["a" /* default */])({ + return terms_objectSpread({ children: [], parent: null }, term); @@ -45463,7 +38021,7 @@ function buildTermsTree(flatTerms) { var fillWithChildren = function fillWithChildren(terms) { return terms.map(function (term) { var children = termsByParent[term.id]; - return Object(objectSpread["a" /* default */])({}, term, { + return terms_objectSpread({}, term, { children: children && children.length ? fillWithChildren(children) : [] }); }); @@ -45684,7 +38242,7 @@ function RadioControl(_ref) { } // EXTERNAL MODULE: ./node_modules/re-resizable/lib/index.js -var re_resizable_lib = __webpack_require__(226); +var re_resizable_lib = __webpack_require__(265); // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/resizable-box/index.js @@ -45970,93 +38528,18 @@ sandbox_Sandbox = Object(external_this_wp_compose_["withGlobalEvents"])({ })(sandbox_Sandbox); /* harmony default export */ var sandbox = (sandbox_Sandbox); -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/snackbar/index.js - - -/** - * External dependencies - */ - - -/** - * WordPress dependencies - */ - - - -/** - * Internal dependencies - */ - - -var NOTICE_TIMEOUT = 10000; - -function Snackbar(_ref, ref) { - var className = _ref.className, - children = _ref.children, - _ref$actions = _ref.actions, - actions = _ref$actions === void 0 ? [] : _ref$actions, - _ref$onRemove = _ref.onRemove, - onRemove = _ref$onRemove === void 0 ? external_this_lodash_["noop"] : _ref$onRemove; - Object(external_this_wp_element_["useEffect"])(function () { - var timeoutHandle = setTimeout(function () { - onRemove(); - }, NOTICE_TIMEOUT); - return function () { - return clearTimeout(timeoutHandle); - }; - }, []); - var classes = classnames_default()(className, 'components-snackbar'); - - if (actions && actions.length > 1) { - // we need to inform developers that snackbar only accepts 1 action - // eslint-disable-next-line no-console - console.warn('Snackbar can only have 1 action, use Notice if your message require many messages'); // return first element only while keeping it inside an array - - actions = [actions[0]]; - } - - return Object(external_this_wp_element_["createElement"])("div", { - ref: ref, - className: classes, - onClick: onRemove, - tabIndex: "0", - role: "button", - onKeyPress: onRemove, - label: Object(external_this_wp_i18n_["__"])('Dismiss this notice') - }, Object(external_this_wp_element_["createElement"])("div", { - className: "components-snackbar__content" - }, children, actions.map(function (_ref2, index) { - var label = _ref2.label, - _onClick = _ref2.onClick, - url = _ref2.url; - return Object(external_this_wp_element_["createElement"])(build_module_button, { - key: index, - href: url, - isTertiary: true, - onClick: function onClick(event) { - event.stopPropagation(); - - if (_onClick) { - _onClick(event); - } - }, - className: "components-snackbar__action" - }, label); - }))); -} - -/* harmony default export */ var snackbar = (Object(external_this_wp_element_["forwardRef"])(Snackbar)); +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/snackbar/index.js +var snackbar = __webpack_require__(137); // EXTERNAL MODULE: external {"this":"regeneratorRuntime"} 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__(44); +var asyncToGenerator = __webpack_require__(47); // EXTERNAL MODULE: ./node_modules/react-spring/web.cjs.js -var web_cjs = __webpack_require__(65); +var web_cjs = __webpack_require__(75); // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/snackbar/list.js @@ -46208,7 +38691,7 @@ function SnackbarList(_ref) { ref: function ref(_ref5) { return _ref5 && refMap.set(notice, _ref5); } - }, Object(external_this_wp_element_["createElement"])(snackbar, Object(esm_extends["a" /* default */])({}, Object(external_this_lodash_["omit"])(notice, ['content']), { + }, Object(external_this_wp_element_["createElement"])(snackbar["a" /* default */], Object(esm_extends["a" /* default */])({}, Object(external_this_lodash_["omit"])(notice, ['content']), { onRemove: removeNotice(notice) }), notice.content))); })); @@ -46261,7 +38744,7 @@ var tab_panel_TabButton = function TabButton(_ref) { selected = _ref.selected, rest = Object(objectWithoutProperties["a" /* default */])(_ref, ["tabId", "onClick", "children", "selected"]); - return Object(external_this_wp_element_["createElement"])(build_module_button, Object(esm_extends["a" /* default */])({ + return Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({ role: "tab", tabIndex: selected ? null : -1, "aria-selected": selected, @@ -46446,11 +38929,11 @@ var text_highlight_TextHighlight = function TextHighlight(_ref) { function Tip(props) { return Object(external_this_wp_element_["createElement"])("div", { className: "components-tip" - }, Object(external_this_wp_element_["createElement"])(svg_SVG, { + }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], { width: "24", height: "24", viewBox: "0 0 24 24" - }, Object(external_this_wp_element_["createElement"])(svg_Path, { + }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], { d: "M20.45 4.91L19.04 3.5l-1.79 1.8 1.41 1.41 1.79-1.8zM13 4h-2V1h2v3zm10 9h-3v-2h3v2zm-12 6.95v-3.96l-1-.58c-1.24-.72-2-2.04-2-3.46 0-2.21 1.79-4 4-4s4 1.79 4 4c0 1.42-.77 2.74-2 3.46l-1 .58v3.96h-2zm-2 2h6v-4.81c1.79-1.04 3-2.97 3-5.19 0-3.31-2.69-6-6-6s-6 2.69-6 6c0 2.22 1.21 4.15 3 5.19v4.81zM4 13H1v-2h3v2zm2.76-7.71l-1.79-1.8L3.56 4.9l1.8 1.79 1.4-1.4z" })), Object(external_this_wp_element_["createElement"])("p", null, props.children)); } @@ -46544,1525 +39027,11 @@ function (_Component) { /* harmony default export */ var toggle_control = (Object(external_this_wp_compose_["withInstanceId"])(toggle_control_ToggleControl)); -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar-context/index.js -/** - * WordPress dependencies - */ +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/toolbar-item/index.js +var toolbar_item = __webpack_require__(107); -var ToolbarContext = Object(external_this_wp_element_["createContext"])(); -/* harmony default export */ var toolbar_context = (ToolbarContext); - -// CONCATENATED MODULE: ./node_modules/reakit-system/es/_rollupPluginBabelHelpers-ce04ac6e.js -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} - -function _rollupPluginBabelHelpers_ce04ac6e_ownKeys(object, enumerableOnly) { - var keys = Object.keys(object); - - if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(object); - if (enumerableOnly) symbols = symbols.filter(function (sym) { - return Object.getOwnPropertyDescriptor(object, sym).enumerable; - }); - keys.push.apply(keys, symbols); - } - - return keys; -} - -function _objectSpread2(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? arguments[i] : {}; - - if (i % 2) { - _rollupPluginBabelHelpers_ce04ac6e_ownKeys(Object(source), true).forEach(function (key) { - _defineProperty(target, key, source[key]); - }); - } else if (Object.getOwnPropertyDescriptors) { - Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); - } else { - _rollupPluginBabelHelpers_ce04ac6e_ownKeys(Object(source)).forEach(function (key) { - Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); - }); - } - } - - return target; -} - -function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } - - return target; -} - - - -// CONCATENATED MODULE: ./node_modules/reakit-system/es/SystemContext.js - - -var SystemContext = Object(external_this_React_["createContext"])({}); - - - -// CONCATENATED MODULE: ./node_modules/reakit-system/es/useCreateElement.js - - - - -function isRenderProp(children) { - return typeof children === "function"; -} - -var useCreateElement_useCreateElement = function useCreateElement(type, props, children) { - if (children === void 0) { - children = props.children; - } - - var context = Object(external_this_React_["useContext"])(SystemContext); - - if (context.useCreateElement) { - return context.useCreateElement(type, props, children); - } - - if (isRenderProp(children)) { - var _ = props.children, - rest = _objectWithoutPropertiesLoose(props, ["children"]); - - return children(rest); - } - - return Object(external_this_React_["createElement"])(type, props, children); -}; - - - -// CONCATENATED MODULE: ./node_modules/reakit-utils/es/splitProps.js -function splitProps(props, keys) { - var propsKeys = Object.keys(props); - var picked = {}; - var omitted = {}; - - for (var _i = 0, _propsKeys = propsKeys; _i < _propsKeys.length; _i++) { - var key = _propsKeys[_i]; - - if (keys.indexOf(key) >= 0) { - picked[key] = props[key]; - } else { - omitted[key] = props[key]; - } - } - - return [picked, omitted]; -} - - - -// CONCATENATED MODULE: ./node_modules/reakit-system/es/createComponent.js - - - - - - -function memo(component, propsAreEqual) { - return Object(external_this_React_["memo"])(component, propsAreEqual); -} - -function forwardRef(component) { - return Object(external_this_React_["forwardRef"])(component); -} - -function createComponent(_ref) { - var type = _ref.as, - useHook = _ref.useHook, - _ref$keys = _ref.keys, - keys = _ref$keys === void 0 ? useHook && useHook.__keys || [] : _ref$keys, - _ref$propsAreEqual = _ref.propsAreEqual, - propsAreEqual = _ref$propsAreEqual === void 0 ? useHook && useHook.__propsAreEqual : _ref$propsAreEqual, - _ref$useCreateElement = _ref.useCreateElement, - useCreateElement$1 = _ref$useCreateElement === void 0 ? useCreateElement_useCreateElement : _ref$useCreateElement; - - var Comp = function Comp(_ref2, ref) { - var _ref2$as = _ref2.as, - as = _ref2$as === void 0 ? type : _ref2$as, - props = _objectWithoutPropertiesLoose(_ref2, ["as"]); - - if (useHook) { - var _splitProps = splitProps(props, keys), - _options = _splitProps[0], - htmlProps = _splitProps[1]; - - var _useHook = useHook(_options, _objectSpread2({ - ref: ref - }, htmlProps)), - unstable_wrap = _useHook.unstable_wrap, - elementProps = _objectWithoutPropertiesLoose(_useHook, ["unstable_wrap"]); // @ts-ignore - - - var asKeys = as.render ? as.render.__keys : as.__keys; - var asOptions = asKeys ? splitProps(props, asKeys)[0] : {}; - var element = useCreateElement$1(as, _objectSpread2({}, elementProps, {}, asOptions)); - - if (unstable_wrap) { - return unstable_wrap(element); - } - - return element; - } - - return useCreateElement$1(as, props); - }; - - Comp.__keys = keys; - - if (false) {} - - return memo(forwardRef(Comp), propsAreEqual); -} - - - -// CONCATENATED MODULE: ./node_modules/reakit-system/es/useToken.js - - - -function useToken(token, defaultValue) { - Object(external_this_React_["useDebugValue"])(token); - var context = Object(external_this_React_["useContext"])(SystemContext); - return context[token] != null ? context[token] : defaultValue; -} - - - -// CONCATENATED MODULE: ./node_modules/reakit-system/es/useProps.js - - - - -function useProps_useProps(name, options, htmlProps) { - if (options === void 0) { - options = {}; - } - - if (htmlProps === void 0) { - htmlProps = {}; - } - - var hookName = "use" + name + "Props"; - Object(external_this_React_["useDebugValue"])(hookName); - var useHook = useToken(hookName); - - if (useHook) { - return useHook(options, htmlProps); - } - - return htmlProps; -} - - - -// CONCATENATED MODULE: ./node_modules/reakit-system/es/useOptions.js - - - - - -function useOptions_useOptions(name, options, htmlProps) { - if (options === void 0) { - options = {}; - } - - if (htmlProps === void 0) { - htmlProps = {}; - } - - var hookName = "use" + name + "Options"; - Object(external_this_React_["useDebugValue"])(hookName); - var useHook = useToken(hookName); - - if (useHook) { - return _objectSpread2({}, options, {}, useHook(options, htmlProps)); - } - - return options; -} - - - -// CONCATENATED MODULE: ./node_modules/reakit-utils/es/isObject.js -function isObject(arg) { - return typeof arg === "object" && arg != null; -} - - - -// CONCATENATED MODULE: ./node_modules/reakit-utils/es/toArray.js -function toArray(arg) { - if (Array.isArray(arg)) { - return arg; - } - - return typeof arg !== "undefined" ? [arg] : []; -} - - - -// CONCATENATED MODULE: ./node_modules/reakit-system/es/createHook.js - - - - - - - - - -function deepEqual(objA, objB, depth) { - if (depth === void 0) { - depth = 1; - } - - if (objA === objB) return true; - if (!objA || !objB) return false; - var aKeys = Object.keys(objA); - var bKeys = Object.keys(objB); - var length = aKeys.length; - if (bKeys.length !== length) return false; - - for (var _i = 0, _aKeys = aKeys; _i < _aKeys.length; _i++) { - var key = _aKeys[_i]; - - if (objA[key] !== objB[key]) { - if (!depth || !isObject(objA[key]) || !isObject(objB[key]) || !deepEqual(objA[key], objB[key], depth - 1)) { - return false; - } - } - } - - return true; -} - -function createHook(options) { - var composedHooks = toArray(options.compose); - - var __useOptions = function __useOptions(hookOptions, htmlProps) { - // Call the current hook's useOptions first - if (options.useOptions) { - hookOptions = options.useOptions(hookOptions, htmlProps); - } // If there's name, call useOptions from the system context - - - if (options.name) { - hookOptions = useOptions_useOptions(options.name, hookOptions, htmlProps); - } - - return hookOptions; - }; - - var useHook = function useHook(hookOptions, htmlProps, unstable_ignoreUseOptions) { - if (hookOptions === void 0) { - hookOptions = {}; - } - - if (htmlProps === void 0) { - htmlProps = {}; - } - - if (unstable_ignoreUseOptions === void 0) { - unstable_ignoreUseOptions = false; - } - - // This won't execute when useHook was called from within another useHook - if (!unstable_ignoreUseOptions) { - hookOptions = __useOptions(hookOptions, htmlProps); - } // We're already calling composed useOptions here - // That's why we ignoreUseOptions for composed hooks - - - if (options.compose) { - composedHooks.forEach(function (hook) { - hookOptions = hook.__useOptions(hookOptions, htmlProps); - }); - } // Call the current hook's useProps - - - if (options.useProps) { - htmlProps = options.useProps(hookOptions, htmlProps); - } // If there's name, call useProps from the system context - - - if (options.name) { - htmlProps = useProps_useProps(options.name, hookOptions, htmlProps); - } - - if (options.compose) { - if (options.useComposeOptions) { - hookOptions = options.useComposeOptions(hookOptions, htmlProps); - } - - composedHooks.forEach(function (hook) { - // @ts-ignore The third option is only used internally - htmlProps = hook(hookOptions, htmlProps, true); - }); - } - - return htmlProps; - }; - - if (false) {} - - useHook.__useOptions = __useOptions; // It's used by createComponent to split option props (keys) and html props - - useHook.__keys = [].concat(composedHooks.reduce(function (allKeys, hook) { - allKeys.push.apply(allKeys, hook.__keys || []); - return allKeys; - }, []), options.useState ? options.useState.__keys : [], options.keys || []); - var hasPropsAreEqual = Boolean(options.propsAreEqual || composedHooks.find(function (hook) { - return Boolean(hook.__propsAreEqual); - })); - - if (hasPropsAreEqual) { - useHook.__propsAreEqual = function (prev, next) { - var result = options.propsAreEqual && options.propsAreEqual(prev, next); - - if (result != null) { - return result; - } - - for (var _iterator = composedHooks, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) { - var _ref; - - if (_isArray) { - if (_i >= _iterator.length) break; - _ref = _iterator[_i++]; - } else { - _i = _iterator.next(); - if (_i.done) break; - _ref = _i.value; - } - - var hook = _ref; - var propsAreEqual = hook.__propsAreEqual; - var hookResult = propsAreEqual && propsAreEqual(prev, next); - - if (hookResult != null) { - return hookResult; - } - } - - return deepEqual(prev, next); - }; - } - - return useHook; -} - - - -// CONCATENATED MODULE: ./node_modules/reakit/es/_rollupPluginBabelHelpers-f089acec.js -function _rollupPluginBabelHelpers_f089acec_defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} - -function _rollupPluginBabelHelpers_f089acec_ownKeys(object, enumerableOnly) { - var keys = Object.keys(object); - - if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(object); - if (enumerableOnly) symbols = symbols.filter(function (sym) { - return Object.getOwnPropertyDescriptor(object, sym).enumerable; - }); - keys.push.apply(keys, symbols); - } - - return keys; -} - -function _rollupPluginBabelHelpers_f089acec_objectSpread2(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? arguments[i] : {}; - - if (i % 2) { - _rollupPluginBabelHelpers_f089acec_ownKeys(Object(source), true).forEach(function (key) { - _rollupPluginBabelHelpers_f089acec_defineProperty(target, key, source[key]); - }); - } else if (Object.getOwnPropertyDescriptors) { - Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); - } else { - _rollupPluginBabelHelpers_f089acec_ownKeys(Object(source)).forEach(function (key) { - Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); - }); - } - } - - return target; -} - -function _rollupPluginBabelHelpers_f089acec_objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } - - return target; -} - - - -// CONCATENATED MODULE: ./node_modules/reakit-utils/es/mergeRefs.js -function mergeRefs() { - for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) { - refs[_key] = arguments[_key]; - } - - var filteredRefs = refs.filter(Boolean); - if (!filteredRefs.length) return null; - if (filteredRefs.length === 1) return filteredRefs[0]; - return function (instance) { - for (var _iterator = filteredRefs, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) { - var _ref; - - if (_isArray) { - if (_i >= _iterator.length) break; - _ref = _iterator[_i++]; - } else { - _i = _iterator.next(); - if (_i.done) break; - _ref = _i.value; - } - - var ref = _ref; - - if (typeof ref === "function") { - ref(instance); - } else if (ref) { - ref.current = instance; - } - } - }; -} - - - -// CONCATENATED MODULE: ./node_modules/reakit-utils/es/getDocument.js -function getDocument(element) { - return element ? element.ownerDocument || element : window.document; -} - - - -// CONCATENATED MODULE: ./node_modules/reakit-utils/es/hasFocusWithin.js - - -function hasFocusWithin(element) { - var document = getDocument(element); - if (!document.activeElement) return false; - return element.contains(document.activeElement); -} - - - -// CONCATENATED MODULE: ./node_modules/reakit/es/Box/Box.js - - - -var useBox = createHook({ - name: "Box", - keys: ["unstable_system"] -}); -var Box = createComponent({ - as: "div", - useHook: useBox -}); - - - -// CONCATENATED MODULE: ./node_modules/reakit-utils/es/closest.js -// closest ponyfill -function matches(element, selectors) { - if ("matches" in element) return element.matches(selectors); - if ("msMatchesSelector" in element) return element.msMatchesSelector(selectors); - return element.webkitMatchesSelector(selectors); -} - -function closest(element, selectors) { - if ("closest" in element) return element.closest(selectors); - - do { - if (matches(element, selectors)) return element; - element = element.parentElement || element.parentNode; - } while (element !== null && element.nodeType === 1); - - return null; -} - - - -// CONCATENATED MODULE: ./node_modules/reakit-utils/es/tabbable.js - - -var selector = "input:not([type='hidden']):not([disabled]), select:not([disabled]), " + "textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], " + "iframe, object, embed, area[href], audio[controls], video[controls], " + "[contenteditable]:not([contenteditable='false'])"; - -function isVisible(element) { - return element.offsetWidth > 0 || element.offsetHeight > 0 || element.getClientRects().length > 0; -} - -function hasNegativeTabIndex(element) { - var tabIndex = parseInt(element.getAttribute("tabIndex") || "0", 10); - return tabIndex < 0; -} - -function isFocusable(element) { - return element.matches(selector) && isVisible(element); -} -function isTabbable(element) { - return isFocusable(element) && !hasNegativeTabIndex(element); -} -function getAllFocusableIn(container) { - var allFocusable = Array.from(container.querySelectorAll(selector)); - allFocusable.unshift(container); - return allFocusable.filter(isFocusable); -} -function getFirstFocusableIn(container) { - var allFocusable = getAllFocusableIn(container); - return allFocusable.length ? allFocusable[0] : null; -} -function getAllTabbableIn(container, fallbackToFocusable) { - var allFocusable = Array.from(container.querySelectorAll(selector)); - var allTabbable = allFocusable.filter(isTabbable); - - if (isTabbable(container)) { - allTabbable.unshift(container); - } - - if (!allTabbable.length && fallbackToFocusable) { - return allFocusable; - } - - return allTabbable; -} -function getFirstTabbableIn(container, fallbackToFocusable) { - var _getAllTabbableIn = getAllTabbableIn(container, fallbackToFocusable), - first = _getAllTabbableIn[0]; - - return first || null; -} -function getLastTabbableIn(container, fallbackToFocusable) { - var allTabbable = getAllTabbableIn(container, fallbackToFocusable); - return allTabbable[allTabbable.length - 1] || null; -} -function getNextTabbableIn(container, fallbackToFocusable) { - var _ref = container.ownerDocument || document, - activeElement = _ref.activeElement; - - var allFocusable = getAllFocusableIn(container); - var index = allFocusable.indexOf(activeElement); - var slice = allFocusable.slice(index + 1); - return slice.find(isTabbable) || allFocusable.find(isTabbable) || (fallbackToFocusable ? slice[0] : null); -} -function getPreviousTabbableIn(container, fallbackToFocusable) { - var _ref2 = container.ownerDocument || document, - activeElement = _ref2.activeElement; - - var allFocusable = getAllFocusableIn(container).reverse(); - var index = allFocusable.indexOf(activeElement); - var slice = allFocusable.slice(index + 1); - return slice.find(isTabbable) || allFocusable.find(isTabbable) || (fallbackToFocusable ? slice[0] : null); -} -function getClosestFocusable(element) { - var container = null; - - do { - container = closest(element, selector); - } while (container && !isFocusable(container)); - - return container; -} - -function defaultIsActive(element) { - var _ref3 = element.ownerDocument || document, - activeElement = _ref3.activeElement; - - return activeElement === element; -} - -function ensureFocus(element, _temp) { - var _ref4 = _temp === void 0 ? {} : _temp, - _ref4$isActive = _ref4.isActive, - isActive = _ref4$isActive === void 0 ? defaultIsActive : _ref4$isActive, - preventScroll = _ref4.preventScroll; - - if (isActive(element)) return -1; - element.focus({ - preventScroll: preventScroll - }); - if (isActive(element)) return -1; - return requestAnimationFrame(function () { - element.focus({ - preventScroll: preventScroll - }); - }); -} - - - -// CONCATENATED MODULE: ./node_modules/reakit/es/Tabbable/Tabbable.js - - - - - - - - - -function isNativeTabbable(element) { - return element instanceof HTMLButtonElement || element instanceof HTMLInputElement || element instanceof HTMLSelectElement || element instanceof HTMLTextAreaElement || element instanceof HTMLAnchorElement || element instanceof HTMLAudioElement || element instanceof HTMLVideoElement; -} - -function isInput(element) { - return element instanceof HTMLInputElement || element instanceof HTMLTextAreaElement || element instanceof HTMLSelectElement; -} // https://twitter.com/diegohaz/status/1176998102139572225 - - -function receivesFocusOnMouseDown(element) { - var _navigator = navigator, - userAgent = _navigator.userAgent; - - var is = function is(string) { - return userAgent.indexOf(string) !== -1; - }; - - var isMac = is("Mac"); - var isSafariOrFirefox = is("Safari") || is("Firefox"); - return !isMac || !isSafariOrFirefox || !(element instanceof HTMLButtonElement); -} - -var useTabbable = createHook({ - name: "Tabbable", - compose: useBox, - keys: ["disabled", "focusable", "unstable_clickOnEnter", "unstable_clickOnSpace"], - useOptions: function useOptions(_ref, _ref2) { - var disabled = _ref2.disabled; - - var _ref$unstable_clickOn = _ref.unstable_clickOnEnter, - unstable_clickOnEnter = _ref$unstable_clickOn === void 0 ? true : _ref$unstable_clickOn, - _ref$unstable_clickOn2 = _ref.unstable_clickOnSpace, - unstable_clickOnSpace = _ref$unstable_clickOn2 === void 0 ? true : _ref$unstable_clickOn2, - options = _rollupPluginBabelHelpers_f089acec_objectWithoutPropertiesLoose(_ref, ["unstable_clickOnEnter", "unstable_clickOnSpace"]); - - return _rollupPluginBabelHelpers_f089acec_objectSpread2({ - disabled: disabled, - unstable_clickOnEnter: unstable_clickOnEnter, - unstable_clickOnSpace: unstable_clickOnSpace - }, options); - }, - useProps: function useProps(options, _ref3) { - var htmlRef = _ref3.ref, - htmlTabIndex = _ref3.tabIndex, - htmlOnClick = _ref3.onClick, - htmlOnMouseDown = _ref3.onMouseDown, - htmlOnKeyDown = _ref3.onKeyDown, - htmlStyle = _ref3.style, - htmlProps = _rollupPluginBabelHelpers_f089acec_objectWithoutPropertiesLoose(_ref3, ["ref", "tabIndex", "onClick", "onMouseDown", "onKeyDown", "style"]); - - var ref = Object(external_this_React_["useRef"])(null); - var trulyDisabled = options.disabled && !options.focusable; - - var _React$useState = Object(external_this_React_["useState"])(true), - nativeTabbable = _React$useState[0], - setNativeTabbable = _React$useState[1]; - - var tabIndex = nativeTabbable ? htmlTabIndex : htmlTabIndex || 0; - var style = options.disabled && !nativeTabbable ? _rollupPluginBabelHelpers_f089acec_objectSpread2({ - pointerEvents: "none" - }, htmlStyle) : htmlStyle; - Object(external_this_React_["useEffect"])(function () { - if (ref.current && !isNativeTabbable(ref.current)) { - setNativeTabbable(false); - } - }, []); - var onClick = Object(external_this_React_["useCallback"])(function (event) { - if (options.disabled) { - event.stopPropagation(); - event.preventDefault(); - } else if (htmlOnClick) { - htmlOnClick(event); - } - }, [options.disabled, htmlOnClick]); - var onMouseDown = Object(external_this_React_["useCallback"])(function (event) { - if (options.disabled) { - event.stopPropagation(); - event.preventDefault(); - return; - } - - var self = event.currentTarget; - var target = event.target; - - if (self.contains(target) && !isInput(target) && !receivesFocusOnMouseDown(self)) { - event.preventDefault(); - var isFocusControl = isFocusable(target) || target instanceof HTMLLabelElement; - - if (!hasFocusWithin(self) || self === target || !isFocusControl) { - self.focus(); - } - } - - if (htmlOnMouseDown) { - htmlOnMouseDown(event); - } - }, [options.disabled, htmlOnMouseDown]); - var onKeyDown = Object(external_this_React_["useCallback"])(function (event) { - if (htmlOnKeyDown) { - htmlOnKeyDown(event); - } - - if (options.disabled || isNativeTabbable(event.currentTarget)) return; // Per the spec, space only triggers button click on key up. - // On key down, it triggers the :active state. - // Since we can't mimic this behavior, we trigger click on key down. - - if (options.unstable_clickOnEnter && event.key === "Enter" || options.unstable_clickOnSpace && event.key === " ") { - event.preventDefault(); - event.target.dispatchEvent(new MouseEvent("click", { - view: window, - bubbles: true, - cancelable: false - })); - } - }, [options.disabled, options.unstable_clickOnEnter, options.unstable_clickOnSpace, htmlOnKeyDown]); - return _rollupPluginBabelHelpers_f089acec_objectSpread2({ - ref: mergeRefs(ref, htmlRef), - disabled: trulyDisabled, - tabIndex: trulyDisabled ? undefined : tabIndex, - "aria-disabled": options.disabled, - onClick: onClick, - onMouseDown: onMouseDown, - onKeyDown: onKeyDown, - style: style - }, htmlProps); - } -}); -var Tabbable = createComponent({ - as: "button", - useHook: useTabbable -}); - - - -// CONCATENATED MODULE: ./node_modules/reakit-utils/es/useAllCallbacks.js - - -function useAllCallbacks() { - for (var _len = arguments.length, callbacks = new Array(_len), _key = 0; _key < _len; _key++) { - callbacks[_key] = arguments[_key]; - } - - return Object(external_this_React_["useCallback"])(function () { - var fns = callbacks.filter(Boolean); - - for (var _iterator = fns, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) { - var _ref; - - if (_isArray) { - if (_i >= _iterator.length) break; - _ref = _iterator[_i++]; - } else { - _i = _iterator.next(); - if (_i.done) break; - _ref = _i.value; - } - - var callback = _ref; - callback.apply(void 0, arguments); - } - }, callbacks); -} - - - -// CONCATENATED MODULE: ./node_modules/reakit-utils/es/createOnKeyDown.js -function createOnKeyDown(_temp) { - var _ref = _temp === void 0 ? {} : _temp, - keyMap = _ref.keyMap, - onKey = _ref.onKey, - stopPropagation = _ref.stopPropagation, - onKeyDown = _ref.onKeyDown, - _ref$shouldKeyDown = _ref.shouldKeyDown, - shouldKeyDown = _ref$shouldKeyDown === void 0 ? function () { - return true; - } : _ref$shouldKeyDown, - _ref$preventDefault = _ref.preventDefault, - preventDefault = _ref$preventDefault === void 0 ? true : _ref$preventDefault; - - return function (event) { - if (!keyMap) return; - var finalKeyMap = typeof keyMap === "function" ? keyMap(event) : keyMap; - var shouldPreventDefault = typeof preventDefault === "function" ? preventDefault(event) : preventDefault; - var shouldStopPropagation = typeof stopPropagation === "function" ? stopPropagation(event) : stopPropagation; - - if (event.key in finalKeyMap) { - var action = finalKeyMap[event.key]; - - if (typeof action === "function" && shouldKeyDown(event)) { - if (shouldPreventDefault) event.preventDefault(); - if (shouldStopPropagation) event.stopPropagation(); - if (onKey) onKey(event); - action(event); // Prevent onKeyDown from being called twice for the same keys - - return; - } - } - - if (onKeyDown) { - onKeyDown(event); - } - }; -} - - - -// CONCATENATED MODULE: ./node_modules/reakit/es/Id/IdProvider.js - - -var defaultPrefix = "id"; -function generateRandomString(prefix) { - if (prefix === void 0) { - prefix = defaultPrefix; - } - - return "" + (prefix ? prefix + "-" : "") + Math.random().toString(32).substr(2, 6); -} - -var unstable_IdContext = Object(external_this_React_["createContext"])(generateRandomString); -function unstable_IdProvider(_ref) { - var children = _ref.children, - _ref$prefix = _ref.prefix, - prefix = _ref$prefix === void 0 ? defaultPrefix : _ref$prefix; - var count = Object(external_this_React_["useRef"])(0); - var generateId = Object(external_this_React_["useCallback"])(function (localPrefix) { - if (localPrefix === void 0) { - localPrefix = prefix; - } - - return "" + (localPrefix ? localPrefix + "-" : "") + ++count.current; - }, []); - return Object(external_this_React_["createElement"])(unstable_IdContext.Provider, { - value: generateId - }, children); -} - - - -// CONCATENATED MODULE: ./node_modules/reakit-utils/es/useSealedState.js - - -function useSealedState(initialState) { - var _React$useState = Object(external_this_React_["useState"])(initialState), - sealed = _React$useState[0]; - - return sealed; -} - - - -// CONCATENATED MODULE: ./node_modules/reakit/es/Id/IdState.js - - - - -function unstable_useIdState(initialState) { - if (initialState === void 0) { - initialState = {}; - } - - var _useSealedState = useSealedState(initialState), - initialBaseId = _useSealedState.baseId; - - var generateId = Object(external_this_React_["useContext"])(unstable_IdContext); - var idCountRef = Object(external_this_React_["useRef"])(0); - - var _React$useState = Object(external_this_React_["useState"])(function () { - return initialBaseId || generateId(); - }), - baseId = _React$useState[0], - setBaseId = _React$useState[1]; - - return { - baseId: baseId, - unstable_setBaseId: setBaseId, - unstable_idCountRef: idCountRef - }; -} -var IdState_keys = ["baseId", "unstable_setBaseId", "unstable_idCountRef"]; -unstable_useIdState.__keys = IdState_keys; - - - -// CONCATENATED MODULE: ./node_modules/reakit/es/Id/Id.js - - - - - - - - - -var unstable_useId = createHook({ - name: "Id", - compose: useBox, - useState: unstable_useIdState, - keys: ["id"], - useOptions: function useOptions(options, htmlProps) { - var generateId = Object(external_this_React_["useContext"])(unstable_IdContext); - - var _React$useState = Object(external_this_React_["useState"])(function () { - // This comes from useIdState - if (options.unstable_idCountRef) { - options.unstable_idCountRef.current += 1; - return "-" + options.unstable_idCountRef.current; - } // If there's no useIdState, we check if `baseId` was passed (as a prop, - // not from useIdState). - - - if (options.baseId) { - return "-" + generateId(""); - } - - return ""; - }), - suffix = _React$useState[0]; // `baseId` will be the prop passed directly as a prop or via useIdState. - // If there's neither, then it'll fallback to Context's generateId. - // This generateId can result in a sequential ID (if there's a Provider) - // or a random string (without Provider). - - - var baseId = Object(external_this_React_["useMemo"])(function () { - return options.baseId || generateId(); - }, [options.baseId, generateId]); - var id = options.id || htmlProps.id || "" + baseId + suffix; - return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, options, { - id: id - }); - }, - useProps: function useProps(options, htmlProps) { - var id = typeof htmlProps.id === "undefined" ? options.id : htmlProps.id; - return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, htmlProps, { - id: id - }); - } -}); -var unstable_Id = createComponent({ - as: "div", - useHook: unstable_useId -}); - - - -// CONCATENATED MODULE: ./node_modules/reakit/es/Rover/RoverState.js - - - - - - - -function RoverState_reducer(state, action) { - var stops = state.stops, - currentId = state.currentId, - pastId = state.unstable_pastId, - moves = state.unstable_moves, - loop = state.loop; - - switch (action.type) { - case "register": - { - var _id = action.id, - _ref = action.ref; - - if (stops.length === 0) { - return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, state, { - stops: [{ - id: _id, - ref: _ref - }] - }); - } - - var index = stops.findIndex(function (stop) { - return stop.id === _id; - }); - - if (index >= 0) { - return state; - } - - var indexToInsertAt = stops.findIndex(function (stop) { - if (!stop.ref.current || !_ref.current) return false; // Return true if the new rover element is located earlier in the DOM - // than stop's element, else false: - - return Boolean(stop.ref.current.compareDocumentPosition(_ref.current) & Node.DOCUMENT_POSITION_PRECEDING); - }); // findIndex returns -1 when the new rover should be inserted - // at the end of stops (the compareDocumentPosition test - // always returns false in that case). - - if (indexToInsertAt === -1) { - return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, state, { - stops: [].concat(stops, [{ - id: _id, - ref: _ref - }]) - }); - } - - return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, state, { - stops: [].concat(stops.slice(0, indexToInsertAt), [{ - id: _id, - ref: _ref - }], stops.slice(indexToInsertAt)) - }); - } - - case "unregister": - { - var _id2 = action.id; - var nextStops = stops.filter(function (stop) { - return stop.id !== _id2; - }); - - if (nextStops.length === stops.length) { - false ? undefined : void 0; - return state; - } - - return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, state, { - stops: nextStops, - unstable_pastId: pastId && pastId === _id2 ? null : pastId, - currentId: currentId && currentId === _id2 ? null : currentId - }); - } - - case "move": - { - var _id3 = action.id, - silent = action.silent; - var nextMoves = silent ? moves : moves + 1; - - if (_id3 === null) { - return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, state, { - currentId: null, - unstable_pastId: currentId, - unstable_moves: nextMoves - }); - } - - var _index = stops.findIndex(function (stop) { - return stop.id === _id3; - }); // Item doesn't exist, so we don't count a move - - - if (_index === -1) { - return state; - } - - if (stops[_index].id === currentId) { - return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, state, { - unstable_moves: nextMoves - }); - } - - return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, state, { - currentId: stops[_index].id, - unstable_pastId: currentId, - unstable_moves: nextMoves - }); - } - - case "next": - { - if (currentId == null) { - return RoverState_reducer(state, { - type: "move", - id: stops[0] && stops[0].id - }); - } - - var _index2 = stops.findIndex(function (stop) { - return stop.id === currentId; - }); // If loop is truthy, turns [0, currentId, 2, 3] into [currentId, 2, 3, 0] - // Otherwise turns into [currentId, 2, 3] - - - var reorderedStops = [].concat(stops.slice(_index2 + 1), loop ? stops.slice(0, _index2) : []); - var nextIndex = reorderedStops.findIndex(function (stop) { - return stop.id === currentId; - }) + 1; - return RoverState_reducer(state, { - type: "move", - id: reorderedStops[nextIndex] && reorderedStops[nextIndex].id - }); - } - - case "previous": - { - var _reducer = RoverState_reducer(_rollupPluginBabelHelpers_f089acec_objectSpread2({}, state, { - stops: stops.slice().reverse() - }), { - type: "next" - }), - _ = _reducer.stops, - nextState = _rollupPluginBabelHelpers_f089acec_objectWithoutPropertiesLoose(_reducer, ["stops"]); - - return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, state, {}, nextState); - } - - case "first": - { - var stop = stops[0]; - return RoverState_reducer(state, { - type: "move", - id: stop && stop.id - }); - } - - case "last": - { - var _stop = stops[stops.length - 1]; - return RoverState_reducer(state, { - type: "move", - id: _stop && _stop.id - }); - } - - case "reset": - { - return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, state, { - currentId: null, - unstable_pastId: null - }); - } - - case "orientate": - return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, state, { - orientation: action.orientation - }); - - default: - throw new Error(); - } -} - -function useRoverState(initialState) { - if (initialState === void 0) { - initialState = {}; - } - - var _useSealedState = useSealedState(initialState), - orientation = _useSealedState.orientation, - _useSealedState$curre = _useSealedState.currentId, - currentId = _useSealedState$curre === void 0 ? null : _useSealedState$curre, - _useSealedState$loop = _useSealedState.loop, - loop = _useSealedState$loop === void 0 ? false : _useSealedState$loop, - sealed = _rollupPluginBabelHelpers_f089acec_objectWithoutPropertiesLoose(_useSealedState, ["orientation", "currentId", "loop"]); - - var _React$useReducer = Object(external_this_React_["useReducer"])(RoverState_reducer, { - orientation: orientation, - stops: [], - currentId: currentId, - unstable_pastId: null, - unstable_moves: 0, - loop: loop - }), - state = _React$useReducer[0], - dispatch = _React$useReducer[1]; - - var idState = unstable_useIdState(sealed); - return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, idState, {}, state, { - register: Object(external_this_React_["useCallback"])(function (id, ref) { - return dispatch({ - type: "register", - id: id, - ref: ref - }); - }, []), - unregister: Object(external_this_React_["useCallback"])(function (id) { - return dispatch({ - type: "unregister", - id: id - }); - }, []), - move: Object(external_this_React_["useCallback"])(function (id, silent) { - return dispatch({ - type: "move", - id: id, - silent: silent - }); - }, []), - next: Object(external_this_React_["useCallback"])(function () { - return dispatch({ - type: "next" - }); - }, []), - previous: Object(external_this_React_["useCallback"])(function () { - return dispatch({ - type: "previous" - }); - }, []), - first: Object(external_this_React_["useCallback"])(function () { - return dispatch({ - type: "first" - }); - }, []), - last: Object(external_this_React_["useCallback"])(function () { - return dispatch({ - type: "last" - }); - }, []), - unstable_reset: Object(external_this_React_["useCallback"])(function () { - return dispatch({ - type: "reset" - }); - }, []), - unstable_orientate: Object(external_this_React_["useCallback"])(function (o) { - return dispatch({ - type: "orientate", - orientation: o - }); - }, []) - }); -} -var RoverState_keys = [].concat(unstable_useIdState.__keys, ["orientation", "stops", "currentId", "unstable_pastId", "unstable_moves", "loop", "register", "unregister", "move", "next", "previous", "first", "last", "unstable_reset", "unstable_orientate"]); -useRoverState.__keys = RoverState_keys; - - - -// CONCATENATED MODULE: ./node_modules/reakit/es/Rover/Rover.js - - - - - - - - - - - - - - - - - - -var useRover = createHook({ - name: "Rover", - compose: [useTabbable, unstable_useId], - useState: useRoverState, - keys: ["stopId"], - useProps: function useProps(options, _ref) { - var htmlRef = _ref.ref, - _ref$tabIndex = _ref.tabIndex, - htmlTabIndex = _ref$tabIndex === void 0 ? 0 : _ref$tabIndex, - htmlOnFocus = _ref.onFocus, - htmlOnKeyDown = _ref.onKeyDown, - htmlProps = _rollupPluginBabelHelpers_f089acec_objectWithoutPropertiesLoose(_ref, ["ref", "tabIndex", "onFocus", "onKeyDown"]); - - var ref = Object(external_this_React_["useRef"])(null); - var stopId = options.stopId || options.id || htmlProps.id; - var trulyDisabled = options.disabled && !options.focusable; - var noFocused = options.currentId == null; - var focused = options.currentId === stopId; - var isFirst = (options.stops || [])[0] && options.stops[0].id === stopId; - var shouldTabIndex = focused || isFirst && noFocused; - Object(external_this_React_["useEffect"])(function () { - if (trulyDisabled || !stopId) return undefined; - options.register && options.register(stopId, ref); - return function () { - return options.unregister && options.unregister(stopId); - }; - }, [stopId, trulyDisabled, options.register, options.unregister]); - Object(external_this_React_["useEffect"])(function () { - if (!ref.current) { - false ? undefined : void 0; - return; - } - - if (options.unstable_moves && focused && !hasFocusWithin(ref.current)) { - ref.current.focus(); - } - }, [focused, options.unstable_moves]); - var onFocus = Object(external_this_React_["useCallback"])(function (event) { - if (!stopId || !event.currentTarget.contains(event.target)) return; // this is already focused, so we move silently - - options.move(stopId, true); - }, [options.move, stopId]); - var onKeyDown = Object(external_this_React_["useMemo"])(function () { - return createOnKeyDown({ - onKeyDown: htmlOnKeyDown, - stopPropagation: true, - // Ignore portals - shouldKeyDown: function shouldKeyDown(event) { - return (// https://github.com/facebook/react/issues/11387 - event.currentTarget.contains(event.target) - ); - }, - keyMap: { - ArrowUp: options.orientation !== "horizontal" && options.previous, - ArrowRight: options.orientation !== "vertical" && options.next, - ArrowDown: options.orientation !== "horizontal" && options.next, - ArrowLeft: options.orientation !== "vertical" && options.previous, - Home: options.first, - End: options.last, - PageUp: options.first, - PageDown: options.last - } - }); - }, [htmlOnKeyDown, options.orientation, options.previous, options.next, options.first, options.last]); - return _rollupPluginBabelHelpers_f089acec_objectSpread2({ - ref: mergeRefs(ref, htmlRef), - id: stopId, - tabIndex: shouldTabIndex ? htmlTabIndex : -1, - onFocus: useAllCallbacks(onFocus, htmlOnFocus), - onKeyDown: onKeyDown - }, htmlProps); - } -}); -var Rover = createComponent({ - as: "button", - useHook: useRover -}); - - - -// CONCATENATED MODULE: ./node_modules/reakit/es/Toolbar/ToolbarState.js - - - - - - - - -function useToolbarState(initialState) { - if (initialState === void 0) { - initialState = {}; - } - - var _useSealedState = useSealedState(initialState), - _useSealedState$orien = _useSealedState.orientation, - orientation = _useSealedState$orien === void 0 ? "horizontal" : _useSealedState$orien, - sealed = _rollupPluginBabelHelpers_f089acec_objectWithoutPropertiesLoose(_useSealedState, ["orientation"]); - - return useRoverState(_rollupPluginBabelHelpers_f089acec_objectSpread2({ - orientation: orientation - }, sealed)); -} -var ToolbarState_keys = [].concat(useRoverState.__keys); -useToolbarState.__keys = ToolbarState_keys; - - - -// CONCATENATED MODULE: ./node_modules/reakit/es/Toolbar/ToolbarItem.js - - - - - - - - - - - - - - - - - - - - -var useToolbarItem = createHook({ - name: "ToolbarItem", - compose: useRover, - useState: useToolbarState -}); -var ToolbarItem = createComponent({ - as: "button", - useHook: useToolbarItem -}); - - - -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar-button/accessible-toolbar-button-container.js - - -/** - * External dependencies - */ - -/** - * WordPress dependencies - */ - - -/** - * Internal dependencies - */ - - - -function AccessibleToolbarButtonContainer(props) { - var accessibleToolbarState = Object(external_this_wp_element_["useContext"])(toolbar_context); - var childButton = external_this_wp_element_["Children"].only(props.children); // https://reakit.io/docs/composition/#props-hooks - - var itemHTMLProps = useToolbarItem(accessibleToolbarState, childButton.props); - return Object(external_this_wp_element_["createElement"])("div", props, Object(external_this_wp_element_["cloneElement"])(childButton, itemHTMLProps)); -} - -/* harmony default export */ var accessible_toolbar_button_container = (AccessibleToolbarButtonContainer); +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/toolbar-context/index.js +var toolbar_context = __webpack_require__(74); // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar-button/toolbar-button-container.js @@ -48079,6 +39048,7 @@ var toolbar_button_container_ToolbarButtonContainer = function ToolbarButtonCont + /** * External dependencies */ @@ -48099,46 +39069,44 @@ var toolbar_button_container_ToolbarButtonContainer = function ToolbarButtonCont function ToolbarButton(_ref) { var containerClassName = _ref.containerClassName, - icon = _ref.icon, - title = _ref.title, - shortcut = _ref.shortcut, - subscript = _ref.subscript, - _onClick = _ref.onClick, className = _ref.className, - isActive = _ref.isActive, - isDisabled = _ref.isDisabled, extraProps = _ref.extraProps, - children = _ref.children; - // It'll contain state if `ToolbarButton` is being used within - // `` - var accessibleToolbarState = Object(external_this_wp_element_["useContext"])(toolbar_context); - var button = Object(external_this_wp_element_["createElement"])(build_module_button, Object(esm_extends["a" /* default */])({ - icon: icon, - label: title, - shortcut: shortcut, - "data-subscript": subscript, - onClick: function onClick(event) { - event.stopPropagation(); + children = _ref.children, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["containerClassName", "className", "extraProps", "children"]); - if (_onClick) { - _onClick(event); - } - }, - className: classnames_default()('components-toolbar__control', className), - isPressed: isActive, - disabled: isDisabled - }, extraProps)); + var accessibleToolbarState = Object(external_this_wp_element_["useContext"])(toolbar_context["a" /* default */]); - if (accessibleToolbarState) { - return Object(external_this_wp_element_["createElement"])(accessible_toolbar_button_container, { + if (!accessibleToolbarState) { + // This should be deprecated when + // becomes stable. + return Object(external_this_wp_element_["createElement"])(toolbar_button_container, { className: containerClassName - }, button); - } // ToolbarButton is being used outside of the accessible Toolbar + }, Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({ + icon: props.icon, + label: props.title, + shortcut: props.shortcut, + "data-subscript": props.subscript, + onClick: function onClick(event) { + event.stopPropagation(); + + if (props.onClick) { + props.onClick(event); + } + }, + className: classnames_default()('components-toolbar__control', className), + isPressed: props.isActive, + disabled: props.isDisabled + }, extraProps)), children); + } // ToobarItem will pass all props to the render prop child, which will pass + // all props to Button. This means that ToolbarButton has the same API as + // Button. - return Object(external_this_wp_element_["createElement"])(toolbar_button_container, { - className: containerClassName - }, button, children); + return Object(external_this_wp_element_["createElement"])(toolbar_item["a" /* default */], Object(esm_extends["a" /* default */])({ + className: classnames_default()('components-toolbar-button', className) + }, props), function (toolbarItemProps) { + return Object(external_this_wp_element_["createElement"])(build_module_button["a" /* default */], toolbarItemProps, children); + }); } /* harmony default export */ var toolbar_button = (ToolbarButton); @@ -48146,10 +39114,16 @@ function ToolbarButton(_ref) { // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar-group/toolbar-group-container.js -var toolbar_group_container_ToolbarGroupContainer = function ToolbarGroupContainer(props) { - return Object(external_this_wp_element_["createElement"])("div", { - className: props.className - }, props.children); + + +var toolbar_group_container_ToolbarGroupContainer = function ToolbarGroupContainer(_ref) { + var className = _ref.className, + children = _ref.children, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["className", "children"]); + + return Object(external_this_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({ + className: className + }, props), children); }; /* harmony default export */ var toolbar_group_container = (toolbar_group_container_ToolbarGroupContainer); @@ -48159,15 +39133,10 @@ var toolbar_group_container_ToolbarGroupContainer = function ToolbarGroupContain -/** - * External dependencies - */ - /** * WordPress dependencies */ - /** * Internal dependencies */ @@ -48175,35 +39144,26 @@ var toolbar_group_container_ToolbarGroupContainer = function ToolbarGroupContain + function ToolbarGroupCollapsed(_ref) { var _ref$controls = _ref.controls, controls = _ref$controls === void 0 ? [] : _ref$controls, - className = _ref.className, - icon = _ref.icon, - label = _ref.label, - props = Object(objectWithoutProperties["a" /* default */])(_ref, ["controls", "className", "icon", "label"]); + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["controls"]); // It'll contain state if `ToolbarGroup` is being used within // `` - var accessibleToolbarState = Object(external_this_wp_element_["useContext"])(toolbar_context); + var accessibleToolbarState = Object(external_this_wp_element_["useContext"])(toolbar_context["a" /* default */]); var renderDropdownMenu = function renderDropdownMenu(toggleProps) { return Object(external_this_wp_element_["createElement"])(dropdown_menu, Object(esm_extends["a" /* default */])({ hasArrowIndicator: true, - icon: icon, - label: label, controls: controls, - className: className, toggleProps: toggleProps }, props)); }; if (accessibleToolbarState) { - return (// https://reakit.io/docs/composition/#render-props - Object(external_this_wp_element_["createElement"])(ToolbarItem, accessibleToolbarState, function (toolbarItemHTMLProps) { - return renderDropdownMenu(toolbarItemHTMLProps); - }) - ); + return Object(external_this_wp_element_["createElement"])(toolbar_item["a" /* default */], null, renderDropdownMenu); } return renderDropdownMenu(); @@ -48272,13 +39232,12 @@ function ToolbarGroup(_ref) { children = _ref.children, className = _ref.className, isCollapsed = _ref.isCollapsed, - icon = _ref.icon, title = _ref.title, - otherProps = Object(objectWithoutProperties["a" /* default */])(_ref, ["controls", "children", "className", "isCollapsed", "icon", "title"]); + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["controls", "children", "className", "isCollapsed", "title"]); // It'll contain state if `ToolbarGroup` is being used within // `` - var accessibleToolbarState = Object(external_this_wp_element_["useContext"])(toolbar_context); + var accessibleToolbarState = Object(external_this_wp_element_["useContext"])(toolbar_context["a" /* default */]); if ((!controls || !controls.length) && !children) { return null; @@ -48296,17 +39255,16 @@ function ToolbarGroup(_ref) { if (isCollapsed) { return Object(external_this_wp_element_["createElement"])(toolbar_group_collapsed, Object(esm_extends["a" /* default */])({ - icon: icon, label: title, controls: controlSets, className: finalClassName, children: children - }, otherProps)); + }, props)); } return Object(external_this_wp_element_["createElement"])(toolbar_group_container, Object(esm_extends["a" /* default */])({ className: finalClassName - }, otherProps), Object(external_this_lodash_["flatMap"])(controlSets, function (controlSet, indexOfSet) { + }, props), Object(external_this_lodash_["flatMap"])(controlSets, function (controlSet, indexOfSet) { return controlSet.map(function (control, indexOfControl) { return Object(external_this_wp_element_["createElement"])(toolbar_button, Object(esm_extends["a" /* default */])({ key: [indexOfSet, indexOfControl].join(), @@ -48318,6 +39276,30 @@ function ToolbarGroup(_ref) { /* harmony default export */ var toolbar_group = (ToolbarGroup); +// EXTERNAL MODULE: ./node_modules/reakit/es/Toolbar/ToolbarState.js +var ToolbarState = __webpack_require__(141); + +// EXTERNAL MODULE: ./node_modules/reakit-system/es/createComponent.js + 1 modules +var createComponent = __webpack_require__(61); + +// EXTERNAL MODULE: ./node_modules/reakit-system/es/createHook.js + 5 modules +var createHook = __webpack_require__(60); + +// EXTERNAL MODULE: ./node_modules/reakit/es/_rollupPluginBabelHelpers-f089acec.js +var _rollupPluginBabelHelpers_f089acec = __webpack_require__(43); + +// EXTERNAL MODULE: ./node_modules/reakit-system/es/useCreateElement.js +var useCreateElement = __webpack_require__(142); + +// EXTERNAL MODULE: ./node_modules/reakit/es/Id/IdProvider.js +var IdProvider = __webpack_require__(68); + +// EXTERNAL MODULE: ./node_modules/reakit/es/Box/Box.js +var Box = __webpack_require__(80); + +// EXTERNAL MODULE: ./node_modules/reakit/es/Id/IdState.js +var IdState = __webpack_require__(69); + // CONCATENATED MODULE: ./node_modules/reakit/es/Id/IdGroup.js @@ -48328,13 +39310,13 @@ function ToolbarGroup(_ref) { -var unstable_useIdGroup = createHook({ +var unstable_useIdGroup = Object(createHook["a" /* createHook */])({ name: "IdGroup", - compose: useBox, - useState: unstable_useIdState, + compose: Box["a" /* useBox */], + useState: IdState["a" /* unstable_useIdState */], keys: ["id"], useOptions: function useOptions(options, htmlProps) { - var generateId = Object(external_this_React_["useContext"])(unstable_IdContext); + var generateId = Object(external_this_React_["useContext"])(IdProvider["a" /* unstable_IdContext */]); var _React$useState = Object(external_this_React_["useState"])(function () { return options.id || htmlProps.id || options.baseId || generateId(); @@ -48347,18 +39329,18 @@ var unstable_useIdGroup = createHook({ options.unstable_setBaseId(baseId); } - return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, options, { + return Object(_rollupPluginBabelHelpers_f089acec["b" /* a */])({}, options, { baseId: baseId }); }, useProps: function useProps(options, htmlProps) { var id = typeof htmlProps.id === "undefined" ? options.id : htmlProps.id; - return _rollupPluginBabelHelpers_f089acec_objectSpread2({}, htmlProps, { + return Object(_rollupPluginBabelHelpers_f089acec["b" /* a */])({}, htmlProps, { id: id }); } }); -var unstable_IdGroup = createComponent({ +var unstable_IdGroup = Object(createComponent["a" /* createComponent */])({ as: "div", useHook: unstable_useIdGroup }); @@ -48380,23 +39362,23 @@ var unstable_IdGroup = createComponent({ -var useToolbar = createHook({ +var useToolbar = Object(createHook["a" /* createHook */])({ name: "Toolbar", compose: unstable_useIdGroup, - useState: useToolbarState, + useState: ToolbarState["a" /* useToolbarState */], useProps: function useProps(options, htmlProps) { - return _rollupPluginBabelHelpers_f089acec_objectSpread2({ + return Object(_rollupPluginBabelHelpers_f089acec["b" /* a */])({ role: "toolbar", "aria-orientation": options.orientation }, htmlProps); } }); -var Toolbar = createComponent({ +var Toolbar = Object(createComponent["a" /* createComponent */])({ as: "div", useHook: useToolbar, useCreateElement: function useCreateElement$1(type, props, children) { false ? undefined : void 0; - return useCreateElement_useCreateElement(type, props, children); + return Object(useCreateElement["a" /* useCreateElement */])(type, props, children); } }); @@ -48427,11 +39409,11 @@ function ToolbarContainer(_ref, ref) { props = Object(objectWithoutProperties["a" /* default */])(_ref, ["accessibilityLabel"]); // https://reakit.io/docs/basic-concepts/#state-hooks - var toolbarState = useToolbarState({ + var toolbarState = Object(ToolbarState["a" /* useToolbarState */])({ loop: true }); return (// This will provide state for `ToolbarButton`'s - Object(external_this_wp_element_["createElement"])(toolbar_context.Provider, { + Object(external_this_wp_element_["createElement"])(toolbar_context["a" /* default */].Provider, { value: toolbarState }, Object(external_this_wp_element_["createElement"])(Toolbar, Object(esm_extends["a" /* default */])({ ref: ref, @@ -48486,40 +39468,17 @@ function toolbar_Toolbar(_ref) { /* harmony default export */ var toolbar = (toolbar_Toolbar); -// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/index.js +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/index.js +var slot_fill = __webpack_require__(175); +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/slot.js +var slot = __webpack_require__(179); +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/fill.js +var fill = __webpack_require__(178); -/** - * Internal dependencies - */ - - - - - - -function createSlotFill(name) { - var FillComponent = function FillComponent(props) { - return Object(external_this_wp_element_["createElement"])(slot_fill_fill, Object(esm_extends["a" /* default */])({ - name: name - }, props)); - }; - - FillComponent.displayName = name + 'Fill'; - - var SlotComponent = function SlotComponent(props) { - return Object(external_this_wp_element_["createElement"])(slot_fill_slot, Object(esm_extends["a" /* default */])({ - name: name - }, props)); - }; - - SlotComponent.displayName = name + 'Slot'; - return { - Fill: FillComponent, - Slot: SlotComponent - }; -} +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/context.js +var slot_fill_context = __webpack_require__(90); // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/navigate-regions/index.js @@ -48837,8 +39796,11 @@ function withFilters(hookName) { }, 'withFilters'); } +// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-focus-return/context.js +var with_focus_return_context = __webpack_require__(177); + // EXTERNAL MODULE: ./node_modules/uuid/v4.js -var v4 = __webpack_require__(68); +var v4 = __webpack_require__(81); var v4_default = /*#__PURE__*/__webpack_require__.n(v4); // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-notices/index.js @@ -48853,6 +39815,10 @@ var v4_default = /*#__PURE__*/__webpack_require__.n(v4); +function with_notices_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function with_notices_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { with_notices_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { with_notices_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -48913,7 +39879,7 @@ var v4_default = /*#__PURE__*/__webpack_require__.n(v4); Object(createClass["a" /* default */])(WrappedBlockEdit, [{ key: "createNotice", value: function createNotice(notice) { - var noticeToAdd = notice.id ? notice : Object(objectSpread["a" /* default */])({}, notice, { + var noticeToAdd = notice.id ? notice : with_notices_objectSpread({}, notice, { id: v4_default()() }); this.setState(function (state) { @@ -48984,19 +39950,138 @@ var v4_default = /*#__PURE__*/__webpack_require__.n(v4); ); })); +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/text/font-family.js +var fontFamily = "font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto,\nOxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;"; + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/text/mixins.js + + +/** + * Internal dependencies + */ + +var fontWeightNormal = "font-weight: 400;"; +var fontWeightSemibold = "font-weight: 600;"; +var mixins_title = "\n ".concat(fontWeightNormal, "\n"); +var titleLarge = "\n\tfont-size: 32px;\n\tline-height: 40px;\n"; +var titleMedium = "\n\tfont-size: 24px;\n\tline-height: 32px;\n"; +var titleSmall = "\n\tfont-size: 20px;\n\tline-height: 28px;\n"; +var subtitle = "\n\t".concat(fontWeightSemibold, "\n\tfont-size: 14px;\n\tline-height: 20px;\n"); +var subtitleLarge = "\n\tfont-size: 16px;\n\tline-height: 24px;\n"; +var subtitleSmall = "\n\tfont-size: 14px;\n\tline-height: 20px;\n"; +var mixins_body = "\n\t".concat(fontWeightNormal, "\n"); +var bodyLarge = "\n\tfont-size: 16px;\n\tline-height: 24px;\n"; +var bodySmall = "\n\tfont-size: 14px;\n\tline-height: 20px;\n"; +var mixins_button = "\n ".concat(fontWeightSemibold, "\n font-size: 14px;\n line-height: 20px;\n"); +var caption = "\n\t".concat(fontWeightNormal, "\n\tfont-size: 12px;\n\tline-height: 16px;\n"); +var mixins_label = "\n\t".concat(fontWeightSemibold, "\n\tfont-size: 12px;\n\tline-height: 16px;\n"); +/** + * @typedef {'title.large'|'title.medium'|'title.small'|'subtitle'|'subtitle.small'|'body'|'body.small'|'button'|'caption'|'label'} TextVariant + */ + +/** + * @param {TextVariant} variantName + */ + +var mixins_variant = function variant(variantName) { + switch (variantName) { + case 'title.large': + return ( + /*#__PURE__*/ + css_browser_esm(mixins_title, " ", titleLarge, true ? "" : undefined) + ); + + case 'title.medium': + return ( + /*#__PURE__*/ + css_browser_esm(mixins_title, " ", titleMedium, true ? "" : undefined) + ); + + case 'title.small': + return ( + /*#__PURE__*/ + css_browser_esm(mixins_title, " ", titleSmall, true ? "" : undefined) + ); + + case 'subtitle': + return ( + /*#__PURE__*/ + css_browser_esm(subtitle, " ", subtitleLarge, true ? "" : undefined) + ); + + case 'subtitle.small': + return ( + /*#__PURE__*/ + css_browser_esm(subtitle, " ", subtitleSmall, true ? "" : undefined) + ); + + case 'body': + return ( + /*#__PURE__*/ + css_browser_esm(mixins_body, " ", bodyLarge, true ? "" : undefined) + ); + + case 'body.small': + return ( + /*#__PURE__*/ + css_browser_esm(mixins_body, " ", bodySmall, true ? "" : undefined) + ); + + case 'button': + return mixins_button; + + case 'caption': + return caption; + + case 'label': + return mixins_label; + } +}; +/** + * @typedef {Object} TextProps + * @property {TextVariant} variant + */ + +/** + * @param {TextProps} props + */ + + +var mixins_text = function text(props) { + return ( + /*#__PURE__*/ + css_browser_esm(fontFamily, " ", mixins_variant(props.variant), true ? "" : undefined) + ); +}; + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/text/text.styles.js + + +/** + * Internal dependencies + */ + +var __experimentalText = styled_base_browser_esm("p", { + target: "e11g7orr0" +})("margin: 0;", mixins_text, true ? "" : undefined); + +// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/text/index.js + + // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/index.js -/* concated harmony reexport Circle */__webpack_require__.d(__webpack_exports__, "Circle", function() { return svg_Circle; }); -/* concated harmony reexport G */__webpack_require__.d(__webpack_exports__, "G", function() { return svg_G; }); -/* concated harmony reexport Path */__webpack_require__.d(__webpack_exports__, "Path", function() { return svg_Path; }); -/* concated harmony reexport Polygon */__webpack_require__.d(__webpack_exports__, "Polygon", function() { return svg_Polygon; }); -/* concated harmony reexport Rect */__webpack_require__.d(__webpack_exports__, "Rect", function() { return svg_Rect; }); -/* concated harmony reexport SVG */__webpack_require__.d(__webpack_exports__, "SVG", function() { return svg_SVG; }); -/* concated harmony reexport HorizontalRule */__webpack_require__.d(__webpack_exports__, "HorizontalRule", function() { return HorizontalRule; }); -/* concated harmony reexport BlockQuotation */__webpack_require__.d(__webpack_exports__, "BlockQuotation", function() { return BlockQuotation; }); -/* concated harmony reexport Animate */__webpack_require__.d(__webpack_exports__, "Animate", function() { return build_module_animate; }); +/* concated harmony reexport SVG */__webpack_require__.d(__webpack_exports__, "SVG", function() { return external_this_wp_primitives_["SVG"]; }); +/* concated harmony reexport Path */__webpack_require__.d(__webpack_exports__, "Path", function() { return external_this_wp_primitives_["Path"]; }); +/* concated harmony reexport Circle */__webpack_require__.d(__webpack_exports__, "Circle", function() { return external_this_wp_primitives_["Circle"]; }); +/* concated harmony reexport Polygon */__webpack_require__.d(__webpack_exports__, "Polygon", function() { return external_this_wp_primitives_["Polygon"]; }); +/* concated harmony reexport Rect */__webpack_require__.d(__webpack_exports__, "Rect", function() { return external_this_wp_primitives_["Rect"]; }); +/* concated harmony reexport G */__webpack_require__.d(__webpack_exports__, "G", function() { return external_this_wp_primitives_["G"]; }); +/* concated harmony reexport HorizontalRule */__webpack_require__.d(__webpack_exports__, "HorizontalRule", function() { return external_this_wp_primitives_["HorizontalRule"]; }); +/* concated harmony reexport BlockQuotation */__webpack_require__.d(__webpack_exports__, "BlockQuotation", function() { return external_this_wp_primitives_["BlockQuotation"]; }); +/* concated harmony reexport Animate */__webpack_require__.d(__webpack_exports__, "Animate", function() { return animate["a" /* default */]; }); +/* concated harmony reexport __experimentalAnglePicker */__webpack_require__.d(__webpack_exports__, "__experimentalAnglePicker", function() { return AnglePicker; }); /* concated harmony reexport Autocomplete */__webpack_require__.d(__webpack_exports__, "Autocomplete", function() { return autocomplete; }); /* concated harmony reexport BaseControl */__webpack_require__.d(__webpack_exports__, "BaseControl", function() { return base_control; }); -/* concated harmony reexport Button */__webpack_require__.d(__webpack_exports__, "Button", function() { return build_module_button; }); +/* concated harmony reexport Button */__webpack_require__.d(__webpack_exports__, "Button", function() { return build_module_button["a" /* default */]; }); /* concated harmony reexport ButtonGroup */__webpack_require__.d(__webpack_exports__, "ButtonGroup", function() { return button_group; }); /* concated harmony reexport Card */__webpack_require__.d(__webpack_exports__, "Card", function() { return card; }); /* concated harmony reexport CardBody */__webpack_require__.d(__webpack_exports__, "CardBody", function() { return card_body; }); @@ -49010,7 +40095,7 @@ var v4_default = /*#__PURE__*/__webpack_require__.n(v4); /* concated harmony reexport ColorPalette */__webpack_require__.d(__webpack_exports__, "ColorPalette", function() { return ColorPalette; }); /* concated harmony reexport ColorPicker */__webpack_require__.d(__webpack_exports__, "ColorPicker", function() { return color_picker_ColorPicker; }); /* concated harmony reexport CustomSelectControl */__webpack_require__.d(__webpack_exports__, "CustomSelectControl", function() { return CustomSelectControl; }); -/* concated harmony reexport Dashicon */__webpack_require__.d(__webpack_exports__, "Dashicon", function() { return dashicon_Dashicon; }); +/* concated harmony reexport Dashicon */__webpack_require__.d(__webpack_exports__, "Dashicon", function() { return dashicon["a" /* default */]; }); /* concated harmony reexport DateTimePicker */__webpack_require__.d(__webpack_exports__, "DateTimePicker", function() { return date_time_DateTimePicker; }); /* concated harmony reexport DatePicker */__webpack_require__.d(__webpack_exports__, "DatePicker", function() { return date_time_date; }); /* concated harmony reexport TimePicker */__webpack_require__.d(__webpack_exports__, "TimePicker", function() { return time; }); @@ -49018,6 +40103,7 @@ var v4_default = /*#__PURE__*/__webpack_require__.n(v4); /* concated harmony reexport Disabled */__webpack_require__.d(__webpack_exports__, "Disabled", function() { return build_module_disabled; }); /* concated harmony reexport Draggable */__webpack_require__.d(__webpack_exports__, "Draggable", function() { return draggable; }); /* concated harmony reexport DropZone */__webpack_require__.d(__webpack_exports__, "DropZone", function() { return drop_zone; }); +/* concated harmony reexport __unstableUseDropZone */__webpack_require__.d(__webpack_exports__, "__unstableUseDropZone", function() { return useDropZone; }); /* concated harmony reexport DropZoneProvider */__webpack_require__.d(__webpack_exports__, "DropZoneProvider", function() { return provider; }); /* concated harmony reexport Dropdown */__webpack_require__.d(__webpack_exports__, "Dropdown", function() { return dropdown; }); /* concated harmony reexport DropdownMenu */__webpack_require__.d(__webpack_exports__, "DropdownMenu", function() { return dropdown_menu; }); @@ -49032,14 +40118,14 @@ var v4_default = /*#__PURE__*/__webpack_require__.n(v4); /* concated harmony reexport __experimentalCustomGradientPicker */__webpack_require__.d(__webpack_exports__, "__experimentalCustomGradientPicker", function() { return CustomGradientPicker; }); /* concated harmony reexport Guide */__webpack_require__.d(__webpack_exports__, "Guide", function() { return Guide; }); /* concated harmony reexport GuidePage */__webpack_require__.d(__webpack_exports__, "GuidePage", function() { return GuidePage; }); -/* concated harmony reexport Icon */__webpack_require__.d(__webpack_exports__, "Icon", function() { return build_module_icon; }); +/* concated harmony reexport Icon */__webpack_require__.d(__webpack_exports__, "Icon", function() { return components_build_module_icon["a" /* default */]; }); /* concated harmony reexport IconButton */__webpack_require__.d(__webpack_exports__, "IconButton", function() { return deprecated; }); /* concated harmony reexport KeyboardShortcuts */__webpack_require__.d(__webpack_exports__, "KeyboardShortcuts", function() { return keyboard_shortcuts; }); /* concated harmony reexport MenuGroup */__webpack_require__.d(__webpack_exports__, "MenuGroup", function() { return menu_group; }); /* concated harmony reexport MenuItem */__webpack_require__.d(__webpack_exports__, "MenuItem", function() { return menu_item; }); /* concated harmony reexport MenuItemsChoice */__webpack_require__.d(__webpack_exports__, "MenuItemsChoice", function() { return MenuItemsChoice; }); /* concated harmony reexport Modal */__webpack_require__.d(__webpack_exports__, "Modal", function() { return modal; }); -/* concated harmony reexport ScrollLock */__webpack_require__.d(__webpack_exports__, "ScrollLock", function() { return scroll_lock; }); +/* concated harmony reexport ScrollLock */__webpack_require__.d(__webpack_exports__, "ScrollLock", function() { return scroll_lock["a" /* default */]; }); /* concated harmony reexport NavigableMenu */__webpack_require__.d(__webpack_exports__, "NavigableMenu", function() { return menu; }); /* concated harmony reexport TabbableContainer */__webpack_require__.d(__webpack_exports__, "TabbableContainer", function() { return tabbable; }); /* concated harmony reexport Notice */__webpack_require__.d(__webpack_exports__, "Notice", function() { return build_module_notice; }); @@ -49049,7 +40135,7 @@ var v4_default = /*#__PURE__*/__webpack_require__.n(v4); /* concated harmony reexport PanelHeader */__webpack_require__.d(__webpack_exports__, "PanelHeader", function() { return panel_header; }); /* concated harmony reexport PanelRow */__webpack_require__.d(__webpack_exports__, "PanelRow", function() { return row; }); /* concated harmony reexport Placeholder */__webpack_require__.d(__webpack_exports__, "Placeholder", function() { return placeholder; }); -/* concated harmony reexport Popover */__webpack_require__.d(__webpack_exports__, "Popover", function() { return popover; }); +/* concated harmony reexport Popover */__webpack_require__.d(__webpack_exports__, "Popover", function() { return popover["a" /* default */]; }); /* concated harmony reexport QueryControls */__webpack_require__.d(__webpack_exports__, "QueryControls", function() { return QueryControls; }); /* concated harmony reexport RadioControl */__webpack_require__.d(__webpack_exports__, "RadioControl", function() { return RadioControl; }); /* concated harmony reexport RangeControl */__webpack_require__.d(__webpack_exports__, "RangeControl", function() { return range_control; }); @@ -49057,7 +40143,7 @@ var v4_default = /*#__PURE__*/__webpack_require__.n(v4); /* concated harmony reexport ResponsiveWrapper */__webpack_require__.d(__webpack_exports__, "ResponsiveWrapper", function() { return responsive_wrapper; }); /* concated harmony reexport SandBox */__webpack_require__.d(__webpack_exports__, "SandBox", function() { return sandbox; }); /* concated harmony reexport SelectControl */__webpack_require__.d(__webpack_exports__, "SelectControl", function() { return SelectControl; }); -/* concated harmony reexport Snackbar */__webpack_require__.d(__webpack_exports__, "Snackbar", function() { return snackbar; }); +/* concated harmony reexport Snackbar */__webpack_require__.d(__webpack_exports__, "Snackbar", function() { return snackbar["a" /* default */]; }); /* concated harmony reexport SnackbarList */__webpack_require__.d(__webpack_exports__, "SnackbarList", function() { return snackbar_list; }); /* concated harmony reexport Spinner */__webpack_require__.d(__webpack_exports__, "Spinner", function() { return Spinner; }); /* concated harmony reexport TabPanel */__webpack_require__.d(__webpack_exports__, "TabPanel", function() { return tab_panel; }); @@ -49069,25 +40155,30 @@ var v4_default = /*#__PURE__*/__webpack_require__.n(v4); /* concated harmony reexport Toolbar */__webpack_require__.d(__webpack_exports__, "Toolbar", function() { return toolbar; }); /* concated harmony reexport ToolbarButton */__webpack_require__.d(__webpack_exports__, "ToolbarButton", function() { return toolbar_button; }); /* concated harmony reexport ToolbarGroup */__webpack_require__.d(__webpack_exports__, "ToolbarGroup", function() { return toolbar_group; }); -/* concated harmony reexport Tooltip */__webpack_require__.d(__webpack_exports__, "Tooltip", function() { return build_module_tooltip; }); +/* concated harmony reexport __experimentalToolbarItem */__webpack_require__.d(__webpack_exports__, "__experimentalToolbarItem", function() { return toolbar_item["a" /* default */]; }); +/* concated harmony reexport Tooltip */__webpack_require__.d(__webpack_exports__, "Tooltip", function() { return build_module_tooltip["a" /* default */]; }); /* concated harmony reexport TreeSelect */__webpack_require__.d(__webpack_exports__, "TreeSelect", function() { return TreeSelect; }); /* concated harmony reexport VisuallyHidden */__webpack_require__.d(__webpack_exports__, "VisuallyHidden", function() { return visually_hidden; }); -/* concated harmony reexport IsolatedEventContainer */__webpack_require__.d(__webpack_exports__, "IsolatedEventContainer", function() { return isolated_event_container; }); -/* concated harmony reexport createSlotFill */__webpack_require__.d(__webpack_exports__, "createSlotFill", function() { return createSlotFill; }); -/* concated harmony reexport Slot */__webpack_require__.d(__webpack_exports__, "Slot", function() { return slot_fill_slot; }); -/* concated harmony reexport Fill */__webpack_require__.d(__webpack_exports__, "Fill", function() { return slot_fill_fill; }); -/* concated harmony reexport SlotFillProvider */__webpack_require__.d(__webpack_exports__, "SlotFillProvider", function() { return slot_fill_context; }); -/* concated harmony reexport __experimentalSlotFillConsumer */__webpack_require__.d(__webpack_exports__, "__experimentalSlotFillConsumer", function() { return context_Consumer; }); +/* concated harmony reexport IsolatedEventContainer */__webpack_require__.d(__webpack_exports__, "IsolatedEventContainer", function() { return isolated_event_container["a" /* default */]; }); +/* concated harmony reexport createSlotFill */__webpack_require__.d(__webpack_exports__, "createSlotFill", function() { return slot_fill["a" /* createSlotFill */]; }); +/* concated harmony reexport Slot */__webpack_require__.d(__webpack_exports__, "Slot", function() { return slot["a" /* default */]; }); +/* concated harmony reexport Fill */__webpack_require__.d(__webpack_exports__, "Fill", function() { return fill["a" /* default */]; }); +/* concated harmony reexport SlotFillProvider */__webpack_require__.d(__webpack_exports__, "SlotFillProvider", function() { return slot_fill_context["b" /* default */]; }); +/* concated harmony reexport __experimentalSlotFillConsumer */__webpack_require__.d(__webpack_exports__, "__experimentalSlotFillConsumer", function() { return slot_fill_context["a" /* Consumer */]; }); /* concated harmony reexport navigateRegions */__webpack_require__.d(__webpack_exports__, "navigateRegions", function() { return navigate_regions; }); -/* concated harmony reexport withConstrainedTabbing */__webpack_require__.d(__webpack_exports__, "withConstrainedTabbing", function() { return with_constrained_tabbing; }); +/* concated harmony reexport withConstrainedTabbing */__webpack_require__.d(__webpack_exports__, "withConstrainedTabbing", function() { return with_constrained_tabbing["a" /* default */]; }); /* concated harmony reexport withFallbackStyles */__webpack_require__.d(__webpack_exports__, "withFallbackStyles", function() { return with_fallback_styles; }); /* concated harmony reexport withFilters */__webpack_require__.d(__webpack_exports__, "withFilters", function() { return withFilters; }); -/* concated harmony reexport withFocusOutside */__webpack_require__.d(__webpack_exports__, "withFocusOutside", function() { return with_focus_outside; }); -/* concated harmony reexport withFocusReturn */__webpack_require__.d(__webpack_exports__, "withFocusReturn", function() { return with_focus_return; }); -/* concated harmony reexport FocusReturnProvider */__webpack_require__.d(__webpack_exports__, "FocusReturnProvider", function() { return with_focus_return_context; }); +/* concated harmony reexport withFocusOutside */__webpack_require__.d(__webpack_exports__, "withFocusOutside", function() { return with_focus_outside["a" /* default */]; }); +/* concated harmony reexport withFocusReturn */__webpack_require__.d(__webpack_exports__, "withFocusReturn", function() { return with_focus_return["a" /* default */]; }); +/* concated harmony reexport FocusReturnProvider */__webpack_require__.d(__webpack_exports__, "FocusReturnProvider", function() { return with_focus_return_context["b" /* default */]; }); /* concated harmony reexport withNotices */__webpack_require__.d(__webpack_exports__, "withNotices", function() { return with_notices; }); /* concated harmony reexport withSpokenMessages */__webpack_require__.d(__webpack_exports__, "withSpokenMessages", function() { return with_spoken_messages; }); -// Components +/* concated harmony reexport __experimentalText */__webpack_require__.d(__webpack_exports__, "__experimentalText", function() { return __experimentalText; }); +// Primitives + // Components + + @@ -49178,5 +40269,11170 @@ var v4_default = /*#__PURE__*/__webpack_require__.n(v4); + +/***/ }), +/* 253 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); + +// EXTERNAL MODULE: external {"this":"ReactDOM"} +var external_this_ReactDOM_ = __webpack_require__(64); +var external_this_ReactDOM_default = /*#__PURE__*/__webpack_require__.n(external_this_ReactDOM_); + +// EXTERNAL MODULE: external {"this":"React"} +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 +var prop_types = __webpack_require__(25); +var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types); + +// CONCATENATED MODULE: ./node_modules/react-portal/es/utils.js +var canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement); +// CONCATENATED MODULE: ./node_modules/react-portal/es/Portal.js +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + + + + + +var Portal_Portal = function (_React$Component) { + _inherits(Portal, _React$Component); + + function Portal() { + _classCallCheck(this, Portal); + + return _possibleConstructorReturn(this, (Portal.__proto__ || Object.getPrototypeOf(Portal)).apply(this, arguments)); + } + + _createClass(Portal, [{ + key: 'componentWillUnmount', + value: function componentWillUnmount() { + if (this.defaultNode) { + document.body.removeChild(this.defaultNode); + } + this.defaultNode = null; + } + }, { + key: 'render', + value: function render() { + if (!canUseDOM) { + return null; + } + if (!this.props.node && !this.defaultNode) { + this.defaultNode = document.createElement('div'); + document.body.appendChild(this.defaultNode); + } + return external_this_ReactDOM_default.a.createPortal(this.props.children, this.props.node || this.defaultNode); + } + }]); + + return Portal; +}(external_this_React_default.a.Component); + +Portal_Portal.propTypes = { + children: prop_types_default.a.node.isRequired, + node: prop_types_default.a.any +}; + +/* harmony default export */ var es_Portal = (Portal_Portal); +// CONCATENATED MODULE: ./node_modules/react-portal/es/LegacyPortal.js +var LegacyPortal_createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +function LegacyPortal_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function LegacyPortal_possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function LegacyPortal_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +// This file is a fallback for a consumer who is not yet on React 16 +// as createPortal was introduced in React 16 + + + + + +var LegacyPortal_Portal = function (_React$Component) { + LegacyPortal_inherits(Portal, _React$Component); + + function Portal() { + LegacyPortal_classCallCheck(this, Portal); + + return LegacyPortal_possibleConstructorReturn(this, (Portal.__proto__ || Object.getPrototypeOf(Portal)).apply(this, arguments)); + } + + LegacyPortal_createClass(Portal, [{ + key: 'componentDidMount', + value: function componentDidMount() { + this.renderPortal(); + } + }, { + key: 'componentDidUpdate', + value: function componentDidUpdate(props) { + this.renderPortal(); + } + }, { + key: 'componentWillUnmount', + value: function componentWillUnmount() { + external_this_ReactDOM_default.a.unmountComponentAtNode(this.defaultNode || this.props.node); + if (this.defaultNode) { + document.body.removeChild(this.defaultNode); + } + this.defaultNode = null; + this.portal = null; + } + }, { + key: 'renderPortal', + value: function renderPortal(props) { + if (!this.props.node && !this.defaultNode) { + this.defaultNode = document.createElement('div'); + document.body.appendChild(this.defaultNode); + } + + var children = this.props.children; + // https://gist.github.com/jimfb/d99e0678e9da715ccf6454961ef04d1b + if (typeof this.props.children.type === 'function') { + children = external_this_React_default.a.cloneElement(this.props.children); + } + + this.portal = external_this_ReactDOM_default.a.unstable_renderSubtreeIntoContainer(this, children, this.props.node || this.defaultNode); + } + }, { + key: 'render', + value: function render() { + return null; + } + }]); + + return Portal; +}(external_this_React_default.a.Component); + +/* harmony default export */ var LegacyPortal = (LegacyPortal_Portal); + + +LegacyPortal_Portal.propTypes = { + children: prop_types_default.a.node.isRequired, + node: prop_types_default.a.any +}; +// CONCATENATED MODULE: ./node_modules/react-portal/es/PortalCompat.js + + + + + +var PortalCompat_Portal = void 0; + +if (external_this_ReactDOM_default.a.createPortal) { + PortalCompat_Portal = es_Portal; +} else { + PortalCompat_Portal = LegacyPortal; +} + +/* harmony default export */ var PortalCompat = (PortalCompat_Portal); +// CONCATENATED MODULE: ./node_modules/react-portal/es/PortalWithState.js +var PortalWithState_createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +function PortalWithState_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function PortalWithState_possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function PortalWithState_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + + + + +var KEYCODES = { + ESCAPE: 27 +}; + +var PortalWithState_PortalWithState = function (_React$Component) { + PortalWithState_inherits(PortalWithState, _React$Component); + + function PortalWithState(props) { + PortalWithState_classCallCheck(this, PortalWithState); + + var _this = PortalWithState_possibleConstructorReturn(this, (PortalWithState.__proto__ || Object.getPrototypeOf(PortalWithState)).call(this, props)); + + _this.portalNode = null; + _this.state = { active: !!props.defaultOpen }; + _this.openPortal = _this.openPortal.bind(_this); + _this.closePortal = _this.closePortal.bind(_this); + _this.wrapWithPortal = _this.wrapWithPortal.bind(_this); + _this.handleOutsideMouseClick = _this.handleOutsideMouseClick.bind(_this); + _this.handleKeydown = _this.handleKeydown.bind(_this); + return _this; + } + + PortalWithState_createClass(PortalWithState, [{ + key: 'componentDidMount', + value: function componentDidMount() { + if (this.props.closeOnEsc) { + document.addEventListener('keydown', this.handleKeydown); + } + if (this.props.closeOnOutsideClick) { + document.addEventListener('click', this.handleOutsideMouseClick); + } + } + }, { + key: 'componentWillUnmount', + value: function componentWillUnmount() { + if (this.props.closeOnEsc) { + document.removeEventListener('keydown', this.handleKeydown); + } + if (this.props.closeOnOutsideClick) { + document.removeEventListener('click', this.handleOutsideMouseClick); + } + } + }, { + key: 'openPortal', + value: function openPortal(e) { + if (this.state.active) { + return; + } + if (e && e.nativeEvent) { + e.nativeEvent.stopImmediatePropagation(); + } + this.setState({ active: true }, this.props.onOpen); + } + }, { + key: 'closePortal', + value: function closePortal() { + if (!this.state.active) { + return; + } + this.setState({ active: false }, this.props.onClose); + } + }, { + key: 'wrapWithPortal', + value: function wrapWithPortal(children) { + var _this2 = this; + + if (!this.state.active) { + return null; + } + return external_this_React_default.a.createElement( + PortalCompat, + { + node: this.props.node, + key: 'react-portal', + ref: function ref(portalNode) { + return _this2.portalNode = portalNode; + } + }, + children + ); + } + }, { + key: 'handleOutsideMouseClick', + value: function handleOutsideMouseClick(e) { + if (!this.state.active) { + return; + } + var root = this.portalNode && (this.portalNode.props.node || this.portalNode.defaultNode); + if (!root || root.contains(e.target) || e.button && e.button !== 0) { + return; + } + this.closePortal(); + } + }, { + key: 'handleKeydown', + value: function handleKeydown(e) { + if (e.keyCode === KEYCODES.ESCAPE && this.state.active) { + this.closePortal(); + } + } + }, { + key: 'render', + value: function render() { + return this.props.children({ + openPortal: this.openPortal, + closePortal: this.closePortal, + portal: this.wrapWithPortal, + isOpen: this.state.active + }); + } + }]); + + return PortalWithState; +}(external_this_React_default.a.Component); + +PortalWithState_PortalWithState.propTypes = { + children: prop_types_default.a.func.isRequired, + defaultOpen: prop_types_default.a.bool, + node: prop_types_default.a.any, + closeOnEsc: prop_types_default.a.bool, + closeOnOutsideClick: prop_types_default.a.bool, + onOpen: prop_types_default.a.func, + onClose: prop_types_default.a.func +}; + +PortalWithState_PortalWithState.defaultProps = { + onOpen: function onOpen() {}, + onClose: function onClose() {} +}; + +/* harmony default export */ var es_PortalWithState = (PortalWithState_PortalWithState); +// CONCATENATED MODULE: ./node_modules/react-portal/es/index.js +/* concated harmony reexport Portal */__webpack_require__.d(__webpack_exports__, "Portal", function() { return PortalCompat; }); +/* concated harmony reexport PortalWithState */__webpack_require__.d(__webpack_exports__, "PortalWithState", function() { return es_PortalWithState; }); + + + + + +/***/ }), +/* 254 */, +/* 255 */, +/* 256 */, +/* 257 */, +/* 258 */, +/* 259 */, +/* 260 */, +/* 261 */ +/***/ (function(module, exports) { + +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} + +module.exports = _defineProperty; + +/***/ }), +/* 262 */ +/***/ (function(module, exports, __webpack_require__) { + +/*! + * clipboard.js v2.0.4 + * https://zenorocha.github.io/clipboard.js + * + * Licensed MIT © Zeno Rocha + */ +(function webpackUniversalModuleDefinition(root, factory) { + if(true) + module.exports = factory(); + else {} +})(this, function() { +return /******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 0); +/******/ }) +/************************************************************************/ +/******/ ([ +/* 0 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _clipboardAction = __webpack_require__(1); + +var _clipboardAction2 = _interopRequireDefault(_clipboardAction); + +var _tinyEmitter = __webpack_require__(3); + +var _tinyEmitter2 = _interopRequireDefault(_tinyEmitter); + +var _goodListener = __webpack_require__(4); + +var _goodListener2 = _interopRequireDefault(_goodListener); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +/** + * Base class which takes one or more elements, adds event listeners to them, + * and instantiates a new `ClipboardAction` on each click. + */ +var Clipboard = function (_Emitter) { + _inherits(Clipboard, _Emitter); + + /** + * @param {String|HTMLElement|HTMLCollection|NodeList} trigger + * @param {Object} options + */ + function Clipboard(trigger, options) { + _classCallCheck(this, Clipboard); + + var _this = _possibleConstructorReturn(this, (Clipboard.__proto__ || Object.getPrototypeOf(Clipboard)).call(this)); + + _this.resolveOptions(options); + _this.listenClick(trigger); + return _this; + } + + /** + * Defines if attributes would be resolved using internal setter functions + * or custom functions that were passed in the constructor. + * @param {Object} options + */ + + + _createClass(Clipboard, [{ + key: 'resolveOptions', + value: function resolveOptions() { + var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + + this.action = typeof options.action === 'function' ? options.action : this.defaultAction; + this.target = typeof options.target === 'function' ? options.target : this.defaultTarget; + this.text = typeof options.text === 'function' ? options.text : this.defaultText; + this.container = _typeof(options.container) === 'object' ? options.container : document.body; + } + + /** + * Adds a click event listener to the passed trigger. + * @param {String|HTMLElement|HTMLCollection|NodeList} trigger + */ + + }, { + key: 'listenClick', + value: function listenClick(trigger) { + var _this2 = this; + + this.listener = (0, _goodListener2.default)(trigger, 'click', function (e) { + return _this2.onClick(e); + }); + } + + /** + * Defines a new `ClipboardAction` on each click event. + * @param {Event} e + */ + + }, { + key: 'onClick', + value: function onClick(e) { + var trigger = e.delegateTarget || e.currentTarget; + + if (this.clipboardAction) { + this.clipboardAction = null; + } + + this.clipboardAction = new _clipboardAction2.default({ + action: this.action(trigger), + target: this.target(trigger), + text: this.text(trigger), + container: this.container, + trigger: trigger, + emitter: this + }); + } + + /** + * Default `action` lookup function. + * @param {Element} trigger + */ + + }, { + key: 'defaultAction', + value: function defaultAction(trigger) { + return getAttributeValue('action', trigger); + } + + /** + * Default `target` lookup function. + * @param {Element} trigger + */ + + }, { + key: 'defaultTarget', + value: function defaultTarget(trigger) { + var selector = getAttributeValue('target', trigger); + + if (selector) { + return document.querySelector(selector); + } + } + + /** + * Returns the support of the given action, or all actions if no action is + * given. + * @param {String} [action] + */ + + }, { + key: 'defaultText', + + + /** + * Default `text` lookup function. + * @param {Element} trigger + */ + value: function defaultText(trigger) { + return getAttributeValue('text', trigger); + } + + /** + * Destroy lifecycle. + */ + + }, { + key: 'destroy', + value: function destroy() { + this.listener.destroy(); + + if (this.clipboardAction) { + this.clipboardAction.destroy(); + this.clipboardAction = null; + } + } + }], [{ + key: 'isSupported', + value: function isSupported() { + var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['copy', 'cut']; + + var actions = typeof action === 'string' ? [action] : action; + var support = !!document.queryCommandSupported; + + actions.forEach(function (action) { + support = support && !!document.queryCommandSupported(action); + }); + + return support; + } + }]); + + return Clipboard; +}(_tinyEmitter2.default); + +/** + * Helper function to retrieve attribute value. + * @param {String} suffix + * @param {Element} element + */ + + +function getAttributeValue(suffix, element) { + var attribute = 'data-clipboard-' + suffix; + + if (!element.hasAttribute(attribute)) { + return; + } + + return element.getAttribute(attribute); +} + +module.exports = Clipboard; + +/***/ }), +/* 1 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _select = __webpack_require__(2); + +var _select2 = _interopRequireDefault(_select); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +/** + * Inner class which performs selection from either `text` or `target` + * properties and then executes copy or cut operations. + */ +var ClipboardAction = function () { + /** + * @param {Object} options + */ + function ClipboardAction(options) { + _classCallCheck(this, ClipboardAction); + + this.resolveOptions(options); + this.initSelection(); + } + + /** + * Defines base properties passed from constructor. + * @param {Object} options + */ + + + _createClass(ClipboardAction, [{ + key: 'resolveOptions', + value: function resolveOptions() { + var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + + this.action = options.action; + this.container = options.container; + this.emitter = options.emitter; + this.target = options.target; + this.text = options.text; + this.trigger = options.trigger; + + this.selectedText = ''; + } + + /** + * Decides which selection strategy is going to be applied based + * on the existence of `text` and `target` properties. + */ + + }, { + key: 'initSelection', + value: function initSelection() { + if (this.text) { + this.selectFake(); + } else if (this.target) { + this.selectTarget(); + } + } + + /** + * Creates a fake textarea element, sets its value from `text` property, + * and makes a selection on it. + */ + + }, { + key: 'selectFake', + value: function selectFake() { + var _this = this; + + var isRTL = document.documentElement.getAttribute('dir') == 'rtl'; + + this.removeFake(); + + this.fakeHandlerCallback = function () { + return _this.removeFake(); + }; + this.fakeHandler = this.container.addEventListener('click', this.fakeHandlerCallback) || true; + + this.fakeElem = document.createElement('textarea'); + // Prevent zooming on iOS + this.fakeElem.style.fontSize = '12pt'; + // Reset box model + this.fakeElem.style.border = '0'; + this.fakeElem.style.padding = '0'; + this.fakeElem.style.margin = '0'; + // Move element out of screen horizontally + this.fakeElem.style.position = 'absolute'; + this.fakeElem.style[isRTL ? 'right' : 'left'] = '-9999px'; + // Move element to the same position vertically + var yPosition = window.pageYOffset || document.documentElement.scrollTop; + this.fakeElem.style.top = yPosition + 'px'; + + this.fakeElem.setAttribute('readonly', ''); + this.fakeElem.value = this.text; + + this.container.appendChild(this.fakeElem); + + this.selectedText = (0, _select2.default)(this.fakeElem); + this.copyText(); + } + + /** + * Only removes the fake element after another click event, that way + * a user can hit `Ctrl+C` to copy because selection still exists. + */ + + }, { + key: 'removeFake', + value: function removeFake() { + if (this.fakeHandler) { + this.container.removeEventListener('click', this.fakeHandlerCallback); + this.fakeHandler = null; + this.fakeHandlerCallback = null; + } + + if (this.fakeElem) { + this.container.removeChild(this.fakeElem); + this.fakeElem = null; + } + } + + /** + * Selects the content from element passed on `target` property. + */ + + }, { + key: 'selectTarget', + value: function selectTarget() { + this.selectedText = (0, _select2.default)(this.target); + this.copyText(); + } + + /** + * Executes the copy operation based on the current selection. + */ + + }, { + key: 'copyText', + value: function copyText() { + var succeeded = void 0; + + try { + succeeded = document.execCommand(this.action); + } catch (err) { + succeeded = false; + } + + this.handleResult(succeeded); + } + + /** + * Fires an event based on the copy operation result. + * @param {Boolean} succeeded + */ + + }, { + key: 'handleResult', + value: function handleResult(succeeded) { + this.emitter.emit(succeeded ? 'success' : 'error', { + action: this.action, + text: this.selectedText, + trigger: this.trigger, + clearSelection: this.clearSelection.bind(this) + }); + } + + /** + * Moves focus away from `target` and back to the trigger, removes current selection. + */ + + }, { + key: 'clearSelection', + value: function clearSelection() { + if (this.trigger) { + this.trigger.focus(); + } + + window.getSelection().removeAllRanges(); + } + + /** + * Sets the `action` to be performed which can be either 'copy' or 'cut'. + * @param {String} action + */ + + }, { + key: 'destroy', + + + /** + * Destroy lifecycle. + */ + value: function destroy() { + this.removeFake(); + } + }, { + key: 'action', + set: function set() { + var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'copy'; + + this._action = action; + + if (this._action !== 'copy' && this._action !== 'cut') { + throw new Error('Invalid "action" value, use either "copy" or "cut"'); + } + } + + /** + * Gets the `action` property. + * @return {String} + */ + , + get: function get() { + return this._action; + } + + /** + * Sets the `target` property using an element + * that will be have its content copied. + * @param {Element} target + */ + + }, { + key: 'target', + set: function set(target) { + if (target !== undefined) { + if (target && (typeof target === 'undefined' ? 'undefined' : _typeof(target)) === 'object' && target.nodeType === 1) { + if (this.action === 'copy' && target.hasAttribute('disabled')) { + throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute'); + } + + if (this.action === 'cut' && (target.hasAttribute('readonly') || target.hasAttribute('disabled'))) { + throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes'); + } + + this._target = target; + } else { + throw new Error('Invalid "target" value, use a valid Element'); + } + } + } + + /** + * Gets the `target` property. + * @return {String|HTMLElement} + */ + , + get: function get() { + return this._target; + } + }]); + + return ClipboardAction; +}(); + +module.exports = ClipboardAction; + +/***/ }), +/* 2 */ +/***/ (function(module, exports) { + +function select(element) { + var selectedText; + + if (element.nodeName === 'SELECT') { + element.focus(); + + selectedText = element.value; + } + else if (element.nodeName === 'INPUT' || element.nodeName === 'TEXTAREA') { + var isReadOnly = element.hasAttribute('readonly'); + + if (!isReadOnly) { + element.setAttribute('readonly', ''); + } + + element.select(); + element.setSelectionRange(0, element.value.length); + + if (!isReadOnly) { + element.removeAttribute('readonly'); + } + + selectedText = element.value; + } + else { + if (element.hasAttribute('contenteditable')) { + element.focus(); + } + + var selection = window.getSelection(); + var range = document.createRange(); + + range.selectNodeContents(element); + selection.removeAllRanges(); + selection.addRange(range); + + selectedText = selection.toString(); + } + + return selectedText; +} + +module.exports = select; + + +/***/ }), +/* 3 */ +/***/ (function(module, exports) { + +function E () { + // Keep this empty so it's easier to inherit from + // (via https://github.com/lipsmack from https://github.com/scottcorgan/tiny-emitter/issues/3) +} + +E.prototype = { + on: function (name, callback, ctx) { + var e = this.e || (this.e = {}); + + (e[name] || (e[name] = [])).push({ + fn: callback, + ctx: ctx + }); + + return this; + }, + + once: function (name, callback, ctx) { + var self = this; + function listener () { + self.off(name, listener); + callback.apply(ctx, arguments); + }; + + listener._ = callback + return this.on(name, listener, ctx); + }, + + emit: function (name) { + var data = [].slice.call(arguments, 1); + var evtArr = ((this.e || (this.e = {}))[name] || []).slice(); + var i = 0; + var len = evtArr.length; + + for (i; i < len; i++) { + evtArr[i].fn.apply(evtArr[i].ctx, data); + } + + return this; + }, + + off: function (name, callback) { + var e = this.e || (this.e = {}); + var evts = e[name]; + var liveEvents = []; + + if (evts && callback) { + for (var i = 0, len = evts.length; i < len; i++) { + if (evts[i].fn !== callback && evts[i].fn._ !== callback) + liveEvents.push(evts[i]); + } + } + + // Remove event from queue to prevent memory leak + // Suggested by https://github.com/lazd + // Ref: https://github.com/scottcorgan/tiny-emitter/commit/c6ebfaa9bc973b33d110a84a307742b7cf94c953#commitcomment-5024910 + + (liveEvents.length) + ? e[name] = liveEvents + : delete e[name]; + + return this; + } +}; + +module.exports = E; + + +/***/ }), +/* 4 */ +/***/ (function(module, exports, __webpack_require__) { + +var is = __webpack_require__(5); +var delegate = __webpack_require__(6); + +/** + * Validates all params and calls the right + * listener function based on its target type. + * + * @param {String|HTMLElement|HTMLCollection|NodeList} target + * @param {String} type + * @param {Function} callback + * @return {Object} + */ +function listen(target, type, callback) { + if (!target && !type && !callback) { + throw new Error('Missing required arguments'); + } + + if (!is.string(type)) { + throw new TypeError('Second argument must be a String'); + } + + if (!is.fn(callback)) { + throw new TypeError('Third argument must be a Function'); + } + + if (is.node(target)) { + return listenNode(target, type, callback); + } + else if (is.nodeList(target)) { + return listenNodeList(target, type, callback); + } + else if (is.string(target)) { + return listenSelector(target, type, callback); + } + else { + throw new TypeError('First argument must be a String, HTMLElement, HTMLCollection, or NodeList'); + } +} + +/** + * Adds an event listener to a HTML element + * and returns a remove listener function. + * + * @param {HTMLElement} node + * @param {String} type + * @param {Function} callback + * @return {Object} + */ +function listenNode(node, type, callback) { + node.addEventListener(type, callback); + + return { + destroy: function() { + node.removeEventListener(type, callback); + } + } +} + +/** + * Add an event listener to a list of HTML elements + * and returns a remove listener function. + * + * @param {NodeList|HTMLCollection} nodeList + * @param {String} type + * @param {Function} callback + * @return {Object} + */ +function listenNodeList(nodeList, type, callback) { + Array.prototype.forEach.call(nodeList, function(node) { + node.addEventListener(type, callback); + }); + + return { + destroy: function() { + Array.prototype.forEach.call(nodeList, function(node) { + node.removeEventListener(type, callback); + }); + } + } +} + +/** + * Add an event listener to a selector + * and returns a remove listener function. + * + * @param {String} selector + * @param {String} type + * @param {Function} callback + * @return {Object} + */ +function listenSelector(selector, type, callback) { + return delegate(document.body, selector, type, callback); +} + +module.exports = listen; + + +/***/ }), +/* 5 */ +/***/ (function(module, exports) { + +/** + * Check if argument is a HTML element. + * + * @param {Object} value + * @return {Boolean} + */ +exports.node = function(value) { + return value !== undefined + && value instanceof HTMLElement + && value.nodeType === 1; +}; + +/** + * Check if argument is a list of HTML elements. + * + * @param {Object} value + * @return {Boolean} + */ +exports.nodeList = function(value) { + var type = Object.prototype.toString.call(value); + + return value !== undefined + && (type === '[object NodeList]' || type === '[object HTMLCollection]') + && ('length' in value) + && (value.length === 0 || exports.node(value[0])); +}; + +/** + * Check if argument is a string. + * + * @param {Object} value + * @return {Boolean} + */ +exports.string = function(value) { + return typeof value === 'string' + || value instanceof String; +}; + +/** + * Check if argument is a function. + * + * @param {Object} value + * @return {Boolean} + */ +exports.fn = function(value) { + var type = Object.prototype.toString.call(value); + + return type === '[object Function]'; +}; + + +/***/ }), +/* 6 */ +/***/ (function(module, exports, __webpack_require__) { + +var closest = __webpack_require__(7); + +/** + * Delegates event to a selector. + * + * @param {Element} element + * @param {String} selector + * @param {String} type + * @param {Function} callback + * @param {Boolean} useCapture + * @return {Object} + */ +function _delegate(element, selector, type, callback, useCapture) { + var listenerFn = listener.apply(this, arguments); + + element.addEventListener(type, listenerFn, useCapture); + + return { + destroy: function() { + element.removeEventListener(type, listenerFn, useCapture); + } + } +} + +/** + * Delegates event to a selector. + * + * @param {Element|String|Array} [elements] + * @param {String} selector + * @param {String} type + * @param {Function} callback + * @param {Boolean} useCapture + * @return {Object} + */ +function delegate(elements, selector, type, callback, useCapture) { + // Handle the regular Element usage + if (typeof elements.addEventListener === 'function') { + return _delegate.apply(null, arguments); + } + + // Handle Element-less usage, it defaults to global delegation + if (typeof type === 'function') { + // Use `document` as the first parameter, then apply arguments + // This is a short way to .unshift `arguments` without running into deoptimizations + return _delegate.bind(null, document).apply(null, arguments); + } + + // Handle Selector-based usage + if (typeof elements === 'string') { + elements = document.querySelectorAll(elements); + } + + // Handle Array-like based usage + return Array.prototype.map.call(elements, function (element) { + return _delegate(element, selector, type, callback, useCapture); + }); +} + +/** + * Finds closest match and invokes callback. + * + * @param {Element} element + * @param {String} selector + * @param {String} type + * @param {Function} callback + * @return {Function} + */ +function listener(element, selector, type, callback) { + return function(e) { + e.delegateTarget = closest(e.target, selector); + + if (e.delegateTarget) { + callback.call(element, e); + } + } +} + +module.exports = delegate; + + +/***/ }), +/* 7 */ +/***/ (function(module, exports) { + +var DOCUMENT_NODE_TYPE = 9; + +/** + * A polyfill for Element.matches() + */ +if (typeof Element !== 'undefined' && !Element.prototype.matches) { + var proto = Element.prototype; + + proto.matches = proto.matchesSelector || + proto.mozMatchesSelector || + proto.msMatchesSelector || + proto.oMatchesSelector || + proto.webkitMatchesSelector; +} + +/** + * Finds the closest parent that matches a selector. + * + * @param {Element} element + * @param {String} selector + * @return {Function} + */ +function closest (element, selector) { + while (element && element.nodeType !== DOCUMENT_NODE_TYPE) { + if (typeof element.matches === 'function' && + element.matches(selector)) { + return element; + } + element = element.parentNode; + } +} + +module.exports = closest; + + +/***/ }) +/******/ ]); +}); + +/***/ }), +/* 263 */ +/***/ (function(module, exports, __webpack_require__) { + +// eslint-disable-next-line import/no-unresolved +module.exports = __webpack_require__(332); + + +/***/ }), +/* 264 */ +/***/ (function(module, exports, __webpack_require__) { + +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]}; + + +/***/ }), +/* 265 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __assign = (this && this.__assign) || function () { + __assign = Object.assign || function(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) + t[p] = s[p]; + } + return t; + }; + return __assign.apply(this, arguments); +}; +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; + result["default"] = mod; + return result; +}; +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__(21)); +var resizer_1 = __webpack_require__(384); +var fast_memoize_1 = __importDefault(__webpack_require__(385)); +var DEFAULT_SIZE = { + width: 'auto', + height: 'auto', +}; +var clamp = fast_memoize_1.default(function (n, min, max) { return Math.max(Math.min(n, max), min); }); +var snap = fast_memoize_1.default(function (n, size) { return Math.round(n / size) * size; }); +var hasDirection = fast_memoize_1.default(function (dir, target) { return new RegExp(dir, 'i').test(target); }); +var findClosestSnap = fast_memoize_1.default(function (n, snapArray, snapGap) { + if (snapGap === void 0) { snapGap = 0; } + var closestGapIndex = snapArray.reduce(function (prev, curr, index) { return (Math.abs(curr - n) < Math.abs(snapArray[prev] - n) ? index : prev); }, 0); + var gap = Math.abs(snapArray[closestGapIndex] - n); + return snapGap === 0 || gap < snapGap ? snapArray[closestGapIndex] : n; +}); +var endsWith = fast_memoize_1.default(function (str, searchStr) { + return str.substr(str.length - searchStr.length, searchStr.length) === searchStr; +}); +var getStringSize = fast_memoize_1.default(function (n) { + n = n.toString(); + if (n === 'auto') { + return n; + } + if (endsWith(n, 'px')) { + return n; + } + if (endsWith(n, '%')) { + return n; + } + if (endsWith(n, 'vh')) { + return n; + } + if (endsWith(n, 'vw')) { + return n; + } + if (endsWith(n, 'vmax')) { + return n; + } + if (endsWith(n, 'vmin')) { + return n; + } + return n + "px"; +}); +var getPixelSize = function (size, parentSize) { + if (size && typeof size === 'string') { + if (endsWith(size, '%')) { + var ratio = Number(size.replace('%', '')) / 100; + return parentSize * ratio; + } + else if (endsWith(size, 'vw')) { + var ratio = Number(size.replace('vw', '')) / 100; + return window.innerWidth * ratio; + } + else if (endsWith(size, 'vh')) { + var ratio = Number(size.replace('vh', '')) / 100; + return window.innerHeight * ratio; + } + } + return size; +}; +var calculateNewMax = fast_memoize_1.default(function (parentSize, maxWidth, maxHeight, minWidth, minHeight) { + maxWidth = getPixelSize(maxWidth, parentSize.width); + maxHeight = getPixelSize(maxHeight, parentSize.height); + minWidth = getPixelSize(minWidth, parentSize.width); + minHeight = getPixelSize(minHeight, parentSize.height); + return { + maxWidth: typeof maxWidth === 'undefined' ? undefined : Number(maxWidth), + maxHeight: typeof maxHeight === 'undefined' ? undefined : Number(maxHeight), + minWidth: typeof minWidth === 'undefined' ? undefined : Number(minWidth), + minHeight: typeof minHeight === 'undefined' ? undefined : Number(minHeight), + }; +}); +var definedProps = [ + 'style', + 'className', + 'grid', + 'snap', + 'bounds', + 'size', + 'defaultSize', + 'minWidth', + 'minHeight', + 'maxWidth', + 'maxHeight', + 'lockAspectRatio', + 'lockAspectRatioExtraWidth', + 'lockAspectRatioExtraHeight', + 'enable', + 'handleStyles', + 'handleClasses', + 'handleWrapperStyle', + 'handleWrapperClass', + 'children', + 'onResizeStart', + 'onResize', + 'onResizeStop', + 'handleComponent', + 'scale', + 'resizeRatio', + 'snapGap', +]; +// HACK: This class is used to calculate % size. +var baseClassName = '__resizable_base__'; +var Resizable = /** @class */ (function (_super) { + __extends(Resizable, _super); + function Resizable(props) { + var _this = _super.call(this, props) || this; + _this.ratio = 1; + _this.resizable = null; + // For parent boundary + _this.parentLeft = 0; + _this.parentTop = 0; + // For boundary + _this.resizableLeft = 0; + _this.resizableTop = 0; + // For target boundary + _this.targetLeft = 0; + _this.targetTop = 0; + _this.state = { + isResizing: false, + resizeCursor: 'auto', + width: typeof (_this.propsSize && _this.propsSize.width) === 'undefined' + ? 'auto' + : _this.propsSize && _this.propsSize.width, + height: typeof (_this.propsSize && _this.propsSize.height) === 'undefined' + ? 'auto' + : _this.propsSize && _this.propsSize.height, + direction: 'right', + original: { + x: 0, + y: 0, + width: 0, + height: 0, + }, + }; + _this.onResizeStart = _this.onResizeStart.bind(_this); + _this.onMouseMove = _this.onMouseMove.bind(_this); + _this.onMouseUp = _this.onMouseUp.bind(_this); + return _this; + } + Object.defineProperty(Resizable.prototype, "parentNode", { + get: function () { + if (!this.resizable) { + return null; + } + return this.resizable.parentNode; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Resizable.prototype, "propsSize", { + get: function () { + return this.props.size || this.props.defaultSize || DEFAULT_SIZE; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Resizable.prototype, "base", { + get: function () { + var parent = this.parentNode; + if (!parent) { + return undefined; + } + var children = [].slice.call(parent.children); + for (var _i = 0, children_1 = children; _i < children_1.length; _i++) { + var n = children_1[_i]; + if (n instanceof HTMLElement) { + if (n.classList.contains(baseClassName)) { + return n; + } + } + } + return undefined; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Resizable.prototype, "size", { + get: function () { + var width = 0; + var height = 0; + if (typeof window !== 'undefined' && this.resizable) { + var orgWidth = this.resizable.offsetWidth; + var orgHeight = this.resizable.offsetHeight; + // HACK: Set position `relative` to get parent size. + // This is because when re-resizable set `absolute`, I can not get base width correctly. + var orgPosition = this.resizable.style.position; + if (orgPosition !== 'relative') { + this.resizable.style.position = 'relative'; + } + // INFO: Use original width or height if set auto. + width = this.resizable.style.width !== 'auto' ? this.resizable.offsetWidth : orgWidth; + height = this.resizable.style.height !== 'auto' ? this.resizable.offsetHeight : orgHeight; + // Restore original position + this.resizable.style.position = orgPosition; + } + return { width: width, height: height }; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Resizable.prototype, "sizeStyle", { + get: function () { + var _this = this; + var size = this.props.size; + var getSize = function (key) { + if (typeof _this.state[key] === 'undefined' || _this.state[key] === 'auto') { + return 'auto'; + } + if (_this.propsSize && _this.propsSize[key] && endsWith(_this.propsSize[key].toString(), '%')) { + if (endsWith(_this.state[key].toString(), '%')) { + return _this.state[key].toString(); + } + var parentSize = _this.getParentSize(); + var value = Number(_this.state[key].toString().replace('px', '')); + var percent = (value / parentSize[key]) * 100; + return percent + "%"; + } + return getStringSize(_this.state[key]); + }; + var width = size && typeof size.width !== 'undefined' && !this.state.isResizing + ? getStringSize(size.width) + : getSize('width'); + var height = size && typeof size.height !== 'undefined' && !this.state.isResizing + ? getStringSize(size.height) + : getSize('height'); + return { width: width, height: height }; + }, + enumerable: true, + configurable: true + }); + Resizable.prototype.getParentSize = function () { + if (!this.base || !this.parentNode) { + return { width: window.innerWidth, height: window.innerHeight }; + } + // INFO: To calculate parent width with flex layout + var wrapChanged = false; + var wrap = this.parentNode.style.flexWrap; + var minWidth = this.base.style.minWidth; + if (wrap !== 'wrap') { + wrapChanged = true; + this.parentNode.style.flexWrap = 'wrap'; + // HACK: Use relative to get parent padding size + } + this.base.style.position = 'relative'; + this.base.style.minWidth = '100%'; + var size = { + width: this.base.offsetWidth, + height: this.base.offsetHeight, + }; + this.base.style.position = 'absolute'; + if (wrapChanged) { + this.parentNode.style.flexWrap = wrap; + } + this.base.style.minWidth = minWidth; + return size; + }; + Resizable.prototype.bindEvents = function () { + if (typeof window !== 'undefined') { + window.addEventListener('mouseup', this.onMouseUp); + window.addEventListener('mousemove', this.onMouseMove); + window.addEventListener('mouseleave', this.onMouseUp); + window.addEventListener('touchmove', this.onMouseMove); + window.addEventListener('touchend', this.onMouseUp); + } + }; + Resizable.prototype.unbindEvents = function () { + if (typeof window !== 'undefined') { + window.removeEventListener('mouseup', this.onMouseUp); + window.removeEventListener('mousemove', this.onMouseMove); + window.removeEventListener('mouseleave', this.onMouseUp); + window.removeEventListener('touchmove', this.onMouseMove); + window.removeEventListener('touchend', this.onMouseUp); + } + }; + Resizable.prototype.componentDidMount = function () { + this.setState({ + width: this.state.width || this.size.width, + height: this.state.height || this.size.height, + }); + var parent = this.parentNode; + if (!(parent instanceof HTMLElement)) { + return; + } + if (this.base) { + return; + } + var element = document.createElement('div'); + element.style.width = '100%'; + element.style.height = '100%'; + element.style.position = 'absolute'; + element.style.transform = 'scale(0, 0)'; + element.style.left = '0'; + element.style.flex = '0'; + if (element.classList) { + element.classList.add(baseClassName); + } + else { + element.className += baseClassName; + } + parent.appendChild(element); + }; + Resizable.prototype.componentWillUnmount = function () { + if (typeof window !== 'undefined') { + this.unbindEvents(); + var parent_1 = this.parentNode; + if (!this.base || !parent_1) { + return; + } + if (!(parent_1 instanceof HTMLElement) || !(this.base instanceof Node)) { + return; + } + parent_1.removeChild(this.base); + } + }; + Resizable.prototype.createSizeForCssProperty = function (newSize, kind) { + var propsSize = this.propsSize && this.propsSize[kind]; + return this.state[kind] === 'auto' && + this.state.original[kind] === newSize && + (typeof propsSize === 'undefined' || propsSize === 'auto') + ? 'auto' + : newSize; + }; + Resizable.prototype.calculateNewMaxFromBoundary = function (maxWidth, maxHeight) { + if (this.props.bounds === 'parent') { + var parent_2 = this.parentNode; + if (parent_2 instanceof HTMLElement) { + var boundWidth = parent_2.offsetWidth + (this.parentLeft - this.resizableLeft); + var boundHeight = parent_2.offsetHeight + (this.parentTop - this.resizableTop); + maxWidth = maxWidth && maxWidth < boundWidth ? maxWidth : boundWidth; + maxHeight = maxHeight && maxHeight < boundHeight ? maxHeight : boundHeight; + } + } + else if (this.props.bounds === 'window') { + if (typeof window !== 'undefined') { + var boundWidth = window.innerWidth - this.resizableLeft; + var boundHeight = window.innerHeight - this.resizableTop; + maxWidth = maxWidth && maxWidth < boundWidth ? maxWidth : boundWidth; + maxHeight = maxHeight && maxHeight < boundHeight ? maxHeight : boundHeight; + } + } + else if (this.props.bounds instanceof HTMLElement) { + var boundWidth = this.props.bounds.offsetWidth + (this.targetLeft - this.resizableLeft); + var boundHeight = this.props.bounds.offsetHeight + (this.targetTop - this.resizableTop); + maxWidth = maxWidth && maxWidth < boundWidth ? maxWidth : boundWidth; + maxHeight = maxHeight && maxHeight < boundHeight ? maxHeight : boundHeight; + } + return { maxWidth: maxWidth, maxHeight: maxHeight }; + }; + Resizable.prototype.calculateNewSizeFromDirection = function (clientX, clientY) { + var scale = this.props.scale || 1; + var resizeRatio = this.props.resizeRatio || 1; + var _a = this.state, direction = _a.direction, original = _a.original; + var _b = this.props, lockAspectRatio = _b.lockAspectRatio, lockAspectRatioExtraHeight = _b.lockAspectRatioExtraHeight, lockAspectRatioExtraWidth = _b.lockAspectRatioExtraWidth; + var newWidth = original.width; + var newHeight = original.height; + var extraHeight = lockAspectRatioExtraHeight || 0; + var extraWidth = lockAspectRatioExtraWidth || 0; + if (hasDirection('right', direction)) { + newWidth = original.width + ((clientX - original.x) * resizeRatio) / scale; + if (lockAspectRatio) { + newHeight = (newWidth - extraWidth) / this.ratio + extraHeight; + } + } + if (hasDirection('left', direction)) { + newWidth = original.width - ((clientX - original.x) * resizeRatio) / scale; + if (lockAspectRatio) { + newHeight = (newWidth - extraWidth) / this.ratio + extraHeight; + } + } + if (hasDirection('bottom', direction)) { + newHeight = original.height + ((clientY - original.y) * resizeRatio) / scale; + if (lockAspectRatio) { + newWidth = (newHeight - extraHeight) * this.ratio + extraWidth; + } + } + if (hasDirection('top', direction)) { + newHeight = original.height - ((clientY - original.y) * resizeRatio) / scale; + if (lockAspectRatio) { + newWidth = (newHeight - extraHeight) * this.ratio + extraWidth; + } + } + return { newWidth: newWidth, newHeight: newHeight }; + }; + Resizable.prototype.calculateNewSizeFromAspectRatio = function (newWidth, newHeight, max, min) { + var _a = this.props, lockAspectRatio = _a.lockAspectRatio, lockAspectRatioExtraHeight = _a.lockAspectRatioExtraHeight, lockAspectRatioExtraWidth = _a.lockAspectRatioExtraWidth; + var computedMinWidth = typeof min.width === 'undefined' ? 10 : min.width; + var computedMaxWidth = typeof max.width === 'undefined' || max.width < 0 ? newWidth : max.width; + var computedMinHeight = typeof min.height === 'undefined' ? 10 : min.height; + var computedMaxHeight = typeof max.height === 'undefined' || max.height < 0 ? newHeight : max.height; + var extraHeight = lockAspectRatioExtraHeight || 0; + var extraWidth = lockAspectRatioExtraWidth || 0; + if (lockAspectRatio) { + var extraMinWidth = (computedMinHeight - extraHeight) * this.ratio + extraWidth; + var extraMaxWidth = (computedMaxHeight - extraHeight) * this.ratio + extraWidth; + var extraMinHeight = (computedMinWidth - extraWidth) / this.ratio + extraHeight; + var extraMaxHeight = (computedMaxWidth - extraWidth) / this.ratio + extraHeight; + var lockedMinWidth = Math.max(computedMinWidth, extraMinWidth); + var lockedMaxWidth = Math.min(computedMaxWidth, extraMaxWidth); + var lockedMinHeight = Math.max(computedMinHeight, extraMinHeight); + var lockedMaxHeight = Math.min(computedMaxHeight, extraMaxHeight); + newWidth = clamp(newWidth, lockedMinWidth, lockedMaxWidth); + newHeight = clamp(newHeight, lockedMinHeight, lockedMaxHeight); + } + else { + newWidth = clamp(newWidth, computedMinWidth, computedMaxWidth); + newHeight = clamp(newHeight, computedMinHeight, computedMaxHeight); + } + return { newWidth: newWidth, newHeight: newHeight }; + }; + Resizable.prototype.setBoundingClientRect = function () { + // For parent boundary + if (this.props.bounds === 'parent') { + var parent_3 = this.parentNode; + if (parent_3 instanceof HTMLElement) { + var parentRect = parent_3.getBoundingClientRect(); + this.parentLeft = parentRect.left; + this.parentTop = parentRect.top; + } + } + // For target(html element) boundary + if (this.props.bounds instanceof HTMLElement) { + var targetRect = this.props.bounds.getBoundingClientRect(); + this.targetLeft = targetRect.left; + this.targetTop = targetRect.top; + } + // For boundary + if (this.resizable) { + var _a = this.resizable.getBoundingClientRect(), left = _a.left, top_1 = _a.top; + this.resizableLeft = left; + this.resizableTop = top_1; + } + }; + Resizable.prototype.onResizeStart = function (event, direction) { + var clientX = 0; + var clientY = 0; + if (event.nativeEvent instanceof MouseEvent) { + clientX = event.nativeEvent.clientX; + clientY = event.nativeEvent.clientY; + // When user click with right button the resize is stuck in resizing mode + // until users clicks again, dont continue if right click is used. + // HACK: MouseEvent does not have `which` from flow-bin v0.68. + if (event.nativeEvent.which === 3) { + return; + } + } + else if (event.nativeEvent instanceof TouchEvent) { + clientX = event.nativeEvent.touches[0].clientX; + clientY = event.nativeEvent.touches[0].clientY; + } + if (this.props.onResizeStart) { + if (this.resizable) { + var startResize = this.props.onResizeStart(event, direction, this.resizable); + if (startResize === false) { + return; + } + } + } + // Fix #168 + if (this.props.size) { + if (typeof this.props.size.height !== 'undefined' && this.props.size.height !== this.state.height) { + this.setState({ height: this.props.size.height }); + } + if (typeof this.props.size.width !== 'undefined' && this.props.size.width !== this.state.width) { + this.setState({ width: this.props.size.width }); + } + } + // For lockAspectRatio case + this.ratio = + typeof this.props.lockAspectRatio === 'number' ? this.props.lockAspectRatio : this.size.width / this.size.height; + // For boundary + this.setBoundingClientRect(); + this.bindEvents(); + this.setState({ + original: { + x: clientX, + y: clientY, + width: this.size.width, + height: this.size.height, + }, + isResizing: true, + resizeCursor: window.getComputedStyle(event.target).cursor || 'auto', + direction: direction, + }); + }; + Resizable.prototype.onMouseMove = function (event) { + if (!this.state.isResizing || !this.resizable) { + return; + } + var _a = this.props, maxWidth = _a.maxWidth, maxHeight = _a.maxHeight, minWidth = _a.minWidth, minHeight = _a.minHeight; + var clientX = event instanceof MouseEvent ? event.clientX : event.touches[0].clientX; + var clientY = event instanceof MouseEvent ? event.clientY : event.touches[0].clientY; + var _b = this.state, direction = _b.direction, original = _b.original, width = _b.width, height = _b.height; + var parentSize = this.getParentSize(); + var max = calculateNewMax(parentSize, maxWidth, maxHeight, minWidth, minHeight); + maxWidth = max.maxWidth; + maxHeight = max.maxHeight; + minWidth = max.minWidth; + minHeight = max.minHeight; + // Calculate new size + var _c = this.calculateNewSizeFromDirection(clientX, clientY), newHeight = _c.newHeight, newWidth = _c.newWidth; + // Calculate max size from boundary settings + var boundaryMax = this.calculateNewMaxFromBoundary(maxWidth, maxHeight); + // Calculate new size from aspect ratio + var newSize = this.calculateNewSizeFromAspectRatio(newWidth, newHeight, { width: boundaryMax.maxWidth, height: boundaryMax.maxHeight }, { width: minWidth, height: minHeight }); + newWidth = newSize.newWidth; + newHeight = newSize.newHeight; + if (this.props.grid) { + var newGridWidth = snap(newWidth, this.props.grid[0]); + var newGridHeight = snap(newHeight, this.props.grid[1]); + var gap = this.props.snapGap || 0; + newWidth = gap === 0 || Math.abs(newGridWidth - newWidth) <= gap ? newGridWidth : newWidth; + newHeight = gap === 0 || Math.abs(newGridHeight - newHeight) <= gap ? newGridHeight : newHeight; + } + if (this.props.snap && this.props.snap.x) { + newWidth = findClosestSnap(newWidth, this.props.snap.x, this.props.snapGap); + } + if (this.props.snap && this.props.snap.y) { + newHeight = findClosestSnap(newHeight, this.props.snap.y, this.props.snapGap); + } + var delta = { + width: newWidth - original.width, + height: newHeight - original.height, + }; + if (width && typeof width === 'string') { + if (endsWith(width, '%')) { + var percent = (newWidth / parentSize.width) * 100; + newWidth = percent + "%"; + } + else if (endsWith(width, 'vw')) { + var vw = (newWidth / window.innerWidth) * 100; + newWidth = vw + "vw"; + } + else if (endsWith(width, 'vh')) { + var vh = (newWidth / window.innerHeight) * 100; + newWidth = vh + "vh"; + } + } + if (height && typeof height === 'string') { + if (endsWith(height, '%')) { + var percent = (newHeight / parentSize.height) * 100; + newHeight = percent + "%"; + } + else if (endsWith(height, 'vw')) { + var vw = (newHeight / window.innerWidth) * 100; + newHeight = vw + "vw"; + } + else if (endsWith(height, 'vh')) { + var vh = (newHeight / window.innerHeight) * 100; + newHeight = vh + "vh"; + } + } + this.setState({ + width: this.createSizeForCssProperty(newWidth, 'width'), + height: this.createSizeForCssProperty(newHeight, 'height'), + }); + if (this.props.onResize) { + this.props.onResize(event, direction, this.resizable, delta); + } + }; + Resizable.prototype.onMouseUp = function (event) { + var _a = this.state, isResizing = _a.isResizing, direction = _a.direction, original = _a.original; + if (!isResizing || !this.resizable) { + return; + } + var delta = { + width: this.size.width - original.width, + height: this.size.height - original.height, + }; + if (this.props.onResizeStop) { + this.props.onResizeStop(event, direction, this.resizable, delta); + } + if (this.props.size) { + this.setState(this.props.size); + } + this.unbindEvents(); + this.setState({ isResizing: false, resizeCursor: 'auto' }); + }; + Resizable.prototype.updateSize = function (size) { + this.setState({ width: size.width, height: size.height }); + }; + Resizable.prototype.renderResizer = function () { + var _this = this; + var _a = this.props, enable = _a.enable, handleStyles = _a.handleStyles, handleClasses = _a.handleClasses, handleWrapperStyle = _a.handleWrapperStyle, handleWrapperClass = _a.handleWrapperClass, handleComponent = _a.handleComponent; + if (!enable) { + return null; + } + var resizers = Object.keys(enable).map(function (dir) { + if (enable[dir] !== false) { + return (React.createElement(resizer_1.Resizer, { key: dir, direction: dir, onResizeStart: _this.onResizeStart, replaceStyles: handleStyles && handleStyles[dir], className: handleClasses && handleClasses[dir] }, handleComponent && handleComponent[dir] ? handleComponent[dir] : null)); + } + return null; + }); + // #93 Wrap the resize box in span (will not break 100% width/height) + return (React.createElement("span", { className: handleWrapperClass, style: handleWrapperStyle }, resizers)); + }; + Resizable.prototype.render = function () { + var _this = this; + var extendsProps = Object.keys(this.props).reduce(function (acc, key) { + if (definedProps.indexOf(key) !== -1) { + return acc; + } + acc[key] = _this.props[key]; + return acc; + }, {}); + return (React.createElement("div", __assign({ ref: function (c) { + if (c) { + _this.resizable = c; + } + }, style: __assign({ position: 'relative', userSelect: this.state.isResizing ? 'none' : 'auto' }, this.props.style, this.sizeStyle, { maxWidth: this.props.maxWidth, maxHeight: this.props.maxHeight, minWidth: this.props.minWidth, minHeight: this.props.minHeight, boxSizing: 'border-box', flexShrink: 0 }), className: this.props.className }, extendsProps), + this.state.isResizing && (React.createElement("div", { style: { + height: '100%', + width: '100%', + backgroundColor: 'rgba(0,0,0,0)', + cursor: "" + (this.state.resizeCursor || 'auto'), + opacity: 0, + position: 'fixed', + zIndex: 9999, + top: '0', + left: '0', + bottom: '0', + right: '0', + } })), + this.props.children, + this.renderResizer())); + }; + Resizable.defaultProps = { + onResizeStart: function () { }, + onResize: function () { }, + onResizeStop: function () { }, + enable: { + top: true, + right: true, + bottom: true, + left: true, + topRight: true, + bottomRight: true, + bottomLeft: true, + topLeft: true, + }, + style: {}, + grid: [1, 1], + lockAspectRatio: false, + lockAspectRatioExtraWidth: 0, + lockAspectRatioExtraHeight: 0, + scale: 1, + resizeRatio: 1, + snapGap: 0, + }; + return Resizable; +}(React.PureComponent)); +exports.Resizable = Resizable; + + +/***/ }), +/* 266 */, +/* 267 */, +/* 268 */, +/* 269 */, +/* 270 */, +/* 271 */, +/* 272 */, +/* 273 */, +/* 274 */, +/* 275 */, +/* 276 */, +/* 277 */, +/* 278 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__); + + +/** + * WordPress dependencies + */ + +var plusCircle = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "-2 -2 24 24" +}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], { + d: "M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6zM10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z" +})); +/* harmony default export */ __webpack_exports__["a"] = (plusCircle); + + +/***/ }), +/* 279 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__); + + +/** + * WordPress dependencies + */ + +var chevronUp = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], { + d: "M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z" +})); +/* harmony default export */ __webpack_exports__["a"] = (chevronUp); + + +/***/ }), +/* 280 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__); + + +/** + * WordPress dependencies + */ + +var chevronDown = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], { + viewBox: "0 0 24 24", + xmlns: "http://www.w3.org/2000/svg" +}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], { + d: "M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z" +})); +/* harmony default export */ __webpack_exports__["a"] = (chevronDown); + + +/***/ }), +/* 281 */, +/* 282 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +/** @license React v16.12.0 + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +Object.defineProperty(exports,"__esModule",{value:!0}); +var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?Symbol.for("react.suspense_list"): +60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.fundamental"):60117,w=b?Symbol.for("react.responder"):60118,x=b?Symbol.for("react.scope"):60119;function y(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function z(a){return y(a)===m} +exports.typeOf=y;exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;exports.Profiler=g;exports.StrictMode=f;exports.Suspense=p; +exports.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===v||a.$$typeof===w||a.$$typeof===x)};exports.isAsyncMode=function(a){return z(a)||y(a)===l};exports.isConcurrentMode=z;exports.isContextConsumer=function(a){return y(a)===k};exports.isContextProvider=function(a){return y(a)===h}; +exports.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return y(a)===n};exports.isFragment=function(a){return y(a)===e};exports.isLazy=function(a){return y(a)===t};exports.isMemo=function(a){return y(a)===r};exports.isPortal=function(a){return y(a)===d};exports.isProfiler=function(a){return y(a)===g};exports.isStrictMode=function(a){return y(a)===f};exports.isSuspense=function(a){return y(a)===p}; + + +/***/ }), +/* 283 */ +/***/ (function(module, exports, __webpack_require__) { + +// eslint-disable-next-line import/no-unresolved +__webpack_require__(284); + + +/***/ }), +/* 284 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var _registerCSSInterfaceWithDefaultTheme = __webpack_require__(285); + +var _registerCSSInterfaceWithDefaultTheme2 = _interopRequireDefault(_registerCSSInterfaceWithDefaultTheme); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +(0, _registerCSSInterfaceWithDefaultTheme2['default'])(); + +/***/ }), +/* 285 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports['default'] = registerCSSInterfaceWithDefaultTheme; + +var _reactWithStylesInterfaceCss = __webpack_require__(286); + +var _reactWithStylesInterfaceCss2 = _interopRequireDefault(_reactWithStylesInterfaceCss); + +var _registerInterfaceWithDefaultTheme = __webpack_require__(331); + +var _registerInterfaceWithDefaultTheme2 = _interopRequireDefault(_registerInterfaceWithDefaultTheme); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +function registerCSSInterfaceWithDefaultTheme() { + (0, _registerInterfaceWithDefaultTheme2['default'])(_reactWithStylesInterfaceCss2['default']); +} + +/***/ }), +/* 286 */ +/***/ (function(module, exports, __webpack_require__) { + +// eslint-disable-next-line import/no-unresolved +module.exports = __webpack_require__(287).default; + + +/***/ }), +/* 287 */ +/***/ (function(module, exports, __webpack_require__) { + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _arrayPrototype = __webpack_require__(288); + +var _arrayPrototype2 = _interopRequireDefault(_arrayPrototype); + +var _globalCache = __webpack_require__(327); + +var _globalCache2 = _interopRequireDefault(_globalCache); + +var _constants = __webpack_require__(328); + +var _getClassName = __webpack_require__(329); + +var _getClassName2 = _interopRequireDefault(_getClassName); + +var _separateStyles2 = __webpack_require__(330); + +var _separateStyles3 = _interopRequireDefault(_separateStyles2); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +/** + * Function required as part of the react-with-styles interface. Parses the styles provided by + * react-with-styles to produce class names based on the style name and optionally the namespace if + * available. + * + * stylesObject {Object} The styles object passed to withStyles. + * + * Return an object mapping style names to class names. + */ +function create(stylesObject) { + var stylesToClasses = {}; + var styleNames = Object.keys(stylesObject); + var sharedState = _globalCache2['default'].get(_constants.GLOBAL_CACHE_KEY) || {}; + var _sharedState$namespac = sharedState.namespace, + namespace = _sharedState$namespac === undefined ? '' : _sharedState$namespac; + + styleNames.forEach(function (styleName) { + var className = (0, _getClassName2['default'])(namespace, styleName); + stylesToClasses[styleName] = className; + }); + return stylesToClasses; +} + +/** + * Process styles to be consumed by a component. + * + * stylesArray {Array} Array of the following: values returned by create, plain JavaScript objects + * representing inline styles, or arrays thereof. + * + * Return an object with optional className and style properties to be spread on a component. + */ +function resolve(stylesArray) { + var flattenedStyles = (0, _arrayPrototype2['default'])(stylesArray, Infinity); + + var _separateStyles = (0, _separateStyles3['default'])(flattenedStyles), + classNames = _separateStyles.classNames, + hasInlineStyles = _separateStyles.hasInlineStyles, + inlineStyles = _separateStyles.inlineStyles; + + var specificClassNames = classNames.map(function (name, index) { + return String(name) + ' ' + String(name) + '_' + String(index + 1); + }); + var className = specificClassNames.join(' '); + + var result = { className: className }; + if (hasInlineStyles) result.style = inlineStyles; + return result; +} + +exports['default'] = { create: create, resolve: resolve }; + +/***/ }), +/* 288 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var define = __webpack_require__(77); +var callBind = __webpack_require__(160); + +var implementation = __webpack_require__(189); +var getPolyfill = __webpack_require__(202); +var polyfill = getPolyfill(); +var shim = __webpack_require__(326); + +var boundFlat = callBind(polyfill); + +define(boundFlat, { + getPolyfill: getPolyfill, + implementation: implementation, + shim: shim +}); + +module.exports = boundFlat; + + +/***/ }), +/* 289 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var keysShim; +if (!Object.keys) { + // modified from https://github.com/es-shims/es5-shim + var has = Object.prototype.hasOwnProperty; + var toStr = Object.prototype.toString; + var isArgs = __webpack_require__(188); // eslint-disable-line global-require + var isEnumerable = Object.prototype.propertyIsEnumerable; + var hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString'); + var hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype'); + var dontEnums = [ + 'toString', + 'toLocaleString', + 'valueOf', + 'hasOwnProperty', + 'isPrototypeOf', + 'propertyIsEnumerable', + 'constructor' + ]; + var equalsConstructorPrototype = function (o) { + var ctor = o.constructor; + return ctor && ctor.prototype === o; + }; + var excludedKeys = { + $applicationCache: true, + $console: true, + $external: true, + $frame: true, + $frameElement: true, + $frames: true, + $innerHeight: true, + $innerWidth: true, + $onmozfullscreenchange: true, + $onmozfullscreenerror: true, + $outerHeight: true, + $outerWidth: true, + $pageXOffset: true, + $pageYOffset: true, + $parent: true, + $scrollLeft: true, + $scrollTop: true, + $scrollX: true, + $scrollY: true, + $self: true, + $webkitIndexedDB: true, + $webkitStorageInfo: true, + $window: true + }; + var hasAutomationEqualityBug = (function () { + /* global window */ + if (typeof window === 'undefined') { return false; } + for (var k in window) { + try { + if (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') { + try { + equalsConstructorPrototype(window[k]); + } catch (e) { + return true; + } + } + } catch (e) { + return true; + } + } + return false; + }()); + var equalsConstructorPrototypeIfNotBuggy = function (o) { + /* global window */ + if (typeof window === 'undefined' || !hasAutomationEqualityBug) { + return equalsConstructorPrototype(o); + } + try { + return equalsConstructorPrototype(o); + } catch (e) { + return false; + } + }; + + keysShim = function keys(object) { + var isObject = object !== null && typeof object === 'object'; + var isFunction = toStr.call(object) === '[object Function]'; + var isArguments = isArgs(object); + var isString = isObject && toStr.call(object) === '[object String]'; + var theKeys = []; + + if (!isObject && !isFunction && !isArguments) { + throw new TypeError('Object.keys called on a non-object'); + } + + var skipProto = hasProtoEnumBug && isFunction; + if (isString && object.length > 0 && !has.call(object, 0)) { + for (var i = 0; i < object.length; ++i) { + theKeys.push(String(i)); + } + } + + if (isArguments && object.length > 0) { + for (var j = 0; j < object.length; ++j) { + theKeys.push(String(j)); + } + } else { + for (var name in object) { + if (!(skipProto && name === 'prototype') && has.call(object, name)) { + theKeys.push(String(name)); + } + } + } + + if (hasDontEnumBug) { + var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object); + + for (var k = 0; k < dontEnums.length; ++k) { + if (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) { + theKeys.push(dontEnums[k]); + } + } + } + return theKeys; + }; +} +module.exports = keysShim; + + +/***/ }), +/* 290 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +/* eslint no-invalid-this: 1 */ + +var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible '; +var slice = Array.prototype.slice; +var toStr = Object.prototype.toString; +var funcType = '[object Function]'; + +module.exports = function bind(that) { + var target = this; + if (typeof target !== 'function' || toStr.call(target) !== funcType) { + throw new TypeError(ERROR_MESSAGE + target); + } + var args = slice.call(arguments, 1); + + var bound; + var binder = function () { + if (this instanceof bound) { + var result = target.apply( + this, + args.concat(slice.call(arguments)) + ); + if (Object(result) === result) { + return result; + } + return this; + } else { + return target.apply( + that, + args.concat(slice.call(arguments)) + ); + } + }; + + var boundLength = Math.max(0, target.length - args.length); + var boundArgs = []; + for (var i = 0; i < boundLength; i++) { + boundArgs.push('$' + i); + } + + bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder); + + if (target.prototype) { + var Empty = function Empty() {}; + Empty.prototype = target.prototype; + bound.prototype = new Empty(); + Empty.prototype = null; + } + + return bound; +}; + + +/***/ }), +/* 291 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +/* WEBPACK VAR INJECTION */(function(global) { + +var origSymbol = global.Symbol; +var hasSymbolSham = __webpack_require__(292); + +module.exports = function hasNativeSymbols() { + if (typeof origSymbol !== 'function') { return false; } + if (typeof Symbol !== 'function') { return false; } + if (typeof origSymbol('foo') !== 'symbol') { return false; } + if (typeof Symbol('bar') !== 'symbol') { return false; } + + return hasSymbolSham(); +}; + +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(71))) + +/***/ }), +/* 292 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +/* eslint complexity: [2, 18], max-statements: [2, 33] */ +module.exports = function hasSymbols() { + if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; } + if (typeof Symbol.iterator === 'symbol') { return true; } + + var obj = {}; + var sym = Symbol('test'); + var symObj = Object(sym); + if (typeof sym === 'string') { return false; } + + if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; } + if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; } + + // temp disabled per https://github.com/ljharb/object.assign/issues/17 + // if (sym instanceof Symbol) { return false; } + // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4 + // if (!(symObj instanceof Symbol)) { return false; } + + // if (typeof Symbol.prototype.toString !== 'function') { return false; } + // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; } + + var symVal = 42; + obj[sym] = symVal; + for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax + if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; } + + if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; } + + var syms = Object.getOwnPropertySymbols(obj); + if (syms.length !== 1 || syms[0] !== sym) { return false; } + + if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; } + + if (typeof Object.getOwnPropertyDescriptor === 'function') { + var descriptor = Object.getOwnPropertyDescriptor(obj, sym); + if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; } + } + + return true; +}; + + +/***/ }), +/* 293 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(49); + +var $Array = GetIntrinsic('%Array%'); +var $species = GetIntrinsic('%Symbol.species%', true); +var $TypeError = GetIntrinsic('%TypeError%'); + +var Get = __webpack_require__(161); +var IsArray = __webpack_require__(162); +var IsConstructor = __webpack_require__(296); +var IsInteger = __webpack_require__(297); +var Type = __webpack_require__(78); + +// https://ecma-international.org/ecma-262/6.0/#sec-arrayspeciescreate + +module.exports = function ArraySpeciesCreate(originalArray, length) { + if (!IsInteger(length) || length < 0) { + throw new $TypeError('Assertion failed: length must be an integer >= 0'); + } + var len = length === 0 ? 0 : length; + var C; + var isArray = IsArray(originalArray); + if (isArray) { + C = Get(originalArray, 'constructor'); + // TODO: figure out how to make a cross-realm normal Array, a same-realm Array + // if (IsConstructor(C)) { + // if C is another realm's Array, C = undefined + // Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(Array))) === null ? + // } + if ($species && Type(C) === 'Object') { + C = Get(C, $species); + if (C === null) { + C = void 0; + } + } + } + if (typeof C === 'undefined') { + return $Array(len); + } + if (!IsConstructor(C)) { + throw new $TypeError('C must be a constructor'); + } + return new C(len); // Construct(C, len); +}; + + + +/***/ }), +/* 294 */ +/***/ (function(module, exports) { + +/* (ignored) */ + +/***/ }), +/* 295 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +// https://www.ecma-international.org/ecma-262/5.1/#sec-8 + +module.exports = function Type(x) { + if (x === null) { + return 'Null'; + } + if (typeof x === 'undefined') { + return 'Undefined'; + } + if (typeof x === 'function' || typeof x === 'object') { + return 'Object'; + } + if (typeof x === 'number') { + return 'Number'; + } + if (typeof x === 'boolean') { + return 'Boolean'; + } + if (typeof x === 'string') { + return 'String'; + } +}; + + +/***/ }), +/* 296 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +// https://www.ecma-international.org/ecma-262/6.0/#sec-isconstructor + +module.exports = function IsConstructor(argument) { + return typeof argument === 'function' && !!argument.prototype; // unfortunately there's no way to truly check this without try/catch `new argument` +}; + + +/***/ }), +/* 297 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(49); + +var $Math = GetIntrinsic('%Math%'); + +var $floor = $Math.floor; +var $abs = $Math.abs; + +var $isNaN = __webpack_require__(163); +var $isFinite = __webpack_require__(191); + +// https://www.ecma-international.org/ecma-262/6.0/#sec-isinteger + +module.exports = function IsInteger(argument) { + if (typeof argument !== 'number' || $isNaN(argument) || !$isFinite(argument)) { + return false; + } + var abs = $abs(argument); + return $floor(abs) === abs; +}; + + +/***/ }), +/* 298 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(49); + +var $TypeError = GetIntrinsic('%TypeError%'); + +var MAX_SAFE_INTEGER = __webpack_require__(192); + +var Call = __webpack_require__(299); +var CreateDataPropertyOrThrow = __webpack_require__(300); +var Get = __webpack_require__(161); +var HasProperty = __webpack_require__(312); +var IsArray = __webpack_require__(162); +var ToLength = __webpack_require__(198); +var ToString = __webpack_require__(322); + +// https://ecma-international.org/ecma-262/10.0/#sec-flattenintoarray + +// eslint-disable-next-line max-params, max-statements +module.exports = function FlattenIntoArray(target, source, sourceLen, start, depth) { + var mapperFunction; + if (arguments.length > 5) { + mapperFunction = arguments[5]; + } + + var targetIndex = start; + var sourceIndex = 0; + while (sourceIndex < sourceLen) { + var P = ToString(sourceIndex); + var exists = HasProperty(source, P); + if (exists === true) { + var element = Get(source, P); + if (typeof mapperFunction !== 'undefined') { + if (arguments.length <= 6) { + throw new $TypeError('Assertion failed: thisArg is required when mapperFunction is provided'); + } + element = Call(mapperFunction, arguments[6], [element, sourceIndex, source]); + } + var shouldFlatten = false; + if (depth > 0) { + shouldFlatten = IsArray(element); + } + if (shouldFlatten) { + var elementLen = ToLength(Get(element, 'length')); + targetIndex = FlattenIntoArray(target, element, elementLen, targetIndex, depth - 1); + } else { + if (targetIndex >= MAX_SAFE_INTEGER) { + throw new $TypeError('index too large'); + } + CreateDataPropertyOrThrow(target, ToString(targetIndex), element); + targetIndex += 1; + } + } + sourceIndex += 1; + } + + return targetIndex; +}; + + +/***/ }), +/* 299 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(49); + +var $TypeError = GetIntrinsic('%TypeError%'); + +var inspect = __webpack_require__(190); + +var IsCallable = __webpack_require__(193); + +// https://www.ecma-international.org/ecma-262/6.0/#sec-call + +module.exports = function Call(F, V) { + var args = arguments.length > 2 ? arguments[2] : []; + if (!IsCallable(F)) { + throw new $TypeError(inspect(F) + ' is not a function'); + } + return F.apply(V, args); +}; + + +/***/ }), +/* 300 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(49); + +var $TypeError = GetIntrinsic('%TypeError%'); + +var CreateDataProperty = __webpack_require__(301); +var IsPropertyKey = __webpack_require__(115); +var Type = __webpack_require__(78); + +// // https://ecma-international.org/ecma-262/6.0/#sec-createdatapropertyorthrow + +module.exports = function CreateDataPropertyOrThrow(O, P, V) { + if (Type(O) !== 'Object') { + throw new $TypeError('Assertion failed: Type(O) is not Object'); + } + if (!IsPropertyKey(P)) { + throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); + } + var success = CreateDataProperty(O, P, V); + if (!success) { + throw new $TypeError('unable to create data property'); + } + return success; +}; + + +/***/ }), +/* 301 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(49); + +var $TypeError = GetIntrinsic('%TypeError%'); + +var DefineOwnProperty = __webpack_require__(302); + +var FromPropertyDescriptor = __webpack_require__(303); +var OrdinaryGetOwnProperty = __webpack_require__(304); +var IsDataDescriptor = __webpack_require__(309); +var IsExtensible = __webpack_require__(310); +var IsPropertyKey = __webpack_require__(115); +var SameValue = __webpack_require__(311); +var Type = __webpack_require__(78); + +// https://www.ecma-international.org/ecma-262/6.0/#sec-createdataproperty + +module.exports = function CreateDataProperty(O, P, V) { + if (Type(O) !== 'Object') { + throw new $TypeError('Assertion failed: Type(O) is not Object'); + } + if (!IsPropertyKey(P)) { + throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); + } + var oldDesc = OrdinaryGetOwnProperty(O, P); + var extensible = oldDesc || IsExtensible(O); + var immutable = oldDesc && (!oldDesc.writable || !oldDesc.configurable); + if (immutable || !extensible) { + return false; + } + return DefineOwnProperty( + IsDataDescriptor, + SameValue, + FromPropertyDescriptor, + O, + P, + { + '[[Configurable]]': true, + '[[Enumerable]]': true, + '[[Value]]': V, + '[[Writable]]': true + } + ); +}; + + +/***/ }), +/* 302 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(49); + +var $defineProperty = GetIntrinsic('%Object.defineProperty%', true); + +if ($defineProperty) { + try { + $defineProperty({}, 'a', { value: 1 }); + } catch (e) { + // IE 8 has a broken defineProperty + $defineProperty = null; + } +} + +var callBound = __webpack_require__(127); + +var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable'); + +// eslint-disable-next-line max-params +module.exports = function DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, desc) { + if (!$defineProperty) { + if (!IsDataDescriptor(desc)) { + // ES3 does not support getters/setters + return false; + } + if (!desc['[[Configurable]]'] || !desc['[[Writable]]']) { + return false; + } + + // fallback for ES3 + if (P in O && $isEnumerable(O, P) !== !!desc['[[Enumerable]]']) { + // a non-enumerable existing property + return false; + } + + // property does not exist at all, or exists but is enumerable + var V = desc['[[Value]]']; + // eslint-disable-next-line no-param-reassign + O[P] = V; // will use [[Define]] + return SameValue(O[P], V); + } + $defineProperty(O, P, FromPropertyDescriptor(desc)); + return true; +}; + + +/***/ }), +/* 303 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var assertRecord = __webpack_require__(195); + +var Type = __webpack_require__(78); + +// https://www.ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor + +module.exports = function FromPropertyDescriptor(Desc) { + if (typeof Desc === 'undefined') { + return Desc; + } + + assertRecord(Type, 'Property Descriptor', 'Desc', Desc); + + var obj = {}; + if ('[[Value]]' in Desc) { + obj.value = Desc['[[Value]]']; + } + if ('[[Writable]]' in Desc) { + obj.writable = Desc['[[Writable]]']; + } + if ('[[Get]]' in Desc) { + obj.get = Desc['[[Get]]']; + } + if ('[[Set]]' in Desc) { + obj.set = Desc['[[Set]]']; + } + if ('[[Enumerable]]' in Desc) { + obj.enumerable = Desc['[[Enumerable]]']; + } + if ('[[Configurable]]' in Desc) { + obj.configurable = Desc['[[Configurable]]']; + } + return obj; +}; + + +/***/ }), +/* 304 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(49); + +var $gOPD = __webpack_require__(305); +var $TypeError = GetIntrinsic('%TypeError%'); + +var callBound = __webpack_require__(127); + +var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable'); + +var has = __webpack_require__(72); + +var IsArray = __webpack_require__(162); +var IsPropertyKey = __webpack_require__(115); +var IsRegExp = __webpack_require__(306); +var ToPropertyDescriptor = __webpack_require__(308); +var Type = __webpack_require__(78); + +// https://www.ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty + +module.exports = function OrdinaryGetOwnProperty(O, P) { + if (Type(O) !== 'Object') { + throw new $TypeError('Assertion failed: O must be an Object'); + } + if (!IsPropertyKey(P)) { + throw new $TypeError('Assertion failed: P must be a Property Key'); + } + if (!has(O, P)) { + return void 0; + } + if (!$gOPD) { + // ES3 / IE 8 fallback + var arrayLength = IsArray(O) && P === 'length'; + var regexLastIndex = IsRegExp(O) && P === 'lastIndex'; + return { + '[[Configurable]]': !(arrayLength || regexLastIndex), + '[[Enumerable]]': $isEnumerable(O, P), + '[[Value]]': O[P], + '[[Writable]]': true + }; + } + return ToPropertyDescriptor($gOPD(O, P)); +}; + + +/***/ }), +/* 305 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(49); + +var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%'); +if ($gOPD) { + try { + $gOPD([], 'length'); + } catch (e) { + // IE 8 has a broken gOPD + $gOPD = null; + } +} + +module.exports = $gOPD; + + +/***/ }), +/* 306 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(49); + +var $match = GetIntrinsic('%Symbol.match%', true); + +var hasRegExpMatcher = __webpack_require__(307); + +var ToBoolean = __webpack_require__(196); + +// https://ecma-international.org/ecma-262/6.0/#sec-isregexp + +module.exports = function IsRegExp(argument) { + if (!argument || typeof argument !== 'object') { + return false; + } + if ($match) { + var isRegExp = argument[$match]; + if (typeof isRegExp !== 'undefined') { + return ToBoolean(isRegExp); + } + } + return hasRegExpMatcher(argument); +}; + + +/***/ }), +/* 307 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var has = __webpack_require__(72); +var regexExec = RegExp.prototype.exec; +var gOPD = Object.getOwnPropertyDescriptor; + +var tryRegexExecCall = function tryRegexExec(value) { + try { + var lastIndex = value.lastIndex; + value.lastIndex = 0; // eslint-disable-line no-param-reassign + + regexExec.call(value); + return true; + } catch (e) { + return false; + } finally { + value.lastIndex = lastIndex; // eslint-disable-line no-param-reassign + } +}; +var toStr = Object.prototype.toString; +var regexClass = '[object RegExp]'; +var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol'; + +module.exports = function isRegex(value) { + if (!value || typeof value !== 'object') { + return false; + } + if (!hasToStringTag) { + return toStr.call(value) === regexClass; + } + + var descriptor = gOPD(value, 'lastIndex'); + var hasLastIndexDataProperty = descriptor && has(descriptor, 'value'); + if (!hasLastIndexDataProperty) { + return false; + } + + return tryRegexExecCall(value); +}; + + +/***/ }), +/* 308 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var has = __webpack_require__(72); + +var GetIntrinsic = __webpack_require__(49); + +var $TypeError = GetIntrinsic('%TypeError%'); + +var Type = __webpack_require__(78); +var ToBoolean = __webpack_require__(196); +var IsCallable = __webpack_require__(193); + +// https://ecma-international.org/ecma-262/5.1/#sec-8.10.5 + +module.exports = function ToPropertyDescriptor(Obj) { + if (Type(Obj) !== 'Object') { + throw new $TypeError('ToPropertyDescriptor requires an object'); + } + + var desc = {}; + if (has(Obj, 'enumerable')) { + desc['[[Enumerable]]'] = ToBoolean(Obj.enumerable); + } + if (has(Obj, 'configurable')) { + desc['[[Configurable]]'] = ToBoolean(Obj.configurable); + } + if (has(Obj, 'value')) { + desc['[[Value]]'] = Obj.value; + } + if (has(Obj, 'writable')) { + desc['[[Writable]]'] = ToBoolean(Obj.writable); + } + if (has(Obj, 'get')) { + var getter = Obj.get; + if (typeof getter !== 'undefined' && !IsCallable(getter)) { + throw new TypeError('getter must be a function'); + } + desc['[[Get]]'] = getter; + } + if (has(Obj, 'set')) { + var setter = Obj.set; + if (typeof setter !== 'undefined' && !IsCallable(setter)) { + throw new $TypeError('setter must be a function'); + } + desc['[[Set]]'] = setter; + } + + if ((has(desc, '[[Get]]') || has(desc, '[[Set]]')) && (has(desc, '[[Value]]') || has(desc, '[[Writable]]'))) { + throw new $TypeError('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute'); + } + return desc; +}; + + +/***/ }), +/* 309 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var has = __webpack_require__(72); + +var assertRecord = __webpack_require__(195); + +var Type = __webpack_require__(78); + +// https://www.ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor + +module.exports = function IsDataDescriptor(Desc) { + if (typeof Desc === 'undefined') { + return false; + } + + assertRecord(Type, 'Property Descriptor', 'Desc', Desc); + + if (!has(Desc, '[[Value]]') && !has(Desc, '[[Writable]]')) { + return false; + } + + return true; +}; + + +/***/ }), +/* 310 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(49); + +var $Object = GetIntrinsic('%Object%'); + +var isPrimitive = __webpack_require__(197); + +var $preventExtensions = $Object.preventExtensions; +var $isExtensible = $Object.isExtensible; + +// https://www.ecma-international.org/ecma-262/6.0/#sec-isextensible-o + +module.exports = $preventExtensions + ? function IsExtensible(obj) { + return !isPrimitive(obj) && $isExtensible(obj); + } + : function IsExtensible(obj) { + return !isPrimitive(obj); + }; + + +/***/ }), +/* 311 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var $isNaN = __webpack_require__(163); + +// http://www.ecma-international.org/ecma-262/5.1/#sec-9.12 + +module.exports = function SameValue(x, y) { + if (x === y) { // 0 === -0, but they are not identical. + if (x === 0) { return 1 / x === 1 / y; } + return true; + } + return $isNaN(x) && $isNaN(y); +}; + + +/***/ }), +/* 312 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(49); + +var $TypeError = GetIntrinsic('%TypeError%'); + +var IsPropertyKey = __webpack_require__(115); +var Type = __webpack_require__(78); + +// https://ecma-international.org/ecma-262/6.0/#sec-hasproperty + +module.exports = function HasProperty(O, P) { + if (Type(O) !== 'Object') { + throw new $TypeError('Assertion failed: `O` must be an Object'); + } + if (!IsPropertyKey(P)) { + throw new $TypeError('Assertion failed: `P` must be a Property Key'); + } + return P in O; +}; + + +/***/ }), +/* 313 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(49); + +var $Math = GetIntrinsic('%Math%'); + +var ToNumber = __webpack_require__(314); +var $isNaN = __webpack_require__(163); +var $isFinite = __webpack_require__(191); +var $sign = __webpack_require__(315); + +var $floor = $Math.floor; +var $abs = $Math.abs; + +// http://www.ecma-international.org/ecma-262/5.1/#sec-9.4 + +module.exports = function ToInteger(value) { + var number = ToNumber(value); + if ($isNaN(number)) { return 0; } + if (number === 0 || !$isFinite(number)) { return number; } + return $sign(number) * $floor($abs(number)); +}; + + +/***/ }), +/* 314 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +// http://www.ecma-international.org/ecma-262/5.1/#sec-9.3 + +module.exports = function ToNumber(value) { + return +value; // eslint-disable-line no-implicit-coercion +}; + + +/***/ }), +/* 315 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +module.exports = function sign(number) { + return number >= 0 ? 1 : -1; +}; + + +/***/ }), +/* 316 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(49); + +var $TypeError = GetIntrinsic('%TypeError%'); +var $Number = GetIntrinsic('%Number%'); +var $RegExp = GetIntrinsic('%RegExp%'); +var $parseInteger = GetIntrinsic('%parseInt%'); + +var callBound = __webpack_require__(127); +var regexTester = __webpack_require__(317); +var isPrimitive = __webpack_require__(197); + +var $strSlice = callBound('String.prototype.slice'); +var isBinary = regexTester(/^0b[01]+$/i); +var isOctal = regexTester(/^0o[0-7]+$/i); +var isInvalidHexLiteral = regexTester(/^[-+]0x[0-9a-f]+$/i); +var nonWS = ['\u0085', '\u200b', '\ufffe'].join(''); +var nonWSregex = new $RegExp('[' + nonWS + ']', 'g'); +var hasNonWS = regexTester(nonWSregex); + +// whitespace from: https://es5.github.io/#x15.5.4.20 +// implementation from https://github.com/es-shims/es5-shim/blob/v3.4.0/es5-shim.js#L1304-L1324 +var ws = [ + '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003', + '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028', + '\u2029\uFEFF' +].join(''); +var trimRegex = new RegExp('(^[' + ws + ']+)|([' + ws + ']+$)', 'g'); +var $replace = callBound('String.prototype.replace'); +var $trim = function (value) { + return $replace(value, trimRegex, ''); +}; + +var ToPrimitive = __webpack_require__(318); + +// https://www.ecma-international.org/ecma-262/6.0/#sec-tonumber + +module.exports = function ToNumber(argument) { + var value = isPrimitive(argument) ? argument : ToPrimitive(argument, $Number); + if (typeof value === 'symbol') { + throw new $TypeError('Cannot convert a Symbol value to a number'); + } + if (typeof value === 'string') { + if (isBinary(value)) { + return ToNumber($parseInteger($strSlice(value, 2), 2)); + } else if (isOctal(value)) { + return ToNumber($parseInteger($strSlice(value, 2), 8)); + } else if (hasNonWS(value) || isInvalidHexLiteral(value)) { + return NaN; + } else { + var trimmed = $trim(value); + if (trimmed !== value) { + return ToNumber(trimmed); + } + } + } + return $Number(value); +}; + + +/***/ }), +/* 317 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(49); + +var $test = GetIntrinsic('RegExp.prototype.test'); + +var callBind = __webpack_require__(160); + +module.exports = function regexTester(regex) { + return callBind($test, regex); +}; + + +/***/ }), +/* 318 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var toPrimitive = __webpack_require__(319); + +// https://www.ecma-international.org/ecma-262/6.0/#sec-toprimitive + +module.exports = function ToPrimitive(input) { + if (arguments.length > 1) { + return toPrimitive(input, arguments[1]); + } + return toPrimitive(input); +}; + + +/***/ }), +/* 319 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var hasSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol'; + +var isPrimitive = __webpack_require__(320); +var isCallable = __webpack_require__(194); +var isDate = __webpack_require__(200); +var isSymbol = __webpack_require__(164); + +var ordinaryToPrimitive = function OrdinaryToPrimitive(O, hint) { + if (typeof O === 'undefined' || O === null) { + throw new TypeError('Cannot call method on ' + O); + } + if (typeof hint !== 'string' || (hint !== 'number' && hint !== 'string')) { + throw new TypeError('hint must be "string" or "number"'); + } + var methodNames = hint === 'string' ? ['toString', 'valueOf'] : ['valueOf', 'toString']; + var method, result, i; + for (i = 0; i < methodNames.length; ++i) { + method = O[methodNames[i]]; + if (isCallable(method)) { + result = method.call(O); + if (isPrimitive(result)) { + return result; + } + } + } + throw new TypeError('No default value'); +}; + +var GetMethod = function GetMethod(O, P) { + var func = O[P]; + if (func !== null && typeof func !== 'undefined') { + if (!isCallable(func)) { + throw new TypeError(func + ' returned for property ' + P + ' of object ' + O + ' is not a function'); + } + return func; + } + return void 0; +}; + +// http://www.ecma-international.org/ecma-262/6.0/#sec-toprimitive +module.exports = function ToPrimitive(input) { + if (isPrimitive(input)) { + return input; + } + var hint = 'default'; + if (arguments.length > 1) { + if (arguments[1] === String) { + hint = 'string'; + } else if (arguments[1] === Number) { + hint = 'number'; + } + } + + var exoticToPrim; + if (hasSymbols) { + if (Symbol.toPrimitive) { + exoticToPrim = GetMethod(input, Symbol.toPrimitive); + } else if (isSymbol(input)) { + exoticToPrim = Symbol.prototype.valueOf; + } + } + if (typeof exoticToPrim !== 'undefined') { + var result = exoticToPrim.call(input, hint); + if (isPrimitive(result)) { + return result; + } + throw new TypeError('unable to convert exotic object to primitive'); + } + if (hint === 'default' && (isDate(input) || isSymbol(input))) { + hint = 'string'; + } + return ordinaryToPrimitive(input, hint === 'default' ? 'number' : hint); +}; + + +/***/ }), +/* 320 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +module.exports = function isPrimitive(value) { + return value === null || (typeof value !== 'function' && typeof value !== 'object'); +}; + + +/***/ }), +/* 321 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +/* WEBPACK VAR INJECTION */(function(global) { + +var origSymbol = global.Symbol; +var hasSymbolSham = __webpack_require__(201); + +module.exports = function hasNativeSymbols() { + if (typeof origSymbol !== 'function') { return false; } + if (typeof Symbol !== 'function') { return false; } + if (typeof origSymbol('foo') !== 'symbol') { return false; } + if (typeof Symbol('bar') !== 'symbol') { return false; } + + return hasSymbolSham(); +}; + +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(71))) + +/***/ }), +/* 322 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(49); + +var $String = GetIntrinsic('%String%'); +var $TypeError = GetIntrinsic('%TypeError%'); + +// https://www.ecma-international.org/ecma-262/6.0/#sec-tostring + +module.exports = function ToString(argument) { + if (typeof argument === 'symbol') { + throw new $TypeError('Cannot convert a Symbol value to a string'); + } + return $String(argument); +}; + + +/***/ }), +/* 323 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(49); + +var $Object = GetIntrinsic('%Object%'); + +var RequireObjectCoercible = __webpack_require__(324); + +// https://www.ecma-international.org/ecma-262/6.0/#sec-toobject + +module.exports = function ToObject(value) { + RequireObjectCoercible(value); + return $Object(value); +}; + + +/***/ }), +/* 324 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +module.exports = __webpack_require__(325); + + +/***/ }), +/* 325 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(49); + +var $TypeError = GetIntrinsic('%TypeError%'); + +// http://www.ecma-international.org/ecma-262/5.1/#sec-9.10 + +module.exports = function CheckObjectCoercible(value, optMessage) { + if (value == null) { + throw new $TypeError(optMessage || ('Cannot call method on ' + value)); + } + return value; +}; + + +/***/ }), +/* 326 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var define = __webpack_require__(77); +var getPolyfill = __webpack_require__(202); + +module.exports = function shimFlat() { + var polyfill = getPolyfill(); + define( + Array.prototype, + { flat: polyfill }, + { flat: function () { return Array.prototype.flat !== polyfill; } } + ); + return polyfill; +}; + + +/***/ }), +/* 327 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +/* WEBPACK VAR INJECTION */(function(global) { + +var define = __webpack_require__(77); +var isSymbol = __webpack_require__(164); + +var globalKey = '__ global cache key __'; +/* istanbul ignore else */ +// eslint-disable-next-line no-restricted-properties +if (typeof Symbol === 'function' && isSymbol(Symbol('foo')) && typeof Symbol['for'] === 'function') { + // eslint-disable-next-line no-restricted-properties + globalKey = Symbol['for'](globalKey); +} + +var trueThunk = function () { + return true; +}; + +var ensureCache = function ensureCache() { + if (!global[globalKey]) { + var properties = {}; + properties[globalKey] = {}; + var predicates = {}; + predicates[globalKey] = trueThunk; + define(global, properties, predicates); + } + return global[globalKey]; +}; + +var cache = ensureCache(); + +var isPrimitive = function isPrimitive(val) { + return val === null || (typeof val !== 'object' && typeof val !== 'function'); +}; + +var getPrimitiveKey = function getPrimitiveKey(val) { + if (isSymbol(val)) { + return Symbol.prototype.valueOf.call(val); + } + return typeof val + ' | ' + String(val); +}; + +var requirePrimitiveKey = function requirePrimitiveKey(val) { + if (!isPrimitive(val)) { + throw new TypeError('key must not be an object'); + } +}; + +var globalCache = { + clear: function clear() { + delete global[globalKey]; + cache = ensureCache(); + }, + + 'delete': function deleteKey(key) { + requirePrimitiveKey(key); + delete cache[getPrimitiveKey(key)]; + return !globalCache.has(key); + }, + + get: function get(key) { + requirePrimitiveKey(key); + return cache[getPrimitiveKey(key)]; + }, + + has: function has(key) { + requirePrimitiveKey(key); + return getPrimitiveKey(key) in cache; + }, + + set: function set(key, value) { + requirePrimitiveKey(key); + var primitiveKey = getPrimitiveKey(key); + var props = {}; + props[primitiveKey] = value; + var predicates = {}; + predicates[primitiveKey] = trueThunk; + define(cache, props, predicates); + return globalCache.has(key); + }, + + setIfMissingThenGet: function setIfMissingThenGet(key, valueThunk) { + if (globalCache.has(key)) { + return globalCache.get(key); + } + var item = valueThunk(); + globalCache.set(key, item); + return item; + } +}; + +module.exports = globalCache; + +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(71))) + +/***/ }), +/* 328 */ +/***/ (function(module, exports) { + +Object.defineProperty(exports, "__esModule", { + value: true +}); +var GLOBAL_CACHE_KEY = 'reactWithStylesInterfaceCSS'; +var MAX_SPECIFICITY = 20; + +exports.GLOBAL_CACHE_KEY = GLOBAL_CACHE_KEY; +exports.MAX_SPECIFICITY = MAX_SPECIFICITY; + +/***/ }), +/* 329 */ +/***/ (function(module, exports) { + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports['default'] = getClassName; +/** + * Construct a class name. + * + * namespace {String} Used to construct unique class names. + * styleName {String} Name identifying the specific style. + * + * Return the class name. + */ +function getClassName(namespace, styleName) { + var namespaceSegment = namespace.length > 0 ? String(namespace) + '__' : ''; + return '' + namespaceSegment + String(styleName); +} + +/***/ }), +/* 330 */ +/***/ (function(module, exports) { + +Object.defineProperty(exports, "__esModule", { + value: true +}); +// This function takes an array of styles and separates them into styles that +// are handled by Aphrodite and inline styles. +function separateStyles(stylesArray) { + var classNames = []; + + // Since determining if an Object is empty requires collecting all of its + // keys, and we want the best performance in this code because we are in the + // render path, we are going to do a little bookkeeping ourselves. + var hasInlineStyles = false; + var inlineStyles = {}; + + // This is run on potentially every node in the tree when rendering, where + // performance is critical. Normally we would prefer using `forEach`, but + // old-fashioned for loops are faster so that's what we have chosen here. + for (var i = 0; i < stylesArray.length; i++) { + // eslint-disable-line no-plusplus + var style = stylesArray[i]; + + // If this style is falsy, we just want to disregard it. This allows for + // syntax like: + // + // css(isFoo && styles.foo) + if (style) { + if (typeof style === 'string') { + classNames.push(style); + } else { + Object.assign(inlineStyles, style); + hasInlineStyles = true; + } + } + } + + return { + classNames: classNames, + hasInlineStyles: hasInlineStyles, + inlineStyles: inlineStyles + }; +} + +exports['default'] = separateStyles; + +/***/ }), +/* 331 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports['default'] = registerInterfaceWithDefaultTheme; + +var _ThemedStyleSheet = __webpack_require__(203); + +var _ThemedStyleSheet2 = _interopRequireDefault(_ThemedStyleSheet); + +var _DefaultTheme = __webpack_require__(204); + +var _DefaultTheme2 = _interopRequireDefault(_DefaultTheme); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +function registerInterfaceWithDefaultTheme(reactWithStylesInterface) { + _ThemedStyleSheet2['default'].registerInterface(reactWithStylesInterface); + _ThemedStyleSheet2['default'].registerTheme(_DefaultTheme2['default']); +} + +/***/ }), +/* 332 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _CalendarDay = __webpack_require__(165); + +Object.defineProperty(exports, 'CalendarDay', { + enumerable: true, + get: function () { + function get() { + return _interopRequireDefault(_CalendarDay)['default']; + } + + return get; + }() +}); + +var _CalendarMonth = __webpack_require__(208); + +Object.defineProperty(exports, 'CalendarMonth', { + enumerable: true, + get: function () { + function get() { + return _interopRequireDefault(_CalendarMonth)['default']; + } + + return get; + }() +}); + +var _CalendarMonthGrid = __webpack_require__(210); + +Object.defineProperty(exports, 'CalendarMonthGrid', { + enumerable: true, + get: function () { + function get() { + return _interopRequireDefault(_CalendarMonthGrid)['default']; + } + + return get; + }() +}); + +var _DateRangePicker = __webpack_require__(351); + +Object.defineProperty(exports, 'DateRangePicker', { + enumerable: true, + get: function () { + function get() { + return _interopRequireDefault(_DateRangePicker)['default']; + } + + return get; + }() +}); + +var _DateRangePickerInput = __webpack_require__(232); + +Object.defineProperty(exports, 'DateRangePickerInput', { + enumerable: true, + get: function () { + function get() { + return _interopRequireDefault(_DateRangePickerInput)['default']; + } + + return get; + }() +}); + +var _DateRangePickerInputController = __webpack_require__(231); + +Object.defineProperty(exports, 'DateRangePickerInputController', { + enumerable: true, + get: function () { + function get() { + return _interopRequireDefault(_DateRangePickerInputController)['default']; + } + + return get; + }() +}); + +var _DateRangePickerShape = __webpack_require__(224); + +Object.defineProperty(exports, 'DateRangePickerShape', { + enumerable: true, + get: function () { + function get() { + return _interopRequireDefault(_DateRangePickerShape)['default']; + } + + return get; + }() +}); + +var _DayPicker = __webpack_require__(174); + +Object.defineProperty(exports, 'DayPicker', { + enumerable: true, + get: function () { + function get() { + return _interopRequireDefault(_DayPicker)['default']; + } + + return get; + }() +}); + +var _DayPickerRangeController = __webpack_require__(240); + +Object.defineProperty(exports, 'DayPickerRangeController', { + enumerable: true, + get: function () { + function get() { + return _interopRequireDefault(_DayPickerRangeController)['default']; + } + + return get; + }() +}); + +var _DayPickerSingleDateController = __webpack_require__(243); + +Object.defineProperty(exports, 'DayPickerSingleDateController', { + enumerable: true, + get: function () { + function get() { + return _interopRequireDefault(_DayPickerSingleDateController)['default']; + } + + return get; + }() +}); + +var _SingleDatePicker = __webpack_require__(382); + +Object.defineProperty(exports, 'SingleDatePicker', { + enumerable: true, + get: function () { + function get() { + return _interopRequireDefault(_SingleDatePicker)['default']; + } + + return get; + }() +}); + +var _SingleDatePickerInput = __webpack_require__(245); + +Object.defineProperty(exports, 'SingleDatePickerInput', { + enumerable: true, + get: function () { + function get() { + return _interopRequireDefault(_SingleDatePickerInput)['default']; + } + + return get; + }() +}); + +var _SingleDatePickerShape = __webpack_require__(244); + +Object.defineProperty(exports, 'SingleDatePickerShape', { + enumerable: true, + get: function () { + function get() { + return _interopRequireDefault(_SingleDatePickerShape)['default']; + } + + return get; + }() +}); + +var _isInclusivelyAfterDay = __webpack_require__(118); + +Object.defineProperty(exports, 'isInclusivelyAfterDay', { + enumerable: true, + get: function () { + function get() { + return _interopRequireDefault(_isInclusivelyAfterDay)['default']; + } + + return get; + }() +}); + +var _isInclusivelyBeforeDay = __webpack_require__(383); + +Object.defineProperty(exports, 'isInclusivelyBeforeDay', { + enumerable: true, + get: function () { + function get() { + return _interopRequireDefault(_isInclusivelyBeforeDay)['default']; + } + + return get; + }() +}); + +var _isNextDay = __webpack_require__(241); + +Object.defineProperty(exports, 'isNextDay', { + enumerable: true, + get: function () { + function get() { + return _interopRequireDefault(_isNextDay)['default']; + } + + return get; + }() +}); + +var _isSameDay = __webpack_require__(97); + +Object.defineProperty(exports, 'isSameDay', { + enumerable: true, + get: function () { + function get() { + return _interopRequireDefault(_isSameDay)['default']; + } + + return get; + }() +}); + +var _toISODateString = __webpack_require__(129); + +Object.defineProperty(exports, 'toISODateString', { + enumerable: true, + get: function () { + function get() { + return _interopRequireDefault(_toISODateString)['default']; + } + + return get; + }() +}); + +var _toLocalizedDateString = __webpack_require__(172); + +Object.defineProperty(exports, 'toLocalizedDateString', { + enumerable: true, + get: function () { + function get() { + return _interopRequireDefault(_toLocalizedDateString)['default']; + } + + return get; + }() +}); + +var _toMomentObject = __webpack_require__(98); + +Object.defineProperty(exports, 'toMomentObject', { + enumerable: true, + get: function () { + function get() { + return _interopRequireDefault(_toMomentObject)['default']; + } + + return get; + }() +}); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +/***/ }), +/* 333 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var define = __webpack_require__(77); +var getPolyfill = __webpack_require__(206); + +module.exports = function shimAssign() { + var polyfill = getPolyfill(); + define( + Object, + { assign: polyfill }, + { assign: function () { return Object.assign !== polyfill; } } + ); + return polyfill; +}; + + +/***/ }), +/* 334 */ +/***/ (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. + * + * @typechecks + * + */ + +/*eslint-disable no-self-compare */ + + + +var hasOwnProperty = Object.prototype.hasOwnProperty; + +/** + * inlined Object.is polyfill to avoid requiring consumers ship their own + * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is + */ +function is(x, y) { + // SameValue algorithm + if (x === y) { + // Steps 1-5, 7-10 + // Steps 6.b-6.e: +0 != -0 + // Added the nonzero y check to make Flow happy, but it is redundant + return x !== 0 || y !== 0 || 1 / x === 1 / y; + } else { + // Step 6.a: NaN == NaN + return x !== x && y !== y; + } +} + +/** + * Performs equality by iterating through keys on an object and returning false + * when any key has values which are not strictly equal between the arguments. + * Returns true when the values of all keys are strictly equal. + */ +function shallowEqual(objA, objB) { + if (is(objA, objB)) { + return true; + } + + if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) { + return false; + } + + var keysA = Object.keys(objA); + var keysB = Object.keys(objB); + + if (keysA.length !== keysB.length) { + return false; + } + + // Test for A's keys different from B. + for (var i = 0; i < keysA.length; i++) { + if (!hasOwnProperty.call(objB, keysA[i]) || !is(objA[keysA[i]], objB[keysA[i]])) { + return false; + } + } + + return true; +} + +module.exports = shallowEqual; + +/***/ }), +/* 335 */ +/***/ (function(module, exports, __webpack_require__) { + +var moment = __webpack_require__(30); + +function isValidMoment(testMoment) { + if (typeof moment.isMoment === 'function' && !moment.isMoment(testMoment)) { + return false; + } + + /* istanbul ignore else */ + if (typeof testMoment.isValid === 'function') { + // moment 1.7.0+ + return testMoment.isValid(); + } + + /* istanbul ignore next */ + return !isNaN(testMoment); +} + +module.exports = { + isValidMoment : isValidMoment, +}; + + +/***/ }), +/* 336 */ +/***/ (function(module, exports) { + +var messages = { + invalidPredicate: '`predicate` must be a function', + invalidPropValidator: '`propValidator` must be a function', + requiredCore: 'is marked as required', + invalidTypeCore: 'Invalid input type', + predicateFailureCore: 'Failed to succeed with predicate', + anonymousMessage: '<>', + baseInvalidMessage: 'Invalid ', +}; + +function constructPropValidatorVariations(propValidator) { + if (typeof propValidator !== 'function') { + throw new Error(messages.invalidPropValidator); + } + + var requiredPropValidator = propValidator.bind(null, false, null); + requiredPropValidator.isRequired = propValidator.bind(null, true, null); + + requiredPropValidator.withPredicate = function predicateApplication(predicate) { + if (typeof predicate !== 'function') { + throw new Error(messages.invalidPredicate); + } + var basePropValidator = propValidator.bind(null, false, predicate); + basePropValidator.isRequired = propValidator.bind(null, true, predicate); + return basePropValidator; + }; + + return requiredPropValidator; +} + +function createInvalidRequiredErrorMessage(propName, componentName, value) { + return new Error( + 'The prop `' + propName + '` ' + messages.requiredCore + + ' in `' + componentName + '`, but its value is `' + value + '`.' + ); +} + +var independentGuardianValue = -1; + +function preValidationRequireCheck(isRequired, componentName, propFullName, propValue) { + var isPropValueUndefined = typeof propValue === 'undefined'; + var isPropValueNull = propValue === null; + + if (isRequired) { + if (isPropValueUndefined) { + return createInvalidRequiredErrorMessage(propFullName, componentName, 'undefined'); + } else if (isPropValueNull) { + return createInvalidRequiredErrorMessage(propFullName, componentName, 'null'); + } + } + + if (isPropValueUndefined || isPropValueNull) { + return null; + } + + return independentGuardianValue; +} + +function createMomentChecker(type, typeValidator, validator, momentType) { + + function propValidator( + isRequired, // Bound parameter to indicate with the propType is required + predicate, // Bound parameter to allow user to add dynamic validation + props, + propName, + componentName, + location, + propFullName + ) { + var propValue = props[ propName ]; + var propType = typeof propValue; + + componentName = componentName || messages.anonymousMessage; + propFullName = propFullName || propName; + + var preValidationRequireCheckValue = preValidationRequireCheck( + isRequired, componentName, propFullName, propValue + ); + + if (preValidationRequireCheckValue !== independentGuardianValue) { + return preValidationRequireCheckValue; + } + + if (typeValidator && !typeValidator(propValue)) { + return new Error( + messages.invalidTypeCore + ': `' + propName + '` of type `' + propType + '` ' + + 'supplied to `' + componentName + '`, expected `' + type + '`.' + ); + } + + if (!validator(propValue)) { + return new Error( + messages.baseInvalidMessage + location + ' `' + propName + '` of type `' + propType + '` ' + + 'supplied to `' + componentName + '`, expected `' + momentType + '`.' + ); + } + + if (predicate && !predicate(propValue)) { + var predicateName = predicate.name || messages.anonymousMessage; + return new Error( + messages.baseInvalidMessage + location + ' `' + propName + '` of type `' + propType + '` ' + + 'supplied to `' + componentName + '`. ' + messages.predicateFailureCore + ' `' + + predicateName + '`.' + ); + } + + return null; + + } + + return constructPropValidatorVariations(propValidator); + +} + +module.exports = { + constructPropValidatorVariations: constructPropValidatorVariations, + createMomentChecker: createMomentChecker, + messages: messages, +}; + + +/***/ }), +/* 337 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +function noop() { + return null; +} + +noop.isRequired = noop; + +function noopThunk() { + return noop; +} + +module.exports = { + and: noopThunk, + between: noopThunk, + booleanSome: noopThunk, + childrenHavePropXorChildren: noopThunk, + childrenOf: noopThunk, + childrenOfType: noopThunk, + childrenSequenceOf: noopThunk, + componentWithName: noopThunk, + disallowedIf: noopThunk, + elementType: noopThunk, + empty: noopThunk, + explicitNull: noopThunk, + forbidExtraProps: Object, + integer: noopThunk, + keysOf: noopThunk, + mutuallyExclusiveProps: noopThunk, + mutuallyExclusiveTrueProps: noopThunk, + nChildren: noopThunk, + nonNegativeInteger: noop, + nonNegativeNumber: noopThunk, + numericString: noopThunk, + object: noopThunk, + or: noopThunk, + range: noopThunk, + ref: noopThunk, + requiredBy: noopThunk, + restrictedProp: noopThunk, + sequenceOf: noopThunk, + shape: noopThunk, + stringEndsWith: noopThunk, + stringStartsWith: noopThunk, + uniqueArray: noopThunk, + uniqueArrayOf: noopThunk, + valuesOf: noopThunk, + withShape: noopThunk +}; + + +/***/ }), +/* 338 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var reactIs = __webpack_require__(339); + +/** + * Copyright 2015, Yahoo! Inc. + * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. + */ +var REACT_STATICS = { + childContextTypes: true, + contextType: true, + contextTypes: true, + defaultProps: true, + displayName: true, + getDefaultProps: true, + getDerivedStateFromError: true, + getDerivedStateFromProps: true, + mixins: true, + propTypes: true, + type: true +}; +var KNOWN_STATICS = { + name: true, + length: true, + prototype: true, + caller: true, + callee: true, + arguments: true, + arity: true +}; +var FORWARD_REF_STATICS = { + '$$typeof': true, + render: true, + defaultProps: true, + displayName: true, + propTypes: true +}; +var MEMO_STATICS = { + '$$typeof': true, + compare: true, + defaultProps: true, + displayName: true, + propTypes: true, + type: true +}; +var TYPE_STATICS = {}; +TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS; +TYPE_STATICS[reactIs.Memo] = MEMO_STATICS; + +function getStatics(component) { + // React v16.11 and below + if (reactIs.isMemo(component)) { + return MEMO_STATICS; + } // React v16.12 and above + + + return TYPE_STATICS[component['$$typeof']] || REACT_STATICS; +} + +var defineProperty = Object.defineProperty; +var getOwnPropertyNames = Object.getOwnPropertyNames; +var getOwnPropertySymbols = Object.getOwnPropertySymbols; +var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; +var getPrototypeOf = Object.getPrototypeOf; +var objectPrototype = Object.prototype; +function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) { + if (typeof sourceComponent !== 'string') { + // don't hoist over string (html) components + if (objectPrototype) { + var inheritedComponent = getPrototypeOf(sourceComponent); + + if (inheritedComponent && inheritedComponent !== objectPrototype) { + hoistNonReactStatics(targetComponent, inheritedComponent, blacklist); + } + } + + var keys = getOwnPropertyNames(sourceComponent); + + if (getOwnPropertySymbols) { + keys = keys.concat(getOwnPropertySymbols(sourceComponent)); + } + + var targetStatics = getStatics(targetComponent); + var sourceStatics = getStatics(sourceComponent); + + for (var i = 0; i < keys.length; ++i) { + var key = keys[i]; + + if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) { + var descriptor = getOwnPropertyDescriptor(sourceComponent, key); + + try { + // Avoid failures from read-only properties + defineProperty(targetComponent, key, descriptor); + } catch (e) {} + } + } + } + + return targetComponent; +} + +module.exports = hoistNonReactStatics; + + +/***/ }), +/* 339 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +if (true) { + module.exports = __webpack_require__(340); +} else {} + + +/***/ }), +/* 340 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +/** @license React v16.8.6 + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +Object.defineProperty(exports,"__esModule",{value:!0}); +var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?Symbol.for("react.memo"): +60115,r=b?Symbol.for("react.lazy"):60116;function t(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case h:return a;default:return u}}case r:case q:case d:return u}}}function v(a){return t(a)===m}exports.typeOf=t;exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n; +exports.Fragment=e;exports.Lazy=r;exports.Memo=q;exports.Portal=d;exports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||"object"===typeof a&&null!==a&&(a.$$typeof===r||a.$$typeof===q||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n)};exports.isAsyncMode=function(a){return v(a)||t(a)===l};exports.isConcurrentMode=v;exports.isContextConsumer=function(a){return t(a)===k}; +exports.isContextProvider=function(a){return t(a)===h};exports.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return t(a)===n};exports.isFragment=function(a){return t(a)===e};exports.isLazy=function(a){return t(a)===r};exports.isMemo=function(a){return t(a)===q};exports.isPortal=function(a){return t(a)===d};exports.isProfiler=function(a){return t(a)===g};exports.isStrictMode=function(a){return t(a)===f}; +exports.isSuspense=function(a){return t(a)===p}; + + +/***/ }), +/* 341 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +var CHANNEL = exports.CHANNEL = '__direction__'; + +var DIRECTIONS = exports.DIRECTIONS = { + LTR: 'ltr', + RTL: 'rtl' +}; + +/***/ }), +/* 342 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _propTypes = __webpack_require__(25); + +var _propTypes2 = _interopRequireDefault(_propTypes); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +exports['default'] = _propTypes2['default'].shape({ + getState: _propTypes2['default'].func, + setState: _propTypes2['default'].func, + subscribe: _propTypes2['default'].func +}); + +/***/ }), +/* 343 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports['default'] = getPhrase; +function getPhrase(phrase, args) { + if (typeof phrase === 'string') return phrase; + + if (typeof phrase === 'function') { + return phrase(args); + } + + return ''; +} + +/***/ }), +/* 344 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports['default'] = CalendarWeek; + +var _react = __webpack_require__(21); + +var _react2 = _interopRequireDefault(_react); + +var _airbnbPropTypes = __webpack_require__(51); + +var _CalendarDay = __webpack_require__(165); + +var _CalendarDay2 = _interopRequireDefault(_CalendarDay); + +var _CustomizableCalendarDay = __webpack_require__(345); + +var _CustomizableCalendarDay2 = _interopRequireDefault(_CustomizableCalendarDay); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +var propTypes = (0, _airbnbPropTypes.forbidExtraProps)({ + children: (0, _airbnbPropTypes.or)([(0, _airbnbPropTypes.childrenOfType)(_CalendarDay2['default']), (0, _airbnbPropTypes.childrenOfType)(_CustomizableCalendarDay2['default'])]).isRequired +}); + +function CalendarWeek(_ref) { + var children = _ref.children; + + return _react2['default'].createElement( + 'tr', + null, + children + ); +} + +CalendarWeek.propTypes = propTypes; + +/***/ }), +/* 345 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.PureCustomizableCalendarDay = exports.selectedStyles = exports.lastInRangeStyles = exports.selectedSpanStyles = exports.hoveredSpanStyles = exports.blockedOutOfRangeStyles = exports.blockedCalendarStyles = exports.blockedMinNightsStyles = exports.highlightedCalendarStyles = exports.outsideStyles = exports.defaultStyles = undefined; + +var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _object = __webpack_require__(55); + +var _object2 = _interopRequireDefault(_object); + +var _react = __webpack_require__(21); + +var _react2 = _interopRequireDefault(_react); + +var _propTypes = __webpack_require__(25); + +var _propTypes2 = _interopRequireDefault(_propTypes); + +var _reactAddonsShallowCompare = __webpack_require__(96); + +var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare); + +var _reactMomentProptypes = __webpack_require__(79); + +var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes); + +var _airbnbPropTypes = __webpack_require__(51); + +var _reactWithStyles = __webpack_require__(63); + +var _moment = __webpack_require__(30); + +var _moment2 = _interopRequireDefault(_moment); + +var _defaultPhrases = __webpack_require__(57); + +var _getPhrasePropTypes = __webpack_require__(59); + +var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); + +var _getCalendarDaySettings = __webpack_require__(207); + +var _getCalendarDaySettings2 = _interopRequireDefault(_getCalendarDaySettings); + +var _constants = __webpack_require__(45); + +var _DefaultTheme = __webpack_require__(204); + +var _DefaultTheme2 = _interopRequireDefault(_DefaultTheme); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var color = _DefaultTheme2['default'].reactDates.color; + + +function getStyles(stylesObj, isHovered) { + if (!stylesObj) return null; + + var hover = stylesObj.hover; + + if (isHovered && hover) { + return hover; + } + + return stylesObj; +} + +var DayStyleShape = _propTypes2['default'].shape({ + background: _propTypes2['default'].string, + border: (0, _airbnbPropTypes.or)([_propTypes2['default'].string, _propTypes2['default'].number]), + color: _propTypes2['default'].string, + + hover: _propTypes2['default'].shape({ + background: _propTypes2['default'].string, + border: (0, _airbnbPropTypes.or)([_propTypes2['default'].string, _propTypes2['default'].number]), + color: _propTypes2['default'].string + }) +}); + +var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, { + day: _reactMomentProptypes2['default'].momentObj, + daySize: _airbnbPropTypes.nonNegativeInteger, + isOutsideDay: _propTypes2['default'].bool, + modifiers: _propTypes2['default'].instanceOf(Set), + isFocused: _propTypes2['default'].bool, + tabIndex: _propTypes2['default'].oneOf([0, -1]), + onDayClick: _propTypes2['default'].func, + onDayMouseEnter: _propTypes2['default'].func, + onDayMouseLeave: _propTypes2['default'].func, + renderDayContents: _propTypes2['default'].func, + ariaLabelFormat: _propTypes2['default'].string, + + // style overrides + defaultStyles: DayStyleShape, + outsideStyles: DayStyleShape, + todayStyles: DayStyleShape, + firstDayOfWeekStyles: DayStyleShape, + lastDayOfWeekStyles: DayStyleShape, + highlightedCalendarStyles: DayStyleShape, + blockedMinNightsStyles: DayStyleShape, + blockedCalendarStyles: DayStyleShape, + blockedOutOfRangeStyles: DayStyleShape, + hoveredSpanStyles: DayStyleShape, + selectedSpanStyles: DayStyleShape, + lastInRangeStyles: DayStyleShape, + selectedStyles: DayStyleShape, + selectedStartStyles: DayStyleShape, + selectedEndStyles: DayStyleShape, + afterHoveredStartStyles: DayStyleShape, + + // internationalization + phrases: _propTypes2['default'].shape((0, _getPhrasePropTypes2['default'])(_defaultPhrases.CalendarDayPhrases)) +})); + +var defaultStyles = exports.defaultStyles = { + border: '1px solid ' + String(color.core.borderLight), + color: color.text, + background: color.background, + + hover: { + background: color.core.borderLight, + border: '1px double ' + String(color.core.borderLight), + color: 'inherit' + } +}; + +var outsideStyles = exports.outsideStyles = { + background: color.outside.backgroundColor, + border: 0, + color: color.outside.color +}; + +var highlightedCalendarStyles = exports.highlightedCalendarStyles = { + background: color.highlighted.backgroundColor, + color: color.highlighted.color, + + hover: { + background: color.highlighted.backgroundColor_hover, + color: color.highlighted.color_active + } +}; + +var blockedMinNightsStyles = exports.blockedMinNightsStyles = { + background: color.minimumNights.backgroundColor, + border: '1px solid ' + String(color.minimumNights.borderColor), + color: color.minimumNights.color, + + hover: { + background: color.minimumNights.backgroundColor_hover, + color: color.minimumNights.color_active + } +}; + +var blockedCalendarStyles = exports.blockedCalendarStyles = { + background: color.blocked_calendar.backgroundColor, + border: '1px solid ' + String(color.blocked_calendar.borderColor), + color: color.blocked_calendar.color, + + hover: { + background: color.blocked_calendar.backgroundColor_hover, + border: '1px solid ' + String(color.blocked_calendar.borderColor), + color: color.blocked_calendar.color_active + } +}; + +var blockedOutOfRangeStyles = exports.blockedOutOfRangeStyles = { + background: color.blocked_out_of_range.backgroundColor, + border: '1px solid ' + String(color.blocked_out_of_range.borderColor), + color: color.blocked_out_of_range.color, + + hover: { + background: color.blocked_out_of_range.backgroundColor_hover, + border: '1px solid ' + String(color.blocked_out_of_range.borderColor), + color: color.blocked_out_of_range.color_active + } +}; + +var hoveredSpanStyles = exports.hoveredSpanStyles = { + background: color.hoveredSpan.backgroundColor, + border: '1px solid ' + String(color.hoveredSpan.borderColor), + color: color.hoveredSpan.color, + + hover: { + background: color.hoveredSpan.backgroundColor_hover, + border: '1px solid ' + String(color.hoveredSpan.borderColor), + color: color.hoveredSpan.color_active + } +}; + +var selectedSpanStyles = exports.selectedSpanStyles = { + background: color.selectedSpan.backgroundColor, + border: '1px solid ' + String(color.selectedSpan.borderColor), + color: color.selectedSpan.color, + + hover: { + background: color.selectedSpan.backgroundColor_hover, + border: '1px solid ' + String(color.selectedSpan.borderColor), + color: color.selectedSpan.color_active + } +}; + +var lastInRangeStyles = exports.lastInRangeStyles = { + borderRight: color.core.primary +}; + +var selectedStyles = exports.selectedStyles = { + background: color.selected.backgroundColor, + border: '1px solid ' + String(color.selected.borderColor), + color: color.selected.color, + + hover: { + background: color.selected.backgroundColor_hover, + border: '1px solid ' + String(color.selected.borderColor), + color: color.selected.color_active + } +}; + +var defaultProps = { + day: (0, _moment2['default'])(), + daySize: _constants.DAY_SIZE, + isOutsideDay: false, + modifiers: new Set(), + isFocused: false, + tabIndex: -1, + onDayClick: function () { + function onDayClick() {} + + return onDayClick; + }(), + onDayMouseEnter: function () { + function onDayMouseEnter() {} + + return onDayMouseEnter; + }(), + onDayMouseLeave: function () { + function onDayMouseLeave() {} + + return onDayMouseLeave; + }(), + + renderDayContents: null, + ariaLabelFormat: 'dddd, LL', + + // style defaults + defaultStyles: defaultStyles, + outsideStyles: outsideStyles, + todayStyles: {}, + highlightedCalendarStyles: highlightedCalendarStyles, + blockedMinNightsStyles: blockedMinNightsStyles, + blockedCalendarStyles: blockedCalendarStyles, + blockedOutOfRangeStyles: blockedOutOfRangeStyles, + hoveredSpanStyles: hoveredSpanStyles, + selectedSpanStyles: selectedSpanStyles, + lastInRangeStyles: lastInRangeStyles, + selectedStyles: selectedStyles, + selectedStartStyles: {}, + selectedEndStyles: {}, + afterHoveredStartStyles: {}, + firstDayOfWeekStyles: {}, + lastDayOfWeekStyles: {}, + + // internationalization + phrases: _defaultPhrases.CalendarDayPhrases +}; + +var CustomizableCalendarDay = function (_React$Component) { + _inherits(CustomizableCalendarDay, _React$Component); + + function CustomizableCalendarDay() { + var _ref; + + _classCallCheck(this, CustomizableCalendarDay); + + for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + var _this = _possibleConstructorReturn(this, (_ref = CustomizableCalendarDay.__proto__ || Object.getPrototypeOf(CustomizableCalendarDay)).call.apply(_ref, [this].concat(args))); + + _this.state = { + isHovered: false + }; + + _this.setButtonRef = _this.setButtonRef.bind(_this); + return _this; + } + + _createClass(CustomizableCalendarDay, [{ + key: 'shouldComponentUpdate', + value: function () { + function shouldComponentUpdate(nextProps, nextState) { + return (0, _reactAddonsShallowCompare2['default'])(this, nextProps, nextState); + } + + return shouldComponentUpdate; + }() + }, { + key: 'componentDidUpdate', + value: function () { + function componentDidUpdate(prevProps) { + var _props = this.props, + isFocused = _props.isFocused, + tabIndex = _props.tabIndex; + + if (tabIndex === 0) { + if (isFocused || tabIndex !== prevProps.tabIndex) { + this.buttonRef.focus(); + } + } + } + + return componentDidUpdate; + }() + }, { + key: 'onDayClick', + value: function () { + function onDayClick(day, e) { + var onDayClick = this.props.onDayClick; + + onDayClick(day, e); + } + + return onDayClick; + }() + }, { + key: 'onDayMouseEnter', + value: function () { + function onDayMouseEnter(day, e) { + var onDayMouseEnter = this.props.onDayMouseEnter; + + this.setState({ isHovered: true }); + onDayMouseEnter(day, e); + } + + return onDayMouseEnter; + }() + }, { + key: 'onDayMouseLeave', + value: function () { + function onDayMouseLeave(day, e) { + var onDayMouseLeave = this.props.onDayMouseLeave; + + this.setState({ isHovered: false }); + onDayMouseLeave(day, e); + } + + return onDayMouseLeave; + }() + }, { + key: 'onKeyDown', + value: function () { + function onKeyDown(day, e) { + var onDayClick = this.props.onDayClick; + var key = e.key; + + if (key === 'Enter' || key === ' ') { + onDayClick(day, e); + } + } + + return onKeyDown; + }() + }, { + key: 'setButtonRef', + value: function () { + function setButtonRef(ref) { + this.buttonRef = ref; + } + + return setButtonRef; + }() + }, { + key: 'render', + value: function () { + function render() { + var _this2 = this; + + var _props2 = this.props, + day = _props2.day, + ariaLabelFormat = _props2.ariaLabelFormat, + daySize = _props2.daySize, + isOutsideDay = _props2.isOutsideDay, + modifiers = _props2.modifiers, + tabIndex = _props2.tabIndex, + renderDayContents = _props2.renderDayContents, + styles = _props2.styles, + phrases = _props2.phrases, + defaultStylesWithHover = _props2.defaultStyles, + outsideStylesWithHover = _props2.outsideStyles, + todayStylesWithHover = _props2.todayStyles, + firstDayOfWeekStylesWithHover = _props2.firstDayOfWeekStyles, + lastDayOfWeekStylesWithHover = _props2.lastDayOfWeekStyles, + highlightedCalendarStylesWithHover = _props2.highlightedCalendarStyles, + blockedMinNightsStylesWithHover = _props2.blockedMinNightsStyles, + blockedCalendarStylesWithHover = _props2.blockedCalendarStyles, + blockedOutOfRangeStylesWithHover = _props2.blockedOutOfRangeStyles, + hoveredSpanStylesWithHover = _props2.hoveredSpanStyles, + selectedSpanStylesWithHover = _props2.selectedSpanStyles, + lastInRangeStylesWithHover = _props2.lastInRangeStyles, + selectedStylesWithHover = _props2.selectedStyles, + selectedStartStylesWithHover = _props2.selectedStartStyles, + selectedEndStylesWithHover = _props2.selectedEndStyles, + afterHoveredStartStylesWithHover = _props2.afterHoveredStartStyles; + var isHovered = this.state.isHovered; + + + if (!day) return _react2['default'].createElement('td', null); + + var _getCalendarDaySettin = (0, _getCalendarDaySettings2['default'])(day, ariaLabelFormat, daySize, modifiers, phrases), + daySizeStyles = _getCalendarDaySettin.daySizeStyles, + useDefaultCursor = _getCalendarDaySettin.useDefaultCursor, + selected = _getCalendarDaySettin.selected, + hoveredSpan = _getCalendarDaySettin.hoveredSpan, + isOutsideRange = _getCalendarDaySettin.isOutsideRange, + ariaLabel = _getCalendarDaySettin.ariaLabel; + + return _react2['default'].createElement( + 'td', + _extends({}, (0, _reactWithStyles.css)(styles.CalendarDay, useDefaultCursor && styles.CalendarDay__defaultCursor, daySizeStyles, getStyles(defaultStylesWithHover, isHovered), isOutsideDay && getStyles(outsideStylesWithHover, isHovered), modifiers.has('today') && getStyles(todayStylesWithHover, isHovered), modifiers.has('first-day-of-week') && getStyles(firstDayOfWeekStylesWithHover, isHovered), modifiers.has('last-day-of-week') && getStyles(lastDayOfWeekStylesWithHover, isHovered), modifiers.has('highlighted-calendar') && getStyles(highlightedCalendarStylesWithHover, isHovered), modifiers.has('blocked-minimum-nights') && getStyles(blockedMinNightsStylesWithHover, isHovered), modifiers.has('blocked-calendar') && getStyles(blockedCalendarStylesWithHover, isHovered), hoveredSpan && getStyles(hoveredSpanStylesWithHover, isHovered), modifiers.has('after-hovered-start') && getStyles(afterHoveredStartStylesWithHover, isHovered), modifiers.has('selected-span') && getStyles(selectedSpanStylesWithHover, isHovered), modifiers.has('last-in-range') && getStyles(lastInRangeStylesWithHover, isHovered), selected && getStyles(selectedStylesWithHover, isHovered), modifiers.has('selected-start') && getStyles(selectedStartStylesWithHover, isHovered), modifiers.has('selected-end') && getStyles(selectedEndStylesWithHover, isHovered), isOutsideRange && getStyles(blockedOutOfRangeStylesWithHover, isHovered)), { + role: 'button' // eslint-disable-line jsx-a11y/no-noninteractive-element-to-interactive-role + , ref: this.setButtonRef, + 'aria-label': ariaLabel, + onMouseEnter: function () { + function onMouseEnter(e) { + _this2.onDayMouseEnter(day, e); + } + + return onMouseEnter; + }(), + onMouseLeave: function () { + function onMouseLeave(e) { + _this2.onDayMouseLeave(day, e); + } + + return onMouseLeave; + }(), + onMouseUp: function () { + function onMouseUp(e) { + e.currentTarget.blur(); + } + + return onMouseUp; + }(), + onClick: function () { + function onClick(e) { + _this2.onDayClick(day, e); + } + + return onClick; + }(), + onKeyDown: function () { + function onKeyDown(e) { + _this2.onKeyDown(day, e); + } + + return onKeyDown; + }(), + tabIndex: tabIndex + }), + renderDayContents ? renderDayContents(day, modifiers) : day.format('D') + ); + } + + return render; + }() + }]); + + return CustomizableCalendarDay; +}(_react2['default'].Component); + +CustomizableCalendarDay.propTypes = propTypes; +CustomizableCalendarDay.defaultProps = defaultProps; + +exports.PureCustomizableCalendarDay = CustomizableCalendarDay; +exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) { + var font = _ref2.reactDates.font; + return { + CalendarDay: { + boxSizing: 'border-box', + cursor: 'pointer', + fontSize: font.size, + textAlign: 'center', + + ':active': { + outline: 0 + } + }, + + CalendarDay__defaultCursor: { + cursor: 'default' + } + }; +})(CustomizableCalendarDay); + +/***/ }), +/* 346 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports['default'] = getCalendarMonthWeeks; + +var _moment = __webpack_require__(30); + +var _moment2 = _interopRequireDefault(_moment); + +var _constants = __webpack_require__(45); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +function getCalendarMonthWeeks(month, enableOutsideDays) { + var firstDayOfWeek = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : _moment2['default'].localeData().firstDayOfWeek(); + + if (!_moment2['default'].isMoment(month) || !month.isValid()) { + throw new TypeError('`month` must be a valid moment object'); + } + if (_constants.WEEKDAYS.indexOf(firstDayOfWeek) === -1) { + throw new TypeError('`firstDayOfWeek` must be an integer between 0 and 6'); + } + + // set utc offset to get correct dates in future (when timezone changes) + var firstOfMonth = month.clone().startOf('month').hour(12); + var lastOfMonth = month.clone().endOf('month').hour(12); + + // calculate the exact first and last days to fill the entire matrix + // (considering days outside month) + var prevDays = (firstOfMonth.day() + 7 - firstDayOfWeek) % 7; + var nextDays = (firstDayOfWeek + 6 - lastOfMonth.day()) % 7; + var firstDay = firstOfMonth.clone().subtract(prevDays, 'day'); + var lastDay = lastOfMonth.clone().add(nextDays, 'day'); + + var totalDays = lastDay.diff(firstDay, 'days') + 1; + + var currentDay = firstDay.clone(); + var weeksInMonth = []; + + for (var i = 0; i < totalDays; i += 1) { + if (i % 7 === 0) { + weeksInMonth.push([]); + } + + var day = null; + if (i >= prevDays && i < totalDays - nextDays || enableOutsideDays) { + day = currentDay.clone(); + } + + weeksInMonth[weeksInMonth.length - 1].push(day); + + currentDay.add(1, 'day'); + } + + return weeksInMonth; +} + +/***/ }), +/* 347 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports['default'] = isTransitionEndSupported; +function isTransitionEndSupported() { + return !!(typeof window !== 'undefined' && 'TransitionEvent' in window); +} + +/***/ }), +/* 348 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports["default"] = getTransformStyles; +function getTransformStyles(transformValue) { + return { + transform: transformValue, + msTransform: transformValue, + MozTransform: transformValue, + WebkitTransform: transformValue + }; +} + +/***/ }), +/* 349 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports['default'] = isPrevMonth; + +var _moment = __webpack_require__(30); + +var _moment2 = _interopRequireDefault(_moment); + +var _isSameMonth = __webpack_require__(212); + +var _isSameMonth2 = _interopRequireDefault(_isSameMonth); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +function isPrevMonth(a, b) { + if (!_moment2['default'].isMoment(a) || !_moment2['default'].isMoment(b)) return false; + return (0, _isSameMonth2['default'])(a.clone().subtract(1, 'month'), b); +} + +/***/ }), +/* 350 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports['default'] = isNextMonth; + +var _moment = __webpack_require__(30); + +var _moment2 = _interopRequireDefault(_moment); + +var _isSameMonth = __webpack_require__(212); + +var _isSameMonth2 = _interopRequireDefault(_isSameMonth); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +function isNextMonth(a, b) { + if (!_moment2['default'].isMoment(a) || !_moment2['default'].isMoment(b)) return false; + return (0, _isSameMonth2['default'])(a.clone().add(1, 'month'), b); +} + +/***/ }), +/* 351 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.PureDateRangePicker = undefined; + +var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _object = __webpack_require__(55); + +var _object2 = _interopRequireDefault(_object); + +var _react = __webpack_require__(21); + +var _react2 = _interopRequireDefault(_react); + +var _reactAddonsShallowCompare = __webpack_require__(96); + +var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare); + +var _moment = __webpack_require__(30); + +var _moment2 = _interopRequireDefault(_moment); + +var _reactWithStyles = __webpack_require__(63); + +var _reactPortal = __webpack_require__(253); + +var _airbnbPropTypes = __webpack_require__(51); + +var _consolidatedEvents = __webpack_require__(130); + +var _isTouchDevice = __webpack_require__(100); + +var _isTouchDevice2 = _interopRequireDefault(_isTouchDevice); + +var _reactOutsideClickHandler = __webpack_require__(166); + +var _reactOutsideClickHandler2 = _interopRequireDefault(_reactOutsideClickHandler); + +var _DateRangePickerShape = __webpack_require__(224); + +var _DateRangePickerShape2 = _interopRequireDefault(_DateRangePickerShape); + +var _defaultPhrases = __webpack_require__(57); + +var _getResponsiveContainerStyles = __webpack_require__(228); + +var _getResponsiveContainerStyles2 = _interopRequireDefault(_getResponsiveContainerStyles); + +var _getDetachedContainerStyles = __webpack_require__(229); + +var _getDetachedContainerStyles2 = _interopRequireDefault(_getDetachedContainerStyles); + +var _getInputHeight = __webpack_require__(170); + +var _getInputHeight2 = _interopRequireDefault(_getInputHeight); + +var _isInclusivelyAfterDay = __webpack_require__(118); + +var _isInclusivelyAfterDay2 = _interopRequireDefault(_isInclusivelyAfterDay); + +var _disableScroll2 = __webpack_require__(230); + +var _disableScroll3 = _interopRequireDefault(_disableScroll2); + +var _DateRangePickerInputController = __webpack_require__(231); + +var _DateRangePickerInputController2 = _interopRequireDefault(_DateRangePickerInputController); + +var _DayPickerRangeController = __webpack_require__(240); + +var _DayPickerRangeController2 = _interopRequireDefault(_DayPickerRangeController); + +var _CloseButton = __webpack_require__(120); + +var _CloseButton2 = _interopRequireDefault(_CloseButton); + +var _constants = __webpack_require__(45); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, _DateRangePickerShape2['default'])); + +var defaultProps = { + // required props for a functional interactive DateRangePicker + startDate: null, + endDate: null, + focusedInput: null, + + // input related props + startDatePlaceholderText: 'Start Date', + endDatePlaceholderText: 'End Date', + disabled: false, + required: false, + readOnly: false, + screenReaderInputMessage: '', + showClearDates: false, + showDefaultInputIcon: false, + inputIconPosition: _constants.ICON_BEFORE_POSITION, + customInputIcon: null, + customArrowIcon: null, + customCloseIcon: null, + noBorder: false, + block: false, + small: false, + regular: false, + keepFocusOnInput: false, + + // calendar presentation and interaction related props + renderMonthText: null, + orientation: _constants.HORIZONTAL_ORIENTATION, + anchorDirection: _constants.ANCHOR_LEFT, + openDirection: _constants.OPEN_DOWN, + horizontalMargin: 0, + withPortal: false, + withFullScreenPortal: false, + appendToBody: false, + disableScroll: false, + initialVisibleMonth: null, + numberOfMonths: 2, + keepOpenOnDateSelect: false, + reopenPickerOnClearDates: false, + renderCalendarInfo: null, + calendarInfoPosition: _constants.INFO_POSITION_BOTTOM, + hideKeyboardShortcutsPanel: false, + daySize: _constants.DAY_SIZE, + isRTL: false, + firstDayOfWeek: null, + verticalHeight: null, + transitionDuration: undefined, + verticalSpacing: _constants.DEFAULT_VERTICAL_SPACING, + + // navigation related props + navPrev: null, + navNext: null, + + onPrevMonthClick: function () { + function onPrevMonthClick() {} + + return onPrevMonthClick; + }(), + onNextMonthClick: function () { + function onNextMonthClick() {} + + return onNextMonthClick; + }(), + onClose: function () { + function onClose() {} + + return onClose; + }(), + + + // day presentation and interaction related props + renderCalendarDay: undefined, + renderDayContents: null, + renderMonthElement: null, + minimumNights: 1, + enableOutsideDays: false, + isDayBlocked: function () { + function isDayBlocked() { + return false; + } + + return isDayBlocked; + }(), + isOutsideRange: function () { + function isOutsideRange(day) { + return !(0, _isInclusivelyAfterDay2['default'])(day, (0, _moment2['default'])()); + } + + return isOutsideRange; + }(), + isDayHighlighted: function () { + function isDayHighlighted() { + return false; + } + + return isDayHighlighted; + }(), + + // internationalization + displayFormat: function () { + function displayFormat() { + return _moment2['default'].localeData().longDateFormat('L'); + } + + return displayFormat; + }(), + monthFormat: 'MMMM YYYY', + weekDayFormat: 'dd', + phrases: _defaultPhrases.DateRangePickerPhrases, + dayAriaLabelFormat: undefined +}; + +var DateRangePicker = function (_React$Component) { + _inherits(DateRangePicker, _React$Component); + + function DateRangePicker(props) { + _classCallCheck(this, DateRangePicker); + + var _this = _possibleConstructorReturn(this, (DateRangePicker.__proto__ || Object.getPrototypeOf(DateRangePicker)).call(this, props)); + + _this.state = { + dayPickerContainerStyles: {}, + isDateRangePickerInputFocused: false, + isDayPickerFocused: false, + showKeyboardShortcuts: false + }; + + _this.isTouchDevice = false; + + _this.onOutsideClick = _this.onOutsideClick.bind(_this); + _this.onDateRangePickerInputFocus = _this.onDateRangePickerInputFocus.bind(_this); + _this.onDayPickerFocus = _this.onDayPickerFocus.bind(_this); + _this.onDayPickerBlur = _this.onDayPickerBlur.bind(_this); + _this.showKeyboardShortcutsPanel = _this.showKeyboardShortcutsPanel.bind(_this); + + _this.responsivizePickerPosition = _this.responsivizePickerPosition.bind(_this); + _this.disableScroll = _this.disableScroll.bind(_this); + + _this.setDayPickerContainerRef = _this.setDayPickerContainerRef.bind(_this); + _this.setContainerRef = _this.setContainerRef.bind(_this); + return _this; + } + + _createClass(DateRangePicker, [{ + key: 'componentDidMount', + value: function () { + function componentDidMount() { + this.removeEventListener = (0, _consolidatedEvents.addEventListener)(window, 'resize', this.responsivizePickerPosition, { passive: true }); + this.responsivizePickerPosition(); + this.disableScroll(); + + var focusedInput = this.props.focusedInput; + + if (focusedInput) { + this.setState({ + isDateRangePickerInputFocused: true + }); + } + + this.isTouchDevice = (0, _isTouchDevice2['default'])(); + } + + return componentDidMount; + }() + }, { + key: 'shouldComponentUpdate', + value: function () { + function shouldComponentUpdate(nextProps, nextState) { + return (0, _reactAddonsShallowCompare2['default'])(this, nextProps, nextState); + } + + return shouldComponentUpdate; + }() + }, { + key: 'componentDidUpdate', + value: function () { + function componentDidUpdate(prevProps) { + var focusedInput = this.props.focusedInput; + + if (!prevProps.focusedInput && focusedInput && this.isOpened()) { + // The date picker just changed from being closed to being open. + this.responsivizePickerPosition(); + this.disableScroll(); + } else if (prevProps.focusedInput && !focusedInput && !this.isOpened()) { + // The date picker just changed from being open to being closed. + if (this.enableScroll) this.enableScroll(); + } + } + + return componentDidUpdate; + }() + }, { + key: 'componentWillUnmount', + value: function () { + function componentWillUnmount() { + if (this.removeEventListener) this.removeEventListener(); + if (this.enableScroll) this.enableScroll(); + } + + return componentWillUnmount; + }() + }, { + key: 'onOutsideClick', + value: function () { + function onOutsideClick(event) { + var _props = this.props, + onFocusChange = _props.onFocusChange, + onClose = _props.onClose, + startDate = _props.startDate, + endDate = _props.endDate, + appendToBody = _props.appendToBody; + + if (!this.isOpened()) return; + if (appendToBody && this.dayPickerContainer.contains(event.target)) return; + + this.setState({ + isDateRangePickerInputFocused: false, + isDayPickerFocused: false, + showKeyboardShortcuts: false + }); + + onFocusChange(null); + onClose({ startDate: startDate, endDate: endDate }); + } + + return onOutsideClick; + }() + }, { + key: 'onDateRangePickerInputFocus', + value: function () { + function onDateRangePickerInputFocus(focusedInput) { + var _props2 = this.props, + onFocusChange = _props2.onFocusChange, + readOnly = _props2.readOnly, + withPortal = _props2.withPortal, + withFullScreenPortal = _props2.withFullScreenPortal, + keepFocusOnInput = _props2.keepFocusOnInput; + + + if (focusedInput) { + var withAnyPortal = withPortal || withFullScreenPortal; + var moveFocusToDayPicker = withAnyPortal || readOnly && !keepFocusOnInput || this.isTouchDevice && !keepFocusOnInput; + + if (moveFocusToDayPicker) { + this.onDayPickerFocus(); + } else { + this.onDayPickerBlur(); + } + } + + onFocusChange(focusedInput); + } + + return onDateRangePickerInputFocus; + }() + }, { + key: 'onDayPickerFocus', + value: function () { + function onDayPickerFocus() { + var _props3 = this.props, + focusedInput = _props3.focusedInput, + onFocusChange = _props3.onFocusChange; + + if (!focusedInput) onFocusChange(_constants.START_DATE); + + this.setState({ + isDateRangePickerInputFocused: false, + isDayPickerFocused: true, + showKeyboardShortcuts: false + }); + } + + return onDayPickerFocus; + }() + }, { + key: 'onDayPickerBlur', + value: function () { + function onDayPickerBlur() { + this.setState({ + isDateRangePickerInputFocused: true, + isDayPickerFocused: false, + showKeyboardShortcuts: false + }); + } + + return onDayPickerBlur; + }() + }, { + key: 'setDayPickerContainerRef', + value: function () { + function setDayPickerContainerRef(ref) { + this.dayPickerContainer = ref; + } + + return setDayPickerContainerRef; + }() + }, { + key: 'setContainerRef', + value: function () { + function setContainerRef(ref) { + this.container = ref; + } + + return setContainerRef; + }() + }, { + key: 'isOpened', + value: function () { + function isOpened() { + var focusedInput = this.props.focusedInput; + + return focusedInput === _constants.START_DATE || focusedInput === _constants.END_DATE; + } + + return isOpened; + }() + }, { + key: 'disableScroll', + value: function () { + function disableScroll() { + var _props4 = this.props, + appendToBody = _props4.appendToBody, + propDisableScroll = _props4.disableScroll; + + if (!appendToBody && !propDisableScroll) return; + if (!this.isOpened()) return; + + // Disable scroll for every ancestor of this DateRangePicker up to the + // document level. This ensures the input and the picker never move. Other + // sibling elements or the picker itself can scroll. + this.enableScroll = (0, _disableScroll3['default'])(this.container); + } + + return disableScroll; + }() + }, { + key: 'responsivizePickerPosition', + value: function () { + function responsivizePickerPosition() { + // It's possible the portal props have been changed in response to window resizes + // So let's ensure we reset this back to the base state each time + this.setState({ dayPickerContainerStyles: {} }); + + if (!this.isOpened()) { + return; + } + + var _props5 = this.props, + openDirection = _props5.openDirection, + anchorDirection = _props5.anchorDirection, + horizontalMargin = _props5.horizontalMargin, + withPortal = _props5.withPortal, + withFullScreenPortal = _props5.withFullScreenPortal, + appendToBody = _props5.appendToBody; + var dayPickerContainerStyles = this.state.dayPickerContainerStyles; + + + var isAnchoredLeft = anchorDirection === _constants.ANCHOR_LEFT; + if (!withPortal && !withFullScreenPortal) { + var containerRect = this.dayPickerContainer.getBoundingClientRect(); + var currentOffset = dayPickerContainerStyles[anchorDirection] || 0; + var containerEdge = isAnchoredLeft ? containerRect[_constants.ANCHOR_RIGHT] : containerRect[_constants.ANCHOR_LEFT]; + + this.setState({ + dayPickerContainerStyles: (0, _object2['default'])({}, (0, _getResponsiveContainerStyles2['default'])(anchorDirection, currentOffset, containerEdge, horizontalMargin), appendToBody && (0, _getDetachedContainerStyles2['default'])(openDirection, anchorDirection, this.container)) + }); + } + } + + return responsivizePickerPosition; + }() + }, { + key: 'showKeyboardShortcutsPanel', + value: function () { + function showKeyboardShortcutsPanel() { + this.setState({ + isDateRangePickerInputFocused: false, + isDayPickerFocused: true, + showKeyboardShortcuts: true + }); + } + + return showKeyboardShortcutsPanel; + }() + }, { + key: 'maybeRenderDayPickerWithPortal', + value: function () { + function maybeRenderDayPickerWithPortal() { + var _props6 = this.props, + withPortal = _props6.withPortal, + withFullScreenPortal = _props6.withFullScreenPortal, + appendToBody = _props6.appendToBody; + + + if (!this.isOpened()) { + return null; + } + + if (withPortal || withFullScreenPortal || appendToBody) { + return _react2['default'].createElement( + _reactPortal.Portal, + null, + this.renderDayPicker() + ); + } + + return this.renderDayPicker(); + } + + return maybeRenderDayPickerWithPortal; + }() + }, { + key: 'renderDayPicker', + value: function () { + function renderDayPicker() { + var _props7 = this.props, + anchorDirection = _props7.anchorDirection, + openDirection = _props7.openDirection, + isDayBlocked = _props7.isDayBlocked, + isDayHighlighted = _props7.isDayHighlighted, + isOutsideRange = _props7.isOutsideRange, + numberOfMonths = _props7.numberOfMonths, + orientation = _props7.orientation, + monthFormat = _props7.monthFormat, + renderMonthText = _props7.renderMonthText, + navPrev = _props7.navPrev, + navNext = _props7.navNext, + onPrevMonthClick = _props7.onPrevMonthClick, + onNextMonthClick = _props7.onNextMonthClick, + onDatesChange = _props7.onDatesChange, + onFocusChange = _props7.onFocusChange, + withPortal = _props7.withPortal, + withFullScreenPortal = _props7.withFullScreenPortal, + daySize = _props7.daySize, + enableOutsideDays = _props7.enableOutsideDays, + focusedInput = _props7.focusedInput, + startDate = _props7.startDate, + endDate = _props7.endDate, + minimumNights = _props7.minimumNights, + keepOpenOnDateSelect = _props7.keepOpenOnDateSelect, + renderCalendarDay = _props7.renderCalendarDay, + renderDayContents = _props7.renderDayContents, + renderCalendarInfo = _props7.renderCalendarInfo, + renderMonthElement = _props7.renderMonthElement, + calendarInfoPosition = _props7.calendarInfoPosition, + firstDayOfWeek = _props7.firstDayOfWeek, + initialVisibleMonth = _props7.initialVisibleMonth, + hideKeyboardShortcutsPanel = _props7.hideKeyboardShortcutsPanel, + customCloseIcon = _props7.customCloseIcon, + onClose = _props7.onClose, + phrases = _props7.phrases, + dayAriaLabelFormat = _props7.dayAriaLabelFormat, + isRTL = _props7.isRTL, + weekDayFormat = _props7.weekDayFormat, + styles = _props7.styles, + verticalHeight = _props7.verticalHeight, + transitionDuration = _props7.transitionDuration, + verticalSpacing = _props7.verticalSpacing, + small = _props7.small, + disabled = _props7.disabled, + reactDates = _props7.theme.reactDates; + var _state = this.state, + dayPickerContainerStyles = _state.dayPickerContainerStyles, + isDayPickerFocused = _state.isDayPickerFocused, + showKeyboardShortcuts = _state.showKeyboardShortcuts; + + + var onOutsideClick = !withFullScreenPortal && withPortal ? this.onOutsideClick : undefined; + var initialVisibleMonthThunk = initialVisibleMonth || function () { + return startDate || endDate || (0, _moment2['default'])(); + }; + + var closeIcon = customCloseIcon || _react2['default'].createElement(_CloseButton2['default'], (0, _reactWithStyles.css)(styles.DateRangePicker_closeButton_svg)); + + var inputHeight = (0, _getInputHeight2['default'])(reactDates, small); + + var withAnyPortal = withPortal || withFullScreenPortal; + + return _react2['default'].createElement( + 'div', + _extends({ // eslint-disable-line jsx-a11y/no-static-element-interactions + ref: this.setDayPickerContainerRef + }, (0, _reactWithStyles.css)(styles.DateRangePicker_picker, anchorDirection === _constants.ANCHOR_LEFT && styles.DateRangePicker_picker__directionLeft, anchorDirection === _constants.ANCHOR_RIGHT && styles.DateRangePicker_picker__directionRight, orientation === _constants.HORIZONTAL_ORIENTATION && styles.DateRangePicker_picker__horizontal, orientation === _constants.VERTICAL_ORIENTATION && styles.DateRangePicker_picker__vertical, !withAnyPortal && openDirection === _constants.OPEN_DOWN && { + top: inputHeight + verticalSpacing + }, !withAnyPortal && openDirection === _constants.OPEN_UP && { + bottom: inputHeight + verticalSpacing + }, withAnyPortal && styles.DateRangePicker_picker__portal, withFullScreenPortal && styles.DateRangePicker_picker__fullScreenPortal, isRTL && styles.DateRangePicker_picker__rtl, dayPickerContainerStyles), { + onClick: onOutsideClick + }), + _react2['default'].createElement(_DayPickerRangeController2['default'], { + orientation: orientation, + enableOutsideDays: enableOutsideDays, + numberOfMonths: numberOfMonths, + onPrevMonthClick: onPrevMonthClick, + onNextMonthClick: onNextMonthClick, + onDatesChange: onDatesChange, + onFocusChange: onFocusChange, + onClose: onClose, + focusedInput: focusedInput, + startDate: startDate, + endDate: endDate, + monthFormat: monthFormat, + renderMonthText: renderMonthText, + withPortal: withAnyPortal, + daySize: daySize, + initialVisibleMonth: initialVisibleMonthThunk, + hideKeyboardShortcutsPanel: hideKeyboardShortcutsPanel, + navPrev: navPrev, + navNext: navNext, + minimumNights: minimumNights, + isOutsideRange: isOutsideRange, + isDayHighlighted: isDayHighlighted, + isDayBlocked: isDayBlocked, + keepOpenOnDateSelect: keepOpenOnDateSelect, + renderCalendarDay: renderCalendarDay, + renderDayContents: renderDayContents, + renderCalendarInfo: renderCalendarInfo, + renderMonthElement: renderMonthElement, + calendarInfoPosition: calendarInfoPosition, + isFocused: isDayPickerFocused, + showKeyboardShortcuts: showKeyboardShortcuts, + onBlur: this.onDayPickerBlur, + phrases: phrases, + dayAriaLabelFormat: dayAriaLabelFormat, + isRTL: isRTL, + firstDayOfWeek: firstDayOfWeek, + weekDayFormat: weekDayFormat, + verticalHeight: verticalHeight, + transitionDuration: transitionDuration, + disabled: disabled + }), + withFullScreenPortal && _react2['default'].createElement( + 'button', + _extends({}, (0, _reactWithStyles.css)(styles.DateRangePicker_closeButton), { + type: 'button', + onClick: this.onOutsideClick, + 'aria-label': phrases.closeDatePicker + }), + closeIcon + ) + ); + } + + return renderDayPicker; + }() + }, { + key: 'render', + value: function () { + function render() { + var _props8 = this.props, + startDate = _props8.startDate, + startDateId = _props8.startDateId, + startDatePlaceholderText = _props8.startDatePlaceholderText, + endDate = _props8.endDate, + endDateId = _props8.endDateId, + endDatePlaceholderText = _props8.endDatePlaceholderText, + focusedInput = _props8.focusedInput, + screenReaderInputMessage = _props8.screenReaderInputMessage, + showClearDates = _props8.showClearDates, + showDefaultInputIcon = _props8.showDefaultInputIcon, + inputIconPosition = _props8.inputIconPosition, + customInputIcon = _props8.customInputIcon, + customArrowIcon = _props8.customArrowIcon, + customCloseIcon = _props8.customCloseIcon, + disabled = _props8.disabled, + required = _props8.required, + readOnly = _props8.readOnly, + openDirection = _props8.openDirection, + phrases = _props8.phrases, + isOutsideRange = _props8.isOutsideRange, + minimumNights = _props8.minimumNights, + withPortal = _props8.withPortal, + withFullScreenPortal = _props8.withFullScreenPortal, + displayFormat = _props8.displayFormat, + reopenPickerOnClearDates = _props8.reopenPickerOnClearDates, + keepOpenOnDateSelect = _props8.keepOpenOnDateSelect, + onDatesChange = _props8.onDatesChange, + onClose = _props8.onClose, + isRTL = _props8.isRTL, + noBorder = _props8.noBorder, + block = _props8.block, + verticalSpacing = _props8.verticalSpacing, + small = _props8.small, + regular = _props8.regular, + styles = _props8.styles; + var isDateRangePickerInputFocused = this.state.isDateRangePickerInputFocused; + + + var enableOutsideClick = !withPortal && !withFullScreenPortal; + + var hideFang = verticalSpacing < _constants.FANG_HEIGHT_PX; + + var input = _react2['default'].createElement(_DateRangePickerInputController2['default'], { + startDate: startDate, + startDateId: startDateId, + startDatePlaceholderText: startDatePlaceholderText, + isStartDateFocused: focusedInput === _constants.START_DATE, + endDate: endDate, + endDateId: endDateId, + endDatePlaceholderText: endDatePlaceholderText, + isEndDateFocused: focusedInput === _constants.END_DATE, + displayFormat: displayFormat, + showClearDates: showClearDates, + showCaret: !withPortal && !withFullScreenPortal && !hideFang, + showDefaultInputIcon: showDefaultInputIcon, + inputIconPosition: inputIconPosition, + customInputIcon: customInputIcon, + customArrowIcon: customArrowIcon, + customCloseIcon: customCloseIcon, + disabled: disabled, + required: required, + readOnly: readOnly, + openDirection: openDirection, + reopenPickerOnClearDates: reopenPickerOnClearDates, + keepOpenOnDateSelect: keepOpenOnDateSelect, + isOutsideRange: isOutsideRange, + minimumNights: minimumNights, + withFullScreenPortal: withFullScreenPortal, + onDatesChange: onDatesChange, + onFocusChange: this.onDateRangePickerInputFocus, + onKeyDownArrowDown: this.onDayPickerFocus, + onKeyDownQuestionMark: this.showKeyboardShortcutsPanel, + onClose: onClose, + phrases: phrases, + screenReaderMessage: screenReaderInputMessage, + isFocused: isDateRangePickerInputFocused, + isRTL: isRTL, + noBorder: noBorder, + block: block, + small: small, + regular: regular, + verticalSpacing: verticalSpacing + }); + + return _react2['default'].createElement( + 'div', + _extends({ + ref: this.setContainerRef + }, (0, _reactWithStyles.css)(styles.DateRangePicker, block && styles.DateRangePicker__block)), + enableOutsideClick && _react2['default'].createElement( + _reactOutsideClickHandler2['default'], + { onOutsideClick: this.onOutsideClick }, + input, + this.maybeRenderDayPickerWithPortal() + ), + !enableOutsideClick && input, + !enableOutsideClick && this.maybeRenderDayPickerWithPortal() + ); + } + + return render; + }() + }]); + + return DateRangePicker; +}(_react2['default'].Component); + +DateRangePicker.propTypes = propTypes; +DateRangePicker.defaultProps = defaultProps; + +exports.PureDateRangePicker = DateRangePicker; +exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref) { + var _ref$reactDates = _ref.reactDates, + color = _ref$reactDates.color, + zIndex = _ref$reactDates.zIndex; + return { + DateRangePicker: { + position: 'relative', + display: 'inline-block' + }, + + DateRangePicker__block: { + display: 'block' + }, + + DateRangePicker_picker: { + zIndex: zIndex + 1, + backgroundColor: color.background, + position: 'absolute' + }, + + DateRangePicker_picker__rtl: { + direction: 'rtl' + }, + + DateRangePicker_picker__directionLeft: { + left: 0 + }, + + DateRangePicker_picker__directionRight: { + right: 0 + }, + + DateRangePicker_picker__portal: { + backgroundColor: 'rgba(0, 0, 0, 0.3)', + position: 'fixed', + top: 0, + left: 0, + height: '100%', + width: '100%' + }, + + DateRangePicker_picker__fullScreenPortal: { + backgroundColor: color.background + }, + + DateRangePicker_closeButton: { + background: 'none', + border: 0, + color: 'inherit', + font: 'inherit', + lineHeight: 'normal', + overflow: 'visible', + cursor: 'pointer', + + position: 'absolute', + top: 0, + right: 0, + padding: 15, + zIndex: zIndex + 2, + + ':hover': { + color: 'darken(' + String(color.core.grayLighter) + ', 10%)', + textDecoration: 'none' + }, + + ':focus': { + color: 'darken(' + String(color.core.grayLighter) + ', 10%)', + textDecoration: 'none' + } + }, + + DateRangePicker_closeButton_svg: { + height: 15, + width: 15, + fill: color.core.grayLighter + } + }; +})(DateRangePicker); + +/***/ }), +/* 352 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +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__(21); + +var _react2 = _interopRequireDefault(_react); + +var _propTypes = __webpack_require__(25); + +var _propTypes2 = _interopRequireDefault(_propTypes); + +var _airbnbPropTypes = __webpack_require__(51); + +var _consolidatedEvents = __webpack_require__(130); + +var _object = __webpack_require__(167); + +var _object2 = _interopRequireDefault(_object); + +var _document = __webpack_require__(363); + +var _document2 = _interopRequireDefault(_document); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var DISPLAY = { + BLOCK: 'block', + FLEX: 'flex', + INLINE: 'inline', + INLINE_BLOCK: 'inline-block', + CONTENTS: 'contents' +}; + +var propTypes = (0, _airbnbPropTypes.forbidExtraProps)({ + children: _propTypes2['default'].node.isRequired, + onOutsideClick: _propTypes2['default'].func.isRequired, + disabled: _propTypes2['default'].bool, + useCapture: _propTypes2['default'].bool, + display: _propTypes2['default'].oneOf((0, _object2['default'])(DISPLAY)) +}); + +var defaultProps = { + disabled: false, + + // `useCapture` is set to true by default so that a `stopPropagation` in the + // children will not prevent all outside click handlers from firing - maja + useCapture: true, + display: DISPLAY.BLOCK +}; + +var OutsideClickHandler = function (_React$Component) { + _inherits(OutsideClickHandler, _React$Component); + + function OutsideClickHandler() { + var _ref; + + _classCallCheck(this, OutsideClickHandler); + + for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + var _this = _possibleConstructorReturn(this, (_ref = OutsideClickHandler.__proto__ || Object.getPrototypeOf(OutsideClickHandler)).call.apply(_ref, [this].concat(args))); + + _this.onMouseDown = _this.onMouseDown.bind(_this); + _this.onMouseUp = _this.onMouseUp.bind(_this); + _this.setChildNodeRef = _this.setChildNodeRef.bind(_this); + return _this; + } + + _createClass(OutsideClickHandler, [{ + key: 'componentDidMount', + value: function () { + function componentDidMount() { + var _props = this.props, + disabled = _props.disabled, + useCapture = _props.useCapture; + + + if (!disabled) this.addMouseDownEventListener(useCapture); + } + + return componentDidMount; + }() + }, { + key: 'componentDidUpdate', + value: function () { + function componentDidUpdate(_ref2) { + var prevDisabled = _ref2.disabled; + var _props2 = this.props, + disabled = _props2.disabled, + useCapture = _props2.useCapture; + + if (prevDisabled !== disabled) { + if (disabled) { + this.removeEventListeners(); + } else { + this.addMouseDownEventListener(useCapture); + } + } + } + + return componentDidUpdate; + }() + }, { + key: 'componentWillUnmount', + value: function () { + function componentWillUnmount() { + this.removeEventListeners(); + } + + return componentWillUnmount; + }() + + // Use mousedown/mouseup to enforce that clicks remain outside the root's + // descendant tree, even when dragged. This should also get triggered on + // touch devices. + + }, { + key: 'onMouseDown', + value: function () { + function onMouseDown(e) { + var useCapture = this.props.useCapture; + + + var isDescendantOfRoot = this.childNode && (0, _document2['default'])(this.childNode, e.target); + if (!isDescendantOfRoot) { + if (this.removeMouseUp) { + this.removeMouseUp(); + this.removeMouseUp = null; + } + this.removeMouseUp = (0, _consolidatedEvents.addEventListener)(document, 'mouseup', this.onMouseUp, { capture: useCapture }); + } + } + + return onMouseDown; + }() + + // Use mousedown/mouseup to enforce that clicks remain outside the root's + // descendant tree, even when dragged. This should also get triggered on + // touch devices. + + }, { + key: 'onMouseUp', + value: function () { + function onMouseUp(e) { + var onOutsideClick = this.props.onOutsideClick; + + + var isDescendantOfRoot = this.childNode && (0, _document2['default'])(this.childNode, e.target); + if (this.removeMouseUp) { + this.removeMouseUp(); + this.removeMouseUp = null; + } + + if (!isDescendantOfRoot) { + onOutsideClick(e); + } + } + + return onMouseUp; + }() + }, { + key: 'setChildNodeRef', + value: function () { + function setChildNodeRef(ref) { + this.childNode = ref; + } + + return setChildNodeRef; + }() + }, { + key: 'addMouseDownEventListener', + value: function () { + function addMouseDownEventListener(useCapture) { + this.removeMouseDown = (0, _consolidatedEvents.addEventListener)(document, 'mousedown', this.onMouseDown, { capture: useCapture }); + } + + return addMouseDownEventListener; + }() + }, { + key: 'removeEventListeners', + value: function () { + function removeEventListeners() { + if (this.removeMouseDown) this.removeMouseDown(); + if (this.removeMouseUp) this.removeMouseUp(); + } + + return removeEventListeners; + }() + }, { + key: 'render', + value: function () { + function render() { + var _props3 = this.props, + children = _props3.children, + display = _props3.display; + + + return _react2['default'].createElement( + 'div', + { + ref: this.setChildNodeRef, + style: display !== DISPLAY.BLOCK && (0, _object2['default'])(DISPLAY).includes(display) ? { display: display } : undefined + }, + children + ); + } + + return render; + }() + }]); + + return OutsideClickHandler; +}(_react2['default'].Component); + +exports['default'] = OutsideClickHandler; + + +OutsideClickHandler.propTypes = propTypes; +OutsideClickHandler.defaultProps = defaultProps; + +/***/ }), +/* 353 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +module.exports = __webpack_require__(354); + + +/***/ }), +/* 354 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var ES2015 = __webpack_require__(355); +var assign = __webpack_require__(218); + +var ES2016 = assign(assign({}, ES2015), { + // https://github.com/tc39/ecma262/pull/60 + SameValueNonNumber: function SameValueNonNumber(x, y) { + if (typeof x === 'number' || typeof x !== typeof y) { + throw new TypeError('SameValueNonNumber requires two non-number values of the same type.'); + } + return this.SameValue(x, y); + } +}); + +module.exports = ES2016; + + +/***/ }), +/* 355 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var has = __webpack_require__(72); +var toPrimitive = __webpack_require__(356); +var keys = __webpack_require__(159); + +var GetIntrinsic = __webpack_require__(169); + +var $TypeError = GetIntrinsic('%TypeError%'); +var $SyntaxError = GetIntrinsic('%SyntaxError%'); +var $Array = GetIntrinsic('%Array%'); +var $String = GetIntrinsic('%String%'); +var $Object = GetIntrinsic('%Object%'); +var $Number = GetIntrinsic('%Number%'); +var $Symbol = GetIntrinsic('%Symbol%', true); +var $RegExp = GetIntrinsic('%RegExp%'); + +var hasSymbols = !!$Symbol; + +var assertRecord = __webpack_require__(215); +var $isNaN = __webpack_require__(216); +var $isFinite = __webpack_require__(217); +var MAX_SAFE_INTEGER = $Number.MAX_SAFE_INTEGER || Math.pow(2, 53) - 1; + +var assign = __webpack_require__(218); +var sign = __webpack_require__(219); +var mod = __webpack_require__(220); +var isPrimitive = __webpack_require__(358); +var parseInteger = parseInt; +var bind = __webpack_require__(93); +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); +var isOctal = bind.call(Function.call, $RegExp.prototype.test, /^0o[0-7]+$/i); +var regexExec = bind.call(Function.call, $RegExp.prototype.exec); +var nonWS = ['\u0085', '\u200b', '\ufffe'].join(''); +var nonWSregex = new $RegExp('[' + nonWS + ']', 'g'); +var hasNonWS = bind.call(Function.call, $RegExp.prototype.test, nonWSregex); +var invalidHexLiteral = /^[-+]0x[0-9a-f]+$/i; +var isInvalidHexLiteral = bind.call(Function.call, $RegExp.prototype.test, invalidHexLiteral); +var $charCodeAt = bind.call(Function.call, $String.prototype.charCodeAt); + +var toStr = bind.call(Function.call, Object.prototype.toString); + +var $NumberValueOf = bind.call(Function.call, GetIntrinsic('%NumberPrototype%').valueOf); +var $BooleanValueOf = bind.call(Function.call, GetIntrinsic('%BooleanPrototype%').valueOf); +var $StringValueOf = bind.call(Function.call, GetIntrinsic('%StringPrototype%').valueOf); +var $DateValueOf = bind.call(Function.call, GetIntrinsic('%DatePrototype%').valueOf); + +var $floor = Math.floor; +var $abs = Math.abs; + +var $ObjectCreate = Object.create; +var $gOPD = $Object.getOwnPropertyDescriptor; + +var $isExtensible = $Object.isExtensible; + +var $defineProperty = $Object.defineProperty; + +// whitespace from: http://es5.github.io/#x15.5.4.20 +// implementation from https://github.com/es-shims/es5-shim/blob/v3.4.0/es5-shim.js#L1304-L1324 +var ws = [ + '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003', + '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028', + '\u2029\uFEFF' +].join(''); +var trimRegex = new RegExp('(^[' + ws + ']+)|([' + ws + ']+$)', 'g'); +var replace = bind.call(Function.call, $String.prototype.replace); +var trim = function (value) { + return replace(value, trimRegex, ''); +}; + +var ES5 = __webpack_require__(359); + +var hasRegExpMatcher = __webpack_require__(361); + +// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-abstract-operations +var ES6 = assign(assign({}, ES5), { + + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-call-f-v-args + Call: function Call(F, V) { + var args = arguments.length > 2 ? arguments[2] : []; + if (!this.IsCallable(F)) { + throw new $TypeError(F + ' is not a function'); + } + return F.apply(V, args); + }, + + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toprimitive + ToPrimitive: toPrimitive, + + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toboolean + // ToBoolean: ES5.ToBoolean, + + // https://ecma-international.org/ecma-262/6.0/#sec-tonumber + ToNumber: function ToNumber(argument) { + var value = isPrimitive(argument) ? argument : toPrimitive(argument, $Number); + if (typeof value === 'symbol') { + throw new $TypeError('Cannot convert a Symbol value to a number'); + } + if (typeof value === 'string') { + if (isBinary(value)) { + return this.ToNumber(parseInteger(strSlice(value, 2), 2)); + } else if (isOctal(value)) { + return this.ToNumber(parseInteger(strSlice(value, 2), 8)); + } else if (hasNonWS(value) || isInvalidHexLiteral(value)) { + return NaN; + } else { + var trimmed = trim(value); + if (trimmed !== value) { + return this.ToNumber(trimmed); + } + } + } + return $Number(value); + }, + + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tointeger + // ToInteger: ES5.ToNumber, + + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toint32 + // ToInt32: ES5.ToInt32, + + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-touint32 + // ToUint32: ES5.ToUint32, + + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toint16 + ToInt16: function ToInt16(argument) { + var int16bit = this.ToUint16(argument); + return int16bit >= 0x8000 ? int16bit - 0x10000 : int16bit; + }, + + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-touint16 + // ToUint16: ES5.ToUint16, + + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toint8 + ToInt8: function ToInt8(argument) { + var int8bit = this.ToUint8(argument); + return int8bit >= 0x80 ? int8bit - 0x100 : int8bit; + }, + + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-touint8 + ToUint8: function ToUint8(argument) { + var number = this.ToNumber(argument); + if ($isNaN(number) || number === 0 || !$isFinite(number)) { return 0; } + var posInt = sign(number) * $floor($abs(number)); + return mod(posInt, 0x100); + }, + + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-touint8clamp + ToUint8Clamp: function ToUint8Clamp(argument) { + var number = this.ToNumber(argument); + if ($isNaN(number) || number <= 0) { return 0; } + if (number >= 0xFF) { return 0xFF; } + var f = $floor(argument); + if (f + 0.5 < number) { return f + 1; } + if (number < f + 0.5) { return f; } + if (f % 2 !== 0) { return f + 1; } + return f; + }, + + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tostring + ToString: function ToString(argument) { + if (typeof argument === 'symbol') { + throw new $TypeError('Cannot convert a Symbol value to a string'); + } + return $String(argument); + }, + + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-toobject + ToObject: function ToObject(value) { + this.RequireObjectCoercible(value); + return $Object(value); + }, + + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-topropertykey + ToPropertyKey: function ToPropertyKey(argument) { + var key = this.ToPrimitive(argument, $String); + return typeof key === 'symbol' ? key : this.ToString(key); + }, + + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength + ToLength: function ToLength(argument) { + var len = this.ToInteger(argument); + if (len <= 0) { return 0; } // includes converting -0 to +0 + if (len > MAX_SAFE_INTEGER) { return MAX_SAFE_INTEGER; } + return len; + }, + + // https://ecma-international.org/ecma-262/6.0/#sec-canonicalnumericindexstring + CanonicalNumericIndexString: function CanonicalNumericIndexString(argument) { + if (toStr(argument) !== '[object String]') { + throw new $TypeError('must be a string'); + } + if (argument === '-0') { return -0; } + var n = this.ToNumber(argument); + if (this.SameValue(this.ToString(n), argument)) { return n; } + return void 0; + }, + + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-requireobjectcoercible + RequireObjectCoercible: ES5.CheckObjectCoercible, + + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isarray + IsArray: $Array.isArray || function IsArray(argument) { + return toStr(argument) === '[object Array]'; + }, + + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-iscallable + // IsCallable: ES5.IsCallable, + + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isconstructor + IsConstructor: function IsConstructor(argument) { + return typeof argument === 'function' && !!argument.prototype; // unfortunately there's no way to truly check this without try/catch `new argument` + }, + + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isextensible-o + IsExtensible: Object.preventExtensions + ? function IsExtensible(obj) { + if (isPrimitive(obj)) { + return false; + } + return $isExtensible(obj); + } + : function isExtensible(obj) { return true; }, // eslint-disable-line no-unused-vars + + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isinteger + IsInteger: function IsInteger(argument) { + if (typeof argument !== 'number' || $isNaN(argument) || !$isFinite(argument)) { + return false; + } + var abs = $abs(argument); + return $floor(abs) === abs; + }, + + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-ispropertykey + IsPropertyKey: function IsPropertyKey(argument) { + return typeof argument === 'string' || typeof argument === 'symbol'; + }, + + // https://ecma-international.org/ecma-262/6.0/#sec-isregexp + IsRegExp: function IsRegExp(argument) { + if (!argument || typeof argument !== 'object') { + return false; + } + if (hasSymbols) { + var isRegExp = argument[$Symbol.match]; + if (typeof isRegExp !== 'undefined') { + return ES5.ToBoolean(isRegExp); + } + } + return hasRegExpMatcher(argument); + }, + + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevalue + // SameValue: ES5.SameValue, + + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero + SameValueZero: function SameValueZero(x, y) { + return (x === y) || ($isNaN(x) && $isNaN(y)); + }, + + /** + * 7.3.2 GetV (V, P) + * 1. Assert: IsPropertyKey(P) is true. + * 2. Let O be ToObject(V). + * 3. ReturnIfAbrupt(O). + * 4. Return O.[[Get]](P, V). + */ + GetV: function GetV(V, P) { + // 7.3.2.1 + if (!this.IsPropertyKey(P)) { + throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); + } + + // 7.3.2.2-3 + var O = this.ToObject(V); + + // 7.3.2.4 + return O[P]; + }, + + /** + * 7.3.9 - https://ecma-international.org/ecma-262/6.0/#sec-getmethod + * 1. Assert: IsPropertyKey(P) is true. + * 2. Let func be GetV(O, P). + * 3. ReturnIfAbrupt(func). + * 4. If func is either undefined or null, return undefined. + * 5. If IsCallable(func) is false, throw a TypeError exception. + * 6. Return func. + */ + GetMethod: function GetMethod(O, P) { + // 7.3.9.1 + if (!this.IsPropertyKey(P)) { + throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); + } + + // 7.3.9.2 + var func = this.GetV(O, P); + + // 7.3.9.4 + if (func == null) { + return void 0; + } + + // 7.3.9.5 + if (!this.IsCallable(func)) { + throw new $TypeError(P + 'is not a function'); + } + + // 7.3.9.6 + return func; + }, + + /** + * 7.3.1 Get (O, P) - https://ecma-international.org/ecma-262/6.0/#sec-get-o-p + * 1. Assert: Type(O) is Object. + * 2. Assert: IsPropertyKey(P) is true. + * 3. Return O.[[Get]](P, O). + */ + Get: function Get(O, P) { + // 7.3.1.1 + if (this.Type(O) !== 'Object') { + throw new $TypeError('Assertion failed: Type(O) is not Object'); + } + // 7.3.1.2 + if (!this.IsPropertyKey(P)) { + throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); + } + // 7.3.1.3 + return O[P]; + }, + + Type: function Type(x) { + if (typeof x === 'symbol') { + return 'Symbol'; + } + return ES5.Type(x); + }, + + // https://ecma-international.org/ecma-262/6.0/#sec-speciesconstructor + SpeciesConstructor: function SpeciesConstructor(O, defaultConstructor) { + if (this.Type(O) !== 'Object') { + throw new $TypeError('Assertion failed: Type(O) is not Object'); + } + var C = O.constructor; + if (typeof C === 'undefined') { + return defaultConstructor; + } + if (this.Type(C) !== 'Object') { + throw new $TypeError('O.constructor is not an Object'); + } + var S = hasSymbols && $Symbol.species ? C[$Symbol.species] : void 0; + if (S == null) { + return defaultConstructor; + } + if (this.IsConstructor(S)) { + return S; + } + throw new $TypeError('no constructor found'); + }, + + // https://ecma-international.org/ecma-262/6.0/#sec-completepropertydescriptor + CompletePropertyDescriptor: function CompletePropertyDescriptor(Desc) { + assertRecord(this, 'Property Descriptor', 'Desc', Desc); + + if (this.IsGenericDescriptor(Desc) || this.IsDataDescriptor(Desc)) { + if (!has(Desc, '[[Value]]')) { + Desc['[[Value]]'] = void 0; + } + if (!has(Desc, '[[Writable]]')) { + Desc['[[Writable]]'] = false; + } + } else { + if (!has(Desc, '[[Get]]')) { + Desc['[[Get]]'] = void 0; + } + if (!has(Desc, '[[Set]]')) { + Desc['[[Set]]'] = void 0; + } + } + if (!has(Desc, '[[Enumerable]]')) { + Desc['[[Enumerable]]'] = false; + } + if (!has(Desc, '[[Configurable]]')) { + Desc['[[Configurable]]'] = false; + } + return Desc; + }, + + // https://ecma-international.org/ecma-262/6.0/#sec-set-o-p-v-throw + Set: function Set(O, P, V, Throw) { + if (this.Type(O) !== 'Object') { + throw new $TypeError('O must be an Object'); + } + if (!this.IsPropertyKey(P)) { + throw new $TypeError('P must be a Property Key'); + } + if (this.Type(Throw) !== 'Boolean') { + throw new $TypeError('Throw must be a Boolean'); + } + if (Throw) { + O[P] = V; + return true; + } else { + try { + O[P] = V; + } catch (e) { + return false; + } + } + }, + + // https://ecma-international.org/ecma-262/6.0/#sec-hasownproperty + HasOwnProperty: function HasOwnProperty(O, P) { + if (this.Type(O) !== 'Object') { + throw new $TypeError('O must be an Object'); + } + if (!this.IsPropertyKey(P)) { + throw new $TypeError('P must be a Property Key'); + } + return has(O, P); + }, + + // https://ecma-international.org/ecma-262/6.0/#sec-hasproperty + HasProperty: function HasProperty(O, P) { + if (this.Type(O) !== 'Object') { + throw new $TypeError('O must be an Object'); + } + if (!this.IsPropertyKey(P)) { + throw new $TypeError('P must be a Property Key'); + } + return P in O; + }, + + // https://ecma-international.org/ecma-262/6.0/#sec-isconcatspreadable + IsConcatSpreadable: function IsConcatSpreadable(O) { + if (this.Type(O) !== 'Object') { + return false; + } + if (hasSymbols && typeof $Symbol.isConcatSpreadable === 'symbol') { + var spreadable = this.Get(O, Symbol.isConcatSpreadable); + if (typeof spreadable !== 'undefined') { + return this.ToBoolean(spreadable); + } + } + return this.IsArray(O); + }, + + // https://ecma-international.org/ecma-262/6.0/#sec-invoke + Invoke: function Invoke(O, P) { + if (!this.IsPropertyKey(P)) { + throw new $TypeError('P must be a Property Key'); + } + var argumentsList = arraySlice(arguments, 2); + var func = this.GetV(O, P); + return this.Call(func, O, argumentsList); + }, + + // https://ecma-international.org/ecma-262/6.0/#sec-getiterator + GetIterator: function GetIterator(obj, method) { + if (!hasSymbols) { + throw new SyntaxError('ES.GetIterator depends on native iterator support.'); + } + + var actualMethod = method; + if (arguments.length < 2) { + actualMethod = this.GetMethod(obj, $Symbol.iterator); + } + var iterator = this.Call(actualMethod, obj); + if (this.Type(iterator) !== 'Object') { + throw new $TypeError('iterator must return an object'); + } + + return iterator; + }, + + // https://ecma-international.org/ecma-262/6.0/#sec-iteratornext + IteratorNext: function IteratorNext(iterator, value) { + var result = this.Invoke(iterator, 'next', arguments.length < 2 ? [] : [value]); + if (this.Type(result) !== 'Object') { + throw new $TypeError('iterator next must return an object'); + } + return result; + }, + + // https://ecma-international.org/ecma-262/6.0/#sec-iteratorcomplete + IteratorComplete: function IteratorComplete(iterResult) { + if (this.Type(iterResult) !== 'Object') { + throw new $TypeError('Assertion failed: Type(iterResult) is not Object'); + } + return this.ToBoolean(this.Get(iterResult, 'done')); + }, + + // https://ecma-international.org/ecma-262/6.0/#sec-iteratorvalue + IteratorValue: function IteratorValue(iterResult) { + if (this.Type(iterResult) !== 'Object') { + throw new $TypeError('Assertion failed: Type(iterResult) is not Object'); + } + return this.Get(iterResult, 'value'); + }, + + // https://ecma-international.org/ecma-262/6.0/#sec-iteratorstep + IteratorStep: function IteratorStep(iterator) { + var result = this.IteratorNext(iterator); + var done = this.IteratorComplete(result); + return done === true ? false : result; + }, + + // https://ecma-international.org/ecma-262/6.0/#sec-iteratorclose + IteratorClose: function IteratorClose(iterator, completion) { + if (this.Type(iterator) !== 'Object') { + throw new $TypeError('Assertion failed: Type(iterator) is not Object'); + } + if (!this.IsCallable(completion)) { + throw new $TypeError('Assertion failed: completion is not a thunk for a Completion Record'); + } + var completionThunk = completion; + + var iteratorReturn = this.GetMethod(iterator, 'return'); + + if (typeof iteratorReturn === 'undefined') { + return completionThunk(); + } + + var completionRecord; + try { + var innerResult = this.Call(iteratorReturn, iterator, []); + } catch (e) { + // if we hit here, then "e" is the innerResult completion that needs re-throwing + + // if the completion is of type "throw", this will throw. + completionRecord = completionThunk(); + completionThunk = null; // ensure it's not called twice. + + // if not, then return the innerResult completion + throw e; + } + completionRecord = completionThunk(); // if innerResult worked, then throw if the completion does + completionThunk = null; // ensure it's not called twice. + + if (this.Type(innerResult) !== 'Object') { + throw new $TypeError('iterator .return must return an object'); + } + + return completionRecord; + }, + + // https://ecma-international.org/ecma-262/6.0/#sec-createiterresultobject + CreateIterResultObject: function CreateIterResultObject(value, done) { + if (this.Type(done) !== 'Boolean') { + throw new $TypeError('Assertion failed: Type(done) is not Boolean'); + } + return { + value: value, + done: done + }; + }, + + // https://ecma-international.org/ecma-262/6.0/#sec-regexpexec + RegExpExec: function RegExpExec(R, S) { + if (this.Type(R) !== 'Object') { + throw new $TypeError('R must be an Object'); + } + if (this.Type(S) !== 'String') { + throw new $TypeError('S must be a String'); + } + var exec = this.Get(R, 'exec'); + if (this.IsCallable(exec)) { + var result = this.Call(exec, R, [S]); + if (result === null || this.Type(result) === 'Object') { + return result; + } + throw new $TypeError('"exec" method must return `null` or an Object'); + } + return regexExec(R, S); + }, + + // https://ecma-international.org/ecma-262/6.0/#sec-arrayspeciescreate + ArraySpeciesCreate: function ArraySpeciesCreate(originalArray, length) { + if (!this.IsInteger(length) || length < 0) { + throw new $TypeError('Assertion failed: length must be an integer >= 0'); + } + var len = length === 0 ? 0 : length; + var C; + var isArray = this.IsArray(originalArray); + if (isArray) { + C = this.Get(originalArray, 'constructor'); + // TODO: figure out how to make a cross-realm normal Array, a same-realm Array + // if (this.IsConstructor(C)) { + // if C is another realm's Array, C = undefined + // Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(Array))) === null ? + // } + if (this.Type(C) === 'Object' && hasSymbols && $Symbol.species) { + C = this.Get(C, $Symbol.species); + if (C === null) { + C = void 0; + } + } + } + if (typeof C === 'undefined') { + return $Array(len); + } + if (!this.IsConstructor(C)) { + throw new $TypeError('C must be a constructor'); + } + return new C(len); // this.Construct(C, len); + }, + + CreateDataProperty: function CreateDataProperty(O, P, V) { + if (this.Type(O) !== 'Object') { + throw new $TypeError('Assertion failed: Type(O) is not Object'); + } + if (!this.IsPropertyKey(P)) { + throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); + } + var oldDesc = $gOPD(O, P); + var extensible = oldDesc || (typeof $isExtensible !== 'function' || $isExtensible(O)); + var immutable = oldDesc && (!oldDesc.writable || !oldDesc.configurable); + if (immutable || !extensible) { + return false; + } + var newDesc = { + configurable: true, + enumerable: true, + value: V, + writable: true + }; + $defineProperty(O, P, newDesc); + return true; + }, + + // https://ecma-international.org/ecma-262/6.0/#sec-createdatapropertyorthrow + CreateDataPropertyOrThrow: function CreateDataPropertyOrThrow(O, P, V) { + if (this.Type(O) !== 'Object') { + throw new $TypeError('Assertion failed: Type(O) is not Object'); + } + if (!this.IsPropertyKey(P)) { + throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); + } + var success = this.CreateDataProperty(O, P, V); + if (!success) { + throw new $TypeError('unable to create data property'); + } + return success; + }, + + // https://www.ecma-international.org/ecma-262/6.0/#sec-objectcreate + ObjectCreate: function ObjectCreate(proto, internalSlotsList) { + if (proto !== null && this.Type(proto) !== 'Object') { + throw new $TypeError('Assertion failed: proto must be null or an object'); + } + var slots = arguments.length < 2 ? [] : internalSlotsList; + if (slots.length > 0) { + throw new $SyntaxError('es-abstract does not yet support internal slots'); + } + + if (proto === null && !$ObjectCreate) { + throw new $SyntaxError('native Object.create support is required to create null objects'); + } + + return $ObjectCreate(proto); + }, + + // https://ecma-international.org/ecma-262/6.0/#sec-advancestringindex + AdvanceStringIndex: function AdvanceStringIndex(S, index, unicode) { + if (this.Type(S) !== 'String') { + throw new $TypeError('S must be a String'); + } + if (!this.IsInteger(index) || index < 0 || index > MAX_SAFE_INTEGER) { + throw new $TypeError('Assertion failed: length must be an integer >= 0 and <= 2**53'); + } + if (this.Type(unicode) !== 'Boolean') { + throw new $TypeError('Assertion failed: unicode must be a Boolean'); + } + if (!unicode) { + return index + 1; + } + var length = S.length; + if ((index + 1) >= length) { + return index + 1; + } + + var first = $charCodeAt(S, index); + if (first < 0xD800 || first > 0xDBFF) { + return index + 1; + } + + var second = $charCodeAt(S, index + 1); + if (second < 0xDC00 || second > 0xDFFF) { + return index + 1; + } + + return index + 2; + }, + + // https://www.ecma-international.org/ecma-262/6.0/#sec-createmethodproperty + CreateMethodProperty: function CreateMethodProperty(O, P, V) { + if (this.Type(O) !== 'Object') { + throw new $TypeError('Assertion failed: Type(O) is not Object'); + } + + if (!this.IsPropertyKey(P)) { + throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); + } + + var newDesc = { + configurable: true, + enumerable: false, + value: V, + writable: true + }; + return !!$defineProperty(O, P, newDesc); + }, + + // https://www.ecma-international.org/ecma-262/6.0/#sec-definepropertyorthrow + DefinePropertyOrThrow: function DefinePropertyOrThrow(O, P, desc) { + if (this.Type(O) !== 'Object') { + throw new $TypeError('Assertion failed: Type(O) is not Object'); + } + + if (!this.IsPropertyKey(P)) { + throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); + } + + return !!$defineProperty(O, P, desc); + }, + + // https://www.ecma-international.org/ecma-262/6.0/#sec-deletepropertyorthrow + DeletePropertyOrThrow: function DeletePropertyOrThrow(O, P) { + if (this.Type(O) !== 'Object') { + throw new $TypeError('Assertion failed: Type(O) is not Object'); + } + + if (!this.IsPropertyKey(P)) { + throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true'); + } + + var success = delete O[P]; + if (!success) { + throw new TypeError('Attempt to delete property failed.'); + } + return success; + }, + + // https://www.ecma-international.org/ecma-262/6.0/#sec-enumerableownnames + EnumerableOwnNames: function EnumerableOwnNames(O) { + if (this.Type(O) !== 'Object') { + throw new $TypeError('Assertion failed: Type(O) is not Object'); + } + + return keys(O); + }, + + // https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-number-prototype-object + thisNumberValue: function thisNumberValue(value) { + if (this.Type(value) === 'Number') { + return value; + } + + return $NumberValueOf(value); + }, + + // https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-boolean-prototype-object + thisBooleanValue: function thisBooleanValue(value) { + if (this.Type(value) === 'Boolean') { + return value; + } + + return $BooleanValueOf(value); + }, + + // https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-string-prototype-object + thisStringValue: function thisStringValue(value) { + if (this.Type(value) === 'String') { + return value; + } + + return $StringValueOf(value); + }, + + // https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-date-prototype-object + thisTimeValue: function thisTimeValue(value) { + return $DateValueOf(value); + } +}); + +delete ES6.CheckObjectCoercible; // renamed in ES6 to RequireObjectCoercible + +module.exports = ES6; + + +/***/ }), +/* 356 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +module.exports = __webpack_require__(357); + + +/***/ }), +/* 357 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var hasSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol'; + +var isPrimitive = __webpack_require__(214); +var isCallable = __webpack_require__(168); +var isDate = __webpack_require__(200); +var isSymbol = __webpack_require__(164); + +var ordinaryToPrimitive = function OrdinaryToPrimitive(O, hint) { + if (typeof O === 'undefined' || O === null) { + throw new TypeError('Cannot call method on ' + O); + } + if (typeof hint !== 'string' || (hint !== 'number' && hint !== 'string')) { + throw new TypeError('hint must be "string" or "number"'); + } + var methodNames = hint === 'string' ? ['toString', 'valueOf'] : ['valueOf', 'toString']; + var method, result, i; + for (i = 0; i < methodNames.length; ++i) { + method = O[methodNames[i]]; + if (isCallable(method)) { + result = method.call(O); + if (isPrimitive(result)) { + return result; + } + } + } + throw new TypeError('No default value'); +}; + +var GetMethod = function GetMethod(O, P) { + var func = O[P]; + if (func !== null && typeof func !== 'undefined') { + if (!isCallable(func)) { + throw new TypeError(func + ' returned for property ' + P + ' of object ' + O + ' is not a function'); + } + return func; + } + return void 0; +}; + +// http://www.ecma-international.org/ecma-262/6.0/#sec-toprimitive +module.exports = function ToPrimitive(input) { + if (isPrimitive(input)) { + return input; + } + var hint = 'default'; + if (arguments.length > 1) { + if (arguments[1] === String) { + hint = 'string'; + } else if (arguments[1] === Number) { + hint = 'number'; + } + } + + var exoticToPrim; + if (hasSymbols) { + if (Symbol.toPrimitive) { + exoticToPrim = GetMethod(input, Symbol.toPrimitive); + } else if (isSymbol(input)) { + exoticToPrim = Symbol.prototype.valueOf; + } + } + if (typeof exoticToPrim !== 'undefined') { + var result = exoticToPrim.call(input, hint); + if (isPrimitive(result)) { + return result; + } + throw new TypeError('unable to convert exotic object to primitive'); + } + if (hint === 'default' && (isDate(input) || isSymbol(input))) { + hint = 'string'; + } + return ordinaryToPrimitive(input, hint === 'default' ? 'number' : hint); +}; + + +/***/ }), +/* 358 */ +/***/ (function(module, exports) { + +module.exports = function isPrimitive(value) { + return value === null || (typeof value !== 'function' && typeof value !== 'object'); +}; + + +/***/ }), +/* 359 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var GetIntrinsic = __webpack_require__(169); + +var $Object = GetIntrinsic('%Object%'); +var $TypeError = GetIntrinsic('%TypeError%'); +var $String = GetIntrinsic('%String%'); + +var assertRecord = __webpack_require__(215); +var $isNaN = __webpack_require__(216); +var $isFinite = __webpack_require__(217); + +var sign = __webpack_require__(219); +var mod = __webpack_require__(220); + +var IsCallable = __webpack_require__(168); +var toPrimitive = __webpack_require__(360); + +var has = __webpack_require__(72); + +// https://es5.github.io/#x9 +var ES5 = { + ToPrimitive: toPrimitive, + + ToBoolean: function ToBoolean(value) { + return !!value; + }, + ToNumber: function ToNumber(value) { + return +value; // eslint-disable-line no-implicit-coercion + }, + ToInteger: function ToInteger(value) { + var number = this.ToNumber(value); + if ($isNaN(number)) { return 0; } + if (number === 0 || !$isFinite(number)) { return number; } + return sign(number) * Math.floor(Math.abs(number)); + }, + ToInt32: function ToInt32(x) { + return this.ToNumber(x) >> 0; + }, + ToUint32: function ToUint32(x) { + return this.ToNumber(x) >>> 0; + }, + ToUint16: function ToUint16(value) { + var number = this.ToNumber(value); + if ($isNaN(number) || number === 0 || !$isFinite(number)) { return 0; } + var posInt = sign(number) * Math.floor(Math.abs(number)); + return mod(posInt, 0x10000); + }, + ToString: function ToString(value) { + return $String(value); + }, + ToObject: function ToObject(value) { + this.CheckObjectCoercible(value); + return $Object(value); + }, + CheckObjectCoercible: function CheckObjectCoercible(value, optMessage) { + /* jshint eqnull:true */ + if (value == null) { + throw new $TypeError(optMessage || 'Cannot call method on ' + value); + } + return value; + }, + IsCallable: IsCallable, + SameValue: function SameValue(x, y) { + if (x === y) { // 0 === -0, but they are not identical. + if (x === 0) { return 1 / x === 1 / y; } + return true; + } + return $isNaN(x) && $isNaN(y); + }, + + // https://www.ecma-international.org/ecma-262/5.1/#sec-8 + Type: function Type(x) { + if (x === null) { + return 'Null'; + } + if (typeof x === 'undefined') { + return 'Undefined'; + } + if (typeof x === 'function' || typeof x === 'object') { + return 'Object'; + } + if (typeof x === 'number') { + return 'Number'; + } + if (typeof x === 'boolean') { + return 'Boolean'; + } + if (typeof x === 'string') { + return 'String'; + } + }, + + // https://ecma-international.org/ecma-262/6.0/#sec-property-descriptor-specification-type + IsPropertyDescriptor: function IsPropertyDescriptor(Desc) { + if (this.Type(Desc) !== 'Object') { + return false; + } + var allowed = { + '[[Configurable]]': true, + '[[Enumerable]]': true, + '[[Get]]': true, + '[[Set]]': true, + '[[Value]]': true, + '[[Writable]]': true + }; + + for (var key in Desc) { // eslint-disable-line + if (has(Desc, key) && !allowed[key]) { + return false; + } + } + + var isData = has(Desc, '[[Value]]'); + var IsAccessor = has(Desc, '[[Get]]') || has(Desc, '[[Set]]'); + if (isData && IsAccessor) { + throw new $TypeError('Property Descriptors may not be both accessor and data descriptors'); + } + return true; + }, + + // https://ecma-international.org/ecma-262/5.1/#sec-8.10.1 + IsAccessorDescriptor: function IsAccessorDescriptor(Desc) { + if (typeof Desc === 'undefined') { + return false; + } + + assertRecord(this, 'Property Descriptor', 'Desc', Desc); + + if (!has(Desc, '[[Get]]') && !has(Desc, '[[Set]]')) { + return false; + } + + return true; + }, + + // https://ecma-international.org/ecma-262/5.1/#sec-8.10.2 + IsDataDescriptor: function IsDataDescriptor(Desc) { + if (typeof Desc === 'undefined') { + return false; + } + + assertRecord(this, 'Property Descriptor', 'Desc', Desc); + + if (!has(Desc, '[[Value]]') && !has(Desc, '[[Writable]]')) { + return false; + } + + return true; + }, + + // https://ecma-international.org/ecma-262/5.1/#sec-8.10.3 + IsGenericDescriptor: function IsGenericDescriptor(Desc) { + if (typeof Desc === 'undefined') { + return false; + } + + assertRecord(this, 'Property Descriptor', 'Desc', Desc); + + if (!this.IsAccessorDescriptor(Desc) && !this.IsDataDescriptor(Desc)) { + return true; + } + + return false; + }, + + // https://ecma-international.org/ecma-262/5.1/#sec-8.10.4 + FromPropertyDescriptor: function FromPropertyDescriptor(Desc) { + if (typeof Desc === 'undefined') { + return Desc; + } + + assertRecord(this, 'Property Descriptor', 'Desc', Desc); + + if (this.IsDataDescriptor(Desc)) { + return { + value: Desc['[[Value]]'], + writable: !!Desc['[[Writable]]'], + enumerable: !!Desc['[[Enumerable]]'], + configurable: !!Desc['[[Configurable]]'] + }; + } else if (this.IsAccessorDescriptor(Desc)) { + return { + get: Desc['[[Get]]'], + set: Desc['[[Set]]'], + enumerable: !!Desc['[[Enumerable]]'], + configurable: !!Desc['[[Configurable]]'] + }; + } else { + throw new $TypeError('FromPropertyDescriptor must be called with a fully populated Property Descriptor'); + } + }, + + // https://ecma-international.org/ecma-262/5.1/#sec-8.10.5 + ToPropertyDescriptor: function ToPropertyDescriptor(Obj) { + if (this.Type(Obj) !== 'Object') { + throw new $TypeError('ToPropertyDescriptor requires an object'); + } + + var desc = {}; + if (has(Obj, 'enumerable')) { + desc['[[Enumerable]]'] = this.ToBoolean(Obj.enumerable); + } + if (has(Obj, 'configurable')) { + desc['[[Configurable]]'] = this.ToBoolean(Obj.configurable); + } + if (has(Obj, 'value')) { + desc['[[Value]]'] = Obj.value; + } + if (has(Obj, 'writable')) { + desc['[[Writable]]'] = this.ToBoolean(Obj.writable); + } + if (has(Obj, 'get')) { + var getter = Obj.get; + if (typeof getter !== 'undefined' && !this.IsCallable(getter)) { + throw new TypeError('getter must be a function'); + } + desc['[[Get]]'] = getter; + } + if (has(Obj, 'set')) { + var setter = Obj.set; + if (typeof setter !== 'undefined' && !this.IsCallable(setter)) { + throw new $TypeError('setter must be a function'); + } + desc['[[Set]]'] = setter; + } + + if ((has(desc, '[[Get]]') || has(desc, '[[Set]]')) && (has(desc, '[[Value]]') || has(desc, '[[Writable]]'))) { + throw new $TypeError('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute'); + } + return desc; + } +}; + +module.exports = ES5; + + +/***/ }), +/* 360 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var toStr = Object.prototype.toString; + +var isPrimitive = __webpack_require__(214); + +var isCallable = __webpack_require__(168); + +// http://ecma-international.org/ecma-262/5.1/#sec-8.12.8 +var ES5internalSlots = { + '[[DefaultValue]]': function (O) { + var actualHint; + if (arguments.length > 1) { + actualHint = arguments[1]; + } else { + actualHint = toStr.call(O) === '[object Date]' ? String : Number; + } + + if (actualHint === String || actualHint === Number) { + var methods = actualHint === String ? ['toString', 'valueOf'] : ['valueOf', 'toString']; + var value, i; + for (i = 0; i < methods.length; ++i) { + if (isCallable(O[methods[i]])) { + value = O[methods[i]](); + if (isPrimitive(value)) { + return value; + } + } + } + throw new TypeError('No default value'); + } + throw new TypeError('invalid [[DefaultValue]] hint supplied'); + } +}; + +// http://ecma-international.org/ecma-262/5.1/#sec-9.1 +module.exports = function ToPrimitive(input) { + if (isPrimitive(input)) { + return input; + } + if (arguments.length > 1) { + return ES5internalSlots['[[DefaultValue]]'](input, arguments[1]); + } + return ES5internalSlots['[[DefaultValue]]'](input); +}; + + +/***/ }), +/* 361 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var has = __webpack_require__(72); +var regexExec = RegExp.prototype.exec; +var gOPD = Object.getOwnPropertyDescriptor; + +var tryRegexExecCall = function tryRegexExec(value) { + try { + var lastIndex = value.lastIndex; + value.lastIndex = 0; + + regexExec.call(value); + return true; + } catch (e) { + return false; + } finally { + value.lastIndex = lastIndex; + } +}; +var toStr = Object.prototype.toString; +var regexClass = '[object RegExp]'; +var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol'; + +module.exports = function isRegex(value) { + if (!value || typeof value !== 'object') { + return false; + } + if (!hasToStringTag) { + return toStr.call(value) === regexClass; + } + + var descriptor = gOPD(value, 'lastIndex'); + var hasLastIndexDataProperty = descriptor && has(descriptor, 'value'); + if (!hasLastIndexDataProperty) { + return false; + } + + return tryRegexExecCall(value); +}; + + +/***/ }), +/* 362 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var getPolyfill = __webpack_require__(221); +var define = __webpack_require__(77); + +module.exports = function shimValues() { + var polyfill = getPolyfill(); + define(Object, { values: polyfill }, { + values: function testValues() { + return Object.values !== polyfill; + } + }); + return polyfill; +}; + + +/***/ }), +/* 363 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var define = __webpack_require__(77); + +var implementation = __webpack_require__(222); +var getPolyfill = __webpack_require__(223); +var polyfill = getPolyfill(); +var shim = __webpack_require__(364); + +var boundContains = function contains(node, other) { + return polyfill.apply(node, [other]); +}; + +define(boundContains, { + getPolyfill: getPolyfill, + implementation: implementation, + shim: shim +}); + +module.exports = boundContains; + + +/***/ }), +/* 364 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var define = __webpack_require__(77); +var getPolyfill = __webpack_require__(223); + +module.exports = function shimContains() { + var polyfill = getPolyfill(); + if (typeof document !== 'undefined') { + define( + document, + { contains: polyfill }, + { contains: function () { return document.contains !== polyfill; } } + ); + if (typeof Element !== 'undefined') { + define( + Element.prototype, + { contains: polyfill }, + { contains: function () { return Element.prototype.contains !== polyfill; } } + ); + } + } + return polyfill; +}; + + +/***/ }), +/* 365 */ +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__(171), + now = __webpack_require__(366), + toNumber = __webpack_require__(368); + +/** Error message constants. */ +var FUNC_ERROR_TEXT = 'Expected a function'; + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeMax = Math.max, + nativeMin = Math.min; + +/** + * Creates a debounced function that delays invoking `func` until after `wait` + * milliseconds have elapsed since the last time the debounced function was + * invoked. The debounced function comes with a `cancel` method to cancel + * delayed `func` invocations and a `flush` method to immediately invoke them. + * Provide `options` to indicate whether `func` should be invoked on the + * leading and/or trailing edge of the `wait` timeout. The `func` is invoked + * with the last arguments provided to the debounced function. Subsequent + * calls to the debounced function return the result of the last `func` + * invocation. + * + * **Note:** If `leading` and `trailing` options are `true`, `func` is + * invoked on the trailing edge of the timeout only if the debounced function + * is invoked more than once during the `wait` timeout. + * + * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred + * until to the next tick, similar to `setTimeout` with a timeout of `0`. + * + * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/) + * for details over the differences between `_.debounce` and `_.throttle`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Function + * @param {Function} func The function to debounce. + * @param {number} [wait=0] The number of milliseconds to delay. + * @param {Object} [options={}] The options object. + * @param {boolean} [options.leading=false] + * Specify invoking on the leading edge of the timeout. + * @param {number} [options.maxWait] + * The maximum time `func` is allowed to be delayed before it's invoked. + * @param {boolean} [options.trailing=true] + * Specify invoking on the trailing edge of the timeout. + * @returns {Function} Returns the new debounced function. + * @example + * + * // Avoid costly calculations while the window size is in flux. + * jQuery(window).on('resize', _.debounce(calculateLayout, 150)); + * + * // Invoke `sendMail` when clicked, debouncing subsequent calls. + * jQuery(element).on('click', _.debounce(sendMail, 300, { + * 'leading': true, + * 'trailing': false + * })); + * + * // Ensure `batchLog` is invoked once after 1 second of debounced calls. + * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 }); + * var source = new EventSource('/stream'); + * jQuery(source).on('message', debounced); + * + * // Cancel the trailing debounced invocation. + * jQuery(window).on('popstate', debounced.cancel); + */ +function debounce(func, wait, options) { + var lastArgs, + lastThis, + maxWait, + result, + timerId, + lastCallTime, + lastInvokeTime = 0, + leading = false, + maxing = false, + trailing = true; + + if (typeof func != 'function') { + throw new TypeError(FUNC_ERROR_TEXT); + } + wait = toNumber(wait) || 0; + if (isObject(options)) { + leading = !!options.leading; + maxing = 'maxWait' in options; + maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait; + trailing = 'trailing' in options ? !!options.trailing : trailing; + } + + function invokeFunc(time) { + var args = lastArgs, + thisArg = lastThis; + + lastArgs = lastThis = undefined; + lastInvokeTime = time; + result = func.apply(thisArg, args); + return result; + } + + function leadingEdge(time) { + // Reset any `maxWait` timer. + lastInvokeTime = time; + // Start the timer for the trailing edge. + timerId = setTimeout(timerExpired, wait); + // Invoke the leading edge. + return leading ? invokeFunc(time) : result; + } + + function remainingWait(time) { + var timeSinceLastCall = time - lastCallTime, + timeSinceLastInvoke = time - lastInvokeTime, + timeWaiting = wait - timeSinceLastCall; + + return maxing + ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) + : timeWaiting; + } + + function shouldInvoke(time) { + var timeSinceLastCall = time - lastCallTime, + timeSinceLastInvoke = time - lastInvokeTime; + + // Either this is the first call, activity has stopped and we're at the + // trailing edge, the system time has gone backwards and we're treating + // it as the trailing edge, or we've hit the `maxWait` limit. + return (lastCallTime === undefined || (timeSinceLastCall >= wait) || + (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait)); + } + + function timerExpired() { + var time = now(); + if (shouldInvoke(time)) { + return trailingEdge(time); + } + // Restart the timer. + timerId = setTimeout(timerExpired, remainingWait(time)); + } + + function trailingEdge(time) { + timerId = undefined; + + // Only invoke if we have `lastArgs` which means `func` has been + // debounced at least once. + if (trailing && lastArgs) { + return invokeFunc(time); + } + lastArgs = lastThis = undefined; + return result; + } + + function cancel() { + if (timerId !== undefined) { + clearTimeout(timerId); + } + lastInvokeTime = 0; + lastArgs = lastCallTime = lastThis = timerId = undefined; + } + + function flush() { + return timerId === undefined ? result : trailingEdge(now()); + } + + function debounced() { + var time = now(), + isInvoking = shouldInvoke(time); + + lastArgs = arguments; + lastThis = this; + lastCallTime = time; + + if (isInvoking) { + if (timerId === undefined) { + return leadingEdge(lastCallTime); + } + if (maxing) { + // Handle invocations in a tight loop. + clearTimeout(timerId); + timerId = setTimeout(timerExpired, wait); + return invokeFunc(lastCallTime); + } + } + if (timerId === undefined) { + timerId = setTimeout(timerExpired, wait); + } + return result; + } + debounced.cancel = cancel; + debounced.flush = flush; + return debounced; +} + +module.exports = debounce; + + +/***/ }), +/* 366 */ +/***/ (function(module, exports, __webpack_require__) { + +var root = __webpack_require__(235); + +/** + * Gets the timestamp of the number of milliseconds that have elapsed since + * the Unix epoch (1 January 1970 00:00:00 UTC). + * + * @static + * @memberOf _ + * @since 2.4.0 + * @category Date + * @returns {number} Returns the timestamp. + * @example + * + * _.defer(function(stamp) { + * console.log(_.now() - stamp); + * }, _.now()); + * // => Logs the number of milliseconds it took for the deferred invocation. + */ +var now = function() { + return root.Date.now(); +}; + +module.exports = now; + + +/***/ }), +/* 367 */ +/***/ (function(module, exports, __webpack_require__) { + +/* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */ +var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; + +module.exports = freeGlobal; + +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(71))) + +/***/ }), +/* 368 */ +/***/ (function(module, exports, __webpack_require__) { + +var isObject = __webpack_require__(171), + isSymbol = __webpack_require__(369); + +/** Used as references for various `Number` constants. */ +var NAN = 0 / 0; + +/** Used to match leading and trailing whitespace. */ +var reTrim = /^\s+|\s+$/g; + +/** Used to detect bad signed hexadecimal string values. */ +var reIsBadHex = /^[-+]0x[0-9a-f]+$/i; + +/** Used to detect binary string values. */ +var reIsBinary = /^0b[01]+$/i; + +/** Used to detect octal string values. */ +var reIsOctal = /^0o[0-7]+$/i; + +/** Built-in method references without a dependency on `root`. */ +var freeParseInt = parseInt; + +/** + * Converts `value` to a number. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to process. + * @returns {number} Returns the number. + * @example + * + * _.toNumber(3.2); + * // => 3.2 + * + * _.toNumber(Number.MIN_VALUE); + * // => 5e-324 + * + * _.toNumber(Infinity); + * // => Infinity + * + * _.toNumber('3.2'); + * // => 3.2 + */ +function toNumber(value) { + if (typeof value == 'number') { + return value; + } + if (isSymbol(value)) { + return NAN; + } + if (isObject(value)) { + var other = typeof value.valueOf == 'function' ? value.valueOf() : value; + value = isObject(other) ? (other + '') : other; + } + if (typeof value != 'string') { + return value === 0 ? value : +value; + } + value = value.replace(reTrim, ''); + var isBinary = reIsBinary.test(value); + return (isBinary || reIsOctal.test(value)) + ? freeParseInt(value.slice(2), isBinary ? 2 : 8) + : (reIsBadHex.test(value) ? NAN : +value); +} + +module.exports = toNumber; + + +/***/ }), +/* 369 */ +/***/ (function(module, exports, __webpack_require__) { + +var baseGetTag = __webpack_require__(370), + isObjectLike = __webpack_require__(373); + +/** `Object#toString` result references. */ +var symbolTag = '[object Symbol]'; + +/** + * Checks if `value` is classified as a `Symbol` primitive or object. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a symbol, else `false`. + * @example + * + * _.isSymbol(Symbol.iterator); + * // => true + * + * _.isSymbol('abc'); + * // => false + */ +function isSymbol(value) { + return typeof value == 'symbol' || + (isObjectLike(value) && baseGetTag(value) == symbolTag); +} + +module.exports = isSymbol; + + +/***/ }), +/* 370 */ +/***/ (function(module, exports, __webpack_require__) { + +var Symbol = __webpack_require__(236), + getRawTag = __webpack_require__(371), + objectToString = __webpack_require__(372); + +/** `Object#toString` result references. */ +var nullTag = '[object Null]', + undefinedTag = '[object Undefined]'; + +/** Built-in value references. */ +var symToStringTag = Symbol ? Symbol.toStringTag : undefined; + +/** + * The base implementation of `getTag` without fallbacks for buggy environments. + * + * @private + * @param {*} value The value to query. + * @returns {string} Returns the `toStringTag`. + */ +function baseGetTag(value) { + if (value == null) { + return value === undefined ? undefinedTag : nullTag; + } + return (symToStringTag && symToStringTag in Object(value)) + ? getRawTag(value) + : objectToString(value); +} + +module.exports = baseGetTag; + + +/***/ }), +/* 371 */ +/***/ (function(module, exports, __webpack_require__) { + +var Symbol = __webpack_require__(236); + +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var hasOwnProperty = objectProto.hasOwnProperty; + +/** + * Used to resolve the + * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) + * of values. + */ +var nativeObjectToString = objectProto.toString; + +/** Built-in value references. */ +var symToStringTag = Symbol ? Symbol.toStringTag : undefined; + +/** + * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values. + * + * @private + * @param {*} value The value to query. + * @returns {string} Returns the raw `toStringTag`. + */ +function getRawTag(value) { + var isOwn = hasOwnProperty.call(value, symToStringTag), + tag = value[symToStringTag]; + + try { + value[symToStringTag] = undefined; + var unmasked = true; + } catch (e) {} + + var result = nativeObjectToString.call(value); + if (unmasked) { + if (isOwn) { + value[symToStringTag] = tag; + } else { + delete value[symToStringTag]; + } + } + return result; +} + +module.exports = getRawTag; + + +/***/ }), +/* 372 */ +/***/ (function(module, exports) { + +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** + * Used to resolve the + * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) + * of values. + */ +var nativeObjectToString = objectProto.toString; + +/** + * Converts `value` to a string using `Object.prototype.toString`. + * + * @private + * @param {*} value The value to convert. + * @returns {string} Returns the converted string. + */ +function objectToString(value) { + return nativeObjectToString.call(value); +} + +module.exports = objectToString; + + +/***/ }), +/* 373 */ +/***/ (function(module, exports) { + +/** + * Checks if `value` is object-like. A value is object-like if it's not `null` + * and has a `typeof` result of "object". + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is object-like, else `false`. + * @example + * + * _.isObjectLike({}); + * // => true + * + * _.isObjectLike([1, 2, 3]); + * // => true + * + * _.isObjectLike(_.noop); + * // => false + * + * _.isObjectLike(null); + * // => false + */ +function isObjectLike(value) { + return value != null && typeof value == 'object'; +} + +module.exports = isObjectLike; + + +/***/ }), +/* 374 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports["default"] = getSelectedDateOffset; +var defaultModifier = function defaultModifier(day) { + return day; +}; + +function getSelectedDateOffset(fn, day) { + var modifier = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : defaultModifier; + + if (!fn) return day; + return modifier(fn(day.clone())); +} + +/***/ }), +/* 375 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + +var _object = __webpack_require__(55); + +var _object2 = _interopRequireDefault(_object); + +var _react = __webpack_require__(21); + +var _react2 = _interopRequireDefault(_react); + +var _propTypes = __webpack_require__(25); + +var _propTypes2 = _interopRequireDefault(_propTypes); + +var _airbnbPropTypes = __webpack_require__(51); + +var _reactWithStyles = __webpack_require__(63); + +var _defaultPhrases = __webpack_require__(57); + +var _getPhrasePropTypes = __webpack_require__(59); + +var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); + +var _LeftArrow = __webpack_require__(238); + +var _LeftArrow2 = _interopRequireDefault(_LeftArrow); + +var _RightArrow = __webpack_require__(237); + +var _RightArrow2 = _interopRequireDefault(_RightArrow); + +var _ChevronUp = __webpack_require__(376); + +var _ChevronUp2 = _interopRequireDefault(_ChevronUp); + +var _ChevronDown = __webpack_require__(377); + +var _ChevronDown2 = _interopRequireDefault(_ChevronDown); + +var _ScrollableOrientationShape = __webpack_require__(99); + +var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape); + +var _constants = __webpack_require__(45); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } + +var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, { + navPrev: _propTypes2['default'].node, + navNext: _propTypes2['default'].node, + orientation: _ScrollableOrientationShape2['default'], + + onPrevMonthClick: _propTypes2['default'].func, + onNextMonthClick: _propTypes2['default'].func, + + // internationalization + phrases: _propTypes2['default'].shape((0, _getPhrasePropTypes2['default'])(_defaultPhrases.DayPickerNavigationPhrases)), + + isRTL: _propTypes2['default'].bool +})); + +var defaultProps = { + navPrev: null, + navNext: null, + orientation: _constants.HORIZONTAL_ORIENTATION, + + onPrevMonthClick: function () { + function onPrevMonthClick() {} + + return onPrevMonthClick; + }(), + onNextMonthClick: function () { + function onNextMonthClick() {} + + return onNextMonthClick; + }(), + + + // internationalization + phrases: _defaultPhrases.DayPickerNavigationPhrases, + isRTL: false +}; + +function DayPickerNavigation(_ref) { + var navPrev = _ref.navPrev, + navNext = _ref.navNext, + onPrevMonthClick = _ref.onPrevMonthClick, + onNextMonthClick = _ref.onNextMonthClick, + orientation = _ref.orientation, + phrases = _ref.phrases, + isRTL = _ref.isRTL, + styles = _ref.styles; + + var isHorizontal = orientation === _constants.HORIZONTAL_ORIENTATION; + var isVertical = orientation !== _constants.HORIZONTAL_ORIENTATION; + var isVerticalScrollable = orientation === _constants.VERTICAL_SCROLLABLE; + + var navPrevIcon = navPrev; + var navNextIcon = navNext; + var isDefaultNavPrev = false; + var isDefaultNavNext = false; + if (!navPrevIcon) { + isDefaultNavPrev = true; + var Icon = isVertical ? _ChevronUp2['default'] : _LeftArrow2['default']; + if (isRTL && !isVertical) { + Icon = _RightArrow2['default']; + } + navPrevIcon = _react2['default'].createElement(Icon, (0, _reactWithStyles.css)(isHorizontal && styles.DayPickerNavigation_svg__horizontal, isVertical && styles.DayPickerNavigation_svg__vertical)); + } + + if (!navNextIcon) { + isDefaultNavNext = true; + var _Icon = isVertical ? _ChevronDown2['default'] : _RightArrow2['default']; + if (isRTL && !isVertical) { + _Icon = _LeftArrow2['default']; + } + navNextIcon = _react2['default'].createElement(_Icon, (0, _reactWithStyles.css)(isHorizontal && styles.DayPickerNavigation_svg__horizontal, isVertical && styles.DayPickerNavigation_svg__vertical)); + } + + var isDefaultNav = isVerticalScrollable ? isDefaultNavNext : isDefaultNavNext || isDefaultNavPrev; + + return _react2['default'].createElement( + 'div', + _reactWithStyles.css.apply(undefined, [styles.DayPickerNavigation, isHorizontal && styles.DayPickerNavigation__horizontal].concat(_toConsumableArray(isVertical && [styles.DayPickerNavigation__vertical, isDefaultNav && styles.DayPickerNavigation__verticalDefault]), _toConsumableArray(isVerticalScrollable && [styles.DayPickerNavigation__verticalScrollable, isDefaultNav && styles.DayPickerNavigation__verticalScrollableDefault]))), + !isVerticalScrollable && _react2['default'].createElement( + 'div', + _extends({ + role: 'button', + tabIndex: '0' + }, _reactWithStyles.css.apply(undefined, [styles.DayPickerNavigation_button, isDefaultNavPrev && styles.DayPickerNavigation_button__default].concat(_toConsumableArray(isHorizontal && [styles.DayPickerNavigation_button__horizontal].concat(_toConsumableArray(isDefaultNavPrev && [styles.DayPickerNavigation_button__horizontalDefault, !isRTL && styles.DayPickerNavigation_leftButton__horizontalDefault, isRTL && styles.DayPickerNavigation_rightButton__horizontalDefault]))), _toConsumableArray(isVertical && [styles.DayPickerNavigation_button__vertical].concat(_toConsumableArray(isDefaultNavPrev && [styles.DayPickerNavigation_button__verticalDefault, styles.DayPickerNavigation_prevButton__verticalDefault]))))), { + 'aria-label': phrases.jumpToPrevMonth, + onClick: onPrevMonthClick, + onKeyUp: function () { + function onKeyUp(e) { + var key = e.key; + + if (key === 'Enter' || key === ' ') onPrevMonthClick(e); + } + + return onKeyUp; + }(), + onMouseUp: function () { + function onMouseUp(e) { + e.currentTarget.blur(); + } + + return onMouseUp; + }() + }), + navPrevIcon + ), + _react2['default'].createElement( + 'div', + _extends({ + role: 'button', + tabIndex: '0' + }, _reactWithStyles.css.apply(undefined, [styles.DayPickerNavigation_button, isDefaultNavNext && styles.DayPickerNavigation_button__default].concat(_toConsumableArray(isHorizontal && [styles.DayPickerNavigation_button__horizontal].concat(_toConsumableArray(isDefaultNavNext && [styles.DayPickerNavigation_button__horizontalDefault, isRTL && styles.DayPickerNavigation_leftButton__horizontalDefault, !isRTL && styles.DayPickerNavigation_rightButton__horizontalDefault]))), _toConsumableArray(isVertical && [styles.DayPickerNavigation_button__vertical, styles.DayPickerNavigation_nextButton__vertical].concat(_toConsumableArray(isDefaultNavNext && [styles.DayPickerNavigation_button__verticalDefault, styles.DayPickerNavigation_nextButton__verticalDefault, isVerticalScrollable && styles.DayPickerNavigation_nextButton__verticalScrollableDefault]))))), { + 'aria-label': phrases.jumpToNextMonth, + onClick: onNextMonthClick, + onKeyUp: function () { + function onKeyUp(e) { + var key = e.key; + + if (key === 'Enter' || key === ' ') onNextMonthClick(e); + } + + return onKeyUp; + }(), + onMouseUp: function () { + function onMouseUp(e) { + e.currentTarget.blur(); + } + + return onMouseUp; + }() + }), + navNextIcon + ) + ); +} + +DayPickerNavigation.propTypes = propTypes; +DayPickerNavigation.defaultProps = defaultProps; + +exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) { + var _ref2$reactDates = _ref2.reactDates, + color = _ref2$reactDates.color, + zIndex = _ref2$reactDates.zIndex; + return { + DayPickerNavigation: { + position: 'relative', + zIndex: zIndex + 2 + }, + + DayPickerNavigation__horizontal: { + height: 0 + }, + + DayPickerNavigation__vertical: {}, + DayPickerNavigation__verticalScrollable: {}, + + DayPickerNavigation__verticalDefault: { + position: 'absolute', + width: '100%', + height: 52, + bottom: 0, + left: 0 + }, + + DayPickerNavigation__verticalScrollableDefault: { + position: 'relative' + }, + + DayPickerNavigation_button: { + cursor: 'pointer', + userSelect: 'none', + border: 0, + padding: 0, + margin: 0 + }, + + DayPickerNavigation_button__default: { + border: '1px solid ' + String(color.core.borderLight), + backgroundColor: color.background, + color: color.placeholderText, + + ':focus': { + border: '1px solid ' + String(color.core.borderMedium) + }, + + ':hover': { + border: '1px solid ' + String(color.core.borderMedium) + }, + + ':active': { + background: color.backgroundDark + } + }, + + DayPickerNavigation_button__horizontal: {}, + + DayPickerNavigation_button__horizontalDefault: { + position: 'absolute', + top: 18, + lineHeight: 0.78, + borderRadius: 3, + padding: '6px 9px' + }, + + DayPickerNavigation_leftButton__horizontalDefault: { + left: 22 + }, + + DayPickerNavigation_rightButton__horizontalDefault: { + right: 22 + }, + + DayPickerNavigation_button__vertical: {}, + + DayPickerNavigation_button__verticalDefault: { + padding: 5, + background: color.background, + boxShadow: '0 0 5px 2px rgba(0, 0, 0, 0.1)', + position: 'relative', + display: 'inline-block', + height: '100%', + width: '50%' + }, + + DayPickerNavigation_prevButton__verticalDefault: {}, + + DayPickerNavigation_nextButton__verticalDefault: { + borderLeft: 0 + }, + + DayPickerNavigation_nextButton__verticalScrollableDefault: { + width: '100%' + }, + + DayPickerNavigation_svg__horizontal: { + height: 19, + width: 19, + fill: color.core.grayLight, + display: 'block' + }, + + DayPickerNavigation_svg__vertical: { + height: 42, + width: 42, + fill: color.text, + display: 'block' + } + }; +})(DayPickerNavigation); + +/***/ }), +/* 376 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _react = __webpack_require__(21); + +var _react2 = _interopRequireDefault(_react); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +var ChevronUp = function () { + function ChevronUp(props) { + return _react2['default'].createElement( + 'svg', + props, + _react2['default'].createElement('path', { + d: 'M32.1 712.6l453.2-452.2c11-11 21-11 32 0l453.2 452.2c4 5 6 10 6 16 0 13-10 23-22 23-7 0-12-2-16-7L501.3 308.5 64.1 744.7c-4 5-9 7-15 7-7 0-12-2-17-7-9-11-9-21 0-32.1z' + }) + ); + } + + return ChevronUp; +}(); + +ChevronUp.defaultProps = { + viewBox: '0 0 1000 1000' +}; +exports['default'] = ChevronUp; + +/***/ }), +/* 377 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _react = __webpack_require__(21); + +var _react2 = _interopRequireDefault(_react); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +var ChevronDown = function () { + function ChevronDown(props) { + return _react2['default'].createElement( + 'svg', + props, + _react2['default'].createElement('path', { + d: 'M967.5 288.5L514.3 740.7c-11 11-21 11-32 0L29.1 288.5c-4-5-6-11-6-16 0-13 10-23 23-23 6 0 11 2 15 7l437.2 436.2 437.2-436.2c4-5 9-7 16-7 6 0 11 2 16 7 9 10.9 9 21 0 32z' + }) + ); + } + + return ChevronDown; +}(); + +ChevronDown.defaultProps = { + viewBox: '0 0 1000 1000' +}; +exports['default'] = ChevronDown; + +/***/ }), +/* 378 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.BOTTOM_RIGHT = exports.TOP_RIGHT = exports.TOP_LEFT = undefined; + +var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _object = __webpack_require__(55); + +var _object2 = _interopRequireDefault(_object); + +var _react = __webpack_require__(21); + +var _react2 = _interopRequireDefault(_react); + +var _propTypes = __webpack_require__(25); + +var _propTypes2 = _interopRequireDefault(_propTypes); + +var _airbnbPropTypes = __webpack_require__(51); + +var _reactWithStyles = __webpack_require__(63); + +var _defaultPhrases = __webpack_require__(57); + +var _getPhrasePropTypes = __webpack_require__(59); + +var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes); + +var _KeyboardShortcutRow = __webpack_require__(379); + +var _KeyboardShortcutRow2 = _interopRequireDefault(_KeyboardShortcutRow); + +var _CloseButton = __webpack_require__(120); + +var _CloseButton2 = _interopRequireDefault(_CloseButton); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var TOP_LEFT = exports.TOP_LEFT = 'top-left'; +var TOP_RIGHT = exports.TOP_RIGHT = 'top-right'; +var BOTTOM_RIGHT = exports.BOTTOM_RIGHT = 'bottom-right'; + +var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, { + block: _propTypes2['default'].bool, + buttonLocation: _propTypes2['default'].oneOf([TOP_LEFT, TOP_RIGHT, BOTTOM_RIGHT]), + showKeyboardShortcutsPanel: _propTypes2['default'].bool, + openKeyboardShortcutsPanel: _propTypes2['default'].func, + closeKeyboardShortcutsPanel: _propTypes2['default'].func, + phrases: _propTypes2['default'].shape((0, _getPhrasePropTypes2['default'])(_defaultPhrases.DayPickerKeyboardShortcutsPhrases)) +})); + +var defaultProps = { + block: false, + buttonLocation: BOTTOM_RIGHT, + showKeyboardShortcutsPanel: false, + openKeyboardShortcutsPanel: function () { + function openKeyboardShortcutsPanel() {} + + return openKeyboardShortcutsPanel; + }(), + closeKeyboardShortcutsPanel: function () { + function closeKeyboardShortcutsPanel() {} + + return closeKeyboardShortcutsPanel; + }(), + + phrases: _defaultPhrases.DayPickerKeyboardShortcutsPhrases +}; + +function getKeyboardShortcuts(phrases) { + return [{ + unicode: '↵', + label: phrases.enterKey, + action: phrases.selectFocusedDate + }, { + unicode: '←/→', + label: phrases.leftArrowRightArrow, + action: phrases.moveFocusByOneDay + }, { + unicode: '↑/↓', + label: phrases.upArrowDownArrow, + action: phrases.moveFocusByOneWeek + }, { + unicode: 'PgUp/PgDn', + label: phrases.pageUpPageDown, + action: phrases.moveFocusByOneMonth + }, { + unicode: 'Home/End', + label: phrases.homeEnd, + action: phrases.moveFocustoStartAndEndOfWeek + }, { + unicode: 'Esc', + label: phrases.escape, + action: phrases.returnFocusToInput + }, { + unicode: '?', + label: phrases.questionMark, + action: phrases.openThisPanel + }]; +} + +var DayPickerKeyboardShortcuts = function (_React$Component) { + _inherits(DayPickerKeyboardShortcuts, _React$Component); + + function DayPickerKeyboardShortcuts() { + var _ref; + + _classCallCheck(this, DayPickerKeyboardShortcuts); + + for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + var _this = _possibleConstructorReturn(this, (_ref = DayPickerKeyboardShortcuts.__proto__ || Object.getPrototypeOf(DayPickerKeyboardShortcuts)).call.apply(_ref, [this].concat(args))); + + var phrases = _this.props.phrases; + + _this.keyboardShortcuts = getKeyboardShortcuts(phrases); + + _this.onShowKeyboardShortcutsButtonClick = _this.onShowKeyboardShortcutsButtonClick.bind(_this); + _this.setShowKeyboardShortcutsButtonRef = _this.setShowKeyboardShortcutsButtonRef.bind(_this); + _this.setHideKeyboardShortcutsButtonRef = _this.setHideKeyboardShortcutsButtonRef.bind(_this); + _this.handleFocus = _this.handleFocus.bind(_this); + _this.onKeyDown = _this.onKeyDown.bind(_this); + return _this; + } + + _createClass(DayPickerKeyboardShortcuts, [{ + key: 'componentWillReceiveProps', + value: function () { + function componentWillReceiveProps(nextProps) { + var phrases = this.props.phrases; + + if (nextProps.phrases !== phrases) { + this.keyboardShortcuts = getKeyboardShortcuts(nextProps.phrases); + } + } + + return componentWillReceiveProps; + }() + }, { + key: 'componentDidUpdate', + value: function () { + function componentDidUpdate() { + this.handleFocus(); + } + + return componentDidUpdate; + }() + }, { + key: 'onKeyDown', + value: function () { + function onKeyDown(e) { + e.stopPropagation(); + + var closeKeyboardShortcutsPanel = this.props.closeKeyboardShortcutsPanel; + // Because the close button is the only focusable element inside of the panel, this + // amounts to a very basic focus trap. The user can exit the panel by "pressing" the + // close button or hitting escape + + switch (e.key) { + case 'Enter': + case ' ': + case 'Spacebar': // for older browsers + case 'Escape': + closeKeyboardShortcutsPanel(); + break; + + // do nothing - this allows the up and down arrows continue their + // default behavior of scrolling the content of the Keyboard Shortcuts Panel + // which is needed when only a single month is shown for instance. + case 'ArrowUp': + case 'ArrowDown': + break; + + // completely block the rest of the keys that have functionality outside of this panel + case 'Tab': + case 'Home': + case 'End': + case 'PageUp': + case 'PageDown': + case 'ArrowLeft': + case 'ArrowRight': + e.preventDefault(); + break; + + default: + break; + } + } + + return onKeyDown; + }() + }, { + key: 'onShowKeyboardShortcutsButtonClick', + value: function () { + function onShowKeyboardShortcutsButtonClick() { + var _this2 = this; + + var openKeyboardShortcutsPanel = this.props.openKeyboardShortcutsPanel; + + // we want to return focus to this button after closing the keyboard shortcuts panel + + openKeyboardShortcutsPanel(function () { + _this2.showKeyboardShortcutsButton.focus(); + }); + } + + return onShowKeyboardShortcutsButtonClick; + }() + }, { + key: 'setShowKeyboardShortcutsButtonRef', + value: function () { + function setShowKeyboardShortcutsButtonRef(ref) { + this.showKeyboardShortcutsButton = ref; + } + + return setShowKeyboardShortcutsButtonRef; + }() + }, { + key: 'setHideKeyboardShortcutsButtonRef', + value: function () { + function setHideKeyboardShortcutsButtonRef(ref) { + this.hideKeyboardShortcutsButton = ref; + } + + return setHideKeyboardShortcutsButtonRef; + }() + }, { + key: 'handleFocus', + value: function () { + function handleFocus() { + if (this.hideKeyboardShortcutsButton) { + // automatically move focus into the dialog by moving + // to the only interactive element, the hide button + this.hideKeyboardShortcutsButton.focus(); + } + } + + return handleFocus; + }() + }, { + key: 'render', + value: function () { + function render() { + var _this3 = this; + + var _props = this.props, + block = _props.block, + buttonLocation = _props.buttonLocation, + showKeyboardShortcutsPanel = _props.showKeyboardShortcutsPanel, + closeKeyboardShortcutsPanel = _props.closeKeyboardShortcutsPanel, + styles = _props.styles, + phrases = _props.phrases; + + + var toggleButtonText = showKeyboardShortcutsPanel ? phrases.hideKeyboardShortcutsPanel : phrases.showKeyboardShortcutsPanel; + + var bottomRight = buttonLocation === BOTTOM_RIGHT; + var topRight = buttonLocation === TOP_RIGHT; + var topLeft = buttonLocation === TOP_LEFT; + + return _react2['default'].createElement( + 'div', + null, + _react2['default'].createElement( + 'button', + _extends({ + ref: this.setShowKeyboardShortcutsButtonRef + }, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_buttonReset, styles.DayPickerKeyboardShortcuts_show, bottomRight && styles.DayPickerKeyboardShortcuts_show__bottomRight, topRight && styles.DayPickerKeyboardShortcuts_show__topRight, topLeft && styles.DayPickerKeyboardShortcuts_show__topLeft), { + type: 'button', + 'aria-label': toggleButtonText, + onClick: this.onShowKeyboardShortcutsButtonClick, + onKeyDown: function () { + function onKeyDown(e) { + if (e.key === 'Enter') { + e.preventDefault(); + } else if (e.key === 'Space') { + _this3.onShowKeyboardShortcutsButtonClick(e); + } + } + + return onKeyDown; + }(), + onMouseUp: function () { + function onMouseUp(e) { + e.currentTarget.blur(); + } + + return onMouseUp; + }() + }), + _react2['default'].createElement( + 'span', + (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_showSpan, bottomRight && styles.DayPickerKeyboardShortcuts_showSpan__bottomRight, topRight && styles.DayPickerKeyboardShortcuts_showSpan__topRight, topLeft && styles.DayPickerKeyboardShortcuts_showSpan__topLeft), + '?' + ) + ), + showKeyboardShortcutsPanel && _react2['default'].createElement( + 'div', + _extends({}, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_panel), { + role: 'dialog', + 'aria-labelledby': 'DayPickerKeyboardShortcuts_title', + 'aria-describedby': 'DayPickerKeyboardShortcuts_description' + }), + _react2['default'].createElement( + 'div', + _extends({}, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_title), { + id: 'DayPickerKeyboardShortcuts_title' + }), + phrases.keyboardShortcuts + ), + _react2['default'].createElement( + 'button', + _extends({ + ref: this.setHideKeyboardShortcutsButtonRef + }, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_buttonReset, styles.DayPickerKeyboardShortcuts_close), { + type: 'button', + tabIndex: '0', + 'aria-label': phrases.hideKeyboardShortcutsPanel, + onClick: closeKeyboardShortcutsPanel, + onKeyDown: this.onKeyDown + }), + _react2['default'].createElement(_CloseButton2['default'], (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_closeSvg)) + ), + _react2['default'].createElement( + 'ul', + _extends({}, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_list), { + id: 'DayPickerKeyboardShortcuts_description' + }), + this.keyboardShortcuts.map(function (_ref2) { + var unicode = _ref2.unicode, + label = _ref2.label, + action = _ref2.action; + return _react2['default'].createElement(_KeyboardShortcutRow2['default'], { + key: label, + unicode: unicode, + label: label, + action: action, + block: block + }); + }) + ) + ) + ); + } + + return render; + }() + }]); + + return DayPickerKeyboardShortcuts; +}(_react2['default'].Component); + +DayPickerKeyboardShortcuts.propTypes = propTypes; +DayPickerKeyboardShortcuts.defaultProps = defaultProps; + +exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref3) { + var _ref3$reactDates = _ref3.reactDates, + color = _ref3$reactDates.color, + font = _ref3$reactDates.font, + zIndex = _ref3$reactDates.zIndex; + return { + DayPickerKeyboardShortcuts_buttonReset: { + background: 'none', + border: 0, + borderRadius: 0, + color: 'inherit', + font: 'inherit', + lineHeight: 'normal', + overflow: 'visible', + padding: 0, + cursor: 'pointer', + fontSize: font.size, + + ':active': { + outline: 'none' + } + }, + + DayPickerKeyboardShortcuts_show: { + width: 22, + position: 'absolute', + zIndex: zIndex + 2 + }, + + DayPickerKeyboardShortcuts_show__bottomRight: { + borderTop: '26px solid transparent', + borderRight: '33px solid ' + String(color.core.primary), + bottom: 0, + right: 0, + + ':hover': { + borderRight: '33px solid ' + String(color.core.primary_dark) + } + }, + + DayPickerKeyboardShortcuts_show__topRight: { + borderBottom: '26px solid transparent', + borderRight: '33px solid ' + String(color.core.primary), + top: 0, + right: 0, + + ':hover': { + borderRight: '33px solid ' + String(color.core.primary_dark) + } + }, + + DayPickerKeyboardShortcuts_show__topLeft: { + borderBottom: '26px solid transparent', + borderLeft: '33px solid ' + String(color.core.primary), + top: 0, + left: 0, + + ':hover': { + borderLeft: '33px solid ' + String(color.core.primary_dark) + } + }, + + DayPickerKeyboardShortcuts_showSpan: { + color: color.core.white, + position: 'absolute' + }, + + DayPickerKeyboardShortcuts_showSpan__bottomRight: { + bottom: 0, + right: -28 + }, + + DayPickerKeyboardShortcuts_showSpan__topRight: { + top: 1, + right: -28 + }, + + DayPickerKeyboardShortcuts_showSpan__topLeft: { + top: 1, + left: -28 + }, + + DayPickerKeyboardShortcuts_panel: { + overflow: 'auto', + background: color.background, + border: '1px solid ' + String(color.core.border), + borderRadius: 2, + position: 'absolute', + top: 0, + bottom: 0, + right: 0, + left: 0, + zIndex: zIndex + 2, + padding: 22, + margin: 33 + }, + + DayPickerKeyboardShortcuts_title: { + fontSize: 16, + fontWeight: 'bold', + margin: 0 + }, + + DayPickerKeyboardShortcuts_list: { + listStyle: 'none', + padding: 0, + fontSize: font.size + }, + + DayPickerKeyboardShortcuts_close: { + position: 'absolute', + right: 22, + top: 22, + zIndex: zIndex + 2, + + ':active': { + outline: 'none' + } + }, + + DayPickerKeyboardShortcuts_closeSvg: { + height: 15, + width: 15, + fill: color.core.grayLighter, + + ':hover': { + fill: color.core.grayLight + }, + + ':focus': { + fill: color.core.grayLight + } + } + }; +})(DayPickerKeyboardShortcuts); + +/***/ }), +/* 379 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + +var _object = __webpack_require__(55); + +var _object2 = _interopRequireDefault(_object); + +var _react = __webpack_require__(21); + +var _react2 = _interopRequireDefault(_react); + +var _propTypes = __webpack_require__(25); + +var _propTypes2 = _interopRequireDefault(_propTypes); + +var _airbnbPropTypes = __webpack_require__(51); + +var _reactWithStyles = __webpack_require__(63); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, { + unicode: _propTypes2['default'].string.isRequired, + label: _propTypes2['default'].string.isRequired, + action: _propTypes2['default'].string.isRequired, + block: _propTypes2['default'].bool +})); + +var defaultProps = { + block: false +}; + +function KeyboardShortcutRow(_ref) { + var unicode = _ref.unicode, + label = _ref.label, + action = _ref.action, + block = _ref.block, + styles = _ref.styles; + + return _react2['default'].createElement( + 'li', + (0, _reactWithStyles.css)(styles.KeyboardShortcutRow, block && styles.KeyboardShortcutRow__block), + _react2['default'].createElement( + 'div', + (0, _reactWithStyles.css)(styles.KeyboardShortcutRow_keyContainer, block && styles.KeyboardShortcutRow_keyContainer__block), + _react2['default'].createElement( + 'span', + _extends({}, (0, _reactWithStyles.css)(styles.KeyboardShortcutRow_key), { + role: 'img', + 'aria-label': String(label) + ',' // add comma so screen readers will pause before reading action + }), + unicode + ) + ), + _react2['default'].createElement( + 'div', + (0, _reactWithStyles.css)(styles.KeyboardShortcutRow_action), + action + ) + ); +} + +KeyboardShortcutRow.propTypes = propTypes; +KeyboardShortcutRow.defaultProps = defaultProps; + +exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) { + var color = _ref2.reactDates.color; + return { + KeyboardShortcutRow: { + listStyle: 'none', + margin: '6px 0' + }, + + KeyboardShortcutRow__block: { + marginBottom: 16 + }, + + KeyboardShortcutRow_keyContainer: { + display: 'inline-block', + whiteSpace: 'nowrap', + textAlign: 'right', + marginRight: 6 + }, + + KeyboardShortcutRow_keyContainer__block: { + textAlign: 'left', + display: 'inline' + }, + + KeyboardShortcutRow_key: { + fontFamily: 'monospace', + fontSize: 12, + textTransform: 'uppercase', + background: color.core.grayLightest, + padding: '2px 6px' + }, + + KeyboardShortcutRow_action: { + display: 'inline', + wordBreak: 'break-word', + marginLeft: 8 + } + }; +})(KeyboardShortcutRow); + +/***/ }), +/* 380 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports['default'] = getNumberOfCalendarMonthWeeks; + +var _moment = __webpack_require__(30); + +var _moment2 = _interopRequireDefault(_moment); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +function getBlankDaysBeforeFirstDay(firstDayOfMonth, firstDayOfWeek) { + var weekDayDiff = firstDayOfMonth.day() - firstDayOfWeek; + return (weekDayDiff + 7) % 7; +} + +function getNumberOfCalendarMonthWeeks(month) { + var firstDayOfWeek = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _moment2['default'].localeData().firstDayOfWeek(); + + var firstDayOfMonth = month.clone().startOf('month'); + var numBlankDays = getBlankDaysBeforeFirstDay(firstDayOfMonth, firstDayOfWeek); + return Math.ceil((numBlankDays + month.daysInMonth()) / 7); +} + +/***/ }), +/* 381 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports['default'] = getActiveElement; +function getActiveElement() { + return typeof document !== 'undefined' && document.activeElement; +} + +/***/ }), +/* 382 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.PureSingleDatePicker = undefined; + +var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _object = __webpack_require__(55); + +var _object2 = _interopRequireDefault(_object); + +var _react = __webpack_require__(21); + +var _react2 = _interopRequireDefault(_react); + +var _moment = __webpack_require__(30); + +var _moment2 = _interopRequireDefault(_moment); + +var _reactWithStyles = __webpack_require__(63); + +var _reactPortal = __webpack_require__(253); + +var _airbnbPropTypes = __webpack_require__(51); + +var _consolidatedEvents = __webpack_require__(130); + +var _isTouchDevice = __webpack_require__(100); + +var _isTouchDevice2 = _interopRequireDefault(_isTouchDevice); + +var _reactOutsideClickHandler = __webpack_require__(166); + +var _reactOutsideClickHandler2 = _interopRequireDefault(_reactOutsideClickHandler); + +var _SingleDatePickerShape = __webpack_require__(244); + +var _SingleDatePickerShape2 = _interopRequireDefault(_SingleDatePickerShape); + +var _defaultPhrases = __webpack_require__(57); + +var _toMomentObject = __webpack_require__(98); + +var _toMomentObject2 = _interopRequireDefault(_toMomentObject); + +var _toLocalizedDateString = __webpack_require__(172); + +var _toLocalizedDateString2 = _interopRequireDefault(_toLocalizedDateString); + +var _getResponsiveContainerStyles = __webpack_require__(228); + +var _getResponsiveContainerStyles2 = _interopRequireDefault(_getResponsiveContainerStyles); + +var _getDetachedContainerStyles = __webpack_require__(229); + +var _getDetachedContainerStyles2 = _interopRequireDefault(_getDetachedContainerStyles); + +var _getInputHeight = __webpack_require__(170); + +var _getInputHeight2 = _interopRequireDefault(_getInputHeight); + +var _isInclusivelyAfterDay = __webpack_require__(118); + +var _isInclusivelyAfterDay2 = _interopRequireDefault(_isInclusivelyAfterDay); + +var _disableScroll2 = __webpack_require__(230); + +var _disableScroll3 = _interopRequireDefault(_disableScroll2); + +var _SingleDatePickerInput = __webpack_require__(245); + +var _SingleDatePickerInput2 = _interopRequireDefault(_SingleDatePickerInput); + +var _DayPickerSingleDateController = __webpack_require__(243); + +var _DayPickerSingleDateController2 = _interopRequireDefault(_DayPickerSingleDateController); + +var _CloseButton = __webpack_require__(120); + +var _CloseButton2 = _interopRequireDefault(_CloseButton); + +var _constants = __webpack_require__(45); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, _SingleDatePickerShape2['default'])); + +var defaultProps = { + // required props for a functional interactive SingleDatePicker + date: null, + focused: false, + + // input related props + id: 'date', + placeholder: 'Date', + disabled: false, + required: false, + readOnly: false, + screenReaderInputMessage: '', + showClearDate: false, + showDefaultInputIcon: false, + inputIconPosition: _constants.ICON_BEFORE_POSITION, + customInputIcon: null, + customCloseIcon: null, + noBorder: false, + block: false, + small: false, + regular: false, + verticalSpacing: _constants.DEFAULT_VERTICAL_SPACING, + keepFocusOnInput: false, + + // calendar presentation and interaction related props + orientation: _constants.HORIZONTAL_ORIENTATION, + anchorDirection: _constants.ANCHOR_LEFT, + openDirection: _constants.OPEN_DOWN, + horizontalMargin: 0, + withPortal: false, + withFullScreenPortal: false, + appendToBody: false, + disableScroll: false, + initialVisibleMonth: null, + firstDayOfWeek: null, + numberOfMonths: 2, + keepOpenOnDateSelect: false, + reopenPickerOnClearDate: false, + renderCalendarInfo: null, + calendarInfoPosition: _constants.INFO_POSITION_BOTTOM, + hideKeyboardShortcutsPanel: false, + daySize: _constants.DAY_SIZE, + isRTL: false, + verticalHeight: null, + transitionDuration: undefined, + horizontalMonthPadding: 13, + + // navigation related props + navPrev: null, + navNext: null, + + onPrevMonthClick: function () { + function onPrevMonthClick() {} + + return onPrevMonthClick; + }(), + onNextMonthClick: function () { + function onNextMonthClick() {} + + return onNextMonthClick; + }(), + onClose: function () { + function onClose() {} + + return onClose; + }(), + + + // month presentation and interaction related props + renderMonthText: null, + + // day presentation and interaction related props + renderCalendarDay: undefined, + renderDayContents: null, + renderMonthElement: null, + enableOutsideDays: false, + isDayBlocked: function () { + function isDayBlocked() { + return false; + } + + return isDayBlocked; + }(), + isOutsideRange: function () { + function isOutsideRange(day) { + return !(0, _isInclusivelyAfterDay2['default'])(day, (0, _moment2['default'])()); + } + + return isOutsideRange; + }(), + isDayHighlighted: function () { + function isDayHighlighted() {} + + return isDayHighlighted; + }(), + + // internationalization props + displayFormat: function () { + function displayFormat() { + return _moment2['default'].localeData().longDateFormat('L'); + } + + return displayFormat; + }(), + monthFormat: 'MMMM YYYY', + weekDayFormat: 'dd', + phrases: _defaultPhrases.SingleDatePickerPhrases, + dayAriaLabelFormat: undefined +}; + +var SingleDatePicker = function (_React$Component) { + _inherits(SingleDatePicker, _React$Component); + + function SingleDatePicker(props) { + _classCallCheck(this, SingleDatePicker); + + var _this = _possibleConstructorReturn(this, (SingleDatePicker.__proto__ || Object.getPrototypeOf(SingleDatePicker)).call(this, props)); + + _this.isTouchDevice = false; + + _this.state = { + dayPickerContainerStyles: {}, + isDayPickerFocused: false, + isInputFocused: false, + showKeyboardShortcuts: false + }; + + _this.onDayPickerFocus = _this.onDayPickerFocus.bind(_this); + _this.onDayPickerBlur = _this.onDayPickerBlur.bind(_this); + _this.showKeyboardShortcutsPanel = _this.showKeyboardShortcutsPanel.bind(_this); + + _this.onChange = _this.onChange.bind(_this); + _this.onFocus = _this.onFocus.bind(_this); + _this.onClearFocus = _this.onClearFocus.bind(_this); + _this.clearDate = _this.clearDate.bind(_this); + + _this.responsivizePickerPosition = _this.responsivizePickerPosition.bind(_this); + _this.disableScroll = _this.disableScroll.bind(_this); + + _this.setDayPickerContainerRef = _this.setDayPickerContainerRef.bind(_this); + _this.setContainerRef = _this.setContainerRef.bind(_this); + return _this; + } + + /* istanbul ignore next */ + + + _createClass(SingleDatePicker, [{ + key: 'componentDidMount', + value: function () { + function componentDidMount() { + this.removeEventListener = (0, _consolidatedEvents.addEventListener)(window, 'resize', this.responsivizePickerPosition, { passive: true }); + this.responsivizePickerPosition(); + this.disableScroll(); + + var focused = this.props.focused; + + + if (focused) { + this.setState({ + isInputFocused: true + }); + } + + this.isTouchDevice = (0, _isTouchDevice2['default'])(); + } + + return componentDidMount; + }() + }, { + key: 'componentDidUpdate', + value: function () { + function componentDidUpdate(prevProps) { + var focused = this.props.focused; + + if (!prevProps.focused && focused) { + this.responsivizePickerPosition(); + this.disableScroll(); + } else if (prevProps.focused && !focused) { + if (this.enableScroll) this.enableScroll(); + } + } + + return componentDidUpdate; + }() + + /* istanbul ignore next */ + + }, { + key: 'componentWillUnmount', + value: function () { + function componentWillUnmount() { + if (this.removeEventListener) this.removeEventListener(); + if (this.enableScroll) this.enableScroll(); + } + + return componentWillUnmount; + }() + }, { + key: 'onChange', + value: function () { + function onChange(dateString) { + var _props = this.props, + isOutsideRange = _props.isOutsideRange, + keepOpenOnDateSelect = _props.keepOpenOnDateSelect, + onDateChange = _props.onDateChange, + onFocusChange = _props.onFocusChange, + onClose = _props.onClose; + + var newDate = (0, _toMomentObject2['default'])(dateString, this.getDisplayFormat()); + + var isValid = newDate && !isOutsideRange(newDate); + if (isValid) { + onDateChange(newDate); + if (!keepOpenOnDateSelect) { + onFocusChange({ focused: false }); + onClose({ date: newDate }); + } + } else { + onDateChange(null); + } + } + + return onChange; + }() + }, { + key: 'onFocus', + value: function () { + function onFocus() { + var _props2 = this.props, + disabled = _props2.disabled, + onFocusChange = _props2.onFocusChange, + readOnly = _props2.readOnly, + withPortal = _props2.withPortal, + withFullScreenPortal = _props2.withFullScreenPortal, + keepFocusOnInput = _props2.keepFocusOnInput; + + + var withAnyPortal = withPortal || withFullScreenPortal; + var moveFocusToDayPicker = withAnyPortal || readOnly && !keepFocusOnInput || this.isTouchDevice && !keepFocusOnInput; + + if (moveFocusToDayPicker) { + this.onDayPickerFocus(); + } else { + this.onDayPickerBlur(); + } + + if (!disabled) { + onFocusChange({ focused: true }); + } + } + + return onFocus; + }() + }, { + key: 'onClearFocus', + value: function () { + function onClearFocus(event) { + var _props3 = this.props, + date = _props3.date, + focused = _props3.focused, + onFocusChange = _props3.onFocusChange, + onClose = _props3.onClose, + appendToBody = _props3.appendToBody; + + if (!focused) return; + if (appendToBody && this.dayPickerContainer.contains(event.target)) return; + + this.setState({ + isInputFocused: false, + isDayPickerFocused: false + }); + + onFocusChange({ focused: false }); + onClose({ date: date }); + } + + return onClearFocus; + }() + }, { + key: 'onDayPickerFocus', + value: function () { + function onDayPickerFocus() { + this.setState({ + isInputFocused: false, + isDayPickerFocused: true, + showKeyboardShortcuts: false + }); + } + + return onDayPickerFocus; + }() + }, { + key: 'onDayPickerBlur', + value: function () { + function onDayPickerBlur() { + this.setState({ + isInputFocused: true, + isDayPickerFocused: false, + showKeyboardShortcuts: false + }); + } + + return onDayPickerBlur; + }() + }, { + key: 'getDateString', + value: function () { + function getDateString(date) { + var displayFormat = this.getDisplayFormat(); + if (date && displayFormat) { + return date && date.format(displayFormat); + } + return (0, _toLocalizedDateString2['default'])(date); + } + + return getDateString; + }() + }, { + key: 'getDisplayFormat', + value: function () { + function getDisplayFormat() { + var displayFormat = this.props.displayFormat; + + return typeof displayFormat === 'string' ? displayFormat : displayFormat(); + } + + return getDisplayFormat; + }() + }, { + key: 'setDayPickerContainerRef', + value: function () { + function setDayPickerContainerRef(ref) { + this.dayPickerContainer = ref; + } + + return setDayPickerContainerRef; + }() + }, { + key: 'setContainerRef', + value: function () { + function setContainerRef(ref) { + this.container = ref; + } + + return setContainerRef; + }() + }, { + key: 'clearDate', + value: function () { + function clearDate() { + var _props4 = this.props, + onDateChange = _props4.onDateChange, + reopenPickerOnClearDate = _props4.reopenPickerOnClearDate, + onFocusChange = _props4.onFocusChange; + + onDateChange(null); + if (reopenPickerOnClearDate) { + onFocusChange({ focused: true }); + } + } + + return clearDate; + }() + }, { + key: 'disableScroll', + value: function () { + function disableScroll() { + var _props5 = this.props, + appendToBody = _props5.appendToBody, + propDisableScroll = _props5.disableScroll, + focused = _props5.focused; + + if (!appendToBody && !propDisableScroll) return; + if (!focused) return; + + // Disable scroll for every ancestor of this up to the + // document level. This ensures the input and the picker never move. Other + // sibling elements or the picker itself can scroll. + this.enableScroll = (0, _disableScroll3['default'])(this.container); + } + + return disableScroll; + }() + + /* istanbul ignore next */ + + }, { + key: 'responsivizePickerPosition', + value: function () { + function responsivizePickerPosition() { + // It's possible the portal props have been changed in response to window resizes + // So let's ensure we reset this back to the base state each time + this.setState({ dayPickerContainerStyles: {} }); + + var _props6 = this.props, + openDirection = _props6.openDirection, + anchorDirection = _props6.anchorDirection, + horizontalMargin = _props6.horizontalMargin, + withPortal = _props6.withPortal, + withFullScreenPortal = _props6.withFullScreenPortal, + appendToBody = _props6.appendToBody, + focused = _props6.focused; + var dayPickerContainerStyles = this.state.dayPickerContainerStyles; + + + if (!focused) { + return; + } + + var isAnchoredLeft = anchorDirection === _constants.ANCHOR_LEFT; + + if (!withPortal && !withFullScreenPortal) { + var containerRect = this.dayPickerContainer.getBoundingClientRect(); + var currentOffset = dayPickerContainerStyles[anchorDirection] || 0; + var containerEdge = isAnchoredLeft ? containerRect[_constants.ANCHOR_RIGHT] : containerRect[_constants.ANCHOR_LEFT]; + + this.setState({ + dayPickerContainerStyles: (0, _object2['default'])({}, (0, _getResponsiveContainerStyles2['default'])(anchorDirection, currentOffset, containerEdge, horizontalMargin), appendToBody && (0, _getDetachedContainerStyles2['default'])(openDirection, anchorDirection, this.container)) + }); + } + } + + return responsivizePickerPosition; + }() + }, { + key: 'showKeyboardShortcutsPanel', + value: function () { + function showKeyboardShortcutsPanel() { + this.setState({ + isInputFocused: false, + isDayPickerFocused: true, + showKeyboardShortcuts: true + }); + } + + return showKeyboardShortcutsPanel; + }() + }, { + key: 'maybeRenderDayPickerWithPortal', + value: function () { + function maybeRenderDayPickerWithPortal() { + var _props7 = this.props, + focused = _props7.focused, + withPortal = _props7.withPortal, + withFullScreenPortal = _props7.withFullScreenPortal, + appendToBody = _props7.appendToBody; + + + if (!focused) { + return null; + } + + if (withPortal || withFullScreenPortal || appendToBody) { + return _react2['default'].createElement( + _reactPortal.Portal, + null, + this.renderDayPicker() + ); + } + + return this.renderDayPicker(); + } + + return maybeRenderDayPickerWithPortal; + }() + }, { + key: 'renderDayPicker', + value: function () { + function renderDayPicker() { + var _props8 = this.props, + anchorDirection = _props8.anchorDirection, + openDirection = _props8.openDirection, + onDateChange = _props8.onDateChange, + date = _props8.date, + onFocusChange = _props8.onFocusChange, + focused = _props8.focused, + enableOutsideDays = _props8.enableOutsideDays, + numberOfMonths = _props8.numberOfMonths, + orientation = _props8.orientation, + monthFormat = _props8.monthFormat, + navPrev = _props8.navPrev, + navNext = _props8.navNext, + onPrevMonthClick = _props8.onPrevMonthClick, + onNextMonthClick = _props8.onNextMonthClick, + onClose = _props8.onClose, + withPortal = _props8.withPortal, + withFullScreenPortal = _props8.withFullScreenPortal, + keepOpenOnDateSelect = _props8.keepOpenOnDateSelect, + initialVisibleMonth = _props8.initialVisibleMonth, + renderMonthText = _props8.renderMonthText, + renderCalendarDay = _props8.renderCalendarDay, + renderDayContents = _props8.renderDayContents, + renderCalendarInfo = _props8.renderCalendarInfo, + renderMonthElement = _props8.renderMonthElement, + calendarInfoPosition = _props8.calendarInfoPosition, + hideKeyboardShortcutsPanel = _props8.hideKeyboardShortcutsPanel, + firstDayOfWeek = _props8.firstDayOfWeek, + customCloseIcon = _props8.customCloseIcon, + phrases = _props8.phrases, + dayAriaLabelFormat = _props8.dayAriaLabelFormat, + daySize = _props8.daySize, + isRTL = _props8.isRTL, + isOutsideRange = _props8.isOutsideRange, + isDayBlocked = _props8.isDayBlocked, + isDayHighlighted = _props8.isDayHighlighted, + weekDayFormat = _props8.weekDayFormat, + styles = _props8.styles, + verticalHeight = _props8.verticalHeight, + transitionDuration = _props8.transitionDuration, + verticalSpacing = _props8.verticalSpacing, + horizontalMonthPadding = _props8.horizontalMonthPadding, + small = _props8.small, + reactDates = _props8.theme.reactDates; + var _state = this.state, + dayPickerContainerStyles = _state.dayPickerContainerStyles, + isDayPickerFocused = _state.isDayPickerFocused, + showKeyboardShortcuts = _state.showKeyboardShortcuts; + + + var onOutsideClick = !withFullScreenPortal && withPortal ? this.onClearFocus : undefined; + var closeIcon = customCloseIcon || _react2['default'].createElement(_CloseButton2['default'], null); + + var inputHeight = (0, _getInputHeight2['default'])(reactDates, small); + + var withAnyPortal = withPortal || withFullScreenPortal; + + return _react2['default'].createElement( + 'div', + _extends({ // eslint-disable-line jsx-a11y/no-static-element-interactions + ref: this.setDayPickerContainerRef + }, (0, _reactWithStyles.css)(styles.SingleDatePicker_picker, anchorDirection === _constants.ANCHOR_LEFT && styles.SingleDatePicker_picker__directionLeft, anchorDirection === _constants.ANCHOR_RIGHT && styles.SingleDatePicker_picker__directionRight, openDirection === _constants.OPEN_DOWN && styles.SingleDatePicker_picker__openDown, openDirection === _constants.OPEN_UP && styles.SingleDatePicker_picker__openUp, !withAnyPortal && openDirection === _constants.OPEN_DOWN && { + top: inputHeight + verticalSpacing + }, !withAnyPortal && openDirection === _constants.OPEN_UP && { + bottom: inputHeight + verticalSpacing + }, orientation === _constants.HORIZONTAL_ORIENTATION && styles.SingleDatePicker_picker__horizontal, orientation === _constants.VERTICAL_ORIENTATION && styles.SingleDatePicker_picker__vertical, withAnyPortal && styles.SingleDatePicker_picker__portal, withFullScreenPortal && styles.SingleDatePicker_picker__fullScreenPortal, isRTL && styles.SingleDatePicker_picker__rtl, dayPickerContainerStyles), { + onClick: onOutsideClick + }), + _react2['default'].createElement(_DayPickerSingleDateController2['default'], { + date: date, + onDateChange: onDateChange, + onFocusChange: onFocusChange, + orientation: orientation, + enableOutsideDays: enableOutsideDays, + numberOfMonths: numberOfMonths, + monthFormat: monthFormat, + withPortal: withAnyPortal, + focused: focused, + keepOpenOnDateSelect: keepOpenOnDateSelect, + hideKeyboardShortcutsPanel: hideKeyboardShortcutsPanel, + initialVisibleMonth: initialVisibleMonth, + navPrev: navPrev, + navNext: navNext, + onPrevMonthClick: onPrevMonthClick, + onNextMonthClick: onNextMonthClick, + onClose: onClose, + renderMonthText: renderMonthText, + renderCalendarDay: renderCalendarDay, + renderDayContents: renderDayContents, + renderCalendarInfo: renderCalendarInfo, + renderMonthElement: renderMonthElement, + calendarInfoPosition: calendarInfoPosition, + isFocused: isDayPickerFocused, + showKeyboardShortcuts: showKeyboardShortcuts, + onBlur: this.onDayPickerBlur, + phrases: phrases, + dayAriaLabelFormat: dayAriaLabelFormat, + daySize: daySize, + isRTL: isRTL, + isOutsideRange: isOutsideRange, + isDayBlocked: isDayBlocked, + isDayHighlighted: isDayHighlighted, + firstDayOfWeek: firstDayOfWeek, + weekDayFormat: weekDayFormat, + verticalHeight: verticalHeight, + transitionDuration: transitionDuration, + horizontalMonthPadding: horizontalMonthPadding + }), + withFullScreenPortal && _react2['default'].createElement( + 'button', + _extends({}, (0, _reactWithStyles.css)(styles.SingleDatePicker_closeButton), { + 'aria-label': phrases.closeDatePicker, + type: 'button', + onClick: this.onClearFocus + }), + _react2['default'].createElement( + 'div', + (0, _reactWithStyles.css)(styles.SingleDatePicker_closeButton_svg), + closeIcon + ) + ) + ); + } + + return renderDayPicker; + }() + }, { + key: 'render', + value: function () { + function render() { + var _props9 = this.props, + id = _props9.id, + placeholder = _props9.placeholder, + disabled = _props9.disabled, + focused = _props9.focused, + required = _props9.required, + readOnly = _props9.readOnly, + openDirection = _props9.openDirection, + showClearDate = _props9.showClearDate, + showDefaultInputIcon = _props9.showDefaultInputIcon, + inputIconPosition = _props9.inputIconPosition, + customCloseIcon = _props9.customCloseIcon, + customInputIcon = _props9.customInputIcon, + date = _props9.date, + phrases = _props9.phrases, + withPortal = _props9.withPortal, + withFullScreenPortal = _props9.withFullScreenPortal, + screenReaderInputMessage = _props9.screenReaderInputMessage, + isRTL = _props9.isRTL, + noBorder = _props9.noBorder, + block = _props9.block, + small = _props9.small, + regular = _props9.regular, + verticalSpacing = _props9.verticalSpacing, + styles = _props9.styles; + var isInputFocused = this.state.isInputFocused; + + + var displayValue = this.getDateString(date); + + var enableOutsideClick = !withPortal && !withFullScreenPortal; + + var hideFang = verticalSpacing < _constants.FANG_HEIGHT_PX; + + var input = _react2['default'].createElement(_SingleDatePickerInput2['default'], { + id: id, + placeholder: placeholder, + focused: focused, + isFocused: isInputFocused, + disabled: disabled, + required: required, + readOnly: readOnly, + openDirection: openDirection, + showCaret: !withPortal && !withFullScreenPortal && !hideFang, + onClearDate: this.clearDate, + showClearDate: showClearDate, + showDefaultInputIcon: showDefaultInputIcon, + inputIconPosition: inputIconPosition, + customCloseIcon: customCloseIcon, + customInputIcon: customInputIcon, + displayValue: displayValue, + onChange: this.onChange, + onFocus: this.onFocus, + onKeyDownShiftTab: this.onClearFocus, + onKeyDownTab: this.onClearFocus, + onKeyDownArrowDown: this.onDayPickerFocus, + onKeyDownQuestionMark: this.showKeyboardShortcutsPanel, + screenReaderMessage: screenReaderInputMessage, + phrases: phrases, + isRTL: isRTL, + noBorder: noBorder, + block: block, + small: small, + regular: regular, + verticalSpacing: verticalSpacing + }); + + return _react2['default'].createElement( + 'div', + _extends({ + ref: this.setContainerRef + }, (0, _reactWithStyles.css)(styles.SingleDatePicker, block && styles.SingleDatePicker__block)), + enableOutsideClick && _react2['default'].createElement( + _reactOutsideClickHandler2['default'], + { onOutsideClick: this.onClearFocus }, + input, + this.maybeRenderDayPickerWithPortal() + ), + !enableOutsideClick && input, + !enableOutsideClick && this.maybeRenderDayPickerWithPortal() + ); + } + + return render; + }() + }]); + + return SingleDatePicker; +}(_react2['default'].Component); + +SingleDatePicker.propTypes = propTypes; +SingleDatePicker.defaultProps = defaultProps; + +exports.PureSingleDatePicker = SingleDatePicker; +exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref) { + var _ref$reactDates = _ref.reactDates, + color = _ref$reactDates.color, + zIndex = _ref$reactDates.zIndex; + return { + SingleDatePicker: { + position: 'relative', + display: 'inline-block' + }, + + SingleDatePicker__block: { + display: 'block' + }, + + SingleDatePicker_picker: { + zIndex: zIndex + 1, + backgroundColor: color.background, + position: 'absolute' + }, + + SingleDatePicker_picker__rtl: { + direction: 'rtl' + }, + + SingleDatePicker_picker__directionLeft: { + left: 0 + }, + + SingleDatePicker_picker__directionRight: { + right: 0 + }, + + SingleDatePicker_picker__portal: { + backgroundColor: 'rgba(0, 0, 0, 0.3)', + position: 'fixed', + top: 0, + left: 0, + height: '100%', + width: '100%' + }, + + SingleDatePicker_picker__fullScreenPortal: { + backgroundColor: color.background + }, + + SingleDatePicker_closeButton: { + background: 'none', + border: 0, + color: 'inherit', + font: 'inherit', + lineHeight: 'normal', + overflow: 'visible', + cursor: 'pointer', + + position: 'absolute', + top: 0, + right: 0, + padding: 15, + zIndex: zIndex + 2, + + ':hover': { + color: 'darken(' + String(color.core.grayLighter) + ', 10%)', + textDecoration: 'none' + }, + + ':focus': { + color: 'darken(' + String(color.core.grayLighter) + ', 10%)', + textDecoration: 'none' + } + }, + + SingleDatePicker_closeButton_svg: { + height: 15, + width: 15, + fill: color.core.grayLighter + } + }; +})(SingleDatePicker); + +/***/ }), +/* 383 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports['default'] = isInclusivelyBeforeDay; + +var _moment = __webpack_require__(30); + +var _moment2 = _interopRequireDefault(_moment); + +var _isAfterDay = __webpack_require__(133); + +var _isAfterDay2 = _interopRequireDefault(_isAfterDay); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +function isInclusivelyBeforeDay(a, b) { + if (!_moment2['default'].isMoment(a) || !_moment2['default'].isMoment(b)) return false; + return !(0, _isAfterDay2['default'])(a, b); +} + +/***/ }), +/* 384 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var __assign = (this && this.__assign) || function () { + __assign = Object.assign || function(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) + t[p] = s[p]; + } + return t; + }; + return __assign.apply(this, arguments); +}; +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; + result["default"] = mod; + return result; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var React = __importStar(__webpack_require__(21)); +var styles = { + top: { + width: '100%', + height: '10px', + top: '-5px', + left: '0px', + cursor: 'row-resize', + }, + right: { + width: '10px', + height: '100%', + top: '0px', + right: '-5px', + cursor: 'col-resize', + }, + bottom: { + width: '100%', + height: '10px', + bottom: '-5px', + left: '0px', + cursor: 'row-resize', + }, + left: { + width: '10px', + height: '100%', + top: '0px', + left: '-5px', + cursor: 'col-resize', + }, + topRight: { + width: '20px', + height: '20px', + position: 'absolute', + right: '-10px', + top: '-10px', + cursor: 'ne-resize', + }, + bottomRight: { + width: '20px', + height: '20px', + position: 'absolute', + right: '-10px', + bottom: '-10px', + cursor: 'se-resize', + }, + bottomLeft: { + width: '20px', + height: '20px', + position: 'absolute', + left: '-10px', + bottom: '-10px', + cursor: 'sw-resize', + }, + topLeft: { + width: '20px', + height: '20px', + position: 'absolute', + left: '-10px', + top: '-10px', + cursor: 'nw-resize', + }, +}; +function Resizer(props) { + return (React.createElement("div", { className: props.className || '', style: __assign({ position: 'absolute', userSelect: 'none' }, styles[props.direction], (props.replaceStyles || {})), onMouseDown: function (e) { + props.onResizeStart(e, props.direction); + }, onTouchStart: function (e) { + props.onResizeStart(e, props.direction); + } }, props.children)); +} +exports.Resizer = Resizer; + + +/***/ }), +/* 385 */ +/***/ (function(module, exports) { + +// +// Main +// + +function memoize (fn, options) { + var cache = options && options.cache + ? options.cache + : cacheDefault + + var serializer = options && options.serializer + ? options.serializer + : serializerDefault + + var strategy = options && options.strategy + ? options.strategy + : strategyDefault + + return strategy(fn, { + cache: cache, + serializer: serializer + }) +} + +// +// Strategy +// + +function isPrimitive (value) { + return value == null || typeof value === 'number' || typeof value === 'boolean' // || typeof value === "string" 'unsafe' primitive for our needs +} + +function monadic (fn, cache, serializer, arg) { + var cacheKey = isPrimitive(arg) ? arg : serializer(arg) + + var computedValue = cache.get(cacheKey) + if (typeof computedValue === 'undefined') { + computedValue = fn.call(this, arg) + cache.set(cacheKey, computedValue) + } + + return computedValue +} + +function variadic (fn, cache, serializer) { + var args = Array.prototype.slice.call(arguments, 3) + var cacheKey = serializer(args) + + var computedValue = cache.get(cacheKey) + if (typeof computedValue === 'undefined') { + computedValue = fn.apply(this, args) + cache.set(cacheKey, computedValue) + } + + return computedValue +} + +function assemble (fn, context, strategy, cache, serialize) { + return strategy.bind( + context, + fn, + cache, + serialize + ) +} + +function strategyDefault (fn, options) { + var strategy = fn.length === 1 ? monadic : variadic + + return assemble( + fn, + this, + strategy, + options.cache.create(), + options.serializer + ) +} + +function strategyVariadic (fn, options) { + var strategy = variadic + + return assemble( + fn, + this, + strategy, + options.cache.create(), + options.serializer + ) +} + +function strategyMonadic (fn, options) { + var strategy = monadic + + return assemble( + fn, + this, + strategy, + options.cache.create(), + options.serializer + ) +} + +// +// Serializer +// + +function serializerDefault () { + return JSON.stringify(arguments) +} + +// +// Cache +// + +function ObjectWithoutPrototypeCache () { + this.cache = Object.create(null) +} + +ObjectWithoutPrototypeCache.prototype.has = function (key) { + return (key in this.cache) +} + +ObjectWithoutPrototypeCache.prototype.get = function (key) { + return this.cache[key] +} + +ObjectWithoutPrototypeCache.prototype.set = function (key, value) { + this.cache[key] = value +} + +var cacheDefault = { + create: function create () { + return new ObjectWithoutPrototypeCache() + } +} + +// +// API +// + +module.exports = memoize +module.exports.strategies = { + variadic: strategyVariadic, + monadic: strategyMonadic +} + + +/***/ }), +/* 386 */, +/* 387 */, +/* 388 */, +/* 389 */, +/* 390 */, +/* 391 */, +/* 392 */, +/* 393 */, +/* 394 */, +/* 395 */, +/* 396 */, +/* 397 */, +/* 398 */, +/* 399 */, +/* 400 */, +/* 401 */, +/* 402 */, +/* 403 */, +/* 404 */, +/* 405 */, +/* 406 */, +/* 407 */, +/* 408 */, +/* 409 */, +/* 410 */, +/* 411 */, +/* 412 */, +/* 413 */, +/* 414 */, +/* 415 */, +/* 416 */, +/* 417 */, +/* 418 */, +/* 419 */, +/* 420 */, +/* 421 */, +/* 422 */, +/* 423 */, +/* 424 */, +/* 425 */, +/* 426 */, +/* 427 */, +/* 428 */, +/* 429 */, +/* 430 */, +/* 431 */, +/* 432 */, +/* 433 */, +/* 434 */, +/* 435 */, +/* 436 */, +/* 437 */, +/* 438 */, +/* 439 */, +/* 440 */, +/* 441 */, +/* 442 */, +/* 443 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXTERNAL MODULE: external {"this":"React"} +var external_this_React_ = __webpack_require__(21); + +// EXTERNAL MODULE: ./node_modules/reakit-system/es/createComponent.js + 1 modules +var createComponent = __webpack_require__(61); + +// EXTERNAL MODULE: ./node_modules/reakit-system/es/createHook.js + 5 modules +var createHook = __webpack_require__(60); + +// EXTERNAL MODULE: ./node_modules/reakit/es/_rollupPluginBabelHelpers-f089acec.js +var _rollupPluginBabelHelpers_f089acec = __webpack_require__(43); + +// CONCATENATED MODULE: ./node_modules/reakit-utils/es/mergeRefs.js +function mergeRefs() { + for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) { + refs[_key] = arguments[_key]; + } + + var filteredRefs = refs.filter(Boolean); + if (!filteredRefs.length) return null; + if (filteredRefs.length === 1) return filteredRefs[0]; + return function (instance) { + for (var _iterator = filteredRefs, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) { + var _ref; + + if (_isArray) { + if (_i >= _iterator.length) break; + _ref = _iterator[_i++]; + } else { + _i = _iterator.next(); + if (_i.done) break; + _ref = _i.value; + } + + var ref = _ref; + + if (typeof ref === "function") { + ref(instance); + } else if (ref) { + ref.current = instance; + } + } + }; +} + + + +// CONCATENATED MODULE: ./node_modules/reakit-utils/es/getDocument.js +function getDocument(element) { + return element ? element.ownerDocument || element : window.document; +} + + + +// CONCATENATED MODULE: ./node_modules/reakit-utils/es/hasFocusWithin.js + + +function hasFocusWithin(element) { + var document = getDocument(element); + if (!document.activeElement) return false; + return element.contains(document.activeElement); +} + + + +// EXTERNAL MODULE: ./node_modules/reakit/es/Box/Box.js +var Box = __webpack_require__(80); + +// CONCATENATED MODULE: ./node_modules/reakit-utils/es/closest.js +// closest ponyfill +function matches(element, selectors) { + if ("matches" in element) return element.matches(selectors); + if ("msMatchesSelector" in element) return element.msMatchesSelector(selectors); + return element.webkitMatchesSelector(selectors); +} + +function closest(element, selectors) { + if ("closest" in element) return element.closest(selectors); + + do { + if (matches(element, selectors)) return element; + element = element.parentElement || element.parentNode; + } while (element !== null && element.nodeType === 1); + + return null; +} + + + +// CONCATENATED MODULE: ./node_modules/reakit-utils/es/tabbable.js + + +var selector = "input:not([type='hidden']):not([disabled]), select:not([disabled]), " + "textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], " + "iframe, object, embed, area[href], audio[controls], video[controls], " + "[contenteditable]:not([contenteditable='false'])"; + +function isVisible(element) { + return element.offsetWidth > 0 || element.offsetHeight > 0 || element.getClientRects().length > 0; +} + +function hasNegativeTabIndex(element) { + var tabIndex = parseInt(element.getAttribute("tabIndex") || "0", 10); + return tabIndex < 0; +} + +function isFocusable(element) { + return element.matches(selector) && isVisible(element); +} +function isTabbable(element) { + return isFocusable(element) && !hasNegativeTabIndex(element); +} +function getAllFocusableIn(container) { + var allFocusable = Array.from(container.querySelectorAll(selector)); + allFocusable.unshift(container); + return allFocusable.filter(isFocusable); +} +function getFirstFocusableIn(container) { + var allFocusable = getAllFocusableIn(container); + return allFocusable.length ? allFocusable[0] : null; +} +function getAllTabbableIn(container, fallbackToFocusable) { + var allFocusable = Array.from(container.querySelectorAll(selector)); + var allTabbable = allFocusable.filter(isTabbable); + + if (isTabbable(container)) { + allTabbable.unshift(container); + } + + if (!allTabbable.length && fallbackToFocusable) { + return allFocusable; + } + + return allTabbable; +} +function getFirstTabbableIn(container, fallbackToFocusable) { + var _getAllTabbableIn = getAllTabbableIn(container, fallbackToFocusable), + first = _getAllTabbableIn[0]; + + return first || null; +} +function getLastTabbableIn(container, fallbackToFocusable) { + var allTabbable = getAllTabbableIn(container, fallbackToFocusable); + return allTabbable[allTabbable.length - 1] || null; +} +function getNextTabbableIn(container, fallbackToFocusable) { + var _ref = container.ownerDocument || document, + activeElement = _ref.activeElement; + + var allFocusable = getAllFocusableIn(container); + var index = allFocusable.indexOf(activeElement); + var slice = allFocusable.slice(index + 1); + return slice.find(isTabbable) || allFocusable.find(isTabbable) || (fallbackToFocusable ? slice[0] : null); +} +function getPreviousTabbableIn(container, fallbackToFocusable) { + var _ref2 = container.ownerDocument || document, + activeElement = _ref2.activeElement; + + var allFocusable = getAllFocusableIn(container).reverse(); + var index = allFocusable.indexOf(activeElement); + var slice = allFocusable.slice(index + 1); + return slice.find(isTabbable) || allFocusable.find(isTabbable) || (fallbackToFocusable ? slice[0] : null); +} +function getClosestFocusable(element) { + var container = null; + + do { + container = closest(element, selector); + } while (container && !isFocusable(container)); + + return container; +} + +function defaultIsActive(element) { + var _ref3 = element.ownerDocument || document, + activeElement = _ref3.activeElement; + + return activeElement === element; +} + +function ensureFocus(element, _temp) { + var _ref4 = _temp === void 0 ? {} : _temp, + _ref4$isActive = _ref4.isActive, + isActive = _ref4$isActive === void 0 ? defaultIsActive : _ref4$isActive, + preventScroll = _ref4.preventScroll; + + if (isActive(element)) return -1; + element.focus({ + preventScroll: preventScroll + }); + if (isActive(element)) return -1; + return requestAnimationFrame(function () { + element.focus({ + preventScroll: preventScroll + }); + }); +} + + + +// CONCATENATED MODULE: ./node_modules/reakit/es/Tabbable/Tabbable.js + + + + + + + + + +function isNativeTabbable(element) { + return element instanceof HTMLButtonElement || element instanceof HTMLInputElement || element instanceof HTMLSelectElement || element instanceof HTMLTextAreaElement || element instanceof HTMLAnchorElement || element instanceof HTMLAudioElement || element instanceof HTMLVideoElement; +} + +function isInput(element) { + return element instanceof HTMLInputElement || element instanceof HTMLTextAreaElement || element instanceof HTMLSelectElement; +} // https://twitter.com/diegohaz/status/1176998102139572225 + + +function receivesFocusOnMouseDown(element) { + var _navigator = navigator, + userAgent = _navigator.userAgent; + + var is = function is(string) { + return userAgent.indexOf(string) !== -1; + }; + + var isMac = is("Mac"); + var isSafariOrFirefox = is("Safari") || is("Firefox"); + return !isMac || !isSafariOrFirefox || !(element instanceof HTMLButtonElement); +} + +var useTabbable = Object(createHook["a" /* createHook */])({ + name: "Tabbable", + compose: Box["a" /* useBox */], + keys: ["disabled", "focusable", "unstable_clickOnEnter", "unstable_clickOnSpace"], + useOptions: function useOptions(_ref, _ref2) { + var disabled = _ref2.disabled; + + var _ref$unstable_clickOn = _ref.unstable_clickOnEnter, + unstable_clickOnEnter = _ref$unstable_clickOn === void 0 ? true : _ref$unstable_clickOn, + _ref$unstable_clickOn2 = _ref.unstable_clickOnSpace, + unstable_clickOnSpace = _ref$unstable_clickOn2 === void 0 ? true : _ref$unstable_clickOn2, + options = Object(_rollupPluginBabelHelpers_f089acec["a" /* _ */])(_ref, ["unstable_clickOnEnter", "unstable_clickOnSpace"]); + + return Object(_rollupPluginBabelHelpers_f089acec["b" /* a */])({ + disabled: disabled, + unstable_clickOnEnter: unstable_clickOnEnter, + unstable_clickOnSpace: unstable_clickOnSpace + }, options); + }, + useProps: function useProps(options, _ref3) { + var htmlRef = _ref3.ref, + htmlTabIndex = _ref3.tabIndex, + htmlOnClick = _ref3.onClick, + htmlOnMouseDown = _ref3.onMouseDown, + htmlOnKeyDown = _ref3.onKeyDown, + htmlStyle = _ref3.style, + htmlProps = Object(_rollupPluginBabelHelpers_f089acec["a" /* _ */])(_ref3, ["ref", "tabIndex", "onClick", "onMouseDown", "onKeyDown", "style"]); + + var ref = Object(external_this_React_["useRef"])(null); + var trulyDisabled = options.disabled && !options.focusable; + + var _React$useState = Object(external_this_React_["useState"])(true), + nativeTabbable = _React$useState[0], + setNativeTabbable = _React$useState[1]; + + var tabIndex = nativeTabbable ? htmlTabIndex : htmlTabIndex || 0; + var style = options.disabled && !nativeTabbable ? Object(_rollupPluginBabelHelpers_f089acec["b" /* a */])({ + pointerEvents: "none" + }, htmlStyle) : htmlStyle; + Object(external_this_React_["useEffect"])(function () { + if (ref.current && !isNativeTabbable(ref.current)) { + setNativeTabbable(false); + } + }, []); + var onClick = Object(external_this_React_["useCallback"])(function (event) { + if (options.disabled) { + event.stopPropagation(); + event.preventDefault(); + } else if (htmlOnClick) { + htmlOnClick(event); + } + }, [options.disabled, htmlOnClick]); + var onMouseDown = Object(external_this_React_["useCallback"])(function (event) { + if (options.disabled) { + event.stopPropagation(); + event.preventDefault(); + return; + } + + var self = event.currentTarget; + var target = event.target; + + if (self.contains(target) && !isInput(target) && !receivesFocusOnMouseDown(self)) { + event.preventDefault(); + var isFocusControl = isFocusable(target) || target instanceof HTMLLabelElement; + + if (!hasFocusWithin(self) || self === target || !isFocusControl) { + self.focus(); + } + } + + if (htmlOnMouseDown) { + htmlOnMouseDown(event); + } + }, [options.disabled, htmlOnMouseDown]); + var onKeyDown = Object(external_this_React_["useCallback"])(function (event) { + if (htmlOnKeyDown) { + htmlOnKeyDown(event); + } + + if (options.disabled || isNativeTabbable(event.currentTarget)) return; // Per the spec, space only triggers button click on key up. + // On key down, it triggers the :active state. + // Since we can't mimic this behavior, we trigger click on key down. + + if (options.unstable_clickOnEnter && event.key === "Enter" || options.unstable_clickOnSpace && event.key === " ") { + event.preventDefault(); + event.target.dispatchEvent(new MouseEvent("click", { + view: window, + bubbles: true, + cancelable: false + })); + } + }, [options.disabled, options.unstable_clickOnEnter, options.unstable_clickOnSpace, htmlOnKeyDown]); + return Object(_rollupPluginBabelHelpers_f089acec["b" /* a */])({ + ref: mergeRefs(ref, htmlRef), + disabled: trulyDisabled, + tabIndex: trulyDisabled ? undefined : tabIndex, + "aria-disabled": options.disabled, + onClick: onClick, + onMouseDown: onMouseDown, + onKeyDown: onKeyDown, + style: style + }, htmlProps); + } +}); +var Tabbable = Object(createComponent["a" /* createComponent */])({ + as: "button", + useHook: useTabbable +}); + + + +// CONCATENATED MODULE: ./node_modules/reakit-utils/es/useAllCallbacks.js + + +function useAllCallbacks() { + for (var _len = arguments.length, callbacks = new Array(_len), _key = 0; _key < _len; _key++) { + callbacks[_key] = arguments[_key]; + } + + return Object(external_this_React_["useCallback"])(function () { + var fns = callbacks.filter(Boolean); + + for (var _iterator = fns, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) { + var _ref; + + if (_isArray) { + if (_i >= _iterator.length) break; + _ref = _iterator[_i++]; + } else { + _i = _iterator.next(); + if (_i.done) break; + _ref = _i.value; + } + + var callback = _ref; + callback.apply(void 0, arguments); + } + }, callbacks); +} + + + +// CONCATENATED MODULE: ./node_modules/reakit-utils/es/createOnKeyDown.js +function createOnKeyDown(_temp) { + var _ref = _temp === void 0 ? {} : _temp, + keyMap = _ref.keyMap, + onKey = _ref.onKey, + stopPropagation = _ref.stopPropagation, + onKeyDown = _ref.onKeyDown, + _ref$shouldKeyDown = _ref.shouldKeyDown, + shouldKeyDown = _ref$shouldKeyDown === void 0 ? function () { + return true; + } : _ref$shouldKeyDown, + _ref$preventDefault = _ref.preventDefault, + preventDefault = _ref$preventDefault === void 0 ? true : _ref$preventDefault; + + return function (event) { + if (!keyMap) return; + var finalKeyMap = typeof keyMap === "function" ? keyMap(event) : keyMap; + var shouldPreventDefault = typeof preventDefault === "function" ? preventDefault(event) : preventDefault; + var shouldStopPropagation = typeof stopPropagation === "function" ? stopPropagation(event) : stopPropagation; + + if (event.key in finalKeyMap) { + var action = finalKeyMap[event.key]; + + if (typeof action === "function" && shouldKeyDown(event)) { + if (shouldPreventDefault) event.preventDefault(); + if (shouldStopPropagation) event.stopPropagation(); + if (onKey) onKey(event); + action(event); // Prevent onKeyDown from being called twice for the same keys + + return; + } + } + + if (onKeyDown) { + onKeyDown(event); + } + }; +} + + + +// EXTERNAL MODULE: ./node_modules/reakit/es/Id/IdProvider.js +var IdProvider = __webpack_require__(68); + +// EXTERNAL MODULE: ./node_modules/reakit/es/Id/IdState.js +var IdState = __webpack_require__(69); + +// CONCATENATED MODULE: ./node_modules/reakit/es/Id/Id.js + + + + + + + + + +var unstable_useId = Object(createHook["a" /* createHook */])({ + name: "Id", + compose: Box["a" /* useBox */], + useState: IdState["a" /* unstable_useIdState */], + keys: ["id"], + useOptions: function useOptions(options, htmlProps) { + var generateId = Object(external_this_React_["useContext"])(IdProvider["a" /* unstable_IdContext */]); + + var _React$useState = Object(external_this_React_["useState"])(function () { + // This comes from useIdState + if (options.unstable_idCountRef) { + options.unstable_idCountRef.current += 1; + return "-" + options.unstable_idCountRef.current; + } // If there's no useIdState, we check if `baseId` was passed (as a prop, + // not from useIdState). + + + if (options.baseId) { + return "-" + generateId(""); + } + + return ""; + }), + suffix = _React$useState[0]; // `baseId` will be the prop passed directly as a prop or via useIdState. + // If there's neither, then it'll fallback to Context's generateId. + // This generateId can result in a sequential ID (if there's a Provider) + // or a random string (without Provider). + + + var baseId = Object(external_this_React_["useMemo"])(function () { + return options.baseId || generateId(); + }, [options.baseId, generateId]); + var id = options.id || htmlProps.id || "" + baseId + suffix; + return Object(_rollupPluginBabelHelpers_f089acec["b" /* a */])({}, options, { + id: id + }); + }, + useProps: function useProps(options, htmlProps) { + var id = typeof htmlProps.id === "undefined" ? options.id : htmlProps.id; + return Object(_rollupPluginBabelHelpers_f089acec["b" /* a */])({}, htmlProps, { + id: id + }); + } +}); +var unstable_Id = Object(createComponent["a" /* createComponent */])({ + as: "div", + useHook: unstable_useId +}); + + + +// EXTERNAL MODULE: ./node_modules/reakit/es/Rover/RoverState.js +var RoverState = __webpack_require__(95); + +// CONCATENATED MODULE: ./node_modules/reakit/es/Rover/Rover.js + + + + + + + + + + + + + + + + + + +var useRover = Object(createHook["a" /* createHook */])({ + name: "Rover", + compose: [useTabbable, unstable_useId], + useState: RoverState["a" /* useRoverState */], + keys: ["stopId"], + useProps: function useProps(options, _ref) { + var htmlRef = _ref.ref, + _ref$tabIndex = _ref.tabIndex, + htmlTabIndex = _ref$tabIndex === void 0 ? 0 : _ref$tabIndex, + htmlOnFocus = _ref.onFocus, + htmlOnKeyDown = _ref.onKeyDown, + htmlProps = Object(_rollupPluginBabelHelpers_f089acec["a" /* _ */])(_ref, ["ref", "tabIndex", "onFocus", "onKeyDown"]); + + var ref = Object(external_this_React_["useRef"])(null); + var stopId = options.stopId || options.id || htmlProps.id; + var trulyDisabled = options.disabled && !options.focusable; + var noFocused = options.currentId == null; + var focused = options.currentId === stopId; + var isFirst = (options.stops || [])[0] && options.stops[0].id === stopId; + var shouldTabIndex = focused || isFirst && noFocused; + Object(external_this_React_["useEffect"])(function () { + if (trulyDisabled || !stopId) return undefined; + options.register && options.register(stopId, ref); + return function () { + return options.unregister && options.unregister(stopId); + }; + }, [stopId, trulyDisabled, options.register, options.unregister]); + Object(external_this_React_["useEffect"])(function () { + if (!ref.current) { + false ? undefined : void 0; + return; + } + + if (options.unstable_moves && focused && !hasFocusWithin(ref.current)) { + ref.current.focus(); + } + }, [focused, options.unstable_moves]); + var onFocus = Object(external_this_React_["useCallback"])(function (event) { + if (!stopId || !event.currentTarget.contains(event.target)) return; // this is already focused, so we move silently + + options.move(stopId, true); + }, [options.move, stopId]); + var onKeyDown = Object(external_this_React_["useMemo"])(function () { + return createOnKeyDown({ + onKeyDown: htmlOnKeyDown, + stopPropagation: true, + // Ignore portals + shouldKeyDown: function shouldKeyDown(event) { + return (// https://github.com/facebook/react/issues/11387 + event.currentTarget.contains(event.target) + ); + }, + keyMap: { + ArrowUp: options.orientation !== "horizontal" && options.previous, + ArrowRight: options.orientation !== "vertical" && options.next, + ArrowDown: options.orientation !== "horizontal" && options.next, + ArrowLeft: options.orientation !== "vertical" && options.previous, + Home: options.first, + End: options.last, + PageUp: options.first, + PageDown: options.last + } + }); + }, [htmlOnKeyDown, options.orientation, options.previous, options.next, options.first, options.last]); + return Object(_rollupPluginBabelHelpers_f089acec["b" /* a */])({ + ref: mergeRefs(ref, htmlRef), + id: stopId, + tabIndex: shouldTabIndex ? htmlTabIndex : -1, + onFocus: useAllCallbacks(onFocus, htmlOnFocus), + onKeyDown: onKeyDown + }, htmlProps); + } +}); +var Rover = Object(createComponent["a" /* createComponent */])({ + as: "button", + useHook: useRover +}); + + + +// EXTERNAL MODULE: ./node_modules/reakit/es/Toolbar/ToolbarState.js +var ToolbarState = __webpack_require__(141); + +// CONCATENATED MODULE: ./node_modules/reakit/es/Toolbar/ToolbarItem.js +/* unused harmony export ToolbarItem */ +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useToolbarItem; }); + + + + + + + + + + + + + + + + + + + + +var useToolbarItem = Object(createHook["a" /* createHook */])({ + name: "ToolbarItem", + compose: useRover, + useState: ToolbarState["a" /* useToolbarState */] +}); +var ToolbarItem = Object(createComponent["a" /* createComponent */])({ + as: "button", + useHook: useToolbarItem +}); + + + + /***/ }) /******/ ]); \ No newline at end of file diff --git a/wp-includes/js/dist/components.min.js b/wp-includes/js/dist/components.min.js index 2d630f20e6..7427b38bab 100644 --- a/wp-includes/js/dist/components.min.js +++ b/wp-includes/js/dist/components.min.js @@ -1,17 +1,17 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.components=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=362)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.lodash}()},,,,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||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},function(e,t){!function(){e.exports=this.React}()},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 i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw a}}return n}}(e,t)||Object(o.a)()}n.d(t,"a",(function(){return a}))},function(e,t){!function(){e.exports=this.regeneratorRuntime}()},function(e,t){!function(){e.exports=this.wp.richText}()},,,function(e,t){!function(){e.exports=this.wp.dom}()},function(e,t,n){e.exports=n(89)()},function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t){!function(){e.exports=this.moment}()},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}))},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}))},function(e,t){!function(){e.exports=this.wp.deprecated}()},,function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},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}))},,,,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}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.DISPLAY_FORMAT="L",t.ISO_FORMAT="YYYY-MM-DD",t.ISO_MONTH_FORMAT="YYYY-MM",t.START_DATE="startDate",t.END_DATE="endDate",t.HORIZONTAL_ORIENTATION="horizontal",t.VERTICAL_ORIENTATION="vertical",t.VERTICAL_SCROLLABLE="verticalScrollable",t.ICON_BEFORE_POSITION="before",t.ICON_AFTER_POSITION="after",t.INFO_POSITION_TOP="top",t.INFO_POSITION_BOTTOM="bottom",t.INFO_POSITION_BEFORE="before",t.INFO_POSITION_AFTER="after",t.ANCHOR_LEFT="left",t.ANCHOR_RIGHT="right",t.OPEN_DOWN="down",t.OPEN_UP="up",t.DAY_SIZE=39,t.BLOCKED_MODIFIER="blocked",t.WEEKDAYS=[0,1,2,3,4,5,6],t.FANG_WIDTH_PX=20,t.FANG_HEIGHT_PX=10,t.DEFAULT_VERTICAL_SPACING=22,t.MODIFIER_KEY_NAMES=new Set(["Shift","Control","Alt","Meta"])},,,function(e,t,n){"use strict";function r(e,t,n,r,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,a){var i=e.apply(t,n);function s(e){r(i,o,a,s,c,"next",e)}function c(e){r(i,o,a,s,c,"throw",e)}s(void 0)}))}}n.d(t,"a",(function(){return o}))},function(e,t){!function(){e.exports=this.wp.a11y}()},function(e,t){!function(){e.exports=this.wp.isShallowEqual}()},function(e,t,n){"use strict";var r=TypeError,o=Object.getOwnPropertyDescriptor;if(o)try{o({},"")}catch(e){o=null}var a=function(){throw new r},i=o?function(){try{return arguments.callee,a}catch(e){try{return o(arguments,"callee").get}catch(e){return a}}}():a,s=n(245)(),c=Object.getPrototypeOf||function(e){return e.__proto__},l=void 0,u="undefined"==typeof Uint8Array?void 0:c(Uint8Array),d={"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayBufferPrototype%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer.prototype,"%ArrayIteratorPrototype%":s?c([][Symbol.iterator]()):void 0,"%ArrayPrototype%":Array.prototype,"%ArrayProto_entries%":Array.prototype.entries,"%ArrayProto_forEach%":Array.prototype.forEach,"%ArrayProto_keys%":Array.prototype.keys,"%ArrayProto_values%":Array.prototype.values,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":void 0,"%AsyncFunctionPrototype%":void 0,"%AsyncGenerator%":void 0,"%AsyncGeneratorFunction%":void 0,"%AsyncGeneratorPrototype%":void 0,"%AsyncIteratorPrototype%":l&&s&&Symbol.asyncIterator?l[Symbol.asyncIterator]():void 0,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%Boolean%":Boolean,"%BooleanPrototype%":Boolean.prototype,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%DataViewPrototype%":"undefined"==typeof DataView?void 0:DataView.prototype,"%Date%":Date,"%DatePrototype%":Date.prototype,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%ErrorPrototype%":Error.prototype,"%eval%":eval,"%EvalError%":EvalError,"%EvalErrorPrototype%":EvalError.prototype,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float32ArrayPrototype%":"undefined"==typeof Float32Array?void 0:Float32Array.prototype,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%Float64ArrayPrototype%":"undefined"==typeof Float64Array?void 0:Float64Array.prototype,"%Function%":Function,"%FunctionPrototype%":Function.prototype,"%Generator%":void 0,"%GeneratorFunction%":void 0,"%GeneratorPrototype%":void 0,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int8ArrayPrototype%":"undefined"==typeof Int8Array?void 0:Int8Array.prototype,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int16ArrayPrototype%":"undefined"==typeof Int16Array?void 0:Int8Array.prototype,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%Int32ArrayPrototype%":"undefined"==typeof Int32Array?void 0:Int32Array.prototype,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":s?c(c([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%JSONParse%":"object"==typeof JSON?JSON.parse:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&s?c((new Map)[Symbol.iterator]()):void 0,"%MapPrototype%":"undefined"==typeof Map?void 0:Map.prototype,"%Math%":Math,"%Number%":Number,"%NumberPrototype%":Number.prototype,"%Object%":Object,"%ObjectPrototype%":Object.prototype,"%ObjProto_toString%":Object.prototype.toString,"%ObjProto_valueOf%":Object.prototype.valueOf,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%PromisePrototype%":"undefined"==typeof Promise?void 0:Promise.prototype,"%PromiseProto_then%":"undefined"==typeof Promise?void 0:Promise.prototype.then,"%Promise_all%":"undefined"==typeof Promise?void 0:Promise.all,"%Promise_reject%":"undefined"==typeof Promise?void 0:Promise.reject,"%Promise_resolve%":"undefined"==typeof Promise?void 0:Promise.resolve,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%RangeErrorPrototype%":RangeError.prototype,"%ReferenceError%":ReferenceError,"%ReferenceErrorPrototype%":ReferenceError.prototype,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%RegExpPrototype%":RegExp.prototype,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&s?c((new Set)[Symbol.iterator]()):void 0,"%SetPrototype%":"undefined"==typeof Set?void 0:Set.prototype,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%SharedArrayBufferPrototype%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer.prototype,"%String%":String,"%StringIteratorPrototype%":s?c(""[Symbol.iterator]()):void 0,"%StringPrototype%":String.prototype,"%Symbol%":s?Symbol:void 0,"%SymbolPrototype%":s?Symbol.prototype:void 0,"%SyntaxError%":SyntaxError,"%SyntaxErrorPrototype%":SyntaxError.prototype,"%ThrowTypeError%":i,"%TypedArray%":u,"%TypedArrayPrototype%":u?u.prototype:void 0,"%TypeError%":r,"%TypeErrorPrototype%":r.prototype,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ArrayPrototype%":"undefined"==typeof Uint8Array?void 0:Uint8Array.prototype,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint8ClampedArrayPrototype%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray.prototype,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint16ArrayPrototype%":"undefined"==typeof Uint16Array?void 0:Uint16Array.prototype,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%Uint32ArrayPrototype%":"undefined"==typeof Uint32Array?void 0:Uint32Array.prototype,"%URIError%":URIError,"%URIErrorPrototype%":URIError.prototype,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakMapPrototype%":"undefined"==typeof WeakMap?void 0:WeakMap.prototype,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet,"%WeakSetPrototype%":"undefined"==typeof WeakSet?void 0:WeakSet.prototype},f=n(74).call(Function.call,String.prototype.replace),h=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,p=/\\(\\)?/g,b=function(e){var t=[];return f(e,h,(function(e,n,r,o){t[t.length]=r?f(o,p,"$1"):n||e})),t},v=function(e,t){if(!(e in d))throw new SyntaxError("intrinsic "+e+" does not exist!");if(void 0===d[e]&&!t)throw new r("intrinsic "+e+" exists, but is not available. Please file an issue!");return d[e]};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new TypeError('"allowMissing" argument must be a boolean');for(var n=b(e),r=v("%"+(n.length>0?n[0]:"")+"%",t),a=1;a=n.length){var i=o(r,n[a]);r=i?i.get||i.value:r[n[a]]}else r=r[n[a]];return r}},function(e,t,n){e.exports=n(287)},function(e,t,n){var r;!function(o){var a=/^\s+/,i=/\s+$/,s=0,c=o.round,l=o.min,u=o.max,d=o.random;function f(e,t){if(t=t||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,s=null,c=null,d=!1,f=!1;"string"==typeof e&&(e=function(e){e=e.replace(a,"").replace(i,"").toLowerCase();var t,n=!1;if(P[e])e=P[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=K.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=K.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=K.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=K.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=K.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=K.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=K.hex8.exec(e))return{r:N(t[1]),g:N(t[2]),b:N(t[3]),a:L(t[4]),format:n?"name":"hex8"};if(t=K.hex6.exec(e))return{r:N(t[1]),g:N(t[2]),b:N(t[3]),format:n?"name":"hex"};if(t=K.hex4.exec(e))return{r:N(t[1]+""+t[1]),g:N(t[2]+""+t[2]),b:N(t[3]+""+t[3]),a:L(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=K.hex3.exec(e))return{r:N(t[1]+""+t[1]),g:N(t[2]+""+t[2]),b:N(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(W(e.r)&&W(e.g)&&W(e.b)?(h=e.r,p=e.g,b=e.b,t={r:255*I(h,255),g:255*I(p,255),b:255*I(b,255)},d=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):W(e.h)&&W(e.s)&&W(e.v)?(r=R(e.s),s=R(e.v),t=function(e,t,n){e=6*I(e,360),t=I(t,100),n=I(n,100);var r=o.floor(e),a=e-r,i=n*(1-t),s=n*(1-a*t),c=n*(1-(1-a)*t),l=r%6;return{r:255*[n,s,i,i,c,n][l],g:255*[c,n,n,s,i,i][l],b:255*[i,i,c,n,n,s][l]}}(e.h,r,s),d=!0,f="hsv"):W(e.h)&&W(e.s)&&W(e.l)&&(r=R(e.s),c=R(e.l),t=function(e,t,n){var r,o,a;function i(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=I(e,360),t=I(t,100),n=I(n,100),0===t)r=o=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;r=i(c,s,e+1/3),o=i(c,s,e),a=i(c,s,e-1/3)}return{r:255*r,g:255*o,b:255*a}}(e.h,r,c),d=!0,f="hsl"),e.hasOwnProperty("a")&&(n=e.a));var h,p,b;return n=z(n),{ok:d,format:e.format||f,r:l(255,u(t.r,0)),g:l(255,u(t.g,0)),b:l(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=c(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=n.ok,this._tc_id=s++}function h(e,t,n){e=I(e,255),t=I(t,255),n=I(n,255);var r,o,a=u(e,t,n),i=l(e,t,n),s=(a+i)/2;if(a==i)r=o=0;else{var c=a-i;switch(o=s>.5?c/(2-a-i):c/(a+i),a){case e:r=(t-n)/c+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(f(r));return a}function E(e,t){t=t||6;for(var n=f(e).toHsv(),r=n.h,o=n.s,a=n.v,i=[],s=1/t;t--;)i.push(f({h:r,s:o,v:a})),a=(a+s)%1;return i}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=z(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),n=c(100*e.s),r=c(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=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),n=c(100*e.s),r=c(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return b(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var a=[A(c(e).toString(16)),A(c(t).toString(16)),A(c(n).toString(16)),A(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: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*I(this._r,255))+"%",g:c(100*I(this._g,255))+"%",b:c(100*I(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*I(this._r,255))+"%, "+c(100*I(this._g,255))+"%, "+c(100*I(this._b,255))+"%)":"rgba("+c(100*I(this._r,255))+"%, "+c(100*I(this._g,255))+"%, "+c(100*I(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(x[b(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+v(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=f(e);n="#"+v(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(O,arguments)},brighten:function(){return this._applyModification(k,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(g,arguments)},spin:function(){return this._applyModification(w,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(M,arguments)},complement:function(){return this._applyCombination(D,arguments)},monochromatic:function(){return this._applyCombination(E,arguments)},splitcomplement:function(){return this._applyCombination(C,arguments)},triad:function(){return this._applyCombination(S,arguments)},tetrad:function(){return this._applyCombination(j,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]:R(e[r]));e=n}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:d(),g:d(),b:d()})},f.mix=function(e,t,n){n=0===n?0:n||50;var r=f(e).toRgb(),o=f(t).toRgb(),a=n/100;return f({r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a})},f.readability=function(e,t){var n=f(e),r=f(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},f.isReadable=function(e,t,n){var r,o,a=f.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=a>=4.5;break;case"AAlarge":o=a>=3;break;case"AAAsmall":o=a>=7}return o},f.mostReadable=function(e,t,n){var r,o,a,i,s=null,c=0;o=(n=n||{}).includeFallbackColors,a=n.level,i=n.size;for(var l=0;lc&&(c=r,s=f(t[l]));return f.isReadable(e,s,{level:a,size:i})||!o?s:(n.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],n))};var P=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}(P);function z(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function I(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=l(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function T(e){return l(1,u(0,e))}function N(e){return parseInt(e,16)}function A(e){return 1==e.length?"0"+e:""+e}function R(e){return e<=1&&(e=100*e+"%"),e}function H(e){return o.round(255*parseFloat(e)).toString(16)}function L(e){return N(e)/255}var F,V,B,K=(V="[\\s|\\(]+("+(F="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+F+")[,|\\s]+("+F+")\\s*\\)?",B="[\\s|\\(]+("+F+")[,|\\s]+("+F+")[,|\\s]+("+F+")[,|\\s]+("+F+")\\s*\\)?",{CSS_UNIT:new RegExp(F),rgb:new RegExp("rgb"+V),rgba:new RegExp("rgba"+B),hsl:new RegExp("hsl"+V),hsla:new RegExp("hsla"+B),hsv:new RegExp("hsv"+V),hsva:new RegExp("hsva"+B),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 W(e){return!!K.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(r=function(){return f}.call(t,n,t,e))||(e.exports=r)}(Math)},,,function(e,t,n){"use strict";var r=n(66),o=n(167),a=n(168),i=n(283),s=a();r(s,{getPolyfill:a,implementation:o,shim:i}),e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="Interact with the calendar and add the check-in date for your trip.",o="Move backward to switch to the previous month.",a="Move forward to switch to the next month.",i="page up and page down keys",s="Home and end keys",c="Escape key",l="Select the date in focus.",u="Move backward (left) and forward (right) by one day.",d="Move backward (up) and forward (down) by one week.",f="Return to the date input field.",h="Press the down arrow key to interact with the calendar and\n select a date. Press the question mark key to get the keyboard shortcuts for changing dates.",p=function(e){var t=e.date;return"Choose "+String(t)+" as your check-in date. It’s available."},b=function(e){var t=e.date;return"Choose "+String(t)+" as your check-out date. It’s available."},v=function(e){return e.date},m=function(e){var t=e.date;return"Not available. "+String(t)},y=function(e){var t=e.date;return"Selected. "+String(t)};t.default={calendarLabel:"Calendar",closeDatePicker:"Close",focusStartDate:r,clearDate:"Clear Date",clearDates:"Clear Dates",jumpToPrevMonth:o,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,keyboardNavigationInstructions:h,chooseAvailableStartDate:p,chooseAvailableEndDate:b,dateIsUnavailable:m,dateIsSelected:y};t.DateRangePickerPhrases={calendarLabel:"Calendar",closeDatePicker:"Close",clearDates:"Clear Dates",focusStartDate:r,jumpToPrevMonth:o,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,keyboardNavigationInstructions:h,chooseAvailableStartDate:p,chooseAvailableEndDate:b,dateIsUnavailable:m,dateIsSelected:y},t.DateRangePickerInputPhrases={focusStartDate:r,clearDates:"Clear Dates",keyboardNavigationInstructions:h},t.SingleDatePickerPhrases={calendarLabel:"Calendar",closeDatePicker:"Close",clearDate:"Clear Date",jumpToPrevMonth:o,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,keyboardNavigationInstructions:h,chooseAvailableDate:v,dateIsUnavailable:m,dateIsSelected:y},t.SingleDatePickerInputPhrases={clearDate:"Clear Date",keyboardNavigationInstructions:h},t.DayPickerPhrases={calendarLabel:"Calendar",jumpToPrevMonth:o,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,chooseAvailableStartDate:p,chooseAvailableEndDate:b,chooseAvailableDate:v,dateIsUnavailable:m,dateIsSelected:y},t.DayPickerKeyboardShortcutsPhrases={keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f},t.DayPickerNavigationPhrases={jumpToPrevMonth:o,jumpToNextMonth:a},t.CalendarDayPhrases={chooseAvailableDate:v,dateIsUnavailable:m,dateIsSelected:y}},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.keys(e).reduce((function(e,t){return(0,r.default)({},e,function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},t,o.default.oneOfType([o.default.string,o.default.func,o.default.node])))}),{})};var r=a(n(52)),o=a(n(28));function a(e){return e&&e.__esModule?e:{default:e}}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withStylesPropTypes=t.css=void 0;var r=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n=t.stylesPropName,s=void 0===n?"styles":n,u=t.themePropName,f=void 0===u?"theme":u,p=t.cssPropName,y=void 0===p?"css":p,g=t.flushBefore,O=void 0!==g&&g,k=t.pureComponent,_=void 0!==k&&k,w=void 0,D=void 0,S=void 0,j=void 0,C=function(e){if(e){if(!i.default.PureComponent)throw new ReferenceError("withStyles() pureComponent option requires React 15.3.0 or later");return i.default.PureComponent}return i.default.Component}(_);function M(e){return e===l.DIRECTIONS.LTR?d.default.resolveLTR:d.default.resolveRTL}function E(t,n){var r=function(e){return e===l.DIRECTIONS.LTR?S:j}(t),o=t===l.DIRECTIONS.LTR?w:D,a=d.default.get();return o&&r===a?o:(t===l.DIRECTIONS.RTL?(D=e?d.default.createRTL(e):b,j=a,o=D):(w=e?d.default.createLTR(e):b,S=a,o=w),o)}function P(e,t){return{resolveMethod:M(e),styleDef:E(e)}}return function(e){var t=e.displayName||e.name||"Component",n=function(t){function n(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t)),o=r.context[l.CHANNEL]?r.context[l.CHANNEL].getState():m;return r.state=P(o),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),o(n,[{key:"componentDidMount",value:function(){var e=this;this.context[l.CHANNEL]&&(this.channelUnsubscribe=this.context[l.CHANNEL].subscribe((function(t){e.setState(P(t))})))}},{key:"componentWillUnmount",value:function(){this.channelUnsubscribe&&this.channelUnsubscribe()}},{key:"render",value:function(){var t;O&&d.default.flush();var n=this.state,o=n.resolveMethod,a=n.styleDef;return i.default.createElement(e,r({},this.props,(h(t={},f,d.default.get()),h(t,s,a()),h(t,y,o),t)))}}]),n}(C);return n.WrappedComponent=e,n.displayName="withStyles("+String(t)+")",n.contextTypes=v,e.propTypes&&(n.propTypes=(0,a.default)({},e.propTypes),delete n.propTypes[s],delete n.propTypes[f],delete n.propTypes[y]),e.defaultProps&&(n.defaultProps=(0,a.default)({},e.defaultProps)),(0,c.default)(n,e)}};var a=f(n(52)),i=f(n(21)),s=f(n(28)),c=f(n(288)),l=n(291),u=f(n(292)),d=f(n(165));function f(e){return e&&e.__esModule?e:{default:e}}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.css=d.default.resolveLTR,t.withStylesPropTypes={styles:s.default.object.isRequired,theme:s.default.object.isRequired,css:s.default.func.isRequired};var p={},b=function(){return p};var v=h({},l.CHANNEL,u.default),m=l.DIRECTIONS.LTR},function(e,t){!function(){e.exports=this.ReactDOM}()},,,,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},,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(118)),a=r(n(119)),i=n(21),s=r(i),c=r(n(96)),l=r(n(120)),u={arr:Array.isArray,obj:function(e){return"[object Object]"===Object.prototype.toString.call(e)},fun:function(e){return"function"==typeof e},str:function(e){return"string"==typeof e},num:function(e){return"number"==typeof e},und:function(e){return void 0===e},nul:function(e){return null===e},set:function(e){return e instanceof Set},map:function(e){return e instanceof Map},equ:function(e,t){if(typeof e!=typeof t)return!1;if(u.str(e)||u.num(e))return e===t;if(u.obj(e)&&u.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;var n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return!u.und(n)||e===t}};function d(){var e=i.useState(!1)[1];return i.useCallback((function(){return e((function(e){return!e}))}),[])}function f(e,t){return u.und(e)||u.nul(e)?t:e}function h(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;a=n[o++]}else{if((o=n.next()).done)break;a=o.value}for(var i=a,s=!1,c=0;c=h.startTime+l.duration;else if(l.decay)v=p+g/(1-.998)*(1-Math.exp(-(1-.998)*(t-h.startTime))),(u=Math.abs(h.lastPosition-v)<.1)&&(b=v);else{d=void 0!==h.lastTime?h.lastTime:t,g=void 0!==h.lastVelocity?h.lastVelocity:l.initialVelocity,t>d+64&&(d=t);for(var O=Math.floor(t-d),k=0;kb:v=e);++n);return n-1}(e,a);return function(e,t,n,r,o,a,i,s,c){var l=c?c(e):e;if(ln){if("identity"===s)return l;"clamp"===s&&(l=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?l=-l:n===1/0?l-=t:l=(l-t)/(n-t);l=a(l),r===-1/0?l=-l:o===1/0?l+=r:l=l*(o-r)+r;return l}(e,a[t],a[t+1],o[t],o[t+1],c,i,s,r.map)}}var F=function(e){function t(n,r,o,a){var i;return(i=e.call(this)||this).calc=void 0,i.payload=n instanceof g&&!(n instanceof t)?n.getPayload():Array.isArray(n)?n:[n],i.calc=L(r,o,a),i}c(t,e);var n=t.prototype;return n.getValue=function(){return this.calc.apply(this,this.payload.map((function(e){return e.getValue()})))},n.updateConfig=function(e,t,n){this.calc=L(e,t,n)},n.interpolate=function(e,n,r){return new t(this,e,n,r)},t}(g);var V=function(e){function t(t){var n;return(n=e.call(this)||this).animatedStyles=new Set,n.value=void 0,n.startPosition=void 0,n.lastPosition=void 0,n.lastVelocity=void 0,n.startTime=void 0,n.lastTime=void 0,n.done=!1,n.setValue=function(e,t){void 0===t&&(t=!0),n.value=e,t&&n.flush()},n.value=t,n.startPosition=t,n.lastPosition=t,n}c(t,e);var n=t.prototype;return n.flush=function(){0===this.animatedStyles.size&&function e(t,n){"update"in t?n.add(t):t.getChildren().forEach((function(t){return e(t,n)}))}(this,this.animatedStyles),this.animatedStyles.forEach((function(e){return e.update()}))},n.clearStyles=function(){this.animatedStyles.clear()},n.getValue=function(){return this.value},n.interpolate=function(e,t,n){return new F(this,e,t,n)},t}(y),B=function(e){function t(t){var n;return(n=e.call(this)||this).payload=t.map((function(e){return new V(e)})),n}c(t,e);var n=t.prototype;return n.setValue=function(e,t){var n=this;void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((function(e,r){return n.payload[r].setValue(e,t)})):this.payload.forEach((function(n){return n.setValue(e,t)}))},n.getValue=function(){return this.payload.map((function(e){return e.getValue()}))},n.interpolate=function(e,t){return new F(this,e,t)},t}(g),K=0,W=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=K++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=b(e),n=t.delay,r=void 0===n?0:n,i=t.to,s=a(t,["delay","to"]);if(u.arr(i)||u.fun(i))this.queue.push(o({},s,{delay:r,to:i}));else if(i){var c={};Object.entries(i).forEach((function(e){var t,n=e[0],a=e[1],i=o({to:(t={},t[n]=a,t),delay:p(r,n)},s),l=c[i.delay]&&c[i.delay].to;c[i.delay]=o({},c[i.delay],i,{to:o({},l,i.to)})})),this.queue=Object.values(c)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(s),this},t.start=function(e){var t,n=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var t=e.from,r=void 0===t?{}:t,a=e.to,i=void 0===a?{}:a;u.obj(r)&&(n.merged=o({},r,n.merged)),u.obj(i)&&(n.merged=o({},n.merged,i))}));var r=this.local=++this.guid,i=this.localQueue=this.queue;this.queue=[],i.forEach((function(t,o){var s=t.delay,c=a(t,["delay"]),l=function(t){o===i.length-1&&r===n.guid&&t&&(n.idle=!0,n.props.onRest&&n.props.onRest(n.merged)),e&&e()},d=u.arr(c.to)||u.fun(c.to);s?setTimeout((function(){r===n.guid&&(d?n.runAsync(c,l):n.diff(c).start(l))}),s):d?n.runAsync(c,l):n.diff(c).start(l)}))}else u.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,R.has(t)||R.add(t),A||(A=!0,D(x||H));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,R.has(t)&&R.delete(t)),this},t.runAsync=function(e,t){var n=this,r=(e.delay,a(e,["delay"])),i=this.local,s=Promise.resolve(void 0);if(u.arr(r.to))for(var c=function(e){var t=e,a=o({},r,b(r.to[t]));u.arr(a.config)&&(a.config=a.config[t]),s=s.then((function(){if(i===n.guid)return new Promise((function(e){return n.diff(a).start(e)}))}))},l=0;l=r.length)return"break";i=r[a++]}else{if((a=r.next()).done)return"break";i=a.value}var n=i.key,s=function(e){return e.key!==n};(u.und(t)||t===n)&&(e.current.instances.delete(n),e.current.transitions=e.current.transitions.filter(s),e.current.deleted=e.current.deleted.filter(s))},r=e.current.deleted,o=Array.isArray(r),a=0;for(r=o?r:r[Symbol.iterator]();;){var i;if("break"===n())break}e.current.forceUpdate()}var J=function(e){function t(t){var n;return void 0===t&&(t={}),n=e.call(this)||this,!t.transform||t.transform instanceof y||(t=v.transform(t)),n.payload=t,n}return c(t,e),t}(O),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 he(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,a=fe(o,r,e+1/3),i=fe(o,r,e),s=fe(o,r,e-1/3);return Math.round(255*a)<<24|Math.round(255*i)<<16|Math.round(255*s)<<8}function pe(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function be(e){return(parseFloat(e)%360+360)%360/360}function ve(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function me(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function ye(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=ae.exec(t))?(pe(n[1])<<24|pe(n[2])<<16|pe(n[3])<<8|ve(n[4]))>>>0:(n=ce.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=le.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=ie.exec(t))?(255|he(be(n[1]),me(n[2]),me(n[3])))>>>0:(n=se.exec(t))?(he(be(n[1]),me(n[2]),me(n[3]))|ve(n[4]))>>>0:null;return null===r?e:"rgba("+((4278190080&(r=r||0))>>>24)+", "+((16711680&r)>>>16)+", "+((65280&r)>>>8)+", "+(255&r)/255+")"}var ge=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Oe=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,ke=new RegExp("("+Object.keys(ee).join("|")+")","g"),_e={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},we=["Webkit","Ms","Moz","O"];function De(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||_e.hasOwnProperty(e)&&_e[e]?(""+t).trim():t+"px"}_e=Object.keys(_e).reduce((function(e,t){return we.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),_e);var Se={};I((function(e){return new J(e)})),E("div"),j((function(e){var t=e.output.map((function(e){return e.replace(Oe,ye)})).map((function(e){return e.replace(ke,ye)})),n=t[0].match(ge).map((function(){return[]}));t.forEach((function(e){e.match(ge).forEach((function(e,t){return n[t].push(+e)}))}));var r=t[0].match(ge).map((function(t,r){return L(o({},e,{output:n[r]}))}));return function(e){var n=0;return t[0].replace(ge,(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+")"}))}})),_(ee),k((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,r=t.children,o=t.scrollTop,i=t.scrollLeft,s=a(t,["style","children","scrollTop","scrollLeft"]),c="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var l in void 0!==o&&(e.scrollTop=o),void 0!==i&&(e.scrollLeft=i),void 0!==r&&(e.textContent=r),n)if(n.hasOwnProperty(l)){var u=0===l.indexOf("--"),d=De(l,n[l],u);"float"===l&&(l="cssFloat"),u?e.style.setProperty(l,d):e.style[l]=d}for(var f in s){var h=c?f:Se[f]||(Se[f]=f.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(h)&&e.setAttribute(h,s[f])}}),(function(e){return e}));var je,Ce,Me=(je=function(e){return i.forwardRef((function(t,n){var r=d(),c=i.useRef(!0),l=i.useRef(null),f=i.useRef(null),h=i.useCallback((function(e){var t=l.current;l.current=new N(e,(function(){var e=!1;f.current&&(e=v.fn(f.current,l.current.getAnimatedValue())),f.current&&!1!==e||r()})),t&&t.detach()}),[]);i.useEffect((function(){return function(){c.current=!1,l.current&&l.current.detach()}}),[]),i.useImperativeHandle(n,(function(){return z(f,c,r)})),h(t);var p,b=l.current.getValue(),m=(b.scrollTop,b.scrollLeft,a(b,["scrollTop","scrollLeft"])),y=(p=e,!u.fun(p)||p.prototype instanceof s.Component?function(e){return f.current=function(e,t){return t&&(u.fun(t)?t(e):u.obj(t)&&(t.current=e)),e}(e,n)}:void 0);return s.createElement(e,o({},m,{ref:y}))}))},void 0===(Ce=!1)&&(Ce=!0),function(e){return(u.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=Ce?t[0].toLowerCase()+t.substring(1):t;return e[n]=je(n),e}),je)}),Ee=Me(["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=Me,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=H,t.animated=Ee,t.a=Ee,t.interpolate=function(e,t,n){return e&&new F(e,t,n)},t.Globals=T,t.useSpring=function(e){var t=u.fun(e),n=U(1,t?e:[e]),r=n[0],o=n[1],a=n[2];return t?[r[0],o,a]:r},t.useTrail=function(e,t){var n=i.useRef(!1),r=u.fun(t),a=p(t),s=i.useRef(),c=U(e,(function(e,t){return 0===e&&(s.current=[]),s.current.push(t),o({},a,{config:p(a.config,e),attach:e>0&&function(){return s.current[e-1]}})})),l=c[0],d=c[1],f=c[2],h=i.useMemo((function(){return function(e){return d((function(t,n){e.reverse;var r=e.reverse?t+1:t-1,i=s.current[r];return o({},e,{config:p(e.config||a.config,t),attach:i&&function(){return i}})}))}}),[e,a.reverse]);return i.useEffect((function(){n.current&&!r&&h(t)})),i.useEffect((function(){n.current=!0}),[]),r?[l,h,f]:l},t.useTransition=function(e,t,n){var r=o({items:e,keys:t||function(e){return e}},n),s=X(r),c=s.lazy,l=void 0!==c&&c,u=(s.unique,s.reset),f=void 0!==u&&u,h=(s.enter,s.leave,s.update,s.onDestroyed),b=(s.keys,s.items,s.onFrame),v=s.onRest,m=s.onStart,y=s.ref,g=a(s,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),O=d(),k=i.useRef(!1),_=i.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!r.ref,instances:!k.current&&new Map,forceUpdate:O});return i.useImperativeHandle(r.ref,(function(){return{start:function(){return Promise.all(Array.from(_.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(_.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(_.current.instances).map((function(e){return e[1]}))}}})),_.current=function(e,t){var n=e.first,r=e.prevProps,i=a(e,["first","prevProps"]),s=X(t),c=s.items,l=s.keys,u=s.initial,d=s.from,f=s.enter,h=s.leave,b=s.update,v=s.trail,m=void 0===v?0:v,y=s.unique,g=s.config,O=s.order,k=void 0===O?[G,q,Y]:O,_=X(r),w=_.keys,D=_.items,S=o({},i.current),j=[].concat(i.deleted),C=Object.keys(S),M=new Set(C),E=new Set(l),P=l.filter((function(e){return!M.has(e)})),x=i.transitions.filter((function(e){return!e.destroyed&&!E.has(e.originalKey)})).map((function(e){return e.originalKey})),z=l.filter((function(e){return M.has(e)})),I=-m;for(;k.length;){switch(k.shift()){case G:P.forEach((function(e,t){y&&j.find((function(t){return t.originalKey===e}))&&(j=j.filter((function(t){return t.originalKey!==e})));var r=l.indexOf(e),o=c[r],a=n&&void 0!==u?"initial":G;S[e]={slot:a,originalKey:e,key:y?String(e):$++,item:o,trail:I+=m,config:p(g,o,a),from:p(n&&void 0!==u?u||{}:d,o),to:p(f,o)}}));break;case q:x.forEach((function(e){var t=w.indexOf(e),n=D[t],r=q;j.unshift(o({},S[e],{slot:r,destroyed:!0,left:w[Math.max(0,t-1)],right:w[Math.min(w.length,t+1)],trail:I+=m,config:p(g,n,r),to:p(h,n)})),delete S[e]}));break;case Y:z.forEach((function(e){var t=l.indexOf(e),n=c[t],r=Y;S[e]=o({},S[e],{item:n,slot:r,trail:I+=m,config:p(g,n,r),to:p(b,n)})}))}}var T=l.map((function(e){return S[e]}));return j.forEach((function(e){var t,n=e.left,r=(e.right,a(e,["left","right"]));-1!==(t=T.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),T=[].concat(T.slice(0,t),[r],T.slice(t))})),o({},i,{changed:P.length||x.length||z.length,first:n&&0===P.length,transitions:T,current:S,deleted:j,prevProps:t})}(_.current,r),_.current.changed&&_.current.transitions.forEach((function(e){var t=e.slot,n=e.from,r=e.to,a=e.config,i=e.trail,s=e.key,c=e.item;_.current.instances.has(s)||_.current.instances.set(s,new W);var u=_.current.instances.get(s),d=o({},g,{to:r,from:n,config:a,ref:y,onRest:function(n){_.current.mounted&&(e.destroyed&&(y||l||Q(_,s),h&&h(c)),!Array.from(_.current.instances).some((function(e){return!e[1].idle}))&&(y||l)&&_.current.deleted.length>0&&Q(_),v&&v(c,t,n))},onStart:m&&function(){return m(c,t)},onFrame:b&&function(e){return b(c,t,e)},delay:i,reset:f&&t===G});u.update(d),_.current.paused||u.start()})),i.useEffect((function(){return _.current.mounted=k.current=!0,function(){_.current.mounted=k.current=!1,Array.from(_.current.instances).map((function(e){return e[1].destroy()})),_.current.instances.clear()}}),[]),_.current.transitions.map((function(e){var t=e.item,n=e.slot,r=e.key;return{item:t,key:r,state:n,props:_.current.instances.get(r).getValues()}}))},t.useChain=function(e,t,n){void 0===n&&(n=1e3);var r=i.useRef();i.useEffect((function(){u.equ(e,r.current)?e.forEach((function(e){var t=e.current;return t&&t.start()})):t?e.forEach((function(e,r){var a=e.current;if(a){var i=a.controllers;if(i.length){var s=n*t[r];i.forEach((function(e){e.queue=e.queue.map((function(e){return o({},e,{delay:e.delay+s})})),e.start()}))}}})):e.reduce((function(e,t,n){var r=t.current;return e.then((function(){return r.start()}))}),Promise.resolve()),r.current=e}))},t.useSprings=U},function(e,t,n){"use strict";var r=n(127),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),a=Object.prototype.toString,i=Array.prototype.concat,s=Object.defineProperty,c=s&&function(){var e={};try{for(var t in s(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),l=function(e,t,n,r){var o;t in e&&("function"!=typeof(o=r)||"[object Function]"!==a.call(o)||!r())||(c?s(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},u=function(e,t){var n=arguments.length>2?arguments[2]:{},a=r(t);o&&(a=i.call(a,Object.getOwnPropertySymbols(t)));for(var s=0;s>>((3&t)<<3)&255;return o}}},function(e,t){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);e.exports=function(e,t){var r=t||0,o=n;return[o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]]].join("")}},function(e,t,n){"use strict";var r=n(90);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(28),a=(r=o)&&r.__esModule?r:{default:r},i=n(41);t.default=a.default.oneOf([i.ICON_BEFORE_POSITION,i.ICON_AFTER_POSITION])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(28),a=(r=o)&&r.__esModule?r:{default:r},i=n(41);t.default=a.default.oneOf([i.INFO_POSITION_TOP,i.INFO_POSITION_BOTTOM,i.INFO_POSITION_BEFORE,i.INFO_POSITION_AFTER])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!r.default.isMoment(e)||!r.default.isMoment(t))&&!(0,o.default)(e,t)};var r=a(n(30)),o=a(n(94));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!a.default.isMoment(e)||!a.default.isMoment(t))return!1;var n=e.year(),r=e.month(),o=t.year(),i=t.month(),s=n===o,c=r===i;return s&&c?e.date()2?n-2:0),o=2;o0?!0===i?r.scrollTop(t,g.top+O.top):!1===i?r.scrollTop(t,g.top+k.top):O.top<0?r.scrollTop(t,g.top+O.top):r.scrollTop(t,g.top+k.top):a||((i=void 0===i||!!i)?r.scrollTop(t,g.top+O.top):r.scrollTop(t,g.top+k.top)),o&&(O.left<0||k.left>0?!0===s?r.scrollLeft(t,g.left+O.left):!1===s?r.scrollLeft(t,g.left+k.left):O.left<0?r.scrollLeft(t,g.left+O.left):r.scrollLeft(t,g.left+k.left):a||((s=void 0===s||!!s)?r.scrollLeft(t,g.left+O.left):r.scrollLeft(t,g.left+k.left)))}},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}},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}},,,,,,,function(e,t,n){"use strict";var r=Array.prototype.slice,o=n(151),a=Object.keys,i=a?function(e){return a(e)}:n(243),s=Object.keys;i.shim=function(){Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return o(e)?s(r.call(e)):s(e)}):Object.keys=i;return Object.keys||i},e.exports=i},function(e,t,n){"use strict";var r=n(74),o=n(47)("%Function%"),a=o.apply,i=o.call;e.exports=function(){return r.apply(i,arguments)},e.exports.apply=function(){return r.apply(a,arguments)}},function(e,t,n){"use strict";var r=n(47)("%TypeError%"),o=n(153),a=n(101),i=n(75);e.exports=function(e,t){if("Object"!==i(e))throw new r("Assertion failed: Type(O) is not Object");if(!a(t))throw new r("Assertion failed: IsPropertyKey(P) is not true, got "+o(t));return e[t]}},function(e,t,n){"use strict";var r=n(47),o=n(128),a=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&a(e,".prototype.")?o(n):n}},function(e,t,n){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},function(e,t,n){"use strict";var r=Object.prototype.toString;if(n(271)()){var o=Symbol.prototype.toString,a=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==r.call(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&a.test(o.call(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureCalendarDay=void 0;var r=Object.assign||function(e){for(var t=1;t1&&"boolean"!=typeof t)throw new TypeError('"allowMissing" argument must be a boolean');var n="$ "+e;if(!(n in c))throw new SyntaxError("intrinsic "+e+" does not exist!");if(void 0===c[n]&&!t)throw new TypeError("intrinsic "+e+" exists, but is not available. Please file an issue!");return c[n]}},function(e,t,n){"use strict";function r(e,t,n){var r="number"==typeof t,o="number"==typeof n,a="number"==typeof e;return r&&o?t+n:r&&a?t+e:r?t:o&&a?n+e:o?n:a?2*e:0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.font.input,o=n.lineHeight,a=n.lineHeight_small,i=e.spacing,s=i.inputPadding,c=i.displayTextPaddingVertical,l=i.displayTextPaddingTop,u=i.displayTextPaddingBottom,d=i.displayTextPaddingVertical_small,f=i.displayTextPaddingTop_small,h=i.displayTextPaddingBottom_small,p=t?a:o,b=t?r(d,f,h):r(c,l,u);return parseInt(p,10)+2*s+b}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=r.default.isMoment(e)?e:(0,o.default)(e,t);return n?n.format(a.DISPLAY_FORMAT):null};var r=i(n(30)),o=i(n(80)),a=n(41);function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,a){var i=t.clone().startOf("month");a&&(i=i.startOf("week"));if((0,r.default)(e,i))return!1;var s=t.clone().add(n-1,"months").endOf("month");a&&(s=s.endOf("week"));return!(0,o.default)(e,s)};var r=a(n(94)),o=a(n(107));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureDayPicker=t.defaultProps=void 0;var r=Object.assign||function(e){for(var t=1;t0&&n("Invalid input not EOF"),e}function o(){return a("linear-gradient",e.linearGradient,s)||a("repeating-linear-gradient",e.repeatingLinearGradient,s)||a("radial-gradient",e.radialGradient,c)||a("repeating-radial-gradient",e.repeatingRadialGradient,c)}function a(t,r,o){return i(r,(function(r){var a=o();return a&&(y(e.comma)||n("Missing comma before color stops")),{type:t,orientation:a,colorStops:f(h)}}))}function i(t,r){var o=y(t);if(o)return y(e.startCall)||n("Missing ("),result=r(o),y(e.endCall)||n("Missing )"),result}function s(){return m("directional",e.sideOrCorner,1)||m("angular",e.angleValue,1)}function c(){var n,r,o=l();return o&&((n=[]).push(o),r=t,y(e.comma)&&((o=l())?n.push(o):t=r)),n}function l(){var e=function(){var e=m("shape",/^(circle)/i,0);e&&(e.style=v()||u());return e}()||function(){var e=m("shape",/^(ellipse)/i,0);e&&(e.style=b()||u());return e}();if(e)e.at=function(){if(m("position",/^at/,0)){var e=d();return e||n("Missing positioning value"),e}}();else{var t=d();t&&(e={type:"default-radial",at:t})}return e}function u(){return m("extent-keyword",e.extentKeywords,1)}function d(){var e={x:b(),y:b()};if(e.x||e.y)return{type:"position",value:e}}function f(t){var r=t(),o=[];if(r)for(o.push(r);y(e.comma);)(r=t())?o.push(r):n("One extra comma");return o}function h(){var t=m("hex",e.hexColor,1)||i(e.rgbaColor,(function(){return{type:"rgba",value:f(p)}}))||i(e.rgbColor,(function(){return{type:"rgb",value:f(p)}}))||m("literal",e.literalColor,0);return t||n("Expected color definition"),t.length=b(),t}function p(){return y(e.number)[1]}function b(){return m("%",e.percentageValue,1)||m("position-keyword",e.positionKeywords,1)||v()}function v(){return m("px",e.pixelValue,1)||m("em",e.emValue,1)}function m(e,t,n){var r=y(t);if(r)return{type:e,value:r[n]}}function y(e){var n,r;return(r=/^[\n\r\t\s]+/.exec(t))&&g(r[0].length),(n=e.exec(t))&&g(n[0].length),n}function g(e){t=t.substr(e)}return function(e){return t=e.toString(),r()}}(),t.parse=(n||{}).parse},,,,,function(e,t,n){"use strict";var r=Object.prototype.toString;e.exports=function(e){var t=r.call(e),n="[object Arguments]"===t;return n||(n="[object Array]"!==t&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===r.call(e.callee)),n}},function(e,t,n){"use strict";var r=n(247),o=n(252),a=n(129),i=n(161),s=n(160),c=n(273);e.exports=function(){var e=c(this),t=s(a(e,"length")),n=1;arguments.length>0&&void 0!==arguments[0]&&(n=i(arguments[0]));var l=r(e,0);return o(l,e,t,0,n),l}},function(e,t,n){var r="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=r&&o&&"function"==typeof o.get?o.get:null,i=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=s&&c&&"function"==typeof c.get?c.get:null,u=s&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,h=Boolean.prototype.valueOf,p=Object.prototype.toString,b=String.prototype.match,v="function"==typeof BigInt?BigInt.prototype.valueOf:null,m=n(248).custom,y=m&&_(m)?m:null;function g(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function O(e){return String(e).replace(/"/g,""")}function k(e){return"[object Array]"===S(e)}function _(e){return"[object Symbol]"===S(e)}e.exports=function e(t,n,r,o){var s=n||{};if(D(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function(e,t){return g(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,j),"single",t)}(t,s);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var c=void 0===s.depth?5:s.depth;if(void 0===r&&(r=0),r>=c&&c>0&&"object"==typeof t)return"[Object]";if(void 0===o)o=[];else if(function(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n=0)return"[Circular]";function p(t,n){return n&&(o=o.slice()).push(n),e(t,s,r+1,o)}if("function"==typeof t){var m=function(e){if(e.name)return e.name;var t=b.call(e,/^function\s*([\w$]+)/);if(t)return t[1];return null}(t);return"[Function"+(m?": "+m:"")+"]"}if(_(t)){var w=Symbol.prototype.toString.call(t);return"object"==typeof t?C(w):w}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var x="<"+String(t.nodeName).toLowerCase(),z=t.attributes||[],I=0;I"}if(k(t))return 0===t.length?"[]":"[ "+P(t,p).join(", ")+" ]";if(function(e){return"[object Error]"===S(e)}(t)){var T=P(t,p);return 0===T.length?"["+String(t)+"]":"{ ["+String(t)+"] "+T.join(", ")+" }"}if("object"==typeof t){if(y&&"function"==typeof t[y])return t[y]();if("function"==typeof t.inspect)return t.inspect()}if(function(e){if(!a||!e||"object"!=typeof e)return!1;try{a.call(e);try{l.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var N=[];return i.call(t,(function(e,n){N.push(p(n,t)+" => "+p(e,t))})),E("Map",a.call(t),N)}if(function(e){if(!l||!e||"object"!=typeof e)return!1;try{l.call(e);try{a.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var A=[];return u.call(t,(function(e){A.push(p(e,t))})),E("Set",l.call(t),A)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return M("WeakMap");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return M("WeakSet");if(function(e){return"[object Number]"===S(e)}(t))return C(p(Number(t)));if(function(e){return"[object BigInt]"===S(e)}(t))return C(p(v.call(t)));if(function(e){return"[object Boolean]"===S(e)}(t))return C(h.call(t));if(function(e){return"[object String]"===S(e)}(t))return C(p(String(t)));if(!function(e){return"[object Date]"===S(e)}(t)&&!function(e){return"[object RegExp]"===S(e)}(t)){var R=P(t,p);return 0===R.length?"{}":"{ "+R.join(", ")+" }"}return String(t)};var w=Object.prototype.hasOwnProperty||function(e){return e in this};function D(e,t){return w.call(e,t)}function S(e){return p.call(e)}function j(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+t.toString(16)}function C(e){return"Object("+e+")"}function M(e){return e+" { ? }"}function E(e,t,n){return e+" ("+t+") {"+n.join(", ")+"}"}function P(e,t){var n=k(e),r=[];if(n){r.length=e.length;for(var o=0;or?r:t}},function(e,t,n){"use strict";var r=n(263),o=n(266);e.exports=function(e){var t=o(e);return r(t)}},function(e,t,n){"use strict";var r=Date.prototype.getDay,o=Object.prototype.toString,a="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"object"==typeof e&&null!==e&&(a?function(e){try{return r.call(e),!0}catch(e){return!1}}(e):"[object Date]"===o.call(e))}},function(e,t,n){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(e,t,n){"use strict";var r=n(152);e.exports=function(){return Array.prototype.flat||r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=void 0,o=void 0;function a(e,t){var n=t(e(o));return function(){return n}}function i(e){return a(e,r.createLTR||r.create)}function s(){for(var e=arguments.length,t=Array(e),n=0;n2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e)return 0;var o="width"===t?"Left":"Top",a="width"===t?"Right":"Bottom",i=!n||r?window.getComputedStyle(e):null,s=e.offsetWidth,c=e.offsetHeight,l="width"===t?s:c;n||(l-=parseFloat(i["padding"+o])+parseFloat(i["padding"+a])+parseFloat(i["border"+o+"Width"])+parseFloat(i["border"+a+"Width"]));r&&(l+=parseFloat(i["margin"+o])+parseFloat(i["margin"+a]));return l}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=o&&a=0?1:-1}},function(e,t){e.exports=function(e,t){var n=e%t;return Math.floor(n>=0?n:n+t)}},function(e,t,n){"use strict";var r=n(175);e.exports=function(){return"function"==typeof Object.values?Object.values:r}},function(e,t,n){"use strict";e.exports=function(e){if(arguments.length<1)throw new TypeError("1 argument is required");if("object"!=typeof e)throw new TypeError("Argument 1 (”other“) to Node.contains must be an instance of Node");var t=e;do{if(this===t)return!0;t&&(t=t.parentNode)}while(t);return!1}},function(e,t,n){"use strict";var r=n(184);e.exports=function(){if("undefined"!=typeof document){if(document.contains)return document.contains;if(document.body&&document.body.contains)return document.body.contains}return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n(28)),o=v(n(67)),a=n(48),i=n(53),s=v(n(56)),c=v(n(187)),l=v(n(91)),u=v(n(188)),d=v(n(106)),f=v(n(189)),h=v(n(83)),p=v(n(77)),b=v(n(92));function v(e){return e&&e.__esModule?e:{default:e}}t.default={startDate:o.default.momentObj,endDate:o.default.momentObj,onDatesChange:r.default.func.isRequired,focusedInput:c.default,onFocusChange:r.default.func.isRequired,onClose:r.default.func,startDateId:r.default.string.isRequired,startDatePlaceholderText:r.default.string,endDateId:r.default.string.isRequired,endDatePlaceholderText:r.default.string,disabled:d.default,required:r.default.bool,readOnly:r.default.bool,screenReaderInputMessage:r.default.string,showClearDates:r.default.bool,showDefaultInputIcon:r.default.bool,inputIconPosition:l.default,customInputIcon:r.default.node,customArrowIcon:r.default.node,customCloseIcon:r.default.node,noBorder:r.default.bool,block:r.default.bool,small:r.default.bool,regular:r.default.bool,keepFocusOnInput:r.default.bool,renderMonthText:(0,a.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,a.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),orientation:u.default,anchorDirection:f.default,openDirection:h.default,horizontalMargin:r.default.number,withPortal:r.default.bool,withFullScreenPortal:r.default.bool,appendToBody:r.default.bool,disableScroll:r.default.bool,daySize:a.nonNegativeInteger,isRTL:r.default.bool,firstDayOfWeek:p.default,initialVisibleMonth:r.default.func,numberOfMonths:r.default.number,keepOpenOnDateSelect:r.default.bool,reopenPickerOnClearDates:r.default.bool,renderCalendarInfo:r.default.func,calendarInfoPosition:b.default,hideKeyboardShortcutsPanel:r.default.bool,verticalHeight:a.nonNegativeInteger,transitionDuration:a.nonNegativeInteger,verticalSpacing:a.nonNegativeInteger,navPrev:r.default.node,navNext:r.default.node,onPrevMonthClick:r.default.func,onNextMonthClick:r.default.func,renderCalendarDay:r.default.func,renderDayContents:r.default.func,minimumNights:r.default.number,enableOutsideDays:r.default.bool,isDayBlocked:r.default.func,isOutsideRange:r.default.func,isDayHighlighted:r.default.func,displayFormat:r.default.oneOfType([r.default.string,r.default.func]),monthFormat:r.default.string,weekDayFormat:r.default.string,phrases:r.default.shape((0,s.default)(i.DateRangePickerPhrases)),dayAriaLabelFormat:r.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(28),a=(r=o)&&r.__esModule?r:{default:r},i=n(41);t.default=a.default.oneOf([i.START_DATE,i.END_DATE])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(28),a=(r=o)&&r.__esModule?r:{default:r},i=n(41);t.default=a.default.oneOf([i.HORIZONTAL_ORIENTATION,i.VERTICAL_ORIENTATION])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(28),a=(r=o)&&r.__esModule?r:{default:r},i=n(41);t.default=a.default.oneOf([i.ANCHOR_LEFT,i.ANCHOR_RIGHT])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,o){var a="undefined"!=typeof window?window.innerWidth:0,i=e===r.ANCHOR_LEFT?a-n:n,s=o||0;return function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},e,Math.min(t+i-s,0))};var r=n(41)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var o=n.getBoundingClientRect(),a=o.left,i=o.top;e===r.OPEN_UP&&(i=-(window.innerHeight-o.bottom));t===r.ANCHOR_RIGHT&&(a=-(window.innerWidth-o.right));return{transform:"translate3d("+String(Math.round(a))+"px, "+String(Math.round(i))+"px, 0)"}};var r=n(41)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getScrollParent=o,t.getScrollAncestorsOverflowY=a,t.default=function(e){var t=a(e),n=function(e){return t.forEach((function(t,n){n.style.setProperty("overflow-y",e?"hidden":t)}))};return n(!0),function(){return n(!1)}};var r=function(){return document.scrollingElement||document.documentElement};function o(e){var t=e.parentElement;if(null==t)return r();var n=window.getComputedStyle(t).overflowY;return"visible"!==n&&"hidden"!==n&&t.scrollHeight>t.clientHeight?t:o(t)}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map,n=r(),i=o(e);return t.set(i,i.style.overflowY),i===n?t:a(i,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n0&&(H||N||i!==k)){var $=y||this.today;V=this.deleteModifierFromRange(V,$,$.clone().add(k,"days"),"blocked-minimum-nights"),V=this.deleteModifierFromRange(V,$,$.clone().add(k,"days"),"blocked")}(H||T)&&(0,d.default)(E).forEach((function(e){Object.keys(e).forEach((function(e){var n=(0,u.default)(e),r=!1;(H||x)&&(s(n)?(V=t.addModifier(V,n,"blocked-out-of-range"),r=!0):V=t.deleteModifier(V,n,"blocked-out-of-range")),(H||z)&&(c(n)?(V=t.addModifier(V,n,"blocked-calendar"),r=!0):V=t.deleteModifier(V,n,"blocked-calendar")),V=r?t.addModifier(V,n,"blocked"):t.deleteModifier(V,n,"blocked"),(H||I)&&(V=l(n)?t.addModifier(V,n,"highlighted-calendar"):t.deleteModifier(V,n,"highlighted-calendar"))}))})),i>0&&n&&o===P.END_DATE&&(V=this.addModifierToRange(V,n,n.clone().add(i,"days"),"blocked-minimum-nights"),V=this.addModifierToRange(V,n,n.clone().add(i,"days"),"blocked"));var G=(0,u.default)();if((0,m.default)(this.today,G)||(V=this.deleteModifier(V,this.today,"today"),V=this.addModifier(V,G,"today"),this.today=G),Object.keys(V).length>0&&this.setState({visibleDays:(0,a.default)({},E,V)}),H||f!==S){var q=A(f,o);this.setState({phrases:(0,a.default)({},f,{chooseAvailableDate:q})})}}},{key:"onDayClick",value:function(e,t){var n=this.props,r=n.keepOpenOnDateSelect,o=n.minimumNights,a=n.onBlur,i=n.focusedInput,s=n.onFocusChange,c=n.onClose,l=n.onDatesChange,u=n.startDateOffset,d=n.endDateOffset,f=n.disabled;if(t&&t.preventDefault(),!this.isBlocked(e)){var h=this.props,p=h.startDate,v=h.endDate;if(u||d)p=(0,_.default)(u,e),v=(0,_.default)(d,e),r||(s(null),c({startDate:p,endDate:v}));else if(i===P.START_DATE){var m=v&&v.clone().subtract(o,"days"),O=(0,g.default)(m,e)||(0,y.default)(p,v),k=f===P.END_DATE;k&&O||(p=e,O&&(v=null)),k&&!O?(s(null),c({startDate:p,endDate:v})):k||s(P.END_DATE)}else if(i===P.END_DATE){var w=p&&p.clone().add(o,"days");p?(0,b.default)(e,w)?(v=e,r||(s(null),c({startDate:p,endDate:v}))):f!==P.START_DATE&&(p=e,v=null):(v=e,s(P.START_DATE))}l({startDate:p,endDate:v}),a()}}},{key:"onDayMouseEnter",value:function(e){if(!this.isTouchDevice){var t=this.props,n=t.startDate,r=t.endDate,o=t.focusedInput,i=t.minimumNights,s=t.startDateOffset,c=t.endDateOffset,l=this.state,u=l.hoverDate,d=l.visibleDays,f=null;if(o){var h=s||c,p={};if(h){var b=(0,_.default)(s,e),v=(0,_.default)(c,e,(function(e){return e.add(1,"day")}));f={start:b,end:v},this.state.dateOffset&&this.state.dateOffset.start&&this.state.dateOffset.end&&(p=this.deleteModifierFromRange(p,this.state.dateOffset.start,this.state.dateOffset.end,"hovered-offset")),p=this.addModifierToRange(p,b,v,"hovered-offset")}if(!h){if(p=this.deleteModifier(p,u,"hovered"),p=this.addModifier(p,e,"hovered"),n&&!r&&o===P.END_DATE){if((0,y.default)(u,n)){var O=u.clone().add(1,"day");p=this.deleteModifierFromRange(p,n,O,"hovered-span")}if(!this.isBlocked(e)&&(0,y.default)(e,n)){var k=e.clone().add(1,"day");p=this.addModifierToRange(p,n,k,"hovered-span")}}if(!n&&r&&o===P.START_DATE&&((0,g.default)(u,r)&&(p=this.deleteModifierFromRange(p,u,r,"hovered-span")),!this.isBlocked(e)&&(0,g.default)(e,r)&&(p=this.addModifierToRange(p,e,r,"hovered-span"))),n){var w=n.clone().add(1,"day"),D=n.clone().add(i+1,"days");if(p=this.deleteModifierFromRange(p,w,D,"after-hovered-start"),(0,m.default)(e,n)){var S=n.clone().add(1,"day"),j=n.clone().add(i+1,"days");p=this.addModifierToRange(p,S,j,"after-hovered-start")}}}this.setState({hoverDate:e,dateOffset:f,visibleDays:(0,a.default)({},d,p)})}}}},{key:"onDayMouseLeave",value:function(e){var t=this.props,n=t.startDate,r=t.endDate,o=t.minimumNights,i=this.state,s=i.hoverDate,c=i.visibleDays,l=i.dateOffset;if(!this.isTouchDevice&&s){var u={};if(u=this.deleteModifier(u,s,"hovered"),l&&(u=this.deleteModifierFromRange(u,this.state.dateOffset.start,this.state.dateOffset.end,"hovered-offset")),n&&!r&&(0,y.default)(s,n)){var d=s.clone().add(1,"day");u=this.deleteModifierFromRange(u,n,d,"hovered-span")}if(!n&&r&&(0,y.default)(r,s)&&(u=this.deleteModifierFromRange(u,s,r,"hovered-span")),n&&(0,m.default)(e,n)){var f=n.clone().add(1,"day"),h=n.clone().add(o+1,"days");u=this.deleteModifierFromRange(u,f,h,"after-hovered-start")}this.setState({hoverDate:null,visibleDays:(0,a.default)({},c,u)})}}},{key:"onPrevMonthClick",value:function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,i=o.currentMonth,s=o.visibleDays,c={};Object.keys(s).sort().slice(0,n+1).forEach((function(e){c[e]=s[e]}));var l=i.clone().subtract(2,"months"),u=(0,O.default)(l,1,r,!0),d=i.clone().subtract(1,"month");this.setState({currentMonth:d,visibleDays:(0,a.default)({},c,this.getModifiers(u))},(function(){t(d.clone())}))}},{key:"onNextMonthClick",value:function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,i=o.currentMonth,s=o.visibleDays,c={};Object.keys(s).sort().slice(1).forEach((function(e){c[e]=s[e]}));var l=i.clone().add(n+1,"month"),u=(0,O.default)(l,1,r,!0),d=i.clone().add(1,"month");this.setState({currentMonth:d,visibleDays:(0,a.default)({},c,this.getModifiers(u))},(function(){t(d.clone())}))}},{key:"onMonthChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===P.VERTICAL_SCROLLABLE,a=(0,O.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}},{key:"onYearChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===P.VERTICAL_SCROLLABLE,a=(0,O.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}},{key:"onMultiplyScrollableMonths",value:function(){var e=this.props,t=e.numberOfMonths,n=e.enableOutsideDays,r=this.state,o=r.currentMonth,i=r.visibleDays,s=Object.keys(i).length,c=o.clone().add(s,"month"),l=(0,O.default)(c,t,n,!0);this.setState({visibleDays:(0,a.default)({},i,this.getModifiers(l))})}},{key:"getFirstFocusableDay",value:function(e){var t=this,n=this.props,o=n.startDate,a=n.endDate,i=n.focusedInput,s=n.minimumNights,c=n.numberOfMonths,l=e.clone().startOf("month");if(i===P.START_DATE&&o?l=o.clone():i===P.END_DATE&&!a&&o?l=o.clone().add(s,"days"):i===P.END_DATE&&a&&(l=a.clone()),this.isBlocked(l)){for(var u=[],d=e.clone().add(c-1,"months").endOf("month"),f=l.clone();!(0,y.default)(f,d);)f=f.clone().add(1,"day"),u.push(f);var h=u.filter((function(e){return!t.isBlocked(e)}));h.length>0&&(l=r(h,1)[0])}return l}},{key:"getModifiers",value:function(e){var t=this,n={};return Object.keys(e).forEach((function(r){n[r]={},e[r].forEach((function(e){n[r][(0,w.default)(e)]=t.getModifiersForDay(e)}))})),n}},{key:"getModifiersForDay",value:function(e){var t=this;return new Set(Object.keys(this.modifiers).filter((function(n){return t.modifiers[n](e)})))}},{key:"getStateForNewMonth",value:function(e){var t=this,n=e.initialVisibleMonth,r=e.numberOfMonths,o=e.enableOutsideDays,a=e.orientation,i=e.startDate,s=(n||(i?function(){return i}:function(){return t.today}))(),c=a===P.VERTICAL_SCROLLABLE;return{currentMonth:s,visibleDays:this.getModifiers((0,O.default)(s,r,o,c))}}},{key:"addModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,f=o;if(s===P.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,k.default)(t,d,f,i))return e;var h=(0,w.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(h)>-1})).reduce((function(t,r){var o=e[r]||u[r],i=new Set(o[h]);return i.add(n),(0,a.default)({},t,I({},r,(0,a.default)({},o,I({},h,i))))}),p);else{var b=(0,D.default)(t),v=e[b]||u[b],m=new Set(v[h]);m.add(n),p=(0,a.default)({},p,I({},b,(0,a.default)({},v,I({},h,m))))}return p}},{key:"addModifierToRange",value:function(e,t,n,r){for(var o=e,a=t.clone();(0,g.default)(a,n);)o=this.addModifier(o,a,r),a=a.clone().add(1,"day");return o}},{key:"deleteModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,f=o;if(s===P.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,k.default)(t,d,f,i))return e;var h=(0,w.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(h)>-1})).reduce((function(t,r){var o=e[r]||u[r],i=new Set(o[h]);return i.delete(n),(0,a.default)({},t,I({},r,(0,a.default)({},o,I({},h,i))))}),p);else{var b=(0,D.default)(t),v=e[b]||u[b],m=new Set(v[h]);m.delete(n),p=(0,a.default)({},p,I({},b,(0,a.default)({},v,I({},h,m))))}return p}},{key:"deleteModifierFromRange",value:function(e,t,n,r){for(var o=e,a=t.clone();(0,g.default)(a,n);)o=this.deleteModifier(o,a,r),a=a.clone().add(1,"day");return o}},{key:"doesNotMeetMinimumNights",value:function(e){var t=this.props,n=t.startDate,r=t.isOutsideRange,o=t.focusedInput,a=t.minimumNights;if(o!==P.END_DATE)return!1;if(n){var i=e.diff(n.clone().startOf("day").hour(12),"days");return i=0}return r((0,u.default)(e).subtract(a,"days"))}},{key:"isDayAfterHoveredStartDate",value:function(e){var t=this.props,n=t.startDate,r=t.endDate,o=t.minimumNights,a=(this.state||{}).hoverDate;return!!n&&!r&&!this.isBlocked(e)&&(0,v.default)(a,e)&&o>0&&(0,m.default)(a,n)}},{key:"isEndDate",value:function(e){var t=this.props.endDate;return(0,m.default)(e,t)}},{key:"isHovered",value:function(e){var t=(this.state||{}).hoverDate;return!!this.props.focusedInput&&(0,m.default)(e,t)}},{key:"isInHoveredSpan",value:function(e){var t=this.props,n=t.startDate,r=t.endDate,o=(this.state||{}).hoverDate,a=!!n&&!r&&(e.isBetween(n,o)||(0,m.default)(o,e)),i=!!r&&!n&&(e.isBetween(o,r)||(0,m.default)(o,e)),s=o&&!this.isBlocked(o);return(a||i)&&s}},{key:"isInSelectedSpan",value:function(e){var t=this.props,n=t.startDate,r=t.endDate;return e.isBetween(n,r)}},{key:"isLastInRange",value:function(e){var t=this.props.endDate;return this.isInSelectedSpan(e)&&(0,v.default)(e,t)}},{key:"isStartDate",value:function(e){var t=this.props.startDate;return(0,m.default)(e,t)}},{key:"isBlocked",value:function(e){var t=this.props,n=t.isDayBlocked,r=t.isOutsideRange;return n(e)||r(e)||this.doesNotMeetMinimumNights(e)}},{key:"isToday",value:function(e){return(0,m.default)(e,this.today)}},{key:"isFirstDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}},{key:"isLastDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}},{key:"render",value:function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,r=e.monthFormat,o=e.renderMonthText,a=e.navPrev,s=e.navNext,c=e.noNavButtons,l=e.onOutsideClick,u=e.withPortal,d=e.enableOutsideDays,f=e.firstDayOfWeek,h=e.hideKeyboardShortcutsPanel,p=e.daySize,b=e.focusedInput,v=e.renderCalendarDay,m=e.renderDayContents,y=e.renderCalendarInfo,g=e.renderMonthElement,O=e.calendarInfoPosition,k=e.onBlur,_=e.isFocused,w=e.showKeyboardShortcuts,D=e.isRTL,S=e.weekDayFormat,j=e.dayAriaLabelFormat,C=e.verticalHeight,M=e.noBorder,E=e.transitionDuration,P=e.verticalBorderSpacing,z=e.horizontalMonthPadding,I=this.state,T=I.currentMonth,N=I.phrases,A=I.visibleDays;return i.default.createElement(x.default,{orientation:n,enableOutsideDays:d,modifiers:A,numberOfMonths:t,onDayClick:this.onDayClick,onDayMouseEnter:this.onDayMouseEnter,onDayMouseLeave:this.onDayMouseLeave,onPrevMonthClick:this.onPrevMonthClick,onNextMonthClick:this.onNextMonthClick,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,onMultiplyScrollableMonths:this.onMultiplyScrollableMonths,monthFormat:r,renderMonthText:o,withPortal:u,hidden:!b,initialVisibleMonth:function(){return T},daySize:p,onOutsideClick:l,navPrev:a,navNext:s,noNavButtons:c,renderCalendarDay:v,renderDayContents:m,renderCalendarInfo:y,renderMonthElement:g,calendarInfoPosition:O,firstDayOfWeek:f,hideKeyboardShortcutsPanel:h,isFocused:_,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:k,showKeyboardShortcuts:w,phrases:N,isRTL:D,weekDayFormat:S,dayAriaLabelFormat:j,verticalHeight:C,verticalBorderSpacing:P,noBorder:M,transitionDuration:E,horizontalMonthPadding:z})}}]),t}(i.default.Component);t.default=R,R.propTypes=T,R.defaultProps=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!r.default.isMoment(e)||!r.default.isMoment(t))return!1;var n=(0,r.default)(e).add(1,"day");return(0,o.default)(n,t)};var r=a(n(30)),o=a(n(79));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,a){if(!r.default.isMoment(e))return{};for(var i={},s=a?e.clone():e.clone().subtract(1,"month"),c=0;c<(a?t:t+2);c+=1){var l=[],u=s.clone(),d=u.clone().startOf("month").hour(12),f=u.clone().endOf("month").hour(12),h=d.clone();if(n)for(var p=0;p0&&this.setState({visibleDays:(0,a.default)({},w,x)})}},{key:"componentWillUpdate",value:function(){this.today=(0,u.default)()}},{key:"onDayClick",value:function(e,t){if(t&&t.preventDefault(),!this.isBlocked(e)){var n=this.props,r=n.onDateChange,o=n.keepOpenOnDateSelect,a=n.onFocusChange,i=n.onClose;r(e),o||(a({focused:!1}),i({date:e}))}}},{key:"onDayMouseEnter",value:function(e){if(!this.isTouchDevice){var t=this.state,n=t.hoverDate,r=t.visibleDays,o=this.deleteModifier({},n,"hovered");o=this.addModifier(o,e,"hovered"),this.setState({hoverDate:e,visibleDays:(0,a.default)({},r,o)})}}},{key:"onDayMouseLeave",value:function(){var e=this.state,t=e.hoverDate,n=e.visibleDays;if(!this.isTouchDevice&&t){var r=this.deleteModifier({},t,"hovered");this.setState({hoverDate:null,visibleDays:(0,a.default)({},n,r)})}}},{key:"onPrevMonthClick",value:function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,i=o.currentMonth,s=o.visibleDays,c={};Object.keys(s).sort().slice(0,n+1).forEach((function(e){c[e]=s[e]}));var l=i.clone().subtract(1,"month"),u=(0,m.default)(l,1,r);this.setState({currentMonth:l,visibleDays:(0,a.default)({},c,this.getModifiers(u))},(function(){t(l.clone())}))}},{key:"onNextMonthClick",value:function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,i=o.currentMonth,s=o.visibleDays,c={};Object.keys(s).sort().slice(1).forEach((function(e){c[e]=s[e]}));var l=i.clone().add(n,"month"),u=(0,m.default)(l,1,r),d=i.clone().add(1,"month");this.setState({currentMonth:d,visibleDays:(0,a.default)({},c,this.getModifiers(u))},(function(){t(d.clone())}))}},{key:"onMonthChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===D.VERTICAL_SCROLLABLE,a=(0,m.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}},{key:"onYearChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===D.VERTICAL_SCROLLABLE,a=(0,m.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}},{key:"getFirstFocusableDay",value:function(e){var t=this,n=this.props,o=n.date,a=n.numberOfMonths,i=e.clone().startOf("month");if(o&&(i=o.clone()),this.isBlocked(i)){for(var s=[],c=e.clone().add(a-1,"months").endOf("month"),l=i.clone();!(0,v.default)(l,c);)l=l.clone().add(1,"day"),s.push(l);var u=s.filter((function(e){return!t.isBlocked(e)&&(0,v.default)(e,i)}));if(u.length>0){var d=r(u,1);i=d[0]}}return i}},{key:"getModifiers",value:function(e){var t=this,n={};return Object.keys(e).forEach((function(r){n[r]={},e[r].forEach((function(e){n[r][(0,g.default)(e)]=t.getModifiersForDay(e)}))})),n}},{key:"getModifiersForDay",value:function(e){var t=this;return new Set(Object.keys(this.modifiers).filter((function(n){return t.modifiers[n](e)})))}},{key:"getStateForNewMonth",value:function(e){var t=this,n=e.initialVisibleMonth,r=e.date,o=e.numberOfMonths,a=e.enableOutsideDays,i=(n||(r?function(){return r}:function(){return t.today}))();return{currentMonth:i,visibleDays:this.getModifiers((0,m.default)(i,o,a))}}},{key:"addModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,f=o;if(s===D.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,y.default)(t,d,f,i))return e;var h=(0,g.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(h)>-1})).reduce((function(t,r){var o=e[r]||u[r],i=new Set(o[h]);return i.add(n),(0,a.default)({},t,C({},r,(0,a.default)({},o,C({},h,i))))}),p);else{var b=(0,O.default)(t),v=e[b]||u[b],m=new Set(v[h]);m.add(n),p=(0,a.default)({},p,C({},b,(0,a.default)({},v,C({},h,m))))}return p}},{key:"deleteModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,f=o;if(s===D.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,y.default)(t,d,f,i))return e;var h=(0,g.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(h)>-1})).reduce((function(t,r){var o=e[r]||u[r],i=new Set(o[h]);return i.delete(n),(0,a.default)({},t,C({},r,(0,a.default)({},o,C({},h,i))))}),p);else{var b=(0,O.default)(t),v=e[b]||u[b],m=new Set(v[h]);m.delete(n),p=(0,a.default)({},p,C({},b,(0,a.default)({},v,C({},h,m))))}return p}},{key:"isBlocked",value:function(e){var t=this.props,n=t.isDayBlocked,r=t.isOutsideRange;return n(e)||r(e)}},{key:"isHovered",value:function(e){var t=(this.state||{}).hoverDate;return(0,b.default)(e,t)}},{key:"isSelected",value:function(e){var t=this.props.date;return(0,b.default)(e,t)}},{key:"isToday",value:function(e){return(0,b.default)(e,this.today)}},{key:"isFirstDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}},{key:"isLastDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}},{key:"render",value:function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,r=e.monthFormat,o=e.renderMonthText,a=e.navPrev,s=e.navNext,c=e.onOutsideClick,l=e.withPortal,u=e.focused,d=e.enableOutsideDays,f=e.hideKeyboardShortcutsPanel,h=e.daySize,p=e.firstDayOfWeek,b=e.renderCalendarDay,v=e.renderDayContents,m=e.renderCalendarInfo,y=e.renderMonthElement,g=e.calendarInfoPosition,O=e.isFocused,k=e.isRTL,_=e.phrases,w=e.dayAriaLabelFormat,D=e.onBlur,j=e.showKeyboardShortcuts,C=e.weekDayFormat,M=e.verticalHeight,E=e.noBorder,P=e.transitionDuration,x=e.verticalBorderSpacing,z=e.horizontalMonthPadding,I=this.state,T=I.currentMonth,N=I.visibleDays;return i.default.createElement(S.default,{orientation:n,enableOutsideDays:d,modifiers:N,numberOfMonths:t,onDayClick:this.onDayClick,onDayMouseEnter:this.onDayMouseEnter,onDayMouseLeave:this.onDayMouseLeave,onPrevMonthClick:this.onPrevMonthClick,onNextMonthClick:this.onNextMonthClick,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,monthFormat:r,withPortal:l,hidden:!u,hideKeyboardShortcutsPanel:f,initialVisibleMonth:function(){return T},firstDayOfWeek:p,onOutsideClick:c,navPrev:a,navNext:s,renderMonthText:o,renderCalendarDay:b,renderDayContents:v,renderCalendarInfo:m,renderMonthElement:y,calendarInfoPosition:g,isFocused:O,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:D,phrases:_,daySize:h,isRTL:k,showKeyboardShortcuts:j,weekDayFormat:C,dayAriaLabelFormat:w,verticalHeight:M,noBorder:E,transitionDuration:P,verticalBorderSpacing:x,horizontalMonthPadding:z})}}]),t}(i.default.Component);t.default=P,P.propTypes=M,P.defaultProps=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n(28)),o=p(n(67)),a=n(48),i=n(53),s=p(n(56)),c=p(n(91)),l=p(n(188)),u=p(n(189)),d=p(n(83)),f=p(n(77)),h=p(n(92));function p(e){return e&&e.__esModule?e:{default:e}}t.default={date:o.default.momentObj,onDateChange:r.default.func.isRequired,focused:r.default.bool,onFocusChange:r.default.func.isRequired,id:r.default.string.isRequired,placeholder:r.default.string,disabled:r.default.bool,required:r.default.bool,readOnly:r.default.bool,screenReaderInputMessage:r.default.string,showClearDate:r.default.bool,customCloseIcon:r.default.node,showDefaultInputIcon:r.default.bool,inputIconPosition:c.default,customInputIcon:r.default.node,noBorder:r.default.bool,block:r.default.bool,small:r.default.bool,regular:r.default.bool,verticalSpacing:a.nonNegativeInteger,keepFocusOnInput:r.default.bool,renderMonthText:(0,a.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,a.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),orientation:l.default,anchorDirection:u.default,openDirection:d.default,horizontalMargin:r.default.number,withPortal:r.default.bool,withFullScreenPortal:r.default.bool,appendToBody:r.default.bool,disableScroll:r.default.bool,initialVisibleMonth:r.default.func,firstDayOfWeek:f.default,numberOfMonths:r.default.number,keepOpenOnDateSelect:r.default.bool,reopenPickerOnClearDate:r.default.bool,renderCalendarInfo:r.default.func,calendarInfoPosition:h.default,hideKeyboardShortcutsPanel:r.default.bool,daySize:a.nonNegativeInteger,isRTL:r.default.bool,verticalHeight:a.nonNegativeInteger,transitionDuration:a.nonNegativeInteger,horizontalMonthPadding:a.nonNegativeInteger,navPrev:r.default.node,navNext:r.default.node,onPrevMonthClick:r.default.func,onNextMonthClick:r.default.func,onClose:r.default.func,renderCalendarDay:r.default.func,renderDayContents:r.default.func,enableOutsideDays:r.default.bool,isDayBlocked:r.default.func,isOutsideRange:r.default.func,isDayHighlighted:r.default.func,displayFormat:r.default.oneOfType([r.default.string,r.default.func]),monthFormat:r.default.string,weekDayFormat:r.default.string,phrases:r.default.shape((0,s.default)(i.SingleDatePickerPhrases)),dayAriaLabelFormat:r.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},function(e,t){!function(){e.exports=this.wp.keycodes}()},function(e,t){!function(){e.exports=this.React}()},function(e,t,n){"use strict";var r=n(37);var o=n(38);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 i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}}(e,t)||Object(o.a)()}n.d(t,"a",(function(){return a}))},function(e,t){!function(){e.exports=this.regeneratorRuntime}()},function(e,t){!function(){e.exports=this.wp.richText}()},function(e,t,n){e.exports=n(113)()},,function(e,t){!function(){e.exports=this.wp.dom}()},,function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t){!function(){e.exports=this.moment}()},,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}))},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}))},function(e,t,n){"use strict";var r=n(11),o=n(19),a=n(0),i=n(10),c=n.n(i),s=n(2),l=n(35),u=n.n(l),d=n(106),f=n(84),h=["onMouseDown","onClick"];t.a=Object(a.forwardRef)((function(e,t){var n=e.href,i=e.target,l=e.isPrimary,p=e.isLarge,b=e.isSmall,v=e.isTertiary,m=e.isPressed,y=e.isBusy,g=e.isDefault,O=e.isSecondary,k=e.isLink,_=e.isDestructive,w=e.className,j=e.disabled,D=e.icon,S=e.iconSize,C=e.showTooltip,M=e.tooltipPosition,P=e.shortcut,E=e.label,x=e.children,z=e.__experimentalIsFocusable,I=Object(o.a)(e,["href","target","isPrimary","isLarge","isSmall","isTertiary","isPressed","isBusy","isDefault","isSecondary","isLink","isDestructive","className","disabled","icon","iconSize","showTooltip","tooltipPosition","shortcut","label","children","__experimentalIsFocusable"]);g&&u()("Button isDefault prop",{alternative:"isSecondary"});var T=c()("components-button",w,{"is-secondary":g||O,"is-primary":l,"is-large":p,"is-small":b,"is-tertiary":v,"is-pressed":m,"is-busy":y,"is-link":k,"is-destructive":_,"has-text":!!D&&!!x,"has-icon":!!D}),N=j&&!z,A=void 0===n||N?"button":"a",R="a"===A?{href:n,target:i}:{type:"button",disabled:N,"aria-pressed":m};if(j&&z){R["aria-disabled"]=!0;var H=!0,L=!1,F=void 0;try{for(var V,B=h[Symbol.iterator]();!(H=(V=B.next()).done);H=!0){I[V.value]=function(e){e.stopPropagation(),e.preventDefault()}}}catch(e){L=!0,F=e}finally{try{H||null==B.return||B.return()}finally{if(L)throw F}}}var K=!N&&(C&&E||P||!!E&&(!x||Object(s.isArray)(x)&&!x.length)&&!1!==C),W=Object(a.createElement)(A,Object(r.a)({},R,I,{className:T,"aria-label":I["aria-label"]||E,ref:t}),D&&Object(a.createElement)(f.a,{icon:D,size:S}),x);return K?Object(a.createElement)(d.a,{text:E,shortcut:P,position:M},W):W}))},function(e,t){!function(){e.exports=this.wp.deprecated}()},,function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},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}))},,,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}))},,function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}))},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.DISPLAY_FORMAT="L",t.ISO_FORMAT="YYYY-MM-DD",t.ISO_MONTH_FORMAT="YYYY-MM",t.START_DATE="startDate",t.END_DATE="endDate",t.HORIZONTAL_ORIENTATION="horizontal",t.VERTICAL_ORIENTATION="vertical",t.VERTICAL_SCROLLABLE="verticalScrollable",t.ICON_BEFORE_POSITION="before",t.ICON_AFTER_POSITION="after",t.INFO_POSITION_TOP="top",t.INFO_POSITION_BOTTOM="bottom",t.INFO_POSITION_BEFORE="before",t.INFO_POSITION_AFTER="after",t.ANCHOR_LEFT="left",t.ANCHOR_RIGHT="right",t.OPEN_DOWN="down",t.OPEN_UP="up",t.DAY_SIZE=39,t.BLOCKED_MODIFIER="blocked",t.WEEKDAYS=[0,1,2,3,4,5,6],t.FANG_WIDTH_PX=20,t.FANG_HEIGHT_PX=10,t.DEFAULT_VERTICAL_SPACING=22,t.MODIFIER_KEY_NAMES=new Set(["Shift","Control","Alt","Meta"])},,function(e,t,n){"use strict";function r(e,t,n,r,o,a,i){try{var c=e[a](i),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,a){var i=e.apply(t,n);function c(e){r(i,o,a,c,s,"next",e)}function s(e){r(i,o,a,c,s,"throw",e)}c(void 0)}))}}n.d(t,"a",(function(){return o}))},function(e,t){!function(){e.exports=this.wp.a11y}()},function(e,t,n){"use strict";var r=TypeError,o=Object.getOwnPropertyDescriptor;if(o)try{o({},"")}catch(e){o=null}var a=function(){throw new r},i=o?function(){try{return arguments.callee,a}catch(e){try{return o(arguments,"callee").get}catch(e){return a}}}():a,c=n(291)(),s=Object.getPrototypeOf||function(e){return e.__proto__},l=void 0,u="undefined"==typeof Uint8Array?void 0:s(Uint8Array),d={"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayBufferPrototype%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer.prototype,"%ArrayIteratorPrototype%":c?s([][Symbol.iterator]()):void 0,"%ArrayPrototype%":Array.prototype,"%ArrayProto_entries%":Array.prototype.entries,"%ArrayProto_forEach%":Array.prototype.forEach,"%ArrayProto_keys%":Array.prototype.keys,"%ArrayProto_values%":Array.prototype.values,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":void 0,"%AsyncFunctionPrototype%":void 0,"%AsyncGenerator%":void 0,"%AsyncGeneratorFunction%":void 0,"%AsyncGeneratorPrototype%":void 0,"%AsyncIteratorPrototype%":l&&c&&Symbol.asyncIterator?l[Symbol.asyncIterator]():void 0,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%Boolean%":Boolean,"%BooleanPrototype%":Boolean.prototype,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%DataViewPrototype%":"undefined"==typeof DataView?void 0:DataView.prototype,"%Date%":Date,"%DatePrototype%":Date.prototype,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%ErrorPrototype%":Error.prototype,"%eval%":eval,"%EvalError%":EvalError,"%EvalErrorPrototype%":EvalError.prototype,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float32ArrayPrototype%":"undefined"==typeof Float32Array?void 0:Float32Array.prototype,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%Float64ArrayPrototype%":"undefined"==typeof Float64Array?void 0:Float64Array.prototype,"%Function%":Function,"%FunctionPrototype%":Function.prototype,"%Generator%":void 0,"%GeneratorFunction%":void 0,"%GeneratorPrototype%":void 0,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int8ArrayPrototype%":"undefined"==typeof Int8Array?void 0:Int8Array.prototype,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int16ArrayPrototype%":"undefined"==typeof Int16Array?void 0:Int8Array.prototype,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%Int32ArrayPrototype%":"undefined"==typeof Int32Array?void 0:Int32Array.prototype,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":c?s(s([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%JSONParse%":"object"==typeof JSON?JSON.parse:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&c?s((new Map)[Symbol.iterator]()):void 0,"%MapPrototype%":"undefined"==typeof Map?void 0:Map.prototype,"%Math%":Math,"%Number%":Number,"%NumberPrototype%":Number.prototype,"%Object%":Object,"%ObjectPrototype%":Object.prototype,"%ObjProto_toString%":Object.prototype.toString,"%ObjProto_valueOf%":Object.prototype.valueOf,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%PromisePrototype%":"undefined"==typeof Promise?void 0:Promise.prototype,"%PromiseProto_then%":"undefined"==typeof Promise?void 0:Promise.prototype.then,"%Promise_all%":"undefined"==typeof Promise?void 0:Promise.all,"%Promise_reject%":"undefined"==typeof Promise?void 0:Promise.reject,"%Promise_resolve%":"undefined"==typeof Promise?void 0:Promise.resolve,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%RangeErrorPrototype%":RangeError.prototype,"%ReferenceError%":ReferenceError,"%ReferenceErrorPrototype%":ReferenceError.prototype,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%RegExpPrototype%":RegExp.prototype,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&c?s((new Set)[Symbol.iterator]()):void 0,"%SetPrototype%":"undefined"==typeof Set?void 0:Set.prototype,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%SharedArrayBufferPrototype%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer.prototype,"%String%":String,"%StringIteratorPrototype%":c?s(""[Symbol.iterator]()):void 0,"%StringPrototype%":String.prototype,"%Symbol%":c?Symbol:void 0,"%SymbolPrototype%":c?Symbol.prototype:void 0,"%SyntaxError%":SyntaxError,"%SyntaxErrorPrototype%":SyntaxError.prototype,"%ThrowTypeError%":i,"%TypedArray%":u,"%TypedArrayPrototype%":u?u.prototype:void 0,"%TypeError%":r,"%TypeErrorPrototype%":r.prototype,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ArrayPrototype%":"undefined"==typeof Uint8Array?void 0:Uint8Array.prototype,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint8ClampedArrayPrototype%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray.prototype,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint16ArrayPrototype%":"undefined"==typeof Uint16Array?void 0:Uint16Array.prototype,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%Uint32ArrayPrototype%":"undefined"==typeof Uint32Array?void 0:Uint32Array.prototype,"%URIError%":URIError,"%URIErrorPrototype%":URIError.prototype,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakMapPrototype%":"undefined"==typeof WeakMap?void 0:WeakMap.prototype,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet,"%WeakSetPrototype%":"undefined"==typeof WeakSet?void 0:WeakSet.prototype},f=n(93).call(Function.call,String.prototype.replace),h=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,p=/\\(\\)?/g,b=function(e){var t=[];return f(e,h,(function(e,n,r,o){t[t.length]=r?f(o,p,"$1"):n||e})),t},v=function(e,t){if(!(e in d))throw new SyntaxError("intrinsic "+e+" does not exist!");if(void 0===d[e]&&!t)throw new r("intrinsic "+e+" exists, but is not available. Please file an issue!");return d[e]};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new TypeError('"allowMissing" argument must be a boolean');for(var n=b(e),a=v("%"+(n.length>0?n[0]:"")+"%",t),i=1;i=n.length){var c=o(a,n[i]);if(!(t||n[i]in a))throw new r("base intrinsic for "+e+" exists, but the property is not available.");a=c?c.get||c.value:a[n[i]]}else a=a[n[i]];return a}},function(e,t){!function(){e.exports=this.wp.isShallowEqual}()},function(e,t,n){e.exports=n(337)},function(e,t,n){var r;!function(o){var a=/^\s+/,i=/\s+$/,c=0,s=o.round,l=o.min,u=o.max,d=o.random;function f(e,t){if(t=t||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,c=null,s=null,d=!1,f=!1;"string"==typeof e&&(e=function(e){e=e.replace(a,"").replace(i,"").toLowerCase();var t,n=!1;if(E[e])e=E[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=K.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=K.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=K.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=K.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=K.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=K.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=K.hex8.exec(e))return{r:N(t[1]),g:N(t[2]),b:N(t[3]),a:L(t[4]),format:n?"name":"hex8"};if(t=K.hex6.exec(e))return{r:N(t[1]),g:N(t[2]),b:N(t[3]),format:n?"name":"hex"};if(t=K.hex4.exec(e))return{r:N(t[1]+""+t[1]),g:N(t[2]+""+t[2]),b:N(t[3]+""+t[3]),a:L(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=K.hex3.exec(e))return{r:N(t[1]+""+t[1]),g:N(t[2]+""+t[2]),b:N(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(W(e.r)&&W(e.g)&&W(e.b)?(h=e.r,p=e.g,b=e.b,t={r:255*I(h,255),g:255*I(p,255),b:255*I(b,255)},d=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):W(e.h)&&W(e.s)&&W(e.v)?(r=R(e.s),c=R(e.v),t=function(e,t,n){e=6*I(e,360),t=I(t,100),n=I(n,100);var r=o.floor(e),a=e-r,i=n*(1-t),c=n*(1-a*t),s=n*(1-(1-a)*t),l=r%6;return{r:255*[n,c,i,i,s,n][l],g:255*[s,n,n,c,i,i][l],b:255*[i,i,s,n,n,c][l]}}(e.h,r,c),d=!0,f="hsv"):W(e.h)&&W(e.s)&&W(e.l)&&(r=R(e.s),s=R(e.l),t=function(e,t,n){var r,o,a;function i(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=I(e,360),t=I(t,100),n=I(n,100),0===t)r=o=a=n;else{var c=n<.5?n*(1+t):n+t-n*t,s=2*n-c;r=i(s,c,e+1/3),o=i(s,c,e),a=i(s,c,e-1/3)}return{r:255*r,g:255*o,b:255*a}}(e.h,r,s),d=!0,f="hsl"),e.hasOwnProperty("a")&&(n=e.a));var h,p,b;return n=z(n),{ok:d,format:e.format||f,r:l(255,u(t.r,0)),g:l(255,u(t.g,0)),b:l(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=s(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=s(this._r)),this._g<1&&(this._g=s(this._g)),this._b<1&&(this._b=s(this._b)),this._ok=n.ok,this._tc_id=c++}function h(e,t,n){e=I(e,255),t=I(t,255),n=I(n,255);var r,o,a=u(e,t,n),i=l(e,t,n),c=(a+i)/2;if(a==i)r=o=0;else{var s=a-i;switch(o=c>.5?s/(2-a-i):s/(a+i),a){case e:r=(t-n)/s+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(f(r));return a}function P(e,t){t=t||6;for(var n=f(e).toHsv(),r=n.h,o=n.s,a=n.v,i=[],c=1/t;t--;)i.push(f({h:r,s:o,v:a})),a=(a+c)%1;return i}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=z(e),this._roundA=s(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=s(360*e.h),n=s(100*e.s),r=s(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+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=s(360*e.h),n=s(100*e.s),r=s(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return b(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var a=[A(s(e).toString(16)),A(s(t).toString(16)),A(s(n).toString(16)),A(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:s(this._r),g:s(this._g),b:s(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+s(this._r)+", "+s(this._g)+", "+s(this._b)+")":"rgba("+s(this._r)+", "+s(this._g)+", "+s(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:s(100*I(this._r,255))+"%",g:s(100*I(this._g,255))+"%",b:s(100*I(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+s(100*I(this._r,255))+"%, "+s(100*I(this._g,255))+"%, "+s(100*I(this._b,255))+"%)":"rgba("+s(100*I(this._r,255))+"%, "+s(100*I(this._g,255))+"%, "+s(100*I(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(x[b(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+v(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=f(e);n="#"+v(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(O,arguments)},brighten:function(){return this._applyModification(k,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(g,arguments)},spin:function(){return this._applyModification(w,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(M,arguments)},complement:function(){return this._applyCombination(j,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(C,arguments)},triad:function(){return this._applyCombination(D,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]:R(e[r]));e=n}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:d(),g:d(),b:d()})},f.mix=function(e,t,n){n=0===n?0:n||50;var r=f(e).toRgb(),o=f(t).toRgb(),a=n/100;return f({r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a})},f.readability=function(e,t){var n=f(e),r=f(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},f.isReadable=function(e,t,n){var r,o,a=f.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=a>=4.5;break;case"AAlarge":o=a>=3;break;case"AAAsmall":o=a>=7}return o},f.mostReadable=function(e,t,n){var r,o,a,i,c=null,s=0;o=(n=n||{}).includeFallbackColors,a=n.level,i=n.size;for(var l=0;ls&&(s=r,c=f(t[l]));return f.isReadable(e,c,{level:a,size:i})||!o?c:(n.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],n))};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"},x=f.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(E);function z(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function I(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=l(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function T(e){return l(1,u(0,e))}function N(e){return parseInt(e,16)}function A(e){return 1==e.length?"0"+e:""+e}function R(e){return e<=1&&(e=100*e+"%"),e}function H(e){return o.round(255*parseFloat(e)).toString(16)}function L(e){return N(e)/255}var F,V,B,K=(V="[\\s|\\(]+("+(F="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+F+")[,|\\s]+("+F+")\\s*\\)?",B="[\\s|\\(]+("+F+")[,|\\s]+("+F+")[,|\\s]+("+F+")[,|\\s]+("+F+")\\s*\\)?",{CSS_UNIT:new RegExp(F),rgb:new RegExp("rgb"+V),rgba:new RegExp("rgba"+B),hsl:new RegExp("hsl"+V),hsla:new RegExp("hsla"+B),hsv:new RegExp("hsv"+V),hsva:new RegExp("hsva"+B),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 W(e){return!!K.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(r=function(){return f}.call(t,n,t,e))||(e.exports=r)}(Math)},,,function(e,t,n){"use strict";var r=n(77),o=n(205),a=n(206),i=n(333),c=a();r(c,{getPolyfill:a,implementation:o,shim:i}),e.exports=c},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="Interact with the calendar and add the check-in date for your trip.",o="Move backward to switch to the previous month.",a="Move forward to switch to the next month.",i="page up and page down keys",c="Home and end keys",s="Escape key",l="Select the date in focus.",u="Move backward (left) and forward (right) by one day.",d="Move backward (up) and forward (down) by one week.",f="Return to the date input field.",h="Press the down arrow key to interact with the calendar and\n select a date. Press the question mark key to get the keyboard shortcuts for changing dates.",p=function(e){var t=e.date;return"Choose "+String(t)+" as your check-in date. It’s available."},b=function(e){var t=e.date;return"Choose "+String(t)+" as your check-out date. It’s available."},v=function(e){return e.date},m=function(e){var t=e.date;return"Not available. "+String(t)},y=function(e){var t=e.date;return"Selected. "+String(t)};t.default={calendarLabel:"Calendar",closeDatePicker:"Close",focusStartDate:r,clearDate:"Clear Date",clearDates:"Clear Dates",jumpToPrevMonth:o,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,keyboardNavigationInstructions:h,chooseAvailableStartDate:p,chooseAvailableEndDate:b,dateIsUnavailable:m,dateIsSelected:y};t.DateRangePickerPhrases={calendarLabel:"Calendar",closeDatePicker:"Close",clearDates:"Clear Dates",focusStartDate:r,jumpToPrevMonth:o,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,keyboardNavigationInstructions:h,chooseAvailableStartDate:p,chooseAvailableEndDate:b,dateIsUnavailable:m,dateIsSelected:y},t.DateRangePickerInputPhrases={focusStartDate:r,clearDates:"Clear Dates",keyboardNavigationInstructions:h},t.SingleDatePickerPhrases={calendarLabel:"Calendar",closeDatePicker:"Close",clearDate:"Clear Date",jumpToPrevMonth:o,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,keyboardNavigationInstructions:h,chooseAvailableDate:v,dateIsUnavailable:m,dateIsSelected:y},t.SingleDatePickerInputPhrases={clearDate:"Clear Date",keyboardNavigationInstructions:h},t.DayPickerPhrases={calendarLabel:"Calendar",jumpToPrevMonth:o,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,chooseAvailableStartDate:p,chooseAvailableEndDate:b,chooseAvailableDate:v,dateIsUnavailable:m,dateIsSelected:y},t.DayPickerKeyboardShortcutsPhrases={keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f},t.DayPickerNavigationPhrases={jumpToPrevMonth:o,jumpToNextMonth:a},t.CalendarDayPhrases={chooseAvailableDate:v,dateIsUnavailable:m,dateIsSelected:y}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.keys(e).reduce((function(e,t){return(0,r.default)({},e,function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},t,o.default.oneOfType([o.default.string,o.default.func,o.default.node])))}),{})};var r=a(n(55)),o=a(n(25));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";var r=n(21),o=n(87);function a(e,t){Object(r.useDebugValue)(e);var n=Object(r.useContext)(o.a);return null!=n[e]?n[e]:t}var i=n(76);function c(e){return"object"==typeof e&&null!=e}function s(e){var t,n=(t=e.compose,Array.isArray(t)?t:void 0!==t?[t]:[]),o=function(t,n){return e.useOptions&&(t=e.useOptions(t,n)),e.name&&(t=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n={});var o="use"+e+"Options";Object(r.useDebugValue)(o);var c=a(o);return c?Object(i.a)({},t,{},c(t,n)):t}(e.name,t,n)),t},s=function(t,i,c){return void 0===t&&(t={}),void 0===i&&(i={}),void 0===c&&(c=!1),c||(t=o(t,i)),e.compose&&n.forEach((function(e){t=e.__useOptions(t,i)})),e.useProps&&(i=e.useProps(t,i)),e.name&&(i=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n={});var o="use"+e+"Props";Object(r.useDebugValue)(o);var i=a(o);return i?i(t,n):n}(e.name,t,i)),e.compose&&(e.useComposeOptions&&(t=e.useComposeOptions(t,i)),n.forEach((function(e){i=e(t,i,!0)}))),i};return s.__useOptions=o,s.__keys=[].concat(n.reduce((function(e,t){return e.push.apply(e,t.__keys||[]),e}),[]),e.useState?e.useState.__keys:[],e.keys||[]),Boolean(e.propsAreEqual||n.find((function(e){return Boolean(e.__propsAreEqual)})))&&(s.__propsAreEqual=function(t,r){var o=e.propsAreEqual&&e.propsAreEqual(t,r);if(null!=o)return o;var a=n,i=Array.isArray(a),s=0;for(a=i?a:a[Symbol.iterator]();;){var l;if(i){if(s>=a.length)break;l=a[s++]}else{if((s=a.next()).done)break;l=s.value}var u=l.__propsAreEqual,d=u&&u(t,r);if(null!=d)return d}return function e(t,n,r){if(void 0===r&&(r=1),t===n)return!0;if(!t||!n)return!1;var o=Object.keys(t),a=Object.keys(n),i=o.length;if(a.length!==i)return!1;for(var s=0,l=o;s=0?n[i]=e[i]:r[i]=e[i]}return[n,r]}function c(e){var t,n=e.as,c=e.useHook,s=e.keys,l=void 0===s?c&&c.__keys||[]:s,u=e.propsAreEqual,d=void 0===u?c&&c.__propsAreEqual:u,f=e.useCreateElement,h=void 0===f?a.a:f,p=function(e,t){var r=e.as,a=void 0===r?n:r,s=Object(o.b)(e,["as"]);if(c){var u=i(s,l),d=u[0],f=u[1],p=c(d,Object(o.a)({ref:t},f)),b=p.unstable_wrap,v=Object(o.b)(p,["unstable_wrap"]),m=a.render?a.render.__keys:a.__keys,y=m?i(s,m)[0]:{},g=h(a,Object(o.a)({},v,{},y));return b?b(g):g}return h(a,s)};return p.__keys=l,function(e,t){return Object(r.memo)(e,t)}((t=p,Object(r.forwardRef)(t)),d)}n.d(t,"a",(function(){return c}))},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withStylesPropTypes=t.css=void 0;var r=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n=t.stylesPropName,c=void 0===n?"styles":n,u=t.themePropName,f=void 0===u?"theme":u,p=t.cssPropName,y=void 0===p?"css":p,g=t.flushBefore,O=void 0!==g&&g,k=t.pureComponent,_=void 0!==k&&k,w=void 0,j=void 0,D=void 0,S=void 0,C=function(e){if(e){if(!i.default.PureComponent)throw new ReferenceError("withStyles() pureComponent option requires React 15.3.0 or later");return i.default.PureComponent}return i.default.Component}(_);function M(e){return e===l.DIRECTIONS.LTR?d.default.resolveLTR:d.default.resolveRTL}function P(t,n){var r=function(e){return e===l.DIRECTIONS.LTR?D:S}(t),o=t===l.DIRECTIONS.LTR?w:j,a=d.default.get();return o&&r===a?o:(t===l.DIRECTIONS.RTL?(j=e?d.default.createRTL(e):b,S=a,o=j):(w=e?d.default.createLTR(e):b,D=a,o=w),o)}function E(e,t){return{resolveMethod:M(e),styleDef:P(e)}}return function(e){var t=e.displayName||e.name||"Component",n=function(t){function n(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t)),o=r.context[l.CHANNEL]?r.context[l.CHANNEL].getState():m;return r.state=E(o),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),o(n,[{key:"componentDidMount",value:function(){var e=this;this.context[l.CHANNEL]&&(this.channelUnsubscribe=this.context[l.CHANNEL].subscribe((function(t){e.setState(E(t))})))}},{key:"componentWillUnmount",value:function(){this.channelUnsubscribe&&this.channelUnsubscribe()}},{key:"render",value:function(){var t;O&&d.default.flush();var n=this.state,o=n.resolveMethod,a=n.styleDef;return i.default.createElement(e,r({},this.props,(h(t={},f,d.default.get()),h(t,c,a()),h(t,y,o),t)))}}]),n}(C);return n.WrappedComponent=e,n.displayName="withStyles("+String(t)+")",n.contextTypes=v,e.propTypes&&(n.propTypes=(0,a.default)({},e.propTypes),delete n.propTypes[c],delete n.propTypes[f],delete n.propTypes[y]),e.defaultProps&&(n.defaultProps=(0,a.default)({},e.defaultProps)),(0,s.default)(n,e)}};var a=f(n(55)),i=f(n(21)),c=f(n(25)),s=f(n(338)),l=n(341),u=f(n(342)),d=f(n(203));function f(e){return e&&e.__esModule?e:{default:e}}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.css=d.default.resolveLTR,t.withStylesPropTypes={styles:c.default.object.isRequired,theme:c.default.object.isRequired,css:c.default.func.isRequired};var p={},b=function(){return p};var v=h({},l.CHANNEL,u.default),m=l.DIRECTIONS.LTR},function(e,t){!function(){e.exports=this.ReactDOM}()},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(21);function o(e){return Object(r.useState)(e)[0]}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(21),o="id";var a=Object(r.createContext)((function(e){return void 0===e&&(e=o),(e?e+"-":"")+Math.random().toString(32).substr(2,6)}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(21),o=n(68),a=n(67);function i(e){void 0===e&&(e={});var t=Object(a.a)(e).baseId,n=Object(r.useContext)(o.a),i=Object(r.useRef)(0),c=Object(r.useState)((function(){return t||n()}));return{baseId:c[0],unstable_setBaseId:c[1],unstable_idCountRef:i}}i.__keys=["baseId","unstable_setBaseId","unstable_idCountRef"]},,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},function(e,t,n){"use strict";var r=n(93);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},,function(e,t,n){"use strict";var r=n(0),o=Object(r.createContext)();t.a=o},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(150)),a=r(n(151)),i=n(21),c=r(i),s=r(n(121)),l=r(n(152)),u={arr:Array.isArray,obj:function(e){return"[object Object]"===Object.prototype.toString.call(e)},fun:function(e){return"function"==typeof e},str:function(e){return"string"==typeof e},num:function(e){return"number"==typeof e},und:function(e){return void 0===e},nul:function(e){return null===e},set:function(e){return e instanceof Set},map:function(e){return e instanceof Map},equ:function(e,t){if(typeof e!=typeof t)return!1;if(u.str(e)||u.num(e))return e===t;if(u.obj(e)&&u.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;var n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return!u.und(n)||e===t}};function d(){var e=i.useState(!1)[1];return i.useCallback((function(){return e((function(e){return!e}))}),[])}function f(e,t){return u.und(e)||u.nul(e)?t:e}function h(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;a=n[o++]}else{if((o=n.next()).done)break;a=o.value}for(var i=a,c=!1,s=0;s=h.startTime+l.duration;else if(l.decay)v=p+g/(1-.998)*(1-Math.exp(-(1-.998)*(t-h.startTime))),(u=Math.abs(h.lastPosition-v)<.1)&&(b=v);else{d=void 0!==h.lastTime?h.lastTime:t,g=void 0!==h.lastVelocity?h.lastVelocity:l.initialVelocity,t>d+64&&(d=t);for(var O=Math.floor(t-d),k=0;kb:v=e);++n);return n-1}(e,a);return function(e,t,n,r,o,a,i,c,s){var l=s?s(e):e;if(ln){if("identity"===c)return l;"clamp"===c&&(l=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?l=-l:n===1/0?l-=t:l=(l-t)/(n-t);l=a(l),r===-1/0?l=-l:o===1/0?l+=r:l=l*(o-r)+r;return l}(e,a[t],a[t+1],o[t],o[t+1],s,i,c,r.map)}}var F=function(e){function t(n,r,o,a){var i;return(i=e.call(this)||this).calc=void 0,i.payload=n instanceof g&&!(n instanceof t)?n.getPayload():Array.isArray(n)?n:[n],i.calc=L(r,o,a),i}s(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=L(e,t,n)},n.interpolate=function(e,n,r){return new t(this,e,n,r)},t}(g);var V=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}s(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 F(this,e,t,n)},t}(y),B=function(e){function t(t){var n;return(n=e.call(this)||this).payload=t.map((function(e){return new V(e)})),n}s(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 F(this,e,t)},t}(g),K=0,W=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=K++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=b(e),n=t.delay,r=void 0===n?0:n,i=t.to,c=a(t,["delay","to"]);if(u.arr(i)||u.fun(i))this.queue.push(o({},c,{delay:r,to:i}));else if(i){var s={};Object.entries(i).forEach((function(e){var t,n=e[0],a=e[1],i=o({to:(t={},t[n]=a,t),delay:p(r,n)},c),l=s[i.delay]&&s[i.delay].to;s[i.delay]=o({},s[i.delay],i,{to:o({},l,i.to)})})),this.queue=Object.values(s)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(c),this},t.start=function(e){var t,n=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var t=e.from,r=void 0===t?{}:t,a=e.to,i=void 0===a?{}:a;u.obj(r)&&(n.merged=o({},r,n.merged)),u.obj(i)&&(n.merged=o({},n.merged,i))}));var r=this.local=++this.guid,i=this.localQueue=this.queue;this.queue=[],i.forEach((function(t,o){var c=t.delay,s=a(t,["delay"]),l=function(t){o===i.length-1&&r===n.guid&&t&&(n.idle=!0,n.props.onRest&&n.props.onRest(n.merged)),e&&e()},d=u.arr(s.to)||u.fun(s.to);c?setTimeout((function(){r===n.guid&&(d?n.runAsync(s,l):n.diff(s).start(l))}),c):d?n.runAsync(s,l):n.diff(s).start(l)}))}else u.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,R.has(t)||R.add(t),A||(A=!0,j(x||H));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,R.has(t)&&R.delete(t)),this},t.runAsync=function(e,t){var n=this,r=(e.delay,a(e,["delay"])),i=this.local,c=Promise.resolve(void 0);if(u.arr(r.to))for(var s=function(e){var t=e,a=o({},r,b(r.to[t]));u.arr(a.config)&&(a.config=a.config[t]),c=c.then((function(){if(i===n.guid)return new Promise((function(e){return n.diff(a).start(e)}))}))},l=0;l=r.length)return"break";i=r[a++]}else{if((a=r.next()).done)return"break";i=a.value}var n=i.key,c=function(e){return e.key!==n};(u.und(t)||t===n)&&(e.current.instances.delete(n),e.current.transitions=e.current.transitions.filter(c),e.current.deleted=e.current.deleted.filter(c))},r=e.current.deleted,o=Array.isArray(r),a=0;for(r=o?r:r[Symbol.iterator]();;){var i;if("break"===n())break}e.current.forceUpdate()}var J=function(e){function t(t){var n;return void 0===t&&(t={}),n=e.call(this)||this,!t.transform||t.transform instanceof y||(t=v.transform(t)),n.payload=t,n}return s(t,e),t}(O),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 he(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,a=fe(o,r,e+1/3),i=fe(o,r,e),c=fe(o,r,e-1/3);return Math.round(255*a)<<24|Math.round(255*i)<<16|Math.round(255*c)<<8}function pe(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function be(e){return(parseFloat(e)%360+360)%360/360}function ve(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function me(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function ye(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=ae.exec(t))?(pe(n[1])<<24|pe(n[2])<<16|pe(n[3])<<8|ve(n[4]))>>>0:(n=se.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=le.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=ie.exec(t))?(255|he(be(n[1]),me(n[2]),me(n[3])))>>>0:(n=ce.exec(t))?(he(be(n[1]),me(n[2]),me(n[3]))|ve(n[4]))>>>0:null;return null===r?e:"rgba("+((4278190080&(r=r||0))>>>24)+", "+((16711680&r)>>>16)+", "+((65280&r)>>>8)+", "+(255&r)/255+")"}var ge=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Oe=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,ke=new RegExp("("+Object.keys(ee).join("|")+")","g"),_e={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},we=["Webkit","Ms","Moz","O"];function je(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||_e.hasOwnProperty(e)&&_e[e]?(""+t).trim():t+"px"}_e=Object.keys(_e).reduce((function(e,t){return we.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),_e);var De={};I((function(e){return new J(e)})),P("div"),S((function(e){var t=e.output.map((function(e){return e.replace(Oe,ye)})).map((function(e){return e.replace(ke,ye)})),n=t[0].match(ge).map((function(){return[]}));t.forEach((function(e){e.match(ge).forEach((function(e,t){return n[t].push(+e)}))}));var r=t[0].match(ge).map((function(t,r){return L(o({},e,{output:n[r]}))}));return function(e){var n=0;return t[0].replace(ge,(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+")"}))}})),_(ee),k((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,r=t.children,o=t.scrollTop,i=t.scrollLeft,c=a(t,["style","children","scrollTop","scrollLeft"]),s="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var l in void 0!==o&&(e.scrollTop=o),void 0!==i&&(e.scrollLeft=i),void 0!==r&&(e.textContent=r),n)if(n.hasOwnProperty(l)){var u=0===l.indexOf("--"),d=je(l,n[l],u);"float"===l&&(l="cssFloat"),u?e.style.setProperty(l,d):e.style[l]=d}for(var f in c){var h=s?f:De[f]||(De[f]=f.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(h)&&e.setAttribute(h,c[f])}}),(function(e){return e}));var Se,Ce,Me=(Se=function(e){return i.forwardRef((function(t,n){var r=d(),s=i.useRef(!0),l=i.useRef(null),f=i.useRef(null),h=i.useCallback((function(e){var t=l.current;l.current=new N(e,(function(){var e=!1;f.current&&(e=v.fn(f.current,l.current.getAnimatedValue())),f.current&&!1!==e||r()})),t&&t.detach()}),[]);i.useEffect((function(){return function(){s.current=!1,l.current&&l.current.detach()}}),[]),i.useImperativeHandle(n,(function(){return z(f,s,r)})),h(t);var p,b=l.current.getValue(),m=(b.scrollTop,b.scrollLeft,a(b,["scrollTop","scrollLeft"])),y=(p=e,!u.fun(p)||p.prototype instanceof c.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 c.createElement(e,o({},m,{ref:y}))}))},void 0===(Ce=!1)&&(Ce=!0),function(e){return(u.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=Ce?t[0].toLowerCase()+t.substring(1):t;return e[n]=Se(n),e}),Se)}),Pe=Me(["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=Me,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=H,t.animated=Pe,t.a=Pe,t.interpolate=function(e,t,n){return e&&new F(e,t,n)},t.Globals=T,t.useSpring=function(e){var t=u.fun(e),n=U(1,t?e:[e]),r=n[0],o=n[1],a=n[2];return t?[r[0],o,a]:r},t.useTrail=function(e,t){var n=i.useRef(!1),r=u.fun(t),a=p(t),c=i.useRef(),s=U(e,(function(e,t){return 0===e&&(c.current=[]),c.current.push(t),o({},a,{config:p(a.config,e),attach:e>0&&function(){return c.current[e-1]}})})),l=s[0],d=s[1],f=s[2],h=i.useMemo((function(){return function(e){return d((function(t,n){e.reverse;var r=e.reverse?t+1:t-1,i=c.current[r];return o({},e,{config:p(e.config||a.config,t),attach:i&&function(){return i}})}))}}),[e,a.reverse]);return i.useEffect((function(){n.current&&!r&&h(t)})),i.useEffect((function(){n.current=!0}),[]),r?[l,h,f]:l},t.useTransition=function(e,t,n){var r=o({items:e,keys:t||function(e){return e}},n),c=X(r),s=c.lazy,l=void 0!==s&&s,u=(c.unique,c.reset),f=void 0!==u&&u,h=(c.enter,c.leave,c.update,c.onDestroyed),b=(c.keys,c.items,c.onFrame),v=c.onRest,m=c.onStart,y=c.ref,g=a(c,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),O=d(),k=i.useRef(!1),_=i.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!r.ref,instances:!k.current&&new Map,forceUpdate:O});return i.useImperativeHandle(r.ref,(function(){return{start:function(){return Promise.all(Array.from(_.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(_.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(_.current.instances).map((function(e){return e[1]}))}}})),_.current=function(e,t){var n=e.first,r=e.prevProps,i=a(e,["first","prevProps"]),c=X(t),s=c.items,l=c.keys,u=c.initial,d=c.from,f=c.enter,h=c.leave,b=c.update,v=c.trail,m=void 0===v?0:v,y=c.unique,g=c.config,O=c.order,k=void 0===O?[G,q,Y]:O,_=X(r),w=_.keys,j=_.items,D=o({},i.current),S=[].concat(i.deleted),C=Object.keys(D),M=new Set(C),P=new Set(l),E=l.filter((function(e){return!M.has(e)})),x=i.transitions.filter((function(e){return!e.destroyed&&!P.has(e.originalKey)})).map((function(e){return e.originalKey})),z=l.filter((function(e){return M.has(e)})),I=-m;for(;k.length;){switch(k.shift()){case G:E.forEach((function(e,t){y&&S.find((function(t){return t.originalKey===e}))&&(S=S.filter((function(t){return t.originalKey!==e})));var r=l.indexOf(e),o=s[r],a=n&&void 0!==u?"initial":G;D[e]={slot:a,originalKey:e,key:y?String(e):$++,item:o,trail:I+=m,config:p(g,o,a),from:p(n&&void 0!==u?u||{}:d,o),to:p(f,o)}}));break;case q:x.forEach((function(e){var t=w.indexOf(e),n=j[t],r=q;S.unshift(o({},D[e],{slot:r,destroyed:!0,left:w[Math.max(0,t-1)],right:w[Math.min(w.length,t+1)],trail:I+=m,config:p(g,n,r),to:p(h,n)})),delete D[e]}));break;case Y:z.forEach((function(e){var t=l.indexOf(e),n=s[t],r=Y;D[e]=o({},D[e],{item:n,slot:r,trail:I+=m,config:p(g,n,r),to:p(b,n)})}))}}var T=l.map((function(e){return D[e]}));return S.forEach((function(e){var t,n=e.left,r=(e.right,a(e,["left","right"]));-1!==(t=T.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),T=[].concat(T.slice(0,t),[r],T.slice(t))})),o({},i,{changed:E.length||x.length||z.length,first:n&&0===E.length,transitions:T,current:D,deleted:S,prevProps:t})}(_.current,r),_.current.changed&&_.current.transitions.forEach((function(e){var t=e.slot,n=e.from,r=e.to,a=e.config,i=e.trail,c=e.key,s=e.item;_.current.instances.has(c)||_.current.instances.set(c,new W);var u=_.current.instances.get(c),d=o({},g,{to:r,from:n,config:a,ref:y,onRest:function(n){_.current.mounted&&(e.destroyed&&(y||l||Q(_,c),h&&h(s)),!Array.from(_.current.instances).some((function(e){return!e[1].idle}))&&(y||l)&&_.current.deleted.length>0&&Q(_),v&&v(s,t,n))},onStart:m&&function(){return m(s,t)},onFrame:b&&function(e){return b(s,t,e)},delay:i,reset:f&&t===G});u.update(d),_.current.paused||u.start()})),i.useEffect((function(){return _.current.mounted=k.current=!0,function(){_.current.mounted=k.current=!1,Array.from(_.current.instances).map((function(e){return e[1].destroy()})),_.current.instances.clear()}}),[]),_.current.transitions.map((function(e){var t=e.item,n=e.slot,r=e.key;return{item:t,key:r,state:n,props:_.current.instances.get(r).getValues()}}))},t.useChain=function(e,t,n){void 0===n&&(n=1e3);var r=i.useRef();i.useEffect((function(){u.equ(e,r.current)?e.forEach((function(e){var t=e.current;return t&&t.start()})):t?e.forEach((function(e,r){var a=e.current;if(a){var i=a.controllers;if(i.length){var c=n*t[r];i.forEach((function(e){e.queue=e.queue.map((function(e){return o({},e,{delay:e.delay+c})})),e.start()}))}}})):e.reduce((function(e,t,n){var r=t.current;return e.then((function(){return r.start()}))}),Promise.resolve()),r.current=e}))},t.useSprings=U},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}))},function(e,t,n){"use strict";var r=n(159),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),a=Object.prototype.toString,i=Array.prototype.concat,c=Object.defineProperty,s=c&&function(){var e={};try{for(var t in c(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),l=function(e,t,n,r){var o;t in e&&("function"!=typeof(o=r)||"[object Function]"!==a.call(o)||!r())||(s?c(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},u=function(e,t){var n=arguments.length>2?arguments[2]:{},a=r(t);o&&(a=i.call(a,Object.getOwnPropertySymbols(t)));for(var c=0;c2&&void 0!==arguments[2]?arguments[2]:"top",r=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,c=n.split(" "),s=Object(o.a)(c,3),u=s[0],d=s[1],f=void 0===d?"center":d,h=s[2],m=function(e,t,n,r,o,a,i){var c=t.height;if(o){var s=(Object(l.getScrollContainer)(a)||document.body).getBoundingClientRect();if(e.top-c<=s.top)return{yAxis:n,popoverTop:Math.min(e.bottom-i,s.top+c-i)}}var u=e.top+e.height/2;"bottom"===r?u=e.bottom:"top"===r&&(u=e.top);var d={popoverTop:u,contentHeight:(u-c/2>0?c/2:u)+(u+c/2>window.innerHeight?window.innerHeight-u:c/2)},f={popoverTop:e.top,contentHeight:e.top-v-c>0?c:e.top-v},h={popoverTop:e.bottom,contentHeight:e.bottom+v+c>window.innerHeight?window.innerHeight-v-e.bottom:c},p=n,b=null;if(!o)if("middle"===n&&d.contentHeight===c)p="middle";else if("top"===n&&f.contentHeight===c)p="top";else if("bottom"===n&&h.contentHeight===c)p="bottom";else{var m="top"===(p=f.contentHeight>h.contentHeight?"top":"bottom")?f.contentHeight:h.contentHeight;b=m!==c?m:null}return{yAxis:p,popoverTop:"middle"===p?d.popoverTop:"top"===p?f.popoverTop:h.popoverTop,contentHeight:b}}(e,t,u,h,r,a,i);return function(e){for(var t=1;t0?i/2:s)+(s+i/2>window.innerWidth?window.innerWidth-s:i/2)},u=e.left;"right"===r?u=e.right:"middle"!==a&&(u=s);var d=e.right;"left"===r?d=e.left:"middle"!==a&&(d=s);var f={popoverLeft:u,contentWidth:u-i>0?i:u},h={popoverLeft:d,contentWidth:d+i>window.innerWidth?window.innerWidth-d:i},p=n,b=null;if(!o)if("center"===n&&l.contentWidth===i)p="center";else if("left"===n&&f.contentWidth===i)p="left";else if("right"===n&&h.contentWidth===i)p="right";else{var v="left"===(p=f.contentWidth>h.contentWidth?"left":"right")?f.contentWidth:h.contentWidth;b=v!==i?v:null}return{xAxis:p,popoverLeft:"center"===p?l.popoverLeft:"left"===p?f.popoverLeft:h.popoverLeft,contentWidth:b}}(e,t,f,h,r,m.yAxis),{},m)}var y=n(104),g=n(103),O=n(13),k=n(12),_=n(14),w=n(15),j=n(16),D=n(89),S=function(e){function t(){return Object(O.a)(this,t),Object(_.a)(this,Object(w.a)(t).apply(this,arguments))}return Object(j.a)(t,e),Object(k.a)(t,[{key:"handleFocusOutside",value:function(e){this.props.onFocusOutside(e)}},{key:"render",value:function(){return this.props.children}}]),t}(i.Component),C=Object(D.a)(S),M=n(34),P=n(136),E=n(105),x=n(90),z=n(178),I=n(179),T=n(135),N=Object(g.a)(Object(y.a)((function(e){return e.children})));function A(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0;if(t)return t;if(n){if(!e.current)return;return n(e.current)}if(!1!==r){if(!r)return;if(r instanceof window.Range)return Object(l.getRectangleFromRange)(r);if(r instanceof window.Element){var a=r.getBoundingClientRect();return o?a:R(a,r)}var i=r.top,c=r.bottom,s=i.getBoundingClientRect(),u=c.getBoundingClientRect(),d=new window.DOMRect(s.left,s.top,s.width,u.bottom-s.top);return o?d:R(d,r)}if(e.current){var f=e.current.parentNode,h=f.getBoundingClientRect();return o?h:R(h,f)}}function R(e,t){var n=window.getComputedStyle(t),r=n.paddingTop,o=n.paddingBottom,a=n.paddingLeft,i=n.paddingRight,c=r?parseInt(r,10):0,s=o?parseInt(o,10):0,l=a?parseInt(a,10):0,u=i?parseInt(i,10):0;return{x:e.left+l,y:e.top+c,width:e.width-l-u,height:e.height-c-s,left:e.left+l,right:e.right-u,top:e.top+c,bottom:e.bottom-s}}function H(e,t,n){n?e.getAttribute(t)!==n&&e.setAttribute(t,n):e.hasAttribute(t)&&e.removeAttribute(t)}function L(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e.style[t]!==n&&(e.style[t]=n)}function F(e,t,n){n?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}var V=function(e){var t=e.headerTitle,n=e.onClose,c=e.onKeyDown,d=e.children,p=e.className,b=e.noArrow,v=void 0!==b&&b,y=e.position,g=void 0===y?"top":y,O=(e.range,e.focusOnMount),k=void 0===O?"firstElement":O,_=e.anchorRef,w=e.shouldAnchorIncludePadding,j=e.anchorRect,D=e.getAnchorRect,S=e.expandOnMobile,I=e.animate,R=void 0===I||I,V=e.onClickOutside,B=e.onFocusOutside,K=e.__unstableSticky,W=e.__unstableSlotName,U=void 0===W?"Popover":W,$=e.__unstableAllowVerticalSubpixelPosition,G=e.__unstableAllowHorizontalSubpixelPosition,q=e.__unstableFixedPosition,Y=void 0===q||q,Z=Object(a.a)(e,["headerTitle","onClose","onKeyDown","children","className","noArrow","position","range","focusOnMount","anchorRef","shouldAnchorIncludePadding","anchorRect","getAnchorRect","expandOnMobile","animate","onClickOutside","onFocusOutside","__unstableSticky","__unstableSlotName","__unstableAllowVerticalSubpixelPosition","__unstableAllowHorizontalSubpixelPosition","__unstableFixedPosition"]),X=Object(i.useRef)(null),Q=Object(i.useRef)(null),J=Object(i.useRef)(),ee=Object(i.useRef)(),te=Object(h.useViewportMatch)("medium","<"),ne=Object(i.useState)(),re=Object(o.a)(ne,2),oe=re[0],ae=re[1],ie=S&&te;v=ie||v,Object(i.useEffect)((function(){if(ie)return F(J.current,"is-without-arrow",v),H(J.current,"data-x-axis"),H(J.current,"data-y-axis"),L(J.current,"top"),L(J.current,"left"),L(Q.current,"maxHeight"),L(Q.current,"maxWidth"),void L(J.current,"position");var e,t,n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.subpixels;if(J.current&&Q.current){var n=A(X,j,D,_,w);if(n){ee.current||(ee.current=Q.current.getBoundingClientRect());var r=0;if(Y)L(J.current,"position");else{L(J.current,"position","absolute");var o=J.current.offsetParent,a=o.getBoundingClientRect();r=a.top,n=new window.DOMRect(n.left-a.left,n.top-a.top,n.width,n.height)}var i=m(n,ee.current,g,K,J.current,r),c=i.popoverTop,s=i.popoverLeft,l=i.xAxis,u=i.yAxis,d=i.contentHeight,f=i.contentWidth;"number"==typeof c&&"number"==typeof s&&(t&&$?(L(J.current,"left",s+"px"),L(J.current,"top"),L(J.current,"transform","translateY(".concat(c,"px)"))):t&&G?(L(J.current,"top",c+"px"),L(J.current,"left"),L(J.current,"transform","translate(".concat(s,"px)"))):(L(J.current,"top",c+"px"),L(J.current,"left",s+"px"),L(J.current,"transform"))),F(J.current,"is-without-arrow",v||"center"===l&&"middle"===u),H(J.current,"data-x-axis",l),H(J.current,"data-y-axis",u),L(Q.current,"maxHeight","number"==typeof d?d+"px":""),L(Q.current,"maxWidth","number"==typeof f?f+"px":"");var h={top:"bottom",bottom:"top"},p={left:"right",right:"left"},b=h[u]||"middle",y=p[l]||"center";ae(y+" "+b)}}},r=window.setTimeout(n),o=window.setInterval(n,500),a=function(){window.cancelAnimationFrame(e),e=window.requestAnimationFrame(n)};window.addEventListener("click",a),window.addEventListener("resize",n),window.addEventListener("scroll",n,!0);var i=$||G;return i&&(t=new window.MutationObserver((function(){return n({subpixels:!0})}))).observe(i,{attributes:!0}),function(){window.clearTimeout(r),window.clearInterval(o),window.removeEventListener("resize",n),window.removeEventListener("scroll",n,!0),window.removeEventListener("click",a),window.cancelAnimationFrame(e),t&&t.disconnect()}}),[ie,j,D,_,w,g,K,$,G]),function(e,t){Object(i.useEffect)((function(){var n=setTimeout((function(){if(e&&t.current)if("firstElement"!==e)"container"===e&&t.current.focus();else{var n=l.focus.tabbable.find(t.current)[0];n?n.focus():t.current.focus()}}),0);return function(){return clearTimeout(n)}}),[])}(k,Q);var ce=function(e){e.keyCode===u.ESCAPE&&n&&(e.stopPropagation(),n()),c&&c(e)};var se=Object(i.createElement)(C,{onFocusOutside:function(e){if(B)B(e);else if(V){var t;try{t=new window.MouseEvent("click")}catch(e){(t=document.createEvent("MouseEvent")).initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null)}Object.defineProperty(t,"target",{get:function(){return e.relatedTarget}}),f()("Popover onClickOutside prop",{alternative:"onFocusOutside"}),V(t)}else n&&n()}},Object(i.createElement)(T.a,{type:R&&oe?"appear":null,options:{origin:oe}},(function(e){var o=e.className;return Object(i.createElement)(E.a,Object(r.a)({className:s()("components-popover",p,o,{"is-expanded":ie,"is-without-arrow":v})},Z,{onKeyDown:ce,ref:J}),ie&&Object(i.createElement)(P.a,null),ie&&Object(i.createElement)("div",{className:"components-popover__header"},Object(i.createElement)("span",{className:"components-popover__header-title"},t),Object(i.createElement)(M.a,{className:"components-popover__close",icon:"no-alt",onClick:n})),Object(i.createElement)("div",{ref:Q,className:"components-popover__content",tabIndex:"-1"},d))})));return k&&(se=Object(i.createElement)(N,null,se)),Object(i.createElement)(x.a,null,(function(e){var t=e.getSlot;return t&&t(U)&&(se=Object(i.createElement)(z.a,{name:U},se)),_||j?se:Object(i.createElement)("span",{ref:X},se)}))};V.Slot=function(e){var t=e.name,n=void 0===t?"Popover":t;return Object(i.createElement)(I.a,{bubblesVirtually:!0,name:n})};t.a=V},,function(e,t,n){"use strict";var r=n(290);e.exports=Function.prototype.bind||r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(25),a=(r=o)&&r.__esModule?r:{default:r},i=n(45);t.default=a.default.oneOf(i.WEEKDAYS)},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(21),o=n(43),a=n(67),i=n(69);function c(e,t){var n=e.stops,r=e.currentId,a=e.unstable_pastId,i=e.unstable_moves,s=e.loop;switch(t.type){case"register":var l=t.id,u=t.ref;if(0===n.length)return Object(o.b)({},e,{stops:[{id:l,ref:u}]});if(n.findIndex((function(e){return e.id===l}))>=0)return e;var d=n.findIndex((function(e){return!(!e.ref.current||!u.current)&&Boolean(e.ref.current.compareDocumentPosition(u.current)&Node.DOCUMENT_POSITION_PRECEDING)}));return-1===d?Object(o.b)({},e,{stops:[].concat(n,[{id:l,ref:u}])}):Object(o.b)({},e,{stops:[].concat(n.slice(0,d),[{id:l,ref:u}],n.slice(d))});case"unregister":var f=t.id,h=n.filter((function(e){return e.id!==f}));return h.length===n.length?e:Object(o.b)({},e,{stops:h,unstable_pastId:a&&a===f?null:a,currentId:r&&r===f?null:r});case"move":var p=t.id,b=t.silent?i:i+1;if(null===p)return Object(o.b)({},e,{currentId:null,unstable_pastId:r,unstable_moves:b});var v=n.findIndex((function(e){return e.id===p}));return-1===v?e:n[v].id===r?Object(o.b)({},e,{unstable_moves:b}):Object(o.b)({},e,{currentId:n[v].id,unstable_pastId:r,unstable_moves:b});case"next":if(null==r)return c(e,{type:"move",id:n[0]&&n[0].id});var m=n.findIndex((function(e){return e.id===r})),y=[].concat(n.slice(m+1),s?n.slice(0,m):[]),g=y.findIndex((function(e){return e.id===r}))+1;return c(e,{type:"move",id:y[g]&&y[g].id});case"previous":var O=c(Object(o.b)({},e,{stops:n.slice().reverse()}),{type:"next"}),k=(O.stops,Object(o.a)(O,["stops"]));return Object(o.b)({},e,{},k);case"first":var _=n[0];return c(e,{type:"move",id:_&&_.id});case"last":var w=n[n.length-1];return c(e,{type:"move",id:w&&w.id});case"reset":return Object(o.b)({},e,{currentId:null,unstable_pastId:null});case"orientate":return Object(o.b)({},e,{orientation:t.orientation});default:throw new Error}}function s(e){void 0===e&&(e={});var t=Object(a.a)(e),n=t.orientation,s=t.currentId,l=void 0===s?null:s,u=t.loop,d=void 0!==u&&u,f=Object(o.a)(t,["orientation","currentId","loop"]),h=Object(r.useReducer)(c,{orientation:n,stops:[],currentId:l,unstable_pastId:null,unstable_moves:0,loop:d}),p=h[0],b=h[1],v=Object(i.a)(f);return Object(o.b)({},v,{},p,{register:Object(r.useCallback)((function(e,t){return b({type:"register",id:e,ref:t})}),[]),unregister:Object(r.useCallback)((function(e){return b({type:"unregister",id:e})}),[]),move:Object(r.useCallback)((function(e,t){return b({type:"move",id:e,silent:t})}),[]),next:Object(r.useCallback)((function(){return b({type:"next"})}),[]),previous:Object(r.useCallback)((function(){return b({type:"previous"})}),[]),first:Object(r.useCallback)((function(){return b({type:"first"})}),[]),last:Object(r.useCallback)((function(){return b({type:"last"})}),[]),unstable_reset:Object(r.useCallback)((function(){return b({type:"reset"})}),[]),unstable_orientate:Object(r.useCallback)((function(e){return b({type:"orientate",orientation:e})}),[])})}var l=[].concat(i.a.__keys,["orientation","stops","currentId","unstable_pastId","unstable_moves","loop","register","unregister","move","next","previous","first","last","unstable_reset","unstable_orientate"]);s.__keys=l},function(e,t,n){"use strict";var r=n(334);e.exports=function(e,t,n){return!r(e.props,t)||!r(e.state,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!a.default.isMoment(e)||!a.default.isMoment(t))&&(e.date()===t.date()&&e.month()===t.month()&&e.year()===t.year())};var r,o=n(30),a=(r=o)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=t?[t,i.DISPLAY_FORMAT,i.ISO_FORMAT]:[i.DISPLAY_FORMAT,i.ISO_FORMAT],r=(0,a.default)(e,n,!0);return r.isValid()?r.hour(12):null};var r,o=n(30),a=(r=o)&&r.__esModule?r:{default:r},i=n(45)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(25),a=(r=o)&&r.__esModule?r:{default:r},i=n(45);t.default=a.default.oneOf([i.HORIZONTAL_ORIENTATION,i.VERTICAL_ORIENTATION,i.VERTICAL_SCROLLABLE])},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!("undefined"==typeof window||!("ontouchstart"in window||window.DocumentTouch&&"undefined"!=typeof document&&document instanceof window.DocumentTouch))||!("undefined"==typeof navigator||!navigator.maxTouchPoints&&!navigator.msMaxTouchPoints)},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(25),a=(r=o)&&r.__esModule?r:{default:r},i=n(45);t.default=a.default.oneOf([i.OPEN_DOWN,i.OPEN_UP])},function(e,t){var n,r,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var s,l=[],u=!1,d=-1;function f(){u&&s&&(u=!1,s.length?l=s.concat(l):d=-1,l.length&&h())}function h(){if(!u){var e=c(f);u=!0;for(var t=l.length;t;){for(s=l,l=[];++d1)for(var n=1;n>>((3&t)<<3)&255;return o}}},function(e,t){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);e.exports=function(e,t){var r=t||0,o=n;return[o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]]].join("")}},function(e,t,n){"use strict";var r=n(114);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";e.exports=function(e){return"string"==typeof e||"symbol"==typeof e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(25),a=(r=o)&&r.__esModule?r:{default:r},i=n(45);t.default=a.default.oneOf([i.ICON_BEFORE_POSITION,i.ICON_AFTER_POSITION])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(25),a=(r=o)&&r.__esModule?r:{default:r},i=n(45);t.default=a.default.oneOf([i.INFO_POSITION_TOP,i.INFO_POSITION_BOTTOM,i.INFO_POSITION_BEFORE,i.INFO_POSITION_AFTER])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!r.default.isMoment(e)||!r.default.isMoment(t))&&!(0,o.default)(e,t)};var r=a(n(30)),o=a(n(119));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!a.default.isMoment(e)||!a.default.isMoment(t))return!1;var n=e.year(),r=e.month(),o=t.year(),i=t.month(),c=n===o,s=r===i;return c&&s?e.date()2?n-2:0),o=2;o0&&void 0!==arguments[0]?arguments[0]:{},t=e.htmlDocument,n=void 0===t?document:t,l=e.className,u=void 0===l?"lockscroll":l,d=0,f=0;function h(e){var t=n.scrollingElement||n.body;e&&(f=t.scrollTop);var r=e?"add":"remove";t.classList[r](u),n.documentElement.classList[r](u),e||(t.scrollTop=f)}return function(e){function t(){return Object(r.a)(this,t),Object(a.a)(this,Object(i.a)(t).apply(this,arguments))}return Object(c.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){0===d&&h(!0),++d}},{key:"componentWillUnmount",value:function(){1===d&&h(!1),--d}},{key:"render",value:function(){return null}}]),t}(s.Component)}()},function(e,t,n){"use strict";(function(e){var r=n(0),o=n(2),a=n(10),i=n.n(a),c=n(1),s=(n(125),n(34)),l=1e4;t.a=Object(r.forwardRef)((function(t,n){var a=t.className,u=t.children,d=t.actions,f=void 0===d?[]:d,h=t.onRemove,p=void 0===h?o.noop:h;Object(r.useEffect)((function(){var e=setTimeout((function(){p()}),l);return function(){return clearTimeout(e)}}),[]);var b=i()(a,"components-snackbar");return f&&f.length>1&&(void 0!==e&&e.env,f=[f[0]]),Object(r.createElement)("div",{ref:n,className:b,onClick:p,tabIndex:"0",role:"button",onKeyPress:p,label:Object(c.__)("Dismiss this notice")},Object(r.createElement)("div",{className:"components-snackbar__content"},u,f.map((function(e,t){var n=e.label,o=e.onClick,a=e.url;return Object(r.createElement)(s.a,{key:t,href:a,isTertiary:!0,onClick:function(e){e.stopPropagation(),o&&o(e)},className:"components-snackbar__action"},n)}))))}))}).call(this,n(102))},,,function(e,t,n){"use strict";var r=n(0),o=n(2);t.a=function(e){var t,n,a=e.shortcut,i=e.className;return a?(Object(o.isString)(a)&&(t=a),Object(o.isObject)(a)&&(t=a.display,n=a.ariaLabel),Object(r.createElement)("span",{className:i,"aria-label":n},t)):null}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));n(21);var r=n(43),o=n(67),a=n(95);function i(e){void 0===e&&(e={});var t=Object(o.a)(e),n=t.orientation,i=void 0===n?"horizontal":n,c=Object(r.a)(t,["orientation"]);return Object(a.a)(Object(r.b)({orientation:i},c))}var c=[].concat(a.a.__keys);i.__keys=c},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(21),o=n(87),a=n(76);var i=function(e,t,n){void 0===n&&(n=t.children);var i=Object(r.useContext)(o.a);if(i.useCreateElement)return i.useCreateElement(e,t,n);if(function(e){return"function"==typeof e}(n)){t.children;return n(Object(a.b)(t,["children"]))}return Object(r.createElement)(e,t,n)}},,function(e,t,n){"use strict";var r=n(145);e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=r.getWindow(t));var o=n.allowHorizontalScroll,a=n.onlyScrollIfNeeded,i=n.alignWithTop,c=n.alignWithLeft,s=n.offsetTop||0,l=n.offsetLeft||0,u=n.offsetBottom||0,d=n.offsetRight||0;o=void 0===o||o;var f=r.isWindow(t),h=r.offset(e),p=r.outerHeight(e),b=r.outerWidth(e),v=void 0,m=void 0,y=void 0,g=void 0,O=void 0,k=void 0,_=void 0,w=void 0,j=void 0,D=void 0;f?(_=t,D=r.height(_),j=r.width(_),w={left:r.scrollLeft(_),top:r.scrollTop(_)},O={left:h.left-w.left-l,top:h.top-w.top-s},k={left:h.left+b-(w.left+j)+d,top:h.top+p-(w.top+D)+u},g=w):(v=r.offset(t),m=t.clientHeight,y=t.clientWidth,g={left:t.scrollLeft,top:t.scrollTop},O={left:h.left-(v.left+(parseFloat(r.css(t,"borderLeftWidth"))||0))-l,top:h.top-(v.top+(parseFloat(r.css(t,"borderTopWidth"))||0))-s},k={left:h.left+b-(v.left+y+(parseFloat(r.css(t,"borderRightWidth"))||0))+d,top:h.top+p-(v.top+m+(parseFloat(r.css(t,"borderBottomWidth"))||0))+u}),O.top<0||k.top>0?!0===i?r.scrollTop(t,g.top+O.top):!1===i?r.scrollTop(t,g.top+k.top):O.top<0?r.scrollTop(t,g.top+O.top):r.scrollTop(t,g.top+k.top):a||((i=void 0===i||!!i)?r.scrollTop(t,g.top+O.top):r.scrollTop(t,g.top+k.top)),o&&(O.left<0||k.left>0?!0===c?r.scrollLeft(t,g.left+O.left):!1===c?r.scrollLeft(t,g.left+k.left):O.left<0?r.scrollLeft(t,g.left+O.left):r.scrollLeft(t,g.left+k.left):a||((c=void 0===c||!!c)?r.scrollLeft(t,g.left+O.left):r.scrollLeft(t,g.left+k.left)))}},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}},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}},,,,,,,function(e,t,n){"use strict";var r=Array.prototype.slice,o=n(188),a=Object.keys,i=a?function(e){return a(e)}:n(289),c=Object.keys;i.shim=function(){Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return o(e)?c(r.call(e)):c(e)}):Object.keys=i;return Object.keys||i},e.exports=i},function(e,t,n){"use strict";var r=n(93),o=n(49)("%Function%"),a=o.apply,i=o.call;e.exports=function(){return r.apply(i,arguments)},e.exports.apply=function(){return r.apply(a,arguments)}},function(e,t,n){"use strict";var r=n(49)("%TypeError%"),o=n(190),a=n(115),i=n(78);e.exports=function(e,t){if("Object"!==i(e))throw new r("Assertion failed: Type(O) is not Object");if(!a(t))throw new r("Assertion failed: IsPropertyKey(P) is not true, got "+o(t));return e[t]}},function(e,t,n){"use strict";var r=n(49)("%Array%"),o=!r.isArray&&n(127)("Object.prototype.toString");e.exports=r.isArray||function(e){return"[object Array]"===o(e)}},function(e,t,n){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},function(e,t,n){"use strict";var r=Object.prototype.toString;if(n(321)()){var o=Symbol.prototype.toString,a=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==r.call(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&a.test(o.call(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureCalendarDay=void 0;var r=Object.assign||function(e){for(var t=1;t1&&"boolean"!=typeof t)throw new TypeError('"allowMissing" argument must be a boolean');var n="$ "+e;if(!(n in s))throw new SyntaxError("intrinsic "+e+" does not exist!");if(void 0===s[n]&&!t)throw new TypeError("intrinsic "+e+" exists, but is not available. Please file an issue!");return s[n]}},function(e,t,n){"use strict";function r(e,t,n){var r="number"==typeof t,o="number"==typeof n,a="number"==typeof e;return r&&o?t+n:r&&a?t+e:r?t:o&&a?n+e:o?n:a?2*e:0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.font.input,o=n.lineHeight,a=n.lineHeight_small,i=e.spacing,c=i.inputPadding,s=i.displayTextPaddingVertical,l=i.displayTextPaddingTop,u=i.displayTextPaddingBottom,d=i.displayTextPaddingVertical_small,f=i.displayTextPaddingTop_small,h=i.displayTextPaddingBottom_small,p=t?a:o,b=t?r(d,f,h):r(s,l,u);return parseInt(p,10)+2*c+b}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=r.default.isMoment(e)?e:(0,o.default)(e,t);return n?n.format(a.DISPLAY_FORMAT):null};var r=i(n(30)),o=i(n(98)),a=n(45);function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,a){var i=t.clone().startOf("month");a&&(i=i.startOf("week"));if((0,r.default)(e,i))return!1;var c=t.clone().add(n-1,"months").endOf("month");a&&(c=c.endOf("week"));return!(0,o.default)(e,c)};var r=a(n(119)),o=a(n(133));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureDayPicker=t.defaultProps=void 0;var r=Object.assign||function(e){for(var t=1;t0&&n("Invalid input not EOF"),e}function o(){return a("linear-gradient",e.linearGradient,c)||a("repeating-linear-gradient",e.repeatingLinearGradient,c)||a("radial-gradient",e.radialGradient,s)||a("repeating-radial-gradient",e.repeatingRadialGradient,s)}function a(t,r,o){return i(r,(function(r){var a=o();return a&&(y(e.comma)||n("Missing comma before color stops")),{type:t,orientation:a,colorStops:f(h)}}))}function i(t,r){var o=y(t);if(o)return y(e.startCall)||n("Missing ("),result=r(o),y(e.endCall)||n("Missing )"),result}function c(){return m("directional",e.sideOrCorner,1)||m("angular",e.angleValue,1)}function s(){var n,r,o=l();return o&&((n=[]).push(o),r=t,y(e.comma)&&((o=l())?n.push(o):t=r)),n}function l(){var e=function(){var e=m("shape",/^(circle)/i,0);e&&(e.style=v()||u());return e}()||function(){var e=m("shape",/^(ellipse)/i,0);e&&(e.style=b()||u());return e}();if(e)e.at=function(){if(m("position",/^at/,0)){var e=d();return e||n("Missing positioning value"),e}}();else{var t=d();t&&(e={type:"default-radial",at:t})}return e}function u(){return m("extent-keyword",e.extentKeywords,1)}function d(){var e={x:b(),y:b()};if(e.x||e.y)return{type:"position",value:e}}function f(t){var r=t(),o=[];if(r)for(o.push(r);y(e.comma);)(r=t())?o.push(r):n("One extra comma");return o}function h(){var t=m("hex",e.hexColor,1)||i(e.rgbaColor,(function(){return{type:"rgba",value:f(p)}}))||i(e.rgbColor,(function(){return{type:"rgb",value:f(p)}}))||m("literal",e.literalColor,0);return t||n("Expected color definition"),t.length=b(),t}function p(){return y(e.number)[1]}function b(){return m("%",e.percentageValue,1)||m("position-keyword",e.positionKeywords,1)||v()}function v(){return m("px",e.pixelValue,1)||m("em",e.emValue,1)}function m(e,t,n){var r=y(t);if(r)return{type:e,value:r[n]}}function y(e){var n,r;return(r=/^[\n\r\t\s]+/.exec(t))&&g(r[0].length),(n=e.exec(t))&&g(n[0].length),n}function g(e){t=t.substr(e)}return function(e){return t=e.toString(),r()}}(),t.parse=(n||{}).parse},,,,function(e,t,n){"use strict";var r=n(5),o=n(19),a=n(0);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}t.a=function(e){var t=e.icon,n=e.size,c=void 0===n?24:n,s=Object(o.a)(e,["icon","size"]);return Object(a.cloneElement)(t,function(e){for(var t=1;t=0&&"[object Function]"===r.call(e.callee)),n}},function(e,t,n){"use strict";var r=n(293),o=n(298),a=n(161),i=n(199),c=n(198),s=n(323);e.exports=function(){var e=s(this),t=c(a(e,"length")),n=1;arguments.length>0&&void 0!==arguments[0]&&(n=i(arguments[0]));var l=r(e,0);return o(l,e,t,0,n),l}},function(e,t,n){var r="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=r&&o&&"function"==typeof o.get?o.get:null,i=r&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,s=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=c&&s&&"function"==typeof s.get?s.get:null,u=c&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,h=Boolean.prototype.valueOf,p=Object.prototype.toString,b=String.prototype.match,v="function"==typeof BigInt?BigInt.prototype.valueOf:null,m=n(294).custom,y=m&&_(m)?m:null;function g(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function O(e){return String(e).replace(/"/g,""")}function k(e){return"[object Array]"===D(e)}function _(e){return"[object Symbol]"===D(e)}e.exports=function e(t,n,r,o){var c=n||{};if(j(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function(e,t){return g(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,S),"single",t)}(t,c);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var s=void 0===c.depth?5:c.depth;if(void 0===r&&(r=0),r>=s&&s>0&&"object"==typeof t)return"[Object]";if(void 0===o)o=[];else if(function(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n=0)return"[Circular]";function p(t,n){return n&&(o=o.slice()).push(n),e(t,c,r+1,o)}if("function"==typeof t){var m=function(e){if(e.name)return e.name;var t=b.call(e,/^function\s*([\w$]+)/);if(t)return t[1];return null}(t);return"[Function"+(m?": "+m:"")+"]"}if(_(t)){var w=Symbol.prototype.toString.call(t);return"object"==typeof t?C(w):w}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var x="<"+String(t.nodeName).toLowerCase(),z=t.attributes||[],I=0;I"}if(k(t))return 0===t.length?"[]":"[ "+E(t,p).join(", ")+" ]";if(function(e){return"[object Error]"===D(e)}(t)){var T=E(t,p);return 0===T.length?"["+String(t)+"]":"{ ["+String(t)+"] "+T.join(", ")+" }"}if("object"==typeof t){if(y&&"function"==typeof t[y])return t[y]();if("function"==typeof t.inspect)return t.inspect()}if(function(e){if(!a||!e||"object"!=typeof e)return!1;try{a.call(e);try{l.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var N=[];return i.call(t,(function(e,n){N.push(p(n,t)+" => "+p(e,t))})),P("Map",a.call(t),N)}if(function(e){if(!l||!e||"object"!=typeof e)return!1;try{l.call(e);try{a.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var A=[];return u.call(t,(function(e){A.push(p(e,t))})),P("Set",l.call(t),A)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return M("WeakMap");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return M("WeakSet");if(function(e){return"[object Number]"===D(e)}(t))return C(p(Number(t)));if(function(e){return"[object BigInt]"===D(e)}(t))return C(p(v.call(t)));if(function(e){return"[object Boolean]"===D(e)}(t))return C(h.call(t));if(function(e){return"[object String]"===D(e)}(t))return C(p(String(t)));if(!function(e){return"[object Date]"===D(e)}(t)&&!function(e){return"[object RegExp]"===D(e)}(t)){var R=E(t,p);return 0===R.length?"{}":"{ "+R.join(", ")+" }"}return String(t)};var w=Object.prototype.hasOwnProperty||function(e){return e in this};function j(e,t){return w.call(e,t)}function D(e){return p.call(e)}function S(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+t.toString(16)}function C(e){return"Object("+e+")"}function M(e){return e+" { ? }"}function P(e,t,n){return e+" ("+t+") {"+n.join(", ")+"}"}function E(e,t){var n=k(e),r=[];if(n){r.length=e.length;for(var o=0;or?r:t}},function(e,t,n){"use strict";var r=n(313),o=n(316);e.exports=function(e){var t=o(e);return r(t)}},function(e,t,n){"use strict";var r=Date.prototype.getDay,o=Object.prototype.toString,a="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"object"==typeof e&&null!==e&&(a?function(e){try{return r.call(e),!0}catch(e){return!1}}(e):"[object Date]"===o.call(e))}},function(e,t,n){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(e,t,n){"use strict";var r=n(189);e.exports=function(){return Array.prototype.flat||r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=void 0,o=void 0;function a(e,t){var n=t(e(o));return function(){return n}}function i(e){return a(e,r.createLTR||r.create)}function c(){for(var e=arguments.length,t=Array(e),n=0;n2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e)return 0;var o="width"===t?"Left":"Top",a="width"===t?"Right":"Bottom",i=!n||r?window.getComputedStyle(e):null,c=e.offsetWidth,s=e.offsetHeight,l="width"===t?c:s;n||(l-=parseFloat(i["padding"+o])+parseFloat(i["padding"+a])+parseFloat(i["border"+o+"Width"])+parseFloat(i["border"+a+"Width"]));r&&(l+=parseFloat(i["margin"+o])+parseFloat(i["margin"+a]));return l}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=o&&a=0?1:-1}},function(e,t){e.exports=function(e,t){var n=e%t;return Math.floor(n>=0?n:n+t)}},function(e,t,n){"use strict";var r=n(213);e.exports=function(){return"function"==typeof Object.values?Object.values:r}},function(e,t,n){"use strict";e.exports=function(e){if(arguments.length<1)throw new TypeError("1 argument is required");if("object"!=typeof e)throw new TypeError("Argument 1 (”other“) to Node.contains must be an instance of Node");var t=e;do{if(this===t)return!0;t&&(t=t.parentNode)}while(t);return!1}},function(e,t,n){"use strict";var r=n(222);e.exports=function(){if("undefined"!=typeof document){if(document.contains)return document.contains;if(document.body&&document.body.contains)return document.body.contains}return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n(25)),o=v(n(79)),a=n(51),i=n(57),c=v(n(59)),s=v(n(225)),l=v(n(116)),u=v(n(226)),d=v(n(132)),f=v(n(227)),h=v(n(101)),p=v(n(94)),b=v(n(117));function v(e){return e&&e.__esModule?e:{default:e}}t.default={startDate:o.default.momentObj,endDate:o.default.momentObj,onDatesChange:r.default.func.isRequired,focusedInput:s.default,onFocusChange:r.default.func.isRequired,onClose:r.default.func,startDateId:r.default.string.isRequired,startDatePlaceholderText:r.default.string,endDateId:r.default.string.isRequired,endDatePlaceholderText:r.default.string,disabled:d.default,required:r.default.bool,readOnly:r.default.bool,screenReaderInputMessage:r.default.string,showClearDates:r.default.bool,showDefaultInputIcon:r.default.bool,inputIconPosition:l.default,customInputIcon:r.default.node,customArrowIcon:r.default.node,customCloseIcon:r.default.node,noBorder:r.default.bool,block:r.default.bool,small:r.default.bool,regular:r.default.bool,keepFocusOnInput:r.default.bool,renderMonthText:(0,a.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,a.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),orientation:u.default,anchorDirection:f.default,openDirection:h.default,horizontalMargin:r.default.number,withPortal:r.default.bool,withFullScreenPortal:r.default.bool,appendToBody:r.default.bool,disableScroll:r.default.bool,daySize:a.nonNegativeInteger,isRTL:r.default.bool,firstDayOfWeek:p.default,initialVisibleMonth:r.default.func,numberOfMonths:r.default.number,keepOpenOnDateSelect:r.default.bool,reopenPickerOnClearDates:r.default.bool,renderCalendarInfo:r.default.func,calendarInfoPosition:b.default,hideKeyboardShortcutsPanel:r.default.bool,verticalHeight:a.nonNegativeInteger,transitionDuration:a.nonNegativeInteger,verticalSpacing:a.nonNegativeInteger,navPrev:r.default.node,navNext:r.default.node,onPrevMonthClick:r.default.func,onNextMonthClick:r.default.func,renderCalendarDay:r.default.func,renderDayContents:r.default.func,minimumNights:r.default.number,enableOutsideDays:r.default.bool,isDayBlocked:r.default.func,isOutsideRange:r.default.func,isDayHighlighted:r.default.func,displayFormat:r.default.oneOfType([r.default.string,r.default.func]),monthFormat:r.default.string,weekDayFormat:r.default.string,phrases:r.default.shape((0,c.default)(i.DateRangePickerPhrases)),dayAriaLabelFormat:r.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(25),a=(r=o)&&r.__esModule?r:{default:r},i=n(45);t.default=a.default.oneOf([i.START_DATE,i.END_DATE])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(25),a=(r=o)&&r.__esModule?r:{default:r},i=n(45);t.default=a.default.oneOf([i.HORIZONTAL_ORIENTATION,i.VERTICAL_ORIENTATION])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(25),a=(r=o)&&r.__esModule?r:{default:r},i=n(45);t.default=a.default.oneOf([i.ANCHOR_LEFT,i.ANCHOR_RIGHT])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,o){var a="undefined"!=typeof window?window.innerWidth:0,i=e===r.ANCHOR_LEFT?a-n:n,c=o||0;return function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},e,Math.min(t+i-c,0))};var r=n(45)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var o=n.getBoundingClientRect(),a=o.left,i=o.top;e===r.OPEN_UP&&(i=-(window.innerHeight-o.bottom));t===r.ANCHOR_RIGHT&&(a=-(window.innerWidth-o.right));return{transform:"translate3d("+String(Math.round(a))+"px, "+String(Math.round(i))+"px, 0)"}};var r=n(45)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getScrollParent=o,t.getScrollAncestorsOverflowY=a,t.default=function(e){var t=a(e),n=function(e){return t.forEach((function(t,n){n.style.setProperty("overflow-y",e?"hidden":t)}))};return n(!0),function(){return n(!1)}};var r=function(){return document.scrollingElement||document.documentElement};function o(e){var t=e.parentElement;if(null==t)return r();var n=window.getComputedStyle(t).overflowY;return"visible"!==n&&"hidden"!==n&&t.scrollHeight>t.clientHeight?t:o(t)}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map,n=r(),i=o(e);return t.set(i,i.style.overflowY),i===n?t:a(i,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n0&&(H||N||i!==k)){var $=y||this.today;V=this.deleteModifierFromRange(V,$,$.clone().add(k,"days"),"blocked-minimum-nights"),V=this.deleteModifierFromRange(V,$,$.clone().add(k,"days"),"blocked")}(H||T)&&(0,d.default)(P).forEach((function(e){Object.keys(e).forEach((function(e){var n=(0,u.default)(e),r=!1;(H||x)&&(c(n)?(V=t.addModifier(V,n,"blocked-out-of-range"),r=!0):V=t.deleteModifier(V,n,"blocked-out-of-range")),(H||z)&&(s(n)?(V=t.addModifier(V,n,"blocked-calendar"),r=!0):V=t.deleteModifier(V,n,"blocked-calendar")),V=r?t.addModifier(V,n,"blocked"):t.deleteModifier(V,n,"blocked"),(H||I)&&(V=l(n)?t.addModifier(V,n,"highlighted-calendar"):t.deleteModifier(V,n,"highlighted-calendar"))}))})),i>0&&n&&o===E.END_DATE&&(V=this.addModifierToRange(V,n,n.clone().add(i,"days"),"blocked-minimum-nights"),V=this.addModifierToRange(V,n,n.clone().add(i,"days"),"blocked"));var G=(0,u.default)();if((0,m.default)(this.today,G)||(V=this.deleteModifier(V,this.today,"today"),V=this.addModifier(V,G,"today"),this.today=G),Object.keys(V).length>0&&this.setState({visibleDays:(0,a.default)({},P,V)}),H||f!==D){var q=A(f,o);this.setState({phrases:(0,a.default)({},f,{chooseAvailableDate:q})})}}},{key:"onDayClick",value:function(e,t){var n=this.props,r=n.keepOpenOnDateSelect,o=n.minimumNights,a=n.onBlur,i=n.focusedInput,c=n.onFocusChange,s=n.onClose,l=n.onDatesChange,u=n.startDateOffset,d=n.endDateOffset,f=n.disabled;if(t&&t.preventDefault(),!this.isBlocked(e)){var h=this.props,p=h.startDate,v=h.endDate;if(u||d)p=(0,_.default)(u,e),v=(0,_.default)(d,e),r||(c(null),s({startDate:p,endDate:v}));else if(i===E.START_DATE){var m=v&&v.clone().subtract(o,"days"),O=(0,g.default)(m,e)||(0,y.default)(p,v),k=f===E.END_DATE;k&&O||(p=e,O&&(v=null)),k&&!O?(c(null),s({startDate:p,endDate:v})):k||c(E.END_DATE)}else if(i===E.END_DATE){var w=p&&p.clone().add(o,"days");p?(0,b.default)(e,w)?(v=e,r||(c(null),s({startDate:p,endDate:v}))):f!==E.START_DATE&&(p=e,v=null):(v=e,c(E.START_DATE))}l({startDate:p,endDate:v}),a()}}},{key:"onDayMouseEnter",value:function(e){if(!this.isTouchDevice){var t=this.props,n=t.startDate,r=t.endDate,o=t.focusedInput,i=t.minimumNights,c=t.startDateOffset,s=t.endDateOffset,l=this.state,u=l.hoverDate,d=l.visibleDays,f=null;if(o){var h=c||s,p={};if(h){var b=(0,_.default)(c,e),v=(0,_.default)(s,e,(function(e){return e.add(1,"day")}));f={start:b,end:v},this.state.dateOffset&&this.state.dateOffset.start&&this.state.dateOffset.end&&(p=this.deleteModifierFromRange(p,this.state.dateOffset.start,this.state.dateOffset.end,"hovered-offset")),p=this.addModifierToRange(p,b,v,"hovered-offset")}if(!h){if(p=this.deleteModifier(p,u,"hovered"),p=this.addModifier(p,e,"hovered"),n&&!r&&o===E.END_DATE){if((0,y.default)(u,n)){var O=u.clone().add(1,"day");p=this.deleteModifierFromRange(p,n,O,"hovered-span")}if(!this.isBlocked(e)&&(0,y.default)(e,n)){var k=e.clone().add(1,"day");p=this.addModifierToRange(p,n,k,"hovered-span")}}if(!n&&r&&o===E.START_DATE&&((0,g.default)(u,r)&&(p=this.deleteModifierFromRange(p,u,r,"hovered-span")),!this.isBlocked(e)&&(0,g.default)(e,r)&&(p=this.addModifierToRange(p,e,r,"hovered-span"))),n){var w=n.clone().add(1,"day"),j=n.clone().add(i+1,"days");if(p=this.deleteModifierFromRange(p,w,j,"after-hovered-start"),(0,m.default)(e,n)){var D=n.clone().add(1,"day"),S=n.clone().add(i+1,"days");p=this.addModifierToRange(p,D,S,"after-hovered-start")}}}this.setState({hoverDate:e,dateOffset:f,visibleDays:(0,a.default)({},d,p)})}}}},{key:"onDayMouseLeave",value:function(e){var t=this.props,n=t.startDate,r=t.endDate,o=t.minimumNights,i=this.state,c=i.hoverDate,s=i.visibleDays,l=i.dateOffset;if(!this.isTouchDevice&&c){var u={};if(u=this.deleteModifier(u,c,"hovered"),l&&(u=this.deleteModifierFromRange(u,this.state.dateOffset.start,this.state.dateOffset.end,"hovered-offset")),n&&!r&&(0,y.default)(c,n)){var d=c.clone().add(1,"day");u=this.deleteModifierFromRange(u,n,d,"hovered-span")}if(!n&&r&&(0,y.default)(r,c)&&(u=this.deleteModifierFromRange(u,c,r,"hovered-span")),n&&(0,m.default)(e,n)){var f=n.clone().add(1,"day"),h=n.clone().add(o+1,"days");u=this.deleteModifierFromRange(u,f,h,"after-hovered-start")}this.setState({hoverDate:null,visibleDays:(0,a.default)({},s,u)})}}},{key:"onPrevMonthClick",value:function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,i=o.currentMonth,c=o.visibleDays,s={};Object.keys(c).sort().slice(0,n+1).forEach((function(e){s[e]=c[e]}));var l=i.clone().subtract(2,"months"),u=(0,O.default)(l,1,r,!0),d=i.clone().subtract(1,"month");this.setState({currentMonth:d,visibleDays:(0,a.default)({},s,this.getModifiers(u))},(function(){t(d.clone())}))}},{key:"onNextMonthClick",value:function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,i=o.currentMonth,c=o.visibleDays,s={};Object.keys(c).sort().slice(1).forEach((function(e){s[e]=c[e]}));var l=i.clone().add(n+1,"month"),u=(0,O.default)(l,1,r,!0),d=i.clone().add(1,"month");this.setState({currentMonth:d,visibleDays:(0,a.default)({},s,this.getModifiers(u))},(function(){t(d.clone())}))}},{key:"onMonthChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===E.VERTICAL_SCROLLABLE,a=(0,O.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}},{key:"onYearChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===E.VERTICAL_SCROLLABLE,a=(0,O.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}},{key:"onMultiplyScrollableMonths",value:function(){var e=this.props,t=e.numberOfMonths,n=e.enableOutsideDays,r=this.state,o=r.currentMonth,i=r.visibleDays,c=Object.keys(i).length,s=o.clone().add(c,"month"),l=(0,O.default)(s,t,n,!0);this.setState({visibleDays:(0,a.default)({},i,this.getModifiers(l))})}},{key:"getFirstFocusableDay",value:function(e){var t=this,n=this.props,o=n.startDate,a=n.endDate,i=n.focusedInput,c=n.minimumNights,s=n.numberOfMonths,l=e.clone().startOf("month");if(i===E.START_DATE&&o?l=o.clone():i===E.END_DATE&&!a&&o?l=o.clone().add(c,"days"):i===E.END_DATE&&a&&(l=a.clone()),this.isBlocked(l)){for(var u=[],d=e.clone().add(s-1,"months").endOf("month"),f=l.clone();!(0,y.default)(f,d);)f=f.clone().add(1,"day"),u.push(f);var h=u.filter((function(e){return!t.isBlocked(e)}));h.length>0&&(l=r(h,1)[0])}return l}},{key:"getModifiers",value:function(e){var t=this,n={};return Object.keys(e).forEach((function(r){n[r]={},e[r].forEach((function(e){n[r][(0,w.default)(e)]=t.getModifiersForDay(e)}))})),n}},{key:"getModifiersForDay",value:function(e){var t=this;return new Set(Object.keys(this.modifiers).filter((function(n){return t.modifiers[n](e)})))}},{key:"getStateForNewMonth",value:function(e){var t=this,n=e.initialVisibleMonth,r=e.numberOfMonths,o=e.enableOutsideDays,a=e.orientation,i=e.startDate,c=(n||(i?function(){return i}:function(){return t.today}))(),s=a===E.VERTICAL_SCROLLABLE;return{currentMonth:c,visibleDays:this.getModifiers((0,O.default)(c,r,o,s))}}},{key:"addModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,c=r.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,f=o;if(c===E.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,k.default)(t,d,f,i))return e;var h=(0,w.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(h)>-1})).reduce((function(t,r){var o=e[r]||u[r],i=new Set(o[h]);return i.add(n),(0,a.default)({},t,I({},r,(0,a.default)({},o,I({},h,i))))}),p);else{var b=(0,j.default)(t),v=e[b]||u[b],m=new Set(v[h]);m.add(n),p=(0,a.default)({},p,I({},b,(0,a.default)({},v,I({},h,m))))}return p}},{key:"addModifierToRange",value:function(e,t,n,r){for(var o=e,a=t.clone();(0,g.default)(a,n);)o=this.addModifier(o,a,r),a=a.clone().add(1,"day");return o}},{key:"deleteModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,c=r.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,f=o;if(c===E.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,k.default)(t,d,f,i))return e;var h=(0,w.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(h)>-1})).reduce((function(t,r){var o=e[r]||u[r],i=new Set(o[h]);return i.delete(n),(0,a.default)({},t,I({},r,(0,a.default)({},o,I({},h,i))))}),p);else{var b=(0,j.default)(t),v=e[b]||u[b],m=new Set(v[h]);m.delete(n),p=(0,a.default)({},p,I({},b,(0,a.default)({},v,I({},h,m))))}return p}},{key:"deleteModifierFromRange",value:function(e,t,n,r){for(var o=e,a=t.clone();(0,g.default)(a,n);)o=this.deleteModifier(o,a,r),a=a.clone().add(1,"day");return o}},{key:"doesNotMeetMinimumNights",value:function(e){var t=this.props,n=t.startDate,r=t.isOutsideRange,o=t.focusedInput,a=t.minimumNights;if(o!==E.END_DATE)return!1;if(n){var i=e.diff(n.clone().startOf("day").hour(12),"days");return i=0}return r((0,u.default)(e).subtract(a,"days"))}},{key:"isDayAfterHoveredStartDate",value:function(e){var t=this.props,n=t.startDate,r=t.endDate,o=t.minimumNights,a=(this.state||{}).hoverDate;return!!n&&!r&&!this.isBlocked(e)&&(0,v.default)(a,e)&&o>0&&(0,m.default)(a,n)}},{key:"isEndDate",value:function(e){var t=this.props.endDate;return(0,m.default)(e,t)}},{key:"isHovered",value:function(e){var t=(this.state||{}).hoverDate;return!!this.props.focusedInput&&(0,m.default)(e,t)}},{key:"isInHoveredSpan",value:function(e){var t=this.props,n=t.startDate,r=t.endDate,o=(this.state||{}).hoverDate,a=!!n&&!r&&(e.isBetween(n,o)||(0,m.default)(o,e)),i=!!r&&!n&&(e.isBetween(o,r)||(0,m.default)(o,e)),c=o&&!this.isBlocked(o);return(a||i)&&c}},{key:"isInSelectedSpan",value:function(e){var t=this.props,n=t.startDate,r=t.endDate;return e.isBetween(n,r)}},{key:"isLastInRange",value:function(e){var t=this.props.endDate;return this.isInSelectedSpan(e)&&(0,v.default)(e,t)}},{key:"isStartDate",value:function(e){var t=this.props.startDate;return(0,m.default)(e,t)}},{key:"isBlocked",value:function(e){var t=this.props,n=t.isDayBlocked,r=t.isOutsideRange;return n(e)||r(e)||this.doesNotMeetMinimumNights(e)}},{key:"isToday",value:function(e){return(0,m.default)(e,this.today)}},{key:"isFirstDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}},{key:"isLastDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}},{key:"render",value:function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,r=e.monthFormat,o=e.renderMonthText,a=e.navPrev,c=e.navNext,s=e.noNavButtons,l=e.onOutsideClick,u=e.withPortal,d=e.enableOutsideDays,f=e.firstDayOfWeek,h=e.hideKeyboardShortcutsPanel,p=e.daySize,b=e.focusedInput,v=e.renderCalendarDay,m=e.renderDayContents,y=e.renderCalendarInfo,g=e.renderMonthElement,O=e.calendarInfoPosition,k=e.onBlur,_=e.isFocused,w=e.showKeyboardShortcuts,j=e.isRTL,D=e.weekDayFormat,S=e.dayAriaLabelFormat,C=e.verticalHeight,M=e.noBorder,P=e.transitionDuration,E=e.verticalBorderSpacing,z=e.horizontalMonthPadding,I=this.state,T=I.currentMonth,N=I.phrases,A=I.visibleDays;return i.default.createElement(x.default,{orientation:n,enableOutsideDays:d,modifiers:A,numberOfMonths:t,onDayClick:this.onDayClick,onDayMouseEnter:this.onDayMouseEnter,onDayMouseLeave:this.onDayMouseLeave,onPrevMonthClick:this.onPrevMonthClick,onNextMonthClick:this.onNextMonthClick,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,onMultiplyScrollableMonths:this.onMultiplyScrollableMonths,monthFormat:r,renderMonthText:o,withPortal:u,hidden:!b,initialVisibleMonth:function(){return T},daySize:p,onOutsideClick:l,navPrev:a,navNext:c,noNavButtons:s,renderCalendarDay:v,renderDayContents:m,renderCalendarInfo:y,renderMonthElement:g,calendarInfoPosition:O,firstDayOfWeek:f,hideKeyboardShortcutsPanel:h,isFocused:_,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:k,showKeyboardShortcuts:w,phrases:N,isRTL:j,weekDayFormat:D,dayAriaLabelFormat:S,verticalHeight:C,verticalBorderSpacing:E,noBorder:M,transitionDuration:P,horizontalMonthPadding:z})}}]),t}(i.default.Component);t.default=R,R.propTypes=T,R.defaultProps=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!r.default.isMoment(e)||!r.default.isMoment(t))return!1;var n=(0,r.default)(e).add(1,"day");return(0,o.default)(n,t)};var r=a(n(30)),o=a(n(97));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,a){if(!r.default.isMoment(e))return{};for(var i={},c=a?e.clone():e.clone().subtract(1,"month"),s=0;s<(a?t:t+2);s+=1){var l=[],u=c.clone(),d=u.clone().startOf("month").hour(12),f=u.clone().endOf("month").hour(12),h=d.clone();if(n)for(var p=0;p0&&this.setState({visibleDays:(0,a.default)({},w,x)})}},{key:"componentWillUpdate",value:function(){this.today=(0,u.default)()}},{key:"onDayClick",value:function(e,t){if(t&&t.preventDefault(),!this.isBlocked(e)){var n=this.props,r=n.onDateChange,o=n.keepOpenOnDateSelect,a=n.onFocusChange,i=n.onClose;r(e),o||(a({focused:!1}),i({date:e}))}}},{key:"onDayMouseEnter",value:function(e){if(!this.isTouchDevice){var t=this.state,n=t.hoverDate,r=t.visibleDays,o=this.deleteModifier({},n,"hovered");o=this.addModifier(o,e,"hovered"),this.setState({hoverDate:e,visibleDays:(0,a.default)({},r,o)})}}},{key:"onDayMouseLeave",value:function(){var e=this.state,t=e.hoverDate,n=e.visibleDays;if(!this.isTouchDevice&&t){var r=this.deleteModifier({},t,"hovered");this.setState({hoverDate:null,visibleDays:(0,a.default)({},n,r)})}}},{key:"onPrevMonthClick",value:function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,i=o.currentMonth,c=o.visibleDays,s={};Object.keys(c).sort().slice(0,n+1).forEach((function(e){s[e]=c[e]}));var l=i.clone().subtract(1,"month"),u=(0,m.default)(l,1,r);this.setState({currentMonth:l,visibleDays:(0,a.default)({},s,this.getModifiers(u))},(function(){t(l.clone())}))}},{key:"onNextMonthClick",value:function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,i=o.currentMonth,c=o.visibleDays,s={};Object.keys(c).sort().slice(1).forEach((function(e){s[e]=c[e]}));var l=i.clone().add(n,"month"),u=(0,m.default)(l,1,r),d=i.clone().add(1,"month");this.setState({currentMonth:d,visibleDays:(0,a.default)({},s,this.getModifiers(u))},(function(){t(d.clone())}))}},{key:"onMonthChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===j.VERTICAL_SCROLLABLE,a=(0,m.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}},{key:"onYearChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===j.VERTICAL_SCROLLABLE,a=(0,m.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}},{key:"getFirstFocusableDay",value:function(e){var t=this,n=this.props,o=n.date,a=n.numberOfMonths,i=e.clone().startOf("month");if(o&&(i=o.clone()),this.isBlocked(i)){for(var c=[],s=e.clone().add(a-1,"months").endOf("month"),l=i.clone();!(0,v.default)(l,s);)l=l.clone().add(1,"day"),c.push(l);var u=c.filter((function(e){return!t.isBlocked(e)&&(0,v.default)(e,i)}));if(u.length>0){var d=r(u,1);i=d[0]}}return i}},{key:"getModifiers",value:function(e){var t=this,n={};return Object.keys(e).forEach((function(r){n[r]={},e[r].forEach((function(e){n[r][(0,g.default)(e)]=t.getModifiersForDay(e)}))})),n}},{key:"getModifiersForDay",value:function(e){var t=this;return new Set(Object.keys(this.modifiers).filter((function(n){return t.modifiers[n](e)})))}},{key:"getStateForNewMonth",value:function(e){var t=this,n=e.initialVisibleMonth,r=e.date,o=e.numberOfMonths,a=e.enableOutsideDays,i=(n||(r?function(){return r}:function(){return t.today}))();return{currentMonth:i,visibleDays:this.getModifiers((0,m.default)(i,o,a))}}},{key:"addModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,c=r.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,f=o;if(c===j.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,y.default)(t,d,f,i))return e;var h=(0,g.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(h)>-1})).reduce((function(t,r){var o=e[r]||u[r],i=new Set(o[h]);return i.add(n),(0,a.default)({},t,C({},r,(0,a.default)({},o,C({},h,i))))}),p);else{var b=(0,O.default)(t),v=e[b]||u[b],m=new Set(v[h]);m.add(n),p=(0,a.default)({},p,C({},b,(0,a.default)({},v,C({},h,m))))}return p}},{key:"deleteModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,c=r.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,f=o;if(c===j.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,y.default)(t,d,f,i))return e;var h=(0,g.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(h)>-1})).reduce((function(t,r){var o=e[r]||u[r],i=new Set(o[h]);return i.delete(n),(0,a.default)({},t,C({},r,(0,a.default)({},o,C({},h,i))))}),p);else{var b=(0,O.default)(t),v=e[b]||u[b],m=new Set(v[h]);m.delete(n),p=(0,a.default)({},p,C({},b,(0,a.default)({},v,C({},h,m))))}return p}},{key:"isBlocked",value:function(e){var t=this.props,n=t.isDayBlocked,r=t.isOutsideRange;return n(e)||r(e)}},{key:"isHovered",value:function(e){var t=(this.state||{}).hoverDate;return(0,b.default)(e,t)}},{key:"isSelected",value:function(e){var t=this.props.date;return(0,b.default)(e,t)}},{key:"isToday",value:function(e){return(0,b.default)(e,this.today)}},{key:"isFirstDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}},{key:"isLastDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}},{key:"render",value:function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,r=e.monthFormat,o=e.renderMonthText,a=e.navPrev,c=e.navNext,s=e.onOutsideClick,l=e.withPortal,u=e.focused,d=e.enableOutsideDays,f=e.hideKeyboardShortcutsPanel,h=e.daySize,p=e.firstDayOfWeek,b=e.renderCalendarDay,v=e.renderDayContents,m=e.renderCalendarInfo,y=e.renderMonthElement,g=e.calendarInfoPosition,O=e.isFocused,k=e.isRTL,_=e.phrases,w=e.dayAriaLabelFormat,j=e.onBlur,S=e.showKeyboardShortcuts,C=e.weekDayFormat,M=e.verticalHeight,P=e.noBorder,E=e.transitionDuration,x=e.verticalBorderSpacing,z=e.horizontalMonthPadding,I=this.state,T=I.currentMonth,N=I.visibleDays;return i.default.createElement(D.default,{orientation:n,enableOutsideDays:d,modifiers:N,numberOfMonths:t,onDayClick:this.onDayClick,onDayMouseEnter:this.onDayMouseEnter,onDayMouseLeave:this.onDayMouseLeave,onPrevMonthClick:this.onPrevMonthClick,onNextMonthClick:this.onNextMonthClick,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,monthFormat:r,withPortal:l,hidden:!u,hideKeyboardShortcutsPanel:f,initialVisibleMonth:function(){return T},firstDayOfWeek:p,onOutsideClick:s,navPrev:a,navNext:c,renderMonthText:o,renderCalendarDay:b,renderDayContents:v,renderCalendarInfo:m,renderMonthElement:y,calendarInfoPosition:g,isFocused:O,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:j,phrases:_,daySize:h,isRTL:k,showKeyboardShortcuts:S,weekDayFormat:C,dayAriaLabelFormat:w,verticalHeight:M,noBorder:P,transitionDuration:E,verticalBorderSpacing:x,horizontalMonthPadding:z})}}]),t}(i.default.Component);t.default=E,E.propTypes=M,E.defaultProps=P},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n(25)),o=p(n(79)),a=n(51),i=n(57),c=p(n(59)),s=p(n(116)),l=p(n(226)),u=p(n(227)),d=p(n(101)),f=p(n(94)),h=p(n(117));function p(e){return e&&e.__esModule?e:{default:e}}t.default={date:o.default.momentObj,onDateChange:r.default.func.isRequired,focused:r.default.bool,onFocusChange:r.default.func.isRequired,id:r.default.string.isRequired,placeholder:r.default.string,disabled:r.default.bool,required:r.default.bool,readOnly:r.default.bool,screenReaderInputMessage:r.default.string,showClearDate:r.default.bool,customCloseIcon:r.default.node,showDefaultInputIcon:r.default.bool,inputIconPosition:s.default,customInputIcon:r.default.node,noBorder:r.default.bool,block:r.default.bool,small:r.default.bool,regular:r.default.bool,verticalSpacing:a.nonNegativeInteger,keepFocusOnInput:r.default.bool,renderMonthText:(0,a.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,a.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),orientation:l.default,anchorDirection:u.default,openDirection:d.default,horizontalMargin:r.default.number,withPortal:r.default.bool,withFullScreenPortal:r.default.bool,appendToBody:r.default.bool,disableScroll:r.default.bool,initialVisibleMonth:r.default.func,firstDayOfWeek:f.default,numberOfMonths:r.default.number,keepOpenOnDateSelect:r.default.bool,reopenPickerOnClearDate:r.default.bool,renderCalendarInfo:r.default.func,calendarInfoPosition:h.default,hideKeyboardShortcutsPanel:r.default.bool,daySize:a.nonNegativeInteger,isRTL:r.default.bool,verticalHeight:a.nonNegativeInteger,transitionDuration:a.nonNegativeInteger,horizontalMonthPadding:a.nonNegativeInteger,navPrev:r.default.node,navNext:r.default.node,onPrevMonthClick:r.default.func,onNextMonthClick:r.default.func,onClose:r.default.func,renderCalendarDay:r.default.func,renderDayContents:r.default.func,enableOutsideDays:r.default.bool,isDayBlocked:r.default.func,isOutsideRange:r.default.func,isDayHighlighted:r.default.func,displayFormat:r.default.oneOfType([r.default.string,r.default.func]),monthFormat:r.default.string,weekDayFormat:r.default.string,phrases:r.default.shape((0,c.default)(i.SingleDatePickerPhrases)),dayAriaLabelFormat:r.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"polite";Object(x.speak)(e,t)}},{key:"componentWillUnmount",value:function(){this.debouncedSpeak.cancel()}},{key:"render",value:function(){return Object(c.createElement)(e,Object(a.a)({},this.props,{speak:this.speak,debouncedSpeak:this.debouncedSpeak}))}}]),n}(c.Component)}),"withSpokenMessages");function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r=[],o=0;o0,y=m?"components-autocomplete-listbox-".concat(o):null,g=m?"components-autocomplete-item-".concat(o,"-").concat(p):null;return Object(c.createElement)(c.Fragment,null,r({isExpanded:m,listBoxId:y,activeId:g,onKeyDown:this.handleKeyDown}),m&&a&&Object(c.createElement)(E.a,{focusOnMount:!1,onClose:this.reset,position:"top right",className:"components-autocomplete__popover",anchorRef:(e=window.getSelection(),e.rangeCount?e.getRangeAt(0):null)},Object(c.createElement)("div",{id:y,role:"listbox",className:"components-autocomplete__results"},m&&Object(S.map)(f,(function(e,n){return Object(c.createElement)(P.a,{key:e.key,id:"components-autocomplete-item-".concat(o,"-").concat(e.key),role:"option","aria-selected":n===u,disabled:e.isDisabled,className:d()("components-autocomplete__result",v,{"is-selected":n===u}),onClick:function(){return t.select(e)}},e.label)})))))}}]),t}(c.Component),A=Object(s.compose)([z,s.withInstanceId])(N);var R=function(e){var t=e.className,n=Object(i.a)(e,["className"]),r=d()("components-button-group",t);return Object(c.createElement)("div",Object(a.a)({},n,{className:r,role:"group"}))},H=Object(c.createContext)({}),L=function(){return Object(c.useContext)(H)},F=n(261),V=n.n(F),B=n(21);var K=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}},W=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,U=K((function(e){return W.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),$=n(121),G=n.n($);var q=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var o=function(e){if(e.sheet)return e.sheet;for(var t=0;tr&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(b,"$1"+e.trim());case 58:return e.trim()+t.replace(b,"$1"+e.trim());default:if(0<1*n&&0s.charCodeAt(8))break;case 115:i=i.replace(s,"-webkit-"+s)+";"+i;break;case 207:case 102:i=i.replace(s,"-webkit-"+(102c.charCodeAt(0)&&(c=c.trim()),c=[c],0h)&&(L=(B=B.replace(" ",":")).length),0=4;)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++o;switch(n){case 3:r^=(255&e.charCodeAt(o+2))<<16;case 2:r^=(255&e.charCodeAt(o+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(o)))+((1540483477*(r>>>16)&65535)<<16)}return r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16),((r^=r>>>15)>>>0).toString(36)},re={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},oe=/[A-Z]|^ms/g,ae=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ie=function(e){return 45===e.charCodeAt(1)},ce=function(e){return null!=e&&"boolean"!=typeof e},se=K((function(e){return ie(e)?e:e.replace(oe,"-$&").toLowerCase()})),le=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(ae,(function(e,t,n){return de={name:t,styles:n,next:de},t}))}return 1===re[e]||ie(e)||"number"!=typeof t||0===t?t:t+"px"};function ue(e,t,n,r){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return de={name:n.name,styles:n.styles,next:de},n.name;if(void 0!==n.styles){var o=n.next;if(void 0!==o)for(;void 0!==o;)de={name:o.name,styles:o.styles,next:de},o=o.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?Oe:ke};function we(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function je(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=Ce()(e).toRgb(),r=n.r,o=n.g,a=n.b;return"rgba(".concat(r,", ").concat(o,", ").concat(a,", ").concat(t,")")}function Te(e){return Object(S.get)(ze,e,"#000")}var Ne={borderColor:Te("lightGray.500"),borderRadius:"3px",backgroundShady:Te("lightGray.200")},Ae=Ne.borderColor,Re=Ne.borderRadius,He=Ne.backgroundShady,Le=De("div",{target:"e1q7k77g0",label:"CardUI"})("background:",Te("white"),";box-sizing:border-box;border-radius:",Re,";border:1px solid ",Ae,";",$e,";&.is-elevated{box-shadow:0px 1px 3px 0px rgba( 0,0,0,0.2 ),0px 1px 1px 0px rgba( 0,0,0,0.14 ),0px 2px 1px -1px rgba( 0,0,0,0.12 );}"),Fe=De("div",{target:"e1q7k77g1",label:"HeaderUI"})("border-bottom:1px solid ",Ae,";border-top-left-radius:",Re,";border-top-right-radius:",Re,";box-sizing:border-box;&:last-child{border-bottom:none;}",Ue,";",$e,";",Ge,";"),Ve=De("div",{target:"e1q7k77g2",label:"MediaUI"})("box-sizing:border-box;overflow:hidden;& > img,& > iframe{display:block;height:auto;max-width:100%;width:100%;}&:first-of-type{border-top-left-radius:",Re,";border-top-right-radius:",Re,";}&:last-of-type{border-bottom-left-radius:",Re,";border-bottom-right-radius:",Re,";}"),Be=De("div",{target:"e1q7k77g3",label:"BodyUI"})("box-sizing:border-box;",(function(){return"\n\t\t&.is-size {\n\t\t\t&-large {\n\t\t\t\tpadding: 28px;\n\t\t\t}\n\t\t\t&-medium {\n\t\t\t\tpadding: 20px;\n\t\t\t}\n\t\t\t&-small {\n\t\t\t\tpadding: 12px;\n\t\t\t}\n\t\t\t&-extraSmall {\n\t\t\t\tpadding: 8px;\n\t\t\t}\n\t\t}\n\t"}),";",Ge,";"),Ke=De("div",{target:"e1q7k77g4",label:"FooterUI"})("border-top:1px solid ",Ae,";border-bottom-left-radius:",Re,";border-bottom-right-radius:",Re,";box-sizing:border-box;&:first-of-type{border-top:none;}",Ue,";",$e,";",Ge,";"),We=De(r.HorizontalRule,{target:"e1q7k77g5",label:"DividerUI"})("all:unset;border-top:1px solid ",Ae,";box-sizing:border-box;display:block;height:0;width:100%;");function Ue(){return"\n\t\t&.is-size {\n\t\t\t&-large {\n\t\t\t\tpadding: 20px 28px;\n\t\t\t}\n\t\t\t&-medium {\n\t\t\t\tpadding: 12px 20px;\n\t\t\t}\n\t\t\t&-small {\n\t\t\t\tpadding: 8px 12px;\n\t\t\t}\n\t\t\t&-extraSmall {\n\t\t\t\tpadding: 4px 8px;\n\t\t\t}\n\t\t}\n\t"}function $e(){return"\n\t\t&.is-borderless {\n\t\t\tborder: none;\n\t\t}\n\t"}function Ge(){return"\n\t\t&.is-shady {\n\t\t\tbackground: ".concat(He,";\n\t\t}\n\t")}function qe(e){var t=e.className,n=e.isBorderless,r=e.isElevated,o=e.size,s=Object(i.a)(e,["className","isBorderless","isElevated","size"]),l=H.Provider,u={isBorderless:n,isElevated:r,size:o},f=d()("components-card",n&&"is-borderless",r&&"is-elevated",o&&"is-size-".concat(o),t);return Object(c.createElement)(l,{value:u},Object(c.createElement)(Le,Object(a.a)({},s,{className:f})))}qe.defaultProps={isBorderless:!1,isElevated:!1,size:"medium"};var Ye=qe;function Ze(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Xe={isShady:!1,size:"medium"};var Qe=function(e){var t=e.className,n=e.isShady,r=Object(i.a)(e,["className","isShady"]),o=function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.hex?Ce()(e.hex):Ce()(e),r=n.toHsl();r.h=Math.round(r.h),r.s=Math.round(100*r.s),r.l=Math.round(100*r.l);var o=n.toHsv();o.h=Math.round(o.h),o.s=Math.round(100*o.s),o.v=Math.round(100*o.v);var a=n.toRgb(),i=n.toHex();return 0===r.s&&(r.h=t||0,o.h=t||0),{color:n,hex:"000000"===i&&0===a.a?"transparent":"#".concat(i),hsl:r,hsv:o,oldHue:e.h||t||r.h,rgb:a,source:e.source}}function bt(e,t){e.preventDefault();var n=t.getBoundingClientRect(),r=n.left,o=n.top,a=n.width,i=n.height,c="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=c-(r+window.pageXOffset),u=s-(o+window.pageYOffset);return l<0?l=0:l>a?l=a:u<0?u=0:u>i&&(u=i),{top:u,left:l,width:a,height:i}}function vt(e){var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&Ce()(e).isValid()}function mt(e){var t=e.target,n=e.callback,r=e.shortcut,o=e.bindGlobal,a=e.eventName;return Object(s.useKeyboardShortcut)(r,n,{bindGlobal:o,target:t,eventName:a}),null}var yt=function(e){var t=e.children,n=e.shortcuts,r=e.bindGlobal,o=e.eventName,a=Object(c.useRef)(),i=Object(S.map)(n,(function(e,t){return Object(c.createElement)(mt,{key:t,shortcut:t,callback:e,bindGlobal:r,eventName:o,target:a})}));return c.Children.count(t)?Object(c.createElement)("div",{ref:a},i,t):i},gt=function(e){function t(){var e;return Object(g.a)(this,t),(e=Object(O.a)(this,Object(k.a)(t).apply(this,arguments))).container=Object(c.createRef)(),e.increase=e.increase.bind(Object(_.a)(e)),e.decrease=e.decrease.bind(Object(_.a)(e)),e.handleChange=e.handleChange.bind(Object(_.a)(e)),e.handleMouseDown=e.handleMouseDown.bind(Object(_.a)(e)),e.handleMouseUp=e.handleMouseUp.bind(Object(_.a)(e)),e}return Object(j.a)(t,e),Object(w.a)(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"increase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsl,r=t.onChange,o=void 0===r?S.noop:r;e=parseInt(100*e,10);var a={h:n.h,s:n.s,l:n.l,a:(parseInt(100*n.a,10)+e)/100,source:"rgb"};o(a)}},{key:"decrease",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsl,r=t.onChange,o=void 0===r?S.noop:r,a=parseInt(100*n.a,10)-parseInt(100*e,10),i={h:n.h,s:n.s,l:n.l,a:n.a<=e?0:a/100,source:"rgb"};o(i)}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?S.noop:t,r=function(e,t,n){var r=bt(e,n),o=r.left,a=r.width,i=o<0?0:Math.round(100*o/a)/100;return t.hsl.a!==i?{h:t.hsl.h,s:t.hsl.s,l:t.hsl.l,a:i,source:"rgb"}:null}(e,this.props,this.container.current);r&&n(r,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){e.keyCode!==C.TAB&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.rgb,n="".concat(t.r,",").concat(t.g,",").concat(t.b),r={background:"linear-gradient(to right, rgba(".concat(n,", 0) 0%, rgba(").concat(n,", 1) 100%)")},o={left:"".concat(100*t.a,"%")},a={up:function(){return e.increase()},right:function(){return e.increase()},"shift+up":function(){return e.increase(.1)},"shift+right":function(){return e.increase(.1)},pageup:function(){return e.increase(.1)},end:function(){return e.increase(1)},down:function(){return e.decrease()},left:function(){return e.decrease()},"shift+down":function(){return e.decrease(.1)},"shift+left":function(){return e.decrease(.1)},pagedown:function(){return e.decrease(.1)},home:function(){return e.decrease(1)}};return Object(c.createElement)(yt,{shortcuts:a},Object(c.createElement)("div",{className:"components-color-picker__alpha"},Object(c.createElement)("div",{className:"components-color-picker__alpha-gradient",style:r}),Object(c.createElement)("div",{className:"components-color-picker__alpha-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(c.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"0","aria-valuenow":t.a,"aria-orientation":"horizontal","aria-label":Object(l.__)("Alpha value, from 0 (transparent) to 1 (fully opaque)."),className:"components-color-picker__alpha-pointer",style:o,onKeyDown:this.preventKeyEvents}))))}}]),t}(c.Component),Ot=Object(s.pure)(gt),kt=function(e){function t(){var e;return Object(g.a)(this,t),(e=Object(O.a)(this,Object(k.a)(t).apply(this,arguments))).container=Object(c.createRef)(),e.increase=e.increase.bind(Object(_.a)(e)),e.decrease=e.decrease.bind(Object(_.a)(e)),e.handleChange=e.handleChange.bind(Object(_.a)(e)),e.handleMouseDown=e.handleMouseDown.bind(Object(_.a)(e)),e.handleMouseUp=e.handleMouseUp.bind(Object(_.a)(e)),e}return Object(j.a)(t,e),Object(w.a)(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"increase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.props,n=t.hsl,r=t.onChange,o=void 0===r?S.noop:r,a={h:n.h+e>=359?359:n.h+e,s:n.s,l:n.l,a:n.a,source:"rgb"};o(a)}},{key:"decrease",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.props,n=t.hsl,r=t.onChange,o=void 0===r?S.noop:r,a={h:n.h<=e?0:n.h-e,s:n.s,l:n.l,a:n.a,source:"rgb"};o(a)}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?S.noop:t,r=function(e,t,n){var r=bt(e,n),o=r.left,a=r.width,i=o>=a?359:360*(100*o/a)/100;return t.hsl.h!==i?{h:i,s:t.hsl.s,l:t.hsl.l,a:t.hsl.a,source:"rgb"}:null}(e,this.props,this.container.current);r&&n(r,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){e.keyCode!==C.TAB&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props,n=t.hsl,r=void 0===n?{}:n,o=t.instanceId,a={left:"".concat(100*r.h/360,"%")},i={up:function(){return e.increase()},right:function(){return e.increase()},"shift+up":function(){return e.increase(10)},"shift+right":function(){return e.increase(10)},pageup:function(){return e.increase(10)},end:function(){return e.increase(359)},down:function(){return e.decrease()},left:function(){return e.decrease()},"shift+down":function(){return e.decrease(10)},"shift+left":function(){return e.decrease(10)},pagedown:function(){return e.decrease(10)},home:function(){return e.decrease(359)}};return Object(c.createElement)(yt,{shortcuts:i},Object(c.createElement)("div",{className:"components-color-picker__hue"},Object(c.createElement)("div",{className:"components-color-picker__hue-gradient"}),Object(c.createElement)("div",{className:"components-color-picker__hue-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(c.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"359","aria-valuenow":r.h,"aria-orientation":"horizontal","aria-label":Object(l.__)("Hue value in degrees, from 0 to 359."),"aria-describedby":"components-color-picker__hue-description-".concat(o),className:"components-color-picker__hue-pointer",style:a,onKeyDown:this.preventKeyEvents}),Object(c.createElement)(p,{as:"p",id:"components-color-picker__hue-description-".concat(o)},Object(l.__)("Move the arrow left or right to change hue.")))))}}]),t}(c.Component),_t=Object(s.compose)(s.pure,s.withInstanceId)(kt);function wt(e){var t=e.label,n=e.hideLabelFromVision,r=e.value,o=e.help,l=e.className,u=e.onChange,d=e.type,f=void 0===d?"text":d,h=Object(i.a)(e,["label","hideLabelFromVision","value","help","className","onChange","type"]),p=Object(s.useInstanceId)(wt),b="inspector-text-control-".concat(p);return Object(c.createElement)(v,{label:t,hideLabelFromVision:n,id:b,help:o,className:l},Object(c.createElement)("input",Object(a.a)({className:"components-text-control__input",type:f,id:b,value:r,onChange:function(e){return u(e.target.value)},"aria-describedby":o?b+"__help":void 0},h)))}var jt=function(e){function t(){var e;return Object(g.a)(this,t),(e=Object(O.a)(this,Object(k.a)(t).apply(this,arguments))).handleBlur=e.handleBlur.bind(Object(_.a)(e)),e.handleChange=e.handleChange.bind(Object(_.a)(e)),e.handleKeyDown=e.handleKeyDown.bind(Object(_.a)(e)),e}return Object(j.a)(t,e),Object(w.a)(t,[{key:"handleBlur",value:function(){var e=this.props,t=e.value,n=e.valueKey;(0,e.onChange)({source:e.source,state:"commit",value:t,valueKey:n})}},{key:"handleChange",value:function(e){var t=this.props,n=t.valueKey,r=t.onChange,o=t.source;e.length>4&&vt(e)?r({source:o,state:"commit",value:e,valueKey:n}):r({source:o,state:"draft",value:e,valueKey:n})}},{key:"handleKeyDown",value:function(e){var t=e.keyCode;if(t===C.ENTER||t===C.UP||t===C.DOWN){var n=this.props,r=n.value,o=n.valueKey;(0,n.onChange)({source:n.source,state:"commit",value:r,valueKey:o})}}},{key:"render",value:function(){var e=this,t=this.props,n=t.label,r=t.value,o=Object(i.a)(t,["label","value"]);return Object(c.createElement)(wt,Object(a.a)({className:"components-color-picker__inputs-field",label:n,value:r,onChange:function(t){return e.handleChange(t)},onBlur:this.handleBlur,onKeyDown:this.handleKeyDown},Object(S.omit)(o,["onChange","valueKey","source"])))}}]),t}(c.Component),Dt=Object(s.pure)(P.a),St=function(e){function t(e){var n,r=e.hsl;Object(g.a)(this,t),n=Object(O.a)(this,Object(k.a)(t).apply(this,arguments));var o=1===r.a?"hex":"rgb";return n.state={view:o},n.toggleViews=n.toggleViews.bind(Object(_.a)(n)),n.resetDraftValues=n.resetDraftValues.bind(Object(_.a)(n)),n.handleChange=n.handleChange.bind(Object(_.a)(n)),n.normalizeValue=n.normalizeValue.bind(Object(_.a)(n)),n}return Object(j.a)(t,e),Object(w.a)(t,[{key:"toggleViews",value:function(){"hex"===this.state.view?(this.setState({view:"rgb"},this.resetDraftValues),Object(x.speak)(Object(l.__)("RGB mode active"))):"rgb"===this.state.view?(this.setState({view:"hsl"},this.resetDraftValues),Object(x.speak)(Object(l.__)("Hue/saturation/lightness mode active"))):"hsl"===this.state.view&&(1===this.props.hsl.a?(this.setState({view:"hex"},this.resetDraftValues),Object(x.speak)(Object(l.__)("Hex color mode active"))):(this.setState({view:"rgb"},this.resetDraftValues),Object(x.speak)(Object(l.__)("RGB mode active"))))}},{key:"resetDraftValues",value:function(){return this.props.onChange({state:"reset"})}},{key:"normalizeValue",value:function(e,t){return"a"!==e?t:t<0?0:t>1?1:Math.round(100*t)/100}},{key:"handleChange",value:function(e){var t=e.source,n=e.state,r=e.value,o=e.valueKey;this.props.onChange({source:t,state:n,valueKey:o,value:this.normalizeValue(o,r)})}},{key:"renderFields",value:function(){var e=this.props.disableAlpha,t=void 0!==e&&e;return"hex"===this.state.view?Object(c.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(c.createElement)(jt,{source:this.state.view,label:Object(l.__)("Color value in hexadecimal"),valueKey:"hex",value:this.props.hex,onChange:this.handleChange})):"rgb"===this.state.view?Object(c.createElement)("fieldset",null,Object(c.createElement)(p,{as:"legend"},Object(l.__)("Color value in RGB")),Object(c.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(c.createElement)(jt,{source:this.state.view,label:"r",valueKey:"r",value:this.props.rgb.r,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(c.createElement)(jt,{source:this.state.view,label:"g",valueKey:"g",value:this.props.rgb.g,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(c.createElement)(jt,{source:this.state.view,label:"b",valueKey:"b",value:this.props.rgb.b,onChange:this.handleChange,type:"number",min:"0",max:"255"}),t?null:Object(c.createElement)(jt,{source:this.state.view,label:"a",valueKey:"a",value:this.props.rgb.a,onChange:this.handleChange,type:"number",min:"0",max:"1",step:"0.05"}))):"hsl"===this.state.view?Object(c.createElement)("fieldset",null,Object(c.createElement)(p,{as:"legend"},Object(l.__)("Color value in HSL")),Object(c.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(c.createElement)(jt,{source:this.state.view,label:"h",valueKey:"h",value:this.props.hsl.h,onChange:this.handleChange,type:"number",min:"0",max:"359"}),Object(c.createElement)(jt,{source:this.state.view,label:"s",valueKey:"s",value:this.props.hsl.s,onChange:this.handleChange,type:"number",min:"0",max:"100"}),Object(c.createElement)(jt,{source:this.state.view,label:"l",valueKey:"l",value:this.props.hsl.l,onChange:this.handleChange,type:"number",min:"0",max:"100"}),t?null:Object(c.createElement)(jt,{source:this.state.view,label:"a",valueKey:"a",value:this.props.hsl.a,onChange:this.handleChange,type:"number",min:"0",max:"1",step:"0.05"}))):void 0}},{key:"render",value:function(){return Object(c.createElement)("div",{className:"components-color-picker__inputs-wrapper"},this.renderFields(),Object(c.createElement)("div",{className:"components-color-picker__inputs-toggle-wrapper"},Object(c.createElement)(Dt,{className:"components-color-picker__inputs-toggle",icon:"arrow-down-alt2",label:Object(l.__)("Change color format"),onClick:this.toggleViews})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(c.Component),Ct=function(e){function t(e){var n;return Object(g.a)(this,t),(n=Object(O.a)(this,Object(k.a)(t).call(this,e))).throttle=Object(S.throttle)((function(e,t,n){e(t,n)}),50),n.container=Object(c.createRef)(),n.saturate=n.saturate.bind(Object(_.a)(n)),n.brighten=n.brighten.bind(Object(_.a)(n)),n.handleChange=n.handleChange.bind(Object(_.a)(n)),n.handleMouseDown=n.handleMouseDown.bind(Object(_.a)(n)),n.handleMouseUp=n.handleMouseUp.bind(Object(_.a)(n)),n}return Object(j.a)(t,e),Object(w.a)(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"saturate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsv,r=t.onChange,o=void 0===r?S.noop:r,a=Object(S.clamp)(n.s+Math.round(100*e),0,100),i={h:n.h,s:a,v:n.v,a:n.a,source:"rgb"};o(i)}},{key:"brighten",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsv,r=t.onChange,o=void 0===r?S.noop:r,a=Object(S.clamp)(n.v+Math.round(100*e),0,100),i={h:n.h,s:n.s,v:a,a:n.a,source:"rgb"};o(i)}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?S.noop:t,r=function(e,t,n){var r=bt(e,n),o=r.top,a=r.left,i=r.width,c=r.height,s=a<0?0:100*a/i,l=o>=c?0:-100*o/c+100;return l<1&&(l=0),{h:t.hsl.h,s:s,v:l,a:t.hsl.a,source:"rgb"}}(e,this.props,this.container.current);this.throttle(n,r,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){e.keyCode!==C.TAB&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props,n=t.hsv,r=t.hsl,o=t.instanceId,a={top:"".concat(100-n.v,"%"),left:"".concat(n.s,"%")},i={up:function(){return e.brighten()},"shift+up":function(){return e.brighten(.1)},pageup:function(){return e.brighten(1)},down:function(){return e.brighten(-.01)},"shift+down":function(){return e.brighten(-.1)},pagedown:function(){return e.brighten(-1)},right:function(){return e.saturate()},"shift+right":function(){return e.saturate(.1)},end:function(){return e.saturate(1)},left:function(){return e.saturate(-.01)},"shift+left":function(){return e.saturate(-.1)},home:function(){return e.saturate(-1)}};return Object(c.createElement)(yt,{shortcuts:i},Object(c.createElement)("div",{style:{background:"hsl(".concat(r.h,",100%, 50%)")},className:"components-color-picker__saturation-color",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange,role:"application"},Object(c.createElement)("div",{className:"components-color-picker__saturation-white"}),Object(c.createElement)("div",{className:"components-color-picker__saturation-black"}),Object(c.createElement)(P.a,{"aria-label":Object(l.__)("Choose a shade"),"aria-describedby":"color-picker-saturation-".concat(o),className:"components-color-picker__saturation-pointer",style:a,onKeyDown:this.preventKeyEvents}),Object(c.createElement)(p,{id:"color-picker-saturation-".concat(o)},Object(l.__)("Use your arrow keys to change the base color. Move up to lighten the color, down to darken, left to decrease saturation, and right to increase saturation."))))}}]),t}(c.Component),Mt=Object(s.compose)(s.pure,s.withInstanceId)(Ct);function Pt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Et(e){for(var t=1;tt||a>e&&i=t&&c>=n?a-e-r:i>t&&cn?i-t+o:0}var $t=function(e,t){var n=t.scrollMode,r=t.block,o=t.inline,a=t.boundary,i=t.skipOverflowHiddenElements,c="function"==typeof a?a:function(e){return e!==a};if(!Bt(e))throw new TypeError("Invalid target");for(var s=document.scrollingElement||document.documentElement,l=[],u=e;Bt(u)&&c(u);){if((u=u.parentNode)===s){l.push(u);break}u===document.body&&Wt(u)&&!Wt(document.documentElement)||Wt(u,i)&&l.push(u)}for(var d=window.visualViewport?visualViewport.width:innerWidth,f=window.visualViewport?visualViewport.height:innerHeight,h=window.scrollX||pageXOffset,p=window.scrollY||pageYOffset,b=e.getBoundingClientRect(),v=b.height,m=b.width,y=b.top,g=b.right,O=b.bottom,k=b.left,_="start"===r||"nearest"===r?y:"end"===r?O:y+v/2,w="center"===o?k+m/2:"end"===o?g:k,j=[],D=0;D=0&&k>=0&&O<=f&&g<=d&&y>=E&&O<=z&&k>=I&&g<=x)return j;var T=getComputedStyle(S),N=parseInt(T.borderLeftWidth,10),A=parseInt(T.borderTopWidth,10),R=parseInt(T.borderRightWidth,10),H=parseInt(T.borderBottomWidth,10),L=0,F=0,V="offsetWidth"in S?S.offsetWidth-S.clientWidth-N-R:0,B="offsetHeight"in S?S.offsetHeight-S.clientHeight-A-H:0;if(s===S)L="start"===r?_:"end"===r?_-f:"nearest"===r?Ut(p,p+f,f,A,H,p+_,p+_+v,v):_-f/2,F="start"===o?w:"center"===o?w-d/2:"end"===o?w-d:Ut(h,h+d,d,N,R,h+w,h+w+m,m),L=Math.max(0,L+p),F=Math.max(0,F+h);else{L="start"===r?_-E-A:"end"===r?_-z+H+B:"nearest"===r?Ut(E,z,M,A,H+B,_,_+v,v):_-(E+M/2)+B/2,F="start"===o?w-I-N:"center"===o?w-(I+P/2)+V/2:"end"===o?w-x+R+V:Ut(I,x,P,N,R+V,w,w+m,m);var K=S.scrollLeft,W=S.scrollTop;_+=W-(L=Math.max(0,Math.min(W+L,S.scrollHeight-M+B))),w+=K-(F=Math.max(0,Math.min(K+F,S.scrollWidth-P+V)))}j.push({el:S,top:L,left:F})}return j};function Gt(e,t){null!==e&&$t(e,{boundary:t,block:"nearest",scrollMode:"if-needed"}).forEach((function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r}))}function qt(e,t){var n;function r(){n&&clearTimeout(n)}function o(){for(var o=arguments.length,a=new Array(o),i=0;i1?n-1:0),o=1;o=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}function en(e,t,n,r,o){void 0===o&&(o=!0);var a=n-1;("number"!=typeof t||t<0||t>=n)&&(t=e>0?-1:a+1);var i=t+e;i<0?i=o?a:0:i>a&&(i=o?0:a);var c=tn(e,i,n,r,o);return-1===c?t:c}function tn(e,t,n,r,o){var a=r(t);if(!a||!a.hasAttribute("disabled"))return t;if(e>0){for(var i=t+1;i=0;c--)if(!r(c).hasAttribute("disabled"))return c;return o?e>0?tn(1,0,n,r,!1):tn(-1,n-1,n,r,!1):-1}var nn=qt((function(){on().textContent=""}),500);function rn(e,t){var n=on(t);e&&(n.textContent=e,nn())}function on(e){void 0===e&&(e=document);var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}var an={highlightedIndex:-1,isOpen:!1,selectedItem:null};function cn(e,t){var n=void 0===t?{}:t,r=n.id,o=n.labelId,a=n.menuId,i=n.getItemId,c=n.toggleButtonId,s=void 0===r?"downshift-"+e():r;return{labelId:o||s+"-label",menuId:a||s+"-menu",getItemId:i||function(e){return s+"-item-"+e},toggleButtonId:c||s+"-toggle-button"}}function sn(e,t,n){return void 0!==e?e:0===n.length?-1:n.indexOf(t)}function ln(e){return/^\S{1}$/.test(e)}function un(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function dn(e,t,n){Object.keys(t).forEach((function(r){!function(e,t,n,r){var o="on"+un(e)+"Change";t[o]&&void 0!==r[e]&&r[e]!==n[e]&&t[o](r)}(r,e,t,n)})),e.onStateChange&&void 0!==n&&e.onStateChange(n)}function fn(e,t,n){var r=Object(B.useRef)(),o=Object(B.useCallback)((function(t,n){t=Xt(t,n.props);var r=n.props.stateReducer,o=e(t,n);return r(t,Object(a.a)({},n,{changes:o}))}),[e]),i=Object(B.useReducer)(o,t),c=i[0],s=i[1];return Object(B.useEffect)((function(){r.current&&dn(n,r.current,c),r.current=c}),[c,n]),[Xt(c,n),s]}var hn=0,pn=function(){return++hn};function bn(){var e=Object(B.useState)(null),t=e[0],n=e[1];return Object(B.useEffect)((function(){return n(pn())}),[]),t}function vn(e,t){return!!t&&(e.relatedTarget===t||e.nativeEvent&&(t===e.nativeEvent.explicitOriginalTarget||t.contains(e.nativeEvent.explicitOriginalTarget)))}var mn={itemToString:function(e){return e?String(e):""},stateReducer:function(e,t){return t.changes},getA11yStatusMessage:function(e){var t=e.isOpen,n=e.items;if(!n)return"";var r=n.length;return t?0===r?"No results are available":r+" result"+(1===r?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":""},getA11ySelectionMessage:function(e){var t=e.selectedItem;return(0,e.itemToString)(t)+" has been selected."},scrollIntoView:Gt,circularNavigation:!1,environment:"undefined"==typeof window?{}:window};function yn(e,t,n){var r="default"+un(t);return r in e?e[r]:Object(a.a)({},an,{},n)[t]}function gn(e,t,n){if(t in e)return e[t];var r="initial"+un(t);return r in e?e[r]:yn(e,t,n)}function On(e,t,n,r){var o=e.items,a=e.initialHighlightedIndex,i=e.defaultHighlightedIndex,c=t.selectedItem,s=t.highlightedIndex;return void 0!==a&&s===a?a:void 0!==i?i:c?0===n?o.indexOf(c):en(n,o.indexOf(c),o.length,r,!1):0===n?-1:n<0?o.length-1:0}var kn={keysSoFar:""};function _n(e,t){return yn(e,t,kn)}function wn(e,t){return gn(e,t,kn)}function jn(e,t,n,r,o){for(var a=n.map((function(e){return r(e).toLowerCase()})),i=e.toLowerCase(),c=function(e,t){var n=o(t);return e.startsWith(i)&&!(n&&n.hasAttribute("disabled"))},s=t+1;s=0&&{selectedItem:o.items[e.highlightedIndex]});break;case zn:var c=t.key,s=""+e.keysSoFar+c,l=jn(s,e.highlightedIndex,o.items,o.itemToString,t.getItemNodeFromIndex);n=Object(a.a)({keysSoFar:s},l>=0&&{highlightedIndex:l});break;case Tn:n={highlightedIndex:-1};break;case Rn:var u=t.key,d=""+e.keysSoFar+u,f=jn(d,e.selectedItem?o.items.indexOf(e.selectedItem):-1,o.items,o.itemToString,t.getItemNodeFromIndex);n=Object(a.a)({keysSoFar:d},f>=0&&{selectedItem:o.items[f]});break;case Hn:n={isOpen:!0,highlightedIndex:On(o,e,1,t.getItemNodeFromIndex)};break;case Ln:n={isOpen:!0,highlightedIndex:On(o,e,-1,t.getItemNodeFromIndex)};break;case Fn:case Vn:n={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:On(o,e,0)};break;case Bn:n={isOpen:!0,highlightedIndex:On(o,e,0)};break;case Kn:n={isOpen:!1};break;case Wn:n={highlightedIndex:t.highlightedIndex};break;case Un:n={selectedItem:t.selectedItem};break;case $n:n={keysSoFar:""};break;case Gn:n={highlightedIndex:_n(o,"highlightedIndex"),isOpen:_n(o,"isOpen"),selectedItem:_n(o,"selectedItem")};break;default:throw new Error("Reducer called without proper action type.")}return Object(a.a)({},e,{},n)}function Zn(e){void 0===e&&(e={});var t=Object(a.a)({},mn,{},e),n=t.items,r=t.itemToString,o=t.getA11yStatusMessage,i=t.getA11ySelectionMessage,c=t.initialIsOpen,s=t.defaultIsOpen,l=t.scrollIntoView,u=t.environment,d=fn(Yn,function(e){var t=wn(e,"selectedItem"),n=wn(e,"isOpen"),r=wn(e,"highlightedIndex");return{highlightedIndex:r<0&&t?e.items.indexOf(t):r,isOpen:n,selectedItem:t,keysSoFar:""}}(t),t),f=d[0],h=f.isOpen,p=f.highlightedIndex,b=f.selectedItem,v=f.keysSoFar,m=d[1],y=function(e){return m(Object(a.a)({props:t},e))},g=cn(bn,t),O=g.labelId,k=g.getItemId,_=g.menuId,w=g.toggleButtonId,j=Object(B.useRef)(null),D=Object(B.useRef)(null),S=Object(B.useRef)();S.current=[];var C=Object(B.useRef)(!0),M=Object(B.useRef)(!0),P=Object(B.useRef)(null);Object(B.useEffect)((function(){C.current||rn(o({isOpen:h,items:n,selectedItem:b,itemToString:r}),u.document)}),[h]),Object(B.useEffect)((function(){C.current||rn(i({isOpen:h,items:n,selectedItem:b,itemToString:r}),u.document)}),[b]),Object(B.useEffect)((function(){C.current&&(P.current=qt((function(){y({type:$n})}),500)),v&&P.current()}),[v]),Object(B.useEffect)((function(){C.current?(c||s||h)&&D.current.focus():h?D.current.focus():u.document.activeElement===D.current&&j.current.focus()}),[h]),Object(B.useEffect)((function(){p<0||!h||!S.current.length||(!1===M.current?M.current=!0:l(S.current[p],D.current))}),[p]),Object(B.useEffect)((function(){C.current=!1}),[]);var E=function(e){return S.current[e]},x={ArrowDown:function(e){e.preventDefault(),y({type:Dn,shiftKey:e.shiftKey,getItemNodeFromIndex:E})},ArrowUp:function(e){e.preventDefault(),y({type:Sn,shiftKey:e.shiftKey,getItemNodeFromIndex:E})},Home:function(e){e.preventDefault(),y({type:Mn,getItemNodeFromIndex:E})},End:function(e){e.preventDefault(),y({type:Pn,getItemNodeFromIndex:E})},Escape:function(){y({type:Cn})},Enter:function(e){e.preventDefault(),y({type:En})}," ":function(e){e.preventDefault(),y({type:xn})},Tab:function(e){e.shiftKey&&y({type:In})}},z={ArrowDown:function(e){e.preventDefault(),y({type:Hn,getItemNodeFromIndex:E})},ArrowUp:function(e){e.preventDefault(),y({type:Ln,getItemNodeFromIndex:E})}},I=function(e){var t=Jt(e);t&&x[t]?x[t](e):ln(t)&&y({type:zn,key:t,getItemNodeFromIndex:E})},T=function(e){vn(e,j.current)||y({type:In})},N=function(){y({type:Tn})},A=function(){y({type:Fn})},R=function(e){var t=Jt(e);t&&z[t]?z[t](e):ln(t)&&y({type:Rn,key:t,getItemNodeFromIndex:E})};return{getToggleButtonProps:function(e){var t,n=void 0===e?{}:e,r=n.onClick,o=n.onKeyDown,i=n.refKey,c=void 0===i?"ref":i,s=n.ref,l=Object(Lt.a)(n,["onClick","onKeyDown","refKey","ref"]),u=Object(a.a)(((t={})[c]=Zt(s,(function(e){j.current=e})),t.id=w,t["aria-haspopup"]="listbox",t["aria-expanded"]=h,t["aria-labelledby"]=O+" "+w,t),l);return l.disabled||(u.onClick=Yt(r,A),u.onKeyDown=Yt(o,R)),u},getLabelProps:function(e){return Object(a.a)({id:O,htmlFor:w},e)},getMenuProps:function(e){var t,n=void 0===e?{}:e,r=n.onKeyDown,o=n.onBlur,i=n.onMouseLeave,c=n.refKey,s=void 0===c?"ref":c,l=n.ref,u=Object(Lt.a)(n,["onKeyDown","onBlur","onMouseLeave","refKey","ref"]);return Object(a.a)(((t={})[s]=Zt(l,(function(e){D.current=e})),t.id=_,t.role="listbox",t["aria-labelledby"]=O,t.tabIndex=-1,t),p>-1&&{"aria-activedescendant":k(p)},{onKeyDown:Yt(r,I),onBlur:Yt(o,T),onMouseLeave:Yt(i,N)},u)},getItemProps:function(e){var t,r=void 0===e?{}:e,o=r.item,i=r.index,c=r.refKey,s=void 0===c?"ref":c,l=r.ref,u=r.onMouseMove,d=r.onClick,f=Object(Lt.a)(r,["item","index","refKey","ref","onMouseMove","onClick"]),h=sn(i,o,n);if(h<0)throw new Error("Pass either item or item index in getItemProps!");var b=Object(a.a)(((t={})[s]=Zt(l,(function(e){e&&S.current.push(e)})),t.role="option",t),h===p&&{"aria-selected":!0},{id:k(h)},f);return f.disabled||(b.onMouseMove=Yt(u,(function(){return function(e){e!==p&&(M.current=!1,y({type:Nn,index:e}))}(h)})),b.onClick=Yt(d,(function(){return function(e){y({type:An,index:e})}(h)}))),b},toggleMenu:function(){y({type:Vn})},openMenu:function(){y({type:Bn})},closeMenu:function(){y({type:Kn})},setHighlightedIndex:function(e){y({type:Wn,highlightedIndex:e})},selectItem:function(e){y({type:Un,selectedItem:e})},reset:function(){y({type:Gn})},highlightedIndex:p,isOpen:h,selectedItem:b}}Zn.stateChangeTypes=qn;Vt.a.array.isRequired,Vt.a.func,Vt.a.func,Vt.a.func,Vt.a.bool,Vt.a.number,Vt.a.number,Vt.a.number,Vt.a.bool,Vt.a.bool,Vt.a.bool,Vt.a.any,Vt.a.any,Vt.a.any,Vt.a.string,Vt.a.string,Vt.a.string,Vt.a.string,Vt.a.string,Vt.a.string,Vt.a.func,Vt.a.string,Vt.a.string,Vt.a.func,Vt.a.func,Vt.a.func,Vt.a.func,Vt.a.func,Vt.a.func,Vt.a.shape({addEventListener:Vt.a.func,removeEventListener:Vt.a.func,document:Vt.a.shape({getElementById:Vt.a.func,activeElement:Vt.a.any,body:Vt.a.any})}),Object(a.a)({},mn,{circularNavigation:!0});var Xn=n(85),Qn=function(e){return e&&e.name},Jn=function(e,t){var n=e.selectedItem,r=t.type,o=t.changes,a=t.props.items;switch(r){case Zn.stateChangeTypes.ToggleButtonKeyDownArrowDown:return{selectedItem:a[n?Math.min(a.indexOf(n)+1,a.length-1):0]};case Zn.stateChangeTypes.ToggleButtonKeyDownArrowUp:return{selectedItem:a[n?Math.max(a.indexOf(n)-1,0):a.length-1]};default:return o}};function er(e){var t=e.className,n=e.hideLabelFromVision,r=e.label,o=e.options,a=e.onChange,i=e.value,s=Zn({initialSelectedItem:o[0],items:o,itemToString:Qn,onSelectedItemChange:a,selectedItem:i,stateReducer:Jn}),l=s.getLabelProps,u=s.getToggleButtonProps,f=s.getMenuProps,h=s.getItemProps,p=s.isOpen,b=s.highlightedIndex,v=s.selectedItem,m=f({className:"components-custom-select-control__menu"});return m["aria-activedescendant"]&&"downshift-null"===m["aria-activedescendant"].slice(0,"downshift-null".length)&&delete m["aria-activedescendant"],Object(c.createElement)("div",{className:d()("components-custom-select-control",t)},Object(c.createElement)("label",l({className:d()("components-custom-select-control__label",{"screen-reader-text":n})}),r),Object(c.createElement)(P.a,u({"aria-label":r,"aria-labelledby":void 0,className:"components-custom-select-control__button",isSmall:!0}),Qn(v),Object(c.createElement)(Xn.a,{icon:"arrow-down-alt2",className:"components-custom-select-control__button-icon"})),Object(c.createElement)("ul",m,p&&o.map((function(e,t){return Object(c.createElement)("li",h({item:e,index:t,key:e.key,className:d()("components-custom-select-control__item",{"is-highlighted":t===b}),style:e.style}),e===v&&Object(c.createElement)(ct.a,{icon:st.a,className:"components-custom-select-control__item-icon"}),e.name)}))))}n(283);var tr=n(30),nr=n.n(tr),rr=n(263),or=function(e){function t(){var e;return Object(g.a)(this,t),(e=Object(O.a)(this,Object(k.a)(t).apply(this,arguments))).onChangeMoment=e.onChangeMoment.bind(Object(_.a)(e)),e.nodeRef=Object(c.createRef)(),e.keepFocusInside=e.keepFocusInside.bind(Object(_.a)(e)),e}return Object(j.a)(t,e),Object(w.a)(t,[{key:"keepFocusInside",value:function(){if(this.nodeRef.current&&(!document.activeElement||!this.nodeRef.current.contains(document.activeElement))){var e=this.nodeRef.current.querySelector(".DayPicker_focusRegion");if(!e)return;e.focus()}}},{key:"onChangeMoment",value:function(e){var t=this.props,n=t.currentDate,r=t.onChange,o=n?nr()(n):nr()(),a={hours:o.hours(),minutes:o.minutes(),seconds:0};r(e.set(a).format("YYYY-MM-DDTHH:mm:ss"))}},{key:"getMomentDate",value:function(e){return null===e?null:e?nr()(e):nr()()}},{key:"render",value:function(){var e=this.props,t=e.currentDate,n=e.isInvalidDate,r=this.getMomentDate(t);return Object(c.createElement)("div",{className:"components-datetime__date",ref:this.nodeRef},Object(c.createElement)(rr.DayPickerSingleDateController,{date:r,daySize:30,focused:!0,hideKeyboardShortcutsPanel:!0,key:"datepicker-controller-".concat(r?r.format("MM-YYYY"):"null"),noBorder:!0,numberOfMonths:1,onDateChange:this.onChangeMoment,transitionDuration:0,weekDayFormat:"ddd",isRTL:"rtl"===document.documentElement.dir,isOutsideRange:function(e){return n&&n(e.toDate())},onPrevMonthClick:this.keepFocusInside,onNextMonthClick:this.keepFocusInside}))}}]),t}(c.Component),ar=function(e){function t(){var e;return Object(g.a)(this,t),(e=Object(O.a)(this,Object(k.a)(t).apply(this,arguments))).state={day:"",month:"",year:"",hours:"",minutes:"",am:!0,date:null},e.changeDate=e.changeDate.bind(Object(_.a)(e)),e.updateMonth=e.updateMonth.bind(Object(_.a)(e)),e.onChangeMonth=e.onChangeMonth.bind(Object(_.a)(e)),e.updateDay=e.updateDay.bind(Object(_.a)(e)),e.onChangeDay=e.onChangeDay.bind(Object(_.a)(e)),e.updateYear=e.updateYear.bind(Object(_.a)(e)),e.onChangeYear=e.onChangeYear.bind(Object(_.a)(e)),e.updateHours=e.updateHours.bind(Object(_.a)(e)),e.updateMinutes=e.updateMinutes.bind(Object(_.a)(e)),e.onChangeHours=e.onChangeHours.bind(Object(_.a)(e)),e.onChangeMinutes=e.onChangeMinutes.bind(Object(_.a)(e)),e.renderMonth=e.renderMonth.bind(Object(_.a)(e)),e.renderDay=e.renderDay.bind(Object(_.a)(e)),e.renderDayMonthFormat=e.renderDayMonthFormat.bind(Object(_.a)(e)),e}return Object(j.a)(t,e),Object(w.a)(t,[{key:"componentDidMount",value:function(){this.syncState(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.currentTime,r=t.is12Hour;n===e.currentTime&&r===e.is12Hour||this.syncState(this.props)}},{key:"changeDate",value:function(e){var t=e.clone().startOf("minute");this.setState({date:t}),this.props.onChange(e.format("YYYY-MM-DDTHH:mm:ss"))}},{key:"getMaxHours",value:function(){return this.props.is12Hour?12:23}},{key:"getMinHours",value:function(){return this.props.is12Hour?1:0}},{key:"syncState",value:function(e){var t=e.currentTime,n=e.is12Hour,r=t?nr()(t):nr()(),o=r.format("DD"),a=r.format("MM"),i=r.format("YYYY"),c=r.format("mm"),s=r.format("A"),l=r.format(n?"hh":"HH"),u=t?nr()(t):nr()();this.setState({day:o,month:a,year:i,minutes:c,hours:l,am:s,date:u})}},{key:"updateHours",value:function(){var e=this.props.is12Hour,t=this.state,n=t.am,r=t.hours,o=t.date,a=parseInt(r,10);if(!Object(S.isInteger)(a)||e&&(a<1||a>12)||!e&&(a<0||a>23))this.syncState(this.props);else{var i=e?o.clone().hours("AM"===n?a%12:(a%12+12)%24):o.clone().hours(a);this.changeDate(i)}}},{key:"updateMinutes",value:function(){var e=this.state,t=e.minutes,n=e.date,r=parseInt(t,10);if(!Object(S.isInteger)(r)||r<0||r>59)this.syncState(this.props);else{var o=n.clone().minutes(r);this.changeDate(o)}}},{key:"updateDay",value:function(){var e=this.state,t=e.day,n=e.date,r=parseInt(t,10);if(!Object(S.isInteger)(r)||r<1||r>31)this.syncState(this.props);else{var o=n.clone().date(r);this.changeDate(o)}}},{key:"updateMonth",value:function(){var e=this.state,t=e.month,n=e.date,r=parseInt(t,10);if(!Object(S.isInteger)(r)||r<1||r>12)this.syncState(this.props);else{var o=n.clone().month(r-1);this.changeDate(o)}}},{key:"updateYear",value:function(){var e=this.state,t=e.year,n=e.date,r=parseInt(t,10);if(!Object(S.isInteger)(r)||r<0||r>9999)this.syncState(this.props);else{var o=n.clone().year(r);this.changeDate(o)}}},{key:"updateAmPm",value:function(e){var t=this;return function(){var n,r=t.state,o=r.am,a=r.date,i=r.hours;o!==e&&(n="PM"===e?a.clone().hours((parseInt(i,10)%12+12)%24):a.clone().hours(parseInt(i,10)%12),t.changeDate(n))}}},{key:"onChangeDay",value:function(e){this.setState({day:e.target.value})}},{key:"onChangeMonth",value:function(e){this.setState({month:e.target.value})}},{key:"onChangeYear",value:function(e){this.setState({year:e.target.value})}},{key:"onChangeHours",value:function(e){this.setState({hours:e.target.value})}},{key:"onChangeMinutes",value:function(e){var t=e.target.value;this.setState({minutes:""===t?"":("0"+t).slice(-2)})}},{key:"renderMonth",value:function(e){return Object(c.createElement)("div",{key:"render-month",className:"components-datetime__time-field components-datetime__time-field-month"},Object(c.createElement)("select",{"aria-label":Object(l.__)("Month"),className:"components-datetime__time-field-month-select",value:e,onChange:this.onChangeMonth,onBlur:this.updateMonth},Object(c.createElement)("option",{value:"01"},Object(l.__)("January")),Object(c.createElement)("option",{value:"02"},Object(l.__)("February")),Object(c.createElement)("option",{value:"03"},Object(l.__)("March")),Object(c.createElement)("option",{value:"04"},Object(l.__)("April")),Object(c.createElement)("option",{value:"05"},Object(l.__)("May")),Object(c.createElement)("option",{value:"06"},Object(l.__)("June")),Object(c.createElement)("option",{value:"07"},Object(l.__)("July")),Object(c.createElement)("option",{value:"08"},Object(l.__)("August")),Object(c.createElement)("option",{value:"09"},Object(l.__)("September")),Object(c.createElement)("option",{value:"10"},Object(l.__)("October")),Object(c.createElement)("option",{value:"11"},Object(l.__)("November")),Object(c.createElement)("option",{value:"12"},Object(l.__)("December"))))}},{key:"renderDay",value:function(e){return Object(c.createElement)("div",{key:"render-day",className:"components-datetime__time-field components-datetime__time-field-day"},Object(c.createElement)("input",{"aria-label":Object(l.__)("Day"),className:"components-datetime__time-field-day-input",type:"number",value:e,step:1,min:1,onChange:this.onChangeDay,onBlur:this.updateDay}))}},{key:"renderDayMonthFormat",value:function(e){var t=this.state,n=t.day,r=t.month,o=[this.renderDay(n),this.renderMonth(r)];return e?o:o.reverse()}},{key:"render",value:function(){var e=this.props.is12Hour,t=this.state,n=t.year,r=t.minutes,o=t.hours,a=t.am;return Object(c.createElement)("div",{className:d()("components-datetime__time")},Object(c.createElement)("fieldset",null,Object(c.createElement)("legend",{className:"components-datetime__time-legend invisible"},Object(l.__)("Date")),Object(c.createElement)("div",{className:"components-datetime__time-wrapper"},this.renderDayMonthFormat(e),Object(c.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-year"},Object(c.createElement)("input",{"aria-label":Object(l.__)("Year"),className:"components-datetime__time-field-year-input",type:"number",step:1,value:n,onChange:this.onChangeYear,onBlur:this.updateYear})))),Object(c.createElement)("fieldset",null,Object(c.createElement)("legend",{className:"components-datetime__time-legend invisible"},Object(l.__)("Time")),Object(c.createElement)("div",{className:"components-datetime__time-wrapper"},Object(c.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-time"},Object(c.createElement)("input",{"aria-label":Object(l.__)("Hours"),className:"components-datetime__time-field-hours-input",type:"number",step:1,min:this.getMinHours(),max:this.getMaxHours(),value:o,onChange:this.onChangeHours,onBlur:this.updateHours}),Object(c.createElement)("span",{className:"components-datetime__time-separator","aria-hidden":"true"},":"),Object(c.createElement)("input",{"aria-label":Object(l.__)("Minutes"),className:"components-datetime__time-field-minutes-input",type:"number",min:0,max:59,value:r,onChange:this.onChangeMinutes,onBlur:this.updateMinutes})),e&&Object(c.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-am-pm"},Object(c.createElement)(P.a,{isSecondary:!0,className:"components-datetime__time-am-button",isPressed:"AM"===a,onClick:this.updateAmPm("AM")},Object(l.__)("AM")),Object(c.createElement)(P.a,{isSecondary:!0,className:"components-datetime__time-pm-button",isPressed:"PM"===a,onClick:this.updateAmPm("PM")},Object(l.__)("PM"))))))}}]),t}(c.Component),ir=function(e){function t(){var e;return Object(g.a)(this,t),(e=Object(O.a)(this,Object(k.a)(t).apply(this,arguments))).state={calendarHelpIsVisible:!1},e.onClickDescriptionToggle=e.onClickDescriptionToggle.bind(Object(_.a)(e)),e}return Object(j.a)(t,e),Object(w.a)(t,[{key:"onClickDescriptionToggle",value:function(){this.setState({calendarHelpIsVisible:!this.state.calendarHelpIsVisible})}},{key:"render",value:function(){var e=this.props,t=e.currentDate,n=e.is12Hour,r=e.isInvalidDate,o=e.onChange;return Object(c.createElement)("div",{className:"components-datetime"},!this.state.calendarHelpIsVisible&&Object(c.createElement)(c.Fragment,null,Object(c.createElement)(ar,{currentTime:t,onChange:o,is12Hour:n}),Object(c.createElement)(or,{currentDate:t,onChange:o,isInvalidDate:r})),this.state.calendarHelpIsVisible&&Object(c.createElement)(c.Fragment,null,Object(c.createElement)("div",{className:"components-datetime__calendar-help"},Object(c.createElement)("h4",null,Object(l.__)("Click to Select")),Object(c.createElement)("ul",null,Object(c.createElement)("li",null,Object(l.__)("Click the right or left arrows to select other months in the past or the future.")),Object(c.createElement)("li",null,Object(l.__)("Click the desired day to select it."))),Object(c.createElement)("h4",null,Object(l.__)("Navigating with a keyboard")),Object(c.createElement)("ul",null,Object(c.createElement)("li",null,Object(c.createElement)("abbr",{"aria-label":Object(l._x)("Enter","keyboard button")},"↵")," ",Object(c.createElement)("span",null,Object(l.__)("Select the date in focus."))),Object(c.createElement)("li",null,Object(c.createElement)("abbr",{"aria-label":Object(l.__)("Left and Right Arrows")},"←/→")," ",Object(l.__)("Move backward (left) or forward (right) by one day.")),Object(c.createElement)("li",null,Object(c.createElement)("abbr",{"aria-label":Object(l.__)("Up and Down Arrows")},"↑/↓")," ",Object(l.__)("Move backward (up) or forward (down) by one week.")),Object(c.createElement)("li",null,Object(c.createElement)("abbr",{"aria-label":Object(l.__)("Page Up and Page Down")},Object(l.__)("PgUp/PgDn"))," ",Object(l.__)("Move backward (PgUp) or forward (PgDn) by one month.")),Object(c.createElement)("li",null,Object(c.createElement)("abbr",{"aria-label":Object(l.__)("Home and End")},Object(l.__)("Home/End"))," ",Object(l.__)("Go to the first (home) or last (end) day of a week."))),Object(c.createElement)(P.a,{isSmall:!0,onClick:this.onClickDescriptionToggle},Object(l.__)("Close")))),!this.state.calendarHelpIsVisible&&Object(c.createElement)(P.a,{className:"components-datetime__date-help-button",isLink:!0,onClick:this.onClickDescriptionToggle},Object(l.__)("Calendar Help")))}}]),t}(c.Component),cr=n(84);function sr(e){var t=e.help,n=e.label,r=e.multiple,o=void 0!==r&&r,l=e.onChange,u=e.options,d=void 0===u?[]:u,f=e.className,h=e.hideLabelFromVision,p=Object(i.a)(e,["help","label","multiple","onChange","options","className","hideLabelFromVision"]),b=Object(s.useInstanceId)(sr),m="inspector-select-control-".concat(b);return!Object(S.isEmpty)(d)&&Object(c.createElement)(v,{label:n,hideLabelFromVision:h,id:m,help:t,className:f},Object(c.createElement)("select",Object(a.a)({id:m,className:"components-select-control__input",onChange:function(e){if(o){var t=Object(D.a)(e.target.options).filter((function(e){return e.selected})).map((function(e){return e.value}));l(t)}else l(e.target.value)},"aria-describedby":t?"".concat(m,"__help"):void 0,multiple:o},p),d.map((function(e,t){return Object(c.createElement)("option",{key:"".concat(e.label,"-").concat(e.value,"-").concat(t),value:e.value,disabled:e.disabled},e.label)}))))}var lr=function(e,t){return e.find((function(e){return t===e.slug}))},ur=[{name:Object(l.__)("None"),slug:"none"},{name:Object(l.__)("Small"),slug:"small"},{name:Object(l.__)("Medium"),slug:"medium"},{name:Object(l.__)("Large"),slug:"large"},{name:Object(l.__)("Extra Large"),slug:"xlarge"}];var dr=function(e){var t,n,r=e.label,o=e.value,a=e.sizes,i=void 0===a?ur:a,s=e.icon,u=e.onChange,f=e.className,h=void 0===f?"":f,p=Object(c.createElement)(c.Fragment,null,s&&Object(c.createElement)(cr.a,{icon:s}),r);return Object(c.createElement)(sr,{className:d()(h,"block-editor-dimension-control"),label:p,hideLabelFromVision:!1,value:o,onChange:function(e){var t=lr(i,e);t&&o!==t.slug?Object(S.isFunction)(u)&&u(t.slug):u(void 0)},options:(t=i,n=t.map((function(e){return{label:e.name,value:e.slug}})),[{label:Object(l.__)("Default"),value:""}].concat(n))})},fr=n(27),hr=Object(c.createContext)(!1),pr=hr.Consumer,br=hr.Provider,vr=["BUTTON","FIELDSET","INPUT","OPTGROUP","OPTION","SELECT","TEXTAREA"],mr=function(e){function t(){var e;return Object(g.a)(this,t),(e=Object(O.a)(this,Object(k.a)(t).apply(this,arguments))).bindNode=e.bindNode.bind(Object(_.a)(e)),e.disable=e.disable.bind(Object(_.a)(e)),e.debouncedDisable=Object(S.debounce)(e.disable,{leading:!0}),e}return Object(j.a)(t,e),Object(w.a)(t,[{key:"componentDidMount",value:function(){this.disable(),this.observer=new window.MutationObserver(this.debouncedDisable),this.observer.observe(this.node,{childList:!0,attributes:!0,subtree:!0})}},{key:"componentWillUnmount",value:function(){this.observer.disconnect(),this.debouncedDisable.cancel()}},{key:"bindNode",value:function(e){this.node=e}},{key:"disable",value:function(){fr.focus.focusable.find(this.node).forEach((function(e){Object(S.includes)(vr,e.nodeName)&&e.setAttribute("disabled",""),e.hasAttribute("tabindex")&&e.removeAttribute("tabindex"),e.hasAttribute("contenteditable")&&e.setAttribute("contenteditable","false")}))}},{key:"render",value:function(){var e=this.props,t=e.className,n=Object(i.a)(e,["className"]);return Object(c.createElement)(br,{value:!0},Object(c.createElement)("div",Object(a.a)({ref:this.bindNode,className:d()(t,"components-disabled")},n),this.props.children))}}]),t}(c.Component);mr.Consumer=pr;var yr=mr,gr=function(e){function t(){var e;return Object(g.a)(this,t),(e=Object(O.a)(this,Object(k.a)(t).apply(this,arguments))).onDragStart=e.onDragStart.bind(Object(_.a)(e)),e.onDragOver=e.onDragOver.bind(Object(_.a)(e)),e.onDragEnd=e.onDragEnd.bind(Object(_.a)(e)),e.resetDragState=e.resetDragState.bind(Object(_.a)(e)),e}return Object(j.a)(t,e),Object(w.a)(t,[{key:"componentWillUnmount",value:function(){this.resetDragState()}},{key:"onDragEnd",value:function(e){var t=this.props.onDragEnd,n=void 0===t?S.noop:t;e.preventDefault(),this.resetDragState(),this.props.setTimeout(n)}},{key:"onDragOver",value:function(e){this.cloneWrapper.style.top="".concat(parseInt(this.cloneWrapper.style.top,10)+e.clientY-this.cursorTop,"px"),this.cloneWrapper.style.left="".concat(parseInt(this.cloneWrapper.style.left,10)+e.clientX-this.cursorLeft,"px"),this.cursorLeft=e.clientX,this.cursorTop=e.clientY}},{key:"onDragStart",value:function(e){var t=this.props,n=t.elementId,r=t.transferData,o=t.onDragStart,a=void 0===o?S.noop:o,i=document.getElementById(n);if(i){if("function"==typeof e.dataTransfer.setDragImage){var c=document.createElement("div");c.id="drag-image-".concat(n),c.classList.add("components-draggable__invisible-drag-image"),document.body.appendChild(c),e.dataTransfer.setDragImage(c,0,0),this.props.setTimeout((function(){document.body.removeChild(c)}))}e.dataTransfer.setData("text",JSON.stringify(r));var s=i.getBoundingClientRect(),l=i.parentNode,u=parseInt(s.top,10),d=parseInt(s.left,10),f=i.cloneNode(!0);f.id="clone-".concat(n),this.cloneWrapper=document.createElement("div"),this.cloneWrapper.classList.add("components-draggable__clone"),this.cloneWrapper.style.width="".concat(s.width+40,"px"),s.height>700?(this.cloneWrapper.style.transform="scale(0.5)",this.cloneWrapper.style.transformOrigin="top left",this.cloneWrapper.style.top="".concat(e.clientY-100,"px"),this.cloneWrapper.style.left="".concat(e.clientX,"px")):(this.cloneWrapper.style.top="".concat(u-20,"px"),this.cloneWrapper.style.left="".concat(d-20,"px")),Array.from(f.querySelectorAll("iframe")).forEach((function(e){return e.parentNode.removeChild(e)})),this.cloneWrapper.appendChild(f),l.appendChild(this.cloneWrapper),this.cursorLeft=e.clientX,this.cursorTop=e.clientY,document.body.classList.add("is-dragging-components-draggable"),document.addEventListener("dragover",this.onDragOver),this.props.setTimeout(a)}else e.preventDefault()}},{key:"resetDragState",value:function(){document.removeEventListener("dragover",this.onDragOver),this.cloneWrapper&&this.cloneWrapper.parentNode&&(this.cloneWrapper.parentNode.removeChild(this.cloneWrapper),this.cloneWrapper=null),document.body.classList.remove("is-dragging-components-draggable")}},{key:"render",value:function(){return(0,this.props.children)({onDraggableStart:this.onDragStart,onDraggableEnd:this.onDragEnd})}}]),t}(c.Component),Or=Object(s.withSafeTimeout)(gr),kr=n(22),_r=n(50),wr=n.n(_r),jr=Object(c.createContext)({addDropZone:function(){},removeDropZone:function(){}}),Dr=jr.Provider,Sr=jr.Consumer,Cr=function(e){var t=e.dataTransfer;if(t){if(Object(S.includes)(t.types,"Files"))return"file";if(Object(S.includes)(t.types,"text/html"))return"html"}return"default"},Mr=function(e,t){return"file"===e&&t.onFilesDrop||"html"===e&&t.onHTMLDrop||"default"===e&&t.onDrop},Pr=function(e){function t(){var e;return Object(g.a)(this,t),(e=Object(O.a)(this,Object(k.a)(t).apply(this,arguments))).onDragOver=e.onDragOver.bind(Object(_.a)(e)),e.onDrop=e.onDrop.bind(Object(_.a)(e)),e.addDropZone=e.addDropZone.bind(Object(_.a)(e)),e.removeDropZone=e.removeDropZone.bind(Object(_.a)(e)),e.resetDragState=e.resetDragState.bind(Object(_.a)(e)),e.toggleDraggingOverDocument=Object(S.throttle)(e.toggleDraggingOverDocument.bind(Object(_.a)(e)),200),e.dropZones=[],e.dropZoneCallbacks={addDropZone:e.addDropZone,removeDropZone:e.removeDropZone},e.state={hoveredDropZone:-1,isDraggingOverDocument:!1,position:null},e}return Object(j.a)(t,e),Object(w.a)(t,[{key:"componentDidMount",value:function(){window.addEventListener("dragover",this.onDragOver),window.addEventListener("mouseup",this.resetDragState)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragover",this.onDragOver),window.removeEventListener("mouseup",this.resetDragState)}},{key:"addDropZone",value:function(e){this.dropZones.push(e)}},{key:"removeDropZone",value:function(e){this.dropZones=Object(S.filter)(this.dropZones,(function(t){return t!==e}))}},{key:"resetDragState",value:function(){this.toggleDraggingOverDocument.cancel();var e=this.state,t=e.isDraggingOverDocument,n=e.hoveredDropZone;(t||-1!==n)&&(this.setState({hoveredDropZone:-1,isDraggingOverDocument:!1,position:null}),this.dropZones.forEach((function(e){return e.setState({isDraggingOverDocument:!1,isDraggingOverElement:!1,position:null,type:null})})))}},{key:"toggleDraggingOverDocument",value:function(e,t){var n=this,r=window.CustomEvent&&e instanceof window.CustomEvent?e.detail:e,o=Object(S.filter)(this.dropZones,(function(e){return Mr(t,e)&&(n=e.element.current,o=r.clientX,a=r.clientY,(i=n.getBoundingClientRect()).bottom!==i.top&&i.left!==i.right&&o>=i.left&&o<=i.right&&a>=i.top&&a<=i.bottom);var n,o,a,i})),a=Object(S.find)(o,(function(e){return!Object(S.some)(o,(function(t){return t!==e&&e.element.current.parentElement.contains(t.element.current)}))})),i=this.dropZones.indexOf(a),c=null;a&&a.withPosition&&(c={x:r.clientX,y:r.clientY});var s=[];this.state.isDraggingOverDocument?i!==this.state.hoveredDropZone?(-1!==this.state.hoveredDropZone&&s.push(this.dropZones[this.state.hoveredDropZone]),a&&s.push(a)):a&&i===this.state.hoveredDropZone&&!Object(S.isEqual)(c,this.state.position)&&s.push(a):s=this.dropZones,s.forEach((function(e){var r=n.dropZones.indexOf(e)===i;e.setState({isDraggingOverDocument:Mr(t,e),isDraggingOverElement:r,position:r?c:null,type:r?t:null})}));var l={isDraggingOverDocument:!0,hoveredDropZone:i,position:c};wr()(l,this.state)||this.setState(l)}},{key:"onDragOver",value:function(e){this.toggleDraggingOverDocument(e,Cr(e)),e.preventDefault()}},{key:"onDrop",value:function(e){e.dataTransfer&&e.dataTransfer.files.length;var t=this.state,n=t.position,r=t.hoveredDropZone,o=Cr(e),a=this.dropZones[r];if(this.resetDragState(),a)switch(o){case"file":a.onFilesDrop(Object(D.a)(e.dataTransfer.files),n);break;case"html":a.onHTMLDrop(e.dataTransfer.getData("text/html"),n);break;case"default":a.onDrop(e,n)}e.stopPropagation(),e.preventDefault()}},{key:"render",value:function(){return Object(c.createElement)("div",{onDrop:this.onDrop,className:"components-drop-zone__provider"},Object(c.createElement)(Dr,{value:this.dropZoneCallbacks},this.props.children))}}]),t}(c.Component);function Er(e){var t=e.element,n=e.onFilesDrop,r=e.onHTMLDrop,o=e.onDrop,a=e.isDisabled,i=e.withPosition,s=Object(c.useContext)(jr),l=s.addDropZone,u=s.removeDropZone,d=Object(c.useState)({isDraggingOverDocument:!1,isDraggingOverElement:!1,type:null}),f=Object(kr.a)(d,2),h=f[0],p=f[1];return Object(c.useEffect)((function(){if(!a){var e={element:t,onDrop:o,onFilesDrop:n,onHTMLDrop:r,setState:p,withPosition:i};return l(e),function(){u(e)}}}),[a,o,n,r,i]),h}function xr(e){var t,n=e.className,r=e.label,o=e.onFilesDrop,a=e.onHTMLDrop,i=e.onDrop,s=Object(c.useRef)(),u=Er({element:s,onFilesDrop:o,onHTMLDrop:a,onDrop:i}),h=u.isDraggingOverDocument,p=u.isDraggingOverElement,b=u.type;p&&(t=Object(c.createElement)("div",{className:"components-drop-zone__content"},Object(c.createElement)(Xn.a,{icon:"upload",size:"40",className:"components-drop-zone__content-icon"}),Object(c.createElement)("span",{className:"components-drop-zone__content-text"},r||Object(l.__)("Drop files to upload"))));var v=d()("components-drop-zone",n,Object(f.a)({"is-active":(h||p)&&("file"===b&&o||"html"===b&&a||"default"===b&&i),"is-dragging-over-document":h,"is-dragging-over-element":p},"is-dragging-".concat(b),!!b));return Object(c.createElement)("div",{ref:s,className:v},t)}var zr=function(e){return Object(c.createElement)(Sr,null,(function(t){var n=t.addDropZone,r=t.removeDropZone;return Object(c.createElement)(xr,Object(a.a)({addDropZone:n,removeDropZone:r},e))}))},Ir=n(35),Tr=n.n(Ir);var Nr=function(e){function t(){var e;return Object(g.a)(this,t),(e=Object(O.a)(this,Object(k.a)(t).apply(this,arguments))).onKeyDown=e.onKeyDown.bind(Object(_.a)(e)),e.bindContainer=e.bindContainer.bind(Object(_.a)(e)),e.getFocusableContext=e.getFocusableContext.bind(Object(_.a)(e)),e.getFocusableIndex=e.getFocusableIndex.bind(Object(_.a)(e)),e}return Object(j.a)(t,e),Object(w.a)(t,[{key:"componentDidMount",value:function(){this.container.addEventListener("keydown",this.onKeyDown),this.container.addEventListener("focus",this.onFocus)}},{key:"componentWillUnmount",value:function(){this.container.removeEventListener("keydown",this.onKeyDown),this.container.removeEventListener("focus",this.onFocus)}},{key:"bindContainer",value:function(e){var t=this.props.forwardedRef;this.container=e,Object(S.isFunction)(t)?t(e):t&&"current"in t&&(t.current=e)}},{key:"getFocusableContext",value:function(e){var t=(this.props.onlyBrowserTabstops?fr.focus.tabbable:fr.focus.focusable).find(this.container),n=this.getFocusableIndex(t,e);return n>-1&&e?{index:n,target:e,focusables:t}:null}},{key:"getFocusableIndex",value:function(e,t){var n=e.indexOf(t);if(-1!==n)return n}},{key:"onKeyDown",value:function(e){this.props.onKeyDown&&this.props.onKeyDown(e);var t=this.getFocusableContext,n=this.props,r=n.cycle,o=void 0===r||r,a=n.eventToOffset,i=n.onNavigate,c=void 0===i?S.noop:i,s=n.stopNavigationEvents,l=a(e);if(void 0!==l&&s&&(e.stopImmediatePropagation(),"menuitem"===e.target.getAttribute("role")&&e.preventDefault()),l){var u=t(document.activeElement);if(u){var d=u.index,f=u.focusables,h=o?function(e,t,n){var r=e+n;return r<0?t+r:r>=t?r-t:r}(d,f.length,l):d+l;h>=0&&h0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(e){for(var t=1;t0&&0===r,"is-active":t.isActive}),icon:t.icon,"aria-checked":"menuitemcheckbox"===t.role||"menuitemradio"===t.role?t.isActive:void 0,role:"menuitemcheckbox"===t.role||"menuitemradio"===t.role?t.role:"menuitem",disabled:t.isDisabled},t.title)}))})))}})};var Br=Object(c.forwardRef)((function(e,t){var n=e.href,r=e.children,o=e.className,s=e.rel,u=void 0===s?"":s,f=Object(i.a)(e,["href","children","className","rel"]);u=Object(S.uniq)(Object(S.compact)([].concat(Object(D.a)(u.split(" ")),["external","noreferrer","noopener"]))).join(" ");var h=d()("components-external-link",o);return Object(c.createElement)("a",Object(a.a)({},f,{className:h,href:n,target:"_blank",rel:u,ref:t}),r,Object(c.createElement)(p,{as:"span"},Object(l.__)("(opens in a new tab)")),Object(c.createElement)(Xn.a,{icon:"external",className:"components-external-link__icon"}))})),Kr=n(89),Wr=function(e){function t(e){var n;return Object(g.a)(this,t),(n=Object(O.a)(this,Object(k.a)(t).call(this,e))).onMouseMove=n.onMouseMove.bind(Object(_.a)(n)),n.state={isDragging:!1,bounds:{},percentages:e.value},n.containerRef=Object(c.createRef)(),n.imageRef=Object(c.createRef)(),n.horizontalPositionChanged=n.horizontalPositionChanged.bind(Object(_.a)(n)),n.verticalPositionChanged=n.verticalPositionChanged.bind(Object(_.a)(n)),n.onLoad=n.onLoad.bind(Object(_.a)(n)),n}return Object(j.a)(t,e),Object(w.a)(t,[{key:"componentDidUpdate",value:function(e){e.url!==this.props.url&&this.setState({isDragging:!1})}},{key:"calculateBounds",value:function(){var e={top:0,left:0,bottom:0,right:0,width:0,height:0};if(!this.imageRef.current)return e;var t=this.imageRef.current.clientWidth,n=this.imageRef.current.clientHeight,r=this.pickerDimensions(),o=r.width/t,a=r.height/n;return a>=o?(e.width=e.right=r.width,e.height=n*o,e.top=(r.height-e.height)/2,e.bottom=e.top+e.height):(e.height=e.bottom=r.height,e.width=t*a,e.left=(r.width-e.width)/2,e.right=e.left+e.width),e}},{key:"onLoad",value:function(){this.setState({bounds:this.calculateBounds()})}},{key:"onMouseMove",value:function(e){var t=this.state,n=t.isDragging,r=t.bounds,o=this.props.onChange;if(n){var a=this.pickerDimensions(),i={left:e.pageX-a.left,top:e.pageY-a.top},c=Math.max(r.left,Math.min(i.left,r.right)),s=Math.max(r.top,Math.min(i.top,r.bottom)),l={x:((c-r.left)/(a.width-2*r.left)).toFixed(2),y:((s-r.top)/(a.height-2*r.top)).toFixed(2)};this.setState({percentages:l},(function(){o({x:this.state.percentages.x,y:this.state.percentages.y})}))}}},{key:"fractionToPercentage",value:function(e){return Math.round(100*e)}},{key:"horizontalPositionChanged",value:function(e){this.positionChangeFromTextControl("x",e.target.value)}},{key:"verticalPositionChanged",value:function(e){this.positionChangeFromTextControl("y",e.target.value)}},{key:"positionChangeFromTextControl",value:function(e,t){var n=this.props.onChange,r=this.state.percentages,o=Math.max(Math.min(parseInt(t),100),0);r[e]=(o?o/100:0).toFixed(2),this.setState({percentages:r},(function(){n({x:this.state.percentages.x,y:this.state.percentages.y})}))}},{key:"pickerDimensions",value:function(){return this.containerRef.current?{width:this.containerRef.current.clientWidth,height:this.containerRef.current.clientHeight,top:this.containerRef.current.getBoundingClientRect().top+document.body.scrollTop,left:this.containerRef.current.getBoundingClientRect().left}:{width:0,height:0,left:0,top:0}}},{key:"handleFocusOutside",value:function(){this.setState({isDragging:!1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.instanceId,o=t.url,a=t.value,i=t.label,s=t.help,u=t.className,f=this.state,h=f.bounds,p=f.isDragging,b=f.percentages,m=this.pickerDimensions(),y={left:a.x*(m.width-2*h.left)+h.left,top:a.y*(m.height-2*h.top)+h.top},g={left:"".concat(y.left,"px"),top:"".concat(y.top,"px")},O=d()("components-focal-point-picker__icon_container",p?"is-dragging":null),k="inspector-focal-point-picker-control-".concat(n),_="inspector-focal-point-picker-control-horizontal-position-".concat(n),w="inspector-focal-point-picker-control-vertical-position-".concat(n);return Object(c.createElement)(v,{label:i,id:k,help:s,className:u},Object(c.createElement)("div",{className:"components-focal-point-picker-wrapper"},Object(c.createElement)("div",{className:"components-focal-point-picker",onMouseDown:function(){return e.setState({isDragging:!0})},onDragStart:function(){return e.setState({isDragging:!0})},onMouseUp:function(){return e.setState({isDragging:!1})},onDrop:function(){return e.setState({isDragging:!1})},onMouseMove:this.onMouseMove,ref:this.containerRef,role:"button",tabIndex:"-1"},Object(c.createElement)("img",{alt:"Dimensions helper",onLoad:this.onLoad,ref:this.imageRef,src:o,draggable:"false"}),Object(c.createElement)("div",{className:O,style:g},Object(c.createElement)(r.SVG,{className:"components-focal-point-picker__icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},Object(c.createElement)(r.Path,{className:"components-focal-point-picker__icon-outline",d:"M15 1C7.3 1 1 7.3 1 15s6.3 14 14 14 14-6.3 14-14S22.7 1 15 1zm0 22c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8z"}),Object(c.createElement)(r.Path,{className:"components-focal-point-picker__icon-fill",d:"M15 3C8.4 3 3 8.4 3 15s5.4 12 12 12 12-5.4 12-12S21.6 3 15 3zm0 22C9.5 25 5 20.5 5 15S9.5 5 15 5s10 4.5 10 10-4.5 10-10 10z"}))))),Object(c.createElement)("div",{className:"components-focal-point-picker_position-display-container"},Object(c.createElement)(v,{label:Object(l.__)("Horizontal Pos."),id:_},Object(c.createElement)("input",{className:"components-text-control__input",id:_,max:100,min:0,onChange:this.horizontalPositionChanged,type:"number",value:this.fractionToPercentage(b.x)}),Object(c.createElement)("span",null,"%")),Object(c.createElement)(v,{label:Object(l.__)("Vertical Pos."),id:w},Object(c.createElement)("input",{className:"components-text-control__input",id:w,max:100,min:0,onChange:this.verticalPositionChanged,type:"number",value:this.fractionToPercentage(b.y)}),Object(c.createElement)("span",null,"%"))))}}]),t}(c.Component);Wr.defaultProps={url:null,value:{x:.5,y:.5},onChange:function(){}};var Ur=Object(s.compose)([s.withInstanceId,Kr.a])(Wr),$r=window.FocusEvent,Gr=function(e){function t(e){var n;return Object(g.a)(this,t),(n=Object(O.a)(this,Object(k.a)(t).apply(this,arguments))).checkFocus=n.checkFocus.bind(Object(_.a)(n)),n.node=e.iframeRef||Object(c.createRef)(),n}return Object(j.a)(t,e),Object(w.a)(t,[{key:"checkFocus",value:function(){var e=this.node.current;if(document.activeElement===e){var t=new $r("focus",{bubbles:!0});e.dispatchEvent(t);var n=this.props.onFocus;n&&n(t)}}},{key:"render",value:function(){return Object(c.createElement)("iframe",Object(a.a)({ref:this.node},Object(S.omit)(this.props,["iframeRef","onFocus"])))}}]),t}(c.Component),qr=Object(s.withGlobalEvents)({blur:"checkFocus"})(Gr);var Yr=Object(s.compose)([s.withInstanceId,Object(s.withState)({currentInput:null})])((function(e){var t=e.className,n=e.currentInput,r=e.label,o=e.value,s=e.instanceId,u=e.onChange,f=e.beforeIcon,h=e.afterIcon,p=e.help,b=e.allowReset,m=e.initialPosition,y=e.min,g=e.max,O=e.setState,k=Object(i.a)(e,["className","currentInput","label","value","instanceId","onChange","beforeIcon","afterIcon","help","allowReset","initialPosition","min","max","setState"]),_="inspector-range-control-".concat(s),w=null===n?o:n,j=function(){null!==n&&O({currentInput:null})},D=function(e){var t=e.target.value;e.target.checkValidity()?(j(),u(""===t?void 0:parseFloat(t))):O({currentInput:t})},C=Object(S.isFinite)(m)?m:"",M=Object(S.isFinite)(w)?w:C;return Object(c.createElement)(v,{label:r,id:_,help:p,className:d()("components-range-control",t)},f&&Object(c.createElement)(Xn.a,{icon:f}),Object(c.createElement)("input",Object(a.a)({className:"components-range-control__slider",id:_,type:"range",value:M,onChange:D,"aria-describedby":p?_+"__help":void 0,min:y,max:g},k)),h&&Object(c.createElement)(Xn.a,{icon:h}),Object(c.createElement)("input",Object(a.a)({className:"components-range-control__number",type:"number",onChange:D,"aria-label":r,value:w,min:y,max:g,onBlur:j},k)),b&&Object(c.createElement)(P.a,{onClick:function(){j(),u()},disabled:void 0===o,isSmall:!0,isSecondary:!0,className:"components-range-control__reset"},Object(l.__)("Reset")))})),Zr="default",Xr="custom";function Qr(e,t){if(t){var n=e.find((function(e){return e.size===Number(t)}));return n?n.slug:Xr}return Zr}function Jr(e){var t=e.fallbackFontSize,n=e.fontSizes,r=void 0===n?[]:n,o=e.disableCustomFontSizes,a=void 0!==o&&o,i=e.onChange,u=e.value,d=e.withSlider,f=void 0!==d&&d,h=Object(s.useInstanceId)(Jr),p=Object(c.useState)(Qr(r,u)),b=Object(kr.a)(p,2),v=b[0],m=b[1];if(a&&!r.length)return null;var y=function(e,t){m(e),e!==Zr?t&&i(Number(t)):i(void 0)},g=function(e,t){return(e=[{slug:Zr,name:Object(l.__)("Default")}].concat(Object(D.a)(e),Object(D.a)(t?[]:[{slug:Xr,name:Object(l.__)("Custom")}]))).map((function(e){return{key:e.slug,name:e.name,style:{fontSize:e.size}}}))}(r,a),O="components-range-control__number#".concat(h);return Object(c.createElement)("fieldset",{className:"components-font-size-picker"},Object(c.createElement)("legend",{className:"screen-reader-text"},Object(l.__)("Font Size")),Object(c.createElement)("div",{className:"components-font-size-picker__controls"},r.length>0&&Object(c.createElement)(er,{className:"components-font-size-picker__select",label:Object(l.__)("Preset Size"),options:g,value:g.find((function(e){return e.key===v}))||g[0],onChange:function(e){var t=e.selectedItem,n=t.key,r=t.style&&t.style.fontSize;y(n,r)}}),!f&&!a&&Object(c.createElement)("div",{className:"components-range-control__number-container"},Object(c.createElement)("label",{htmlFor:O},Object(l.__)("Custom")),Object(c.createElement)("input",{id:O,className:"components-range-control__number",type:"number",onChange:function(e){var t=e.target.value,n=Qr(r,t);y(n,t)},"aria-label":Object(l.__)("Custom"),value:u||""})),Object(c.createElement)(P.a,{className:"components-color-palette__clear",disabled:void 0===u,onClick:function(){y(Zr)},isSmall:!0,isSecondary:!0},Object(l.__)("Reset"))),f&&Object(c.createElement)(Yr,{className:"components-font-size-picker__custom-input",label:Object(l.__)("Custom Size"),value:u||"",initialPosition:t,onChange:function(e){var t=Qr(r,e);y(t,e)},min:12,max:100,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor"}))}var eo=function(e){function t(){var e;return Object(g.a)(this,t),(e=Object(O.a)(this,Object(k.a)(t).apply(this,arguments))).openFileDialog=e.openFileDialog.bind(Object(_.a)(e)),e.bindInput=e.bindInput.bind(Object(_.a)(e)),e}return Object(j.a)(t,e),Object(w.a)(t,[{key:"openFileDialog",value:function(){this.input.click()}},{key:"bindInput",value:function(e){this.input=e}},{key:"render",value:function(){var e=this.props,t=e.accept,n=e.children,r=e.multiple,o=void 0!==r&&r,s=e.onChange,l=e.render,u=Object(i.a)(e,["accept","children","multiple","onChange","render"]),d=l?l({openFileDialog:this.openFileDialog}):Object(c.createElement)(P.a,Object(a.a)({onClick:this.openFileDialog},u),n);return Object(c.createElement)("div",{className:"components-form-file-upload"},d,Object(c.createElement)("input",{type:"file",ref:this.bindInput,multiple:o,style:{display:"none"},accept:t,onChange:s}))}}]),t}(c.Component);var to=function(e){var t=e.className,n=e.checked,o=e.id,s=e.onChange,l=void 0===s?S.noop:s,u=Object(i.a)(e,["className","checked","id","onChange"]),f=d()("components-form-toggle",t,{"is-checked":n});return Object(c.createElement)("span",{className:f},Object(c.createElement)("input",Object(a.a)({className:"components-form-toggle__input",id:o,type:"checkbox",checked:n,onChange:l},u)),Object(c.createElement)("span",{className:"components-form-toggle__track"}),Object(c.createElement)("span",{className:"components-form-toggle__thumb"}),n?Object(c.createElement)(r.SVG,{className:"components-form-toggle__on",width:"2",height:"6",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2 6"},Object(c.createElement)(r.Path,{d:"M0 0h2v6H0z"})):Object(c.createElement)(r.SVG,{className:"components-form-toggle__off",width:"6",height:"6","aria-hidden":"true",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 6 6"},Object(c.createElement)(r.Path,{d:"M3 1.5c.8 0 1.5.7 1.5 1.5S3.8 4.5 3 4.5 1.5 3.8 1.5 3 2.2 1.5 3 1.5M3 0C1.3 0 0 1.3 0 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3z"})))},no=n(32);function ro(e){var t=e.value,n=e.status,r=e.title,o=e.displayTransform,a=e.isBorderless,i=void 0!==a&&a,u=e.disabled,f=void 0!==u&&u,h=e.onClickRemove,b=void 0===h?S.noop:h,v=e.onMouseEnter,m=e.onMouseLeave,y=e.messages,g=e.termPosition,O=e.termsCount,k=Object(s.useInstanceId)(ro),_=d()("components-form-token-field__token",{"is-error":"error"===n,"is-success":"success"===n,"is-validating":"validating"===n,"is-borderless":i,"is-disabled":f}),w=o(t),j=Object(l.sprintf)(Object(l.__)("%1$s (%2$s of %3$s)"),w,g,O);return Object(c.createElement)("span",{className:_,onMouseEnter:v,onMouseLeave:m,title:r},Object(c.createElement)("span",{className:"components-form-token-field__token-text",id:"components-form-token-field__token-text-".concat(k)},Object(c.createElement)(p,{as:"span"},j),Object(c.createElement)("span",{"aria-hidden":"true"},w)),Object(c.createElement)(P.a,{className:"components-form-token-field__remove-token",icon:"dismiss",onClick:!f&&function(){return b({value:t})},label:y.remove,"aria-describedby":"components-form-token-field__token-text-".concat(k)}))}var oo=function(e){function t(){var e;return Object(g.a)(this,t),(e=Object(O.a)(this,Object(k.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(_.a)(e)),e.bindInput=e.bindInput.bind(Object(_.a)(e)),e}return Object(j.a)(t,e),Object(w.a)(t,[{key:"focus",value:function(){this.input.focus()}},{key:"hasFocus",value:function(){return this.input===document.activeElement}},{key:"bindInput",value:function(e){this.input=e}},{key:"onChange",value:function(e){this.props.onChange({value:e.target.value})}},{key:"render",value:function(){var e=this.props,t=e.value,n=e.isExpanded,r=e.instanceId,o=e.selectedSuggestionIndex,s=Object(i.a)(e,["value","isExpanded","instanceId","selectedSuggestionIndex"]),l=t.length+1;return Object(c.createElement)("input",Object(a.a)({ref:this.bindInput,id:"components-form-token-input-".concat(r),type:"text"},s,{value:t,onChange:this.onChange,size:l,className:"components-form-token-field__input",role:"combobox","aria-expanded":n,"aria-autocomplete":"list","aria-owns":n?"components-form-token-suggestions-".concat(r):void 0,"aria-activedescendant":-1!==o?"components-form-token-suggestions-".concat(r,"-").concat(o):void 0,"aria-describedby":"components-form-token-suggestions-howto-".concat(r)}))}}]),t}(c.Component),ao=n(82),io=n.n(ao),co=function(e){function t(){var e;return Object(g.a)(this,t),(e=Object(O.a)(this,Object(k.a)(t).apply(this,arguments))).handleMouseDown=e.handleMouseDown.bind(Object(_.a)(e)),e.bindList=e.bindList.bind(Object(_.a)(e)),e}return Object(j.a)(t,e),Object(w.a)(t,[{key:"componentDidUpdate",value:function(){var e=this;this.props.selectedIndex>-1&&this.props.scrollIntoView&&(this.scrollingIntoView=!0,io()(this.list.children[this.props.selectedIndex],this.list,{onlyScrollIfNeeded:!0}),this.props.setTimeout((function(){e.scrollingIntoView=!1}),100))}},{key:"bindList",value:function(e){this.list=e}},{key:"handleHover",value:function(e){var t=this;return function(){t.scrollingIntoView||t.props.onHover(e)}}},{key:"handleClick",value:function(e){var t=this;return function(){t.props.onSelect(e)}}},{key:"handleMouseDown",value:function(e){e.preventDefault()}},{key:"computeSuggestionMatch",value:function(e){var t=this.props.displayTransform(this.props.match||"").toLocaleLowerCase();if(0===t.length)return null;var n=(e=this.props.displayTransform(e)).toLocaleLowerCase().indexOf(t);return{suggestionBeforeMatch:e.substring(0,n),suggestionMatch:e.substring(n,n+t.length),suggestionAfterMatch:e.substring(n+t.length)}}},{key:"render",value:function(){var e=this;return Object(c.createElement)("ul",{ref:this.bindList,className:"components-form-token-field__suggestions-list",id:"components-form-token-suggestions-".concat(this.props.instanceId),role:"listbox"},Object(S.map)(this.props.suggestions,(function(t,n){var r=e.computeSuggestionMatch(t),o=d()("components-form-token-field__suggestion",{"is-selected":n===e.props.selectedIndex});return Object(c.createElement)("li",{id:"components-form-token-suggestions-".concat(e.props.instanceId,"-").concat(n),role:"option",className:o,key:t,onMouseDown:e.handleMouseDown,onClick:e.handleClick(t),onMouseEnter:e.handleHover(t),"aria-selected":n===e.props.selectedIndex},r?Object(c.createElement)("span",{"aria-label":e.props.displayTransform(t)},r.suggestionBeforeMatch,Object(c.createElement)("strong",{className:"components-form-token-field__suggestion-match"},r.suggestionMatch),r.suggestionAfterMatch):e.props.displayTransform(t))})))}}]),t}(c.Component);co.defaultProps={match:"",onHover:function(){},onSelect:function(){},suggestions:Object.freeze([])};var so=Object(s.withSafeTimeout)(co);function lo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var uo={incompleteTokenValue:"",inputOffsetFromEnd:0,isActive:!1,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1},fo=function(e){function t(){var e;return Object(g.a)(this,t),(e=Object(O.a)(this,Object(k.a)(t).apply(this,arguments))).state=uo,e.onKeyDown=e.onKeyDown.bind(Object(_.a)(e)),e.onKeyPress=e.onKeyPress.bind(Object(_.a)(e)),e.onFocus=e.onFocus.bind(Object(_.a)(e)),e.onBlur=e.onBlur.bind(Object(_.a)(e)),e.deleteTokenBeforeInput=e.deleteTokenBeforeInput.bind(Object(_.a)(e)),e.deleteTokenAfterInput=e.deleteTokenAfterInput.bind(Object(_.a)(e)),e.addCurrentToken=e.addCurrentToken.bind(Object(_.a)(e)),e.onContainerTouched=e.onContainerTouched.bind(Object(_.a)(e)),e.renderToken=e.renderToken.bind(Object(_.a)(e)),e.onTokenClickRemove=e.onTokenClickRemove.bind(Object(_.a)(e)),e.onSuggestionHovered=e.onSuggestionHovered.bind(Object(_.a)(e)),e.onSuggestionSelected=e.onSuggestionSelected.bind(Object(_.a)(e)),e.onInputChange=e.onInputChange.bind(Object(_.a)(e)),e.bindInput=e.bindInput.bind(Object(_.a)(e)),e.bindTokensAndInput=e.bindTokensAndInput.bind(Object(_.a)(e)),e.updateSuggestions=e.updateSuggestions.bind(Object(_.a)(e)),e}return Object(j.a)(t,e),Object(w.a)(t,[{key:"componentDidUpdate",value:function(e){this.state.isActive&&!this.input.hasFocus()&&this.input.focus();var t=this.props,n=t.suggestions,r=t.value,o=!wr()(n,e.suggestions);(o||r!==e.value)&&this.updateSuggestions(o)}},{key:"bindInput",value:function(e){this.input=e}},{key:"bindTokensAndInput",value:function(e){this.tokensAndInput=e}},{key:"onFocus",value:function(e){this.input.hasFocus()||e.target===this.tokensAndInput?this.setState({isActive:!0}):this.setState({isActive:!1}),"function"==typeof this.props.onFocus&&this.props.onFocus(e)}},{key:"onBlur",value:function(){this.inputHasValidValue()?this.setState({isActive:!1}):this.setState(uo)}},{key:"onKeyDown",value:function(e){var t=!1;switch(e.keyCode){case C.BACKSPACE:t=this.handleDeleteKey(this.deleteTokenBeforeInput);break;case C.ENTER:t=this.addCurrentToken();break;case C.LEFT:t=this.handleLeftArrowKey();break;case C.UP:t=this.handleUpArrowKey();break;case C.RIGHT:t=this.handleRightArrowKey();break;case C.DOWN:t=this.handleDownArrowKey();break;case C.DELETE:t=this.handleDeleteKey(this.deleteTokenAfterInput);break;case C.SPACE:this.props.tokenizeOnSpace&&(t=this.addCurrentToken());break;case C.ESCAPE:t=this.handleEscapeKey(e),e.stopPropagation()}t&&e.preventDefault()}},{key:"onKeyPress",value:function(e){var t=!1;switch(e.charCode){case 44:t=this.handleCommaKey()}t&&e.preventDefault()}},{key:"onContainerTouched",value:function(e){e.target===this.tokensAndInput&&this.state.isActive&&e.preventDefault()}},{key:"onTokenClickRemove",value:function(e){this.deleteToken(e.value),this.input.focus()}},{key:"onSuggestionHovered",value:function(e){var t=this.getMatchingSuggestions().indexOf(e);t>=0&&this.setState({selectedSuggestionIndex:t,selectedSuggestionScroll:!1})}},{key:"onSuggestionSelected",value:function(e){this.addNewToken(e)}},{key:"onInputChange",value:function(e){var t=e.value,n=this.props.tokenizeOnSpace?/[ ,\t]+/:/[,\t]+/,r=t.split(n),o=Object(S.last)(r)||"";r.length>1&&this.addNewTokens(r.slice(0,-1)),this.setState({incompleteTokenValue:o},this.updateSuggestions),this.props.onInputChange(o)}},{key:"handleDeleteKey",value:function(e){var t=!1;return this.input.hasFocus()&&this.isInputEmpty()&&(e(),t=!0),t}},{key:"handleLeftArrowKey",value:function(){var e=!1;return this.isInputEmpty()&&(this.moveInputBeforePreviousToken(),e=!0),e}},{key:"handleRightArrowKey",value:function(){var e=!1;return this.isInputEmpty()&&(this.moveInputAfterNextToken(),e=!0),e}},{key:"handleUpArrowKey",value:function(){var e=this;return this.setState((function(t,n){return{selectedSuggestionIndex:(0===t.selectedSuggestionIndex?e.getMatchingSuggestions(t.incompleteTokenValue,n.suggestions,n.value,n.maxSuggestions,n.saveTransform).length:t.selectedSuggestionIndex)-1,selectedSuggestionScroll:!0}})),!0}},{key:"handleDownArrowKey",value:function(){var e=this;return this.setState((function(t,n){return{selectedSuggestionIndex:(t.selectedSuggestionIndex+1)%e.getMatchingSuggestions(t.incompleteTokenValue,n.suggestions,n.value,n.maxSuggestions,n.saveTransform).length,selectedSuggestionScroll:!0}})),!0}},{key:"handleEscapeKey",value:function(e){return this.setState({incompleteTokenValue:e.target.value,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1}),!0}},{key:"handleCommaKey",value:function(){return this.inputHasValidValue()&&this.addNewToken(this.state.incompleteTokenValue),!0}},{key:"moveInputToIndex",value:function(e){this.setState((function(t,n){return{inputOffsetFromEnd:n.value.length-Math.max(e,-1)-1}}))}},{key:"moveInputBeforePreviousToken",value:function(){this.setState((function(e,t){return{inputOffsetFromEnd:Math.min(e.inputOffsetFromEnd+1,t.value.length)}}))}},{key:"moveInputAfterNextToken",value:function(){this.setState((function(e){return{inputOffsetFromEnd:Math.max(e.inputOffsetFromEnd-1,0)}}))}},{key:"deleteTokenBeforeInput",value:function(){var e=this.getIndexOfInput()-1;e>-1&&this.deleteToken(this.props.value[e])}},{key:"deleteTokenAfterInput",value:function(){var e=this.getIndexOfInput();e0){var r=Object(S.clone)(this.props.value);r.splice.apply(r,[this.getIndexOfInput(),0].concat(n)),this.props.onChange(r)}}},{key:"addNewToken",value:function(e){this.addNewTokens([e]),this.props.speak(this.props.messages.added,"assertive"),this.setState({incompleteTokenValue:"",selectedSuggestionIndex:-1,selectedSuggestionScroll:!1,isExpanded:!1}),this.state.isActive&&this.input.focus()}},{key:"deleteToken",value:function(e){var t=this,n=this.props.value.filter((function(n){return t.getTokenValue(n)!==t.getTokenValue(e)}));this.props.onChange(n),this.props.speak(this.props.messages.removed,"assertive")}},{key:"getTokenValue",value:function(e){return"object"===Object(no.a)(e)?e.value:e}},{key:"getMatchingSuggestions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.incompleteTokenValue,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.suggestions,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.props.value,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.props.maxSuggestions,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.props.saveTransform,a=o(e),i=[],c=[];return 0===a.length?t=Object(S.difference)(t,n):(a=a.toLocaleLowerCase(),Object(S.each)(t,(function(e){var t=e.toLocaleLowerCase().indexOf(a);-1===n.indexOf(e)&&(0===t?i.push(e):t>0&&c.push(e))})),t=i.concat(c)),Object(S.take)(t,r)}},{key:"getSelectedSuggestion",value:function(){if(-1!==this.state.selectedSuggestionIndex)return this.getMatchingSuggestions()[this.state.selectedSuggestionIndex]}},{key:"valueContainsToken",value:function(e){var t=this;return Object(S.some)(this.props.value,(function(n){return t.getTokenValue(e)===t.getTokenValue(n)}))}},{key:"getIndexOfInput",value:function(){return this.props.value.length-this.state.inputOffsetFromEnd}},{key:"isInputEmpty",value:function(){return 0===this.state.incompleteTokenValue.length}},{key:"inputHasValidValue",value:function(){return this.props.saveTransform(this.state.incompleteTokenValue).length>0}},{key:"updateSuggestions",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.state.incompleteTokenValue,n=t.trim().length>1,r=this.getMatchingSuggestions(t),o=r.length>0,a={isExpanded:n&&o};if(e&&(a.selectedSuggestionIndex=-1,a.selectedSuggestionScroll=!1),this.setState(a),n){var i=this.props.debouncedSpeak,c=o?Object(l.sprintf)(Object(l._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",r.length),r.length):Object(l.__)("No results.");i(c,"assertive")}}},{key:"renderTokensAndInput",value:function(){var e=Object(S.map)(this.props.value,this.renderToken);return e.splice(this.getIndexOfInput(),0,this.renderInput()),e}},{key:"renderToken",value:function(e,t,n){var r=this.getTokenValue(e),o=e.status?e.status:void 0,a=t+1,i=n.length;return Object(c.createElement)(ro,{key:"token-"+r,value:r,status:o,title:e.title,displayTransform:this.props.displayTransform,onClickRemove:this.onTokenClickRemove,isBorderless:e.isBorderless||this.props.isBorderless,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,disabled:"error"!==o&&this.props.disabled,messages:this.props.messages,termsCount:i,termPosition:a})}},{key:"renderInput",value:function(){var e=this.props,t=e.autoCapitalize,n=e.autoComplete,r=e.maxLength,o=e.value,a={instanceId:e.instanceId,autoCapitalize:t,autoComplete:n,ref:this.bindInput,key:"input",disabled:this.props.disabled,value:this.state.incompleteTokenValue,onBlur:this.onBlur,isExpanded:this.state.isExpanded,selectedSuggestionIndex:this.state.selectedSuggestionIndex};return r&&o.length>=r||(a=function(e){for(var t=1;t=ko&&(u.current.significantMoveHappened=!0)}xo(a,n,i)||o(Eo(a,i,n))},f=function e(){window&&window.removeEventListener&&u.current&&u.current.listenersActivated&&(window.removeEventListener("mousemove",d),window.removeEventListener("mouseup",e),s(),u.current.listenersActivated=!1)};return Object(c.useEffect)((function(){return function(){f()}}),[]),r.map((function(e,t){return e&&n!==e.positionValue&&Object(c.createElement)(Nt,{key:t,onClose:s,renderToggle:function(n){var r=n.isOpen,s=n.onToggle;return Object(c.createElement)(Ao,{key:t,onClick:function(){u.current&&u.current.significantMoveHappened||(i(),s())},onMouseDown:function(){window&&window.addEventListener&&(u.current={gradientAST:a,position:t,significantMoveHappened:!1,listenersActivated:!0},i(),window.addEventListener("mousemove",d),window.addEventListener("mouseup",f))},isOpen:r,position:e.position,color:e.color,onChange:o,gradientAST:a,gradientIndex:t})},renderContent:function(n){var r=n.onClose;return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(Tt,{color:e.color,onChangeComplete:function(e){var n=e.rgb;o(Io(a,t,n))}}),Object(c.createElement)(P.a,{className:"components-custom-gradient-picker__remove-control-point",onClick:function(){o(function(e,t){return Mo({},e,{colorStops:e.colorStops.filter((function(e,n){return n!==t}))})}(a,t)),r()},isLink:!0},Object(l.__)("Remove Control Point")))},popoverProps:wo})}))}function Ho(e){var t=e.onChange,n=e.gradientAST,r=e.onOpenInserter,o=e.onCloseInserter,a=e.insertPosition,i=Object(c.useState)(!1),s=Object(kr.a)(i,2),l=s[0],u=s[1];return Object(c.createElement)(Nt,{className:"components-custom-gradient-picker__inserter",onClose:function(){o()},renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(c.createElement)(P.a,{"aria-expanded":t,onClick:function(){u(!1),r(),n()},className:"components-custom-gradient-picker__insert-point",icon:vo.a,style:{left:null!==a?"".concat(a,"%"):void 0}})},renderContent:function(){return Object(c.createElement)(Tt,{onChangeComplete:function(e){var r,o=e.rgb;l?r=function(e,t,n){return Io(e,Object(S.findIndex)(e.colorStops,(function(e){return e&&e.length&&"%"===e.length.type&&e.length.value===t.toString()})),n)}(n,a,o):(r=function(e,t,n){var r=Po(n);return r.length={type:"%",value:t},Mo({},e,{colorStops:[].concat(Object(D.a)(e.colorStops),[r])})}(n,a,o),u(!0)),t(r)}})},popoverProps:wo})}function Lo(e,t){switch(t.type){case"MOVE_INSERTER":if("IDLE"===e.id||"MOVING_INSERTER"===e.id)return{id:"MOVING_INSERTER",insertPosition:t.insertPosition};break;case"STOP_INSERTER_MOVE":if("MOVING_INSERTER"===e.id)return{id:"IDLE"};break;case"OPEN_INSERTER":if("MOVING_INSERTER"===e.id)return{id:"INSERTING_CONTROL_POINT",insertPosition:e.insertPosition};break;case"CLOSE_INSERTER":if("INSERTING_CONTROL_POINT"===e.id)return{id:"IDLE"};break;case"START_CONTROL_CHANGE":if("IDLE"===e.id)return{id:"MOVING_CONTROL_POINT"};break;case"STOP_CONTROL_CHANGE":if("MOVING_CONTROL_POINT"===e.id)return{id:"IDLE"}}return e}var Fo={id:"IDLE"};function Vo(e){var t,n,r=e.value,o=e.onChange,a=!!r;try{t=bo.a.parse(r||_o)[0],n=r||_o}catch(e){a=!1,t=bo.a.parse(_o)[0],n=_o}var i=function(e){o(function(e){var t=e.type,n=e.orientation,r=e.colorStops,o=function(e){if(e&&"angular"===e.type)return"".concat(e.value,"deg")}(n),a=r.sort((function(e,t){return Object(S.get)(e,["length","value"],0)-Object(S.get)(t,["length","value"],0)})).map(So);return"".concat(t,"(").concat(Object(S.compact)([o].concat(Object(D.a)(a))).join(","),")")}(e))},s=Object(c.useRef)(),l=function(e){return e?Object(S.map)(e.colorStops,(function(e){return e&&e.length&&"%"===e.length.type?{color:jo(e),position:Do(e.length),positionValue:parseInt(e.length.value)}:null})):[]}(t),u=Object(c.useReducer)(Lo,Fo),f=Object(kr.a)(u,2),h=f[0],p=f[1],b=function(e){var t=To(e.clientX,s.current,mo);Object(S.some)(l,(function(e){var n=e.positionValue;return Math.abs(t-n)0,b=u=320,"is-medium":y>=160&&y<320,"is-small":y<160});var g=d()("components-placeholder",l,t),O=d()("components-placeholder__fieldset",{"is-column-layout":h});return Object(c.createElement)("div",Object(a.a)({},p,{className:g}),m,u,f&&Object(c.createElement)("div",{className:"components-placeholder__preview"},f),Object(c.createElement)("div",{className:"components-placeholder__label"},Object(c.createElement)(cr.a,{icon:n}),o),!!s&&Object(c.createElement)("div",{className:"components-placeholder__instructions"},s),Object(c.createElement)("div",{className:O},r))};function Ea(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xa(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:0;return Object(S.flatMap)(t,(function(t){return[{value:t.id,label:Object(S.repeat)(" ",3*n)+Object(S.unescape)(t.name)}].concat(Object(D.a)(e(t.children||[],n+1)))}))}(s))));return Object(c.createElement)(sr,Object(a.a)({label:t,options:u,onChange:r},{value:o},l))}function Ia(e){var t,n,r=e.label,o=e.noOptionLabel,i=e.categoriesList,s=e.selectedCategoryId,l=e.onChange,u=(t=i.map((function(e){return xa({children:[],parent:null},e)})),(n=Object(S.groupBy)(t,"parent")).null&&n.null.length?t:function e(t){return t.map((function(t){var r=n[t.id];return xa({},t,{children:r&&r.length?e(r):[]})}))}(n[0]||[]));return Object(c.createElement)(za,Object(a.a)({label:r,noOptionLabel:o,onChange:l},{tree:u,selectedId:s}))}var Ta=1,Na=100;function Aa(e){var t=e.categoriesList,n=e.selectedCategoryId,r=e.numberOfItems,o=e.order,a=e.orderBy,i=e.maxItems,s=void 0===i?Na:i,u=e.minItems,d=void 0===u?Ta:u,f=e.onCategoryChange,h=e.onNumberOfItemsChange,p=e.onOrderChange,b=e.onOrderByChange;return[p&&b&&Object(c.createElement)(sr,{key:"query-controls-order-select",label:Object(l.__)("Order by"),value:"".concat(a,"/").concat(o),options:[{label:Object(l.__)("Newest to Oldest"),value:"date/desc"},{label:Object(l.__)("Oldest to Newest"),value:"date/asc"},{label:Object(l.__)("A → Z"),value:"title/asc"},{label:Object(l.__)("Z → A"),value:"title/desc"}],onChange:function(e){var t=e.split("/"),n=Object(kr.a)(t,2),r=n[0],i=n[1];i!==o&&p(i),r!==a&&b(r)}}),f&&Object(c.createElement)(Ia,{key:"query-controls-category-select",categoriesList:t,label:Object(l.__)("Category"),noOptionLabel:Object(l.__)("All"),selectedCategoryId:n,onChange:f}),h&&Object(c.createElement)(Yr,{key:"query-controls-range-control",label:Object(l.__)("Number of items"),value:r,onChange:h,min:d,max:s,required:!0})]}function Ra(e){var t=e.label,n=e.className,r=e.selected,o=e.help,a=e.onChange,i=e.options,l=void 0===i?[]:i,u=Object(s.useInstanceId)(Ra),f="inspector-radio-control-".concat(u),h=function(e){return a(e.target.value)};return!Object(S.isEmpty)(l)&&Object(c.createElement)(v,{label:t,id:f,help:o,className:d()(n,"components-radio-control")},l.map((function(e,t){return Object(c.createElement)("div",{key:"".concat(f,"-").concat(t),className:"components-radio-control__option"},Object(c.createElement)("input",{id:"".concat(f,"-").concat(t),className:"components-radio-control__input",type:"radio",name:f,value:e.value,onChange:h,checked:e.value===r,"aria-describedby":o?"".concat(f,"__help"):void 0}),Object(c.createElement)("label",{htmlFor:"".concat(f,"-").concat(t)},e.label))})))}var Ha=n(265);var La=function(e){var t=e.className,n=e.showHandle,r=void 0!==n&&n,o=Object(i.a)(e,["className","showHandle"]),s={width:null,height:null,top:null,right:null,bottom:null,left:null},l="components-resizable-box__handle",u="components-resizable-box__side-handle",f="components-resizable-box__corner-handle";return Object(c.createElement)(Ha.Resizable,Object(a.a)({className:d()("components-resizable-box__container",r&&"has-show-handle",t),handleClasses:{top:d()(l,u,"components-resizable-box__handle-top"),right:d()(l,u,"components-resizable-box__handle-right"),bottom:d()(l,u,"components-resizable-box__handle-bottom"),left:d()(l,u,"components-resizable-box__handle-left"),topLeft:d()(l,f,"components-resizable-box__handle-top","components-resizable-box__handle-left"),topRight:d()(l,f,"components-resizable-box__handle-top","components-resizable-box__handle-right"),bottomRight:d()(l,f,"components-resizable-box__handle-bottom","components-resizable-box__handle-right"),bottomLeft:d()(l,f,"components-resizable-box__handle-bottom","components-resizable-box__handle-left")},handleStyles:{top:s,right:s,bottom:s,left:s,topLeft:s,topRight:s,bottomRight:s,bottomLeft:s}},o))};var Fa=function(e){var t=e.naturalWidth,n=e.naturalHeight,r=e.children,o=e.isInline,a=void 0!==o&&o;if(1!==c.Children.count(r))return null;var i={paddingBottom:n/t*100+"%"},s=a?"span":"div";return Object(c.createElement)(s,{className:"components-responsive-wrapper"},Object(c.createElement)(s,{style:i}),Object(c.cloneElement)(r,{className:d()("components-responsive-wrapper__content",r.props.className)}))},Va=function(e){function t(){var e;return Object(g.a)(this,t),(e=Object(O.a)(this,Object(k.a)(t).apply(this,arguments))).trySandbox=e.trySandbox.bind(Object(_.a)(e)),e.checkMessageForResize=e.checkMessageForResize.bind(Object(_.a)(e)),e.iframe=Object(c.createRef)(),e.state={width:0,height:0},e}return Object(j.a)(t,e),Object(w.a)(t,[{key:"componentDidMount",value:function(){this.trySandbox()}},{key:"componentDidUpdate",value:function(){this.trySandbox()}},{key:"isFrameAccessible",value:function(){try{return!!this.iframe.current.contentDocument.body}catch(e){return!1}}},{key:"checkMessageForResize",value:function(e){var t=this.iframe.current,n=e.data||{};if("string"==typeof n)try{n=JSON.parse(n)}catch(e){}if(t&&t.contentWindow===e.source){var r=n,o=r.action,a=r.width,i=r.height,c=this.state,s=c.width,l=c.height;"resize"!==o||s===a&&l===i||this.setState({width:a,height:i})}}},{key:"trySandbox",value:function(){if(this.isFrameAccessible()&&null===this.iframe.current.contentDocument.body.getAttribute("data-resizable-iframe-connected")){var e=Object(c.createElement)("html",{lang:document.documentElement.lang,className:this.props.type},Object(c.createElement)("head",null,Object(c.createElement)("title",null,this.props.title),Object(c.createElement)("style",{dangerouslySetInnerHTML:{__html:"\n\t\t\tbody {\n\t\t\t\tmargin: 0;\n\t\t\t}\n\t\t\thtml,\n\t\t\tbody,\n\t\t\tbody > div,\n\t\t\tbody > div > iframe {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t\thtml.wp-has-aspect-ratio,\n\t\t\tbody.wp-has-aspect-ratio,\n\t\t\tbody.wp-has-aspect-ratio > div,\n\t\t\tbody.wp-has-aspect-ratio > div > iframe {\n\t\t\t\theight: 100%;\n\t\t\t\toverflow: hidden; /* If it has an aspect ratio, it shouldn't scroll. */\n\t\t\t}\n\t\t\tbody > div > * {\n\t\t\t\tmargin-top: 0 !important; /* Has to have !important to override inline styles. */\n\t\t\t\tmargin-bottom: 0 !important;\n\t\t\t}\n\t\t"}}),this.props.styles&&this.props.styles.map((function(e,t){return Object(c.createElement)("style",{key:t,dangerouslySetInnerHTML:{__html:e}})}))),Object(c.createElement)("body",{"data-resizable-iframe-connected":"data-resizable-iframe-connected",className:this.props.type},Object(c.createElement)("div",{dangerouslySetInnerHTML:{__html:this.props.html}}),Object(c.createElement)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:"\n\t\t\t( function() {\n\t\t\t\tvar observer;\n\n\t\t\t\tif ( ! window.MutationObserver || ! document.body || ! window.parent ) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tfunction sendResize() {\n\t\t\t\t\tvar clientBoundingRect = document.body.getBoundingClientRect();\n\n\t\t\t\t\twindow.parent.postMessage( {\n\t\t\t\t\t\taction: 'resize',\n\t\t\t\t\t\twidth: clientBoundingRect.width,\n\t\t\t\t\t\theight: clientBoundingRect.height,\n\t\t\t\t\t}, '*' );\n\t\t\t\t}\n\n\t\t\t\tobserver = new MutationObserver( sendResize );\n\t\t\t\tobserver.observe( document.body, {\n\t\t\t\t\tattributes: true,\n\t\t\t\t\tattributeOldValue: false,\n\t\t\t\t\tcharacterData: true,\n\t\t\t\t\tcharacterDataOldValue: false,\n\t\t\t\t\tchildList: true,\n\t\t\t\t\tsubtree: true\n\t\t\t\t} );\n\n\t\t\t\twindow.addEventListener( 'load', sendResize, true );\n\n\t\t\t\t// Hack: Remove viewport unit styles, as these are relative\n\t\t\t\t// the iframe root and interfere with our mechanism for\n\t\t\t\t// determining the unconstrained page bounds.\n\t\t\t\tfunction removeViewportStyles( ruleOrNode ) {\n\t\t\t\t\tif( ruleOrNode.style ) {\n\t\t\t\t\t\t[ 'width', 'height', 'minHeight', 'maxHeight' ].forEach( function( style ) {\n\t\t\t\t\t\t\tif ( /^\\d+(vmin|vmax|vh|vw)$/.test( ruleOrNode.style[ style ] ) ) {\n\t\t\t\t\t\t\t\truleOrNode.style[ style ] = '';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tArray.prototype.forEach.call( document.querySelectorAll( '[style]' ), removeViewportStyles );\n\t\t\t\tArray.prototype.forEach.call( document.styleSheets, function( stylesheet ) {\n\t\t\t\t\tArray.prototype.forEach.call( stylesheet.cssRules || stylesheet.rules, removeViewportStyles );\n\t\t\t\t} );\n\n\t\t\t\tdocument.body.style.position = 'absolute';\n\t\t\t\tdocument.body.style.width = '100%';\n\t\t\t\tdocument.body.setAttribute( 'data-resizable-iframe-connected', '' );\n\n\t\t\t\tsendResize();\n\n\t\t\t\t// Resize events can change the width of elements with 100% width, but we don't\n\t\t\t\t// get an DOM mutations for that, so do the resize when the window is resized, too.\n\t\t\t\twindow.addEventListener( 'resize', sendResize, true );\n\t\t} )();"}}),this.props.scripts&&this.props.scripts.map((function(e){return Object(c.createElement)("script",{key:e,src:e})})))),t=this.iframe.current.contentWindow.document;t.open(),t.write(""+Object(c.renderToString)(e)),t.close()}}},{key:"render",value:function(){var e=this.props,t=e.title,n=e.onFocus;return Object(c.createElement)(qr,{iframeRef:this.iframe,title:t,className:"components-sandbox",sandbox:"allow-scripts allow-same-origin allow-presentation",onLoad:this.trySandbox,onFocus:n,width:Math.ceil(this.state.width),height:Math.ceil(this.state.height)})}}],[{key:"defaultProps",get:function(){return{html:"",title:""}}}]),t}(c.Component),Ba=Va=Object(s.withGlobalEvents)({message:"checkMessageForResize"})(Va),Ka=n(137),Wa=n(23),Ua=n.n(Wa),$a=n(47),Ga=n(75);var qa=function(e){var t=e.notices,n=e.className,r=e.children,o=e.onRemove,i=void 0===o?S.noop:o,l=Object(s.useReducedMotion)(),u=Object(c.useState)((function(){return new WeakMap})),f=Object(kr.a)(u,1)[0],h=Object(Ga.useTransition)(t,(function(e){return e.id}),{from:{opacity:0,height:0},enter:function(e){return function(){var t=Object($a.a)(Ua.a.mark((function t(n){return Ua.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n({opacity:1,height:f.get(e).offsetHeight});case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},leave:function(){return function(){var e=Object($a.a)(Ua.a.mark((function e(t){return Ua.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t({opacity:0});case 2:return e.next=4,t({height:0});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},immediate:l});n=d()("components-snackbar-list",n);var p=function(e){return function(){return i(e.id)}};return Object(c.createElement)("div",{className:n},r,h.map((function(e){var t=e.item,n=e.key,r=e.props;return Object(c.createElement)(Ga.animated.div,{key:n,style:r},Object(c.createElement)("div",{className:"components-snackbar-list__notice-container",ref:function(e){return e&&f.set(t,e)}},Object(c.createElement)(Ka.a,Object(a.a)({},Object(S.omit)(t,["content"]),{onRemove:p(t)}),t.content)))})))};function Ya(){return Object(c.createElement)("span",{className:"components-spinner"})}var Za=function(e){var t=e.tabId,n=e.onClick,r=e.children,o=e.selected,s=Object(i.a)(e,["tabId","onClick","children","selected"]);return Object(c.createElement)(P.a,Object(a.a)({role:"tab",tabIndex:o?null:-1,"aria-selected":o,id:t,onClick:n},s),r)},Xa=function(e){function t(){var e;Object(g.a)(this,t);var n=(e=Object(O.a)(this,Object(k.a)(t).apply(this,arguments))).props,r=n.tabs,o=n.initialTabName;return e.handleClick=e.handleClick.bind(Object(_.a)(e)),e.onNavigate=e.onNavigate.bind(Object(_.a)(e)),e.state={selected:o||(r.length>0?r[0].name:null)},e}return Object(j.a)(t,e),Object(w.a)(t,[{key:"handleClick",value:function(e){var t=this.props.onSelect,n=void 0===t?S.noop:t;this.setState({selected:e}),n(e)}},{key:"onNavigate",value:function(e,t){t.click()}},{key:"render",value:function(){var e=this,t=this.state.selected,n=this.props,r=n.activeClass,o=void 0===r?"is-active":r,a=n.className,i=n.instanceId,s=n.orientation,l=void 0===s?"horizontal":s,u=n.tabs,h=Object(S.find)(u,{name:t}),p=i+"-"+h.name;return Object(c.createElement)("div",{className:a},Object(c.createElement)(Hr,{role:"tablist",orientation:l,onNavigate:this.onNavigate,className:"components-tab-panel__tabs"},u.map((function(n){return Object(c.createElement)(Za,{className:d()(n.className,Object(f.a)({},o,n.name===t)),tabId:i+"-"+n.name,"aria-controls":i+"-"+n.name+"-view",selected:n.name===t,key:n.name,onClick:Object(S.partial)(e.handleClick,n.name)},n.title)}))),h&&Object(c.createElement)("div",{"aria-labelledby":p,role:"tabpanel",id:p+"-view",className:"components-tab-panel__tab-content",tabIndex:"0"},this.props.children(h)))}}]),t}(c.Component),Qa=Object(s.withInstanceId)(Xa);function Ja(e){var t=e.label,n=e.hideLabelFromVision,r=e.value,o=e.help,l=e.onChange,u=e.rows,d=void 0===u?4:u,f=e.className,h=Object(i.a)(e,["label","hideLabelFromVision","value","help","onChange","rows","className"]),p=Object(s.useInstanceId)(Ja),b="inspector-textarea-control-".concat(p);return Object(c.createElement)(v,{label:t,hideLabelFromVision:n,id:b,help:o,className:f},Object(c.createElement)("textarea",Object(a.a)({className:"components-textarea-control__input",id:b,rows:d,onChange:function(e){return l(e.target.value)},"aria-describedby":o?b+"__help":void 0,value:r},h)))}var ei=function(e){var t=e.text,n=void 0===t?"":t,r=e.highlight,o=void 0===r?"":r;if(!o.trim())return n;var a=new RegExp("(".concat(Object(S.escapeRegExp)(o),")"),"gi");return Object(c.__experimentalCreateInterpolateElement)(n.replace(a,"$&"),{mark:Object(c.createElement)("mark",null)})};var ti=function(e){return Object(c.createElement)("div",{className:"components-tip"},Object(c.createElement)(r.SVG,{width:"24",height:"24",viewBox:"0 0 24 24"},Object(c.createElement)(r.Path,{d:"M20.45 4.91L19.04 3.5l-1.79 1.8 1.41 1.41 1.79-1.8zM13 4h-2V1h2v3zm10 9h-3v-2h3v2zm-12 6.95v-3.96l-1-.58c-1.24-.72-2-2.04-2-3.46 0-2.21 1.79-4 4-4s4 1.79 4 4c0 1.42-.77 2.74-2 3.46l-1 .58v3.96h-2zm-2 2h6v-4.81c1.79-1.04 3-2.97 3-5.19 0-3.31-2.69-6-6-6s-6 2.69-6 6c0 2.22 1.21 4.15 3 5.19v4.81zM4 13H1v-2h3v2zm2.76-7.71l-1.79-1.8L3.56 4.9l1.8 1.79 1.4-1.4z"})),Object(c.createElement)("p",null,e.children))},ni=function(e){function t(){var e;return Object(g.a)(this,t),(e=Object(O.a)(this,Object(k.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(_.a)(e)),e}return Object(j.a)(t,e),Object(w.a)(t,[{key:"onChange",value:function(e){this.props.onChange&&this.props.onChange(e.target.checked)}},{key:"render",value:function(){var e,t,n=this.props,r=n.label,o=n.checked,a=n.help,i=n.instanceId,s=n.className,l="inspector-toggle-control-".concat(i);return a&&(e=l+"__help",t=Object(S.isFunction)(a)?a(o):a),Object(c.createElement)(v,{id:l,help:t,className:d()("components-toggle-control",s)},Object(c.createElement)(to,{id:l,checked:o,onChange:this.onChange,"aria-describedby":e}),Object(c.createElement)("label",{htmlFor:l,className:"components-toggle-control__label"},r))}}]),t}(c.Component),ri=Object(s.withInstanceId)(ni),oi=n(107),ai=n(74),ii=function(e){return Object(c.createElement)("div",{className:e.className},e.children)};var ci=function(e){var t=e.containerClassName,n=e.className,r=e.extraProps,o=e.children,s=Object(i.a)(e,["containerClassName","className","extraProps","children"]);return Object(c.useContext)(ai.a)?Object(c.createElement)(oi.a,Object(a.a)({className:d()("components-toolbar-button",n)},s),(function(e){return Object(c.createElement)(P.a,e,o)})):Object(c.createElement)(ii,{className:t},Object(c.createElement)(P.a,Object(a.a)({icon:s.icon,label:s.title,shortcut:s.shortcut,"data-subscript":s.subscript,onClick:function(e){e.stopPropagation(),s.onClick&&s.onClick(e)},className:d()("components-toolbar__control",n),isPressed:s.isActive,disabled:s.isDisabled},r)),o)},si=function(e){var t=e.className,n=e.children,r=Object(i.a)(e,["className","children"]);return Object(c.createElement)("div",Object(a.a)({className:t},r),n)};var li=function(e){var t=e.controls,n=void 0===t?[]:t,r=Object(i.a)(e,["controls"]),o=function(e){return Object(c.createElement)(Vr,Object(a.a)({hasArrowIndicator:!0,controls:n,toggleProps:e},r))};return Object(c.useContext)(ai.a)?Object(c.createElement)(oi.a,null,o):o()};var ui=function(e){var t=e.controls,n=void 0===t?[]:t,r=e.children,o=e.className,s=e.isCollapsed,l=e.title,u=Object(i.a)(e,["controls","children","className","isCollapsed","title"]),f=Object(c.useContext)(ai.a);if(!(n&&n.length||r))return null;var h=d()(f?"components-toolbar-group":"components-toolbar",o),p=n;return Array.isArray(p[0])||(p=[p]),s?Object(c.createElement)(li,Object(a.a)({label:l,controls:p,className:h,children:r},u)):Object(c.createElement)(si,Object(a.a)({className:h},u),Object(S.flatMap)(p,(function(e,t){return e.map((function(e,n){return Object(c.createElement)(ci,Object(a.a)({key:[t,n].join(),containerClassName:t>0&&0===n?"has-left-divider":null},e))}))})),r)},di=n(141),fi=n(61),hi=n(60),pi=n(43),bi=n(142),vi=n(68),mi=n(80),yi=n(69),gi=Object(hi.a)({name:"IdGroup",compose:mi.a,useState:yi.a,keys:["id"],useOptions:function(e,t){var n=Object(B.useContext)(vi.a),r=Object(B.useState)((function(){return e.id||t.id||e.baseId||n()}))[0];return e.unstable_setBaseId&&r!==e.baseId&&e.unstable_setBaseId(r),Object(pi.b)({},e,{baseId:r})},useProps:function(e,t){var n=void 0===t.id?e.id:t.id;return Object(pi.b)({},t,{id:n})}}),Oi=(Object(fi.a)({as:"div",useHook:gi}),Object(hi.a)({name:"Toolbar",compose:gi,useState:di.a,useProps:function(e,t){return Object(pi.b)({role:"toolbar","aria-orientation":e.orientation},t)}})),ki=Object(fi.a)({as:"div",useHook:Oi,useCreateElement:function(e,t,n){return Object(bi.a)(e,t,n)}});var _i=Object(c.forwardRef)((function(e,t){var n=e.accessibilityLabel,r=Object(i.a)(e,["accessibilityLabel"]),o=Object(di.a)({loop:!0});return Object(c.createElement)(ai.a.Provider,{value:o},Object(c.createElement)(ki,Object(a.a)({ref:t,"aria-label":n},o,r)))}));var wi=function(e){var t=e.className,n=e.__experimentalAccessibilityLabel,r=Object(i.a)(e,["className","__experimentalAccessibilityLabel"]);return n?Object(c.createElement)(_i,Object(a.a)({className:d()("components-accessible-toolbar",t),accessibilityLabel:n},r)):Object(c.createElement)(ui,Object(a.a)({},r,{className:t}))},ji=n(175),Di=n(179),Si=n(178),Ci=n(90),Mi={previous:["ctrl+shift+`",C.rawShortcut.access("p")],next:["ctrl+`",C.rawShortcut.access("n")]},Pi=Object(s.createHigherOrderComponent)((function(e){return function(t){var n=t.shortcuts,r=void 0===n?Mi:n,o=Object(i.a)(t,["shortcuts"]),a=Object(c.useRef)(),l=Object(c.useState)(!1),u=Object(kr.a)(l,2),f=u[0],h=u[1],p=d()("components-navigate-regions",{"is-focusing-regions":f});function b(e){var t=Array.from(a.current.querySelectorAll('[role="region"]'));if(t.length){var n=t[0],r=t.indexOf(document.activeElement);if(-1!==r){var o=r+e;n=t[o=(o=-1===o?t.length-1:o)===t.length?0:o]}n.focus(),h(!0)}}var v=Object(c.useCallback)((function(){return b(-1)}),[a]),m=Object(c.useCallback)((function(){return b(1)}),[a]);return Object(s.useKeyboardShortcut)(r.previous,v,{bindGlobal:!0}),Object(s.useKeyboardShortcut)(r.next,m,{bindGlobal:!0}),Object(c.createElement)("div",{ref:a,className:p,onClick:function(){return h(!1)}},Object(c.createElement)(e,o))}}),"navigateRegions"),Ei=function(e){return Object(s.createHigherOrderComponent)((function(t){return function(n){function r(){var e;return Object(g.a)(this,r),(e=Object(O.a)(this,Object(k.a)(r).apply(this,arguments))).nodeRef=e.props.node,e.state={fallbackStyles:void 0,grabStylesCompleted:!1},e.bindRef=e.bindRef.bind(Object(_.a)(e)),e}return Object(j.a)(r,n),Object(w.a)(r,[{key:"bindRef",value:function(e){e&&(this.nodeRef=e)}},{key:"componentDidMount",value:function(){this.grabFallbackStyles()}},{key:"componentDidUpdate",value:function(){this.grabFallbackStyles()}},{key:"grabFallbackStyles",value:function(){var t=this.state,n=t.grabStylesCompleted,r=t.fallbackStyles;if(this.nodeRef&&!n){var o=e(this.nodeRef,this.props);Object(S.isEqual)(o,r)||this.setState({fallbackStyles:o,grabStylesCompleted:!!Object(S.every)(o)})}}},{key:"render",value:function(){var e=Object(c.createElement)(t,Object(a.a)({},this.props,this.state.fallbackStyles));return this.props.node?e:Object(c.createElement)("div",{ref:this.bindRef}," ",e," ")}}]),r}(c.Component)}),"withFallbackStyles")},xi=n(29),zi=16;function Ii(e){return Object(s.createHigherOrderComponent)((function(t){var n,r="core/with-filters/"+e;var o=function(o){function a(){var r;return Object(g.a)(this,a),r=Object(O.a)(this,Object(k.a)(a).apply(this,arguments)),void 0===n&&(n=Object(xi.applyFilters)(e,t)),r}return Object(j.a)(a,o),Object(w.a)(a,[{key:"componentDidMount",value:function(){a.instances.push(this),1===a.instances.length&&(Object(xi.addAction)("hookRemoved",r,i),Object(xi.addAction)("hookAdded",r,i))}},{key:"componentWillUnmount",value:function(){a.instances=Object(S.without)(a.instances,this),0===a.instances.length&&(Object(xi.removeAction)("hookRemoved",r),Object(xi.removeAction)("hookAdded",r))}},{key:"render",value:function(){return Object(c.createElement)(n,this.props)}}]),a}(c.Component);o.instances=[];var a=Object(S.debounce)((function(){n=Object(xi.applyFilters)(e,t),o.instances.forEach((function(e){e.forceUpdate()}))}),zi);function i(t){t===e&&a()}return o}),"withFilters")}var Ti=n(177),Ni=n(81),Ai=n.n(Ni);function Ri(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Hi=Object(s.createHigherOrderComponent)((function(e){return function(t){function n(){var e;return Object(g.a)(this,n),(e=Object(O.a)(this,Object(k.a)(n).apply(this,arguments))).createNotice=e.createNotice.bind(Object(_.a)(e)),e.createErrorNotice=e.createErrorNotice.bind(Object(_.a)(e)),e.removeNotice=e.removeNotice.bind(Object(_.a)(e)),e.removeAllNotices=e.removeAllNotices.bind(Object(_.a)(e)),e.state={noticeList:[]},e.noticeOperations={createNotice:e.createNotice,createErrorNotice:e.createErrorNotice,removeAllNotices:e.removeAllNotices,removeNotice:e.removeNotice},e}return Object(j.a)(n,t),Object(w.a)(n,[{key:"createNotice",value:function(e){var t=e.id?e:function(e){for(var t=1;t0&&Object(c.createElement)(ya,{className:"components-with-notices-ui",notices:this.state.noticeList,onRemove:this.removeNotice})},this.props))}}]),n}(c.Component)})),Li="\n ".concat("font-weight: 400;","\n"),Fi="\n\t".concat("font-weight: 600;","\n\tfont-size: 14px;\n\tline-height: 20px;\n"),Vi="\n\t".concat("font-weight: 400;","\n"),Bi="\n ".concat("font-weight: 600;","\n font-size: 14px;\n line-height: 20px;\n"),Ki="\n\t".concat("font-weight: 400;","\n\tfont-size: 12px;\n\tline-height: 16px;\n"),Wi="\n\t".concat("font-weight: 600;","\n\tfont-size: 12px;\n\tline-height: 16px;\n"),Ui=De("p",{target:"e11g7orr0"})("margin: 0;",(function(e){return pe('font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,\nOxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;'," ",function(e){switch(e){case"title.large":return pe(Li," ","\n\tfont-size: 32px;\n\tline-height: 40px;\n","");case"title.medium":return pe(Li," ","\n\tfont-size: 24px;\n\tline-height: 32px;\n","");case"title.small":return pe(Li," ","\n\tfont-size: 20px;\n\tline-height: 28px;\n","");case"subtitle":return pe(Fi," ","\n\tfont-size: 16px;\n\tline-height: 24px;\n","");case"subtitle.small":return pe(Fi," ","\n\tfont-size: 14px;\n\tline-height: 20px;\n","");case"body":return pe(Vi," ","\n\tfont-size: 16px;\n\tline-height: 24px;\n","");case"body.small":return pe(Vi," ","\n\tfont-size: 14px;\n\tline-height: 20px;\n","");case"button":return Bi;case"caption":return Ki;case"label":return Wi}}(e.variant),"")}),"");n.d(t,"SVG",(function(){return r.SVG})),n.d(t,"Path",(function(){return r.Path})),n.d(t,"Circle",(function(){return r.Circle})),n.d(t,"Polygon",(function(){return r.Polygon})),n.d(t,"Rect",(function(){return r.Rect})),n.d(t,"G",(function(){return r.G})),n.d(t,"HorizontalRule",(function(){return r.HorizontalRule})),n.d(t,"BlockQuotation",(function(){return r.BlockQuotation})),n.d(t,"Animate",(function(){return o.a})),n.d(t,"__experimentalAnglePicker",(function(){return y})),n.d(t,"Autocomplete",(function(){return A})),n.d(t,"BaseControl",(function(){return v})),n.d(t,"Button",(function(){return P.a})),n.d(t,"ButtonGroup",(function(){return R})),n.d(t,"Card",(function(){return Ye})),n.d(t,"CardBody",(function(){return Qe})),n.d(t,"CardDivider",(function(){return Je})),n.d(t,"CardFooter",(function(){return nt})),n.d(t,"CardHeader",(function(){return at})),n.d(t,"CardMedia",(function(){return it})),n.d(t,"CheckboxControl",(function(){return lt})),n.d(t,"ClipboardButton",(function(){return ft})),n.d(t,"ColorIndicator",(function(){return ht})),n.d(t,"ColorPalette",(function(){return Ht})),n.d(t,"ColorPicker",(function(){return Tt})),n.d(t,"CustomSelectControl",(function(){return er})),n.d(t,"Dashicon",(function(){return Xn.a})),n.d(t,"DateTimePicker",(function(){return ir})),n.d(t,"DatePicker",(function(){return or})),n.d(t,"TimePicker",(function(){return ar})),n.d(t,"__experimentalDimensionControl",(function(){return dr})),n.d(t,"Disabled",(function(){return yr})),n.d(t,"Draggable",(function(){return Or})),n.d(t,"DropZone",(function(){return zr})),n.d(t,"__unstableUseDropZone",(function(){return Er})),n.d(t,"DropZoneProvider",(function(){return Pr})),n.d(t,"Dropdown",(function(){return Nt})),n.d(t,"DropdownMenu",(function(){return Vr})),n.d(t,"ExternalLink",(function(){return Br})),n.d(t,"FocalPointPicker",(function(){return Ur})),n.d(t,"FocusableIframe",(function(){return qr})),n.d(t,"FontSizePicker",(function(){return Jr})),n.d(t,"FormFileUpload",(function(){return eo})),n.d(t,"FormToggle",(function(){return to})),n.d(t,"FormTokenField",(function(){return ho})),n.d(t,"__experimentalGradientPicker",(function(){return Bo})),n.d(t,"__experimentalCustomGradientPicker",(function(){return Vo})),n.d(t,"Guide",(function(){return sa})),n.d(t,"GuidePage",(function(){return la})),n.d(t,"Icon",(function(){return cr.a})),n.d(t,"IconButton",(function(){return ua})),n.d(t,"KeyboardShortcuts",(function(){return yt})),n.d(t,"MenuGroup",(function(){return da})),n.d(t,"MenuItem",(function(){return ha})),n.d(t,"MenuItemsChoice",(function(){return pa})),n.d(t,"Modal",(function(){return na})),n.d(t,"ScrollLock",(function(){return ba.a})),n.d(t,"NavigableMenu",(function(){return Hr})),n.d(t,"TabbableContainer",(function(){return va})),n.d(t,"Notice",(function(){return ma})),n.d(t,"NoticeList",(function(){return ya})),n.d(t,"Panel",(function(){return Oa})),n.d(t,"PanelBody",(function(){return Da})),n.d(t,"PanelHeader",(function(){return ga})),n.d(t,"PanelRow",(function(){return Sa})),n.d(t,"Placeholder",(function(){return Pa})),n.d(t,"Popover",(function(){return E.a})),n.d(t,"QueryControls",(function(){return Aa})),n.d(t,"RadioControl",(function(){return Ra})),n.d(t,"RangeControl",(function(){return Yr})),n.d(t,"ResizableBox",(function(){return La})),n.d(t,"ResponsiveWrapper",(function(){return Fa})),n.d(t,"SandBox",(function(){return Ba})),n.d(t,"SelectControl",(function(){return sr})),n.d(t,"Snackbar",(function(){return Ka.a})),n.d(t,"SnackbarList",(function(){return qa})),n.d(t,"Spinner",(function(){return Ya})),n.d(t,"TabPanel",(function(){return Qa})),n.d(t,"TextControl",(function(){return wt})),n.d(t,"TextareaControl",(function(){return Ja})),n.d(t,"TextHighlight",(function(){return ei})),n.d(t,"Tip",(function(){return ti})),n.d(t,"ToggleControl",(function(){return ri})),n.d(t,"Toolbar",(function(){return wi})),n.d(t,"ToolbarButton",(function(){return ci})),n.d(t,"ToolbarGroup",(function(){return ui})),n.d(t,"__experimentalToolbarItem",(function(){return oi.a})),n.d(t,"Tooltip",(function(){return At.a})),n.d(t,"TreeSelect",(function(){return za})),n.d(t,"VisuallyHidden",(function(){return p})),n.d(t,"IsolatedEventContainer",(function(){return Ko.a})),n.d(t,"createSlotFill",(function(){return ji.a})),n.d(t,"Slot",(function(){return Di.a})),n.d(t,"Fill",(function(){return Si.a})),n.d(t,"SlotFillProvider",(function(){return Ci.b})),n.d(t,"__experimentalSlotFillConsumer",(function(){return Ci.a})),n.d(t,"navigateRegions",(function(){return Pi})),n.d(t,"withConstrainedTabbing",(function(){return Uo.a})),n.d(t,"withFallbackStyles",(function(){return Ei})),n.d(t,"withFilters",(function(){return Ii})),n.d(t,"withFocusOutside",(function(){return Kr.a})),n.d(t,"withFocusReturn",(function(){return Wo.a})),n.d(t,"FocusReturnProvider",(function(){return Ti.b})),n.d(t,"withNotices",(function(){return Hi})),n.d(t,"withSpokenMessages",(function(){return z})),n.d(t,"__experimentalText",(function(){return Ui}))},function(e,t,n){"use strict";n.r(t);var r=n(64),o=n.n(r),a=n(21),i=n.n(a),c=n(25),s=n.n(c),l=!("undefined"==typeof window||!window.document||!window.document.createElement),u=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===r(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,s.default)(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new a.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return u("action",e)}},{key:"defaultTarget",value:function(e){var t=u("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return u("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}]),t}(i.default);function u(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}e.exports=l},function(e,t,n){"use strict";var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,s.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,s.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":o(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=c},function(e,t){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(e),r.removeAllRanges(),r.addRange(o),t=r.toString()}return t}},function(e,t){function n(){}n.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===r(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,c.default)(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new a.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return u("action",e)}},{key:"defaultTarget",value:function(e){var t=u("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return u("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}]),t}(i.default);function u(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}e.exports=l},function(e,t,n){"use strict";var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,c.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,c.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":o(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=s},function(e,t){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(e),r.removeAllRanges(),r.addRange(o),t=r.toString()}return t}},function(e,t){function n(){}n.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r0&&!o.call(e,0))for(var b=0;b0)for(var v=0;v= 0");var n,r=0===t?0:t;if(c(e)&&(n=s(e,"constructor"),a&&"Object"===d(n)&&null===(n=s(n,a))&&(n=void 0)),void 0===n)return o(r);if(!l(n))throw new i("C must be a constructor");return new n(r)}},function(e,t){},function(e,t,n){"use strict";e.exports=function(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":void 0}},function(e,t,n){"use strict";e.exports=function(e){return"function"==typeof e&&!!e.prototype}},function(e,t,n){"use strict";var r=n(47)("%Math%"),o=r.floor,a=r.abs,i=n(131),s=n(155);e.exports=function(e){if("number"!=typeof e||i(e)||!s(e))return!1;var t=a(e);return o(t)===t}},function(e,t,n){"use strict";var r=n(47)("%TypeError%"),o=n(156),a=n(253),i=n(255),s=n(129),c=n(262),l=n(154),u=n(160),d=n(272);e.exports=function e(t,n,f,h,p){var b;arguments.length>5&&(b=arguments[5]);for(var v=h,m=0;m0&&(k=l(O)),k){var _=u(s(O,"length"));v=e(t,O,_,v,p-1)}else{if(v>=o)throw new r("index too large");i(t,d(v),O),v+=1}}m+=1}return v}},function(e,t,n){"use strict";var r=n(47)("%TypeError%"),o=n(153),a=n(254);e.exports=function(e,t){var n=arguments.length>2?arguments[2]:[];if(!a(e))throw new r(o(e)+" is not a function");return e.apply(t,n)}},function(e,t,n){"use strict";e.exports=n(157)},function(e,t,n){"use strict";var r=n(47)("%TypeError%"),o=n(256),a=n(101),i=n(75);e.exports=function(e,t,n){if("Object"!==i(e))throw new r("Assertion failed: Type(O) is not Object");if(!a(t))throw new r("Assertion failed: IsPropertyKey(P) is not true");var s=o(e,t,n);if(!s)throw new r("unable to create data property");return s}},function(e,t,n){"use strict";var r=n(47),o=r("%Object.getOwnPropertyDescriptor%"),a=r("%TypeError%"),i=n(257),s=n(258),c=n(259),l=n(260),u=n(101),d=n(261),f=n(75);e.exports=function(e,t,n){if("Object"!==f(e))throw new a("Assertion failed: Type(O) is not Object");if(!u(t))throw new a("Assertion failed: IsPropertyKey(P) is not true");var r=o(e,t),h=r||l(e);return!(r&&(!r.writable||!r.configurable)||!h)&&i(c,d,s,e,t,{"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":n,"[[Writable]]":!0})}},function(e,t,n){"use strict";var r=n(47)("%Object.defineProperty%"),o=n(130)("Object.prototype.propertyIsEnumerable");e.exports=function(e,t,n,a,i,s){if(!r){if(!e(s))return!1;if(!s["[[Configurable]]"]||!s["[[Writable]]"])return!1;if(i in a&&o(a,i)!==!!s["[[Enumerable]]"])return!1;var c=s["[[Value]]"];return a[i]=c,t(a[i],c)}return r(a,i,n(s)),!0}},function(e,t,n){"use strict";var r=n(158),o=n(75);e.exports=function(e){if(void 0===e)return e;r(o,"Property Descriptor","Desc",e);var t={};return"[[Value]]"in e&&(t.value=e["[[Value]]"]),"[[Writable]]"in e&&(t.writable=e["[[Writable]]"]),"[[Get]]"in e&&(t.get=e["[[Get]]"]),"[[Set]]"in e&&(t.set=e["[[Set]]"]),"[[Enumerable]]"in e&&(t.enumerable=e["[[Enumerable]]"]),"[[Configurable]]"in e&&(t.configurable=e["[[Configurable]]"]),t}},function(e,t,n){"use strict";var r=n(76),o=n(158),a=n(75);e.exports=function(e){return void 0!==e&&(o(a,"Property Descriptor","Desc",e),!(!r(e,"[[Value]]")&&!r(e,"[[Writable]]")))}},function(e,t,n){"use strict";var r=n(47)("%Object%"),o=n(159),a=r.preventExtensions,i=r.isExtensible;e.exports=a?function(e){return!o(e)&&i(e)}:function(e){return!0}},function(e,t,n){"use strict";var r=n(131);e.exports=function(e,t){return e===t?0!==e||1/e==1/t:r(e)&&r(t)}},function(e,t,n){"use strict";var r=n(47)("%TypeError%"),o=n(101),a=n(75);e.exports=function(e,t){if("Object"!==a(e))throw new r("Assertion failed: `O` must be an Object");if(!o(t))throw new r("Assertion failed: `P` must be a Property Key");return t in e}},function(e,t,n){"use strict";var r=n(47)("%Math%"),o=n(264),a=n(131),i=n(155),s=n(265),c=r.floor,l=r.abs;e.exports=function(e){var t=o(e);return a(t)?0:0!==t&&i(t)?s(t)*c(l(t)):t}},function(e,t,n){"use strict";e.exports=function(e){return+e}},function(e,t,n){"use strict";e.exports=function(e){return e>=0?1:-1}},function(e,t,n){"use strict";var r=n(47),o=r("%TypeError%"),a=r("%Number%"),i=r("%RegExp%"),s=r("%parseInt%"),c=n(130),l=n(267),u=n(159),d=c("String.prototype.slice"),f=l(/^0b[01]+$/i),h=l(/^0o[0-7]+$/i),p=l(/^[-+]0x[0-9a-f]+$/i),b=l(new i("["+["…","​","￾"].join("")+"]","g")),v=["\t\n\v\f\r   ᠎    ","          \u2028","\u2029\ufeff"].join(""),m=new RegExp("(^["+v+"]+)|(["+v+"]+$)","g"),y=c("String.prototype.replace"),g=n(268);e.exports=function e(t){var n=u(t)?t:g(t,a);if("symbol"==typeof n)throw new o("Cannot convert a Symbol value to a number");if("string"==typeof n){if(f(n))return e(s(d(n,2),2));if(h(n))return e(s(d(n,2),8));if(b(n)||p(n))return NaN;var r=function(e){return y(e,m,"")}(n);if(r!==n)return e(r)}return a(n)}},function(e,t,n){"use strict";var r=n(47)("RegExp.prototype.test"),o=n(128);e.exports=function(e){return o(r,e)}},function(e,t,n){"use strict";var r=n(269);e.exports=function(e){return arguments.length>1?r(e,arguments[1]):r(e)}},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,o=n(270),a=n(157),i=n(162),s=n(132),c=function(e,t){if(null==e)throw new TypeError("Cannot call method on "+e);if("string"!=typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"');var n,r,i,s="string"===t?["toString","valueOf"]:["valueOf","toString"];for(i=0;i1&&(arguments[1]===String?n="string":arguments[1]===Number&&(n="number")),r&&(Symbol.toPrimitive?t=l(e,Symbol.toPrimitive):s(e)&&(t=Symbol.prototype.valueOf)),void 0!==t){var a=t.call(e,n);if(o(a))return a;throw new TypeError("unable to convert exotic object to primitive")}return"default"===n&&(i(e)||s(e))&&(n="string"),c(e,"default"===n?"number":n)}},function(e,t,n){"use strict";e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},function(e,t,n){"use strict";(function(t){var r=t.Symbol,o=n(163);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,n(63))},function(e,t,n){"use strict";var r=n(47),o=r("%String%"),a=r("%TypeError%");e.exports=function(e){if("symbol"==typeof e)throw new a("Cannot convert a Symbol value to a string");return o(e)}},function(e,t,n){"use strict";var r=n(47)("%Object%"),o=n(274);e.exports=function(e){return o(e),r(e)}},function(e,t,n){"use strict";e.exports=n(275)},function(e,t,n){"use strict";var r=n(47)("%TypeError%");e.exports=function(e,t){if(null==e)throw new r(t||"Cannot call method on "+e);return e}},function(e,t,n){"use strict";var r=n(66),o=n(164);e.exports=function(){var e=o();return r(Array.prototype,{flat:e},{flat:function(){return Array.prototype.flat!==e}}),e}},function(e,t,n){"use strict";(function(t){var r=n(66),o=n(132),a="__ global cache key __";"function"==typeof Symbol&&o(Symbol("foo"))&&"function"==typeof Symbol.for&&(a=Symbol.for(a));var i=function(){return!0},s=function(){if(!t[a]){var e={};e[a]={};var n={};n[a]=i,r(t,e,n)}return t[a]},c=s(),l=function(e){return o(e)?Symbol.prototype.valueOf.call(e):typeof e+" | "+String(e)},u=function(e){if(!function(e){return null===e||"object"!=typeof e&&"function"!=typeof e}(e))throw new TypeError("key must not be an object")},d={clear:function(){delete t[a],c=s()},delete:function(e){return u(e),delete c[l(e)],!d.has(e)},get:function(e){return u(e),c[l(e)]},has:function(e){return u(e),l(e)in c},set:function(e,t){u(e);var n=l(e),o={};o[n]=t;var a={};return a[n]=i,r(c,o,a),d.has(e)},setIfMissingThenGet:function(e,t){if(d.has(e))return d.get(e);var n=t();return d.set(e,n),n}};e.exports=d}).call(this,n(63))},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.GLOBAL_CACHE_KEY="reactWithStylesInterfaceCSS",t.MAX_SPECIFICITY=20},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(e.length>0?String(e)+"__":"")+String(t)}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=[],n=!1,r={},o=0;o>",baseInvalidMessage:"Invalid "};function r(e){if("function"!=typeof e)throw new Error(n.invalidPropValidator);var t=e.bind(null,!1,null);return t.isRequired=e.bind(null,!0,null),t.withPredicate=function(t){if("function"!=typeof t)throw new Error(n.invalidPredicate);var r=e.bind(null,!1,t);return r.isRequired=e.bind(null,!0,t),r},t}function o(e,t,r){return new Error("The prop `"+e+"` "+n.requiredCore+" in `"+t+"`, but its value is `"+r+"`.")}var a=-1;e.exports={constructPropValidatorVariations:r,createMomentChecker:function(e,t,i,s){return r((function(r,c,l,u,d,f,h){var p=l[u],b=typeof p,v=function(e,t,n,r){var i=void 0===r,s=null===r;if(e){if(i)return o(n,t,"undefined");if(s)return o(n,t,"null")}return i||s?null:a}(r,d=d||n.anonymousMessage,h=h||u,p);if(v!==a)return v;if(t&&!t(p))return new Error(n.invalidTypeCore+": `"+u+"` of type `"+b+"` supplied to `"+d+"`, expected `"+e+"`.");if(!i(p))return new Error(n.baseInvalidMessage+f+" `"+u+"` of type `"+b+"` supplied to `"+d+"`, expected `"+s+"`.");if(c&&!c(p)){var m=c.name||n.anonymousMessage;return new Error(n.baseInvalidMessage+f+" `"+u+"` of type `"+b+"` supplied to `"+d+"`. "+n.predicateFailureCore+" `"+m+"`.")}return null}))},messages:n}},function(e,t,n){"use strict";function r(){return null}function o(){return r}r.isRequired=r,e.exports={and:o,between:o,booleanSome:o,childrenHavePropXorChildren:o,childrenOf:o,childrenOfType:o,childrenSequenceOf:o,componentWithName:o,disallowedIf:o,elementType:o,empty:o,explicitNull:o,forbidExtraProps:Object,integer:o,keysOf:o,mutuallyExclusiveProps:o,mutuallyExclusiveTrueProps:o,nChildren:o,nonNegativeInteger:r,nonNegativeNumber:o,numericString:o,object:o,or:o,range:o,ref:o,requiredBy:o,restrictedProp:o,sequenceOf:o,shape:o,stringEndsWith:o,stringStartsWith:o,uniqueArray:o,uniqueArrayOf:o,valuesOf:o,withShape:o}},function(e,t,n){"use strict";var r=n(289),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var o=h(n);o&&o!==p&&e(t,o,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=c(t),b=c(n),v=0;v0&&!o.call(e,0))for(var b=0;b0)for(var v=0;v= 0");var n,r=0===t?0:t;if(s(e)&&(n=c(e,"constructor"),a&&"Object"===d(n)&&null===(n=c(n,a))&&(n=void 0)),void 0===n)return o(r);if(!l(n))throw new i("C must be a constructor");return new n(r)}},function(e,t){},function(e,t,n){"use strict";e.exports=function(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":void 0}},function(e,t,n){"use strict";e.exports=function(e){return"function"==typeof e&&!!e.prototype}},function(e,t,n){"use strict";var r=n(49)("%Math%"),o=r.floor,a=r.abs,i=n(163),c=n(191);e.exports=function(e){if("number"!=typeof e||i(e)||!c(e))return!1;var t=a(e);return o(t)===t}},function(e,t,n){"use strict";var r=n(49)("%TypeError%"),o=n(192),a=n(299),i=n(300),c=n(161),s=n(312),l=n(162),u=n(198),d=n(322);e.exports=function e(t,n,f,h,p){var b;arguments.length>5&&(b=arguments[5]);for(var v=h,m=0;m0&&(k=l(O)),k){var _=u(c(O,"length"));v=e(t,O,_,v,p-1)}else{if(v>=o)throw new r("index too large");i(t,d(v),O),v+=1}}m+=1}return v}},function(e,t,n){"use strict";var r=n(49)("%TypeError%"),o=n(190),a=n(193);e.exports=function(e,t){var n=arguments.length>2?arguments[2]:[];if(!a(e))throw new r(o(e)+" is not a function");return e.apply(t,n)}},function(e,t,n){"use strict";var r=n(49)("%TypeError%"),o=n(301),a=n(115),i=n(78);e.exports=function(e,t,n){if("Object"!==i(e))throw new r("Assertion failed: Type(O) is not Object");if(!a(t))throw new r("Assertion failed: IsPropertyKey(P) is not true");var c=o(e,t,n);if(!c)throw new r("unable to create data property");return c}},function(e,t,n){"use strict";var r=n(49)("%TypeError%"),o=n(302),a=n(303),i=n(304),c=n(309),s=n(310),l=n(115),u=n(311),d=n(78);e.exports=function(e,t,n){if("Object"!==d(e))throw new r("Assertion failed: Type(O) is not Object");if(!l(t))throw new r("Assertion failed: IsPropertyKey(P) is not true");var f=i(e,t),h=f||s(e);return!(f&&(!f.writable||!f.configurable)||!h)&&o(c,u,a,e,t,{"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":n,"[[Writable]]":!0})}},function(e,t,n){"use strict";var r=n(49)("%Object.defineProperty%",!0);if(r)try{r({},"a",{value:1})}catch(e){r=null}var o=n(127)("Object.prototype.propertyIsEnumerable");e.exports=function(e,t,n,a,i,c){if(!r){if(!e(c))return!1;if(!c["[[Configurable]]"]||!c["[[Writable]]"])return!1;if(i in a&&o(a,i)!==!!c["[[Enumerable]]"])return!1;var s=c["[[Value]]"];return a[i]=s,t(a[i],s)}return r(a,i,n(c)),!0}},function(e,t,n){"use strict";var r=n(195),o=n(78);e.exports=function(e){if(void 0===e)return e;r(o,"Property Descriptor","Desc",e);var t={};return"[[Value]]"in e&&(t.value=e["[[Value]]"]),"[[Writable]]"in e&&(t.writable=e["[[Writable]]"]),"[[Get]]"in e&&(t.get=e["[[Get]]"]),"[[Set]]"in e&&(t.set=e["[[Set]]"]),"[[Enumerable]]"in e&&(t.enumerable=e["[[Enumerable]]"]),"[[Configurable]]"in e&&(t.configurable=e["[[Configurable]]"]),t}},function(e,t,n){"use strict";var r=n(49),o=n(305),a=r("%TypeError%"),i=n(127)("Object.prototype.propertyIsEnumerable"),c=n(72),s=n(162),l=n(115),u=n(306),d=n(308),f=n(78);e.exports=function(e,t){if("Object"!==f(e))throw new a("Assertion failed: O must be an Object");if(!l(t))throw new a("Assertion failed: P must be a Property Key");if(c(e,t)){if(!o){var n=s(e)&&"length"===t,r=u(e)&&"lastIndex"===t;return{"[[Configurable]]":!(n||r),"[[Enumerable]]":i(e,t),"[[Value]]":e[t],"[[Writable]]":!0}}return d(o(e,t))}}},function(e,t,n){"use strict";var r=n(49)("%Object.getOwnPropertyDescriptor%");if(r)try{r([],"length")}catch(e){r=null}e.exports=r},function(e,t,n){"use strict";var r=n(49)("%Symbol.match%",!0),o=n(307),a=n(196);e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(r){var t=e[r];if(void 0!==t)return a(t)}return o(e)}},function(e,t,n){"use strict";var r=n(72),o=RegExp.prototype.exec,a=Object.getOwnPropertyDescriptor,i=Object.prototype.toString,c="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!c)return"[object RegExp]"===i.call(e);var t=a(e,"lastIndex");return!(!t||!r(t,"value"))&&function(e){try{var t=e.lastIndex;return e.lastIndex=0,o.call(e),!0}catch(e){return!1}finally{e.lastIndex=t}}(e)}},function(e,t,n){"use strict";var r=n(72),o=n(49)("%TypeError%"),a=n(78),i=n(196),c=n(193);e.exports=function(e){if("Object"!==a(e))throw new o("ToPropertyDescriptor requires an object");var t={};if(r(e,"enumerable")&&(t["[[Enumerable]]"]=i(e.enumerable)),r(e,"configurable")&&(t["[[Configurable]]"]=i(e.configurable)),r(e,"value")&&(t["[[Value]]"]=e.value),r(e,"writable")&&(t["[[Writable]]"]=i(e.writable)),r(e,"get")){var n=e.get;if(void 0!==n&&!c(n))throw new TypeError("getter must be a function");t["[[Get]]"]=n}if(r(e,"set")){var s=e.set;if(void 0!==s&&!c(s))throw new o("setter must be a function");t["[[Set]]"]=s}if((r(t,"[[Get]]")||r(t,"[[Set]]"))&&(r(t,"[[Value]]")||r(t,"[[Writable]]")))throw new o("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}},function(e,t,n){"use strict";var r=n(72),o=n(195),a=n(78);e.exports=function(e){return void 0!==e&&(o(a,"Property Descriptor","Desc",e),!(!r(e,"[[Value]]")&&!r(e,"[[Writable]]")))}},function(e,t,n){"use strict";var r=n(49)("%Object%"),o=n(197),a=r.preventExtensions,i=r.isExtensible;e.exports=a?function(e){return!o(e)&&i(e)}:function(e){return!o(e)}},function(e,t,n){"use strict";var r=n(163);e.exports=function(e,t){return e===t?0!==e||1/e==1/t:r(e)&&r(t)}},function(e,t,n){"use strict";var r=n(49)("%TypeError%"),o=n(115),a=n(78);e.exports=function(e,t){if("Object"!==a(e))throw new r("Assertion failed: `O` must be an Object");if(!o(t))throw new r("Assertion failed: `P` must be a Property Key");return t in e}},function(e,t,n){"use strict";var r=n(49)("%Math%"),o=n(314),a=n(163),i=n(191),c=n(315),s=r.floor,l=r.abs;e.exports=function(e){var t=o(e);return a(t)?0:0!==t&&i(t)?c(t)*s(l(t)):t}},function(e,t,n){"use strict";e.exports=function(e){return+e}},function(e,t,n){"use strict";e.exports=function(e){return e>=0?1:-1}},function(e,t,n){"use strict";var r=n(49),o=r("%TypeError%"),a=r("%Number%"),i=r("%RegExp%"),c=r("%parseInt%"),s=n(127),l=n(317),u=n(197),d=s("String.prototype.slice"),f=l(/^0b[01]+$/i),h=l(/^0o[0-7]+$/i),p=l(/^[-+]0x[0-9a-f]+$/i),b=l(new i("["+["…","​","￾"].join("")+"]","g")),v=["\t\n\v\f\r   ᠎    ","          \u2028","\u2029\ufeff"].join(""),m=new RegExp("(^["+v+"]+)|(["+v+"]+$)","g"),y=s("String.prototype.replace"),g=n(318);e.exports=function e(t){var n=u(t)?t:g(t,a);if("symbol"==typeof n)throw new o("Cannot convert a Symbol value to a number");if("string"==typeof n){if(f(n))return e(c(d(n,2),2));if(h(n))return e(c(d(n,2),8));if(b(n)||p(n))return NaN;var r=function(e){return y(e,m,"")}(n);if(r!==n)return e(r)}return a(n)}},function(e,t,n){"use strict";var r=n(49)("RegExp.prototype.test"),o=n(160);e.exports=function(e){return o(r,e)}},function(e,t,n){"use strict";var r=n(319);e.exports=function(e){return arguments.length>1?r(e,arguments[1]):r(e)}},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,o=n(320),a=n(194),i=n(200),c=n(164),s=function(e,t){if(null==e)throw new TypeError("Cannot call method on "+e);if("string"!=typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"');var n,r,i,c="string"===t?["toString","valueOf"]:["valueOf","toString"];for(i=0;i1&&(arguments[1]===String?n="string":arguments[1]===Number&&(n="number")),r&&(Symbol.toPrimitive?t=l(e,Symbol.toPrimitive):c(e)&&(t=Symbol.prototype.valueOf)),void 0!==t){var a=t.call(e,n);if(o(a))return a;throw new TypeError("unable to convert exotic object to primitive")}return"default"===n&&(i(e)||c(e))&&(n="string"),s(e,"default"===n?"number":n)}},function(e,t,n){"use strict";e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},function(e,t,n){"use strict";(function(t){var r=t.Symbol,o=n(201);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,n(71))},function(e,t,n){"use strict";var r=n(49),o=r("%String%"),a=r("%TypeError%");e.exports=function(e){if("symbol"==typeof e)throw new a("Cannot convert a Symbol value to a string");return o(e)}},function(e,t,n){"use strict";var r=n(49)("%Object%"),o=n(324);e.exports=function(e){return o(e),r(e)}},function(e,t,n){"use strict";e.exports=n(325)},function(e,t,n){"use strict";var r=n(49)("%TypeError%");e.exports=function(e,t){if(null==e)throw new r(t||"Cannot call method on "+e);return e}},function(e,t,n){"use strict";var r=n(77),o=n(202);e.exports=function(){var e=o();return r(Array.prototype,{flat:e},{flat:function(){return Array.prototype.flat!==e}}),e}},function(e,t,n){"use strict";(function(t){var r=n(77),o=n(164),a="__ global cache key __";"function"==typeof Symbol&&o(Symbol("foo"))&&"function"==typeof Symbol.for&&(a=Symbol.for(a));var i=function(){return!0},c=function(){if(!t[a]){var e={};e[a]={};var n={};n[a]=i,r(t,e,n)}return t[a]},s=c(),l=function(e){return o(e)?Symbol.prototype.valueOf.call(e):typeof e+" | "+String(e)},u=function(e){if(!function(e){return null===e||"object"!=typeof e&&"function"!=typeof e}(e))throw new TypeError("key must not be an object")},d={clear:function(){delete t[a],s=c()},delete:function(e){return u(e),delete s[l(e)],!d.has(e)},get:function(e){return u(e),s[l(e)]},has:function(e){return u(e),l(e)in s},set:function(e,t){u(e);var n=l(e),o={};o[n]=t;var a={};return a[n]=i,r(s,o,a),d.has(e)},setIfMissingThenGet:function(e,t){if(d.has(e))return d.get(e);var n=t();return d.set(e,n),n}};e.exports=d}).call(this,n(71))},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.GLOBAL_CACHE_KEY="reactWithStylesInterfaceCSS",t.MAX_SPECIFICITY=20},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(e.length>0?String(e)+"__":"")+String(t)}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=[],n=!1,r={},o=0;o>",baseInvalidMessage:"Invalid "};function r(e){if("function"!=typeof e)throw new Error(n.invalidPropValidator);var t=e.bind(null,!1,null);return t.isRequired=e.bind(null,!0,null),t.withPredicate=function(t){if("function"!=typeof t)throw new Error(n.invalidPredicate);var r=e.bind(null,!1,t);return r.isRequired=e.bind(null,!0,t),r},t}function o(e,t,r){return new Error("The prop `"+e+"` "+n.requiredCore+" in `"+t+"`, but its value is `"+r+"`.")}var a=-1;e.exports={constructPropValidatorVariations:r,createMomentChecker:function(e,t,i,c){return r((function(r,s,l,u,d,f,h){var p=l[u],b=typeof p,v=function(e,t,n,r){var i=void 0===r,c=null===r;if(e){if(i)return o(n,t,"undefined");if(c)return o(n,t,"null")}return i||c?null:a}(r,d=d||n.anonymousMessage,h=h||u,p);if(v!==a)return v;if(t&&!t(p))return new Error(n.invalidTypeCore+": `"+u+"` of type `"+b+"` supplied to `"+d+"`, expected `"+e+"`.");if(!i(p))return new Error(n.baseInvalidMessage+f+" `"+u+"` of type `"+b+"` supplied to `"+d+"`, expected `"+c+"`.");if(s&&!s(p)){var m=s.name||n.anonymousMessage;return new Error(n.baseInvalidMessage+f+" `"+u+"` of type `"+b+"` supplied to `"+d+"`. "+n.predicateFailureCore+" `"+m+"`.")}return null}))},messages:n}},function(e,t,n){"use strict";function r(){return null}function o(){return r}r.isRequired=r,e.exports={and:o,between:o,booleanSome:o,childrenHavePropXorChildren:o,childrenOf:o,childrenOfType:o,childrenSequenceOf:o,componentWithName:o,disallowedIf:o,elementType:o,empty:o,explicitNull:o,forbidExtraProps:Object,integer:o,keysOf:o,mutuallyExclusiveProps:o,mutuallyExclusiveTrueProps:o,nChildren:o,nonNegativeInteger:r,nonNegativeNumber:o,numericString:o,object:o,or:o,range:o,ref:o,requiredBy:o,restrictedProp:o,sequenceOf:o,shape:o,stringEndsWith:o,stringStartsWith:o,uniqueArray:o,uniqueArrayOf:o,valuesOf:o,withShape:o}},function(e,t,n){"use strict";var r=n(339),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function s(e){return r.isMemo(e)?i:c[e.$$typeof]||o}c[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[r.Memo]=i;var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var o=h(n);o&&o!==p&&e(t,o,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var c=s(t),b=s(n),v=0;v2&&void 0!==arguments[2]?arguments[2]:a.default.localeData().firstDayOfWeek();if(!a.default.isMoment(e)||!e.isValid())throw new TypeError("`month` must be a valid moment object");if(-1===i.WEEKDAYS.indexOf(n))throw new TypeError("`firstDayOfWeek` must be an integer between 0 and 6");for(var r=e.clone().startOf("month").hour(12),o=e.clone().endOf("month").hour(12),s=(r.day()+7-n)%7,c=(n+6-o.day())%7,l=r.clone().subtract(s,"day"),u=o.clone().add(c,"day").diff(l,"days")+1,d=l.clone(),f=[],h=0;h=s&&h2?arguments[2]:[];if(!this.IsCallable(e))throw new s(e+" is not a function");return e.apply(t,n)},ToPrimitive:o,ToNumber:function(e){var t=w(e)?e:o(e,f);if("symbol"==typeof t)throw new s("Cannot convert a Symbol value to a number");if("string"==typeof t){if(M(t))return this.ToNumber(D(C(t,2),2));if(E(t))return this.ToNumber(D(C(t,2),8));if(z(t)||I(t))return NaN;var n=function(e){return q(e,G,"")}(t);if(n!==t)return this.ToNumber(n)}return f(t)},ToInt16:function(e){var t=this.ToUint16(e);return t>=32768?t-65536:t},ToInt8:function(e){var t=this.ToUint8(e);return t>=128?t-256:t},ToUint8:function(e){var t=this.ToNumber(e);if(m(t)||0===t||!y(t))return 0;var n=k(t)*F(V(t));return _(n,256)},ToUint8Clamp:function(e){var t=this.ToNumber(e);if(m(t)||t<=0)return 0;if(t>=255)return 255;var n=F(e);return n+.5g?g:t},CanonicalNumericIndexString:function(e){if("[object String]"!==N(e))throw new s("must be a string");if("-0"===e)return-0;var t=this.ToNumber(e);return this.SameValue(this.ToString(t),e)?t:void 0},RequireObjectCoercible:Y.CheckObjectCoercible,IsArray:l.isArray||function(e){return"[object Array]"===N(e)},IsConstructor:function(e){return"function"==typeof e&&!!e.prototype},IsExtensible:Object.preventExtensions?function(e){return!w(e)&&W(e)}:function(e){return!0},IsInteger:function(e){if("number"!=typeof e||m(e)||!y(e))return!1;var t=V(e);return F(t)===t},IsPropertyKey:function(e){return"string"==typeof e||"symbol"==typeof e},IsRegExp:function(e){if(!e||"object"!=typeof e)return!1;if(b){var t=e[h.match];if(void 0!==t)return Y.ToBoolean(t)}return Z(e)},SameValueZero:function(e,t){return e===t||m(e)&&m(t)},GetV:function(e,t){if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");return this.ToObject(e)[t]},GetMethod:function(e,t){if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");var n=this.GetV(e,t);if(null!=n){if(!this.IsCallable(n))throw new s(t+"is not a function");return n}},Get:function(e,t){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");return e[t]},Type:function(e){return"symbol"==typeof e?"Symbol":Y.Type(e)},SpeciesConstructor:function(e,t){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");var n=e.constructor;if(void 0===n)return t;if("Object"!==this.Type(n))throw new s("O.constructor is not an Object");var r=b&&h.species?n[h.species]:void 0;if(null==r)return t;if(this.IsConstructor(r))return r;throw new s("no constructor found")},CompletePropertyDescriptor:function(e){return v(this,"Property Descriptor","Desc",e),this.IsGenericDescriptor(e)||this.IsDataDescriptor(e)?(r(e,"[[Value]]")||(e["[[Value]]"]=void 0),r(e,"[[Writable]]")||(e["[[Writable]]"]=!1)):(r(e,"[[Get]]")||(e["[[Get]]"]=void 0),r(e,"[[Set]]")||(e["[[Set]]"]=void 0)),r(e,"[[Enumerable]]")||(e["[[Enumerable]]"]=!1),r(e,"[[Configurable]]")||(e["[[Configurable]]"]=!1),e},Set:function(e,t,n,r){if("Object"!==this.Type(e))throw new s("O must be an Object");if(!this.IsPropertyKey(t))throw new s("P must be a Property Key");if("Boolean"!==this.Type(r))throw new s("Throw must be a Boolean");if(r)return e[t]=n,!0;try{e[t]=n}catch(e){return!1}},HasOwnProperty:function(e,t){if("Object"!==this.Type(e))throw new s("O must be an Object");if(!this.IsPropertyKey(t))throw new s("P must be a Property Key");return r(e,t)},HasProperty:function(e,t){if("Object"!==this.Type(e))throw new s("O must be an Object");if(!this.IsPropertyKey(t))throw new s("P must be a Property Key");return t in e},IsConcatSpreadable:function(e){if("Object"!==this.Type(e))return!1;if(b&&"symbol"==typeof h.isConcatSpreadable){var t=this.Get(e,Symbol.isConcatSpreadable);if(void 0!==t)return this.ToBoolean(t)}return this.IsArray(e)},Invoke:function(e,t){if(!this.IsPropertyKey(t))throw new s("P must be a Property Key");var n=j(arguments,2),r=this.GetV(e,t);return this.Call(r,e,n)},GetIterator:function(e,t){if(!b)throw new SyntaxError("ES.GetIterator depends on native iterator support.");var n=t;arguments.length<2&&(n=this.GetMethod(e,h.iterator));var r=this.Call(n,e);if("Object"!==this.Type(r))throw new s("iterator must return an object");return r},IteratorNext:function(e,t){var n=this.Invoke(e,"next",arguments.length<2?[]:[t]);if("Object"!==this.Type(n))throw new s("iterator next must return an object");return n},IteratorComplete:function(e){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(iterResult) is not Object");return this.ToBoolean(this.Get(e,"done"))},IteratorValue:function(e){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(iterResult) is not Object");return this.Get(e,"value")},IteratorStep:function(e){var t=this.IteratorNext(e);return!0!==this.IteratorComplete(t)&&t},IteratorClose:function(e,t){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(iterator) is not Object");if(!this.IsCallable(t))throw new s("Assertion failed: completion is not a thunk for a Completion Record");var n,r=t,o=this.GetMethod(e,"return");if(void 0===o)return r();try{var a=this.Call(o,e,[])}catch(e){throw n=r(),r=null,e}if(n=r(),r=null,"Object"!==this.Type(a))throw new s("iterator .return must return an object");return n},CreateIterResultObject:function(e,t){if("Boolean"!==this.Type(t))throw new s("Assertion failed: Type(done) is not Boolean");return{value:e,done:t}},RegExpExec:function(e,t){if("Object"!==this.Type(e))throw new s("R must be an Object");if("String"!==this.Type(t))throw new s("S must be a String");var n=this.Get(e,"exec");if(this.IsCallable(n)){var r=this.Call(n,e,[t]);if(null===r||"Object"===this.Type(r))return r;throw new s('"exec" method must return `null` or an Object')}return P(e,t)},ArraySpeciesCreate:function(e,t){if(!this.IsInteger(t)||t<0)throw new s("Assertion failed: length must be an integer >= 0");var n,r=0===t?0:t;if(this.IsArray(e)&&(n=this.Get(e,"constructor"),"Object"===this.Type(n)&&b&&h.species&&null===(n=this.Get(n,h.species))&&(n=void 0)),void 0===n)return l(r);if(!this.IsConstructor(n))throw new s("C must be a constructor");return new n(r)},CreateDataProperty:function(e,t,n){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");var r=K(e,t),o=r||"function"!=typeof W||W(e);return!(!(!r||r.writable&&r.configurable)||!o)&&(U(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}),!0)},CreateDataPropertyOrThrow:function(e,t,n){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");var r=this.CreateDataProperty(e,t,n);if(!r)throw new s("unable to create data property");return r},ObjectCreate:function(e,t){if(null!==e&&"Object"!==this.Type(e))throw new s("Assertion failed: proto must be null or an object");var n=arguments.length<2?[]:t;if(n.length>0)throw new c("es-abstract does not yet support internal slots");if(null===e&&!B)throw new c("native Object.create support is required to create null objects");return B(e)},AdvanceStringIndex:function(e,t,n){if("String"!==this.Type(e))throw new s("S must be a String");if(!this.IsInteger(t)||t<0||t>g)throw new s("Assertion failed: length must be an integer >= 0 and <= 2**53");if("Boolean"!==this.Type(n))throw new s("Assertion failed: unicode must be a Boolean");if(!n)return t+1;if(t+1>=e.length)return t+1;var r=T(e,t);if(r<55296||r>56319)return t+1;var o=T(e,t+1);return o<56320||o>57343?t+1:t+2},CreateMethodProperty:function(e,t,n){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");return!!U(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0})},DefinePropertyOrThrow:function(e,t,n){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");return!!U(e,t,n)},DeletePropertyOrThrow:function(e,t){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");var n=delete e[t];if(!n)throw new TypeError("Attempt to delete property failed.");return n},EnumerableOwnNames:function(e){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");return a(e)},thisNumberValue:function(e){return"Number"===this.Type(e)?e:A(e)},thisBooleanValue:function(e){return"Boolean"===this.Type(e)?e:R(e)},thisStringValue:function(e){return"String"===this.Type(e)?e:H(e)},thisTimeValue:function(e){return L(e)}});delete X.CheckObjectCoercible,e.exports=X},function(e,t,n){"use strict";e.exports=n(307)},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,o=n(176),a=n(136),i=n(162),s=n(132),c=function(e,t){if(null==e)throw new TypeError("Cannot call method on "+e);if("string"!=typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"');var n,r,i,s="string"===t?["toString","valueOf"]:["valueOf","toString"];for(i=0;i1&&(arguments[1]===String?n="string":arguments[1]===Number&&(n="number")),r&&(Symbol.toPrimitive?t=l(e,Symbol.toPrimitive):s(e)&&(t=Symbol.prototype.valueOf)),void 0!==t){var a=t.call(e,n);if(o(a))return a;throw new TypeError("unable to convert exotic object to primitive")}return"default"===n&&(i(e)||s(e))&&(n="string"),c(e,"default"===n?"number":n)}},function(e,t){e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},function(e,t,n){"use strict";var r=n(137),o=r("%Object%"),a=r("%TypeError%"),i=r("%String%"),s=n(177),c=n(178),l=n(179),u=n(181),d=n(182),f=n(136),h=n(310),p=n(76),b={ToPrimitive:h,ToBoolean:function(e){return!!e},ToNumber:function(e){return+e},ToInteger:function(e){var t=this.ToNumber(e);return c(t)?0:0!==t&&l(t)?u(t)*Math.floor(Math.abs(t)):t},ToInt32:function(e){return this.ToNumber(e)>>0},ToUint32:function(e){return this.ToNumber(e)>>>0},ToUint16:function(e){var t=this.ToNumber(e);if(c(t)||0===t||!l(t))return 0;var n=u(t)*Math.floor(Math.abs(t));return d(n,65536)},ToString:function(e){return i(e)},ToObject:function(e){return this.CheckObjectCoercible(e),o(e)},CheckObjectCoercible:function(e,t){if(null==e)throw new a(t||"Cannot call method on "+e);return e},IsCallable:f,SameValue:function(e,t){return e===t?0!==e||1/e==1/t:c(e)&&c(t)},Type:function(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":void 0},IsPropertyDescriptor:function(e){if("Object"!==this.Type(e))return!1;var t={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var n in e)if(p(e,n)&&!t[n])return!1;var r=p(e,"[[Value]]"),o=p(e,"[[Get]]")||p(e,"[[Set]]");if(r&&o)throw new a("Property Descriptors may not be both accessor and data descriptors");return!0},IsAccessorDescriptor:function(e){return void 0!==e&&(s(this,"Property Descriptor","Desc",e),!(!p(e,"[[Get]]")&&!p(e,"[[Set]]")))},IsDataDescriptor:function(e){return void 0!==e&&(s(this,"Property Descriptor","Desc",e),!(!p(e,"[[Value]]")&&!p(e,"[[Writable]]")))},IsGenericDescriptor:function(e){return void 0!==e&&(s(this,"Property Descriptor","Desc",e),!this.IsAccessorDescriptor(e)&&!this.IsDataDescriptor(e))},FromPropertyDescriptor:function(e){if(void 0===e)return e;if(s(this,"Property Descriptor","Desc",e),this.IsDataDescriptor(e))return{value:e["[[Value]]"],writable:!!e["[[Writable]]"],enumerable:!!e["[[Enumerable]]"],configurable:!!e["[[Configurable]]"]};if(this.IsAccessorDescriptor(e))return{get:e["[[Get]]"],set:e["[[Set]]"],enumerable:!!e["[[Enumerable]]"],configurable:!!e["[[Configurable]]"]};throw new a("FromPropertyDescriptor must be called with a fully populated Property Descriptor")},ToPropertyDescriptor:function(e){if("Object"!==this.Type(e))throw new a("ToPropertyDescriptor requires an object");var t={};if(p(e,"enumerable")&&(t["[[Enumerable]]"]=this.ToBoolean(e.enumerable)),p(e,"configurable")&&(t["[[Configurable]]"]=this.ToBoolean(e.configurable)),p(e,"value")&&(t["[[Value]]"]=e.value),p(e,"writable")&&(t["[[Writable]]"]=this.ToBoolean(e.writable)),p(e,"get")){var n=e.get;if(void 0!==n&&!this.IsCallable(n))throw new TypeError("getter must be a function");t["[[Get]]"]=n}if(p(e,"set")){var r=e.set;if(void 0!==r&&!this.IsCallable(r))throw new a("setter must be a function");t["[[Set]]"]=r}if((p(t,"[[Get]]")||p(t,"[[Set]]"))&&(p(t,"[[Value]]")||p(t,"[[Writable]]")))throw new a("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}};e.exports=b},function(e,t,n){"use strict";var r=Object.prototype.toString,o=n(176),a=n(136),i=function(e){var t;if((t=arguments.length>1?arguments[1]:"[object Date]"===r.call(e)?String:Number)===String||t===Number){var n,i,s=t===String?["toString","valueOf"]:["valueOf","toString"];for(i=0;i1?i(e,arguments[1]):i(e)}},function(e,t,n){"use strict";var r=n(76),o=RegExp.prototype.exec,a=Object.getOwnPropertyDescriptor,i=Object.prototype.toString,s="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!s)return"[object RegExp]"===i.call(e);var t=a(e,"lastIndex");return!(!t||!r(t,"value"))&&function(e){try{var t=e.lastIndex;return e.lastIndex=0,o.call(e),!0}catch(e){return!1}finally{e.lastIndex=t}}(e)}},function(e,t,n){"use strict";var r=n(183),o=n(66);e.exports=function(){var e=r();return o(Object,{values:e},{values:function(){return Object.values!==e}}),e}},function(e,t,n){"use strict";var r=n(66),o=n(184),a=n(185),i=a(),s=function(e,t){return i.apply(e,[t])};r(s,{getPolyfill:a,implementation:o,shim:n(314)}),e.exports=s},function(e,t,n){"use strict";var r=n(66),o=n(185);e.exports=function(){var e=o();return"undefined"!=typeof document&&(r(document,{contains:e},{contains:function(){return document.contains!==e}}),"undefined"!=typeof Element&&r(Element.prototype,{contains:e},{contains:function(){return Element.prototype.contains!==e}})),e}},function(e,t,n){var r=n(139),o=n(316),a=n(318),i="Expected a function",s=Math.max,c=Math.min;e.exports=function(e,t,n){var l,u,d,f,h,p,b=0,v=!1,m=!1,y=!0;if("function"!=typeof e)throw new TypeError(i);function g(t){var n=l,r=u;return l=u=void 0,b=t,f=e.apply(r,n)}function O(e){var n=e-p;return void 0===p||n>=t||n<0||m&&e-b>=d}function k(){var e=o();if(O(e))return _(e);h=setTimeout(k,function(e){var n=t-(e-p);return m?c(n,d-(e-b)):n}(e))}function _(e){return h=void 0,y&&l?g(e):(l=u=void 0,f)}function w(){var e=o(),n=O(e);if(l=arguments,u=this,p=e,n){if(void 0===h)return function(e){return b=e,h=setTimeout(k,t),v?g(e):f}(p);if(m)return clearTimeout(h),h=setTimeout(k,t),g(p)}return void 0===h&&(h=setTimeout(k,t)),f}return t=a(t)||0,r(n)&&(v=!!n.leading,d=(m="maxWait"in n)?s(a(n.maxWait)||0,t):d,y="trailing"in n?!!n.trailing:y),w.cancel=function(){void 0!==h&&clearTimeout(h),b=0,l=p=u=h=void 0},w.flush=function(){return void 0===h?f:_(o())},w}},function(e,t,n){var r=n(197);e.exports=function(){return r.Date.now()}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(63))},function(e,t,n){var r=n(139),o=n(319),a=NaN,i=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return a;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=c.test(e);return n||l.test(e)?u(e.slice(2),n?2:8):s.test(e)?a:+e}},function(e,t,n){var r=n(320),o=n(323),a="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||o(e)&&r(e)==a}},function(e,t,n){var r=n(198),o=n(321),a=n(322),i="[object Null]",s="[object Undefined]",c=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:i:c&&c in Object(e)?o(e):a(e)}},function(e,t,n){var r=n(198),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=i.call(e);return r&&(t?e[s]=n:delete e[s]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r;return e?n(e(t.clone())):t};var r=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:a.default.localeData().firstDayOfWeek(),n=function(e,t){return(e.day()-t+7)%7}(e.clone().startOf("month"),t);return Math.ceil((n+e.daysInMonth())/7)};var r,o=n(30),a=(r=o)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return"undefined"!=typeof document&&document.activeElement}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureSingleDatePicker=void 0;var r=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:"top",o=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,i=n.split(" "),s=Object(b.a)(i,3),c=s[0],l=s[1],u=void 0===l?"center":l,d=s[2],f=function(e,t,n,r,o,a){var i=t.height;if(o){var s=a,c=a;if("string"==typeof o){var l=document.querySelectorAll(o);l.length&&(s=l[0],c=l[l.length-1])}var u=(Object(z.getScrollContainer)(s)||document.body).getBoundingClientRect(),d=s.getBoundingClientRect(),f=c.getBoundingClientRect();if(d.top-i<=u.top)return{yAxis:n,popoverTop:Math.min(f.bottom,u.top+i)}}var h=e.top+e.height/2;"bottom"===r?h=e.bottom:"top"===r&&(h=e.top);var p={popoverTop:h,contentHeight:(h-i/2>0?i/2:h)+(h+i/2>window.innerHeight?window.innerHeight-h:i/2)},b={popoverTop:e.top,contentHeight:e.top-I-i>0?i:e.top-I},v={popoverTop:e.bottom,contentHeight:e.bottom+I+i>window.innerHeight?window.innerHeight-I-e.bottom:i},m=n,y=null;if(!o)if("middle"===n&&p.contentHeight===i)m="middle";else if("top"===n&&b.contentHeight===i)m="top";else if("bottom"===n&&v.contentHeight===i)m="bottom";else{var g="top"===(m=b.contentHeight>v.contentHeight?"top":"bottom")?b.contentHeight:v.contentHeight;y=g!==i?g:null}return{yAxis:m,popoverTop:"middle"===m?p.popoverTop:"top"===m?b.popoverTop:v.popoverTop,contentHeight:y}}(e,t,c,d,o,a),h=function(e,t,n,r,o,a){var i=t.width,s="rtl"===document.documentElement.dir;"left"===n&&s?n="right":"right"===n&&s&&(n="left"),"left"===r&&s?r="right":"right"===r&&s&&(r="left");var c=Math.round(e.left+e.width/2),l={popoverLeft:c,contentWidth:(c-i/2>0?i/2:c)+(c+i/2>window.innerWidth?window.innerWidth-c:i/2)},u=e.left;"right"===r?u=e.right:"middle"!==a&&(u=c);var d=e.right;"left"===r?d=e.left:"middle"!==a&&(d=c);var f={popoverLeft:u,contentWidth:u-i>0?i:u},h={popoverLeft:d,contentWidth:d+i>window.innerWidth?window.innerWidth-d:i},p=n,b=null;if(!o)if("center"===n&&l.contentWidth===i)p="center";else if("left"===n&&f.contentWidth===i)p="left";else if("right"===n&&h.contentWidth===i)p="right";else{var v="left"===(p=f.contentWidth>h.contentWidth?"left":"right")?f.contentWidth:h.contentWidth;b=v!==i?v:null}return{xAxis:p,popoverLeft:"center"===p?l.popoverLeft:"left"===p?f.popoverLeft:h.popoverLeft,contentWidth:b}}(e,t,u,d,o,f.yAxis);return Object(r.a)({},h,f)}var N=Object(s.createContext)({focusHistory:[]}),A=N.Provider,R=N.Consumer;A.displayName="FocusReturnProvider",R.displayName="FocusReturnConsumer";var H=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).onFocus=e.onFocus.bind(Object(O.a)(e)),e.state={focusHistory:[]},e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"onFocus",value:function(e){var t=this.state.focusHistory,n=Object(D.uniq)([].concat(Object(w.a)(t),[e.target]).slice(-100).reverse()).reverse();this.setState({focusHistory:n})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className;return Object(s.createElement)(A,{value:this.state},Object(s.createElement)("div",{onFocus:this.onFocus,className:n},t))}}]),t}(s.Component);var L=Object(C.createHigherOrderComponent)((function e(t){if((r=t)instanceof s.Component||"function"==typeof r){var n=t;return e({})(n)}var r,o=t.onFocusReturn,a=void 0===o?D.stubTrue:o;return function(e){var t=function(t){function n(){var e;return Object(m.a)(this,n),(e=Object(y.a)(this,Object(g.a)(n).apply(this,arguments))).ownFocusedElements=new Set,e.activeElementOnMount=document.activeElement,e.setIsFocusedFalse=function(){return e.isFocused=!1},e.setIsFocusedTrue=function(t){e.ownFocusedElements.add(t.target),e.isFocused=!0},e}return Object(_.a)(n,t),Object(k.a)(n,[{key:"componentWillUnmount",value:function(){var e=this.activeElementOnMount,t=this.isFocused,n=this.ownFocusedElements;if(t&&!1!==a())for(var r,o=[].concat(Object(w.a)(D.without.apply(void 0,[this.props.focus.focusHistory].concat(Object(w.a)(n)))),[e]);r=o.pop();)if(document.body.contains(r))return void r.focus()}},{key:"render",value:function(){return Object(s.createElement)("div",{onFocus:this.setIsFocusedTrue,onBlur:this.setIsFocusedFalse},Object(s.createElement)(e,this.props.childProps))}}]),n}(s.Component);return function(e){return Object(s.createElement)(R,null,(function(n){return Object(s.createElement)(t,{childProps:e,focus:n})}))}}}),"withFocusReturn"),F=Object(C.createHigherOrderComponent)((function(e){return function(t){function n(){var e;return Object(m.a)(this,n),(e=Object(y.a)(this,Object(g.a)(n).apply(this,arguments))).focusContainRef=Object(s.createRef)(),e.handleTabBehaviour=e.handleTabBehaviour.bind(Object(O.a)(e)),e}return Object(_.a)(n,t),Object(k.a)(n,[{key:"handleTabBehaviour",value:function(e){if(e.keyCode===S.TAB){var t=z.focus.tabbable.find(this.focusContainRef.current);if(t.length){var n=t[0],r=t[t.length-1];e.shiftKey&&e.target===n?(e.preventDefault(),r.focus()):(e.shiftKey||e.target!==r)&&t.includes(e.target)||(e.preventDefault(),n.focus())}}}},{key:"render",value:function(){return Object(s.createElement)("div",{onKeyDown:this.handleTabBehaviour,ref:this.focusContainRef,tabIndex:"-1"},Object(s.createElement)(e,this.props))}}]),n}(s.Component)}),"withConstrainedTabbing"),V=["button","submit"];var B=Object(C.createHigherOrderComponent)((function(e){return function(t){function n(){var e;return Object(m.a)(this,n),(e=Object(y.a)(this,Object(g.a)(n).apply(this,arguments))).bindNode=e.bindNode.bind(Object(O.a)(e)),e.cancelBlurCheck=e.cancelBlurCheck.bind(Object(O.a)(e)),e.queueBlurCheck=e.queueBlurCheck.bind(Object(O.a)(e)),e.normalizeButtonFocus=e.normalizeButtonFocus.bind(Object(O.a)(e)),e}return Object(_.a)(n,t),Object(k.a)(n,[{key:"componentWillUnmount",value:function(){this.cancelBlurCheck()}},{key:"bindNode",value:function(e){e?this.node=e:(delete this.node,this.cancelBlurCheck())}},{key:"queueBlurCheck",value:function(e){var t=this;e.persist(),this.preventBlurCheck||(this.blurCheckTimeout=setTimeout((function(){document.hasFocus()?"function"==typeof t.node.handleFocusOutside&&t.node.handleFocusOutside(e):e.preventDefault()}),0))}},{key:"cancelBlurCheck",value:function(){clearTimeout(this.blurCheckTimeout)}},{key:"normalizeButtonFocus",value:function(e){var t=e.type,n=e.target;Object(D.includes)(["mouseup","touchend"],t)?this.preventBlurCheck=!1:function(e){switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return Object(D.includes)(V,e.type)}return!1}(n)&&(this.preventBlurCheck=!0)}},{key:"render",value:function(){return Object(s.createElement)("div",{onFocus:this.cancelBlurCheck,onMouseDown:this.normalizeButtonFocus,onMouseUp:this.normalizeButtonFocus,onTouchStart:this.normalizeButtonFocus,onTouchEnd:this.normalizeButtonFocus,onBlur:this.queueBlurCheck},Object(s.createElement)(e,Object(E.a)({ref:this.bindNode},this.props)))}}]),n}(s.Component)}),"withFocusOutside"),K=function(e){function t(){return Object(m.a)(this,t),Object(y.a)(this,Object(g.a)(t).apply(this,arguments))}return Object(_.a)(t,e),Object(k.a)(t,[{key:"handleFocusOutside",value:function(e){this.props.onFocusOutside(e)}},{key:"render",value:function(){return this.props.children}}]),t}(s.Component),W=B(K);var U=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.htmlDocument,n=void 0===t?document:t,r=e.className,o=void 0===r?"lockscroll":r,a=0,i=0;function c(e){var t=n.scrollingElement||n.body;e&&(i=t.scrollTop);var r=e?"add":"remove";t.classList[r](o),n.documentElement.classList[r](o),e||(t.scrollTop=i)}return function(e){function t(){return Object(m.a)(this,t),Object(y.a)(this,Object(g.a)(t).apply(this,arguments))}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentDidMount",value:function(){0===a&&c(!0),++a}},{key:"componentWillUnmount",value:function(){1===a&&c(!1),--a}},{key:"render",value:function(){return null}}]),t}(s.Component)}();function $(e){e.stopPropagation()}var G=Object(s.forwardRef)((function(e,t){var n=e.children,r=Object(o.a)(e,["children"]);return Object(s.createElement)("div",Object(E.a)({},r,{ref:t,onMouseDown:$}),n)})),q=Object(s.createContext)({registerSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){},getSlot:function(){},getFills:function(){},subscribe:function(){}}),Y=q.Provider,Z=q.Consumer,X=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).registerSlot=e.registerSlot.bind(Object(O.a)(e)),e.registerFill=e.registerFill.bind(Object(O.a)(e)),e.unregisterSlot=e.unregisterSlot.bind(Object(O.a)(e)),e.unregisterFill=e.unregisterFill.bind(Object(O.a)(e)),e.getSlot=e.getSlot.bind(Object(O.a)(e)),e.getFills=e.getFills.bind(Object(O.a)(e)),e.hasFills=e.hasFills.bind(Object(O.a)(e)),e.subscribe=e.subscribe.bind(Object(O.a)(e)),e.slots={},e.fills={},e.listeners=[],e.contextValue={registerSlot:e.registerSlot,unregisterSlot:e.unregisterSlot,registerFill:e.registerFill,unregisterFill:e.unregisterFill,getSlot:e.getSlot,getFills:e.getFills,hasFills:e.hasFills,subscribe:e.subscribe},e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"registerSlot",value:function(e,t){var n=this.slots[e];this.slots[e]=t,this.triggerListeners(),this.forceUpdateSlot(e),n&&n.forceUpdate()}},{key:"registerFill",value:function(e,t){this.fills[e]=[].concat(Object(w.a)(this.fills[e]||[]),[t]),this.forceUpdateSlot(e)}},{key:"unregisterSlot",value:function(e,t){this.slots[e]===t&&(delete this.slots[e],this.triggerListeners())}},{key:"unregisterFill",value:function(e,t){this.fills[e]=Object(D.without)(this.fills[e],t),this.resetFillOccurrence(e),this.forceUpdateSlot(e)}},{key:"getSlot",value:function(e){return this.slots[e]}},{key:"getFills",value:function(e,t){return this.slots[e]!==t?[]:Object(D.sortBy)(this.fills[e],"occurrence")}},{key:"hasFills",value:function(e){return this.fills[e]&&!!this.fills[e].length}},{key:"resetFillOccurrence",value:function(e){Object(D.forEach)(this.fills[e],(function(e){e.occurrence=void 0}))}},{key:"forceUpdateSlot",value:function(e){var t=this.getSlot(e);t&&t.forceUpdate()}},{key:"triggerListeners",value:function(){this.listeners.forEach((function(e){return e()}))}},{key:"subscribe",value:function(e){var t=this;return this.listeners.push(e),function(){t.listeners=Object(D.without)(t.listeners,e)}}},{key:"render",value:function(){return Object(s.createElement)(Y,{value:this.contextValue},this.props.children)}}]),t}(s.Component),Q=function(e){var t=Object(s.useContext)(q),n=t.getSlot,r=t.subscribe,o=Object(s.useState)(n(e)),a=Object(b.a)(o,2),i=a[0],c=a[1];return Object(s.useEffect)((function(){return c(n(e)),r((function(){c(n(e))}))}),[e]),i},J=X,ee=0;function te(e){var t=e.name,n=e.children,r=e.registerFill,o=e.unregisterFill,a=Q(t),i=Object(s.useRef)({name:t,children:n});return i.current.occurrence||(i.current.occurrence=++ee),Object(s.useLayoutEffect)((function(){return r(t,i.current),function(){return o(t,i.current)}}),[]),Object(s.useLayoutEffect)((function(){i.current.children=n,a&&!a.props.bubblesVirtually&&a.forceUpdate()}),[n]),Object(s.useLayoutEffect)((function(){t!==i.current.name&&(o(i.current.name,i.current),i.current.name=t,r(t,i.current))}),[t]),a&&a.node&&a.props.bubblesVirtually?(Object(D.isFunction)(n)&&(n=n(a.props.fillProps)),Object(s.createPortal)(n,a.node)):null}var ne=function(e){return Object(s.createElement)(Z,null,(function(t){var n=t.registerFill,r=t.unregisterFill;return Object(s.createElement)(te,Object(E.a)({},e,{registerFill:n,unregisterFill:r}))}))},re=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).bindNode=e.bindNode.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentDidMount",value:function(){(0,this.props.registerSlot)(this.props.name,this)}},{key:"componentWillUnmount",value:function(){(0,this.props.unregisterSlot)(this.props.name,this)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.name,r=t.unregisterSlot,o=t.registerSlot;e.name!==n&&(r(e.name),o(n,this))}},{key:"bindNode",value:function(e){this.node=e}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.name,r=e.bubblesVirtually,o=void 0!==r&&r,a=e.fillProps,i=void 0===a?{}:a,c=e.getFills,l=e.className;if(o)return Object(s.createElement)("div",{ref:this.bindNode,className:l});var u=Object(D.map)(c(n,this),(function(e){var t=e.occurrence,n=Object(D.isFunction)(e.children)?e.children(i):e.children;return s.Children.map(n,(function(e,n){if(!e||Object(D.isString)(e))return e;var r="".concat(t,"---").concat(e.key||n);return Object(s.cloneElement)(e,{key:r})}))})).filter(Object(D.negate)(s.isEmptyElement));return Object(s.createElement)(s.Fragment,null,Object(D.isFunction)(t)?t(u):u)}}]),t}(s.Component),oe=function(e){return Object(s.createElement)(Z,null,(function(t){var n=t.registerSlot,r=t.unregisterSlot,o=t.getFills;return Object(s.createElement)(re,Object(E.a)({},e,{registerSlot:n,unregisterSlot:r,getFills:o}))}))},ae=F(L((function(e){return e.children})));function ie(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0;if(t)return t;if(n){if(!e.current)return;return n(e.current)}if(!1!==r){if(!r)return;if(r instanceof window.Range)return Object(z.getRectangleFromRange)(r);var a=r.getBoundingClientRect();return o?a:se(a,r)}if(e.current){var i=e.current.parentNode,s=i.getBoundingClientRect();return o?s:se(s,i)}}function se(e,t){var n=window.getComputedStyle(t),r=n.paddingTop,o=n.paddingBottom,a=n.paddingLeft,i=n.paddingRight,s=r?parseInt(r,10):0,c=o?parseInt(o,10):0,l=a?parseInt(a,10):0,u=i?parseInt(i,10):0;return{x:e.left+l,y:e.top+s,width:e.width-l-u,height:e.height-s-c,left:e.left+l,right:e.right-u,top:e.top+s,bottom:e.bottom-c}}function ce(e,t,n){n?e.getAttribute(t)!==n&&e.setAttribute(t,n):e.hasAttribute(t)&&e.removeAttribute(t)}function le(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e.style[t]!==n&&(e.style[t]=n)}function ue(e,t,n){n?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}var de=function(e){var t=e.headerTitle,n=e.onClose,r=e.onKeyDown,a=e.children,c=e.className,l=e.noArrow,u=void 0!==l&&l,d=e.position,f=void 0===d?"top":d,h=(e.range,e.focusOnMount),p=void 0===h?"firstElement":h,m=e.anchorRef,y=e.shouldAnchorIncludePadding,g=e.anchorRect,O=e.getAnchorRect,k=e.expandOnMobile,_=e.animate,w=void 0===_||_,D=e.onClickOutside,j=e.onFocusOutside,M=e.__unstableSticky,P=e.__unstableSlotName,I=void 0===P?"Popover":P,N=e.__unstableAllowVerticalSubpixelPosition,A=e.__unstableAllowHorizontalSubpixelPosition,R=Object(o.a)(e,["headerTitle","onClose","onKeyDown","children","className","noArrow","position","range","focusOnMount","anchorRef","shouldAnchorIncludePadding","anchorRect","getAnchorRect","expandOnMobile","animate","onClickOutside","onFocusOutside","__unstableSticky","__unstableSlotName","__unstableAllowVerticalSubpixelPosition","__unstableAllowHorizontalSubpixelPosition"]),H=Object(s.useRef)(null),L=Object(s.useRef)(null),F=Object(s.useRef)(),V=Object(s.useRef)(),B=Object(C.useViewportMatch)("medium","<"),K=Object(s.useState)(),$=Object(b.a)(K,2),q=$[0],Y=$[1],X=k&&B;u=X||u,Object(s.useEffect)((function(){if(X)return ue(F.current,"is-without-arrow",u),ce(F.current,"data-x-axis"),ce(F.current,"data-y-axis"),le(F.current,"top"),le(F.current,"left"),le(L.current,"maxHeight"),void le(L.current,"maxWidth");var e,t=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.subpixels;if(F.current&&L.current){var n=ie(H,g,O,m,y);if(n){V.current||(V.current=L.current.getBoundingClientRect());var r=T(n,V.current,f,M,m),o=r.popoverTop,a=r.popoverLeft,i=r.xAxis,s=r.yAxis,c=r.contentHeight,l=r.contentWidth;"number"==typeof o&&"number"==typeof a&&(t&&N?(le(F.current,"left",a+"px"),le(F.current,"top"),le(F.current,"transform","translateY(".concat(o,"px)"))):t&&A?(le(F.current,"top",o+"px"),le(F.current,"left"),le(F.current,"transform","translate(".concat(a,"px)"))):(le(F.current,"top",o+"px"),le(F.current,"left",a+"px"),le(F.current,"transform"))),ue(F.current,"is-without-arrow",u||"center"===i&&"middle"===s),ce(F.current,"data-x-axis",i),ce(F.current,"data-y-axis",s),le(L.current,"maxHeight","number"==typeof c?c+"px":""),le(L.current,"maxWidth","number"==typeof l?l+"px":"");var d={top:"bottom",bottom:"top"},h={left:"right",right:"left"},p=d[s]||"middle",b=h[i]||"center";Y(b+" "+p)}}},n=window.setTimeout(t),r=function(){window.requestAnimationFrame(t)},o=window.setInterval(t,500);window.addEventListener("click",r),window.addEventListener("resize",t),window.addEventListener("scroll",t,!0);var a=N||A;return a&&(e=new window.MutationObserver((function(){return t({subpixels:!0})}))).observe(a,{attributes:!0}),function(){window.clearTimeout(n),window.clearInterval(o),window.removeEventListener("resize",t),window.removeEventListener("scroll",t,!0),window.addEventListener("click",r),e&&e.disconnect()}}),[X,g,O,m,y,f,M,N,A]),function(e,t){Object(s.useEffect)((function(){var n=setTimeout((function(){if(e&&t.current)if("firstElement"!==e)"container"===e&&t.current.focus();else{var n=z.focus.tabbable.find(t.current)[0];n?n.focus():t.current.focus()}}),0);return function(){return clearTimeout(n)}}),[])}(p,L);var Q=function(e){e.keyCode===S.ESCAPE&&n&&(e.stopPropagation(),n()),r&&r(e)};var J=Object(s.createElement)(W,{onFocusOutside:function(e){if(j)j(e);else if(D){var t;try{t=new window.MouseEvent("click")}catch(e){(t=document.createEvent("MouseEvent")).initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null)}Object.defineProperty(t,"target",{get:function(){return e.relatedTarget}}),x()("Popover onClickOutside prop",{alternative:"onFocusOutside"}),D(t)}else n&&n()}},Object(s.createElement)(v,{type:w&&q?"appear":null,options:{origin:q}},(function(e){var r=e.className;return Object(s.createElement)(G,Object(E.a)({className:i()("components-popover",c,r,{"is-expanded":X,"is-without-arrow":u})},R,{onKeyDown:Q,ref:F}),X&&Object(s.createElement)(U,null),X&&Object(s.createElement)("div",{className:"components-popover__header"},Object(s.createElement)("span",{className:"components-popover__header-title"},t),Object(s.createElement)(ye,{className:"components-popover__close",icon:"no-alt",onClick:n})),Object(s.createElement)("div",{ref:L,className:"components-popover__content",tabIndex:"-1"},a))})));return p&&(J=Object(s.createElement)(ae,null,J)),Object(s.createElement)(Z,null,(function(e){var t=e.getSlot;return t&&t(I)&&(J=Object(s.createElement)(ne,{name:I},J)),m||g?J:Object(s.createElement)("span",{ref:H},J)}))};de.Slot=function(e){var t=e.name,n=void 0===t?"Popover":t;return Object(s.createElement)(oe,{bubblesVirtually:!0,name:n})};var fe=de;var he=function(e){var t,n,r=e.shortcut,o=e.className;return r?(Object(D.isString)(r)&&(t=r),Object(D.isObject)(r)&&(t=r.display,n=r.ariaLabel),Object(s.createElement)("span",{className:o,"aria-label":n},t)):null},pe=700,be=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).delayedSetIsOver=Object(D.debounce)((function(t){return e.setState({isOver:t})}),pe),e.cancelIsMouseDown=e.createSetIsMouseDown(!1),e.isInMouseDown=!1,e.state={isOver:!1},e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentWillUnmount",value:function(){this.delayedSetIsOver.cancel(),document.removeEventListener("mouseup",this.cancelIsMouseDown)}},{key:"emitToChild",value:function(e,t){var n=this.props.children;if(1===s.Children.count(n)){var r=s.Children.only(n);"function"==typeof r.props[e]&&r.props[e](t)}}},{key:"createToggleIsOver",value:function(e,t){var n=this;return function(r){if(n.emitToChild(e,r),!(r.currentTarget.disabled||"focus"===r.type&&n.isInMouseDown)){n.delayedSetIsOver.cancel();var o=Object(D.includes)(["focus","mouseenter"],r.type);o!==n.state.isOver&&(t?n.delayedSetIsOver(o):n.setState({isOver:o}))}}}},{key:"createSetIsMouseDown",value:function(e){var t=this;return function(n){t.emitToChild(e?"onMouseDown":"onMouseUp",n),document[e?"addEventListener":"removeEventListener"]("mouseup",t.cancelIsMouseDown),t.isInMouseDown=e}}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.position,r=e.text,o=e.shortcut;if(1!==s.Children.count(t))return t;var a=s.Children.only(t),i=this.state.isOver;return Object(s.cloneElement)(a,{onMouseEnter:this.createToggleIsOver("onMouseEnter",!0),onMouseLeave:this.createToggleIsOver("onMouseLeave"),onClick:this.createToggleIsOver("onClick"),onFocus:this.createToggleIsOver("onFocus"),onBlur:this.createToggleIsOver("onBlur"),onMouseDown:this.createSetIsMouseDown(!0),children:Object(s.concatChildren)(a.props.children,i&&Object(s.createElement)(fe,{focusOnMount:!1,position:n,className:"components-tooltip","aria-hidden":"true",animate:!1},r,Object(s.createElement)(he,{className:"components-tooltip__shortcut",shortcut:o})))})}}]),t}(s.Component),ve=function(e){function t(){return Object(m.a)(this,t),Object(y.a)(this,Object(g.a)(t).apply(this,arguments))}return Object(_.a)(t,e),Object(k.a)(t,[{key:"render",value:function(){var e,t=this.props,n=t.icon,r=t.size,a=void 0===r?20:r,i=t.className,c=Object(o.a)(t,["icon","size","className"]);switch(n){case"admin-appearance":e="M14.48 11.06L7.41 3.99l1.5-1.5c.5-.56 2.3-.47 3.51.32 1.21.8 1.43 1.28 2.91 2.1 1.18.64 2.45 1.26 4.45.85zm-.71.71L6.7 4.7 4.93 6.47c-.39.39-.39 1.02 0 1.41l1.06 1.06c.39.39.39 1.03 0 1.42-.6.6-1.43 1.11-2.21 1.69-.35.26-.7.53-1.01.84C1.43 14.23.4 16.08 1.4 17.07c.99 1 2.84-.03 4.18-1.36.31-.31.58-.66.85-1.02.57-.78 1.08-1.61 1.69-2.21.39-.39 1.02-.39 1.41 0l1.06 1.06c.39.39 1.02.39 1.41 0z";break;case"admin-collapse":e="M10 2.16c4.33 0 7.84 3.51 7.84 7.84s-3.51 7.84-7.84 7.84S2.16 14.33 2.16 10 5.71 2.16 10 2.16zm2 11.72V6.12L6.18 9.97z";break;case"admin-comments":e="M5 2h9c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2z";break;case"admin-customizer":e="M18.33 3.57s.27-.8-.31-1.36c-.53-.52-1.22-.24-1.22-.24-.61.3-5.76 3.47-7.67 5.57-.86.96-2.06 3.79-1.09 4.82.92.98 3.96-.17 4.79-1 2.06-2.06 5.21-7.17 5.5-7.79zM1.4 17.65c2.37-1.56 1.46-3.41 3.23-4.64.93-.65 2.22-.62 3.08.29.63.67.8 2.57-.16 3.46-1.57 1.45-4 1.55-6.15.89z";break;case"admin-generic":e="M18 12h-2.18c-.17.7-.44 1.35-.81 1.93l1.54 1.54-2.1 2.1-1.54-1.54c-.58.36-1.23.63-1.91.79V19H8v-2.18c-.68-.16-1.33-.43-1.91-.79l-1.54 1.54-2.12-2.12 1.54-1.54c-.36-.58-.63-1.23-.79-1.91H1V9.03h2.17c.16-.7.44-1.35.8-1.94L2.43 5.55l2.1-2.1 1.54 1.54c.58-.37 1.24-.64 1.93-.81V2h3v2.18c.68.16 1.33.43 1.91.79l1.54-1.54 2.12 2.12-1.54 1.54c.36.59.64 1.24.8 1.94H18V12zm-8.5 1.5c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3z";break;case"admin-home":e="M16 8.5l1.53 1.53-1.06 1.06L10 4.62l-6.47 6.47-1.06-1.06L10 2.5l4 4v-2h2v4zm-6-2.46l6 5.99V18H4v-5.97zM12 17v-5H8v5h4z";break;case"admin-links":e="M17.74 2.76c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-1.12 1.12-2.7 1.47-4.14 1.09l2.62-2.61.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-3.38 3.38c-.37-1.44-.02-3.02 1.1-4.14l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM8.59 13.43l5.34-5.34c.42-.42.42-1.1 0-1.52-.44-.43-1.13-.39-1.53 0l-5.33 5.34c-.42.42-.42 1.1 0 1.52.44.43 1.13.39 1.52 0zm-.76 2.29l4.14-4.15c.38 1.44.03 3.02-1.09 4.14l-1.52 1.53c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.53-1.52c1.12-1.12 2.7-1.47 4.14-1.1l-4.14 4.15c-.85.84-.85 2.2 0 3.05.84.84 2.2.84 3.04 0z";break;case"admin-media":e="M13 11V4c0-.55-.45-1-1-1h-1.67L9 1H5L3.67 3H2c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h10c.55 0 1-.45 1-1zM7 4.5c1.38 0 2.5 1.12 2.5 2.5S8.38 9.5 7 9.5 4.5 8.38 4.5 7 5.62 4.5 7 4.5zM14 6h5v10.5c0 1.38-1.12 2.5-2.5 2.5S14 17.88 14 16.5s1.12-2.5 2.5-2.5c.17 0 .34.02.5.05V9h-3V6zm-4 8.05V13h2v3.5c0 1.38-1.12 2.5-2.5 2.5S7 17.88 7 16.5 8.12 14 9.5 14c.17 0 .34.02.5.05z";break;case"admin-multisite":e="M14.27 6.87L10 3.14 5.73 6.87 5 6.14l5-4.38 5 4.38zM14 8.42l-4.05 3.43L6 8.38v-.74l4-3.5 4 3.5v.78zM11 9.7V8H9v1.7h2zm-1.73 4.03L5 10 .73 13.73 0 13l5-4.38L10 13zm10 0L15 10l-4.27 3.73L10 13l5-4.38L20 13zM5 11l4 3.5V18H1v-3.5zm10 0l4 3.5V18h-8v-3.5zm-9 6v-2H4v2h2zm10 0v-2h-2v2h2z";break;case"admin-network":e="M16.95 2.58c1.96 1.95 1.96 5.12 0 7.07-1.51 1.51-3.75 1.84-5.59 1.01l-1.87 3.31-2.99.31L5 18H2l-1-2 7.95-7.69c-.92-1.87-.62-4.18.93-5.73 1.95-1.96 5.12-1.96 7.07 0zm-2.51 3.79c.74 0 1.33-.6 1.33-1.34 0-.73-.59-1.33-1.33-1.33-.73 0-1.33.6-1.33 1.33 0 .74.6 1.34 1.33 1.34z";break;case"admin-page":e="M6 15V2h10v13H6zm-1 1h8v2H3V5h2v11z";break;case"admin-plugins":e="M13.11 4.36L9.87 7.6 8 5.73l3.24-3.24c.35-.34 1.05-.2 1.56.32.52.51.66 1.21.31 1.55zm-8 1.77l.91-1.12 9.01 9.01-1.19.84c-.71.71-2.63 1.16-3.82 1.16H6.14L4.9 17.26c-.59.59-1.54.59-2.12 0-.59-.58-.59-1.53 0-2.12l1.24-1.24v-3.88c0-1.13.4-3.19 1.09-3.89zm7.26 3.97l3.24-3.24c.34-.35 1.04-.21 1.55.31.52.51.66 1.21.31 1.55l-3.24 3.25z";break;case"admin-post":e="M10.44 3.02l1.82-1.82 6.36 6.35-1.83 1.82c-1.05-.68-2.48-.57-3.41.36l-.75.75c-.92.93-1.04 2.35-.35 3.41l-1.83 1.82-2.41-2.41-2.8 2.79c-.42.42-3.38 2.71-3.8 2.29s1.86-3.39 2.28-3.81l2.79-2.79L4.1 9.36l1.83-1.82c1.05.69 2.48.57 3.4-.36l.75-.75c.93-.92 1.05-2.35.36-3.41z";break;case"admin-settings":e="M18 16V4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h13c.55 0 1-.45 1-1zM8 11h1c.55 0 1 .45 1 1s-.45 1-1 1H8v1.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V13H6c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V11zm5-2h-1c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V7h1c.55 0 1 .45 1 1s-.45 1-1 1h-1v5.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V9z";break;case"admin-site-alt":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm7.5 6.48c-.274.896-.908 1.64-1.75 2.05-.45-1.69-1.658-3.074-3.27-3.75.13-.444.41-.83.79-1.09-.43-.28-1-.42-1.34.07-.53.69 0 1.61.21 2v.14c-.555-.337-.99-.84-1.24-1.44-.966-.03-1.922.208-2.76.69-.087-.565-.032-1.142.16-1.68.733.07 1.453-.23 1.92-.8.46-.52-.13-1.18-.59-1.58h.36c1.36-.01 2.702.335 3.89 1 1.36 1.005 2.194 2.57 2.27 4.26.24 0 .7-.55.91-.92.172.34.32.69.44 1.05zM9 16.84c-2.05-2.08.25-3.75-1-5.24-.92-.85-2.29-.26-3.11-1.23-.282-1.473.267-2.982 1.43-3.93.52-.44 4-1 5.42.22.83.715 1.415 1.674 1.67 2.74.46.035.918-.066 1.32-.29.41 2.98-3.15 6.74-5.73 7.73zM5.15 2.09c.786-.3 1.676-.028 2.16.66-.42.38-.94.63-1.5.72.02-.294.085-.584.19-.86l-.85-.52z";break;case"admin-site-alt2":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm2.92 12.34c0 .35.14.63.36.66.22.03.47-.22.58-.6l.2.08c.718.384 1.07 1.22.84 2-.15.69-.743 1.198-1.45 1.24-.49-1.21-2.11.06-3.56-.22-.612-.154-1.11-.6-1.33-1.19 1.19-.11 2.85-1.73 4.36-1.97zM8 11.27c.918 0 1.695-.68 1.82-1.59.44.54.41 1.324-.07 1.83-.255.223-.594.325-.93.28-.335-.047-.635-.236-.82-.52zm3-.76c.41.39 3-.06 3.52 1.09-.95-.2-2.95.61-3.47-1.08l-.05-.01zM9.73 5.45v.27c-.65-.77-1.33-1.07-1.61-.57-.28.5 1 1.11.76 1.88-.24.77-1.27.56-1.88 1.61-.61 1.05-.49 2.42 1.24 3.67-1.192-.132-2.19-.962-2.54-2.11-.4-1.2-.09-2.26-.78-2.46C4 7.46 3 8.71 3 9.8c-1.26-1.26.05-2.86-1.2-4.18C3.5 1.998 7.644.223 11.44 1.49c-1.1 1.02-1.722 2.458-1.71 3.96z";break;case"admin-site-alt3":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zM1.11 9.68h2.51c.04.91.167 1.814.38 2.7H1.84c-.403-.85-.65-1.764-.73-2.7zm8.57-5.4V1.19c.964.366 1.756 1.08 2.22 2 .205.347.386.708.54 1.08l-2.76.01zm3.22 1.35c.232.883.37 1.788.41 2.7H9.68v-2.7h3.22zM8.32 1.19v3.09H5.56c.154-.372.335-.733.54-1.08.462-.924 1.255-1.64 2.22-2.01zm0 4.44v2.7H4.7c.04-.912.178-1.817.41-2.7h3.21zm-4.7 2.69H1.11c.08-.936.327-1.85.73-2.7H4c-.213.886-.34 1.79-.38 2.7zM4.7 9.68h3.62v2.7H5.11c-.232-.883-.37-1.788-.41-2.7zm3.63 4v3.09c-.964-.366-1.756-1.08-2.22-2-.205-.347-.386-.708-.54-1.08l2.76-.01zm1.35 3.09v-3.04h2.76c-.154.372-.335.733-.54 1.08-.464.92-1.256 1.634-2.22 2v-.04zm0-4.44v-2.7h3.62c-.04.912-.178 1.817-.41 2.7H9.68zm4.71-2.7h2.51c-.08.936-.327 1.85-.73 2.7H14c.21-.87.337-1.757.38-2.65l.01-.05zm0-1.35c-.046-.894-.176-1.78-.39-2.65h2.16c.403.85.65 1.764.73 2.7l-2.5-.05zm1-4H13.6c-.324-.91-.793-1.76-1.39-2.52 1.244.56 2.325 1.426 3.14 2.52h.04zm-9.6-2.52c-.597.76-1.066 1.61-1.39 2.52H2.65c.815-1.094 1.896-1.96 3.14-2.52zm-3.15 12H4.4c.324.91.793 1.76 1.39 2.52-1.248-.567-2.33-1.445-3.14-2.55l-.01.03zm9.56 2.52c.597-.76 1.066-1.61 1.39-2.52h1.76c-.82 1.08-1.9 1.933-3.14 2.48l-.01.04z";break;case"admin-site":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm3.46 11.95c0 1.47-.8 3.3-4.06 4.7.3-4.17-2.52-3.69-3.2-5 .126-1.1.804-2.063 1.8-2.55-1.552-.266-3-.96-4.18-2 .05.47.28.904.64 1.21-.782-.295-1.458-.817-1.94-1.5.977-3.225 3.883-5.482 7.25-5.63-.84 1.38-1.5 4.13 0 5.57C7.23 7 6.26 5 5.41 5.79c-1.13 1.06.33 2.51 3.42 3.08 3.29.59 3.66 1.58 3.63 3.08zm1.34-4c-.32-1.11.62-2.23 1.69-3.14 1.356 1.955 1.67 4.45.84 6.68-.77-1.89-2.17-2.32-2.53-3.57v.03z";break;case"admin-tools":e="M16.68 9.77c-1.34 1.34-3.3 1.67-4.95.99l-5.41 6.52c-.99.99-2.59.99-3.58 0s-.99-2.59 0-3.57l6.52-5.42c-.68-1.65-.35-3.61.99-4.95 1.28-1.28 3.12-1.62 4.72-1.06l-2.89 2.89 2.82 2.82 2.86-2.87c.53 1.58.18 3.39-1.08 4.65zM3.81 16.21c.4.39 1.04.39 1.43 0 .4-.4.4-1.04 0-1.43-.39-.4-1.03-.4-1.43 0-.39.39-.39 1.03 0 1.43z";break;case"admin-users":e="M10 9.25c-2.27 0-2.73-3.44-2.73-3.44C7 4.02 7.82 2 9.97 2c2.16 0 2.98 2.02 2.71 3.81 0 0-.41 3.44-2.68 3.44zm0 2.57L12.72 10c2.39 0 4.52 2.33 4.52 4.53v2.49s-3.65 1.13-7.24 1.13c-3.65 0-7.24-1.13-7.24-1.13v-2.49c0-2.25 1.94-4.48 4.47-4.48z";break;case"album":e="M0 18h10v-.26c1.52.4 3.17.35 4.76-.24 4.14-1.52 6.27-6.12 4.75-10.26-1.43-3.89-5.58-6-9.51-4.98V2H0v16zM9 3v14H1V3h8zm5.45 8.22c-.68 1.35-2.32 1.9-3.67 1.23-.31-.15-.57-.35-.78-.59V8.13c.8-.86 2.11-1.13 3.22-.58 1.35.68 1.9 2.32 1.23 3.67zm-2.75-.82c.22.16.53.12.7-.1.16-.22.12-.53-.1-.7s-.53-.12-.7.1c-.16.21-.12.53.1.7zm3.01 3.67c-1.17.78-2.56.99-3.83.69-.27-.06-.44-.34-.37-.61s.34-.43.62-.36l.17.04c.96.17 1.98-.01 2.86-.59.47-.32.86-.72 1.14-1.18.15-.23.45-.3.69-.16.23.15.3.46.16.69-.36.57-.84 1.08-1.44 1.48zm1.05 1.57c-1.48.99-3.21 1.32-4.84 1.06-.28-.05-.47-.32-.41-.6.05-.27.32-.45.61-.39l.22.04c1.31.15 2.68-.14 3.87-.94.71-.47 1.27-1.07 1.7-1.74.14-.24.45-.31.68-.16.24.14.31.45.16.69-.49.79-1.16 1.49-1.99 2.04z";break;case"align-center":e="M3 5h14V3H3v2zm12 8V7H5v6h10zM3 17h14v-2H3v2z";break;case"align-full-width":e="M17 13V3H3v10h14zM5 17h10v-2H5v2z";break;case"align-left":e="M3 5h14V3H3v2zm9 8V7H3v6h9zm2-4h3V7h-3v2zm0 4h3v-2h-3v2zM3 17h14v-2H3v2z";break;case"align-none":e="M3 5h14V3H3v2zm10 8V7H3v6h10zM3 17h14v-2H3v2z";break;case"align-pull-left":e="M9 16V4H3v12h6zm2-7h6V7h-6v2zm0 4h6v-2h-6v2z";break;case"align-pull-right":e="M17 16V4h-6v12h6zM9 7H3v2h6V7zm0 4H3v2h6v-2z";break;case"align-right":e="M3 5h14V3H3v2zm0 4h3V7H3v2zm14 4V7H8v6h9zM3 13h3v-2H3v2zm0 4h14v-2H3v2z";break;case"align-wide":e="M5 5h10V3H5v2zm12 8V7H3v6h14zM5 17h10v-2H5v2z";break;case"analytics":e="M18 18V2H2v16h16zM16 5H4V4h12v1zM7 7v3h3c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3zm1 2V7c1.1 0 2 .9 2 2H8zm8-1h-4V7h4v1zm0 3h-4V9h4v2zm0 2h-4v-1h4v1zm0 3H4v-1h12v1z";break;case"archive":e="M19 4v2H1V4h18zM2 7h16v10H2V7zm11 3V9H7v1h6z";break;case"arrow-down-alt":e="M9 2h2v12l4-4 2 1-7 7-7-7 2-1 4 4V2z";break;case"arrow-down-alt2":e="M5 6l5 5 5-5 2 1-7 7-7-7z";break;case"arrow-down":e="M15 8l-4.03 6L7 8h8z";break;case"arrow-left-alt":e="M18 9v2H6l4 4-1 2-7-7 7-7 1 2-4 4h12z";break;case"arrow-left-alt2":e="M14 5l-5 5 5 5-1 2-7-7 7-7z";break;case"arrow-left":e="M13 14L7 9.97 13 6v8z";break;case"arrow-right-alt":e="M2 11V9h12l-4-4 1-2 7 7-7 7-1-2 4-4H2z";break;case"arrow-right-alt2":e="M6 15l5-5-5-5 1-2 7 7-7 7z";break;case"arrow-right":e="M8 6l6 4.03L8 14V6z";break;case"arrow-up-alt":e="M11 18H9V6l-4 4-2-1 7-7 7 7-2 1-4-4v12z";break;case"arrow-up-alt2":e="M15 14l-5-5-5 5-2-1 7-7 7 7z";break;case"arrow-up":e="M7 13l4.03-6L15 13H7z";break;case"art":e="M8.55 3.06c1.01.34-1.95 2.01-.1 3.13 1.04.63 3.31-2.22 4.45-2.86.97-.54 2.67-.65 3.53 1.23 1.09 2.38.14 8.57-3.79 11.06-3.97 2.5-8.97 1.23-10.7-2.66-2.01-4.53 3.12-11.09 6.61-9.9zm1.21 6.45c.73 1.64 4.7-.5 3.79-2.8-.59-1.49-4.48 1.25-3.79 2.8z";break;case"awards":e="M4.46 5.16L5 7.46l-.54 2.29 2.01 1.24L7.7 13l2.3-.54 2.3.54 1.23-2.01 2.01-1.24L15 7.46l.54-2.3-2-1.24-1.24-2.01-2.3.55-2.29-.54-1.25 2zm5.55 6.34C7.79 11.5 6 9.71 6 7.49c0-2.2 1.79-3.99 4.01-3.99 2.2 0 3.99 1.79 3.99 3.99 0 2.22-1.79 4.01-3.99 4.01zm-.02-1C8.33 10.5 7 9.16 7 7.5c0-1.65 1.33-3 2.99-3S13 5.85 13 7.5c0 1.66-1.35 3-3.01 3zm3.84 1.1l-1.28 2.24-2.08-.47L13 19.2l1.4-2.2h2.5zm-7.7.07l1.25 2.25 2.13-.51L7 19.2 5.6 17H3.1z";break;case"backup":e="M13.65 2.88c3.93 2.01 5.48 6.84 3.47 10.77s-6.83 5.48-10.77 3.47c-1.87-.96-3.2-2.56-3.86-4.4l1.64-1.03c.45 1.57 1.52 2.95 3.08 3.76 3.01 1.54 6.69.35 8.23-2.66 1.55-3.01.36-6.69-2.65-8.24C9.78 3.01 6.1 4.2 4.56 7.21l1.88.97-4.95 3.08-.39-5.82 1.78.91C4.9 2.4 9.75.89 13.65 2.88zm-4.36 7.83C9.11 10.53 9 10.28 9 10c0-.07.03-.12.04-.19h-.01L10 5l.97 4.81L14 13l-4.5-2.12.02-.02c-.08-.04-.16-.09-.23-.15z";break;case"block-default":e="M15 6V4h-3v2H8V4H5v2H4c-.6 0-1 .4-1 1v8h14V7c0-.6-.4-1-1-1h-1z";break;case"book-alt":e="M5 17h13v2H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h13v14H5c-.55 0-1 .45-1 1s.45 1 1 1zm2-3.5v-11c0-.28-.22-.5-.5-.5s-.5.22-.5.5v11c0 .28.22.5.5.5s.5-.22.5-.5z";break;case"book":e="M16 3h2v16H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h9v14H5c-.55 0-1 .45-1 1s.45 1 1 1h11V3z";break;case"buddicons-activity":e="M8 1v7h2V6c0-1.52 1.45-3 3-3v.86c.55-.52 1.26-.86 2-.86v3h1c1.1 0 2 .9 2 2s-.9 2-2 2h-1v6c0 .55-.45 1-1 1s-1-.45-1-1v-2.18c-.31.11-.65.18-1 .18v2c0 .55-.45 1-1 1s-1-.45-1-1v-2H8v2c0 .55-.45 1-1 1s-1-.45-1-1v-2c-.35 0-.69-.07-1-.18V16c0 .55-.45 1-1 1s-1-.45-1-1v-4H2v-1c0-1.66 1.34-3 3-3h2V1h1zm5 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1z";break;case"buddicons-bbpress-logo":e="M8.5 12.6c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.3 1.7c-.3 1 .3 1.5 1 1.5 1.2 0 1.9-1.1 2.2-2.4zm-4-6.4C3.7 7.3 3.3 8.6 3.3 10c0 1 .2 1.9.6 2.8l1-4.6c.3-1.7.4-2-.4-2zm9.3 6.4c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.4 1.7c-.2 1.1.4 1.6 1.1 1.6 1.1-.1 1.9-1.2 2.2-2.5zM10 3.3c-2 0-3.9.9-5.1 2.3.6-.1 1.4-.2 1.8-.3.2 0 .2.1.2.2 0 .2-1 4.8-1 4.8.5-.3 1.2-.7 1.8-.7.9 0 1.5.4 1.9.9l.5-2.4c.4-1.6.4-1.9-.4-1.9-.4 0-.4-.5 0-.6.6-.1 1.8-.2 2.3-.3.2 0 .2.1.2.2l-1 4.8c.5-.4 1.2-.7 1.9-.7 1.7 0 2.5 1.3 2.1 3-.3 1.7-2 3-3.8 3-1.3 0-2.1-.7-2.3-1.4-.7.8-1.7 1.3-2.8 1.4 1.1.7 2.4 1.1 3.7 1.1 3.7 0 6.7-3 6.7-6.7s-3-6.7-6.7-6.7zM10 2c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 15.5c-2.1 0-4-.8-5.3-2.2-.3-.4-.7-.8-1-1.2-.7-1.2-1.2-2.6-1.2-4.1 0-4.1 3.4-7.5 7.5-7.5s7.5 3.4 7.5 7.5-3.4 7.5-7.5 7.5z";break;case"buddicons-buddypress-logo":e="M10 0c5.52 0 10 4.48 10 10s-4.48 10-10 10S0 15.52 0 10 4.48 0 10 0zm0 .5C4.75.5.5 4.75.5 10s4.25 9.5 9.5 9.5 9.5-4.25 9.5-9.5S15.25.5 10 .5zm0 1c4.7 0 8.5 3.8 8.5 8.5s-3.8 8.5-8.5 8.5-8.5-3.8-8.5-8.5S5.3 1.5 10 1.5zm1.8 1.71c-.57 0-1.1.17-1.55.45 1.56.37 2.73 1.77 2.73 3.45 0 .69-.21 1.33-.55 1.87 1.31-.29 2.29-1.45 2.29-2.85 0-1.61-1.31-2.92-2.92-2.92zm-2.38 1c-1.61 0-2.92 1.31-2.92 2.93 0 1.61 1.31 2.92 2.92 2.92 1.62 0 2.93-1.31 2.93-2.92 0-1.62-1.31-2.93-2.93-2.93zm4.25 5.01l-.51.59c2.34.69 2.45 3.61 2.45 3.61h1.28c0-4.71-3.22-4.2-3.22-4.2zm-2.1.8l-2.12 2.09-2.12-2.09C3.12 10.24 3.89 15 3.89 15h11.08c.47-4.98-3.4-4.98-3.4-4.98z";break;case"buddicons-community":e="M9 3c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zm4 0c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zM9 9V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 0V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 1c0-1.48-1.41-2.77-3.5-3.46V9c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5V6.01c-.17 0-.33-.01-.5-.01s-.33.01-.5.01V9c0 .83-.67 1.5-1.5 1.5S6.5 9.83 6.5 9V6.54C4.41 7.23 3 8.52 3 10c0 1.41.95 2.65 3.21 3.37 1.11.35 2.39 1.12 3.79 1.12s2.69-.78 3.79-1.13C16.04 12.65 17 11.41 17 10zm-7 5.43c1.43 0 2.74-.79 3.88-1.11 1.9-.53 2.49-1.34 3.12-2.32v3c0 2.21-3.13 4-7 4s-7-1.79-7-4v-3c.64.99 1.32 1.8 3.15 2.33 1.13.33 2.44 1.1 3.85 1.1z";break;case"buddicons-forums":e="M13.5 7h-7C5.67 7 5 6.33 5 5.5S5.67 4 6.5 4h1.59C8.04 3.84 8 3.68 8 3.5 8 2.67 8.67 2 9.5 2h1c.83 0 1.5.67 1.5 1.5 0 .18-.04.34-.09.5h1.59c.83 0 1.5.67 1.5 1.5S14.33 7 13.5 7zM4 8h12c.55 0 1 .45 1 1s-.45 1-1 1H4c-.55 0-1-.45-1-1s.45-1 1-1zm1 3h10c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1s.45-1 1-1zm2 3h6c.55 0 1 .45 1 1s-.45 1-1 1h-1.09c.05.16.09.32.09.5 0 .83-.67 1.5-1.5 1.5h-1c-.83 0-1.5-.67-1.5-1.5 0-.18.04-.34.09-.5H7c-.55 0-1-.45-1-1s.45-1 1-1z";break;case"buddicons-friends":e="M8.75 5.77C8.75 4.39 7 2 7 2S5.25 4.39 5.25 5.77 5.9 7.5 7 7.5s1.75-.35 1.75-1.73zm6 0C14.75 4.39 13 2 13 2s-1.75 2.39-1.75 3.77S11.9 7.5 13 7.5s1.75-.35 1.75-1.73zM9 17V9c0-.55-.45-1-1-1H6c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm6 0V9c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-9-6l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2zm-6 3l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2z";break;case"buddicons-groups":e="M15.45 6.25c1.83.94 1.98 3.18.7 4.98-.8 1.12-2.33 1.88-3.46 1.78L10.05 18H9l-2.65-4.99c-1.13.16-2.73-.63-3.55-1.79-1.28-1.8-1.13-4.04.71-4.97.48-.24.96-.33 1.43-.31-.01.4.01.8.07 1.21.26 1.69 1.41 3.53 2.86 4.37-.19.55-.49.99-.88 1.25L9 16.58v-5.66C7.64 10.55 6.26 8.76 6 7c-.4-2.65 1-5 3.5-5s3.9 2.35 3.5 5c-.26 1.76-1.64 3.55-3 3.92v5.77l2.07-3.84c-.44-.23-.77-.71-.99-1.3 1.48-.83 2.65-2.69 2.91-4.4.06-.41.08-.82.07-1.22.46-.01.92.08 1.39.32z";break;case"buddicons-pm":e="M10 2c3 0 8 5 8 5v11H2V7s5-5 8-5zm7 14.72l-3.73-2.92L17 11l-.43-.37-2.26 1.3.24-4.31-8.77-.52-.46 4.54-1.99-.95L3 11l3.73 2.8-3.44 2.85.4.43L10 13l6.53 4.15z";break;case"buddicons-replies":e="M17.54 10.29c1.17 1.17 1.17 3.08 0 4.25-1.18 1.17-3.08 1.17-4.25 0l-.34-.52c0 3.66-2 4.38-2.95 4.98-.82-.6-2.95-1.28-2.95-4.98l-.34.52c-1.17 1.17-3.07 1.17-4.25 0-1.17-1.17-1.17-3.08 0-4.25 0 0 1.02-.67 2.1-1.3C3.71 7.84 3.2 6.42 3.2 4.88c0-.34.03-.67.08-1C3.53 5.66 4.47 7.22 5.8 8.3c.67-.35 1.85-.83 2.37-.92H8c-1.1 0-2-.9-2-2s.9-2 2-2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5h2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5c1.1 0 2 .9 2 2s-.9 2-2 2h-.17c.51.09 1.78.61 2.38.92 1.33-1.08 2.27-2.64 2.52-4.42.05.33.08.66.08 1 0 1.54-.51 2.96-1.36 4.11 1.08.63 2.09 1.3 2.09 1.3zM8.5 6.38c.5 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm3-2c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-2.3 5.73c-.12.11-.19.26-.19.43.02.25.23.46.49.46h1c.26 0 .47-.21.49-.46 0-.15-.07-.29-.19-.43-.08-.06-.18-.11-.3-.11h-1c-.12 0-.22.05-.3.11zM12 12.5c0-.12-.06-.28-.19-.38-.09-.07-.19-.12-.31-.12h-3c-.12 0-.22.05-.31.12-.11.1-.19.25-.19.38 0 .28.22.5.5.5h3c.28 0 .5-.22.5-.5zM8.5 15h3c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-3c-.28 0-.5.22-.5.5s.22.5.5.5zm1 2h1c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-1c-.28 0-.5.22-.5.5s.22.5.5.5z";break;case"buddicons-topics":e="M10.44 1.66c-.59-.58-1.54-.58-2.12 0L2.66 7.32c-.58.58-.58 1.53 0 2.12.6.6 1.56.56 2.12 0l5.66-5.66c.58-.58.59-1.53 0-2.12zm2.83 2.83c-.59-.59-1.54-.59-2.12 0l-5.66 5.66c-.59.58-.59 1.53 0 2.12.6.6 1.56.55 2.12 0l5.66-5.66c.58-.58.58-1.53 0-2.12zm1.06 6.72l4.18 4.18c.59.58.59 1.53 0 2.12s-1.54.59-2.12 0l-4.18-4.18-1.77 1.77c-.59.58-1.54.58-2.12 0-.59-.59-.59-1.54 0-2.13l5.66-5.65c.58-.59 1.53-.59 2.12 0 .58.58.58 1.53 0 2.12zM5 15c0-1.59-1.66-4-1.66-4S2 13.78 2 15s.6 2 1.34 2h.32C4.4 17 5 16.59 5 15z";break;case"buddicons-tracking":e="M10.98 6.78L15.5 15c-1 2-3.5 3-5.5 3s-4.5-1-5.5-3L9 6.82c-.75-1.23-2.28-1.98-4.29-2.03l2.46-2.92c1.68 1.19 2.46 2.32 2.97 3.31.56-.87 1.2-1.68 2.7-2.12l1.83 2.86c-1.42-.34-2.64.08-3.69.86zM8.17 10.4l-.93 1.69c.49.11 1 .16 1.54.16 1.35 0 2.58-.36 3.55-.95l-1.01-1.82c-.87.53-1.96.86-3.15.92zm.86 5.38c1.99 0 3.73-.74 4.74-1.86l-.98-1.76c-1 1.12-2.74 1.87-4.74 1.87-.62 0-1.21-.08-1.76-.21l-.63 1.15c.94.5 2.1.81 3.37.81z";break;case"building":e="M3 20h14V0H3v20zM7 3H5V1h2v2zm4 0H9V1h2v2zm4 0h-2V1h2v2zM7 6H5V4h2v2zm4 0H9V4h2v2zm4 0h-2V4h2v2zM7 9H5V7h2v2zm4 0H9V7h2v2zm4 0h-2V7h2v2zm-8 3H5v-2h2v2zm4 0H9v-2h2v2zm4 0h-2v-2h2v2zm-4 7H5v-6h6v6zm4-4h-2v-2h2v2zm0 3h-2v-2h2v2z";break;case"businessman":e="M7.3 6l-.03-.19c-.04-.37-.05-.73-.03-1.08.02-.36.1-.71.25-1.04.14-.32.31-.61.52-.86s.49-.46.83-.6c.34-.15.72-.23 1.13-.23.69 0 1.26.2 1.71.59s.76.87.91 1.44.18 1.16.09 1.78l-.03.19c-.01.09-.05.25-.11.48-.05.24-.12.47-.2.69-.08.21-.19.45-.34.72-.14.27-.3.49-.47.69-.18.19-.4.34-.67.48-.27.13-.55.19-.86.19s-.59-.06-.87-.19c-.26-.13-.49-.29-.67-.5-.18-.2-.34-.42-.49-.66-.15-.25-.26-.49-.34-.73-.09-.25-.16-.47-.21-.67-.06-.21-.1-.37-.12-.5zm9.2 6.24c.41.7.5 1.41.5 2.14v2.49c0 .03-.12.08-.29.13-.18.04-.42.13-.97.27-.55.12-1.1.24-1.65.34s-1.19.19-1.95.27c-.75.08-1.46.12-2.13.12-.68 0-1.39-.04-2.14-.12-.75-.07-1.4-.17-1.98-.27-.58-.11-1.08-.23-1.56-.34-.49-.11-.8-.21-1.06-.29L3 16.87v-2.49c0-.75.07-1.46.46-2.15s.81-1.25 1.5-1.68C5.66 10.12 7.19 10 8 10l1.67 1.67L9 13v3l1.02 1.08L11 16v-3l-.68-1.33L11.97 10c.77 0 2.2.07 2.9.52.71.45 1.21 1.02 1.63 1.72z";break;case"button":e="M17 5H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm1 7c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h14c.6 0 1 .4 1 1v5z";break;case"calendar-alt":e="M15 4h3v15H2V4h3V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1h4V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1zM6 3v2.5c0 .14.05.26.15.36.09.09.21.14.35.14s.26-.05.35-.14c.1-.1.15-.22.15-.36V3c0-.14-.05-.26-.15-.35-.09-.1-.21-.15-.35-.15s-.26.05-.35.15c-.1.09-.15.21-.15.35zm7 0v2.5c0 .14.05.26.14.36.1.09.22.14.36.14s.26-.05.36-.14c.09-.1.14-.22.14-.36V3c0-.14-.05-.26-.14-.35-.1-.1-.22-.15-.36-.15s-.26.05-.36.15c-.09.09-.14.21-.14.35zm4 15V8H3v10h14zM7 9v2H5V9h2zm2 0h2v2H9V9zm4 2V9h2v2h-2zm-6 1v2H5v-2h2zm2 0h2v2H9v-2zm4 2v-2h2v2h-2zm-6 1v2H5v-2h2zm4 2H9v-2h2v2zm4 0h-2v-2h2v2z";break;case"calendar":e="M15 4h3v14H2V4h3V3c0-.83.67-1.5 1.5-1.5S8 2.17 8 3v1h4V3c0-.83.67-1.5 1.5-1.5S15 2.17 15 3v1zM6 3v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5S6 2.72 6 3zm7 0v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5s-.5.22-.5.5zm4 14V8H3v9h14zM7 16V9H5v7h2zm4 0V9H9v7h2zm4 0V9h-2v7h2z";break;case"camera":e="M6 5V3H3v2h3zm12 10V4H9L7 6H2v9h16zm-7-8c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3z";break;case"carrot":e="M2 18.43c1.51 1.36 11.64-4.67 13.14-7.21.72-1.22-.13-3.01-1.52-4.44C15.2 5.73 16.59 9 17.91 8.31c.6-.32.99-1.31.7-1.92-.52-1.08-2.25-1.08-3.42-1.21.83-.2 2.82-1.05 2.86-2.25.04-.92-1.13-1.97-2.05-1.86-1.21.14-1.65 1.88-2.06 3-.05-.71-.2-2.27-.98-2.95-1.04-.91-2.29-.05-2.32 1.05-.04 1.33 2.82 2.07 1.92 3.67C11.04 4.67 9.25 4.03 8.1 4.7c-.49.31-1.05.91-1.63 1.69.89.94 2.12 2.07 3.09 2.72.2.14.26.42.11.62-.14.21-.42.26-.62.12-.99-.67-2.2-1.78-3.1-2.71-.45.67-.91 1.43-1.34 2.23.85.86 1.93 1.83 2.79 2.41.2.14.25.42.11.62-.14.21-.42.26-.63.12-.85-.58-1.86-1.48-2.71-2.32C2.4 13.69 1.1 17.63 2 18.43z";break;case"cart":e="M6 13h9c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1V4H2c-.55 0-1-.45-1-1s.45-1 1-1h3c.55 0 1 .45 1 1v2h13l-4 7H6v1zm-.5 3c.83 0 1.5.67 1.5 1.5S6.33 19 5.5 19 4 18.33 4 17.5 4.67 16 5.5 16zm9 0c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5z";break;case"category":e="M5 7h13v10H2V4h7l2 2H4v9h1V7z";break;case"chart-area":e="M18 18l.01-12.28c.59-.35.99-.99.99-1.72 0-1.1-.9-2-2-2s-2 .9-2 2c0 .8.47 1.48 1.14 1.8l-4.13 6.58c-.33-.24-.73-.38-1.16-.38-.84 0-1.55.51-1.85 1.24l-2.14-1.53c.09-.22.14-.46.14-.71 0-1.11-.89-2-2-2-1.1 0-2 .89-2 2 0 .73.4 1.36.98 1.71L1 18h17zM17 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM5 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm5.85 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"chart-bar":e="M18 18V2h-4v16h4zm-6 0V7H8v11h4zm-6 0v-8H2v8h4z";break;case"chart-line":e="M18 3.5c0 .62-.38 1.16-.92 1.38v13.11H1.99l4.22-6.73c-.13-.23-.21-.48-.21-.76C6 9.67 6.67 9 7.5 9S9 9.67 9 10.5c0 .13-.02.25-.05.37l1.44.63c.27-.3.67-.5 1.11-.5.18 0 .35.04.51.09l3.58-6.41c-.36-.27-.59-.7-.59-1.18 0-.83.67-1.5 1.5-1.5.19 0 .36.04.53.1l.05-.09v.11c.54.22.92.76.92 1.38zm-1.92 13.49V5.85l-3.29 5.89c.13.23.21.48.21.76 0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5l.01-.07-1.63-.72c-.25.18-.55.29-.88.29-.18 0-.35-.04-.51-.1l-3.2 5.09h12.29z";break;case"chart-pie":e="M10 10V3c3.87 0 7 3.13 7 7h-7zM9 4v7h7c0 3.87-3.13 7-7 7s-7-3.13-7-7 3.13-7 7-7z";break;case"clipboard":e="M11.9.39l1.4 1.4c1.61.19 3.5-.74 4.61.37s.18 3 .37 4.61l1.4 1.4c.39.39.39 1.02 0 1.41l-9.19 9.2c-.4.39-1.03.39-1.42 0L1.29 11c-.39-.39-.39-1.02 0-1.42l9.2-9.19c.39-.39 1.02-.39 1.41 0zm.58 2.25l-.58.58 4.95 4.95.58-.58c-.19-.6-.2-1.22-.15-1.82.02-.31.05-.62.09-.92.12-1 .18-1.63-.17-1.98s-.98-.29-1.98-.17c-.3.04-.61.07-.92.09-.6.05-1.22.04-1.82-.15zm4.02.93c.39.39.39 1.03 0 1.42s-1.03.39-1.42 0-.39-1.03 0-1.42 1.03-.39 1.42 0zm-6.72.36l-.71.7L15.44 11l.7-.71zM8.36 5.34l-.7.71 6.36 6.36.71-.7zM6.95 6.76l-.71.7 6.37 6.37.7-.71zM5.54 8.17l-.71.71 6.36 6.36.71-.71zM4.12 9.58l-.71.71 6.37 6.37.71-.71z";break;case"clock":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 14c3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6 2.69 6 6 6zm-.71-5.29c.07.05.14.1.23.15l-.02.02L14 13l-3.03-3.19L10 5l-.97 4.81h.01c0 .02-.01.05-.02.09S9 9.97 9 10c0 .28.1.52.29.71z";break;case"cloud-saved":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16h10c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5zm-6.3 5.9l-3.2-3.2 1.4-1.4 1.8 1.8 3.8-3.8 1.4 1.4-5.2 5.2z";break;case"cloud-upload":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16H8v-3H5l4.5-4.5L14 13h-3v3h3.5c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5z";break;case"cloud":e="M14.9 9c1.8.2 3.1 1.7 3.1 3.5 0 1.9-1.6 3.5-3.5 3.5h-10C2.6 16 1 14.4 1 12.5 1 10.7 2.3 9.3 4.1 9 4 8.9 4 8.7 4 8.5 4 7.1 5.1 6 6.5 6c.3 0 .7.1.9.2C8.1 4.9 9.4 4 11 4c2.2 0 4 1.8 4 4 0 .4-.1.7-.1 1z";break;case"columns":e="M3 15h6V5H3v10zm8 0h6V5h-6v10z";break;case"controls-back":e="M2 10l10-6v3.6L18 4v12l-6-3.6V16z";break;case"controls-forward":e="M18 10L8 16v-3.6L2 16V4l6 3.6V4z";break;case"controls-pause":e="M5 16V4h3v12H5zm7-12h3v12h-3V4z";break;case"controls-play":e="M5 4l10 6-10 6V4z";break;case"controls-repeat":e="M5 7v3l-2 1.5V5h11V3l4 3.01L14 9V7H5zm10 6v-3l2-1.5V15H6v2l-4-3.01L6 11v2h9z";break;case"controls-skipback":e="M11.98 7.63l6-3.6v12l-6-3.6v3.6l-8-4.8v4.8h-2v-12h2v4.8l8-4.8v3.6z";break;case"controls-skipforward":e="M8 12.4L2 16V4l6 3.6V4l8 4.8V4h2v12h-2v-4.8L8 16v-3.6z";break;case"controls-volumeoff":e="M2 7h4l5-4v14l-5-4H2V7z";break;case"controls-volumeon":e="M2 7h4l5-4v14l-5-4H2V7zm12.69-2.46C14.82 4.59 18 5.92 18 10s-3.18 5.41-3.31 5.46c-.06.03-.13.04-.19.04-.2 0-.39-.12-.46-.31-.11-.26.02-.55.27-.65.11-.05 2.69-1.15 2.69-4.54 0-3.41-2.66-4.53-2.69-4.54-.25-.1-.38-.39-.27-.65.1-.25.39-.38.65-.27zM16 10c0 2.57-2.23 3.43-2.32 3.47-.06.02-.12.03-.18.03-.2 0-.39-.12-.47-.32-.1-.26.04-.55.29-.65.07-.02 1.68-.67 1.68-2.53s-1.61-2.51-1.68-2.53c-.25-.1-.38-.39-.29-.65.1-.25.39-.39.65-.29.09.04 2.32.9 2.32 3.47z";break;case"cover-image":e="M2.2 1h15.5c.7 0 1.3.6 1.3 1.2v11.5c0 .7-.6 1.2-1.2 1.2H2.2c-.6.1-1.2-.5-1.2-1.1V2.2C1 1.6 1.6 1 2.2 1zM17 13V3H3v10h14zm-4-4s0-5 3-5v7c0 .6-.4 1-1 1H5c-.6 0-1-.4-1-1V7c2 0 3 4 3 4s1-4 3-4 3 2 3 2zM4 17h12v2H4z";break;case"dashboard":e="M3.76 16h12.48c1.1-1.37 1.76-3.11 1.76-5 0-4.42-3.58-8-8-8s-8 3.58-8 8c0 1.89.66 3.63 1.76 5zM10 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM6 6c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5.37 5.55L12 7v6c0 1.1-.9 2-2 2s-2-.9-2-2c0-.57.24-1.08.63-1.45zM4 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm12 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5 3c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1z";break;case"desktop":e="M3 2h14c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1h-5v2h2c.55 0 1 .45 1 1v1H5v-1c0-.55.45-1 1-1h2v-2H3c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm13 9V4H4v7h12zM5 5h9L5 9V5z";break;case"dismiss":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm5 11l-3-3 3-3-2-2-3 3-3-3-2 2 3 3-3 3 2 2 3-3 3 3z";break;case"download":e="M14.01 4v6h2V2H4v8h2.01V4h8zm-2 2v6h3l-5 6-5-6h3V6h4z";break;case"edit":e="M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z";break;case"editor-aligncenter":e="M14 5V3H6v2h8zm3 4V7H3v2h14zm-3 4v-2H6v2h8zm3 4v-2H3v2h14z";break;case"editor-alignleft":e="M12 5V3H3v2h9zm5 4V7H3v2h14zm-5 4v-2H3v2h9zm5 4v-2H3v2h14z";break;case"editor-alignright":e="M17 5V3H8v2h9zm0 4V7H3v2h14zm0 4v-2H8v2h9zm0 4v-2H3v2h14z";break;case"editor-bold":e="M6 4v13h4.54c1.37 0 2.46-.33 3.26-1 .8-.66 1.2-1.58 1.2-2.77 0-.84-.17-1.51-.51-2.01s-.9-.85-1.67-1.03v-.09c.57-.1 1.02-.4 1.36-.9s.51-1.13.51-1.91c0-1.14-.39-1.98-1.17-2.5C12.75 4.26 11.5 4 9.78 4H6zm2.57 5.15V6.26h1.36c.73 0 1.27.11 1.61.32.34.22.51.58.51 1.07 0 .54-.16.92-.47 1.15s-.82.35-1.51.35h-1.5zm0 2.19h1.6c1.44 0 2.16.53 2.16 1.61 0 .6-.17 1.05-.51 1.34s-.86.43-1.57.43H8.57v-3.38z";break;case"editor-break":e="M16 4h2v9H7v3l-5-4 5-4v3h9V4z";break;case"editor-code":e="M9 6l-4 4 4 4-1 2-6-6 6-6zm2 8l4-4-4-4 1-2 6 6-6 6z";break;case"editor-contract":e="M15.75 6.75L18 3v14l-2.25-3.75L17 12h-4v4l1.25-1.25L18 17H2l3.75-2.25L7 16v-4H3l1.25 1.25L2 17V3l2.25 3.75L3 8h4V4L5.75 5.25 2 3h16l-3.75 2.25L13 4v4h4z";break;case"editor-customchar":e="M10 5.4c1.27 0 2.24.36 2.91 1.08.66.71 1 1.76 1 3.13 0 1.28-.23 2.37-.69 3.27-.47.89-1.27 1.52-2.22 2.12v2h6v-2h-3.69c.92-.64 1.62-1.34 2.12-2.34.49-1.01.74-2.13.74-3.35 0-1.78-.55-3.19-1.65-4.22S11.92 3.54 10 3.54s-3.43.53-4.52 1.57c-1.1 1.04-1.65 2.44-1.65 4.2 0 1.21.24 2.31.73 3.33.48 1.01 1.19 1.71 2.1 2.36H3v2h6v-2c-.98-.64-1.8-1.28-2.24-2.17-.45-.89-.67-1.96-.67-3.22 0-1.37.33-2.41 1-3.13C7.75 5.76 8.72 5.4 10 5.4z";break;case"editor-expand":e="M7 8h6v4H7zm-5 5v4h4l-1.2-1.2L7 12l-3.8 2.2M14 17h4v-4l-1.2 1.2L13 12l2.2 3.8M14 3l1.3 1.3L13 8l3.8-2.2L18 7V3M6 3H2v4l1.2-1.2L7 8 4.7 4.3";break;case"editor-help":e="M17 10c0-3.87-3.14-7-7-7-3.87 0-7 3.13-7 7s3.13 7 7 7c3.86 0 7-3.13 7-7zm-6.3 1.48H9.14v-.43c0-.38.08-.7.24-.98s.46-.57.88-.89c.41-.29.68-.53.81-.71.14-.18.2-.39.2-.62 0-.25-.09-.44-.28-.58-.19-.13-.45-.19-.79-.19-.58 0-1.25.19-2 .57l-.64-1.28c.87-.49 1.8-.74 2.77-.74.81 0 1.45.2 1.92.58.48.39.71.91.71 1.55 0 .43-.09.8-.29 1.11-.19.32-.57.67-1.11 1.06-.38.28-.61.49-.71.63-.1.15-.15.34-.15.57v.35zm-1.47 2.74c-.18-.17-.27-.42-.27-.73 0-.33.08-.58.26-.75s.43-.25.77-.25c.32 0 .57.09.75.26s.27.42.27.74c0 .3-.09.55-.27.72-.18.18-.43.27-.75.27-.33 0-.58-.09-.76-.26z";break;case"editor-indent":e="M3 5V3h9v2H3zm10-1V3h4v1h-4zm0 3h2V5l4 3.5-4 3.5v-2h-2V7zM3 8V6h9v2H3zm2 3V9h7v2H5zm-2 3v-2h9v2H3zm10 0v-1h4v1h-4zm-4 3v-2h3v2H9z";break;case"editor-insertmore":e="M17 7V3H3v4h14zM6 11V9H3v2h3zm6 0V9H8v2h4zm5 0V9h-3v2h3zm0 6v-4H3v4h14z";break;case"editor-italic":e="M14.78 6h-2.13l-2.8 9h2.12l-.62 2H4.6l.62-2h2.14l2.8-9H8.03l.62-2h6.75z";break;case"editor-justify":e="M2 3h16v2H2V3zm0 4h16v2H2V7zm0 4h16v2H2v-2zm0 4h16v2H2v-2z";break;case"editor-kitchensink":e="M19 2v6H1V2h18zm-1 5V3H2v4h16zM5 4v2H3V4h2zm3 0v2H6V4h2zm3 0v2H9V4h2zm3 0v2h-2V4h2zm3 0v2h-2V4h2zm2 5v9H1V9h18zm-1 8v-7H2v7h16zM5 11v2H3v-2h2zm3 0v2H6v-2h2zm3 0v2H9v-2h2zm6 0v2h-5v-2h5zm-6 3v2H3v-2h8zm3 0v2h-2v-2h2zm3 0v2h-2v-2h2z";break;case"editor-ltr":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z";break;case"editor-ol-rtl":e="M15.025 8.75a1.048 1.048 0 0 1 .45-.1.507.507 0 0 1 .35.11.455.455 0 0 1 .13.36.803.803 0 0 1-.06.3 1.448 1.448 0 0 1-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76v-.7h-1.72v-.04l.51-.48a7.276 7.276 0 0 0 .7-.71 1.75 1.75 0 0 0 .3-.49 1.254 1.254 0 0 0 .1-.51.968.968 0 0 0-.16-.56 1.007 1.007 0 0 0-.44-.37 1.512 1.512 0 0 0-.65-.14 1.98 1.98 0 0 0-.51.06 1.9 1.9 0 0 0-.42.15 3.67 3.67 0 0 0-.48.35l.45.54a2.505 2.505 0 0 1 .45-.3zM16.695 15.29a1.29 1.29 0 0 0-.74-.3v-.02a1.203 1.203 0 0 0 .65-.37.973.973 0 0 0 .23-.65.81.81 0 0 0-.37-.71 1.72 1.72 0 0 0-1-.26 2.185 2.185 0 0 0-1.33.4l.4.6a1.79 1.79 0 0 1 .46-.23 1.18 1.18 0 0 1 .41-.07c.38 0 .58.15.58.46a.447.447 0 0 1-.22.43 1.543 1.543 0 0 1-.7.12h-.31v.66h.31a1.764 1.764 0 0 1 .75.12.433.433 0 0 1 .23.41.55.55 0 0 1-.2.47 1.084 1.084 0 0 1-.63.15 2.24 2.24 0 0 1-.57-.08 2.671 2.671 0 0 1-.52-.2v.74a2.923 2.923 0 0 0 1.18.22 1.948 1.948 0 0 0 1.22-.33 1.077 1.077 0 0 0 .43-.92.836.836 0 0 0-.26-.64zM15.005 4.17c.06-.05.16-.14.3-.28l-.02.42V7h.84V3h-.69l-1.29 1.03.4.51zM4.02 5h9v1h-9zM4.02 10h9v1h-9zM4.02 15h9v1h-9z";break;case"editor-ol":e="M6 7V3h-.69L4.02 4.03l.4.51.46-.37c.06-.05.16-.14.3-.28l-.02.42V7H6zm2-2h9v1H8V5zm-1.23 6.95v-.7H5.05v-.04l.51-.48c.33-.31.57-.54.7-.71.14-.17.24-.33.3-.49.07-.16.1-.33.1-.51 0-.21-.05-.4-.16-.56-.1-.16-.25-.28-.44-.37s-.41-.14-.65-.14c-.19 0-.36.02-.51.06-.15.03-.29.09-.42.15-.12.07-.29.19-.48.35l.45.54c.16-.13.31-.23.45-.3.15-.07.3-.1.45-.1.14 0 .26.03.35.11s.13.2.13.36c0 .1-.02.2-.06.3s-.1.21-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76zM8 10h9v1H8v-1zm-1.29 3.95c0-.3-.12-.54-.37-.71-.24-.17-.58-.26-1-.26-.52 0-.96.13-1.33.4l.4.6c.17-.11.32-.19.46-.23.14-.05.27-.07.41-.07.38 0 .58.15.58.46 0 .2-.07.35-.22.43s-.38.12-.7.12h-.31v.66h.31c.34 0 .59.04.75.12.15.08.23.22.23.41 0 .22-.07.37-.2.47-.14.1-.35.15-.63.15-.19 0-.38-.03-.57-.08s-.36-.12-.52-.2v.74c.34.15.74.22 1.18.22.53 0 .94-.11 1.22-.33.29-.22.43-.52.43-.92 0-.27-.09-.48-.26-.64s-.42-.26-.74-.3v-.02c.27-.06.49-.19.65-.37.15-.18.23-.39.23-.65zM8 15h9v1H8v-1z";break;case"editor-outdent":e="M7 4V3H3v1h4zm10 1V3H8v2h9zM7 7H5V5L1 8.5 5 12v-2h2V7zm10 1V6H8v2h9zm-2 3V9H8v2h7zm2 3v-2H8v2h9zM7 14v-1H3v1h4zm4 3v-2H8v2h3z";break;case"editor-paragraph":e="M15 2H7.54c-.83 0-1.59.2-2.28.6-.7.41-1.25.96-1.65 1.65C3.2 4.94 3 5.7 3 6.52s.2 1.58.61 2.27c.4.69.95 1.24 1.65 1.64.69.41 1.45.61 2.28.61h.43V17c0 .27.1.51.29.71.2.19.44.29.71.29.28 0 .51-.1.71-.29.2-.2.3-.44.3-.71V5c0-.27.09-.51.29-.71.2-.19.44-.29.71-.29s.51.1.71.29c.19.2.29.44.29.71v12c0 .27.1.51.3.71.2.19.43.29.71.29.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71V4H15c.27 0 .5-.1.7-.3.2-.19.3-.43.3-.7s-.1-.51-.3-.71C15.5 2.1 15.27 2 15 2z";break;case"editor-paste-text":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.44 1-1 0-.55-.45-1-1-1s-1 .45-1 1c0 .56.45 1 1 1zm5.45-1H17c.55 0 1 .45 1 1v12c0 .56-.45 1-1 1H3c-.55 0-1-.44-1-1V5c0-.55.45-1 1-1h1.55L4 4.63V7h12V4.63zM14 11V9H6v2h3v5h2v-5h3z";break;case"editor-paste-word":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm8 12V5c0-.55-.45-1-1-1h-1.54l.54.63V7H4V4.62L4.55 4H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-3-8l-2 7h-2l-1-5-1 5H6.92L5 9h2l1 5 1-5h2l1 5 1-5h2z";break;case"editor-quote":e="M9.49 13.22c0-.74-.2-1.38-.61-1.9-.62-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L7.88 4c-2.73 1.3-5.42 4.28-4.96 8.05C3.21 14.43 4.59 16 6.54 16c.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03zm8.05 0c0-.74-.2-1.38-.61-1.9-.63-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L15.93 4c-2.73 1.3-5.41 4.28-4.95 8.05.29 2.38 1.66 3.95 3.61 3.95.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03z";break;case"editor-removeformatting":e="M14.29 4.59l1.1 1.11c.41.4.61.94.61 1.47v2.12c0 .53-.2 1.07-.61 1.47l-6.63 6.63c-.4.41-.94.61-1.47.61s-1.07-.2-1.47-.61l-1.11-1.1-1.1-1.11c-.41-.4-.61-.94-.61-1.47v-2.12c0-.54.2-1.07.61-1.48l6.63-6.62c.4-.41.94-.61 1.47-.61s1.06.2 1.47.61zm-6.21 9.7l6.42-6.42c.39-.39.39-1.03 0-1.43L12.36 4.3c-.19-.19-.45-.29-.72-.29s-.52.1-.71.29l-6.42 6.42c-.39.4-.39 1.04 0 1.43l2.14 2.14c.38.38 1.04.38 1.43 0z";break;case"editor-rtl":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM19 6l-5 4 5 4V6z";break;case"editor-spellcheck":e="M15.84 2.76c.25 0 .49.04.71.11.23.07.44.16.64.25l.35-.81c-.52-.26-1.08-.39-1.69-.39-.58 0-1.09.13-1.52.37-.43.25-.76.61-.99 1.08C13.11 3.83 13 4.38 13 5c0 .99.23 1.75.7 2.28s1.15.79 2.02.79c.6 0 1.13-.09 1.6-.26v-.84c-.26.08-.51.14-.74.19-.24.05-.49.08-.74.08-.59 0-1.04-.19-1.34-.57-.32-.37-.47-.93-.47-1.66 0-.7.16-1.25.48-1.65.33-.4.77-.6 1.33-.6zM6.5 8h1.04L5.3 2H4.24L2 8h1.03l.58-1.66H5.9zM8 2v6h2.17c.67 0 1.19-.15 1.57-.46.38-.3.56-.72.56-1.26 0-.4-.1-.72-.3-.95-.19-.24-.5-.39-.93-.47v-.04c.35-.06.6-.21.78-.44.18-.24.28-.53.28-.88 0-.52-.19-.9-.56-1.14-.36-.24-.96-.36-1.79-.36H8zm.98 2.48V2.82h.85c.44 0 .77.06.97.19.21.12.31.33.31.61 0 .31-.1.53-.29.66-.18.13-.48.2-.89.2h-.95zM5.64 5.5H3.9l.54-1.56c.14-.4.25-.76.32-1.1l.15.52c.07.23.13.4.17.51zm3.34-.23h.99c.44 0 .76.08.98.23.21.15.32.38.32.69 0 .34-.11.59-.32.75s-.52.24-.93.24H8.98V5.27zM4 13l5 5 9-8-1-1-8 6-4-3z";break;case"editor-strikethrough":e="M15.82 12.25c.26 0 .5-.02.74-.07.23-.05.48-.12.73-.2v.84c-.46.17-.99.26-1.58.26-.88 0-1.54-.26-2.01-.79-.39-.44-.62-1.04-.68-1.79h-.94c.12.21.18.48.18.79 0 .54-.18.95-.55 1.26-.38.3-.9.45-1.56.45H8v-2.5H6.59l.93 2.5H6.49l-.59-1.67H3.62L3.04 13H2l.93-2.5H2v-1h1.31l.93-2.49H5.3l.92 2.49H8V7h1.77c1 0 1.41.17 1.77.41.37.24.55.62.55 1.13 0 .35-.09.64-.27.87l-.08.09h1.29c.05-.4.15-.77.31-1.1.23-.46.55-.82.98-1.06.43-.25.93-.37 1.51-.37.61 0 1.17.12 1.69.38l-.35.81c-.2-.1-.42-.18-.64-.25s-.46-.11-.71-.11c-.55 0-.99.2-1.31.59-.23.29-.38.66-.44 1.11H17v1h-2.95c.06.5.2.9.44 1.19.3.37.75.56 1.33.56zM4.44 8.96l-.18.54H5.3l-.22-.61c-.04-.11-.09-.28-.17-.51-.07-.24-.12-.41-.14-.51-.08.33-.18.69-.33 1.09zm4.53-1.09V9.5h1.19c.28-.02.49-.09.64-.18.19-.13.28-.35.28-.66 0-.28-.1-.48-.3-.61-.2-.12-.53-.18-.97-.18h-.84zm-3.33 2.64v-.01H3.91v.01h1.73zm5.28.01l-.03-.02H8.97v1.68h1.04c.4 0 .71-.08.92-.23.21-.16.31-.4.31-.74 0-.31-.11-.54-.32-.69z";break;case"editor-table":e="M18 17V3H2v14h16zM16 7H4V5h12v2zm-7 4H4V9h5v2zm7 0h-5V9h5v2zm-7 4H4v-2h5v2zm7 0h-5v-2h5v2z";break;case"editor-textcolor":e="M13.23 15h1.9L11 4H9L5 15h1.88l1.07-3h4.18zm-1.53-4.54H8.51L10 5.6z";break;case"editor-ul":e="M5.5 7C4.67 7 4 6.33 4 5.5 4 4.68 4.67 4 5.5 4 6.32 4 7 4.68 7 5.5 7 6.33 6.32 7 5.5 7zM8 5h9v1H8V5zm-2.5 7c-.83 0-1.5-.67-1.5-1.5C4 9.68 4.67 9 5.5 9c.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 10h9v1H8v-1zm-2.5 7c-.83 0-1.5-.67-1.5-1.5 0-.82.67-1.5 1.5-1.5.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 15h9v1H8v-1z";break;case"editor-underline":e="M14 5h-2v5.71c0 1.99-1.12 2.98-2.45 2.98-1.32 0-2.55-1-2.55-2.96V5H5v5.87c0 1.91 1 4.54 4.48 4.54 3.49 0 4.52-2.58 4.52-4.5V5zm0 13v-2H5v2h9z";break;case"editor-unlink":e="M17.74 2.26c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-.32.33-.69.58-1.08.77L13 10l1.69-1.64.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-.76.76L10 7l-.65-2.14c.19-.38.44-.75.77-1.07l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM2 4l8 6-6-8zm4-2l4 8-2-8H6zM2 6l8 4-8-2V6zm7.36 7.69L10 13l.74 2.35-1.38 1.39c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.39-1.38L7 10l-.69.64-1.52 1.53c-.85.84-.85 2.2 0 3.04.84.85 2.2.85 3.04 0zM18 16l-8-6 6 8zm-4 2l-4-8 2 8h2zm4-4l-8-4 8 2v2z";break;case"editor-video":e="M16 2h-3v1H7V2H4v15h3v-1h6v1h3V2zM6 3v1H5V3h1zm9 0v1h-1V3h1zm-2 1v5H7V4h6zM6 5v1H5V5h1zm9 0v1h-1V5h1zM6 7v1H5V7h1zm9 0v1h-1V7h1zM6 9v1H5V9h1zm9 0v1h-1V9h1zm-2 1v5H7v-5h6zm-7 1v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1z";break;case"ellipsis":e="M5 10c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z";break;case"email-alt":e="M19 14.5v-9c0-.83-.67-1.5-1.5-1.5H3.49c-.83 0-1.5.67-1.5 1.5v9c0 .83.67 1.5 1.5 1.5H17.5c.83 0 1.5-.67 1.5-1.5zm-1.31-9.11c.33.33.15.67-.03.84L13.6 9.95l3.9 4.06c.12.14.2.36.06.51-.13.16-.43.15-.56.05l-4.37-3.73-2.14 1.95-2.13-1.95-4.37 3.73c-.13.1-.43.11-.56-.05-.14-.15-.06-.37.06-.51l3.9-4.06-4.06-3.72c-.18-.17-.36-.51-.03-.84s.67-.17.95.07l6.24 5.04 6.25-5.04c.28-.24.62-.4.95-.07z";break;case"email-alt2":e="M18.01 11.18V2.51c0-1.19-.9-1.81-2-1.37L4 5.91c-1.1.44-2 1.77-2 2.97v8.66c0 1.2.9 1.81 2 1.37l12.01-4.77c1.1-.44 2-1.76 2-2.96zm-1.43-7.46l-6.04 9.33-6.65-4.6c-.1-.07-.36-.32-.17-.64.21-.36.65-.21.65-.21l6.3 2.32s4.83-6.34 5.11-6.7c.13-.17.43-.34.73-.13.29.2.16.49.07.63z";break;case"email":e="M3.87 4h13.25C18.37 4 19 4.59 19 5.79v8.42c0 1.19-.63 1.79-1.88 1.79H3.87c-1.25 0-1.88-.6-1.88-1.79V5.79c0-1.2.63-1.79 1.88-1.79zm6.62 8.6l6.74-5.53c.24-.2.43-.66.13-1.07-.29-.41-.82-.42-1.17-.17l-5.7 3.86L4.8 5.83c-.35-.25-.88-.24-1.17.17-.3.41-.11.87.13 1.07z";break;case"embed-audio":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 3H7v4c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.4 0 .7.1 1 .3V5h4v2zm4 3.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-generic":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-3 6.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-photo":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 8H3V6h7v6zm4-1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3zm-6-4V8.5L7.2 10 6 9.2 4 11h5zM4.6 8.6c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z";break;case"embed-post":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM8.6 9l-.4.3c-.4.4-.5 1.1-.2 1.6l-.8.8-1.1-1.1-1.3 1.3c-.2.2-1.6 1.3-1.8 1.1-.2-.2.9-1.6 1.1-1.8l1.3-1.3-1.1-1.1.8-.8c.5.3 1.2.3 1.6-.2l.3-.3c.5-.5.5-1.2.2-1.7L8 5l3 2.9-.8.8c-.5-.2-1.2-.2-1.6.3zm5.4 1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-video":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 6.5L8 9.1V11H3V6h5v1.8l2-1.3v4zm4 0L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"excerpt-view":e="M19 18V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h16c.55 0 1-.45 1-1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6V3h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6v-6h11z";break;case"exit":e="M13 3v2h2v10h-2v2h4V3h-4zm0 8V9H5.4l4.3-4.3-1.4-1.4L1.6 10l6.7 6.7 1.4-1.4L5.4 11H13z";break;case"external":e="M9 3h8v8l-2-1V6.92l-5.6 5.59-1.41-1.41L14.08 5H10zm3 12v-3l2-2v7H3V6h8L9 8H5v7h7z";break;case"facebook-alt":e="M8.46 18h2.93v-7.3h2.45l.37-2.84h-2.82V6.04c0-.82.23-1.38 1.41-1.38h1.51V2.11c-.26-.03-1.15-.11-2.19-.11-2.18 0-3.66 1.33-3.66 3.76v2.1H6v2.84h2.46V18z";break;case"facebook":e="M2.89 2h14.23c.49 0 .88.39.88.88v14.24c0 .48-.39.88-.88.88h-4.08v-6.2h2.08l.31-2.41h-2.39V7.85c0-.7.2-1.18 1.2-1.18h1.28V4.51c-.22-.03-.98-.09-1.86-.09-1.85 0-3.11 1.12-3.11 3.19v1.78H8.46v2.41h2.09V18H2.89c-.49 0-.89-.4-.89-.88V2.88c0-.49.4-.88.89-.88z";break;case"feedback":e="M2 2h16c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm15 14V7H3v9h14zM4 8v1h3V8H4zm4 0v3h8V8H8zm-4 4v1h3v-1H4zm4 0v3h8v-3H8z";break;case"filter":e="M3 4.5v-2s3.34-1 7-1 7 1 7 1v2l-5 7.03v6.97s-1.22-.09-2.25-.59S8 16.5 8 16.5v-4.97z";break;case"flag":e="M5 18V3H3v15h2zm1-6V4c3-1 7 1 11 0v8c-3 1.27-8-1-11 0z";break;case"format-aside":e="M1 1h18v12l-6 6H1V1zm3 3v1h12V4H4zm0 4v1h12V8H4zm6 5v-1H4v1h6zm2 4l5-5h-5v5z";break;case"format-audio":e="M6.99 3.08l11.02-2c.55-.08.99.45.99 1V14.5c0 1.94-1.57 3.5-3.5 3.5S12 16.44 12 14.5c0-1.93 1.57-3.5 3.5-3.5.54 0 1.04.14 1.5.35V5.08l-9 2V16c-.24 1.7-1.74 3-3.5 3C2.57 19 1 17.44 1 15.5 1 13.57 2.57 12 4.5 12c.54 0 1.04.14 1.5.35V4.08c0-.55.44-.91.99-1z";break;case"format-chat":e="M11 6h-.82C9.07 6 8 7.2 8 8.16V10l-3 3v-3H3c-1.1 0-2-.9-2-2V3c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v3zm0 1h6c1.1 0 2 .9 2 2v5c0 1.1-.9 2-2 2h-2v3l-3-3h-1c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2z";break;case"format-gallery":e="M16 4h1.96c.57 0 1.04.47 1.04 1.04v12.92c0 .57-.47 1.04-1.04 1.04H5.04C4.47 19 4 18.53 4 17.96V16H2.04C1.47 16 1 15.53 1 14.96V2.04C1 1.47 1.47 1 2.04 1h12.92c.57 0 1.04.47 1.04 1.04V4zM3 14h11V3H3v11zm5-8.5C8 4.67 7.33 4 6.5 4S5 4.67 5 5.5 5.67 7 6.5 7 8 6.33 8 5.5zm2 4.5s1-5 3-5v8H4V7c2 0 2 3 2 3s.33-2 2-2 2 2 2 2zm7 7V6h-1v8.96c0 .57-.47 1.04-1.04 1.04H6v1h11z";break;case"format-image":e="M2.25 1h15.5c.69 0 1.25.56 1.25 1.25v15.5c0 .69-.56 1.25-1.25 1.25H2.25C1.56 19 1 18.44 1 17.75V2.25C1 1.56 1.56 1 2.25 1zM17 17V3H3v14h14zM10 6c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm3 5s0-6 3-6v10c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1V8c2 0 3 4 3 4s1-3 3-3 3 2 3 2z";break;case"format-quote":e="M8.54 12.74c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45L6.65 1.94C3.45 3.46.31 6.96.85 11.37 1.19 14.16 2.8 16 5.08 16c1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38zm9.43 0c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45l-1.63-2.28c-3.2 1.52-6.34 5.02-5.8 9.43.34 2.79 1.95 4.63 4.23 4.63 1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38z";break;case"format-status":e="M10 1c7 0 9 2.91 9 6.5S17 14 10 14s-9-2.91-9-6.5S3 1 10 1zM5.5 9C6.33 9 7 8.33 7 7.5S6.33 6 5.5 6 4 6.67 4 7.5 4.67 9 5.5 9zM10 9c.83 0 1.5-.67 1.5-1.5S10.83 6 10 6s-1.5.67-1.5 1.5S9.17 9 10 9zm4.5 0c.83 0 1.5-.67 1.5-1.5S15.33 6 14.5 6 13 6.67 13 7.5 13.67 9 14.5 9zM6 14.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm-3 2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"format-video":e="M2 1h16c.55 0 1 .45 1 1v16l-18-.02V2c0-.55.45-1 1-1zm4 1L4 5h1l2-3H6zm4 0H9L7 5h1zm3 0h-1l-2 3h1zm3 0h-1l-2 3h1zm1 14V6H3v10h14zM8 7l6 4-6 4V7z";break;case"forms":e="M2 2h7v7H2V2zm9 0v7h7V2h-7zM5.5 4.5L7 3H4zM12 8V3h5v5h-5zM4.5 5.5L3 4v3zM8 4L6.5 5.5 8 7V4zM5.5 6.5L4 8h3zM9 18v-7H2v7h7zm9 0h-7v-7h7v7zM8 12v5H3v-5h5zm6.5 1.5L16 12h-3zM12 16l1.5-1.5L12 13v3zm3.5-1.5L17 16v-3zm-1 1L13 17h3z";break;case"googleplus":e="M6.73 10h5.4c.05.29.09.57.09.95 0 3.27-2.19 5.6-5.49 5.6-3.17 0-5.73-2.57-5.73-5.73 0-3.17 2.56-5.73 5.73-5.73 1.54 0 2.84.57 3.83 1.5l-1.55 1.5c-.43-.41-1.17-.89-2.28-.89-1.96 0-3.55 1.62-3.55 3.62 0 1.99 1.59 3.61 3.55 3.61 2.26 0 3.11-1.62 3.24-2.47H6.73V10zM19 10v1.64h-1.64v1.63h-1.63v-1.63h-1.64V10h1.64V8.36h1.63V10H19z";break;case"grid-view":e="M2 1h16c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1zm7.01 7.99v-6H3v6h6.01zm8 0v-6h-6v6h6zm-8 8.01v-6H3v6h6.01zm8 0v-6h-6v6h6z";break;case"groups":e="M8.03 4.46c-.29 1.28.55 3.46 1.97 3.46 1.41 0 2.25-2.18 1.96-3.46-.22-.98-1.08-1.63-1.96-1.63-.89 0-1.74.65-1.97 1.63zm-4.13.9c-.25 1.08.47 2.93 1.67 2.93s1.92-1.85 1.67-2.93c-.19-.83-.92-1.39-1.67-1.39s-1.48.56-1.67 1.39zm8.86 0c-.25 1.08.47 2.93 1.66 2.93 1.2 0 1.92-1.85 1.67-2.93-.19-.83-.92-1.39-1.67-1.39-.74 0-1.47.56-1.66 1.39zm-.59 11.43l1.25-4.3C14.2 10 12.71 8.47 10 8.47c-2.72 0-4.21 1.53-3.44 4.02l1.26 4.3C8.05 17.51 9 18 10 18c.98 0 1.94-.49 2.17-1.21zm-6.1-7.63c-.49.67-.96 1.83-.42 3.59l1.12 3.79c-.34.2-.77.31-1.2.31-.85 0-1.65-.41-1.85-1.03l-1.07-3.65c-.65-2.11.61-3.4 2.92-3.4.27 0 .54.02.79.06-.1.1-.2.22-.29.33zm8.35-.39c2.31 0 3.58 1.29 2.92 3.4l-1.07 3.65c-.2.62-1 1.03-1.85 1.03-.43 0-.86-.11-1.2-.31l1.11-3.77c.55-1.78.08-2.94-.42-3.61-.08-.11-.18-.23-.28-.33.25-.04.51-.06.79-.06z";break;case"hammer":e="M17.7 6.32l1.41 1.42-3.47 3.41-1.42-1.42.84-.82c-.32-.76-.81-1.57-1.51-2.31l-4.61 6.59-5.26 4.7c-.39.39-1.02.39-1.42 0l-1.2-1.21c-.39-.39-.39-1.02 0-1.41l10.97-9.92c-1.37-.86-3.21-1.46-5.67-1.48 2.7-.82 4.95-.93 6.58-.3 1.7.66 2.82 2.2 3.91 3.58z";break;case"heading":e="M12.5 4v5.2h-5V4H5v13h2.5v-5.2h5V17H15V4";break;case"heart":e="M10 17.12c3.33-1.4 5.74-3.79 7.04-6.21 1.28-2.41 1.46-4.81.32-6.25-1.03-1.29-2.37-1.78-3.73-1.74s-2.68.63-3.63 1.46c-.95-.83-2.27-1.42-3.63-1.46s-2.7.45-3.73 1.74c-1.14 1.44-.96 3.84.34 6.25 1.28 2.42 3.69 4.81 7.02 6.21z";break;case"hidden":e="M17.2 3.3l.16.17c.39.39.39 1.02 0 1.41L4.55 17.7c-.39.39-1.03.39-1.41 0l-.17-.17c-.39-.39-.39-1.02 0-1.41l1.59-1.6c-1.57-1-2.76-2.3-3.56-3.93.81-1.65 2.03-2.98 3.64-3.99S8.04 5.09 10 5.09c1.2 0 2.33.21 3.4.6l2.38-2.39c.39-.39 1.03-.39 1.42 0zm-7.09 4.01c-.23.25-.34.54-.34.88 0 .31.12.58.31.81l1.8-1.79c-.13-.12-.28-.21-.45-.26-.11-.01-.28-.03-.49-.04-.33.03-.6.16-.83.4zM2.4 10.59c.69 1.23 1.71 2.25 3.05 3.05l1.28-1.28c-.51-.69-.77-1.47-.77-2.36 0-1.06.36-1.98 1.09-2.76-1.04.27-1.96.7-2.76 1.26-.8.58-1.43 1.27-1.89 2.09zm13.22-2.13l.96-.96c1.02.86 1.83 1.89 2.42 3.09-.81 1.65-2.03 2.98-3.64 3.99s-3.4 1.51-5.36 1.51c-.63 0-1.24-.07-1.83-.18l1.07-1.07c.25.02.5.05.76.05 1.63 0 3.13-.4 4.5-1.21s2.4-1.84 3.1-3.09c-.46-.82-1.09-1.51-1.89-2.09-.03-.01-.06-.03-.09-.04zm-5.58 5.58l4-4c-.01 1.1-.41 2.04-1.18 2.81-.78.78-1.72 1.18-2.82 1.19z";break;case"html":e="M4 16v-2H2v2H1v-5h1v2h2v-2h1v5H4zM7 16v-4H5.6v-1h3.7v1H8v4H7zM10 16v-5h1l1.4 3.4h.1L14 11h1v5h-1v-3.1h-.1l-1.1 2.5h-.6l-1.1-2.5H11V16h-1zM19 16h-3v-5h1v4h2v1zM9.4 4.2L7.1 6.5l2.3 2.3-.6 1.2-3.5-3.5L8.8 3l.6 1.2zm1.2 4.6l2.3-2.3-2.3-2.3.6-1.2 3.5 3.5-3.5 3.5-.6-1.2z";break;case"id-alt":e="M18 18H2V2h16v16zM8.05 7.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L8.95 6c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C8.23 4.1 7.95 4 7.6 4c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM16 5V4h-5v1h5zm0 2V6h-5v1h5zM7.62 8.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM16 9V8h-3v1h3zm0 2v-1h-3v1h3zm0 3v-1H4v1h12zm0 2v-1H4v1h12z";break;case"id":e="M18 16H2V4h16v12zM7.05 8.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L7.95 7c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C7.23 5.1 6.95 5 6.6 5c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM17 9V5h-5v4h5zm-10.38.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM17 11v-1h-5v1h5zm0 2v-1h-5v1h5zm0 2v-1H3v1h14z";break;case"image-crop":e="M19 12v3h-4v4h-3v-4H4V7H0V4h4V0h3v4h7l3-3 1 1-3 3v7h4zm-8-5H7v4zm-3 5h4V8z";break;case"image-filter":e="M14 5.87c0-2.2-1.79-4-4-4s-4 1.8-4 4c0 2.21 1.79 4 4 4s4-1.79 4-4zM3.24 10.66c-1.92 1.1-2.57 3.55-1.47 5.46 1.11 1.92 3.55 2.57 5.47 1.47 1.91-1.11 2.57-3.55 1.46-5.47-1.1-1.91-3.55-2.56-5.46-1.46zm9.52 6.93c1.92 1.1 4.36.45 5.47-1.46 1.1-1.92.45-4.36-1.47-5.47-1.91-1.1-4.36-.45-5.46 1.46-1.11 1.92-.45 4.36 1.46 5.47z";break;case"image-flip-horizontal":e="M19 3v14h-8v3H9v-3H1V3h8V0h2v3h8zm-8.5 14V3h-1v14h1zM7 6.5L3 10l4 3.5v-7zM17 10l-4-3.5v7z";break;case"image-flip-vertical":e="M20 9v2h-3v8H3v-8H0V9h3V1h14v8h3zM6.5 7h7L10 3zM17 9.5H3v1h14v-1zM13.5 13h-7l3.5 4z";break;case"image-rotate-left":e="M7 5H5.05c0-1.74.85-2.9 2.95-2.9V0C4.85 0 2.96 2.11 2.96 5H1.18L3.8 8.39zm13-4v14h-5v5H1V10h9V1h10zm-2 2h-6v7h3v3h3V3zm-5 9H3v6h10v-6z";break;case"image-rotate-right":e="M15.95 5H14l3.2 3.39L19.82 5h-1.78c0-2.89-1.89-5-5.04-5v2.1c2.1 0 2.95 1.16 2.95 2.9zM1 1h10v9h9v10H6v-5H1V1zm2 2v10h3v-3h3V3H3zm5 9v6h10v-6H8z";break;case"image-rotate":e="M10.25 1.02c5.1 0 8.75 4.04 8.75 9s-3.65 9-8.75 9c-3.2 0-6.02-1.59-7.68-3.99l2.59-1.52c1.1 1.5 2.86 2.51 4.84 2.51 3.3 0 6-2.79 6-6s-2.7-6-6-6c-1.97 0-3.72 1-4.82 2.49L7 8.02l-6 2v-7L2.89 4.6c1.69-2.17 4.36-3.58 7.36-3.58z";break;case"images-alt":e="M4 15v-3H2V2h12v3h2v3h2v10H6v-3H4zm7-12c-1.1 0-2 .9-2 2h4c0-1.1-.89-2-2-2zm-7 8V6H3v5h1zm7-3h4c0-1.1-.89-2-2-2-1.1 0-2 .9-2 2zm-5 6V9H5v5h1zm9-1c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2s-2 .9-2 2c0 1.11.9 2 2 2zm2 4v-2c-5 0-5-3-10-3v5h10z";break;case"images-alt2":e="M5 3h14v11h-2v2h-2v2H1V7h2V5h2V3zm13 10V4H6v9h12zm-3-4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm1 6v-1H5V6H4v9h12zM7 6l10 6H7V6zm7 11v-1H3V8H2v9h12z";break;case"index-card":e="M1 3.17V18h18V4H8v-.83c0-.32-.12-.6-.35-.83S7.14 2 6.82 2H2.18c-.33 0-.6.11-.83.34-.24.23-.35.51-.35.83zM10 6v2H3V6h7zm7 0v10h-5V6h5zm-7 4v2H3v-2h7zm0 4v2H3v-2h7z";break;case"info-outline":e="M9 15h2V9H9v6zm1-10c-.5 0-1 .5-1 1s.5 1 1 1 1-.5 1-1-.5-1-1-1zm0-4c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7z";break;case"info":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1 4c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1zm0 9V9H9v6h2z";break;case"insert-after":e="M9 12h2v-2h2V8h-2V6H9v2H7v2h2v2zm1 4c3.9 0 7-3.1 7-7s-3.1-7-7-7-7 3.1-7 7 3.1 7 7 7zm0-12c2.8 0 5 2.2 5 5s-2.2 5-5 5-5-2.2-5-5 2.2-5 5-5zM3 19h14v-2H3v2z";break;case"insert-before":e="M11 8H9v2H7v2h2v2h2v-2h2v-2h-2V8zm-1-4c-3.9 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zM3 1v2h14V1H3z";break;case"insert":e="M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z";break;case"instagram":e="M12.67 10A2.67 2.67 0 1 0 10 12.67 2.68 2.68 0 0 0 12.67 10zm1.43 0A4.1 4.1 0 1 1 10 5.9a4.09 4.09 0 0 1 4.1 4.1zm1.13-4.27a1 1 0 1 1-1-1 1 1 0 0 1 1 1zM10 3.44c-1.17 0-3.67-.1-4.72.32a2.67 2.67 0 0 0-1.52 1.52c-.42 1-.32 3.55-.32 4.72s-.1 3.67.32 4.72a2.74 2.74 0 0 0 1.52 1.52c1 .42 3.55.32 4.72.32s3.67.1 4.72-.32a2.83 2.83 0 0 0 1.52-1.52c.42-1.05.32-3.55.32-4.72s.1-3.67-.32-4.72a2.74 2.74 0 0 0-1.52-1.52c-1.05-.42-3.55-.32-4.72-.32zM18 10c0 1.1 0 2.2-.05 3.3a4.84 4.84 0 0 1-1.29 3.36A4.8 4.8 0 0 1 13.3 18H6.7a4.84 4.84 0 0 1-3.36-1.29 4.84 4.84 0 0 1-1.29-3.41C2 12.2 2 11.1 2 10V6.7a4.84 4.84 0 0 1 1.34-3.36A4.8 4.8 0 0 1 6.7 2.05C7.8 2 8.9 2 10 2h3.3a4.84 4.84 0 0 1 3.36 1.29A4.8 4.8 0 0 1 18 6.7V10z";break;case"keyboard-hide":e="M18,0 L2,0 C0.9,0 0.01,0.9 0.01,2 L0,12 C0,13.1 0.9,14 2,14 L18,14 C19.1,14 20,13.1 20,12 L20,2 C20,0.9 19.1,0 18,0 Z M18,12 L2,12 L2,2 L18,2 L18,12 Z M9,3 L11,3 L11,5 L9,5 L9,3 Z M9,6 L11,6 L11,8 L9,8 L9,6 Z M6,3 L8,3 L8,5 L6,5 L6,3 Z M6,6 L8,6 L8,8 L6,8 L6,6 Z M3,6 L5,6 L5,8 L3,8 L3,6 Z M3,3 L5,3 L5,5 L3,5 L3,3 Z M6,9 L14,9 L14,11 L6,11 L6,9 Z M12,6 L14,6 L14,8 L12,8 L12,6 Z M12,3 L14,3 L14,5 L12,5 L12,3 Z M15,6 L17,6 L17,8 L15,8 L15,6 Z M15,3 L17,3 L17,5 L15,5 L15,3 Z M10,20 L14,16 L6,16 L10,20 Z";break;case"laptop":e="M3 3h14c.6 0 1 .4 1 1v10c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V4c0-.6.4-1 1-1zm13 2H4v8h12V5zm-3 1H5v4zm6 11v-1H1v1c0 .6.5 1 1.1 1h15.8c.6 0 1.1-.4 1.1-1z";break;case"layout":e="M2 2h5v11H2V2zm6 0h5v5H8V2zm6 0h4v16h-4V2zM8 8h5v5H8V8zm-6 6h11v4H2v-4z";break;case"leftright":e="M3 10.03L9 6v8zM11 6l6 4.03L11 14V6z";break;case"lightbulb":e="M10 1c3.11 0 5.63 2.52 5.63 5.62 0 1.84-2.03 4.58-2.03 4.58-.33.44-.6 1.25-.6 1.8v1c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-1c0-.55-.27-1.36-.6-1.8 0 0-2.02-2.74-2.02-4.58C4.38 3.52 6.89 1 10 1zM7 16.87V16h6v.87c0 .62-.13 1.13-.75 1.13H12c0 .62-.4 1-1.02 1h-2c-.61 0-.98-.38-.98-1h-.25c-.62 0-.75-.51-.75-1.13z";break;case"list-view":e="M2 19h16c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V3h11zM4 7c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V7h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11zM4 15c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11z";break;case"location-alt":e="M13 13.14l1.17-5.94c.79-.43 1.33-1.25 1.33-2.2 0-1.38-1.12-2.5-2.5-2.5S10.5 3.62 10.5 5c0 .95.54 1.77 1.33 2.2zm0-9.64c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm1.72 4.8L18 6.97v9L13.12 18 7 15.97l-5 2v-9l5-2 4.27 1.41 1.73 7.3z";break;case"location":e="M10 2C6.69 2 4 4.69 4 8c0 2.02 1.17 3.71 2.53 4.89.43.37 1.18.96 1.85 1.83.74.97 1.41 2.01 1.62 2.71.21-.7.88-1.74 1.62-2.71.67-.87 1.42-1.46 1.85-1.83C14.83 11.71 16 10.02 16 8c0-3.31-2.69-6-6-6zm0 2.56c1.9 0 3.44 1.54 3.44 3.44S11.9 11.44 10 11.44 6.56 9.9 6.56 8 8.1 4.56 10 4.56z";break;case"lock":e="M14 9h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h1V6c0-2.21 1.79-4 4-4s4 1.79 4 4v3zm-2 0V6c0-1.1-.9-2-2-2s-2 .9-2 2v3h4zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"marker":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z";break;case"media-archive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zM8 3.5v2l1.8-1zM11 5L9.2 6 11 7V5zM8 6.5v2l1.8-1zM11 8L9.2 9l1.8 1V8zM8 9.5v2l1.8-1zm3 1.5l-1.8 1 1.8 1v-2zm-1.5 6c.83 0 1.62-.72 1.5-1.63-.05-.38-.49-1.61-.49-1.61l-1.99-1.1s-.45 1.95-.52 2.71c-.07.77.67 1.63 1.5 1.63zm0-2.39c.42 0 .76.34.76.76 0 .43-.34.77-.76.77s-.76-.34-.76-.77c0-.42.34-.76.76-.76z";break;case"media-audio":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm1 7.26V8.09c0-.11-.04-.21-.12-.29-.07-.08-.16-.11-.27-.1 0 0-3.97.71-4.25.78C8.07 8.54 8 8.8 8 9v3.37c-.2-.09-.42-.07-.6-.07-.38 0-.7.13-.96.39-.26.27-.4.58-.4.96 0 .37.14.69.4.95.26.27.58.4.96.4.34 0 .7-.04.96-.26.26-.23.64-.65.64-1.12V10.3l3-.6V12c-.67-.2-1.17.04-1.44.31-.26.26-.39.58-.39.95 0 .38.13.69.39.96.27.26.71.39 1.08.39.38 0 .7-.13.96-.39.26-.27.4-.58.4-.96z";break;case"media-code":e="M12 2l4 4v12H4V2h8zM9 13l-2-2 2-2-1-1-3 3 3 3zm3 1l3-3-3-3-1 1 2 2-2 2z";break;case"media-default":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3z";break;case"media-document":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zM5 9v1h4V9H5zm10 3V9h-5v3h5zM5 11v1h4v-1H5zm10 3v-1H5v1h10zm-3 2v-1H5v1h7z";break;case"media-interactive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm2 8V8H6v6h3l-1 2h1l1-2 1 2h1l-1-2h3zm-6-3c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm5-2v2h-3V9h3zm0 3v1H7v-1h6z";break;case"media-spreadsheet":e="M12 2l4 4v12H4V2h8zm-1 4V3H5v3h6zM8 8V7H5v1h3zm3 0V7H9v1h2zm4 0V7h-3v1h3zm-7 2V9H5v1h3zm3 0V9H9v1h2zm4 0V9h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2z";break;case"media-text":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zm0 2V9H5v1h10zm0 2v-1H5v1h10zm-4 2v-1H5v1h6z";break;case"media-video":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm-1 8v-3c0-.27-.1-.51-.29-.71-.2-.19-.44-.29-.71-.29H7c-.27 0-.51.1-.71.29-.19.2-.29.44-.29.71v3c0 .27.1.51.29.71.2.19.44.29.71.29h3c.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71zm3 1v-5l-2 2v1z";break;case"megaphone":e="M18.15 5.94c.46 1.62.38 3.22-.02 4.48-.42 1.28-1.26 2.18-2.3 2.48-.16.06-.26.06-.4.06-.06.02-.12.02-.18.02-.06.02-.14.02-.22.02h-6.8l2.22 5.5c.02.14-.06.26-.14.34-.08.1-.24.16-.34.16H6.95c-.1 0-.26-.06-.34-.16-.08-.08-.16-.2-.14-.34l-1-5.5H4.25l-.02-.02c-.5.06-1.08-.18-1.54-.62s-.88-1.08-1.06-1.88c-.24-.8-.2-1.56-.02-2.2.18-.62.58-1.08 1.06-1.3l.02-.02 9-5.4c.1-.06.18-.1.24-.16.06-.04.14-.08.24-.12.16-.08.28-.12.5-.18 1.04-.3 2.24.1 3.22.98s1.84 2.24 2.26 3.86zm-2.58 5.98h-.02c.4-.1.74-.34 1.04-.7.58-.7.86-1.76.86-3.04 0-.64-.1-1.3-.28-1.98-.34-1.36-1.02-2.5-1.78-3.24s-1.68-1.1-2.46-.88c-.82.22-1.4.96-1.7 2-.32 1.04-.28 2.36.06 3.72.38 1.36 1 2.5 1.8 3.24.78.74 1.62 1.1 2.48.88zm-2.54-7.08c.22-.04.42-.02.62.04.38.16.76.48 1.02 1s.42 1.2.42 1.78c0 .3-.04.56-.12.8-.18.48-.44.84-.86.94-.34.1-.8-.06-1.14-.4s-.64-.86-.78-1.5c-.18-.62-.12-1.24.02-1.72s.48-.84.82-.94z";break;case"menu-alt":e="M3 4h14v2H3V4zm0 5h14v2H3V9zm0 5h14v2H3v-2z";break;case"menu":e="M17 7V5H3v2h14zm0 4V9H3v2h14zm0 4v-2H3v2h14z";break;case"microphone":e="M12 9V3c0-1.1-.89-2-2-2-1.12 0-2 .94-2 2v6c0 1.1.9 2 2 2 1.13 0 2-.94 2-2zm4 0c0 2.97-2.16 5.43-5 5.91V17h2c.56 0 1 .45 1 1s-.44 1-1 1H7c-.55 0-1-.45-1-1s.45-1 1-1h2v-2.09C6.17 14.43 4 11.97 4 9c0-.55.45-1 1-1 .56 0 1 .45 1 1 0 2.21 1.8 4 4 4 2.21 0 4-1.79 4-4 0-.55.45-1 1-1 .56 0 1 .45 1 1z";break;case"migrate":e="M4 6h6V4H2v12.01h8V14H4V6zm2 2h6V5l6 5-6 5v-3H6V8z";break;case"minus":e="M4 9h12v2H4V9z";break;case"money":e="M0 3h20v12h-.75c0-1.79-1.46-3.25-3.25-3.25-1.31 0-2.42.79-2.94 1.91-.25-.1-.52-.16-.81-.16-.98 0-1.8.63-2.11 1.5H0V3zm8.37 3.11c-.06.15-.1.31-.11.47s-.01.33.01.5l.02.08c.01.06.02.14.05.23.02.1.06.2.1.31.03.11.09.22.15.33.07.12.15.22.23.31s.18.17.31.23c.12.06.25.09.4.09.14 0 .27-.03.39-.09s.22-.14.3-.22c.09-.09.16-.2.22-.32.07-.12.12-.23.16-.33s.07-.2.09-.31c.03-.11.04-.18.05-.22s.01-.07.01-.09c.05-.29.03-.56-.04-.82s-.21-.48-.41-.66c-.21-.18-.47-.27-.79-.27-.19 0-.36.03-.52.1-.15.07-.28.16-.38.28-.09.11-.17.25-.24.4zm4.48 6.04v-1.14c0-.33-.1-.66-.29-.98s-.45-.59-.77-.79c-.32-.21-.66-.31-1.02-.31l-1.24.84-1.28-.82c-.37 0-.72.1-1.04.3-.31.2-.56.46-.74.77-.18.32-.27.65-.27.99v1.14l.18.05c.12.04.29.08.51.14.23.05.47.1.74.15.26.05.57.09.91.13.34.03.67.05.99.05.3 0 .63-.02.98-.05.34-.04.64-.08.89-.13.25-.04.5-.1.76-.16l.5-.12c.08-.02.14-.04.19-.06zm3.15.1c1.52 0 2.75 1.23 2.75 2.75s-1.23 2.75-2.75 2.75c-.73 0-1.38-.3-1.87-.77.23-.35.37-.78.37-1.23 0-.77-.39-1.46-.99-1.86.43-.96 1.37-1.64 2.49-1.64zm-5.5 3.5c0-.96.79-1.75 1.75-1.75s1.75.79 1.75 1.75-.79 1.75-1.75 1.75-1.75-.79-1.75-1.75z";break;case"move":e="M19 10l-4 4v-3h-4v4h3l-4 4-4-4h3v-4H5v3l-4-4 4-4v3h4V5H6l4-4 4 4h-3v4h4V6z";break;case"nametag":e="M12 5V2c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-2-3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 13V7c0-1.1-.9-2-2-2h-3v.33C13 6.25 12.25 7 11.33 7H8.67C7.75 7 7 6.25 7 5.33V5H4c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-1-6v6H3V9h14zm-8 2c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm3 0c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm-5.96 1.21c.92.48 2.34.79 3.96.79s3.04-.31 3.96-.79c-.21 1-1.89 1.79-3.96 1.79s-3.75-.79-3.96-1.79z";break;case"networking":e="M18 13h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01h-4c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2h-5v2h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01H8c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2H4v2h1c.55 0 1 .45 1 1.01v2.98C6 17.55 5.55 18 5 18H1c-.55 0-1-.45-1-1.01v-2.98C0 13.45.45 13 1 13h1v-2c0-1.1.9-2 2-2h5V7H8c-.55 0-1-.45-1-1.01V3.01C7 2.45 7.45 2 8 2h4c.55 0 1 .45 1 1.01v2.98C13 6.55 12.55 7 12 7h-1v2h5c1.1 0 2 .9 2 2v2z";break;case"no-alt":e="M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z";break;case"no":e="M12.12 10l3.53 3.53-2.12 2.12L10 12.12l-3.54 3.54-2.12-2.12L7.88 10 4.34 6.46l2.12-2.12L10 7.88l3.54-3.53 2.12 2.12z";break;case"palmtree":e="M8.58 2.39c.32 0 .59.05.81.14 1.25.55 1.69 2.24 1.7 3.97.59-.82 2.15-2.29 3.41-2.29s2.94.73 3.53 3.55c-1.13-.65-2.42-.94-3.65-.94-1.26 0-2.45.32-3.29.89.4-.11.86-.16 1.33-.16 1.39 0 2.9.45 3.4 1.31.68 1.16.47 3.38-.76 4.14-.14-2.1-1.69-4.12-3.47-4.12-.44 0-.88.12-1.33.38C8 10.62 7 14.56 7 19H2c0-5.53 4.21-9.65 7.68-10.79-.56-.09-1.17-.15-1.82-.15C6.1 8.06 4.05 8.5 2 10c.76-2.96 2.78-4.1 4.69-4.1 1.25 0 2.45.5 3.2 1.29-.66-2.24-2.49-2.86-4.08-2.86-.8 0-1.55.16-2.05.35.91-1.29 3.31-2.29 4.82-2.29zM13 11.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5.67 1.5 1.5 1.5 1.5-.67 1.5-1.5z";break;case"paperclip":e="M17.05 2.7c1.93 1.94 1.93 5.13 0 7.07L10 16.84c-1.88 1.89-4.91 1.93-6.86.15-.06-.05-.13-.09-.19-.15-1.93-1.94-1.93-5.12 0-7.07l4.94-4.95c.91-.92 2.28-1.1 3.39-.58.3.15.59.33.83.58 1.17 1.17 1.17 3.07 0 4.24l-4.93 4.95c-.39.39-1.02.39-1.41 0s-.39-1.02 0-1.41l4.93-4.95c.39-.39.39-1.02 0-1.41-.38-.39-1.02-.39-1.4 0l-4.94 4.95c-.91.92-1.1 2.29-.57 3.4.14.3.32.59.57.84s.54.43.84.57c1.11.53 2.47.35 3.39-.57l7.05-7.07c1.16-1.17 1.16-3.08 0-4.25-.56-.55-1.28-.83-2-.86-.08.01-.16.01-.24 0-.22-.03-.43-.11-.6-.27-.39-.4-.38-1.05.02-1.45.16-.16.36-.24.56-.28.14-.02.27-.01.4.02 1.19.06 2.36.52 3.27 1.43z";break;case"performance":e="M3.76 17.01h12.48C17.34 15.63 18 13.9 18 12c0-4.41-3.58-8-8-8s-8 3.59-8 8c0 1.9.66 3.63 1.76 5.01zM9 6c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zM4 8c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm4.52 3.4c.84-.83 6.51-3.5 6.51-3.5s-2.66 5.68-3.49 6.51c-.84.84-2.18.84-3.02 0-.83-.83-.83-2.18 0-3.01zM3 13c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1z";break;case"phone":e="M12.06 6l-.21-.2c-.52-.54-.43-.79.08-1.3l2.72-2.75c.81-.82.96-1.21 1.73-.48l.21.2zm.53.45l4.4-4.4c.7.94 2.34 3.47 1.53 5.34-.73 1.67-1.09 1.75-2 3-1.85 2.11-4.18 4.37-6 6.07-1.26.91-1.31 1.33-3 2-1.8.71-4.4-.89-5.38-1.56l4.4-4.4 1.18 1.62c.34.46 1.2-.06 1.8-.66 1.04-1.05 3.18-3.18 4-4.07.59-.59 1.12-1.45.66-1.8zM1.57 16.5l-.21-.21c-.68-.74-.29-.9.52-1.7l2.74-2.72c.51-.49.75-.6 1.27-.11l.2.21z";break;case"playlist-audio":e="M17 3V1H2v2h15zm0 4V5H2v2h15zm-7 4V9H2v2h8zm7.45-1.96l-6 1.12c-.16.02-.19.03-.29.13-.11.09-.16.22-.16.37v4.59c-.29-.13-.66-.14-.93-.14-.54 0-1 .19-1.38.57s-.56.84-.56 1.38c0 .53.18.99.56 1.37s.84.57 1.38.57c.49 0 .92-.16 1.29-.48s.59-.71.65-1.19v-4.95L17 11.27v3.48c-.29-.13-.56-.19-.83-.19-.54 0-1.11.19-1.49.57-.38.37-.57.83-.57 1.37s.19.99.57 1.37.84.57 1.38.57c.53 0 .99-.19 1.37-.57s.57-.83.57-1.37V9.6c0-.16-.05-.3-.16-.41-.11-.12-.24-.17-.39-.15zM8 15v-2H2v2h6zm-2 4v-2H2v2h4z";break;case"playlist-video":e="M17 3V1H2v2h15zm0 4V5H2v2h15zM6 11V9H2v2h4zm2-2h9c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-8c0-.55.45-1 1-1zm3 7l3.33-2L11 12v4zm-5-1v-2H2v2h4zm0 4v-2H2v2h4z";break;case"plus-alt":e="M15.8 4.2c3.2 3.21 3.2 8.39 0 11.6-3.21 3.2-8.39 3.2-11.6 0C1 12.59 1 7.41 4.2 4.2 7.41 1 12.59 1 15.8 4.2zm-4.3 11.3v-4h4v-3h-4v-4h-3v4h-4v3h4v4h3z";break;case"plus-light":e="M17 9v2h-6v6H9v-6H3V9h6V3h2v6h6z";break;case"plus":e="M17 7v3h-5v5H9v-5H4V7h5V2h3v5h5z";break;case"portfolio":e="M4 5H.78c-.37 0-.74.32-.69.84l1.56 9.99S3.5 8.47 3.86 6.7c.11-.53.61-.7.98-.7H10s-.7-2.08-.77-2.31C9.11 3.25 8.89 3 8.45 3H5.14c-.36 0-.7.23-.8.64C4.25 4.04 4 5 4 5zm4.88 0h-4s.42-1 .87-1h2.13c.48 0 1 1 1 1zM2.67 16.25c-.31.47-.76.75-1.26.75h15.73c.54 0 .92-.31 1.03-.83.44-2.19 1.68-8.44 1.68-8.44.07-.5-.3-.73-.62-.73H16V5.53c0-.16-.26-.53-.66-.53h-3.76c-.52 0-.87.58-.87.58L10 7H5.59c-.32 0-.63.19-.69.5 0 0-1.59 6.7-1.72 7.33-.07.37-.22.99-.51 1.42zM15.38 7H11s.58-1 1.13-1h2.29c.71 0 .96 1 .96 1z";break;case"post-status":e="M14 6c0 1.86-1.28 3.41-3 3.86V16c0 1-2 2-2 2V9.86c-1.72-.45-3-2-3-3.86 0-2.21 1.79-4 4-4s4 1.79 4 4zM8 5c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1z";break;case"pressthis":e="M14.76 1C16.55 1 18 2.46 18 4.25c0 1.78-1.45 3.24-3.24 3.24-.23 0-.47-.03-.7-.08L13 8.47V19H2V4h9.54c.13-2 1.52-3 3.22-3zm0 5.49C16 6.49 17 5.48 17 4.25 17 3.01 16 2 14.76 2s-2.24 1.01-2.24 2.25c0 .37.1.72.27 1.03L9.57 8.5c-.28.28-1.77 2.22-1.5 2.49.02.03.06.04.1.04.49 0 2.14-1.28 2.39-1.53l3.24-3.24c.29.14.61.23.96.23z";break;case"products":e="M17 8h1v11H2V8h1V6c0-2.76 2.24-5 5-5 .71 0 1.39.15 2 .42.61-.27 1.29-.42 2-.42 2.76 0 5 2.24 5 5v2zM5 6v2h2V6c0-1.13.39-2.16 1.02-3H8C6.35 3 5 4.35 5 6zm10 2V6c0-1.65-1.35-3-3-3h-.02c.63.84 1.02 1.87 1.02 3v2h2zm-5-4.22C9.39 4.33 9 5.12 9 6v2h2V6c0-.88-.39-1.67-1-2.22z";break;case"randomize":e="M18 6.01L14 9V7h-4l-5 8H2v-2h2l5-8h5V3zM2 5h3l1.15 2.17-1.12 1.8L4 7H2V5zm16 9.01L14 17v-2H9l-1.15-2.17 1.12-1.8L10 13h4v-2z";break;case"redo":e="M8 5h5V2l6 4-6 4V7H8c-2.2 0-4 1.8-4 4s1.8 4 4 4h5v2H8c-3.3 0-6-2.7-6-6s2.7-6 6-6z";break;case"rest-api":e="M3 4h2v12H3z";break;case"rss":e="M14.92 18H18C18 9.32 10.82 2.25 2 2.25v3.02c7.12 0 12.92 5.71 12.92 12.73zm-5.44 0h3.08C12.56 12.27 7.82 7.6 2 7.6v3.02c2 0 3.87.77 5.29 2.16C8.7 14.17 9.48 16.03 9.48 18zm-5.35-.02c1.17 0 2.13-.93 2.13-2.09 0-1.15-.96-2.09-2.13-2.09-1.18 0-2.13.94-2.13 2.09 0 1.16.95 2.09 2.13 2.09z";break;case"saved":e="M15.3 5.3l-6.8 6.8-2.8-2.8-1.4 1.4 4.2 4.2 8.2-8.2";break;case"schedule":e="M2 2h16v4H2V2zm0 10V8h4v4H2zm6-2V8h4v2H8zm6 3V8h4v5h-4zm-6 5v-6h4v6H8zm-6 0v-4h4v4H2zm12 0v-3h4v3h-4z";break;case"screenoptions":e="M9 9V3H3v6h6zm8 0V3h-6v6h6zm-8 8v-6H3v6h6zm8 0v-6h-6v6h6z";break;case"search":e="M12.14 4.18c1.87 1.87 2.11 4.75.72 6.89.12.1.22.21.36.31.2.16.47.36.81.59.34.24.56.39.66.47.42.31.73.57.94.78.32.32.6.65.84 1 .25.35.44.69.59 1.04.14.35.21.68.18 1-.02.32-.14.59-.36.81s-.49.34-.81.36c-.31.02-.65-.04-.99-.19-.35-.14-.7-.34-1.04-.59-.35-.24-.68-.52-1-.84-.21-.21-.47-.52-.77-.93-.1-.13-.25-.35-.47-.66-.22-.32-.4-.57-.56-.78-.16-.2-.29-.35-.44-.5-2.07 1.09-4.69.76-6.44-.98-2.14-2.15-2.14-5.64 0-7.78 2.15-2.15 5.63-2.15 7.78 0zm-1.41 6.36c1.36-1.37 1.36-3.58 0-4.95-1.37-1.37-3.59-1.37-4.95 0-1.37 1.37-1.37 3.58 0 4.95 1.36 1.37 3.58 1.37 4.95 0z";break;case"share-alt":e="M16.22 5.8c.47.69.29 1.62-.4 2.08-.69.47-1.62.29-2.08-.4-.16-.24-.35-.46-.55-.67-.21-.2-.43-.39-.67-.55s-.5-.3-.77-.41c-.27-.12-.55-.21-.84-.26-.59-.13-1.23-.13-1.82-.01-.29.06-.57.15-.84.27-.27.11-.53.25-.77.41s-.46.35-.66.55c-.21.21-.4.43-.56.67s-.3.5-.41.76c-.01.02-.01.03-.01.04-.1.24-.17.48-.23.72H1V6h2.66c.04-.07.07-.13.12-.2.27-.4.57-.77.91-1.11s.72-.65 1.11-.91c.4-.27.83-.51 1.28-.7s.93-.34 1.41-.43c.99-.21 2.03-.21 3.02 0 .48.09.96.24 1.41.43s.88.43 1.28.7c.39.26.77.57 1.11.91s.64.71.91 1.11zM12.5 10c0-1.38-1.12-2.5-2.5-2.5S7.5 8.62 7.5 10s1.12 2.5 2.5 2.5 2.5-1.12 2.5-2.5zm-8.72 4.2c-.47-.69-.29-1.62.4-2.09.69-.46 1.62-.28 2.08.41.16.24.35.46.55.67.21.2.43.39.67.55s.5.3.77.41c.27.12.55.2.84.26.59.13 1.23.12 1.82 0 .29-.06.57-.14.84-.26.27-.11.53-.25.77-.41s.46-.35.66-.55c.21-.21.4-.44.56-.67.16-.25.3-.5.41-.76.01-.02.01-.03.01-.04.1-.24.17-.48.23-.72H19v3h-2.66c-.04.06-.07.13-.12.2-.27.4-.57.77-.91 1.11s-.72.65-1.11.91c-.4.27-.83.51-1.28.7s-.93.33-1.41.43c-.99.21-2.03.21-3.02 0-.48-.1-.96-.24-1.41-.43s-.88-.43-1.28-.7c-.39-.26-.77-.57-1.11-.91s-.64-.71-.91-1.11z";break;case"share-alt2":e="M18 8l-5 4V9.01c-2.58.06-4.88.45-7 2.99.29-3.57 2.66-5.66 7-5.94V3zM4 14h11v-2l2-1.6V16H2V5h9.43c-1.83.32-3.31 1-4.41 2H4v7z";break;case"share":e="M14.5 12c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3c0-.24.03-.46.09-.69l-4.38-2.3c-.55.61-1.33.99-2.21.99-1.66 0-3-1.34-3-3s1.34-3 3-3c.88 0 1.66.39 2.21.99l4.38-2.3c-.06-.23-.09-.45-.09-.69 0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3c-.88 0-1.66-.39-2.21-.99l-4.38 2.3c.06.23.09.45.09.69s-.03.46-.09.69l4.38 2.3c.55-.61 1.33-.99 2.21-.99z";break;case"shield-alt":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2z";break;case"shield":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2zm0 8h5s1-1 1-5c0 0-5-1-6-2v7H5c1 4 5 7 5 7v-7z";break;case"shortcode":e="M6 14H4V6h2V4H2v12h4M7.1 17h2.1l3.7-14h-2.1M14 4v2h2v8h-2v2h4V4";break;case"slides":e="M5 14V6h10v8H5zm-3-1V7h2v6H2zm4-6v6h8V7H6zm10 0h2v6h-2V7zm-3 2V8H7v1h6zm0 3v-2H7v2h6z";break;case"smartphone":e="M6 2h8c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm7 12V4H7v10h6zM8 5h4l-4 5V5z";break;case"smiley":e="M7 5.2c1.1 0 2 .89 2 2 0 .37-.11.71-.28 1C8.72 8.2 8 8 7 8s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.9-2 2-2zm6 0c1.11 0 2 .89 2 2 0 .37-.11.71-.28 1 0 0-.72-.2-1.72-.2s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.89-2 2-2zm-3 13.7c3.72 0 7.03-2.36 8.23-5.88l-1.32-.46C15.9 15.52 13.12 17.5 10 17.5s-5.9-1.98-6.91-4.94l-1.32.46c1.2 3.52 4.51 5.88 8.23 5.88z";break;case"sort":e="M11 7H1l5 7zm-2 7h10l-5-7z";break;case"sos":e="M18 10c0-4.42-3.58-8-8-8s-8 3.58-8 8 3.58 8 8 8 8-3.58 8-8zM7.23 3.57L8.72 7.3c-.62.29-1.13.8-1.42 1.42L3.57 7.23c.71-1.64 2.02-2.95 3.66-3.66zm9.2 3.66L12.7 8.72c-.29-.62-.8-1.13-1.42-1.42l1.49-3.73c1.64.71 2.95 2.02 3.66 3.66zM10 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm-6.43.77l3.73-1.49c.29.62.8 1.13 1.42 1.42l-1.49 3.73c-1.64-.71-2.95-2.02-3.66-3.66zm9.2 3.66l-1.49-3.73c.62-.29 1.13-.8 1.42-1.42l3.73 1.49c-.71 1.64-2.02 2.95-3.66 3.66z";break;case"star-empty":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88l-4.68 2.34.87-5.15-3.18-3.56 4.65-.58z";break;case"star-filled":e="M10 1l3 6 6 .75-4.12 4.62L16 19l-6-3-6 3 1.13-6.63L1 7.75 7 7z";break;case"star-half":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88V3.24z";break;case"sticky":e="M5 3.61V1.04l8.99-.01-.01 2.58c-1.22.26-2.16 1.35-2.16 2.67v.5c.01 1.31.93 2.4 2.17 2.66l-.01 2.58h-3.41l-.01 2.57c0 .6-.47 4.41-1.06 4.41-.6 0-1.08-3.81-1.08-4.41v-2.56L5 12.02l.01-2.58c1.23-.25 2.15-1.35 2.15-2.66v-.5c0-1.31-.92-2.41-2.16-2.67z";break;case"store":e="M1 10c.41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.51.43.54 0 1.08-.14 1.49-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.63-.46 1-1.17 1-2V7l-3-7H4L0 7v1c0 .83.37 1.54 1 2zm2 8.99h5v-5h4v5h5v-7c-.37-.05-.72-.22-1-.43-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.49.44-.55 0-1.1-.14-1.51-.44-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.5.44-.54 0-1.09-.14-1.5-.44-.63-.45-1-.73-1-1.57 0 .84-.38 1.12-1 1.57-.29.21-.63.38-1 .44v6.99z";break;case"table-col-after":e="M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z";break;case"table-col-before":e="M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z";break;case"table-col-delete":e="M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z";break;case"table-row-after":e="M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z";break;case"table-row-before":e="M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z";break;case"table-row-delete":e="M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z";break;case"tablet":e="M4 2h12c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H4c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm11 14V4H5v12h10zM6 5h6l-6 5V5z";break;case"tag":e="M11 2h7v7L8 19l-7-7zm3 6c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z";break;case"tagcloud":e="M11 3v4H1V3h10zm8 0v4h-7V3h7zM7 8v3H1V8h6zm12 0v3H8V8h11zM9 12v2H1v-2h8zm10 0v2h-9v-2h9zM6 15v1H1v-1h5zm5 0v1H7v-1h4zm3 0v1h-2v-1h2zm5 0v1h-4v-1h4z";break;case"testimonial":e="M4 3h12c.55 0 1.02.2 1.41.59S18 4.45 18 5v7c0 .55-.2 1.02-.59 1.41S16.55 14 16 14h-1l-5 5v-5H4c-.55 0-1.02-.2-1.41-.59S2 12.55 2 12V5c0-.55.2-1.02.59-1.41S3.45 3 4 3zm11 2H4v1h11V5zm1 3H4v1h12V8zm-3 3H4v1h9v-1z";break;case"text":e="M18 3v2H2V3h16zm-6 4v2H2V7h10zm6 0v2h-4V7h4zM8 11v2H2v-2h6zm10 0v2h-8v-2h8zm-4 4v2H2v-2h12z";break;case"thumbs-down":e="M7.28 18c-.15.02-.26-.02-.41-.07-.56-.19-.83-.79-.66-1.35.17-.55 1-3.04 1-3.58 0-.53-.75-1-1.35-1h-3c-.6 0-1-.4-1-1s2-7 2-7c.17-.39.55-1 1-1H14v9h-2.14c-.41.41-3.3 4.71-3.58 5.27-.21.41-.6.68-1 .73zM18 12h-2V3h2v9z";break;case"thumbs-up":e="M12.72 2c.15-.02.26.02.41.07.56.19.83.79.66 1.35-.17.55-1 3.04-1 3.58 0 .53.75 1 1.35 1h3c.6 0 1 .4 1 1s-2 7-2 7c-.17.39-.55 1-1 1H6V8h2.14c.41-.41 3.3-4.71 3.58-5.27.21-.41.6-.68 1-.73zM2 8h2v9H2V8z";break;case"tickets-alt":e="M20 6.38L18.99 9.2v-.01c-.52-.19-1.03-.16-1.53.08s-.85.62-1.04 1.14-.16 1.03.07 1.53c.24.5.62.84 1.15 1.03v.01l-1.01 2.82-15.06-5.38.99-2.79c.52.19 1.03.16 1.53-.08.5-.23.84-.61 1.03-1.13s.16-1.03-.08-1.53c-.23-.49-.61-.83-1.13-1.02L4.93 1zm-4.97 5.69l1.37-3.76c.12-.31.1-.65-.04-.95s-.39-.53-.7-.65L8.14 3.98c-.64-.23-1.37.12-1.6.74L5.17 8.48c-.24.65.1 1.37.74 1.6l7.52 2.74c.14.05.28.08.43.08.52 0 1-.33 1.17-.83zM7.97 4.45l7.51 2.73c.19.07.34.21.43.39.08.18.09.38.02.57l-1.37 3.76c-.13.38-.58.59-.96.45L6.09 9.61c-.39-.14-.59-.57-.45-.96l1.37-3.76c.1-.29.39-.49.7-.49.09 0 .17.02.26.05zm6.82 12.14c.35.27.75.41 1.2.41H16v3H0v-2.96c.55 0 1.03-.2 1.41-.59.39-.38.59-.86.59-1.41s-.2-1.02-.59-1.41-.86-.59-1.41-.59V10h1.05l-.28.8 2.87 1.02c-.51.16-.89.62-.89 1.18v4c0 .69.56 1.25 1.25 1.25h8c.69 0 1.25-.56 1.25-1.25v-1.75l.83.3c.12.43.36.78.71 1.04zM3.25 17v-4c0-.41.34-.75.75-.75h.83l7.92 2.83V17c0 .41-.34.75-.75.75H4c-.41 0-.75-.34-.75-.75z";break;case"tickets":e="M20 5.38L18.99 8.2v-.01c-1.04-.37-2.19.18-2.57 1.22-.37 1.04.17 2.19 1.22 2.56v.01l-1.01 2.82L1.57 9.42l.99-2.79c1.04.38 2.19-.17 2.56-1.21s-.17-2.18-1.21-2.55L4.93 0zm-5.45 3.37c.74-2.08-.34-4.37-2.42-5.12-2.08-.74-4.37.35-5.11 2.42-.74 2.08.34 4.38 2.42 5.12 2.07.74 4.37-.35 5.11-2.42zm-2.56-4.74c.89.32 1.57.94 1.97 1.71-.01-.01-.02-.01-.04-.02-.33-.12-.67.09-.78.4-.1.28-.03.57.05.91.04.27.09.62-.06 1.04-.1.29-.33.58-.65 1l-.74 1.01.08-4.08.4.11c.19.04.26-.24.08-.29 0 0-.57-.15-.92-.28-.34-.12-.88-.36-.88-.36-.18-.08-.3.19-.12.27 0 0 .16.08.34.16l.01 1.63L9.2 9.18l.08-4.11c.2.06.4.11.4.11.19.04.26-.23.07-.29 0 0-.56-.15-.91-.28-.07-.02-.14-.05-.22-.08.93-.7 2.19-.94 3.37-.52zM7.4 6.19c.17-.49.44-.92.78-1.27l.04 5c-.94-.95-1.3-2.39-.82-3.73zm4.04 4.75l2.1-2.63c.37-.41.57-.77.69-1.12.05-.12.08-.24.11-.35.09.57.04 1.18-.17 1.77-.45 1.25-1.51 2.1-2.73 2.33zm-.7-3.22l.02 3.22c0 .02 0 .04.01.06-.4 0-.8-.07-1.2-.21-.33-.12-.63-.28-.9-.48zm1.24 6.08l2.1.75c.24.84 1 1.45 1.91 1.45H16v3H0v-2.96c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2V9h1.05l-.28.8 4.28 1.52C4.4 12.03 4 12.97 4 14c0 2.21 1.79 4 4 4s4-1.79 4-4c0-.07-.02-.13-.02-.2zm-6.53-2.33l1.48.53c-.14.04-.15.27.03.28 0 0 .18.02.37.03l.56 1.54-.78 2.36-1.31-3.9c.21-.01.41-.03.41-.03.19-.02.17-.31-.02-.3 0 0-.59.05-.96.05-.07 0-.15 0-.23-.01.13-.2.28-.38.45-.55zM4.4 14c0-.52.12-1.02.32-1.46l1.71 4.7C5.23 16.65 4.4 15.42 4.4 14zm4.19-1.41l1.72.62c.07.17.12.37.12.61 0 .31-.12.66-.28 1.16l-.35 1.2zM11.6 14c0 1.33-.72 2.49-1.79 3.11l1.1-3.18c.06-.17.1-.31.14-.46l.52.19c.02.11.03.22.03.34zm-4.62 3.45l1.08-3.14 1.11 3.03c.01.02.01.04.02.05-.37.13-.77.21-1.19.21-.35 0-.69-.06-1.02-.15z";break;case"tide":e="M17 7.2V3H3v7.1c2.6-.5 4.5-1.5 6.4-2.6.2-.2.4-.3.6-.5v3c-1.9 1.1-4 2.2-7 2.8V17h14V9.9c-2.6.5-4.4 1.5-6.2 2.6-.3.1-.5.3-.8.4V10c2-1.1 4-2.2 7-2.8z";break;case"translation":e="M11 7H9.49c-.63 0-1.25.3-1.59.7L7 5H4.13l-2.39 7h1.69l.74-2H7v4H2c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h7c1.1 0 2 .9 2 2v2zM6.51 9H4.49l1-2.93zM10 8h7c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-7c-1.1 0-2-.9-2-2v-7c0-1.1.9-2 2-2zm7.25 5v-1.08h-3.17V9.75h-1.16v2.17H9.75V13h1.28c.11.85.56 1.85 1.28 2.62-.87.36-1.89.62-2.31.62-.01.02.22.97.2 1.46.84 0 2.21-.5 3.28-1.15 1.09.65 2.48 1.15 3.34 1.15-.02-.49.2-1.44.2-1.46-.43 0-1.49-.27-2.38-.63.7-.77 1.14-1.77 1.25-2.61h1.36zm-3.81 1.93c-.5-.46-.85-1.13-1.01-1.93h2.09c-.17.8-.51 1.47-1 1.93l-.04.03s-.03-.02-.04-.03z";break;case"trash":e="M12 4h3c.6 0 1 .4 1 1v1H3V5c0-.6.5-1 1-1h3c.2-1.1 1.3-2 2.5-2s2.3.9 2.5 2zM8 4h3c-.2-.6-.9-1-1.5-1S8.2 3.4 8 4zM4 7h11l-.9 10.1c0 .5-.5.9-1 .9H5.9c-.5 0-.9-.4-1-.9L4 7z";break;case"twitter":e="M18.94 4.46c-.49.73-1.11 1.38-1.83 1.9.01.15.01.31.01.47 0 4.85-3.69 10.44-10.43 10.44-2.07 0-4-.61-5.63-1.65.29.03.58.05.88.05 1.72 0 3.3-.59 4.55-1.57-1.6-.03-2.95-1.09-3.42-2.55.22.04.45.07.69.07.33 0 .66-.05.96-.13-1.67-.34-2.94-1.82-2.94-3.6v-.04c.5.27 1.06.44 1.66.46-.98-.66-1.63-1.78-1.63-3.06 0-.67.18-1.3.5-1.84 1.81 2.22 4.51 3.68 7.56 3.83-.06-.27-.1-.55-.1-.84 0-2.02 1.65-3.66 3.67-3.66 1.06 0 2.01.44 2.68 1.16.83-.17 1.62-.47 2.33-.89-.28.85-.86 1.57-1.62 2.02.75-.08 1.45-.28 2.11-.57z";break;case"undo":e="M12 5H7V2L1 6l6 4V7h5c2.2 0 4 1.8 4 4s-1.8 4-4 4H7v2h5c3.3 0 6-2.7 6-6s-2.7-6-6-6z";break;case"universal-access-alt":e="M19 10c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9 9-4.03 9-9zm-9-7.4c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"universal-access":e="M10 2.6c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"unlock":e="M12 9V6c0-1.1-.9-2-2-2s-2 .9-2 2H6c0-2.21 1.79-4 4-4s4 1.79 4 4v3h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h7zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"update":e="M10.2 3.28c3.53 0 6.43 2.61 6.92 6h2.08l-3.5 4-3.5-4h2.32c-.45-1.97-2.21-3.45-4.32-3.45-1.45 0-2.73.71-3.54 1.78L4.95 5.66C6.23 4.2 8.11 3.28 10.2 3.28zm-.4 13.44c-3.52 0-6.43-2.61-6.92-6H.8l3.5-4c1.17 1.33 2.33 2.67 3.5 4H5.48c.45 1.97 2.21 3.45 4.32 3.45 1.45 0 2.73-.71 3.54-1.78l1.71 1.95c-1.28 1.46-3.15 2.38-5.25 2.38z";break;case"upload":e="M8 14V8H5l5-6 5 6h-3v6H8zm-2 2v-6H4v8h12.01v-8H14v6H6z";break;case"vault":e="M18 17V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-1 0H3V3h14v14zM4.75 4h10.5c.41 0 .75.34.75.75V6h-1v3h1v2h-1v3h1v1.25c0 .41-.34.75-.75.75H4.75c-.41 0-.75-.34-.75-.75V4.75c0-.41.34-.75.75-.75zM13 10c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4zM9 7l.77 1.15C10.49 8.46 11 9.17 11 10c0 1.1-.9 2-2 2s-2-.9-2-2c0-.83.51-1.54 1.23-1.85z";break;case"video-alt":e="M8 5c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1 0 .57.49 1 1 1h5c.55 0 1-.45 1-1zm6 5l4-4v10l-4-4v-2zm-1 4V8c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h8c.55 0 1-.45 1-1z";break;case"video-alt2":e="M12 13V7c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2zm1-2.5l6 4.5V5l-6 4.5v1z";break;case"video-alt3":e="M19 15V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2zM8 14V6l6 4z";break;case"visibility":e="M19.7 9.4C17.7 6 14 3.9 10 3.9S2.3 6 .3 9.4L0 10l.3.6c2 3.4 5.7 5.5 9.7 5.5s7.7-2.1 9.7-5.5l.3-.6-.3-.6zM10 14.1c-3.1 0-6-1.6-7.7-4.1C3.6 8 5.7 6.6 8 6.1c-.9.6-1.5 1.7-1.5 2.9 0 1.9 1.6 3.5 3.5 3.5s3.5-1.6 3.5-3.5c0-1.2-.6-2.3-1.5-2.9 2.3.5 4.4 1.9 5.7 3.9-1.7 2.5-4.6 4.1-7.7 4.1z";break;case"warning":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z";break;case"welcome-add-page":e="M17 7V4h-2V2h-3v1H3v15h11V9h1V7h2zm-1-2v1h-2v2h-1V6h-2V5h2V3h1v2h2z";break;case"welcome-comments":e="M5 2h10c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2zm8.5 8.5L11 8l2.5-2.5-1-1L10 7 7.5 4.5l-1 1L9 8l-2.5 2.5 1 1L10 9l2.5 2.5z";break;case"welcome-learn-more":e="M10 10L2.54 7.02 3 18H1l.48-11.41L0 6l10-4 10 4zm0-5c-.55 0-1 .22-1 .5s.45.5 1 .5 1-.22 1-.5-.45-.5-1-.5zm0 6l5.57-2.23c.71.94 1.2 2.07 1.36 3.3-.3-.04-.61-.07-.93-.07-2.55 0-4.78 1.37-6 3.41C8.78 13.37 6.55 12 4 12c-.32 0-.63.03-.93.07.16-1.23.65-2.36 1.36-3.3z";break;case"welcome-view-site":e="M18 14V4c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-8-8c2.3 0 4.4 1.14 6 3-1.6 1.86-3.7 3-6 3s-4.4-1.14-6-3c1.6-1.86 3.7-3 6-3zm2 3c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm2 8h3v1H3v-1h3v-1h8v1z";break;case"welcome-widgets-menus":e="M19 16V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v13c0 .55.45 1 1 1h15c.55 0 1-.45 1-1zM4 4h13v4H4V4zm1 1v2h3V5H5zm4 0v2h3V5H9zm4 0v2h3V5h-3zm-8.5 5c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 10h4v1H6v-1zm6 0h5v5h-5v-5zm-7.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 12h4v1H6v-1zm7 0v2h3v-2h-3zm-8.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 14h4v1H6v-1z";break;case"welcome-write-blog":e="M16.89 1.2l1.41 1.41c.39.39.39 1.02 0 1.41L14 8.33V18H3V3h10.67l1.8-1.8c.4-.39 1.03-.4 1.42 0zm-5.66 8.48l5.37-5.36-1.42-1.42-5.36 5.37-.71 2.12z";break;case"wordpress-alt":e="M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z";break;case"wordpress":e="M20 10c0-5.52-4.48-10-10-10S0 4.48 0 10s4.48 10 10 10 10-4.48 10-10zM10 1.01c4.97 0 8.99 4.02 8.99 8.99s-4.02 8.99-8.99 8.99S1.01 14.97 1.01 10 5.03 1.01 10 1.01zM8.01 14.82L4.96 6.61c.49-.03 1.05-.08 1.05-.08.43-.05.38-1.01-.06-.99 0 0-1.29.1-2.13.1-.15 0-.33 0-.52-.01 1.44-2.17 3.9-3.6 6.7-3.6 2.09 0 3.99.79 5.41 2.09-.6-.08-1.45.35-1.45 1.42 0 .66.38 1.22.79 1.88.31.54.5 1.22.5 2.21 0 1.34-1.27 4.48-1.27 4.48l-2.71-7.5c.48-.03.75-.16.75-.16.43-.05.38-1.1-.05-1.08 0 0-1.3.11-2.14.11-.78 0-2.11-.11-2.11-.11-.43-.02-.48 1.06-.05 1.08l.84.08 1.12 3.04zm6.02 2.15L16.64 10s.67-1.69.39-3.81c.63 1.14.94 2.42.94 3.81 0 2.96-1.56 5.58-3.94 6.97zM2.68 6.77L6.5 17.25c-2.67-1.3-4.47-4.08-4.47-7.25 0-1.16.2-2.23.65-3.23zm7.45 4.53l2.29 6.25c-.75.27-1.57.42-2.42.42-.72 0-1.41-.11-2.06-.3z";break;case"yes-alt":e="M10 2c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm-.615 12.66h-1.34l-3.24-4.54 1.34-1.25 2.57 2.4 5.14-5.93 1.34.94-5.81 8.38z";break;case"yes":e="M14.83 4.89l1.34.94-5.81 8.38H9.02L5.78 9.67l1.34-1.25 2.57 2.4z"}if(!e)return null;var l=["dashicon","dashicons-"+n,i].filter(Boolean).join(" ");return Object(s.createElement)(h,Object(E.a)({"aria-hidden":!0,role:"img",focusable:"false",className:l,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 20 20"},c),Object(s.createElement)(u,{d:e}))}}]),t}(s.Component);var me=function(e){var t=e.icon,n=void 0===t?null:t,a=e.size,i=Object(o.a)(e,["icon","size"]),c=a||20;if("string"==typeof n)return Object(s.createElement)(ve,Object(E.a)({icon:n,size:c},i));if(n&&ve===n.type)return Object(s.cloneElement)(n,Object(r.a)({size:c},i));var l=a||24;if("function"==typeof n)return n.prototype instanceof s.Component?Object(s.createElement)(n,Object(r.a)({size:l},i)):n(Object(r.a)({size:l},i));if(n&&("svg"===n.type||n.type===h)){var u=Object(r.a)({width:l,height:l},n.props,i);return Object(s.createElement)(h,u)}return Object(s.isValidElement)(n)?Object(s.cloneElement)(n,Object(r.a)({size:l},i)):n};var ye=Object(s.forwardRef)((function(e,t){var n=e.href,r=e.target,a=e.isPrimary,c=e.isLarge,l=e.isSmall,u=e.isTertiary,d=e.isPressed,f=e.isBusy,h=e.isDefault,p=e.isSecondary,b=e.isLink,v=e.isDestructive,m=e.className,y=e.disabled,g=e.icon,O=e.iconSize,k=e.showTooltip,_=e.tooltipPosition,w=e.shortcut,S=e.label,j=e.children,C=Object(o.a)(e,["href","target","isPrimary","isLarge","isSmall","isTertiary","isPressed","isBusy","isDefault","isSecondary","isLink","isDestructive","className","disabled","icon","iconSize","showTooltip","tooltipPosition","shortcut","label","children"]);h&&x()("Button isDefault prop",{alternative:"isSecondary"});var M=i()("components-button",m,{"is-secondary":h||p,"is-primary":a,"is-large":c,"is-small":l,"is-tertiary":u,"is-pressed":d,"is-busy":f,"is-link":b,"is-destructive":v,"has-text":!!g&&!!j,"has-icon":!!g}),P=void 0===n||y?"button":"a",z="a"===P?{href:n,target:r}:{type:"button",disabled:y,"aria-pressed":d},I=!y&&(k&&S||w||!!S&&(!j||Object(D.isArray)(j)&&!j.length)&&!1!==k),T=Object(s.createElement)(P,Object(E.a)({},z,C,{className:M,"aria-label":C["aria-label"]||S,ref:t}),g&&Object(s.createElement)(me,{icon:g,size:O}),j);return I?Object(s.createElement)(be,{text:S,shortcut:w,position:_},T):T})),ge=n(45),Oe=Object(C.createHigherOrderComponent)((function(e){return function(t){function n(){var e;return Object(m.a)(this,n),(e=Object(y.a)(this,Object(g.a)(n).apply(this,arguments))).debouncedSpeak=Object(D.debounce)(e.speak.bind(Object(O.a)(e)),500),e}return Object(_.a)(n,t),Object(k.a)(n,[{key:"speak",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"polite";Object(ge.speak)(e,t)}},{key:"componentWillUnmount",value:function(){this.debouncedSpeak.cancel()}},{key:"render",value:function(){return Object(s.createElement)(e,Object(E.a)({},this.props,{speak:this.speak,debouncedSpeak:this.debouncedSpeak}))}}]),n}(s.Component)}),"withSpokenMessages");function ke(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r=[],o=0;o0,y=m?"components-autocomplete-listbox-".concat(o):null,g=m?"components-autocomplete-item-".concat(o,"-").concat(p):null;return Object(s.createElement)(s.Fragment,null,r({isExpanded:m,listBoxId:y,activeId:g,onKeyDown:this.handleKeyDown}),m&&a&&Object(s.createElement)(fe,{focusOnMount:!1,onClose:this.reset,position:"top right",className:"components-autocomplete__popover",anchorRef:(e=window.getSelection(),e.rangeCount?e.getRangeAt(0):null)},Object(s.createElement)("div",{id:y,role:"listbox",className:"components-autocomplete__results"},m&&Object(D.map)(f,(function(e,n){return Object(s.createElement)(ye,{key:e.key,id:"components-autocomplete-item-".concat(o,"-").concat(e.key),role:"option","aria-selected":n===d,disabled:e.isDisabled,className:i()("components-autocomplete__result",v,{"is-selected":n===d}),onClick:function(){return t.select(e)}},e.label)})))))}}]),t}(s.Component),we=Object(C.compose)([Oe,C.withInstanceId])(_e);var De=function(e){var t=e.as,n=void 0===t?"div":t,a=Object(o.a)(e,["as"]);return function(e){var t=e.as,n=void 0===t?"div":t,r=Object(o.a)(e,["as"]);return"function"==typeof r.children?r.children(r):Object(s.createElement)(n,r)}(Object(r.a)({as:n,className:"components-visually-hidden"},a))};function Se(e){var t=e.id,n=e.label,r=e.hideLabelFromVision,o=e.help,a=e.className,c=e.children;return Object(s.createElement)("div",{className:i()("components-base-control",a)},Object(s.createElement)("div",{className:"components-base-control__field"},n&&t&&(r?Object(s.createElement)(De,{as:"label",htmlFor:t},n):Object(s.createElement)("label",{className:"components-base-control__label",htmlFor:t},n)),n&&!t&&(r?Object(s.createElement)(De,{as:"label"},n):Object(s.createElement)(Se.VisualLabel,null,n)),c),!!o&&Object(s.createElement)("p",{id:t+"__help",className:"components-base-control__help"},o))}Se.VisualLabel=function(e){var t=e.className,n=e.children;return t=i()("components-base-control__label",t),Object(s.createElement)("span",{className:t},n)};var je=Se;var Ce=function(e){var t=e.className,n=Object(o.a)(e,["className"]),r=i()("components-button-group",t);return Object(s.createElement)("div",Object(E.a)({},n,{className:r,role:"group"}))},Me=Object(s.createContext)({}),Ee=function(){return Object(s.useContext)(Me)},Pe=n(222),xe=n.n(Pe),ze=n(21);var Ie=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}},Te=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Ne=Ie((function(e){return Te.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),Ae=n(96),Re=n.n(Ae);var He=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var o=function(e){if(e.sheet)return e.sheet;for(var t=0;tr&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(b,"$1"+e.trim());case 58:return e.trim()+t.replace(b,"$1"+e.trim());default:if(0<1*n&&0c.charCodeAt(8))break;case 115:i=i.replace(c,"-webkit-"+c)+";"+i;break;case 207:case 102:i=i.replace(c,"-webkit-"+(102s.charCodeAt(0)&&(s=s.trim()),s=[s],0h)&&(L=(B=B.replace(" ",":")).length),0=4;)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++o;switch(n){case 3:r^=(255&e.charCodeAt(o+2))<<16;case 2:r^=(255&e.charCodeAt(o+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(o)))+((1540483477*(r>>>16)&65535)<<16)}return r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16),((r^=r>>>15)>>>0).toString(36)},Ge={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},qe=/[A-Z]|^ms/g,Ye=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ze=function(e){return 45===e.charCodeAt(1)},Xe=function(e){return null!=e&&"boolean"!=typeof e},Qe=Ie((function(e){return Ze(e)?e:e.replace(qe,"-$&").toLowerCase()})),Je=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Ye,(function(e,t,n){return tt={name:t,styles:n,next:tt},t}))}return 1===Ge[e]||Ze(e)||"number"!=typeof t||0===t?t:t+"px"};function et(e,t,n,r){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return tt={name:n.name,styles:n.styles,next:tt},n.name;if(void 0!==n.styles){var o=n.next;if(void 0!==o)for(;void 0!==o;)tt={name:o.name,styles:o.styles,next:tt},o=o.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?ft:ht};function bt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vt(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=gt()(e).toRgb(),r=n.r,o=n.g,a=n.b;return"rgba(".concat(r,", ").concat(o,", ").concat(a,", ").concat(t,")")}function Mt(e){return Object(D.get)(jt,e,"#000")}var Et={borderColor:Mt("lightGray.500"),borderRadius:"3px",backgroundShady:Mt("lightGray.200")},Pt=Et.borderColor,xt=Et.borderRadius,zt=Et.backgroundShady,It=mt("div",{target:"e1q7k77g0",label:"CardUI"})("background:",Mt("white"),";box-sizing:border-box;border-radius:",xt,";border:1px solid ",Pt,";",Ft,";&.is-elevated{box-shadow:0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12);}"),Tt=mt("div",{target:"e1q7k77g1",label:"HeaderUI"})("border-bottom:1px solid ",Pt,";border-top-left-radius:",xt,";border-top-right-radius:",xt,";box-sizing:border-box;&:last-child{border-bottom:none;}",Lt,";",Ft,";",Vt,";"),Nt=mt("div",{target:"e1q7k77g2",label:"MediaUI"})("box-sizing:border-box;overflow:hidden;& > img,& > iframe{display:block;height:auto;max-width:100%;width:100%;}&:first-of-type{border-top-left-radius:",xt,";border-top-right-radius:",xt,";}&:last-of-type{border-bottom-left-radius:",xt,";border-bottom-right-radius:",xt,";}"),At=mt("div",{target:"e1q7k77g3",label:"BodyUI"})("box-sizing:border-box;",(function(){return"\n\t\t&.is-size {\n\t\t\t&-large {\n\t\t\t\tpadding: 28px;\n\t\t\t}\n\t\t\t&-medium {\n\t\t\t\tpadding: 20px;\n\t\t\t}\n\t\t\t&-small {\n\t\t\t\tpadding: 12px;\n\t\t\t}\n\t\t\t&-extraSmall {\n\t\t\t\tpadding: 8px;\n\t\t\t}\n\t\t}\n\t"}),";",Vt,";"),Rt=mt("div",{target:"e1q7k77g4",label:"FooterUI"})("border-top:1px solid ",Pt,";border-bottom-left-radius:",xt,";border-bottom-right-radius:",xt,";box-sizing:border-box;&:first-of-type{border-top:none;}",Lt,";",Ft,";",Vt,";"),Ht=mt("hr",{target:"e1q7k77g5",label:"DividerUI"})("all:unset;border-top:1px solid ",Pt,";box-sizing:border-box;display:block;height:0;width:100%;");function Lt(){return"\n\t\t&.is-size {\n\t\t\t&-large {\n\t\t\t\tpadding: 20px 28px;\n\t\t\t}\n\t\t\t&-medium {\n\t\t\t\tpadding: 12px 20px;\n\t\t\t}\n\t\t\t&-small {\n\t\t\t\tpadding: 8px 12px;\n\t\t\t}\n\t\t\t&-extraSmall {\n\t\t\t\tpadding: 4px 8px;\n\t\t\t}\n\t\t}\n\t"}function Ft(){return"\n\t\t&.is-borderless {\n\t\t\tborder: none;\n\t\t}\n\t"}function Vt(){return"\n\t\t&.is-shady {\n\t\t\tbackground: ".concat(zt,";\n\t\t}\n\t")}function Bt(e){var t=e.className,n=e.isBorderless,r=e.isElevated,a=e.size,c=Object(o.a)(e,["className","isBorderless","isElevated","size"]),l=Me.Provider,u={isBorderless:n,isElevated:r,size:a},d=i()("components-card",n&&"is-borderless",r&&"is-elevated",a&&"is-size-".concat(a),t);return Object(s.createElement)(l,{value:u},Object(s.createElement)(It,Object(E.a)({},c,{className:d})))}Bt.defaultProps={isBorderless:!1,isElevated:!1,size:"medium"};var Kt=Bt,Wt={isShady:!1,size:"medium"};var Ut=function(e){var t=e.className,n=e.isShady,a=Object(o.a)(e,["className","isShady"]),c=Object(r.a)({},Wt,Ee(),e).size,l=i()("components-card__body",n&&"is-shady",c&&"is-size-".concat(c),t);return Object(s.createElement)(At,Object(E.a)({},a,{className:l}))};var $t=function(e){var t=e.className,n=Object(o.a)(e,["className"]),r=i()("components-card__divider",t);return Object(s.createElement)(Ht,Object(E.a)({},n,{children:null,className:r,role:"separator"}))},Gt={isBorderless:!1,isShady:!1,size:"medium"};var qt=function(e){var t=e.className,n=e.isShady,a=Object(o.a)(e,["className","isShady"]),c=Object(r.a)({},Gt,Ee(),e),l=c.isBorderless,u=c.size,d=i()("components-card__footer",l&&"is-borderless",n&&"is-shady",u&&"is-size-".concat(u),t);return Object(s.createElement)(Rt,Object(E.a)({},a,{className:d}))},Yt={isBorderless:!1,isShady:!1,size:"medium"};var Zt=function(e){var t=e.className,n=e.isShady,a=Object(o.a)(e,["className","isShady"]),c=Object(r.a)({},Yt,Ee(),e),l=c.isBorderless,u=c.size,d=i()("components-card__header",l&&"is-borderless",n&&"is-shady",u&&"is-size-".concat(u),t);return Object(s.createElement)(Tt,Object(E.a)({},a,{className:d}))};var Xt=function(e){var t=e.className,n=Object(o.a)(e,["className"]),r=i()("components-card__media",t);return Object(s.createElement)(Nt,Object(E.a)({},n,{className:r}))};function Qt(e){var t=e.label,n=e.className,r=e.heading,a=e.checked,i=e.help,c=e.onChange,l=Object(o.a)(e,["label","className","heading","checked","help","onChange"]),u=Object(C.useInstanceId)(Qt),d="inspector-checkbox-control-".concat(u);return Object(s.createElement)(je,{label:r,id:d,help:i,className:n},Object(s.createElement)("span",{className:"components-checkbox-control__input-container"},Object(s.createElement)("input",Object(E.a)({id:d,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:function(e){return c(e.target.checked)},checked:a,"aria-describedby":i?d+"__help":void 0},l)),a?Object(s.createElement)(ve,{icon:"yes",className:"components-checkbox-control__checked",role:"presentation"}):null),Object(s.createElement)("label",{className:"components-checkbox-control__label",htmlFor:d},t))}var Jt=n(223),en=n.n(Jt),tn=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).containerRef=Object(s.createRef)(),e.onCopy=e.onCopy.bind(Object(O.a)(e)),e.getText=e.getText.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentDidMount",value:function(){var e=this.getText,t=this.onCopy,n=this.containerRef.current;this.clipboard=new en.a(n.firstChild,{text:e,container:n}),this.clipboard.on("success",t)}},{key:"componentWillUnmount",value:function(){this.clipboard.destroy(),delete this.clipboard,clearTimeout(this.onCopyTimeout)}},{key:"onCopy",value:function(e){e.clearSelection();var t=this.props,n=t.onCopy,r=t.onFinishCopy;n&&(n(),r&&(clearTimeout(this.onCopyTimeout),this.onCopyTimeout=setTimeout(r,4e3)))}},{key:"getText",value:function(){var e=this.props.text;return"function"==typeof e&&(e=e()),e}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.children,r=(e.onCopy,e.onFinishCopy,e.text,Object(o.a)(e,["className","children","onCopy","onFinishCopy","text"])),a=i()("components-clipboard-button",t);return Object(s.createElement)("span",{ref:this.containerRef,onCopy:function(e){e.target.focus()}},Object(s.createElement)(ye,Object(E.a)({},r,{className:a}),n))}}]),t}(s.Component),nn=function(e){var t=e.className,n=e.colorValue,r=Object(o.a)(e,["className","colorValue"]);return Object(s.createElement)("span",Object(E.a)({className:i()("component-color-indicator",t),style:{background:n}},r))};function rn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.hex?gt()(e.hex):gt()(e),r=n.toHsl();r.h=Math.round(r.h),r.s=Math.round(100*r.s),r.l=Math.round(100*r.l);var o=n.toHsv();o.h=Math.round(o.h),o.s=Math.round(100*o.s),o.v=Math.round(100*o.v);var a=n.toRgb(),i=n.toHex();return 0===r.s&&(r.h=t||0,o.h=t||0),{color:n,hex:"000000"===i&&0===a.a?"transparent":"#".concat(i),hsl:r,hsv:o,oldHue:e.h||t||r.h,rgb:a,source:e.source}}function on(e,t){e.preventDefault();var n=t.getBoundingClientRect(),r=n.left,o=n.top,a=n.width,i=n.height,s="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,c="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=s-(r+window.pageXOffset),u=c-(o+window.pageYOffset);return l<0?l=0:l>a?l=a:u<0?u=0:u>i&&(u=i),{top:u,left:l,width:a,height:i}}function an(e){var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&>()(e).isValid()}function sn(e){var t=e.target,n=e.callback,r=e.shortcut,o=e.bindGlobal,a=e.eventName;return Object(C.useKeyboardShortcut)(r,n,{bindGlobal:o,target:t,eventName:a}),null}var cn=function(e){var t=e.children,n=e.shortcuts,r=e.bindGlobal,o=e.eventName,a=Object(s.useRef)(),i=Object(D.map)(n,(function(e,t){return Object(s.createElement)(sn,{key:t,shortcut:t,callback:e,bindGlobal:r,eventName:o,target:a})}));return s.Children.count(t)?Object(s.createElement)("div",{ref:a},i,t):i},ln=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).container=Object(s.createRef)(),e.increase=e.increase.bind(Object(O.a)(e)),e.decrease=e.decrease.bind(Object(O.a)(e)),e.handleChange=e.handleChange.bind(Object(O.a)(e)),e.handleMouseDown=e.handleMouseDown.bind(Object(O.a)(e)),e.handleMouseUp=e.handleMouseUp.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"increase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsl,r=t.onChange,o=void 0===r?D.noop:r;e=parseInt(100*e,10);var a={h:n.h,s:n.s,l:n.l,a:(parseInt(100*n.a,10)+e)/100,source:"rgb"};o(a)}},{key:"decrease",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsl,r=t.onChange,o=void 0===r?D.noop:r,a=parseInt(100*n.a,10)-parseInt(100*e,10),i={h:n.h,s:n.s,l:n.l,a:n.a<=e?0:a/100,source:"rgb"};o(i)}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?D.noop:t,r=function(e,t,n){var r=on(e,n),o=r.left,a=r.width,i=o<0?0:Math.round(100*o/a)/100;return t.hsl.a!==i?{h:t.hsl.h,s:t.hsl.s,l:t.hsl.l,a:i,source:"rgb"}:null}(e,this.props,this.container.current);r&&n(r,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){e.keyCode!==S.TAB&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.rgb,n="".concat(t.r,",").concat(t.g,",").concat(t.b),r={background:"linear-gradient(to right, rgba(".concat(n,", 0) 0%, rgba(").concat(n,", 1) 100%)")},o={left:"".concat(100*t.a,"%")},a={up:function(){return e.increase()},right:function(){return e.increase()},"shift+up":function(){return e.increase(.1)},"shift+right":function(){return e.increase(.1)},pageup:function(){return e.increase(.1)},end:function(){return e.increase(1)},down:function(){return e.decrease()},left:function(){return e.decrease()},"shift+down":function(){return e.decrease(.1)},"shift+left":function(){return e.decrease(.1)},pagedown:function(){return e.decrease(.1)},home:function(){return e.decrease(1)}};return Object(s.createElement)(cn,{shortcuts:a},Object(s.createElement)("div",{className:"components-color-picker__alpha"},Object(s.createElement)("div",{className:"components-color-picker__alpha-gradient",style:r}),Object(s.createElement)("div",{className:"components-color-picker__alpha-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(s.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"0","aria-valuenow":t.a,"aria-orientation":"horizontal","aria-label":Object(j.__)("Alpha value, from 0 (transparent) to 1 (fully opaque)."),className:"components-color-picker__alpha-pointer",style:o,onKeyDown:this.preventKeyEvents}))))}}]),t}(s.Component),un=Object(C.pure)(ln),dn=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).container=Object(s.createRef)(),e.increase=e.increase.bind(Object(O.a)(e)),e.decrease=e.decrease.bind(Object(O.a)(e)),e.handleChange=e.handleChange.bind(Object(O.a)(e)),e.handleMouseDown=e.handleMouseDown.bind(Object(O.a)(e)),e.handleMouseUp=e.handleMouseUp.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"increase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.props,n=t.hsl,r=t.onChange,o=void 0===r?D.noop:r,a={h:n.h+e>=359?359:n.h+e,s:n.s,l:n.l,a:n.a,source:"rgb"};o(a)}},{key:"decrease",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.props,n=t.hsl,r=t.onChange,o=void 0===r?D.noop:r,a={h:n.h<=e?0:n.h-e,s:n.s,l:n.l,a:n.a,source:"rgb"};o(a)}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?D.noop:t,r=function(e,t,n){var r=on(e,n),o=r.left,a=r.width,i=o>=a?359:360*(100*o/a)/100;return t.hsl.h!==i?{h:i,s:t.hsl.s,l:t.hsl.l,a:t.hsl.a,source:"rgb"}:null}(e,this.props,this.container.current);r&&n(r,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){e.keyCode!==S.TAB&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props,n=t.hsl,r=void 0===n?{}:n,o=t.instanceId,a={left:"".concat(100*r.h/360,"%")},i={up:function(){return e.increase()},right:function(){return e.increase()},"shift+up":function(){return e.increase(10)},"shift+right":function(){return e.increase(10)},pageup:function(){return e.increase(10)},end:function(){return e.increase(359)},down:function(){return e.decrease()},left:function(){return e.decrease()},"shift+down":function(){return e.decrease(10)},"shift+left":function(){return e.decrease(10)},pagedown:function(){return e.decrease(10)},home:function(){return e.decrease(359)}};return Object(s.createElement)(cn,{shortcuts:i},Object(s.createElement)("div",{className:"components-color-picker__hue"},Object(s.createElement)("div",{className:"components-color-picker__hue-gradient"}),Object(s.createElement)("div",{className:"components-color-picker__hue-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(s.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"359","aria-valuenow":r.h,"aria-orientation":"horizontal","aria-label":Object(j.__)("Hue value in degrees, from 0 to 359."),"aria-describedby":"components-color-picker__hue-description-".concat(o),className:"components-color-picker__hue-pointer",style:a,onKeyDown:this.preventKeyEvents}),Object(s.createElement)(De,{as:"p",id:"components-color-picker__hue-description-".concat(o)},Object(j.__)("Move the arrow left or right to change hue.")))))}}]),t}(s.Component),fn=Object(C.compose)(C.pure,C.withInstanceId)(dn);function hn(e){var t=e.label,n=e.hideLabelFromVision,r=e.value,a=e.help,i=e.className,c=e.onChange,l=e.type,u=void 0===l?"text":l,d=Object(o.a)(e,["label","hideLabelFromVision","value","help","className","onChange","type"]),f=Object(C.useInstanceId)(hn),h="inspector-text-control-".concat(f);return Object(s.createElement)(je,{label:t,hideLabelFromVision:n,id:h,help:a,className:i},Object(s.createElement)("input",Object(E.a)({className:"components-text-control__input",type:u,id:h,value:r,onChange:function(e){return c(e.target.value)},"aria-describedby":a?h+"__help":void 0},d)))}var pn=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).handleBlur=e.handleBlur.bind(Object(O.a)(e)),e.handleChange=e.handleChange.bind(Object(O.a)(e)),e.handleKeyDown=e.handleKeyDown.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"handleBlur",value:function(){var e=this.props,t=e.value,n=e.valueKey;(0,e.onChange)({source:e.source,state:"commit",value:t,valueKey:n})}},{key:"handleChange",value:function(e){var t=this.props,n=t.valueKey,r=t.onChange,o=t.source;e.length>4&&an(e)?r({source:o,state:"commit",value:e,valueKey:n}):r({source:o,state:"draft",value:e,valueKey:n})}},{key:"handleKeyDown",value:function(e){var t=e.keyCode;if(t===S.ENTER||t===S.UP||t===S.DOWN){var n=this.props,r=n.value,o=n.valueKey;(0,n.onChange)({source:n.source,state:"commit",value:r,valueKey:o})}}},{key:"render",value:function(){var e=this,t=this.props,n=t.label,r=t.value,a=Object(o.a)(t,["label","value"]);return Object(s.createElement)(hn,Object(E.a)({className:"components-color-picker__inputs-field",label:n,value:r,onChange:function(t){return e.handleChange(t)},onBlur:this.handleBlur,onKeyDown:this.handleKeyDown},Object(D.omit)(a,["onChange","valueKey","source"])))}}]),t}(s.Component),bn=Object(C.pure)(ye),vn=function(e){function t(e){var n,r=e.hsl;Object(m.a)(this,t),n=Object(y.a)(this,Object(g.a)(t).apply(this,arguments));var o=1===r.a?"hex":"rgb";return n.state={view:o},n.toggleViews=n.toggleViews.bind(Object(O.a)(n)),n.resetDraftValues=n.resetDraftValues.bind(Object(O.a)(n)),n.handleChange=n.handleChange.bind(Object(O.a)(n)),n.normalizeValue=n.normalizeValue.bind(Object(O.a)(n)),n}return Object(_.a)(t,e),Object(k.a)(t,[{key:"toggleViews",value:function(){"hex"===this.state.view?(this.setState({view:"rgb"},this.resetDraftValues),Object(ge.speak)(Object(j.__)("RGB mode active"))):"rgb"===this.state.view?(this.setState({view:"hsl"},this.resetDraftValues),Object(ge.speak)(Object(j.__)("Hue/saturation/lightness mode active"))):"hsl"===this.state.view&&(1===this.props.hsl.a?(this.setState({view:"hex"},this.resetDraftValues),Object(ge.speak)(Object(j.__)("Hex color mode active"))):(this.setState({view:"rgb"},this.resetDraftValues),Object(ge.speak)(Object(j.__)("RGB mode active"))))}},{key:"resetDraftValues",value:function(){return this.props.onChange({state:"reset"})}},{key:"normalizeValue",value:function(e,t){return"a"!==e?t:t<0?0:t>1?1:Math.round(100*t)/100}},{key:"handleChange",value:function(e){var t=e.source,n=e.state,r=e.value,o=e.valueKey;this.props.onChange({source:t,state:n,valueKey:o,value:this.normalizeValue(o,r)})}},{key:"renderFields",value:function(){var e=this.props.disableAlpha,t=void 0!==e&&e;return"hex"===this.state.view?Object(s.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(s.createElement)(pn,{source:this.state.view,label:Object(j.__)("Color value in hexadecimal"),valueKey:"hex",value:this.props.hex,onChange:this.handleChange})):"rgb"===this.state.view?Object(s.createElement)("fieldset",null,Object(s.createElement)(De,{as:"legend"},Object(j.__)("Color value in RGB")),Object(s.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(s.createElement)(pn,{source:this.state.view,label:"r",valueKey:"r",value:this.props.rgb.r,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(s.createElement)(pn,{source:this.state.view,label:"g",valueKey:"g",value:this.props.rgb.g,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(s.createElement)(pn,{source:this.state.view,label:"b",valueKey:"b",value:this.props.rgb.b,onChange:this.handleChange,type:"number",min:"0",max:"255"}),t?null:Object(s.createElement)(pn,{source:this.state.view,label:"a",valueKey:"a",value:this.props.rgb.a,onChange:this.handleChange,type:"number",min:"0",max:"1",step:"0.05"}))):"hsl"===this.state.view?Object(s.createElement)("fieldset",null,Object(s.createElement)(De,{as:"legend"},Object(j.__)("Color value in HSL")),Object(s.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(s.createElement)(pn,{source:this.state.view,label:"h",valueKey:"h",value:this.props.hsl.h,onChange:this.handleChange,type:"number",min:"0",max:"359"}),Object(s.createElement)(pn,{source:this.state.view,label:"s",valueKey:"s",value:this.props.hsl.s,onChange:this.handleChange,type:"number",min:"0",max:"100"}),Object(s.createElement)(pn,{source:this.state.view,label:"l",valueKey:"l",value:this.props.hsl.l,onChange:this.handleChange,type:"number",min:"0",max:"100"}),t?null:Object(s.createElement)(pn,{source:this.state.view,label:"a",valueKey:"a",value:this.props.hsl.a,onChange:this.handleChange,type:"number",min:"0",max:"1",step:"0.05"}))):void 0}},{key:"render",value:function(){return Object(s.createElement)("div",{className:"components-color-picker__inputs-wrapper"},this.renderFields(),Object(s.createElement)("div",{className:"components-color-picker__inputs-toggle"},Object(s.createElement)(bn,{icon:"arrow-down-alt2",label:Object(j.__)("Change color format"),onClick:this.toggleViews})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(s.Component),mn=function(e){function t(e){var n;return Object(m.a)(this,t),(n=Object(y.a)(this,Object(g.a)(t).call(this,e))).throttle=Object(D.throttle)((function(e,t,n){e(t,n)}),50),n.container=Object(s.createRef)(),n.saturate=n.saturate.bind(Object(O.a)(n)),n.brighten=n.brighten.bind(Object(O.a)(n)),n.handleChange=n.handleChange.bind(Object(O.a)(n)),n.handleMouseDown=n.handleMouseDown.bind(Object(O.a)(n)),n.handleMouseUp=n.handleMouseUp.bind(Object(O.a)(n)),n}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"saturate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsv,r=t.onChange,o=void 0===r?D.noop:r,a=Object(D.clamp)(n.s+Math.round(100*e),0,100),i={h:n.h,s:a,v:n.v,a:n.a,source:"rgb"};o(i)}},{key:"brighten",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsv,r=t.onChange,o=void 0===r?D.noop:r,a=Object(D.clamp)(n.v+Math.round(100*e),0,100),i={h:n.h,s:n.s,v:a,a:n.a,source:"rgb"};o(i)}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?D.noop:t,r=function(e,t,n){var r=on(e,n),o=r.top,a=r.left,i=r.width,s=r.height,c=a<0?0:100*a/i,l=o>=s?0:-100*o/s+100;return l<1&&(l=0),{h:t.hsl.h,s:c,v:l,a:t.hsl.a,source:"rgb"}}(e,this.props,this.container.current);this.throttle(n,r,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){e.keyCode!==S.TAB&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props,n=t.hsv,r=t.hsl,o=t.instanceId,a={top:"".concat(100-n.v,"%"),left:"".concat(n.s,"%")},i={up:function(){return e.brighten()},"shift+up":function(){return e.brighten(.1)},pageup:function(){return e.brighten(1)},down:function(){return e.brighten(-.01)},"shift+down":function(){return e.brighten(-.1)},pagedown:function(){return e.brighten(-1)},right:function(){return e.saturate()},"shift+right":function(){return e.saturate(.1)},end:function(){return e.saturate(1)},left:function(){return e.saturate(-.01)},"shift+left":function(){return e.saturate(-.1)},home:function(){return e.saturate(-1)}};return Object(s.createElement)(cn,{shortcuts:i},Object(s.createElement)("div",{style:{background:"hsl(".concat(r.h,",100%, 50%)")},className:"components-color-picker__saturation-color",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange,role:"application"},Object(s.createElement)("div",{className:"components-color-picker__saturation-white"}),Object(s.createElement)("div",{className:"components-color-picker__saturation-black"}),Object(s.createElement)(ye,{"aria-label":Object(j.__)("Choose a shade"),"aria-describedby":"color-picker-saturation-".concat(o),className:"components-color-picker__saturation-pointer",style:a,onKeyDown:this.preventKeyEvents}),Object(s.createElement)(De,{id:"color-picker-saturation-".concat(o)},Object(j.__)("Use your arrow keys to change the base color. Move up to lighten the color, down to darken, left to decrease saturation, and right to increase saturation."))))}}]),t}(s.Component),yn=Object(C.compose)(C.pure,C.withInstanceId)(mn),gn=function(e){return String(e).toLowerCase()},On=function(e){return e.hex?an(e.hex):(t=e,n=0,r=0,Object(D.each)(["r","g","b","a","h","s","l","v"],(function(e){t[e]&&(n+=1,isNaN(t[e])||(r+=1))})),n===r&&t);var t,n,r},kn=function(e,t){var n=t.source,o=t.valueKey,a=t.value;return"hex"===n?Object(p.a)({source:n},n,a):Object(r.a)({source:n},Object(r.a)({},e[n],Object(p.a)({},o,a)))},_n=function(e){function t(e){var n,o=e.color,a=void 0===o?"0071a1":o;Object(m.a)(this,t),n=Object(y.a)(this,Object(g.a)(t).apply(this,arguments));var i=rn(a);return n.state=Object(r.a)({},i,{draftHex:gn(i.hex),draftRgb:i.rgb,draftHsl:i.hsl}),n.commitValues=n.commitValues.bind(Object(O.a)(n)),n.setDraftValues=n.setDraftValues.bind(Object(O.a)(n)),n.resetDraftValues=n.resetDraftValues.bind(Object(O.a)(n)),n.handleInputChange=n.handleInputChange.bind(Object(O.a)(n)),n}return Object(_.a)(t,e),Object(k.a)(t,[{key:"commitValues",value:function(e){var t=this.props,n=t.oldHue,o=t.onChangeComplete,a=void 0===o?D.noop:o;if(On(e)){var i=rn(e,e.h||n);this.setState(Object(r.a)({},i,{draftHex:gn(i.hex),draftHsl:i.hsl,draftRgb:i.rgb}),Object(D.debounce)(Object(D.partial)(a,i),100))}}},{key:"resetDraftValues",value:function(){this.setState({draftHex:this.state.hex,draftHsl:this.state.hsl,draftRgb:this.state.rgb})}},{key:"setDraftValues",value:function(e){switch(e.source){case"hex":this.setState({draftHex:gn(e.hex)});break;case"rgb":this.setState({draftRgb:e});break;case"hsl":this.setState({draftHsl:e})}}},{key:"handleInputChange",value:function(e){switch(e.state){case"reset":this.resetDraftValues();break;case"commit":var t=kn(this.state,e);(function(e){return"hex"===e.source&&!e.hex||(!("hsl"!==e.source||e.h&&e.s&&e.l)||!("rgb"!==e.source||e.r&&e.g&&e.b||e.h&&e.s&&e.v&&e.a||e.h&&e.s&&e.l&&e.a))})(t)||this.commitValues(t);break;case"draft":this.setDraftValues(kn(this.state,e))}}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.disableAlpha,r=this.state,o=r.color,a=r.hsl,c=r.hsv,l=r.rgb,u=r.draftHex,d=r.draftHsl,f=r.draftRgb,h=i()(t,{"components-color-picker":!0,"is-alpha-disabled":n,"is-alpha-enabled":!n});return Object(s.createElement)("div",{className:h},Object(s.createElement)("div",{className:"components-color-picker__saturation"},Object(s.createElement)(yn,{hsl:a,hsv:c,onChange:this.commitValues})),Object(s.createElement)("div",{className:"components-color-picker__body"},Object(s.createElement)("div",{className:"components-color-picker__controls"},Object(s.createElement)("div",{className:"components-color-picker__swatch"},Object(s.createElement)("div",{className:"components-color-picker__active",style:{backgroundColor:o&&o.toRgbString()}})),Object(s.createElement)("div",{className:"components-color-picker__toggles"},Object(s.createElement)(fn,{hsl:a,onChange:this.commitValues}),n?null:Object(s.createElement)(un,{rgb:l,hsl:a,onChange:this.commitValues}))),Object(s.createElement)(vn,{rgb:f,hsl:d,hex:u,onChange:this.handleInputChange,disableAlpha:n})))}}]),t}(s.Component),wn=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).toggle=e.toggle.bind(Object(O.a)(e)),e.close=e.close.bind(Object(O.a)(e)),e.closeIfFocusOutside=e.closeIfFocusOutside.bind(Object(O.a)(e)),e.containerRef=Object(s.createRef)(),e.state={isOpen:!1},e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentWillUnmount",value:function(){var e=this.state.isOpen,t=this.props.onToggle;e&&t&&t(!1)}},{key:"componentDidUpdate",value:function(e,t){var n=this.state.isOpen,r=this.props.onToggle;t.isOpen!==n&&r&&r(n)}},{key:"toggle",value:function(){this.setState((function(e){return{isOpen:!e.isOpen}}))}},{key:"closeIfFocusOutside",value:function(){this.containerRef.current.contains(document.activeElement)||document.activeElement.closest('[role="dialog"]')||this.close()}},{key:"close",value:function(){this.props.onClose&&this.props.onClose(),this.setState({isOpen:!1})}},{key:"render",value:function(){var e=this.state.isOpen,t=this.props,n=t.renderContent,r=t.renderToggle,o=t.position,a=void 0===o?"bottom":o,c=t.className,l=t.contentClassName,u=t.expandOnMobile,d=t.headerTitle,f=t.focusOnMount,h=t.popoverProps,p={isOpen:e,onToggle:this.toggle,onClose:this.close};return Object(s.createElement)("div",{className:i()("components-dropdown",c),ref:this.containerRef},r(p),e&&Object(s.createElement)(fe,Object(E.a)({className:l,position:a,onClose:this.close,onFocusOutside:this.closeIfFocusOutside,expandOnMobile:u,headerTitle:d,focusOnMount:f},h),n(p)))}}]),t}(s.Component);function Dn(e){var t=e.actions,n=e.className,r=e.options,o=e.children;return Object(s.createElement)("div",{className:i()("components-circular-option-picker",n)},r,o,t&&Object(s.createElement)("div",{className:"components-circular-option-picker__custom-clear-wrapper"},t))}function Sn(e){var t=e.clearable,n=void 0===t||t,r=e.className,o=e.colors,a=e.disableCustomColors,i=void 0!==a&&a,c=e.onChange,l=e.value,u=Object(s.useCallback)((function(){return c(void 0)}),[c]),d=Object(s.useMemo)((function(){return Object(D.map)(o,(function(e){var t=e.color,n=e.name;return Object(s.createElement)(Dn.Option,{key:t,isSelected:l===t,tooltipText:n||Object(j.sprintf)(Object(j.__)("Color code: %s"),t),style:{color:t},onClick:l===t?u:function(){return c(t)},"aria-label":n?Object(j.sprintf)(Object(j.__)("Color: %s"),n):Object(j.sprintf)(Object(j.__)("Color code: %s"),t)})}))}),[o,l,c,u]),f=Object(s.useCallback)((function(){return Object(s.createElement)(_n,{color:l,onChangeComplete:function(e){return c(e.hex)},disableAlpha:!0})}),[l]);return Object(s.createElement)(Dn,{className:r,options:d,actions:Object(s.createElement)(s.Fragment,null,!i&&Object(s.createElement)(Dn.DropdownLinkAction,{dropdownProps:{renderContent:f,contentClassName:"components-color-palette__picker"},buttonProps:{"aria-label":Object(j.__)("Custom color picker")},linkText:Object(j.__)("Custom Color")}),!!n&&Object(s.createElement)(Dn.ButtonAction,{onClick:u},Object(j.__)("Clear")))})}Dn.Option=function(e){var t=e.className,n=e.isSelected,r=e.tooltipText,a=Object(o.a)(e,["className","isSelected","tooltipText"]),c=Object(s.createElement)(ye,Object(E.a)({isPressed:n,className:i()(t,"components-circular-option-picker__option")},a));return Object(s.createElement)("div",{className:"components-circular-option-picker__option-wrapper"},r?Object(s.createElement)(be,{text:r},c):c,n&&Object(s.createElement)(ve,{icon:"saved"}))},Dn.ButtonAction=function(e){var t=e.className,n=e.children,r=Object(o.a)(e,["className","children"]);return Object(s.createElement)(ye,Object(E.a)({className:i()("components-circular-option-picker__clear",t),isSmall:!0,isSecondary:!0},r),n)},Dn.DropdownLinkAction=function(e){var t=e.buttonProps,n=e.className,r=e.dropdownProps,o=e.linkText;return Object(s.createElement)(wn,Object(E.a)({className:i()("components-circular-option-picker__dropdown-link-action",n),renderToggle:function(e){var n=e.isOpen,r=e.onToggle;return Object(s.createElement)(ye,Object(E.a)({"aria-expanded":n,onClick:r,isLink:!0},t),o)}},r))};var jn=n(40);var Cn=n(28),Mn=n.n(Cn);n(145);function En(e){return null!=e&&"object"==typeof e&&1===e.nodeType}function Pn(e,t){return(!t||"hidden"!==e)&&("visible"!==e&&"clip"!==e)}function xn(e,t){if(e.clientHeightt||a>e&&i=t&&s>=n?a-e-r:i>t&&sn?i-t+o:0}var In=function(e,t){var n=t.scrollMode,r=t.block,o=t.inline,a=t.boundary,i=t.skipOverflowHiddenElements,s="function"==typeof a?a:function(e){return e!==a};if(!En(e))throw new TypeError("Invalid target");for(var c=document.scrollingElement||document.documentElement,l=[],u=e;En(u)&&s(u);){if((u=u.parentNode)===c){l.push(u);break}u===document.body&&xn(u)&&!xn(document.documentElement)||xn(u,i)&&l.push(u)}for(var d=window.visualViewport?visualViewport.width:innerWidth,f=window.visualViewport?visualViewport.height:innerHeight,h=window.scrollX||pageXOffset,p=window.scrollY||pageYOffset,b=e.getBoundingClientRect(),v=b.height,m=b.width,y=b.top,g=b.right,O=b.bottom,k=b.left,_="start"===r||"nearest"===r?y:"end"===r?O:y+v/2,w="center"===o?k+m/2:"end"===o?g:k,D=[],S=0;S=0&&k>=0&&O<=f&&g<=d&&y>=P&&O<=z&&k>=I&&g<=x)return D;var T=getComputedStyle(j),N=parseInt(T.borderLeftWidth,10),A=parseInt(T.borderTopWidth,10),R=parseInt(T.borderRightWidth,10),H=parseInt(T.borderBottomWidth,10),L=0,F=0,V="offsetWidth"in j?j.offsetWidth-j.clientWidth-N-R:0,B="offsetHeight"in j?j.offsetHeight-j.clientHeight-A-H:0;if(c===j)L="start"===r?_:"end"===r?_-f:"nearest"===r?zn(p,p+f,f,A,H,p+_,p+_+v,v):_-f/2,F="start"===o?w:"center"===o?w-d/2:"end"===o?w-d:zn(h,h+d,d,N,R,h+w,h+w+m,m),L=Math.max(0,L+p),F=Math.max(0,F+h);else{L="start"===r?_-P-A:"end"===r?_-z+H+B:"nearest"===r?zn(P,z,M,A,H+B,_,_+v,v):_-(P+M/2)+B/2,F="start"===o?w-I-N:"center"===o?w-(I+E/2)+V/2:"end"===o?w-x+R+V:zn(I,x,E,N,R+V,w,w+m,m);var K=j.scrollLeft,W=j.scrollTop;_+=W-(L=Math.max(0,Math.min(W+L,j.scrollHeight-M+B))),w+=K-(F=Math.max(0,Math.min(K+F,j.scrollWidth-E+V)))}D.push({el:j,top:L,left:F})}return D};function Tn(e,t){null!==e&&In(e,{boundary:t,block:"nearest",scrollMode:"if-needed"}).forEach((function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r}))}function Nn(e,t){var n;function r(){n&&clearTimeout(n)}function o(){for(var o=arguments.length,a=new Array(o),i=0;i1?n-1:0),o=1;o=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}var Ln=Nn((function(){Vn().textContent=""}),500);function Fn(e,t){var n=Vn(t);e&&(n.textContent=e,Ln())}function Vn(e){void 0===e&&(e=document);var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}function Bn(e,t,n,r){if(-1===t)return e>0?0:n-1;var o=t+e;return o<0?r?n-1:0:o>=n?r?0:n-1:o}function Kn(e,t,n,r){var o,a=n.map((function(e){return r(e).toLowerCase()})),i=t+1;return(o=a.slice(i).findIndex((function(t){return t.startsWith(e)})))>-1?o+i:a.slice(0,i).findIndex((function(t){return t.startsWith(e)}))}function Wn(e,t){return Object.keys(e).reduce((function(n,r){return n[r]=r in t?t[r]:e[r],n}),{})}function Un(e){return/^\S{1}$/.test(e)}function $n(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function Gn(e,t,n){Object.keys(t).forEach((function(r){!function(e,t,n,r){var o="on"+$n(e)+"Change";t[o]&&void 0!==r[e]&&r[e]!==n[e]&&t[o](r)}(r,e,t,n)})),e.onStateChange&&void 0!==n&&e.onStateChange(n)}var qn=0,Yn=function(){return++qn};function Zn(){var e=Object(ze.useState)(null),t=e[0],n=e[1];return Object(ze.useEffect)((function(){return n(Yn())}),[]),t}var Xn={highlightedIndex:-1,isOpen:!1,selectedItem:null};function Qn(e,t,n){var r=e.items,o=e.initialHighlightedIndex,a=e.defaultHighlightedIndex,i=t.selectedItem,s=t.highlightedIndex;return void 0!==o&&s>-1?o:void 0!==a?a:i?0===n?r.indexOf(i):Bn(n,r.indexOf(i),r.length,!1):0===n?-1:n<0?r.length-1:0}function Jn(e,t){var n="default"+$n(t);return n in e?e[n]:Xn[t]}function er(e,t){if(t in e)return e[t];var n="initial"+$n(t);return n in e?e[n]:Jn(e,t)}Mn.a.array.isRequired,Mn.a.func,Mn.a.func,Mn.a.func,Mn.a.bool,Mn.a.number,Mn.a.number,Mn.a.number,Mn.a.bool,Mn.a.bool,Mn.a.bool,Mn.a.any,Mn.a.any,Mn.a.any,Mn.a.string,Mn.a.string,Mn.a.string,Mn.a.func,Mn.a.string,Mn.a.func,Mn.a.func,Mn.a.func,Mn.a.func,Mn.a.func,Mn.a.shape({addEventListener:Mn.a.func,removeEventListener:Mn.a.func,document:Mn.a.shape({getElementById:Mn.a.func,activeElement:Mn.a.any,body:Mn.a.any})});var tr=0,nr=1,rr=2,or=3,ar=4,ir=5,sr=6,cr=7,lr=8,ur=9,dr=10,fr=11,hr=12,pr=13,br=14,vr=15,mr=16,yr=17,gr=18,Or=19,kr=20,_r=21,wr=Object.freeze({__proto__:null,MenuKeyDownArrowDown:tr,MenuKeyDownArrowUp:nr,MenuKeyDownEscape:rr,MenuKeyDownHome:or,MenuKeyDownEnd:ar,MenuKeyDownEnter:ir,MenuKeyDownCharacter:sr,MenuBlur:cr,MenuMouseLeave:lr,ItemMouseMove:ur,ItemClick:dr,ToggleButtonKeyDownCharacter:fr,ToggleButtonKeyDownArrowDown:hr,ToggleButtonKeyDownArrowUp:pr,ToggleButtonClick:br,FunctionToggleMenu:vr,FunctionOpenMenu:mr,FunctionCloseMenu:yr,FunctionSetHighlightedIndex:gr,FunctionSelectItem:Or,FunctionClearKeysSoFar:kr,FunctionReset:_r});function Dr(e,t){var n,r=t.type,o=t.props,a=t.shiftKey;switch(r){case ur:n={highlightedIndex:t.index};break;case dr:n={isOpen:Jn(o,"isOpen"),highlightedIndex:Jn(o,"highlightedIndex"),selectedItem:o.items[t.index]};break;case cr:n={isOpen:!1,highlightedIndex:-1};break;case tr:n={highlightedIndex:Bn(a?5:1,e.highlightedIndex,o.items.length,o.circularNavigation)};break;case nr:n={highlightedIndex:Bn(a?-5:-1,e.highlightedIndex,o.items.length,o.circularNavigation)};break;case or:n={highlightedIndex:0};break;case ar:n={highlightedIndex:o.items.length-1};break;case rr:n={isOpen:!1,highlightedIndex:-1};break;case ir:n=Object(E.a)({isOpen:Jn(o,"isOpen"),highlightedIndex:Jn(o,"highlightedIndex")},e.highlightedIndex>=0&&{selectedItem:o.items[e.highlightedIndex]});break;case sr:var i=t.key,s=""+e.keysSoFar+i,c=Kn(s,e.highlightedIndex,o.items,o.itemToString);n=Object(E.a)({keysSoFar:s},c>=0&&{highlightedIndex:c});break;case lr:n={highlightedIndex:-1};break;case fr:var l=t.key,u=""+e.keysSoFar+l,d=Kn(u,e.selectedItem?o.items.indexOf(e.selectedItem):-1,o.items,o.itemToString);n=Object(E.a)({keysSoFar:u},d>=0&&{selectedItem:o.items[d]});break;case hr:n={isOpen:!0,highlightedIndex:Qn(o,e,1)};break;case pr:n={isOpen:!0,highlightedIndex:Qn(o,e,-1)};break;case br:case vr:n={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:Qn(o,e,0)};break;case mr:n={isOpen:!0,highlightedIndex:Qn(o,e,0)};break;case yr:n={isOpen:!1};break;case gr:n={highlightedIndex:t.highlightedIndex};break;case Or:n={selectedItem:t.selectedItem};break;case kr:n={keysSoFar:""};break;case _r:n={highlightedIndex:Jn(o,"highlightedIndex"),isOpen:Jn(o,"isOpen"),selectedItem:Jn(o,"selectedItem")};break;default:throw new Error("Reducer called without proper action type.")}return Object(E.a)({},e,{},n)}var Sr={itemToString:function(e){return e?String(e):""},stateReducer:function(e,t){return t.changes},getA11yStatusMessage:function(e){var t=e.isOpen,n=e.items;if(!n)return"";var r=n.length;return t?0===r?"No results are available":r+" result"+(1===r?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":""},getA11ySelectionMessage:function(e){var t=e.selectedItem;return(0,e.itemToString)(t)+" has been selected."},scrollIntoView:Tn,environment:"undefined"==typeof window?{}:window};function jr(e){void 0===e&&(e={});var t=Object(E.a)({},Sr,{},e),n=t.items,r=t.itemToString,o=t.getA11yStatusMessage,a=t.getA11ySelectionMessage,i=t.initialIsOpen,s=t.defaultIsOpen,c=t.scrollIntoView,l=t.environment,u=function(e,t,n){var r=Object(ze.useCallback)((function(t,n){t=Wn(t,n.props);var r=n.props.stateReducer,o=e(t,n),a=r(t,Object(E.a)({},n,{changes:o}));return Gn(n.props,t,a),a}),[e]),o=Object(ze.useReducer)(r,t),a=o[0],i=o[1];return[Wn(a,n),i]}(Dr,function(e){var t=er(e,"selectedItem"),n=er(e,"highlightedIndex"),r=er(e,"isOpen");return{highlightedIndex:n<0&&t?e.items.indexOf(t):n,isOpen:r,selectedItem:t,keysSoFar:""}}(t),t),d=u[0],f=d.isOpen,h=d.highlightedIndex,p=d.selectedItem,b=d.keysSoFar,v=u[1],m=function(e){return v(Object(E.a)({props:t},e))},y=function(e,t){var n=void 0===t?{}:t,r=n.id,o=n.labelId,a=n.menuId,i=n.getItemId,s=n.toggleButtonId,c=void 0===r?"downshift-"+e():r;return{labelId:o||c+"-label",menuId:a||c+"-menu",getItemId:i||function(e){return c+"-item-"+e},toggleButtonId:s||c+"-toggle-button"}}(Zn,t),g=y.labelId,O=y.getItemId,k=y.menuId,_=y.toggleButtonId,w=Object(ze.useRef)(null),D=Object(ze.useRef)(null),S=Object(ze.useRef)();S.current=[];var j=Object(ze.useRef)(!0),C=Object(ze.useRef)(!0),M=Object(ze.useRef)(null);Object(ze.useEffect)((function(){j.current||Fn(o({isOpen:f,items:n,selectedItem:p,itemToString:r}),l.document)}),[f]),Object(ze.useEffect)((function(){j.current||Fn(a({isOpen:f,items:n,selectedItem:p,itemToString:r}),l.document)}),[p]),Object(ze.useEffect)((function(){j.current&&(M.current=Nn((function(){m({type:kr})}),500)),b&&M.current()}),[b]),Object(ze.useEffect)((function(){j.current?(i||s||f)&&D.current.focus():f?D.current.focus():l.document.activeElement===D.current&&w.current.focus()}),[f]),Object(ze.useEffect)((function(){h<0||!f||!S.current.length||(!1===C.current?C.current=!0:c(S.current[h],D.current))}),[h]),Object(ze.useEffect)((function(){j.current=!1}),[]);var P={ArrowDown:function(e){e.preventDefault(),m({type:tr,shiftKey:e.shiftKey})},ArrowUp:function(e){e.preventDefault(),m({type:nr,shiftKey:e.shiftKey})},Home:function(e){e.preventDefault(),m({type:or})},End:function(e){e.preventDefault(),m({type:ar})},Escape:function(){m({type:rr})},Enter:function(e){e.preventDefault(),m({type:ir})},Tab:function(e){e.shiftKey&&m({type:cr})}},x={ArrowDown:function(e){e.preventDefault(),m({type:hr})},ArrowUp:function(e){e.preventDefault(),m({type:pr})}},z=function(e){var t=Hn(e);t&&P[t]?P[t](e):Un(t)&&m({type:sr,key:t})},I=function(e){(function(e,t){return e.relatedTarget===t||e.nativeEvent&&(t===e.nativeEvent.explicitOriginalTarget||t.contains(e.nativeEvent.explicitOriginalTarget))})(e,w.current)||m({type:cr})},T=function(){m({type:lr})},N=function(){m({type:br})},A=function(e){var t=Hn(e);t&&x[t]?x[t](e):Un(t)&&m({type:fr,key:t})};return{getToggleButtonProps:function(e){var t,n=void 0===e?{}:e,r=n.onClick,o=n.onKeyDown,a=n.refKey,i=void 0===a?"ref":a,s=n.ref,c=Object(jn.a)(n,["onClick","onKeyDown","refKey","ref"]),l=Object(E.a)(((t={})[i]=Rn(s,(function(e){w.current=e})),t.id=_,t["aria-haspopup"]="listbox",t["aria-expanded"]=f,t["aria-labelledby"]=g+" "+_,t),c);return c.disabled||(l.onClick=An(r,N),l.onKeyDown=An(o,A)),l},getLabelProps:function(e){return Object(E.a)({id:g,htmlFor:_},e)},getMenuProps:function(e){var t,n=void 0===e?{}:e,r=n.onKeyDown,o=n.onBlur,a=n.onMouseLeave,i=n.refKey,s=void 0===i?"ref":i,c=n.ref,l=Object(jn.a)(n,["onKeyDown","onBlur","onMouseLeave","refKey","ref"]);return Object(E.a)(((t={})[s]=Rn(c,(function(e){D.current=e})),t.id=k,t.role="listbox",t["aria-labelledby"]=g,t.tabIndex=-1,t),h>-1&&{"aria-activedescendant":O(h)},{onKeyDown:An(r,z),onBlur:An(o,I),onMouseLeave:An(a,T)},l)},getItemProps:function(e){var t,r=void 0===e?{}:e,o=r.item,a=r.index,i=r.refKey,s=void 0===i?"ref":i,c=r.ref,l=r.onMouseMove,u=r.onClick,d=Object(jn.a)(r,["item","index","refKey","ref","onMouseMove","onClick"]),f=function(e,t,n){return void 0!==e?e:0===n.length?-1:n.indexOf(t)}(a,o,n);if(f<0)throw new Error("Pass either item or item index in getItemProps!");var p=Object(E.a)(((t={})[s]=Rn(c,(function(e){e&&S.current.push(e)})),t.role="option",t),f===h&&{"aria-selected":!0},{id:O(f)},d);return d.disabled||(p.onMouseMove=An(l,(function(){return function(e){e!==h&&(C.current=!1,m({type:ur,index:e}))}(f)})),p.onClick=An(u,(function(){return function(e){m({type:dr,index:e})}(f)}))),p},toggleMenu:function(){m({type:vr})},openMenu:function(){m({type:mr})},closeMenu:function(){m({type:yr})},setHighlightedIndex:function(e){m({type:gr,highlightedIndex:e})},selectItem:function(e){m({type:Or,selectedItem:e})},reset:function(){m({type:_r})},highlightedIndex:h,isOpen:f,selectedItem:p}}jr.stateChangeTypes=wr;var Cr=function(e){return e&&e.name},Mr=function(e,t){var n=e.selectedItem,r=t.type,o=t.changes,a=t.props.items;switch(r){case jr.stateChangeTypes.ToggleButtonKeyDownArrowDown:return{selectedItem:a[n?Math.min(a.indexOf(n)+1,a.length-1):0]};case jr.stateChangeTypes.ToggleButtonKeyDownArrowUp:return{selectedItem:a[n?Math.max(a.indexOf(n)-1,0):a.length-1]};default:return o}};function Er(e){var t=e.className,n=e.hideLabelFromVision,r=e.label,o=e.options,a=e.onChange,c=e.value,l=jr({initialSelectedItem:o[0],items:o,itemToString:Cr,onSelectedItemChange:a,selectedItem:c,stateReducer:Mr}),u=l.getLabelProps,d=l.getToggleButtonProps,f=l.getMenuProps,h=l.getItemProps,p=l.isOpen,b=l.highlightedIndex,v=l.selectedItem,m=f({className:"components-custom-select-control__menu"});return m["aria-activedescendant"]&&"downshift-null"===m["aria-activedescendant"].slice(0,"downshift-null".length)&&delete m["aria-activedescendant"],Object(s.createElement)("div",{className:i()("components-custom-select-control",t)},Object(s.createElement)("label",u({className:i()("components-custom-select-control__label",{"screen-reader-text":n})}),r),Object(s.createElement)(ye,d({"aria-label":r,"aria-labelledby":void 0,className:"components-custom-select-control__button"}),Cr(v),Object(s.createElement)(ve,{icon:"arrow-down-alt2",className:"components-custom-select-control__button-icon"})),Object(s.createElement)("ul",m,p&&o.map((function(e,t){return Object(s.createElement)("li",h({item:e,index:t,key:e.key,className:i()("components-custom-select-control__item",{"is-highlighted":t===b}),style:e.style}),e===v&&Object(s.createElement)(ve,{icon:"saved",className:"components-custom-select-control__item-icon"}),e.name)}))))}n(237);var Pr=n(30),xr=n.n(Pr),zr=n(224),Ir=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).onChangeMoment=e.onChangeMoment.bind(Object(O.a)(e)),e.nodeRef=Object(s.createRef)(),e.keepFocusInside=e.keepFocusInside.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"keepFocusInside",value:function(){if(this.nodeRef.current&&(!document.activeElement||!this.nodeRef.current.contains(document.activeElement))){var e=this.nodeRef.current.querySelector(".DayPicker_focusRegion");if(!e)return;e.focus()}}},{key:"onChangeMoment",value:function(e){var t=this.props,n=t.currentDate,r=t.onChange,o=n?xr()(n):xr()(),a={hours:o.hours(),minutes:o.minutes(),seconds:0};r(e.set(a).format("YYYY-MM-DDTHH:mm:ss"))}},{key:"getMomentDate",value:function(e){return null===e?null:e?xr()(e):xr()()}},{key:"render",value:function(){var e=this.props,t=e.currentDate,n=e.isInvalidDate,r=this.getMomentDate(t);return Object(s.createElement)("div",{className:"components-datetime__date",ref:this.nodeRef},Object(s.createElement)(zr.DayPickerSingleDateController,{date:r,daySize:30,focused:!0,hideKeyboardShortcutsPanel:!0,key:"datepicker-controller-".concat(r?r.format("MM-YYYY"):"null"),noBorder:!0,numberOfMonths:1,onDateChange:this.onChangeMoment,transitionDuration:0,weekDayFormat:"ddd",isRTL:"rtl"===document.documentElement.dir,isOutsideRange:function(e){return n&&n(e.toDate())},onPrevMonthClick:this.keepFocusInside,onNextMonthClick:this.keepFocusInside}))}}]),t}(s.Component),Tr=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).state={day:"",month:"",year:"",hours:"",minutes:"",am:!0,date:null},e.changeDate=e.changeDate.bind(Object(O.a)(e)),e.updateMonth=e.updateMonth.bind(Object(O.a)(e)),e.onChangeMonth=e.onChangeMonth.bind(Object(O.a)(e)),e.updateDay=e.updateDay.bind(Object(O.a)(e)),e.onChangeDay=e.onChangeDay.bind(Object(O.a)(e)),e.updateYear=e.updateYear.bind(Object(O.a)(e)),e.onChangeYear=e.onChangeYear.bind(Object(O.a)(e)),e.updateHours=e.updateHours.bind(Object(O.a)(e)),e.updateMinutes=e.updateMinutes.bind(Object(O.a)(e)),e.onChangeHours=e.onChangeHours.bind(Object(O.a)(e)),e.onChangeMinutes=e.onChangeMinutes.bind(Object(O.a)(e)),e.renderMonth=e.renderMonth.bind(Object(O.a)(e)),e.renderDay=e.renderDay.bind(Object(O.a)(e)),e.renderDayMonthFormat=e.renderDayMonthFormat.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentDidMount",value:function(){this.syncState(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.currentTime,r=t.is12Hour;n===e.currentTime&&r===e.is12Hour||this.syncState(this.props)}},{key:"changeDate",value:function(e){var t=e.clone().startOf("minute");this.setState({date:t}),this.props.onChange(e.format("YYYY-MM-DDTHH:mm:ss"))}},{key:"getMaxHours",value:function(){return this.props.is12Hour?12:23}},{key:"getMinHours",value:function(){return this.props.is12Hour?1:0}},{key:"syncState",value:function(e){var t=e.currentTime,n=e.is12Hour,r=t?xr()(t):xr()(),o=r.format("DD"),a=r.format("MM"),i=r.format("YYYY"),s=r.format("mm"),c=r.format("A"),l=r.format(n?"hh":"HH"),u=t?xr()(t):xr()();this.setState({day:o,month:a,year:i,minutes:s,hours:l,am:c,date:u})}},{key:"updateHours",value:function(){var e=this.props.is12Hour,t=this.state,n=t.am,r=t.hours,o=t.date,a=parseInt(r,10);if(!Object(D.isInteger)(a)||e&&(a<1||a>12)||!e&&(a<0||a>23))this.syncState(this.props);else{var i=e?o.clone().hours("AM"===n?a%12:(a%12+12)%24):o.clone().hours(a);this.changeDate(i)}}},{key:"updateMinutes",value:function(){var e=this.state,t=e.minutes,n=e.date,r=parseInt(t,10);if(!Object(D.isInteger)(r)||r<0||r>59)this.syncState(this.props);else{var o=n.clone().minutes(r);this.changeDate(o)}}},{key:"updateDay",value:function(){var e=this.state,t=e.day,n=e.date,r=parseInt(t,10);if(!Object(D.isInteger)(r)||r<1||r>31)this.syncState(this.props);else{var o=n.clone().date(r);this.changeDate(o)}}},{key:"updateMonth",value:function(){var e=this.state,t=e.month,n=e.date,r=parseInt(t,10);if(!Object(D.isInteger)(r)||r<1||r>12)this.syncState(this.props);else{var o=n.clone().month(r-1);this.changeDate(o)}}},{key:"updateYear",value:function(){var e=this.state,t=e.year,n=e.date,r=parseInt(t,10);if(!Object(D.isInteger)(r)||r<0||r>9999)this.syncState(this.props);else{var o=n.clone().year(r);this.changeDate(o)}}},{key:"updateAmPm",value:function(e){var t=this;return function(){var n,r=t.state,o=r.am,a=r.date,i=r.hours;o!==e&&(n="PM"===e?a.clone().hours((parseInt(i,10)%12+12)%24):a.clone().hours(parseInt(i,10)%12),t.changeDate(n))}}},{key:"onChangeDay",value:function(e){this.setState({day:e.target.value})}},{key:"onChangeMonth",value:function(e){this.setState({month:e.target.value})}},{key:"onChangeYear",value:function(e){this.setState({year:e.target.value})}},{key:"onChangeHours",value:function(e){this.setState({hours:e.target.value})}},{key:"onChangeMinutes",value:function(e){var t=e.target.value;this.setState({minutes:""===t?"":("0"+t).slice(-2)})}},{key:"renderMonth",value:function(e){return Object(s.createElement)("div",{key:"render-month",className:"components-datetime__time-field components-datetime__time-field-month"},Object(s.createElement)("select",{"aria-label":Object(j.__)("Month"),className:"components-datetime__time-field-month-select",value:e,onChange:this.onChangeMonth,onBlur:this.updateMonth},Object(s.createElement)("option",{value:"01"},Object(j.__)("January")),Object(s.createElement)("option",{value:"02"},Object(j.__)("February")),Object(s.createElement)("option",{value:"03"},Object(j.__)("March")),Object(s.createElement)("option",{value:"04"},Object(j.__)("April")),Object(s.createElement)("option",{value:"05"},Object(j.__)("May")),Object(s.createElement)("option",{value:"06"},Object(j.__)("June")),Object(s.createElement)("option",{value:"07"},Object(j.__)("July")),Object(s.createElement)("option",{value:"08"},Object(j.__)("August")),Object(s.createElement)("option",{value:"09"},Object(j.__)("September")),Object(s.createElement)("option",{value:"10"},Object(j.__)("October")),Object(s.createElement)("option",{value:"11"},Object(j.__)("November")),Object(s.createElement)("option",{value:"12"},Object(j.__)("December"))))}},{key:"renderDay",value:function(e){return Object(s.createElement)("div",{key:"render-day",className:"components-datetime__time-field components-datetime__time-field-day"},Object(s.createElement)("input",{"aria-label":Object(j.__)("Day"),className:"components-datetime__time-field-day-input",type:"number",value:e,step:1,min:1,onChange:this.onChangeDay,onBlur:this.updateDay}))}},{key:"renderDayMonthFormat",value:function(e){var t=this.state,n=t.day,r=t.month,o=[this.renderDay(n),this.renderMonth(r)];return e?o:o.reverse()}},{key:"render",value:function(){var e=this.props.is12Hour,t=this.state,n=t.year,r=t.minutes,o=t.hours,a=t.am;return Object(s.createElement)("div",{className:i()("components-datetime__time")},Object(s.createElement)("fieldset",null,Object(s.createElement)("legend",{className:"components-datetime__time-legend invisible"},Object(j.__)("Date")),Object(s.createElement)("div",{className:"components-datetime__time-wrapper"},this.renderDayMonthFormat(e),Object(s.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-year"},Object(s.createElement)("input",{"aria-label":Object(j.__)("Year"),className:"components-datetime__time-field-year-input",type:"number",step:1,value:n,onChange:this.onChangeYear,onBlur:this.updateYear})))),Object(s.createElement)("fieldset",null,Object(s.createElement)("legend",{className:"components-datetime__time-legend invisible"},Object(j.__)("Time")),Object(s.createElement)("div",{className:"components-datetime__time-wrapper"},Object(s.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-time"},Object(s.createElement)("input",{"aria-label":Object(j.__)("Hours"),className:"components-datetime__time-field-hours-input",type:"number",step:1,min:this.getMinHours(),max:this.getMaxHours(),value:o,onChange:this.onChangeHours,onBlur:this.updateHours}),Object(s.createElement)("span",{className:"components-datetime__time-separator","aria-hidden":"true"},":"),Object(s.createElement)("input",{"aria-label":Object(j.__)("Minutes"),className:"components-datetime__time-field-minutes-input",type:"number",min:0,max:59,value:r,onChange:this.onChangeMinutes,onBlur:this.updateMinutes})),e&&Object(s.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-am-pm"},Object(s.createElement)(ye,{isSecondary:!0,className:"components-datetime__time-am-button",isPressed:"AM"===a,onClick:this.updateAmPm("AM")},Object(j.__)("AM")),Object(s.createElement)(ye,{isSecondary:!0,className:"components-datetime__time-pm-button",isPressed:"PM"===a,onClick:this.updateAmPm("PM")},Object(j.__)("PM"))))))}}]),t}(s.Component),Nr=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).state={calendarHelpIsVisible:!1},e.onClickDescriptionToggle=e.onClickDescriptionToggle.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"onClickDescriptionToggle",value:function(){this.setState({calendarHelpIsVisible:!this.state.calendarHelpIsVisible})}},{key:"render",value:function(){var e=this.props,t=e.currentDate,n=e.is12Hour,r=e.isInvalidDate,o=e.onChange;return Object(s.createElement)("div",{className:"components-datetime"},!this.state.calendarHelpIsVisible&&Object(s.createElement)(s.Fragment,null,Object(s.createElement)(Tr,{currentTime:t,onChange:o,is12Hour:n}),Object(s.createElement)(Ir,{currentDate:t,onChange:o,isInvalidDate:r})),this.state.calendarHelpIsVisible&&Object(s.createElement)(s.Fragment,null,Object(s.createElement)("div",{className:"components-datetime__calendar-help"},Object(s.createElement)("h4",null,Object(j.__)("Click to Select")),Object(s.createElement)("ul",null,Object(s.createElement)("li",null,Object(j.__)("Click the right or left arrows to select other months in the past or the future.")),Object(s.createElement)("li",null,Object(j.__)("Click the desired day to select it."))),Object(s.createElement)("h4",null,Object(j.__)("Navigating with a keyboard")),Object(s.createElement)("ul",null,Object(s.createElement)("li",null,Object(s.createElement)("abbr",{"aria-label":Object(j._x)("Enter","keyboard button")},"↵")," ",Object(s.createElement)("span",null,Object(j.__)("Select the date in focus."))),Object(s.createElement)("li",null,Object(s.createElement)("abbr",{"aria-label":Object(j.__)("Left and Right Arrows")},"←/→")," ",Object(j.__)("Move backward (left) or forward (right) by one day.")),Object(s.createElement)("li",null,Object(s.createElement)("abbr",{"aria-label":Object(j.__)("Up and Down Arrows")},"↑/↓")," ",Object(j.__)("Move backward (up) or forward (down) by one week.")),Object(s.createElement)("li",null,Object(s.createElement)("abbr",{"aria-label":Object(j.__)("Page Up and Page Down")},Object(j.__)("PgUp/PgDn"))," ",Object(j.__)("Move backward (PgUp) or forward (PgDn) by one month.")),Object(s.createElement)("li",null,Object(s.createElement)("abbr",{"aria-label":Object(j.__)("Home and End")},Object(j.__)("Home/End"))," ",Object(j.__)("Go to the first (home) or last (end) day of a week."))),Object(s.createElement)(ye,{isSmall:!0,onClick:this.onClickDescriptionToggle},Object(j.__)("Close")))),!this.state.calendarHelpIsVisible&&Object(s.createElement)(ye,{className:"components-datetime__date-help-button",isLink:!0,onClick:this.onClickDescriptionToggle},Object(j.__)("Calendar Help")))}}]),t}(s.Component);function Ar(e){var t=e.help,n=e.label,r=e.multiple,a=void 0!==r&&r,i=e.onChange,c=e.options,l=void 0===c?[]:c,u=e.className,d=e.hideLabelFromVision,f=Object(o.a)(e,["help","label","multiple","onChange","options","className","hideLabelFromVision"]),h=Object(C.useInstanceId)(Ar),p="inspector-select-control-".concat(h);return!Object(D.isEmpty)(l)&&Object(s.createElement)(je,{label:n,hideLabelFromVision:d,id:p,help:t,className:u},Object(s.createElement)("select",Object(E.a)({id:p,className:"components-select-control__input",onChange:function(e){if(a){var t=Object(w.a)(e.target.options).filter((function(e){return e.selected})).map((function(e){return e.value}));i(t)}else i(e.target.value)},"aria-describedby":t?"".concat(p,"__help"):void 0,multiple:a},f),l.map((function(e,t){return Object(s.createElement)("option",{key:"".concat(e.label,"-").concat(e.value,"-").concat(t),value:e.value,disabled:e.disabled},e.label)}))))}var Rr=function(e,t){return e.find((function(e){return t===e.slug}))},Hr=[{name:Object(j.__)("None"),slug:"none"},{name:Object(j.__)("Small"),slug:"small"},{name:Object(j.__)("Medium"),slug:"medium"},{name:Object(j.__)("Large"),slug:"large"},{name:Object(j.__)("Extra Large"),slug:"xlarge"}];var Lr=function(e){var t,n,r=e.label,o=e.value,a=e.sizes,c=void 0===a?Hr:a,l=e.icon,u=e.onChange,d=e.className,f=void 0===d?"":d,h=Object(s.createElement)(s.Fragment,null,l&&Object(s.createElement)(me,{icon:l}),r);return Object(s.createElement)(Ar,{className:i()(f,"block-editor-dimension-control"),label:h,hideLabelFromVision:!1,value:o,onChange:function(e){var t=Rr(c,e);t&&o!==t.slug?Object(D.isFunction)(u)&&u(t.slug):u(void 0)},options:(t=c,n=t.map((function(e){return{label:e.name,value:e.slug}})),[{label:Object(j.__)("Default"),value:""}].concat(n))})},Fr=Object(s.createContext)(!1),Vr=Fr.Consumer,Br=Fr.Provider,Kr=["BUTTON","FIELDSET","INPUT","OPTGROUP","OPTION","SELECT","TEXTAREA"],Wr=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).bindNode=e.bindNode.bind(Object(O.a)(e)),e.disable=e.disable.bind(Object(O.a)(e)),e.debouncedDisable=Object(D.debounce)(e.disable,{leading:!0}),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentDidMount",value:function(){this.disable(),this.observer=new window.MutationObserver(this.debouncedDisable),this.observer.observe(this.node,{childList:!0,attributes:!0,subtree:!0})}},{key:"componentWillUnmount",value:function(){this.observer.disconnect(),this.debouncedDisable.cancel()}},{key:"bindNode",value:function(e){this.node=e}},{key:"disable",value:function(){z.focus.focusable.find(this.node).forEach((function(e){Object(D.includes)(Kr,e.nodeName)&&e.setAttribute("disabled",""),e.hasAttribute("tabindex")&&e.removeAttribute("tabindex"),e.hasAttribute("contenteditable")&&e.setAttribute("contenteditable","false")}))}},{key:"render",value:function(){var e=this.props,t=e.className,n=Object(o.a)(e,["className"]);return Object(s.createElement)(Br,{value:!0},Object(s.createElement)("div",Object(E.a)({ref:this.bindNode,className:i()(t,"components-disabled")},n),this.props.children))}}]),t}(s.Component);Wr.Consumer=Vr;var Ur=Wr,$r=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).onDragStart=e.onDragStart.bind(Object(O.a)(e)),e.onDragOver=e.onDragOver.bind(Object(O.a)(e)),e.onDragEnd=e.onDragEnd.bind(Object(O.a)(e)),e.resetDragState=e.resetDragState.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentWillUnmount",value:function(){this.resetDragState()}},{key:"onDragEnd",value:function(e){var t=this.props.onDragEnd,n=void 0===t?D.noop:t;e.preventDefault(),this.resetDragState(),this.props.setTimeout(n)}},{key:"onDragOver",value:function(e){this.cloneWrapper.style.top="".concat(parseInt(this.cloneWrapper.style.top,10)+e.clientY-this.cursorTop,"px"),this.cloneWrapper.style.left="".concat(parseInt(this.cloneWrapper.style.left,10)+e.clientX-this.cursorLeft,"px"),this.cursorLeft=e.clientX,this.cursorTop=e.clientY}},{key:"onDragStart",value:function(e){var t=this.props,n=t.elementId,r=t.transferData,o=t.onDragStart,a=void 0===o?D.noop:o,i=document.getElementById(n);if(i){if("function"==typeof e.dataTransfer.setDragImage){var s=document.createElement("div");s.id="drag-image-".concat(n),s.classList.add("components-draggable__invisible-drag-image"),document.body.appendChild(s),e.dataTransfer.setDragImage(s,0,0),this.props.setTimeout((function(){document.body.removeChild(s)}))}e.dataTransfer.setData("text",JSON.stringify(r));var c=i.getBoundingClientRect(),l=i.parentNode,u=parseInt(c.top,10),d=parseInt(c.left,10),f=i.cloneNode(!0);f.id="clone-".concat(n),this.cloneWrapper=document.createElement("div"),this.cloneWrapper.classList.add("components-draggable__clone"),this.cloneWrapper.style.width="".concat(c.width+40,"px"),c.height>700?(this.cloneWrapper.style.transform="scale(0.5)",this.cloneWrapper.style.transformOrigin="top left",this.cloneWrapper.style.top="".concat(e.clientY-100,"px"),this.cloneWrapper.style.left="".concat(e.clientX,"px")):(this.cloneWrapper.style.top="".concat(u-20,"px"),this.cloneWrapper.style.left="".concat(d-20,"px")),Array.from(f.querySelectorAll("iframe")).forEach((function(e){return e.parentNode.removeChild(e)})),this.cloneWrapper.appendChild(f),l.appendChild(this.cloneWrapper),this.cursorLeft=e.clientX,this.cursorTop=e.clientY,document.body.classList.add("is-dragging-components-draggable"),document.addEventListener("dragover",this.onDragOver),this.props.setTimeout(a)}else e.preventDefault()}},{key:"resetDragState",value:function(){document.removeEventListener("dragover",this.onDragOver),this.cloneWrapper&&this.cloneWrapper.parentNode&&(this.cloneWrapper.parentNode.removeChild(this.cloneWrapper),this.cloneWrapper=null),document.body.classList.remove("is-dragging-components-draggable")}},{key:"render",value:function(){return(0,this.props.children)({onDraggableStart:this.onDragStart,onDraggableEnd:this.onDragEnd})}}]),t}(s.Component),Gr=Object(C.withSafeTimeout)($r),qr=n(46),Yr=n.n(qr),Zr=Object(s.createContext)({addDropZone:function(){},removeDropZone:function(){}}),Xr=Zr.Provider,Qr=Zr.Consumer,Jr=function(e){var t=e.dataTransfer;if(t){if(Object(D.includes)(t.types,"Files"))return"file";if(Object(D.includes)(t.types,"text/html"))return"html"}return"default"},eo=function(e,t){return"file"===e&&t.onFilesDrop||"html"===e&&t.onHTMLDrop||"default"===e&&t.onDrop},to=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).onDragOver=e.onDragOver.bind(Object(O.a)(e)),e.onDrop=e.onDrop.bind(Object(O.a)(e)),e.addDropZone=e.addDropZone.bind(Object(O.a)(e)),e.removeDropZone=e.removeDropZone.bind(Object(O.a)(e)),e.resetDragState=e.resetDragState.bind(Object(O.a)(e)),e.toggleDraggingOverDocument=Object(D.throttle)(e.toggleDraggingOverDocument.bind(Object(O.a)(e)),200),e.dropZones=[],e.dropZoneCallbacks={addDropZone:e.addDropZone,removeDropZone:e.removeDropZone},e.state={hoveredDropZone:-1,isDraggingOverDocument:!1,position:null},e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentDidMount",value:function(){window.addEventListener("dragover",this.onDragOver),window.addEventListener("mouseup",this.resetDragState)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragover",this.onDragOver),window.removeEventListener("mouseup",this.resetDragState)}},{key:"addDropZone",value:function(e){this.dropZones.push(e)}},{key:"removeDropZone",value:function(e){this.dropZones=Object(D.filter)(this.dropZones,(function(t){return t!==e}))}},{key:"resetDragState",value:function(){this.toggleDraggingOverDocument.cancel();var e=this.state,t=e.isDraggingOverDocument,n=e.hoveredDropZone;(t||-1!==n)&&(this.setState({hoveredDropZone:-1,isDraggingOverDocument:!1,position:null}),this.dropZones.forEach((function(e){return e.setState({isDraggingOverDocument:!1,isDraggingOverElement:!1,position:null,type:null})})))}},{key:"toggleDraggingOverDocument",value:function(e,t){var n=this,r=window.CustomEvent&&e instanceof window.CustomEvent?e.detail:e,o=Object(D.filter)(this.dropZones,(function(e){return eo(t,e)&&function(e,t,n){var r=e.getBoundingClientRect();return r.bottom!==r.top&&r.left!==r.right&&(t>=r.left&&t<=r.right&&n>=r.top&&n<=r.bottom)}(e.element,r.clientX,r.clientY)})),a=Object(D.find)(o,(function(e){return!Object(D.some)(o,(function(t){return t!==e&&e.element.parentElement.contains(t.element)}))})),i=this.dropZones.indexOf(a),s=null;if(a){var c=a.element.getBoundingClientRect();s={x:r.clientX-c.left-1&&e?{index:n,target:e,focusables:t}:null}},{key:"getFocusableIndex",value:function(e,t){var n=e.indexOf(t);if(-1!==n)return n}},{key:"onKeyDown",value:function(e){this.props.onKeyDown&&this.props.onKeyDown(e);var t=this.getFocusableContext,n=this.props,r=n.cycle,o=void 0===r||r,a=n.eventToOffset,i=n.onNavigate,s=void 0===i?D.noop:i,c=n.stopNavigationEvents,l=a(e);if(void 0!==l&&c&&(e.stopImmediatePropagation(),"menuitem"===e.target.getAttribute("role")&&e.preventDefault()),l){var u=t(document.activeElement);if(u){var d=u.index,f=u.focusables,h=o?function(e,t,n){var r=e+n;return r<0?t+r:r>=t?r-t:r}(d,f.length,l):d+l;h>=0&&h0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object(r.a)({},e,t);return t.className&&e.className&&(n.className=i()(t.className,e.className)),n}var lo=function(e){var t,n=e.children,r=e.className,o=e.controls,a=e.hasArrowIndicator,c=void 0!==a&&a,l=e.icon,u=void 0===l?"menu":l,d=e.label,f=e.popoverProps,h=e.toggleProps,p=e.menuProps,b=e.menuLabel,v=e.position;if(b&&x()("`menuLabel` prop in `DropdownComponent`",{alternative:"`menuProps` object and its `aria-label` property",plugin:"Gutenberg"}),v&&x()("`position` prop in `DropdownComponent`",{alternative:"`popoverProps` object and its `position` property",plugin:"Gutenberg"}),Object(D.isEmpty)(o)&&!Object(D.isFunction)(n))return null;Object(D.isEmpty)(o)||(t=o,Array.isArray(t[0])||(t=[t]));var m=co({className:"components-dropdown-menu__popover",position:v},f);return Object(s.createElement)(wn,{className:i()("components-dropdown-menu",r),popoverProps:m,renderToggle:function(e){var t=e.isOpen,n=e.onToggle,r=co({className:i()("components-dropdown-menu__toggle",{"is-opened":t})},h);return Object(s.createElement)(ye,Object(E.a)({},r,{icon:u,onClick:function(e){n(e),r.onClick&&r.onClick(e)},onKeyDown:function(e){!function(e){t||e.keyCode!==S.DOWN||(e.preventDefault(),e.stopPropagation(),n())}(e),r.onKeyDown&&r.onKeyDown(e)},"aria-haspopup":"true","aria-expanded":t,label:d,showTooltip:!0}),(!u||c)&&Object(s.createElement)("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(e){var r=co({"aria-label":b||d,className:"components-dropdown-menu__menu"},p);return Object(s.createElement)(so,Object(E.a)({},r,{role:"menu"}),Object(D.isFunction)(n)?n(e):null,Object(D.flatMap)(t,(function(t,n){return t.map((function(t,r){return Object(s.createElement)(ye,{key:[n,r].join(),onClick:function(n){n.stopPropagation(),e.onClose(),t.onClick&&t.onClick()},className:i()("components-dropdown-menu__menu-item",{"has-separator":n>0&&0===r,"is-active":t.isActive}),icon:t.icon,"aria-checked":"menuitemcheckbox"===t.role||"menuitemradio"===t.role?t.isActive:void 0,role:"menuitemcheckbox"===t.role||"menuitemradio"===t.role?t.role:"menuitem",disabled:t.isDisabled},t.title)}))})))}})};var uo=Object(s.forwardRef)((function(e,t){var n=e.href,r=e.children,a=e.className,c=e.rel,l=void 0===c?"":c,u=Object(o.a)(e,["href","children","className","rel"]);l=Object(D.uniq)(Object(D.compact)([].concat(Object(w.a)(l.split(" ")),["external","noreferrer","noopener"]))).join(" ");var d=i()("components-external-link",a);return(Object(s.createElement)("a",Object(E.a)({},u,{className:d,href:n,target:"_blank",rel:l,ref:t}),r,Object(s.createElement)(De,{as:"span"},Object(j.__)("(opens in a new tab)")),Object(s.createElement)(ve,{icon:"external",className:"components-external-link__icon"})))})),fo=function(e){function t(e){var n;return Object(m.a)(this,t),(n=Object(y.a)(this,Object(g.a)(t).call(this,e))).onMouseMove=n.onMouseMove.bind(Object(O.a)(n)),n.state={isDragging:!1,bounds:{},percentages:e.value},n.containerRef=Object(s.createRef)(),n.imageRef=Object(s.createRef)(),n.horizontalPositionChanged=n.horizontalPositionChanged.bind(Object(O.a)(n)),n.verticalPositionChanged=n.verticalPositionChanged.bind(Object(O.a)(n)),n.onLoad=n.onLoad.bind(Object(O.a)(n)),n}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentDidUpdate",value:function(e){e.url!==this.props.url&&this.setState({isDragging:!1})}},{key:"calculateBounds",value:function(){var e={top:0,left:0,bottom:0,right:0,width:0,height:0};if(!this.imageRef.current)return e;var t=this.imageRef.current.clientWidth,n=this.imageRef.current.clientHeight,r=this.pickerDimensions(),o=r.width/t,a=r.height/n;return a>=o?(e.width=e.right=r.width,e.height=n*o,e.top=(r.height-e.height)/2,e.bottom=e.top+e.height):(e.height=e.bottom=r.height,e.width=t*a,e.left=(r.width-e.width)/2,e.right=e.left+e.width),e}},{key:"onLoad",value:function(){this.setState({bounds:this.calculateBounds()})}},{key:"onMouseMove",value:function(e){var t=this.state,n=t.isDragging,r=t.bounds,o=this.props.onChange;if(n){var a=this.pickerDimensions(),i={left:e.pageX-a.left,top:e.pageY-a.top},s=Math.max(r.left,Math.min(i.left,r.right)),c=Math.max(r.top,Math.min(i.top,r.bottom)),l={x:((s-r.left)/(a.width-2*r.left)).toFixed(2),y:((c-r.top)/(a.height-2*r.top)).toFixed(2)};this.setState({percentages:l},(function(){o({x:this.state.percentages.x,y:this.state.percentages.y})}))}}},{key:"fractionToPercentage",value:function(e){return Math.round(100*e)}},{key:"horizontalPositionChanged",value:function(e){this.positionChangeFromTextControl("x",e.target.value)}},{key:"verticalPositionChanged",value:function(e){this.positionChangeFromTextControl("y",e.target.value)}},{key:"positionChangeFromTextControl",value:function(e,t){var n=this.props.onChange,r=this.state.percentages,o=Math.max(Math.min(parseInt(t),100),0);r[e]=(o?o/100:0).toFixed(2),this.setState({percentages:r},(function(){n({x:this.state.percentages.x,y:this.state.percentages.y})}))}},{key:"pickerDimensions",value:function(){return this.containerRef.current?{width:this.containerRef.current.clientWidth,height:this.containerRef.current.clientHeight,top:this.containerRef.current.getBoundingClientRect().top+document.body.scrollTop,left:this.containerRef.current.getBoundingClientRect().left}:{width:0,height:0,left:0,top:0}}},{key:"handleFocusOutside",value:function(){this.setState({isDragging:!1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.instanceId,r=t.url,o=t.value,a=t.label,c=t.help,l=t.className,d=this.state,f=d.bounds,p=d.isDragging,b=d.percentages,v=this.pickerDimensions(),m={left:o.x*(v.width-2*f.left)+f.left,top:o.y*(v.height-2*f.top)+f.top},y={left:"".concat(m.left,"px"),top:"".concat(m.top,"px")},g=i()("components-focal-point-picker__icon_container",p?"is-dragging":null),O="inspector-focal-point-picker-control-".concat(n),k="inspector-focal-point-picker-control-horizontal-position-".concat(n),_="inspector-focal-point-picker-control-vertical-position-".concat(n);return Object(s.createElement)(je,{label:a,id:O,help:c,className:l},Object(s.createElement)("div",{className:"components-focal-point-picker-wrapper"},Object(s.createElement)("div",{className:"components-focal-point-picker",onMouseDown:function(){return e.setState({isDragging:!0})},onDragStart:function(){return e.setState({isDragging:!0})},onMouseUp:function(){return e.setState({isDragging:!1})},onDrop:function(){return e.setState({isDragging:!1})},onMouseMove:this.onMouseMove,ref:this.containerRef,role:"button",tabIndex:"-1"},Object(s.createElement)("img",{alt:"Dimensions helper",onLoad:this.onLoad,ref:this.imageRef,src:r,draggable:"false"}),Object(s.createElement)("div",{className:g,style:y},Object(s.createElement)(h,{className:"components-focal-point-picker__icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},Object(s.createElement)(u,{className:"components-focal-point-picker__icon-outline",d:"M15 1C7.3 1 1 7.3 1 15s6.3 14 14 14 14-6.3 14-14S22.7 1 15 1zm0 22c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8z"}),Object(s.createElement)(u,{className:"components-focal-point-picker__icon-fill",d:"M15 3C8.4 3 3 8.4 3 15s5.4 12 12 12 12-5.4 12-12S21.6 3 15 3zm0 22C9.5 25 5 20.5 5 15S9.5 5 15 5s10 4.5 10 10-4.5 10-10 10z"}))))),Object(s.createElement)("div",{className:"components-focal-point-picker_position-display-container"},Object(s.createElement)(je,{label:Object(j.__)("Horizontal Pos."),id:k},Object(s.createElement)("input",{className:"components-text-control__input",id:k,max:100,min:0,onChange:this.horizontalPositionChanged,type:"number",value:this.fractionToPercentage(b.x)}),Object(s.createElement)("span",null,"%")),Object(s.createElement)(je,{label:Object(j.__)("Vertical Pos."),id:_},Object(s.createElement)("input",{className:"components-text-control__input",id:_,max:100,min:0,onChange:this.verticalPositionChanged,type:"number",value:this.fractionToPercentage(b.y)}),Object(s.createElement)("span",null,"%"))))}}]),t}(s.Component);fo.defaultProps={url:null,value:{x:.5,y:.5},onChange:function(){}};var ho=Object(C.compose)([C.withInstanceId,B])(fo),po=window.FocusEvent,bo=function(e){function t(e){var n;return Object(m.a)(this,t),(n=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).checkFocus=n.checkFocus.bind(Object(O.a)(n)),n.node=e.iframeRef||Object(s.createRef)(),n}return Object(_.a)(t,e),Object(k.a)(t,[{key:"checkFocus",value:function(){var e=this.node.current;if(document.activeElement===e){var t=new po("focus",{bubbles:!0});e.dispatchEvent(t);var n=this.props.onFocus;n&&n(t)}}},{key:"render",value:function(){return Object(s.createElement)("iframe",Object(E.a)({ref:this.node},Object(D.omit)(this.props,["iframeRef","onFocus"])))}}]),t}(s.Component),vo=Object(C.withGlobalEvents)({blur:"checkFocus"})(bo);var mo=Object(C.compose)([C.withInstanceId,Object(C.withState)({currentInput:null})])((function(e){var t=e.className,n=e.currentInput,r=e.label,a=e.value,c=e.instanceId,l=e.onChange,u=e.beforeIcon,d=e.afterIcon,f=e.help,h=e.allowReset,p=e.initialPosition,b=e.min,v=e.max,m=e.setState,y=Object(o.a)(e,["className","currentInput","label","value","instanceId","onChange","beforeIcon","afterIcon","help","allowReset","initialPosition","min","max","setState"]),g="inspector-range-control-".concat(c),O=null===n?a:n,k=function(){null!==n&&m({currentInput:null})},_=function(e){var t=e.target.value;e.target.checkValidity()?(k(),l(""===t?void 0:parseFloat(t))):m({currentInput:t})},w=Object(D.isFinite)(p)?p:"",S=Object(D.isFinite)(O)?O:w;return Object(s.createElement)(je,{label:r,id:g,help:f,className:i()("components-range-control",t)},u&&Object(s.createElement)(ve,{icon:u}),Object(s.createElement)("input",Object(E.a)({className:"components-range-control__slider",id:g,type:"range",value:S,onChange:_,"aria-describedby":f?g+"__help":void 0,min:b,max:v},y)),d&&Object(s.createElement)(ve,{icon:d}),Object(s.createElement)("input",Object(E.a)({className:"components-range-control__number",type:"number",onChange:_,"aria-label":r,value:O,min:b,max:v,onBlur:k},y)),h&&Object(s.createElement)(ye,{onClick:function(){k(),l()},disabled:void 0===a,isSmall:!0,isSecondary:!0,className:"components-range-control__reset"},Object(j.__)("Reset")))})),yo="default",go="custom";function Oo(e,t){if(t){var n=e.find((function(e){return e.size===Number(t)}));return n?n.slug:go}return yo}function ko(e){var t=e.fallbackFontSize,n=e.fontSizes,r=void 0===n?[]:n,o=e.disableCustomFontSizes,a=void 0!==o&&o,i=e.onChange,c=e.value,l=e.withSlider,u=void 0!==l&&l,d=Object(C.useInstanceId)(ko),f=Object(s.useState)(Oo(r,c)),h=Object(b.a)(f,2),p=h[0],v=h[1];if(a&&!r.length)return null;var m=function(e,t){v(e),e!==yo?t&&i(Number(t)):i(void 0)},y=function(e,t){return(e=[{slug:yo,name:Object(j.__)("Default")}].concat(Object(w.a)(e),Object(w.a)(t?[]:[{slug:go,name:Object(j.__)("Custom")}]))).map((function(e){return{key:e.slug,name:e.name,style:{fontSize:e.size}}}))}(r,a),g="components-range-control__number#".concat(d);return Object(s.createElement)("fieldset",{className:"components-font-size-picker"},Object(s.createElement)("legend",{className:"screen-reader-text"},Object(j.__)("Font Size")),Object(s.createElement)("div",{className:"components-font-size-picker__controls"},r.length>0&&Object(s.createElement)(Er,{className:"components-font-size-picker__select",label:Object(j.__)("Preset Size"),options:y,value:y.find((function(e){return e.key===p}))||y[0],onChange:function(e){var t=e.selectedItem,n=t.key,r=t.style&&t.style.fontSize;m(n,r)}}),!u&&!a&&Object(s.createElement)("div",{className:"components-range-control__number-container"},Object(s.createElement)("label",{htmlFor:g},Object(j.__)("Custom")),Object(s.createElement)("input",{id:g,className:"components-range-control__number",type:"number",onChange:function(e){var t=e.target.value,n=Oo(r,t);m(n,t)},"aria-label":Object(j.__)("Custom"),value:c||""})),Object(s.createElement)(ye,{className:"components-color-palette__clear",disabled:void 0===c,onClick:function(){m(yo)},isSmall:!0,isSecondary:!0},Object(j.__)("Reset"))),u&&Object(s.createElement)(mo,{className:"components-font-size-picker__custom-input",label:Object(j.__)("Custom Size"),value:c||"",initialPosition:t,onChange:function(e){var t=Oo(r,e);m(t,e)},min:12,max:100,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor"}))}var _o=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).openFileDialog=e.openFileDialog.bind(Object(O.a)(e)),e.bindInput=e.bindInput.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"openFileDialog",value:function(){this.input.click()}},{key:"bindInput",value:function(e){this.input=e}},{key:"render",value:function(){var e=this.props,t=e.accept,n=e.children,r=e.multiple,a=void 0!==r&&r,i=e.onChange,c=e.render,l=Object(o.a)(e,["accept","children","multiple","onChange","render"]),u=c?c({openFileDialog:this.openFileDialog}):Object(s.createElement)(ye,Object(E.a)({onClick:this.openFileDialog},l),n);return Object(s.createElement)("div",{className:"components-form-file-upload"},u,Object(s.createElement)("input",{type:"file",ref:this.bindInput,multiple:a,style:{display:"none"},accept:t,onChange:i}))}}]),t}(s.Component);var wo=function(e){var t=e.className,n=e.checked,r=e.id,a=e.onChange,c=void 0===a?D.noop:a,l=Object(o.a)(e,["className","checked","id","onChange"]),d=i()("components-form-toggle",t,{"is-checked":n});return Object(s.createElement)("span",{className:d},Object(s.createElement)("input",Object(E.a)({className:"components-form-toggle__input",id:r,type:"checkbox",checked:n,onChange:c},l)),Object(s.createElement)("span",{className:"components-form-toggle__track"}),Object(s.createElement)("span",{className:"components-form-toggle__thumb"}),n?Object(s.createElement)(h,{className:"components-form-toggle__on",width:"2",height:"6",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2 6"},Object(s.createElement)(u,{d:"M0 0h2v6H0z"})):Object(s.createElement)(h,{className:"components-form-toggle__off",width:"6",height:"6","aria-hidden":"true",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 6 6"},Object(s.createElement)(u,{d:"M3 1.5c.8 0 1.5.7 1.5 1.5S3.8 4.5 3 4.5 1.5 3.8 1.5 3 2.2 1.5 3 1.5M3 0C1.3 0 0 1.3 0 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3z"})))},Do=n(32);function So(e){var t=e.value,n=e.status,r=e.title,o=e.displayTransform,a=e.isBorderless,c=void 0!==a&&a,l=e.disabled,u=void 0!==l&&l,d=e.onClickRemove,f=void 0===d?D.noop:d,h=e.onMouseEnter,p=e.onMouseLeave,b=e.messages,v=e.termPosition,m=e.termsCount,y=Object(C.useInstanceId)(So),g=i()("components-form-token-field__token",{"is-error":"error"===n,"is-success":"success"===n,"is-validating":"validating"===n,"is-borderless":c,"is-disabled":u}),O=o(t),k=Object(j.sprintf)(Object(j.__)("%1$s (%2$s of %3$s)"),O,v,m);return Object(s.createElement)("span",{className:g,onMouseEnter:h,onMouseLeave:p,title:r},Object(s.createElement)("span",{className:"components-form-token-field__token-text",id:"components-form-token-field__token-text-".concat(y)},Object(s.createElement)(De,{as:"span"},k),Object(s.createElement)("span",{"aria-hidden":"true"},O)),Object(s.createElement)(ye,{className:"components-form-token-field__remove-token",icon:"dismiss",onClick:!u&&function(){return f({value:t})},label:b.remove,"aria-describedby":"components-form-token-field__token-text-".concat(y)}))}var jo=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(O.a)(e)),e.bindInput=e.bindInput.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"focus",value:function(){this.input.focus()}},{key:"hasFocus",value:function(){return this.input===document.activeElement}},{key:"bindInput",value:function(e){this.input=e}},{key:"onChange",value:function(e){this.props.onChange({value:e.target.value})}},{key:"render",value:function(){var e=this.props,t=e.value,n=e.isExpanded,r=e.instanceId,a=e.selectedSuggestionIndex,i=Object(o.a)(e,["value","isExpanded","instanceId","selectedSuggestionIndex"]),c=t.length+1;return Object(s.createElement)("input",Object(E.a)({ref:this.bindInput,id:"components-form-token-input-".concat(r),type:"text"},i,{value:t,onChange:this.onChange,size:c,className:"components-form-token-field__input",role:"combobox","aria-expanded":n,"aria-autocomplete":"list","aria-owns":n?"components-form-token-suggestions-".concat(r):void 0,"aria-activedescendant":-1!==a?"components-form-token-suggestions-".concat(r,"-").concat(a):void 0,"aria-describedby":"components-form-token-suggestions-howto-".concat(r)}))}}]),t}(s.Component),Co=n(69),Mo=n.n(Co),Eo=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).handleMouseDown=e.handleMouseDown.bind(Object(O.a)(e)),e.bindList=e.bindList.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentDidUpdate",value:function(){var e=this;this.props.selectedIndex>-1&&this.props.scrollIntoView&&(this.scrollingIntoView=!0,Mo()(this.list.children[this.props.selectedIndex],this.list,{onlyScrollIfNeeded:!0}),this.props.setTimeout((function(){e.scrollingIntoView=!1}),100))}},{key:"bindList",value:function(e){this.list=e}},{key:"handleHover",value:function(e){var t=this;return function(){t.scrollingIntoView||t.props.onHover(e)}}},{key:"handleClick",value:function(e){var t=this;return function(){t.props.onSelect(e)}}},{key:"handleMouseDown",value:function(e){e.preventDefault()}},{key:"computeSuggestionMatch",value:function(e){var t=this.props.displayTransform(this.props.match||"").toLocaleLowerCase();if(0===t.length)return null;var n=(e=this.props.displayTransform(e)).toLocaleLowerCase().indexOf(t);return{suggestionBeforeMatch:e.substring(0,n),suggestionMatch:e.substring(n,n+t.length),suggestionAfterMatch:e.substring(n+t.length)}}},{key:"render",value:function(){var e=this;return Object(s.createElement)("ul",{ref:this.bindList,className:"components-form-token-field__suggestions-list",id:"components-form-token-suggestions-".concat(this.props.instanceId),role:"listbox"},Object(D.map)(this.props.suggestions,(function(t,n){var r=e.computeSuggestionMatch(t),o=i()("components-form-token-field__suggestion",{"is-selected":n===e.props.selectedIndex});return Object(s.createElement)("li",{id:"components-form-token-suggestions-".concat(e.props.instanceId,"-").concat(n),role:"option",className:o,key:t,onMouseDown:e.handleMouseDown,onClick:e.handleClick(t),onMouseEnter:e.handleHover(t),"aria-selected":n===e.props.selectedIndex},r?Object(s.createElement)("span",{"aria-label":e.props.displayTransform(t)},r.suggestionBeforeMatch,Object(s.createElement)("strong",{className:"components-form-token-field__suggestion-match"},r.suggestionMatch),r.suggestionAfterMatch):e.props.displayTransform(t))})))}}]),t}(s.Component);Eo.defaultProps={match:"",onHover:function(){},onSelect:function(){},suggestions:Object.freeze([])};var Po=Object(C.withSafeTimeout)(Eo),xo={incompleteTokenValue:"",inputOffsetFromEnd:0,isActive:!1,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1},zo=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).state=xo,e.onKeyDown=e.onKeyDown.bind(Object(O.a)(e)),e.onKeyPress=e.onKeyPress.bind(Object(O.a)(e)),e.onFocus=e.onFocus.bind(Object(O.a)(e)),e.onBlur=e.onBlur.bind(Object(O.a)(e)),e.deleteTokenBeforeInput=e.deleteTokenBeforeInput.bind(Object(O.a)(e)),e.deleteTokenAfterInput=e.deleteTokenAfterInput.bind(Object(O.a)(e)),e.addCurrentToken=e.addCurrentToken.bind(Object(O.a)(e)),e.onContainerTouched=e.onContainerTouched.bind(Object(O.a)(e)),e.renderToken=e.renderToken.bind(Object(O.a)(e)),e.onTokenClickRemove=e.onTokenClickRemove.bind(Object(O.a)(e)),e.onSuggestionHovered=e.onSuggestionHovered.bind(Object(O.a)(e)),e.onSuggestionSelected=e.onSuggestionSelected.bind(Object(O.a)(e)),e.onInputChange=e.onInputChange.bind(Object(O.a)(e)),e.bindInput=e.bindInput.bind(Object(O.a)(e)),e.bindTokensAndInput=e.bindTokensAndInput.bind(Object(O.a)(e)),e.updateSuggestions=e.updateSuggestions.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentDidUpdate",value:function(e){this.state.isActive&&!this.input.hasFocus()&&this.input.focus();var t=this.props,n=t.suggestions,r=t.value,o=!Yr()(n,e.suggestions);(o||r!==e.value)&&this.updateSuggestions(o)}},{key:"bindInput",value:function(e){this.input=e}},{key:"bindTokensAndInput",value:function(e){this.tokensAndInput=e}},{key:"onFocus",value:function(e){this.input.hasFocus()||e.target===this.tokensAndInput?this.setState({isActive:!0}):this.setState({isActive:!1}),"function"==typeof this.props.onFocus&&this.props.onFocus(e)}},{key:"onBlur",value:function(){this.inputHasValidValue()?this.setState({isActive:!1}):this.setState(xo)}},{key:"onKeyDown",value:function(e){var t=!1;switch(e.keyCode){case S.BACKSPACE:t=this.handleDeleteKey(this.deleteTokenBeforeInput);break;case S.ENTER:t=this.addCurrentToken();break;case S.LEFT:t=this.handleLeftArrowKey();break;case S.UP:t=this.handleUpArrowKey();break;case S.RIGHT:t=this.handleRightArrowKey();break;case S.DOWN:t=this.handleDownArrowKey();break;case S.DELETE:t=this.handleDeleteKey(this.deleteTokenAfterInput);break;case S.SPACE:this.props.tokenizeOnSpace&&(t=this.addCurrentToken());break;case S.ESCAPE:t=this.handleEscapeKey(e),e.stopPropagation()}t&&e.preventDefault()}},{key:"onKeyPress",value:function(e){var t=!1;switch(e.charCode){case 44:t=this.handleCommaKey()}t&&e.preventDefault()}},{key:"onContainerTouched",value:function(e){e.target===this.tokensAndInput&&this.state.isActive&&e.preventDefault()}},{key:"onTokenClickRemove",value:function(e){this.deleteToken(e.value),this.input.focus()}},{key:"onSuggestionHovered",value:function(e){var t=this.getMatchingSuggestions().indexOf(e);t>=0&&this.setState({selectedSuggestionIndex:t,selectedSuggestionScroll:!1})}},{key:"onSuggestionSelected",value:function(e){this.addNewToken(e)}},{key:"onInputChange",value:function(e){var t=e.value,n=this.props.tokenizeOnSpace?/[ ,\t]+/:/[,\t]+/,r=t.split(n),o=Object(D.last)(r)||"";r.length>1&&this.addNewTokens(r.slice(0,-1)),this.setState({incompleteTokenValue:o},this.updateSuggestions),this.props.onInputChange(o)}},{key:"handleDeleteKey",value:function(e){var t=!1;return this.input.hasFocus()&&this.isInputEmpty()&&(e(),t=!0),t}},{key:"handleLeftArrowKey",value:function(){var e=!1;return this.isInputEmpty()&&(this.moveInputBeforePreviousToken(),e=!0),e}},{key:"handleRightArrowKey",value:function(){var e=!1;return this.isInputEmpty()&&(this.moveInputAfterNextToken(),e=!0),e}},{key:"handleUpArrowKey",value:function(){var e=this;return this.setState((function(t,n){return{selectedSuggestionIndex:(0===t.selectedSuggestionIndex?e.getMatchingSuggestions(t.incompleteTokenValue,n.suggestions,n.value,n.maxSuggestions,n.saveTransform).length:t.selectedSuggestionIndex)-1,selectedSuggestionScroll:!0}})),!0}},{key:"handleDownArrowKey",value:function(){var e=this;return this.setState((function(t,n){return{selectedSuggestionIndex:(t.selectedSuggestionIndex+1)%e.getMatchingSuggestions(t.incompleteTokenValue,n.suggestions,n.value,n.maxSuggestions,n.saveTransform).length,selectedSuggestionScroll:!0}})),!0}},{key:"handleEscapeKey",value:function(e){return this.setState({incompleteTokenValue:e.target.value,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1}),!0}},{key:"handleCommaKey",value:function(){return this.inputHasValidValue()&&this.addNewToken(this.state.incompleteTokenValue),!0}},{key:"moveInputToIndex",value:function(e){this.setState((function(t,n){return{inputOffsetFromEnd:n.value.length-Math.max(e,-1)-1}}))}},{key:"moveInputBeforePreviousToken",value:function(){this.setState((function(e,t){return{inputOffsetFromEnd:Math.min(e.inputOffsetFromEnd+1,t.value.length)}}))}},{key:"moveInputAfterNextToken",value:function(){this.setState((function(e){return{inputOffsetFromEnd:Math.max(e.inputOffsetFromEnd-1,0)}}))}},{key:"deleteTokenBeforeInput",value:function(){var e=this.getIndexOfInput()-1;e>-1&&this.deleteToken(this.props.value[e])}},{key:"deleteTokenAfterInput",value:function(){var e=this.getIndexOfInput();e0){var r=Object(D.clone)(this.props.value);r.splice.apply(r,[this.getIndexOfInput(),0].concat(n)),this.props.onChange(r)}}},{key:"addNewToken",value:function(e){this.addNewTokens([e]),this.props.speak(this.props.messages.added,"assertive"),this.setState({incompleteTokenValue:"",selectedSuggestionIndex:-1,selectedSuggestionScroll:!1,isExpanded:!1}),this.state.isActive&&this.input.focus()}},{key:"deleteToken",value:function(e){var t=this,n=this.props.value.filter((function(n){return t.getTokenValue(n)!==t.getTokenValue(e)}));this.props.onChange(n),this.props.speak(this.props.messages.removed,"assertive")}},{key:"getTokenValue",value:function(e){return"object"===Object(Do.a)(e)?e.value:e}},{key:"getMatchingSuggestions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.incompleteTokenValue,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.suggestions,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.props.value,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.props.maxSuggestions,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.props.saveTransform,a=o(e),i=[],s=[];return 0===a.length?t=Object(D.difference)(t,n):(a=a.toLocaleLowerCase(),Object(D.each)(t,(function(e){var t=e.toLocaleLowerCase().indexOf(a);-1===n.indexOf(e)&&(0===t?i.push(e):t>0&&s.push(e))})),t=i.concat(s)),Object(D.take)(t,r)}},{key:"getSelectedSuggestion",value:function(){if(-1!==this.state.selectedSuggestionIndex)return this.getMatchingSuggestions()[this.state.selectedSuggestionIndex]}},{key:"valueContainsToken",value:function(e){var t=this;return Object(D.some)(this.props.value,(function(n){return t.getTokenValue(e)===t.getTokenValue(n)}))}},{key:"getIndexOfInput",value:function(){return this.props.value.length-this.state.inputOffsetFromEnd}},{key:"isInputEmpty",value:function(){return 0===this.state.incompleteTokenValue.length}},{key:"inputHasValidValue",value:function(){return this.props.saveTransform(this.state.incompleteTokenValue).length>0}},{key:"updateSuggestions",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.state.incompleteTokenValue,n=t.trim().length>1,r=this.getMatchingSuggestions(t),o=r.length>0,a={isExpanded:n&&o};if(e&&(a.selectedSuggestionIndex=-1,a.selectedSuggestionScroll=!1),this.setState(a),n){var i=this.props.debouncedSpeak,s=o?Object(j.sprintf)(Object(j._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",r.length),r.length):Object(j.__)("No results.");i(s,"assertive")}}},{key:"renderTokensAndInput",value:function(){var e=Object(D.map)(this.props.value,this.renderToken);return e.splice(this.getIndexOfInput(),0,this.renderInput()),e}},{key:"renderToken",value:function(e,t,n){var r=this.getTokenValue(e),o=e.status?e.status:void 0,a=t+1,i=n.length;return Object(s.createElement)(So,{key:"token-"+r,value:r,status:o,title:e.title,displayTransform:this.props.displayTransform,onClickRemove:this.onTokenClickRemove,isBorderless:e.isBorderless||this.props.isBorderless,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,disabled:"error"!==o&&this.props.disabled,messages:this.props.messages,termsCount:i,termPosition:a})}},{key:"renderInput",value:function(){var e=this.props,t=e.autoCapitalize,n=e.autoComplete,o=e.maxLength,a=e.value,i={instanceId:e.instanceId,autoCapitalize:t,autoComplete:n,ref:this.bindInput,key:"input",disabled:this.props.disabled,value:this.state.incompleteTokenValue,onBlur:this.onBlur,isExpanded:this.state.isExpanded,selectedSuggestionIndex:this.state.selectedSuggestionIndex};return o&&a.length>=o||(i=Object(r.a)({},i,{onChange:this.onInputChange})),Object(s.createElement)(jo,i)}},{key:"render",value:function(){var e=this.props,t=e.disabled,n=e.label,r=void 0===n?Object(j.__)("Add item"):n,o=e.instanceId,a=e.className,c=this.state.isExpanded,l=i()(a,"components-form-token-field__input-container",{"is-active":this.state.isActive,"is-disabled":t}),u={className:"components-form-token-field",tabIndex:"-1"},d=this.getMatchingSuggestions();return t||(u=Object.assign({},u,{onKeyDown:this.onKeyDown,onKeyPress:this.onKeyPress,onFocus:this.onFocus})),Object(s.createElement)("div",u,Object(s.createElement)("label",{htmlFor:"components-form-token-input-".concat(o),className:"components-form-token-field__label"},r),Object(s.createElement)("div",{ref:this.bindTokensAndInput,className:l,tabIndex:"-1",onMouseDown:this.onContainerTouched,onTouchStart:this.onContainerTouched},this.renderTokensAndInput(),c&&Object(s.createElement)(Po,{instanceId:o,match:this.props.saveTransform(this.state.incompleteTokenValue),displayTransform:this.props.displayTransform,suggestions:d,selectedIndex:this.state.selectedSuggestionIndex,scrollIntoView:this.state.selectedSuggestionScroll,onHover:this.onSuggestionHovered,onSelect:this.onSuggestionSelected})),Object(s.createElement)("p",{id:"components-form-token-suggestions-howto-".concat(o),className:"components-form-token-field__help"},this.props.tokenizeOnSpace?Object(j.__)("Separate with commas, spaces, or the Enter key."):Object(j.__)("Separate with commas or the Enter key.")))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.disabled&&t.isActive?{isActive:!1,incompleteTokenValue:""}:null}}]),t}(s.Component);zo.defaultProps={suggestions:Object.freeze([]),maxSuggestions:100,value:Object.freeze([]),displayTransform:D.identity,saveTransform:function(e){return e.trim()},onChange:function(){},onInputChange:function(){},isBorderless:!1,disabled:!1,tokenizeOnSpace:!1,messages:{added:Object(j.__)("Item added."),removed:Object(j.__)("Item removed."),remove:Object(j.__)("Remove item")}};var Io=Oe(Object(C.withInstanceId)(zo));function To(e){var t=e.className,n=e.gradients,r=e.onChange,o=e.value,a=e.clearable,i=void 0===a||a,c=Object(s.useCallback)((function(){return r(void 0)}),[r]),l=Object(s.useMemo)((function(){return Object(D.map)(n,(function(e){var t=e.gradient,n=e.name;return Object(s.createElement)(Dn.Option,{key:t,value:t,isSelected:o===t,tooltipText:n||Object(j.sprintf)(Object(j.__)("Gradient code: %s"),t),style:{color:"rgba( 0,0,0,0 )",background:t},onClick:o===t?c:function(){return r(t)},"aria-label":n?Object(j.sprintf)(Object(j.__)("Gradient: %s"),n):Object(j.sprintf)(Object(j.__)("Gradient code: %s"),t)})}))}),[n,o,r,c]);return Object(s.createElement)(Dn,{className:t,options:l,actions:i&&Object(s.createElement)(Dn.ButtonAction,{onClick:c},Object(j.__)("Clear"))})}var No=n(146),Ao=n.n(No),Ro=23,Ho=18,Lo=5,Fo=9,Vo=5,Bo="linear-gradient(135deg, rgba(6, 147, 227, 1) 0%, rgb(155, 81, 224) 100%)",Ko={className:"components-custom-gradient-picker__color-picker-popover",position:"top"};function Wo(e){var t=e.type,n=e.value;return"".concat(t,"(").concat(n.join(","),")")}function Uo(e){var t=e.type,n=e.value;return"".concat(n).concat(t)}function $o(e){var t=e.type,n=e.value,r=e.length;return"".concat(Wo({type:t,value:n})," ").concat(Uo(r))}function Go(e){var t=e.r,n=e.g,r=e.b,o=e.a;return 1===o?{type:"rgb",value:[t,n,r]}:{type:"rgba",value:[t,n,r,o]}}function qo(e,t,n){return Object(r.a)({},e,{colorStops:e.colorStops.map((function(e,o){return o!==t?e:Object(r.a)({},e,{length:Object(r.a)({},e.length,{value:n})})}))})}function Yo(e,t,n){var r=parseInt(e.colorStops[n].length.value),o=Math.min(r,t),a=Math.max(r,t);return Object(D.some)(e.colorStops,(function(e,r){var i=e.length,s=parseInt(i.value);return r!==n&&(Math.abs(s-t)=Vo&&(u.current.significantMoveHappened=!0)}Yo(o,n,i)||a(qo(o,i,n))},f=function e(){window&&window.removeEventListener&&u.current&&u.current.listenersActivated&&(window.removeEventListener("mousemove",d),window.removeEventListener("mouseup",e),l(),u.current.listenersActivated=!1)};return Object(s.useEffect)((function(){return function(){f()}}),[]),o.map((function(e,t){return e&&n!==e.positionValue&&Object(s.createElement)(wn,{key:t,onClose:l,renderToggle:function(n){var r=n.isOpen,o=n.onToggle;return Object(s.createElement)(ea,{key:t,onClick:function(){u.current&&u.current.significantMoveHappened||(c(),o())},onMouseDown:function(){window&&window.addEventListener&&(u.current={gradientAST:i,position:t,significantMoveHappened:!1,listenersActivated:!0},c(),window.addEventListener("mousemove",d),window.addEventListener("mouseup",f))},isOpen:r,position:e.position,color:e.color,onChange:a,gradientAST:i,gradientIndex:t})},renderContent:function(n){var o=n.onClose;return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(_n,{color:e.color,onChangeComplete:function(e){var n=e.rgb;a(Xo(i,t,n))}}),Object(s.createElement)(ye,{className:"components-custom-gradient-picker__remove-control-point",onClick:function(){a(function(e,t){return Object(r.a)({},e,{colorStops:e.colorStops.filter((function(e,n){return n!==t}))})}(i,t)),o()},isLink:!0},Object(j.__)("Remove Control Point")))},popoverProps:Ko})}))}function na(e){var t=e.onChange,n=e.gradientAST,o=e.onOpenInserter,a=e.onCloseInserter,i=e.insertPosition,c=Object(s.useState)(!1),l=Object(b.a)(c,2),u=l[0],d=l[1];return Object(s.createElement)(wn,{className:"components-custom-gradient-picker__inserter",onClose:function(){a()},renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(s.createElement)(ye,{"aria-expanded":t,onClick:function(){d(!1),o(),n()},className:"components-custom-gradient-picker__insert-point",icon:"insert",style:{left:null!==i?"".concat(i,"%"):void 0}})},renderContent:function(){return Object(s.createElement)(_n,{onChangeComplete:function(e){var o,a=e.rgb;u?o=function(e,t,n){return Xo(e,Object(D.findIndex)(e.colorStops,(function(e){return e&&e.length&&"%"===e.length.type&&e.length.value===t.toString()})),n)}(n,i,a):(o=function(e,t,n){var o=Go(n);return o.length={type:"%",value:t},Object(r.a)({},e,{colorStops:[].concat(Object(w.a)(e.colorStops),[o])})}(n,i,a),d(!0)),t(o)}})},popoverProps:Ko})}function ra(e,t){switch(t.type){case"MOVE_INSERTER":if("IDLE"===e.id||"MOVING_INSERTER"===e.id)return{id:"MOVING_INSERTER",insertPosition:t.insertPosition};break;case"STOP_INSERTER_MOVE":if("MOVING_INSERTER"===e.id)return{id:"IDLE"};break;case"OPEN_INSERTER":if("MOVING_INSERTER"===e.id)return{id:"INSERTING_CONTROL_POINT",insertPosition:e.insertPosition};break;case"CLOSE_INSERTER":if("INSERTING_CONTROL_POINT"===e.id)return{id:"IDLE"};break;case"START_CONTROL_CHANGE":if("IDLE"===e.id)return{id:"MOVING_CONTROL_POINT"};break;case"STOP_CONTROL_CHANGE":if("MOVING_CONTROL_POINT"===e.id)return{id:"IDLE"}}return e}var oa={id:"IDLE"};function aa(e){var t,n,r=e.value,o=e.onChange,a=!!r;try{t=Ao.a.parse(r||Bo)[0],n=r||Bo}catch(e){a=!1,t=Ao.a.parse(Bo)[0],n=Bo}var c=function(e){o(function(e){var t=e.type,n=e.orientation,r=e.colorStops,o=function(e){if(e&&"angular"===e.type)return"".concat(e.value,"deg")}(n),a=r.sort((function(e,t){return Object(D.get)(e,["length","value"],0)-Object(D.get)(t,["length","value"],0)})).map($o);return"".concat(t,"(").concat(Object(D.compact)([o].concat(Object(w.a)(a))).join(","),")")}(e))},l=Object(s.useRef)(),u=function(e){return e?Object(D.map)(e.colorStops,(function(e){return e&&e.length&&"%"===e.length.type?{color:Wo(e),position:Uo(e.length),positionValue:parseInt(e.length.value)}:null})):[]}(t),d=Object(s.useReducer)(ra,oa),f=Object(b.a)(d,2),h=f[0],p=f[1],v=function(e){var t=Qo(e.clientX,l.current,Ro);Object(D.some)(u,(function(e){var n=e.positionValue;return Math.abs(t-n)0,p=u=320?"is-large":"",m>=160&&m<320?"is-medium":"",m<160?"is-small":"",c),g=i()("components-placeholder__fieldset",{"is-column-layout":d});return Object(s.createElement)("div",Object(E.a)({},f,{className:y}),v,l,u&&Object(s.createElement)("div",{className:"components-placeholder__preview"},u),Object(s.createElement)("div",{className:"components-placeholder__label"},Object(s.createElement)(me,{icon:t}),r),!!a&&Object(s.createElement)("div",{className:"components-placeholder__instructions"},a),Object(s.createElement)("div",{className:g},n))};function Fa(e){var t=e.label,n=e.noOptionLabel,r=e.onChange,a=e.selectedId,i=e.tree,c=Object(o.a)(e,["label","noOptionLabel","onChange","selectedId","tree"]),l=Object(D.compact)([n&&{value:"",label:n}].concat(Object(w.a)(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object(D.flatMap)(t,(function(t){return[{value:t.id,label:Object(D.repeat)(" ",3*n)+Object(D.unescape)(t.name)}].concat(Object(w.a)(e(t.children||[],n+1)))}))}(i))));return Object(s.createElement)(Ar,Object(E.a)({label:t,options:l,onChange:r},{value:a},c))}function Va(e){var t,n,o=e.label,a=e.noOptionLabel,i=e.categoriesList,c=e.selectedCategoryId,l=e.onChange,u=(t=i.map((function(e){return Object(r.a)({children:[],parent:null},e)})),(n=Object(D.groupBy)(t,"parent")).null&&n.null.length?t:function e(t){return t.map((function(t){var o=n[t.id];return Object(r.a)({},t,{children:o&&o.length?e(o):[]})}))}(n[0]||[]));return Object(s.createElement)(Fa,Object(E.a)({label:o,noOptionLabel:a,onChange:l},{tree:u,selectedId:c}))}var Ba=1,Ka=100;function Wa(e){var t=e.categoriesList,n=e.selectedCategoryId,r=e.numberOfItems,o=e.order,a=e.orderBy,i=e.maxItems,c=void 0===i?Ka:i,l=e.minItems,u=void 0===l?Ba:l,d=e.onCategoryChange,f=e.onNumberOfItemsChange,h=e.onOrderChange,p=e.onOrderByChange;return[h&&p&&Object(s.createElement)(Ar,{key:"query-controls-order-select",label:Object(j.__)("Order by"),value:"".concat(a,"/").concat(o),options:[{label:Object(j.__)("Newest to Oldest"),value:"date/desc"},{label:Object(j.__)("Oldest to Newest"),value:"date/asc"},{label:Object(j.__)("A → Z"),value:"title/asc"},{label:Object(j.__)("Z → A"),value:"title/desc"}],onChange:function(e){var t=e.split("/"),n=Object(b.a)(t,2),r=n[0],i=n[1];i!==o&&h(i),r!==a&&p(r)}}),d&&Object(s.createElement)(Va,{key:"query-controls-category-select",categoriesList:t,label:Object(j.__)("Category"),noOptionLabel:Object(j.__)("All"),selectedCategoryId:n,onChange:d}),f&&Object(s.createElement)(mo,{key:"query-controls-range-control",label:Object(j.__)("Number of items"),value:r,onChange:f,min:u,max:c,required:!0})]}function Ua(e){var t=e.label,n=e.className,r=e.selected,o=e.help,a=e.onChange,c=e.options,l=void 0===c?[]:c,u=Object(C.useInstanceId)(Ua),d="inspector-radio-control-".concat(u),f=function(e){return a(e.target.value)};return!Object(D.isEmpty)(l)&&Object(s.createElement)(je,{label:t,id:d,help:o,className:i()(n,"components-radio-control")},l.map((function(e,t){return Object(s.createElement)("div",{key:"".concat(d,"-").concat(t),className:"components-radio-control__option"},Object(s.createElement)("input",{id:"".concat(d,"-").concat(t),className:"components-radio-control__input",type:"radio",name:d,value:e.value,onChange:f,checked:e.value===r,"aria-describedby":o?"".concat(d,"__help"):void 0}),Object(s.createElement)("label",{htmlFor:"".concat(d,"-").concat(t)},e.label))})))}var $a=n(226);var Ga=function(e){var t=e.className,n=e.showHandle,r=void 0!==n&&n,a=Object(o.a)(e,["className","showHandle"]),c={width:null,height:null,top:null,right:null,bottom:null,left:null},l="components-resizable-box__handle",u="components-resizable-box__side-handle",d="components-resizable-box__corner-handle";return Object(s.createElement)($a.Resizable,Object(E.a)({className:i()("components-resizable-box__container",r&&"has-show-handle",t),handleClasses:{top:i()(l,u,"components-resizable-box__handle-top"),right:i()(l,u,"components-resizable-box__handle-right"),bottom:i()(l,u,"components-resizable-box__handle-bottom"),left:i()(l,u,"components-resizable-box__handle-left"),topLeft:i()(l,d,"components-resizable-box__handle-top","components-resizable-box__handle-left"),topRight:i()(l,d,"components-resizable-box__handle-top","components-resizable-box__handle-right"),bottomRight:i()(l,d,"components-resizable-box__handle-bottom","components-resizable-box__handle-right"),bottomLeft:i()(l,d,"components-resizable-box__handle-bottom","components-resizable-box__handle-left")},handleStyles:{top:c,right:c,bottom:c,left:c,topLeft:c,topRight:c,bottomRight:c,bottomLeft:c}},a))};var qa=function(e){var t=e.naturalWidth,n=e.naturalHeight,r=e.children,o=e.isInline,a=void 0!==o&&o;if(1!==s.Children.count(r))return null;var c={paddingBottom:n/t*100+"%"},l=a?"span":"div";return Object(s.createElement)(l,{className:"components-responsive-wrapper"},Object(s.createElement)(l,{style:c}),Object(s.cloneElement)(r,{className:i()("components-responsive-wrapper__content",r.props.className)}))},Ya=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).trySandbox=e.trySandbox.bind(Object(O.a)(e)),e.checkMessageForResize=e.checkMessageForResize.bind(Object(O.a)(e)),e.iframe=Object(s.createRef)(),e.state={width:0,height:0},e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"componentDidMount",value:function(){this.trySandbox()}},{key:"componentDidUpdate",value:function(){this.trySandbox()}},{key:"isFrameAccessible",value:function(){try{return!!this.iframe.current.contentDocument.body}catch(e){return!1}}},{key:"checkMessageForResize",value:function(e){var t=this.iframe.current,n=e.data||{};if("string"==typeof n)try{n=JSON.parse(n)}catch(e){}if(t&&t.contentWindow===e.source){var r=n,o=r.action,a=r.width,i=r.height,s=this.state,c=s.width,l=s.height;"resize"!==o||c===a&&l===i||this.setState({width:a,height:i})}}},{key:"trySandbox",value:function(){if(this.isFrameAccessible()&&null===this.iframe.current.contentDocument.body.getAttribute("data-resizable-iframe-connected")){var e=Object(s.createElement)("html",{lang:document.documentElement.lang,className:this.props.type},Object(s.createElement)("head",null,Object(s.createElement)("title",null,this.props.title),Object(s.createElement)("style",{dangerouslySetInnerHTML:{__html:"\n\t\t\tbody {\n\t\t\t\tmargin: 0;\n\t\t\t}\n\t\t\thtml,\n\t\t\tbody,\n\t\t\tbody > div,\n\t\t\tbody > div > iframe {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t\thtml.wp-has-aspect-ratio,\n\t\t\tbody.wp-has-aspect-ratio,\n\t\t\tbody.wp-has-aspect-ratio > div,\n\t\t\tbody.wp-has-aspect-ratio > div > iframe {\n\t\t\t\theight: 100%;\n\t\t\t\toverflow: hidden; /* If it has an aspect ratio, it shouldn't scroll. */\n\t\t\t}\n\t\t\tbody > div > * {\n\t\t\t\tmargin-top: 0 !important; /* Has to have !important to override inline styles. */\n\t\t\t\tmargin-bottom: 0 !important;\n\t\t\t}\n\t\t"}}),this.props.styles&&this.props.styles.map((function(e,t){return Object(s.createElement)("style",{key:t,dangerouslySetInnerHTML:{__html:e}})}))),Object(s.createElement)("body",{"data-resizable-iframe-connected":"data-resizable-iframe-connected",className:this.props.type},Object(s.createElement)("div",{dangerouslySetInnerHTML:{__html:this.props.html}}),Object(s.createElement)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:"\n\t\t\t( function() {\n\t\t\t\tvar observer;\n\n\t\t\t\tif ( ! window.MutationObserver || ! document.body || ! window.parent ) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tfunction sendResize() {\n\t\t\t\t\tvar clientBoundingRect = document.body.getBoundingClientRect();\n\n\t\t\t\t\twindow.parent.postMessage( {\n\t\t\t\t\t\taction: 'resize',\n\t\t\t\t\t\twidth: clientBoundingRect.width,\n\t\t\t\t\t\theight: clientBoundingRect.height,\n\t\t\t\t\t}, '*' );\n\t\t\t\t}\n\n\t\t\t\tobserver = new MutationObserver( sendResize );\n\t\t\t\tobserver.observe( document.body, {\n\t\t\t\t\tattributes: true,\n\t\t\t\t\tattributeOldValue: false,\n\t\t\t\t\tcharacterData: true,\n\t\t\t\t\tcharacterDataOldValue: false,\n\t\t\t\t\tchildList: true,\n\t\t\t\t\tsubtree: true\n\t\t\t\t} );\n\n\t\t\t\twindow.addEventListener( 'load', sendResize, true );\n\n\t\t\t\t// Hack: Remove viewport unit styles, as these are relative\n\t\t\t\t// the iframe root and interfere with our mechanism for\n\t\t\t\t// determining the unconstrained page bounds.\n\t\t\t\tfunction removeViewportStyles( ruleOrNode ) {\n\t\t\t\t\tif( ruleOrNode.style ) {\n\t\t\t\t\t\t[ 'width', 'height', 'minHeight', 'maxHeight' ].forEach( function( style ) {\n\t\t\t\t\t\t\tif ( /^\\d+(vmin|vmax|vh|vw)$/.test( ruleOrNode.style[ style ] ) ) {\n\t\t\t\t\t\t\t\truleOrNode.style[ style ] = '';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tArray.prototype.forEach.call( document.querySelectorAll( '[style]' ), removeViewportStyles );\n\t\t\t\tArray.prototype.forEach.call( document.styleSheets, function( stylesheet ) {\n\t\t\t\t\tArray.prototype.forEach.call( stylesheet.cssRules || stylesheet.rules, removeViewportStyles );\n\t\t\t\t} );\n\n\t\t\t\tdocument.body.style.position = 'absolute';\n\t\t\t\tdocument.body.style.width = '100%';\n\t\t\t\tdocument.body.setAttribute( 'data-resizable-iframe-connected', '' );\n\n\t\t\t\tsendResize();\n\n\t\t\t\t// Resize events can change the width of elements with 100% width, but we don't\n\t\t\t\t// get an DOM mutations for that, so do the resize when the window is resized, too.\n\t\t\t\twindow.addEventListener( 'resize', sendResize, true );\n\t\t} )();"}}),this.props.scripts&&this.props.scripts.map((function(e){return Object(s.createElement)("script",{key:e,src:e})})))),t=this.iframe.current.contentWindow.document;t.open(),t.write(""+Object(s.renderToString)(e)),t.close()}}},{key:"render",value:function(){var e=this.props,t=e.title,n=e.onFocus;return Object(s.createElement)(vo,{iframeRef:this.iframe,title:t,className:"components-sandbox",sandbox:"allow-scripts allow-same-origin allow-presentation",onLoad:this.trySandbox,onFocus:n,width:Math.ceil(this.state.width),height:Math.ceil(this.state.height)})}}],[{key:"defaultProps",get:function(){return{html:"",title:""}}}]),t}(s.Component),Za=Ya=Object(C.withGlobalEvents)({message:"checkMessageForResize"})(Ya),Xa=1e4;var Qa=Object(s.forwardRef)((function(e,t){var n=e.className,r=e.children,o=e.actions,a=void 0===o?[]:o,c=e.onRemove,l=void 0===c?D.noop:c;Object(s.useEffect)((function(){var e=setTimeout((function(){l()}),Xa);return function(){return clearTimeout(e)}}),[]);var u=i()(n,"components-snackbar");return a&&a.length>1&&(console.warn("Snackbar can only have 1 action, use Notice if your message require many messages"),a=[a[0]]),Object(s.createElement)("div",{ref:t,className:u,onClick:l,tabIndex:"0",role:"button",onKeyPress:l,label:Object(j.__)("Dismiss this notice")},Object(s.createElement)("div",{className:"components-snackbar__content"},r,a.map((function(e,t){var n=e.label,r=e.onClick,o=e.url;return Object(s.createElement)(ye,{key:t,href:o,isTertiary:!0,onClick:function(e){e.stopPropagation(),r&&r(e)},className:"components-snackbar__action"},n)}))))})),Ja=n(23),ei=n.n(Ja),ti=n(44),ni=n(65);var ri=function(e){var t=e.notices,n=e.className,r=e.children,o=e.onRemove,a=void 0===o?D.noop:o,c=Object(C.useReducedMotion)(),l=Object(s.useState)((function(){return new WeakMap})),u=Object(b.a)(l,1)[0],d=Object(ni.useTransition)(t,(function(e){return e.id}),{from:{opacity:0,height:0},enter:function(e){return function(){var t=Object(ti.a)(ei.a.mark((function t(n){return ei.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n({opacity:1,height:u.get(e).offsetHeight});case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},leave:function(){return function(){var e=Object(ti.a)(ei.a.mark((function e(t){return ei.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t({opacity:0});case 2:return e.next=4,t({height:0});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},immediate:c});n=i()("components-snackbar-list",n);var f=function(e){return function(){return a(e.id)}};return Object(s.createElement)("div",{className:n},r,d.map((function(e){var t=e.item,n=e.key,r=e.props;return Object(s.createElement)(ni.animated.div,{key:n,style:r},Object(s.createElement)("div",{className:"components-snackbar-list__notice-container",ref:function(e){return e&&u.set(t,e)}},Object(s.createElement)(Qa,Object(E.a)({},Object(D.omit)(t,["content"]),{onRemove:f(t)}),t.content)))})))};function oi(){return Object(s.createElement)("span",{className:"components-spinner"})}var ai=function(e){var t=e.tabId,n=e.onClick,r=e.children,a=e.selected,i=Object(o.a)(e,["tabId","onClick","children","selected"]);return Object(s.createElement)(ye,Object(E.a)({role:"tab",tabIndex:a?null:-1,"aria-selected":a,id:t,onClick:n},i),r)},ii=function(e){function t(){var e;Object(m.a)(this,t);var n=(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).props,r=n.tabs,o=n.initialTabName;return e.handleClick=e.handleClick.bind(Object(O.a)(e)),e.onNavigate=e.onNavigate.bind(Object(O.a)(e)),e.state={selected:o||(r.length>0?r[0].name:null)},e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"handleClick",value:function(e){var t=this.props.onSelect,n=void 0===t?D.noop:t;this.setState({selected:e}),n(e)}},{key:"onNavigate",value:function(e,t){t.click()}},{key:"render",value:function(){var e=this,t=this.state.selected,n=this.props,r=n.activeClass,o=void 0===r?"is-active":r,a=n.className,c=n.instanceId,l=n.orientation,u=void 0===l?"horizontal":l,d=n.tabs,f=Object(D.find)(d,{name:t}),h=c+"-"+f.name;return Object(s.createElement)("div",{className:a},Object(s.createElement)(so,{role:"tablist",orientation:u,onNavigate:this.onNavigate,className:"components-tab-panel__tabs"},d.map((function(n){return Object(s.createElement)(ai,{className:i()(n.className,Object(p.a)({},o,n.name===t)),tabId:c+"-"+n.name,"aria-controls":c+"-"+n.name+"-view",selected:n.name===t,key:n.name,onClick:Object(D.partial)(e.handleClick,n.name)},n.title)}))),f&&Object(s.createElement)("div",{"aria-labelledby":h,role:"tabpanel",id:h+"-view",className:"components-tab-panel__tab-content",tabIndex:"0"},this.props.children(f)))}}]),t}(s.Component),si=Object(C.withInstanceId)(ii);function ci(e){var t=e.label,n=e.hideLabelFromVision,r=e.value,a=e.help,i=e.onChange,c=e.rows,l=void 0===c?4:c,u=e.className,d=Object(o.a)(e,["label","hideLabelFromVision","value","help","onChange","rows","className"]),f=Object(C.useInstanceId)(ci),h="inspector-textarea-control-".concat(f);return Object(s.createElement)(je,{label:t,hideLabelFromVision:n,id:h,help:a,className:u},Object(s.createElement)("textarea",Object(E.a)({className:"components-textarea-control__input",id:h,rows:l,onChange:function(e){return i(e.target.value)},"aria-describedby":a?h+"__help":void 0,value:r},d)))}var li=function(e){var t=e.text,n=void 0===t?"":t,r=e.highlight,o=void 0===r?"":r;if(!o.trim())return n;var a=new RegExp("(".concat(Object(D.escapeRegExp)(o),")"),"gi");return Object(s.__experimentalCreateInterpolateElement)(n.replace(a,"$&"),{mark:Object(s.createElement)("mark",null)})};var ui=function(e){return Object(s.createElement)("div",{className:"components-tip"},Object(s.createElement)(h,{width:"24",height:"24",viewBox:"0 0 24 24"},Object(s.createElement)(u,{d:"M20.45 4.91L19.04 3.5l-1.79 1.8 1.41 1.41 1.79-1.8zM13 4h-2V1h2v3zm10 9h-3v-2h3v2zm-12 6.95v-3.96l-1-.58c-1.24-.72-2-2.04-2-3.46 0-2.21 1.79-4 4-4s4 1.79 4 4c0 1.42-.77 2.74-2 3.46l-1 .58v3.96h-2zm-2 2h6v-4.81c1.79-1.04 3-2.97 3-5.19 0-3.31-2.69-6-6-6s-6 2.69-6 6c0 2.22 1.21 4.15 3 5.19v4.81zM4 13H1v-2h3v2zm2.76-7.71l-1.79-1.8L3.56 4.9l1.8 1.79 1.4-1.4z"})),Object(s.createElement)("p",null,e.children))},di=function(e){function t(){var e;return Object(m.a)(this,t),(e=Object(y.a)(this,Object(g.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(O.a)(e)),e}return Object(_.a)(t,e),Object(k.a)(t,[{key:"onChange",value:function(e){this.props.onChange&&this.props.onChange(e.target.checked)}},{key:"render",value:function(){var e,t,n=this.props,r=n.label,o=n.checked,a=n.help,c=n.instanceId,l=n.className,u="inspector-toggle-control-".concat(c);return a&&(e=u+"__help",t=Object(D.isFunction)(a)?a(o):a),Object(s.createElement)(je,{id:u,help:t,className:i()("components-toggle-control",l)},Object(s.createElement)(wo,{id:u,checked:o,onChange:this.onChange,"aria-describedby":e}),Object(s.createElement)("label",{htmlFor:u,className:"components-toggle-control__label"},r))}}]),t}(s.Component),fi=Object(C.withInstanceId)(di),hi=Object(s.createContext)();function pi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vi(e){for(var t=1;t=0||(o[n]=e[n]);return o}var yi=Object(ze.createContext)({});var gi=function(e,t,n){void 0===n&&(n=t.children);var r=Object(ze.useContext)(yi);if(r.useCreateElement)return r.useCreateElement(e,t,n);if(function(e){return"function"==typeof e}(n)){t.children;return n(mi(t,["children"]))}return Object(ze.createElement)(e,t,n)};function Oi(e,t){for(var n={},r={},o=0,a=Object.keys(e);o=0?n[i]=e[i]:r[i]=e[i]}return[n,r]}function ki(e){var t,n=e.as,r=e.useHook,o=e.keys,a=void 0===o?r&&r.__keys||[]:o,i=e.propsAreEqual,s=void 0===i?r&&r.__propsAreEqual:i,c=e.useCreateElement,l=void 0===c?gi:c,u=function(e,t){var o=e.as,i=void 0===o?n:o,s=mi(e,["as"]);if(r){var c=Oi(s,a),u=c[0],d=c[1],f=r(u,vi({ref:t},d)),h=f.unstable_wrap,p=mi(f,["unstable_wrap"]),b=i.render?i.render.__keys:i.__keys,v=b?Oi(s,b)[0]:{},m=l(i,vi({},p,{},v));return h?h(m):m}return l(i,s)};return u.__keys=a,function(e,t){return Object(ze.memo)(e,t)}((t=u,Object(ze.forwardRef)(t)),s)}function _i(e,t){Object(ze.useDebugValue)(e);var n=Object(ze.useContext)(yi);return null!=n[e]?n[e]:t}function wi(e){return"object"==typeof e&&null!=e}function Di(e){var t,n=(t=e.compose,Array.isArray(t)?t:void 0!==t?[t]:[]),r=function(t,n){return e.useOptions&&(t=e.useOptions(t,n)),e.name&&(t=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n={});var r="use"+e+"Options";Object(ze.useDebugValue)(r);var o=_i(r);return o?vi({},t,{},o(t,n)):t}(e.name,t,n)),t},o=function(t,o,a){return void 0===t&&(t={}),void 0===o&&(o={}),void 0===a&&(a=!1),a||(t=r(t,o)),e.compose&&n.forEach((function(e){t=e.__useOptions(t,o)})),e.useProps&&(o=e.useProps(t,o)),e.name&&(o=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n={});var r="use"+e+"Props";Object(ze.useDebugValue)(r);var o=_i(r);return o?o(t,n):n}(e.name,t,o)),e.compose&&(e.useComposeOptions&&(t=e.useComposeOptions(t,o)),n.forEach((function(e){o=e(t,o,!0)}))),o};return o.__useOptions=r,o.__keys=[].concat(n.reduce((function(e,t){return e.push.apply(e,t.__keys||[]),e}),[]),e.useState?e.useState.__keys:[],e.keys||[]),Boolean(e.propsAreEqual||n.find((function(e){return Boolean(e.__propsAreEqual)})))&&(o.__propsAreEqual=function(t,r){var o=e.propsAreEqual&&e.propsAreEqual(t,r);if(null!=o)return o;var a=n,i=Array.isArray(a),s=0;for(a=i?a:a[Symbol.iterator]();;){var c;if(i){if(s>=a.length)break;c=a[s++]}else{if((s=a.next()).done)break;c=s.value}var l=c.__propsAreEqual,u=l&&l(t,r);if(null!=u)return u}return function e(t,n,r){if(void 0===r&&(r=1),t===n)return!0;if(!t||!n)return!1;var o=Object.keys(t),a=Object.keys(n),i=o.length;if(a.length!==i)return!1;for(var s=0,c=o;s=0||(o[n]=e[n]);return o}function Ei(){for(var e=arguments.length,t=new Array(e),n=0;n=t.length)break;a=t[o++]}else{if((o=t.next()).done)break;a=o.value}var i=a;"function"==typeof i?i(e):i&&(i.current=e)}}:null}function Pi(e){var t=function(e){return e?e.ownerDocument||e:window.document}(e);return!!t.activeElement&&e.contains(t.activeElement)}var xi=Di({name:"Box",keys:["unstable_system"]});ki({as:"div",useHook:xi});var zi="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false'])";function Ii(e){return e.matches(zi)&&function(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0}(e)}function Ti(e){return e instanceof HTMLButtonElement||e instanceof HTMLInputElement||e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement||e instanceof HTMLAnchorElement||e instanceof HTMLAudioElement||e instanceof HTMLVideoElement}var Ni=Di({name:"Tabbable",compose:xi,keys:["disabled","focusable","unstable_clickOnEnter","unstable_clickOnSpace"],useOptions:function(e,t){var n=t.disabled,r=e.unstable_clickOnEnter,o=void 0===r||r,a=e.unstable_clickOnSpace;return Ci({disabled:n,unstable_clickOnEnter:o,unstable_clickOnSpace:void 0===a||a},Mi(e,["unstable_clickOnEnter","unstable_clickOnSpace"]))},useProps:function(e,t){var n=t.ref,r=t.tabIndex,o=t.onClick,a=t.onMouseDown,i=t.onKeyDown,s=t.style,c=Mi(t,["ref","tabIndex","onClick","onMouseDown","onKeyDown","style"]),l=Object(ze.useRef)(null),u=e.disabled&&!e.focusable,d=Object(ze.useState)(!0),f=d[0],h=d[1],p=f?r:r||0,b=e.disabled&&!f?Ci({pointerEvents:"none"},s):s;Object(ze.useEffect)((function(){l.current&&!Ti(l.current)&&h(!1)}),[]);var v=Object(ze.useCallback)((function(t){e.disabled?(t.stopPropagation(),t.preventDefault()):o&&o(t)}),[e.disabled,o]),m=Object(ze.useCallback)((function(t){if(e.disabled)return t.stopPropagation(),void t.preventDefault();var n,r=t.currentTarget,o=t.target;if(r.contains(o)&&!((n=o)instanceof HTMLInputElement||n instanceof HTMLTextAreaElement||n instanceof HTMLSelectElement)&&!function(e){var t=navigator.userAgent,n=function(e){return-1!==t.indexOf(e)},r=n("Mac"),o=n("Safari")||n("Firefox");return!(r&&o&&e instanceof HTMLButtonElement)}(r)){t.preventDefault();var i=Ii(o)||o instanceof HTMLLabelElement;Pi(r)&&r!==o&&i||r.focus()}a&&a(t)}),[e.disabled,a]),y=Object(ze.useCallback)((function(t){i&&i(t),e.disabled||Ti(t.currentTarget)||(e.unstable_clickOnEnter&&"Enter"===t.key||e.unstable_clickOnSpace&&" "===t.key)&&(t.preventDefault(),t.target.dispatchEvent(new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1})))}),[e.disabled,e.unstable_clickOnEnter,e.unstable_clickOnSpace,i]);return Ci({ref:Ei(l,n),disabled:u,tabIndex:u?void 0:p,"aria-disabled":e.disabled,onClick:v,onMouseDown:m,onKeyDown:y,style:b},c)}});ki({as:"button",useHook:Ni});function Ai(){for(var e=arguments.length,t=new Array(e),n=0;n=n.length)break;a=n[o++]}else{if((o=n.next()).done)break;a=o.value}var i=a;i.apply(void 0,arguments)}}),t)}var Ri="id";var Hi=Object(ze.createContext)((function(e){return void 0===e&&(e=Ri),(e?e+"-":"")+Math.random().toString(32).substr(2,6)}));function Li(e){return Object(ze.useState)(e)[0]}function Fi(e){void 0===e&&(e={});var t=Li(e).baseId,n=Object(ze.useContext)(Hi),r=Object(ze.useRef)(0),o=Object(ze.useState)((function(){return t||n()}));return{baseId:o[0],unstable_setBaseId:o[1],unstable_idCountRef:r}}Fi.__keys=["baseId","unstable_setBaseId","unstable_idCountRef"];var Vi=Di({name:"Id",compose:xi,useState:Fi,keys:["id"],useOptions:function(e,t){var n=Object(ze.useContext)(Hi),r=Object(ze.useState)((function(){return e.unstable_idCountRef?(e.unstable_idCountRef.current+=1,"-"+e.unstable_idCountRef.current):e.baseId?"-"+n(""):""}))[0],o=Object(ze.useMemo)((function(){return e.baseId||n()}),[e.baseId,n]),a=e.id||t.id||""+o+r;return Ci({},e,{id:a})},useProps:function(e,t){return Ci({},t,{id:void 0===t.id?e.id:t.id})}});ki({as:"div",useHook:Vi});function Bi(e,t){var n=e.stops,r=e.currentId,o=e.unstable_pastId,a=e.unstable_moves,i=e.loop;switch(t.type){case"register":var s=t.id,c=t.ref;if(0===n.length)return Ci({},e,{stops:[{id:s,ref:c}]});if(n.findIndex((function(e){return e.id===s}))>=0)return e;var l=n.findIndex((function(e){return!(!e.ref.current||!c.current)&&Boolean(e.ref.current.compareDocumentPosition(c.current)&Node.DOCUMENT_POSITION_PRECEDING)}));return Ci({},e,-1===l?{stops:[].concat(n,[{id:s,ref:c}])}:{stops:[].concat(n.slice(0,l),[{id:s,ref:c}],n.slice(l))});case"unregister":var u=t.id,d=n.filter((function(e){return e.id!==u}));return d.length===n.length?e:Ci({},e,{stops:d,unstable_pastId:o&&o===u?null:o,currentId:r&&r===u?null:r});case"move":var f=t.id,h=t.silent?a:a+1;if(null===f)return Ci({},e,{currentId:null,unstable_pastId:r,unstable_moves:h});var p=n.findIndex((function(e){return e.id===f}));return-1===p?e:n[p].id===r?Ci({},e,{unstable_moves:h}):Ci({},e,{currentId:n[p].id,unstable_pastId:r,unstable_moves:h});case"next":if(null==r)return Bi(e,{type:"move",id:n[0]&&n[0].id});var b=n.findIndex((function(e){return e.id===r})),v=[].concat(n.slice(b+1),i?n.slice(0,b):[]),m=v.findIndex((function(e){return e.id===r}))+1;return Bi(e,{type:"move",id:v[m]&&v[m].id});case"previous":var y=Bi(Ci({},e,{stops:n.slice().reverse()}),{type:"next"});y.stops;return Ci({},e,{},Mi(y,["stops"]));case"first":var g=n[0];return Bi(e,{type:"move",id:g&&g.id});case"last":var O=n[n.length-1];return Bi(e,{type:"move",id:O&&O.id});case"reset":return Ci({},e,{currentId:null,unstable_pastId:null});case"orientate":return Ci({},e,{orientation:t.orientation});default:throw new Error}}function Ki(e){void 0===e&&(e={});var t=Li(e),n=t.orientation,r=t.currentId,o=void 0===r?null:r,a=t.loop,i=void 0!==a&&a,s=Mi(t,["orientation","currentId","loop"]),c=Object(ze.useReducer)(Bi,{orientation:n,stops:[],currentId:o,unstable_pastId:null,unstable_moves:0,loop:i}),l=c[0],u=c[1];return Ci({},Fi(s),{},l,{register:Object(ze.useCallback)((function(e,t){return u({type:"register",id:e,ref:t})}),[]),unregister:Object(ze.useCallback)((function(e){return u({type:"unregister",id:e})}),[]),move:Object(ze.useCallback)((function(e,t){return u({type:"move",id:e,silent:t})}),[]),next:Object(ze.useCallback)((function(){return u({type:"next"})}),[]),previous:Object(ze.useCallback)((function(){return u({type:"previous"})}),[]),first:Object(ze.useCallback)((function(){return u({type:"first"})}),[]),last:Object(ze.useCallback)((function(){return u({type:"last"})}),[]),unstable_reset:Object(ze.useCallback)((function(){return u({type:"reset"})}),[]),unstable_orientate:Object(ze.useCallback)((function(e){return u({type:"orientate",orientation:e})}),[])})}var Wi=[].concat(Fi.__keys,["orientation","stops","currentId","unstable_pastId","unstable_moves","loop","register","unregister","move","next","previous","first","last","unstable_reset","unstable_orientate"]);Ki.__keys=Wi;var Ui=Di({name:"Rover",compose:[Ni,Vi],useState:Ki,keys:["stopId"],useProps:function(e,t){var n=t.ref,r=t.tabIndex,o=void 0===r?0:r,a=t.onFocus,i=t.onKeyDown,s=Mi(t,["ref","tabIndex","onFocus","onKeyDown"]),c=Object(ze.useRef)(null),l=e.stopId||e.id||s.id,u=e.disabled&&!e.focusable,d=null==e.currentId,f=e.currentId===l,h=(e.stops||[])[0]&&e.stops[0].id===l,p=f||h&&d;Object(ze.useEffect)((function(){if(!u&&l)return e.register&&e.register(l,c),function(){return e.unregister&&e.unregister(l)}}),[l,u,e.register,e.unregister]),Object(ze.useEffect)((function(){c.current&&e.unstable_moves&&f&&!Pi(c.current)&&c.current.focus()}),[f,e.unstable_moves]);var b=Object(ze.useCallback)((function(t){l&&t.currentTarget.contains(t.target)&&e.move(l,!0)}),[e.move,l]),v=Object(ze.useMemo)((function(){return function(e){var t=void 0===e?{}:e,n=t.keyMap,r=t.onKey,o=t.stopPropagation,a=t.onKeyDown,i=t.shouldKeyDown,s=void 0===i?function(){return!0}:i,c=t.preventDefault,l=void 0===c||c;return function(e){if(n){var t="function"==typeof n?n(e):n,i="function"==typeof l?l(e):l,c="function"==typeof o?o(e):o;if(e.key in t){var u=t[e.key];if("function"==typeof u&&s(e))return i&&e.preventDefault(),c&&e.stopPropagation(),r&&r(e),void u(e)}a&&a(e)}}}({onKeyDown:i,stopPropagation:!0,shouldKeyDown:function(e){return e.currentTarget.contains(e.target)},keyMap:{ArrowUp:"horizontal"!==e.orientation&&e.previous,ArrowRight:"vertical"!==e.orientation&&e.next,ArrowDown:"horizontal"!==e.orientation&&e.next,ArrowLeft:"vertical"!==e.orientation&&e.previous,Home:e.first,End:e.last,PageUp:e.first,PageDown:e.last}})}),[i,e.orientation,e.previous,e.next,e.first,e.last]);return Ci({ref:Ei(c,n),id:l,tabIndex:p?o:-1,onFocus:Ai(b,a),onKeyDown:v},s)}});ki({as:"button",useHook:Ui});function $i(e){void 0===e&&(e={});var t=Li(e),n=t.orientation;return Ki(Ci({orientation:void 0===n?"horizontal":n},Mi(t,["orientation"])))}var Gi=[].concat(Ki.__keys);$i.__keys=Gi;var qi=Di({name:"ToolbarItem",compose:Ui,useState:$i}),Yi=ki({as:"button",useHook:qi});var Zi=function(e){var t=Object(s.useContext)(hi),n=s.Children.only(e.children),r=qi(t,n.props);return Object(s.createElement)("div",e,Object(s.cloneElement)(n,r))},Xi=function(e){return Object(s.createElement)("div",{className:e.className},e.children)};var Qi=function(e){var t=e.containerClassName,n=e.icon,r=e.title,o=e.shortcut,a=e.subscript,c=e.onClick,l=e.className,u=e.isActive,d=e.isDisabled,f=e.extraProps,h=e.children,p=Object(s.useContext)(hi),b=Object(s.createElement)(ye,Object(E.a)({icon:n,label:r,shortcut:o,"data-subscript":a,onClick:function(e){e.stopPropagation(),c&&c(e)},className:i()("components-toolbar__control",l),isPressed:u,disabled:d},f));return p?Object(s.createElement)(Zi,{className:t},b):Object(s.createElement)(Xi,{className:t},b,h)},Ji=function(e){return Object(s.createElement)("div",{className:e.className},e.children)};var es=function(e){var t=e.controls,n=void 0===t?[]:t,r=e.className,a=e.icon,i=e.label,c=Object(o.a)(e,["controls","className","icon","label"]),l=Object(s.useContext)(hi),u=function(e){return Object(s.createElement)(lo,Object(E.a)({hasArrowIndicator:!0,icon:a,label:i,controls:n,className:r,toggleProps:e},c))};return l?Object(s.createElement)(Yi,l,(function(e){return u(e)})):u()};var ts=function(e){var t=e.controls,n=void 0===t?[]:t,r=e.children,a=e.className,c=e.isCollapsed,l=e.icon,u=e.title,d=Object(o.a)(e,["controls","children","className","isCollapsed","icon","title"]),f=Object(s.useContext)(hi);if(!(n&&n.length||r))return null;var h=i()(f?"components-toolbar-group":"components-toolbar",a),p=n;return Array.isArray(p[0])||(p=[p]),c?Object(s.createElement)(es,Object(E.a)({icon:l,label:u,controls:p,className:h,children:r},d)):Object(s.createElement)(Ji,Object(E.a)({className:h},d),Object(D.flatMap)(p,(function(e,t){return e.map((function(e,n){return Object(s.createElement)(Qi,Object(E.a)({key:[t,n].join(),containerClassName:t>0&&0===n?"has-left-divider":null},e))}))})),r)},ns=Di({name:"IdGroup",compose:xi,useState:Fi,keys:["id"],useOptions:function(e,t){var n=Object(ze.useContext)(Hi),r=Object(ze.useState)((function(){return e.id||t.id||e.baseId||n()}))[0];return e.unstable_setBaseId&&r!==e.baseId&&e.unstable_setBaseId(r),Ci({},e,{baseId:r})},useProps:function(e,t){return Ci({},t,{id:void 0===t.id?e.id:t.id})}}),rs=(ki({as:"div",useHook:ns}),ki({as:"div",useHook:Di({name:"Toolbar",compose:ns,useState:$i,useProps:function(e,t){return Ci({role:"toolbar","aria-orientation":e.orientation},t)}}),useCreateElement:function(e,t,n){return gi(e,t,n)}}));var os=Object(s.forwardRef)((function(e,t){var n=e.accessibilityLabel,r=Object(o.a)(e,["accessibilityLabel"]),a=$i({loop:!0});return Object(s.createElement)(hi.Provider,{value:a},Object(s.createElement)(rs,Object(E.a)({ref:t,"aria-label":n},a,r)))}));var as=function(e){var t=e.className,n=e.__experimentalAccessibilityLabel,r=Object(o.a)(e,["className","__experimentalAccessibilityLabel"]);return n?Object(s.createElement)(os,Object(E.a)({className:i()("components-accessible-toolbar",t),accessibilityLabel:n},r)):Object(s.createElement)(ts,Object(E.a)({},r,{className:t}))};function is(e){var t=function(t){return Object(s.createElement)(ne,Object(E.a)({name:e},t))};t.displayName=e+"Fill";var n=function(t){return Object(s.createElement)(oe,Object(E.a)({name:e},t))};return n.displayName=e+"Slot",{Fill:t,Slot:n}}var ss={previous:["ctrl+shift+`",S.rawShortcut.access("p")],next:["ctrl+`",S.rawShortcut.access("n")]},cs=Object(C.createHigherOrderComponent)((function(e){return function(t){var n=t.shortcuts,r=void 0===n?ss:n,a=Object(o.a)(t,["shortcuts"]),c=Object(s.useRef)(),l=Object(s.useState)(!1),u=Object(b.a)(l,2),d=u[0],f=u[1],h=i()("components-navigate-regions",{"is-focusing-regions":d});function p(e){var t=Array.from(c.current.querySelectorAll('[role="region"]'));if(t.length){var n=t[0],r=t.indexOf(document.activeElement);if(-1!==r){var o=r+e;n=t[o=(o=-1===o?t.length-1:o)===t.length?0:o]}n.focus(),f(!0)}}var v=Object(s.useCallback)((function(){return p(-1)}),[c]),m=Object(s.useCallback)((function(){return p(1)}),[c]);return Object(C.useKeyboardShortcut)(r.previous,v,{bindGlobal:!0}),Object(C.useKeyboardShortcut)(r.next,m,{bindGlobal:!0}),Object(s.createElement)("div",{ref:c,className:h,onClick:function(){return f(!1)}},Object(s.createElement)(e,a))}}),"navigateRegions"),ls=function(e){return Object(C.createHigherOrderComponent)((function(t){return function(n){function r(){var e;return Object(m.a)(this,r),(e=Object(y.a)(this,Object(g.a)(r).apply(this,arguments))).nodeRef=e.props.node,e.state={fallbackStyles:void 0,grabStylesCompleted:!1},e.bindRef=e.bindRef.bind(Object(O.a)(e)),e}return Object(_.a)(r,n),Object(k.a)(r,[{key:"bindRef",value:function(e){e&&(this.nodeRef=e)}},{key:"componentDidMount",value:function(){this.grabFallbackStyles()}},{key:"componentDidUpdate",value:function(){this.grabFallbackStyles()}},{key:"grabFallbackStyles",value:function(){var t=this.state,n=t.grabStylesCompleted,r=t.fallbackStyles;if(this.nodeRef&&!n){var o=e(this.nodeRef,this.props);Object(D.isEqual)(o,r)||this.setState({fallbackStyles:o,grabStylesCompleted:!!Object(D.every)(o)})}}},{key:"render",value:function(){var e=Object(s.createElement)(t,Object(E.a)({},this.props,this.state.fallbackStyles));return this.props.node?e:Object(s.createElement)("div",{ref:this.bindRef}," ",e," ")}}]),r}(s.Component)}),"withFallbackStyles")},us=n(29),ds=16;function fs(e){return Object(C.createHigherOrderComponent)((function(t){var n,r="core/with-filters/"+e;var o=function(o){function a(){var r;return Object(m.a)(this,a),r=Object(y.a)(this,Object(g.a)(a).apply(this,arguments)),void 0===n&&(n=Object(us.applyFilters)(e,t)),r}return Object(_.a)(a,o),Object(k.a)(a,[{key:"componentDidMount",value:function(){a.instances.push(this),1===a.instances.length&&(Object(us.addAction)("hookRemoved",r,i),Object(us.addAction)("hookAdded",r,i))}},{key:"componentWillUnmount",value:function(){a.instances=Object(D.without)(a.instances,this),0===a.instances.length&&(Object(us.removeAction)("hookRemoved",r),Object(us.removeAction)("hookAdded",r))}},{key:"render",value:function(){return Object(s.createElement)(n,this.props)}}]),a}(s.Component);o.instances=[];var a=Object(D.debounce)((function(){n=Object(us.applyFilters)(e,t),o.instances.forEach((function(e){e.forceUpdate()}))}),ds);function i(t){t===e&&a()}return o}),"withFilters")}var hs=n(68),ps=n.n(hs),bs=Object(C.createHigherOrderComponent)((function(e){return function(t){function n(){var e;return Object(m.a)(this,n),(e=Object(y.a)(this,Object(g.a)(n).apply(this,arguments))).createNotice=e.createNotice.bind(Object(O.a)(e)),e.createErrorNotice=e.createErrorNotice.bind(Object(O.a)(e)),e.removeNotice=e.removeNotice.bind(Object(O.a)(e)),e.removeAllNotices=e.removeAllNotices.bind(Object(O.a)(e)),e.state={noticeList:[]},e.noticeOperations={createNotice:e.createNotice,createErrorNotice:e.createErrorNotice,removeAllNotices:e.removeAllNotices,removeNotice:e.removeNotice},e}return Object(_.a)(n,t),Object(k.a)(n,[{key:"createNotice",value:function(e){var t=e.id?e:Object(r.a)({},e,{id:ps()()});this.setState((function(e){return{noticeList:[].concat(Object(w.a)(e.noticeList),[t])}}))}},{key:"createErrorNotice",value:function(e){this.createNotice({status:"error",content:e})}},{key:"removeNotice",value:function(e){this.setState((function(t){return{noticeList:t.noticeList.filter((function(t){return t.id!==e}))}}))}},{key:"removeAllNotices",value:function(){this.setState({noticeList:[]})}},{key:"render",value:function(){return Object(s.createElement)(e,Object(E.a)({noticeList:this.state.noticeList,noticeOperations:this.noticeOperations,noticeUI:this.state.noticeList.length>0&&Object(s.createElement)(Pa,{className:"components-with-notices-ui",notices:this.state.noticeList,onRemove:this.removeNotice})},this.props))}}]),n}(s.Component)}));n.d(t,"Circle",(function(){return c})),n.d(t,"G",(function(){return l})),n.d(t,"Path",(function(){return u})),n.d(t,"Polygon",(function(){return d})),n.d(t,"Rect",(function(){return f})),n.d(t,"SVG",(function(){return h})),n.d(t,"HorizontalRule",(function(){return"hr"})),n.d(t,"BlockQuotation",(function(){return"blockquote"})),n.d(t,"Animate",(function(){return v})),n.d(t,"Autocomplete",(function(){return we})),n.d(t,"BaseControl",(function(){return je})),n.d(t,"Button",(function(){return ye})),n.d(t,"ButtonGroup",(function(){return Ce})),n.d(t,"Card",(function(){return Kt})),n.d(t,"CardBody",(function(){return Ut})),n.d(t,"CardDivider",(function(){return $t})),n.d(t,"CardFooter",(function(){return qt})),n.d(t,"CardHeader",(function(){return Zt})),n.d(t,"CardMedia",(function(){return Xt})),n.d(t,"CheckboxControl",(function(){return Qt})),n.d(t,"ClipboardButton",(function(){return tn})),n.d(t,"ColorIndicator",(function(){return nn})),n.d(t,"ColorPalette",(function(){return Sn})),n.d(t,"ColorPicker",(function(){return _n})),n.d(t,"CustomSelectControl",(function(){return Er})),n.d(t,"Dashicon",(function(){return ve})),n.d(t,"DateTimePicker",(function(){return Nr})),n.d(t,"DatePicker",(function(){return Ir})),n.d(t,"TimePicker",(function(){return Tr})),n.d(t,"__experimentalDimensionControl",(function(){return Lr})),n.d(t,"Disabled",(function(){return Ur})),n.d(t,"Draggable",(function(){return Gr})),n.d(t,"DropZone",(function(){return ro})),n.d(t,"DropZoneProvider",(function(){return to})),n.d(t,"Dropdown",(function(){return wn})),n.d(t,"DropdownMenu",(function(){return lo})),n.d(t,"ExternalLink",(function(){return uo})),n.d(t,"FocalPointPicker",(function(){return ho})),n.d(t,"FocusableIframe",(function(){return vo})),n.d(t,"FontSizePicker",(function(){return ko})),n.d(t,"FormFileUpload",(function(){return _o})),n.d(t,"FormToggle",(function(){return wo})),n.d(t,"FormTokenField",(function(){return Io})),n.d(t,"__experimentalGradientPicker",(function(){return To})),n.d(t,"__experimentalCustomGradientPicker",(function(){return aa})),n.d(t,"Guide",(function(){return _a})),n.d(t,"GuidePage",(function(){return wa})),n.d(t,"Icon",(function(){return me})),n.d(t,"IconButton",(function(){return Da})),n.d(t,"KeyboardShortcuts",(function(){return cn})),n.d(t,"MenuGroup",(function(){return Sa})),n.d(t,"MenuItem",(function(){return ja})),n.d(t,"MenuItemsChoice",(function(){return Ca})),n.d(t,"Modal",(function(){return va})),n.d(t,"ScrollLock",(function(){return U})),n.d(t,"NavigableMenu",(function(){return so})),n.d(t,"TabbableContainer",(function(){return Ma})),n.d(t,"Notice",(function(){return Ea})),n.d(t,"NoticeList",(function(){return Pa})),n.d(t,"Panel",(function(){return za})),n.d(t,"PanelBody",(function(){return Na})),n.d(t,"PanelHeader",(function(){return xa})),n.d(t,"PanelRow",(function(){return Aa})),n.d(t,"Placeholder",(function(){return La})),n.d(t,"Popover",(function(){return fe})),n.d(t,"QueryControls",(function(){return Wa})),n.d(t,"RadioControl",(function(){return Ua})),n.d(t,"RangeControl",(function(){return mo})),n.d(t,"ResizableBox",(function(){return Ga})),n.d(t,"ResponsiveWrapper",(function(){return qa})),n.d(t,"SandBox",(function(){return Za})),n.d(t,"SelectControl",(function(){return Ar})),n.d(t,"Snackbar",(function(){return Qa})),n.d(t,"SnackbarList",(function(){return ri})),n.d(t,"Spinner",(function(){return oi})),n.d(t,"TabPanel",(function(){return si})),n.d(t,"TextControl",(function(){return hn})),n.d(t,"TextareaControl",(function(){return ci})),n.d(t,"TextHighlight",(function(){return li})),n.d(t,"Tip",(function(){return ui})),n.d(t,"ToggleControl",(function(){return fi})),n.d(t,"Toolbar",(function(){return as})),n.d(t,"ToolbarButton",(function(){return Qi})),n.d(t,"ToolbarGroup",(function(){return ts})),n.d(t,"Tooltip",(function(){return be})),n.d(t,"TreeSelect",(function(){return Fa})),n.d(t,"VisuallyHidden",(function(){return De})),n.d(t,"IsolatedEventContainer",(function(){return G})),n.d(t,"createSlotFill",(function(){return is})),n.d(t,"Slot",(function(){return oe})),n.d(t,"Fill",(function(){return ne})),n.d(t,"SlotFillProvider",(function(){return J})),n.d(t,"__experimentalSlotFillConsumer",(function(){return Z})),n.d(t,"navigateRegions",(function(){return cs})),n.d(t,"withConstrainedTabbing",(function(){return F})),n.d(t,"withFallbackStyles",(function(){return ls})),n.d(t,"withFilters",(function(){return fs})),n.d(t,"withFocusOutside",(function(){return B})),n.d(t,"withFocusReturn",(function(){return L})),n.d(t,"FocusReturnProvider",(function(){return H})),n.d(t,"withNotices",(function(){return bs})),n.d(t,"withSpokenMessages",(function(){return Oe}))}]); \ No newline at end of file + */Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,c=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,b=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116;function m(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case d:case f:case i:case s:case c:case p:return e;default:switch(e=e&&e.$$typeof){case u:case h:case l:return e;default:return t}}case v:case b:case a:return t}}}function y(e){return m(e)===f}t.typeOf=m,t.AsyncMode=d,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=l,t.Element=o,t.ForwardRef=h,t.Fragment=i,t.Lazy=v,t.Memo=b,t.Portal=a,t.Profiler=s,t.StrictMode=c,t.Suspense=p,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===f||e===s||e===c||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===b||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h)},t.isAsyncMode=function(e){return y(e)||m(e)===d},t.isConcurrentMode=y,t.isContextConsumer=function(e){return m(e)===u},t.isContextProvider=function(e){return m(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return m(e)===h},t.isFragment=function(e){return m(e)===i},t.isLazy=function(e){return m(e)===v},t.isMemo=function(e){return m(e)===b},t.isPortal=function(e){return m(e)===a},t.isProfiler=function(e){return m(e)===s},t.isStrictMode=function(e){return m(e)===c},t.isSuspense=function(e){return m(e)===p}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.CHANNEL="__direction__",t.DIRECTIONS={LTR:"ltr",RTL:"rtl"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(25),a=(r=o)&&r.__esModule?r:{default:r};t.default=a.default.shape({getState:a.default.func,setState:a.default.func,subscribe:a.default.func})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"==typeof e)return e;if("function"==typeof e)return e(t);return""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var r=c(n(21)),o=n(51),a=c(n(165)),i=c(n(345));function c(e){return e&&e.__esModule?e:{default:e}}var s=(0,o.forbidExtraProps)({children:(0,o.or)([(0,o.childrenOfType)(a.default),(0,o.childrenOfType)(i.default)]).isRequired});function l(e){var t=e.children;return r.default.createElement("tr",null,t)}l.propTypes=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureCustomizableCalendarDay=t.selectedStyles=t.lastInRangeStyles=t.selectedSpanStyles=t.hoveredSpanStyles=t.blockedOutOfRangeStyles=t.blockedCalendarStyles=t.blockedMinNightsStyles=t.highlightedCalendarStyles=t.outsideStyles=t.defaultStyles=void 0;var r=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:a.default.localeData().firstDayOfWeek();if(!a.default.isMoment(e)||!e.isValid())throw new TypeError("`month` must be a valid moment object");if(-1===i.WEEKDAYS.indexOf(n))throw new TypeError("`firstDayOfWeek` must be an integer between 0 and 6");for(var r=e.clone().startOf("month").hour(12),o=e.clone().endOf("month").hour(12),c=(r.day()+7-n)%7,s=(n+6-o.day())%7,l=r.clone().subtract(c,"day"),u=o.clone().add(s,"day").diff(l,"days")+1,d=l.clone(),f=[],h=0;h=c&&h2?arguments[2]:[];if(!this.IsCallable(e))throw new c(e+" is not a function");return e.apply(t,n)},ToPrimitive:o,ToNumber:function(e){var t=w(e)?e:o(e,f);if("symbol"==typeof t)throw new c("Cannot convert a Symbol value to a number");if("string"==typeof t){if(M(t))return this.ToNumber(j(C(t,2),2));if(P(t))return this.ToNumber(j(C(t,2),8));if(z(t)||I(t))return NaN;var n=function(e){return q(e,G,"")}(t);if(n!==t)return this.ToNumber(n)}return f(t)},ToInt16:function(e){var t=this.ToUint16(e);return t>=32768?t-65536:t},ToInt8:function(e){var t=this.ToUint8(e);return t>=128?t-256:t},ToUint8:function(e){var t=this.ToNumber(e);if(m(t)||0===t||!y(t))return 0;var n=k(t)*F(V(t));return _(n,256)},ToUint8Clamp:function(e){var t=this.ToNumber(e);if(m(t)||t<=0)return 0;if(t>=255)return 255;var n=F(e);return n+.5g?g:t},CanonicalNumericIndexString:function(e){if("[object String]"!==N(e))throw new c("must be a string");if("-0"===e)return-0;var t=this.ToNumber(e);return this.SameValue(this.ToString(t),e)?t:void 0},RequireObjectCoercible:Y.CheckObjectCoercible,IsArray:l.isArray||function(e){return"[object Array]"===N(e)},IsConstructor:function(e){return"function"==typeof e&&!!e.prototype},IsExtensible:Object.preventExtensions?function(e){return!w(e)&&W(e)}:function(e){return!0},IsInteger:function(e){if("number"!=typeof e||m(e)||!y(e))return!1;var t=V(e);return F(t)===t},IsPropertyKey:function(e){return"string"==typeof e||"symbol"==typeof e},IsRegExp:function(e){if(!e||"object"!=typeof e)return!1;if(b){var t=e[h.match];if(void 0!==t)return Y.ToBoolean(t)}return Z(e)},SameValueZero:function(e,t){return e===t||m(e)&&m(t)},GetV:function(e,t){if(!this.IsPropertyKey(t))throw new c("Assertion failed: IsPropertyKey(P) is not true");return this.ToObject(e)[t]},GetMethod:function(e,t){if(!this.IsPropertyKey(t))throw new c("Assertion failed: IsPropertyKey(P) is not true");var n=this.GetV(e,t);if(null!=n){if(!this.IsCallable(n))throw new c(t+"is not a function");return n}},Get:function(e,t){if("Object"!==this.Type(e))throw new c("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new c("Assertion failed: IsPropertyKey(P) is not true");return e[t]},Type:function(e){return"symbol"==typeof e?"Symbol":Y.Type(e)},SpeciesConstructor:function(e,t){if("Object"!==this.Type(e))throw new c("Assertion failed: Type(O) is not Object");var n=e.constructor;if(void 0===n)return t;if("Object"!==this.Type(n))throw new c("O.constructor is not an Object");var r=b&&h.species?n[h.species]:void 0;if(null==r)return t;if(this.IsConstructor(r))return r;throw new c("no constructor found")},CompletePropertyDescriptor:function(e){return v(this,"Property Descriptor","Desc",e),this.IsGenericDescriptor(e)||this.IsDataDescriptor(e)?(r(e,"[[Value]]")||(e["[[Value]]"]=void 0),r(e,"[[Writable]]")||(e["[[Writable]]"]=!1)):(r(e,"[[Get]]")||(e["[[Get]]"]=void 0),r(e,"[[Set]]")||(e["[[Set]]"]=void 0)),r(e,"[[Enumerable]]")||(e["[[Enumerable]]"]=!1),r(e,"[[Configurable]]")||(e["[[Configurable]]"]=!1),e},Set:function(e,t,n,r){if("Object"!==this.Type(e))throw new c("O must be an Object");if(!this.IsPropertyKey(t))throw new c("P must be a Property Key");if("Boolean"!==this.Type(r))throw new c("Throw must be a Boolean");if(r)return e[t]=n,!0;try{e[t]=n}catch(e){return!1}},HasOwnProperty:function(e,t){if("Object"!==this.Type(e))throw new c("O must be an Object");if(!this.IsPropertyKey(t))throw new c("P must be a Property Key");return r(e,t)},HasProperty:function(e,t){if("Object"!==this.Type(e))throw new c("O must be an Object");if(!this.IsPropertyKey(t))throw new c("P must be a Property Key");return t in e},IsConcatSpreadable:function(e){if("Object"!==this.Type(e))return!1;if(b&&"symbol"==typeof h.isConcatSpreadable){var t=this.Get(e,Symbol.isConcatSpreadable);if(void 0!==t)return this.ToBoolean(t)}return this.IsArray(e)},Invoke:function(e,t){if(!this.IsPropertyKey(t))throw new c("P must be a Property Key");var n=S(arguments,2),r=this.GetV(e,t);return this.Call(r,e,n)},GetIterator:function(e,t){if(!b)throw new SyntaxError("ES.GetIterator depends on native iterator support.");var n=t;arguments.length<2&&(n=this.GetMethod(e,h.iterator));var r=this.Call(n,e);if("Object"!==this.Type(r))throw new c("iterator must return an object");return r},IteratorNext:function(e,t){var n=this.Invoke(e,"next",arguments.length<2?[]:[t]);if("Object"!==this.Type(n))throw new c("iterator next must return an object");return n},IteratorComplete:function(e){if("Object"!==this.Type(e))throw new c("Assertion failed: Type(iterResult) is not Object");return this.ToBoolean(this.Get(e,"done"))},IteratorValue:function(e){if("Object"!==this.Type(e))throw new c("Assertion failed: Type(iterResult) is not Object");return this.Get(e,"value")},IteratorStep:function(e){var t=this.IteratorNext(e);return!0!==this.IteratorComplete(t)&&t},IteratorClose:function(e,t){if("Object"!==this.Type(e))throw new c("Assertion failed: Type(iterator) is not Object");if(!this.IsCallable(t))throw new c("Assertion failed: completion is not a thunk for a Completion Record");var n,r=t,o=this.GetMethod(e,"return");if(void 0===o)return r();try{var a=this.Call(o,e,[])}catch(e){throw n=r(),r=null,e}if(n=r(),r=null,"Object"!==this.Type(a))throw new c("iterator .return must return an object");return n},CreateIterResultObject:function(e,t){if("Boolean"!==this.Type(t))throw new c("Assertion failed: Type(done) is not Boolean");return{value:e,done:t}},RegExpExec:function(e,t){if("Object"!==this.Type(e))throw new c("R must be an Object");if("String"!==this.Type(t))throw new c("S must be a String");var n=this.Get(e,"exec");if(this.IsCallable(n)){var r=this.Call(n,e,[t]);if(null===r||"Object"===this.Type(r))return r;throw new c('"exec" method must return `null` or an Object')}return E(e,t)},ArraySpeciesCreate:function(e,t){if(!this.IsInteger(t)||t<0)throw new c("Assertion failed: length must be an integer >= 0");var n,r=0===t?0:t;if(this.IsArray(e)&&(n=this.Get(e,"constructor"),"Object"===this.Type(n)&&b&&h.species&&null===(n=this.Get(n,h.species))&&(n=void 0)),void 0===n)return l(r);if(!this.IsConstructor(n))throw new c("C must be a constructor");return new n(r)},CreateDataProperty:function(e,t,n){if("Object"!==this.Type(e))throw new c("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new c("Assertion failed: IsPropertyKey(P) is not true");var r=K(e,t),o=r||"function"!=typeof W||W(e);return!(!(!r||r.writable&&r.configurable)||!o)&&(U(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}),!0)},CreateDataPropertyOrThrow:function(e,t,n){if("Object"!==this.Type(e))throw new c("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new c("Assertion failed: IsPropertyKey(P) is not true");var r=this.CreateDataProperty(e,t,n);if(!r)throw new c("unable to create data property");return r},ObjectCreate:function(e,t){if(null!==e&&"Object"!==this.Type(e))throw new c("Assertion failed: proto must be null or an object");var n=arguments.length<2?[]:t;if(n.length>0)throw new s("es-abstract does not yet support internal slots");if(null===e&&!B)throw new s("native Object.create support is required to create null objects");return B(e)},AdvanceStringIndex:function(e,t,n){if("String"!==this.Type(e))throw new c("S must be a String");if(!this.IsInteger(t)||t<0||t>g)throw new c("Assertion failed: length must be an integer >= 0 and <= 2**53");if("Boolean"!==this.Type(n))throw new c("Assertion failed: unicode must be a Boolean");if(!n)return t+1;if(t+1>=e.length)return t+1;var r=T(e,t);if(r<55296||r>56319)return t+1;var o=T(e,t+1);return o<56320||o>57343?t+1:t+2},CreateMethodProperty:function(e,t,n){if("Object"!==this.Type(e))throw new c("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new c("Assertion failed: IsPropertyKey(P) is not true");return!!U(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0})},DefinePropertyOrThrow:function(e,t,n){if("Object"!==this.Type(e))throw new c("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new c("Assertion failed: IsPropertyKey(P) is not true");return!!U(e,t,n)},DeletePropertyOrThrow:function(e,t){if("Object"!==this.Type(e))throw new c("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new c("Assertion failed: IsPropertyKey(P) is not true");var n=delete e[t];if(!n)throw new TypeError("Attempt to delete property failed.");return n},EnumerableOwnNames:function(e){if("Object"!==this.Type(e))throw new c("Assertion failed: Type(O) is not Object");return a(e)},thisNumberValue:function(e){return"Number"===this.Type(e)?e:A(e)},thisBooleanValue:function(e){return"Boolean"===this.Type(e)?e:R(e)},thisStringValue:function(e){return"String"===this.Type(e)?e:H(e)},thisTimeValue:function(e){return L(e)}});delete X.CheckObjectCoercible,e.exports=X},function(e,t,n){"use strict";e.exports=n(357)},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,o=n(214),a=n(168),i=n(200),c=n(164),s=function(e,t){if(null==e)throw new TypeError("Cannot call method on "+e);if("string"!=typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"');var n,r,i,c="string"===t?["toString","valueOf"]:["valueOf","toString"];for(i=0;i1&&(arguments[1]===String?n="string":arguments[1]===Number&&(n="number")),r&&(Symbol.toPrimitive?t=l(e,Symbol.toPrimitive):c(e)&&(t=Symbol.prototype.valueOf)),void 0!==t){var a=t.call(e,n);if(o(a))return a;throw new TypeError("unable to convert exotic object to primitive")}return"default"===n&&(i(e)||c(e))&&(n="string"),s(e,"default"===n?"number":n)}},function(e,t){e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},function(e,t,n){"use strict";var r=n(169),o=r("%Object%"),a=r("%TypeError%"),i=r("%String%"),c=n(215),s=n(216),l=n(217),u=n(219),d=n(220),f=n(168),h=n(360),p=n(72),b={ToPrimitive:h,ToBoolean:function(e){return!!e},ToNumber:function(e){return+e},ToInteger:function(e){var t=this.ToNumber(e);return s(t)?0:0!==t&&l(t)?u(t)*Math.floor(Math.abs(t)):t},ToInt32:function(e){return this.ToNumber(e)>>0},ToUint32:function(e){return this.ToNumber(e)>>>0},ToUint16:function(e){var t=this.ToNumber(e);if(s(t)||0===t||!l(t))return 0;var n=u(t)*Math.floor(Math.abs(t));return d(n,65536)},ToString:function(e){return i(e)},ToObject:function(e){return this.CheckObjectCoercible(e),o(e)},CheckObjectCoercible:function(e,t){if(null==e)throw new a(t||"Cannot call method on "+e);return e},IsCallable:f,SameValue:function(e,t){return e===t?0!==e||1/e==1/t:s(e)&&s(t)},Type:function(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":void 0},IsPropertyDescriptor:function(e){if("Object"!==this.Type(e))return!1;var t={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var n in e)if(p(e,n)&&!t[n])return!1;var r=p(e,"[[Value]]"),o=p(e,"[[Get]]")||p(e,"[[Set]]");if(r&&o)throw new a("Property Descriptors may not be both accessor and data descriptors");return!0},IsAccessorDescriptor:function(e){return void 0!==e&&(c(this,"Property Descriptor","Desc",e),!(!p(e,"[[Get]]")&&!p(e,"[[Set]]")))},IsDataDescriptor:function(e){return void 0!==e&&(c(this,"Property Descriptor","Desc",e),!(!p(e,"[[Value]]")&&!p(e,"[[Writable]]")))},IsGenericDescriptor:function(e){return void 0!==e&&(c(this,"Property Descriptor","Desc",e),!this.IsAccessorDescriptor(e)&&!this.IsDataDescriptor(e))},FromPropertyDescriptor:function(e){if(void 0===e)return e;if(c(this,"Property Descriptor","Desc",e),this.IsDataDescriptor(e))return{value:e["[[Value]]"],writable:!!e["[[Writable]]"],enumerable:!!e["[[Enumerable]]"],configurable:!!e["[[Configurable]]"]};if(this.IsAccessorDescriptor(e))return{get:e["[[Get]]"],set:e["[[Set]]"],enumerable:!!e["[[Enumerable]]"],configurable:!!e["[[Configurable]]"]};throw new a("FromPropertyDescriptor must be called with a fully populated Property Descriptor")},ToPropertyDescriptor:function(e){if("Object"!==this.Type(e))throw new a("ToPropertyDescriptor requires an object");var t={};if(p(e,"enumerable")&&(t["[[Enumerable]]"]=this.ToBoolean(e.enumerable)),p(e,"configurable")&&(t["[[Configurable]]"]=this.ToBoolean(e.configurable)),p(e,"value")&&(t["[[Value]]"]=e.value),p(e,"writable")&&(t["[[Writable]]"]=this.ToBoolean(e.writable)),p(e,"get")){var n=e.get;if(void 0!==n&&!this.IsCallable(n))throw new TypeError("getter must be a function");t["[[Get]]"]=n}if(p(e,"set")){var r=e.set;if(void 0!==r&&!this.IsCallable(r))throw new a("setter must be a function");t["[[Set]]"]=r}if((p(t,"[[Get]]")||p(t,"[[Set]]"))&&(p(t,"[[Value]]")||p(t,"[[Writable]]")))throw new a("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}};e.exports=b},function(e,t,n){"use strict";var r=Object.prototype.toString,o=n(214),a=n(168),i=function(e){var t;if((t=arguments.length>1?arguments[1]:"[object Date]"===r.call(e)?String:Number)===String||t===Number){var n,i,c=t===String?["toString","valueOf"]:["valueOf","toString"];for(i=0;i1?i(e,arguments[1]):i(e)}},function(e,t,n){"use strict";var r=n(72),o=RegExp.prototype.exec,a=Object.getOwnPropertyDescriptor,i=Object.prototype.toString,c="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!c)return"[object RegExp]"===i.call(e);var t=a(e,"lastIndex");return!(!t||!r(t,"value"))&&function(e){try{var t=e.lastIndex;return e.lastIndex=0,o.call(e),!0}catch(e){return!1}finally{e.lastIndex=t}}(e)}},function(e,t,n){"use strict";var r=n(221),o=n(77);e.exports=function(){var e=r();return o(Object,{values:e},{values:function(){return Object.values!==e}}),e}},function(e,t,n){"use strict";var r=n(77),o=n(222),a=n(223),i=a(),c=function(e,t){return i.apply(e,[t])};r(c,{getPolyfill:a,implementation:o,shim:n(364)}),e.exports=c},function(e,t,n){"use strict";var r=n(77),o=n(223);e.exports=function(){var e=o();return"undefined"!=typeof document&&(r(document,{contains:e},{contains:function(){return document.contains!==e}}),"undefined"!=typeof Element&&r(Element.prototype,{contains:e},{contains:function(){return Element.prototype.contains!==e}})),e}},function(e,t,n){var r=n(171),o=n(366),a=n(368),i="Expected a function",c=Math.max,s=Math.min;e.exports=function(e,t,n){var l,u,d,f,h,p,b=0,v=!1,m=!1,y=!0;if("function"!=typeof e)throw new TypeError(i);function g(t){var n=l,r=u;return l=u=void 0,b=t,f=e.apply(r,n)}function O(e){var n=e-p;return void 0===p||n>=t||n<0||m&&e-b>=d}function k(){var e=o();if(O(e))return _(e);h=setTimeout(k,function(e){var n=t-(e-p);return m?s(n,d-(e-b)):n}(e))}function _(e){return h=void 0,y&&l?g(e):(l=u=void 0,f)}function w(){var e=o(),n=O(e);if(l=arguments,u=this,p=e,n){if(void 0===h)return function(e){return b=e,h=setTimeout(k,t),v?g(e):f}(p);if(m)return clearTimeout(h),h=setTimeout(k,t),g(p)}return void 0===h&&(h=setTimeout(k,t)),f}return t=a(t)||0,r(n)&&(v=!!n.leading,d=(m="maxWait"in n)?c(a(n.maxWait)||0,t):d,y="trailing"in n?!!n.trailing:y),w.cancel=function(){void 0!==h&&clearTimeout(h),b=0,l=p=u=h=void 0},w.flush=function(){return void 0===h?f:_(o())},w}},function(e,t,n){var r=n(235);e.exports=function(){return r.Date.now()}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(71))},function(e,t,n){var r=n(171),o=n(369),a=NaN,i=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return a;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=s.test(e);return n||l.test(e)?u(e.slice(2),n?2:8):c.test(e)?a:+e}},function(e,t,n){var r=n(370),o=n(373),a="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||o(e)&&r(e)==a}},function(e,t,n){var r=n(236),o=n(371),a=n(372),i="[object Null]",c="[object Undefined]",s=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?c:i:s&&s in Object(e)?o(e):a(e)}},function(e,t,n){var r=n(236),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,c=r?r.toStringTag:void 0;e.exports=function(e){var t=a.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(e){}var o=i.call(e);return r&&(t?e[c]=n:delete e[c]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r;return e?n(e(t.clone())):t};var r=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:a.default.localeData().firstDayOfWeek(),n=function(e,t){return(e.day()-t+7)%7}(e.clone().startOf("month"),t);return Math.ceil((n+e.daysInMonth())/7)};var r,o=n(30),a=(r=o)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return"undefined"!=typeof document&&document.activeElement}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureSingleDatePicker=void 0;var r=Object.assign||function(e){for(var t=1;t=t.length)break;a=t[o++]}else{if((o=t.next()).done)break;a=o.value}var i=a;"function"==typeof i?i(e):i&&(i.current=e)}}:null}function s(e){var t=function(e){return e?e.ownerDocument||e:window.document}(e);return!!t.activeElement&&e.contains(t.activeElement)}var l=n(80);var u="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false'])";function d(e){return e.matches(u)&&function(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0}(e)}function f(e){return e instanceof HTMLButtonElement||e instanceof HTMLInputElement||e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement||e instanceof HTMLAnchorElement||e instanceof HTMLAudioElement||e instanceof HTMLVideoElement}var h=Object(a.a)({name:"Tabbable",compose:l.a,keys:["disabled","focusable","unstable_clickOnEnter","unstable_clickOnSpace"],useOptions:function(e,t){var n=t.disabled,r=e.unstable_clickOnEnter,o=void 0===r||r,a=e.unstable_clickOnSpace,c=void 0===a||a,s=Object(i.a)(e,["unstable_clickOnEnter","unstable_clickOnSpace"]);return Object(i.b)({disabled:n,unstable_clickOnEnter:o,unstable_clickOnSpace:c},s)},useProps:function(e,t){var n=t.ref,o=t.tabIndex,a=t.onClick,l=t.onMouseDown,u=t.onKeyDown,h=t.style,p=Object(i.a)(t,["ref","tabIndex","onClick","onMouseDown","onKeyDown","style"]),b=Object(r.useRef)(null),v=e.disabled&&!e.focusable,m=Object(r.useState)(!0),y=m[0],g=m[1],O=y?o:o||0,k=e.disabled&&!y?Object(i.b)({pointerEvents:"none"},h):h;Object(r.useEffect)((function(){b.current&&!f(b.current)&&g(!1)}),[]);var _=Object(r.useCallback)((function(t){e.disabled?(t.stopPropagation(),t.preventDefault()):a&&a(t)}),[e.disabled,a]),w=Object(r.useCallback)((function(t){if(e.disabled)return t.stopPropagation(),void t.preventDefault();var n,r=t.currentTarget,o=t.target;if(r.contains(o)&&!((n=o)instanceof HTMLInputElement||n instanceof HTMLTextAreaElement||n instanceof HTMLSelectElement)&&!function(e){var t=navigator.userAgent,n=function(e){return-1!==t.indexOf(e)},r=n("Mac"),o=n("Safari")||n("Firefox");return!(r&&o&&e instanceof HTMLButtonElement)}(r)){t.preventDefault();var a=d(o)||o instanceof HTMLLabelElement;s(r)&&r!==o&&a||r.focus()}l&&l(t)}),[e.disabled,l]),j=Object(r.useCallback)((function(t){u&&u(t),e.disabled||f(t.currentTarget)||(e.unstable_clickOnEnter&&"Enter"===t.key||e.unstable_clickOnSpace&&" "===t.key)&&(t.preventDefault(),t.target.dispatchEvent(new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1})))}),[e.disabled,e.unstable_clickOnEnter,e.unstable_clickOnSpace,u]);return Object(i.b)({ref:c(b,n),disabled:v,tabIndex:v?void 0:O,"aria-disabled":e.disabled,onClick:_,onMouseDown:w,onKeyDown:j,style:k},p)}});Object(o.a)({as:"button",useHook:h});function p(){for(var e=arguments.length,t=new Array(e),n=0;n=n.length)break;a=n[o++]}else{if((o=n.next()).done)break;a=o.value}var i=a;i.apply(void 0,arguments)}}),t)}var b=n(68),v=n(69),m=Object(a.a)({name:"Id",compose:l.a,useState:v.a,keys:["id"],useOptions:function(e,t){var n=Object(r.useContext)(b.a),o=Object(r.useState)((function(){return e.unstable_idCountRef?(e.unstable_idCountRef.current+=1,"-"+e.unstable_idCountRef.current):e.baseId?"-"+n(""):""}))[0],a=Object(r.useMemo)((function(){return e.baseId||n()}),[e.baseId,n]),c=e.id||t.id||""+a+o;return Object(i.b)({},e,{id:c})},useProps:function(e,t){var n=void 0===t.id?e.id:t.id;return Object(i.b)({},t,{id:n})}}),y=(Object(o.a)({as:"div",useHook:m}),n(95)),g=Object(a.a)({name:"Rover",compose:[h,m],useState:y.a,keys:["stopId"],useProps:function(e,t){var n=t.ref,o=t.tabIndex,a=void 0===o?0:o,l=t.onFocus,u=t.onKeyDown,d=Object(i.a)(t,["ref","tabIndex","onFocus","onKeyDown"]),f=Object(r.useRef)(null),h=e.stopId||e.id||d.id,b=e.disabled&&!e.focusable,v=null==e.currentId,m=e.currentId===h,y=(e.stops||[])[0]&&e.stops[0].id===h,g=m||y&&v;Object(r.useEffect)((function(){if(!b&&h)return e.register&&e.register(h,f),function(){return e.unregister&&e.unregister(h)}}),[h,b,e.register,e.unregister]),Object(r.useEffect)((function(){f.current&&e.unstable_moves&&m&&!s(f.current)&&f.current.focus()}),[m,e.unstable_moves]);var O=Object(r.useCallback)((function(t){h&&t.currentTarget.contains(t.target)&&e.move(h,!0)}),[e.move,h]),k=Object(r.useMemo)((function(){return function(e){var t=void 0===e?{}:e,n=t.keyMap,r=t.onKey,o=t.stopPropagation,a=t.onKeyDown,i=t.shouldKeyDown,c=void 0===i?function(){return!0}:i,s=t.preventDefault,l=void 0===s||s;return function(e){if(n){var t="function"==typeof n?n(e):n,i="function"==typeof l?l(e):l,s="function"==typeof o?o(e):o;if(e.key in t){var u=t[e.key];if("function"==typeof u&&c(e))return i&&e.preventDefault(),s&&e.stopPropagation(),r&&r(e),void u(e)}a&&a(e)}}}({onKeyDown:u,stopPropagation:!0,shouldKeyDown:function(e){return e.currentTarget.contains(e.target)},keyMap:{ArrowUp:"horizontal"!==e.orientation&&e.previous,ArrowRight:"vertical"!==e.orientation&&e.next,ArrowDown:"horizontal"!==e.orientation&&e.next,ArrowLeft:"vertical"!==e.orientation&&e.previous,Home:e.first,End:e.last,PageUp:e.first,PageDown:e.last}})}),[u,e.orientation,e.previous,e.next,e.first,e.last]);return Object(i.b)({ref:c(f,n),id:h,tabIndex:g?a:-1,onFocus:p(O,l),onKeyDown:k},d)}}),O=(Object(o.a)({as:"button",useHook:g}),n(141));n.d(t,"a",(function(){return k}));var k=Object(a.a)({name:"ToolbarItem",compose:g,useState:O.a});Object(o.a)({as:"button",useHook:k})}]); \ No newline at end of file diff --git a/wp-includes/js/dist/compose.js b/wp-includes/js/dist/compose.js index a3eb8b37b6..66b4e9aecd 100644 --- a/wp-includes/js/dist/compose.js +++ b/wp-includes/js/dist/compose.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["compose"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 372); +/******/ return __webpack_require__(__webpack_require__.s = 420); /******/ }) /************************************************************************/ /******/ ({ @@ -94,7 +94,247 @@ this["wp"] = this["wp"] || {}; this["wp"]["compose"] = /***/ }), -/***/ 12: +/***/ 102: +/***/ (function(module, exports) { + +// shim for using process in browser +var process = module.exports = {}; + +// cached from whatever global is present so that test runners that stub it +// don't break things. But we need to wrap it in a try catch in case it is +// wrapped in strict mode code which doesn't define any globals. It's inside a +// function because try/catches deoptimize in certain engines. + +var cachedSetTimeout; +var cachedClearTimeout; + +function defaultSetTimout() { + throw new Error('setTimeout has not been defined'); +} +function defaultClearTimeout () { + throw new Error('clearTimeout has not been defined'); +} +(function () { + try { + if (typeof setTimeout === 'function') { + cachedSetTimeout = setTimeout; + } else { + cachedSetTimeout = defaultSetTimout; + } + } catch (e) { + cachedSetTimeout = defaultSetTimout; + } + try { + if (typeof clearTimeout === 'function') { + cachedClearTimeout = clearTimeout; + } else { + cachedClearTimeout = defaultClearTimeout; + } + } catch (e) { + cachedClearTimeout = defaultClearTimeout; + } +} ()) +function runTimeout(fun) { + if (cachedSetTimeout === setTimeout) { + //normal enviroments in sane situations + return setTimeout(fun, 0); + } + // if setTimeout wasn't available but was latter defined + if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { + cachedSetTimeout = setTimeout; + return setTimeout(fun, 0); + } + try { + // when when somebody has screwed with setTimeout but no I.E. maddness + return cachedSetTimeout(fun, 0); + } catch(e){ + try { + // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally + return cachedSetTimeout.call(null, fun, 0); + } catch(e){ + // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error + return cachedSetTimeout.call(this, fun, 0); + } + } + + +} +function runClearTimeout(marker) { + if (cachedClearTimeout === clearTimeout) { + //normal enviroments in sane situations + return clearTimeout(marker); + } + // if clearTimeout wasn't available but was latter defined + if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { + cachedClearTimeout = clearTimeout; + return clearTimeout(marker); + } + try { + // when when somebody has screwed with setTimeout but no I.E. maddness + return cachedClearTimeout(marker); + } catch (e){ + try { + // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally + return cachedClearTimeout.call(null, marker); + } catch (e){ + // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. + // Some versions of I.E. have different rules for clearTimeout vs setTimeout + return cachedClearTimeout.call(this, marker); + } + } + + + +} +var queue = []; +var draining = false; +var currentQueue; +var queueIndex = -1; + +function cleanUpNextTick() { + if (!draining || !currentQueue) { + return; + } + draining = false; + if (currentQueue.length) { + queue = currentQueue.concat(queue); + } else { + queueIndex = -1; + } + if (queue.length) { + drainQueue(); + } +} + +function drainQueue() { + if (draining) { + return; + } + var timeout = runTimeout(cleanUpNextTick); + draining = true; + + var len = queue.length; + while(len) { + currentQueue = queue; + queue = []; + while (++queueIndex < len) { + if (currentQueue) { + currentQueue[queueIndex].run(); + } + } + queueIndex = -1; + len = queue.length; + } + currentQueue = null; + draining = false; + runClearTimeout(timeout); +} + +process.nextTick = function (fun) { + var args = new Array(arguments.length - 1); + if (arguments.length > 1) { + for (var i = 1; i < arguments.length; i++) { + args[i - 1] = arguments[i]; + } + } + queue.push(new Item(fun, args)); + if (queue.length === 1 && !draining) { + runTimeout(drainQueue); + } +}; + +// v8 likes predictible objects +function Item(fun, array) { + this.fun = fun; + this.array = array; +} +Item.prototype.run = function () { + this.fun.apply(null, this.array); +}; +process.title = 'browser'; +process.browser = true; +process.env = {}; +process.argv = []; +process.version = ''; // empty string to avoid regexp issues +process.versions = {}; + +function noop() {} + +process.on = noop; +process.addListener = noop; +process.once = noop; +process.off = noop; +process.removeListener = noop; +process.removeAllListeners = noop; +process.emit = noop; +process.prependListener = noop; +process.prependOnceListener = noop; + +process.listeners = function (name) { return [] } + +process.binding = function (name) { + throw new Error('process.binding is not supported'); +}; + +process.cwd = function () { return '/' }; +process.chdir = function (dir) { + throw new Error('process.chdir is not supported'); +}; +process.umask = function() { return 0; }; + + +/***/ }), + +/***/ 108: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useMediaQuery; }); +/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__); + + +/** + * WordPress dependencies + */ + +/** + * Runs a media query and returns its value when it changes. + * + * @param {string} [query] Media Query. + * @return {boolean} return value of the media query. + */ + +function useMediaQuery(query) { + var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useState"])(false), + _useState2 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_useState, 2), + match = _useState2[0], + setMatch = _useState2[1]; + + Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useEffect"])(function () { + if (!query) { + return; + } + + var updateMatch = function updateMatch() { + return setMatch(window.matchMedia(query).matches); + }; + + updateMatch(); + var list = window.matchMedia(query); + list.addListener(updateMatch); + return function () { + list.removeListener(updateMatch); + }; + }, [query]); + return query && match; +} + + +/***/ }), + +/***/ 11: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -119,7 +359,7 @@ function _extends() { /***/ }), -/***/ 13: +/***/ 12: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -142,7 +382,7 @@ function _createClass(Constructor, protoProps, staticProps) { /***/ }), -/***/ 14: +/***/ 13: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -155,7 +395,7 @@ function _classCallCheck(instance, Constructor) { /***/ }), -/***/ 15: +/***/ 14: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -174,7 +414,7 @@ function _possibleConstructorReturn(self, call) { /***/ }), -/***/ 16: +/***/ 15: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -188,7 +428,7 @@ function _getPrototypeOf(o) { /***/ }), -/***/ 17: +/***/ 16: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -229,46 +469,13 @@ function _inherits(subClass, superClass) { /***/ }), -/***/ 208: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var _use_media_query__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(84); -/** - * Internal dependencies - */ - -/** - * Whether or not the user agent is Internet Explorer. - * - * @type {boolean} - */ - -var IS_IE = typeof window !== 'undefined' && window.navigator.userAgent.indexOf('Trident') >= 0; -/** - * Hook returning whether the user has a preference for reduced motion. - * - * @return {boolean} Reduced motion preference value. - */ - -var useReducedMotion = process.env.FORCE_REDUCED_MOTION || IS_IE ? function () { - return true; -} : function () { - return Object(_use_media_query__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])('(prefers-reduced-motion: reduce)'); -}; -/* harmony default export */ __webpack_exports__["a"] = (useReducedMotion); - -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(337))) - -/***/ }), - /***/ 22: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -var arrayWithHoles = __webpack_require__(35); +var arrayWithHoles = __webpack_require__(37); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js function _iterableToArrayLimit(arr, i) { @@ -301,7 +508,7 @@ function _iterableToArrayLimit(arr, i) { return _arr; } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js -var nonIterableRest = __webpack_require__(36); +var nonIterableRest = __webpack_require__(38); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); @@ -314,7 +521,40 @@ function _slicedToArray(arr, i) { /***/ }), -/***/ 227: +/***/ 246: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var _use_media_query__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(108); +/** + * Internal dependencies + */ + +/** + * Whether or not the user agent is Internet Explorer. + * + * @type {boolean} + */ + +var IS_IE = typeof window !== 'undefined' && window.navigator.userAgent.indexOf('Trident') >= 0; +/** + * Hook returning whether the user has a preference for reduced motion. + * + * @return {boolean} Reduced motion preference value. + */ + +var useReducedMotion = process.env.FORCE_REDUCED_MOTION || IS_IE ? function () { + return true; +} : function () { + return Object(_use_media_query__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])('(prefers-reduced-motion: reduce)'); +}; +/* harmony default export */ __webpack_exports__["a"] = (useReducedMotion); + +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(102))) + +/***/ }), + +/***/ 266: /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/*global define:false */ @@ -336,7 +576,7 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/*global define:false */ * Mousetrap is a simple keyboard shortcut library for Javascript with * no external dependencies * - * @version 1.6.3 + * @version 1.6.5 * @url craig.is/killing/mice */ (function(window, document, undefined) { @@ -1386,6 +1626,8 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/*global define:false */ "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; }); function _typeof(obj) { + "@babel/helpers - typeof"; + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; @@ -1401,7 +1643,29 @@ function _typeof(obj) { /***/ }), -/***/ 336: +/***/ 37: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; }); +function _arrayWithHoles(arr) { + if (Array.isArray(arr)) return arr; +} + +/***/ }), + +/***/ 38: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; }); +function _nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance"); +} + +/***/ }), + +/***/ 386: /***/ (function(module, exports) { /** @@ -1414,6 +1678,9 @@ function _typeof(obj) { */ /* global Mousetrap:true */ (function(Mousetrap) { + if (! Mousetrap) { + return; + } var _globalCallbacks = {}; var _originalStopCallback = Mousetrap.prototype.stopCallback; @@ -1446,225 +1713,12 @@ function _typeof(obj) { }; Mousetrap.init(); -}) (Mousetrap); +}) (typeof Mousetrap !== "undefined" ? Mousetrap : undefined); /***/ }), -/***/ 337: -/***/ (function(module, exports) { - -// shim for using process in browser -var process = module.exports = {}; - -// cached from whatever global is present so that test runners that stub it -// don't break things. But we need to wrap it in a try catch in case it is -// wrapped in strict mode code which doesn't define any globals. It's inside a -// function because try/catches deoptimize in certain engines. - -var cachedSetTimeout; -var cachedClearTimeout; - -function defaultSetTimout() { - throw new Error('setTimeout has not been defined'); -} -function defaultClearTimeout () { - throw new Error('clearTimeout has not been defined'); -} -(function () { - try { - if (typeof setTimeout === 'function') { - cachedSetTimeout = setTimeout; - } else { - cachedSetTimeout = defaultSetTimout; - } - } catch (e) { - cachedSetTimeout = defaultSetTimout; - } - try { - if (typeof clearTimeout === 'function') { - cachedClearTimeout = clearTimeout; - } else { - cachedClearTimeout = defaultClearTimeout; - } - } catch (e) { - cachedClearTimeout = defaultClearTimeout; - } -} ()) -function runTimeout(fun) { - if (cachedSetTimeout === setTimeout) { - //normal enviroments in sane situations - return setTimeout(fun, 0); - } - // if setTimeout wasn't available but was latter defined - if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { - cachedSetTimeout = setTimeout; - return setTimeout(fun, 0); - } - try { - // when when somebody has screwed with setTimeout but no I.E. maddness - return cachedSetTimeout(fun, 0); - } catch(e){ - try { - // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally - return cachedSetTimeout.call(null, fun, 0); - } catch(e){ - // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error - return cachedSetTimeout.call(this, fun, 0); - } - } - - -} -function runClearTimeout(marker) { - if (cachedClearTimeout === clearTimeout) { - //normal enviroments in sane situations - return clearTimeout(marker); - } - // if clearTimeout wasn't available but was latter defined - if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { - cachedClearTimeout = clearTimeout; - return clearTimeout(marker); - } - try { - // when when somebody has screwed with setTimeout but no I.E. maddness - return cachedClearTimeout(marker); - } catch (e){ - try { - // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally - return cachedClearTimeout.call(null, marker); - } catch (e){ - // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. - // Some versions of I.E. have different rules for clearTimeout vs setTimeout - return cachedClearTimeout.call(this, marker); - } - } - - - -} -var queue = []; -var draining = false; -var currentQueue; -var queueIndex = -1; - -function cleanUpNextTick() { - if (!draining || !currentQueue) { - return; - } - draining = false; - if (currentQueue.length) { - queue = currentQueue.concat(queue); - } else { - queueIndex = -1; - } - if (queue.length) { - drainQueue(); - } -} - -function drainQueue() { - if (draining) { - return; - } - var timeout = runTimeout(cleanUpNextTick); - draining = true; - - var len = queue.length; - while(len) { - currentQueue = queue; - queue = []; - while (++queueIndex < len) { - if (currentQueue) { - currentQueue[queueIndex].run(); - } - } - queueIndex = -1; - len = queue.length; - } - currentQueue = null; - draining = false; - runClearTimeout(timeout); -} - -process.nextTick = function (fun) { - var args = new Array(arguments.length - 1); - if (arguments.length > 1) { - for (var i = 1; i < arguments.length; i++) { - args[i - 1] = arguments[i]; - } - } - queue.push(new Item(fun, args)); - if (queue.length === 1 && !draining) { - runTimeout(drainQueue); - } -}; - -// v8 likes predictible objects -function Item(fun, array) { - this.fun = fun; - this.array = array; -} -Item.prototype.run = function () { - this.fun.apply(null, this.array); -}; -process.title = 'browser'; -process.browser = true; -process.env = {}; -process.argv = []; -process.version = ''; // empty string to avoid regexp issues -process.versions = {}; - -function noop() {} - -process.on = noop; -process.addListener = noop; -process.once = noop; -process.off = noop; -process.removeListener = noop; -process.removeAllListeners = noop; -process.emit = noop; -process.prependListener = noop; -process.prependOnceListener = noop; - -process.listeners = function (name) { return [] } - -process.binding = function (name) { - throw new Error('process.binding is not supported'); -}; - -process.cwd = function () { return '/' }; -process.chdir = function (dir) { - throw new Error('process.chdir is not supported'); -}; -process.umask = function() { return 0; }; - - -/***/ }), - -/***/ 35: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; }); -function _arrayWithHoles(arr) { - if (Array.isArray(arr)) return arr; -} - -/***/ }), - -/***/ 36: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; }); -function _nonIterableRest() { - throw new TypeError("Invalid attempt to destructure non-iterable instance"); -} - -/***/ }), - -/***/ 372: +/***/ 420: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -1752,22 +1806,22 @@ var if_condition_ifCondition = function ifCondition(predicate) { /* harmony default export */ var if_condition = (if_condition_ifCondition); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js -var classCallCheck = __webpack_require__(14); +var classCallCheck = __webpack_require__(13); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(13); +var createClass = __webpack_require__(12); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js -var possibleConstructorReturn = __webpack_require__(15); +var possibleConstructorReturn = __webpack_require__(14); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js -var getPrototypeOf = __webpack_require__(16); +var getPrototypeOf = __webpack_require__(15); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules -var inherits = __webpack_require__(17); +var inherits = __webpack_require__(16); // EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]} -var external_this_wp_isShallowEqual_ = __webpack_require__(46); +var external_this_wp_isShallowEqual_ = __webpack_require__(50); var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_); // CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/pure/index.js @@ -1855,7 +1909,7 @@ var pure = create_higher_order_component(function (Wrapped) { /* harmony default export */ var higher_order_pure = (pure); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(12); +var esm_extends = __webpack_require__(11); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js var assertThisInitialized = __webpack_require__(7); @@ -2279,12 +2333,86 @@ function withState() { }, 'withState'); } +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(22); + +// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-dragging/index.js + + +/** + * WordPress dependencies + */ + +var useIsomorphicLayoutEffect = typeof window !== 'undefined' ? external_this_wp_element_["useLayoutEffect"] : external_this_wp_element_["useEffect"]; +function useDragging(_ref) { + var onDragStart = _ref.onDragStart, + onDragMove = _ref.onDragMove, + onDragEnd = _ref.onDragEnd; + + var _useState = Object(external_this_wp_element_["useState"])(false), + _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2), + isDragging = _useState2[0], + setIsDragging = _useState2[1]; + + var eventsRef = Object(external_this_wp_element_["useRef"])({ + onDragStart: onDragStart, + onDragMove: onDragMove, + onDragEnd: onDragEnd + }); + useIsomorphicLayoutEffect(function () { + eventsRef.current.onDragStart = onDragStart; + eventsRef.current.onDragMove = onDragMove; + eventsRef.current.onDragEnd = onDragEnd; + }, [onDragStart, onDragMove, onDragEnd]); + var onMouseMove = Object(external_this_wp_element_["useCallback"])(function () { + var _eventsRef$current; + + return eventsRef.current.onDragMove && (_eventsRef$current = eventsRef.current).onDragMove.apply(_eventsRef$current, arguments); + }, []); + var endDrag = Object(external_this_wp_element_["useCallback"])(function () { + if (eventsRef.current.onDragEnd) { + var _eventsRef$current2; + + (_eventsRef$current2 = eventsRef.current).onDragEnd.apply(_eventsRef$current2, arguments); + } + + document.removeEventListener('mousemove', onMouseMove); + document.removeEventListener('mouseup', endDrag); + setIsDragging(false); + }, []); + var startDrag = Object(external_this_wp_element_["useCallback"])(function () { + if (eventsRef.current.onDragStart) { + var _eventsRef$current3; + + (_eventsRef$current3 = eventsRef.current).onDragStart.apply(_eventsRef$current3, arguments); + } + + document.addEventListener('mousemove', onMouseMove); + document.addEventListener('mouseup', endDrag); + setIsDragging(true); + }, []); // Remove the global events when unmounting if needed. + + Object(external_this_wp_element_["useEffect"])(function () { + return function () { + if (isDragging) { + document.removeEventListener('mousemove', onMouseMove); + document.removeEventListener('mouseup', endDrag); + } + }; + }, [isDragging]); + return { + startDrag: startDrag, + endDrag: endDrag, + isDragging: isDragging + }; +} + // EXTERNAL MODULE: ./node_modules/mousetrap/mousetrap.js -var mousetrap_mousetrap = __webpack_require__(227); +var mousetrap_mousetrap = __webpack_require__(266); var mousetrap_default = /*#__PURE__*/__webpack_require__.n(mousetrap_mousetrap); // EXTERNAL MODULE: ./node_modules/mousetrap/plugins/global-bind/mousetrap-global-bind.js -var mousetrap_global_bind = __webpack_require__(336); +var mousetrap_global_bind = __webpack_require__(386); // CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-keyboard-shortcut/index.js /** @@ -2375,10 +2503,10 @@ function useKeyboardShortcut(shortcuts, callback) { /* harmony default export */ var use_keyboard_shortcut = (useKeyboardShortcut); // EXTERNAL MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-media-query/index.js -var use_media_query = __webpack_require__(84); +var use_media_query = __webpack_require__(108); // EXTERNAL MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-reduced-motion/index.js -var use_reduced_motion = __webpack_require__(208); +var use_reduced_motion = __webpack_require__(246); // CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-viewport-match/index.js /** @@ -2480,6 +2608,7 @@ use_viewport_match_useViewportMatch.__experimentalWidthProvider = ViewportMatchW /* concated harmony reexport withInstanceId */__webpack_require__.d(__webpack_exports__, "withInstanceId", function() { return with_instance_id; }); /* concated harmony reexport withSafeTimeout */__webpack_require__.d(__webpack_exports__, "withSafeTimeout", function() { return with_safe_timeout; }); /* concated harmony reexport withState */__webpack_require__.d(__webpack_exports__, "withState", function() { return withState; }); +/* concated harmony reexport __experimentalUseDragging */__webpack_require__.d(__webpack_exports__, "__experimentalUseDragging", function() { return useDragging; }); /* concated harmony reexport useInstanceId */__webpack_require__.d(__webpack_exports__, "useInstanceId", function() { return useInstanceId; }); /* concated harmony reexport useKeyboardShortcut */__webpack_require__.d(__webpack_exports__, "useKeyboardShortcut", function() { return use_keyboard_shortcut; }); /* concated harmony reexport useMediaQuery */__webpack_require__.d(__webpack_exports__, "useMediaQuery", function() { return use_media_query["a" /* default */]; }); @@ -2504,9 +2633,10 @@ use_viewport_match_useViewportMatch.__experimentalWidthProvider = ViewportMatchW + /***/ }), -/***/ 46: +/***/ 50: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["isShallowEqual"]; }()); @@ -2526,55 +2656,6 @@ function _assertThisInitialized(self) { return self; } -/***/ }), - -/***/ 84: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useMediaQuery; }); -/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22); -/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0); -/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__); - - -/** - * WordPress dependencies - */ - -/** - * Runs a media query and returns its value when it changes. - * - * @param {string} [query] Media Query. - * @return {boolean} return value of the media query. - */ - -function useMediaQuery(query) { - var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useState"])(false), - _useState2 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_useState, 2), - match = _useState2[0], - setMatch = _useState2[1]; - - Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useEffect"])(function () { - if (!query) { - return; - } - - var updateMatch = function updateMatch() { - return setMatch(window.matchMedia(query).matches); - }; - - updateMatch(); - var list = window.matchMedia(query); - list.addListener(updateMatch); - return function () { - list.removeListener(updateMatch); - }; - }, [query]); - return query && match; -} - - /***/ }) /******/ }); \ No newline at end of file diff --git a/wp-includes/js/dist/compose.min.js b/wp-includes/js/dist/compose.min.js index 1cf7d80e2c..c67acdfbc9 100644 --- a/wp-includes/js/dist/compose.min.js +++ b/wp-includes/js/dist/compose.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.compose=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=372)}({0:function(t,e){!function(){t.exports=this.wp.element}()},12:function(t,e,n){"use strict";function r(){return(r=Object.assign||function(t){for(var e=1;e=0,o=t.env.FORCE_REDUCED_MOTION||i?function(){return!0}:function(){return Object(r.a)("(prefers-reduced-motion: reduce)")};e.a=o}).call(this,n(337))},22:function(t,e,n){"use strict";var r=n(35);var i=n(36);function o(t,e){return Object(r.a)(t)||function(t,e){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var u,c=t[Symbol.iterator]();!(r=(u=c.next()).done)&&(n.push(u.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}}(t,e)||Object(i.a)()}n.d(e,"a",(function(){return o}))},227:function(t,e,n){var r;!function(i,o,u){if(i){for(var c,a={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"},s={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},f={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},l={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},p=1;p<20;++p)a[111+p]="f"+p;for(p=0;p<=9;++p)a[p+96]=p.toString();m.prototype.bind=function(t,e,n){return t=t instanceof Array?t:[t],this._bindMultiple.call(this,t,e,n),this},m.prototype.unbind=function(t,e){return this.bind.call(this,t,(function(){}),e)},m.prototype.trigger=function(t,e){return this._directMap[t+":"+e]&&this._directMap[t+":"+e]({},t),this},m.prototype.reset=function(){return this._callbacks={},this._directMap={},this},m.prototype.stopCallback=function(t,e){if((" "+e.className+" ").indexOf(" mousetrap ")>-1)return!1;if(function t(e,n){return null!==e&&e!==o&&(e===n||t(e.parentNode,n))}(e,this.target))return!1;if("composedPath"in t&&"function"==typeof t.composedPath){var n=t.composedPath()[0];n!==t.target&&(e=n)}return"INPUT"==e.tagName||"SELECT"==e.tagName||"TEXTAREA"==e.tagName||e.isContentEditable},m.prototype.handleKey=function(){var t=this;return t._handleKey.apply(t,arguments)},m.addKeycodes=function(t){for(var e in t)t.hasOwnProperty(e)&&(a[e]=t[e]);c=null},m.init=function(){var t=m(o);for(var e in t)"_"!==e.charAt(0)&&(m[e]=function(e){return function(){return t[e].apply(t,arguments)}}(e))},m.init(),i.Mousetrap=m,t.exports&&(t.exports=m),void 0===(r=function(){return m}.call(e,n,e,t))||(t.exports=r)}function h(t,e,n){t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent("on"+e,n)}function d(t){if("keypress"==t.type){var e=String.fromCharCode(t.which);return t.shiftKey||(e=e.toLowerCase()),e}return a[t.which]?a[t.which]:s[t.which]?s[t.which]:String.fromCharCode(t.which).toLowerCase()}function b(t){return"shift"==t||"ctrl"==t||"alt"==t||"meta"==t}function y(t,e,n){return n||(n=function(){if(!c)for(var t in c={},a)t>95&&t<112||a.hasOwnProperty(t)&&(c[a[t]]=t);return c}()[t]?"keydown":"keypress"),"keypress"==n&&e.length&&(n="keydown"),n}function v(t,e){var n,r,i,o=[];for(n=function(t){return"+"===t?["+"]:(t=t.replace(/\+{2}/g,"+plus")).split("+")}(t),i=0;i1?p(t,c,n,r):(u=v(t,r),e._callbacks[u.key]=e._callbacks[u.key]||[],s(u.key,u.modifiers,{type:u.action},i,t,o),e._callbacks[u.key][i?"unshift":"push"]({callback:n,modifiers:u.modifiers,action:u.action,seq:i,level:o,combo:t}))}e._handleKey=function(t,e,n){var r,i=s(t,e,n),o={},l=0,p=!1;for(r=0;r1)for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{};return i((function(e){return function(n){function r(){var e;return Object(a.a)(this,r),(e=Object(f.a)(this,Object(l.a)(r).apply(this,arguments))).setState=e.setState.bind(Object(v.a)(e)),e.state=t,e}return Object(p.a)(r,n),Object(s.a)(r,[{key:"render",value:function(){return Object(u.createElement)(e,Object(y.a)({},this.props,this.state,{setState:this.setState}))}}]),r}(u.Component)}),"withState")}var T=n(227),_=n.n(T);n(336);var S=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.bindGlobal,o=void 0!==i&&i,c=n.eventName,a=void 0===c?"keydown":c,s=n.isDisabled,f=void 0!==s&&s,l=n.target;Object(u.useEffect)((function(){if(!f){var n=new _.a(l?l.current:document);return Object(r.castArray)(t).forEach((function(t){var i=t.split("+"),u=new Set(i.filter((function(t){return t.length>1}))),c=u.has("alt"),s=u.has("shift");if(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window).navigator.platform;return-1!==t.indexOf("Mac")||Object(r.includes)(["iPad","iPhone"],t)}()&&(1===u.size&&c||2===u.size&&c&&s))throw new Error("Cannot bind ".concat(t,". Alt and Shift+Alt modifiers are reserved for character input."));n[o?"bindGlobal":"bind"](t,e,a)})),function(){n.reset()}}}),[t,o,a,e,l,f])},C=n(84),P=n(208),M={huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},x={">=":"min-width","<":"max-width"},R={">=":function(t,e){return e>=t},"<":function(t,e){return e1&&void 0!==arguments[1]?arguments[1]:">=",n=Object(u.useContext)(A),r=!n&&"(".concat(x[e],": ").concat(M[t],"px)"),i=Object(C.a)(r);return n?R[e](M[t],n):i};L.__experimentalWidthProvider=A.Provider;var K=L;n.d(e,"createHigherOrderComponent",(function(){return i})),n.d(e,"compose",(function(){return o})),n.d(e,"ifCondition",(function(){return c})),n.d(e,"pure",(function(){return b})),n.d(e,"withGlobalEvents",(function(){return w})),n.d(e,"withInstanceId",(function(){return g})),n.d(e,"withSafeTimeout",(function(){return k})),n.d(e,"withState",(function(){return E})),n.d(e,"useInstanceId",(function(){return j})),n.d(e,"useKeyboardShortcut",(function(){return S})),n.d(e,"useMediaQuery",(function(){return C.a})),n.d(e,"useReducedMotion",(function(){return P.a})),n.d(e,"useViewportMatch",(function(){return K}))},46:function(t,e){!function(){t.exports=this.wp.isShallowEqual}()},7:function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return r}))},84:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(22),i=n(0);function o(t){var e=Object(i.useState)(!1),n=Object(r.a)(e,2),o=n[0],u=n[1];return Object(i.useEffect)((function(){if(t){var e=function(){return u(window.matchMedia(t).matches)};e();var n=window.matchMedia(t);return n.addListener(e),function(){n.removeListener(e)}}}),[t]),t&&o}}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.compose=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=420)}({0:function(t,e){!function(){t.exports=this.wp.element}()},102:function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function c(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:u}catch(t){r=u}}();var a,s=[],f=!1,l=-1;function p(){f&&a&&(f=!1,a.length?s=a.concat(s):l=-1,s.length&&d())}function d(){if(!f){var t=c(p);f=!0;for(var e=s.length;e;){for(a=s,s=[];++l1)for(var n=1;n=0,i=t.env.FORCE_REDUCED_MOTION||o?function(){return!0}:function(){return Object(r.a)("(prefers-reduced-motion: reduce)")};e.a=i}).call(this,n(102))},266:function(t,e,n){var r;!function(o,i,u){if(o){for(var c,a={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"},s={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},f={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},l={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},p=1;p<20;++p)a[111+p]="f"+p;for(p=0;p<=9;++p)a[p+96]=p.toString();y.prototype.bind=function(t,e,n){return t=t instanceof Array?t:[t],this._bindMultiple.call(this,t,e,n),this},y.prototype.unbind=function(t,e){return this.bind.call(this,t,(function(){}),e)},y.prototype.trigger=function(t,e){return this._directMap[t+":"+e]&&this._directMap[t+":"+e]({},t),this},y.prototype.reset=function(){return this._callbacks={},this._directMap={},this},y.prototype.stopCallback=function(t,e){if((" "+e.className+" ").indexOf(" mousetrap ")>-1)return!1;if(function t(e,n){return null!==e&&e!==i&&(e===n||t(e.parentNode,n))}(e,this.target))return!1;if("composedPath"in t&&"function"==typeof t.composedPath){var n=t.composedPath()[0];n!==t.target&&(e=n)}return"INPUT"==e.tagName||"SELECT"==e.tagName||"TEXTAREA"==e.tagName||e.isContentEditable},y.prototype.handleKey=function(){var t=this;return t._handleKey.apply(t,arguments)},y.addKeycodes=function(t){for(var e in t)t.hasOwnProperty(e)&&(a[e]=t[e]);c=null},y.init=function(){var t=y(i);for(var e in t)"_"!==e.charAt(0)&&(y[e]=function(e){return function(){return t[e].apply(t,arguments)}}(e))},y.init(),o.Mousetrap=y,t.exports&&(t.exports=y),void 0===(r=function(){return y}.call(e,n,e,t))||(t.exports=r)}function d(t,e,n){t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent("on"+e,n)}function h(t){if("keypress"==t.type){var e=String.fromCharCode(t.which);return t.shiftKey||(e=e.toLowerCase()),e}return a[t.which]?a[t.which]:s[t.which]?s[t.which]:String.fromCharCode(t.which).toLowerCase()}function b(t){return"shift"==t||"ctrl"==t||"alt"==t||"meta"==t}function v(t,e,n){return n||(n=function(){if(!c)for(var t in c={},a)t>95&&t<112||a.hasOwnProperty(t)&&(c[a[t]]=t);return c}()[t]?"keydown":"keypress"),"keypress"==n&&e.length&&(n="keydown"),n}function m(t,e){var n,r,o,i=[];for(n=function(t){return"+"===t?["+"]:(t=t.replace(/\+{2}/g,"+plus")).split("+")}(t),o=0;o1?p(t,c,n,r):(u=m(t,r),e._callbacks[u.key]=e._callbacks[u.key]||[],s(u.key,u.modifiers,{type:u.action},o,t,i),e._callbacks[u.key][o?"unshift":"push"]({callback:n,modifiers:u.modifiers,action:u.action,seq:o,level:i,combo:t}))}e._handleKey=function(t,e,n){var r,o=s(t,e,n),i={},l=0,p=!1;for(r=0;r0&&void 0!==arguments[0]?arguments[0]:{};return o((function(e){return function(n){function r(){var e;return Object(a.a)(this,r),(e=Object(f.a)(this,Object(l.a)(r).apply(this,arguments))).setState=e.setState.bind(Object(m.a)(e)),e.state=t,e}return Object(p.a)(r,n),Object(s.a)(r,[{key:"render",value:function(){return Object(u.createElement)(e,Object(v.a)({},this.props,this.state,{setState:this.setState}))}}]),r}(u.Component)}),"withState")}var T=n(22),S="undefined"!=typeof window?u.useLayoutEffect:u.useEffect;function _(t){var e=t.onDragStart,n=t.onDragMove,r=t.onDragEnd,o=Object(u.useState)(!1),i=Object(T.a)(o,2),c=i[0],a=i[1],s=Object(u.useRef)({onDragStart:e,onDragMove:n,onDragEnd:r});S((function(){s.current.onDragStart=e,s.current.onDragMove=n,s.current.onDragEnd=r}),[e,n,r]);var f=Object(u.useCallback)((function(){var t;return s.current.onDragMove&&(t=s.current).onDragMove.apply(t,arguments)}),[]),l=Object(u.useCallback)((function(){var t;s.current.onDragEnd&&(t=s.current).onDragEnd.apply(t,arguments);document.removeEventListener("mousemove",f),document.removeEventListener("mouseup",l),a(!1)}),[]),p=Object(u.useCallback)((function(){var t;s.current.onDragStart&&(t=s.current).onDragStart.apply(t,arguments);document.addEventListener("mousemove",f),document.addEventListener("mouseup",l),a(!0)}),[]);return Object(u.useEffect)((function(){return function(){c&&(document.removeEventListener("mousemove",f),document.removeEventListener("mouseup",l))}}),[c]),{startDrag:p,endDrag:l,isDragging:c}}var C=n(266),M=n.n(C);n(386);var P=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.bindGlobal,i=void 0!==o&&o,c=n.eventName,a=void 0===c?"keydown":c,s=n.isDisabled,f=void 0!==s&&s,l=n.target;Object(u.useEffect)((function(){if(!f){var n=new M.a(l?l.current:document);return Object(r.castArray)(t).forEach((function(t){var o=t.split("+"),u=new Set(o.filter((function(t){return t.length>1}))),c=u.has("alt"),s=u.has("shift");if(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window).navigator.platform;return-1!==t.indexOf("Mac")||Object(r.includes)(["iPad","iPhone"],t)}()&&(1===u.size&&c||2===u.size&&c&&s))throw new Error("Cannot bind ".concat(t,". Alt and Shift+Alt modifiers are reserved for character input."));n[i?"bindGlobal":"bind"](t,e,a)})),function(){n.reset()}}}),[t,i,a,e,l,f])},x=n(108),D=n(246),L={huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},R={">=":"min-width","<":"max-width"},A={">=":function(t,e){return e>=t},"<":function(t,e){return e1&&void 0!==arguments[1]?arguments[1]:">=",n=Object(u.useContext)(K),r=!n&&"(".concat(R[e],": ").concat(L[t],"px)"),o=Object(x.a)(r);return n?A[e](L[t],n):o};I.__experimentalWidthProvider=K.Provider;var N=I;n.d(e,"createHigherOrderComponent",(function(){return o})),n.d(e,"compose",(function(){return i})),n.d(e,"ifCondition",(function(){return c})),n.d(e,"pure",(function(){return b})),n.d(e,"withGlobalEvents",(function(){return O})),n.d(e,"withInstanceId",(function(){return j})),n.d(e,"withSafeTimeout",(function(){return k})),n.d(e,"withState",(function(){return E})),n.d(e,"__experimentalUseDragging",(function(){return _})),n.d(e,"useInstanceId",(function(){return g})),n.d(e,"useKeyboardShortcut",(function(){return P})),n.d(e,"useMediaQuery",(function(){return x.a})),n.d(e,"useReducedMotion",(function(){return D.a})),n.d(e,"useViewportMatch",(function(){return N}))},50:function(t,e){!function(){t.exports=this.wp.isShallowEqual}()},7:function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return r}))}}); \ No newline at end of file diff --git a/wp-includes/js/dist/core-data.js b/wp-includes/js/dist/core-data.js index 5a49cc5f7f..e771570408 100644 --- a/wp-includes/js/dist/core-data.js +++ b/wp-includes/js/dist/core-data.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["coreData"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 370); +/******/ return __webpack_require__(__webpack_require__.s = 418); /******/ }) /************************************************************************/ /******/ ({ @@ -94,7 +94,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["coreData"] = /***/ }), -/***/ 18: +/***/ 17: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -110,7 +110,7 @@ function _arrayWithoutHoles(arr) { } } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(31); +var iterableToArray = __webpack_require__(33); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js function _nonIterableSpread() { @@ -140,7 +140,7 @@ function _toConsumableArray(arr) { "use strict"; // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -var arrayWithHoles = __webpack_require__(35); +var arrayWithHoles = __webpack_require__(37); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js function _iterableToArrayLimit(arr, i) { @@ -173,7 +173,7 @@ function _iterableToArrayLimit(arr, i) { return _arr; } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js -var nonIterableRest = __webpack_require__(36); +var nonIterableRest = __webpack_require__(38); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); @@ -193,14 +193,14 @@ function _slicedToArray(arr, i) { /***/ }), -/***/ 25: +/***/ 26: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["url"]; }()); /***/ }), -/***/ 31: +/***/ 33: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -211,14 +211,14 @@ function _iterableToArray(iter) { /***/ }), -/***/ 33: +/***/ 35: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["deprecated"]; }()); /***/ }), -/***/ 34: +/***/ 36: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -500,7 +500,7 @@ function isShallowEqual( a, b, fromIndex ) { /***/ }), -/***/ 35: +/***/ 37: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -511,7 +511,7 @@ function _arrayWithHoles(arr) { /***/ }), -/***/ 36: +/***/ 38: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -522,7 +522,21 @@ function _nonIterableRest() { /***/ }), -/***/ 370: +/***/ 4: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["data"]; }()); + +/***/ }), + +/***/ 40: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["apiFetch"]; }()); + +/***/ }), + +/***/ 418: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -553,6 +567,7 @@ __webpack_require__.d(build_module_selectors_namespaceObject, "getUserQueryResul __webpack_require__.d(build_module_selectors_namespaceObject, "getEntitiesByKind", function() { return getEntitiesByKind; }); __webpack_require__.d(build_module_selectors_namespaceObject, "getEntity", function() { return selectors_getEntity; }); __webpack_require__.d(build_module_selectors_namespaceObject, "getEntityRecord", function() { return getEntityRecord; }); +__webpack_require__.d(build_module_selectors_namespaceObject, "getEntityRecordNoResolver", function() { return getEntityRecordNoResolver; }); __webpack_require__.d(build_module_selectors_namespaceObject, "getRawEntityRecord", function() { return getRawEntityRecord; }); __webpack_require__.d(build_module_selectors_namespaceObject, "getEntityRecords", function() { return getEntityRecords; }); __webpack_require__.d(build_module_selectors_namespaceObject, "getEntityRecordChangesByRecord", function() { return getEntityRecordChangesByRecord; }); @@ -589,8 +604,8 @@ __webpack_require__.d(resolvers_namespaceObject, "canUser", function() { return __webpack_require__.d(resolvers_namespaceObject, "getAutosaves", function() { return resolvers_getAutosaves; }); __webpack_require__.d(resolvers_namespaceObject, "getAutosave", function() { return resolvers_getAutosave; }); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js -var objectSpread = __webpack_require__(6); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(5); // EXTERNAL MODULE: external {"this":["wp","data"]} var external_this_wp_data_ = __webpack_require__(4); @@ -599,16 +614,13 @@ var external_this_wp_data_ = __webpack_require__(4); var slicedToArray = __webpack_require__(22); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(18); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(9); +var toConsumableArray = __webpack_require__(17); // EXTERNAL MODULE: external {"this":"lodash"} var external_this_lodash_ = __webpack_require__(2); // EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]} -var external_this_wp_isShallowEqual_ = __webpack_require__(46); +var external_this_wp_isShallowEqual_ = __webpack_require__(50); var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_); // CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/conservative-map-item.js @@ -679,6 +691,9 @@ var ifMatchingAction = function ifMatchingAction(isMatch) { // CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/on-sub-key.js +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * Higher-order reducer creator which creates a combined reducer object, keyed @@ -709,7 +724,7 @@ var on_sub_key_onSubKey = function onSubKey(actionProperty) { return state; } - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, key, nextKeyState)); + return _objectSpread({}, state, Object(defineProperty["a" /* default */])({}, key, nextKeyState)); }; }; }; @@ -782,6 +797,10 @@ function withWeakMapCache(fn) { // CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/queried-data/actions.js +function actions_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function actions_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { actions_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { actions_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -812,20 +831,20 @@ function receiveItems(items) { function receiveQueriedItems(items) { var query = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - return Object(objectSpread["a" /* default */])({}, receiveItems(items), { + return actions_objectSpread({}, receiveItems(items), { query: query }); } // EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js -var rememo = __webpack_require__(34); +var rememo = __webpack_require__(36); // EXTERNAL MODULE: ./node_modules/equivalent-key-map/equivalent-key-map.js -var equivalent_key_map = __webpack_require__(57); +var equivalent_key_map = __webpack_require__(62); var equivalent_key_map_default = /*#__PURE__*/__webpack_require__.n(equivalent_key_map); // EXTERNAL MODULE: external {"this":["wp","url"]} -var external_this_wp_url_ = __webpack_require__(25); +var external_this_wp_url_ = __webpack_require__(26); // CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/queried-data/get-query-parts.js @@ -997,7 +1016,7 @@ var external_this_regeneratorRuntime_ = __webpack_require__(23); var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_this_regeneratorRuntime_); // EXTERNAL MODULE: external {"this":["wp","apiFetch"]} -var external_this_wp_apiFetch_ = __webpack_require__(38); +var external_this_wp_apiFetch_ = __webpack_require__(40); var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_); // CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/controls.js @@ -1092,6 +1111,7 @@ var controls = { + var _marked = /*#__PURE__*/ external_this_regeneratorRuntime_default.a.mark(actions_editEntityRecord), @@ -1108,6 +1128,10 @@ external_this_regeneratorRuntime_default.a.mark(actions_saveEntityRecord), /*#__PURE__*/ external_this_regeneratorRuntime_default.a.mark(saveEditedEntityRecord); +function build_module_actions_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function build_module_actions_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { build_module_actions_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { build_module_actions_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -1182,7 +1206,7 @@ function receiveEntityRecords(kind, name, records, query) { // on the server. if (kind === 'postType') { records = Object(external_this_lodash_["castArray"])(records).map(function (record) { - return record.status === 'auto-draft' ? Object(objectSpread["a" /* default */])({}, record, { + return record.status === 'auto-draft' ? build_module_actions_objectSpread({}, record, { title: '' }) : record; }); @@ -1196,7 +1220,7 @@ function receiveEntityRecords(kind, name, records, query) { action = receiveItems(records); } - return Object(objectSpread["a" /* default */])({}, action, { + return build_module_actions_objectSpread({}, action, { kind: kind, name: name, invalidateCache: invalidateCache @@ -1298,17 +1322,17 @@ function actions_editEntityRecord(kind, name, recordId, edits) { edits: Object.keys(edits).reduce(function (acc, key) { var recordValue = record[key]; var editedRecordValue = editedRecord[key]; - var value = mergedEdits[key] ? Object(objectSpread["a" /* default */])({}, editedRecordValue, edits[key]) : edits[key]; + var value = mergedEdits[key] ? build_module_actions_objectSpread({}, editedRecordValue, {}, edits[key]) : edits[key]; acc[key] = Object(external_this_lodash_["isEqual"])(recordValue, value) ? undefined : value; return acc; }, {}), transientEdits: transientEdits }; - return _context.abrupt("return", Object(objectSpread["a" /* default */])({ + return _context.abrupt("return", build_module_actions_objectSpread({ type: 'EDIT_ENTITY_RECORD' }, edit, { meta: { - undo: !options.undoIgnore && Object(objectSpread["a" /* default */])({}, edit, { + undo: !options.undoIgnore && build_module_actions_objectSpread({}, edit, { // Send the current values for things like the first undo stack entry. edits: Object.keys(edits).reduce(function (acc, key) { acc[key] = editedRecord[key]; @@ -1351,7 +1375,7 @@ function undo() { case 5: _context2.next = 7; - return Object(objectSpread["a" /* default */])({ + return build_module_actions_objectSpread({ type: 'EDIT_ENTITY_RECORD' }, undoEdit, { meta: { @@ -1392,7 +1416,7 @@ function redo() { case 5: _context3.next = 7; - return Object(objectSpread["a" /* default */])({ + return build_module_actions_objectSpread({ type: 'EDIT_ENTITY_RECORD' }, redoEdit, { meta: { @@ -1435,6 +1459,12 @@ function actions_saveEntityRecord(kind, name, record) { entity, entityIdKey, recordId, + _i, + _Object$entries, + _Object$entries$_i, + key, + value, + evaluatedValue, updatedRecord, error, persistedEntity, @@ -1475,8 +1505,46 @@ function actions_saveEntityRecord(kind, name, record) { case 7: entityIdKey = entity.key || DEFAULT_ENTITY_KEY; - recordId = record[entityIdKey]; - _context4.next = 11; + recordId = record[entityIdKey]; // Evaluate optimized edits. + // (Function edits that should be evaluated on save to avoid expensive computations on every edit.) + + _i = 0, _Object$entries = Object.entries(record); + + case 10: + if (!(_i < _Object$entries.length)) { + _context4.next = 24; + break; + } + + _Object$entries$_i = Object(slicedToArray["a" /* default */])(_Object$entries[_i], 2), key = _Object$entries$_i[0], value = _Object$entries$_i[1]; + + if (!(typeof value === 'function')) { + _context4.next = 21; + break; + } + + _context4.t0 = value; + _context4.next = 16; + return controls_select('getEditedEntityRecord', kind, name, recordId); + + case 16: + _context4.t1 = _context4.sent; + evaluatedValue = (0, _context4.t0)(_context4.t1); + _context4.next = 20; + return actions_editEntityRecord(kind, name, recordId, Object(defineProperty["a" /* default */])({}, key, evaluatedValue), { + undoIgnore: true + }); + + case 20: + record[key] = evaluatedValue; + + case 21: + _i++; + _context4.next = 10; + break; + + case 24: + _context4.next = 26; return { type: 'SAVE_ENTITY_RECORD_START', kind: kind, @@ -1485,36 +1553,36 @@ function actions_saveEntityRecord(kind, name, record) { isAutosave: isAutosave }; - case 11: - _context4.prev = 11; + case 26: + _context4.prev = 26; path = "".concat(entity.baseURL).concat(recordId ? '/' + recordId : ''); - _context4.next = 15; + _context4.next = 30; return controls_select('getRawEntityRecord', kind, name, recordId); - case 15: + case 30: persistedRecord = _context4.sent; if (!isAutosave) { - _context4.next = 40; + _context4.next = 55; break; } - _context4.next = 19; + _context4.next = 34; return controls_select('getCurrentUser'); - case 19: + case 34: currentUser = _context4.sent; currentUserId = currentUser ? currentUser.id : undefined; - _context4.next = 23; + _context4.next = 38; return controls_select('getAutosave', persistedRecord.type, persistedRecord.id, currentUserId); - case 23: + case 38: autosavePost = _context4.sent; // Autosaves need all expected fields to be present. // So we fallback to the previous autosave and then // to the actual persisted entity if the edits don't // have a value. - data = Object(objectSpread["a" /* default */])({}, persistedRecord, autosavePost, record); + data = build_module_actions_objectSpread({}, persistedRecord, {}, autosavePost, {}, record); data = Object.keys(data).reduce(function (acc, key) { if (['title', 'excerpt', 'content'].includes(key)) { // Edits should be the "raw" attribute values. @@ -1525,22 +1593,22 @@ function actions_saveEntityRecord(kind, name, record) { }, { status: data.status === 'auto-draft' ? 'draft' : data.status }); - _context4.next = 28; + _context4.next = 43; return apiFetch({ path: "".concat(path, "/autosaves"), method: 'POST', data: data }); - case 28: + case 43: updatedRecord = _context4.sent; if (!(persistedRecord.id === updatedRecord.id)) { - _context4.next = 36; + _context4.next = 51; break; } - newRecord = Object(objectSpread["a" /* default */])({}, persistedRecord, data, updatedRecord); + newRecord = build_module_actions_objectSpread({}, persistedRecord, {}, data, {}, updatedRecord); newRecord = Object.keys(newRecord).reduce(function (acc, key) { // These properties are persisted in autosaves. if (['title', 'excerpt', 'content'].includes(key)) { @@ -1557,109 +1625,109 @@ function actions_saveEntityRecord(kind, name, record) { return acc; }, {}); - _context4.next = 34; + _context4.next = 49; return receiveEntityRecords(kind, name, newRecord, undefined, true); - case 34: - _context4.next = 38; + case 49: + _context4.next = 53; break; - case 36: - _context4.next = 38; + case 51: + _context4.next = 53; return receiveAutosaves(persistedRecord.id, updatedRecord); - case 38: - _context4.next = 55; + case 53: + _context4.next = 70; break; - case 40: + case 55: // Auto drafts should be converted to drafts on explicit saves and we should not respect their default title, // but some plugins break with this behavior so we can't filter it on the server. _data = record; if (kind === 'postType' && persistedRecord && persistedRecord.status === 'auto-draft') { if (!_data.status) { - _data = Object(objectSpread["a" /* default */])({}, _data, { + _data = build_module_actions_objectSpread({}, _data, { status: 'draft' }); } if (!_data.title || _data.title === 'Auto Draft') { - _data = Object(objectSpread["a" /* default */])({}, _data, { + _data = build_module_actions_objectSpread({}, _data, { title: '' }); } - } // We perform an optimistic update here to clear all the edits that - // will be persisted so that if the server filters them, the new - // filtered values are always accepted. + } // Get the full local version of the record before the update, + // to merge it with the edits and then propagate it to subscribers - _context4.next = 44; - return controls_select('getEntityRecord', kind, name, recordId); + _context4.next = 59; + return controls_select('getEntityRecordNoResolver', kind, name, recordId); - case 44: + case 59: persistedEntity = _context4.sent; - _context4.next = 47; + _context4.next = 62; return controls_select('getEntityRecordEdits', kind, name, recordId); - case 47: + case 62: currentEdits = _context4.sent; - _context4.next = 50; - return receiveEntityRecords(kind, name, Object(objectSpread["a" /* default */])({}, persistedEntity, _data), undefined, true); + _context4.next = 65; + return receiveEntityRecords(kind, name, build_module_actions_objectSpread({}, persistedEntity, {}, _data), undefined, true); - case 50: - _context4.next = 52; + case 65: + _context4.next = 67; return apiFetch({ path: path, method: recordId ? 'PUT' : 'POST', data: _data }); - case 52: + case 67: updatedRecord = _context4.sent; - _context4.next = 55; + _context4.next = 70; return receiveEntityRecords(kind, name, updatedRecord, undefined, true); - case 55: - _context4.next = 77; + case 70: + _context4.next = 93; break; - case 57: - _context4.prev = 57; - _context4.t0 = _context4["catch"](11); - error = _context4.t0; // If we got to the point in the try block where we made an optimistic update, + case 72: + _context4.prev = 72; + _context4.t2 = _context4["catch"](26); + error = _context4.t2; // If we got to the point in the try block where we made an optimistic update, // we need to roll it back here. if (!(persistedEntity && currentEdits)) { - _context4.next = 77; + _context4.next = 93; break; } - _context4.next = 63; + _context4.next = 78; return receiveEntityRecords(kind, name, persistedEntity, undefined, true); - case 63: - _context4.t1 = actions_editEntityRecord; - _context4.t2 = kind; - _context4.t3 = name; - _context4.t4 = recordId; - _context4.t5 = objectSpread["a" /* default */]; - _context4.t6 = {}; - _context4.t7 = currentEdits; - _context4.next = 72; + case 78: + _context4.t3 = actions_editEntityRecord; + _context4.t4 = kind; + _context4.t5 = name; + _context4.t6 = recordId; + _context4.t7 = build_module_actions_objectSpread; + _context4.t8 = {}; + _context4.t9 = currentEdits; + _context4.t10 = {}; + _context4.next = 88; return controls_select('getEntityRecordEdits', kind, name, recordId); - case 72: - _context4.t8 = _context4.sent; - _context4.t9 = (0, _context4.t5)(_context4.t6, _context4.t7, _context4.t8); - _context4.t10 = { + case 88: + _context4.t11 = _context4.sent; + _context4.t12 = (0, _context4.t7)(_context4.t8, _context4.t9, _context4.t10, _context4.t11); + _context4.t13 = { undoIgnore: true }; - _context4.next = 77; - return (0, _context4.t1)(_context4.t2, _context4.t3, _context4.t4, _context4.t9, _context4.t10); + _context4.next = 93; + return (0, _context4.t3)(_context4.t4, _context4.t5, _context4.t6, _context4.t12, _context4.t13); - case 77: - _context4.next = 79; + case 93: + _context4.next = 95; return { type: 'SAVE_ENTITY_RECORD_FINISH', kind: kind, @@ -1669,15 +1737,15 @@ function actions_saveEntityRecord(kind, name, record) { isAutosave: isAutosave }; - case 79: + case 95: return _context4.abrupt("return", updatedRecord); - case 80: + case 96: case "end": return _context4.stop(); } } - }, _marked4, null, [[11, 57]]); + }, _marked4, null, [[26, 72]]); } /** * Action triggered to save an entity record's edits. @@ -1711,7 +1779,7 @@ function saveEditedEntityRecord(kind, name, recordId, options) { case 6: edits = _context5.sent; - record = Object(objectSpread["a" /* default */])({ + record = build_module_actions_objectSpread({ id: recordId }, edits); return _context5.delegateYield(actions_saveEntityRecord(kind, name, record, options), "t0", 9); @@ -1825,6 +1893,11 @@ var defaultEntities = [{ transientEdits: { blocks: true } +}, { + name: 'user', + kind: 'root', + baseURL: '/wp/v2/users', + plural: 'users' }]; var kinds = [{ name: 'postType', @@ -1996,6 +2069,10 @@ function getKindEntities(kind) { // CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/queried-data/reducer.js +function reducer_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function reducer_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { reducer_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { reducer_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -2057,7 +2134,7 @@ function reducer_items() { switch (action.type) { case 'RECEIVE_ITEMS': var key = action.key || DEFAULT_ENTITY_KEY; - return Object(objectSpread["a" /* default */])({}, state, action.items.reduce(function (accumulator, value) { + return reducer_objectSpread({}, state, {}, action.items.reduce(function (accumulator, value) { var itemId = value[key]; accumulator[itemId] = conservativeMapItem(state[itemId], value); return accumulator; @@ -2087,7 +2164,7 @@ replace_action(function (action) { // undefined and a query is not assigned. Avoid attempting to parse // parts. `onSubKey` will omit by lack of `stableKey`. if (action.query) { - return Object(objectSpread["a" /* default */])({}, action, get_query_parts(action.query)); + return reducer_objectSpread({}, action, {}, get_query_parts(action.query)); } return action; @@ -2123,6 +2200,9 @@ on_sub_key('stableKey')])(function () { +function build_module_reducer_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function build_module_reducer_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { build_module_reducer_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { build_module_reducer_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -2159,7 +2239,7 @@ function terms() { switch (action.type) { case 'RECEIVE_TERMS': - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, action.taxonomy, action.terms)); + return build_module_reducer_objectSpread({}, state, Object(defineProperty["a" /* default */])({}, action.taxonomy, action.terms)); } return state; @@ -2183,8 +2263,8 @@ function reducer_users() { switch (action.type) { case 'RECEIVE_USER_QUERY': return { - byId: Object(objectSpread["a" /* default */])({}, state.byId, Object(external_this_lodash_["keyBy"])(action.users, 'id')), - queries: Object(objectSpread["a" /* default */])({}, state.queries, Object(defineProperty["a" /* default */])({}, action.queryID, Object(external_this_lodash_["map"])(action.users, function (user) { + byId: build_module_reducer_objectSpread({}, state.byId, {}, Object(external_this_lodash_["keyBy"])(action.users, 'id')), + queries: build_module_reducer_objectSpread({}, state.queries, Object(defineProperty["a" /* default */])({}, action.queryID, Object(external_this_lodash_["map"])(action.users, function (user) { return user.id; }))) }; @@ -2247,7 +2327,7 @@ function themeSupports() { switch (action.type) { case 'RECEIVE_THEME_SUPPORTS': - return Object(objectSpread["a" /* default */])({}, state, action.themeSupports); + return build_module_reducer_objectSpread({}, state, {}, action.themeSupports); } return state; @@ -2271,7 +2351,7 @@ function reducer_entity(entityConfig) { return action.name && action.kind && action.name === entityConfig.name && action.kind === entityConfig.kind; }), // Inject the entity config into the action. replace_action(function (action) { - return Object(objectSpread["a" /* default */])({}, action, { + return build_module_reducer_objectSpread({}, action, { key: entityConfig.key || DEFAULT_ENTITY_KEY }); })])(Object(external_this_wp_data_["combineReducers"])({ @@ -2282,7 +2362,7 @@ function reducer_entity(entityConfig) { switch (action.type) { case 'RECEIVE_ITEMS': - var nextState = Object(objectSpread["a" /* default */])({}, state); + var nextState = build_module_reducer_objectSpread({}, state); var _iteratorNormalCompletion = true; var _didIteratorError = false; @@ -2341,7 +2421,7 @@ function reducer_entity(entityConfig) { return nextState; case 'EDIT_ENTITY_RECORD': - var nextEdits = Object(objectSpread["a" /* default */])({}, state[action.recordId], action.edits); + var nextEdits = build_module_reducer_objectSpread({}, state[action.recordId], {}, action.edits); Object.keys(nextEdits).forEach(function (key) { // Delete cleared edits so that the properties @@ -2350,7 +2430,7 @@ function reducer_entity(entityConfig) { delete nextEdits[key]; } }); - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, action.recordId, nextEdits)); + return build_module_reducer_objectSpread({}, state, Object(defineProperty["a" /* default */])({}, action.recordId, nextEdits)); } return state; @@ -2362,7 +2442,7 @@ function reducer_entity(entityConfig) { switch (action.type) { case 'SAVE_ENTITY_RECORD_START': case 'SAVE_ENTITY_RECORD_FINISH': - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, action.recordId, { + return build_module_reducer_objectSpread({}, state, Object(defineProperty["a" /* default */])({}, action.recordId, { pending: action.type === 'SAVE_ENTITY_RECORD_START', error: action.error, isAutosave: action.isAutosave @@ -2418,7 +2498,7 @@ var reducer_entities = function entities() { subEntities = _ref2[1]; var kindReducer = Object(external_this_wp_data_["combineReducers"])(subEntities.reduce(function (kindMemo, entityConfig) { - return Object(objectSpread["a" /* default */])({}, kindMemo, Object(defineProperty["a" /* default */])({}, entityConfig.name, reducer_entity(entityConfig))); + return build_module_reducer_objectSpread({}, kindMemo, Object(defineProperty["a" /* default */])({}, entityConfig.name, reducer_entity(entityConfig))); }, {})); memo[kind] = kindReducer; return memo; @@ -2470,8 +2550,8 @@ function reducer_undo() { })) { lastEditAction = action; } else { - lastEditAction = Object(objectSpread["a" /* default */])({}, action, { - edits: Object(objectSpread["a" /* default */])({}, lastEditAction && lastEditAction.edits, action.edits) + lastEditAction = build_module_reducer_objectSpread({}, action, { + edits: build_module_reducer_objectSpread({}, lastEditAction && lastEditAction.edits, {}, action.edits) }); } } @@ -2506,7 +2586,7 @@ function reducer_undo() { return !action.transientEdits[key]; })) { nextState = Object(toConsumableArray["a" /* default */])(state); - nextState.flattenedUndo = Object(objectSpread["a" /* default */])({}, state.flattenedUndo, action.edits); + nextState.flattenedUndo = build_module_reducer_objectSpread({}, state.flattenedUndo, {}, action.edits); nextState.offset = state.offset; return nextState; } // Clear potential redos, because this only supports linear history. @@ -2521,7 +2601,7 @@ function reducer_undo() { kind: action.meta.undo.kind, name: action.meta.undo.name, recordId: action.meta.undo.recordId, - edits: Object(objectSpread["a" /* default */])({}, state.flattenedUndo, action.meta.undo.edits) + edits: build_module_reducer_objectSpread({}, state.flattenedUndo, {}, action.meta.undo.edits) }); } // When an edit is a function it's an optimization to avoid running some expensive operation. // We can't rely on the function references being the same so we opt out of comparing them here. @@ -2539,7 +2619,7 @@ function reducer_undo() { kind: action.kind, name: action.name, recordId: action.recordId, - edits: isCreateUndoLevel ? Object(objectSpread["a" /* default */])({}, state.flattenedUndo, action.edits) : action.edits + edits: isCreateUndoLevel ? build_module_reducer_objectSpread({}, state.flattenedUndo, {}, action.edits) : action.edits }); } @@ -2565,7 +2645,7 @@ function embedPreviews() { case 'RECEIVE_EMBED_PREVIEW': var url = action.url, preview = action.preview; - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, url, preview)); + return build_module_reducer_objectSpread({}, state, Object(defineProperty["a" /* default */])({}, url, preview)); } return state; @@ -2586,7 +2666,7 @@ function userPermissions() { switch (action.type) { case 'RECEIVE_USER_PERMISSION': - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, action.key, action.isAllowed)); + return build_module_reducer_objectSpread({}, state, Object(defineProperty["a" /* default */])({}, action.key, action.isAllowed)); } return state; @@ -2608,7 +2688,7 @@ function reducer_autosaves() { case 'RECEIVE_AUTOSAVES': var postId = action.postId, autosavesData = action.autosaves; - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, postId, autosavesData)); + return build_module_reducer_objectSpread({}, state, Object(defineProperty["a" /* default */])({}, postId, autosavesData)); } return state; @@ -2627,7 +2707,7 @@ function reducer_autosaves() { })); // EXTERNAL MODULE: external {"this":["wp","deprecated"]} -var external_this_wp_deprecated_ = __webpack_require__(33); +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/core-data/build-module/name.js @@ -2642,6 +2722,10 @@ var REDUCER_KEY = 'core'; // CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/selectors.js +function selectors_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function selectors_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { selectors_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { selectors_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -2757,6 +2841,20 @@ function selectors_getEntity(state, kind, name) { function getEntityRecord(state, kind, name, key) { return Object(external_this_lodash_["get"])(state.entities.data, [kind, name, 'queriedData', 'items', key]); } +/** + * Returns the Entity's record object by key. Doesn't trigger a resolver nor requests the entity from the API if the entity record isn't available in the local state. + * + * @param {Object} state State tree + * @param {string} kind Entity kind. + * @param {string} name Entity name. + * @param {number} key Record's key + * + * @return {Object?} Record. + */ + +function getEntityRecordNoResolver(state, kind, name, key) { + return getEntityRecord(state, kind, name, key); +} /** * Returns the entity's record object by key, * with its attributes mapped to their raw values. @@ -2918,7 +3016,7 @@ function hasEditsForEntityRecord(state, kind, name, recordId) { */ var getEditedEntityRecord = Object(rememo["a" /* default */])(function (state, kind, name, recordId) { - return Object(objectSpread["a" /* default */])({}, getRawEntityRecord(state, kind, name, recordId), getEntityRecordEdits(state, kind, name, recordId)); + return selectors_objectSpread({}, getRawEntityRecord(state, kind, name, recordId), {}, getEntityRecordEdits(state, kind, name, recordId)); }, function (state) { return [state.entities.data]; }); @@ -3204,6 +3302,10 @@ var getReferenceByDistinctEdits = Object(rememo["a" /* default */])(function () +function resolvers_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function resolvers_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { resolvers_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { resolvers_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + var resolvers_marked = /*#__PURE__*/ external_this_regeneratorRuntime_default.a.mark(resolvers_getAuthors), @@ -3398,7 +3500,7 @@ function resolvers_getEntityRecords(kind, name) { return _context4.abrupt("return"); case 7: - path = Object(external_this_wp_url_["addQueryArgs"])(entity.baseURL, Object(objectSpread["a" /* default */])({}, query, { + path = Object(external_this_wp_url_["addQueryArgs"])(entity.baseURL, resolvers_objectSpread({}, query, { context: 'edit' })); _context4.next = 10; @@ -3666,24 +3768,31 @@ function resolvers_getAutosave(postType, postId) { // EXTERNAL MODULE: external {"this":["wp","element"]} var external_this_wp_element_ = __webpack_require__(0); +// EXTERNAL MODULE: external {"this":["wp","blocks"]} +var external_this_wp_blocks_ = __webpack_require__(9); + // CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/entity-provider.js +function entity_provider_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function entity_provider_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { entity_provider_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { entity_provider_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * WordPress dependencies */ + /** * Internal dependencies */ -var entity_provider_entities = Object(objectSpread["a" /* default */])({}, defaultEntities.reduce(function (acc, entity) { +var entity_provider_entities = entity_provider_objectSpread({}, defaultEntities.reduce(function (acc, entity) { if (!acc[entity.kind]) { acc[entity.kind] = {}; } @@ -3692,7 +3801,7 @@ var entity_provider_entities = Object(objectSpread["a" /* default */])({}, defau context: Object(external_this_wp_element_["createContext"])() }; return acc; -}, {}), kinds.reduce(function (acc, kind) { +}, {}), {}, kinds.reduce(function (acc, kind) { acc[kind.name] = {}; return acc; }, {})); @@ -3763,9 +3872,9 @@ function useEntityId(kind, type) { function useEntityProp(kind, type, prop) { var id = useEntityId(kind, type); var value = Object(external_this_wp_data_["useSelect"])(function (select) { - var _select = select('core'), - getEntityRecord = _select.getEntityRecord, - getEditedEntityRecord = _select.getEditedEntityRecord; + var _select2 = select('core'), + getEntityRecord = _select2.getEntityRecord, + getEditedEntityRecord = _select2.getEditedEntityRecord; getEntityRecord(kind, type, id); // Trigger resolver. @@ -3803,32 +3912,33 @@ function __experimentalUseEntitySaving(kind, type, props) { var id = useEntityId(kind, type); var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) { - var _select2 = select('core'), - getEntityRecordNonTransientEdits = _select2.getEntityRecordNonTransientEdits, - isSavingEntityRecord = _select2.isSavingEntityRecord; + var _select3 = select('core'), + getEntityRecordNonTransientEdits = _select3.getEntityRecordNonTransientEdits, + isSavingEntityRecord = _select3.isSavingEntityRecord; - var _edits = getEntityRecordNonTransientEdits(kind, type, id); - - var editKeys = Object.keys(_edits); + var editKeys = Object.keys(getEntityRecordNonTransientEdits(kind, type, id)); return [props ? editKeys.some(function (key) { return typeof props === 'string' ? key === props : props.includes(key); - }) : editKeys.length > 0, isSavingEntityRecord(kind, type, id), _edits]; + }) : editKeys.length > 0, isSavingEntityRecord(kind, type, id), select]; }, [kind, type, id, props]), _useSelect2 = Object(slicedToArray["a" /* default */])(_useSelect, 3), isDirty = _useSelect2[0], isSaving = _useSelect2[1], - edits = _useSelect2[2]; + _select = _useSelect2[2]; var _useDispatch2 = Object(external_this_wp_data_["useDispatch"])('core'), saveEntityRecord = _useDispatch2.saveEntityRecord; var save = Object(external_this_wp_element_["useCallback"])(function () { - var filteredEdits = edits; + // We use the `select` from `useSelect` here instead of importing it from + // the data module so that we get the one bound to the provided registry, + // and not the default one. + var filteredEdits = _select('core').getEntityRecordNonTransientEdits(kind, type, id); if (typeof props === 'string') { filteredEdits = Object(defineProperty["a" /* default */])({}, props, filteredEdits[props]); } else if (props) { - filteredEdits = filteredEdits.reduce(function (acc, key) { + filteredEdits = Object.keys(filteredEdits).reduce(function (acc, key) { if (props.includes(key)) { acc[key] = filteredEdits[key]; } @@ -3837,20 +3947,94 @@ function __experimentalUseEntitySaving(kind, type, props) { }, {}); } - saveEntityRecord(kind, type, Object(objectSpread["a" /* default */])({ + saveEntityRecord(kind, type, entity_provider_objectSpread({ id: id }, filteredEdits)); - }, [kind, type, id, props, edits]); + }, [kind, type, id, props, _select]); return [isDirty, isSaving, save]; } +/** + * Hook that returns block content getters and setters for + * the nearest provided entity of the specified type. + * + * The return value has the shape `[ blocks, onInput, onChange ]`. + * `onInput` is for block changes that don't create undo levels + * or dirty the post, non-persistent changes, and `onChange` is for + * peristent changes. They map directly to the props of a + * `BlockEditorProvider` and are intended to be used with it, + * or similar components or hooks. + * + * @param {string} kind The entity kind. + * @param {string} type The entity type. + * @param {Object} options + * @param {Object} [options.initialEdits] Initial edits object for the entity record. + * @param {string} [options.blocksProp='blocks'] The name of the entity prop that holds the blocks array. + * @param {string} [options.contentProp='content'] The name of the entity prop that holds the serialized blocks. + * + * @return {[WPBlock[], Function, Function]} The block array and setters. + */ + +function useEntityBlockEditor(kind, type) { + var _ref2 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}, + initialEdits = _ref2.initialEdits, + _ref2$blocksProp = _ref2.blocksProp, + blocksProp = _ref2$blocksProp === void 0 ? 'blocks' : _ref2$blocksProp, + _ref2$contentProp = _ref2.contentProp, + contentProp = _ref2$contentProp === void 0 ? 'content' : _ref2$contentProp; + + var _useEntityProp = useEntityProp(kind, type, contentProp), + _useEntityProp2 = Object(slicedToArray["a" /* default */])(_useEntityProp, 2), + content = _useEntityProp2[0], + setContent = _useEntityProp2[1]; + + var _useDispatch3 = Object(external_this_wp_data_["useDispatch"])('core'), + editEntityRecord = _useDispatch3.editEntityRecord; + + var id = useEntityId(kind, type); + var initialBlocks = Object(external_this_wp_element_["useMemo"])(function () { + if (initialEdits) { + editEntityRecord(kind, type, id, initialEdits, { + undoIgnore: true + }); + } // Guard against other instances that might have + // set content to a function already. + + + if (typeof content !== 'function') { + var parsedContent = Object(external_this_wp_blocks_["parse"])(content); + return parsedContent.length ? parsedContent : []; + } + }, [id]); // Reset when the provided entity record changes. + + var _useEntityProp3 = useEntityProp(kind, type, blocksProp), + _useEntityProp4 = Object(slicedToArray["a" /* default */])(_useEntityProp3, 2), + _useEntityProp4$ = _useEntityProp4[0], + blocks = _useEntityProp4$ === void 0 ? initialBlocks : _useEntityProp4$, + onInput = _useEntityProp4[1]; + + var onChange = Object(external_this_wp_element_["useCallback"])(function (nextBlocks) { + onInput(nextBlocks); // Use a function edit to avoid serializing often. + + setContent(function (_ref3) { + var blocksToSerialize = _ref3.blocks; + return Object(external_this_wp_blocks_["serialize"])(blocksToSerialize); + }); + }, [onInput, setContent]); + return [blocks, onInput, onChange]; +} // CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/index.js /* concated harmony reexport EntityProvider */__webpack_require__.d(__webpack_exports__, "EntityProvider", function() { return EntityProvider; }); /* concated harmony reexport useEntityId */__webpack_require__.d(__webpack_exports__, "useEntityId", function() { return useEntityId; }); /* concated harmony reexport useEntityProp */__webpack_require__.d(__webpack_exports__, "useEntityProp", function() { return useEntityProp; }); /* concated harmony reexport __experimentalUseEntitySaving */__webpack_require__.d(__webpack_exports__, "__experimentalUseEntitySaving", function() { return __experimentalUseEntitySaving; }); +/* concated harmony reexport useEntityBlockEditor */__webpack_require__.d(__webpack_exports__, "useEntityBlockEditor", function() { return useEntityBlockEditor; }); +function build_module_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function build_module_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { build_module_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { build_module_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * WordPress dependencies */ @@ -3931,37 +4115,46 @@ var entityActions = defaultEntities.reduce(function (result, entity) { Object(external_this_wp_data_["registerStore"])(REDUCER_KEY, { reducer: build_module_reducer, controls: build_module_controls, - actions: Object(objectSpread["a" /* default */])({}, build_module_actions_namespaceObject, entityActions), - selectors: Object(objectSpread["a" /* default */])({}, build_module_selectors_namespaceObject, entitySelectors), - resolvers: Object(objectSpread["a" /* default */])({}, resolvers_namespaceObject, entityResolvers) + actions: build_module_objectSpread({}, build_module_actions_namespaceObject, {}, entityActions), + selectors: build_module_objectSpread({}, build_module_selectors_namespaceObject, {}, entitySelectors), + resolvers: build_module_objectSpread({}, resolvers_namespaceObject, {}, entityResolvers) }); -/***/ }), - -/***/ 38: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["apiFetch"]; }()); /***/ }), -/***/ 4: -/***/ (function(module, exports) { +/***/ 5: +/***/ (function(module, __webpack_exports__, __webpack_require__) { -(function() { module.exports = this["wp"]["data"]; }()); +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} /***/ }), -/***/ 46: +/***/ 50: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["isShallowEqual"]; }()); /***/ }), -/***/ 57: +/***/ 62: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -4274,55 +4467,12 @@ function () { module.exports = EquivalentKeyMap; -/***/ }), - -/***/ 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; -} - /***/ }), /***/ 9: -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/***/ (function(module, exports) { -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} +(function() { module.exports = this["wp"]["blocks"]; }()); /***/ }) diff --git a/wp-includes/js/dist/core-data.min.js b/wp-includes/js/dist/core-data.min.js index ec98856d99..63da0a814a 100644 --- a/wp-includes/js/dist/core-data.min.js +++ b/wp-includes/js/dist/core-data.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.coreData=function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.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 a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));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}()},18:function(e,t,n){"use strict";var r=n(31);function a(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,a=r[e];if(void 0===a)return n;var u=t(n[a],r);return u===n[a]?n:Object(c.a)({},n,Object(d.a)({},a,u))}}},E=function(e){return function(t){return function(n,r){return t(n,e(r))}}};var h=function(e){var t=new WeakMap;return function(n){var r;return t.has(n)?r=t.get(n):(r=e(n),Object(f.isObjectLike)(n)&&t.set(n,r)),r}};function y(e){return{type:"RECEIVE_ITEMS",items:Object(f.castArray)(e)}}var g=n(34),O=n(57),j=n.n(O),m=n(25);var w=h((function(e){for(var t={stableKey:"",page:1,perPage:10},n=Object.keys(e).sort(),r=0;r1&&void 0!==arguments[1]?arguments[1]:{},n=x.get(e);if(n){var r=n.get(t);if(void 0!==r)return r}else n=new j.a,x.set(e,n);var a=R(e,t);return n.set(t,a),a})),_=n(23),T=n.n(_),I=n(38),S=n.n(I);function A(e){return{type:"API_FETCH",request:e}}function U(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1?t-1:0),r=1;r4&&void 0!==arguments[4]&&arguments[4];return"postType"===e&&(n=Object(f.castArray)(n).map((function(e){return"auto-draft"===e.status?Object(c.a)({},e,{title:""}):e}))),a=r?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(c.a)({},y(e),{query:t})}(n,r):y(n),Object(c.a)({},a,{kind:e,name:t,invalidateCache:u})}function K(e){return{type:"RECEIVE_THEME_SUPPORTS",themeSupports:e}}function Q(e,t){return{type:"RECEIVE_EMBED_PREVIEW",url:e,preview:t}}function W(e,t,n,r){var a,u,i,o,s,d,v,l,p,b=arguments;return T.a.wrap((function(E){for(;;)switch(E.prev=E.next){case 0:return a=b.length>4&&void 0!==b[4]?b[4]:{},E.next=3,U("getEntity",e,t);case 3:if(u=E.sent){E.next=6;break}throw new Error("The entity being edited (".concat(e,", ").concat(t,") does not have a loaded config."));case 6:return i=u.transientEdits,o=void 0===i?{}:i,s=u.mergedEdits,d=void 0===s?{}:s,E.next=9,U("getRawEntityRecord",e,t,n);case 9:return v=E.sent,E.next=12,U("getEditedEntityRecord",e,t,n);case 12:return l=E.sent,p={kind:e,name:t,recordId:n,edits:Object.keys(r).reduce((function(e,t){var n=v[t],a=l[t],u=d[t]?Object(c.a)({},a,r[t]):r[t];return e[t]=Object(f.isEqual)(n,u)?void 0:u,e}),{}),transientEdits:o},E.abrupt("return",Object(c.a)({type:"EDIT_ENTITY_RECORD"},p,{meta:{undo:!a.undoIgnore&&Object(c.a)({},p,{edits:Object.keys(r).reduce((function(e,t){return e[t]=l[t],e}),{})})}}));case 15:case"end":return E.stop()}}),D)}function H(){var e;return T.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,U("getUndoEdit");case 2:if(e=t.sent){t.next=5;break}return t.abrupt("return");case 5:return t.next=7,Object(c.a)({type:"EDIT_ENTITY_RECORD"},e,{meta:{isUndo:!0}});case 7:case"end":return t.stop()}}),M)}function z(){var e;return T.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,U("getRedoEdit");case 2:if(e=t.sent){t.next=5;break}return t.abrupt("return");case 5:return t.next=7,Object(c.a)({type:"EDIT_ENTITY_RECORD"},e,{meta:{isRedo:!0}});case 7:case"end":return t.stop()}}),V)}function G(){return{type:"CREATE_UNDO_LEVEL"}}function X(e,t,n){var r,a,u,i,o,s,d,v,l,p,b,E,h,y,g,O,j,m,w,x=arguments;return T.a.wrap((function(R){for(;;)switch(R.prev=R.next){case 0:return r=x.length>3&&void 0!==x[3]?x[3]:{isAutosave:!1},a=r.isAutosave,u=void 0!==a&&a,R.next=3,de(e);case 3:if(i=R.sent,o=Object(f.find)(i,{kind:e,name:t})){R.next=7;break}return R.abrupt("return");case 7:return s=o.key||ae,d=n[s],R.next=11,{type:"SAVE_ENTITY_RECORD_START",kind:e,name:t,recordId:d,isAutosave:u};case 11:return R.prev=11,E="".concat(o.baseURL).concat(d?"/"+d:""),R.next=15,U("getRawEntityRecord",e,t,d);case 15:if(h=R.sent,!u){R.next=40;break}return R.next=19,U("getCurrentUser");case 19:return y=R.sent,g=y?y.id:void 0,R.next=23,U("getAutosave",h.type,h.id,g);case 23:return O=R.sent,j=Object(c.a)({},h,O,n),j=Object.keys(j).reduce((function(e,t){return["title","excerpt","content"].includes(t)&&(e[t]=Object(f.get)(j[t],"raw",j[t])),e}),{status:"auto-draft"===j.status?"draft":j.status}),R.next=28,A({path:"".concat(E,"/autosaves"),method:"POST",data:j});case 28:if(v=R.sent,h.id!==v.id){R.next=36;break}return m=Object(c.a)({},h,j,v),m=Object.keys(m).reduce((function(e,t){return["title","excerpt","content"].includes(t)?e[t]=Object(f.get)(m[t],"raw",m[t]):e[t]="status"===t?"auto-draft"===h.status&&"draft"===m.status?m.status:h.status:Object(f.get)(h[t],"raw",h[t]),e}),{}),R.next=34,F(e,t,m,void 0,!0);case 34:R.next=38;break;case 36:return R.next=38,ee(h.id,v);case 38:R.next=55;break;case 40:return w=n,"postType"===e&&h&&"auto-draft"===h.status&&(w.status||(w=Object(c.a)({},w,{status:"draft"})),w.title&&"Auto Draft"!==w.title||(w=Object(c.a)({},w,{title:""}))),R.next=44,U("getEntityRecord",e,t,d);case 44:return p=R.sent,R.next=47,U("getEntityRecordEdits",e,t,d);case 47:return b=R.sent,R.next=50,F(e,t,Object(c.a)({},p,w),void 0,!0);case 50:return R.next=52,A({path:E,method:d?"PUT":"POST",data:w});case 52:return v=R.sent,R.next=55,F(e,t,v,void 0,!0);case 55:R.next=77;break;case 57:if(R.prev=57,R.t0=R.catch(11),l=R.t0,!p||!b){R.next=77;break}return R.next=63,F(e,t,p,void 0,!0);case 63:return R.t1=W,R.t2=e,R.t3=t,R.t4=d,R.t5=c.a,R.t6={},R.t7=b,R.next=72,U("getEntityRecordEdits",e,t,d);case 72:return R.t8=R.sent,R.t9=(0,R.t5)(R.t6,R.t7,R.t8),R.t10={undoIgnore:!0},R.next=77,(0,R.t1)(R.t2,R.t3,R.t4,R.t9,R.t10);case 77:return R.next=79,{type:"SAVE_ENTITY_RECORD_FINISH",kind:e,name:t,recordId:d,error:l,isAutosave:u};case 79:return R.abrupt("return",v);case 80:case"end":return R.stop()}}),N,null,[[11,57]])}function J(e,t,n,r){var a,u;return T.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,U("hasEditsForEntityRecord",e,t,n);case 2:if(i.sent){i.next=4;break}return i.abrupt("return");case 4:return i.next=6,U("getEntityRecordNonTransientEdits",e,t,n);case 6:return a=i.sent,u=Object(c.a)({id:n},a),i.delegateYield(X(e,t,u,r),"t0",9);case 9:case"end":return i.stop()}}),q)}function Z(e){return{type:"RECEIVE_USER_PERMISSION",key:"create/media",isAllowed:e}}function $(e,t){return{type:"RECEIVE_USER_PERMISSION",key:e,isAllowed:t}}function ee(e,t){return{type:"RECEIVE_AUTOSAVES",postId:e,autosaves:Object(f.castArray)(t)}}var te=T.a.mark(ie),ne=T.a.mark(oe),re=T.a.mark(de),ae="id",ue=[{name:"site",kind:"root",baseURL:"/wp/v2/settings"},{name:"postType",kind:"root",key:"slug",baseURL:"/wp/v2/types"},{name:"media",kind:"root",baseURL:"/wp/v2/media",plural:"mediaItems"},{name:"taxonomy",kind:"root",key:"slug",baseURL:"/wp/v2/taxonomies",plural:"taxonomies"},{name:"widgetArea",kind:"root",baseURL:"/__experimental/widget-areas",plural:"widgetAreas",transientEdits:{blocks:!0}}],ce=[{name:"postType",loadEntities:ie},{name:"taxonomy",loadEntities:oe}];function ie(){var e;return T.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,A({path:"/wp/v2/types?context=edit"});case 2:return e=t.sent,t.abrupt("return",Object(f.map)(e,(function(e,t){return{kind:"postType",baseURL:"/wp/v2/"+e.rest_base,name:t,transientEdits:{blocks:!0,selectionStart:!0,selectionEnd:!0},mergedEdits:{meta:!0}}})));case 4:case"end":return t.stop()}}),te)}function oe(){var e;return T.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,A({path:"/wp/v2/taxonomies?context=edit"});case 2:return e=t.sent,t.abrupt("return",Object(f.map)(e,(function(e,t){return{kind:"taxonomy",baseURL:"/wp/v2/"+e.rest_base,name:t}})));case 4:case"end":return t.stop()}}),ne)}var se=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"get",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=Object(f.find)(ue,{kind:e,name:t}),u="root"===e?"":Object(f.upperFirst)(Object(f.camelCase)(e)),c=Object(f.upperFirst)(Object(f.camelCase)(t))+(r?"s":""),i=r&&a.plural?Object(f.upperFirst)(Object(f.camelCase)(a.plural)):c;return"".concat(n).concat(u).concat(i)};function de(e){var t,n;return T.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,U("getEntitiesByKind",e);case 2:if(!(t=r.sent)||0===t.length){r.next=5;break}return r.abrupt("return",t);case 5:if(n=Object(f.find)(ce,{name:e})){r.next=8;break}return r.abrupt("return",[]);case 8:return r.next=10,n.loadEntities();case 10:return t=r.sent,r.next=13,B(t);case 13:return r.abrupt("return",t);case 14:case"end":return r.stop()}}),re)}function fe(e,t,n,r){for(var a=(n-1)*r,u=Math.max(e.length,a+t.length),c=new Array(u),i=0;i=a&&i0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.page,a=t.perPage,u=t.key,c=void 0===u?ae:u;return"RECEIVE_ITEMS"!==n?e:fe(e||[],Object(f.map)(t.items,c),r,a)})),le=Object(i.combineReducers)({items:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_ITEMS":var n=t.key||ae;return Object(c.a)({},e,t.items.reduce((function(t,r){var a=r[n];return t[a]=function(e,t){if(!e)return t;var n=!1,r={};for(var a in t)Object(f.isEqual)(e[a],t[a])?r[a]=e[a]:(n=!0,r[a]=t[a]);return n?r:e}(e[a],r),t}),{}))}return e},queries:ve});function pe(e){return Object(f.flowRight)([p((function(t){return t.name&&t.kind&&t.name===e.name&&t.kind===e.kind})),E((function(t){return Object(c.a)({},t,{key:e.key||ae})}))])(Object(i.combineReducers)({queriedData:le,edits:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_ITEMS":var n=Object(c.a)({},e),r=!0,a=!1,u=void 0;try{for(var i,o=function(){var e=i.value,r=e[t.key],a=n[r];if(!a)return"continue";var u=Object.keys(a).reduce((function(t,n){return Object(f.isEqual)(a[n],Object(f.get)(e[n],"raw",e[n]))||(t[n]=a[n]),t}),{});Object.keys(u).length?n[r]=u:delete n[r]},s=t.items[Symbol.iterator]();!(r=(i=s.next()).done);r=!0)o()}catch(e){a=!0,u=e}finally{try{r||null==s.return||s.return()}finally{if(a)throw u}}return n;case"EDIT_ENTITY_RECORD":var v=Object(c.a)({},e[t.recordId],t.edits);return Object.keys(v).forEach((function(e){void 0===v[e]&&delete v[e]})),Object(c.a)({},e,Object(d.a)({},t.recordId,v))}return e},saving:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SAVE_ENTITY_RECORD_START":case"SAVE_ENTITY_RECORD_FINISH":return Object(c.a)({},e,Object(d.a)({},t.recordId,{pending:"SAVE_ENTITY_RECORD_START"===t.type,error:t.error,isAutosave:t.isAutosave}))}return e}}))}function be(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ue,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_ENTITIES":return[].concat(Object(s.a)(e),Object(s.a)(t.entities))}return e}var Ee,he=[];he.offset=0;var ye=Object(i.combineReducers)({terms:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_TERMS":return Object(c.a)({},e,Object(d.a)({},t.taxonomy,t.terms))}return e},users:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{byId:{},queries:{}},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_USER_QUERY":return{byId:Object(c.a)({},e.byId,Object(f.keyBy)(t.users,"id")),queries:Object(c.a)({},e.queries,Object(d.a)({},t.queryID,Object(f.map)(t.users,(function(e){return e.id}))))}}return e},currentUser:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_CURRENT_USER":return t.currentUser}return e},taxonomies:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_TAXONOMIES":return t.taxonomies}return e},themeSupports:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_THEME_SUPPORTS":return Object(c.a)({},e,t.themeSupports)}return e},entities:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=be(e.config,t),r=e.reducer;if(!r||n!==e.config){var a=Object(f.groupBy)(n,"kind");r=Object(i.combineReducers)(Object.entries(a).reduce((function(e,t){var n=Object(o.a)(t,2),r=n[0],a=n[1],u=Object(i.combineReducers)(a.reduce((function(e,t){return Object(c.a)({},e,Object(d.a)({},t.name,pe(t)))}),{}));return e[r]=u,e}),{}))}var u=r(e.data,t);return u===e.data&&n===e.config&&r===e.reducer?e:{reducer:r,data:u,config:n}},undo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:he,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"EDIT_ENTITY_RECORD":case"CREATE_UNDO_LEVEL":var n,r="CREATE_UNDO_LEVEL"===t.type,a=!r&&(t.meta.isUndo||t.meta.isRedo);if(r?t=Ee:a||(Ee=Object.keys(t.edits).some((function(e){return!t.transientEdits[e]}))?t:Object(c.a)({},t,{edits:Object(c.a)({},Ee&&Ee.edits,t.edits)})),a){if((n=Object(s.a)(e)).offset=e.offset+(t.meta.isUndo?-1:1),!e.flattenedUndo)return n;r=!0,t=Ee}if(!t.meta.undo)return e;if(!r&&!Object.keys(t.edits).some((function(e){return!t.transientEdits[e]})))return(n=Object(s.a)(e)).flattenedUndo=Object(c.a)({},e.flattenedUndo,t.edits),n.offset=e.offset,n;(n=n||e.slice(0,e.offset||void 0)).offset=n.offset||0,n.pop(),r||n.push({kind:t.meta.undo.kind,name:t.meta.undo.name,recordId:t.meta.undo.recordId,edits:Object(c.a)({},e.flattenedUndo,t.meta.undo.edits)});var u=Object.values(t.meta.undo.edits).filter((function(e){return"function"!=typeof e})),i=Object.values(t.edits).filter((function(e){return"function"!=typeof e}));return l()(u,i)||n.push({kind:t.kind,name:t.name,recordId:t.recordId,edits:r?Object(c.a)({},e.flattenedUndo,t.edits):t.edits}),n}return e},embedPreviews:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_EMBED_PREVIEW":var n=t.url,r=t.preview;return Object(c.a)({},e,Object(d.a)({},n,r))}return e},userPermissions:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_USER_PERMISSION":return Object(c.a)({},e,Object(d.a)({},t.key,t.isAllowed))}return e},autosaves:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_AUTOSAVES":var n=t.postId,r=t.autosaves;return Object(c.a)({},e,Object(d.a)({},n,r))}return e}}),ge=n(33),Oe=n.n(ge),je=Object(i.createRegistrySelector)((function(e){return function(t,n){return e("core/data").isResolving("core","getEmbedPreview",[n])}}));function me(e){return xe(e,"authors")}function we(e){return e.currentUser}var xe=Object(g.a)((function(e,t){var n=e.users.queries[t];return Object(f.map)(n,(function(t){return e.users.byId[t]}))}),(function(e,t){return[e.users.queries[t],e.users.byId]}));function Re(e,t){return Object(f.filter)(e.entities.config,{kind:t})}function ke(e,t,n){return Object(f.find)(e.entities.config,{kind:t,name:n})}function _e(e,t,n,r){return Object(f.get)(e.entities.data,[t,n,"queriedData","items",r])}var Te=Object(g.a)((function(e,t,n,r){var a=_e(e,t,n,r);return a&&Object.keys(a).reduce((function(e,t){return e[t]=Object(f.get)(a[t],"raw",a[t]),e}),{})}),(function(e){return[e.entities.data]}));function Ie(e,t,n,r){var a=Object(f.get)(e.entities.data,[t,n,"queriedData"]);return a?k(a,r):[]}var Se=Object(g.a)((function(e){var t=e.entities.data;return Object.keys(t).reduce((function(n,r){return Object.keys(t[r]).forEach((function(a){var u=Object.keys(t[r][a].edits).filter((function(t){return Ce(e,r,a,t)}));u.length&&(n[r]||(n[r]={}),n[r][a]||(n[r][a]={}),u.forEach((function(t){return n[r][a][t]={rawRecord:Te(e,r,a,t),edits:Ue(e,r,a,t)}})))})),n}),{})}),(function(e){return[e.entities.data]}));function Ae(e,t,n,r){return Object(f.get)(e.entities.data,[t,n,"edits",r])}var Ue=Object(g.a)((function(e,t,n,r){var a=(ke(e,t,n)||{}).transientEdits,u=Ae(e,t,n,r)||{};return a?Object.keys(u).reduce((function(e,t){return a[t]||(e[t]=u[t]),e}),{}):u}),(function(e){return[e.entities.config,e.entities.data]}));function Ce(e,t,n,r){return Me(e,t,n,r)||Object.keys(Ue(e,t,n,r)).length>0}var Pe=Object(g.a)((function(e,t,n,r){return Object(c.a)({},Te(e,t,n,r),Ae(e,t,n,r))}),(function(e){return[e.entities.data]}));function De(e,t,n,r){var a=Object(f.get)(e.entities.data,[t,n,"saving",r],{}),u=a.pending,c=a.isAutosave;return Boolean(u&&c)}function Me(e,t,n,r){return Object(f.get)(e.entities.data,[t,n,"saving",r,"pending"],!1)}function Ve(e,t,n,r){return Object(f.get)(e.entities.data,[t,n,"saving",r,"error"])}function Ne(e){return e.undo.offset}function qe(e){return e.undo[e.undo.length-2+Ne(e)]}function Le(e){return e.undo[e.undo.length+Ne(e)]}function Ye(e){return Boolean(qe(e))}function Be(e){return Boolean(Le(e))}function Fe(e){return e.themeSupports}function Ke(e,t){return e.embedPreviews[t]}function Qe(e,t){var n=e.embedPreviews[t],r=''+t+"";return!!n&&n.html===r}function We(e){return Oe()("select( 'core' ).hasUploadPermissions()",{alternative:"select( 'core' ).canUser( 'create', 'media' )"}),Object(f.defaultTo)(He(e,"create","media"),!0)}function He(e,t,n,r){var a=Object(f.compact)([t,n,r]).join("/");return Object(f.get)(e,["userPermissions",a])}function ze(e,t,n){return e.autosaves[n]}function Ge(e,t,n,r){if(void 0!==r){var a=e.autosaves[n];return Object(f.find)(a,{author:r})}}var Xe=Object(i.createRegistrySelector)((function(e){return function(t,n,r){return e("core").hasFinishedResolution("getAutosaves",[n,r])}})),Je=Object(g.a)((function(){return[]}),(function(e){return[e.undo.length,e.undo.offset]})),Ze=T.a.mark(ot),$e=T.a.mark(st),et=T.a.mark(dt),tt=T.a.mark(ft),nt=T.a.mark(vt),rt=T.a.mark(lt),at=T.a.mark(pt),ut=T.a.mark(bt),ct=T.a.mark(Et),it=T.a.mark(ht);function ot(){var e;return T.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,A({path:"/wp/v2/users/?who=authors&per_page=-1"});case 2:return e=t.sent,t.next=5,L("authors",e);case 5:case"end":return t.stop()}}),Ze)}function st(){var e;return T.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,A({path:"/wp/v2/users/me"});case 2:return e=t.sent,t.next=5,Y(e);case 5:case"end":return t.stop()}}),$e)}function dt(e,t){var n,r,a,u,c=arguments;return T.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return n=c.length>2&&void 0!==c[2]?c[2]:"",i.next=3,de(e);case 3:if(r=i.sent,a=Object(f.find)(r,{kind:e,name:t})){i.next=7;break}return i.abrupt("return");case 7:return i.next=9,A({path:"".concat(a.baseURL,"/").concat(n,"?context=edit")});case 9:return u=i.sent,i.next=12,F(e,t,u);case 12:case"end":return i.stop()}}),et)}function ft(e,t){var n,r,a,u,i,o=arguments;return T.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return n=o.length>2&&void 0!==o[2]?o[2]:{},s.next=3,de(e);case 3:if(r=s.sent,a=Object(f.find)(r,{kind:e,name:t})){s.next=7;break}return s.abrupt("return");case 7:return u=Object(m.addQueryArgs)(a.baseURL,Object(c.a)({},n,{context:"edit"})),s.next=10,A({path:u});case 10:return i=s.sent,s.next=13,F(e,t,Object.values(i),n);case 13:case"end":return s.stop()}}),tt)}function vt(){var e;return T.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,A({path:"/wp/v2/themes?status=active"});case 2:return e=t.sent,t.next=5,K(e[0].theme_supports);case 5:case"end":return t.stop()}}),nt)}function lt(e){var t;return T.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,A({path:Object(m.addQueryArgs)("/oembed/1.0/proxy",{url:e})});case 3:return t=n.sent,n.next=6,Q(e,t);case 6:n.next=12;break;case 8:return n.prev=8,n.t0=n.catch(0),n.next=12,Q(e,!1);case 12:case"end":return n.stop()}}),rt,null,[[0,8]])}function pt(){return T.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Oe()("select( 'core' ).hasUploadPermissions()",{alternative:"select( 'core' ).canUser( 'create', 'media' )"}),e.delegateYield(bt("create","media"),"t0",2);case 2:case"end":return e.stop()}}),at)}function bt(e,t,n){var r,a,u,c,i,o;return T.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:if(r={create:"POST",read:"GET",update:"PUT",delete:"DELETE"}[e]){s.next=4;break}throw new Error("'".concat(e,"' is not a valid action."));case 4:return a=n?"/wp/v2/".concat(t,"/").concat(n):"/wp/v2/".concat(t),s.prev=5,s.next=8,A({path:a,method:n?"GET":"OPTIONS",parse:!1});case 8:u=s.sent,s.next=14;break;case 11:return s.prev=11,s.t0=s.catch(5),s.abrupt("return");case 14:return c=Object(f.hasIn)(u,["headers","get"])?u.headers.get("allow"):Object(f.get)(u,["headers","Allow"],""),i=Object(f.compact)([e,t,n]).join("/"),o=Object(f.includes)(c,r),s.next=19,$(i,o);case 19:case"end":return s.stop()}}),ut,null,[[5,11]])}function Et(e,t){var n,r,a;return T.a.wrap((function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,C("getPostType",e);case 2:return n=u.sent,r=n.rest_base,u.next=6,A({path:"/wp/v2/".concat(r,"/").concat(t,"/autosaves?context=edit")});case 6:if(!(a=u.sent)||!a.length){u.next=10;break}return u.next=10,ee(t,a);case 10:case"end":return u.stop()}}),ct)}function ht(e,t){return T.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,C("getAutosaves",e,t);case 2:case"end":return n.stop()}}),it)}ft.shouldInvalidate=function(e,t,n){return"RECEIVE_ITEMS"===e.type&&e.invalidateCache&&t===e.kind&&n===e.name};var yt=n(0),gt=Object(c.a)({},ue.reduce((function(e,t){return e[t.kind]||(e[t.kind]={}),e[t.kind][t.name]={context:Object(yt.createContext)()},e}),{}),ce.reduce((function(e,t){return e[t.name]={},e}),{})),Ot=function(e,t){if(!gt[e])throw new Error("Missing entity config for kind: ".concat(e,"."));return gt[e][t]||(gt[e][t]={context:Object(yt.createContext)()}),gt[e][t]};function jt(e){var t=e.kind,n=e.type,r=e.id,a=e.children,u=Ot(t,n).context.Provider;return Object(yt.createElement)(u,{value:r},a)}function mt(e,t){return Object(yt.useContext)(Ot(e,t).context)}function wt(e,t,n){var r=mt(e,t),a=Object(i.useSelect)((function(a){var u=a("core"),c=u.getEntityRecord,i=u.getEditedEntityRecord;c(e,t,r);var o=i(e,t,r);return o&&o[n]}),[e,t,r,n]),u=Object(i.useDispatch)("core").editEntityRecord;return[a,Object(yt.useCallback)((function(a){u(e,t,r,Object(d.a)({},n,a))}),[e,t,r,n])]}function xt(e,t,n){var r=mt(e,t),a=Object(i.useSelect)((function(a){var u=a("core"),c=u.getEntityRecordNonTransientEdits,i=u.isSavingEntityRecord,o=c(e,t,r),s=Object.keys(o);return[n?s.some((function(e){return"string"==typeof n?e===n:n.includes(e)})):s.length>0,i(e,t,r),o]}),[e,t,r,n]),u=Object(o.a)(a,3),s=u[0],f=u[1],v=u[2],l=Object(i.useDispatch)("core").saveEntityRecord;return[s,f,Object(yt.useCallback)((function(){var a=v;"string"==typeof n?a=Object(d.a)({},n,a[n]):n&&(a=a.reduce((function(e,t){return n.includes(t)&&(e[t]=a[t]),e}),{})),l(e,t,Object(c.a)({id:r},a))}),[e,t,r,n,v])]}n.d(t,"EntityProvider",(function(){return jt})),n.d(t,"useEntityId",(function(){return mt})),n.d(t,"useEntityProp",(function(){return wt})),n.d(t,"__experimentalUseEntitySaving",(function(){return xt}));var Rt=ue.reduce((function(e,t){var n=t.kind,r=t.name;return e[se(n,r)]=function(e,t){return _e(e,n,r,t)},e[se(n,r,"get",!0)]=function(e){for(var t=arguments.length,u=new Array(t>1?t-1:0),c=1;c1?a-1:0),c=1;c1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(a,u){null!==u&&"object"===r(u)&&(a=a[1]),e.call(n,a,u,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&a(t.prototype,n),c&&a(t,c),e}();e.exports=c},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(9);function a(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,c=n[e];if(void 0===c)return r;var o=t(r[c],n);return o===r[c]?r:v({},r,Object(i.a)({},c,o))}}},O=function(e){return function(t){return function(r,n){return t(r,e(n))}}};var g=function(e){var t=new WeakMap;return function(r){var n;return t.has(r)?n=t.get(r):(n=e(r),Object(f.isObjectLike)(r)&&t.set(r,n)),n}};function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function E(e){return{type:"RECEIVE_ITEMS",items:Object(f.castArray)(e)}}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},r=P.get(e);if(r){var n=r.get(t);if(void 0!==n)return n}else r=new k.a,P.set(e,r);var c=_(e,t);return r.set(t,c),c})),T=r(23),I=r.n(T),D=r(40),A=r.n(D);function U(e){return{type:"API_FETCH",request:e}}function C(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n1?t-1:0),n=1;n4&&void 0!==arguments[4]&&arguments[4];return"postType"===e&&(r=Object(f.castArray)(r).map((function(e){return"auto-draft"===e.status?K({},e,{title:""}):e}))),K({},n?j(r,n):E(r),{kind:e,name:t,invalidateCache:c})}function G(e){return{type:"RECEIVE_THEME_SUPPORTS",themeSupports:e}}function X(e,t){return{type:"RECEIVE_EMBED_PREVIEW",url:e,preview:t}}function J(e,t,r,n){var c,o,i,a,u,s,d,p,l,b=arguments;return I.a.wrap((function(v){for(;;)switch(v.prev=v.next){case 0:return c=b.length>4&&void 0!==b[4]?b[4]:{},v.next=3,C("getEntity",e,t);case 3:if(o=v.sent){v.next=6;break}throw new Error("The entity being edited (".concat(e,", ").concat(t,") does not have a loaded config."));case 6:return i=o.transientEdits,a=void 0===i?{}:i,u=o.mergedEdits,s=void 0===u?{}:u,v.next=9,C("getRawEntityRecord",e,t,r);case 9:return d=v.sent,v.next=12,C("getEditedEntityRecord",e,t,r);case 12:return p=v.sent,l={kind:e,name:t,recordId:r,edits:Object.keys(n).reduce((function(e,t){var r=d[t],c=p[t],o=s[t]?K({},c,{},n[t]):n[t];return e[t]=Object(f.isEqual)(r,o)?void 0:o,e}),{}),transientEdits:a},v.abrupt("return",K({type:"EDIT_ENTITY_RECORD"},l,{meta:{undo:!c.undoIgnore&&K({},l,{edits:Object.keys(n).reduce((function(e,t){return e[t]=p[t],e}),{})})}}));case 15:case"end":return v.stop()}}),V)}function Z(){var e;return I.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,C("getUndoEdit");case 2:if(e=t.sent){t.next=5;break}return t.abrupt("return");case 5:return t.next=7,K({type:"EDIT_ENTITY_RECORD"},e,{meta:{isUndo:!0}});case 7:case"end":return t.stop()}}),L)}function $(){var e;return I.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,C("getRedoEdit");case 2:if(e=t.sent){t.next=5;break}return t.abrupt("return");case 5:return t.next=7,K({type:"EDIT_ENTITY_RECORD"},e,{meta:{isRedo:!0}});case 7:case"end":return t.stop()}}),q)}function ee(){return{type:"CREATE_UNDO_LEVEL"}}function te(e,t,r){var n,c,o,a,s,d,p,l,b,v,y,O,g,h,E,j,m,w,k,x,R,P,_,S,T,D=arguments;return I.a.wrap((function(I){for(;;)switch(I.prev=I.next){case 0:return n=D.length>3&&void 0!==D[3]?D[3]:{isAutosave:!1},c=n.isAutosave,o=void 0!==c&&c,I.next=3,ve(e);case 3:if(a=I.sent,s=Object(f.find)(a,{kind:e,name:t})){I.next=7;break}return I.abrupt("return");case 7:d=s.key||se,p=r[d],l=0,b=Object.entries(r);case 10:if(!(l2&&void 0!==arguments[2]?arguments[2]:"get",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],c=Object(f.find)(fe,{kind:e,name:t}),o="root"===e?"":Object(f.upperFirst)(Object(f.camelCase)(e)),i=Object(f.upperFirst)(Object(f.camelCase)(t))+(n?"s":""),a=n&&c.plural?Object(f.upperFirst)(Object(f.camelCase)(c.plural)):i;return"".concat(r).concat(o).concat(a)};function ve(e){var t,r;return I.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,C("getEntitiesByKind",e);case 2:if(!(t=n.sent)||0===t.length){n.next=5;break}return n.abrupt("return",t);case 5:if(r=Object(f.find)(de,{name:e})){n.next=8;break}return n.abrupt("return",[]);case 8:return n.next=10,r.loadEntities();case 10:return t=n.sent,n.next=13,H(t);case 13:return n.abrupt("return",t);case 14:case"end":return n.stop()}}),ue)}function ye(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Oe(e){for(var t=1;t=c&&a0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,r=t.type,n=t.page,c=t.perPage,o=t.key,i=void 0===o?se:o;return"RECEIVE_ITEMS"!==r?e:ge(e||[],Object(f.map)(t.items,i),n,c)})),Ee=Object(a.combineReducers)({items:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_ITEMS":var r=t.key||se;return Oe({},e,{},t.items.reduce((function(t,n){var c=n[r];return t[c]=function(e,t){if(!e)return t;var r=!1,n={};for(var c in t)Object(f.isEqual)(e[c],t[c])?n[c]=e[c]:(r=!0,n[c]=t[c]);return r?n:e}(e[c],n),t}),{}))}return e},queries:he});function je(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function me(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_ITEMS":var r=me({},e),n=!0,c=!1,o=void 0;try{for(var a,u=function(){var e=a.value,n=e[t.key],c=r[n];if(!c)return"continue";var o=Object.keys(c).reduce((function(t,r){return Object(f.isEqual)(c[r],Object(f.get)(e[r],"raw",e[r]))||(t[r]=c[r]),t}),{});Object.keys(o).length?r[n]=o:delete r[n]},s=t.items[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)u()}catch(e){c=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(c)throw o}}return r;case"EDIT_ENTITY_RECORD":var d=me({},e[t.recordId],{},t.edits);return Object.keys(d).forEach((function(e){void 0===d[e]&&delete d[e]})),me({},e,Object(i.a)({},t.recordId,d))}return e},saving:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SAVE_ENTITY_RECORD_START":case"SAVE_ENTITY_RECORD_FINISH":return me({},e,Object(i.a)({},t.recordId,{pending:"SAVE_ENTITY_RECORD_START"===t.type,error:t.error,isAutosave:t.isAutosave}))}return e}}))}function ke(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fe,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_ENTITIES":return[].concat(Object(s.a)(e),Object(s.a)(t.entities))}return e}var xe,Re=[];Re.offset=0;var Pe=Object(a.combineReducers)({terms:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_TERMS":return me({},e,Object(i.a)({},t.taxonomy,t.terms))}return e},users:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{byId:{},queries:{}},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_USER_QUERY":return{byId:me({},e.byId,{},Object(f.keyBy)(t.users,"id")),queries:me({},e.queries,Object(i.a)({},t.queryID,Object(f.map)(t.users,(function(e){return e.id}))))}}return e},currentUser:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_CURRENT_USER":return t.currentUser}return e},taxonomies:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_TAXONOMIES":return t.taxonomies}return e},themeSupports:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_THEME_SUPPORTS":return me({},e,{},t.themeSupports)}return e},entities:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,r=ke(e.config,t),n=e.reducer;if(!n||r!==e.config){var c=Object(f.groupBy)(r,"kind");n=Object(a.combineReducers)(Object.entries(c).reduce((function(e,t){var r=Object(u.a)(t,2),n=r[0],c=r[1],o=Object(a.combineReducers)(c.reduce((function(e,t){return me({},e,Object(i.a)({},t.name,we(t)))}),{}));return e[n]=o,e}),{}))}var o=n(e.data,t);return o===e.data&&r===e.config&&n===e.reducer?e:{reducer:n,data:o,config:r}},undo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Re,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"EDIT_ENTITY_RECORD":case"CREATE_UNDO_LEVEL":var r,n="CREATE_UNDO_LEVEL"===t.type,c=!n&&(t.meta.isUndo||t.meta.isRedo);if(n?t=xe:c||(xe=Object.keys(t.edits).some((function(e){return!t.transientEdits[e]}))?t:me({},t,{edits:me({},xe&&xe.edits,{},t.edits)})),c){if((r=Object(s.a)(e)).offset=e.offset+(t.meta.isUndo?-1:1),!e.flattenedUndo)return r;n=!0,t=xe}if(!t.meta.undo)return e;if(!n&&!Object.keys(t.edits).some((function(e){return!t.transientEdits[e]})))return(r=Object(s.a)(e)).flattenedUndo=me({},e.flattenedUndo,{},t.edits),r.offset=e.offset,r;(r=r||e.slice(0,e.offset||void 0)).offset=r.offset||0,r.pop(),n||r.push({kind:t.meta.undo.kind,name:t.meta.undo.name,recordId:t.meta.undo.recordId,edits:me({},e.flattenedUndo,{},t.meta.undo.edits)});var o=Object.values(t.meta.undo.edits).filter((function(e){return"function"!=typeof e})),i=Object.values(t.edits).filter((function(e){return"function"!=typeof e}));return p()(o,i)||r.push({kind:t.kind,name:t.name,recordId:t.recordId,edits:n?me({},e.flattenedUndo,{},t.edits):t.edits}),r}return e},embedPreviews:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_EMBED_PREVIEW":var r=t.url,n=t.preview;return me({},e,Object(i.a)({},r,n))}return e},userPermissions:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_USER_PERMISSION":return me({},e,Object(i.a)({},t.key,t.isAllowed))}return e},autosaves:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_AUTOSAVES":var r=t.postId,n=t.autosaves;return me({},e,Object(i.a)({},r,n))}return e}}),_e=r(35),Se=r.n(_e);function Te(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var Ie=Object(a.createRegistrySelector)((function(e){return function(t,r){return e("core/data").isResolving("core","getEmbedPreview",[r])}}));function De(e){return Ue(e,"authors")}function Ae(e){return e.currentUser}var Ue=Object(m.a)((function(e,t){var r=e.users.queries[t];return Object(f.map)(r,(function(t){return e.users.byId[t]}))}),(function(e,t){return[e.users.queries[t],e.users.byId]}));function Ce(e,t){return Object(f.filter)(e.entities.config,{kind:t})}function Me(e,t,r){return Object(f.find)(e.entities.config,{kind:t,name:r})}function Ne(e,t,r,n){return Object(f.get)(e.entities.data,[t,r,"queriedData","items",n])}function Ve(e,t,r,n){return Ne(e,t,r,n)}var Le=Object(m.a)((function(e,t,r,n){var c=Ne(e,t,r,n);return c&&Object.keys(c).reduce((function(e,t){return e[t]=Object(f.get)(c[t],"raw",c[t]),e}),{})}),(function(e){return[e.entities.data]}));function qe(e,t,r,n){var c=Object(f.get)(e.entities.data,[t,r,"queriedData"]);return c?S(c,n):[]}var Be=Object(m.a)((function(e){var t=e.entities.data;return Object.keys(t).reduce((function(r,n){return Object.keys(t[n]).forEach((function(c){var o=Object.keys(t[n][c].edits).filter((function(t){return Ke(e,n,c,t)}));o.length&&(r[n]||(r[n]={}),r[n][c]||(r[n][c]={}),o.forEach((function(t){return r[n][c][t]={rawRecord:Le(e,n,c,t),edits:Fe(e,n,c,t)}})))})),r}),{})}),(function(e){return[e.entities.data]}));function Ye(e,t,r,n){return Object(f.get)(e.entities.data,[t,r,"edits",n])}var Fe=Object(m.a)((function(e,t,r,n){var c=(Me(e,t,r)||{}).transientEdits,o=Ye(e,t,r,n)||{};return c?Object.keys(o).reduce((function(e,t){return c[t]||(e[t]=o[t]),e}),{}):o}),(function(e){return[e.entities.config,e.entities.data]}));function Ke(e,t,r,n){return He(e,t,r,n)||Object.keys(Fe(e,t,r,n)).length>0}var Qe=Object(m.a)((function(e,t,r,n){return function(e){for(var t=1;t'+t+"";return!!r&&r.html===n}function nt(e){return Se()("select( 'core' ).hasUploadPermissions()",{alternative:"select( 'core' ).canUser( 'create', 'media' )"}),Object(f.defaultTo)(ct(e,"create","media"),!0)}function ct(e,t,r,n){var c=Object(f.compact)([t,r,n]).join("/");return Object(f.get)(e,["userPermissions",c])}function ot(e,t,r){return e.autosaves[r]}function it(e,t,r,n){if(void 0!==n){var c=e.autosaves[r];return Object(f.find)(c,{author:n})}}var at=Object(a.createRegistrySelector)((function(e){return function(t,r,n){return e("core").hasFinishedResolution("getAutosaves",[r,n])}})),ut=Object(m.a)((function(){return[]}),(function(e){return[e.undo.length,e.undo.offset]}));function st(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ft(e){for(var t=1;t2&&void 0!==i[2]?i[2]:"",a.next=3,ve(e);case 3:if(n=a.sent,c=Object(f.find)(n,{kind:e,name:t})){a.next=7;break}return a.abrupt("return");case 7:return a.next=9,U({path:"".concat(c.baseURL,"/").concat(r,"?context=edit")});case 9:return o=a.sent,a.next=12,z(e,t,o);case 12:case"end":return a.stop()}}),lt)}function kt(e,t){var r,n,c,o,i,a=arguments;return I.a.wrap((function(u){for(;;)switch(u.prev=u.next){case 0:return r=a.length>2&&void 0!==a[2]?a[2]:{},u.next=3,ve(e);case 3:if(n=u.sent,c=Object(f.find)(n,{kind:e,name:t})){u.next=7;break}return u.abrupt("return");case 7:return o=Object(x.addQueryArgs)(c.baseURL,ft({},r,{context:"edit"})),u.next=10,U({path:o});case 10:return i=u.sent,u.next=13,z(e,t,Object.values(i),r);case 13:case"end":return u.stop()}}),bt)}function xt(){var e;return I.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,U({path:"/wp/v2/themes?status=active"});case 2:return e=t.sent,t.next=5,G(e[0].theme_supports);case 5:case"end":return t.stop()}}),vt)}function Rt(e){var t;return I.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,U({path:Object(x.addQueryArgs)("/oembed/1.0/proxy",{url:e})});case 3:return t=r.sent,r.next=6,X(e,t);case 6:r.next=12;break;case 8:return r.prev=8,r.t0=r.catch(0),r.next=12,X(e,!1);case 12:case"end":return r.stop()}}),yt,null,[[0,8]])}function Pt(){return I.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Se()("select( 'core' ).hasUploadPermissions()",{alternative:"select( 'core' ).canUser( 'create', 'media' )"}),e.delegateYield(_t("create","media"),"t0",2);case 2:case"end":return e.stop()}}),Ot)}function _t(e,t,r){var n,c,o,i,a,u;return I.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:if(n={create:"POST",read:"GET",update:"PUT",delete:"DELETE"}[e]){s.next=4;break}throw new Error("'".concat(e,"' is not a valid action."));case 4:return c=r?"/wp/v2/".concat(t,"/").concat(r):"/wp/v2/".concat(t),s.prev=5,s.next=8,U({path:c,method:r?"GET":"OPTIONS",parse:!1});case 8:o=s.sent,s.next=14;break;case 11:return s.prev=11,s.t0=s.catch(5),s.abrupt("return");case 14:return i=Object(f.hasIn)(o,["headers","get"])?o.headers.get("allow"):Object(f.get)(o,["headers","Allow"],""),a=Object(f.compact)([e,t,r]).join("/"),u=Object(f.includes)(i,n),s.next=19,ce(a,u);case 19:case"end":return s.stop()}}),gt,null,[[5,11]])}function St(e,t){var r,n,c;return I.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,M("getPostType",e);case 2:return r=o.sent,n=r.rest_base,o.next=6,U({path:"/wp/v2/".concat(n,"/").concat(t,"/autosaves?context=edit")});case 6:if(!(c=o.sent)||!c.length){o.next=10;break}return o.next=10,oe(t,c);case 10:case"end":return o.stop()}}),ht)}function Tt(e,t){return I.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,M("getAutosaves",e,t);case 2:case"end":return r.stop()}}),Et)}kt.shouldInvalidate=function(e,t,r){return"RECEIVE_ITEMS"===e.type&&e.invalidateCache&&t===e.kind&&r===e.name};var It=r(0),Dt=r(9);function At(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ut(e){for(var t=1;t0,a(e,t,n),c]}),[e,t,n,r]),o=Object(u.a)(c,3),s=o[0],f=o[1],d=o[2],p=Object(a.useDispatch)("core").saveEntityRecord;return[s,f,Object(It.useCallback)((function(){var c=d("core").getEntityRecordNonTransientEdits(e,t,n);"string"==typeof r?c=Object(i.a)({},r,c[r]):r&&(c=Object.keys(c).reduce((function(e,t){return r.includes(t)&&(e[t]=c[t]),e}),{})),p(e,t,Ut({id:n},c))}),[e,t,n,r,d])]}function Bt(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.initialEdits,c=r.blocksProp,o=void 0===c?"blocks":c,i=r.contentProp,s=Lt(e,t,void 0===i?"content":i),f=Object(u.a)(s,2),d=f[0],p=f[1],l=Object(a.useDispatch)("core").editEntityRecord,b=Vt(e,t),v=Object(It.useMemo)((function(){if(n&&l(e,t,b,n,{undoIgnore:!0}),"function"!=typeof d){var r=Object(Dt.parse)(d);return r.length?r:[]}}),[b]),y=Lt(e,t,o),O=Object(u.a)(y,2),g=O[0],h=void 0===g?v:g,E=O[1],j=Object(It.useCallback)((function(e){E(e),p((function(e){var t=e.blocks;return Object(Dt.serialize)(t)}))}),[E,p]);return[h,E,j]}function Yt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ft(e){for(var t=1;t1?t-1:0),i=1;i1?c-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(c,o){null!==o&&"object"===n(o)&&(c=c[1]),e.call(r,c,o,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&c(t.prototype,r),i&&c(t,i),e}();e.exports=i},9:function(e,t){!function(){e.exports=this.wp.blocks}()}}); \ No newline at end of file diff --git a/wp-includes/js/dist/data-controls.js b/wp-includes/js/dist/data-controls.js index 3ae2466f09..b7bec4fb77 100644 --- a/wp-includes/js/dist/data-controls.js +++ b/wp-includes/js/dist/data-controls.js @@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["dataControls"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 339); +/******/ return __webpack_require__(__webpack_require__.s = 388); /******/ }) /************************************************************************/ /******/ ({ -/***/ 18: +/***/ 17: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -103,7 +103,7 @@ function _arrayWithoutHoles(arr) { } } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(31); +var iterableToArray = __webpack_require__(33); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js function _nonIterableSpread() { @@ -120,7 +120,7 @@ function _toConsumableArray(arr) { /***/ }), -/***/ 31: +/***/ 33: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -131,7 +131,7 @@ function _iterableToArray(iter) { /***/ }), -/***/ 339: +/***/ 388: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -140,8 +140,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "select", function() { return select; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dispatch", function() { return dispatch; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "controls", function() { return controls; }); -/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(18); -/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(38); +/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17); +/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(40); /* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4); /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__); @@ -305,13 +305,6 @@ var controls = { }; -/***/ }), - -/***/ 38: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["apiFetch"]; }()); - /***/ }), /***/ 4: @@ -319,6 +312,13 @@ var controls = { (function() { module.exports = this["wp"]["data"]; }()); +/***/ }), + +/***/ 40: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["apiFetch"]; }()); + /***/ }) /******/ }); \ No newline at end of file diff --git a/wp-includes/js/dist/data-controls.min.js b/wp-includes/js/dist/data-controls.min.js index 6d75f15293..57188302f2 100644 --- a/wp-includes/js/dist/data-controls.min.js +++ b/wp-includes/js/dist/data-controls.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.dataControls=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=339)}({18:function(t,e,r){"use strict";var n=r(31);function o(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e2?r-2:0),o=2;o2?r-2:0),o=2;o2?r-2:0),o=2;o2?r-2:0),o=2;o 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { args[_key - 1] = arguments[_key]; @@ -1558,7 +1581,7 @@ function createNamespace(key, options, registry) { return selector.apply(void 0, [state.metadata].concat(args)); }; - }), Object(external_this_lodash_["mapValues"])(options.selectors, function (selector) { + }), {}, Object(external_this_lodash_["mapValues"])(options.selectors, function (selector) { if (selector.isRegistrySelector) { selector.registry = registry; } @@ -1739,7 +1762,7 @@ function mapResolvers(resolvers, selectors, store) { var mappedResolvers = Object(external_this_lodash_["mapValues"])(resolvers, function (resolver) { var _resolver$fulfill = resolver.fulfill, resolverFulfill = _resolver$fulfill === void 0 ? resolver : _resolver$fulfill; - return Object(objectSpread["a" /* default */])({}, resolver, { + return namespace_store_objectSpread({}, resolver, { fulfill: resolverFulfill }); }); @@ -1887,6 +1910,9 @@ function _fulfillResolver() { // CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/store/index.js +function store_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function store_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { store_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { store_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } function createCoreDataStore(registry) { var getCoreDataSelector = function getCoreDataSelector(selectorName) { @@ -1916,12 +1942,12 @@ function createCoreDataStore(registry) { return { getSelectors: function getSelectors() { return ['getIsResolving', 'hasStartedResolution', 'hasFinishedResolution', 'isResolving', 'getCachedResolvers'].reduce(function (memo, selectorName) { - return Object(objectSpread["a" /* default */])({}, memo, Object(defineProperty["a" /* default */])({}, selectorName, getCoreDataSelector(selectorName))); + return store_objectSpread({}, memo, Object(defineProperty["a" /* default */])({}, selectorName, getCoreDataSelector(selectorName))); }, {}); }, getActions: function getActions() { return ['startResolution', 'finishResolution', 'invalidateResolution', 'invalidateResolutionForStore', 'invalidateResolutionForStoreSelector'].reduce(function (memo, actionName) { - return Object(objectSpread["a" /* default */])({}, memo, Object(defineProperty["a" /* default */])({}, actionName, getCoreDataAction(actionName))); + return store_objectSpread({}, memo, Object(defineProperty["a" /* default */])({}, actionName, getCoreDataAction(actionName))); }, {}); }, subscribe: function subscribe() { @@ -1940,6 +1966,10 @@ function createCoreDataStore(registry) { +function registry_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function registry_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { registry_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { registry_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -2179,7 +2209,7 @@ function createRegistry() { function use(plugin, options) { - registry = Object(objectSpread["a" /* default */])({}, registry, plugin(registry, options)); + registry = registry_objectSpread({}, registry, {}, plugin(registry, options)); return registry; } @@ -2207,7 +2237,7 @@ function createRegistry() { /* harmony default export */ var default_registry = (createRegistry()); // EXTERNAL MODULE: external {"this":["wp","deprecated"]} -var external_this_wp_deprecated_ = __webpack_require__(33); +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/data/build-module/plugins/controls/index.js @@ -2268,6 +2298,9 @@ try { // CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/plugins/persistence/index.js +function persistence_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function persistence_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { persistence_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { persistence_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -2377,7 +2410,7 @@ function createPersistenceInterface(options) { function setData(key, value) { - data = Object(objectSpread["a" /* default */])({}, data, Object(defineProperty["a" /* default */])({}, key, value)); + data = persistence_objectSpread({}, data, Object(defineProperty["a" /* default */])({}, key, value)); storage.setItem(storageKey, JSON.stringify(data)); } @@ -2471,7 +2504,7 @@ var persistence_persistencePlugin = function persistencePlugin(registry, pluginO initialState = persistedState; } - options = Object(objectSpread["a" /* default */])({}, options, { + options = persistence_objectSpread({}, options, { initialState: initialState }); } @@ -2524,7 +2557,7 @@ persistence_persistencePlugin.__unstableMigrate = function (pluginOptions) { // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(12); +var esm_extends = __webpack_require__(11); // EXTERNAL MODULE: external {"this":["wp","element"]} var external_this_wp_element_ = __webpack_require__(0); @@ -2532,11 +2565,59 @@ var external_this_wp_element_ = __webpack_require__(0); // EXTERNAL MODULE: external {"this":["wp","compose"]} var external_this_wp_compose_ = __webpack_require__(8); +// EXTERNAL MODULE: external {"this":"React"} +var external_this_React_ = __webpack_require__(21); + +// CONCATENATED MODULE: ./node_modules/use-memo-one/dist/use-memo-one.esm.js + + +function areInputsEqual(newInputs, lastInputs) { + if (newInputs.length !== lastInputs.length) { + return false; + } + + for (var i = 0; i < newInputs.length; i++) { + if (newInputs[i] !== lastInputs[i]) { + return false; + } + } + + return true; +} + +function useMemoOne(getResult, inputs) { + var initial = Object(external_this_React_["useState"])(function () { + return { + inputs: inputs, + result: getResult() + }; + })[0]; + var committed = Object(external_this_React_["useRef"])(initial); + var isInputMatch = Boolean(inputs && committed.current.inputs && areInputsEqual(inputs, committed.current.inputs)); + var cache = isInputMatch ? committed.current : { + inputs: inputs, + result: getResult() + }; + Object(external_this_React_["useEffect"])(function () { + committed.current = cache; + }, [cache]); + return cache.result; +} +function useCallbackOne(callback, inputs) { + return useMemoOne(function () { + return callback; + }, inputs); +} +var useMemo = useMemoOne; +var useCallback = useCallbackOne; + + + // EXTERNAL MODULE: external {"this":["wp","priorityQueue"]} -var external_this_wp_priorityQueue_ = __webpack_require__(230); +var external_this_wp_priorityQueue_ = __webpack_require__(269); // EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]} -var external_this_wp_isShallowEqual_ = __webpack_require__(46); +var external_this_wp_isShallowEqual_ = __webpack_require__(50); var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_); // CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/registry-provider/context.js @@ -2712,12 +2793,17 @@ function useAsyncMode() { // CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/use-select/index.js +/** + * External dependencies + */ + /** * WordPress dependencies */ + /** * Internal dependencies */ @@ -2782,8 +2868,11 @@ var renderQueue = Object(external_this_wp_priorityQueue_["createQueue"])(); function useSelect(_mapSelect, deps) { var mapSelect = Object(external_this_wp_element_["useCallback"])(_mapSelect, deps); var registry = useRegistry(); - var isAsync = useAsyncMode(); - var queueContext = Object(external_this_wp_element_["useMemo"])(function () { + var isAsync = useAsyncMode(); // React can sometimes clear the `useMemo` cache. + // We use the cache-stable `useMemoOne` to avoid + // losing queues. + + var queueContext = useMemoOne(function () { return { queue: true }; @@ -2799,7 +2888,7 @@ function useSelect(_mapSelect, deps) { var latestIsAsync = Object(external_this_wp_element_["useRef"])(isAsync); var latestMapOutput = Object(external_this_wp_element_["useRef"])(); var latestMapOutputError = Object(external_this_wp_element_["useRef"])(); - var isMounted = Object(external_this_wp_element_["useRef"])(); + var isMountedAndNotUnsubscribing = Object(external_this_wp_element_["useRef"])(); var mapOutput; try { @@ -2821,19 +2910,21 @@ function useSelect(_mapSelect, deps) { useIsomorphicLayoutEffect(function () { latestMapSelect.current = mapSelect; + latestMapOutput.current = mapOutput; + latestMapOutputError.current = undefined; + isMountedAndNotUnsubscribing.current = true; // This has to run after the other ref updates + // to avoid using stale values in the flushed + // callbacks or potentially overwriting a + // changed `latestMapOutput.current`. if (latestIsAsync.current !== isAsync) { latestIsAsync.current = isAsync; renderQueue.flush(queueContext); } - - latestMapOutput.current = mapOutput; - latestMapOutputError.current = undefined; - isMounted.current = true; }); useIsomorphicLayoutEffect(function () { var onStoreChange = function onStoreChange() { - if (isMounted.current) { + if (isMountedAndNotUnsubscribing.current) { try { var newMapOutput = latestMapSelect.current(registry.select, registry); @@ -2866,7 +2957,7 @@ function useSelect(_mapSelect, deps) { } }); return function () { - isMounted.current = false; + isMountedAndNotUnsubscribing.current = false; unsubscribe(); renderQueue.flush(queueContext); }; @@ -3471,7 +3562,7 @@ var build_module_use = default_registry.use; /***/ }), -/***/ 42: +/***/ 44: /***/ (function(module, exports, __webpack_require__) { module.exports = function memize( fn, options ) { @@ -3589,7 +3680,7 @@ module.exports = function memize( fn, options ) { /***/ }), -/***/ 44: +/***/ 47: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -3632,14 +3723,36 @@ function _asyncToGenerator(fn) { /***/ }), -/***/ 46: +/***/ 5: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} + +/***/ }), + +/***/ 50: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["isShallowEqual"]; }()); /***/ }), -/***/ 57: +/***/ 62: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -3954,35 +4067,7 @@ module.exports = EquivalentKeyMap; /***/ }), -/***/ 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; -} - -/***/ }), - -/***/ 63: +/***/ 71: /***/ (function(module, exports) { var g; @@ -4014,40 +4099,6 @@ module.exports = g; (function() { module.exports = this["wp"]["compose"]; }()); -/***/ }), - -/***/ 9: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} - -/***/ }), - -/***/ 98: -/***/ (function(module, exports) { - -module.exports = isPromise; - -function isPromise(obj) { - return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function'; -} - - /***/ }) /******/ }); \ No newline at end of file diff --git a/wp-includes/js/dist/data.min.js b/wp-includes/js/dist/data.min.js index 3e763c9ce1..26d6f0bd57 100644 --- a/wp-includes/js/dist/data.min.js +++ b/wp-includes/js/dist/data.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.data=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=368)}({0:function(e,t){!function(){e.exports=this.wp.element}()},109:function(e,t){e.exports=function(e){var t,r=Object.keys(e);return t=function(){var e,t,n;for(e="return {",t=0;t0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,n=r[E];if(void 0===n)return t;var o=e(t[n],r);return o===t[n]?t:Object(s.a)({},t,Object(D.a)({},n,o))}})])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new C.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var r="START_RESOLUTION"===t.type,n=new C.a(e);return n.set(t.args,r),n;case"INVALIDATE_RESOLUTION":var o=new C.a(e);return o.delete(t.args),o}return e})),U=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(f.has)(e,[t.selectorName])?Object(f.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return M(e,t)}return e};function F(e,t,r){var n=Object(f.get)(e,[t]);if(n)return n.get(r)}function V(e,t){return void 0!==F(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function G(e,t){return!1===F(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function H(e,t){return!0===F(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function W(e){return e}function z(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function X(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function J(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function K(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function Y(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function q(e,t,r){var i,u=t.reducer,a=function(e,t,r){var n=[k(r,e),N];if(t.controls){var o=Object(f.mapValues)(t.controls,(function(e){return e.isRegistryControl?e(r):e}));n.push(T()(o))}var i=[_.apply(void 0,n)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&i.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));var u=t.reducer,a=t.initialState;return w(c()({metadata:U,root:u}),{root:a},Object(f.flowRight)(i))}(e,t,r),l=function(e,t){return Object(f.mapValues)(e,(function(e){return function(){return Promise.resolve(t.dispatch(e.apply(void 0,arguments)))}}))}(Object(s.a)({},o,t.actions),a),p=function(e,t){return Object(f.mapValues)(e,(function(e){var r=function(){var r=arguments.length,n=new Array(r+1);n[0]=t.__unstableOriginalGetState();for(var o=0;o1?r-1:0),o=1;o1?r-1:0),o=1;o3?i-3:0),c=3;c1?o-1:0),u=1;u1?o-1:0),u=1;u0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r={},n=[];function o(){n.forEach((function(e){return e()}))}var i=function(e){return n.push(e),function(){n=Object(f.without)(n,e)}};function u(e){var n=r[e];return n?n.getSelectors():t&&t.select(e)}var c=p()((function(e){return Object(f.mapValues)(Object(f.omit)(e,["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"]),(function(t,r){return function(){for(var n=arguments.length,o=new Array(n),u=0;u1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(o,i){null!==i&&"object"===n(i)&&(o=o[1]),e.call(r,o,i,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&o(t.prototype,r),u&&o(t,u),e}();e.exports=u},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;t0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,n=r[U];if(void 0===n)return t;var o=e(t[n],r);return o===t[n]?t:C({},t,Object(s.a)({},n,o))}})])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new k.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var r="START_RESOLUTION"===t.type,n=new k.a(e);return n.set(t.args,r),n;case"INVALIDATE_RESOLUTION":var o=new k.a(e);return o.delete(t.args),o}return e})),F=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(f.has)(e,[t.selectorName])?Object(f.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return M(e,t)}return e};function V(e,t,r){var n=Object(f.get)(e,[t]);if(n)return n.get(r)}function G(e,t){return void 0!==V(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function H(e,t){return!1===V(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function W(e,t){return!0===V(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function z(e){return e}function X(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function B(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function J(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function K(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function Y(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function q(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Q(e){for(var t=1;t1?r-1:0),o=1;o1?r-1:0),o=1;o3?i-3:0),c=3;c1?o-1:0),u=1;u1?o-1:0),u=1;u0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r={},n=[];function o(){n.forEach((function(e){return e()}))}var i=function(e){return n.push(e),function(){n=Object(f.without)(n,e)}};function u(e){var n=r[e];return n?n.getSelectors():t&&t.select(e)}var c=p()((function(e){return Object(f.mapValues)(Object(f.omit)(e,["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"]),(function(t,r){return function(){for(var n=arguments.length,o=new Array(n),u=0;u1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(o,i){null!==i&&"object"===n(i)&&(o=o[1]),e.call(r,o,i,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&o(t.prototype,r),u&&o(t,u),e}();e.exports=u},71:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},8:function(e,t){!function(){e.exports=this.wp.compose}()}}); \ No newline at end of file diff --git a/wp-includes/js/dist/date.js b/wp-includes/js/dist/date.js index 362a3d5342..c81ce52aff 100644 --- a/wp-includes/js/dist/date.js +++ b/wp-includes/js/dist/date.js @@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["date"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 340); +/******/ return __webpack_require__(__webpack_require__.s = 389); /******/ }) /************************************************************************/ /******/ ({ -/***/ 209: +/***/ 247: /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;//! moment-timezone.js @@ -729,7 +729,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_ /***/ }), -/***/ 340: +/***/ 389: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -744,9 +744,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDate", function() { return getDate; }); /* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30); /* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var moment_timezone_moment_timezone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(209); +/* harmony import */ var moment_timezone_moment_timezone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(247); /* harmony import */ var moment_timezone_moment_timezone__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(moment_timezone_moment_timezone__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var moment_timezone_moment_timezone_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(341); +/* harmony import */ var moment_timezone_moment_timezone_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(390); /* harmony import */ var moment_timezone_moment_timezone_utils__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(moment_timezone_moment_timezone_utils__WEBPACK_IMPORTED_MODULE_2__); /** * External dependencies @@ -1160,7 +1160,7 @@ setupWPTimezone(); /***/ }), -/***/ 341: +/***/ 390: /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;//! moment-timezone-utils.js @@ -1174,7 +1174,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_ /*global define*/ if ( true && module.exports) { - module.exports = factory(__webpack_require__(342)); // Node + module.exports = factory(__webpack_require__(391)); // Node } else if (true) { !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(30)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? @@ -1486,16 +1486,16 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_ /***/ }), -/***/ 342: +/***/ 391: /***/ (function(module, exports, __webpack_require__) { -var moment = module.exports = __webpack_require__(209); -moment.tz.load(__webpack_require__(343)); +var moment = module.exports = __webpack_require__(247); +moment.tz.load(__webpack_require__(392)); /***/ }), -/***/ 343: +/***/ 392: /***/ (function(module) { module.exports = JSON.parse("{\"version\":\"2019c\",\"zones\":[\"Africa/Abidjan|LMT GMT|g.8 0|01|-2ldXH.Q|48e5\",\"Africa/Accra|LMT GMT +0020|.Q 0 -k|012121212121212121212121212121212121212121212121|-26BbX.8 6tzX.8 MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE|41e5\",\"Africa/Nairobi|LMT EAT +0230 +0245|-2r.g -30 -2u -2J|01231|-1F3Cr.g 3Dzr.g okMu MFXJ|47e5\",\"Africa/Algiers|PMT WET WEST CET CEST|-9.l 0 -10 -10 -20|0121212121212121343431312123431213|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 DA0 Imo0 rd0 De0 9Xz0 1fb0 1ap0 16K0 2yo0 mEp0 hwL0 jxA0 11A0 dDd0 17b0 11B0 1cN0 2Dy0 1cN0 1fB0 1cL0|26e5\",\"Africa/Lagos|LMT WAT|-d.A -10|01|-22y0d.A|17e6\",\"Africa/Bissau|LMT -01 GMT|12.k 10 0|012|-2ldX0 2xoo0|39e4\",\"Africa/Maputo|LMT CAT|-2a.k -20|01|-2GJea.k|26e5\",\"Africa/Cairo|EET EEST|-20 -30|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1bIO0 vb0 1ip0 11z0 1iN0 1nz0 12p0 1pz0 10N0 1pz0 16p0 1jz0 s3d0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1WL0 rd0 1Rz0 wp0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1qL0 Xd0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1ny0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 WL0 1qN0 Rb0 1wp0 On0 1zd0 Lz0 1EN0 Fb0 c10 8n0 8Nd0 gL0 e10 mn0|15e6\",\"Africa/Casablanca|LMT +00 +01|u.k 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2gMnt.E 130Lt.E rb0 Dd0 dVb0 b6p0 TX0 EoB0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4mn0 SyN0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0|32e5\",\"Africa/Ceuta|WET WEST CET CEST|0 -10 -10 -20|010101010101010101010232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-25KN0 11z0 drd0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1y7o0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4VB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|85e3\",\"Africa/El_Aaiun|LMT -01 +00 +01|Q.M 10 0 -10|012323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1rDz7.c 1GVA7.c 6L0 AL0 1Nd0 XX0 1Cp0 pz0 1cBB0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0|20e4\",\"Africa/Johannesburg|SAST SAST SAST|-1u -20 -30|012121|-2GJdu 1Ajdu 1cL0 1cN0 1cL0|84e5\",\"Africa/Juba|LMT CAT CAST EAT|-26.s -20 -30 -30|01212121212121212121212121212121213|-1yW26.s 1zK06.s 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0\",\"Africa/Khartoum|LMT CAT CAST EAT|-2a.8 -20 -30 -30|012121212121212121212121212121212131|-1yW2a.8 1zK0a.8 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 HjL0|51e5\",\"Africa/Monrovia|MMT MMT GMT|H.8 I.u 0|012|-23Lzg.Q 28G01.m|11e5\",\"Africa/Ndjamena|LMT WAT WAST|-10.c -10 -20|0121|-2le10.c 2J3c0.c Wn0|13e5\",\"Africa/Sao_Tome|LMT GMT WAT|A.J 0 -10|0121|-2le00 4i6N0 2q00\",\"Africa/Tripoli|LMT CET CEST EET|-Q.I -10 -20 -20|012121213121212121212121213123123|-21JcQ.I 1hnBQ.I vx0 4iP0 xx0 4eN0 Bb0 7ip0 U0n0 A10 1db0 1cN0 1db0 1dd0 1db0 1eN0 1bb0 1e10 1cL0 1c10 1db0 1dd0 1db0 1cN0 1db0 1q10 fAn0 1ep0 1db0 AKq0 TA0 1o00|11e5\",\"Africa/Tunis|PMT CET CEST|-9.l -10 -20|0121212121212121212121212121212121|-2nco9.l 18pa9.l 1qM0 DA0 3Tc0 11B0 1ze0 WM0 7z0 3d0 14L0 1cN0 1f90 1ar0 16J0 1gXB0 WM0 1rA0 11c0 nwo0 Ko0 1cM0 1cM0 1rA0 10M0 zuM0 10N0 1aN0 1qM0 WM0 1qM0 11A0 1o00|20e5\",\"Africa/Windhoek|+0130 SAST SAST CAT WAT|-1u -20 -30 -20 -10|01213434343434343434343434343434343434343434343434343|-2GJdu 1Ajdu 1cL0 1SqL0 9Io0 16P0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|32e4\",\"America/Adak|NST NWT NPT BST BDT AHST HST HDT|b0 a0 a0 b0 a0 a0 a0 90|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|326\",\"America/Anchorage|AST AWT APT AHST AHDT YST AKST AKDT|a0 90 90 a0 90 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T00 8wX0 iA0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|30e4\",\"America/Port_of_Spain|LMT AST|46.4 40|01|-2kNvR.U|43e3\",\"America/Araguaina|LMT -03 -02|3c.M 30 20|0121212121212121212121212121212121212121212121212121|-2glwL.c HdKL.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 ny10 Lz0|14e4\",\"America/Argentina/Buenos_Aires|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 A4p0 uL0 1qN0 WL0\",\"America/Argentina/Catamarca|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 7B0 8zb0 uL0\",\"America/Argentina/Cordoba|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0 1qN0 WL0\",\"America/Argentina/Jujuy|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1ze0 TX0 1ld0 WK0 1wp0 TX0 A4p0 uL0\",\"America/Argentina/La_Rioja|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0\",\"America/Argentina/Mendoza|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232312121321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1u20 SL0 1vd0 Tb0 1wp0 TW0 ri10 Op0 7TX0 uL0\",\"America/Argentina/Rio_Gallegos|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0\",\"America/Argentina/Salta|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0\",\"America/Argentina/San_Juan|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rld0 m10 8lb0 uL0\",\"America/Argentina/San_Luis|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121212321212|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 XX0 1q20 SL0 AN0 vDb0 m10 8lb0 8L0 jd0 1qN0 WL0 1qN0\",\"America/Argentina/Tucuman|CMT -04 -03 -02|4g.M 40 30 20|0121212121212121212121212121212121212121212323232313232123232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 4N0 8BX0 uL0 1qN0 WL0\",\"America/Argentina/Ushuaia|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rkN0 8p0 8zb0 uL0\",\"America/Curacao|LMT -0430 AST|4z.L 4u 40|012|-2kV7o.d 28KLS.d|15e4\",\"America/Asuncion|AMT -04 -03|3O.E 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-1x589.k 1DKM9.k 3CL0 3Dd0 10L0 1pB0 10n0 1pB0 10n0 1pB0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1lB0 14n0 1dd0 1cL0 1fd0 WL0 1rd0 1aL0 1dB0 Xz0 1qp0 Xb0 1qN0 10L0 1rB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 WN0 1qL0 11B0 1nX0 1ip0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 TX0 1tB0 19X0 1a10 1fz0 1a10 1fz0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0|28e5\",\"America/Atikokan|CST CDT CWT CPT EST|60 50 50 50 50|0101234|-25TQ0 1in0 Rnb0 3je0 8x30 iw0|28e2\",\"America/Bahia_Banderas|LMT MST CST PST MDT CDT|71 70 60 80 60 50|0121212131414141414141414141414141414152525252525252525252525252525252525252525252525252525252|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nW0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|84e3\",\"America/Bahia|LMT -03 -02|2y.4 30 20|01212121212121212121212121212121212121212121212121212121212121|-2glxp.U HdLp.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 l5B0 Rb0|27e5\",\"America/Barbados|LMT BMT AST ADT|3W.t 3W.t 40 30|01232323232|-1Q0I1.v jsM0 1ODC1.v IL0 1ip0 17b0 1ip0 17b0 1ld0 13b0|28e4\",\"America/Belem|LMT -03 -02|3d.U 30 20|012121212121212121212121212121|-2glwK.4 HdKK.4 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|20e5\",\"America/Belize|LMT CST -0530 CDT|5Q.M 60 5u 50|01212121212121212121212121212121212121212121212121213131|-2kBu7.c fPA7.c Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1f0Mu qn0 lxB0 mn0|57e3\",\"America/Blanc-Sablon|AST ADT AWT APT|40 30 30 30|010230|-25TS0 1in0 UGp0 8x50 iu0|11e2\",\"America/Boa_Vista|LMT -04 -03|42.E 40 30|0121212121212121212121212121212121|-2glvV.k HdKV.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 smp0 WL0 1tB0 2L0|62e2\",\"America/Bogota|BMT -05 -04|4U.g 50 40|0121|-2eb73.I 38yo3.I 2en0|90e5\",\"America/Boise|PST PDT MST MWT MPT MDT|80 70 70 60 60 60|0101023425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-261q0 1nX0 11B0 1nX0 8C10 JCL0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 Dd0 1Kn0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e4\",\"America/Cambridge_Bay|-00 MST MWT MPT MDDT MDT CST CDT EST|0 70 60 60 50 60 60 50 50|0123141515151515151515151515151515151515151515678651515151515151515151515151515151515151515151515151515151515151515151515151|-21Jc0 RO90 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11A0 1nX0 2K0 WQ0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e2\",\"America/Campo_Grande|LMT -04 -03|3C.s 40 30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwl.w HdLl.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|77e4\",\"America/Cancun|LMT CST EST EDT CDT|5L.4 60 50 40 50|0123232341414141414141414141414141414141412|-1UQG0 2q2o0 yLB0 1lb0 14p0 1lb0 14p0 Lz0 xB0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 Dd0|63e4\",\"America/Caracas|CMT -0430 -04|4r.E 4u 40|01212|-2kV7w.k 28KM2.k 1IwOu kqo0|29e5\",\"America/Cayenne|LMT -04 -03|3t.k 40 30|012|-2mrwu.E 2gWou.E|58e3\",\"America/Panama|CMT EST|5j.A 50|01|-2uduE.o|15e5\",\"America/Chicago|CST CDT EST CWT CPT|60 50 50 50 50|01010101010101010101010101010101010102010101010103401010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 1wp0 TX0 WN0 1qL0 1cN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 11B0 1Hz0 14p0 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|92e5\",\"America/Chihuahua|LMT MST CST CDT MDT|74.k 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|81e4\",\"America/Costa_Rica|SJMT CST CDT|5A.d 60 50|0121212121|-1Xd6n.L 2lu0n.L Db0 1Kp0 Db0 pRB0 15b0 1kp0 mL0|12e5\",\"America/Creston|MST PST|70 80|010|-29DR0 43B0|53e2\",\"America/Cuiaba|LMT -04 -03|3I.k 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwf.E HdLf.E 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 4a10 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|54e4\",\"America/Danmarkshavn|LMT -03 -02 GMT|1e.E 30 20 0|01212121212121212121212121212121213|-2a5WJ.k 2z5fJ.k 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 DC0|8\",\"America/Dawson_Creek|PST PDT PWT PPT MST|80 70 70 70 70|0102301010101010101010101010101010101010101010101010101014|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 ML0|12e3\",\"America/Dawson|YST YDT YWT YPT YDDT PST PDT|90 80 80 80 70 80 70|0101023040565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 jrA0 fNd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|13e2\",\"America/Denver|MST MDT MWT MPT|70 60 60 60|01010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 11B0 1qL0 WN0 mn0 Ord0 8x20 ix0 LCN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e5\",\"America/Detroit|LMT CST EST EWT EPT EDT|5w.b 60 50 40 40 40|0123425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2Cgir.N peqr.N 156L0 8x40 iv0 6fd0 11z0 JxX1 SMX 1cN0 1cL0 aW10 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e5\",\"America/Edmonton|LMT MST MDT MWT MPT|7x.Q 70 60 60 60|0121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2yd4q.8 shdq.8 1in0 17d0 hz0 2dB0 1fz0 1a10 11z0 1qN0 WL0 1qN0 11z0 IGN0 8x20 ix0 3NB0 11z0 XQp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|10e5\",\"America/Eirunepe|LMT -05 -04|4D.s 50 40|0121212121212121212121212121212121|-2glvk.w HdLk.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0 yTd0 d5X0|31e3\",\"America/El_Salvador|LMT CST CDT|5U.M 60 50|012121|-1XiG3.c 2Fvc3.c WL0 1qN0 WL0|11e5\",\"America/Tijuana|LMT MST PST PDT PWT PPT|7M.4 70 80 70 70 70|012123245232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQE0 4PX0 8mM0 8lc0 SN0 1cL0 pHB0 83r0 zI0 5O10 1Rz0 cOO0 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 BUp0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|20e5\",\"America/Fort_Nelson|PST PDT PWT PPT MST|80 70 70 70 70|01023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010104|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0|39e2\",\"America/Fort_Wayne|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010101023010101010101010101040454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 QI10 Db0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 5Tz0 1o10 qLb0 1cL0 1cN0 1cL0 1qhd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Fortaleza|LMT -03 -02|2y 30 20|0121212121212121212121212121212121212121|-2glxq HdLq 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 5z0 2mN0 On0|34e5\",\"America/Glace_Bay|LMT AST ADT AWT APT|3X.M 40 30 30 30|012134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsI0.c CwO0.c 1in0 UGp0 8x50 iu0 iq10 11z0 Jg10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3\",\"America/Godthab|LMT -03 -02|3q.U 30 20|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5Ux.4 2z5dx.4 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e3\",\"America/Goose_Bay|NST NDT NST NDT NWT NPT AST ADT ADDT|3u.Q 2u.Q 3u 2u 2u 2u 40 30 20|010232323232323245232323232323232323232323232323232323232326767676767676767676767676767676767676767676768676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-25TSt.8 1in0 DXb0 2HbX.8 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 S10 g0u 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|76e2\",\"America/Grand_Turk|KMT EST EDT AST|57.a 50 40 40|01212121212121212121212121212121212121212121212121212121212121212121212121232121212121212121212121212121212121212121|-2l1uQ.O 2HHBQ.O 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 5Ip0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e2\",\"America/Guatemala|LMT CST CDT|62.4 60 50|0121212121|-24KhV.U 2efXV.U An0 mtd0 Nz0 ifB0 17b0 zDB0 11z0|13e5\",\"America/Guayaquil|QMT -05 -04|5e 50 40|0121|-1yVSK 2uILK rz0|27e5\",\"America/Guyana|LMT -0345 -03 -04|3Q.E 3J 30 40|0123|-2dvU7.k 2r6LQ.k Bxbf|80e4\",\"America/Halifax|LMT AST ADT AWT APT|4e.o 40 30 30 30|0121212121212121212121212121212121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsHJ.A xzzJ.A 1db0 3I30 1in0 3HX0 IL0 1E10 ML0 1yN0 Pb0 1Bd0 Mn0 1Bd0 Rz0 1w10 Xb0 1w10 LX0 1w10 Xb0 1w10 Lz0 1C10 Jz0 1E10 OL0 1yN0 Un0 1qp0 Xb0 1qp0 11X0 1w10 Lz0 1HB0 LX0 1C10 FX0 1w10 Xb0 1qp0 Xb0 1BB0 LX0 1td0 Xb0 1qp0 Xb0 Rf0 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 6i10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|39e4\",\"America/Havana|HMT CST CDT|5t.A 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Meuu.o 72zu.o ML0 sld0 An0 1Nd0 Db0 1Nd0 An0 6Ep0 An0 1Nd0 An0 JDd0 Mn0 1Ap0 On0 1fd0 11X0 1qN0 WL0 1wp0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 14n0 1ld0 14L0 1kN0 15b0 1kp0 1cL0 1cN0 1fz0 1a10 1fz0 1fB0 11z0 14p0 1nX0 11B0 1nX0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 1a10 1in0 1a10 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 17c0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 11A0 6i00 Rc0 1wo0 U00 1tA0 Rc0 1wo0 U00 1wo0 U00 1zc0 U00 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0|21e5\",\"America/Hermosillo|LMT MST CST PST MDT|7n.Q 70 60 80 60|0121212131414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0|64e4\",\"America/Indiana/Knox|CST CDT CWT CPT EST|60 50 50 50 50|0101023010101010101010101010101010101040101010101010101010101010101010101010101010101010141010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 3Cn0 8wp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 z8o0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Indiana/Marengo|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010104545454545414545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 dyN0 11z0 6fd0 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1e6p0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Indiana/Petersburg|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010104010101010101010101010141014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 3Fb0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 19co0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Indiana/Tell_City|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010401054541010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 8wn0 1cN0 1cL0 1cN0 1cK0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Indiana/Vevay|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010102304545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 kPB0 Awn0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1lnd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Indiana/Vincennes|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010454541014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Indiana/Winamac|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010101010454541054545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1za0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Inuvik|-00 PST PDDT MST MDT|0 80 60 70 60|0121343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-FnA0 tWU0 1fA0 wPe0 2pz0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|35e2\",\"America/Iqaluit|-00 EWT EPT EST EDDT EDT CST CDT|0 40 40 50 30 40 60 50|01234353535353535353535353535353535353535353567353535353535353535353535353535353535353535353535353535353535353535353535353|-16K00 7nX0 iv0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|67e2\",\"America/Jamaica|KMT EST EDT|57.a 50 40|0121212121212121212121|-2l1uQ.O 2uM1Q.O 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0|94e4\",\"America/Juneau|PST PWT PPT PDT YDT YST AKST AKDT|80 70 70 70 80 90 90 80|01203030303030303030303030403030356767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cM0 1cM0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|33e3\",\"America/Kentucky/Louisville|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101010102301010101010101010101010101454545454545414545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 3Fd0 Nb0 LPd0 11z0 RB0 8x30 iw0 1nX1 e0X 9vd0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 xz0 gso0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Kentucky/Monticello|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 SWp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/La_Paz|CMT BST -04|4w.A 3w.A 40|012|-1x37r.o 13b0|19e5\",\"America/Lima|LMT -05 -04|58.A 50 40|0121212121212121|-2tyGP.o 1bDzP.o zX0 1aN0 1cL0 1cN0 1cL0 1PrB0 zX0 1O10 zX0 6Gp0 zX0 98p0 zX0|11e6\",\"America/Los_Angeles|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 5Wp1 1VaX 3dA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e6\",\"America/Maceio|LMT -03 -02|2m.Q 30 20|012121212121212121212121212121212121212121|-2glxB.8 HdLB.8 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 8Q10 WL0 1tB0 5z0 2mN0 On0|93e4\",\"America/Managua|MMT CST EST CDT|5J.c 60 50 50|0121313121213131|-1quie.M 1yAMe.M 4mn0 9Up0 Dz0 1K10 Dz0 s3F0 1KH0 DB0 9In0 k8p0 19X0 1o30 11y0|22e5\",\"America/Manaus|LMT -04 -03|40.4 40 30|01212121212121212121212121212121|-2glvX.U HdKX.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0|19e5\",\"America/Martinique|FFMT AST ADT|44.k 40 30|0121|-2mPTT.E 2LPbT.E 19X0|39e4\",\"America/Matamoros|LMT CST CDT|6E 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|45e4\",\"America/Mazatlan|LMT MST CST PST MDT|75.E 70 60 80 60|0121212131414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|44e4\",\"America/Menominee|CST CDT CWT CPT EST|60 50 50 50 50|01010230101041010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 LCN0 1fz0 6410 9Jb0 1cM0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|85e2\",\"America/Merida|LMT CST EST CDT|5W.s 60 50 50|0121313131313131313131313131313131313131313131313131313131313131313131313131313131313131|-1UQG0 2q2o0 2hz0 wu30 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|11e5\",\"America/Metlakatla|PST PWT PPT PDT AKST AKDT|80 70 70 70 90 80|01203030303030303030303030303030304545450454545454545454545454545454545454545454|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1hU10 Rd0 1zb0 Op0 1zb0 Op0 1zb0 uM0 jB0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2\",\"America/Mexico_City|LMT MST CST CDT CWT|6A.A 70 60 50 50|012121232324232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 gEn0 TX0 3xd0 Jb0 6zB0 SL0 e5d0 17b0 1Pff0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|20e6\",\"America/Miquelon|LMT AST -03 -02|3I.E 40 30 20|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2mKkf.k 2LTAf.k gQ10 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|61e2\",\"America/Moncton|EST AST ADT AWT APT|50 40 30 30 30|012121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsH0 CwN0 1in0 zAo0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1K10 Lz0 1zB0 NX0 1u10 Wn0 S20 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14n1 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 ReX 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|64e3\",\"America/Monterrey|LMT CST CDT|6F.g 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|41e5\",\"America/Montevideo|LMT MMT -04 -03 -0330 -0230 -02 -0130|3I.P 3I.P 40 30 3u 2u 20 1u|012343434343434343434343435353636353636375363636363636363636363636363636363636363636363|-2tRUf.9 sVc0 8jcf.9 1db0 1dcu 1cLu 1dcu 1cLu ircu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu WLu 1fAu 1cLu 1o0u 11zu NAu 3jXu zXu Dq0u 19Xu pcu jz0 cm10 19X0 6tB0 1fbu 3o0u jX0 4vB0 xz0 3Cp0 mmu 1a10 IMu Db0 4c10 uL0 1Nd0 An0 1SN0 uL0 mp0 28L0 iPB0 un0 1SN0 xz0 1zd0 Lz0 1zd0 Rb0 1zd0 On0 1wp0 Rb0 s8p0 1fB0 1ip0 11z0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 11z0|17e5\",\"America/Toronto|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101012301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 11Wu 1nzu 1fD0 WJ0 1wr0 Nb0 1Ap0 On0 1zd0 On0 1wp0 TX0 1tB0 TX0 1tB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 4kM0 8x40 iv0 1o10 11z0 1nX0 11z0 1o10 11z0 1o10 1qL0 11D0 1nX0 11B0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e5\",\"America/Nassau|LMT EST EDT|59.u 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2kNuO.u 26XdO.u 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|24e4\",\"America/New_York|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 11B0 1qL0 1a10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x40 iv0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e6\",\"America/Nipigon|EST EDT EWT EPT|50 40 40 40|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 Rnb0 3je0 8x40 iv0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|16e2\",\"America/Nome|NST NWT NPT BST BDT YST AKST AKDT|b0 a0 a0 b0 a0 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cl0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|38e2\",\"America/Noronha|LMT -02 -01|29.E 20 10|0121212121212121212121212121212121212121|-2glxO.k HdKO.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|30e2\",\"America/North_Dakota/Beulah|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/North_Dakota/Center|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/North_Dakota/New_Salem|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"America/Ojinaga|LMT MST CST CDT MDT|6V.E 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3\",\"America/Pangnirtung|-00 AST AWT APT ADDT ADT EDT EST CST CDT|0 40 30 30 20 30 40 50 60 50|012314151515151515151515151515151515167676767689767676767676767676767676767676767676767676767676767676767676767676767676767|-1XiM0 PnG0 8x50 iu0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1o00 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2\",\"America/Paramaribo|LMT PMT PMT -0330 -03|3E.E 3E.Q 3E.A 3u 30|01234|-2nDUj.k Wqo0.c qanX.I 1yVXN.o|24e4\",\"America/Phoenix|MST MDT MWT|70 60 60|01010202010|-261r0 1nX0 11B0 1nX0 SgN0 4Al1 Ap0 1db0 SWqX 1cL0|42e5\",\"America/Port-au-Prince|PPMT EST EDT|4N 50 40|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-28RHb 2FnMb 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14q0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 i6n0 1nX0 11B0 1nX0 d430 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 3iN0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5\",\"America/Rio_Branco|LMT -05 -04|4v.c 50 40|01212121212121212121212121212121|-2glvs.M HdLs.M 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0 d5X0|31e4\",\"America/Porto_Velho|LMT -04 -03|4f.A 40 30|012121212121212121212121212121|-2glvI.o HdKI.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|37e4\",\"America/Puerto_Rico|AST AWT APT|40 30 30|0120|-17lU0 7XT0 iu0|24e5\",\"America/Punta_Arenas|SMT -05 -04 -03|4G.K 50 40 30|0102021212121212121232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 blz0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0\",\"America/Rainy_River|CST CDT CWT CPT|60 50 50 50|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TQ0 1in0 Rnb0 3je0 8x30 iw0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|842\",\"America/Rankin_Inlet|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313131313131313131313131313131313131313131313131313131313131313131|-vDc0 keu0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e2\",\"America/Recife|LMT -03 -02|2j.A 30 20|0121212121212121212121212121212121212121|-2glxE.o HdLE.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|33e5\",\"America/Regina|LMT MST MDT MWT MPT CST|6W.A 70 60 60 60 60|012121212121212121212121341212121212121212121212121215|-2AD51.o uHe1.o 1in0 s2L0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 66N0 1cL0 1cN0 19X0 1fB0 1cL0 1fB0 1cL0 1cN0 1cL0 M30 8x20 ix0 1ip0 1cL0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 3NB0 1cL0 1cN0|19e4\",\"America/Resolute|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313431313131313131313131313131313131313131313131313131313131313131|-SnA0 GWS0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|229\",\"America/Santarem|LMT -04 -03|3C.M 40 30|0121212121212121212121212121212|-2glwl.c HdLl.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0|21e4\",\"America/Santiago|SMT -05 -04 -03|4G.K 50 40 30|010202121212121212321232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 9Bz0 jb0 1oN0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|62e5\",\"America/Santo_Domingo|SDMT EST EDT -0430 AST|4E 50 40 4u 40|01213131313131414|-1ttjk 1lJMk Mn0 6sp0 Lbu 1Cou yLu 1RAu wLu 1QMu xzu 1Q0u xXu 1PAu 13jB0 e00|29e5\",\"America/Sao_Paulo|LMT -03 -02|36.s 30 20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwR.w HdKR.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 pTd0 PX0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|20e6\",\"America/Scoresbysund|LMT -02 -01 +00|1r.Q 20 10 0|0121323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2a5Ww.8 2z5ew.8 1a00 1cK0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|452\",\"America/Sitka|PST PWT PPT PDT YST AKST AKDT|80 70 70 70 90 90 80|01203030303030303030303030303030345656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|90e2\",\"America/St_Johns|NST NDT NST NDT NWT NPT NDDT|3u.Q 2u.Q 3u 2u 2u 2u 1u|01010101010101010101010101010101010102323232323232324523232323232323232323232323232323232323232323232323232323232323232323232323232323232326232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28oit.8 14L0 1nB0 1in0 1gm0 Dz0 1JB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1fB0 19X0 1fB0 19X0 10O0 eKX.8 19X0 1iq0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4\",\"America/Swift_Current|LMT MST MDT MWT MPT CST|7b.k 70 60 60 60 60|012134121212121212121215|-2AD4M.E uHdM.E 1in0 UGp0 8x20 ix0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 isN0 1cL0 3Cp0 1cL0 1cN0 11z0 1qN0 WL0 pMp0|16e3\",\"America/Tegucigalpa|LMT CST CDT|5M.Q 60 50|01212121|-1WGGb.8 2ETcb.8 WL0 1qN0 WL0 GRd0 AL0|11e5\",\"America/Thule|LMT AST ADT|4z.8 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5To.Q 31NBo.Q 1cL0 1cN0 1cL0 1fB0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|656\",\"America/Thunder_Bay|CST EST EWT EPT EDT|60 50 40 40 40|0123141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-2q5S0 1iaN0 8x40 iv0 XNB0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4\",\"America/Vancouver|PST PDT PWT PPT|80 70 70 70|0102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TO0 1in0 UGp0 8x10 iy0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5\",\"America/Whitehorse|YST YDT YWT YPT YDDT PST PDT|90 80 80 80 70 80 70|0101023040565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 3NA0 vrd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3\",\"America/Winnipeg|CST CDT CWT CPT|60 50 50 50|010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aIi0 WL0 3ND0 1in0 Jap0 Rb0 aCN0 8x30 iw0 1tB0 11z0 1ip0 11z0 1o10 11z0 1o10 11z0 1rd0 10L0 1op0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 1cL0 1cN0 11z0 6i10 WL0 6i10 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|66e4\",\"America/Yakutat|YST YWT YPT YDT AKST AKDT|90 80 80 80 90 80|01203030303030303030303030303030304545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-17T10 8x00 iz0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cn0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|642\",\"America/Yellowknife|-00 MST MWT MPT MDDT MDT|0 70 60 60 50 60|012314151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151|-1pdA0 hix0 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3\",\"Antarctica/Casey|-00 +08 +11|0 -80 -b0|01212121|-2q00 1DjS0 T90 40P0 KL0 blz0 3m10|10\",\"Antarctica/Davis|-00 +07 +05|0 -70 -50|01012121|-vyo0 iXt0 alj0 1D7v0 VB0 3Wn0 KN0|70\",\"Antarctica/DumontDUrville|-00 +10|0 -a0|0101|-U0o0 cfq0 bFm0|80\",\"Antarctica/Macquarie|AEST AEDT -00 +11|-a0 -b0 0 -b0|0102010101010101010101010101010101010101010101010101010101010101010101010101010101010101013|-29E80 19X0 4SL0 1ayy0 Lvs0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0|1\",\"Antarctica/Mawson|-00 +06 +05|0 -60 -50|012|-CEo0 2fyk0|60\",\"Pacific/Auckland|NZMT NZST NZST NZDT|-bu -cu -c0 -d0|01020202020202020202020202023232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1GCVu Lz0 1tB0 11zu 1o0u 11zu 1o0u 11zu 1o0u 14nu 1lcu 14nu 1lcu 1lbu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1qLu WMu 1qLu 11Au 1n1bu IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|14e5\",\"Antarctica/Palmer|-00 -03 -04 -02|0 30 40 20|0121212121213121212121212121212121212121212121212121212121212121212121212121212121|-cao0 nD0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 jsN0 14N0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|40\",\"Antarctica/Rothera|-00 -03|0 30|01|gOo0|130\",\"Antarctica/Syowa|-00 +03|0 -30|01|-vs00|20\",\"Antarctica/Troll|-00 +00 +02|0 0 -20|01212121212121212121212121212121212121212121212121212121212121212121|1puo0 hd0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|40\",\"Antarctica/Vostok|-00 +06|0 -60|01|-tjA0|25\",\"Europe/Oslo|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2awM0 Qm0 W6o0 5pf0 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 wJc0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1qM0 WM0 zpc0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e4\",\"Asia/Riyadh|LMT +03|-36.Q -30|01|-TvD6.Q|57e5\",\"Asia/Almaty|LMT +05 +06 +07|-57.M -50 -60 -70|012323232323232323232321232323232323232323232323232|-1Pc57.M eUo7.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|15e5\",\"Asia/Amman|LMT EET EEST|-2n.I -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1yW2n.I 1HiMn.I KL0 1oN0 11b0 1oN0 11b0 1pd0 1dz0 1cp0 11b0 1op0 11b0 fO10 1db0 1e10 1cL0 1cN0 1cL0 1cN0 1fz0 1pd0 10n0 1ld0 14n0 1hB0 15b0 1ip0 19X0 1cN0 1cL0 1cN0 17b0 1ld0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1So0 y00 1fc0 1dc0 1co0 1dc0 1cM0 1cM0 1cM0 1o00 11A0 1lc0 17c0 1cM0 1cM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|25e5\",\"Asia/Anadyr|LMT +12 +13 +14 +11|-bN.U -c0 -d0 -e0 -b0|01232121212121212121214121212121212121212121212121212121212141|-1PcbN.U eUnN.U 23CL0 1db0 2q10 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|13e3\",\"Asia/Aqtau|LMT +04 +05 +06|-3l.4 -40 -50 -60|012323232323232323232123232312121212121212121212|-1Pc3l.4 eUnl.4 24PX0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|15e4\",\"Asia/Aqtobe|LMT +04 +05 +06|-3M.E -40 -50 -60|0123232323232323232321232323232323232323232323232|-1Pc3M.E eUnM.E 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|27e4\",\"Asia/Ashgabat|LMT +04 +05 +06|-3R.w -40 -50 -60|0123232323232323232323212|-1Pc3R.w eUnR.w 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0|41e4\",\"Asia/Atyrau|LMT +03 +05 +06 +04|-3r.I -30 -50 -60 -40|01232323232323232323242323232323232324242424242|-1Pc3r.I eUor.I 24PW0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 2sp0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0\",\"Asia/Baghdad|BMT +03 +04|-2V.A -30 -40|012121212121212121212121212121212121212121212121212121|-26BeV.A 2ACnV.A 11b0 1cp0 1dz0 1dd0 1db0 1cN0 1cp0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1de0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0|66e5\",\"Asia/Qatar|LMT +04 +03|-3q.8 -40 -30|012|-21Jfq.8 27BXq.8|96e4\",\"Asia/Baku|LMT +03 +04 +05|-3j.o -30 -40 -50|01232323232323232323232123232323232323232323232323232323232323232|-1Pc3j.o 1jUoj.o WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 9Je0 1o00 11z0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5\",\"Asia/Bangkok|BMT +07|-6G.4 -70|01|-218SG.4|15e6\",\"Asia/Barnaul|LMT +06 +07 +08|-5z -60 -70 -80|0123232323232323232323212323232321212121212121212121212121212121212|-21S5z pCnz 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 p90 LE0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0\",\"Asia/Beirut|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-21aq0 1on0 1410 1db0 19B0 1in0 1ip0 WL0 1lQp0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 q6N0 En0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1op0 11b0 dA10 17b0 1iN0 17b0 1iN0 17b0 1iN0 17b0 1vB0 SL0 1mp0 13z0 1iN0 17b0 1iN0 17b0 1jd0 12n0 1a10 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0|22e5\",\"Asia/Bishkek|LMT +05 +06 +07|-4W.o -50 -60 -70|012323232323232323232321212121212121212121212121212|-1Pc4W.o eUnW.o 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2e00 1tX0 17b0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1cPu 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0|87e4\",\"Asia/Brunei|LMT +0730 +08|-7D.E -7u -80|012|-1KITD.E gDc9.E|42e4\",\"Asia/Kolkata|MMT IST +0630|-5l.a -5u -6u|012121|-2zOtl.a 1r2LP.a 1un0 HB0 7zX0|15e6\",\"Asia/Chita|LMT +08 +09 +10|-7x.Q -80 -90 -a0|012323232323232323232321232323232323232323232323232323232323232312|-21Q7x.Q pAnx.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3re0|33e4\",\"Asia/Choibalsan|LMT +07 +08 +10 +09|-7C -70 -80 -a0 -90|0123434343434343434343434343434343434343434343424242|-2APHC 2UkoC cKn0 1da0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 3Db0 h1f0 1cJ0 1cP0 1cJ0|38e3\",\"Asia/Shanghai|CST CDT|-80 -90|010101010101010101010101010|-1c2w0 Rz0 11d0 1wL0 A10 8HX0 1G10 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 aL0 1tU30 Rb0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0|23e6\",\"Asia/Colombo|MMT +0530 +06 +0630|-5j.w -5u -60 -6u|01231321|-2zOtj.w 1rFbN.w 1zzu 7Apu 23dz0 11zu n3cu|22e5\",\"Asia/Dhaka|HMT +0630 +0530 +06 +07|-5R.k -6u -5u -60 -70|0121343|-18LFR.k 1unn.k HB0 m6n0 2kxbu 1i00|16e6\",\"Asia/Damascus|LMT EET EEST|-2p.c -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-21Jep.c Hep.c 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1xRB0 11X0 1oN0 10L0 1pB0 11b0 1oN0 10L0 1mp0 13X0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 Nb0 1AN0 Nb0 bcp0 19X0 1gp0 19X0 3ld0 1xX0 Vd0 1Bz0 Sp0 1vX0 10p0 1dz0 1cN0 1cL0 1db0 1db0 1g10 1an0 1ap0 1db0 1fd0 1db0 1cN0 1db0 1dd0 1db0 1cp0 1dz0 1c10 1dX0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 19z0 1fB0 1qL0 11B0 1on0 Wp0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|26e5\",\"Asia/Dili|LMT +08 +09|-8m.k -80 -90|01212|-2le8m.k 1dnXm.k 1nfA0 Xld0|19e4\",\"Asia/Dubai|LMT +04|-3F.c -40|01|-21JfF.c|39e5\",\"Asia/Dushanbe|LMT +05 +06 +07|-4z.c -50 -60 -70|012323232323232323232321|-1Pc4z.c eUnz.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2hB0|76e4\",\"Asia/Famagusta|LMT EET EEST +03|-2f.M -20 -30 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212312121212121212121212121212121212121212121|-1Vc2f.M 2a3cf.M 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 15U0 2Ks0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00\",\"Asia/Gaza|EET EEST IST IDT|-20 -30 -20 -30|0101010101010101010101010101010123232323232323232323232323232320101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 11z0 1o10 14o0 1lA1 SKX 1xd1 MKX 1AN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 WN0 1qL0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0|18e5\",\"Asia/Hebron|EET EEST IST IDT|-20 -30 -20 -30|010101010101010101010101010101012323232323232323232323232323232010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 12L0 1mN0 14o0 1lc0 Tb0 1xd1 MKX bB0 cn0 1cN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 WN0 1qL0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0|25e4\",\"Asia/Ho_Chi_Minh|LMT PLMT +07 +08 +09|-76.E -76.u -70 -80 -90|0123423232|-2yC76.E bK00.a 1h7b6.u 5lz0 18o0 3Oq0 k5b0 aW00 BAM0|90e5\",\"Asia/Hong_Kong|LMT HKT HKST HKWT JST|-7A.G -80 -90 -8u -90|0123412121212121212121212121212121212121212121212121212121212121212121|-2CFH0 1taO0 Hc0 xUu 9tBu 11z0 1tDu Rc0 1wo0 11A0 1cM0 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1nX0 U10 1tz0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|73e5\",\"Asia/Hovd|LMT +06 +07 +08|-66.A -60 -70 -80|012323232323232323232323232323232323232323232323232|-2APG6.A 2Uko6.A cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|81e3\",\"Asia/Irkutsk|IMT +07 +08 +09|-6V.5 -70 -80 -90|01232323232323232323232123232323232323232323232323232323232323232|-21zGV.5 pjXV.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4\",\"Europe/Istanbul|IMT EET EEST +03 +04|-1U.U -20 -30 -30 -40|0121212121212121212121212121212121212121212121234312121212121212121212121212121212121212121212121212121212121212123|-2ogNU.U dzzU.U 11b0 8tB0 1on0 1410 1db0 19B0 1in0 3Rd0 Un0 1oN0 11b0 zSN0 CL0 mp0 1Vz0 1gN0 8yn0 1yp0 ML0 1kp0 17b0 1ip0 17b0 1fB0 19X0 1ip0 19X0 1ip0 17b0 qdB0 38L0 1jd0 Tz0 l6O0 11A0 WN0 1qL0 TB0 1tX0 U10 1tz0 11B0 1in0 17d0 z90 cne0 pb0 2Cp0 1800 14o0 1dc0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1a00 1fA0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WO0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 Xc0 1qo0 WM0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 15w0|13e6\",\"Asia/Jakarta|BMT +0720 +0730 +09 +08 WIB|-77.c -7k -7u -90 -80 -70|01232425|-1Q0Tk luM0 mPzO 8vWu 6kpu 4PXu xhcu|31e6\",\"Asia/Jayapura|LMT +09 +0930 WIT|-9m.M -90 -9u -90|0123|-1uu9m.M sMMm.M L4nu|26e4\",\"Asia/Jerusalem|JMT IST IDT IDDT|-2k.E -20 -30 -40|012121212121321212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-26Bek.E SyMk.E 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 3LB0 Em0 or0 1cn0 1dB0 16n0 10O0 1ja0 1tC0 14o0 1cM0 1a00 11A0 1Na0 An0 1MP0 AJ0 1Kp0 LC0 1oo0 Wl0 EQN0 Db0 1fB0 Rb0 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 1hB0 1dX0 1ep0 1aL0 1eN0 17X0 1nf0 11z0 1tB0 19W0 1e10 17b0 1ep0 1gL0 18N0 1fz0 1eN0 17b0 1gq0 1gn0 19d0 1dz0 1c10 17X0 1hB0 1gn0 19d0 1dz0 1c10 17X0 1kp0 1dz0 1c10 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0|81e4\",\"Asia/Kabul|+04 +0430|-40 -4u|01|-10Qs0|46e5\",\"Asia/Kamchatka|LMT +11 +12 +13|-ay.A -b0 -c0 -d0|012323232323232323232321232323232323232323232323232323232323212|-1SLKy.A ivXy.A 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|18e4\",\"Asia/Karachi|LMT +0530 +0630 +05 PKT PKST|-4s.c -5u -6u -50 -50 -60|012134545454|-2xoss.c 1qOKW.c 7zX0 eup0 LqMu 1fy00 1cL0 dK10 11b0 1610 1jX0|24e6\",\"Asia/Urumqi|LMT +06|-5O.k -60|01|-1GgtO.k|32e5\",\"Asia/Kathmandu|LMT +0530 +0545|-5F.g -5u -5J|012|-21JhF.g 2EGMb.g|12e5\",\"Asia/Khandyga|LMT +08 +09 +10 +11|-92.d -80 -90 -a0 -b0|0123232323232323232323212323232323232323232323232343434343434343432|-21Q92.d pAp2.d 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 qK0 yN0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|66e2\",\"Asia/Krasnoyarsk|LMT +06 +07 +08|-6b.q -60 -70 -80|01232323232323232323232123232323232323232323232323232323232323232|-21Hib.q prAb.q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|10e5\",\"Asia/Kuala_Lumpur|SMT +07 +0720 +0730 +09 +08|-6T.p -70 -7k -7u -90 -80|0123435|-2Bg6T.p 17anT.p l5XE 17bO 8Fyu 1so1u|71e5\",\"Asia/Kuching|LMT +0730 +08 +0820 +09|-7l.k -7u -80 -8k -90|0123232323232323242|-1KITl.k gDbP.k 6ynu AnE 1O0k AnE 1NAk AnE 1NAk AnE 1NAk AnE 1O0k AnE 1NAk AnE pAk 8Fz0|13e4\",\"Asia/Macau|LMT CST +09 +10 CDT|-7y.a -80 -90 -a0 -90|012323214141414141414141414141414141414141414141414141414141414141414141|-2CFHy.a 1uqKy.a PX0 1kn0 15B0 11b0 4Qq0 1oM0 11c0 1ko0 1u00 11A0 1cM0 11c0 1o00 11A0 1o00 11A0 1oo0 1400 1o00 11A0 1o00 U00 1tA0 U00 1wo0 Rc0 1wru U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cK0 1cO0 1cK0 1cO0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|57e4\",\"Asia/Magadan|LMT +10 +11 +12|-a3.c -a0 -b0 -c0|012323232323232323232321232323232323232323232323232323232323232312|-1Pca3.c eUo3.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Cq0|95e3\",\"Asia/Makassar|LMT MMT +08 +09 WITA|-7V.A -7V.A -80 -90 -80|01234|-21JjV.A vfc0 myLV.A 8ML0|15e5\",\"Asia/Manila|PST PDT JST|-80 -90 -90|010201010|-1kJI0 AL0 cK10 65X0 mXB0 vX0 VK10 1db0|24e6\",\"Asia/Nicosia|LMT EET EEST|-2d.s -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Vc2d.s 2a3cd.s 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|32e4\",\"Asia/Novokuznetsk|LMT +06 +07 +08|-5M.M -60 -70 -80|012323232323232323232321232323232323232323232323232323232323212|-1PctM.M eULM.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|55e4\",\"Asia/Novosibirsk|LMT +06 +07 +08|-5v.E -60 -70 -80|0123232323232323232323212323212121212121212121212121212121212121212|-21Qnv.E pAFv.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 ml0 Os0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 4eN0|15e5\",\"Asia/Omsk|LMT +05 +06 +07|-4R.u -50 -60 -70|01232323232323232323232123232323232323232323232323232323232323232|-224sR.u pMLR.u 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|12e5\",\"Asia/Oral|LMT +03 +05 +06 +04|-3p.o -30 -50 -60 -40|01232323232323232424242424242424242424242424242|-1Pc3p.o eUop.o 23CK0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 1cM0 IM0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|27e4\",\"Asia/Pontianak|LMT PMT +0730 +09 +08 WITA WIB|-7h.k -7h.k -7u -90 -80 -80 -70|012324256|-2ua7h.k XE00 munL.k 8Rau 6kpu 4PXu xhcu Wqnu|23e4\",\"Asia/Pyongyang|LMT KST JST KST|-8n -8u -90 -90|012313|-2um8n 97XR 1lTzu 2Onc0 6BA0|29e5\",\"Asia/Qostanay|LMT +04 +05 +06|-4e.s -40 -50 -60|012323232323232323232123232323232323232323232323|-1Pc4e.s eUoe.s 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0\",\"Asia/Qyzylorda|LMT +04 +05 +06|-4l.Q -40 -50 -60|01232323232323232323232323232323232323232323232|-1Pc4l.Q eUol.Q 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 3ao0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 zQl0|73e4\",\"Asia/Rangoon|RMT +0630 +09|-6o.L -6u -90|0121|-21Jio.L SmnS.L 7j9u|48e5\",\"Asia/Sakhalin|LMT +09 +11 +12 +10|-9u.M -90 -b0 -c0 -a0|01232323232323232323232423232323232424242424242424242424242424242|-2AGVu.M 1BoMu.M 1qFa0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 2pB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|58e4\",\"Asia/Samarkand|LMT +04 +05 +06|-4r.R -40 -50 -60|01232323232323232323232|-1Pc4r.R eUor.R 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0|36e4\",\"Asia/Seoul|LMT KST JST KST KDT KDT|-8r.Q -8u -90 -90 -a0 -9u|012343434343151515151515134343|-2um8r.Q 97XV.Q 1m1zu 6CM0 Fz0 1kN0 14n0 1kN0 14L0 1zd0 On0 69B0 2I0u OL0 1FB0 Rb0 1qN0 TX0 1tB0 TX0 1tB0 TX0 1tB0 TX0 2ap0 12FBu 11A0 1o00 11A0|23e6\",\"Asia/Srednekolymsk|LMT +10 +11 +12|-ae.Q -a0 -b0 -c0|01232323232323232323232123232323232323232323232323232323232323232|-1Pcae.Q eUoe.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|35e2\",\"Asia/Taipei|CST JST CDT|-80 -90 -90|01020202020202020202020202020202020202020|-1iw80 joM0 1yo0 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 10N0 1BX0 10p0 1pz0 10p0 1pz0 10p0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1BB0 ML0 1Bd0 ML0 uq10 1db0 1cN0 1db0 97B0 AL0|74e5\",\"Asia/Tashkent|LMT +05 +06 +07|-4B.b -50 -60 -70|012323232323232323232321|-1Pc4B.b eUnB.b 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0|23e5\",\"Asia/Tbilisi|TBMT +03 +04 +05|-2X.b -30 -40 -50|0123232323232323232323212121232323232323232323212|-1Pc2X.b 1jUnX.b WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cK0 1cL0 1cN0 1cL0 1cN0 2pz0 1cL0 1fB0 3Nz0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 An0 Os0 WM0|11e5\",\"Asia/Tehran|LMT TMT +0330 +04 +05 +0430|-3p.I -3p.I -3u -40 -50 -4u|01234325252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2btDp.I 1d3c0 1huLT.I TXu 1pz0 sN0 vAu 1cL0 1dB0 1en0 pNB0 UL0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 64p0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0|14e6\",\"Asia/Thimphu|LMT +0530 +06|-5W.A -5u -60|012|-Su5W.A 1BGMs.A|79e3\",\"Asia/Tokyo|JST JDT|-90 -a0|010101010|-QJJ0 Rc0 1lc0 14o0 1zc0 Oo0 1zc0 Oo0|38e6\",\"Asia/Tomsk|LMT +06 +07 +08|-5D.P -60 -70 -80|0123232323232323232323212323232323232323232323212121212121212121212|-21NhD.P pxzD.P 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 co0 1bB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Qp0|10e5\",\"Asia/Ulaanbaatar|LMT +07 +08 +09|-77.w -70 -80 -90|012323232323232323232323232323232323232323232323232|-2APH7.w 2Uko7.w cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|12e5\",\"Asia/Ust-Nera|LMT +08 +09 +12 +11 +10|-9w.S -80 -90 -c0 -b0 -a0|012343434343434343434345434343434343434343434343434343434343434345|-21Q9w.S pApw.S 23CL0 1d90 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|65e2\",\"Asia/Vladivostok|LMT +09 +10 +11|-8L.v -90 -a0 -b0|01232323232323232323232123232323232323232323232323232323232323232|-1SJIL.v itXL.v 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4\",\"Asia/Yakutsk|LMT +08 +09 +10|-8C.W -80 -90 -a0|01232323232323232323232123232323232323232323232323232323232323232|-21Q8C.W pAoC.W 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|28e4\",\"Asia/Yekaterinburg|LMT PMT +04 +05 +06|-42.x -3J.5 -40 -50 -60|012343434343434343434343234343434343434343434343434343434343434343|-2ag42.x 7mQh.s qBvJ.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|14e5\",\"Asia/Yerevan|LMT +03 +04 +05|-2W -30 -40 -50|0123232323232323232323212121212323232323232323232323232323232|-1Pc2W 1jUnW WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 4RX0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|13e5\",\"Atlantic/Azores|HMT -02 -01 +00 WET|1S.w 20 10 0 0|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121232323232323232323232323232323234323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2ldW0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|25e4\",\"Atlantic/Bermuda|LMT AST ADT|4j.i 40 30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1BnRE.G 1LTbE.G 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e3\",\"Atlantic/Canary|LMT -01 WET WEST|11.A 10 0 -10|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UtaW.o XPAW.o 1lAK0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4\",\"Atlantic/Cape_Verde|LMT -02 -01|1y.4 20 10|01212|-2ldW0 1eEo0 7zX0 1djf0|50e4\",\"Atlantic/Faroe|LMT WET WEST|r.4 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2uSnw.U 2Wgow.U 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|49e3\",\"Atlantic/Madeira|FMT -01 +00 +01 WET WEST|17.A 10 0 -10 0 -10|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2ldX0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e4\",\"Atlantic/Reykjavik|LMT -01 +00 GMT|1s 10 0 0|012121212121212121212121212121212121212121212121212121212121212121213|-2uWmw mfaw 1Bd0 ML0 1LB0 Cn0 1LB0 3fX0 C10 HrX0 1cO0 LB0 1EL0 LA0 1C00 Oo0 1wo0 Rc0 1wo0 Rc0 1wo0 Rc0 1zc0 Oo0 1zc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0|12e4\",\"Atlantic/South_Georgia|-02|20|0||30\",\"Atlantic/Stanley|SMT -04 -03 -02|3P.o 40 30 20|012121212121212323212121212121212121212121212121212121212121212121212|-2kJw8.A 12bA8.A 19X0 1fB0 19X0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 Cn0 1Cc10 WL0 1qL0 U10 1tz0 2mN0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 U10 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qN0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 U10 1tz0 U10 1tz0 U10|21e2\",\"Australia/Sydney|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|40e5\",\"Australia/Adelaide|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 WM0 1qM0 Rc0 1zc0 U00 1tA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|11e5\",\"Australia/Brisbane|AEST AEDT|-a0 -b0|01010101010101010|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0|20e5\",\"Australia/Broken_Hill|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|18e3\",\"Australia/Currie|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|746\",\"Australia/Darwin|ACST ACDT|-9u -au|010101010|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0|12e4\",\"Australia/Eucla|+0845 +0945|-8J -9J|0101010101010101010|-293kI xcX 10jd0 yL0 1cN0 1cL0 1gSp0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|368\",\"Australia/Hobart|AEST AEDT|-a0 -b0|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 VfB0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|21e4\",\"Australia/Lord_Howe|AEST +1030 +1130 +11|-a0 -au -bu -b0|0121212121313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313|raC0 1zdu Rb0 1zd0 On0 1zd0 On0 1zd0 On0 1zd0 TXu 1qMu WLu 1tAu WLu 1tAu TXu 1tAu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 11Au 1nXu 1qMu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu 11zu 1o0u WLu 1qMu 14nu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu|347\",\"Australia/Lindeman|AEST AEDT|-a0 -b0|010101010101010101010|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0|10\",\"Australia/Melbourne|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1qM0 11A0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|39e5\",\"Australia/Perth|AWST AWDT|-80 -90|0101010101010101010|-293jX xcX 10jd0 yL0 1cN0 1cL0 1gSp0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|18e5\",\"CET|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00\",\"Pacific/Easter|EMT -07 -06 -05|7h.s 70 60 50|012121212121212121212121212123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1uSgG.w 1s4IG.w WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 2pA0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|30e2\",\"CST6CDT|CST CDT CWT CPT|60 50 50 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"EET|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00\",\"Europe/Dublin|DMT IST GMT BST IST|p.l -y.D 0 -10 -10|01232323232324242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242|-2ax9y.D Rc0 1fzy.D 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 g600 14o0 1wo0 17c0 1io0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5\",\"EST|EST|50|0|\",\"EST5EDT|EST EDT EWT EPT|50 40 40 40|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 SgN0 8x40 iv0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"Etc/GMT-0|GMT|0|0|\",\"Etc/GMT-1|+01|-10|0|\",\"Pacific/Port_Moresby|+10|-a0|0||25e4\",\"Etc/GMT-11|+11|-b0|0|\",\"Pacific/Tarawa|+12|-c0|0||29e3\",\"Etc/GMT-13|+13|-d0|0|\",\"Etc/GMT-14|+14|-e0|0|\",\"Etc/GMT-2|+02|-20|0|\",\"Etc/GMT-3|+03|-30|0|\",\"Etc/GMT-4|+04|-40|0|\",\"Etc/GMT-5|+05|-50|0|\",\"Etc/GMT-6|+06|-60|0|\",\"Indian/Christmas|+07|-70|0||21e2\",\"Etc/GMT-8|+08|-80|0|\",\"Pacific/Palau|+09|-90|0||21e3\",\"Etc/GMT+1|-01|10|0|\",\"Etc/GMT+10|-10|a0|0|\",\"Etc/GMT+11|-11|b0|0|\",\"Etc/GMT+12|-12|c0|0|\",\"Etc/GMT+3|-03|30|0|\",\"Etc/GMT+4|-04|40|0|\",\"Etc/GMT+5|-05|50|0|\",\"Etc/GMT+6|-06|60|0|\",\"Etc/GMT+7|-07|70|0|\",\"Etc/GMT+8|-08|80|0|\",\"Etc/GMT+9|-09|90|0|\",\"Etc/UTC|UTC|0|0|\",\"Europe/Amsterdam|AMT NST +0120 +0020 CEST CET|-j.w -1j.w -1k -k -20 -10|010101010101010101010101010101010101010101012323234545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545|-2aFcj.w 11b0 1iP0 11A0 1io0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1co0 1io0 1yo0 Pc0 1a00 1fA0 1Bc0 Mo0 1tc0 Uo0 1tA0 U00 1uo0 W00 1s00 VA0 1so0 Vc0 1sM0 UM0 1wo0 Rc0 1u00 Wo0 1rA0 W00 1s00 VA0 1sM0 UM0 1w00 fV0 BCX.w 1tA0 U00 1u00 Wo0 1sm0 601k WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|16e5\",\"Europe/Andorra|WET CET CEST|0 -10 -20|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-UBA0 1xIN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|79e3\",\"Europe/Astrakhan|LMT +03 +04 +05|-3c.c -30 -40 -50|012323232323232323212121212121212121212121212121212121212121212|-1Pcrc.c eUMc.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|10e5\",\"Europe/Athens|AMT EET EEST CEST CET|-1y.Q -20 -30 -20 -10|012123434121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a61x.Q CNbx.Q mn0 kU10 9b0 3Es0 Xa0 1fb0 1dd0 k3X0 Nz0 SCp0 1vc0 SO0 1cM0 1a00 1ao0 1fc0 1a10 1fG0 1cg0 1dX0 1bX0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|35e5\",\"Europe/London|GMT BST BDST|0 -10 -20|0101010101010101010101010101010101010101010101010121212121210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|10e6\",\"Europe/Belgrade|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19RC0 3IP0 WM0 1fA0 1cM0 1cM0 1rc0 Qo0 1vmo0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5\",\"Europe/Berlin|CET CEST CEMT|-10 -20 -30|01010101010101210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 kL0 Nc0 m10 WM0 1ao0 1cp0 dX0 jz0 Dd0 1io0 17c0 1fA0 1a00 1ehA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e5\",\"Europe/Prague|CET CEST GMT|-10 -20 0|01010101010101010201010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 1qM0 11c0 mp0 xA0 mn0 17c0 1io0 17c0 1fc0 1ao0 1bNc0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|13e5\",\"Europe/Brussels|WET CET CEST WEST|0 -10 -20 -10|0121212103030303030303030303030303030303030303030303212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ehc0 3zX0 11c0 1iO0 11A0 1o00 11A0 my0 Ic0 1qM0 Rc0 1EM0 UM0 1u00 10o0 1io0 1io0 17c0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a30 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 y00 5Wn0 WM0 1fA0 1cM0 16M0 1iM0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|21e5\",\"Europe/Bucharest|BMT EET EEST|-1I.o -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1xApI.o 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Axc0 On0 1fA0 1a10 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|19e5\",\"Europe/Budapest|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1ip0 17b0 1op0 1tb0 Q2m0 3Ne0 WM0 1fA0 1cM0 1cM0 1oJ0 1dc0 1030 1fA0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1iM0 1fA0 8Ha0 Rb0 1wN0 Rb0 1BB0 Lz0 1C20 LB0 SNX0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5\",\"Europe/Zurich|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19Lc0 11A0 1o00 11A0 1xG10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e4\",\"Europe/Chisinau|CMT BMT EET EEST CEST CET MSK MSD|-1T -1I.o -20 -30 -20 -10 -30 -40|012323232323232323234545467676767676767676767323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-26jdT wGMa.A 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 27A0 2en0 39g0 WM0 1fA0 1cM0 V90 1t7z0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 gL0 WO0 1cM0 1cM0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11D0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|67e4\",\"Europe/Copenhagen|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 Tz0 VuO0 60q0 WM0 1fA0 1cM0 1cM0 1cM0 S00 1HA0 Nc0 1C00 Dc0 1Nc0 Ao0 1h5A0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5\",\"Europe/Gibraltar|GMT BST BDST CET CEST|0 -10 -20 -10 -20|010101010101010101010101010101010101010101010101012121212121010121010101010101010101034343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 10Jz0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|30e3\",\"Europe/Helsinki|HMT EET EEST|-1D.N -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1WuND.N OULD.N 1dA0 1xGq0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5\",\"Europe/Kaliningrad|CET CEST EET EEST MSK MSD +03|-10 -20 -20 -30 -30 -40 -30|01010101010101232454545454545454543232323232323232323232323232323232323232323262|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 390 7A0 1en0 12N0 1pbb0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|44e4\",\"Europe/Kiev|KMT EET MSK CEST CET MSD EEST|-22.4 -20 -30 -20 -10 -40 -30|0123434252525252525252525256161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc22.4 eUo2.4 rnz0 2Hg0 WM0 1fA0 da0 1v4m0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 Db0 3220 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|34e5\",\"Europe/Kirov|LMT +03 +04 +05|-3i.M -30 -40 -50|01232323232323232321212121212121212121212121212121212121212121|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|48e4\",\"Europe/Lisbon|LMT WET WEST WEMT CET CEST|A.J 0 -10 -20 -10 -20|012121212121212121212121212121212121212121212321232123212321212121212121212121212121212121212121214121212121212121212121212121212124545454212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2le00 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 pvy0 1cM0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e5\",\"Europe/Luxembourg|LMT CET CEST WET WEST WEST WET|-o.A -10 -20 0 -10 -20 -10|0121212134343434343434343434343434343434343434343434565651212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2DG0o.A t6mo.A TB0 1nX0 Up0 1o20 11A0 rW0 CM0 1qP0 R90 1EO0 UK0 1u20 10m0 1ip0 1in0 17e0 19W0 1fB0 1db0 1cp0 1in0 17d0 1fz0 1a10 1in0 1a10 1in0 17f0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 vA0 60L0 WM0 1fA0 1cM0 17c0 1io0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4\",\"Europe/Madrid|WET WEST WEMT CET CEST|0 -10 -20 -10 -20|010101010101010101210343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-25Td0 19B0 1cL0 1dd0 b1z0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1in0 17d0 iIn0 Hd0 1cL0 bb0 1200 2s20 14n0 5aL0 Mp0 1vz0 17d0 1in0 17d0 1in0 17d0 1in0 17d0 6hX0 11B0 XHX0 1a10 1fz0 1a10 19X0 1cN0 1fz0 1a10 1fC0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e5\",\"Europe/Malta|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1co0 17c0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1co0 1cM0 1lA0 Xc0 1qq0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1iN0 19z0 1fB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4\",\"Europe/Minsk|MMT EET MSK CEST CET MSD EEST +03|-1O -20 -30 -20 -10 -40 -30 -30|01234343252525252525252525261616161616161616161616161616161616161617|-1Pc1O eUnO qNX0 3gQ0 WM0 1fA0 1cM0 Al0 1tsn0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 3Fc0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0|19e5\",\"Europe/Monaco|PMT WET WEST WEMT CET CEST|-9.l 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121212121232323232345454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 2RV0 11z0 11B0 1ze0 WM0 1fA0 1cM0 1fa0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e3\",\"Europe/Moscow|MMT MMT MST MDST MSD MSK +05 EET EEST MSK|-2u.h -2v.j -3v.j -4v.j -40 -30 -50 -20 -30 -40|012132345464575454545454545454545458754545454545454545454545454545454545454595|-2ag2u.h 2pyW.W 1bA0 11X0 GN0 1Hb0 c4v.j ik0 3DA0 dz0 15A0 c10 2q10 iM10 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|16e6\",\"Europe/Paris|PMT WET WEST CEST CET WEMT|-9.l 0 -10 -20 -10 -20|0121212121212121212121212121212121212121212121212123434352543434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-2nco8.l cNb8.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 Ik0 5M30 WM0 1fA0 1cM0 Vx0 hB0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e6\",\"Europe/Riga|RMT LST EET MSK CEST CET MSD EEST|-1A.y -2A.y -20 -30 -20 -10 -40 -30|010102345454536363636363636363727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272|-25TzA.y 11A0 1iM0 ko0 gWm0 yDXA.y 2bX0 3fE0 WM0 1fA0 1cM0 1cM0 4m0 1sLy0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 1o00 11A0 1o00 11A0 1qM0 3oo0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|64e4\",\"Europe/Rome|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1cM0 16M0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1C00 LA0 1zc0 Oo0 1C00 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1zc0 Oo0 1fC0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|39e5\",\"Europe/Samara|LMT +03 +04 +05|-3k.k -30 -40 -50|0123232323232323232121232323232323232323232323232323232323212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2y10 14m0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|12e5\",\"Europe/Saratov|LMT +03 +04 +05|-34.i -30 -40 -50|012323232323232321212121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 5810\",\"Europe/Simferopol|SMT EET MSK CEST CET MSD EEST MSK|-2g -20 -30 -20 -10 -40 -30 -40|012343432525252525252525252161616525252616161616161616161616161616161616172|-1Pc2g eUog rEn0 2qs0 WM0 1fA0 1cM0 3V0 1u0L0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 4eL0 1cL0 1cN0 1cL0 1cN0 dX0 WL0 1cN0 1cL0 1fB0 1o30 11B0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11z0 1nW0|33e4\",\"Europe/Sofia|EET CET CEST EEST|-20 -10 -20 -30|01212103030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030|-168L0 WM0 1fA0 1cM0 1cM0 1cN0 1mKH0 1dd0 1fb0 1ap0 1fb0 1a20 1fy0 1a30 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5\",\"Europe/Stockholm|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 TB0 2yDe0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|15e5\",\"Europe/Tallinn|TMT CET CEST EET MSK MSD EEST|-1D -10 -20 -20 -30 -40 -30|012103421212454545454545454546363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363|-26oND teD 11A0 1Ta0 4rXl KSLD 2FX0 2Jg0 WM0 1fA0 1cM0 18J0 1sTX0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o10 11A0 1qM0 5QM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e4\",\"Europe/Tirane|LMT CET CEST|-1j.k -10 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glBj.k 14pcj.k 5LC0 WM0 4M0 1fCK0 10n0 1op0 11z0 1pd0 11z0 1qN0 WL0 1qp0 Xb0 1qp0 Xb0 1qp0 11z0 1lB0 11z0 1qN0 11z0 1iN0 16n0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4\",\"Europe/Ulyanovsk|LMT +03 +04 +05 +02|-3d.A -30 -40 -50 -20|01232323232323232321214121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|13e5\",\"Europe/Uzhgorod|CET CEST MSK MSD EET EEST|-10 -20 -30 -40 -20 -30|010101023232323232323232320454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-1cqL0 6i00 WM0 1fA0 1cM0 1ml0 1Cp0 1r3W0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 1Nf0 2pw0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e4\",\"Europe/Vienna|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 3KM0 14o0 LA00 6i00 WM0 1fA0 1cM0 1cM0 1cM0 400 2qM0 1ao0 1co0 1cM0 1io0 17c0 1gHa0 19X0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|18e5\",\"Europe/Vilnius|WMT KMT CET EET MSK CEST MSD EEST|-1o -1z.A -10 -20 -30 -20 -40 -30|012324525254646464646464646473737373737373737352537373737373737373737373737373737373737373737373737373737373737373737373|-293do 6ILM.o 1Ooz.A zz0 Mfd0 29W0 3is0 WM0 1fA0 1cM0 LV0 1tgL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11B0 1o00 11A0 1qM0 8io0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4\",\"Europe/Volgograd|LMT +03 +04 +05|-2V.E -30 -40 -50|012323232323232321212121212121212121212121212121212121212121212|-21IqV.E psLV.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 9Jd0|10e5\",\"Europe/Warsaw|WMT CET CEST EET EEST|-1o -10 -20 -20 -30|012121234312121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ctdo 1LXo 11d0 1iO0 11A0 1o00 11A0 1on0 11A0 6zy0 HWP0 5IM0 WM0 1fA0 1cM0 1dz0 1mL0 1en0 15B0 1aq0 1nA0 11A0 1io0 17c0 1fA0 1a00 iDX0 LA0 1cM0 1cM0 1C00 Oo0 1cM0 1cM0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1C00 LA0 uso0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5\",\"Europe/Zaporozhye|+0220 EET MSK CEST CET MSD EEST|-2k -20 -30 -20 -10 -40 -30|01234342525252525252525252526161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc2k eUok rdb0 2RE0 WM0 1fA0 8m0 1v9a0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cK0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|77e4\",\"HST|HST|a0|0|\",\"Indian/Chagos|LMT +05 +06|-4N.E -50 -60|012|-2xosN.E 3AGLN.E|30e2\",\"Indian/Cocos|+0630|-6u|0||596\",\"Indian/Kerguelen|-00 +05|0 -50|01|-MG00|130\",\"Indian/Mahe|LMT +04|-3F.M -40|01|-2yO3F.M|79e3\",\"Indian/Maldives|MMT +05|-4S -50|01|-olgS|35e4\",\"Indian/Mauritius|LMT +04 +05|-3O -40 -50|012121|-2xorO 34unO 14L0 12kr0 11z0|15e4\",\"Indian/Reunion|LMT +04|-3F.Q -40|01|-2mDDF.Q|84e4\",\"Pacific/Kwajalein|+11 +10 +09 -12 +12|-b0 -a0 -90 c0 -c0|012034|-1kln0 akp0 6Up0 12ry0 Wan0|14e3\",\"MET|MET MEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00\",\"MST|MST|70|0|\",\"MST7MDT|MST MDT MWT MPT|70 60 60 60|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"Pacific/Chatham|+1215 +1245 +1345|-cf -cJ -dJ|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-WqAf 1adef IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|600\",\"Pacific/Apia|LMT -1130 -11 -10 +14 +13|bq.U bu b0 a0 -e0 -d0|01232345454545454545454545454545454545454545454545454545454|-2nDMx.4 1yW03.4 2rRbu 1ff0 1a00 CI0 AQ0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|37e3\",\"Pacific/Bougainville|+10 +09 +11|-a0 -90 -b0|0102|-16Wy0 7CN0 2MQp0|18e4\",\"Pacific/Chuuk|+10 +09|-a0 -90|01010|-2ewy0 axB0 RVX0 axd0|49e3\",\"Pacific/Efate|LMT +11 +12|-bd.g -b0 -c0|0121212121212121212121|-2l9nd.g 2Szcd.g 1cL0 1oN0 10L0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 Lz0 1Nd0 An0|66e3\",\"Pacific/Enderbury|-12 -11 +13|c0 b0 -d0|012|nIc0 B7X0|1\",\"Pacific/Fakaofo|-11 +13|b0 -d0|01|1Gfn0|483\",\"Pacific/Fiji|LMT +12 +13|-bT.I -c0 -d0|0121212121212121212121212121212121212121212121212121212121212121|-2bUzT.I 3m8NT.I LA0 1EM0 IM0 nJc0 LA0 1o00 Rc0 1wo0 Ao0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 20o0 pc0 20o0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 1VA0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 1VA0 s00|88e4\",\"Pacific/Galapagos|LMT -05 -06|5W.o 50 60|01212|-1yVS1.A 2dTz1.A gNd0 rz0|25e3\",\"Pacific/Gambier|LMT -09|8X.M 90|01|-2jof0.c|125\",\"Pacific/Guadalcanal|LMT +11|-aD.M -b0|01|-2joyD.M|11e4\",\"Pacific/Guam|GST +09 GDT ChST|-a0 -90 -b0 -a0|01020202020202020203|-18jK0 6pB0 AhB0 3QL0 g2p0 3p91 WOX rX0 1zd0 Rb0 1wp0 Rb0 5xd0 rX0 5sN0 zb1 1C0X On0 ULb0|17e4\",\"Pacific/Honolulu|HST HDT HWT HPT HST|au 9u 9u 9u a0|0102304|-1thLu 8x0 lef0 8wWu iAu 46p0|37e4\",\"Pacific/Kiritimati|-1040 -10 +14|aE a0 -e0|012|nIaE B7Xk|51e2\",\"Pacific/Kosrae|+11 +09 +10 +12|-b0 -90 -a0 -c0|01021030|-2ewz0 axC0 HBy0 akp0 axd0 WOK0 1bdz0|66e2\",\"Pacific/Majuro|+11 +09 +10 +12|-b0 -90 -a0 -c0|0102103|-2ewz0 axC0 HBy0 akp0 6RB0 12um0|28e3\",\"Pacific/Marquesas|LMT -0930|9i 9u|01|-2joeG|86e2\",\"Pacific/Pago_Pago|LMT SST|bm.M b0|01|-2nDMB.c|37e2\",\"Pacific/Nauru|LMT +1130 +09 +12|-b7.E -bu -90 -c0|01213|-1Xdn7.E QCnB.E 7mqu 1lnbu|10e3\",\"Pacific/Niue|-1120 -1130 -11|bk bu b0|012|-KfME 17y0a|12e2\",\"Pacific/Norfolk|+1112 +1130 +1230 +11 +12|-bc -bu -cu -b0 -c0|012134343434343434343434343434343434343434|-Kgbc W01G Oo0 1COo0 9Jcu 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|25e4\",\"Pacific/Noumea|LMT +11 +12|-b5.M -b0 -c0|01212121|-2l9n5.M 2EqM5.M xX0 1PB0 yn0 HeP0 Ao0|98e3\",\"Pacific/Pitcairn|-0830 -08|8u 80|01|18Vku|56\",\"Pacific/Pohnpei|+11 +09 +10|-b0 -90 -a0|010210|-2ewz0 axC0 HBy0 akp0 axd0|34e3\",\"Pacific/Rarotonga|-1030 -0930 -10|au 9u a0|012121212121212121212121212|lyWu IL0 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu|13e3\",\"Pacific/Tahiti|LMT -10|9W.g a0|01|-2joe1.I|18e4\",\"Pacific/Tongatapu|+1220 +13 +14|-ck -d0 -e0|0121212121|-1aB0k 2n5dk 15A0 1wo0 xz0 1Q10 xz0 zWN0 s00|75e3\",\"PST8PDT|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0\",\"WET|WET WEST|0 -10|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00\"],\"links\":[\"Africa/Abidjan|Africa/Bamako\",\"Africa/Abidjan|Africa/Banjul\",\"Africa/Abidjan|Africa/Conakry\",\"Africa/Abidjan|Africa/Dakar\",\"Africa/Abidjan|Africa/Freetown\",\"Africa/Abidjan|Africa/Lome\",\"Africa/Abidjan|Africa/Nouakchott\",\"Africa/Abidjan|Africa/Ouagadougou\",\"Africa/Abidjan|Africa/Timbuktu\",\"Africa/Abidjan|Atlantic/St_Helena\",\"Africa/Cairo|Egypt\",\"Africa/Johannesburg|Africa/Maseru\",\"Africa/Johannesburg|Africa/Mbabane\",\"Africa/Lagos|Africa/Bangui\",\"Africa/Lagos|Africa/Brazzaville\",\"Africa/Lagos|Africa/Douala\",\"Africa/Lagos|Africa/Kinshasa\",\"Africa/Lagos|Africa/Libreville\",\"Africa/Lagos|Africa/Luanda\",\"Africa/Lagos|Africa/Malabo\",\"Africa/Lagos|Africa/Niamey\",\"Africa/Lagos|Africa/Porto-Novo\",\"Africa/Maputo|Africa/Blantyre\",\"Africa/Maputo|Africa/Bujumbura\",\"Africa/Maputo|Africa/Gaborone\",\"Africa/Maputo|Africa/Harare\",\"Africa/Maputo|Africa/Kigali\",\"Africa/Maputo|Africa/Lubumbashi\",\"Africa/Maputo|Africa/Lusaka\",\"Africa/Nairobi|Africa/Addis_Ababa\",\"Africa/Nairobi|Africa/Asmara\",\"Africa/Nairobi|Africa/Asmera\",\"Africa/Nairobi|Africa/Dar_es_Salaam\",\"Africa/Nairobi|Africa/Djibouti\",\"Africa/Nairobi|Africa/Kampala\",\"Africa/Nairobi|Africa/Mogadishu\",\"Africa/Nairobi|Indian/Antananarivo\",\"Africa/Nairobi|Indian/Comoro\",\"Africa/Nairobi|Indian/Mayotte\",\"Africa/Tripoli|Libya\",\"America/Adak|America/Atka\",\"America/Adak|US/Aleutian\",\"America/Anchorage|US/Alaska\",\"America/Argentina/Buenos_Aires|America/Buenos_Aires\",\"America/Argentina/Catamarca|America/Argentina/ComodRivadavia\",\"America/Argentina/Catamarca|America/Catamarca\",\"America/Argentina/Cordoba|America/Cordoba\",\"America/Argentina/Cordoba|America/Rosario\",\"America/Argentina/Jujuy|America/Jujuy\",\"America/Argentina/Mendoza|America/Mendoza\",\"America/Atikokan|America/Coral_Harbour\",\"America/Chicago|US/Central\",\"America/Curacao|America/Aruba\",\"America/Curacao|America/Kralendijk\",\"America/Curacao|America/Lower_Princes\",\"America/Denver|America/Shiprock\",\"America/Denver|Navajo\",\"America/Denver|US/Mountain\",\"America/Detroit|US/Michigan\",\"America/Edmonton|Canada/Mountain\",\"America/Fort_Wayne|America/Indiana/Indianapolis\",\"America/Fort_Wayne|America/Indianapolis\",\"America/Fort_Wayne|US/East-Indiana\",\"America/Halifax|Canada/Atlantic\",\"America/Havana|Cuba\",\"America/Indiana/Knox|America/Knox_IN\",\"America/Indiana/Knox|US/Indiana-Starke\",\"America/Jamaica|Jamaica\",\"America/Kentucky/Louisville|America/Louisville\",\"America/Los_Angeles|US/Pacific\",\"America/Los_Angeles|US/Pacific-New\",\"America/Manaus|Brazil/West\",\"America/Mazatlan|Mexico/BajaSur\",\"America/Mexico_City|Mexico/General\",\"America/New_York|US/Eastern\",\"America/Noronha|Brazil/DeNoronha\",\"America/Panama|America/Cayman\",\"America/Phoenix|US/Arizona\",\"America/Port_of_Spain|America/Anguilla\",\"America/Port_of_Spain|America/Antigua\",\"America/Port_of_Spain|America/Dominica\",\"America/Port_of_Spain|America/Grenada\",\"America/Port_of_Spain|America/Guadeloupe\",\"America/Port_of_Spain|America/Marigot\",\"America/Port_of_Spain|America/Montserrat\",\"America/Port_of_Spain|America/St_Barthelemy\",\"America/Port_of_Spain|America/St_Kitts\",\"America/Port_of_Spain|America/St_Lucia\",\"America/Port_of_Spain|America/St_Thomas\",\"America/Port_of_Spain|America/St_Vincent\",\"America/Port_of_Spain|America/Tortola\",\"America/Port_of_Spain|America/Virgin\",\"America/Regina|Canada/Saskatchewan\",\"America/Rio_Branco|America/Porto_Acre\",\"America/Rio_Branco|Brazil/Acre\",\"America/Santiago|Chile/Continental\",\"America/Sao_Paulo|Brazil/East\",\"America/St_Johns|Canada/Newfoundland\",\"America/Tijuana|America/Ensenada\",\"America/Tijuana|America/Santa_Isabel\",\"America/Tijuana|Mexico/BajaNorte\",\"America/Toronto|America/Montreal\",\"America/Toronto|Canada/Eastern\",\"America/Vancouver|Canada/Pacific\",\"America/Whitehorse|Canada/Yukon\",\"America/Winnipeg|Canada/Central\",\"Asia/Ashgabat|Asia/Ashkhabad\",\"Asia/Bangkok|Asia/Phnom_Penh\",\"Asia/Bangkok|Asia/Vientiane\",\"Asia/Dhaka|Asia/Dacca\",\"Asia/Dubai|Asia/Muscat\",\"Asia/Ho_Chi_Minh|Asia/Saigon\",\"Asia/Hong_Kong|Hongkong\",\"Asia/Jerusalem|Asia/Tel_Aviv\",\"Asia/Jerusalem|Israel\",\"Asia/Kathmandu|Asia/Katmandu\",\"Asia/Kolkata|Asia/Calcutta\",\"Asia/Kuala_Lumpur|Asia/Singapore\",\"Asia/Kuala_Lumpur|Singapore\",\"Asia/Macau|Asia/Macao\",\"Asia/Makassar|Asia/Ujung_Pandang\",\"Asia/Nicosia|Europe/Nicosia\",\"Asia/Qatar|Asia/Bahrain\",\"Asia/Rangoon|Asia/Yangon\",\"Asia/Riyadh|Asia/Aden\",\"Asia/Riyadh|Asia/Kuwait\",\"Asia/Seoul|ROK\",\"Asia/Shanghai|Asia/Chongqing\",\"Asia/Shanghai|Asia/Chungking\",\"Asia/Shanghai|Asia/Harbin\",\"Asia/Shanghai|PRC\",\"Asia/Taipei|ROC\",\"Asia/Tehran|Iran\",\"Asia/Thimphu|Asia/Thimbu\",\"Asia/Tokyo|Japan\",\"Asia/Ulaanbaatar|Asia/Ulan_Bator\",\"Asia/Urumqi|Asia/Kashgar\",\"Atlantic/Faroe|Atlantic/Faeroe\",\"Atlantic/Reykjavik|Iceland\",\"Atlantic/South_Georgia|Etc/GMT+2\",\"Australia/Adelaide|Australia/South\",\"Australia/Brisbane|Australia/Queensland\",\"Australia/Broken_Hill|Australia/Yancowinna\",\"Australia/Darwin|Australia/North\",\"Australia/Hobart|Australia/Tasmania\",\"Australia/Lord_Howe|Australia/LHI\",\"Australia/Melbourne|Australia/Victoria\",\"Australia/Perth|Australia/West\",\"Australia/Sydney|Australia/ACT\",\"Australia/Sydney|Australia/Canberra\",\"Australia/Sydney|Australia/NSW\",\"Etc/GMT-0|Etc/GMT\",\"Etc/GMT-0|Etc/GMT+0\",\"Etc/GMT-0|Etc/GMT0\",\"Etc/GMT-0|Etc/Greenwich\",\"Etc/GMT-0|GMT\",\"Etc/GMT-0|GMT+0\",\"Etc/GMT-0|GMT-0\",\"Etc/GMT-0|GMT0\",\"Etc/GMT-0|Greenwich\",\"Etc/UTC|Etc/UCT\",\"Etc/UTC|Etc/Universal\",\"Etc/UTC|Etc/Zulu\",\"Etc/UTC|UCT\",\"Etc/UTC|UTC\",\"Etc/UTC|Universal\",\"Etc/UTC|Zulu\",\"Europe/Belgrade|Europe/Ljubljana\",\"Europe/Belgrade|Europe/Podgorica\",\"Europe/Belgrade|Europe/Sarajevo\",\"Europe/Belgrade|Europe/Skopje\",\"Europe/Belgrade|Europe/Zagreb\",\"Europe/Chisinau|Europe/Tiraspol\",\"Europe/Dublin|Eire\",\"Europe/Helsinki|Europe/Mariehamn\",\"Europe/Istanbul|Asia/Istanbul\",\"Europe/Istanbul|Turkey\",\"Europe/Lisbon|Portugal\",\"Europe/London|Europe/Belfast\",\"Europe/London|Europe/Guernsey\",\"Europe/London|Europe/Isle_of_Man\",\"Europe/London|Europe/Jersey\",\"Europe/London|GB\",\"Europe/London|GB-Eire\",\"Europe/Moscow|W-SU\",\"Europe/Oslo|Arctic/Longyearbyen\",\"Europe/Oslo|Atlantic/Jan_Mayen\",\"Europe/Prague|Europe/Bratislava\",\"Europe/Rome|Europe/San_Marino\",\"Europe/Rome|Europe/Vatican\",\"Europe/Warsaw|Poland\",\"Europe/Zurich|Europe/Busingen\",\"Europe/Zurich|Europe/Vaduz\",\"Indian/Christmas|Etc/GMT-7\",\"Pacific/Auckland|Antarctica/McMurdo\",\"Pacific/Auckland|Antarctica/South_Pole\",\"Pacific/Auckland|NZ\",\"Pacific/Chatham|NZ-CHAT\",\"Pacific/Chuuk|Pacific/Truk\",\"Pacific/Chuuk|Pacific/Yap\",\"Pacific/Easter|Chile/EasterIsland\",\"Pacific/Guam|Pacific/Saipan\",\"Pacific/Honolulu|Pacific/Johnston\",\"Pacific/Honolulu|US/Hawaii\",\"Pacific/Kwajalein|Kwajalein\",\"Pacific/Pago_Pago|Pacific/Midway\",\"Pacific/Pago_Pago|Pacific/Samoa\",\"Pacific/Pago_Pago|US/Samoa\",\"Pacific/Palau|Etc/GMT-9\",\"Pacific/Pohnpei|Pacific/Ponape\",\"Pacific/Port_Moresby|Etc/GMT-10\",\"Pacific/Tarawa|Etc/GMT-12\",\"Pacific/Tarawa|Pacific/Funafuti\",\"Pacific/Tarawa|Pacific/Wake\",\"Pacific/Tarawa|Pacific/Wallis\"]}"); diff --git a/wp-includes/js/dist/date.min.js b/wp-includes/js/dist/date.min.js index 8b171fae34..1061f2e3ea 100644 --- a/wp-includes/js/dist/date.min.js +++ b/wp-includes/js/dist/date.min.js @@ -1,12 +1,12 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.date=function(c){var M={};function o(z){if(M[z])return M[z].exports;var A=M[z]={i:z,l:!1,exports:{}};return c[z].call(A.exports,A,A.exports,o),A.l=!0,A.exports}return o.m=c,o.c=M,o.d=function(c,M,z){o.o(c,M)||Object.defineProperty(c,M,{enumerable:!0,get:z})},o.r=function(c){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(c,"__esModule",{value:!0})},o.t=function(c,M){if(1&M&&(c=o(c)),8&M)return c;if(4&M&&"object"==typeof c&&c&&c.__esModule)return c;var z=Object.create(null);if(o.r(z),Object.defineProperty(z,"default",{enumerable:!0,value:c}),2&M&&"string"!=typeof c)for(var A in c)o.d(z,A,function(M){return c[M]}.bind(null,A));return z},o.n=function(c){var M=c&&c.__esModule?function(){return c.default}:function(){return c};return o.d(M,"a",M),M},o.o=function(c,M){return Object.prototype.hasOwnProperty.call(c,M)},o.p="",o(o.s=340)}({209:function(c,M,o){var z,A,b;//! moment-timezone.js +this.wp=this.wp||{},this.wp.date=function(c){var M={};function o(z){if(M[z])return M[z].exports;var A=M[z]={i:z,l:!1,exports:{}};return c[z].call(A.exports,A,A.exports,o),A.l=!0,A.exports}return o.m=c,o.c=M,o.d=function(c,M,z){o.o(c,M)||Object.defineProperty(c,M,{enumerable:!0,get:z})},o.r=function(c){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(c,"__esModule",{value:!0})},o.t=function(c,M){if(1&M&&(c=o(c)),8&M)return c;if(4&M&&"object"==typeof c&&c&&c.__esModule)return c;var z=Object.create(null);if(o.r(z),Object.defineProperty(z,"default",{enumerable:!0,value:c}),2&M&&"string"!=typeof c)for(var A in c)o.d(z,A,function(M){return c[M]}.bind(null,A));return z},o.n=function(c){var M=c&&c.__esModule?function(){return c.default}:function(){return c};return o.d(M,"a",M),M},o.o=function(c,M){return Object.prototype.hasOwnProperty.call(c,M)},o.p="",o(o.s=389)}({247:function(c,M,o){var z,A,b;//! moment-timezone.js //! version : 0.5.27 //! Copyright (c) JS Foundation and other contributors //! license : MIT //! github.com/moment/moment-timezone -!function(p,n){"use strict";c.exports?c.exports=n(o(30)):(A=[o(30)],void 0===(b="function"==typeof(z=n)?z.apply(M,A):z)||(c.exports=b))}(0,(function(c){"use strict";var M,o={},z={},A={},b={};c&&"string"==typeof c.version||E("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var p=c.version.split("."),n=+p[0],a=+p[1];function O(c){return c>96?c-87:c>64?c-29:c-48}function L(c){var M=0,o=c.split("."),z=o[0],A=o[1]||"",b=1,p=0,n=1;for(45===c.charCodeAt(0)&&(M=1,n=-1);M3){var M=A[l(c)];if(M)return M;E("Moment Timezone found "+c+" from the Intl api, but did not have that data loaded.")}}catch(c){}var o,z,b,p=function(){var c,M,o,z=(new Date).getFullYear()-2,A=new d(new Date(z,0,1)),b=[A];for(o=1;o<48;o++)(M=new d(new Date(z,o,1))).offset!==A.offset&&(c=f(A,M),b.push(c),b.push(new d(new Date(c.at+6e4)))),A=M;for(o=0;o<4;o++)b.push(new d(new Date(z+o,0,1))),b.push(new d(new Date(z+o,6,1)));return b}(),n=p.length,a=t(p),O=[];for(z=0;z0?O[0].zone.name:void 0}function l(c){return(c||"").toLowerCase().replace(/\//g,"_")}function u(c){var M,z,b,p;for("string"==typeof c&&(c=[c]),M=0;M= 2.6.0. You are using Moment.js "+c.version+". See momentjs.com"),N.prototype={_set:function(c){this.name=c.name,this.abbrs=c.abbrs,this.untils=c.untils,this.offsets=c.offsets,this.population=c.population},_index:function(c){var M,o=+c,z=this.untils;for(M=0;Mz&&S.moveInvalidForward&&(M=z),b0&&(this._z=null),R.apply(this,arguments)}),c.tz.setDefault=function(M){return(n<2||2===n&&a<9)&&E("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+c.version+"."),c.defaultZone=M?T(M):null,c};var h=c.momentProperties;return"[object Array]"===Object.prototype.toString.call(h)?(h.push("_z"),h.push("_a")):h&&(h._z=null),c}))},30:function(c,M){!function(){c.exports=this.moment}()},340:function(c,M,o){"use strict";o.r(M),o.d(M,"setSettings",(function(){return n})),o.d(M,"__experimentalGetSettings",(function(){return a})),o.d(M,"format",(function(){return e})),o.d(M,"date",(function(){return i})),o.d(M,"gmdate",(function(){return N})),o.d(M,"dateI18n",(function(){return d})),o.d(M,"isInTheFuture",(function(){return W})),o.d(M,"getDate",(function(){return f}));var z=o(30),A=o.n(z),b=(o(209),o(341),"WP"),p={l10n:{locale:"en",months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],meridiem:{am:"am",pm:"pm",AM:"AM",PM:"PM"},relative:{future:"%s from now",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}},formats:{time:"g: i a",date:"F j, Y",datetime:"F j, Y g: i a",datetimeAbbreviated:"M j, Y g: i a"},timezone:{offset:"0",string:""}};function n(c){p=c;var M=A.a.locale();A.a.updateLocale(c.l10n.locale,{parentLocale:M,months:c.l10n.months,monthsShort:c.l10n.monthsShort,weekdays:c.l10n.weekdays,weekdaysShort:c.l10n.weekdaysShort,meridiem:function(M,o,z){return M<12?z?c.l10n.meridiem.am:c.l10n.meridiem.AM:z?c.l10n.meridiem.pm:c.l10n.meridiem.PM},longDateFormat:{LT:c.formats.time,LTS:null,L:null,LL:c.formats.date,LLL:c.formats.datetime,LLLL:null},relativeTime:c.l10n.relative}),A.a.locale(M),O()}function a(){return p}function O(){A.a.tz.add(A.a.tz.pack({name:b,abbrs:[b],untils:[null],offsets:[60*-p.timezone.offset||0]}))}var L=60,q={d:"DD",D:"ddd",j:"D",l:"dddd",N:"E",S:function(c){var M=c.format("D");return c.format("Do").replace(M,"")},w:"d",z:function(c){return""+parseInt(c.format("DDD"),10)-1},W:"W",F:"MMMM",m:"MM",M:"MMM",n:"M",t:function(c){return c.daysInMonth()},L:function(c){return c.isLeapYear()?"1":"0"},o:"GGGG",Y:"YYYY",y:"YY",a:"a",A:"A",B:function(c){var M=A()(c).utcOffset(60),o=parseInt(M.format("s"),10),z=parseInt(M.format("m"),10),b=parseInt(M.format("H"),10);return parseInt((o+60*z+3600*b)/86.4,10)},g:"h",G:"H",h:"hh",H:"HH",i:"mm",s:"ss",u:"SSSSSS",v:"SSS",e:"zz",I:function(c){return c.isDST()?"1":"0"},O:"ZZ",P:"Z",T:"z",Z:function(c){var M=c.format("Z"),o="-"===M[0]?-1:1,z=M.substring(1).split(":");return o*(z[0]*L+z[1])*60},c:"YYYY-MM-DDTHH:mm:ssZ",r:"ddd, D MMM YYYY HH:mm:ss ZZ",U:"X"};function e(c){var M,o,z=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,b=[],p=A()(z);for(M=0;M1&&void 0!==arguments[1]?arguments[1]:new Date,o=p.timezone.offset*L;return e(c,A()(M).utcOffset(o,!0))}function N(c){var M=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;return e(c,A()(M).utc())}function d(c){var M=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2]?0:p.timezone.offset*L,z=A()(M).utcOffset(o,!0);return z.locale(p.l10n.locale),e(c,z)}function W(c){var M=A.a.tz(b);return A.a.tz(c,b).isAfter(M)}function f(c){return c?A.a.tz(c,b).toDate():A.a.tz(b).toDate()}O()},341:function(c,M,o){var z,A,b;//! moment-timezone-utils.js +!function(p,n){"use strict";c.exports?c.exports=n(o(30)):(A=[o(30)],void 0===(b="function"==typeof(z=n)?z.apply(M,A):z)||(c.exports=b))}(0,(function(c){"use strict";var M,o={},z={},A={},b={};c&&"string"==typeof c.version||E("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var p=c.version.split("."),n=+p[0],a=+p[1];function O(c){return c>96?c-87:c>64?c-29:c-48}function L(c){var M=0,o=c.split("."),z=o[0],A=o[1]||"",b=1,p=0,n=1;for(45===c.charCodeAt(0)&&(M=1,n=-1);M3){var M=A[l(c)];if(M)return M;E("Moment Timezone found "+c+" from the Intl api, but did not have that data loaded.")}}catch(c){}var o,z,b,p=function(){var c,M,o,z=(new Date).getFullYear()-2,A=new d(new Date(z,0,1)),b=[A];for(o=1;o<48;o++)(M=new d(new Date(z,o,1))).offset!==A.offset&&(c=f(A,M),b.push(c),b.push(new d(new Date(c.at+6e4)))),A=M;for(o=0;o<4;o++)b.push(new d(new Date(z+o,0,1))),b.push(new d(new Date(z+o,6,1)));return b}(),n=p.length,a=t(p),O=[];for(z=0;z0?O[0].zone.name:void 0}function l(c){return(c||"").toLowerCase().replace(/\//g,"_")}function u(c){var M,z,b,p;for("string"==typeof c&&(c=[c]),M=0;M= 2.6.0. You are using Moment.js "+c.version+". See momentjs.com"),N.prototype={_set:function(c){this.name=c.name,this.abbrs=c.abbrs,this.untils=c.untils,this.offsets=c.offsets,this.population=c.population},_index:function(c){var M,o=+c,z=this.untils;for(M=0;Mz&&S.moveInvalidForward&&(M=z),b0&&(this._z=null),R.apply(this,arguments)}),c.tz.setDefault=function(M){return(n<2||2===n&&a<9)&&E("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+c.version+"."),c.defaultZone=M?T(M):null,c};var h=c.momentProperties;return"[object Array]"===Object.prototype.toString.call(h)?(h.push("_z"),h.push("_a")):h&&(h._z=null),c}))},30:function(c,M){!function(){c.exports=this.moment}()},389:function(c,M,o){"use strict";o.r(M),o.d(M,"setSettings",(function(){return n})),o.d(M,"__experimentalGetSettings",(function(){return a})),o.d(M,"format",(function(){return e})),o.d(M,"date",(function(){return i})),o.d(M,"gmdate",(function(){return N})),o.d(M,"dateI18n",(function(){return d})),o.d(M,"isInTheFuture",(function(){return W})),o.d(M,"getDate",(function(){return f}));var z=o(30),A=o.n(z),b=(o(247),o(390),"WP"),p={l10n:{locale:"en",months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],meridiem:{am:"am",pm:"pm",AM:"AM",PM:"PM"},relative:{future:"%s from now",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}},formats:{time:"g: i a",date:"F j, Y",datetime:"F j, Y g: i a",datetimeAbbreviated:"M j, Y g: i a"},timezone:{offset:"0",string:""}};function n(c){p=c;var M=A.a.locale();A.a.updateLocale(c.l10n.locale,{parentLocale:M,months:c.l10n.months,monthsShort:c.l10n.monthsShort,weekdays:c.l10n.weekdays,weekdaysShort:c.l10n.weekdaysShort,meridiem:function(M,o,z){return M<12?z?c.l10n.meridiem.am:c.l10n.meridiem.AM:z?c.l10n.meridiem.pm:c.l10n.meridiem.PM},longDateFormat:{LT:c.formats.time,LTS:null,L:null,LL:c.formats.date,LLL:c.formats.datetime,LLLL:null},relativeTime:c.l10n.relative}),A.a.locale(M),O()}function a(){return p}function O(){A.a.tz.add(A.a.tz.pack({name:b,abbrs:[b],untils:[null],offsets:[60*-p.timezone.offset||0]}))}var L=60,q={d:"DD",D:"ddd",j:"D",l:"dddd",N:"E",S:function(c){var M=c.format("D");return c.format("Do").replace(M,"")},w:"d",z:function(c){return""+parseInt(c.format("DDD"),10)-1},W:"W",F:"MMMM",m:"MM",M:"MMM",n:"M",t:function(c){return c.daysInMonth()},L:function(c){return c.isLeapYear()?"1":"0"},o:"GGGG",Y:"YYYY",y:"YY",a:"a",A:"A",B:function(c){var M=A()(c).utcOffset(60),o=parseInt(M.format("s"),10),z=parseInt(M.format("m"),10),b=parseInt(M.format("H"),10);return parseInt((o+60*z+3600*b)/86.4,10)},g:"h",G:"H",h:"hh",H:"HH",i:"mm",s:"ss",u:"SSSSSS",v:"SSS",e:"zz",I:function(c){return c.isDST()?"1":"0"},O:"ZZ",P:"Z",T:"z",Z:function(c){var M=c.format("Z"),o="-"===M[0]?-1:1,z=M.substring(1).split(":");return o*(z[0]*L+z[1])*60},c:"YYYY-MM-DDTHH:mm:ssZ",r:"ddd, D MMM YYYY HH:mm:ss ZZ",U:"X"};function e(c){var M,o,z=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,b=[],p=A()(z);for(M=0;M1&&void 0!==arguments[1]?arguments[1]:new Date,o=p.timezone.offset*L;return e(c,A()(M).utcOffset(o,!0))}function N(c){var M=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;return e(c,A()(M).utc())}function d(c){var M=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2]?0:p.timezone.offset*L,z=A()(M).utcOffset(o,!0);return z.locale(p.l10n.locale),e(c,z)}function W(c){var M=A.a.tz(b);return A.a.tz(c,b).isAfter(M)}function f(c){return c?A.a.tz(c,b).toDate():A.a.tz(b).toDate()}O()},390:function(c,M,o){var z,A,b;//! moment-timezone-utils.js //! version : 0.5.27 //! Copyright (c) JS Foundation and other contributors //! license : MIT //! github.com/moment/moment-timezone -!function(p,n){"use strict";c.exports?c.exports=n(o(342)):(A=[o(30)],void 0===(b="function"==typeof(z=n)?z.apply(M,A):z)||(c.exports=b))}(0,(function(c){"use strict";if(!c.tz)throw new Error("moment-timezone-utils.js must be loaded after moment-timezone.js");var M="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWX",o=1e-6;function z(c,z){for(var A="",b=Math.abs(c),p=Math.floor(b),n=function(c,z){for(var A,b=".",p="";z>0;)z-=1,c*=60,A=Math.floor(c+o),b+=M[A],c-=A,A&&(p+=b,b="");return p}(b-p,Math.min(~~z,10));p>0;)A=M[p%60]+A,p=Math.floor(p/60);return c<0&&(A="-"+A),A&&n?A+n:(n||"-"!==A)&&(A||n)||"0"}function A(c){var M,o=[],A=0;for(M=0;Mn.population?a.unshift(p):p.population===n.population&&z&&z[p.name]?a.unshift(p):a.push(p),L=!0);L||q.push([p])}for(A=0;Ao&&(A=M,M=o,o=A),A=0;Ao&&(p=Math.min(p,A+1)));return[b,p]}(c.untils,M,o),b=z.apply(c.untils,A);return b[b.length-1]=null,{name:c.name,abbrs:z.apply(c.abbrs,A),untils:b,offsets:z.apply(c.offsets,A),population:c.population}}return c.tz.pack=n,c.tz.packBase60=z,c.tz.createLinks=L,c.tz.filterYears=q,c.tz.filterLinkPack=function(c,M,o,z){var A,b,p=c.zones,a=[];for(A=0;A0;)z-=1,c*=60,A=Math.floor(c+o),b+=M[A],c-=A,A&&(p+=b,b="");return p}(b-p,Math.min(~~z,10));p>0;)A=M[p%60]+A,p=Math.floor(p/60);return c<0&&(A="-"+A),A&&n?A+n:(n||"-"!==A)&&(A||n)||"0"}function A(c){var M,o=[],A=0;for(M=0;Mn.population?a.unshift(p):p.population===n.population&&z&&z[p.name]?a.unshift(p):a.push(p),L=!0);L||q.push([p])}for(A=0;Ao&&(A=M,M=o,o=A),A=0;Ao&&(p=Math.min(p,A+1)));return[b,p]}(c.untils,M,o),b=z.apply(c.untils,A);return b[b.length-1]=null,{name:c.name,abbrs:z.apply(c.abbrs,A),untils:b,offsets:z.apply(c.offsets,A),population:c.population}}return c.tz.pack=n,c.tz.packBase60=z,c.tz.createLinks=L,c.tz.filterYears=q,c.tz.filterLinkPack=function(c,M,o,z){var A,b,p=c.zones,a=[];for(A=0;A1&&void 0!==arguments[1]?arguments[1]:{},n=t.version,c=t.alternative,i=t.plugin,u=t.link,a=t.hint,l=i?" from ".concat(i):"",f=n?" and will be removed".concat(l," in version ").concat(n):"",d=c?" Please use ".concat(c," instead."):"",s=u?" See: ".concat(u):"",p=a?" Note: ".concat(a):"",b="".concat(e," is deprecated").concat(f,".").concat(d).concat(s).concat(p);b in o||(Object(r.doAction)("deprecated",e,t,b),console.warn(b),o[b]=!0)}}}).default; \ No newline at end of file +this.wp=this.wp||{},this.wp.deprecated=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=393)}({29:function(e,t){!function(){e.exports=this.wp.hooks}()},393:function(e,t,n){"use strict";n.r(t),n.d(t,"logged",(function(){return o})),n.d(t,"default",(function(){return c}));var r=n(29),o=Object.create(null);function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.version,c=t.alternative,i=t.plugin,u=t.link,a=t.hint,l=i?" from ".concat(i):"",f=n?" and will be removed".concat(l," in version ").concat(n):"",d=c?" Please use ".concat(c," instead."):"",s=u?" See: ".concat(u):"",p=a?" Note: ".concat(a):"",b="".concat(e," is deprecated").concat(f,".").concat(d).concat(s).concat(p);b in o||(Object(r.doAction)("deprecated",e,t,b),console.warn(b),o[b]=!0)}}}).default; \ No newline at end of file diff --git a/wp-includes/js/dist/dom-ready.js b/wp-includes/js/dist/dom-ready.js index f849b643c9..ea87f48765 100644 --- a/wp-includes/js/dist/dom-ready.js +++ b/wp-includes/js/dist/dom-ready.js @@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["domReady"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 345); +/******/ return __webpack_require__(__webpack_require__.s = 394); /******/ }) /************************************************************************/ /******/ ({ -/***/ 345: +/***/ 394: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; diff --git a/wp-includes/js/dist/dom-ready.min.js b/wp-includes/js/dist/dom-ready.min.js index 5d374e810a..6bf9119745 100644 --- a/wp-includes/js/dist/dom-ready.min.js +++ b/wp-includes/js/dist/dom-ready.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.domReady=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=345)}({345:function(e,t,n){"use strict";function r(e){"complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e()}n.r(t),n.d(t,"default",(function(){return r}))}}).default; \ No newline at end of file +this.wp=this.wp||{},this.wp.domReady=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=394)}({394:function(e,t,n){"use strict";function r(e){"complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e()}n.r(t),n.d(t,"default",(function(){return r}))}}).default; \ No newline at end of file diff --git a/wp-includes/js/dist/dom.js b/wp-includes/js/dist/dom.js index 3807f5c4b0..c72141f355 100644 --- a/wp-includes/js/dist/dom.js +++ b/wp-includes/js/dist/dom.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["dom"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 388); +/******/ return __webpack_require__(__webpack_require__.s = 435); /******/ }) /************************************************************************/ /******/ ({ @@ -94,7 +94,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["dom"] = /***/ }), -/***/ 388: +/***/ 435: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -384,6 +384,7 @@ function findNext() { */ var _window = window, + DOMParser = _window.DOMParser, getComputedStyle = _window.getComputedStyle; var _window$Node = window.Node, TEXT_NODE = _window$Node.TEXT_NODE, @@ -468,7 +469,8 @@ function isEdge(container, isReverse, onlyVertical) { return false; } - var range = selection.getRangeAt(0).cloneRange(); + var originalRange = selection.getRangeAt(0); + var range = originalRange.cloneRange(); var isForward = isSelectionForward(selection); var isCollapsed = selection.isCollapsed; // Collapse in direction of selection. @@ -497,7 +499,8 @@ function isEdge(container, isReverse, onlyVertical) { var buffer = 3 * parseInt(lineHeight, 10) / 4; var containerRect = container.getBoundingClientRect(); - var verticalEdge = isReverse ? containerRect.top + padding > rangeRect.top - buffer : containerRect.bottom - padding < rangeRect.bottom + buffer; + var originalRangeRect = getRectangleFromRange(originalRange); + var verticalEdge = isReverse ? containerRect.top + padding > originalRangeRect.top - buffer : containerRect.bottom - padding < originalRangeRect.bottom + buffer; if (!verticalEdge) { return false; @@ -1003,6 +1006,18 @@ function wrap(newNode, referenceNode) { referenceNode.parentNode.insertBefore(newNode, referenceNode); newNode.appendChild(referenceNode); } +/** + * Removes any HTML tags from the provided string. + * + * @param {string} html The string containing html. + * + * @return {string} The text content with any html removed. + */ + +function __unstableStripHTML(html) { + var document = new DOMParser().parseFromString(html, 'text/html'); + return document.body.textContent || ''; +} // CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/index.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "focus", function() { return build_module_focus; }); @@ -1023,6 +1038,7 @@ function wrap(newNode, referenceNode) { /* concated harmony reexport unwrap */__webpack_require__.d(__webpack_exports__, "unwrap", function() { return unwrap; }); /* concated harmony reexport replaceTag */__webpack_require__.d(__webpack_exports__, "replaceTag", function() { return replaceTag; }); /* concated harmony reexport wrap */__webpack_require__.d(__webpack_exports__, "wrap", function() { return wrap; }); +/* concated harmony reexport __unstableStripHTML */__webpack_require__.d(__webpack_exports__, "__unstableStripHTML", function() { return __unstableStripHTML; }); /** * Internal dependencies */ diff --git a/wp-includes/js/dist/dom.min.js b/wp-includes/js/dist/dom.min.js index 4f492f929f..bfb748bff2 100644 --- a/wp-includes/js/dist/dom.min.js +++ b/wp-includes/js/dist/dom.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.dom=function(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=388)}({2:function(e,t){!function(){e.exports=this.lodash}()},388:function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"find",(function(){return u}));var o={};n.r(o),n.d(o,"isTabbableIndex",(function(){return d})),n.d(o,"find",(function(){return p})),n.d(o,"findPrevious",(function(){return m})),n.d(o,"findNext",(function(){return h}));var i=["[tabindex]","a[href]","button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])","iframe","object","embed","area[href]","[contenteditable]:not([contenteditable=false])"].join(",");function a(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0}function u(e){var t=e.querySelectorAll(i);return Array.from(t).filter((function(e){return!!a(e)&&("AREA"!==e.nodeName||function(e){var t=e.closest("map[name]");if(!t)return!1;var n=document.querySelector('img[usemap="#'+t.name+'"]');return!!n&&a(n)}(e))}))}var c=n(2);function l(e){var t=e.getAttribute("tabindex");return null===t?0:parseInt(t,10)}function d(e){return-1!==l(e)}function f(e,t){return{element:e,index:t}}function s(e){return e.element}function g(e,t){var n=l(e.element),r=l(t.element);return n===r?e.index-t.index:n-r}function v(e){return e.filter(d).map(f).sort(g).map(s).reduce((t={},function(e,n){var r=n.nodeName,o=n.type,i=n.checked,a=n.name;if("INPUT"!==r||"radio"!==o||!a)return e.concat(n);var u=t.hasOwnProperty(a);if(!i&&u)return e;if(u){var l=t[a];e=Object(c.without)(e,l)}return t[a]=n,e.concat(n)}),[]);var t}function p(e){return v(u(e))}function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.activeElement,t=u(document.body),n=t.indexOf(e);return t.length=n,Object(c.last)(v(t))}function h(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.activeElement,t=u(document.body),n=t.indexOf(e),r=t.slice(n+1).filter((function(t){return!e.contains(t)}));return Object(c.first)(v(r))}var b=window.getComputedStyle,C=window.Node,N=C.TEXT_NODE,E=C.ELEMENT_NODE,y=C.DOCUMENT_POSITION_PRECEDING,R=C.DOCUMENT_POSITION_FOLLOWING;function O(e,t,n){if(Object(c.includes)(["INPUT","TEXTAREA"],e.tagName))return e.selectionStart===e.selectionEnd&&(t?0===e.selectionStart:e.value.length===e.selectionStart);if(!e.isContentEditable)return!0;var r=window.getSelection();if(!r.rangeCount)return!1;var o=r.getRangeAt(0).cloneRange(),i=function(e){var t=e.anchorNode,n=e.focusNode,r=e.anchorOffset,o=e.focusOffset,i=t.compareDocumentPosition(n);return!(i&y)&&(!!(i&R)||(0!==i||r<=o))}(r),a=r.isCollapsed;a||o.collapse(!i);var u=T(o);if(!u)return!1;var l=window.getComputedStyle(e),d=parseInt(l.lineHeight,10)||0;if(!a&&u.height>d&&i===t)return!1;var f=parseInt(l["padding".concat(t?"Top":"Bottom")],10)||0,s=3*parseInt(d,10)/4,g=e.getBoundingClientRect();if(!(t?g.top+f>u.top-s:g.bottom-f3&&void 0!==arguments[3])||arguments[3];if(e)if(n&&e.isContentEditable){var o=n.height/2,i=e.getBoundingClientRect(),a=n.left,u=t?i.bottom-o:i.top+o,c=x(document,a,u,e);if(!c||!e.contains(c.startContainer))return!r||c&&c.startContainer&&c.startContainer.contains(e)?void P(e,t):(e.scrollIntoView(t),void I(e,t,n,!1));var l=window.getSelection();l.removeAllRanges(),l.addRange(c),e.focus(),l.removeAllRanges(),l.addRange(c)}else P(e,t)}function j(e){try{var t=e.nodeName,n=e.selectionStart,r=e.contentEditable;return"INPUT"===t&&null!==n||"TEXTAREA"===t||"true"===r}catch(e){return!1}}function _(){if(j(document.activeElement))return!0;var e=window.getSelection(),t=e.rangeCount?e.getRangeAt(0):null;return t&&!t.collapsed}function B(e){if(Object(c.includes)(["INPUT","TEXTAREA"],e.nodeName))return 0===e.selectionStart&&e.value.length===e.selectionEnd;if(!e.isContentEditable)return!0;var t=window.getSelection(),n=t.rangeCount?t.getRangeAt(0):null;if(!n)return!0;var r=n.startContainer,o=n.endContainer,i=n.startOffset,a=n.endOffset;if(r===e&&o===e&&0===i&&a===e.childNodes.length)return!0;var u=e.lastChild,l=u.nodeType===N?u.data.length:u.childNodes.length;return r===e.firstChild&&o===e.lastChild&&0===i&&a===l}function M(e){if(e){if(e.scrollHeight>e.clientHeight){var t=window.getComputedStyle(e).overflowY;if(/(auto|scroll)/.test(t))return e}return M(e.parentNode)}}function D(e){for(var t;(t=e.parentNode)&&t.nodeType!==E;);return t?"static"!==b(t).position?t:t.offsetParent:null}function F(e,t){U(t,e.parentNode),H(e)}function H(e){e.parentNode.removeChild(e)}function U(e,t){t.parentNode.insertBefore(e,t.nextSibling)}function z(e){for(var t=e.parentNode;e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)}function X(e,t){for(var n=e.ownerDocument.createElement(t);e.firstChild;)n.appendChild(e.firstChild);return e.parentNode.replaceChild(n,e),n}function L(e,t){t.parentNode.insertBefore(e,t),e.appendChild(t)}n.d(t,"focus",(function(){return V})),n.d(t,"isHorizontalEdge",(function(){return w})),n.d(t,"isVerticalEdge",(function(){return S})),n.d(t,"getRectangleFromRange",(function(){return T})),n.d(t,"computeCaretRect",(function(){return A})),n.d(t,"placeCaretAtHorizontalEdge",(function(){return P})),n.d(t,"placeCaretAtVerticalEdge",(function(){return I})),n.d(t,"isTextField",(function(){return j})),n.d(t,"documentHasSelection",(function(){return _})),n.d(t,"isEntirelySelected",(function(){return B})),n.d(t,"getScrollContainer",(function(){return M})),n.d(t,"getOffsetParent",(function(){return D})),n.d(t,"replace",(function(){return F})),n.d(t,"remove",(function(){return H})),n.d(t,"insertAfter",(function(){return U})),n.d(t,"unwrap",(function(){return z})),n.d(t,"replaceTag",(function(){return X})),n.d(t,"wrap",(function(){return L}));var V={focusable:r,tabbable:o}}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.dom=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=435)}({2:function(e,t){!function(){e.exports=this.lodash}()},435:function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"find",(function(){return u}));var o={};n.r(o),n.d(o,"isTabbableIndex",(function(){return d})),n.d(o,"find",(function(){return p})),n.d(o,"findPrevious",(function(){return m})),n.d(o,"findNext",(function(){return h}));var i=["[tabindex]","a[href]","button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])","iframe","object","embed","area[href]","[contenteditable]:not([contenteditable=false])"].join(",");function a(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0}function u(e){var t=e.querySelectorAll(i);return Array.from(t).filter((function(e){return!!a(e)&&("AREA"!==e.nodeName||function(e){var t=e.closest("map[name]");if(!t)return!1;var n=document.querySelector('img[usemap="#'+t.name+'"]');return!!n&&a(n)}(e))}))}var c=n(2);function l(e){var t=e.getAttribute("tabindex");return null===t?0:parseInt(t,10)}function d(e){return-1!==l(e)}function f(e,t){return{element:e,index:t}}function s(e){return e.element}function g(e,t){var n=l(e.element),r=l(t.element);return n===r?e.index-t.index:n-r}function v(e){return e.filter(d).map(f).sort(g).map(s).reduce((t={},function(e,n){var r=n.nodeName,o=n.type,i=n.checked,a=n.name;if("INPUT"!==r||"radio"!==o||!a)return e.concat(n);var u=t.hasOwnProperty(a);if(!i&&u)return e;if(u){var l=t[a];e=Object(c.without)(e,l)}return t[a]=n,e.concat(n)}),[]);var t}function p(e){return v(u(e))}function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.activeElement,t=u(document.body),n=t.indexOf(e);return t.length=n,Object(c.last)(v(t))}function h(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.activeElement,t=u(document.body),n=t.indexOf(e),r=t.slice(n+1).filter((function(t){return!e.contains(t)}));return Object(c.first)(v(r))}var b=window,C=b.DOMParser,N=b.getComputedStyle,E=window.Node,y=E.TEXT_NODE,O=E.ELEMENT_NODE,R=E.DOCUMENT_POSITION_PRECEDING,S=E.DOCUMENT_POSITION_FOLLOWING;function w(e,t,n){if(Object(c.includes)(["INPUT","TEXTAREA"],e.tagName))return e.selectionStart===e.selectionEnd&&(t?0===e.selectionStart:e.value.length===e.selectionStart);if(!e.isContentEditable)return!0;var r=window.getSelection();if(!r.rangeCount)return!1;var o=r.getRangeAt(0),i=o.cloneRange(),a=function(e){var t=e.anchorNode,n=e.focusNode,r=e.anchorOffset,o=e.focusOffset,i=t.compareDocumentPosition(n);return!(i&R)&&(!!(i&S)||(0!==i||r<=o))}(r),u=r.isCollapsed;u||i.collapse(!a);var l=P(i);if(!l)return!1;var d=window.getComputedStyle(e),f=parseInt(d.lineHeight,10)||0;if(!u&&l.height>f&&a===t)return!1;var s=parseInt(d["padding".concat(t?"Top":"Bottom")],10)||0,g=3*parseInt(f,10)/4,v=e.getBoundingClientRect(),p=P(o);if(!(t?v.top+s>p.top-g:v.bottom-s3&&void 0!==arguments[3])||arguments[3];if(e)if(n&&e.isContentEditable){var o=n.height/2,i=e.getBoundingClientRect(),a=n.left,u=t?i.bottom-o:i.top+o,c=j(document,a,u,e);if(!c||!e.contains(c.startContainer))return!r||c&&c.startContainer&&c.startContainer.contains(e)?void I(e,t):(e.scrollIntoView(t),void _(e,t,n,!1));var l=window.getSelection();l.removeAllRanges(),l.addRange(c),e.focus(),l.removeAllRanges(),l.addRange(c)}else I(e,t)}function M(e){try{var t=e.nodeName,n=e.selectionStart,r=e.contentEditable;return"INPUT"===t&&null!==n||"TEXTAREA"===t||"true"===r}catch(e){return!1}}function B(){if(M(document.activeElement))return!0;var e=window.getSelection(),t=e.rangeCount?e.getRangeAt(0):null;return t&&!t.collapsed}function D(e){if(Object(c.includes)(["INPUT","TEXTAREA"],e.nodeName))return 0===e.selectionStart&&e.value.length===e.selectionEnd;if(!e.isContentEditable)return!0;var t=window.getSelection(),n=t.rangeCount?t.getRangeAt(0):null;if(!n)return!0;var r=n.startContainer,o=n.endContainer,i=n.startOffset,a=n.endOffset;if(r===e&&o===e&&0===i&&a===e.childNodes.length)return!0;var u=e.lastChild,l=u.nodeType===y?u.data.length:u.childNodes.length;return r===e.firstChild&&o===e.lastChild&&0===i&&a===l}function F(e){if(e){if(e.scrollHeight>e.clientHeight){var t=window.getComputedStyle(e).overflowY;if(/(auto|scroll)/.test(t))return e}return F(e.parentNode)}}function H(e){for(var t;(t=e.parentNode)&&t.nodeType!==O;);return t?"static"!==N(t).position?t:t.offsetParent:null}function U(e,t){X(t,e.parentNode),z(e)}function z(e){e.parentNode.removeChild(e)}function X(e,t){t.parentNode.insertBefore(e,t.nextSibling)}function L(e){for(var t=e.parentNode;e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)}function V(e,t){for(var n=e.ownerDocument.createElement(t);e.firstChild;)n.appendChild(e.firstChild);return e.parentNode.replaceChild(n,e),n}function q(e,t){t.parentNode.insertBefore(e,t),e.appendChild(t)}function G(e){return(new C).parseFromString(e,"text/html").body.textContent||""}n.d(t,"focus",(function(){return W})),n.d(t,"isHorizontalEdge",(function(){return T})),n.d(t,"isVerticalEdge",(function(){return x})),n.d(t,"getRectangleFromRange",(function(){return P})),n.d(t,"computeCaretRect",(function(){return A})),n.d(t,"placeCaretAtHorizontalEdge",(function(){return I})),n.d(t,"placeCaretAtVerticalEdge",(function(){return _})),n.d(t,"isTextField",(function(){return M})),n.d(t,"documentHasSelection",(function(){return B})),n.d(t,"isEntirelySelected",(function(){return D})),n.d(t,"getScrollContainer",(function(){return F})),n.d(t,"getOffsetParent",(function(){return H})),n.d(t,"replace",(function(){return U})),n.d(t,"remove",(function(){return z})),n.d(t,"insertAfter",(function(){return X})),n.d(t,"unwrap",(function(){return L})),n.d(t,"replaceTag",(function(){return V})),n.d(t,"wrap",(function(){return q})),n.d(t,"__unstableStripHTML",(function(){return G}));var W={focusable:r,tabbable:o}}}); \ No newline at end of file diff --git a/wp-includes/js/dist/edit-post.js b/wp-includes/js/dist/edit-post.js index a8106667b6..30c0f089b0 100644 --- a/wp-includes/js/dist/edit-post.js +++ b/wp-includes/js/dist/edit-post.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["editPost"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 365); +/******/ return __webpack_require__(__webpack_require__.s = 413); /******/ }) /************************************************************************/ /******/ ({ @@ -160,13 +160,6 @@ 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"; @@ -191,7 +184,7 @@ function _extends() { /***/ }), -/***/ 13: +/***/ 12: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -214,7 +207,14 @@ function _createClass(Constructor, protoProps, staticProps) { /***/ }), -/***/ 14: +/***/ 124: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["mediaUtils"]; }()); + +/***/ }), + +/***/ 13: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -227,14 +227,7 @@ function _classCallCheck(instance, Constructor) { /***/ }), -/***/ 143: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["notices"]; }()); - -/***/ }), - -/***/ 15: +/***/ 14: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -253,7 +246,7 @@ function _possibleConstructorReturn(self, call) { /***/ }), -/***/ 16: +/***/ 15: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -267,7 +260,7 @@ function _getPrototypeOf(o) { /***/ }), -/***/ 17: +/***/ 16: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -301,7 +294,7 @@ function _inherits(subClass, superClass) { /***/ }), -/***/ 18: +/***/ 17: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -317,7 +310,7 @@ function _arrayWithoutHoles(arr) { } } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(31); +var iterableToArray = __webpack_require__(33); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js function _nonIterableSpread() { @@ -332,28 +325,53 @@ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || Object(iterableToArray["a" /* default */])(arr) || _nonIterableSpread(); } +/***/ }), + +/***/ 176: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["notices"]; }()); + +/***/ }), + +/***/ 18: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["primitives"]; }()); + +/***/ }), + +/***/ 187: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0); +/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18); +/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__); + + +/** + * WordPress dependencies + */ + +var check = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], { + xmlns: "http://www.w3.org/2000/svg", + viewBox: "-2 -2 24 24" +}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], { + d: "M15.3 5.3l-6.8 6.8-2.8-2.8-1.4 1.4 4.2 4.2 8.2-8.2" +})); +/* harmony default export */ __webpack_exports__["a"] = (check); + + /***/ }), /***/ 19: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["keycodes"]; }()); - -/***/ }), - -/***/ 2: -/***/ (function(module, exports) { - -(function() { module.exports = this["lodash"]; }()); - -/***/ }), - -/***/ 20: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; }); -/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(40); +/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(41); function _objectWithoutProperties(source, excluded) { if (source == null) return {}; @@ -376,13 +394,27 @@ function _objectWithoutProperties(source, excluded) { /***/ }), +/***/ 2: +/***/ (function(module, exports) { + +(function() { module.exports = this["lodash"]; }()); + +/***/ }), + +/***/ 20: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["keycodes"]; }()); + +/***/ }), + /***/ 22: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -var arrayWithHoles = __webpack_require__(35); +var arrayWithHoles = __webpack_require__(37); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js function _iterableToArrayLimit(arr, i) { @@ -415,7 +447,7 @@ function _iterableToArrayLimit(arr, i) { return _arr; } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js -var nonIterableRest = __webpack_require__(36); +var nonIterableRest = __webpack_require__(38); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); @@ -428,21 +460,21 @@ function _slicedToArray(arr, i) { /***/ }), -/***/ 231: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["blockLibrary"]; }()); - -/***/ }), - -/***/ 25: +/***/ 26: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["url"]; }()); /***/ }), -/***/ 26: +/***/ 270: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["blockLibrary"]; }()); + +/***/ }), + +/***/ 28: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["editor"]; }()); @@ -463,23 +495,14 @@ 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) { + "@babel/helpers - typeof"; + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; @@ -495,7 +518,18 @@ function _typeof(obj) { /***/ }), -/***/ 34: +/***/ 33: +/***/ (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); +} + +/***/ }), + +/***/ 36: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -777,7 +811,7 @@ function isShallowEqual( a, b, fromIndex ) { /***/ }), -/***/ 35: +/***/ 37: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -788,7 +822,7 @@ function _arrayWithHoles(arr) { /***/ }), -/***/ 36: +/***/ 38: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -799,7 +833,43 @@ function _nonIterableRest() { /***/ }), -/***/ 365: +/***/ 4: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["data"]; }()); + +/***/ }), + +/***/ 40: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["apiFetch"]; }()); + +/***/ }), + +/***/ 41: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; }); +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + return target; +} + +/***/ }), + +/***/ 413: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -853,31 +923,31 @@ __webpack_require__.d(selectors_namespaceObject, "isSavingMetaBoxes", function() var external_this_wp_element_ = __webpack_require__(0); // EXTERNAL MODULE: external {"this":["wp","coreData"]} -var external_this_wp_coreData_ = __webpack_require__(64); +var external_this_wp_coreData_ = __webpack_require__(73); // EXTERNAL MODULE: external {"this":["wp","blockEditor"]} -var external_this_wp_blockEditor_ = __webpack_require__(5); +var external_this_wp_blockEditor_ = __webpack_require__(6); // EXTERNAL MODULE: external {"this":["wp","editor"]} -var external_this_wp_editor_ = __webpack_require__(26); +var external_this_wp_editor_ = __webpack_require__(28); // EXTERNAL MODULE: external {"this":["wp","keyboardShortcuts"]} -var external_this_wp_keyboardShortcuts_ = __webpack_require__(43); +var external_this_wp_keyboardShortcuts_ = __webpack_require__(46); // EXTERNAL MODULE: external {"this":["wp","viewport"]} -var external_this_wp_viewport_ = __webpack_require__(51); +var external_this_wp_viewport_ = __webpack_require__(54); // EXTERNAL MODULE: external {"this":["wp","notices"]} -var external_this_wp_notices_ = __webpack_require__(143); +var external_this_wp_notices_ = __webpack_require__(176); // EXTERNAL MODULE: external {"this":["wp","blockLibrary"]} -var external_this_wp_blockLibrary_ = __webpack_require__(231); +var external_this_wp_blockLibrary_ = __webpack_require__(270); // EXTERNAL MODULE: external {"this":["wp","hooks"]} var external_this_wp_hooks_ = __webpack_require__(29); // EXTERNAL MODULE: external {"this":["wp","mediaUtils"]} -var external_this_wp_mediaUtils_ = __webpack_require__(99); +var external_this_wp_mediaUtils_ = __webpack_require__(124); // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/hooks/components/index.js /** @@ -893,16 +963,16 @@ var components_replaceMediaUpload = function replaceMediaUpload() { Object(external_this_wp_hooks_["addFilter"])('editor.MediaUpload', 'core/edit-post/replace-media-upload', components_replaceMediaUpload); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(12); +var esm_extends = __webpack_require__(11); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(20); +var objectWithoutProperties = __webpack_require__(19); // EXTERNAL MODULE: external {"this":"lodash"} var external_this_lodash_ = __webpack_require__(2); // EXTERNAL MODULE: external {"this":["wp","blocks"]} -var external_this_wp_blocks_ = __webpack_require__(11); +var external_this_wp_blocks_ = __webpack_require__(9); // EXTERNAL MODULE: external {"this":["wp","components"]} var external_this_wp_components_ = __webpack_require__(3); @@ -1012,7 +1082,7 @@ var withMultipleValidation = Object(external_this_wp_compose_["createHigherOrder onClick: function onClick() { return props.onReplace(Object(external_this_wp_blocks_["createBlock"])(outboundType.name, props.attributes)); } - }, Object(external_this_wp_i18n_["__"])('Transform into:'), ' ', outboundType.title)] + }, Object(external_this_wp_i18n_["__"])('Transform into:'), " ", outboundType.title)] }, Object(external_this_wp_element_["createElement"])("strong", null, blockType.title, ": "), Object(external_this_wp_i18n_["__"])('This block can only be used once.'))]; }); }, 'withMultipleValidation'); @@ -1051,10 +1121,10 @@ Object(external_this_wp_hooks_["addFilter"])('editor.BlockEdit', 'core/edit-post // EXTERNAL MODULE: external {"this":["wp","plugins"]} -var external_this_wp_plugins_ = __webpack_require__(50); +var external_this_wp_plugins_ = __webpack_require__(53); // EXTERNAL MODULE: external {"this":["wp","url"]} -var external_this_wp_url_ = __webpack_require__(25); +var external_this_wp_url_ = __webpack_require__(26); // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/plugins/copy-content-menu-item/index.js @@ -1135,7 +1205,7 @@ function ManageBlocksMenuItem(_ref) { })(ManageBlocksMenuItem)); // EXTERNAL MODULE: external {"this":["wp","keycodes"]} -var external_this_wp_keycodes_ = __webpack_require__(19); +var external_this_wp_keycodes_ = __webpack_require__(20); // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/plugins/keyboard-shortcuts-help-menu-item/index.js @@ -1258,13 +1328,10 @@ Object(external_this_wp_plugins_["registerPlugin"])('edit-post', { }); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(18); +var toConsumableArray = __webpack_require__(17); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(9); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js -var objectSpread = __webpack_require__(6); +var defineProperty = __webpack_require__(5); // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/defaults.js var PREFERENCES_DEFAULTS = { @@ -1290,6 +1357,9 @@ var PREFERENCES_DEFAULTS = { +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -1366,7 +1436,7 @@ var preferences = Object(external_this_lodash_["flow"])([external_this_wp_data_[ case 'TOGGLE_PANEL_ENABLED': { var panelName = action.panelName; - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, panelName, Object(objectSpread["a" /* default */])({}, state[panelName], { + return _objectSpread({}, state, Object(defineProperty["a" /* default */])({}, panelName, _objectSpread({}, state[panelName], { enabled: !Object(external_this_lodash_["get"])(state, [panelName, 'enabled'], true) }))); } @@ -1375,7 +1445,7 @@ var preferences = Object(external_this_lodash_["flow"])([external_this_wp_data_[ { var _panelName = action.panelName; var isOpen = state[_panelName] === true || Object(external_this_lodash_["get"])(state, [_panelName, 'opened'], false); - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, _panelName, Object(objectSpread["a" /* default */])({}, state[_panelName], { + return _objectSpread({}, state, Object(defineProperty["a" /* default */])({}, _panelName, _objectSpread({}, state[_panelName], { opened: !isOpen }))); } @@ -1385,7 +1455,7 @@ var preferences = Object(external_this_lodash_["flow"])([external_this_wp_data_[ }, features: function features(state, action) { if (action.type === 'TOGGLE_FEATURE') { - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, action.feature, !state[action.feature])); + return _objectSpread({}, state, Object(defineProperty["a" /* default */])({}, action.feature, !state[action.feature])); } return state; @@ -1399,7 +1469,7 @@ var preferences = Object(external_this_lodash_["flow"])([external_this_wp_data_[ }, pinnedPluginItems: function pinnedPluginItems(state, action) { if (action.type === 'TOGGLE_PINNED_PLUGIN_ITEM') { - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, action.pluginName, !Object(external_this_lodash_["get"])(state, [action.pluginName], true))); + return _objectSpread({}, state, Object(defineProperty["a" /* default */])({}, action.pluginName, !Object(external_this_lodash_["get"])(state, [action.pluginName], true))); } return state; @@ -1427,7 +1497,7 @@ var preferences = Object(external_this_lodash_["flow"])([external_this_wp_data_[ return Object(external_this_lodash_["omit"])(state, [action.blockName]); } - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, action.blockName, action.blockStyle)); + return _objectSpread({}, state, Object(defineProperty["a" /* default */])({}, action.blockName, action.blockStyle)); } } @@ -1586,17 +1656,17 @@ var reducer_metaBoxes = Object(external_this_wp_data_["combineReducers"])({ })); // EXTERNAL MODULE: ./node_modules/refx/refx.js -var refx = __webpack_require__(72); +var refx = __webpack_require__(88); var refx_default = /*#__PURE__*/__webpack_require__.n(refx); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules var slicedToArray = __webpack_require__(22); // EXTERNAL MODULE: external {"this":["wp","a11y"]} -var external_this_wp_a11y_ = __webpack_require__(45); +var external_this_wp_a11y_ = __webpack_require__(48); // EXTERNAL MODULE: external {"this":["wp","apiFetch"]} -var external_this_wp_apiFetch_ = __webpack_require__(38); +var external_this_wp_apiFetch_ = __webpack_require__(40); var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_); // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/actions.js @@ -1796,6 +1866,14 @@ function actions_updatePreferredStyleVariations(blockName, blockStyle) { blockStyle: blockStyle }; } +/** + * Returns an action object used in signalling that the editor should attempt + * to locally autosave the current post every `interval` seconds. + * + * @param {number} interval The new interval, in seconds. + * @return {Object} Action object. + */ + function __experimentalUpdateLocalAutosaveInterval(interval) { return { type: 'UPDATE_LOCAL_AUTOSAVE_INTERVAL', @@ -1856,7 +1934,7 @@ function metaBoxUpdatesSuccess() { } // EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js -var rememo = __webpack_require__(34); +var rememo = __webpack_require__(36); // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/selectors.js /** @@ -2426,22 +2504,22 @@ store_middlewares(store_store); /* harmony default export */ var build_module_store = (store_store); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js -var classCallCheck = __webpack_require__(14); +var classCallCheck = __webpack_require__(13); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(13); +var createClass = __webpack_require__(12); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js -var possibleConstructorReturn = __webpack_require__(15); +var possibleConstructorReturn = __webpack_require__(14); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js -var getPrototypeOf = __webpack_require__(16); +var getPrototypeOf = __webpack_require__(15); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules -var inherits = __webpack_require__(17); +var inherits = __webpack_require__(16); // EXTERNAL MODULE: ./node_modules/memize/index.js -var memize = __webpack_require__(42); +var memize = __webpack_require__(44); var memize_default = /*#__PURE__*/__webpack_require__.n(memize); // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/prevent-event-discovery.js @@ -2547,7 +2625,6 @@ function BlockInspectorButton(_ref) { var label = areAdvancedSettingsOpened ? Object(external_this_wp_i18n_["__"])('Hide Block Settings') : Object(external_this_wp_i18n_["__"])('Show Block Settings'); return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { - className: "block-editor-block-settings-menu__control", onClick: function onClick() { if (areAdvancedSettingsOpened) { closeGeneralSidebar(); @@ -2568,6 +2645,10 @@ function BlockInspectorButton(_ref) { +function plugin_block_settings_menu_group_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function plugin_block_settings_menu_group_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { plugin_block_settings_menu_group_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { plugin_block_settings_menu_group_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -2590,7 +2671,7 @@ var plugin_block_settings_menu_group_PluginBlockSettingsMenuGroupSlot = function return block.name; }); return Object(external_this_wp_element_["createElement"])(plugin_block_settings_menu_group_Slot, { - fillProps: Object(objectSpread["a" /* default */])({}, fillProps, { + fillProps: plugin_block_settings_menu_group_objectSpread({}, fillProps, { selectedBlocks: selectedBlocks }) }, function (fills) { @@ -2616,6 +2697,7 @@ PluginBlockSettingsMenuGroup.Slot = Object(external_this_wp_data_["withSelect"]) */ + /** * Internal dependencies */ @@ -2626,7 +2708,9 @@ PluginBlockSettingsMenuGroup.Slot = Object(external_this_wp_data_["withSelect"]) function VisualEditor() { return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockSelectionClearer"], { className: "edit-post-visual-editor editor-styles-wrapper" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["VisualEditorGlobalKeyboardShortcuts"], null), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MultiSelectScrollIntoView"], null), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["Typewriter"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["WritingFlow"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["ObserveTyping"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["CopyHandler"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostTitle"], null), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockList"], null))))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalBlockSettingsMenuFirstItem"], null, function (_ref) { + }, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["VisualEditorGlobalKeyboardShortcuts"], null), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MultiSelectScrollIntoView"], null), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"].Slot, { + name: "block-toolbar" + }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["Typewriter"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["CopyHandler"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["WritingFlow"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["ObserveTyping"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["CopyHandler"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["PostTitle"], null), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockList"], null)))))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalBlockSettingsMenuFirstItem"], null, function (_ref) { var onClose = _ref.onClose; return Object(external_this_wp_element_["createElement"])(block_inspector_button, { onClick: onClose @@ -2667,7 +2751,7 @@ function KeyboardShortcuts() { }), getBlockSelectionStart = _useSelect.getBlockSelectionStart, getEditorMode = _useSelect.getEditorMode, - isEditorSidebarOpen = _useSelect.isEditorSidebarOpen, + isEditorSidebarOpened = _useSelect.isEditorSidebarOpened, richEditingEnabled = _useSelect.richEditingEnabled, codeEditingEnabled = _useSelect.codeEditingEnabled; @@ -2754,7 +2838,7 @@ function KeyboardShortcuts() { // obscure shortcuts from triggering. event.preventDefault(); - if (isEditorSidebarOpen) { + if (isEditorSidebarOpened()) { closeGeneralSidebar(); } else { var sidebarToOpen = getBlockSelectionStart() ? 'edit-post/block' : 'edit-post/document'; @@ -3221,7 +3305,7 @@ function BlockManager(_ref) { // wasted renders by consequence of `Array#filter` producing a new // value reference on each call. blockTypes = blockTypes.filter(function (blockType) { - return hasBlockSupport(blockType, 'inserter', true) && (!search || isMatchingSearchTerm(blockType, search)) && !blockType.parent; + return hasBlockSupport(blockType, 'inserter', true) && (!search || isMatchingSearchTerm(blockType, search)) && (!blockType.parent || Object(external_this_lodash_["includes"])(blockType.parent, 'core/post-content')); }); return Object(external_this_wp_element_["createElement"])("div", { className: "edit-post-manage-blocks-modal__content" @@ -3754,22 +3838,26 @@ function EditorRegions(_ref) { , "aria-label": Object(external_this_wp_i18n_["__"])('Editor content'), tabIndex: "-1" - }, content), !!publish && Object(external_this_wp_element_["createElement"])("div", { + }, content), !!sidebar && Object(external_this_wp_element_["createElement"])("div", { + className: "edit-post-editor-regions__sidebar", + role: "region" + /* translators: accessibility text for the settings landmark region. */ + , + "aria-label": Object(external_this_wp_i18n_["__"])('Editor settings'), + tabIndex: "-1" + }, sidebar), !!publish && Object(external_this_wp_element_["createElement"])("div", { className: "edit-post-editor-regions__publish", role: "region" /* translators: accessibility text for the publish landmark region. */ , "aria-label": Object(external_this_wp_i18n_["__"])('Editor publish'), tabIndex: "-1" - }, publish), !!sidebar && Object(external_this_wp_element_["createElement"])("div", { - className: "edit-post-editor-regions__sidebar", - role: "region", - "aria-label": 'Editor settings', - tabIndex: "-1" - }, sidebar)), !!footer && Object(external_this_wp_element_["createElement"])("div", { + }, publish)), !!footer && Object(external_this_wp_element_["createElement"])("div", { className: "edit-post-editor-regions__footer", - role: "region", - "aria-label": 'Editor footer', + role: "region" + /* translators: accessibility text for the footer landmark region. */ + , + "aria-label": Object(external_this_wp_i18n_["__"])('Editor footer'), tabIndex: "-1" }, footer)); } @@ -4098,6 +4186,10 @@ function HeaderToolbar() { +function mode_switcher_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function mode_switcher_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { mode_switcher_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { mode_switcher_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * WordPress dependencies */ @@ -4137,7 +4229,7 @@ function ModeSwitcher() { var choices = MODES.map(function (choice) { if (choice.value !== mode) { - return Object(objectSpread["a" /* default */])({}, choice, { + return mode_switcher_objectSpread({}, choice, { shortcut: shortcut }); } @@ -4217,6 +4309,9 @@ function OptionsMenuItem(_ref) { }; })(OptionsMenuItem)); +// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/check.js +var check = __webpack_require__(187); + // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/feature-toggle/index.js @@ -4233,6 +4328,7 @@ function OptionsMenuItem(_ref) { + function FeatureToggle(_ref) { var onToggle = _ref.onToggle, isActive = _ref.isActive, @@ -4251,7 +4347,7 @@ function FeatureToggle(_ref) { }; return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { - icon: isActive && 'yes', + icon: isActive && check["a" /* default */], isSelected: isActive, onClick: Object(external_this_lodash_["flow"])(onToggle, speakMessage), role: "menuitemcheckbox", @@ -4531,8 +4627,6 @@ function Header() { return Object(external_this_wp_element_["createElement"])("div", { className: "edit-post-header" }, Object(external_this_wp_element_["createElement"])("div", { - className: "edit-post-header__toolbar" - }, Object(external_this_wp_element_["createElement"])(fullscreen_mode_close, null), Object(external_this_wp_element_["createElement"])(header_toolbar, null)), Object(external_this_wp_element_["createElement"])("div", { className: "edit-post-header__settings" }, !isPublishSidebarOpened && // This button isn't completely hidden by the publish sidebar. // We can't hide the whole toolbar when the publish sidebar is open because @@ -4555,7 +4649,9 @@ function Header() { isPressed: isEditorSidebarOpened, "aria-expanded": isEditorSidebarOpened, shortcut: shortcut - }), Object(external_this_wp_element_["createElement"])(pinned_plugins.Slot, null), Object(external_this_wp_element_["createElement"])(more_menu, null))); + }), Object(external_this_wp_element_["createElement"])(pinned_plugins.Slot, null), Object(external_this_wp_element_["createElement"])(more_menu, null)), Object(external_this_wp_element_["createElement"])("div", { + className: "edit-post-header__toolbar" + }, Object(external_this_wp_element_["createElement"])(fullscreen_mode_close, null), Object(external_this_wp_element_["createElement"])(header_toolbar, null))); } /* harmony default export */ var components_header = (Header); @@ -6209,7 +6305,7 @@ function WelcomeGuide() { className: "edit-post-welcome-guide__text" }, Object(external_this_wp_i18n_["__"])('New to the Block Editor? Want to learn more about using it? '), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ExternalLink"], { href: Object(external_this_wp_i18n_["__"])('https://wordpress.org/support/article/wordpress-editor/') - }, Object(external_this_wp_i18n_["__"])('Here\'s a detailed guide.'))))); + }, Object(external_this_wp_i18n_["__"])("Here's a detailed guide."))))); } // CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/layout/index.js @@ -6295,9 +6391,7 @@ function Layout() { className: className, header: Object(external_this_wp_element_["createElement"])(components_header, null), sidebar: !publishSidebarOpened && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(settings_sidebar, null), Object(external_this_wp_element_["createElement"])(components_sidebar.Slot, null)), - content: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["EditorNotices"], null), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"].Slot, { - name: "block-toolbar" - }), (mode === 'text' || !isRichEditingEnabled) && Object(external_this_wp_element_["createElement"])(text_editor, null), isRichEditingEnabled && mode === 'visual' && Object(external_this_wp_element_["createElement"])(visual_editor, null), Object(external_this_wp_element_["createElement"])("div", { + content: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_editor_["EditorNotices"], null), (mode === 'text' || !isRichEditingEnabled) && Object(external_this_wp_element_["createElement"])(text_editor, null), isRichEditingEnabled && mode === 'visual' && Object(external_this_wp_element_["createElement"])(visual_editor, null), Object(external_this_wp_element_["createElement"])("div", { className: "edit-post-layout__metaboxes" }, Object(external_this_wp_element_["createElement"])(meta_boxes, { location: "normal" @@ -6476,6 +6570,10 @@ var listener_hooks_useUpdatePostLinkListener = function useUpdatePostLinkListene +function editor_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function editor_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { editor_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { editor_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -6519,7 +6617,7 @@ function (_Component) { Object(createClass["a" /* default */])(Editor, [{ key: "getEditorSettings", value: function getEditorSettings(settings, hasFixedToolbar, showInserterHelpPanel, focusMode, hiddenBlockTypes, blockTypes, preferredStyleVariations, __experimentalLocalAutosaveInterval, updatePreferredStyleVariations) { - settings = Object(objectSpread["a" /* default */])({}, settings, { + settings = editor_objectSpread({}, settings, { __experimentalPreferredStyleVariations: { value: preferredStyleVariations, onChange: updatePreferredStyleVariations @@ -6726,7 +6824,6 @@ var plugin_block_settings_menu_item_PluginBlockSettingsMenuItem = function Plugi } return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { - className: "editor-block-settings-menu__control block-editor-block-settings-menu__control", onClick: Object(external_this_wp_compose_["compose"])(onClick, onClose), icon: icon || 'admin-plugins', label: small ? label : undefined, @@ -6997,6 +7094,7 @@ function PluginSidebar(props) { + /** * Internal dependencies */ @@ -7009,7 +7107,7 @@ var plugin_sidebar_more_menu_item_PluginSidebarMoreMenuItem = function PluginSid isSelected = _ref.isSelected, onClick = _ref.onClick; return Object(external_this_wp_element_["createElement"])(plugin_more_menu_item, { - icon: isSelected ? 'yes' : icon, + icon: isSelected ? check["a" /* default */] : icon, isSelected: isSelected, role: "menuitemcheckbox", onClick: onClick @@ -7225,43 +7323,7 @@ function initializeEditor(id, postType, postId, settings, initialEdits) { /***/ }), -/***/ 38: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["apiFetch"]; }()); - -/***/ }), - -/***/ 4: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["data"]; }()); - -/***/ }), - -/***/ 40: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; }); -function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } - - return target; -} - -/***/ }), - -/***/ 42: +/***/ 44: /***/ (function(module, exports, __webpack_require__) { module.exports = function memize( fn, options ) { @@ -7379,14 +7441,14 @@ module.exports = function memize( fn, options ) { /***/ }), -/***/ 43: +/***/ 46: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["keyboardShortcuts"]; }()); /***/ }), -/***/ 45: +/***/ 48: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["a11y"]; }()); @@ -7394,20 +7456,35 @@ module.exports = function memize( fn, options ) { /***/ }), /***/ 5: -/***/ (function(module, exports) { +/***/ (function(module, __webpack_exports__, __webpack_require__) { -(function() { module.exports = this["wp"]["blockEditor"]; }()); +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} /***/ }), -/***/ 50: +/***/ 53: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["plugins"]; }()); /***/ }), -/***/ 51: +/***/ 54: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["viewport"]; }()); @@ -7415,37 +7492,9 @@ module.exports = function memize( fn, options ) { /***/ }), /***/ 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; -} - -/***/ }), - -/***/ 64: /***/ (function(module, exports) { -(function() { module.exports = this["wp"]["coreData"]; }()); +(function() { module.exports = this["wp"]["blockEditor"]; }()); /***/ }), @@ -7464,7 +7513,21 @@ function _assertThisInitialized(self) { /***/ }), -/***/ 72: +/***/ 73: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["coreData"]; }()); + +/***/ }), + +/***/ 8: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["compose"]; }()); + +/***/ }), + +/***/ 88: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -7518,41 +7581,12 @@ function refx( effects ) { module.exports = refx; -/***/ }), - -/***/ 8: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["compose"]; }()); - /***/ }), /***/ 9: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} - -/***/ }), - -/***/ 99: /***/ (function(module, exports) { -(function() { module.exports = this["wp"]["mediaUtils"]; }()); +(function() { module.exports = this["wp"]["blocks"]; }()); /***/ }) diff --git a/wp-includes/js/dist/edit-post.min.js b/wp-includes/js/dist/edit-post.min.js index eead5e6624..aa3d090e37 100644 --- a/wp-includes/js/dist/edit-post.min.js +++ b/wp-includes/js/dist/edit-post.min.js @@ -1,7 +1,7 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.editPost=function(e){var t={};function A(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,A),o.l=!0,o.exports}return A.m=e,A.c=t,A.d=function(e,t,n){A.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},A.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},A.t=function(e,t){if(1&t&&(e=A(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(A.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)A.d(n,o,function(t){return e[t]}.bind(null,o));return n},A.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return A.d(t,"a",t),t},A.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},A.p="",A(A.s=365)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t,A){var n; +this.wp=this.wp||{},this.wp.editPost=function(e){var t={};function A(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,A),o.l=!0,o.exports}return A.m=e,A.c=t,A.d=function(e,t,n){A.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},A.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},A.t=function(e,t){if(1&t&&(e=A(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(A.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)A.d(n,o,function(t){return e[t]}.bind(null,o));return n},A.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return A.d(t,"a",t),t},A.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},A.p="",A(A.s=413)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t,A){var n; /*! Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/!function(){"use strict";var A={}.hasOwnProperty;function o(){for(var e=[],t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,A)&&(r[A]=e[A])}return r}},22:function(e,t,A){"use strict";var n=A(35);var o=A(36);function r(e,t){return Object(n.a)(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var A=[],n=!0,o=!1,r=void 0;try{for(var i,c=e[Symbol.iterator]();!(n=(i=c.next()).done)&&(A.push(i.value),!t||A.length!==t);n=!0);}catch(e){o=!0,r=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw r}}return A}}(e,t)||Object(o.a)()}A.d(t,"a",(function(){return r}))},231:function(e,t){!function(){e.exports=this.wp.blockLibrary}()},25:function(e,t){!function(){e.exports=this.wp.url}()},26:function(e,t){!function(){e.exports=this.wp.editor}()},29:function(e,t){!function(){e.exports=this.wp.hooks}()},3:function(e,t){!function(){e.exports=this.wp.components}()},31:function(e,t,A){"use strict";function n(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}A.d(t,"a",(function(){return n}))},32:function(e,t,A){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}A.d(t,"a",(function(){return n}))},34:function(e,t,A){"use strict";var n,o;function r(e){return[e]}function i(){var e={clear:function(){e.head=null}};return e}function c(e,t,A){var n;if(e.length!==t.length)return!1;for(n=A;n0&&Object(r.createElement)(b.ClipboardButton,{text:A,role:"menuitem",className:"components-menu-item__button",onCopy:function(){o({hasCopied:!0}),t("info",Object(C.__)("All content copied."),{isDismissible:!0,type:"snackbar"})},onFinishCopy:function(){return o({hasCopied:!1})}},n?Object(C.__)("Copied!"):Object(C.__)("Copy all content"))}));var v=Object(p.withDispatch)((function(e){return{openModal:e("core/edit-post").openModal}}))((function(e){var t=e.openModal;return Object(r.createElement)(b.MenuItem,{onClick:function(){t("edit-post/manage-blocks")}},Object(C.__)("Block Manager"))})),k=A(19);var y=Object(p.withDispatch)((function(e){return{openModal:e("core/edit-post").openModal}}))((function(e){var t=e.openModal;return Object(r.createElement)(b.MenuItem,{onClick:function(){t("edit-post/keyboard-shortcut-help")},shortcut:k.displayShortcut.access("h")},Object(C.__)("Keyboard shortcuts"))})),P=Object(b.createSlotFill)("ToolsMoreMenuGroup"),S=P.Fill,w=P.Slot;S.Slot=function(e){var t=e.fillProps;return Object(r.createElement)(w,{fillProps:t},(function(e){return!Object(B.isEmpty)(e)&&Object(r.createElement)(b.MenuGroup,{label:Object(C.__)("Tools")},e)}))};var T=S;function D(){var e=Object(p.useDispatch)("core/edit-post").toggleFeature;return Object(r.createElement)(b.MenuItem,{onClick:function(){return e("welcomeGuide")}},Object(C.__)("Welcome Guide"))}Object(O.registerPlugin)("edit-post",{render:function(){return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(T,null,(function(e){var t=e.onClose;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(v,{onSelect:t}),Object(r.createElement)(b.MenuItem,{role:"menuitem",href:Object(h.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(C.__)("Manage all reusable blocks")),Object(r.createElement)(y,{onSelect:t}),Object(r.createElement)(D,null),Object(r.createElement)(j,null),Object(r.createElement)(b.MenuItem,{role:"menuitem",href:Object(C.__)("https://wordpress.org/support/article/wordpress-editor/"),target:"_new"},Object(C.__)("Help")))})))}});var x,V=A(18),R=A(9),M=A(6),H="edit-post/document",q=Object(B.flow)([p.combineReducers,(x={editorMode:"visual",isGeneralSidebarDismissed:!1,panels:{"post-status":{opened:!0}},features:{fixedToolbar:!1,showInserterHelpPanel:!0,welcomeGuide:!0},pinnedPluginItems:{},hiddenBlockTypes:[],preferredStyleVariations:{},localAutosaveInterval:15},function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x,A=arguments.length>1?arguments[1]:void 0;return e(t,A)}})])({isGeneralSidebarDismissed:function(e,t){switch(t.type){case"OPEN_GENERAL_SIDEBAR":case"CLOSE_GENERAL_SIDEBAR":return"CLOSE_GENERAL_SIDEBAR"===t.type}return e},panels:function(e,t){switch(t.type){case"TOGGLE_PANEL_ENABLED":var A=t.panelName;return Object(M.a)({},e,Object(R.a)({},A,Object(M.a)({},e[A],{enabled:!Object(B.get)(e,[A,"enabled"],!0)})));case"TOGGLE_PANEL_OPENED":var n=t.panelName,o=!0===e[n]||Object(B.get)(e,[n,"opened"],!1);return Object(M.a)({},e,Object(R.a)({},n,Object(M.a)({},e[n],{opened:!o})))}return e},features:function(e,t){return"TOGGLE_FEATURE"===t.type?Object(M.a)({},e,Object(R.a)({},t.feature,!e[t.feature])):e},editorMode:function(e,t){return"SWITCH_MODE"===t.type?t.mode:e},pinnedPluginItems:function(e,t){return"TOGGLE_PINNED_PLUGIN_ITEM"===t.type?Object(M.a)({},e,Object(R.a)({},t.pluginName,!Object(B.get)(e,[t.pluginName],!0))):e},hiddenBlockTypes:function(e,t){switch(t.type){case"SHOW_BLOCK_TYPES":return B.without.apply(void 0,[e].concat(Object(V.a)(t.blockNames)));case"HIDE_BLOCK_TYPES":return Object(B.union)(e,t.blockNames)}return e},preferredStyleVariations:function(e,t){switch(t.type){case"UPDATE_PREFERRED_STYLE_VARIATIONS":return t.blockName?t.blockStyle?Object(M.a)({},e,Object(R.a)({},t.blockName,t.blockStyle)):Object(B.omit)(e,[t.blockName]):e}return e},localAutosaveInterval:function(e,t){switch(t.type){case"UPDATE_LOCAL_AUTOSAVE_INTERVAL":return t.interval}return e}});var N=Object(p.combineReducers)({isSaving:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"REQUEST_META_BOX_UPDATES":return!0;case"META_BOX_UPDATES_SUCCESS":return!1;default:return e}},locations:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_META_BOXES_PER_LOCATIONS":return t.metaBoxesPerLocation}return e}}),L=Object(p.combineReducers)({activeGeneralSidebar:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:H,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"OPEN_GENERAL_SIDEBAR":return t.name}return e},activeModal: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"OPEN_MODAL":return t.name;case"CLOSE_MODAL":return null}return e},metaBoxes:N,preferences:q,publishSidebarActive:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"OPEN_PUBLISH_SIDEBAR":return!0;case"CLOSE_PUBLISH_SIDEBAR":return!1;case"TOGGLE_PUBLISH_SIDEBAR":return!e}return e},removedPanels:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REMOVE_PANEL":if(!Object(B.includes)(e,t.panelName))return[].concat(Object(V.a)(e),[t.panelName])}return e}}),F=A(72),U=A.n(F),J=A(22),X=A(45),Z=A(38),Y=A.n(Z);function G(e){return{type:"OPEN_GENERAL_SIDEBAR",name:e}}function W(){return{type:"CLOSE_GENERAL_SIDEBAR"}}function z(e){return{type:"OPEN_MODAL",name:e}}function K(){return{type:"CLOSE_MODAL"}}function _(){return{type:"OPEN_PUBLISH_SIDEBAR"}}function $(){return{type:"CLOSE_PUBLISH_SIDEBAR"}}function ee(){return{type:"TOGGLE_PUBLISH_SIDEBAR"}}function te(e){return{type:"TOGGLE_PANEL_ENABLED",panelName:e}}function Ae(e){return{type:"TOGGLE_PANEL_OPENED",panelName:e}}function ne(e){return{type:"REMOVE_PANEL",panelName:e}}function oe(e){return{type:"TOGGLE_FEATURE",feature:e}}function re(e){return{type:"SWITCH_MODE",mode:e}}function ie(e){return{type:"TOGGLE_PINNED_PLUGIN_ITEM",pluginName:e}}function ce(e){return{type:"HIDE_BLOCK_TYPES",blockNames:Object(B.castArray)(e)}}function ae(e,t){return{type:"UPDATE_PREFERRED_STYLE_VARIATIONS",blockName:e,blockStyle:t}}function le(e){return{type:"UPDATE_LOCAL_AUTOSAVE_INTERVAL",interval:e}}function Ee(e){return{type:"SHOW_BLOCK_TYPES",blockNames:Object(B.castArray)(e)}}function se(e){return{type:"SET_META_BOXES_PER_LOCATIONS",metaBoxesPerLocation:e}}function ue(){return{type:"REQUEST_META_BOX_UPDATES"}}function Qe(){return{type:"META_BOX_UPDATES_SUCCESS"}}var de=A(34);function Be(e){return Ie(e,"editorMode","visual")}function ge(e){var t=pe(e);return Object(B.includes)(["edit-post/document","edit-post/block"],t)}function be(e){return!!pe(e)&&!ge(e)}function pe(e){return Ie(e,"isGeneralSidebarDismissed",!1)?null:e.activeGeneralSidebar}function Ce(e){return e.preferences}function Ie(e,t,A){var n=Ce(e)[t];return void 0===n?A:n}function me(e){return e.publishSidebarActive}function fe(e,t){return Object(B.includes)(e.removedPanels,t)}function Oe(e,t){var A=Ie(e,"panels");return!fe(e,t)&&Object(B.get)(A,[t,"enabled"],!0)}function he(e,t){var A=Ie(e,"panels");return!0===Object(B.get)(A,[t])||!0===Object(B.get)(A,[t,"opened"])}function je(e,t){return e.activeModal===t}function ve(e,t){return Object(B.get)(e.preferences.features,[t],!1)}function ke(e,t){var A=Ie(e,"pinnedPluginItems",{});return Object(B.get)(A,[t],!0)}var ye=Object(de.a)((function(e){return Object.keys(e.metaBoxes.locations).filter((function(t){return Se(e,t)}))}),(function(e){return[e.metaBoxes.locations]}));function Pe(e,t){return Se(e,t)&&Object(B.some)(we(e,t),(function(t){var A=t.id;return Oe(e,"meta-box-".concat(A))}))}function Se(e,t){var A=we(e,t);return!!A&&0!==A.length}function we(e,t){return e.metaBoxes.locations[t]}var Te=Object(de.a)((function(e){return Object(B.flatten)(Object(B.values)(e.metaBoxes.locations))}),(function(e){return[e.metaBoxes.locations]}));function De(e){return ye(e).length>0}function xe(e){return e.metaBoxes.isSaving}var Ve,Re={SET_META_BOXES_PER_LOCATIONS:function(e,t){setTimeout((function(){var e=Object(p.select)("core/editor").getCurrentPostType();window.postboxes.page!==e&&window.postboxes.add_postbox_toggles(e)}));var A=Object(p.select)("core/editor").isSavingPost(),n=Object(p.select)("core/editor").isAutosavingPost(),o=Object(p.select)("core/edit-post").hasMetaBoxes();Ve&&Ve(),Ve=Object(p.subscribe)((function(){var e=Object(p.select)("core/editor").isSavingPost(),r=Object(p.select)("core/editor").isAutosavingPost(),i=o&&A&&!e&&!n;A=e,n=r,i&&t.dispatch({type:"REQUEST_META_BOX_UPDATES"})}))},REQUEST_META_BOX_UPDATES:function(e,t){window.tinyMCE&&window.tinyMCE.triggerSave();var A=t.getState(),n=Object(p.select)("core/editor").getCurrentPost(A),o=[!!n.comment_status&&["comment_status",n.comment_status],!!n.ping_status&&["ping_status",n.ping_status],!!n.sticky&&["sticky",n.sticky],!!n.author&&["post_author",n.author]].filter(Boolean),r=[new window.FormData(document.querySelector(".metabox-base-form"))].concat(Object(V.a)(ye(A).map((function(e){return new window.FormData(function(e){var t=document.querySelector(".edit-post-meta-boxes-area.is-".concat(e," .metabox-location-").concat(e));return t||document.querySelector("#metaboxes .metabox-location-"+e)}(e))})))),i=Object(B.reduce)(r,(function(e,t){var A=!0,n=!1,o=void 0;try{for(var r,i=t[Symbol.iterator]();!(A=(r=i.next()).done);A=!0){var c=Object(J.a)(r.value,2),a=c[0],l=c[1];e.append(a,l)}}catch(e){n=!0,o=e}finally{try{A||null==i.return||i.return()}finally{if(n)throw o}}return e}),new window.FormData);o.forEach((function(e){var t=Object(J.a)(e,2),A=t[0],n=t[1];return i.append(A,n)})),Y()({url:window._wpMetaBoxUrl,method:"POST",body:i,parse:!1}).then((function(){return t.dispatch({type:"META_BOX_UPDATES_SUCCESS"})}))},SWITCH_MODE:function(e){"visual"!==e.mode&&Object(p.dispatch)("core/block-editor").clearSelectedBlock();var t="visual"===e.mode?Object(C.__)("Visual editor selected"):Object(C.__)("Code editor selected");Object(X.speak)(t,"assertive")}};var Me=function(e){var t,A=[U()(Re)],n=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 n.apply(void 0,arguments)}};return t=A.map((function(e){return e(o)})),n=B.flowRight.apply(void 0,Object(V.a)(t))(e.dispatch),e.dispatch=n,e};var He={SELECT:Object(p.createRegistryControl)((function(e){return function(t){var A,n=t.storeName,o=t.selectorName,r=t.args;return(A=e.select(n))[o].apply(A,Object(V.a)(r))}}))},qe="core/edit-post",Ne=Object(p.registerStore)(qe,{reducer:L,actions:n,selectors:o,controls:He,persist:["preferences"]});Me(Ne);var Le=A(14),Fe=A(13),Ue=A(15),Je=A(16),Xe=A(17),Ze=A(42),Ye=A.n(Ze),Ge={"t a l e s o f g u t e n b e r g":function(e){(document.activeElement.classList.contains("edit-post-visual-editor")||document.activeElement===document.body)&&(e.preventDefault(),window.wp.data.dispatch("core/block-editor").insertBlock(window.wp.blocks.createBlock("core/paragraph",{content:"🐡🐢🦀🐤🦋🐘🐧🐹🦁🦄🦍🐼🐿🎃🐴🐝🐆🦕🦔🌱🍇π🍌🐉💧🥨🌌🍂🍠🥦🥚🥝🎟🥥🥒🛵🥖🍒🍯🎾🎲🐺🐚🐮⌛️"})))}},We=A(10),ze=A.n(We);var Ke=Object(I.compose)(Object(p.withSelect)((function(e){return{isRichEditingEnabled:e("core/editor").getEditorSettings().richEditingEnabled}})),Object(p.withDispatch)((function(e){return{onExit:function(){e("core/edit-post").switchEditorMode("visual")}}})))((function(e){var t=e.onExit,A=e.isRichEditingEnabled;return Object(r.createElement)("div",{className:"edit-post-text-editor"},A&&Object(r.createElement)("div",{className:"edit-post-text-editor__toolbar"},Object(r.createElement)("h2",null,Object(C.__)("Editing Code")),Object(r.createElement)(b.Button,{onClick:t,icon:"no-alt",shortcut:k.displayShortcut.secondary("m")},Object(C.__)("Exit Code Editor")),Object(r.createElement)(c.TextEditorGlobalKeyboardShortcuts,null)),Object(r.createElement)("div",{className:"edit-post-text-editor__body"},Object(r.createElement)(c.PostTitle,null),Object(r.createElement)(c.PostTextEditor,null)))}));var _e=Object(b.withSpokenMessages)((function(e){var t=e.onClick,A=void 0===t?B.noop:t,n=e.small,o=void 0!==n&&n,i=e.speak,c=Object(p.useSelect)((function(e){return{shortcut:e("core/keyboard-shortcuts").getShortcutRepresentation("core/edit-post/toggle-sidebar"),areAdvancedSettingsOpened:"edit-post/block"===e("core/edit-post").getActiveGeneralSidebarName()}}),[]),a=c.shortcut,l=c.areAdvancedSettingsOpened,E=Object(p.useDispatch)("core/edit-post"),s=E.openGeneralSidebar,u=E.closeGeneralSidebar,Q=l?Object(C.__)("Hide Block Settings"):Object(C.__)("Show Block Settings");return Object(r.createElement)(b.MenuItem,{className:"block-editor-block-settings-menu__control",onClick:function(){l?u():(s("edit-post/block"),i(l?Object(C.__)("Block settings closed"):Object(C.__)("Additional settings are now available in the Editor block settings sidebar")),A())},icon:"admin-generic",shortcut:a},!o&&Q)})),$e=Object(b.createSlotFill)("PluginBlockSettingsMenuGroup"),et=$e.Fill,tt=$e.Slot;et.Slot=Object(p.withSelect)((function(e,t){var A=t.fillProps.clientIds;return{selectedBlocks:e("core/block-editor").getBlocksByClientId(A)}}))((function(e){var t=e.fillProps,A=e.selectedBlocks;return A=Object(B.map)(A,(function(e){return e.name})),Object(r.createElement)(tt,{fillProps:Object(M.a)({},t,{selectedBlocks:A})},(function(e){return!Object(B.isEmpty)(e)&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",{className:"block-editor-block-settings-menu__separator"}),e)}))}));var At=et;var nt=function(){return Object(r.createElement)(i.BlockSelectionClearer,{className:"edit-post-visual-editor editor-styles-wrapper"},Object(r.createElement)(c.VisualEditorGlobalKeyboardShortcuts,null),Object(r.createElement)(i.MultiSelectScrollIntoView,null),Object(r.createElement)(i.Typewriter,null,Object(r.createElement)(i.WritingFlow,null,Object(r.createElement)(i.ObserveTyping,null,Object(r.createElement)(i.CopyHandler,null,Object(r.createElement)(c.PostTitle,null),Object(r.createElement)(i.BlockList,null))))),Object(r.createElement)(i.__experimentalBlockSettingsMenuFirstItem,null,(function(e){var t=e.onClose;return Object(r.createElement)(_e,{onClick:t})})),Object(r.createElement)(i.__experimentalBlockSettingsMenuPluginsExtension,null,(function(e){var t=e.clientIds,A=e.onClose;return Object(r.createElement)(At.Slot,{fillProps:{clientIds:t,onClose:A}})})))};var ot=function(){var e=Object(p.useSelect)((function(e){var t=e("core/editor").getEditorSettings();return{getBlockSelectionStart:e("core/block-editor").getBlockSelectionStart,getEditorMode:e("core/edit-post").getEditorMode,isEditorSidebarOpened:e("core/edit-post").isEditorSidebarOpened,richEditingEnabled:t.richEditingEnabled,codeEditingEnabled:t.codeEditingEnabled}})),t=e.getBlockSelectionStart,A=e.getEditorMode,n=e.isEditorSidebarOpen,o=e.richEditingEnabled,i=e.codeEditingEnabled,c=Object(p.useDispatch)("core/edit-post"),l=c.switchEditorMode,E=c.openGeneralSidebar,s=c.closeGeneralSidebar,u=Object(p.useDispatch)("core/keyboard-shortcuts").registerShortcut;return Object(r.useEffect)((function(){u({name:"core/edit-post/toggle-mode",category:"global",description:Object(C.__)("Switch between Visual editor and Code editor."),keyCombination:{modifier:"secondary",character:"m"}}),u({name:"core/edit-post/toggle-block-navigation",category:"global",description:Object(C.__)("Open the block navigation menu."),keyCombination:{modifier:"access",character:"o"}}),u({name:"core/edit-post/toggle-sidebar",category:"global",description:Object(C.__)("Show or hide the settings sidebar."),keyCombination:{modifier:"primaryShift",character:","}}),u({name:"core/edit-post/next-region",category:"global",description:Object(C.__)("Navigate to the next part of the editor."),keyCombination:{modifier:"ctrl",character:"`"},aliases:[{modifier:"access",character:"n"}]}),u({name:"core/edit-post/previous-region",category:"global",description:Object(C.__)("Navigate to the previous part of the editor."),keyCombination:{modifier:"ctrlShift",character:"`"},aliases:[{modifier:"access",character:"p"}]}),u({name:"core/edit-post/keyboard-shortcuts",category:"main",description:Object(C.__)("Display these keyboard shortcuts."),keyCombination:{modifier:"access",character:"h"}})}),[]),Object(a.useShortcut)("core/edit-post/toggle-mode",(function(){l("visual"===A()?"text":"visual")}),{bindGlobal:!0,isDisabled:!o||!i}),Object(a.useShortcut)("core/edit-post/toggle-sidebar",(function(e){if(e.preventDefault(),n)s();else{var A=t()?"edit-post/block":"edit-post/document";E(A)}}),{bindGlobal:!0}),null},rt=[{keyCombination:{modifier:"primary",character:"b"},description:Object(C.__)("Make the selected text bold.")},{keyCombination:{modifier:"primary",character:"i"},description:Object(C.__)("Make the selected text italic.")},{keyCombination:{modifier:"primary",character:"k"},description:Object(C.__)("Convert the selected text into a link.")},{keyCombination:{modifier:"primaryShift",character:"k"},description:Object(C.__)("Remove a link.")},{keyCombination:{modifier:"primary",character:"u"},description:Object(C.__)("Underline the selected text.")}];function it(e){var t=e.keyCombination,A=e.forceAriaLabel,n=t.modifier?k.displayShortcutList[t.modifier](t.character):t.character,o=t.modifier?k.shortcutAriaLabel[t.modifier](t.character):t.character;return Object(r.createElement)("kbd",{className:"edit-post-keyboard-shortcut-help-modal__shortcut-key-combination","aria-label":A||o},Object(B.castArray)(n).map((function(e,t){return"+"===e?Object(r.createElement)(r.Fragment,{key:t},e):Object(r.createElement)("kbd",{key:t,className:"edit-post-keyboard-shortcut-help-modal__shortcut-key"},e)})))}var ct=function(e){var t=e.description,A=e.keyCombination,n=e.aliases,o=void 0===n?[]:n,i=e.ariaLabel;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",{className:"edit-post-keyboard-shortcut-help-modal__shortcut-description"},t),Object(r.createElement)("div",{className:"edit-post-keyboard-shortcut-help-modal__shortcut-term"},Object(r.createElement)(it,{keyCombination:A,forceAriaLabel:i}),o.map((function(e,t){return Object(r.createElement)(it,{keyCombination:e,forceAriaLabel:i,key:t})}))))};var at=function(e){var t=e.name,A=Object(p.useSelect)((function(e){var A=e("core/keyboard-shortcuts"),n=A.getShortcutKeyCombination,o=A.getShortcutDescription,r=A.getShortcutAliases;return{keyCombination:n(t),aliases:r(t),description:o(t)}})),n=A.keyCombination,o=A.description,i=A.aliases;return n?Object(r.createElement)(ct,{keyCombination:n,description:o,aliases:i}):null},lt="edit-post/keyboard-shortcut-help",Et=function(e){var t=e.shortcuts;return(Object(r.createElement)("ul",{className:"edit-post-keyboard-shortcut-help-modal__shortcut-list",role:"list"},t.map((function(e,t){return Object(r.createElement)("li",{className:"edit-post-keyboard-shortcut-help-modal__shortcut",key:t},Object(B.isString)(e)?Object(r.createElement)(at,{name:e}):Object(r.createElement)(ct,e))}))))},st=function(e){var t=e.title,A=e.shortcuts,n=e.className;return Object(r.createElement)("section",{className:ze()("edit-post-keyboard-shortcut-help-modal__section",n)},!!t&&Object(r.createElement)("h2",{className:"edit-post-keyboard-shortcut-help-modal__section-title"},t),Object(r.createElement)(Et,{shortcuts:A}))};var ut=Object(I.compose)([Object(p.withSelect)((function(e){return{isModalActive:e("core/edit-post").isModalActive(lt)}})),Object(p.withDispatch)((function(e,t){var A=t.isModalActive,n=e("core/edit-post"),o=n.openModal,r=n.closeModal;return{toggleModal:function(){return A?r():o(lt)}}}))])((function(e){var t=e.isModalActive,A=e.toggleModal;return Object(a.useShortcut)("core/edit-post/keyboard-shortcuts",A,{bindGlobal:!0}),t?Object(r.createElement)(b.Modal,{className:"edit-post-keyboard-shortcut-help-modal",title:Object(C.__)("Keyboard shortcuts"),closeLabel:Object(C.__)("Close"),onRequestClose:A},Object(r.createElement)(st,{className:"edit-post-keyboard-shortcut-help-modal__main-shortcuts",shortcuts:["core/edit-post/keyboard-shortcuts"]}),Object(r.createElement)(st,{title:Object(C.__)("Global shortcuts"),shortcuts:["core/editor/save","core/editor/undo","core/editor/redo","core/edit-post/toggle-sidebar","core/edit-post/toggle-block-navigation","core/edit-post/next-region","core/edit-post/previous-region","core/block-editor/focus-toolbar","core/edit-post/toggle-mode"]}),Object(r.createElement)(st,{title:Object(C.__)("Selection shortcuts"),shortcuts:["core/block-editor/select-all","core/block-editor/unselect"]}),Object(r.createElement)(st,{title:Object(C.__)("Block shortcuts"),shortcuts:["core/block-editor/duplicate","core/block-editor/remove","core/block-editor/insert-before","core/block-editor/insert-after",{keyCombination:{character:"/"},description:Object(C.__)("Change the block type after adding a new paragraph."),ariaLabel:Object(C.__)("Forward-slash")}]}),Object(r.createElement)(st,{title:Object(C.__)("Text formatting"),shortcuts:rt})):null}));var Qt=function(e){var t=e.blockTypes,A=e.value,n=e.onItemChange;return Object(r.createElement)("ul",{className:"edit-post-manage-blocks-modal__checklist"},t.map((function(e){return Object(r.createElement)("li",{key:e.name,className:"edit-post-manage-blocks-modal__checklist-item"},Object(r.createElement)(b.CheckboxControl,{label:Object(r.createElement)(r.Fragment,null,e.title,Object(r.createElement)(i.BlockIcon,{icon:e.icon})),checked:A.includes(e.name),onChange:Object(B.partial)(n,e.name)}))})))},dt=Object(r.createContext)({});var Bt=Object(I.compose)([I.withInstanceId,Object(p.withSelect)((function(e){return{hiddenBlockTypes:(0,e("core/edit-post").getPreference)("hiddenBlockTypes")}})),Object(p.withDispatch)((function(e,t){var A=e("core/edit-post"),n=A.showBlockTypes,o=A.hideBlockTypes;return{toggleVisible:function(e,t){t?n(e):o(e)},toggleAllVisible:function(e){var A=Object(B.map)(t.blockTypes,"name");e?n(A):o(A)}}}))])((function(e){var t=e.instanceId,A=e.category,n=e.blockTypes,o=e.hiddenBlockTypes,i=e.toggleVisible,c=e.toggleAllVisible,a=Object(r.useContext)(dt).allowedBlockTypes,l=Object(r.useMemo)((function(){return!0===a?n:n.filter((function(e){var t=e.name;return Object(B.includes)(a||[],t)}))}),[a,n]);if(!l.length)return null;var E,s=B.without.apply(void 0,[Object(B.map)(l,"name")].concat(Object(V.a)(o))),u="edit-post-manage-blocks-modal__category-title-"+t,Q=s.length===l.length;return E=Q?"true":s.length>0?"mixed":"false",Object(r.createElement)("div",{role:"group","aria-labelledby":u,className:"edit-post-manage-blocks-modal__category"},Object(r.createElement)(b.CheckboxControl,{checked:Q,onChange:c,className:"edit-post-manage-blocks-modal__category-title","aria-checked":E,label:Object(r.createElement)("span",{id:u},A.title)}),Object(r.createElement)(Qt,{blockTypes:l,value:s,onItemChange:i}))}));var gt=Object(I.compose)([Object(I.withState)({search:""}),Object(p.withSelect)((function(e){var t=e("core/blocks"),A=t.getBlockTypes,n=t.getCategories,o=t.hasBlockSupport,r=t.isMatchingSearchTerm,i=(0,e("core/edit-post").getPreference)("hiddenBlockTypes"),c=Object(B.isArray)(i)&&i.length;return{blockTypes:A(),categories:n(),hasBlockSupport:o,isMatchingSearchTerm:r,numberOfHiddenBlocks:c}}))])((function(e){var t=e.search,A=e.setState,n=e.blockTypes,o=e.categories,i=e.hasBlockSupport,c=e.isMatchingSearchTerm,a=e.numberOfHiddenBlocks;return n=n.filter((function(e){return i(e,"inserter",!0)&&(!t||c(e,t))&&!e.parent})),Object(r.createElement)("div",{className:"edit-post-manage-blocks-modal__content"},Object(r.createElement)(b.TextControl,{type:"search",label:Object(C.__)("Search for a block"),value:t,onChange:function(e){return A({search:e})},className:"edit-post-manage-blocks-modal__search"}),!!a&&Object(r.createElement)("div",{className:"edit-post-manage-blocks-modal__disabled-blocks-count"},Object(C.sprintf)(Object(C._n)("%1$d block is disabled.","%1$d blocks are disabled.",a),a)),Object(r.createElement)("div",{tabIndex:"0",role:"region","aria-label":Object(C.__)("Available block types"),className:"edit-post-manage-blocks-modal__results"},0===n.length&&Object(r.createElement)("p",{className:"edit-post-manage-blocks-modal__no-results"},Object(C.__)("No blocks found.")),o.map((function(e){return Object(r.createElement)(Bt,{key:e.slug,category:e,blockTypes:Object(B.filter)(n,{category:e.slug})})}))))}));var bt=Object(I.compose)([Object(p.withSelect)((function(e){return{isActive:(0,e("core/edit-post").isModalActive)("edit-post/manage-blocks")}})),Object(p.withDispatch)((function(e){return{closeModal:e("core/edit-post").closeModal}}))])((function(e){var t=e.isActive,A=e.closeModal;return t?Object(r.createElement)(b.Modal,{className:"edit-post-manage-blocks-modal",title:Object(C.__)("Block Manager"),closeLabel:Object(C.__)("Close"),onRequestClose:A},Object(r.createElement)(gt,null)):null})),pt=function(e){var t=e.title,A=e.children;return Object(r.createElement)("section",{className:"edit-post-options-modal__section"},Object(r.createElement)("h2",{className:"edit-post-options-modal__section-title"},t),A)};var Ct=function(e){var t=e.label,A=e.isChecked,n=e.onChange,o=e.children;return Object(r.createElement)("div",{className:"edit-post-options-modal__option"},Object(r.createElement)(b.CheckboxControl,{label:t,checked:A,onChange:n}),o)};function It(e){var t=e.willEnable,A=Object(r.useState)(!1),n=Object(J.a)(A,2),o=n[0],i=n[1];return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("p",{className:"edit-post-options-modal__custom-fields-confirmation-message"},Object(C.__)("A page reload is required for this change. Make sure your content is saved before reloading.")),Object(r.createElement)(b.Button,{className:"edit-post-options-modal__custom-fields-confirmation-button",isSecondary:!0,isBusy:o,disabled:o,onClick:function(){i(!0),document.getElementById("toggle-custom-fields-form").submit()}},t?Object(C.__)("Enable & Reload"):Object(C.__)("Disable & Reload")))}var mt=Object(p.withSelect)((function(e){return{areCustomFieldsEnabled:!!e("core/editor").getEditorSettings().enableCustomFields}}))((function(e){var t=e.label,A=e.areCustomFieldsEnabled,n=Object(r.useState)(A),o=Object(J.a)(n,2),i=o[0],c=o[1];return Object(r.createElement)(Ct,{label:t,isChecked:i,onChange:c},i!==A&&Object(r.createElement)(It,{willEnable:i}))})),ft=Object(I.compose)(Object(p.withSelect)((function(e,t){var A=t.panelName,n=e("core/edit-post"),o=n.isEditorPanelEnabled;return{isRemoved:(0,n.isEditorPanelRemoved)(A),isChecked:o(A)}})),Object(I.ifCondition)((function(e){return!e.isRemoved})),Object(p.withDispatch)((function(e,t){var A=t.panelName;return{onChange:function(){return e("core/edit-post").toggleEditorPanelEnabled(A)}}})))(Ct),Ot=Object(b.createSlotFill)("EnablePluginDocumentSettingPanelOption"),ht=Ot.Fill,jt=Ot.Slot,vt=function(e){var t=e.label,A=e.panelName;return Object(r.createElement)(ht,null,Object(r.createElement)(ft,{label:t,panelName:A}))};vt.Slot=jt;var kt=vt,yt=Object(I.compose)(Object(p.withSelect)((function(e){return{isChecked:e("core/editor").isPublishSidebarEnabled()}})),Object(p.withDispatch)((function(e){var t=e("core/editor"),A=t.enablePublishSidebar,n=t.disablePublishSidebar;return{onChange:function(e){return e?A():n()}}})),Object(l.ifViewportMatches)("medium"))(Ct),Pt=Object(I.compose)(Object(p.withSelect)((function(e,t){var A=t.feature;return{isChecked:e("core/edit-post").isFeatureActive(A)}})),Object(p.withDispatch)((function(e,t){var A=t.feature,n=e("core/edit-post").toggleFeature;return{onChange:function(){n(A)}}})))(Ct);var St=Object(p.withSelect)((function(e){var t=e("core/editor").getEditorSettings,A=e("core/edit-post").getAllMetaBoxes;return{areCustomFieldsRegistered:void 0!==t().enableCustomFields,metaBoxes:A()}}))((function(e){var t=e.areCustomFieldsRegistered,A=e.metaBoxes,n=Object(d.a)(e,["areCustomFieldsRegistered","metaBoxes"]),o=Object(B.filter)(A,(function(e){return"postcustom"!==e.id}));return t||0!==o.length?Object(r.createElement)(pt,n,t&&Object(r.createElement)(mt,{label:Object(C.__)("Custom fields")}),Object(B.map)(o,(function(e){var t=e.id,A=e.title;return Object(r.createElement)(ft,{key:t,label:A,panelName:"meta-box-".concat(t)})}))):null}));var wt=Object(I.compose)(Object(p.withSelect)((function(e){var t=e("core/editor").getEditedPostAttribute,A=(0,e("core").getPostType)(t("type"));return{isModalActive:e("core/edit-post").isModalActive("edit-post/options"),isViewable:Object(B.get)(A,["viewable"],!1)}})),Object(p.withDispatch)((function(e){return{closeModal:function(){return e("core/edit-post").closeModal()}}})))((function(e){var t=e.isModalActive,A=e.isViewable,n=e.closeModal;return t?Object(r.createElement)(b.Modal,{className:"edit-post-options-modal",title:Object(C.__)("Options"),closeLabel:Object(C.__)("Close"),onRequestClose:n},Object(r.createElement)(pt,{title:Object(C.__)("General")},Object(r.createElement)(yt,{label:Object(C.__)("Pre-publish checks")}),Object(r.createElement)(Pt,{feature:"showInserterHelpPanel",label:Object(C.__)("Inserter help panel")})),Object(r.createElement)(pt,{title:Object(C.__)("Document panels")},Object(r.createElement)(kt.Slot,null),A&&Object(r.createElement)(ft,{label:Object(C.__)("Permalink"),panelName:"post-link"}),Object(r.createElement)(c.PostTaxonomies,{taxonomyWrapper:function(e,t){return Object(r.createElement)(ft,{label:Object(B.get)(t,["labels","menu_name"]),panelName:"taxonomy-panel-".concat(t.slug)})}}),Object(r.createElement)(c.PostFeaturedImageCheck,null,Object(r.createElement)(ft,{label:Object(C.__)("Featured image"),panelName:"featured-image"})),Object(r.createElement)(c.PostExcerptCheck,null,Object(r.createElement)(ft,{label:Object(C.__)("Excerpt"),panelName:"post-excerpt"})),Object(r.createElement)(c.PostTypeSupportCheck,{supportKeys:["comments","trackbacks"]},Object(r.createElement)(ft,{label:Object(C.__)("Discussion"),panelName:"discussion-panel"})),Object(r.createElement)(c.PageAttributesCheck,null,Object(r.createElement)(ft,{label:Object(C.__)("Page attributes"),panelName:"page-attributes"}))),Object(r.createElement)(St,{title:Object(C.__)("Advanced panels")})):null}));var Tt=Object(b.navigateRegions)((function(e){var t=e.footer,A=e.header,n=e.sidebar,o=e.content,i=e.publish,c=e.className;return Object(r.createElement)("div",{className:ze()(c,"edit-post-editor-regions")},!!A&&Object(r.createElement)("div",{className:"edit-post-editor-regions__header",role:"region","aria-label":Object(C.__)("Editor top bar"),tabIndex:"-1"},A),Object(r.createElement)("div",{className:"edit-post-editor-regions__body"},Object(r.createElement)("div",{className:"edit-post-editor-regions__content",role:"region","aria-label":Object(C.__)("Editor content"),tabIndex:"-1"},o),!!i&&Object(r.createElement)("div",{className:"edit-post-editor-regions__publish",role:"region","aria-label":Object(C.__)("Editor publish"),tabIndex:"-1"},i),!!n&&Object(r.createElement)("div",{className:"edit-post-editor-regions__sidebar",role:"region","aria-label":"Editor settings",tabIndex:"-1"},n)),!!t&&Object(r.createElement)("div",{className:"edit-post-editor-regions__footer",role:"region","aria-label":"Editor footer",tabIndex:"-1"},t))})),Dt=function(e){function t(){return Object(Le.a)(this,t),Object(Ue.a)(this,Object(Je.a)(t).apply(this,arguments))}return Object(Xe.a)(t,e),Object(Fe.a)(t,[{key:"componentDidMount",value:function(){this.isSticky=!1,this.sync(),document.body.classList.contains("sticky-menu")&&(this.isSticky=!0,document.body.classList.remove("sticky-menu"))}},{key:"componentWillUnmount",value:function(){this.isSticky&&document.body.classList.add("sticky-menu")}},{key:"componentDidUpdate",value:function(e){this.props.isActive!==e.isActive&&this.sync()}},{key:"sync",value:function(){this.props.isActive?document.body.classList.add("is-fullscreen-mode"):document.body.classList.remove("is-fullscreen-mode")}},{key:"render",value:function(){return null}}]),t}(r.Component),xt=Object(p.withSelect)((function(e){return{isActive:e("core/edit-post").isFeatureActive("fullscreenMode")}}))(Dt);var Vt=function(e){function t(){var e;return Object(Le.a)(this,t),(e=Object(Ue.a)(this,Object(Je.a)(t).apply(this,arguments))).state={historyId:null},e}return Object(Xe.a)(t,e),Object(Fe.a)(t,[{key:"componentDidUpdate",value:function(e){var t=this.props,A=t.postId,n=t.postStatus,o=t.postType,r=t.isSavingPost,i=this.state.historyId;"trash"!==n||r?A===e.postId&&A===i||"auto-draft"===n||this.setBrowserURL(A):this.setTrashURL(A,o)}},{key:"setTrashURL",value:function(e,t){window.location.href=function(e,t){return Object(h.addQueryArgs)("edit.php",{trashed:1,post_type:t,ids:e})}(e,t)}},{key:"setBrowserURL",value:function(e){window.history.replaceState({id:e},"Post "+e,function(e){return Object(h.addQueryArgs)("post.php",{post:e,action:"edit"})}(e)),this.setState((function(){return{historyId:e}}))}},{key:"render",value:function(){return null}}]),t}(r.Component),Rt=Object(p.withSelect)((function(e){var t=e("core/editor"),A=t.getCurrentPost,n=t.isSavingPost,o=A();return{postId:o.id,postStatus:o.status,postType:o.type,isSavingPost:n()}}))(Vt);var Mt=Object(p.withSelect)((function(e){var t=e("core/editor").getCurrentPostType,A=e("core/edit-post").isFeatureActive,n=e("core").getPostType;return{isActive:A("fullscreenMode"),postType:n(t())}}))((function(e){var t=e.isActive,A=e.postType;return t&&A?Object(r.createElement)(b.Toolbar,{className:"edit-post-fullscreen-mode-close__toolbar"},Object(r.createElement)(b.Button,{icon:"arrow-left-alt2",href:Object(h.addQueryArgs)("edit.php",{post_type:A.slug}),label:Object(B.get)(A,["labels","view_items"],Object(C.__)("Back"))})):null}));var Ht=function(){var e=Object(p.useSelect)((function(e){return{hasFixedToolbar:e("core/edit-post").isFeatureActive("fixedToolbar"),showInserter:"visual"===e("core/edit-post").getEditorMode()&&e("core/editor").getEditorSettings().richEditingEnabled,isTextModeEnabled:"text"===e("core/edit-post").getEditorMode()}}),[]),t=e.hasFixedToolbar,A=e.showInserter,n=e.isTextModeEnabled,o=Object(I.useViewportMatch)("medium"),a=t?Object(C.__)("Document and block tools"):Object(C.__)("Document tools");return Object(r.createElement)(i.NavigableToolbar,{className:"edit-post-header-toolbar","aria-label":a},Object(r.createElement)(i.Inserter,{disabled:!A,position:"bottom right",showInserterHelpPanel:!0}),Object(r.createElement)(c.EditorHistoryUndo,null),Object(r.createElement)(c.EditorHistoryRedo,null),Object(r.createElement)(c.TableOfContents,{hasOutlineItemsDisabled:n}),Object(r.createElement)(i.BlockNavigationDropdown,{isDisabled:n}),Object(r.createElement)(i.ToolSelector,null),(t||!o)&&Object(r.createElement)("div",{className:"edit-post-header-toolbar__block-toolbar"},Object(r.createElement)(i.BlockToolbar,null)))},qt=[{value:"visual",label:Object(C.__)("Visual editor")},{value:"text",label:Object(C.__)("Code editor")}];var Nt=function(){var e=Object(p.useSelect)((function(e){return{shortcut:e("core/keyboard-shortcuts").getShortcutRepresentation("core/edit-post/toggle-mode"),isRichEditingEnabled:e("core/editor").getEditorSettings().richEditingEnabled,isCodeEditingEnabled:e("core/editor").getEditorSettings().codeEditingEnabled,mode:e("core/edit-post").getEditorMode()}}),[]),t=e.shortcut,A=e.isRichEditingEnabled,n=e.isCodeEditingEnabled,o=e.mode,i=Object(p.useDispatch)("core/edit-post").switchEditorMode,c=qt.map((function(e){return e.value!==o?Object(M.a)({},e,{shortcut:t}):e}));return A&&n?Object(r.createElement)(b.MenuGroup,{label:Object(C.__)("Editor")},Object(r.createElement)(b.MenuItemsChoice,{choices:c,value:o,onSelect:i})):null},Lt=Object(b.createSlotFill)("PluginsMoreMenuGroup"),Ft=Lt.Fill,Ut=Lt.Slot;Ft.Slot=function(e){var t=e.fillProps;return Object(r.createElement)(Ut,{fillProps:t},(function(e){return!Object(B.isEmpty)(e)&&Object(r.createElement)(b.MenuGroup,{label:Object(C.__)("Plugins")},e)}))};var Jt=Ft;var Xt=Object(p.withDispatch)((function(e){return{openModal:e("core/edit-post").openModal}}))((function(e){var t=e.openModal;return Object(r.createElement)(b.MenuItem,{onClick:function(){t("edit-post/options")}},Object(C.__)("Options"))}));var Zt=Object(I.compose)([Object(p.withSelect)((function(e,t){var A=t.feature;return{isActive:e("core/edit-post").isFeatureActive(A)}})),Object(p.withDispatch)((function(e,t){return{onToggle:function(){e("core/edit-post").toggleFeature(t.feature)}}})),b.withSpokenMessages])((function(e){var t=e.onToggle,A=e.isActive,n=e.label,o=e.info,i=e.messageActivated,c=e.messageDeactivated,a=e.speak;return Object(r.createElement)(b.MenuItem,{icon:A&&"yes",isSelected:A,onClick:Object(B.flow)(t,(function(){a(A?c||Object(C.__)("Feature deactivated"):i||Object(C.__)("Feature activated"))})),role:"menuitemcheckbox",info:o},n)}));var Yt=function(){return Object(I.useViewportMatch)("medium")?Object(r.createElement)(b.MenuGroup,{label:Object(C._x)("View","noun")},Object(r.createElement)(Zt,{feature:"fixedToolbar",label:Object(C.__)("Top toolbar"),info:Object(C.__)("Access all block and document tools in a single place"),messageActivated:Object(C.__)("Top toolbar activated"),messageDeactivated:Object(C.__)("Top toolbar deactivated")}),Object(r.createElement)(Zt,{feature:"focusMode",label:Object(C.__)("Spotlight mode"),info:Object(C.__)("Focus on one block at a time"),messageActivated:Object(C.__)("Spotlight mode activated"),messageDeactivated:Object(C.__)("Spotlight mode deactivated")}),Object(r.createElement)(Zt,{feature:"fullscreenMode",label:Object(C.__)("Fullscreen mode"),info:Object(C.__)("Work without distraction"),messageActivated:Object(C.__)("Fullscreen mode activated"),messageDeactivated:Object(C.__)("Fullscreen mode deactivated")})):null},Gt={className:"edit-post-more-menu__content",position:"bottom left"},Wt={tooltipPosition:"bottom"},zt=function(){return Object(r.createElement)(b.DropdownMenu,{className:"edit-post-more-menu",icon:"ellipsis",label:Object(C.__)("More tools & options"),popoverProps:Gt,toggleProps:Wt},(function(e){var t=e.onClose;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(Yt,null),Object(r.createElement)(Nt,null),Object(r.createElement)(Jt.Slot,{fillProps:{onClose:t}}),Object(r.createElement)(T.Slot,{fillProps:{onClose:t}}),Object(r.createElement)(b.MenuGroup,null,Object(r.createElement)(Xt,null)))}))},Kt=Object(b.createSlotFill)("PinnedPlugins"),_t=Kt.Fill,$t=Kt.Slot;_t.Slot=function(e){return Object(r.createElement)($t,e,(function(e){return!Object(B.isEmpty)(e)&&Object(r.createElement)("div",{className:"edit-post-pinned-plugins"},e)}))};var eA=_t;var tA=Object(I.compose)(Object(p.withSelect)((function(e){return{hasPublishAction:Object(B.get)(e("core/editor").getCurrentPost(),["_links","wp:action-publish"],!1),isBeingScheduled:e("core/editor").isEditedPostBeingScheduled(),isPending:e("core/editor").isCurrentPostPending(),isPublished:e("core/editor").isCurrentPostPublished(),isPublishSidebarEnabled:e("core/editor").isPublishSidebarEnabled(),isPublishSidebarOpened:e("core/edit-post").isPublishSidebarOpened(),isScheduled:e("core/editor").isCurrentPostScheduled()}})),Object(p.withDispatch)((function(e){return{togglePublishSidebar:e("core/edit-post").togglePublishSidebar}})))((function(e){var t,A=e.forceIsDirty,n=e.forceIsSaving,o=e.hasPublishAction,i=e.isBeingScheduled,a=e.isPending,l=e.isPublished,E=e.isPublishSidebarEnabled,s=e.isPublishSidebarOpened,u=e.isScheduled,Q=e.togglePublishSidebar,d=Object(I.useViewportMatch)("medium","<");return t=l||u&&i||a&&!o&&!d?"button":d?"toggle":E?"toggle":"button",Object(r.createElement)(c.PostPublishButton,{forceIsDirty:A,forceIsSaving:n,isOpen:s,isToggle:"toggle"===t,onToggle:Q})}));var AA=function(){var e=Object(p.useSelect)((function(e){return{shortcut:e("core/keyboard-shortcuts").getShortcutRepresentation("core/edit-post/toggle-sidebar"),hasActiveMetaboxes:e("core/edit-post").hasMetaBoxes(),isEditorSidebarOpened:e("core/edit-post").isEditorSidebarOpened(),isPublishSidebarOpened:e("core/edit-post").isPublishSidebarOpened(),isSaving:e("core/edit-post").isSavingMetaBoxes(),getBlockSelectionStart:e("core/block-editor").getBlockSelectionStart}}),[]),t=e.shortcut,A=e.hasActiveMetaboxes,n=e.isEditorSidebarOpened,o=e.isPublishSidebarOpened,i=e.isSaving,a=e.getBlockSelectionStart,l=Object(p.useDispatch)("core/edit-post"),E=l.openGeneralSidebar,s=l.closeGeneralSidebar,u=n?s:function(){return E(a()?"edit-post/block":"edit-post/document")};return Object(r.createElement)("div",{className:"edit-post-header"},Object(r.createElement)("div",{className:"edit-post-header__toolbar"},Object(r.createElement)(Mt,null),Object(r.createElement)(Ht,null)),Object(r.createElement)("div",{className:"edit-post-header__settings"},!o&&Object(r.createElement)(c.PostSavedState,{forceIsDirty:A,forceIsSaving:i}),Object(r.createElement)(c.PostPreviewButton,{forceIsAutosaveable:A,forcePreviewLink:i?null:void 0}),Object(r.createElement)(tA,{forceIsDirty:A,forceIsSaving:i}),Object(r.createElement)(b.Button,{icon:"admin-generic",label:Object(C.__)("Settings"),onClick:u,isPressed:n,"aria-expanded":n,shortcut:t}),Object(r.createElement)(eA.Slot,null),Object(r.createElement)(zt,null)))},nA=Object(b.createSlotFill)("Sidebar"),oA=nA.Fill,rA=nA.Slot;function iA(e){var t=e.children,A=e.className;return Object(r.createElement)("div",{className:ze()("edit-post-sidebar",A)},t)}iA=Object(b.withFocusReturn)({onFocusReturn:function(){var e=document.querySelector('.edit-post-header__settings [aria-label="Settings"]');if(e)return e.focus(),!1}})(iA);var cA=Object(I.compose)(Object(p.withSelect)((function(e,t){var A=t.name;return{isActive:e("core/edit-post").getActiveGeneralSidebarName()===A}})),Object(I.ifCondition)((function(e){return e.isActive})))((function(e){return Object(r.createElement)(oA,null,Object(r.createElement)(b.Animate,{type:"slide-in",options:{origin:"left"}},(function(){return Object(r.createElement)(iA,e)})))}));cA.Slot=rA;var aA=cA,lA=function(e){var t=e.children,A=e.className,n=e.closeLabel,o=Object(p.useSelect)((function(e){return{shortcut:e("core/keyboard-shortcuts").getShortcutRepresentation("core/edit-post/toggle-sidebar"),title:e("core/editor").getEditedPostAttribute("title")}}),[]),i=o.shortcut,c=o.title,a=Object(p.useDispatch)("core/edit-post").closeGeneralSidebar;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",{className:"components-panel__header edit-post-sidebar-header__small"},Object(r.createElement)("span",{className:"edit-post-sidebar-header__title"},c||Object(C.__)("(no title)")),Object(r.createElement)(b.Button,{onClick:a,icon:"no-alt",label:n})),Object(r.createElement)("div",{className:ze()("components-panel__header edit-post-sidebar-header",A)},t,Object(r.createElement)(b.Button,{onClick:a,icon:"no-alt",label:n,shortcut:i})))},EA=Object(p.withDispatch)((function(e){var t=e("core/edit-post").openGeneralSidebar;return{openDocumentSettings:function(){t("edit-post/document")},openBlockSettings:function(){t("edit-post/block")}}}))((function(e){var t=e.openDocumentSettings,A=e.openBlockSettings,n=e.sidebarName,o=Object(C.__)("Block"),i="edit-post/document"===n?[Object(C.__)("Document (selected)"),"is-active"]:[Object(C.__)("Document"),""],c=Object(J.a)(i,2),a=c[0],l=c[1],E="edit-post/block"===n?[Object(C.__)("Block (selected)"),"is-active"]:[Object(C.__)("Block"),""],s=Object(J.a)(E,2),u=s[0],Q=s[1];return Object(r.createElement)(lA,{className:"edit-post-sidebar__panel-tabs",closeLabel:Object(C.__)("Close settings")},Object(r.createElement)("ul",null,Object(r.createElement)("li",null,Object(r.createElement)(b.Button,{onClick:t,className:"edit-post-sidebar__panel-tab ".concat(l),"aria-label":a,"data-label":Object(C.__)("Document")},Object(C.__)("Document"))),Object(r.createElement)("li",null,Object(r.createElement)(b.Button,{onClick:A,className:"edit-post-sidebar__panel-tab ".concat(Q),"aria-label":u,"data-label":o},o))))}));var sA=function(){return Object(r.createElement)(c.PostVisibilityCheck,{render:function(e){var t=e.canEdit;return Object(r.createElement)(b.PanelRow,{className:"edit-post-post-visibility"},Object(r.createElement)("span",null,Object(C.__)("Visibility")),!t&&Object(r.createElement)("span",null,Object(r.createElement)(c.PostVisibilityLabel,null)),t&&Object(r.createElement)(b.Dropdown,{position:"bottom left",contentClassName:"edit-post-post-visibility__dialog",renderToggle:function(e){var t=e.isOpen,A=e.onToggle;return Object(r.createElement)(b.Button,{"aria-expanded":t,className:"edit-post-post-visibility__toggle",onClick:A,isLink:!0},Object(r.createElement)(c.PostVisibilityLabel,null))},renderContent:function(){return Object(r.createElement)(c.PostVisibility,null)}}))}})};function uA(){return Object(r.createElement)(c.PostTrashCheck,null,Object(r.createElement)(b.PanelRow,null,Object(r.createElement)(c.PostTrash,null)))}var QA=function(){return Object(r.createElement)(c.PostScheduleCheck,null,Object(r.createElement)(b.PanelRow,{className:"edit-post-post-schedule"},Object(r.createElement)("span",null,Object(C.__)("Publish")),Object(r.createElement)(b.Dropdown,{position:"bottom left",contentClassName:"edit-post-post-schedule__dialog",renderToggle:function(e){var t=e.onToggle,A=e.isOpen;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(b.Button,{className:"edit-post-post-schedule__toggle",onClick:t,"aria-expanded":A,isLink:!0},Object(r.createElement)(c.PostScheduleLabel,null)))},renderContent:function(){return Object(r.createElement)(c.PostSchedule,null)}})))};var dA=function(){return Object(r.createElement)(c.PostStickyCheck,null,Object(r.createElement)(b.PanelRow,null,Object(r.createElement)(c.PostSticky,null)))};var BA=function(){return Object(r.createElement)(c.PostAuthorCheck,null,Object(r.createElement)(b.PanelRow,null,Object(r.createElement)(c.PostAuthor,null)))};var gA=function(){return Object(r.createElement)(c.PostSlugCheck,null,Object(r.createElement)(b.PanelRow,null,Object(r.createElement)(c.PostSlug,null)))};var bA=function(){return Object(r.createElement)(c.PostFormatCheck,null,Object(r.createElement)(b.PanelRow,null,Object(r.createElement)(c.PostFormat,null)))};var pA=function(){return Object(r.createElement)(c.PostPendingStatusCheck,null,Object(r.createElement)(b.PanelRow,null,Object(r.createElement)(c.PostPendingStatus,null)))},CA=Object(b.createSlotFill)("PluginPostStatusInfo"),IA=CA.Fill,mA=CA.Slot,fA=function(e){var t=e.children,A=e.className;return Object(r.createElement)(IA,null,Object(r.createElement)(b.PanelRow,{className:A},t))};fA.Slot=mA;var OA=fA;var hA=Object(I.compose)([Object(p.withSelect)((function(e){var t=e("core/edit-post"),A=t.isEditorPanelRemoved,n=t.isEditorPanelOpened;return{isRemoved:A("post-status"),isOpened:n("post-status")}})),Object(I.ifCondition)((function(e){return!e.isRemoved})),Object(p.withDispatch)((function(e){return{onTogglePanel:function(){return e("core/edit-post").toggleEditorPanelOpened("post-status")}}}))])((function(e){var t=e.isOpened,A=e.onTogglePanel;return Object(r.createElement)(b.PanelBody,{className:"edit-post-post-status",title:Object(C.__)("Status & visibility"),opened:t,onToggle:A},Object(r.createElement)(OA.Slot,null,(function(e){return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(sA,null),Object(r.createElement)(QA,null),Object(r.createElement)(bA,null),Object(r.createElement)(dA,null),Object(r.createElement)(pA,null),Object(r.createElement)(gA,null),Object(r.createElement)(BA,null),e,Object(r.createElement)(uA,null))})))}));var jA=function(){return Object(r.createElement)(c.PostLastRevisionCheck,null,Object(r.createElement)(b.PanelBody,{className:"edit-post-last-revision__panel"},Object(r.createElement)(c.PostLastRevision,null)))};var vA=Object(I.compose)(Object(p.withSelect)((function(e,t){var A=Object(B.get)(t.taxonomy,["slug"]),n=A?"taxonomy-panel-".concat(A):"";return{panelName:n,isEnabled:!!A&&e("core/edit-post").isEditorPanelEnabled(n),isOpened:!!A&&e("core/edit-post").isEditorPanelOpened(n)}})),Object(p.withDispatch)((function(e,t){return{onTogglePanel:function(){e("core/edit-post").toggleEditorPanelOpened(t.panelName)}}})))((function(e){var t=e.isEnabled,A=e.taxonomy,n=e.isOpened,o=e.onTogglePanel,i=e.children;if(!t)return null;var c=Object(B.get)(A,["labels","menu_name"]);return c?Object(r.createElement)(b.PanelBody,{title:c,opened:n,onToggle:o},i):null}));var kA=function(){return Object(r.createElement)(c.PostTaxonomiesCheck,null,Object(r.createElement)(c.PostTaxonomies,{taxonomyWrapper:function(e,t){return Object(r.createElement)(vA,{taxonomy:t},e)}}))};var yA=Object(p.withSelect)((function(e){var t=e("core/editor").getEditedPostAttribute,A=e("core").getPostType,n=e("core/edit-post"),o=n.isEditorPanelEnabled,r=n.isEditorPanelOpened;return{postType:A(t("type")),isEnabled:o("featured-image"),isOpened:r("featured-image")}})),PA=Object(p.withDispatch)((function(e){var t=e("core/edit-post").toggleEditorPanelOpened;return{onTogglePanel:Object(B.partial)(t,"featured-image")}})),SA=Object(I.compose)(yA,PA)((function(e){var t=e.isEnabled,A=e.isOpened,n=e.postType,o=e.onTogglePanel;return t?Object(r.createElement)(c.PostFeaturedImageCheck,null,Object(r.createElement)(b.PanelBody,{title:Object(B.get)(n,["labels","featured_image"],Object(C.__)("Featured image")),opened:A,onToggle:o},Object(r.createElement)(c.PostFeaturedImage,null))):null}));var wA=Object(I.compose)([Object(p.withSelect)((function(e){return{isEnabled:e("core/edit-post").isEditorPanelEnabled("post-excerpt"),isOpened:e("core/edit-post").isEditorPanelOpened("post-excerpt")}})),Object(p.withDispatch)((function(e){return{onTogglePanel:function(){return e("core/edit-post").toggleEditorPanelOpened("post-excerpt")}}}))])((function(e){var t=e.isEnabled,A=e.isOpened,n=e.onTogglePanel;return t?Object(r.createElement)(c.PostExcerptCheck,null,Object(r.createElement)(b.PanelBody,{title:Object(C.__)("Excerpt"),opened:A,onToggle:n},Object(r.createElement)(c.PostExcerpt,null))):null}));var TA=Object(I.compose)([Object(p.withSelect)((function(e){var t=e("core/editor"),A=t.isEditedPostNew,n=t.isPermalinkEditable,o=t.getCurrentPost,r=t.isCurrentPostPublished,i=t.getPermalinkParts,c=t.getEditedPostAttribute,a=e("core/edit-post"),l=a.isEditorPanelEnabled,E=a.isEditorPanelOpened,s=e("core").getPostType,u=o(),Q=u.link,d=u.id,g=s(c("type"));return{isNew:A(),postLink:Q,isEditable:n(),isPublished:r(),isOpened:E("post-link"),permalinkParts:i(),isEnabled:l("post-link"),isViewable:Object(B.get)(g,["viewable"],!1),postTitle:c("title"),postSlug:c("slug"),postID:d,postTypeLabel:Object(B.get)(g,["labels","view_item"])}})),Object(I.ifCondition)((function(e){var t=e.isEnabled,A=e.isNew,n=e.postLink,o=e.isViewable,r=e.permalinkParts;return t&&!A&&n&&o&&r})),Object(p.withDispatch)((function(e){var t=e("core/edit-post").toggleEditorPanelOpened,A=e("core/editor").editPost;return{onTogglePanel:function(){return t("post-link")},editPermalink:function(e){A({slug:e})}}})),Object(I.withState)({forceEmptyField:!1})])((function(e){var t,A,n,o=e.isOpened,i=e.onTogglePanel,a=e.isEditable,l=e.postLink,E=e.permalinkParts,s=e.editPermalink,u=e.forceEmptyField,Q=e.setState,d=e.postTitle,B=e.postSlug,g=e.postID,p=e.postTypeLabel,I=E.prefix,m=E.suffix,f=Object(h.safeDecodeURIComponent)(B)||Object(c.cleanForSlug)(d)||g;return a&&(t=I&&Object(r.createElement)("span",{className:"edit-post-post-link__link-prefix"},I),A=f&&Object(r.createElement)("span",{className:"edit-post-post-link__link-post-name"},f),n=m&&Object(r.createElement)("span",{className:"edit-post-post-link__link-suffix"},m)),Object(r.createElement)(b.PanelBody,{title:Object(C.__)("Permalink"),opened:o,onToggle:i},a&&Object(r.createElement)("div",{className:"editor-post-link"},Object(r.createElement)(b.TextControl,{label:Object(C.__)("URL Slug"),value:u?"":f,onChange:function(e){s(e),e?u&&Q({forceEmptyField:!1}):u||Q({forceEmptyField:!0})},onBlur:function(e){s(Object(c.cleanForSlug)(e.target.value)),u&&Q({forceEmptyField:!1})}}),Object(r.createElement)("p",null,Object(C.__)("The last part of the URL.")," ",Object(r.createElement)(b.ExternalLink,{href:"https://wordpress.org/support/article/writing-posts/#post-field-descriptions"},Object(C.__)("Read about permalinks")))),Object(r.createElement)("p",{className:"edit-post-post-link__preview-label"},p||Object(C.__)("View post")),Object(r.createElement)("div",{className:"edit-post-post-link__preview-link-container"},Object(r.createElement)(b.ExternalLink,{className:"edit-post-post-link__link",href:l,target:"_blank"},a?Object(r.createElement)(r.Fragment,null,t,A,n):l)))}));var DA=Object(I.compose)([Object(p.withSelect)((function(e){return{isEnabled:e("core/edit-post").isEditorPanelEnabled("discussion-panel"),isOpened:e("core/edit-post").isEditorPanelOpened("discussion-panel")}})),Object(p.withDispatch)((function(e){return{onTogglePanel:function(){return e("core/edit-post").toggleEditorPanelOpened("discussion-panel")}}}))])((function(e){var t=e.isEnabled,A=e.isOpened,n=e.onTogglePanel;return t?Object(r.createElement)(c.PostTypeSupportCheck,{supportKeys:["comments","trackbacks"]},Object(r.createElement)(b.PanelBody,{title:Object(C.__)("Discussion"),opened:A,onToggle:n},Object(r.createElement)(c.PostTypeSupportCheck,{supportKeys:"comments"},Object(r.createElement)(b.PanelRow,null,Object(r.createElement)(c.PostComments,null))),Object(r.createElement)(c.PostTypeSupportCheck,{supportKeys:"trackbacks"},Object(r.createElement)(b.PanelRow,null,Object(r.createElement)(c.PostPingbacks,null))))):null}));var xA=Object(p.withSelect)((function(e){var t=e("core/editor").getEditedPostAttribute,A=e("core/edit-post"),n=A.isEditorPanelEnabled,o=A.isEditorPanelOpened,r=e("core").getPostType;return{isEnabled:n("page-attributes"),isOpened:o("page-attributes"),postType:r(t("type"))}})),VA=Object(p.withDispatch)((function(e){var t=e("core/edit-post").toggleEditorPanelOpened;return{onTogglePanel:Object(B.partial)(t,"page-attributes")}})),RA=Object(I.compose)(xA,VA)((function(e){var t=e.isEnabled,A=e.isOpened,n=e.onTogglePanel,o=e.postType;return t&&o?Object(r.createElement)(c.PageAttributesCheck,null,Object(r.createElement)(b.PanelBody,{title:Object(B.get)(o,["labels","attributes"],Object(C.__)("Page attributes")),opened:A,onToggle:n},Object(r.createElement)(c.PageTemplate,null),Object(r.createElement)(c.PageAttributesParent,null),Object(r.createElement)(b.PanelRow,null,Object(r.createElement)(c.PageAttributesOrder,null)))):null})),MA=A(7),HA=function(e){function t(){var e;return Object(Le.a)(this,t),(e=Object(Ue.a)(this,Object(Je.a)(t).apply(this,arguments))).bindContainerNode=e.bindContainerNode.bind(Object(MA.a)(e)),e}return Object(Xe.a)(t,e),Object(Fe.a)(t,[{key:"componentDidMount",value:function(){this.form=document.querySelector(".metabox-location-"+this.props.location),this.form&&this.container.appendChild(this.form)}},{key:"componentWillUnmount",value:function(){this.form&&document.querySelector("#metaboxes").appendChild(this.form)}},{key:"bindContainerNode",value:function(e){this.container=e}},{key:"render",value:function(){var e=this.props,t=e.location,A=e.isSaving,n=ze()("edit-post-meta-boxes-area","is-".concat(t),{"is-loading":A});return Object(r.createElement)("div",{className:n},A&&Object(r.createElement)(b.Spinner,null),Object(r.createElement)("div",{className:"edit-post-meta-boxes-area__container",ref:this.bindContainerNode}),Object(r.createElement)("div",{className:"edit-post-meta-boxes-area__clear"}))}}]),t}(r.Component),qA=Object(p.withSelect)((function(e){return{isSaving:e("core/edit-post").isSavingMetaBoxes()}}))(HA),NA=function(e){function t(){return Object(Le.a)(this,t),Object(Ue.a)(this,Object(Je.a)(t).apply(this,arguments))}return Object(Xe.a)(t,e),Object(Fe.a)(t,[{key:"componentDidMount",value:function(){this.updateDOM()}},{key:"componentDidUpdate",value:function(e){this.props.isVisible!==e.isVisible&&this.updateDOM()}},{key:"updateDOM",value:function(){var e=this.props,t=e.id,A=e.isVisible,n=document.getElementById(t);n&&(A?n.classList.remove("is-hidden"):n.classList.add("is-hidden"))}},{key:"render",value:function(){return null}}]),t}(r.Component),LA=Object(p.withSelect)((function(e,t){var A=t.id;return{isVisible:e("core/edit-post").isEditorPanelEnabled("meta-box-".concat(A))}}))(NA);var FA=Object(p.withSelect)((function(e,t){var A=t.location,n=e("core/edit-post"),o=n.isMetaBoxLocationVisible;return{metaBoxes:(0,n.getMetaBoxesPerLocation)(A),isVisible:o(A)}}))((function(e){var t=e.location,A=e.isVisible,n=e.metaBoxes;return Object(r.createElement)(r.Fragment,null,Object(B.map)(n,(function(e){var t=e.id;return Object(r.createElement)(LA,{key:t,id:t})})),A&&Object(r.createElement)(qA,{location:t}))})),UA=Object(b.createSlotFill)("PluginDocumentSettingPanel"),JA=UA.Fill,XA=UA.Slot,ZA=Object(I.compose)(Object(O.withPluginContext)((function(e,t){return{icon:t.icon||e.icon,panelName:"".concat(e.name,"/").concat(t.name)}})),Object(p.withSelect)((function(e,t){var A=t.panelName;return{opened:e("core/edit-post").isEditorPanelOpened(A),isEnabled:e("core/edit-post").isEditorPanelEnabled(A)}})),Object(p.withDispatch)((function(e,t){var A=t.panelName;return{onToggle:function(){return e("core/edit-post").toggleEditorPanelOpened(A)}}})))((function(e){var t=e.isEnabled,A=e.panelName,n=e.opened,o=e.onToggle,i=e.className,c=e.title,a=e.icon,l=e.children;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(kt,{label:c,panelName:A}),Object(r.createElement)(JA,null,t&&Object(r.createElement)(b.PanelBody,{className:i,title:c,icon:a,opened:n,onToggle:o},l)))}));ZA.Slot=XA;var YA=ZA,GA=Object(I.compose)(Object(p.withSelect)((function(e){var t=e("core/edit-post"),A=t.getActiveGeneralSidebarName;return{isEditorSidebarOpened:(0,t.isEditorSidebarOpened)(),sidebarName:A()}})),Object(I.ifCondition)((function(e){return e.isEditorSidebarOpened})))((function(e){var t=e.sidebarName;return Object(r.createElement)(aA,{name:t},Object(r.createElement)(EA,{sidebarName:t}),Object(r.createElement)(b.Panel,null,"edit-post/document"===t&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)(hA,null),Object(r.createElement)(YA.Slot,null),Object(r.createElement)(jA,null),Object(r.createElement)(TA,null),Object(r.createElement)(kA,null),Object(r.createElement)(SA,null),Object(r.createElement)(wA,null),Object(r.createElement)(DA,null),Object(r.createElement)(RA,null),Object(r.createElement)(FA,{location:"side"})),"edit-post/block"===t&&Object(r.createElement)(i.BlockInspector,null)))})),WA=Object(b.createSlotFill)("PluginPostPublishPanel"),zA=WA.Fill,KA=WA.Slot,_A=Object(I.compose)(Object(O.withPluginContext)((function(e,t){return{icon:t.icon||e.icon}})))((function(e){var t=e.children,A=e.className,n=e.title,o=e.initialOpen,i=void 0!==o&&o,c=e.icon;return Object(r.createElement)(zA,null,Object(r.createElement)(b.PanelBody,{className:A,initialOpen:i||!n,title:n,icon:c},t))}));_A.Slot=KA;var $A=_A,en=Object(b.createSlotFill)("PluginPrePublishPanel"),tn=en.Fill,An=en.Slot,nn=Object(I.compose)(Object(O.withPluginContext)((function(e,t){return{icon:t.icon||e.icon}})))((function(e){var t=e.children,A=e.className,n=e.title,o=e.initialOpen,i=void 0!==o&&o,c=e.icon;return Object(r.createElement)(tn,null,Object(r.createElement)(b.PanelBody,{className:A,initialOpen:i||!n,title:n,icon:c},t))}));nn.Slot=An;var on=nn,rn=function(e){return Object(r.createElement)("img",Object(Q.a)({alt:"",src:"data:image/svg+xml,%3Csvg width='306' height='286' viewBox='0 0 306 286' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='306' height='286' rx='4' fill='%2366C6E4'/%3E%3Crect x='36' y='30' width='234' height='256' fill='white'/%3E%3Crect x='36' y='80' width='234' height='94' fill='%23E2E4E7'/%3E%3Cpath d='M140.237 121.47L142.109 125H157.255V133H140.237V121.47ZM159.382 119H155.128L157.255 123H154.064L151.937 119H149.809L151.937 123H148.746L146.618 119H144.491L146.618 123H143.428L141.3 119H140.237C139.067 119 138.12 119.9 138.12 121L138.109 133C138.109 134.1 139.067 135 140.237 135H157.255C158.425 135 159.382 134.1 159.382 133V119Z' fill='%23444444'/%3E%3Crect x='57' y='182' width='91.4727' height='59' fill='%23E2E4E7'/%3E%3Crect x='156.982' y='182' width='91.4727' height='59' fill='%23E2E4E7'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M112.309 203H93.1634C92.0998 203 91.0361 204 91.0361 205V219C91.0361 220.1 91.9934 221 93.1634 221H112.309C113.372 221 114.436 220 114.436 219V205C114.436 204 113.372 203 112.309 203ZM112.309 218.92C112.294 218.941 112.269 218.962 112.248 218.979L112.248 218.979C112.239 218.987 112.23 218.994 112.224 219H93.1634V205.08L93.2485 205H112.213C112.235 205.014 112.258 205.038 112.276 205.057C112.284 205.066 112.292 205.074 112.298 205.08V218.92H112.309ZM99.0134 212.5L101.672 215.51L105.395 211L110.182 217H95.2907L99.0134 212.5Z' fill='%2340464D'/%3E%3Cmask id='mask0' mask-type='alpha' maskUnits='userSpaceOnUse' x='91' y='203' width='24' height='18'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M112.309 203H93.1634C92.0998 203 91.0361 204 91.0361 205V219C91.0361 220.1 91.9934 221 93.1634 221H112.309C113.372 221 114.436 220 114.436 219V205C114.436 204 113.372 203 112.309 203ZM112.309 218.92C112.294 218.941 112.269 218.962 112.248 218.979L112.248 218.979C112.239 218.987 112.23 218.994 112.224 219H93.1634V205.08L93.2485 205H112.213C112.235 205.014 112.258 205.038 112.276 205.057C112.284 205.066 112.292 205.074 112.298 205.08V218.92H112.309ZM99.0134 212.5L101.672 215.51L105.395 211L110.182 217H95.2907L99.0134 212.5Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask0)'%3E%3Crect x='89.9727' y='200' width='25.5273' height='24' fill='%2340464D'/%3E%3C/g%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M212.291 203H193.145C192.082 203 191.018 204 191.018 205V219C191.018 220.1 191.975 221 193.145 221H212.291C213.354 221 214.418 220 214.418 219V205C214.418 204 213.354 203 212.291 203ZM212.291 218.92C212.276 218.941 212.251 218.962 212.23 218.979L212.23 218.979C212.221 218.987 212.212 218.994 212.206 219H193.145V205.08L193.23 205H212.195C212.217 205.014 212.24 205.038 212.258 205.057C212.266 205.066 212.274 205.074 212.28 205.08V218.92H212.291ZM198.995 212.5L201.654 215.51L205.377 211L210.164 217H195.273L198.995 212.5Z' fill='%2340464D'/%3E%3Cmask id='mask1' mask-type='alpha' maskUnits='userSpaceOnUse' x='191' y='203' width='24' height='18'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M212.291 203H193.145C192.082 203 191.018 204 191.018 205V219C191.018 220.1 191.975 221 193.145 221H212.291C213.354 221 214.418 220 214.418 219V205C214.418 204 213.354 203 212.291 203ZM212.291 218.92C212.276 218.941 212.251 218.962 212.23 218.979L212.23 218.979C212.221 218.987 212.212 218.994 212.206 219H193.145V205.08L193.23 205H212.195C212.217 205.014 212.24 205.038 212.258 205.057C212.266 205.066 212.274 205.074 212.28 205.08V218.92H212.291ZM198.995 212.5L201.654 215.51L205.377 211L210.164 217H195.273L198.995 212.5Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask1)'%3E%3Crect x='189.955' y='200' width='25.5273' height='24' fill='%2340464D'/%3E%3C/g%3E%3Crect x='57' y='38' width='191.455' height='34' fill='%23E2E4E7'/%3E%3Cpath d='M155.918 47.8V54.04H149.537V47.8H146.346V63.4H149.537V57.16H155.918V63.4H159.109V47.8' fill='%2340464D'/%3E%3Crect x='58' y='249' width='191' height='37' fill='%23E2E4E7'/%3E%3Cpath d='M160.127 261.4H150.606C149.546 261.4 148.576 261.64 147.696 262.12C146.802 262.612 146.1 263.272 145.59 264.1C145.066 264.928 144.811 265.84 144.811 266.824C144.811 267.808 145.066 268.72 145.59 269.548C146.1 270.376 146.802 271.036 147.696 271.516C148.576 272.008 149.546 272.248 150.606 272.248H151.155V279.4C151.155 279.724 151.282 280.012 151.525 280.252C151.78 280.48 152.086 280.6 152.431 280.6C152.788 280.6 153.082 280.48 153.337 280.252C153.592 280.012 153.72 279.724 153.72 279.4V265C153.72 264.676 153.835 264.388 154.09 264.148C154.345 263.92 154.652 263.8 154.996 263.8C155.341 263.8 155.647 263.92 155.903 264.148C156.145 264.388 156.273 264.676 156.273 265V279.4C156.273 279.724 156.4 280.012 156.656 280.252C156.911 280.48 157.205 280.6 157.562 280.6C157.907 280.6 158.213 280.48 158.468 280.252C158.711 280.012 158.838 279.724 158.838 279.4V263.8H160.127C160.472 263.8 160.766 263.68 161.021 263.44C161.276 263.212 161.404 262.924 161.404 262.6C161.404 262.276 161.276 261.988 161.021 261.748C160.766 261.52 160.472 261.4 160.127 261.4Z' fill='%2340464D'/%3E%3C/svg%3E%0A"},e))},cn=function(e){return Object(r.createElement)("img",Object(Q.a)({alt:"",src:"data:image/svg+xml,%3Csvg width='306' height='286' viewBox='0 0 306 286' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='306' height='286' rx='4' fill='%2366C6E4'/%3E%3Crect x='34.5' y='89.9424' width='237' height='113.423' fill='white' stroke='%238D96A0'/%3E%3Crect x='42.2383' y='98.5962' width='219.692' height='95.6618' fill='%23E2E4E7'/%3E%3Crect x='34.5' y='71.6346' width='27.0718' height='18.1324' fill='white' stroke='%238D96A0'/%3E%3Crect x='152.89' y='71.6346' width='18.5282' height='18.1324' fill='white' stroke='%238D96A0'/%3E%3Crect x='61.3516' y='71.6346' width='51.482' height='18.1324' fill='white' stroke='%238D96A0'/%3E%3Crect x='112.613' y='71.6346' width='40.4974' height='18.1324' fill='white' stroke='%238D96A0'/%3E%3Cpath d='M157.577 137.408H149.383C148.471 137.408 147.636 137.628 146.878 138.068C146.109 138.518 145.505 139.122 145.066 139.88C144.615 140.638 144.396 141.473 144.396 142.373C144.396 143.274 144.615 144.109 145.066 144.867C145.505 145.625 146.109 146.229 146.878 146.668C147.636 147.119 148.471 147.339 149.383 147.339H149.855V153.885C149.855 154.182 149.965 154.446 150.173 154.665C150.393 154.874 150.657 154.984 150.953 154.984C151.261 154.984 151.514 154.874 151.733 154.665C151.953 154.446 152.063 154.182 152.063 153.885V140.704C152.063 140.407 152.162 140.144 152.381 139.924C152.601 139.715 152.865 139.605 153.161 139.605C153.458 139.605 153.721 139.715 153.941 139.924C154.15 140.144 154.26 140.407 154.26 140.704V153.885C154.26 154.182 154.37 154.446 154.589 154.665C154.809 154.874 155.062 154.984 155.369 154.984C155.666 154.984 155.929 154.874 156.149 154.665C156.358 154.446 156.468 154.182 156.468 153.885V139.605H157.577C157.874 139.605 158.126 139.496 158.346 139.276C158.566 139.067 158.676 138.803 158.676 138.507C158.676 138.21 158.566 137.947 158.346 137.727C158.126 137.518 157.874 137.408 157.577 137.408Z' fill='%2340464D'/%3E%3Crect x='41.3232' y='77.1135' width='15.8667' height='7.17464' fill='%23E2E4E7'/%3E%3Crect x='66.9536' y='77.1135' width='7.32308' height='7.17464' fill='%23E2E4E7'/%3E%3Crect x='77.9385' y='77.1135' width='7.32308' height='7.17464' fill='%23E2E4E7'/%3E%3Crect x='88.9229' y='77.1135' width='7.32308' height='7.17464' fill='%23E2E4E7'/%3E%3Crect x='99.9077' y='77.1135' width='7.32308' height='7.17464' fill='%23E2E4E7'/%3E%3Crect x='118.215' y='77.1135' width='7.32308' height='7.17464' fill='%23E2E4E7'/%3E%3Crect x='129.2' y='77.1135' width='7.32308' height='7.17464' fill='%23E2E4E7'/%3E%3Crect x='140.185' y='77.1135' width='7.32308' height='7.17464' fill='%23E2E4E7'/%3E%3Crect x='158.492' y='77.1135' width='7.32308' height='7.17464' fill='%23E2E4E7'/%3E%3C/svg%3E%0A"},e))},an=function(e){return Object(r.createElement)("img",Object(Q.a)({alt:"",src:"data:image/svg+xml,%3Csvg width='306' height='286' viewBox='0 0 306 286' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='306' height='286' rx='4' fill='%2366C6E4'/%3E%3Cmask id='mask0' mask-type='alpha' maskUnits='userSpaceOnUse' x='141' y='25' width='24' height='24'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M152.765 25C146.294 25 141 30.2943 141 36.7651C141 43.2359 146.294 48.5302 152.765 48.5302C159.236 48.5302 164.53 43.2359 164.53 36.7651C164.53 30.2943 159.236 25 152.765 25ZM151.589 32.0591V35.5886H148.059V37.9416H151.589V41.4711H153.942V37.9416H157.471V35.5886H153.942V32.0591H151.589ZM143.353 36.7651C143.353 41.9417 147.588 46.1772 152.765 46.1772C157.942 46.1772 162.177 41.9417 162.177 36.7651C162.177 31.5885 157.942 27.353 152.765 27.353C147.588 27.353 143.353 31.5885 143.353 36.7651Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask0)'%3E%3Crect x='141' y='25' width='23.5253' height='23.5253' fill='white'/%3E%3C/g%3E%3Cg filter='url(%23filter0_d)'%3E%3Crect x='48' y='63' width='210' height='190' fill='white'/%3E%3C/g%3E%3Cmask id='mask1' mask-type='alpha' maskUnits='userSpaceOnUse' x='143' y='139' width='20' height='16'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M143.75 141C143.75 140.17 144.42 139.5 145.25 139.5C146.08 139.5 146.75 140.17 146.75 141C146.75 141.83 146.08 142.5 145.25 142.5C144.42 142.5 143.75 141.83 143.75 141ZM143.75 147C143.75 146.17 144.42 145.5 145.25 145.5C146.08 145.5 146.75 146.17 146.75 147C146.75 147.83 146.08 148.5 145.25 148.5C144.42 148.5 143.75 147.83 143.75 147ZM145.25 151.5C144.42 151.5 143.75 152.18 143.75 153C143.75 153.82 144.43 154.5 145.25 154.5C146.07 154.5 146.75 153.82 146.75 153C146.75 152.18 146.08 151.5 145.25 151.5ZM162.25 154H148.25V152H162.25V154ZM148.25 148H162.25V146H148.25V148ZM148.25 142V140H162.25V142H148.25Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask1)'%3E%3Crect x='141' y='135' width='24' height='24' fill='%23444444'/%3E%3C/g%3E%3Cmask id='mask2' mask-type='alpha' maskUnits='userSpaceOnUse' x='139' y='54' width='28' height='11'%3E%3Crect x='139' y='54' width='28' height='11' fill='%23C4C4C4'/%3E%3C/mask%3E%3Cg mask='url(%23mask2)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M139 67L153 54L167 67H139Z' fill='white'/%3E%3C/g%3E%3Crect x='59' y='74' width='188' height='28' rx='3' stroke='%231486B8' stroke-width='2'/%3E%3Cpath d='M211 207.47L212.76 211H227V219H211V207.47ZM229 205H225L227 209H224L222 205H220L222 209H219L217 205H215L217 209H214L212 205H211C209.9 205 209.01 205.9 209.01 207L209 219C209 220.1 209.9 221 211 221H227C228.1 221 229 220.1 229 219V205Z' fill='%23444444'/%3E%3Cpath d='M94.0001 136.4H85.0481C84.0521 136.4 83.1401 136.64 82.3121 137.12C81.4721 137.612 80.8121 138.272 80.3321 139.1C79.8401 139.928 79.6001 140.84 79.6001 141.824C79.6001 142.808 79.8401 143.72 80.3321 144.548C80.8121 145.376 81.4721 146.036 82.3121 146.516C83.1401 147.008 84.0521 147.248 85.0481 147.248H85.5641V154.4C85.5641 154.724 85.6841 155.012 85.9121 155.252C86.1521 155.48 86.4401 155.6 86.7641 155.6C87.1001 155.6 87.3761 155.48 87.6161 155.252C87.8561 155.012 87.9761 154.724 87.9761 154.4V140C87.9761 139.676 88.0841 139.388 88.3241 139.148C88.5641 138.92 88.8521 138.8 89.1761 138.8C89.5001 138.8 89.7881 138.92 90.0281 139.148C90.2561 139.388 90.3761 139.676 90.3761 140V154.4C90.3761 154.724 90.4961 155.012 90.7361 155.252C90.9761 155.48 91.2521 155.6 91.5881 155.6C91.9121 155.6 92.2001 155.48 92.4401 155.252C92.6681 155.012 92.7881 154.724 92.7881 154.4V138.8H94.0001C94.3241 138.8 94.6001 138.68 94.8401 138.44C95.0801 138.212 95.2001 137.924 95.2001 137.6C95.2001 137.276 95.0801 136.988 94.8401 136.748C94.6001 136.52 94.3241 136.4 94.0001 136.4Z' fill='%23444444'/%3E%3Cmask id='mask3' mask-type='alpha' maskUnits='userSpaceOnUse' x='76' y='204' width='22' height='18'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M96 204H78C77 204 76 205 76 206V220C76 221.1 76.9 222 78 222H96C97 222 98 221 98 220V206C98 205 97 204 96 204ZM96 219.92C95.9861 219.941 95.9624 219.962 95.9426 219.979C95.9339 219.987 95.9261 219.994 95.92 220H78V206.08L78.08 206H95.91C95.9309 206.014 95.9518 206.038 95.9694 206.057C95.977 206.066 95.9839 206.074 95.99 206.08V219.92H96ZM83.5 213.5L86 216.51L89.5 212L94 218H80L83.5 213.5Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask3)'%3E%3Crect x='75' y='201' width='24' height='24' fill='%23444444'/%3E%3C/g%3E%3Cpath d='M161 205V217H149V205H161ZM161 203H149C147.9 203 147 203.9 147 205V217C147 218.1 147.9 219 149 219H161C162.1 219 163 218.1 163 217V205C163 203.9 162.1 203 161 203ZM152.5 212.67L154.19 214.93L156.67 211.83L160 216H150L152.5 212.67ZM143 207V221C143 222.1 143.9 223 145 223H159V221H145V207H143Z' fill='%23444444'/%3E%3Cmask id='mask4' mask-type='alpha' maskUnits='userSpaceOnUse' x='210' y='140' width='18' height='12'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M215.62 152H210.38L212.38 148H210V140H218V147.24L215.62 152ZM220.38 152H225.62L228 147.24V140H220V148H222.38L220.38 152ZM224.38 150H223.62L225.62 146H222V142H226V146.76L224.38 150ZM214.38 150H213.62L215.62 146H212V142H216V146.76L214.38 150Z' fill='white'/%3E%3C/mask%3E%3Cg mask='url(%23mask4)'%3E%3Crect x='207' y='134' width='24' height='24' fill='%23444444'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d' x='18' y='36' width='270' height='250' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0'/%3E%3CfeOffset dy='3'/%3E%3CfeGaussianBlur stdDeviation='15'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.0980392 0 0 0 0 0.117647 0 0 0 0 0.137255 0 0 0 0.1 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A"},e))},ln=function(e){return Object(r.createElement)("img",Object(Q.a)({alt:"",src:"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='306px' height='286px' viewBox='0 0 306 286' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3C!-- Generator: Sketch 61.2 (89653) - https://sketch.com --%3E%3Ctitle%3EPage 1%3C/title%3E%3Cdesc%3ECreated with Sketch.%3C/desc%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Documentation'%3E%3Crect id='bg' fill='%2361C6E6' x='0' y='0' width='306' height='286' rx='4'%3E%3C/rect%3E%3Crect id='page' fill='%23FFFFFF' x='36' y='30' width='234' height='256'%3E%3C/rect%3E%3Crect id='text' fill='%23E2E4E7' x='124' y='119' width='106' height='13'%3E%3C/rect%3E%3Crect id='heading' fill='%23E2E4E7' x='76' y='96' width='154' height='13'%3E%3C/rect%3E%3Crect id='header' fill='%2340464D' x='36' y='30' width='234' height='41'%3E%3C/rect%3E%3Cimage id='WordPress-logotype-wmark-white' x='45' y='32' width='37' height='37' xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA+gAAAPoCAYAAABNo9TkAAAABGdBTUEAALGOfPtRkwAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAD6KADAAQAAAABAAAD6AAAAAAYK4+nAABAAElEQVR4AezdB7gkRdX/8UV2yTmDhMuSkQySQUCSpBWUvCACggFFRPQVRREB/6+gooiB8BphEVCygESRIEmyBAlLRiTnzP93oGeZe/eGmek63VXV33qeeubemelTpz49PV013dMzahQFAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQACBUAJThApEHAQQQAABBBAII/DOO++MVqSpijr1CLf2PHuOlddUXy9q6++hbl+fYoop3rSFKAgggAACCCAQhwAT9DjWA1kggAACCGQkoAn2tOrO7KpzFLftf7fua7+dXs9rTbTt9gOqVZS31YhN6FuT+Jf095OqTw1zO+kxTfBf0fMoCCCAAAIIIBBIgAl6IEjCIIAAAgjkL6CJ9wzq5cKqfW238+rv9sm2TcanU21CeVmdnDRh1982uX9MdaLq/a1bTeRf1N8UBBBAAAEEEBhBgAn6CEA8jAACCCDQHIHiyHefemx14ETc/rfJN6V7AZvET5qw6++Jbf9P5Ei8NCgIIIAAAghIgAk6LwMEEEAAgUYJaBJup5Avqbqs6odU2yfic+t/SvUC/1GT7RP42/X/rap3avJup+BTEEAAAQQQaIQAE/RGrGY6iQACCDRTQJPx+dVzm4gvV1T72ybnY1Qp8Qu8oRTvVLXJ+i1FvVWT9of1NwUBBBBAAIHsBJigZ7dK6RACCCDQPAFNxO0ia8uo2kS8fUI+a/M0GtHjZ9TLSRP24u/bNHG3i9xREEAAAQQQSFaACXqyq47EEUAAgWYKaDJuF2BbTXUt1ZVUbVI+VpV9mhAaXN5R3+9TtYn7P1WvVL1Gk3a7kB0FAQQQQACBJAQYzCSxmkgSAQQQaK6AJuTzqfdrqtqEfG3VFVTtd8IpCIwkYL/zfpPqFao2Yb9KE/ZHdUtBAAEEEEAgSgEm6FGuFpJCAAEEmimgybj9/rdduM0m4626cDM16LWTgF2MzibrrXq7Ju32e/AUBBBAAAEEahdggl77KiABBBBAoLkCA05Xtwn5GqozN1eEntcg8JzavFq1NWHntPgaVgJNIoAAAgi8J8AEnVcCAggggEBlAsUR8g+rwU2LuopuOV29sjVAQx0I2Gnx16ueX9TrOMLegRpPQQABBBAIIsAEPQgjQRBAAAEEhhLQpHwuPbax6sdUN1GdXZWCQCoCTynRC1TPU/2rJutPpJI4eSKAAAIIpCfABD29dUbGCCCAQNQCmpBPqQTtKut2lNwm5Sursr8RAiV5AbtS/A2qNlm3I+x2OvxbuqUggAACCCAQRIABUxBGgiCAAALNFtCkfB4JtE5bt6Pl/P54s18STem9/R77X1XfPR1ek/XHm9Jx+okAAggg4CPABN3HlagIIIBA9gKalNtR8nGqNjG3nz5jnyIESmMF7Oi6/aSbTdbP1GT9msZK0HEEEEAAgZ4FGEz1TMeCCCCAQPMENCm309W3V91OdaHmCdBjBDoWeEDPPEX1j5qs22nxFAQQQAABBEYUYII+IhFPQAABBJotoEn58hJoTcoXabYGvUegJ4F7tVRrsn5zTxFYCAEEEECgEQJM0BuxmukkAggg0J2AJuXLaAk7Sm4T88W7W5pnI4DAMAJ367E/qp6iI+u3DfM8HkIAAQQQaKAAE/QGrnS6jAACCAwmoEn5krq/daR86cGew30IIBBU4F+K1jqyfmfQyARDAAEEEEhSgAl6kquNpBFAAIEwApqUL6pIrUn5cmGiEqWkgF1s7A3V11VfK27t75H+11NGTVXUqdv+tvuG+n+MHmMsIIQIyi3KoTVZvyeCfEgBAQQQQKAGAXbKNaDTJAIIIFCngCbl06j9T6jupbpunblk3Pbb6pv9BNdTXdTn9NzXdNqzTc4rK3o92CTdJvAzq87eRbWf0vuAKiW8wOUKeazqn/R6eDV8eCIigAACCMQqwAQ91jVDXggggEBgAU3EllXIz6iOV+V3ynv3fUWLPqg6cUB9QP//V/Vp1Wc0sbIj4dkWvZ5sDGGvo9lU51S1q/r3DagL6v9pVSm9CdiHPH9QPU6vp1t7C8FSCCCAAAIpCTBBT2ltkSsCCCDQpYAmUTNoETuF3Sbmq3W5eFOf/rI6bpPtiUVt/3uiJkr/0f2UDgX0GpxbT+1rq+0Teft7OlXKyAL2u+rHqZ6s1+BLIz+dZyCAAAIIpCjABD3FtUbOCCCAwAgCmhStoqfYpHxH1RlHeHpTH7ZTyu2oZHu9W5OfJ5oKUke/9VqdS+3aLwXYGR7t1U65p0wu8ILumqBqR9Wvn/xh7kEAAQQQSFmACXrKa4/cEUAAgTYBTXRsQmOnr9vEfPm2h5r+p11cza6Q3T4Rv1WTm4eaDhNz//V6XkD5tU/Y7W/7pQG76B3lPYGbdWNH1f+g17N94ERBAAEEEEhcgAl64iuQ9BFAAAFNZNaSgl3wbVvVpn/f1ybdN6m2T8bv0uTlTd1HSVxAr/XR6sISqu0T9xX0v03mm1zsuginqh6r1/qVTYag7wgggEDqAkzQU1+D5I8AAo0UKCYqn1Dnv6pqp7M3sdik2ybjV6napOQqTU4e1i2lYQLaHuZXl9dUtQ+r7NYm7TaZb2Kx096PVLUrwPPBVBNfAfQZAQSSFmCCnvTqI3kEEGiagCYiM6rPe6h+WdUusNWkYle0vlr13cm4bq/VBMQu6EZBoJ+AthO78Nyqqq1J+xr6264436TygDp7lOoJ2k7se+sUBBBAAIEEBJigJ7CSSBEBBBDQhOODUviS6t6qTbl41t3qa2sybrd3aqLxjm4pCHQloO3Hxjv2/fXWEXa7tQvTNaHYd9N/pfpTbT+PNKHD9BEBBBBIWYAJesprj9wRQCB7AU0sllMn7TT2HVTHZN7h+9S/81X/qnqlJhNPZt5fulejgLatOdS8TdQ3Vt1UdaxqzuUNde5k1SO1bd2Sc0fpGwIIIJCyABP0lNceuSOAQLYCmjzYpMEm5htl28lRo+z09L+pnqd6viYN/864r3QtcgFtc4spRZuof0z1I6o5/z77heqfTdTtwzAKAggggEBEAkzQI1oZpIIAAs0W0ARhKgnY75bvr2pXqc6x3KFO2VFyq5drgvBqjp2kT2kLaFucRj1YV9Um7FaXUs2x2K8d/FB1grbF13PsIH1CAAEEUhNggp7aGiNfBBDITkCTgenVqS+o7qs6X2YdfF79uVj13Um5JgEPZtY/utMAAW2jC6qbrcn6R/X3TJl1+1H15yeqx2gbfSmzvtEdBBBAICkBJuhJrS6SRQCBnASKo3SfU5/+R3WujPp2r/pymqqdum4/fWbffaUgkIWAtlu7FsSaqnYq/CdVF1HNpTyhjvw/1V9ou+XsllzWKv1AAIGkBJigJ7W6SBYBBHIQ0ADfTmX/jOqBqrkcMZ+ovpxiVQP7G3RLQaARAtqeV1ZHtytqXyadtiPqh6sep+359Uz6RDcQQACBJASYoCexmkgSAQRyENBAfrT68WnVb6naKbOpFztd/VRVm5Rfm3pnyB+BsgLaxu23122yvq1qLtv4oerLr7WNv6lbCgIIIICAswATdGdgwiOAAAIatE8phZ1Vv6Oa+k85Paw+2Onrf1S9RoN2fpdcEBQE2gW0zdv4ajXV7VXtNPj5VVMu9yn576qeqG3+rZQ7Qu4IIIBA7AJM0GNfQ+SHAALJCmiQ/gElb0fTDlZdQjXVYqe72qTcTmG375QzKU91TZJ35QLFZN2+s27vBTZZT/lrLXcp/4NV7ayZt3VLQQABBBAILMAEPTAo4RBAAIFiQL61JOyI0zKJitjV109SnaB6BYPxRNciaUclUHxot7aSsp9T3Ek11avB36bc7Yyg0/nATgoUBBBAAAEEEEAAgTgFNADfQvWfqqmWK5X4bqrTxSlMVgjkIWDbWLGt2TaXarH3ui3yWCP0AgEEEEAAAQQQQCAbAQ1Sl1e9VDXF8qSS/pHq0tmsEDqCQEICtu0V26BtiymWS5X08gmRkyoCCCCAAAIIIIBAjgIalM6p+ivVt1RTKm8r2YtVd1CdOsd1Q58QSE3AtsVim7Rt07bRlIq9B9p74ZypuZMvAggggAACCCCAQOICGoSOUf2K6rOqKZXHlOzhqoskvgpIH4GsBWwbLbZV22ZTKvaeaO+NY7JeQXQOAQQQQAABBBBAIA4BDTzte+Z3qaZS7MjWuaofVx0dhyJZIIBAJwK2zRbbrm3Dti2nUuw9ku+nd7KSeQ4CCCCAAAIIIIBA9wIabNr3RC9IZXSsPJ9W/b7qAt33liUQQCA2AduWi23atu1Uir1ncn2L2F5M5IMAAggggAACCKQqoMHlbKo/VX1DNYVyn5L8kuoMqZqTNwIIDC1g23axjdu2nkKx9057D51t6F7xCAIIIIAAAggggAACwwhoMGmnlu6j+pRqCuUaJbmd6pTDdIuHEEAgEwHb1ott3rb9FIq9l9p7Kl+1yeQ1SDcQQAABBBBAAIFKBDSA3Fj1dtXYi13p+UzVdSqBoREEEIhSwN4DiveCFK7+bu+tG0cJSVIIIIAAAggggAAC8Qho0DiX6gTV2MsrSvCXqovHo0cmCCBQt4C9JxTvDfYeEXux99q56jajfQQQQAABBBBAAIEIBTRQ3FU19tPZn1COB6vyW8MRvoZICYFYBOw9onivsPeMmIu95+4aixt5IIAAAggggAACCNQsoMHhwqoXxjyCVW4TVT+rOk3NXDSPAAIJCeg9Y9rivcPeQ2Iuf1VyCydES6oIIIAAAggggAACIQU0GLQLLH1F9SXVWMvDSuzzqlOF7DuxEECgWQL2HlK8l9h7SqzF3ovtPZkLXTbr5UlvEUAAAQQQQKDpAhoALq96nWqs5XEl9mVVjpg3/cVK/xEIKGDvKcV7i73HxFrsvXn5gN0mFAIIIIAAAggggECMAhr02eD0cNVYf9P8v8rta6rTxehHTgggkIeAvccU7zX2nhNjsfdoe6/mQ8o8XnL0AgEEEEAAAQQQ6C+ggd5HVO9WjbE8o6S+pTpj/6z5DwEEEPATsPec4r3H3oNiLPae/RE/ASIjgAACcQlMEVc6ZIMAAgiEF9DgbmZFPUJ1T9XY3vdeUE5Hqf5wiimmeE63lAYI6DVp37GdTXUO1VlVZ2ir9iHNwP/tKOLoEeo7evz1EeprAx5/Vf8/o/q06lPFrf39tF6PFovSEIHifXJ/dffLqrF9UGiv7eNVD+B9UgoUBBDIWiC2gWrW2HQOAQSqF9Cgc5xa/YXqvNW3PmyLL+nRn6keoQGnTYwoiQvotWb7VPv5u/lVFyiqve7sPpuIt9/apPwDqjGXF5Xcu5N13bZP3u3vR1QfKOqDeg0/r78pGQjodTy7unGA6j6q00fWpceUz+f0ejszsrxIBwEEEAgmwAQ9GCWBEEAgJgENMu073D9W3SumvJTLm6r2gcGhGmQ+EVlupDOCgF5XNuFerKiL6NYm4q0Jud1OrdrE8qw6/aDqpEn7gL8f1+vdjoJSEhHQa30upfot1c+p2tkbMZVjlcx+ek29HFNS5IIAAgiEEGCCHkKRGAggEJWABpYrK6ETVZeIKrFRoy5QPjaovCOyvEinTUCvn5n074dUF1dtTcZbt3bqOaV7ATtd/t+qtw+o92h7sA+tKJEKaHtYSqnZh52bRJbiXcpnZ71+bogsL9JBAAEESgkwQS/Fx8IIIBCTgAaSdsqwnZr5PdUxEeV2t3L5igaS50aUU+NT0evFjgraJHxZ1eWKW/u7T5VSjYBN3G2iNXDifq+2l7eqSYFWOhHQ9rK5nvcjVdtmYilvKJGDVO2rQm/HkhR5IIAAAmUEmKCX0WNZBBCIRkCDRzu9+Peq60WT1KhRdtrvIao/0+DRBpKUmgT0+rAPbGwSvmpRV9CtHRls6inp6nrUxS5ed6eqHR29RvUfqrczCZNCjaXYjuy76d9WnaXGVAY2fZnu2EWvj4cHPsD/CCCAQGoCTNBTW2PkiwACkwlo0Lit7vyVql14K4ZiR/6OUz1IA8YnY0ioSTno9WD7tkVVW5Nxu7UJOb+nLISEi1207jpVm6xbvUbb1390S6lYQNuYXfTQzlT6jOqUFTc/VHP2awR76zVx6lBP4H4EEEAgBQEm6CmsJXJEAIFBBTRItO8DH62626BPqOfOS9Ssfc/8lnqab16reh3Yqeorqa6rar+XvJZqLB/WKBWKo8BExW4dYbdJ+43a9l5zbI/QbQLa9uysFPt++gZtd9f952+UwBf1OrAPdCgIIIBAcgJM0JNbZSSMAAImoIHharo5UXUR+z+Ccq9ysN/oPT2CXLJOQeveTku3o+I2IbdqE/LpVSkI2OT8StWLVC9U/ae2ybd1S3EU0Da5tcIfoRrT+7FdQM4+vKEggAACSQkwQU9qdZEsAghoIGinUx6o+m1VO3Jad3lBCRymepQGgxy5c1gbWue2r7IjdXYVaatrqnK6uhAoIwrYac+XqNpk/SJto/ZBGsVBoPjg7MsK/U3VGR2a6Dak/TqAXQPkcK13+9oRBQEEEEhCgAl6EquJJBFAwAQ0AOzTzR9U7YhpDOUMJfEFDf4ejSGZnHLQup5T/dlI1SbkG6vOo0pBoKzARAV4d7Ku24u17T5VNiDL9xfQtjuf7jlG9eP9H6ntPzujYrzW9cTaMqBhBBBAoAsBJuhdYPFUBBCoT0CDvk3V+kmqMXy3+HHlYd9xPK0+kbxa1vq1/dEqquNUbV3bd8rZRwmB4ibwjiLfqPoX1dO1Pf/TraUGBtY2/Ul1264REsOHa3YmxU5ax+c3cFXQZQQQSEyAwU9iK4x0EWiaQDFx+5b6fbDqByLo/wnK4asa6D0bQS5Jp6B1O5U6sJ6qHWmzibkdeaMgUJfAA2r49KJeoW2c766XXBPaxmdRiCNV9ygZKsTitj4PVj1U69Y+nKEggAACUQowQY9ytZAUAgiYgAZ3M+vm96pb2v81l3vU/l4a2F1acx5JN691OpM68DFVm5Rvpmr/UxCITeAJJXSW6p9V7VT412NLMKV8tN2vr3yPVV00grzPVg72m+nPRZALKSCAAAKTCTBBn4yEOxBAIAYBDeiWVR42OK57QGcXGvqh6sEa0L2qW0qXAlqXdoX1rVR3ULXT1+3IOQWBVASeV6LnqtrR9fP0PsDPd/Ww5vQ+MI0WO1h1f9XRqnUW+8B1G63LW+tMgrYRQACBwQSYoA+mwn0IIFCrgAZyOyqB41WnqzWRUaNuUPt7ahB3U815JNe81qFNwu1IuU3KbXJe97pUChQESgvYh3Tnq/5O9Vy9N3BkvUtSvTesoEXs/X3lLhcN/fSXFdDe3yeEDkw8BBBAoIwAE/QyeiyLAAJBBTRws6Mq9lu6Xw4auPtgNnD7juqPNXjj53k69NP6s5/A20DVJuXbqM6iSkEgV4Gn1LGTVX+r94nrcu2kR7+K94r9FPu7qnV/eHeUcjhA69DOlqIggAACtQswQa99FZAAAgiYgAZsc+vmVNV17P8ay0Vqe28N1u6rMYekmta6s68hfFr1U6ofTCp5kkUgjMAdCvNb1T/oveORMCHzj6L3jrHq5a9UN6y5t39X+9tq3f2n5jxoHgEEEOAnbHgNIIBA/QIapK2pLGxyPl+N2dhR8/00QLMLGVFGENA6m15P2VZ1d9W6P1QZIVseRqAyAbtS+MWqNlm3n26z9xXKCAJ6P9lLT/mxap1H0x9V+zZJv2qEdHkYAQQQcBXgCLorL8ERQGAkAQ3MvqDn2MBszEjPdXzcvmtuv5F7t2MbWYTW+lpLHbFJ+XaqM2TRKTqBgI/ACwp7mur/6b3lCp8m8omq95Yl1JsTVev8bvobat8+qD0mH1l6ggACqQkwQU9tjZEvApkIaDBmV/S1o9W71NglO9p1hOpBGpDZwIwyiECxrnbSQ/uqLjfIU7gLAQSGF7hZD/9M9US917wy/FOb+6jea+yD2u+pHqD6gRolfqe27atOdlFACgIIIFCpABP0SrlpDAEETECDsDl1c6bqGvZ/TeVhtWu/hXtZTe1H36zW07xK8vOqe6vaOqMggEA5gWe0+AmqP9d7z/3lQuW7tN571lPvfq86f429vFptj9N6+m+NOdA0Agg0UIAJegNXOl1GoE4BDbwWV/t/UV2kxjxOVdt2dMQGy5QBAlpHq+guO1q+vWqdXz0YkBn/IpCNgJ29c66qHVW/UO9F72TTs0Ad0fvQrAplF5DbNlDIXsLcq4U20/rh60+96LEMAgj0JMAEvSc2FkIAgV4ENOBaR8udoTpbL8sHWOZFxfiiBlu/CRArqxBaN1OqQ/bTaDYxt++ZUxBAoBqBu9TMMaq/0XuTfW+d0iag96bd9O/RqnVd8+Jptf1xrZu/65aCAAIIuAswQXcnpgEEEDABDbJ21M2vVae2/2so16jNnTXIsiMilEJA68WOUu2puo/qgsXd3CCAQPUCNjm37z7/RO9T/66++Xhb1PuUnXFlF5BbraYsX1O7n9Z6mVBT+zSLAAINEqjzAhwNYqarCDRbQIOrAyVgg6s6Judvqd3vqa7N5FwKRdE6WVL15/r3IdUfqDI5L2y4QaAmgRnVrv2qxR3aNieoLltTHtE1W7x3r63E7L3c3tOrLrbvOlHrxPZlFAQQQMBVgCPorrwER6DZAhrMjJbAL1X3qEniAbU7XoO7K2pqP7pmtU42VlL7qW6iyj4gujVEQghMErDvpZ+terjew+wMIIoE9B5mE/U/qC5UE8gJavezWidv1tQ+zSKAQOYCDM4yX8F0D4G6BDSImklt228Ab1RTDuerXTul3b4/2Pii9bGhEOzo0+qNxwAAgfQELlbKh+n97NL0Ug+fsd7P7Ks5J6luGj56RxEv1LM+qfXxfEfP5kkIIIBAFwKc4t4FFk9FAIHOBDR4WkDPtKPWdUzO7ajToaqbMzl/92jTuloff5OHDSiZnAuBgkCCAh9VzpdoW75KdYsE8w+ast7b7Rc4Nle193p7z6+62L7timJfV3XbtIcAApkLcAQ98xVM9xCoWkADlhXVpv180LxVt632nlO13za300IbXbQebDJuR8ztyDkFAQTyErhZ3Tlc9TS939lPtjW26L1uS3X+96oz14DwmNq0D4NvrKFtmkQAgUwFmKBnumLpFgJ1CGigZEc0Tlat4+dwblO7W2ugdE8dfY+lTa2DlZXLIaqbxZITeSCAgJuA/UTbN/W+9ye3FhIIrPe9RZXm6arL1JCu/XznDloH9sE0BQEEECgtwCnupQkJgAACJqAB0h66OVO1jsn5BLW7epMn5/JfTtUGqNerMjkXAgWBBggsoT6epm3/GtX1GtDfQbtYvPfbWUO2L6i62D7vTPnvXnXDtIcAAnkKMEHPc73SKwQqFdDA5Etq8DjVKStteNQou4rufhqc7aT6UsVtR9Gc7JdS/aOSuUn141EkRRIIIFC1wKpq8FK9F5ynunzVjcfQnu0DbF+gXPZTrfoK67bvO172ti+kIIAAAqUEOMW9FB8LI4CABiTfkIJ9F7Lq8h81uJ0GZJdX3XAM7cndTun8jqoNSPmwNYaVQg4IxCFgF02zK5wfpPfH++NIqdos9P64rlo8RXXualt+t7UD5f79GtqlSQQQyESACXomK5JuIFCHgAZBh6ndA2to+2q1aT9x82gNbdfapMzt4nt25eJdVUfXmgyNI4BAzAKvK7lfqh6q98r/xpyoR256r5xPcU9TXcMj/ggx7bfrvznCc3gYAQQQGFSACfqgLNyJAALDCWjgY+8dR6nWcTrfz9XulzX4eWO4HHN7TOZj1Kd9Vb+tOmNu/aM/CCDgJvCCIh+p+iO9b9oFzRpTivdN21d9voZO/1Rt2r6qjp+Bq6G7NIkAAqEEmKCHkiQOAg0R0IDHTqc+VtUuCldlse8Ufk6DneOrbDSGtmRuv7lrg70lY8iHHBBAIEkB+1rQ11V/17RJo95D91S/f6Fa9VlHJ6jNveTd6J/CkwEFAQS6EGCC3gUWT0Wg6QIa5Njg5neqO1Zs8bzas1PaL6y43Vqbk/dCSuBHqtvUmgiNI4BATgJXqTNf0PupXViyMaX4oNNOeZ+p4k7bleV3lXfVF66ruJs0hwACoQSYoIeSJA4CmQtocDO1umhXCx9XcVcfUnuba3Bza8Xt1tacrKdR419T/R/VaWtLhIYRQCBXgbfUMft+ul1I7plcOzmwX3pvXVb32e+VLzDwMef/7SdIt5f1a87tEB4BBDIQYIKewUqkCwh4C2hQM53aOEPVTrWustyoxmxy/liVjdbZlqztA5Afqy5cZx60jQACjRCwi8d9Q/X/9D7biO9K6z12XvXXJukrqlZZ7Aywj8v55SobpS0EEEhPgAl6euuMjBGoVECDGTsd8BzVdSpt+L0BlB1xaMTvm8t5Cfn+RHWTip1pDgEEELhGBHba+w1NoND77fTqp50RtnnF/f272ttCzva1LQoCCCAwqAC/nTsoC3cigIAJaBAzm24uUq16cm5Xah/XhMm5jGdQ/V/1107hZ3IuBAoCCFQusJpavFbvRb8s3vcrT6DKBot9i52tZPuaKovtSy9qgnGVqLSFQG4CHEHPbY3SHwQCCRQDiEsVbrlAITsJY1e6PUCDJ7swWvZFxjupk0eo2u/1UhBAAIEYBJ5SEnba+/F6L87+tHe9D39FfbX34SoPWt2i9taX79O6pSCAAAL9BJig9+PgHwQQMAENWOy0djty/mH7v6LyitoZrwHLnytqr7Zm5Nunxv9Pdf3akqBhBBBAYHiBS/TwnnpPvn/4p6X/qN6Tt1Ev/qBa5UU5r1N7G8r3+fQF6QECCIQUqPLTwpB5EwsBBJwENFCxC8LZd86rnJw/ofbWb8jkfC/11U5nZ3IuBAoCCEQrsIEyu1X7hH1Usz6gU+x77D3Z9kVVFdvHnlPsc6tqk3YQQCABgazfcBPwJ0UEohLQQGFqJXS2apVXa79T7W2mAVLWR2lkO7/6ebwq3zMXAgUBBJISuFzZ7qH36XuSyrrLZPU+PVaLnKu6ZJeLlnm6Xd19S9nyE2xlFFkWgYwEOIKe0cqkKwiUEdDAZLSWt6vaVjk5v17trdWAyfmu6icXgRMCBQEEkhRYV1nfov3EfqrZjh21L7pP/VxL1fZNVRXb5/6x2AdX1SbtIIBAxAIcQY945ZAaAlUJFAMu+/7djlW1qXauULXfOM/2+3dynVt9/JWqXS2YggACCOQgcJU6sbveu+/KoTOD9UHv3XYdFjuSvvZgjzvdN0Fx7TosbzvFJywCCCQikO2noIn4kyYCtQtoIGIf1B2rWuXk3E7p2yTzyfl26uPtqkzOhUBBAIFsBNZUT27SvuMA1Smz6VVbR4p9k30dyfZVVRXbBx9b7JOrapN2EEAgQgGOoEe4UkgJgSoFNBj4idr7UoVtnqW2ttMA6LUK26ysKXnOrsaOUd2+skZpCAEEEKhH4Fo1+ym9n9u1RLIrej+367KcorpVhZ37qTz3rbA9mkIAgcgEOIIe2QohHQSqFNDg4zC1V+Xk/GS194mMJ+c2iLOj5kzOhUBBAIHsBVZVD6/XvmT3HHta7Ks+ob7Zvquq8qVi31xVe7SDAAKRCTBBj2yFkA4CVQloAPANtXVgVe2pnRNUd9aA580K26ykKVnOrPobNXamqn3vnIIAAgg0RWB6dfQEvQeebO+FuXW62GftbH2ssG8HytL20RQEEGigAKe4N3Cl02UEtOO3o+Z2antV5adq6Msa6LxTVYNVtSPLDdXWr1Xnr6pN2kEAAQQiFbCfy9xJ7/X/iDS/ntPSe72NmY9SrfKss31laftPCgIINEiAI+gNWtl0FQET0CDDTkW0QUZV5XANMGyQkdXkXI4fUP22EC9QZXJe1auJdhBAIGaBhZXc3/Xe+A17j4w50W5zs32Y7cu03OHdLlvi+UfJ0fbZFAQQaJAAR9AbtLLpKgLa0W8uBTsNu6or7x6oAc33c5OXo10Izn6WbtPc+kZ/EEAAgUAClyiO/WzYY4HiRRNG+wA7/byqifpbamucHO1n3ygIINAAASboDVjJdBEBE9CAYkXdXK46g/3vXOxouZ3Snt2peXK0iyKdqrqgsyHhEUAAgdQFnlQHdstxcql9gZ3qbmejVTGWflHtrCvHG3VLQQCBzAWyOv0o83VF9xDoWUADiQW0sH36XtXkfO9MJ+efl+HfVZmcC4GCAAIIjCAwhx4/R/sgO1V7qhGem9TDxT5ubyVdxde3bN9tjrYvpyCAQOYCVXzqlzkh3UMgbgHt0GdShleoLltRptld1EaGdpXiY1V3qsiQZhBAAIHcBK5Th7bRxPbhnDqm/UOVF129VXZry/D5nAzpCwII9BfgCHp/D/5DICsBDRxGq0OnqVY1ObfvnGd1WrsMl5TftapMzoVAQQABBHoU+LCWu0Hvqev0uHyUixX7vAMrSs725acV+/aKmqQZBBCoWoAJetXitIdAtQK/VHMbVdSkXa09qwvCaRC0vezsqM/SFRnSDAIIIJCzwFzq3MV6b90np04W+76qLhpn+3Tbt1MQQCBTASboma5YuoWABkD2if4eFUn8VAOUb1bUlnszshujar8Tf7JqFd/bd+8TDSCAAAKRCIxRHkfrPfbXqtNEklPpNIp9YFVnkO0hu6qO2pe2IQACCHQnwHfQu/Pi2QgkIaAd945K9ETVKrbxE9TOZzQ4qeJCOe7+srPfND9FdQ33xmgAAQQQaLbA9er+1tp/ZPG9dO0/bJ97nGoVH47bPndn2U3QLQUBBDISqGLwnhEXXUEgfgENEOz7fReqTl1BtnaE2QYIb1fQlnsTsrNTB09StSsPUxBAAAEE/AWeUBPbaj9yuX9T/i1oP2Jnp9oH5Dv4tzbqNbWxkezs10UoCCCQiQCnuGeyIukGAiaggcHiujlDtYrJ+VlqZ5eMJudfUH/OU2VyLgQKAgggUJFA63vpX6yoPddmin3iLmrE9pHexfb1ZxT7fu+2iI8AAhUJcAS9ImiaQcBbQDtom1j+Q3UR77YU347Qb6mBiH16n3SRm70PHqG6f9IdIXkEEEAgfYHfqguf1b7l1dS7on2LTZ7PVrUzs7zLvWpgdbk96d0Q8RFAwF+ACbq/MS0g4C6ggYBdaOcS1Sq+N22/qb6JBgIvu3fMuYHC7fdq5pPOTREeAQQQQKAzgSv1tHHaxzzV2dPjfZb2MdMpuwtU164gy6vVxgY5fLhRgRVNIBC1AKe4R716SA6BjgWO1TOrmJzbBX02z2RybmccXKzK5FwIFAQQQCASgbWUx1Wa3I6NJJ+e0yj2lZsrgO07vYuNAWwsQEEAgcQFmKAnvgJJHwENYuy70/Z9N+9ypxqwI+fPezfkHV9mi6oNO9qwpndbxEcAAQQQ6FrArqdytd6rV+16ycgWKPaZmyot24d6l12KMYF3O8RHAAFHAU5xd8QlNALeAtoR2wTzMtUxzm3ZVXbt+233O7fjHr4wO1MN2RF0CgIIIIBAvAL2Vaodte+p4oJrrgra9yysBuw6MXZRPM/yhoKvJ7OrPBshNgII+AlwBN3PlsgIuApoZz+PGjhV1Xty/ora2CqTybmdzm6ntTM5FwIFAQQQiFzAvsN9uvZ3dqZY0qXYh26lTtg+1bPYmODUYozg2Q6xEUDASYAJuhMsYRHwFNCOd7Tin6I6n2c7im2/bz5eA4trnNtxDy8zu0q7mdkF9SgIIIAAAmkI2Fj1Z3oPP0I16TM/i33pePXH9q2excYGpxRjBc92iI0AAg4CTNAdUAmJQAUCR6qNdSpo5wANKP5cQTtuTWiAMqXqMWrAzJIe3LkhERgBBBCIX+CrSvFkvZ/bz5clW4p96gEVdMDGCLbfoyCAQGICDFYTW2Gki4AGJztK4aQKJH6ugUTSpxXKano5nay6RQVeNIEAAggg4CPwksLamNVOebef+rSfYXtat8mW4oPjz1fQgZ1kNaGCdmgCAQQCCTBBDwRJGASqENAOfVm1YxeZsUGKZzlXwW0A9JZnI56xZWXf0T9HdWXPdoiNAAIIIFBK4Dkt/S/V29tuH9Hf9oshL9it9kXvnhKu93X7fvUsqm/ovmd1m2xRX6ZU8nbB0s2dO2EX2rOLvN7q3A7hEUAgkAAT9ECQhEHAW0A785nVxvWq9hNhnuWfCr6uduZ2xCLJIqsFlPilqosk2QGSRgABBPIVeF1ds6Pg51tt8sRR+yo7y+ty1ZVUPcs9Cr6KrO3DEAoCCEQuwAQ98hVEegiYgHbitq3az8x4n6r9kNpYTTvxx3SbZJFVnxK3ybndUhBAAAEE6hewI+A2IT9e9a8pfwAcmlL7rHkV0y7Eah8sexY7o8x+keUdz0aIjQAC5QW4SFx5QyIgUIXAQWrEe3JupxNunvjkfKz68DfVPlUKAggggEC9Ao+q+UNVF9a+xfYvp6sme3aWB6U87ANxO83d9sGexcYQ3/JsgNgIIBBGwI7KURBAIGIBfbr+MaVnn3x7fqD2puJvpoHChRFTDJuanOzUfztyPv+wT+RBBBBAAAFvAZuYH6J6gvYrtn+hjCCgfdhGespfVEeP8NQyD9uZDFtonZxXJgjLIoCArwATdF9foiNQSkA77D4FsO+Ez1oq0MgL76kd9gkjPy3OZ8hpCWV2iar378LHCUBWCCCAQBwCzyiN/6d6tPYpr8SRUjpZaF+2p7I9zjljW0craf1MdG6H8Agg0KOA5xG5HlNiMQQQMAHtqO0Kr39Q9Z6cH5P45HwpGV2myuRcCBQEEECgJgGbWI7V/uQHTM57WwNyO15LHtPb0h0vZWOKPxRjjI4X4okIIFCdABP06qxpCYFuBb6pBdbqdqEun3+1nr9fl8tE83QNMJZRMpep2k+qURBAAAEEqhewi4tuqsnlXqpJ//RZ9XSDtmj7ZNs3exYbW9gYg4IAAhEKcIp7hCuFlBDQxHM1KVyh6vldtP8ovp3mZt8VTK7IaDklfbHqHMklT8IIIIBAHgK/Vjf2037kuTy6E0cvtH+zM8Ls621zO2Zk1wZYW+vOriBPQQCBiAQ4gh7RyiAVBExAO+YZdHOiqufk3HbM2yU8OV9R+dt3zpmcC4GCAAIIVCzwhtrbW/uQ3Zmch5cv9s3bKbLnBfZsjHFiMeYI3wkiIoBAzwJM0HumY0EE3AR+psiLuEV/L/ABGgBc7tyGS3gNJlZRYDtyPrtLAwRFAAEEEBhO4Ck9uJH2IccO9yQeKydQ7KMPKBdlxKVtrGFjDgoCCEQkwCnuEa0MUkFAk89tpXCKs8QE7fh3cm7DJbx87NT/C1RndmmAoAgggAACwwncoQft98zvH+5JPBZOQPu9kxRtx3ARB41kZ9SdOugj3IkAApULMEGvnJwGERhcQDvhBfTIzaqzDv6MIPfepiira0f8UpBoFQaRz5pq7jzVmSpslqYQQAABBN4TuF03G2j/8QQg1Qlo3ze9WvuHql0U1avYT68tr3VrF/yjIIBAzQKc4l7zCqB5BExAO2DbFn+n6jk5f07xt050cr6scv+LKpNzIVAQQACBigX+pfaYnFeMbs0V++yt9aftw72KjT1+V4xFvNogLgIIdCjABL1DKJ6GgLPA1xR/Pcc23lHsXbSjv8exDZfQGjAspMDnq3Jau4swQRFAAIFhBey0dibnwxL5Pljsu3dRK7Yv9yrrKbCNRSgIIFCzAKe417wCaB4BTUBXloL95ukYR43vaQf/bcf4LqFlYxeCs5+bW9KlAYIigAACCAwnYD/HuYr2Hw8P9yQeq0ZA+8RD1NJBjq3Z1fnX0Pq+wbENQiOAwAgCTNBHAOJhBDwFtLOdTvFvVF3csR07+mwX9XnbsY3goQsbu1r76sGDExABBBBAYCSB1/WE9bTvsA+QKREIaL9oZ76eq7qpYzp3K/aKWu8vO7ZBaAQQGEaAU9yHweEhBCoQOEpteE7OH1D8nRKcnNvvs9rV7JmcC4GCAAII1CBgv3PO5LwG+KGaLPbl9isstm/3KjYm+bFXcOIigMDIAkzQRzbiGQi4COiT8HEK/BmX4O8FfUs347VDf8axDa/Qxynw5l7BiYsAAgggMKzAT7Xv+M2wz+DBWgSKffp4NW77eK+yVzFG8YpPXAQQGEaACfowODyEgJeAdnyzKPYvvOIXcQ/Xjty+v51Ukc3hSni3pJImWQQQQCAfAbso3Nfz6U5+PSn27bav9Cy/KMYqnm0QGwEEBhFggj4ICnchUIHAEWpjXsd2rlHsQxzju4TWYOCLCvwNl+AERQABBBAYScCOyn5KE8BXR3oij9cuYPt429d7FRuj2FiFggACFQtwkbiKwWkOAU1C15PCJape29+Lir2CBlj36jaZIpftlOwEVT44TGatkSgCCGQmcJj2Hd/KrE/Zdkf7zUXUuZtUZ3DqpP2sm/3E3mVO8QmLAAKDCHhNEAZpirsQQEA702mkcIvqYo4an9bO9DeO8YOHlssGCnqe6lTBgxMQAQQQQKATATu13T7ctau3UxIR0P5zN6X6a8d0/63Yy+l1wVkVjsiERqBdgCNV7Rr8jYC/wHfUhOfk/NQEJ+cryOR0VSbn/q8/WkAAAQSGEvgak/OhaOK9v9jnn+qYoY1ZbOxCQQCBigQ4gl4RNM0goE+5l5fC9ar2E2Ie5WEFtU+5k7lqu0wWVs5Xqc7jAUJMBBBAAIGOBC7TvmP9jp7Jk6IT0L50ViVlZ+fN75Tcm4q7il4jNzvFJywCCLQJcAS9DYM/EfAS0M5zSsU+XtVrcv62Yu+S2OTcrmR/viqTcyFQEEAAgZoE7HvGB9TUNs0GECj2/bsolI0FPIqNXY4vxjIe8YmJAAJtAkzQ2zD4EwFHgS8r9iqO8Y/QDvoyx/hBQ2snb+89J6kuHjQwwRBAAAEEuhWwr0bZ2V2UhAWKMYDnVddtDGNjGQoCCDgLcIq7MzDhEdBk1E7jvk11OieNGxR3De2c33CKHzysTA5T0AODByYgAggggEC3Aqtp/3Fttwvx/PgEtG8do6yuVl3ZKbuXFXcZvV7ud4pPWAQQkABH0HkZIOAvcKya8Jqc285y58Qm59soZ37r3P91RwsIIIDASAJXMzkfiSidx4uxwM7K2MYGHsXGMjamoSCAgKMAE3RHXEIjoE+zPyWFDR0l9tMO+S7H+EFDy2NpBfytKmfvBJUlGAIIINCTwFE9LcVC0QoUY4L9HBPcsBjbODZBaASaLcAgudnrn947CmgHNpfC2+/KzubUzEXaEW/kFDt4WHnMrKDXqdpPtlAQQAABBOoVeEjNj9V+xK7QTclMQPvcC9UlrwMETyv2UnrtPJEZG91BIAoBjqBHsRpIIlOBn6hfXpNzO31t71TcNFCwDwNPVGVynspKI08EEMhdYAKT86xXsY0RvE51t7GNjXEoCCDgIMAE3QGVkAhoQrqxFHZwlPi2Blb3OcYPHfq7Crh56KDEQwABBBDoWeDUnpdkwegFijHCtx0T3aEY6zg2QWgEminAKe7NXO/02lFAOyz7vdCbVe371h7FrtpuV919yyN46JjyGKeYp6vyfhMal3gIIIBAbwL3ax8ytrdFWSoVAe1/p1Su16h6XdX9X4q9vF5LfE0ilRcFeSYhwBH0JFYTSSYm8Fnl6zU5t53gnglNzpdUvr9XZXIuBAoCCCAQiQBHzyNZEZ5pFGOFPdWG1wTaxjo25qEgV0YWRQAAQABJREFUgEBAASboATEJhYA+rbbvZdnp3F7lSO1wb/IKHjKuLGZSvDNUZwwZl1gIIIAAAqUFziodgQBJCBRjhiMdk/1uMfZxbILQCDRLgAl6s9Y3vfUXsMm514Xh7lFsz8l/MB3trO2IuR05XyJYUAIhgAACCIQQeFVBrg8RiBjJCNjYwcYQHsXGPAd7BCYmAk0VYILe1DVPv4MLaFLqfarXXvok3AZWKRS7MM1WKSRKjggggEDDBK7TvuS1hvW50d0txg6fcUT4XDEGcmyC0Ag0R4AJenPWNT31F/ixmrALxHmU47WDvdQjcOiY2knb1dq/Ezou8RBAAAEEgghcESQKQZIS0BjiMiV8vFPSNvaxMRAFAQQCCNhpqBQEECgpoEnpFgpxdskwQy3+uB5YSjvXZ4d6Qiz3y2Fu5XKr6pyx5EQeCCCAAAL9BDbX/uQv/e7hn0YIaB89izp6h+o8Th3eUq+tc5xiExaBxghwBL0xq5qOeglohzdGsX/oFV9x90lhcl70//90y+Tc8cVAaAQQQKCkwG0ll2fxRAWKscQ+jun/sBgTOTZBaATyF2CCnv86pof+Al9UE4s7NXOGdqh/coodNKx2yp9XwM2CBiUYAggggEBIAfvu+cMhAxIrLYFiTGG/sOJRbCxkYyIKAgiUEOAU9xJ4LIqAJqV2tPjfqjM7aLygmEtqZ/qoQ+ygIeVgV2u/UXXaoIEJhgACCCAQUuAO7VPsgqaUBgtonz2fun+n6owODM8p5mJ6nf3XITYhEWiEAEfQG7Ga6aSjwKGK7TE5t5QPS2Rybqf4n6jK5NzWGgUBBBCIV8Drp7bi7TGZTSZQjC0Om+yBMHfYmMjGRhQEEOhRgAl6j3AshoA+gV5eCns6SdynuEc5xQ4d1n5fdeXQQYmHAAIIIBBc4P7gEQmYqoCNMWys4VH2LMZIHrGJiUD2AkzQs1/FdNBRwHZuXtvQV/UJd/S/U6sd8Noy+LqjMaERQAABBMIJPB8uFJFSFijGGPs79cHGRqkcZHAiICwCvQt4TS56z4glEUhAQBPTLZXmek6pXqId5+lOsYOFlcFMCvZ7Vd5HgqkSCAEEEHAVeNE1OsGTEtBY4wwlfIlT0usVYyWn8IRFIF8BBtb5rlt65iSgHY5dXNFO6/Yobynofh6BHWL+TDH7HOISEgEEEEDAR4AJuo9rylFtzGFjD4/y3WLM5BGbmAhkK8AEPdtVS8ccBbZR7BWd4h+nT7RvcYodLKx2uNsq2C7BAhIIAQQQQKAKASboVSgn1EYx5jjOKWUbK9mYiYIAAl0I2JFACgIIdCigial9qGUT6A91uEg3T3tWT7afJnmym4Wqfq4MPqg2b1Wdteq2M2nvdfXj6UHqU7pvYH1H99nV8c16ddWPqNrFCXMpt6kjdnrlP1Tt9f+yqm1js7fV2Yq/7bZVzcP+nlqV0iwB2yaeVx24DQ3cduz/F1SnUbVtyH6feV3V9VTt6zlNLTtpHzOhqZ2n34MLaL8+hx6xn4ydZfBnlLr3di29nF53b5eKwsIINEhgdIP6SlcRCCGwvYJ4TM4tt0MSmJzbh3q/VW3y5NwmCDbwtwml1efa/rb/nyn+b7+1yYT9/4zW8Uu67aW8O6jWQMom6gepbtZLkEiWuVh5fEcWV5bJRxY28bKJur0e26sNMq3afa2/7Xbm4n+7tcpZZEKoodgFMNu3m/a/bTt5VrX91v62atvRs3rd9Ho67g/1mplRMT6v+lVVm5Q0rfBzmE1b4x3018Ye2jYO0VN/1MHTu32KjZls7MQHQ93K8fzGCnAEvbGrno53K6Cd15Ra5l+qdiQmdLlbAZfRTvKN0IFDxpPBfornsQMPmeZgsd7UnS8W1SbIA/+2CbcdlRt4a/fZ5MFq6+8XtJ5qPxKgdbGHcjpGNaWjyLYe9pPfz3Rba5Gf7f9mUJ1ZdabitvW3/W/VJnPtf9vz2+v0bf/n/IG3fSj1iurA7cb+t+3JtpuB207r/4Hbz3Na/7X/QoXW/3zK+RTVtVSbVPaRv71vUBDoJ6BtYozuuE3Va4yztF57vX641i9X/kEgd4GcBxS5rzv6V73AeDXpseOynnxFO67YJ+c2obFB+v+o2qTQTh2126kGqfbe0qr2wYZVW96qHbW0Ab9Ncq22/rYdt03gzKFV7X87JfxVVWvbbjv5u98kPIYJgfIOWtSnEzSgukdB/6pq6yD2YutyS+V9fgyJKo/WmRA2kSxdtC5sW2hN3lsT9+l0nx2xHHjb2nbab1vbkQ2S26ttO7bNtFfbjlrbT/s21L79tP9tE+Juth/7qsHAbci8sila/49qna2vDp2lumk2HRu5IxxBH9mokc/QNvGGtomvqPPnOADY2Gm86m8dYhMSAQQQQKCJAtppjVa9V9WjRDFhaeJ6zaHPekHu5vGidIj5xRy86UNeAnqdz6h6m8PrPdaQB+e1BulNaAG9cM93evHaGIoDg6FXGPGyFLBP5CkIIDCywKf1lLEjP63rZ9hRLjttnIJATwI66vEbLWhH0WMulyvPo2NOkNyaKaDXpZ1B8dkG9X7eBvWVrvYmYGMSG5uELjaGsrEUBQEERhBggj4CEA8joE987dTTg5wkfqEB4h1OsQnbHIEDIu9q7PlFzkd6ngJ6D75C8c/0bCOi2B+MKBdSiVCgGJP8wim1bxVjKqfwhEUgDwEm6HmsR3rhK7CXwi/g0IR9x/NQh7iEbJiABlS3qMvXRdrtG5TftZHmRloItAROaP2R+S0T9MxXcKDu2djExiihy4IKaGMqCgIIDCPABH0YHB5CQJ/02kWcDnSSOFoTlyecYhO2eQKnRtrlUyLNi7QQaBe4QP8EuWBge9AI/54/wpxIKTKBYmzi9bWkA4uxVWS9Jh0E4hFggh7PuiCTOAU+r7Q8vrNnA8Ej4+wyWSUq8M9I874q0rxIC4FJApqQ2K9F2E9M5V7m0ORojtw7Sf+CCByhKPbzoqGLjalsbEVBAIEhBJigDwHD3QhoEGM/lfR1J4kfa0D4lFNswjZT4M5Iu801FiJdMaQ1mUCs29BkiZa8Y5mSy7N4AwQ0Rnla3TzKqatfL8ZYTuEJi0DaAkzQ015/ZO8r8AWFn8uhiWcV80cOcQnZbIFXYuw+H0TFuFbIaQiBV4e4P7e7l82tQ/THTcDGKjZmCV1sbGVjLAoCCAwiwAR9EBTuQkCf7NqV2/d1kjhSk5bnnGITtrkCUza36/QcgSACTRkTMUEP8nLJP0gxVvH6Ot6+xVgrf0h6iECXAk3ZGXXJwtMRGLWTDOZzcHhSMX/qEJeQCCwUI4EGYLPGmBc5ITCIQJTb0CB5lr1r9bIBWL5RAj9Rb23sErrYGMvGWhQEEBggwAR9AAj/IlAIfMVJ4gf6RLoJVwp24iPsMALLDfNYnQ/xfdc69Wm7G4FYt6Fu+tDJc5fhg7NOmHiOCWjM8qJufuCk4TXWckqXsAhUI8AEvRpnWklIQAOXTZSuxymA/1HcYxKiINW0BDaPNN21Is2LtBCYJKD3/RX1j8dZU5PaiOiPKZQL22VEKySBVGzsYmOY0GXZYswVOi7xEEhagAl60quP5J0EvuoU9/v6JPplp9iEbbCABjizqftbREowPtK8SAuBdoFd2/9pwN/rNqCPdDGQQDF2+X6gcAPDeI25BrbD/wgkI2CfolIQQKAQ0ERnef15kwPII4q5qHZyTblKsAMhIYcS0OvWfgrH66KGQzXbzf0b6bV/UTcL8FwEqhLQ9rOg2rKfA5yuqjYjaOcObZNLR5AHKSQioO1kGqV6j+oHHVJeQa/Hmx3iEhKBJAU4gp7kaiNpR4H9nWIfxuTcSbbhYTVoWkkE+0TOcLTytF9GoCAQo8DRSqpJk3NbB0tpm2SCHuOrMdKcijHMYU7peY29nNIlLAK+AkzQfX2JnpCABiv2qfAODik/oJgnOMQlZMMF9JrtE8HZqrH/xNqSyvFXypeztgRBiUdAr8kfKJut4smo0kw+WWlrNJaDgI1lbEwTuuxQjMFCxyUeAkkKMEFPcrWRtJOAnSI8xiG2fff8dYe4hGywgAYzK6v7F6umcmGr3ZTrz5W3xzam0BQEOhfQ63Aq1R9riQM6Xyq7ZzJBz26V+naoGMt4fBfd9gtf8s2e6AikI8DRjHTWFZk6CmigNqPCP6Q6c+Bm/qt4C3J6e2DVBofTa3Umdd8GMt9WTXGya98z3F3bxD91S0GgcgFtQ3YFczut3a7c3vSypLbFu5qOQP87F9D2Y99Ff1B1zs6X6uiZz+lZC+j1+EJHz+ZJCGQswBH0jFcuXetKYE89O/Tk3BI4hsl5V+uBJw8ioAHRHKqbqdqk4mHV76mmODm33i2veoP6cpXqZ1TtN5mntgcoCHgI6PU1peoKqp9TvU5tXKHK5Pw9bI6ie7zoSsa012zJEG6LF2Maj5+MtTGYjcUoCDRegCPojX8JAKAd4Wgp2JVJFwqs8YrF1M7MjqJTEBhUQK8/uzjVvG3VroXQqvPrb3td2lWmcy5vqXN2RGZicWtns9gHEa36iP5+StvSO7qlIDBJQNuPHWiwI3mtbci+8tG+/dg2tKhq0y4Cpy53VG7SdsWHFR1RVfckva4XUWtTad3YrwtEV5SfbXP2XfRpAydnMe0Xb94MHJdwCCQlwAQ9qdVFsh4C2tHYheEmOMT+lXYyn3WIS8iIBYoJg/0uuQ1grM5R3M6l27kH1Hn0v52yThlZwK7j8KjqYwPqf/R/qz5hf2u7sw/HKIkKaBuyyXRr+2nfhgZuP63/oz3amMgqWEzbjH1ITYlEQNuATXx/rfXiceHaIL1Ujr9UoL2DBOsfZEf1++T+d/EfAs0SYILerPVNbwcR0E7met1tF9wKWexIn3237+6QQYlVvYBeH3Yq+UdVZ1G1U/Da66z63ybjrTq7/rbn8d4qhBrLS2r7yQH1af3/zID6LyYmEnEu2oaWVRN2RNC2nfbtyP62bci2m9Y2ZLf2HVdKdQL/q+3gf6prjpY6EdB287iet6HWzW2dPL/q5yi/xdXmnaqh93c3qM+rVN0f2kMgJoHQG1VMfSMXBEYU0A5mbT3p7yM+sfsnnKkdzMe7X4wlYhPQa8TeJ+0UazuFlpKXwNXaTtfMq0vx9Ubb0AHK6gfxZUZGhYB9eGUX53oZkXgEtN3YwYMHtF4+EU9W/TNRjmfonnH97w3y3zrq9xVBIhEEgQQFuEhcgiuNlIMK7BU02vvBfvj+n/yVsoAGCXY2xO9S7gO5DymwhgaYCw/5KA+EEjgtVCDiuAjYWQvjXSITtIyAXZdja71HrVAmiPOyXmMdr7GZMwfhEQgjwAQ9jCNREhTQTs9Or/S4gu21mtR5HJVPUDmblE/Jpid0ZKDAbgPv4P+wAno/vF8Rrw0blWiBBfYNHI9w5QUeUAg7g+u75UP5RCjGOh7b9ieLMZpP4kRFIHIBJuiRryDScxWwIwahr0BqCR/pmjXB6xC4UY3aYImSn8DO+XUpyh7xIVeUq2VSUktrQrThpP/4IwaBh4okttK6ifk72R5jHhub8d4cw6uQHGoRYIJeCzuNRiKwp0MedqTozw5xCVmjQHGa+0k1pkDTfgKLaPBr16Kg+Apwmruvb4joHEUPoRguxhNtoQ5p+zu2P23MY2Of0OUzoQMSD4FUBJigp7KmyDOogAbkH1bA5YMGfS/YUZrM2W86U/IT4Ahgfuu01aNdWn9w6yOg90U7A+UfPtGJGkhgc+0b7TfjKXEItE/QP6Z1s3ocafXPohjzHNX/3iD/LV+M1YIEIwgCKQkwQU9pbZFrSAGPT2afUYInhEySWPEIaBByk7J5MJ6MyCSggH3fceqA8Qg1uAAfcg3uEsu99n3nL8WSDHmM+u8Ag5iPotvYx8ZAoYvHWC10jsRDILgAE/TgpASMXUAD8RmU4w4Oef5Skzj7/WVKvgK/z7drje6ZXcV6y0YLVNN5O83dfhWBEq/AntpH8pOScayfgRP0jbRu1okjtf5ZFGOfX/W/N8h/OxRjtiDBCIJAKgJM0FNZU+QZUsAm5zOGDKhYb6v+PHBMwsUnwBHA+NZJqIw4zT2U5BBxNIi3i15dPcTD3B2HgF2c65txpNL4LAZO0A0k5qPoNgaysVDIYmM1jwMqIXMkFgLBBZigByclYAICHqdMna/B58MJ9J0USwhoHd+ixR8sEYJF4xXYVEdq7Eg6xVfgj77hiR5A4DPaFhYKEIcQJQS0v3lNiz8/IMR6WjfrD7gvin+LD+DOd0jGY8zmkCYhEQgnwAQ9nCWREhDQjm05pbmqQ6rHOcQkZJwCv40zLbIqKTCVlt+pZAwWH1ngT3oKp7mP7FTnM2xbOKjOBGh7ksCTk/56/4+Yj6J7jIVW1dht2fe7z18I5C/ABD3/dUwP+wt4fBL7uJo4p38z/JexAKe557tyd823a3H0TEfZHlEmV8SRDVkMI/ApTYoWG+ZxHqpGYOARdGt1ba2bjappvutWbCxkY6LQxWPsFjpH4iEQTIAJejBKAsUuoB3aNMpxZ4c8f61B55sOcQkZoYDW9W1Ka2KEqZFSeYEP632Cn5kq7zhSBD7kGkmo/sdHK4WD60+j8Rm8MITA14a4v9a7i7HQrx2SGF+M4RxCExKB+ASYoMe3TsjIT+CTCj1r4PB2qqb9vAilWQKc5p7v+t4t365F0zM7zT30xaSi6VxGidgVtD+UUX9S7MpQE/QNI143NiYK/TUWG7vZGI6CQCMEmKA3YjXTyULA4xSpS/SJ8b0IN07AJhiUPAXG59mteHql98zHlM3f48mITIYQsDHi94Z4jLurERhqgm6tR/mb9cWY6FIHHo8xnEOahESgvAAT9PKGREhAQJ80L6Y013VI9XiHmISMXEADkFuV4u2Rp0l6vQkspPeLj/S2KEt1IcBp7l1g1fjUrbU9eOw7a+xSUk2/OEy2u2jdxPrLEx4Xi1tX/bWxHAWB7AWYoGe/iulgIbC9g8RTinm6Q1xCpiHABCON9dRLlrv0shDLdCXwZz2b09y7IqvtyUdpYsR4sR7+4Y6g22/Wx3pU2cZGNkYKXTzGcqFzJB4CpQV4wy1NSIBEBLZzyPN3OpJqv1MaVdFAahrVvaNKKs9kTsuzW/RKAp+w7QgJPwG9d9qVnv/m1wKRAwqsqFi7B4xHqM4FhpugW5Qv6L3KLugXVSnGRr9zSMpjLOeQJiERKCfABL2cH0snIKCd11JKc1mHVGM9vd0+Yd7Xob+EbBPQAORf+tdOdafkJzCLujQuv25F1yPOQolulQyZ0GHal8405KM84CUw0kGABdTw1l6Nl4zrMUZathjTlUyNxRGIW4AJetzrh+zCCHicEnVlMUELk2HYKF9QuKW0E1s1bFiiDSLABGMQlEzu2jWTfsTcDTvN/a2YEyS3SQJz6a+DJv3HH1UJvNlBQ1F+IF+Mka7sIP9un8JR9G7FeH5yAkzQk1tlJNyDgMebuccnwz10rf8impSvons+XNzL92j783j8d7ZHUGJGIbCRtqc5osgk0yQ0gH9CXbss0+7l2K0vaZtYNMeORdynTiboaxX7/hi74TFW8jjoEqMdOTVYgAl6g1d+E7qunZad2m6nuIcszylYrEdO7eh5q2yv/kf33bRWcjncaoJxs/phlZKfwBh1aef8uhVdj2J9L40OKoKEplIOP4ogjyal0MkE3TyiPIquvGz7tjFTyGJnCHp8bTFkjsRCoJQAE/RSfCycgIDH0fMJmpi9HFvftcOyn1tp/2R5Tv2/WWx5ZpgPE4wMV2rRJU5z91+3dpp7p5MQ/2xoYSSBLbWv2WikJ/F4MIFOt43ttF7mCdZqoEDFWGlCoHDtYTzGdu3x+RuBWgWYoNfKT+MVCHi8iZ9UQd69NLG7FrKfXWkvnOberuHz91k+YYkagcBKGvQuGUEe2aagAfyT6tyl2XYwz44dre3CjqZT/AU6naDb+vicfzo9teAxZvIY2/XUORZCwEOACbqHKjGjENAAYgUlsnjgZB5VPI+LnpRKU32dQgE+O0iQLfTYzIPcz12BBDTBuE2hbgwUjjDxCXwqvpSyy4izUNJapUso3QPSSjnZbN/oIvPPan8/dRfPr+qpNmaysVPIsngxxgsZk1gIRCPABD2aVUEiDgLtp3uHCn+aJmRvhwoWMM4mirXIIPHst5w9HAZpqtF3McHId/XvVHwAlm8P6+/Z6Uqh0yOF9WdLBibwTW0XfVC4C7zTRQtz6bk7dPH8Sp5ajJlOc2iMsY0DKiHjEGCCHsd6IAsfAY9ToGKdiLVfHG6gJt+jHSgS/n9Ocw9vGkvEBZXI+rEkk2MeGsA/pX5dlGPfMu6TfZ3q6Iz7F0vXpuoykZgvFtdlV0Z8uscYb8RGeQICVQgwQa9CmTYqF9An+/ZzY2MDN/yw4l0VOGbpcMVRjM2GCbSmnhPaYpjmmveQJhj/Uq9vaF7PG9NjPuTyX9Wxfvjp3/N0W7CvUI1LN/0kMu92gr6i1slaEfbMxk42hgpZxqqvNtajIJCdABP07FYpHSoEPE59OlUTsW5ON6tqZdh3z4fblu376Vwszn9tMMHwN66rha01EBx4Aca6csm13TPUsW6+b5urQ2r9+om2jelSSzqhfLudoFvX9oitf8XY6VSHvDzGeg5pEhKB7gSGG9R3F4lnIxCXwLYO6UQ3AdPAyC4I08nOmN9zdnhBDAjJae4DQDL6dyb1ZeuM+hNdVzSAf0ZJXRhdYiQ0ksBCesJBIz2Jx3sW6GWCvq3GBtP33KLfgh5jKI+xnp8AkRHoUIAJeodQPC0dAe2YVle2NmgIWR5UsGtCBgwUy04vnKODWIvJZc0OnsdTehTQBONOLXpdj4uzWPwCnObuv448BvD+WdPC/tq/LAWDi0AvE/QZlEmME1cbQ9lYKmRZqBjzhYxJLARqF2CCXvsqIAEHga0cYp4S6ent47voK6e5d4HV41OZYPQIl8BiH9VAcO4E8kw5xTOV/Ospd6ChuY9Rv3/R0L57d7uXCbrltLt3Yt3GL8ZQHvtIjzFft93j+QgEFWCCHpSTYJEIbOqQh8dOpVSamizMrgDd9HU7LdPrzr5Urg1amNPc813Zo9U1viriuH41gH9W4f/q2ASh/QQ+ov3Lp/zCNzZyr/vsdbQ+Fo1QzWMs1c04KEISUkJgcgEm6JObcE/CAtohzaP0Vwjchfs1cIzx1GX7iRE7ctFpmU1P3KLTJ/O87gX0OrlbS8X4VYjuO8MSgwlwmvtgKmHv8xjAh82QaEMJHKF9sO1nKOEE7DozvZbdel3Qa7liLHV/4PgrFGO/wGEJh0B9AkzQ67OnZR8B+yTVrloesnhceTREfr0czeM09xDyw8dggjG8T8qPLq+B4IdS7kACudtZKK8lkCcpTi4wp+7638nv5p4SAr0eQbcmP6X3qxjH+aHHVDbm4yh6iRcZi8YnEOOGG58SGaUk8DGHZP/oELNUSO10+xSgl4u+baZl7dR4ip/A6X6hiRyBwG4R5JBtCjrC9pw6d0G2Hcy/Y3toH7NW/t2srIdlJujzK8uPVpZp5w15jKmYoHfuzzMTEGCCnsBKIsXOBDQomFLP3KizZ3f8rHs1YPxnx8+u7ol29LyXMwVsZ8/vhjquJ71e7PS9qx2bIHS9AjvovYZ9p+864CwUX1/P6LZf+qW2EbtmA6W8gF2RvUzZsczCHssWY6p7A8feuBgDBg5LOATqEWCQUY87rfoIrKawswYOfVrgeKHC9XJ6e6ttvkfbkvC7ZYLhZ1t35FiPStXtErJ9TnMPqVl9rGXU5FeqbzbLFsue8ba1Jq5ljsJ7oYYeW9nYz8aAFASyEGCCnsVqpBOFgMfp7X+JTVc72xWV01Il8lpNMWK8umuJLkW3qE0wKPkK8CGX47rVEbYXFP48xyYI7S/wHe1nFvJvJvsWZivZw1m0vMfYqGRaozzGVjH2s6wTyzdUgAl6Q1d8pt0O/R2k5+V0VYRW3fz2+VDpM8EYSibA/Zpg3KcwVwYIRYg4Beyo1HRxppZNVpyFkvaqtO3jJ2l3IYrsyx5Bt07sEEVP+idhYysbY4UsoceAIXMjFgJdCTBB74qLJ8cqoMHyXMpt5cD5XayJ1puBY5YKp37aNhtiZ1vmFPlSfWjQwkww8l3Z06trn8i3e1H07Gxl8WoUmZBErwLjtM9ar9eFWe5dgRAT9C1j+0CxGFtdHHgdr1yMBQOHJRwC1QswQa/enBZ9BDZR2F4umjZcNucP92BNj22gducL0PZY7cjWCRCHEEMLcJr70DY5PMJZKI5rUQP4FxX+XMcmCF2NwA+1rwm9b64m85pbkds0SiHEmTr2geKWNXdnsOZDj7HsdWZjQQoCyQswQU9+FdKBQsDj1KbQO48QKyvkkW8mGCHWyBAxNMGYqIf+PsTD3J2+wPoaQM+bfjei7gFnoUS9ejpKbiU9a5eOnsmTBgrMNvCOEv9HdzV39cVjjOUxFizBzqII9CbABL03N5aKSECDZHsdh/7U9A5NsB6MqJuj1M+plc82AXPatogZMCShBggwwRgAktG/9rOOTDx8V6gdQX/ZtwmiVyBwmPY101bQTm5NhDi9vWWyqdbBTK1/Yrgtxlh3BM5lE/WTuU1gVMJVL8CLuHpzWgwv8GGFDLkjswxjvILw+sor5A52ZsUbZ52luAnY92gp+QqEPKMlX6Uee6YB/EtalNPce/SLaDH7acL9I8onlVRCjmvsA/7NIux46LGWmdmYkIJA0gJM0JNefSRfCHic0uRx6lXZFbZF2QCDLM8RwEFQQt2lCcYDivW3UPGIE53Acjpas0J0WeWVEGeh5LE+v65tZe48ulJZL0JO0C3pGD+Q9xhreYwJK1vpNISACTBB53WQg0Do3760UyovjxDG4yIvdjrYnBH2NaeUmGDktDYn7wvXcpjcJOQ99nvJdiSdkrbADEr/kLS7UHn2Ib+Dbslvpv39VJX3YvgGbawV+mssoceEw/eARxFwEGCC7oBKyOoEtLOZTq2tHLjFy3Tk87XAMUuFUz+XU4AFSwUZfOExujvGi8cMnm2a956VZtpk3aHADto+7fvoFAcBvRfb4P0ch9CErF5gd20ri1bfbLItzhM4c/uK3HqBY5YKV4y1LisVZPKF7efWbGxIQSBZASboya46Ei8EVtPt6MAaHqdclU3R4+h5KydOc29JONxqAPKwwl7qEJqQcQjYldw3iiOVbLPgLJQ8Vq3tqw/OoyuV9KLPoZWPO8QsGzL0mMteZzY2pCCQrAAT9GRXHYkXAms5SITeWYRI0eP75628VtGnzUu0/uHWRYAJhgtrNEE5zd13VdiFpOx30SnpC+yo/c2H0u9GJT1YyKGVreRvvxceU/EYc3mMDWMyI5fMBZigZ76CG9C90G/C9+mI579jctPOdC7ls6pzTp9yjt/08GcL4J2mI2Tc/3HaTu07thQHAb0nv6Kwtg1R0hewcech6Xejkh70ObTyQcUM/bXAUmkWY677SgWZfOHQY8PJW+AeBBwFmKA74hLaV0ADYnv9rhG4FY9PcsumuLkCeG+r4yP8VL2sWzTLawDyiJK5JJqESCS0gH3fcdvQQYnXT4CzUPpxJP3PNtrfRDVJjE2zGN8s4JRXE05zX6MwdCIkLAK+At6Dft/sid50gWUEYL/lHbJcEDJYoFiep7e3UrSBwHqtf7h1EWCC4cIaTVCu5eC7KuzD0xd8myB6hQKHVthWik3Np6S9rrge41XOQ4+9bGzIVylSfOWT87sCTNB5IaQs4HEK05UxgegTYNtBb1xRTnyP1hfarkTNae6+xnVG/4i21/nrTCDntnUWyqvqH7+IkM9K3lTby9r5dCd4Tzy+f95KckXZx/bzqh5jL48xYsuQWwRcBZigu/IS3Fkg9JvvXRoEPuWcc7fh19cCVX239RPaaU/bbYI8vzMBvbYe1TMv6uzZPCtBAdufchTdd8VxFoqvb9XRv1t1gwm11+eYq10kLqpfnijGXncF7jMfAAUGJVx1AkzQq7OmpfACoSfoHp/glu11Fae3t3KcUX/E+N20Vn453DLByGEtDt2HnYd+iEcCCNhpsM8HiEOIOAQ20IfCq8SRSnRZ9DlntIlz/F7Chx6DhR4j9tInlkGgJwEm6D2xsVDdAtqp2/ez+gLncVXgeCHCef7++WD5cZr7YCrh7rPT3N8OF45IkQl8SO9NXPzKaaXoKNtrCn2mU3jC1iPwtXqajb7VPucMq/rqXDfdCD0G6yvGit3kwHMRiEKACXoUq4EkehDw+GQ09M6hh269v4h2LEvpP8/vob3f2Pt/baR2537/X/4KKaAJxuOKd2HImMSKToAPuXxXCWeh+PpWHd2u6D626kYTaM973z+P3JeLzMFjDOYxVoyMjXRyFGCCnuNabUafQr/pPi22OyOj+0gN+UypNneuod0mNckEI++1vb0GvqPz7mKtvfurWn+21gxoPKSA7XP2Dxkwk1gLV9CP2E5ztzGYjcVCltBjxZC5EQuBIQWYoA9JwwORC4R+071aRzffiazP69aUDxe68oXnNHdf37qj2xkom9adRK7t6336dfXtjFz719B+fVofas3R0L5P1m1ZTKM7GzdBL8ZgV08GUu6O0GPFctmwNAIdCjBB7xCKp8UjoJ3XdMpmhcAZeZxaVTbFOo6gW84ryHjZssmz/OACGoQ8oUdC/+br4I1xb10CfMjlK89ZKL6+VUe3Xw/5YtWNRtze0srNzizwLmtpXz+1dyNdxg89FrPxjI0ZKQgkJcAEPanVRbKFwGq6DX0Kaeirh5ZaWdqhLKIAdiG8ugoTDF95Jhi+vnVH31Lb8Ex1J5Fx+/Zzhc9k3L8mdu0LTKQmrfaqPiC3I/WrTmo1jj9Cj8VsrGhjRgoCSQkwQU9qdZFsIRD6lKU3Ffe6yHTrOnreYthZgyXeH1oa4W/PVcg3woclYiQCdkRwu0hyyS4NnYVi287p2XWs2R2aXd3fvdkEk3q/zKS//P+o66t0Q/XMxmI2JgtZQo8ZQ+ZGLAQGFWAAPigLd0YuEPpnjG7UgO/lyPpc907Tjt5/NDKTbNLR6+2/6oxd7IqSrwBnofiuW85C8fWtI/pn62g0wjarOoJuXa/7YEA//mIsdmO/O8v/E3rMWD4jIiAwggAT9BGAeDhKgdA7r9DfeQqBVvcE3frABCPEmhw6BhOMoW1yeGQdnYWyYA4dibQPFyuv0Fd8jrSrjUnrQ9pmVm9Mb4fuaOgxztAtjRq1hsxDf2VwuPY6eSz0mKxKz076x3MQGFGACfqIRDwhJgHtSKZXPmMD5xR6Z1AqPfVxAQWo4gquI+W5deE90vN4vDcBO839rd4WZakEBKZQjrsmkGeSKepIm50G++ckkyfp4QT2GO7B3B/TPnc29bHK68/MoPZWisw19JhsLGOZyNYw6YwowAR9RCKeEJmAfRJqA9+QJfRFScrmFsPRc+uD7bi3KdsZlh9cQBOMp/TIXwZ/lHszEdg5k37E2g3OQol1zfSe1w6aTNm+p6mljqO9sYw5Wus89JjMxox1uLb6wy0CXQswQe+ajAVqFgj9JvuQJkqP1Nyngc3HtLPkCODAtRP2fyYYYT1ji7akJhtcQdhvrVyq0E/6hSdyDQI2OW/yBRZDj3E6WYUxjTlGFWOyhzpJvIvn1OHaRXo8FYH+AkzQ+3vwX/wCywVO8abA8UKEi+miLRtoglHl6XYh/FKKcZaSDX3F2pT634RcuZaD01rmNHcn2PrD7ll/CrVlUMdEcm3t50OfmVgWMPSF4kKPHcv2j+URGFaACfqwPDwYoUDoN9lbY+qjdpJzK58lIsrJ3iPGR5RPVqlogvG8OmTfRafkK7C9tusx+Xav9p5xFkrtqyB4AnbhsqWDR00jYB0T9FlFs1hkPKHHZqHHjpFxkU5uAkzQc1uj+fcn9M4r9E6g7BqI6lSzojMcASy7VodfngnG8D6pPzqHOrBZ6p2IOP/LlJv9bCElL4HGXSyuOIq9TE2rcdWa2h2q2dBjs9Bjx6Hy5n4EgggwQQ/CSJAqBLTzml/t2Ce9IUvonUDZ3NYqG8Bh+WVkv4JDXEK+J3CObl4DI2sBPuRyWr06C8V+CeFPTuEJW5/ArtrvNO3MEztrYMaayHOfoM9ajCFr4qVZBLoTYILenRfPrlcg9ClKr6s7d9XbpclaX3Gye+K4g4vFOa2H4jR3rubu5BtJ2C00OJwlklxyTIOzUPJbq3bmyXr5dWvYHq057KO+D37YN3zX0e/WEjZGC1lCjyFD5kYsBPoJMEHvx8E/kQuEPkXpzuIiQzF1e/mYkmnLxX76Zsq2//kzrAATjLCesUWbWgltH1tSGeXzN/XlPxn1h668JzCuYRB1TtBXiOmMhWJsdmfg9R96DBk4PcIh8L4AE/T3LfgrfoHQn35GdXq7do5jtQpmjnQ1zKu8No40txzSOk+dCH20IAeXnPrAae5Oa1OD+bcV+jSn8IStT4AJenX206ip2CawocdooceQ1a0dWmqcABP0xq3ypDsc+s019Jt/WdzYv+fNBKPsGh5ieU0wntNDZw/xMHfnIbCmPoRbOI+uRNkLzkKJcrWUSmp+bTMrl4qQyMLqp53Sv3jN6eb+PfTQY8iaVxfN5yzABD3ntZtR37TzmkrdCf3zY0zQu3uNjNN6qOsCNt1lmuazmWCkud46zdp+Z5hrOXSq1f3zrtAij3e/GEtELtCUo+hrRLAecp+gL1GMJSOgJgUEhhdggj68D4/GI7CkUgl9RVcm6N2t3+n09E92twjP7kLgfD2Xq7l3AZbgU8cnmHMSKRenuZ+aRLIk2Y1AUybodX7/vLU+Vmr9Eclt6DGajSFtLElBIHoBJujRryISLARCn5r0nAZ0D0WmG+sV3NuZOALYrhHwb70en1e4swKGJFR8AovqCE4MA/H4ZMJkxFkoYRxjirKctpm+mBJyyiWG94UlZT3aqX9dhy3GaM92veDwC4QeSw7fGo8i0KMAE/Qe4ViscoGlA7cY+pPZUulppzi7AtjvvMde1lWuC8SeZML5McFIeOV1mDrXcugQqoenXallHu1hORaJWyDro+jap9qR3Rh+5sx+baLu78EPfCXeNvCOkv+HHkuWTIfFERhcgAn64C7cG59A6IsrRTVBF3fsF4hrvSLsPYPTdFsa4W8vUEhOcw/vGlPE7TQgt2tqUAIL6IjbOwrJae6BXSMIl/UEXb529ty0EThbCrlfyT30WDKS1UYauQkwQc9tjebbn9BvqkzQe3+tcASwd7thl9QE4wU94Yxhn8SDqQvMpg5skXonIs6fs1AiXjk9praOPtSaucdlU1gshtPbW06xnQIeeqwWeizZcuMWgaACTNCDchLMUaAvcOzQb/pl00vh++etPi6lwdIqrX+4DS7ABCM4aXQB+ZDLb5VcrdAP+4Uncg0C9r3o1Wtot6omY5qg534Eva+qlUo7CJQRYIJeRo9lKxHQZNBO/Zo7cGN3BY5XNlwqp7i3+snF4loS4W/tau6vhg9LxIgENtP7mh1JpwQW4DT3wKDxhItpEhtaZe3QAUvEi22CHnqsNncxpixBxKII+AswQfc3poXyAn3lQ/SL8LIGcf/td0+N/2hnMY2aT+2nP7ZX3tFc7bXG1Re8ab02X1bQ04MHJmBMAvYd9B1iSiizXDgLJbMVqu6skV+XRo3SftROKZ83or4tpJxmjCWfYqxm+8SQpS9kMGIh4CHABN1DlZihBUJ/Z2hi6ARLxltGy09ZMkbVi8+lBj9WdaMNao8JRv4rm9Pc/dbxNQr9oF94ItcgsJomjjmOWTepwXK4JqfQgzYmialMDJxM6DFl4PQIh8CoUTm+2bFe8xPoC9yliYHjlQ23WNkANS3PBMMP/kKFfsUvPJEjEFhdE45FI8gjuxQ4zT27VWodmkl16Qx7FtsE3YiXiMx5YuB8+gLHIxwCwQWYoAcnJaCDQOhPOx9wyLFMyLFlFq5x2S01wcj5yrq10WqC8ZIa/3NtCdBwVQJcy8FPmrNQ/GzripzVae7af04nyJi+f95ar7EdNAg9Zgs9pmy5cYtAMAEm6MEoCeQo0Bc49sTA8cqGW6RsgJqWt+/Ob1dT201olglG/mt5vAbpU+Tfzep7qA+5rlWrE6tvmRYdBbKaoMtpfdWpHb16DR3bBH1irx0ZYrm+Ie7nbgSiEWCCHs2qIJFhBEJ/2jlxmLbqeCjVI+hmxWnufq+YixQ69MVx/LIlci8C9t4W4xG0XvoS4zJ8yBXjWuk9p9yu5B7j6e22dnKfoIceU/b+imZJBIYQYII+BAx3RyXQFzibiYHjlQ2X8gR9bR0B7CsLwPKTC+gIoE3O/zT5I9yTmQAfcvmtUCbofrZ1RF5c+5ucfp4w1gl6bNfGmBj4xdYXOB7hEAguwAQ9OCkBQwpoZ2w/9zF7yJiKNTFwvJ7DqX92etsHew5Q/4JTKAUmGH7rgQmGn20skbct3gdiySebPPQh1w3qzH3ZdIiO2P5m9RwYtM33qR+LR9qXGZRfTD/9NjGw0+zqXzQ/JRe4b4TLRIAJeiYrMuNu9AXu2ysatD0ROGaZcNa/1LfD8WUAWHZYATvN3S4YR8lXYBZ1bat8u1d7z/iQq/ZVEDSBlYNGqy/YpvU13VHL0ZzmXozZQv+qSV9HCjwJgZoEUp8Y1MRGsxUKhP6u0AMV5t5JU2M7eVLkz7HTDrM4qhGbswYmryqn02LLi3yCC3AWSnDSSQGZoE+iyOKPJbPoxahRsZ7e3uKNZoJeJBR67BZ6bNly4xaBIAJM0IMwEsRRoC9w7ImB45UNl+oV3Af2m5+LGigS7n8mGOEsY420qT7kmjPW5FLOSx9y3aj870m5D+TeTyD5Cbq29dHq0Qb9ehXfP7GNTSYGJuoLHI9wCAQVYIIelJNgDgKhP+Wc6JBjmZA5HEG3/m+nQceYMhAsO6TAJXrkhSEf5YEcBGzb2SGHjkTaBz7kinTF9JDWEtrXTNHDcjEtYj8XN1NMCQ2Sy4KD3FfnXRMDNx56bBk4PcI1XYAJetNfAfH3P/SFSiZG1uXYPqX+/+ydB7wlRZX/H38YwpBzEGQAAUGEEZAchgwDw8AwwzDBERR0XV0TphUDJtxdV0FdV1EMKygqoOQchgySkwoIDEFyThJmhv/vMH2Z+967ocM51aeqf/X51Hv3dledOudbfbvO6a6uLotHFvLbu2xl1utOgNPcu7NJbA+nudt1KAN0O7ahJS+OBtcI3ahye3spy7MQt7qF0AoyZ1Wo26mqtm/ZqQ1uI4HSBBigl0bHioEIJLuCe8YvlTvoYg6nudv9KBhg2LH1Ivm9uDMY/fRdLzDb9cBFrlvw/a72bfwcNYHYfycHREDf20WQWcrMtH1LZfUorukEGKA3/Qjwb/8Kyio+oCyvqriUAvSxCDCWrQqE9TsSuARbn++4hxtTIsC76Ha9yYtcdmxDSx4VukGt9jBGvhuyvL5erd3Mtzl7lEDbd9P2LdvZ8TMJVCbAAL0yQgowJqB9lfMJY31zi8fgtwoKj8xdwX9Beac7n6M16CfcAXwVYk8yEE2RvghMc+YU+6JTTRsG6NX4eart7e5uETYTixSusayM554WrtT23bR9yxq7ik2nSIABeoq9mpZN2lc5n3KEx9siLBpoeAdQg2JnGQwwOnNJaeuaMGbHlAzyYgsuct0GXf7mRR/qUYkAA/RK+HJX9sRZ23fT9i1zQ2VBEshDgAF6HkosUwsB3ElaDA1L1kpzIOhZLWEKcjxdnVYw500RW6PfUln4TouJlpyZEPScljDKcUuAF7nsuoYXuezYhpTsbQGzXLZjbNwABTfMVdhHIU+cxXcTH04rLZb5mFryKIcEVAkwQFfFSWHKBLSvcD6DuyhvKOtYRZy2fVV00azLxeI0aWaycOy+ho8MMAzYOhM5kY6jWY/w92OGNqhgT3d2ixg+sUhhB2XdcM58t2eUmaTqgyljorg6CDBAr4M628xLQPsZIe0pUnnt6FYuxTvoYuv0bgZze2UCDDAqI3QvQN6PPN69lhEqCCf/Dqj9lwhVp8qDCXi6sztYs97fYgvQV+ttTvC92j6cto8ZHAgbTJcAA/R0+zYFy7RPnton96qMU716uzbuAG5XFQ7rdyRwKbZ6ekyjo5LcWJkAp7lXRthVAC9ydUUTzY6RGGMWjUZbKAp918W/jWPSGbp681G0fThtHzOy7qW6ngkwQPfcO9RNe3DQPrlX7aFU76ALFwYYVY+ODvVxB/B1bP59h13clBaB3eHQr5yWSW6sYYDupisqKbJcpdrhK8d291wIefNRtH04bR8z/FHFFpMlwAA92a5NwjDtq5vaJ/eqkFMeHCYhwJDXtDDpE2CAoc/Um8SFoNAUb0qloA8ucv0VdtyWgi0Nt2HZyOyPMUD35qNo+3DaPmZkhyTV9UyAAbrn3qFu2oOD9sm9ag95uzpd1Z72+uI8jWvfwM9qBC6DpKfVpFGQVwJcbNGuZ3iRy45tKMnRBOi4WL0WoGwaCoxiO958FG0fTtvHVERPUU0nwAC96UeAb/u1r25qn9yr0vM2+FW1Z2h9BhhDiSh8xx3A2RDDae4KLJ2LeA8c+3c51zFW9U6KVXHq/RaBaAJ0aBzj3XMB7S2A1fbhtH3Mtw5OfiCBqgQYoFclyPqWBLQHB+2Te1Xbte2rqo92/T0RYKRuozazvPJ4BzAvqbjLcS0Hg/7DRa47IfYWA9EUGY4AA3R71stiDF/QvpncLWj7cPRPcqNnwdAEGKCHJs72ihDQvrqpfXIvYsugshj0RmDDMoM2pvdFbORztDb9egXEPmYjmlIdEZiGcwXHaZsO4UUuG66hpEaxijt+v6MAZItQUJTbkXOPp8X4tB/t0vYxlfFTXJMJcOBvcu/7t1376qb2yb0KwaYMDLwDWOUo6VI3m+Z+cpfd3JwOAXnf807pmOPKEk5zd9UdhZVZuHCNeipMr6dZtVa1/bAqimnfZGmKH1aFOevWRIABek3g2WwuAtonT+2Tey4juhRK/fnzltnvxR2E9Vpf+F+VAO8AquJ0K4wXuQy6Bhe57obYmwxEU2QYArEE6LH/fj09SqDtw3m6+BDmV8NWoiHAAD2armqkoksoW619cq+iXpMGhvdXAcW6XQlciT1PdN3LHakQOAAXuUamYowzO3iRy1mHFFBHHqFynfC73RIKxn6BWtsPq9Jn2j6cJ9uqcGHdBAkwQE+wUxMySfsK+bOO2DTlDrogl+doF3DEPglVcAdwDgz5XRLG0IheBMSJ3L9XAe4rTYDT3Eujq72itn9gYVDsd8+FyZIWYErKfK5kvW7VYjiGuunO7YkTYICeeAdHbp72yfM1RzyWcqSLtSprooEdrRtpqHzeAWxGx6fg6LvrKVzkugdK3eBOMSqUh4C2f5CnzdxlcFFa7vAflLuC34Ke7jK/qozJ9TGkbCvFRUaAAXpkHdYwdTVPnm/AGXvdEb9FHOkSQhUGGDaUr4bYx21EU6ojArvC4V/VkT4pqcKLXHH25hznao+Fftrr6NRhspsAPfPh3lCEoOljKqpFUSQwMMAAnUeBSwJwRheCYprHp6e758K8aQH6RPRpFK/FcfmD6KJUNs39xC67uTkdAvIu4qnpmOPKEk5zd9UduZV5OXfJegrOqKdZ9VbdBOiZZZq+3P/LfE11aBRIAlUJaAZAVXVhfRJoJ6AdwGqe1Nv1LPtZ276yeoSqJ1P69wvVWMPa4R3AZnT4xs0wM6yVuMh1H1q8LmyrbE2BwD8VZJiIQNAna8yMMxEeXqinZ9DFem1frmm+WPgjiC2WIsAAvRQ2VgpAQHvqkfZJvSoCbfuq6hOiPqe521C+BmIftRFNqY4InOZIl9RU4UWu+HrU8x10uXvufpX5nF2e8h10QdBEXyxn17NYnQQYoNdJn233IqB9VdNbgK5tXy+WXvbtjjsLK3lRJhU9cAdwLmw5MRV7aEdHAnK38PyOe7hRgwCnuWtQDCvDc4D+wbAoTFtLPUBvoi9mesBQuA4BBug6HClFn4D2VU3t1T+rWtzEQUHWFZhaFRzrdyTAO4AdsSSz8XRciHkxGWucGQK290MlmYnCFA8Bl1PccRF6GyDcIB6MfTX1tnaMti+n7Wv2BcoCJJCHAAP0PJRYpg4C2idN3kGvoxeHt5nKwjnDLat3y7Vo/pF6VWDrhgR4AcYQbiaajO0Za7bg9Q56SnfPpb/kwrqnpO3LafuanlhRl4gJMECPuPMSV137DrP2Sb0qfm37quoTqv57cIdhw1CNNaUd3AGUV8/8tin2NsxOTm8P0+EnoxnNVziF0bq5rbgL0DG2yYJqkxPrktQD9Kb6YokdpumZwwA9vT5NxSLtq5reAnRt+2Lq9/fHpGxEuvIOYESdVUBVTm8vAKtsUVzkehB1ry5bn/WCE/A4xX0KKCwenIRtg6kH6E32xWyPHEqvRIABeiV8rGxIQPuqpvZzS1VN17avqj4h60/FnQaee/SJy6ui/qEvlhJrJsALL+E6gKzDsa7a0jNVBRjUP9RAZt0ivQXo2r5ck32xuo8ttt+DAJ3kHnC4q1YC2lc1vd1Bb/KgsDqOrJ1rPboSbJzT3BPs1IEBTm8P262c5h6Wd5XWHq5SWbsuLjq/HTI315brQJ63AF3bl9P2NR10GVVIgQAD9BR6MU0btANY7ZN6Vera9lXVJ3R9vhPdhjjvANpwrUsqp7cHJI+LXDID5cqATbKpcgSeQl+9Uq6qWS0Z0xYwk16fYG/vc9f25Zrui9V3ZLHlngQYoPfEw501EtC+qql9Uq+KpumDwgTccRhZFSLrDyNwA7bIs7RMaRDgBZfw/Ujm4ZkXbdHjozwHFTUikvK8gx5JR1HNtAgwQE+rP1OyRjuA1X5uqSpr7QsQVfUJXX8JNDghdKOpt8dp7kn1sExvPy8pi+Iw5hSoOTcOVRurpasAHReb10NPbJRob3gL0LV9OW1fM9HDgGaFJsAAPTRxtpeXgPbrbrxNPfOmT95+0SzHae6aNOfL4h3A+Sxi/iTT21+K2YAYdQfzh6H3FTHq3iCdH3Jm6wxn+miqo+2LVdVN23fyZl9VPqyfCAEG6Il0ZIJmaF8l9XbHenaCfVbUpF1w52HVopVYvjcBBBg3osQDvUtxbwQEeKGlvk4i+/rY52nZ1R10KHxAHqUjLePNV9H25bR9zUi7mWp7I8AA3VuPUJ8WAe1nxrVP6i09y/5/vWzFhOotCFumJWSPJ1N+40kZ6lKYAKe3F0amWoHT3FVxqgtzE6DjIvN7Yd071S30IzD1AF3b1/TTc9QkagIM0KPuvqSV1z5penvOiAH6vMN3etJHcX3G8Q5gfew1Wub0dg2KJWVgFsqjqHpZyeqsZk/ATYAOU6fYm1trC958FW1fTtvXrLWz2Hg6BBigp9OXqVmiPe3I2x10b1el6zp+NsEdiE3qajzVdhFg3Azb7k3VvgbYxQss9Xcy+6D+PuimgacA/cBuSiay3Zuvou3LafuaiXQ7zaibAAP0unuA7XcjoH1VU/uk3k3vvNu9XZXOq7dFOS4WZ0F1YOBEG7GUakyA09uNAecUL9Pc5+Qsy2LhCMiiXn8P11z3lnBxeUfsfVv3EknsST1A1/Y1k+h0GlE/AQbo9fcBNehMQPuqJgP0zpw9bJ0KR0eeR2fSJcA7gLo8Q0nj9PZQpHu0g1koj2P3pT2KcFc9BGahb16up+lhrab67vN2Q73dTND25bR9zXZ2/EwCpQkwQC+NjhWNCWhf1dR+bqmq+d6uSle1p0r9VVF51yoCWHc4ATixt2Irp7kPR+N9y0neFWyQfr9vkK2xmPoXD4riorL4z/t50MVYB2++irYvp+1rGncHxTeFAAP0pvR0fHZqX9XUvupalai3q9JV7alaP+X3yFZlU7ZMIJAAAEAASURBVKU+V3OvQi98XZnefm74ZtliFwJ/wnZOc+8Cp6bNLgJ02L478io1MQjZrLcAXduX0/Y1Q/YN20qYAAP0hDs3ctO0r2pqn9Sr4vU26FW1p2r9/XBHYomqQlh/GAFOcx+GxPUGTm931D2YhfIE1LnYkUpUZWDAS4A+pSGd4e1mgrYvp+1rNuSwoJnWBBigWxOm/LIEtE+a2if1sna16r3S+sD/bxIYib8TyUKXAAKM2yHxb7pSKc2QAKe3G8ItKZoXuUqCM6pWe4COi8kjYNu+RvZ5E/uiM4W0fTneQXfWwVRnHgEG6DwSvBLQPmlqP7dUldsLVQUkWJ+rudt0Kp+jteGqLZXT27WJ6siTae6c8aTDUkPKXzWEVJQxDvWXqSgjlurefBVtX077ZlAs/Uo9nRNggO68gxqsnvZJU/uqa9Wueb6qgATrj8GdidUTtKtukyTAYPJPgNPbHfYRZqE8BbUucqhaE1V6CP3hIWA8qEHwPfBux63ty2n7mu268jMJlCbAAL00Ola0JIBBWO5YzFVsQ6akeUoM0If3hpyPpg/fzC1VCOC3dAvq31FFBusGIcDp7UEwl2qE09xLYVOv5GF6+2Kwai91y/wK9Baga/pyczNf0y99atZYAgzQG9v1URiueWVzgey5MS+GM0Dv3BOc5t6ZS9WtDDCqErStz+nttnyrSj8VArwtllXVphjr1x6gA9oE5CYtaOomQM98uAUUD1xNH1NRLYoigYEBBug8CjwTSPk5dAbonY+8DTEIb9Z5F7dWIMBp7hXgBajK6e0BIJdtAnfZnkbdC8vWZz01AjepSSovqCmrt7cIuQnQoZD28+faPmaLGf+TQGUCDNArI6QAQwLaVzeXNtS1qGgG6N2J8S56dzal9iDAuA0VJTP5JMDp7T77pV0rzkJpp1HP5z/X0+y8VnHxeCl82rVOHWpo21OAru3DafuYNXQPm0yVAAP0VHs2DbteUjZjeWV5VcQxQO9O7yA4Qgt13809JQkwwCgJzrgap7cbA1YSL9Pc6dArwSwhRsbMO0vU06wyGcK07+Jq6mchy1OAru3DeXuFnEX/UWakBBigR9pxDVH7SWU7tU/uVdRjgN6d3srYtUf33dxTkgCnuZcEZ1yN09uNAWuIxyyUZyHnAg1ZlFGKwHXogzdK1dSr1KTV21vUUg7Q5Q0NTCTgkgADdJfdQqUyAtonTwbo8RxaM+JRNQ5N4dzKSu6yojuTLwKc3u6rP3ppw1kovejY7qt7evuKMG9HWxNdSn/GkVbaPpy2j+kIFVWJnQAD9Nh7MG39U76D/lzaXVfZun2z5/0qC6KAQQQYYAzCUfsXmd5+du1aUIG8BE5DQU5zz0tLt1ytATpMkcXhFtQ1yb00mbGg7YdVMVo7QPdkWxUurJsgAQboCXZqQiZpX93UPrmXRo27mbJ6KIP07gQXxa5J3XdzT0kCnOZeEpxRNZneLkE6UwQE0Fdyzj4vAlVTVNFDgJ4i1142PY1jfnavAoH3aftw2j5mYBxsLmUCDNBT7t34bdO+uql9cq9K+LGqAhKvz2nuyh0MZ+uvEHmTsliKK0+A09vLs6urJmehhCf/D5y7Hg7f7LwWMZtrdXzasq72a2z3iRrb7tS0tg+n7WN20pnbSKAUAQbopbCxUiAC2lc3tU/uVTE8WlVA4vW3h2O0ZuI21mEeA4w6qA9vU+6cnzt8M7c4J3A69JMZUEzhCNR993w6TF0gnLluWnrcjSbzFNH24bR9TGe4qE7MBBigx9x76euufXVT++RetQd4B703QXGI+E703ozK7D2lTCXWUSdgvno7LnBtiryYuuYNFog7ufIGjnMajKAO06+ro9G2Npu4eruYn3qAru1jth0y/EgC1QgwQK/Gj7VtCWhf3WSAbttfFtIZoCtTRYBxN0TeoCyW4ooTCDG9/VCo1dTgoniP5K/BWSj5WWmUvFZDSBkZuMC1LuptUqZuAnVSn+Ku7WMm0OU0wQsBBuheeoJ6dCKgffJkgN6Jsu9t68FBauKzf9a9wgDDmnBv+ebT2/G7kRko45F5kat3X5TZewYqvVKmIusUJvA6atQWoKNtmd7e1JT6HXRtH7OpxwntNiDAAN0AKkWqEdCefuQtQOcz6PkOFQYY+TgVKcXV3IvQ0i9rPr0dKu+GvBryDgjWV9Y3obkSMQvlRVjP1+OFOQSuB++XwjTVsZWJHbc2Y2PqAbq2j9mMo4JWBiHAAD0IZjZSkoD21c1ls7tKJdVRr8Zn0PMhPQj9NiJfUZbKQyCb5l73c515VE21TIjp7a2p7fLu5g+kCrJGuzgLJQz8mWGaGd4Kxp1NsXXD4Xsas8WNj5L5bssqk9f2MZXVo7gmE2CA3uTed247ggiZBvqyoppyvC+jKK+qKDeDX1VDjOvLzIexxm00UTwDjHp6PcT09oVg2rg28w5s+8yPOgTOhBjpSyZbAjNtxfeUPqXn3vR3PuDIRPHdNGOWlzMf05GJVIUE5hPQPNjnS+UnEtAjoH2F09M090f0MCUvidPc9bv4FH2RlJiDQIjp7XJBa4U2XUbjDtTmbd/5sSKBbNr1WRXFsHpvArOx+6reRUz3TjKV7l+4pwBd23fT9i399yY1jIoAA/SouquRymo/I7SiI4oPQxdZAIepP4F9EGB4mv3QX2PnJRBg3AcV61x8yTkhM/VCTm9vN4IXudpp6HzmLBQdjt2kyPPnL3bbabkd4812kL+mZRvOZb8K/R53pONKyrpo+5bK6lFc0wkwQG/6EeDffu2rnG4GXDgec4D/Qf9d4ELDRaDFZBeapKUEA4yw/Rlierv8VuQO+tA0EUEHx/yhVKp9lzvomo9hVdMmvdqX1mhSaw2HGlWotekH4KO8UasGgxt/++Cvlb9p+5aVFaIAEmgnwMG6nQY/eySgfRId5cxIuYvJlI/AjHzFWKoAAa7mXgCWQtEQ09vl1WpLd9BVVnTvFLh3KMpNeQgggJHgXJ5FZ7IhMNNGbG+p2YWsCb1LJb/3AWcWjlLWh3fQlYFSnC4BBui6PClNn4BMA9dMozSFKciapSCjKSK2geO0dlOMDWEnAgy5QHR1iLbYxpsEQkxv77WwFae56x+InIWiz1QkyvPnV9qI7it1F5RYtW+ptAvc78y8Ucr6cA0gZaAUp0uAAbouT0rTJzBLWeQoZXlVxfEOejGCvItejFee0gww8lCqXibE9PaRUHP3HqrujYtci/fYz13FCZyNKi8Vr8YafQjciAuIL/QpY7W710Uuqza9yU39Dvosb8CpDwm0E2CA3k6Dnz0S0A5g13Rm5Cxn+nhXZ5p3BSPUj9Pcw3RaiOntsuq0BOndkgTnDD660SmxHUGkXHg5o0RVVulNYGbv3TZ7cQFLXlG4r430qKSmHqBr+5ZRdS6V9U+AAbr/Pmq6hrOUAXgL0DlIFOvgd8CB2qZYFZbuRQABhkxlrGsqaS/VUtsXYnp7noWtOM1d/8jiLBR9ppfoi8wlcW+U0n6lV66GnRXyNsVde5G4Wc54Ux0SGESAAfogHPzikIB2ALsYAryVHdmpbZ8j08xU4TR3fbQMMPSZtksMMb1dFobbub3RLp+3wzlQFoxj0iNwDkTVNR1bzwo/kl6BKnWt4J7nIpcfUnaa3G0nupjkzGdbrFitvqXpe/VFxAJ1EmCAXid9tt2XAO7uyTtQU17J/VHYJ84IU34CB2LAXjh/cZbMQUCmub+RoxyLlCNwBs5l1s8pS2CR53ch4/4HypnBWp0IoG/lHH56p33cVorA5WAqF7WCJowri6JBuYPe9CRvJ3jIEYRRyro8lfmWymIpjgT0CDBA12NJSXYEtK90jrJTtZhkDBISFGnbV0yJ+EovC5XHxae2X41xHD4I7a7wq2H0moWYoVDkzt/U6In6MyBEH/uz2kaj82zE9pW6H0os2bdU+gXuzHwTL5aOUlaEPpcyUIrTJ8AAXZ8pJeoTmKUscpSyvKri/lpVQAPr8zla/U5ngKHPVCSGmN6+AtrZvoD6G+Bu4ZYFyrNofwISVD7fvxhL5CBQV4DOBRTndc6dOfooZJFRyo3NUpZHcSSgToABujpSCjQgoH21c00DHauI/EuVyg2tuxcCDC7ko9v5p0LcG7oiKQ0EQkxvl7cbLFiQNi9yFQTWqzjuOL6K/af1KsN9uQj8Ayxvz1VSsRDGE7lz3usVhYqtuRflLUDX9tm0fUr3HUoF4yPAAD2+PmuixrOUjR6lLK+qOAboxQnKs7ZFpvQWb6FhNeAUyzOHlzXM7BDmhpiZUOa3cACCkqJBfQheMbcRoq9j5pNH9/PyFDIoI68olGfQmQYGvAXoo5Q7ZZayPIojAXUCDNDVkVKgAQHtq52jDHSsIpIBejl6XM29HLdetRhg9KJTfF+I6e2yInuZ6eqroN4+xU1ijR4Ezse+53rs567+BOoK0Mtc5OpvTZwlUg/QtX3KOHuZWrsmwADddfdQuYzALGUS2tOlqqong+HcqkIaWH8L3AFct4F2W5rMae66dENMb5ep6guUVJvT3EuC61QNs1Bew3b5DTGVIyDj4IXlqpavlT0utVN5CcnVvMuZRdo+2yxn9lEdEhhGgAH6MCTc4JDALGWdRmJAXklZZmlxcOpeQeV7SwtodkXeRVfsfxyLD0PcTEWRTRcVYkZClTt/Y3Eu5KrVukdpiD7X1diPtOtwDnq6BnXkN7RQDe16bPIh9IG83tZFyny1kcrKzFKWR3EkoE6AAbo6UgrUJoDBQqaJPqYsdz1leVXFcZp7OYLTMYCXvXtYrsX0azHA0OnjENPb14KqoyuouxjqTq1Qn1WHE7gAm54ZvplbchCoa3r7lBy6NaVI8AX6+oBdv8/+orsfy3zKovVYngSCEmCAHhQ3G6tAQPuZoXdX0MWiKgP0clRHoVqR10uVa6VZtWSKLh+5qN7nIaa3a8wg4TT36n39lgQ4/6/jC6e5v0Wk0IfgATou8K4GDbcupGXahW92Zp62r6btSzrDRXVSIcAAPZWeTN+OWcomap/0q6rHAL08QY0gpXzridVEgPEoTLokMbPqMCfETIQq09tbTLZBkPL21hf+VyEQou9VFHUk5Fnocm0N+sgrCukLzwefeoA+a76p/EQCfgnwpOS3b6jZYALaVz29Bei3DTaX3woQmIgAg6/HKQAsR1EGGDkg9Sgi09vP6bG/8i4c86Mh5J2VBc1bYO4QBTkUMZ/ARfhYx7PU8zWI79N5uDg4pwa1NS5y1aC2WZOpB+javqRZR1BwswkwQG92/8dk/R3KynoL0MW+V5VtbIq4pWHo+KYYG8jO09AOp7mXhy3T218uXz1XTc3AYnKuFlkoF4FsmvufchVmoRaBs1ofQv3HRa610damodqLoB05Z93tTM+NlPXR9iWV1aM4EphHgAE6j4RYCGjfYV4ag/MaXozPHLpbvOgToR58jlax03A8yqKMcheQqRyBEDMQ9i+nWsdaG+B8uE3HPdxYlkCIY6Csbt7qycVA0xknXQye3mV7UzffinO/mwuzOCfJozdyAV4zafuSmrpRFgm8RYAB+lso+ME5gb9BP1l8RzN5u4t+g6ZxDZO1BwbzFRtms7W5DDDKEZbp7eeWq5qvFo71rVBS+00UvMiVD3/eUhej4FN5Cze83LUIDJ+sgcHEGtr03GTq09vFhxRfkokE3BNggO6+i6igEMDg/Rr+aZ9YvQXo17O3SxOQd9jydVGl8XWsKNPc53Tcw429CIRYvf2gXgqU3HcAAn++C7okvKHVMGbNxrY/Dt3O7x0JnNlxq+FGHOubQLw3H8DQ4lyiUw/Q/5b5krlgsBAJ1EmAAXqd9Nl2UQLaU5O8Dc4M0IseEYPL8w7gYB6VvsGReQICLqwkpJmVTwpgtub09pa6MgNl39YX/lch8HsVKekLCf78OZDy3efDjytvAbr28+faPuRwgtxCAkoEGKArgaSYIARuVW7FW4Aur1p7RdnGJonbDHdFNmySwQFs5TT3YpBlevvZxaoUK41jfAxqyLOZFokXuXSpzoQ4udDF1J3Ag7gYWMf6K5O6q9TIPTL9u45+6AVb20fT9iF76c59JFCJAAP0SvhYOTAB7ZPrOz1N6cymRHq7gh24iys3xwCjMsJBAk7HN5mqy5SPQGyrtw+1ak+cE7UXZRraRmO+45w+B8ae0hiDyxl6Rrlq5WvhGN8atdcuLyHJmjfjeHVzgyDzzTReI9neWdo+ZLtsfiYBVQIM0FVxUpgxAe3pSQtD3/WNdS4q/oaiFVh+EIFpGNgXGLSFX0oTgMMmCzddUFpA8yqaTm/HsS1j9nhDrItC9jRD+U0UzVkovXtdLgKGThZrOIS2Qbu9q7UFVpQnvpn4aJpJ24fU1I2ySGAQAQbog3Dwi2cCCBYegn7PKOuoPYWqqnp8Dr0awTVQfadqIlh7CAEGGEOAdPkq09utXxW1O9pYpUv7Wps5C0WL5Dw5l+GfvLaQaTiBF7DpkuGb7bZkF3APsGshWsneAnRt3+yZzIeMtoOoeLMIMEBvVn+nYK32FCXtQaAq42uqCmD9gRlkoEqA09zz4Yx19fah1m2FIGbU0I38Xo4AggJOc++O7jzwkTe0hExyAfdtIRuMpK3UA3Rt3zGSbqWasRJggB5rzzVXb+0pSq4CdDgrf0PXclGhasf3BAQYI6uJYO0WARyTT+Pzea3v/N+VgPX09hFoeVzX1nV3fEBXXOOlcRZK50OgjuntXL19eF88gvP8/cM317pF2zdjgF5rd7LxogQYoBclxvJ1E9A+yY6u26AO7V/eYRs35SewJIrul784S+YgwACjN6QQ09v3hgrL9VZDbe9kNUkUJATknP4oUQwiIDMLTN94MKg1fMGF24Xwj2PDUDADA97unouG2r6Z9s2d4RS5hQQUCTBAV4RJUUEIaAfoa2DQXj2I5vkbYYCen1W3kpzm3o1Mue1noJq8hoepM4FUpre3rFsP58XtW1/4vxoB3J2cCwknV5OSXO0rweWpwFbtifZWCNxmDM25CtAzn2wNZXDavqOyehRHAoMJMEAfzIPf/BO4HSq+oazmNsryqopjgF6V4MDArhjkrRfTqq5lJBLgSMvijOdGom4dalpPb5fV1ccGNux9gdtLvTnOQhncw6cO/hrk20FBWomvEVcBOvBp+2TiM4rvyEQC0RBggB5NV1FRIYBA4SX8u1eZxrbK8qqKuxkCXqgqpOH1F4T9fF2U7kHAAKMzzxDT2/dH0/LoRsgkaznIc+9MOgSuhJiHdUQlISVogI5jeRFQG5cEOV0j5Pzl7e0x2j7ZvZnvqEuO0kjAkAADdEO4FG1GQHuqkvbV2kqGYyCRZ/OuqiSElYUA7wDqHgdnQlzoFZd1LbCRltr09hal5fFhv9YX/q9GAOd1TnOfj/BW8Lhv/tcgn/ZFK0sFaSmuRq5CX7zqTGVtn0zbZ3SGi+qkSIABeoq9mr5NNyqbOBpX10cqy6wqjtPcqxIcGNgE/fru6mIoQQjAiXsW/84hjWEErKe3L4EWdxvWapgNvMily5mzUObxDHr3POtCrt7e+Vi+uPPmerZmvtho5da1fUZl9SiOBIYTYIA+nAm3+CcgUwU1k6zsuoWmQAVZDNAVIELEDB0xlJIRYIAx+FAIMb19EppcbHCzwb7tAYd52WCtpd+QzIx6KH0z+1oYNEDHMSwXuWSBOKbhBFwF6FBPfDHxyTSTts+oqRtlkUBHAgzQO2LhRucEroV+s5V11J5SVVW9P0OAt2lnVW2qo/5UOGc8z+mRl2nur+iJi15SqtPbWx2zMD5Mb33h/2oEMAtFFqtq+mruD4DDTdVIFq59AGrUdZGrsLIBK8haN96eP9f2xcRXFJ+RiQSiIkDHNaruorJCAIP7y/h3szIN7UGhknqwUYIg3kWvRPHNyqvh767VxVCCEMBx+Tz+cZr7/MPBenq73L3eeX5ztXziLBRd7E2fhRL07nnWdVy9vfMxfBnO6do3Ozq3lH+r9gJxN2c+Y34NWJIEHBBggO6gE6hCKQLaU5a2xp3WBUppYlfpPDvRjZLM52h1u7vpAUaLZojp7RJYaE/3bOmf9//mODeuk7cwy/UlcA1KPNi3VLoF/hTSNBy7cpFrl5BtRtSWq+ntmQ+2lTK/K5TlURwJBCHAAD0IZjZiQED7pLscdHyngZ5VRDJAr0Jvft39MfAvPv8rP1UkcBbqywyPpqfUp7e39+8H2r/wc3kCuJsn09ybepHrSdgeembYZLQ5onyPJV3TVYAO0uKDiS+mmbRv5mjqRlkk0JUAA/SuaLjDOQGL15BpT62qhBCO3G0Q8EglIawsBCQ4l2cQmRQI4LiU5xYlSG96sp7evjIAezknSZDDpEegqQH66Th/yGtEQyau3t6Z9lPYfEvnXbVttTjfWfiKtQFiw80hwAC9OX2dlKUY5B+GQdrvUXX1HHrWYbyLrnPk8jlaHY4tKU0NMFr2h5jePhWNLdhqsOb/62AWypiadUimeYxff4Yx9ydjUH5DQk9vXwWqbZdfvUaVPB/Hoczm8JS0fbD7Ml/Rk43UhQRyEWCAngsTCzkloD11SXtw0MDGAF2D4sDATggw3qYjilJA4GzkJk9zb9L09tYBz7UcWiR0/jftIpfMvLlAB11uKXKRi35uZ1weZ0Fp+2DaPmJnktxKAgYEeOIygEqRwQhon3zXRxC3QjDt8zUkDs3cfEVZqgcBOdfxdVE9ABXZhbsSL6L8GUXqJFbWenr7GuD1XmfMZC0Hee0akw6BpgXo5+C88aoOutxSDspdslkFxac415PJme+1vrJO2j6isnoURwLdCTBA786Ge/wTsDj5WjwDVZokHBp5TuyG0gJYsZ0A7wC206j+uWkBRouYvObxnNYXo/9yMcnbWyVkNewJRvY2TizO7fL+ae3HtDxzPCWkcgj41kJ73i5yhUTQq61rMt+iV5nQ+yx8LwsfMTQXttdQAgzQG9rxiZh9B+x4TtmW3ZXlaYjjNHcNigMD74LT9h4dUZQCAhKkyrPYTUtnwrl9ydhor3f+uJaDbsc35SKX3DmXx2JCJpneztSZwFmdN9e6Vdv3Et9QfEQmEoiSAAP0KLuNSgsBOMkyTetqZRp7KsvTEOdxMNWwqw4ZDDCUqGdB6ulK4mISYz29fQPA2NgpkF1xkWt5p7rFqFZTAnRZkEweiwmZJoVsLLK2znSor7bvdXXmIzo0lSqRQH8CDND7M2IJ3wS0pzCtDQd0XWcmXwt9+Lo1nU6Zgv71sjK2jkX1SmlKgNGiHGL1dq93z4XBCGQ+KtI6Gir+RwBxI0TcU1FMDNVDr96+EaBsEgOYGnR8CMfdrTW027XJzOdau2uBcju0fcNyWrAWCZQkwAC9JDhWc0PA4iSsfSW3EiwMpvIqlFMrCWHlFoGV8WGP1hf+r0xAFhqSZ7KbkkKs3n6Ac5ichaLbQalf5JKZbqHv2E7R7aKkpHmckWfhc1n4hkkdCDTGNwEG6L77h9r1JyB3l2f3L1aohMVgUUiBDoWD3oHo0H5Km3gHUKk3cfFIgvPTlMTFIMZ6evumgPAu5yDegzte2qstOzfZVL3UA/TLcZ54wpTgcOGTh2/iloxAEwJ08QnFN2QigWgJMECPtuuouBDIAgRZDVczjYEDuoimQAVZMyHjWQU5FDEwMB79uyRBqBFIPcBogWr69PYWB/l/SPsXfi5PAGPYzah9d3kJ7msGvbiMc/sWILKOeyr1KFjHu+h7Wor+WhQFdupZqPjO6zPfsHhN1iABJwQYoDvpCKpRiYD2+zxHQpsdK2mkXBmDzesQ6fHKt7KlQcQthla4gJAeannLQOgFoPS0zy8pxPT2WF5jNhmOtbfXwOXvSX8lU77IFXohSc9rONR95MkbKF6pW4kh7e+A7zImayZtn1BTN8oigVwEGKDnwsRCzglYnIw5zd15p1dUj9PcKwJsVYfDJ3eWmzDN3Xp6+zbgGMudv1HQdWdkJh0CqQboN+H8EOxd79lFo4k6XZKkFNNzWEliFr6WhU9Y0jxWI4FyBBigl+PGWr4IXAd1nlJWyWLQqKqiDDqvVBXC+m8S2BHO3NvJQo1AqgFGCxCnt7dIzP/PxeLms6j0CUGsrKp9ZyUhPisHnd4OBHI3dg2fKGrX6iVo4DFw1fa1xBcUn5CJBKImwAA96u6j8kIAzs1c/JNptpppA28BHOyUAfZ8TSMbLEum505vsP3apstxKc83pppkaqj8/kxSdudvfxPhdkJlLYdF7cQ3TvLvE7Q4dIDO1du7H0RyDpMLjW5S5mNtoKzQeZlPqCyW4kggLAEG6GF5szU7AhZXhrWv7GpYf4qGEMp4kwCnuSsdCHCIZGZHyq8CtJ4hIIskra7UHaHELI2GvL8SLhQLjXasjzENHYvIuAfnhduLVKhSFsHegqjP47E7xJO776ptj4WPdU5t1rBhElAkwABdESZF1UpA7qDL+8I1k8XgUVU/uSPh6ip4VYNqrP9OOHXvrbH91JpOLcBo9Q+nt7dIDP/Pae7DmZTagmD2DlT8a6nKPiuFvnu+OzCs4BNF7VrJ6zDPrl2L4Qpo+1jiA3KW4XDO3BIhAQboEXYaVR5OAM7N49h6w/A9lbbsggBuRCUJypVhp0wjPkNZbJPFMcDQ6/0LIOp5PXFuJFlPb5c7f+PdWFtMkZ1xjlyxWBWW7kEgpWnuoQP0g3pwbfqus+E7SJDuJmW+1S7KCt2Q+YLKYimOBMITYIAenjlbtCOgPbVpKagqKyt7S7/xplDE+hwER2GhiPV3ozoco1ehTGinPIT91jMD9oARK4UwxKAN+e3wIpceWOtjTU/T3pIexe5rehfR24tz+MKQtp+exOQkeTyuxLcSH0szafuAmrpRFgkUIsAAvRAuFnZOwOI59L0c2ix2Pu1QrxhVkimRY2NU3KnOHh3BKqg4vb0/PS7M1Z9RrhK4yCVT3IM9t51LqXKFToMtsnhrqLQPGtIO9kLpbt3Os2gg9Lvo89hk4VtZ+IB5bGEZElAnwABdHSkF1kjgWrT9jHL7E5XlVRYHx+c1CPH4PtPKttUkgIvF6YG/EKKe0xNXuyTr6e1y529c7VZWU2Az3MHcuJoI1m4jkMJFrtALRvIiUdsBNOTjH7LZTUM21/5V27cS3098QCYSSIIAA/QkupFGCAEMQnPwT3uBkHXgfG7mkDCnuet1yjj08TJ64porKbt49MeECFgHS3LnL4Vjj9Pc9Q5662NOT9POkmSdlIs779LfinP34pA6Vl9yMhJ/7c2SzKdaR1mv8zMfUFksxZFAPQQYoNfDna3aEbCY4nSgnbqlJV+Bmg+Urs2K7QQWwRePfdyuY0yfYw8wWqw5vb1Fov//A+F0L9C/GEv0I4Ag406UubVfOcf7ZdaJzPIKlfZHQyNDNRZZO/Kquysd6mwx3lr4fg7RUaWmEGCA3pSebo6dcpLWft3aJG/4MOiKjb/1plfE+nCau17nXQRR8txj7Ml6evtiAGTxHGYd3NdAo7vV0XCibcZ8kSv0QpEHJXoMaJh1vIYQAxnaPpX4QwzQDTqKIusjwAC9PvZs2YAAAldZPfZmZdFr4e7QFsoyNcRxmrsGxXkytkUfr6UnrrmS8Bt8HdafkgAB6yBpAhgtkQCnlgmc5t4iUf2/9bFXXcPOEuRNDsECJZyzl0V7vDDUuS9kq7sAPfOltMfamzPfrzsJ7iGByAgwQI+sw6huLgIWDoLFlKxcxnQrhAFJVvvloijdABXbLtNzeRe9GLNepWMNMFo2cXp7i0T+//vC+ZZZAUwVCeDcfjdEaF9orqhVruoXQnd5Bj1UkoXGZKFFpuEErkBf3Dt8c+1bLHwpC5+vdlBUoNkEGKA3u/9Ttf40A8Mmwfn0+IzlzwxsbarI6U013MDuSyAz5lcBWk9vl1dC7WrAvU6RS6Jx7amrddpTd9sxXuQKPb2dq7d3P0p/3X1XPXsyH8riHGHh89UDia2SQEaAAToPheQI4Kqx3FW+X9mwt0PelsoyNcT9DkJC3rHQ0NmrjHXhQGztVbmY9MJvMPZp7tbBkTipi8bUpzl15TT3nKByFLM+BnOoUKjIXJQ+o1CNCoVxrl4J1XeoICLlqi/COPENvCXxocSX0kz3Zz6fpkzKIoHaCTBAr70LqIARAQvnZrKRrqXFYmB6CZW5WFxpgsMqcpr7MCSlN1j8BksrU6Aip7cXgDWk6BgETqsM2cavJQjg3H4Pqt1YompdVa6Ezo8HbFzuni8YsL2Ymvot+sLjhXsLHyrWcSam44m61kCAAXoN0NlkEAK/N2hlYjZFy0B0JZGc5l4J36DKk9HHfKZxEJLSX2ai5lOla9dX0Xp6+/IwbUx95pm2LAHT+01baJbwmIKP0NPbD2rWoVDI2mMLlQ5QOPOdZM0A7WTh62nrSHkkUJgAA/TCyFghBgK4enwD9JQ7EJppdQjbRlOghqzM1ps0ZFHGwHJgsDc5VCeA43I2pJxcXVJwCScZtyiBxULGbdQpnoGTHv2YAvRgzwEj2JNp0jJdmmk4getw7vU480J8J/GhNJO85118PSYSSI4AA/TkupQGtRGwcG4sViBtU7n0x5+WrsmKQwnMGLqB30sTsPgNllYmR0WZ3n52jnJViqQewI5GAPWeKoBYdx4BBB/34dN1EfCQ11zdG1DPqWjL46KtARF0bcrd3fNMUwvfKbbxpWuncQcJDCXAAH0oEX5PiYDF1CeZ5u7xdyPPocvz6EzVCYxFH8uddKbqBC6FiCeqiwkmwXp6+6qwxN0sHAO6vMilBzWGIORUPXNzSZLnz5mGE3gOm04cvrneLZnPxOnt9XYDW4+MgMdAIzKEVNcrAVzRvwW63aWs32qQt52yzMriYOvzEGJxQaKybhEKkGfQU7/LGaRbcFzOQUMxTXO3nt4ud/6aMO5OcXohM8hxr9yI9TGpoW6w589xXK0PhTfWUDpBGcfjnPuyQ7vEZxLfSTPdlfl4mjIpiwTcEGiCo+AGNhWphYBF0Or16v0PayGcZqNczV2vX2O4AyjWcnq7Xp+vDFF76IlrriQEIfLK0GsdE7gPOt4aUL9pAduKrSmv09stfCYL3y62/qa+CRNggJ5w59K0NwlYBAdyd2ikN75wkm6GTjO96RWpPluhj9eNVHdval8OhR7zplQHfaynt6+DNjfv0G6qmzjNXa9nLcYxLe3+qCUopxyLZ5lzNu262GXwAW73pmHmK8nMIe3k+TehbSvlNZAAA/QGdnqTTM4GrL8o27w05Hl1Eo5RtrXJ4ngXXaH38RuMZZq79VTipj02MQ7O+eIKhxBFDAzIsfmGUxDBnj/H8bQZGMgUd6bhBI4evsnFFvGVllLW5C8eL0Yo20hxDSfAAL3hB0BDzLe40nqYU3ZnQK+Qq+k6xaCi1nQ4hFwpWAXlgMVvUEezeVI4vV2T5jxZEpxP1hfbPIkIRh6E1dc4tPxx6HRVQL2adpErL9p7UPD0vIUDl7PwlbyPJ4ERs7kUCTBAT7FXadNQAhbPKm2D4G3DoQ3V/R2O3FzowGfRdTpiLYhxtyCgjmnBpVyBFh8N3mr+Bq2nt8tdv43yq5NMSc5C0etKj0HJadmYo2dlb0mTeu9u7N7vB+6HXKAzH2mbXIWLFbLw6YppwNIkYEyAAboxYIqvnwAGrr9Bi9sMNDnUQKaGyF9AyAsagihjgAGGwkGQOY/WU8iraGqt2/QqykVcdwc46dqrN0eMo5Lq8jYEb9PcQ67eLhdL16xEMM3Kz8KsXzo1zcJHujXz6ZyaTLVIQIcAA3QdjpTin4DFFdcZcD4X8WY6Bi955ZoE6UzVCUzy2MfVzapFgsc7gAIixPR2i3cA19KJBRsVH+PggnVYvAMBnNcfwuaQ08k7aDFok1wEvnjQFtsvFiuB22ocRvrPcGy8GKap/K1k4+aM/DVyl/Q6juQ2gAVJIA8BBuh5KLFMCgQsAvTlAWZ/p3B+CL3mOtUtJrWWgbL7xqSwY10luHjEoX7W09tl5fZ3OrQ7lEoMrPRIewpOzkZg+Kqead0lIdgTX3VC9xKN3TMblstY7zGJbyQ+knay8OW0daQ8EqhMgAF6ZYQUEAMBOBJ/h56XGuhqsQBKZTVhr+dFYyrbF1iAxV2AwCbU3xyOSblg5CnAaEGxnt7e9IWtNkKAJRcpmKoTkGnuXi68BpveDpt3RV6lOr7kJJyM86osIOgxWfhGl8Je8eWYSCB5AgzQk+9iGthG4Gdtn7U+7gTnU95v7DF926NSEeq0B/p4xQj19qiytwD9ZUA62xgUF7YaGOBFLoWDDMHJwxBzpYKoqiJegwDr3027jk2/yNXOov3z99q/ePmc+UQ7Gehj4cMZqEmRJFCdAAP06gwpIR4Cp0DVZ5TVlddwfVBZpoo4OHN/hqALVYQ1W8gImE8HUecYuBpi/qEjSkXKWfidvKQiqYMQOKrbYfPbO+xq2iZZy2HBphltZK+Hi1wX4XfzgpF9g8TiuJHz736DNvKLELgAfXCdUxTiE4lvpJnEdxMfjokEGkGAAXojuplGCgEMZq/g3wkGNA6BE7GQgVwNkd/SEEIZvAOocQzgNyirUHsIMFrmcHp7i4Ttf5mePNa2icZI9zDNPeT0djlulm1M7+Y39Jv5i4YrmflChxi0eELmwxmIpkgS8EeAAbq/PqFGtgQspkiJ87mPrdrlpGNAm4macteSqRqBzeF4NHmhr2r0Btf2EqCbrt6O40XGV6+LSA7ukTDf+MpCBc44pz8KMZcpiCorQp6BP71s5RL1uMjgcGhX4Dio8xgYrtH8LeILiU+knSx8N20dKY8E1AgwQFdDSUExEMCgdhv0vNZA18MMZGqJ5F10HZJ8jlaHo/z+HtQRVUmK6ert0GxnZL4DfH4X7YOLFkvO/8pPFQjUeZHrKoyjj1XQPXdVHC+LofDeuSs0p6DLu+cZfgtf6NrMd2tOD9PSxhNggN74Q6CRACyuxO4JZ2INjzQxsJ0FvW72qFtkOk1DH2s/VxcZgurq4nj0Ms2d09urd2cRCRJsHVSkAst2JfBH7JnTda/tjlNtxQ+SLs+eLzFoC79cj3PoeR4xZD7Qnga6WfhsBmpSJAnoEWCArseSkuIh8Huoqr3AjfyW/tUxgqMc6xaLarLY15hYlHWuZ513AAWN9fR2WZNivPM+qEM9TnNXoI4ATe5gX6ogqoyIkAE6L+gM7yHPd8/FB9KOK8RXE5+NiQQaRUD7h9QoeDQ2TgJwbl6E5icaaP9hXEH2erVfVj+908DmpolkgKHQ4/gN/hliHlAQVVaE9fR2uYu0QlnlEq63ndeZRhEyr+Mi16347d4TghWOk6XRzh4h2oqoDXlEL+Tz/7nRZL7Ph3NXyF/wxMxny1+DJUkgAQIM0BPoRJpQioDFlClZafYDpbQxroQBThb24bPo1TlPhCMiU3WZqhOo864Ip7dX778yEuQRkYPLVGSdYQTqmOYecvX2A2DxIsOsbvaGb2Esl0eEPCbxfSxW27fw1Tzyo04kMIgAn6cchINfmkQAgZY8l72Jss33Qd66GETrej6wqzmwVy7IyRX4DbsW4o48BKaify1mYORpO5kyOB43hzHX1WCQTG9fEX1o8v5z2CVBhUxBljuATMMJ/BXseQ4azqXwFhxrF6DSroUrlq/wHvSdjJvmqQbbzG2q2MCtqD8a/N0F6OirBaHb3chrVbRxaPVbYO/ooRv5nQSaQIB30JvQy7SxGwGLK7MyQMmVf3cJA53cRf+SO8XiU4jT3BX6DMfj9RAzS0FUURHW09vHQSEG5917ZQM49Ft13809BQiEnOY+C7/ZUMH5imAwpgCHJhT9Evi7C84z8OLzaAfnItrCR8tU5j8S8E2AAbrv/qF2tgROgHi5m6adDtcWqCUPA7xMUZTAiKk8gd0RYKxcvjprthGoY5o7p7e3dUBNH3mRSwe8THOfrSOqrxQZO0KlyWhIFlpkmkfgGozdZziGYeHziG8mPhoTCTSSAAP0RnY7jRYCGPCewz8LZ30LBHDbO6b8Rce6xaCaTOebGoOiEegY8g6g4BCn72wrLvjdLw7Ze1nJT0juJLBiAFaxQzGGPQURF1cUk7d6yACdq7cP7hW3Y3bm62wxWF2VbydlPpqKMAohgdgIMECPrceorzaBn2oLzOR9xkhuZbEY9OS5xUsrC2q2gBnNNl/HehyLN0LSvTrSckmxnt6+P7QYmUuTZheSKcz7NBuBmvUhLnI9AW2vUtO4hyAEfKtj9zY9ijRt14U4T17i2GgrX8fKN3OMkqqRwHwCDNDns+CnBhLAwHclzLaY8j0OjsZ6jpG6vSLvmFm7aqPRvxu1b+Dn0gRCTnO3mDHTbviU9i/83JMAp7n3xJN7p9zZfj136XIFT8dYOadc1cK15De0QOFa6VZwO1ZnPo6suaGdrs98M225lEcC0RBggB5NV1FRQwLfNZAtDsanDeSqiMTgJ3dDzlIR1lwhvIuu0/ch7gCKptbT25dGG7vqIGmElLFw8IUZUwUCOJc/jeoXVRCRp2rI6e28yDW/R/6E/r1u/ld3n8THsbiY8t/uLKVCJBCYAAP0wMDZnEsCJ0Or+w00ez8cUJnK6TXJiu5eV4X1yqxdr6noX55D24mU+AwHVFaG/nuJqkWrWE9vPxAKLVxUqQaXXxS2MxjTOQAsL3K9CBWtLwC8SQHn03Xx4T06SKKXIjMWvuzVisy3eb+BfuKLnWIglyJJICoCdC6j6i4qa0EAAYKsgnuMgWxxQD9qIFdFZBYY/VpFWDOFvA1m79xM09WtDjHN3Xp6Oxe2Kn5YvK94FdboQOBUbLOa5n4OxopXOrRpsWmqhdBIZR4H7nc41l18G/FxtNMxmU+mLZfySCAqAhZTU6ICQGVJQAjgavCS+PcgsvaUyycgc00MODK91l2C3atBqbuQF3enXBwKHY++5VT3in2F43BjiLilophe1eX3tyL66qVehcruy+4mPYL6ssI/U34CMoNnbfTLrPxVWLITARyD8sjS2E77Km6biv45saKMXNVhgwSkG+YqnHah52HeuuD+uEcz0U8SmD+AvKKyfvJmnTVg9wvKcimOBKIjwDvo0XUZFbYgkA0IxxrIlgHMYhqYiqqw+2EI+k8VYc0Usj+cFV7cqNj3OA5vhQi5UGSVzkIbL1kJh1y5e87gvDhguUlwcPFqrNGBgMUsFLkrb/ZawnYbcB4dje8MzudBOQrnK5fBedZnB+O/dnAuoo+F3QzOhQRT4wkwQG/8IUAAbQR+gM8W0wS/AOfD87OpsiCLzB5gKk5gCVSZULwaa3QgYBFgtJr5Q+uD0X9Oby8Pls+hl2fXXvM0fHmtfYPC54sQMMldzRCJv6F5lO/DP4tH7lT6MPNlvqAibLAQ8b3EB2MiARIAAQboPAxIICMAR+Qf+GgxlW9NyD3UK2jYLdN/LQZcryZr68XnaHWIWgXR1qu3vw3mb62DoJFS1oPTv20jLVc0Ogukz1MUKaLk2fZQSRZZZBoY+Dz68lXHIMSXEZ9GO52Y+WDacimPBKIkwAA9ym6j0oYELF65Jup+EU6oxYIqWijkwsQ1WsIaJmcX9K08y89UgQCcs9tR/W8VRHSraj29fSoa5nou3ejn286LXPk49SuleZHrDTQmd+XNE86fcoFrLfOG/DdwBc6DJ3lVM/Nhvmikn5XvZaQuxZKALQEG6LZ8KT0yAhgc5VnYCwzUlrts/2IgV0Uk7BZn7FPI8p+pGAE5j04rVoWluxCwmOauGbR0UptTcztRKbZtIpz/EcWqsHQHAqdjm9bd16sxLjzaoQ2LTVMshEYmU8beTzvXWXwY8WW00wWZ76Utl/JIIFoCDNCj7ToqbkhAnsm2SPIs+kgLwRoyMUDKHfTfachqoAzeAdTpdO27RzK9/Swd1YZLwe/5Hdi66fA93FKQwPIov2/BOiw+hADO4c9j07lDNpf9+qeyFYvUw29I/NCJReokWvbX6L/rvNqW+S5Wj8JZ+VxecVIvEuhLgAF6X0Qs0DQCGCTPh823Gdi9MmR+zECupsjPQdiLmgIbIuvdcGBkFWKmCgTw27sD1SVrJZne/rKWsA5yeOevA5SSm3iRqyS4IdW0ZoyEev58J+i/6hAbmvb1WRgsY6/nJL6L+DDa6bbM59KWS3kkEDUBBuhRdx+VNyRg9TzU5xDIyTvXXSYMlA9Bsa+6VM6/UgwwdPpIK8AQbTRldbJuUqeN3FaKwJ44Ny5bqiYrtRM4A19ead9Q4vPtGAv+XqJemSp8RARr1ID342XghaiT+SyfNWrLytcyUpdiSSAMAQboYTizlfgIyKJp8o5w7SRTOT+hLVRZ3g8g71ZlmU0QNxWODN+FXb2ntaa5W6/e/m6YKplJh8AiECML7jFVIIBA7wVUP6eCCKkaanq7rDuwf0VdY69+PQw41rkR4rOsYKCj+FgWb84xUJUiSSAsAQboYXmztUgIwMl5DaoeY6Tu4QjkljGSXVksbJ8NIbIYDBeMK0ZzFRTfrVgVlh5KAMffX7FN4xET69XbeedvaOdV/85ZKNUZioSqM0eCBOjQcw9kuWjd1DQXhn8E5zz57zJlvsrhRsodk/laRuIplgTiJcAAPd6+o+b2BP4XTVhMO5Pg/NP26pdvAYPm1ah9XHkJja05o7GW6xpeNcAQbTRk9LKK09t70Sm3b0sEBOuUq8pabQTOwGeZQVIm3Y/z/01lKpao0/Q1HH4C1nIH3XMSX8XihoL4VuJjMZEACXQgwAC9AxRuIgEhgIHzJfz7DyMan4Qj6v3OwRdg+xNG9qcqdjz61e0aAxFBrzrN3Xp6+xZguW5EPGNS9eCYlPWoazZ2nV1St1NL1itUDefJRVFhXKFKaRWWAPUIzyZlPsonjXT8j+w4NRJPsSQQNwEG6HH3H7W3J/BjNGHxLLoEcVaLrqhQweD5tHcdVQzVFTIS4vjKoIpMcezdCRG3VBDD6e0V4NVctel3VbXwl51BEmp6u7xWr8kXMz+D89yzWp1tJEd8FIs+Ep9KfCsmEiCBLgQYoHcBw80kIAQwgL6Cf0cZ0fgYrlCvZCRbRSzs/z8IukxFWHOE8Dlanb4uG2BI61Xq9tQev9kFUOCAnoW4swqBdcB4hyoCWPdNAmfi78sFWTyJ8lcUrFO2eJPXcLgQY+vxZcGFqJf5JvJqNYt0VOZbWcimTBJIggAD9CS6kUYYE/gZ5D9g0MbikPklA7naImXBuFe1hSYsbwycmzUSti+UaWWnuUtQUnZ6bx7btkeht+cpyDKlCfAiV2l08yoiAJLfwVkFxZyBenMK1ilcHOdHuSs7tnDFNCrIo3OHRWCK+Cbio2gn8aXEp2IiARLoQYABeg843EUCQgAOi6zo/k0jGh+Bs7KBkWwVsbD/rxB0pIqwZgiRO6zTm2GqnZU47u6G9DKLVZ2NuuIEW6Um3/mzYjpU7gE4Ly48dCO/FyZQdCZJqOntE2CJvFaviekLOD/N8mx45pN8xEjHb8J+8amYSIAEehBggN4DDneRQBuBX+LzvW3ftT4uBEFHawkzlPMdyPa+2qyh+YVF8w5gYWQdKxQNMERI2TvvHRVo3wjHVcbMpr+3uR2J1edlIXg/K+ENkit30PNerJJyFwRi09R1BuTxgR8FYlylGfFJxDfRTuJDiS/FRAIk0IcAA/Q+gLibBIQArvjOxr+vG9HYA47/3kayVcTCfpn2eDAyr3znI7oB+nTzfEVZqgeBosF2mWm9PZoftmtXbFll2FZusCDAi1wVqeK8LW8zkFeu5UnnoLysuWKacF6Ut5fsYtqIT+HC9oNg/IZP9eZplfki8n56i/Q12C++FBMJkEAfAgzQ+wDibhJoI3ACPsvq0hbpexgYR1gI1pKJgfUOyLK6SKGlpic5DDAq9gaOuXsg4oYCYji9vQAs50XlwqX3V1E6R/imenlnoQR5vRo0OhDZ4u6s9774Ks5nd3lWMvNBvmeko/hOvzGSTbEkkBwBBujJdSkNsiKAwVXuIh9pJH89yLVaMVVT5f+EsBs1BSYsawocniY6otpdmjfAkHaL3nHPrWvmvI7PXYEFqxKQC5bTqgph/YFzwODFPhxex/6z+pTR2t3ENRzk8bDvagE0lCM+iPgiFunIzIeykE2ZJJAcAVnMiIkESCAnATjpclFL3s+8Uc4qRYrJO1HXxSD2ZJFKocuCwbvRpjgcXMSpP/xx6E953RFTSQI43tZC1TzrP8j09pXAW56lVU/QQ97bfJq6YArsReB69Od7exXgvv4EcOzKncupPUqeD85W05rfahZ6vA1fHkBu0s0heQPK5uB7+1sgHH5A36wAte5GXsZAPbF9EzCYayCbIkkgSQJNOkkm2YE0KiyBbID5qlGrMjB+w0i2mlgwuA3CvqkmMG1BM9I2z946HG/3oZXrcrTE6e05IEVWZHMEDlZ39CJDUUndfrNQQq3ePhlWNM3v/CzOYa6D8+zIEt/DIjgX8TK9n8F5Bpr/SCAPgaadKPMwYRkS6EdAnJmb+hUquf8wOKQbl6wbstq30ViRZ4ND6uaprXHoz6U9KRSpLv0CDDHLcnr7opA/LlJ2sat9cOwGOND/XOjwfBc9ZNGyUDNDmrZ6u7xX/odduLvZnPkchxkpJL6S+ExMJEACBQgwQC8Ai0VJQAhgwBWH5itGNBaE3KONZKuJBQNZiVWmTJpMJ1ZTtH5BEthNql+N6DXoF3xbr94u09uXiJ5inAbIWg58HK9C3+F8LdOsT+8i4lrsf6TLPrXN6MO1IWxzNYH+BT0MFT/gX803NRSfQ3wPi/SVzGeykE2ZJJAsAQboyXYtDbMkgAHnTMifadTGznBm9jeSrSYWDGRF2k+oCUxXEKe5V+xbHGv3Q8S1PcRwensPOJHvGgX9x0Rugwf1u81CCXV3s9cz8B74aOog07nfh/OW6/VkxODM19hZ0/g2WTMzX6ltEz+SAAnkIcAAPQ8lliGBzgQ+ic1Wz1X9NwbORTo362crBt+fQ5tT/GjkUpPt0JejXGoWl1LdAgyxot8d9tKWou/kzvmepQWwogYBvrKwOsXzIOK5DmJCBejyerWmpP/E2Hixd2MzH+M7RnqKbyQ+EhMJkEAJAgzQS0BjFRIQAhiAb8G/44xorA25sQxuH4Ku/zDikIJYmZ7LAKN6T54MEfJ4ydBkPb19AhpcbGij/B6UwAQEE/K4CFNJAhivXkPVoc+a/wXbZeVu04S+kzd/SG5Ckpk+X4nEUPEx1jHS9bjMRzIST7EkkDYBBuhp9y+tsyfwJTTR6a6ERstHwLFZTUOQpQwMwk9DvgSgcsWcqTOB6Z03c2teAjjOHkDZazqUt57e3rSFrTogrn3T0tBg/9q1iF+BobNQQt09b8q7z2Uhvik4V8kaLa5T5lscYaSk+ETiGzGRAAmUJMAAvSQ4ViMBIYCB+An8+7oRjSUh90dGslXFgsMlEGg1VU5V15qErQeHaKua2k6p2aEBhthmOb19WcjfJSWAEdvCWSjVO+8CiHi2TUyoAL0p09v/BWPhfW18PX8U30J8DIv09cw3spBNmSTQCAIM0BvRzTTSmIC8RkUWTLNI+yGwm2gh2EDmlyHzBgO5qYhkgFG9J4dOc7ee3i6BxYjqalOCAoHdcC5cUUFOY0UgaJJp7qdmAB7Ed/PzNfpsC7T3jgZA/xV4nhiDnZlPsZ+RruILuX+1nJHtFEsCagQYoKuhpKCmEsCg/DpsP9zQ/h9iQF3GUL6K6IyDTGXs9r5dlXYiFjIZ/chgr0IH4hh7CNWvahNhPb29KVNz25C6/bgQNOOjItW7pzULJdTd8yY8IiLP8f9b9a6xl5D5EpYB9OGZL2BvDFsggYQJMEBPuHNpWjgCGJDktWvnG7W4CuT+t5FsVbHg8HcIPFhVaDrClod2Jb9iAABAAElEQVQpe6djTm2WtAIMUcByevvKkL99bVay4U4EZnTayG2FCFyI0rJuSOtOeqHKRQojGJQFMicVqRNhWZmVcBDGvhcj0V18CfEpLNL5mS9kIZsySaBRBBigN6q7aawxgU9B/myjNj4IZ2eMkWxVsRig5c7Md1WFpiOM09yr92Vrmrv19Ha5e75gdXUpQZHAaJwHN1CU1zhROD/LjK/jkC8LYPyOaONtAdqps4l/B9Mb61Qgb9v47eyEsh/MW75gOfF9xAdiIgESUCDAAF0BIkWQgBDAIP0X/PuxIY2fYYCN5VVDXwCHKwxZxCp6H/ShLDzGVJIAfmcPo6ocW5zeXpJh5NUOjlx/D+p/Db+jOQEUkYtcKadzYdzRMRiY+Q4/NdT1x5kPZNgERZNAcwgwQG9OX9PSMASORDMyfdAivQNCj7QQrC0TA7VcTZ+M/Li27MjlLZxxidyM2tWXae6W09vXgPwta7eSCnQiMAXBhkydZipJAOdnmX1imtBHC6GBA0wbqVf4Y2j+/WD5Rr1q5G79SJQUH8Iiic9zpIVgyiSBphJggN7UnqfdJgQwWMtA9VUT4fOEHg7HZ7ShfDXRYCF3OmWBoBB3atT0DiCIz9FWhyzB+VnVxXSVMBV7GAR2xVPrDrl4wlff1doFuRrfDaVWyFUyvkLymMAkjHFRXIDOfAbLhWy/mvk+8fUkNSYBpwQYoDvtGKoVNYGfQHuZ7m6R5K7EcRhwo3g2FoP2xdD3KxYgIpa5NfpvnYj1r111HFePIb9kqEjqU3MN0QUR/b4grbCRKgRSXr39Izj/XF4FTqi6ma8gaw6I72CRxNcRn4eJBEhAkQADdEWYFEUCQgADt/ViKZuhmZgWY/k29LW82ynYY0u8i+60x+DQrgvVopil4hRhCLX2Rz+NDNEQ2yhOAH0ja6WML14zihrHYIz/eRSazlNSfAXxGazSpzKfx0o+5ZJAIwkwQG9kt9NoawIYsOSVa78zbOdrcILWNpSvJhos5Bm9ach/UxMav6Dp8ZuQrAUyvZ3JN4Elod4E3yo2Wjt5neRSCRI4DzZ9Jha7Mh/ha4b6/i7zdQyboGgSaCYBBujN7HdaHYbAJ9CM1YJxcvfo2DBmVG8Fg/hzkLIv8jPVpSUhYW04T9smYUl6RhyYnklJWsRZKH67NcVHRO4E7skYy2JaU0V8BKuZJuLbiI/DRAIkYECAAboBVIokASGAgVwWkPm0IY1dEeR9yFC+qmjwuBsCJfiJycFRZTBEGAOMIUDq/orf0ybQYcO69WD7uQjsjP5aJVdJFgpGAH2yBBqTO+gpJbmwPC670ByFXZlvsKuhsjK1XXwcJhIgAQMCDNANoFIkCbQIYAD7P3y+oPXd4P/RGIjXM5BrIhI8LoRgy4sWJnobCT0QfbeIkWyKLUcgxTt/5Uj4ryULZfJREX/9tB9UWsyfWqU1kjVlDsTYJReYo0iZT3C0obIXgMevDeVTNAk0ngAD9MYfAgQQgMCH0cbLRu3I9LXfYkAeYSRfXSwG9h9A6HHqguMTuAxUHhef2klrPClp69Izblp6JkVv0ZToLRhswCezC8uDtzr9lvkCv4V64htYJPFlxKdhIgESMCTAAN0QLkWTgBDA4H4f/n3ZkIas0PoNQ/kWov8VQqN4TY2F8W0y39f2mR9rJADHdis0v06NKrDp4gRGo9/ksQQmBwTQF8tCDXn/eSrpJxi/fxSZMeILWK7a/uXMp4kMC9UlgbgIMECPq7+obbwEvg/VrzdU/7NwjsYYylcVjQH+dQg8APl+VcHxCdsL/bZCfGonqTGnt8fZrbzI5affZAZKNLO5+mCbif3/1qeMq92ZD/BZQ6XEhxFfhokESMCYAAN0Y8AUTwJCAAHpHPw7FFmeZ7NI8ls+PruDYSFfXSaYPAGh+yDLCu9NTeLMMjCsuffxu1kAKkysWQ02X47AFPQffZly7LRrpXIuuwdgJmKMshqvtbkPZGP/8RBs9VsQFodmvoy6/hRIAiQwmIDVD3lwK/xGAiQgQfotwPAdQxSrQ3Y0r14TDmByO/7tj/yafG9o4h3A+jt+R6jwtvrVoAYlCKyGOilNqy6BoP4qCBBXgRbyO4o9PQ8D9sXY9FRkhsjYLz6AVfpO5sNYyadcEiCBNgIM0Ntg8CMJBCDwdbRhuRrsJDhKBwewQ60JDPqXQNghyG+oCY1L0Bbos/XjUjk5bVO585dcx+Q0iK8szAnKsNhkyI7dp5wLG6ZgTPqLISd10dmYb7nApfgs4rswkQAJBCIQ+8k0ECY2QwI6BDDwvwJJhyFbBqM/xIAd1WJX4CKrzn5Bh3KUUngXvaZuw29lITQ9oabm2awOgfHoR3n/NlN9BFJYvf2zGIvOrg9h8Zazsf6HxWvmriG+ymGZ75K7EguSAAlUI8AAvRo/1iaBwgQw0F2KSscVrpi/gjiqv8kCj/y1ai4JLv8FFWJbMVeL2nT0lzwHzRSewK5ocsXwzbJFRQKLQ5YsOslUAwGcu0ah2S1raFqzyf/CGPQ9TYHWsrIx/jdox/Li1HGZz2JtDuWTAAm0EWCA3gaDH0kgIIHPoa1HDNsTZ+krhvKtRH8cgk+zEu5Y7prQbQfH+qWsGqe3p9G7M9IwI0orYr97Lq9T+3yE5GWMt7wwIj6K5arwESKnyiQQhgDv2IThzFZIYBgBXP0ej42nDtuht0FWjh8Dx+MKPZH2ksBlMbRyMfJW9q25auEX6KsPutIocWVwrC0MEx9DXiZxU5tg3lwYuQZ+Qw83wVhPNuJ3JAugbuxJpwK6yB3oGThu5PiJJoH5dlB2JvKChkqPB5fTDeVTNAmQQBcCvIPeBQw3k4A1AQx8cqf4p4btyMB9AgbyZQ3bUBcNLv+E0HHIf1UX7lvgRPSVXJxgCkdgLJpicB6Ot2VL4s9wLQdLwh1k45y1ATbHGpxL8HlwhMH5ctD7BGTL4PynDM5BmIkEaiLAAL0m8GyWBDICn8L/Ow1pyNTp38KJiuq3DsfgSegtzwbfZ8jGm+iloJDMqmAKR4DT28OxDtHS9BCNsI1BBGKd3i6ztA7EWDN7kDXOv2Rjudz1l7HdKolPIr4JEwmQQE0EonLaa2LEZknAjACcg5chfBry62aNDAzsCdlfM5RvIhpsZKrqLshNmrLKO4AmR9NwoXB0R2LrPsP3cEvEBDZCv24asf4xqj45QqWvgc4yffvVCHWXsVzGdKskvsi0zDexaoNySYAE+hBggN4HEHeTgDUBDIQ3oI0vG7dzBBxXmTYeVQIbuYMud9LljnoT0u7op5WaYKgDG/eFDrL6N1NaBGakZY5fa3Cu2gzaredXw46a3YqtYzG2vNhxr+ON2Rh+hLGKX858EuNmKJ4ESKAXAQbovehwHwmEI/AdNDXTsDlZEPJ4DPDvMGzDRDScBXkWfQ/k50wa8CV0Iagz1ZdKyWrD6e1pdu1knOcsn81Nk1o5q2Kb3n43zNwdY8oz5cytr1Y2dh8PDSwXd54J+eKLMJEACdRMwPKHXrNpbJ4E4iKAAXh1aCxX9y0Xdbsd8reCg/JSXHQGBsBnW+h8PrJMTU453Yj+kTtTTEYEcCzJ8/6PIy9i1ATF1ktgb/yGzq5XhbRbx29I/Mf7kdeIxNIHoed2OC4eiETft9QEa5npI9PyN3pro/4HuWixMfg8pC+aEkmABIoS4B30osRYngSMCGQD44eNxLfEygB/XOtLTP/B50rouz/yazHpXULXTeGQvatEPVbJT2ACijI4z88rtpKc5m7fY9uhiViCc7kYt2uMwXnWjTJmWwbn0syHGZxntPmPBBwQYIDuoBOoAgm0CGCAPAmff9X6bvT/IASAnzSSbSoWfOQO+iTk1IN0LhZneiQNxDY115ZGetL3xTluyfTMcmVRLI+IPAtqMq39Llf0ciqTjdXWrH+V+R45tWIxEiABawKc4m5NmPJJoCABDMhLoMrNyOsUrFqk+GwU3gWD8mVFKnkpC0b7QJeTkVO9CyrTDNdE/8z1wjwVPXDsLA9bHkWW5/2Z0iXwQfx+fpGuefVZht+QPOMvb9fwvqClPMold85lenh0CZx3gNIXIVueq+6B/NFgFN2iedF1KBUmgQIEeAe9ACwWJYEQBLKBchrakiDaKsmA/wc4AKtZNWApF4zOhHyZ7h7ja3LyoFkdhXbKU5BlChM4EDUsHd7CCrGCCQFOczfB+qbQXfDXe3D+T+gor1KLNTiXsfkPyJbnKvEx5JVqDM4BgokEPBFggO6pN6gLCWQEMGBei49fNwayMuSfjCB9hHE7JuLB6BwIHo/8ikkD9QvlNHebPrCeLmqjNaUWJbADzm1rFK3E8rkIeH9E5HlYsSfGCLn7HF3KxmSZISZjtGX6euZrWLZB2SRAAiUIMEAvAY1VSCAQgaPQjiyMZpm2hvBjLBuwlA3n4jzIl/dZy92S1NIBcNRSX7E+aJ+B56pocLugjbKxugjII3y8i65MH7+hhSFyP2WxmuKehLCdMDZcpik0sCwZk2VstkziW4iPwUQCJOCQAAN0h51ClUhACMDBmIN/05Gt39n6r3C6DpU2Y0zgdAH0lmfSX45R/x46L4F9Mo2fSY+A3D3nuKfH07skeVSISZfAWIhbRlekmrSHIGl7jAk3qkkMLCgbi//VuFnxKWRqu/gYTCRAAg4J0FFx2ClUiQRaBDCAzsLnqchzW9uM/v8YjsFuRrLNxYLTxWhkb+To3u/eBw7vAPYBVHA3p7cXBBZ58Q1wXntv5DZ4U9/rb+hugJL3nP/NG7C8+mRj8I/zli9ZTnyJqeAk77BnIgEScEqAAbrTjqFaJNAigIH0XHw+svXd6L8sRCPPo7/bSL65WHCaiUbkIoP1jANzW9oa2AV9ItOymSoSAMdRELFFRTGsHh8BXuRS6jP8hhaHqHFK4jTF3Aphcuc82qAzG3vluXMZiy3TkZlPYdkGZZMACVQkwAC9IkBWJ4FABL6Jds4wbmspyD8r5oAQjsfVsGEH5IeNWYUSL68z4jRdHdpTdMRQSmQEJuOcZh30RIaktLqy3oe3dTGugk474tz/WGmraq6YjblnQQ0Zgy2T+BDiSzCRAAk4J8AA3XkHUT0SEAJwPt7Av/ch/12+G6Y1IFuCdLlTEmUCq9uh+LbI1qxC8ZF+Z6pOwOvU3OqWUUIvAiti5169CnBfbgLeLnKdD813xzn/2dwWOCuYjbUSnMvYa5lkPHxf5ktYtkPZJEACCgQYoCtApAgSCEEAA+tzaGcCsvViaO9BG7+H4yB3b6NMYDULim+HfHOUBgxWemP0xSaDN/FbEQLgtz7Kb1ykDssmRYDT3Ct2J35DsjDcHhXFaFY/BcLG4Vz/kqbQkLKyMfb3aFPGXMskPsOEzIewbIeySYAElAgwQFcCSTEkEIIABtjb0M6hAdqSBdd+EKAdsybASqY8jkG+3KyRcIJ5F70aa1lokam5BPZBMLR0c81XsfwASFlYRVJ1Ib+AiMk4x79WXVStEmSMlbHWOh2a+Q7W7VA+CZCAEgEG6EogKYYEQhHAQHsi2jomQHvy+rXDA7Rj1gRYyawDuetzplkjYQRPze62hGktvVYOTM8kWlSAwKIoO7lAeRYdTsDLIyJHQzUJOOcMVzGeLdnYav06NQFyTOYzxAOHmpIACQwsQAYkQALxEcDgLoseXYy8vbH2cyF/Egb4Pxq3Yyo+4/VTNHKIaUO2wvdEP5xn20R60tH3Mn30xvQso0UFCVyB34/1+bKgSnEUx29oZWj6D+S6H3v6CvrwG3FQ664leMqjaichW98kk9ljO4PZ7O7acA8JkIBHAtYnB482UycSiJ5ANuBOgiHWq5XLOeIEOBRbxgxNeCF/ADZ8CVkW3IsxcZp7uV7zcuevnPaspUVgW5zHRmkJa5gcGWvqDM7lQvHHcQ5PITiXsfQEZGv/W3wDubjO4BwgmEggNgLWJ4jYeFBfEoiGAAZeecZaHKfXjZVeDPJPh3O7lnE75uLB7FtoRF5b9qp5Y/oN7I8+WEJfbPISOb09+S7OZaDMGJyRqyQLDSVQ5+rtL0CZ/XDu/uFQpWL7no2hp0NvGVMtk/gEEpyLj8BEAiQQIQEG6BF2GlUmgRYBDMBX4fOnWt8N/68E2WfDwVjOsI0gosFMnuHfFfmpIA3qNSLvH5aFmphyEsDxug2KjspZnMXSJyAX55gKEMBv6O0ovnWBKppF75W2cc4+Q1NoHbKysfMctC1jqXX6VOYbWLdD+SRAAkYEGKAbgaVYEghFAAPxj9DW8QHaeyfaOA+OxlIB2jJtAsyuQANbId9t2pC+cN4BLMaU09uL8Uq99Ho4f8nvnik/AfkNyeyD0OkSNLgFztV3hG5Yu71szJT1Q9bXlt1B3q8zn6DDLm4iARKIhQAD9Fh6inqSQG8CH8Luq3sXUdm7OaScBYdD7uZGneDE/B0GyJ0hWUgnljQG7FePRdk69QQnGd8m1qkD23ZJgBe5inVLHRe5/hcq7o5zdGyznIaRzcbKs7BDxk7rJD7Ah60boXwSIAF7AgzQ7RmzBRIwJwBH5hU0Mh75HvPGBga2QxunwvFYJEBbpk1kDuBuaOQ3pg3pCZdzNqfp5uM5BsVWzVeUpRpEYDLOXSMaZG9pU8FpfVSWtyCESvLs9L/gvPxR5OgXN8vGyFNhk4yZ1knG/vGZL2DdFuWTAAkYE2CAbgyY4kkgFAEMzE+grbHITwdoU4LaP8ABkde9RZ3A7VXk6TDiM8hzIjCGdwDzdVIdd/7yacZSdRKQdTT2qVOBiNoO+Rt6Elx2w7n42Ij4dFU1Gxv/IDZ1LaS3Q8b8sZkPoCeVkkiABGojwAC9NvRsmAT0CWCAvgtS90N+VV/6MIn7YsvxcESSOI+A3Xdhz57IIS5wDINZYMOGYL5pgfKNK5o5xxMaZzgNzkuAryzMRypUgH4b1JHnzS/Np5bvUtmYKOvCyBhpnWSsl1XuZexnIgESSIRAEo51In1BM0hAhQAGanmm+hDkEO/7Fgfup3BI6lhESIVXuxCwuxDf5VnBW9u3O/zMu+i9O2V37F6+dxHubTCBsThnLdtg+/uaDj6jUUgWBrVOp6GBbXDuvc+6oRDys7Hwp2grxMUNGeMPycb8EOaxDRIggUAEGKAHAs1mSCAkAQzYJ6K9LwVq84No55hAbZk3kzmK8noumZ7oNU2BIxj94wWGcEM4x4bqU7QxAVk/g8dIb8hTeu9W2fstSNkf59wXVaT5ECJjoYyJIdKXsrE+RFtsgwRIICCBJO56BeTFpkggKgII4o6DwqGchaPgLBwRFaA+yoLfF1BEnEiPFzP3AW9ZHZipjQD6TIKvx5GXatvMjyQwlMDV+P3IhTimIQTwGxLfUO5orzlkl9bXf0LQIeD/ey2BHuSA21HQ498D6fJz8Ds0UFtshgRIIDABj05nYARsjgSSJvAvsO6CQBZ+EQ5KKOckiElwgP4DDe2N7PG5dD5H2/kokP5icN6ZDbfOJ7A1zlfrzP/KT20EtsZnq+D8IcjeLsHg/IuwK9T4J2O6jO1MJEACiRJggJ5ox9IsEhACcIJm499EZFmEJ0Q6Ck7vx0M0FKoNMDwXbcnzmFeHajNnO+PBmoHocFicujycCbd0JsC1HDpzsfoNnYfmNsc59cbOzca5NRvzZKZViCRj+cRsbA/RHtsgARKogQAD9Bqgs0kSCEkAA/nzaE/uKj4SqN1j4LAcFqitIM2A4YNoaAfk7yDLwjwe0qJQYpIHRbzogONucegixzoTCeQhMC1PoSaVwW9I/ELt88prkHk48l44lz6WEs9srAu1BouM4XtnY3pKGGkLCZDAEAIM0IcA4VcSSJFAFmBK4BJiMR55fvFYOC6p3UmfDY6fg23jkJ9C9pA4zX1wL4zH15GDN/EbCXQlsA7OU9t13dvMHTvB7FUUTf8bZG2Jc+f3kL1c3FQxLxvjjoWwEOs5ydgtwblcLGYiARJInAAD9MQ7mOaRQIsABvab8FmmLs5pbTP8Lw7L9+HAhHomz9CUwaLBURZmkynvVw7eU8u3HcDY6lnRWgyq2KjV1NyKarG6YwK8yDW4c6YM/lrpmyxSuhnOmTdXkuKwcja2fR+qhQjOZcw+KBvDHdKgSiRAAtoEGKBrE6U8EnBMIAsuPwQVQ93JkGfSZWXbpBI4ykJHY5D/EzkUSzQ1LIlzOH3Y1gZuwHG2DMzeo4Gm0+RqBCbh2Fmkmog0aoPDCFgyQcGaZyBDnpM+DPllBXmuRGRjWqhxTcaXD2VjtysOVIYESMCOAAN0O7aUTAIuCWCg/wUU+2RA5f4dDo3cTQ9xpyGYWeAoU96/gAbHIj8arOHhDfEO4DwmB+DfwsPxcAsJ9CSwLPbKYytMAwN7AoLwqJIuQ+WNcW48pYoQj3VlDJOxDLqFnBn2yWzM9oiEOpEACRgRYIBuBJZiScAzAQz4P4B+8lqYUEmeR/8ZnJvkzjlgeS5sezfyH0PBHNLO+uC6xZBtTfzK6e1N7HUdm3mRax7HKr8heWPIl5F3wjlRZhgllbKx62cwKuTaKl/MxuqkWNIYEiCB/gSSuqPV31yWIAESaCcAp0NeDRMyUP8d2nsfnA5x5pJL4HkwjJI7LEsFNu5HYPqxwG26aQ7cV4QyssLxgm6UoiIxEXgdyq6K35CXxR+Ds8NvSBZXlBXWlyjR+H2oMxX8rilR130VsFkISh6PXOUCRlE7jwLPI4pWYnkSIIE0CCR3NyuNbqEVJBCGQOYAyN30UEkcnFPg8CT5zCd4/gr2bYIs0zxDpslgKs+PNjUdCMMZnDe196vbLb8dzcXRqmsUXsI+aLJMcP5b1BudcHAuY5VM1w8ZnP+AwTmIM5FAgwkwQG9w59N0EsgIyPPoPw9IY1+0dUZ2xyZgs2GagmM1Cy3thPx5ZHn/b4i0AhrZK0RDTtsI6Tw7RUC1KhJo+jT3ohcoXgDvGTjfTUN+viJ7l9WzMeoMKCdjVqgkY3HINWJC2cV2SIAEChDgFPcCsFiUBFIlAEdELtadgFzUSauC5ApUlve6JuncCRhwlbvpMjVSnlG3TqeA5UTrRrzJB+PVodMDyBzPvHVOfPqsj9/QXfGpXU1j/IaWhgSZ3p53ZtNVKCvB+T3VWvZbG0zkMSV5peZ2AbU8EW1NB9e5AdtkUyRAAg4J8A66w06hSiQQmkDmEMxAu6cFbFscn4vgCC0XsM2gTYHrLWhwc+SvIVvfTd8HLJcNaqCPxiZDDQbnPvoidi3kHNjEtD+MzhOcv4Rycnd3+8SDcxmTLkIOGZzL2CsXPRicAwQTCTSdAAP0ph8BtJ8EMgJwDGbjowQ7FwSEIsHrlQgs1wrYZtCmwPU15CPR6KbI1xo2Lg62PIvdtMTp7U3rcTt7p+Fc1MSLPXl+QzIubIRz2feRkw0is7HoStgqY1OoJGwng6uMwUwkQAIkMMAAnQcBCZDAWwTgILyKL/shX/7WRvsP70QT18Ax2tK+qfpaANs70Po2yJ9CljtRFqlRz9HimFkbEEM60hZ9Rpl+CIyCKjv4UcdeE/yGVkQru/Ro6Vns+wDOX7sjz+pRLvpd2RgkK9HLmBQqyVi7Xzb2hmqT7ZAACTgnwADdeQdRPRIITQCOwstoU1b0vS5g2yuhrUvgIE0I2GbwpsB2LvIxaHgjZIuZCtuCoQStTUkh10xoCtOm29moi1zo7InI8hqxTulP2LgBzlm/7LQzpW3Z2HMJbJKxKFSSMXafbMwN1SbbIQESiIAAA/QIOokqkkBoAnAYnkebeyLfGrDtxdDWSXCUPh2wzVqaAt9ZyLuj8UOQn1FWokkBRp6pucp4KS5xApNwDlo0cRvbzet0kesfKDAR56gJyI+2F07xczbmnATbZAwKlWRs3RN8ZaxlIgESIIFBBBigD8LBLyRAAi0CcByexuedkEPeSZdz0nfhMP0P8oItXVL9D8a/gm0ynVL+v4GskRoRoOP4eBdgyUwEJhLQJCCrd4/XFOhVFn5Dq0O39oXQ5Bno7yK/E+cmefd30knGGOT/gZFic0h/WMbUnbIxNmnGNI4ESKAcgZAnpHIashYJkEBtBDIHYlcoEPKZdLH3o8inwXlaXL6knMD4cWS5k74t8k0Ktq4DbvKse+qJd89T7+H67GvERS7gbX8DwmX4Phrnos8gv1gf+jAtZ2OLrJwuY03IJGPprmAsF8CZSIAESKAjAQboHbFwIwmQQIsAHAmZgifT3S2emW410+n/3th4GRypVTvtTG0bOF8Nm2TBM3EYq057b0KAIcEFEwlYENgD552QzyJb2JBHplzkkvefvw/nnx2RZSHL5FM2psgFCRljQiYZQzmtPSRxtkUCkRJggB5px1FtEghJAI6bLBw3DlnuOIRMm6Kxa+FQNWIqMzjLInL/C5vXQ/45ctlp75PBbGHUTzLBts1g2LpJGkejPBCQRdM6PZvtQTcVHfAbWguC5KLg+jjnnKAiNAIh2Vgir7uUsSVkkrFzXDaWhmyXbZEACURIgAF6hJ1GlUmgDgJwLF5Fu7Li74mB218D7cm70ncL3G5tzYH1k8iHQoGtkW8oociyqCMr8aeaOL091Z71Y1fqs1BkocqPIz/nB7mtJtkYciVakTElZJIxUxbdkzGUiQRIgAT6EmCA3hcRC5AACbQIwMGQRYSmI8vd3ZBJFm46Gw7WB0M2Wndb4C13erZAPhj5IeQiaUaRwrGUxTGwAHQ9MBZ9qWe0BDbDsbZBtNr3URznlrKzc/pI9rk7GzvOhnYyloRMMlZOz8bOkO2yLRIggYgJMECPuPOoOgnUQQCOxly0exjyDwK3L9NOj4OjJSu8jwjcdm3NCW/k/4MCMu39i8iyJkCeNBacls9TMLIyspje2yPTmerGSSDJi1xxdkU5rWWskDEDtY9DljEkZJIx8rBszAzZLtsiARKInAAD9Mg7kOqTQB0E4HC8gfwJtH1UDe3LImqXwularYa2a2sSvP+J/G0o8A7kHyHLbIZeSS5ipDgVPEWbevUj99VHYBrOMzJjgylCAtkYcSlUlzEjdDpKxkjkRs1UCA2Z7ZFAqgQYoKfas7SLBAIQgPNxBJqRu7qhkzybfSMcsB1CN1x3e2D+BPLHoMe7kE/to09Sz9GivxeEvbIOAhMJhCAgzyrvFKIhtqFLIBsbboRUGStCpy9mY2PodtkeCZBAIgQYoCfSkTSDBOoiAEdE7urK3fTQdwpWRpsXwRH7ZF2219kuuN+FvD902B75qi66bAk+MjU+lSTBkvQ7EwmEIpDURa5Q0OpsJxsTLoIOoc8VMgbKXXMZE5lIgARIoDQBBuil0bEiCZBAiwAcEnnW7lDkOa1tgf7LM4VHwyH7LfLigdp01QzYX4Esz2XvhfznDsqlFGBwenuHDuYmUwIH4Nwy0rQFClchIGOAjAUQdjRy6OfNZew7NBsLVeyhEBIggeYS4LNVze17Wk4C6gTgHO0Nob9DXkJdeH+Bt6PI/nCQ/t6/aLol0AfyerWvIW+aWTkL/9cGl9AzHLLmdf7BLnmm/jFkeYUcEwmEJDANvx8J/JicEsD5Qdbm+BPyRjWo+CLaPAjHyFk1tM0mSYAEEiTAO+gJdipNIoG6CGQOijwX/nANOohjdj0ctXE1tO2mSfTBmcibQSGZ/n4L8ijk7ZFjT3vAAAbnsfdinPqnNAslzh7ooXV2zr8eReoIzmWs24HBeY8O4i4SIIHCBBigF0bGCiRAAr0IwFG5Cfu3Qr6tVzmjfUtD7mlw2L6O3OjzG/pBFpB7D7Isqib/Y0+c3h57D8ar/244n6wSr/ppai7neDnXw7rTkOXcHzrJGLdVNuaFbpvtkQAJJEyAU9wT7lyaRgJ1EoDjtBTaPxl5t5r0OBftToXz9ExN7bNZJQI4lhaDKJnevqSSSIohgaIEDse55HtFK7G8DQGcE2Q2jTx2sKdNC32lXoASE3FMPN+3JAuQAAmQQEECjb7DVJAVi5MACRQgkDkuY1Hl5wWqaRYVx+0mOHLbaQqlrFoIyNoGDM5rQc9GMwKc5u7kUMjO6TJTq67gXMa0sQzOnRwQVIMEEiTAAD3BTqVJJOCFAByY2ciyuru8L72ORcrWRLsz4dDJlPfQq/p66YYU9OD09hR6MW4bRuMc8u64TYhbezmHy7kcVsxElnN76CRj2BEypsnYFrpxtkcCJNAcApzi3py+pqUkUCsBOFZToMAvkRepSZFr0a6sxnxPTe2z2RIEcNzInfPHkRctUZ1VSECTwHdw/vicpkDKykcA54F1UPI3yFvmq6Fe6lVIPAT9f6K6ZAokARIggSEEeAd9CBB+JQESsCGQOTbyPPrTNi30lSqO3c1w9A7uW5IFPBEYD2UYnHvqkebqMg3nD/pNgfs/O2ffjGbrCs5lzNqNwXngjmdzJNBgAhxoGtz5NJ0EQhOAg3M52twaua672Eug7V/C4fsDsiwyxOSfAKe3+++jpmi4GgzdpSnG1m2nnKPlXA09ZOaVnLvrSDJWbZ2NXXW0zzZJgAQaSIABegM7nSaTQJ0E4Ojchfa3Qr66Rj0moe1b4fyNqVEHNt2HAPpnORTZvU8x7iaBkATeF7KxpraVnZtvhf1yrq4ryRglr1GTMYuJBEiABIIRYIAeDDUbIgESaBGAw/MkPu+MfHxrWw3/V0ebF8ER/A/kETW0zyb7E5iAIuyb/pxYIhyBCThfLB6uuWa1JOdiOSfD6ouQ5RxdV5KxaedsrKpLB7ZLAiTQUAIM0Bva8TSbBOomAMfnFeQZ0ONjyK/XpI+cAz+PfDWcwvVr0oHNdicgCwsykYAnAhKcv9+TQqnokp2D5a61nJPr8k9lLPqYjE0yRqXClnaQAAnERYCruMfVX9SWBJIkAMdsGxh2ErI841lXehkNfwpO2U/rUoDtzieAY2JlfPsH8oLzt/ITCbgg8DC0eAfOFf90oU0CSuD3/iGYcTTyyBrNkX6dhH69qkYd2DQJkAAJ1HaFkuhJgARI4C0CmUO0GTZc/tbG8B/EMTwWjuIFyGuHb54tDiFwIL4zOB8ChV9dEJALiR91oUnkSsi5Vs65MONY5DqDcxl7NmNwHvkBRfVJIBECdU0hSgQfzSABEtAiAMfoUcjaGfn7WjJLytkV9W6D03g4MgPEkhAVqnH1dgWIFGFG4PM4PyxpJj1xwXJulXMszLwNWc65dSYZc+R5cxmDmEiABEigdgKc4l57F1ABEiCBoQTguMmzx8ch13lHRdS6AflQOG7yDl6mQATQ/29HU7OQOUYFYs5mchOQBS5PRT4Z+SKcG2bnrsmCbxLA73s0Psj5XWZN1ZnksSY5v59YpxJsmwRIgASGEuAd9KFE+J0ESKB2ApnDJK9i+3vNyogDeR0cym8jL1qzLk1qfjKMZXDepB73bevjUO8nyHKndxWcnw5DPg+ZwXmBfpNzqJxLUeU65LqDcxlb5BVqDM4L9CGLkgAJhCFABygMZ7ZCAiRQggCcuaVR7QTkfUpU164iDp045jO1BVPeYALod5m5sOngrfxGAkEJPILW/ogsd8ovw+9+btDWE2sMv+kxMOlnyO9wYNqZ0GE6+vQ5B7pQBRIgARIYRoAB+jAk3EACJOCJABw7OU99GfmryHXP+nkDOvwc+bNw7p7FfyZlAujvdSHyLmWxFEcCeQjcg0ISvElQfhWD8jzIepfB73kZlPgO8qG9SwbZKxdZvob8DfStnMuZSIAESMAlAQboLruFSpEACQwlAEdvL2z7DfKyQ/fV8F0WE5J35Z5SQ9tJN4l+3gIGfhN5e2Q+VpB0b9dunLwm7RLkc5HPwe+57kdqageiqQB+ywdA3v8gr6Ipt6SsZ1BvGvr4nJL1WY0ESIAEghFggB4MNRsiARKoSgAO3yjIkCnv21aVpVRfFov6KJw+eX8ukyIB9PViELcD8u7IeyC/C5mJBKoSuBMCJEiToPxS/HZfqSqQ9QcTwG9XXkP3I+T9Bu+p7duVaFmmtM+qTQM2TAIkQAIFCDBALwCLRUmABOonAOdPXn12BLJMe1+ofo0GXoAO30I+Bg7gqw70SVIF9PvbYJgE65J3Q14emYkE+hGQ54wvRW7dJZ/VrwL3lyOA3+giqPlJZDk/e3gFnSzi9w3kb+HcPAf/mUiABEggCgIM0KPoJipJAiQwlACcwS2xTaa8rzN0X03f70W7h8MRlLvqTIYE0PeyFsG7kWUafCuvatgkRcdDQB4/ubwt34rfpDx7zGRIAL9JuVv+XeS1DZspIvoeFJYp7dcWqcSyJEACJOCBAAN0D71AHUiABEoRgFO4BCrKM47vLyXAptLFEPspOIa32oin1E4EcCzIhZpWsC7/1+1UjtuSIyCB2GXIbwbl+N3xOfKAXYzf3cZo7mjknQM226+p/0MBWSPkxX4FuZ8ESIAEPBJggO6xV6gTCZBAIQJwEiehwrHIHhaQE93nIP8M+ctwEp+UDUxhCeCYWBktbov8XmR557Lk5ZCZ4iXwPFS/CflG5GuQL8fvS16HxhSYAH5fK6DJbyAfhrxg4Oa7NScLwX0Yx8RJ3QpwOwmQAAnEQIABegy9RB1JgAT6EoDDuAYK/Rp5TN/C4Qo8i6a+jvw/cBpfD9csW+pEAMfIWti+ObIE6/Jf3rXu5aIOVGFqIyAXtlrBuATkku/B74ivx2qDFPojfkMj0ObHkL+CvEzo9nu0NxP7ZuD4eLBHGe4iARIggSgIMECPopuoJAmQQB4CcB7/H8p9DlmCYnEkvSR5r/en4Tye5UUh6jGPAI6ZdfBpNPKGbXl9fJYFr5jsCchsk/uQ/4rcCshvwm/lAfum2UIRAvit7I3y30Ner0g947Jy4VMuFvwXjhmuNWAMm+JJgATCEGCAHoYzWyEBEghIAI6k3CH9LbInR1IInIcsz6dLMMLklACOH5myuzZye9Aun+W5dg+rU0ON6NIT0PjOLMsFq9ZnuSvO2SWOuxO/hw2g3tHIezhTU46jqTh+bnCmF9UhARIggUoEGKBXwsfKJEACXgnAqRwJ3Y5BlmckPSV59c+Pkb8Jx/JxT4pRl/4EcFzJc+wyVV7yqLbP8n1NZHl/exOTvM7sIeR/ZP/lsyzg9mYgjmNdHvdgiogAjvWVoO6XkD+C7OGVlu30foovcrHz5faN/EwCJEACKRBYIAUjaAMJkAAJdCMAJ3M89klAvGq3MjVtfwnt/hD5O3Ayn65JBzarSADHmoypKyOvhrxK9lm+S27/Lp/l2XfvY/Br0FEC62ey/4/hf3sQ/lYwjmNYjmemBAhkF6E+C1P+DXlxZybJooAfwfF2mjO9qA4JkAAJqBHw7hyoGUpBJEACzSUAh3MZWP8d5A8iezvvycrUcqf/e3A65S4kUwMI4JgcATPluFyqT5Yp9XJXXu5gSh3JnT637nDKdHEJrPP8l6C6PQBvBeLy/xkcj//Ef6aGEMAxuTRM/TTyJ5HluPSUZHHAnyN/FselHLNMJEACJEACJEACJEACsROAAzoG+S5kj+kZKHUEsrzbnYkESIAEghCQc0527pFzkMck5+wxQWCwERIgARIgARIgARIggbAE4Ogtivxt5NeRPaYnoNRnkeUZeiYSIAESMCEg55jsXCPnHI9JztFyrl7UBACFkgAJkAAJkAAJkAAJ+CEAp28T5OuQvaZHodgnkOmc+jlsqAkJRE9AzinZuUXOMV6TnJs3iR42DSABEiABEiABEiABEshPAA7ggsiHI7+E7DU9BMU+grxwfstYkgRIgAQGE5BzSHYukXOK1yTnYjkny6sOmUiABEiABEiABEiABJpIAM7g2sgXIHtOs6Dch5F5R72JByltJoGSBOSckZ075BziOZ0P5dYqaSarkQAJkAAJkAAJkAAJpEYAzuH7kZ9C9pweh3JfRV4xNf60hwRIQI+AnCOyc4WcMzwnOee+X89ySiIBEiABEiABEiABEkiGABzFlZBP9OzNZrq9jP8/QV4vGfg0hARIoDIBOSdk5wY5R3hPcq5dqbLRFEACJEACJEACJEACJJA2ATiNuyPf4d27hX5zkU9F3j7tHqF1JEACvQjIOSA7F8g5wXuSc+vuvezhPhIgARIgARIgARIgARIYRAAO5ELIH0P2Pu0dKr6ZrsXfSchcYGlQT/ILCaRJQH7r2W9efvsxJDmXyjl1oTR7hFaRAAmQAAmQAAmQAAmYE4AzuRzyD5G9vjsdqg1K9+Lbx5EXN4fDBkiABIITkN929huX33oMSc6dcg5dLjgsNkgCJEACJEACJEACJJAmATiXGyKfhxxLehqKHoW8Rpo9QqtIoFkE5Lec/abltx1LknPmhs3qKVpLAiRAAiRAAiRAAiQQjACczX2Q74zFO4aec5DPQt4PmVNLgx0pbIgEqhOQ32z225XfsPyWY0lyjtynOgFKIAESIAESIAESIAESIIE+BOB4jkD+NPKzyDGlR6Cs3FVfp4+J3E0CJFAjAfmNZr9V+c3GlOScKOfGETXiY9MkQAIkQAIkQAIkQAJNJAAndEXkY5FjurMFdd9c/f1C/D8IeZEm9h1tJgFvBOS3mP0m5bcZw2rsUPOtJOdAOReu6I0r9SEBEiABEiABEiABEmgYATilmyBfghxjehJKfw+Zz4k27LiluT4IyG8v+w3KbzHGdAmU3sQHTWpBAiRAAiRAAiRAAiRAAhkBOKnyfPqNyLGmK6D4wcgj2akkQAJ2BOQ3lv3WrsT/WJOc6/icud1hQskkQAINJLBAA22mySRAAiRgSgAOq5xbJyB/Dfldpo3ZCX8Ook9E/i3ylQsssMBcu6YomQSaQQDnhv8HS7dFnprlpSK1/A7o/VXkP+Lc8EakNlBtEiABEnBJgAG6y26hUiRAAikQyJzxybDlSOT1IrbpYeh+MvIf/n979xZjR13HAZxwKXJpUKsoCFjqBcQUUESkEGKicvHBJ0GjPPigJMYHEzUxMdEYY0xM0IQHfQASX9Bwe/JBipfEEApiRZEqtqilIIqiVSrXtoB+f80Zcrrsdre75+zO5TPJL3P27Mx//v/PnMme786cM6m7vCHv8J7U9WUXGP3DbkM2fEXqw6kTl70Tk9vgg2nqq6mb/NNucqhaIkCAwLiAgD6u4TEBAgSmIJA36Iel2StTX0mtm8ImlrPJR7OxW1IV1u8R1peT3ra6IjAK5eelvxXKL0+d1JW+z9HP7Xn+a6kbcsy/MMcyniZAgACBCQgI6BNA1AQBAgQWIpA37XXboU+kvpw6OdX16ZEMoIL6zXnTvrnrg9F/AksVyDF+btqoUF51ylLba8H6dYx/PfW9HOPPt6A/ukCAAIHeCwjovd/FBkiAQNsE8iZ+Vfp0VepLqRPa1r9F9uehrFdn1uvS118vsg2rEeicQI7nd6bT9VGWOlN+aucGMHuHH8vT30hdm+N5z+yLeJYAAQIEpiEgoE9DVZsECBBYgEDe2B+VxT6d+mLq+AWs0pVF/pyO1mfWf5Sqz6w789aVPaef8wrkuD08C21IfTBVnyl/U6ov0+MZyDdT381x+1xfBmUcBAgQ6JKAgN6lvaWvBAj0UiBv+I/JwD6T+mzqxJ4N8r8Zz89SG6vypr8umTUR6JRAjtG6XP3SUb0v865++/pc7vVFkNekvpNj9Om5FvI8AQIECExfQECfvrEtECBAYEECCQF16fvHUp9LrV/QSt1b6IF0eV9Yz/yOhIHd3RuCHvddIMfikRnjRakmlJ/R0zFvybi+nfpBjkWXsvd0JxsWAQLdEhDQu7W/9JYAgYEIJCBckqF+IfX+Hg/5mYzt56nm7PofezxWQ2u5QI65t6SLTSB/bx4f3fIuL6V7P83KVyeU376URqxLgAABApMXENAnb6pFAgQITEwgoeGsNPb51EdT9S3wfZ7qVk63pX6c2pTwsLPPgzW2lRXIsbUmPbggdXHqstS6VJ+nvRncjalv5dj6bZ8HamwECBDosoCA3uW9p+8ECAxGIGHiDRlsfUb9qtRxAxn4toxzU+quUW1NsPjfQMZumBMUyPFT73dOT20YVQXz01JDmHZlkNemrsnx89chDNgYCRAg0GUBAb3Le0/fCRAYnECCxuoM+pOpCutvHBjAvzPeu1MV2Cu4b07gqMvkTQT2E8hxUpen1z3JK4hXKD8/9erUkKaHM9j64rfrc5w8OaSBGysBAgS6LCCgd3nv6TsBAoMVSACpWz3VLZ7qc+rnDBSibt/2m1Rzhr0ui3eGcIAvhhwPdYVJE8YrkL8jVcfIEKd7M+irU7fmeHCLwyG+AoyZAIFOCwjond59Ok+AAIFDDkk4uTAOdel7Bfa6t/qQp79k8PeltozVNkGlHy+J0T+m6tL0ustBU2fn8cn9GOGiR/Fs1rw1dW1e63cuuhUrEiBAgMCKCwjoK74LdIAAAQKTEUh4eWVaujJVl8CfNZlWe9HKnoxia2o8tG9JkKkwb2qpQF7PFbqbEN7M63Pkq1ra5ZXoVn3Z2/WpG/J6fmIlOmCbBAgQIDBZAQF9sp5aI0CAQCsEEm7q87efStW3v69uRafa14kKNL9LjQf3Otv+z/Z1tb89ymv1tRndzLPiFciH8mWIB7tzn8wK9W3s1+W1uvlgV7Y8AQIECLRbQEBv9/7ROwIECCxJIOHn2DRQIb3C+ruX1NhwVq4vntsxqofHHu97LqHo8TxnWqBAXoPHZ9G1M6q+4LB5rs/3G88wJzb9Mi1dl7oxr8GnJtaqhggQIECgVQICeqt2h84QIEBgegIJSmem9QrqH0+9anpb6n3L9XnflwX3PPdIqs6+70w9kRDV61vC5fVU7yHqYxVrUnUW/JTU2hlVQXzo34sQgkVP/8ma30/V2fL7F92KFQkQIECgMwICemd2lY4SIEBgMgIJVq9IS/WFchXWL5pMq1qZIfBCfq5wVWH9QFW3jmt+vyuPdyeI7c182aa8Ho7Ixo5M1SXlFbar6pZkzeO55vVPnsNSpskL3JEm62x5fRP7c5NvXosECBAg0FYBAb2te0a/CBAgsAwCCWdvzmY+Mqr1y7BJm5hfoM681xfbjdfuBfxcLVfQri9Ra2q+n2s57wWC0IJpS/pwU1VC+Z9a0B9dIECAAIEVEPBHeQXQbZIAAQJtFEhYf1v6VWH9ilQ9NhEgMF2BP6T5m1MVyuuxiQABAgQGLiCgD/wFYPgECBCYTSBhvc6mV1Cveutsy3iOAIFFCTyYtSqU35xQXmfNTQQIECBA4CUBAf0lCg8IECBAYDaBhPWz83xzZn3dbMt4jgCBAwpsz2+bM+X3HXBJvyRAgACBQQsI6IPe/QZPgACBgxNIWH9X1qiwfnmqvqHbRIDA7AIP5+lbUnX5+q9mX8SzBAgQIEBgfwEBfX8PPxEgQIDAAgUS1t+TRT+UujRVZ9n9TQmCabAC9eV+dXZ8Y+qHCeW/GKyEgRMgQIDAogW8mVo0nRUJECBAoBFIWH99HldQvyz1gZT7rAfB1HuBupXeT1K3pTYmlP+99yM2QAIECBCYqoCAPlVejRMgQGB4AgnrdW/s81IV1iu0n5Py9yYIps4L1Fnye1N1lrxC+T0J5XXPexMBAgQIEJiIgDdME2HUCAECBAjMJZDAfnx+d0mqwnrN16RMBLoisDMdvT1Vofz2BPLHu9Jx/SRAgACB7gkI6N3bZ3pMgACBzgokrB+azp+bai6Hr7Prh3d2QDreR4HnM6g6S77vsvXMNyeUv9jHgRoTAQIECLRPQEBv3z7RIwIECAxGIIH96Ay2Loe/YFTnZ35cykRguQR2ZUN3pzaNqi5bf2a5Nm47BAgQIEBgXEBAH9fwmAABAgRWVGB0hv3t6cSFqSa0r13RTtl43wR2ZEBNGL8zj3/vDHnfdrHxECBAoLsCAnp3952eEyBAYBACCe0nZqBNWK953dLNZfGD2PtLHmRdrl63PmsC+aaE8b8tuVUNECBAgACBKQkI6FOC1SwBAgQITEdgxmXx9Rn29al1KX/TpkPelVbrG9a3p7ak6jPkFcpdrh4EEwECBAh0R8Cbme7sKz0lQIAAgTkEEtqPya8qqFedOap67H7sQejhVPcfryB+/6jq8ZacHX86cxMBAgQIEOisgIDe2V2n4wQIECAwn0CC+0lZpgL7eHA/LT8fMd+6ft8Kgb3pxbbUeBC/P0H80Vb0TicIECBAgMCEBQT0CYNqjgABAgTaLZDQvio9PD1Vwf2M1KmjWpv561Km5Rf4Rza5I/XQqB7IvEL51oTxPZmbCBAgQIDAIAQE9EHsZoMkQIAAgYUIJLwfleXWpiq0zzZfk+dNBy+wM6vsSFUAf9k8IfzZPG8iQIAAAQKDFxDQB/8SAECAAAECCxVIgF+dZdemxgP8Cfm5gvtrxuYV9IcwVbD+V6oCeDN/LI/3C+IJ4E/mORMBAgQIECAwj4CAPg+QXxMgQIAAgYMVGJ2JbwL7zPA+28/HZht16X1Thx7sNhe5/ItZry4hb+qpPB4P203onjnft4wz34tUtxoBAgQIEJhDQECfA8bTBAgQIEBgpQQS8Os+70emKrA38/HHzXPj8+ru7lSF7bnm+/0uAbvuE24iQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAA4nty+wAAB2JJREFUAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQIAAgd4J/B+dcycNJZZ/4gAAAABJRU5ErkJggg=='%3E%3C/image%3E%3Crect id='text' fill='%23E2E4E7' x='124' y='173' width='106' height='13'%3E%3C/rect%3E%3Crect id='text' fill='%23E2E4E7' x='124' y='137' width='106' height='13'%3E%3C/rect%3E%3Crect id='text' fill='%23E2E4E7' x='124' y='191' width='106' height='13'%3E%3C/rect%3E%3Crect id='text' fill='%23E2E4E7' x='124' y='245' width='106' height='13'%3E%3C/rect%3E%3Crect id='text' fill='%23E2E4E7' x='124' y='155' width='106' height='13'%3E%3C/rect%3E%3Crect id='text' fill='%23E2E4E7' x='124' y='209' width='106' height='13'%3E%3C/rect%3E%3Crect id='text' fill='%23E2E4E7' x='124' y='263' width='106' height='13'%3E%3C/rect%3E%3C/g%3E%3C/g%3E%3C/svg%3E"},e))},En=function(e){return Object(r.createElement)("img",Object(Q.a)({alt:Object(C.__)("inserter"),src:"data:image/svg+xml;charset=utf8,%3Csvg width='18' height='18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.824 0C3.97 0 0 3.97 0 8.824c0 4.853 3.97 8.824 8.824 8.824 4.853 0 8.824-3.971 8.824-8.824S13.677 0 8.824 0zM7.94 5.294v2.647H5.294v1.765h2.647v2.647h1.765V9.706h2.647V7.941H9.706V5.294H7.941zm-6.176 3.53c0 3.882 3.176 7.059 7.059 7.059 3.882 0 7.059-3.177 7.059-7.06 0-3.882-3.177-7.058-7.06-7.058-3.882 0-7.058 3.176-7.058 7.059z' fill='%234A4A4A'/%3E%3Cmask id='a' maskUnits='userSpaceOnUse' x='0' y='0' width='18' height='18'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.824 0C3.97 0 0 3.97 0 8.824c0 4.853 3.97 8.824 8.824 8.824 4.853 0 8.824-3.971 8.824-8.824S13.677 0 8.824 0zM7.94 5.294v2.647H5.294v1.765h2.647v2.647h1.765V9.706h2.647V7.941H9.706V5.294H7.941zm-6.176 3.53c0 3.882 3.176 7.059 7.059 7.059 3.882 0 7.059-3.177 7.059-7.06 0-3.882-3.177-7.058-7.06-7.058-3.882 0-7.058 3.176-7.058 7.059z' fill='%23fff'/%3E%3C/mask%3E%3Cg mask='url(%23a)'%3E%3Cpath fill='%23444' d='M0 0h17.644v17.644H0z'/%3E%3C/g%3E%3C/svg%3E"},e))};function sn(){var e=Object(p.useSelect)((function(e){return e("core/edit-post").isFeatureActive("welcomeGuide")}),[]),t=Object(p.useDispatch)("core/edit-post").toggleFeature;return e?Object(r.createElement)(b.Guide,{className:"edit-post-welcome-guide",contentLabel:Object(C.__)("Welcome to the Block Editor"),finishButtonText:Object(C.__)("Get started"),onFinish:function(){return t("welcomeGuide")}},Object(r.createElement)(b.GuidePage,{className:"edit-post-welcome-guide__page"},Object(r.createElement)("h1",{className:"edit-post-welcome-guide__heading"},Object(C.__)("Welcome to the Block Editor")),Object(r.createElement)(rn,{className:"edit-post-welcome-guide__image"}),Object(r.createElement)("p",{className:"edit-post-welcome-guide__text"},Object(C.__)("In the WordPress editor, each paragraph, image, or video is presented as a distinct “block” of content."))),Object(r.createElement)(b.GuidePage,{className:"edit-post-welcome-guide__page"},Object(r.createElement)("h1",{className:"edit-post-welcome-guide__heading"},Object(C.__)("Make each block your own")),Object(r.createElement)(cn,{className:"edit-post-welcome-guide__image"}),Object(r.createElement)("p",{className:"edit-post-welcome-guide__text"},Object(C.__)("Each block comes with its own set of controls for changing things like color, width, and alignment. These will show and hide automatically when you have a block selected."))),Object(r.createElement)(b.GuidePage,{className:"edit-post-welcome-guide__page"},Object(r.createElement)("h1",{className:"edit-post-welcome-guide__heading"},Object(C.__)("Get to know the Block Library")),Object(r.createElement)(an,{className:"edit-post-welcome-guide__image"}),Object(r.createElement)("p",{className:"edit-post-welcome-guide__text"},Object(r.__experimentalCreateInterpolateElement)(Object(C.__)("All of the blocks available to you live in the Block Library. You’ll find it wherever you see the icon."),{InserterIconImage:Object(r.createElement)(En,{className:"edit-post-welcome-guide__inserter-icon"})}))),Object(r.createElement)(b.GuidePage,{className:"edit-post-welcome-guide__page"},Object(r.createElement)("h1",{className:"edit-post-welcome-guide__heading"},Object(C.__)("Learn how to use the Block Editor")),Object(r.createElement)(ln,{className:"edit-post-welcome-guide__image"}),Object(r.createElement)("p",{className:"edit-post-welcome-guide__text"},Object(C.__)("New to the Block Editor? Want to learn more about using it? "),Object(r.createElement)(b.ExternalLink,{href:Object(C.__)("https://wordpress.org/support/article/wordpress-editor/")},Object(C.__)("Here's a detailed guide."))))):null}var un=function(){var e=Object(I.useViewportMatch)("small","<"),t=Object(p.useDispatch)("core/edit-post"),A=t.closePublishSidebar,n=t.togglePublishSidebar,o=Object(p.useSelect)((function(e){return{hasFixedToolbar:e("core/edit-post").isFeatureActive("fixedToolbar"),editorSidebarOpened:e("core/edit-post").isEditorSidebarOpened(),pluginSidebarOpened:e("core/edit-post").isPluginSidebarOpened(),publishSidebarOpened:e("core/edit-post").isPublishSidebarOpened(),mode:e("core/edit-post").getEditorMode(),isRichEditingEnabled:e("core/editor").getEditorSettings().richEditingEnabled,hasActiveMetaboxes:e("core/edit-post").hasMetaBoxes(),isSaving:e("core/edit-post").isSavingMetaBoxes(),previousShortcut:e("core/keyboard-shortcuts").getAllShortcutRawKeyCombinations("core/edit-post/previous-region"),nextShortcut:e("core/keyboard-shortcuts").getAllShortcutRawKeyCombinations("core/edit-post/next-region")}}),[]),a=o.mode,l=o.isRichEditingEnabled,E=o.editorSidebarOpened,s=o.pluginSidebarOpened,u=o.publishSidebarOpened,Q=o.hasActiveMetaboxes,d=o.isSaving,B=o.hasFixedToolbar,g=o.previousShortcut,m=o.nextShortcut,f=Object(i.__experimentalUsePageTemplatePickerVisible)(),h=E||s||u,j=ze()("edit-post-layout","is-mode-"+a,{"is-sidebar-opened":h,"has-fixed-toolbar":B,"has-metaboxes":Q});return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(xt,null),Object(r.createElement)(Rt,null),Object(r.createElement)(c.UnsavedChangesWarning,null),Object(r.createElement)(c.AutosaveMonitor,null),Object(r.createElement)(c.LocalAutosaveMonitor,null),Object(r.createElement)(ot,null),Object(r.createElement)(c.EditorKeyboardShortcutsRegister,null),Object(r.createElement)(b.FocusReturnProvider,null,Object(r.createElement)(Tt,{className:j,header:Object(r.createElement)(AA,null),sidebar:!u&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)(GA,null),Object(r.createElement)(aA.Slot,null)),content:Object(r.createElement)(r.Fragment,null,Object(r.createElement)(c.EditorNotices,null),Object(r.createElement)(b.Popover.Slot,{name:"block-toolbar"}),("text"===a||!l)&&Object(r.createElement)(Ke,null),l&&"visual"===a&&Object(r.createElement)(nt,null),Object(r.createElement)("div",{className:"edit-post-layout__metaboxes"},Object(r.createElement)(FA,{location:"normal"}),Object(r.createElement)(FA,{location:"advanced"})),e&&h&&Object(r.createElement)(b.ScrollLock,null)),footer:l&&"visual"===a&&Object(r.createElement)("div",{className:"edit-post-layout__footer"},Object(r.createElement)(i.BlockBreadcrumb,null)),publish:u?Object(r.createElement)(c.PostPublishPanel,{onClose:A,forceIsDirty:Q,forceIsSaving:d,PrePublishExtension:on.Slot,PostPublishExtension:$A.Slot}):Object(r.createElement)("div",{className:"edit-post-toggle-publish-panel"},Object(r.createElement)(b.Button,{isSecondary:!0,className:"edit-post-toggle-publish-panel__button",onClick:n,"aria-expanded":!1},Object(C.__)("Open publish panel"))),shortcuts:{previous:g,next:m}}),Object(r.createElement)(bt,null),Object(r.createElement)(wt,null),Object(r.createElement)(ut,null),Object(r.createElement)(sn,null),Object(r.createElement)(b.Popover.Slot,null),Object(r.createElement)(O.PluginArea,null),f&&Object(r.createElement)(i.__experimentalPageTemplatePicker,null)))},Qn=function(e){var t=e.postId;return function(e){var t=Object(p.useSelect)((function(e){return{hasBlockSelection:!!e("core/block-editor").getBlockSelectionStart(),isEditorSidebarOpened:e(qe).isEditorSidebarOpened()}}),[e]),A=t.hasBlockSelection,n=t.isEditorSidebarOpened,o=Object(p.useDispatch)(qe).openGeneralSidebar;Object(r.useEffect)((function(){n&&o(A?"edit-post/block":"edit-post/document")}),[A,n])}(t),function(e){var t=Object(p.useSelect)((function(e){return{isSmall:e("core/viewport").isViewportMatch("< medium"),activeGeneralSidebarName:e(qe).getActiveGeneralSidebarName()}}),[e]),A=t.isSmall,n=t.activeGeneralSidebarName,o=Object(p.useDispatch)(qe),i=o.openGeneralSidebar,c=o.closeGeneralSidebar,a=Object(r.useRef)(null),l=Object(r.useRef)(null);Object(r.useEffect)((function(){a.current!==A&&(a.current=A,A?(l.current=n,n&&c()):l.current&&!n&&(i(l.current),l.current=null))}),[A,n])}(t),function(e){var t=Object(p.useSelect)((function(e){return{newPermalink:e("core/editor").getCurrentPost().link}}),[e]).newPermalink,A=Object(r.useRef)();Object(r.useEffect)((function(){A.current=document.querySelector("#wp-admin-bar-preview a")||document.querySelector("#wp-admin-bar-view a")}),[e]),Object(r.useEffect)((function(){t&&A.current&&A.current.setAttribute("href",t)}),[t])}(t),null},dn=function(e){function t(){var e;return Object(Le.a)(this,t),(e=Object(Ue.a)(this,Object(Je.a)(t).apply(this,arguments))).getEditorSettings=Ye()(e.getEditorSettings,{maxSize:1}),e}return Object(Xe.a)(t,e),Object(Fe.a)(t,[{key:"getEditorSettings",value:function(e,t,A,n,o,r,i,c,a){if(e=Object(M.a)({},e,{__experimentalPreferredStyleVariations:{value:i,onChange:a},hasFixedToolbar:t,focusMode:n,showInserterHelpPanel:A,__experimentalLocalAutosaveInterval:c}),Object(B.size)(o)>0){var l=!0===e.allowedBlockTypes?Object(B.map)(r,"name"):e.allowedBlockTypes||[];e.allowedBlockTypes=B.without.apply(void 0,[l].concat(Object(V.a)(o)))}return e}},{key:"render",value:function(){var e=this.props,t=e.settings,A=e.hasFixedToolbar,n=e.focusMode,o=e.post,i=e.postId,a=e.initialEdits,l=e.onError,E=e.hiddenBlockTypes,s=e.blockTypes,u=e.preferredStyleVariations,B=e.__experimentalLocalAutosaveInterval,g=e.showInserterHelpPanel,p=e.updatePreferredStyleVariations,C=Object(d.a)(e,["settings","hasFixedToolbar","focusMode","post","postId","initialEdits","onError","hiddenBlockTypes","blockTypes","preferredStyleVariations","__experimentalLocalAutosaveInterval","showInserterHelpPanel","updatePreferredStyleVariations"]);if(!o)return null;var I=this.getEditorSettings(t,A,g,n,E,s,u,B,p);return Object(r.createElement)(r.StrictMode,null,Object(r.createElement)(dt.Provider,{value:t},Object(r.createElement)(b.SlotFillProvider,null,Object(r.createElement)(b.DropZoneProvider,null,Object(r.createElement)(c.EditorProvider,Object(Q.a)({settings:I,post:o,initialEdits:a,useSubRegistry:!1},C),Object(r.createElement)(c.ErrorBoundary,{onError:l},Object(r.createElement)(Qn,{postId:i}),Object(r.createElement)(un,null),Object(r.createElement)(b.KeyboardShortcuts,{shortcuts:Ge})),Object(r.createElement)(c.PostLockedModal,null))))))}}]),t}(r.Component),Bn=Object(I.compose)([Object(p.withSelect)((function(e,t){var A=t.postId,n=t.postType,o=e("core/edit-post"),r=o.isFeatureActive,i=o.getPreference,c=e("core").getEntityRecord,a=e("core/blocks").getBlockTypes;return{showInserterHelpPanel:r("showInserterHelpPanel"),hasFixedToolbar:r("fixedToolbar"),focusMode:r("focusMode"),post:c("postType",n,A),preferredStyleVariations:i("preferredStyleVariations"),hiddenBlockTypes:i("hiddenBlockTypes"),blockTypes:a(),__experimentalLocalAutosaveInterval:i("localAutosaveInterval")}})),Object(p.withDispatch)((function(e){return{updatePreferredStyleVariations:e("core/edit-post").updatePreferredStyleVariations}}))])(dn),gn=function(e,t){return!Array.isArray(t)||(A=e,n=t,0===Object(B.difference)(A,n).length);var A,n},bn=function(e){var t=e.allowedBlocks,A=e.icon,n=e.label,o=e.onClick,i=e.small,c=e.role;return Object(r.createElement)(At,null,(function(e){var a=e.selectedBlocks,l=e.onClose;return gn(a,t)?Object(r.createElement)(b.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(I.compose)(o,l),icon:A||"admin-plugins",label:i?n:void 0,role:c},!i&&n):null}))},pn=Object(I.compose)(Object(O.withPluginContext)((function(e,t){return{icon:t.icon||e.icon}})))((function(e){var t=e.onClick,A=void 0===t?B.noop:t,n=Object(d.a)(e,["onClick"]);return Object(r.createElement)(Jt,null,(function(e){return Object(r.createElement)(b.MenuItem,Object(Q.a)({},n,{onClick:Object(I.compose)(A,e.onClose)}))}))}));var Cn=Object(I.compose)(Object(O.withPluginContext)((function(e,t){return{icon:t.icon||e.icon,sidebarName:"".concat(e.name,"/").concat(t.name)}})),Object(p.withSelect)((function(e,t){var A=t.sidebarName,n=e("core/edit-post"),o=n.getActiveGeneralSidebarName,r=n.isPluginItemPinned;return{isActive:o()===A,isPinned:r(A)}})),Object(p.withDispatch)((function(e,t){var A=t.isActive,n=t.sidebarName,o=e("core/edit-post"),r=o.closeGeneralSidebar,i=o.openGeneralSidebar,c=o.togglePinnedPluginItem;return{togglePin:function(){c(n)},toggleSidebar:function(){A?r():i(n)}}})))((function(e){var t=e.children,A=e.className,n=e.icon,o=e.isActive,i=e.isPinnable,c=void 0===i||i,a=e.isPinned,l=e.sidebarName,E=e.title,s=e.togglePin,u=e.toggleSidebar;return Object(r.createElement)(r.Fragment,null,c&&Object(r.createElement)(eA,null,a&&Object(r.createElement)(b.Button,{icon:n,label:E,onClick:u,isPressed:o,"aria-expanded":o})),Object(r.createElement)(aA,{name:l},Object(r.createElement)(lA,{closeLabel:Object(C.__)("Close plugin")},Object(r.createElement)("strong",null,E),c&&Object(r.createElement)(b.Button,{icon:a?"star-filled":"star-empty",label:a?Object(C.__)("Unpin from toolbar"):Object(C.__)("Pin to toolbar"),onClick:s,isPressed:a,"aria-expanded":a})),Object(r.createElement)(b.Panel,{className:A},t)))})),In=Object(I.compose)(Object(O.withPluginContext)((function(e,t){return{icon:t.icon||e.icon,sidebarName:"".concat(e.name,"/").concat(t.target)}})),Object(p.withSelect)((function(e,t){var A=t.sidebarName;return{isSelected:(0,e("core/edit-post").getActiveGeneralSidebarName)()===A}})),Object(p.withDispatch)((function(e,t){var A=t.isSelected,n=t.sidebarName,o=e("core/edit-post"),r=o.closeGeneralSidebar,i=o.openGeneralSidebar;return{onClick:A?r:function(){return i(n)}}})))((function(e){var t=e.children,A=e.icon,n=e.isSelected,o=e.onClick;return Object(r.createElement)(pn,{icon:n?"yes":A,isSelected:n,role:"menuitemcheckbox",onClick:o},t)}));function mn(e,t,A,n,o){Object(r.unmountComponentAtNode)(A);var i=mn.bind(null,e,t,A,n,o);Object(r.render)(Object(r.createElement)(Bn,{settings:n,onError:i,postId:t,postType:e,initialEdits:o,recovery:!0}),A)}function fn(e,t,A,n,o){var i=document.getElementById(e),c=mn.bind(null,t,A,i,n,o);Object(E.registerCoreBlocks)(),"Standards"!==("CSS1Compat"===document.compatMode?"Standards":"Quirks")&&console.warn("Your browser is using Quirks Mode. \nThis can cause rendering issues such as blocks overlaying meta boxes in the editor. Quirks Mode can be triggered by PHP errors or HTML code appearing before the opening . Try checking the raw page source or your site's PHP error log and resolving errors there, removing any HTML before the doctype, or disabling plugins."),-1!==window.navigator.userAgent.indexOf("iPhone")&&window.addEventListener("scroll",(function(e){var t=document.getElementsByClassName("edit-post-editor-regions__body")[0];e.target===document&&(window.scrollY>100&&(t.scrollTop=t.scrollTop+window.scrollY),window.scrollTo(0,0))})),Object(r.render)(Object(r.createElement)(Bn,{settings:n,onError:c,postId:A,postType:t,initialEdits:o}),i)}A.d(t,"reinitializeEditor",(function(){return mn})),A.d(t,"initializeEditor",(function(){return fn})),A.d(t,"PluginBlockSettingsMenuItem",(function(){return bn})),A.d(t,"PluginDocumentSettingPanel",(function(){return YA})),A.d(t,"PluginMoreMenuItem",(function(){return pn})),A.d(t,"PluginPostPublishPanel",(function(){return $A})),A.d(t,"PluginPostStatusInfo",(function(){return OA})),A.d(t,"PluginPrePublishPanel",(function(){return on})),A.d(t,"PluginSidebar",(function(){return Cn})),A.d(t,"PluginSidebarMoreMenuItem",(function(){return In}))},38:function(e,t){!function(){e.exports=this.wp.apiFetch}()},4:function(e,t){!function(){e.exports=this.wp.data}()},40:function(e,t,A){"use strict";function n(e,t){if(null==e)return{};var A,n,o={},r=Object.keys(e);for(n=0;n=0||(o[A]=e[A]);return o}A.d(t,"a",(function(){return n}))},42:function(e,t,A){e.exports=function(e,t){var A,n,o,r=0;function i(){var t,i,c=n,a=arguments.length;e:for(;c;){if(c.args.length===arguments.length){for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,A)&&(r[A]=e[A])}return r}},2:function(e,t){!function(){e.exports=this.lodash}()},20:function(e,t){!function(){e.exports=this.wp.keycodes}()},22:function(e,t,A){"use strict";var n=A(37);var o=A(38);function r(e,t){return Object(n.a)(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var A=[],n=!0,o=!1,r=void 0;try{for(var c,i=e[Symbol.iterator]();!(n=(c=i.next()).done)&&(A.push(c.value),!t||A.length!==t);n=!0);}catch(e){o=!0,r=e}finally{try{n||null==i.return||i.return()}finally{if(o)throw r}}return A}}(e,t)||Object(o.a)()}A.d(t,"a",(function(){return r}))},26:function(e,t){!function(){e.exports=this.wp.url}()},270:function(e,t){!function(){e.exports=this.wp.blockLibrary}()},28:function(e,t){!function(){e.exports=this.wp.editor}()},29:function(e,t){!function(){e.exports=this.wp.hooks}()},3:function(e,t){!function(){e.exports=this.wp.components}()},32:function(e,t,A){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}A.d(t,"a",(function(){return n}))},33:function(e,t,A){"use strict";function n(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}A.d(t,"a",(function(){return n}))},36:function(e,t,A){"use strict";var n,o;function r(e){return[e]}function c(){var e={clear:function(){e.head=null}};return e}function i(e,t,A){var n;if(e.length!==t.length)return!1;for(n=A;n=0||(o[A]=e[A]);return o}A.d(t,"a",(function(){return n}))},413:function(e,t,A){"use strict";A.r(t);var n={};A.r(n),A.d(n,"openGeneralSidebar",(function(){return W})),A.d(n,"closeGeneralSidebar",(function(){return z})),A.d(n,"openModal",(function(){return K})),A.d(n,"closeModal",(function(){return _})),A.d(n,"openPublishSidebar",(function(){return $})),A.d(n,"closePublishSidebar",(function(){return ee})),A.d(n,"togglePublishSidebar",(function(){return te})),A.d(n,"toggleEditorPanelEnabled",(function(){return Ae})),A.d(n,"toggleEditorPanelOpened",(function(){return ne})),A.d(n,"removeEditorPanel",(function(){return oe})),A.d(n,"toggleFeature",(function(){return re})),A.d(n,"switchEditorMode",(function(){return ce})),A.d(n,"togglePinnedPluginItem",(function(){return ie})),A.d(n,"hideBlockTypes",(function(){return ae})),A.d(n,"updatePreferredStyleVariations",(function(){return le})),A.d(n,"__experimentalUpdateLocalAutosaveInterval",(function(){return Ee})),A.d(n,"showBlockTypes",(function(){return se})),A.d(n,"setAvailableMetaBoxesPerLocation",(function(){return ue})),A.d(n,"requestMetaBoxUpdates",(function(){return Qe})),A.d(n,"metaBoxUpdatesSuccess",(function(){return de}));var o={};A.r(o),A.d(o,"getEditorMode",(function(){return ge})),A.d(o,"isEditorSidebarOpened",(function(){return be})),A.d(o,"isPluginSidebarOpened",(function(){return pe})),A.d(o,"getActiveGeneralSidebarName",(function(){return Ce})),A.d(o,"getPreferences",(function(){return me})),A.d(o,"getPreference",(function(){return Ie})),A.d(o,"isPublishSidebarOpened",(function(){return Oe})),A.d(o,"isEditorPanelRemoved",(function(){return fe})),A.d(o,"isEditorPanelEnabled",(function(){return he})),A.d(o,"isEditorPanelOpened",(function(){return je})),A.d(o,"isModalActive",(function(){return ve})),A.d(o,"isFeatureActive",(function(){return ke})),A.d(o,"isPluginItemPinned",(function(){return ye})),A.d(o,"getActiveMetaBoxLocations",(function(){return Pe})),A.d(o,"isMetaBoxLocationVisible",(function(){return we})),A.d(o,"isMetaBoxLocationActive",(function(){return Se})),A.d(o,"getMetaBoxesPerLocation",(function(){return Te})),A.d(o,"getAllMetaBoxes",(function(){return De})),A.d(o,"hasMetaBoxes",(function(){return xe})),A.d(o,"isSavingMetaBoxes",(function(){return Ve}));var r=A(0),c=(A(73),A(6)),i=A(28),a=A(46),l=A(54),E=(A(176),A(270)),s=A(29),u=A(124);Object(s.addFilter)("editor.MediaUpload","core/edit-post/replace-media-upload",(function(){return u.MediaUpload}));var Q=A(11),d=A(19),B=A(2),g=A(9),b=A(3),p=A(4),C=A(1),m=A(8),I=Object(m.compose)(Object(p.withSelect)((function(e,t){if(Object(g.hasBlockSupport)(t.name,"multiple",!0))return{};var A=e("core/block-editor").getBlocks(),n=Object(B.find)(A,(function(e){var A=e.name;return t.name===A}));return{originalBlockClientId:n&&n.clientId!==t.clientId&&n.clientId}})),Object(p.withDispatch)((function(e,t){var A=t.originalBlockClientId;return{selectFirst:function(){return e("core/block-editor").selectBlock(A)}}}))),O=Object(m.createHigherOrderComponent)((function(e){return I((function(t){var A=t.originalBlockClientId,n=t.selectFirst,o=Object(d.a)(t,["originalBlockClientId","selectFirst"]);if(!A)return Object(r.createElement)(e,o);var i=Object(g.getBlockType)(o.name),a=function(e){var t=Object(g.findTransform)(Object(g.getBlockTransforms)("to",e),(function(e){var t=e.type,A=e.blocks;return"block"===t&&1===A.length}));if(!t)return null;return Object(g.getBlockType)(t.blocks[0])}(o.name);return[Object(r.createElement)("div",{key:"invalid-preview",style:{minHeight:"60px"}},Object(r.createElement)(e,Object(Q.a)({key:"block-edit"},o))),Object(r.createElement)(c.Warning,{key:"multiple-use-warning",actions:[Object(r.createElement)(b.Button,{key:"find-original",isSecondary:!0,onClick:n},Object(C.__)("Find original")),Object(r.createElement)(b.Button,{key:"remove",isSecondary:!0,onClick:function(){return o.onReplace([])}},Object(C.__)("Remove")),a&&Object(r.createElement)(b.Button,{key:"transform",isSecondary:!0,onClick:function(){return o.onReplace(Object(g.createBlock)(a.name,o.attributes))}},Object(C.__)("Transform into:")," ",a.title)]},Object(r.createElement)("strong",null,i.title,": "),Object(C.__)("This block can only be used once."))]}))}),"withMultipleValidation");Object(s.addFilter)("editor.BlockEdit","core/edit-post/validate-multiple-use/with-multiple-validation",O);var f=A(53),h=A(26);var j=Object(m.compose)(Object(p.withSelect)((function(e){return{editedPostContent:e("core/editor").getEditedPostAttribute("content")}})),Object(p.withDispatch)((function(e){return{createNotice:e("core/notices").createNotice}})),Object(m.withState)({hasCopied:!1}))((function(e){var t=e.createNotice,A=e.editedPostContent,n=e.hasCopied,o=e.setState;return A.length>0&&Object(r.createElement)(b.ClipboardButton,{text:A,role:"menuitem",className:"components-menu-item__button",onCopy:function(){o({hasCopied:!0}),t("info",Object(C.__)("All content copied."),{isDismissible:!0,type:"snackbar"})},onFinishCopy:function(){return o({hasCopied:!1})}},n?Object(C.__)("Copied!"):Object(C.__)("Copy all content"))}));var v=Object(p.withDispatch)((function(e){return{openModal:e("core/edit-post").openModal}}))((function(e){var t=e.openModal;return Object(r.createElement)(b.MenuItem,{onClick:function(){t("edit-post/manage-blocks")}},Object(C.__)("Block Manager"))})),k=A(20);var y=Object(p.withDispatch)((function(e){return{openModal:e("core/edit-post").openModal}}))((function(e){var t=e.openModal;return Object(r.createElement)(b.MenuItem,{onClick:function(){t("edit-post/keyboard-shortcut-help")},shortcut:k.displayShortcut.access("h")},Object(C.__)("Keyboard shortcuts"))})),P=Object(b.createSlotFill)("ToolsMoreMenuGroup"),w=P.Fill,S=P.Slot;w.Slot=function(e){var t=e.fillProps;return Object(r.createElement)(S,{fillProps:t},(function(e){return!Object(B.isEmpty)(e)&&Object(r.createElement)(b.MenuGroup,{label:Object(C.__)("Tools")},e)}))};var T=w;function D(){var e=Object(p.useDispatch)("core/edit-post").toggleFeature;return Object(r.createElement)(b.MenuItem,{onClick:function(){return e("welcomeGuide")}},Object(C.__)("Welcome Guide"))}Object(f.registerPlugin)("edit-post",{render:function(){return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(T,null,(function(e){var t=e.onClose;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(v,{onSelect:t}),Object(r.createElement)(b.MenuItem,{role:"menuitem",href:Object(h.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(C.__)("Manage all reusable blocks")),Object(r.createElement)(y,{onSelect:t}),Object(r.createElement)(D,null),Object(r.createElement)(j,null),Object(r.createElement)(b.MenuItem,{role:"menuitem",href:Object(C.__)("https://wordpress.org/support/article/wordpress-editor/"),target:"_new"},Object(C.__)("Help")))})))}});var x=A(17),V=A(5);function R(e,t){var A=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),A.push.apply(A,n)}return A}function M(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:H,A=arguments.length>1?arguments[1]:void 0;return e(t,A)}})])({isGeneralSidebarDismissed:function(e,t){switch(t.type){case"OPEN_GENERAL_SIDEBAR":case"CLOSE_GENERAL_SIDEBAR":return"CLOSE_GENERAL_SIDEBAR"===t.type}return e},panels:function(e,t){switch(t.type){case"TOGGLE_PANEL_ENABLED":var A=t.panelName;return M({},e,Object(V.a)({},A,M({},e[A],{enabled:!Object(B.get)(e,[A,"enabled"],!0)})));case"TOGGLE_PANEL_OPENED":var n=t.panelName,o=!0===e[n]||Object(B.get)(e,[n,"opened"],!1);return M({},e,Object(V.a)({},n,M({},e[n],{opened:!o})))}return e},features:function(e,t){return"TOGGLE_FEATURE"===t.type?M({},e,Object(V.a)({},t.feature,!e[t.feature])):e},editorMode:function(e,t){return"SWITCH_MODE"===t.type?t.mode:e},pinnedPluginItems:function(e,t){return"TOGGLE_PINNED_PLUGIN_ITEM"===t.type?M({},e,Object(V.a)({},t.pluginName,!Object(B.get)(e,[t.pluginName],!0))):e},hiddenBlockTypes:function(e,t){switch(t.type){case"SHOW_BLOCK_TYPES":return B.without.apply(void 0,[e].concat(Object(x.a)(t.blockNames)));case"HIDE_BLOCK_TYPES":return Object(B.union)(e,t.blockNames)}return e},preferredStyleVariations:function(e,t){switch(t.type){case"UPDATE_PREFERRED_STYLE_VARIATIONS":return t.blockName?t.blockStyle?M({},e,Object(V.a)({},t.blockName,t.blockStyle)):Object(B.omit)(e,[t.blockName]):e}return e},localAutosaveInterval:function(e,t){switch(t.type){case"UPDATE_LOCAL_AUTOSAVE_INTERVAL":return t.interval}return e}});var L=Object(p.combineReducers)({isSaving:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"REQUEST_META_BOX_UPDATES":return!0;case"META_BOX_UPDATES_SUCCESS":return!1;default:return e}},locations:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_META_BOXES_PER_LOCATIONS":return t.metaBoxesPerLocation}return e}}),F=Object(p.combineReducers)({activeGeneralSidebar:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:q,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"OPEN_GENERAL_SIDEBAR":return t.name}return e},activeModal: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"OPEN_MODAL":return t.name;case"CLOSE_MODAL":return null}return e},metaBoxes:L,preferences:N,publishSidebarActive:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"OPEN_PUBLISH_SIDEBAR":return!0;case"CLOSE_PUBLISH_SIDEBAR":return!1;case"TOGGLE_PUBLISH_SIDEBAR":return!e}return e},removedPanels:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REMOVE_PANEL":if(!Object(B.includes)(e,t.panelName))return[].concat(Object(x.a)(e),[t.panelName])}return e}}),U=A(88),J=A.n(U),X=A(22),Z=A(48),Y=A(40),G=A.n(Y);function W(e){return{type:"OPEN_GENERAL_SIDEBAR",name:e}}function z(){return{type:"CLOSE_GENERAL_SIDEBAR"}}function K(e){return{type:"OPEN_MODAL",name:e}}function _(){return{type:"CLOSE_MODAL"}}function $(){return{type:"OPEN_PUBLISH_SIDEBAR"}}function ee(){return{type:"CLOSE_PUBLISH_SIDEBAR"}}function te(){return{type:"TOGGLE_PUBLISH_SIDEBAR"}}function Ae(e){return{type:"TOGGLE_PANEL_ENABLED",panelName:e}}function ne(e){return{type:"TOGGLE_PANEL_OPENED",panelName:e}}function oe(e){return{type:"REMOVE_PANEL",panelName:e}}function re(e){return{type:"TOGGLE_FEATURE",feature:e}}function ce(e){return{type:"SWITCH_MODE",mode:e}}function ie(e){return{type:"TOGGLE_PINNED_PLUGIN_ITEM",pluginName:e}}function ae(e){return{type:"HIDE_BLOCK_TYPES",blockNames:Object(B.castArray)(e)}}function le(e,t){return{type:"UPDATE_PREFERRED_STYLE_VARIATIONS",blockName:e,blockStyle:t}}function Ee(e){return{type:"UPDATE_LOCAL_AUTOSAVE_INTERVAL",interval:e}}function se(e){return{type:"SHOW_BLOCK_TYPES",blockNames:Object(B.castArray)(e)}}function ue(e){return{type:"SET_META_BOXES_PER_LOCATIONS",metaBoxesPerLocation:e}}function Qe(){return{type:"REQUEST_META_BOX_UPDATES"}}function de(){return{type:"META_BOX_UPDATES_SUCCESS"}}var Be=A(36);function ge(e){return Ie(e,"editorMode","visual")}function be(e){var t=Ce(e);return Object(B.includes)(["edit-post/document","edit-post/block"],t)}function pe(e){return!!Ce(e)&&!be(e)}function Ce(e){return Ie(e,"isGeneralSidebarDismissed",!1)?null:e.activeGeneralSidebar}function me(e){return e.preferences}function Ie(e,t,A){var n=me(e)[t];return void 0===n?A:n}function Oe(e){return e.publishSidebarActive}function fe(e,t){return Object(B.includes)(e.removedPanels,t)}function he(e,t){var A=Ie(e,"panels");return!fe(e,t)&&Object(B.get)(A,[t,"enabled"],!0)}function je(e,t){var A=Ie(e,"panels");return!0===Object(B.get)(A,[t])||!0===Object(B.get)(A,[t,"opened"])}function ve(e,t){return e.activeModal===t}function ke(e,t){return Object(B.get)(e.preferences.features,[t],!1)}function ye(e,t){var A=Ie(e,"pinnedPluginItems",{});return Object(B.get)(A,[t],!0)}var Pe=Object(Be.a)((function(e){return Object.keys(e.metaBoxes.locations).filter((function(t){return Se(e,t)}))}),(function(e){return[e.metaBoxes.locations]}));function we(e,t){return Se(e,t)&&Object(B.some)(Te(e,t),(function(t){var A=t.id;return he(e,"meta-box-".concat(A))}))}function Se(e,t){var A=Te(e,t);return!!A&&0!==A.length}function Te(e,t){return e.metaBoxes.locations[t]}var De=Object(Be.a)((function(e){return Object(B.flatten)(Object(B.values)(e.metaBoxes.locations))}),(function(e){return[e.metaBoxes.locations]}));function xe(e){return Pe(e).length>0}function Ve(e){return e.metaBoxes.isSaving}var Re,Me={SET_META_BOXES_PER_LOCATIONS:function(e,t){setTimeout((function(){var e=Object(p.select)("core/editor").getCurrentPostType();window.postboxes.page!==e&&window.postboxes.add_postbox_toggles(e)}));var A=Object(p.select)("core/editor").isSavingPost(),n=Object(p.select)("core/editor").isAutosavingPost(),o=Object(p.select)("core/edit-post").hasMetaBoxes();Re&&Re(),Re=Object(p.subscribe)((function(){var e=Object(p.select)("core/editor").isSavingPost(),r=Object(p.select)("core/editor").isAutosavingPost(),c=o&&A&&!e&&!n;A=e,n=r,c&&t.dispatch({type:"REQUEST_META_BOX_UPDATES"})}))},REQUEST_META_BOX_UPDATES:function(e,t){window.tinyMCE&&window.tinyMCE.triggerSave();var A=t.getState(),n=Object(p.select)("core/editor").getCurrentPost(A),o=[!!n.comment_status&&["comment_status",n.comment_status],!!n.ping_status&&["ping_status",n.ping_status],!!n.sticky&&["sticky",n.sticky],!!n.author&&["post_author",n.author]].filter(Boolean),r=[new window.FormData(document.querySelector(".metabox-base-form"))].concat(Object(x.a)(Pe(A).map((function(e){return new window.FormData(function(e){var t=document.querySelector(".edit-post-meta-boxes-area.is-".concat(e," .metabox-location-").concat(e));return t||document.querySelector("#metaboxes .metabox-location-"+e)}(e))})))),c=Object(B.reduce)(r,(function(e,t){var A=!0,n=!1,o=void 0;try{for(var r,c=t[Symbol.iterator]();!(A=(r=c.next()).done);A=!0){var i=Object(X.a)(r.value,2),a=i[0],l=i[1];e.append(a,l)}}catch(e){n=!0,o=e}finally{try{A||null==c.return||c.return()}finally{if(n)throw o}}return e}),new window.FormData);o.forEach((function(e){var t=Object(X.a)(e,2),A=t[0],n=t[1];return c.append(A,n)})),G()({url:window._wpMetaBoxUrl,method:"POST",body:c,parse:!1}).then((function(){return t.dispatch({type:"META_BOX_UPDATES_SUCCESS"})}))},SWITCH_MODE:function(e){"visual"!==e.mode&&Object(p.dispatch)("core/block-editor").clearSelectedBlock();var t="visual"===e.mode?Object(C.__)("Visual editor selected"):Object(C.__)("Code editor selected");Object(Z.speak)(t,"assertive")}};var He=function(e){var t,A=[J()(Me)],n=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 n.apply(void 0,arguments)}};return t=A.map((function(e){return e(o)})),n=B.flowRight.apply(void 0,Object(x.a)(t))(e.dispatch),e.dispatch=n,e};var qe={SELECT:Object(p.createRegistryControl)((function(e){return function(t){var A,n=t.storeName,o=t.selectorName,r=t.args;return(A=e.select(n))[o].apply(A,Object(x.a)(r))}}))},Ne="core/edit-post",Le=Object(p.registerStore)(Ne,{reducer:F,actions:n,selectors:o,controls:qe,persist:["preferences"]});He(Le);var Fe=A(13),Ue=A(12),Je=A(14),Xe=A(15),Ze=A(16),Ye=A(44),Ge=A.n(Ye),We={"t a l e s o f g u t e n b e r g":function(e){(document.activeElement.classList.contains("edit-post-visual-editor")||document.activeElement===document.body)&&(e.preventDefault(),window.wp.data.dispatch("core/block-editor").insertBlock(window.wp.blocks.createBlock("core/paragraph",{content:"🐡🐢🦀🐤🦋🐘🐧🐹🦁🦄🦍🐼🐿🎃🐴🐝🐆🦕🦔🌱🍇π🍌🐉💧🥨🌌🍂🍠🥦🥚🥝🎟🥥🥒🛵🥖🍒🍯🎾🎲🐺🐚🐮⌛️"})))}},ze=A(10),Ke=A.n(ze);var _e=Object(m.compose)(Object(p.withSelect)((function(e){return{isRichEditingEnabled:e("core/editor").getEditorSettings().richEditingEnabled}})),Object(p.withDispatch)((function(e){return{onExit:function(){e("core/edit-post").switchEditorMode("visual")}}})))((function(e){var t=e.onExit,A=e.isRichEditingEnabled;return Object(r.createElement)("div",{className:"edit-post-text-editor"},A&&Object(r.createElement)("div",{className:"edit-post-text-editor__toolbar"},Object(r.createElement)("h2",null,Object(C.__)("Editing Code")),Object(r.createElement)(b.Button,{onClick:t,icon:"no-alt",shortcut:k.displayShortcut.secondary("m")},Object(C.__)("Exit Code Editor")),Object(r.createElement)(i.TextEditorGlobalKeyboardShortcuts,null)),Object(r.createElement)("div",{className:"edit-post-text-editor__body"},Object(r.createElement)(i.PostTitle,null),Object(r.createElement)(i.PostTextEditor,null)))}));var $e=Object(b.withSpokenMessages)((function(e){var t=e.onClick,A=void 0===t?B.noop:t,n=e.small,o=void 0!==n&&n,c=e.speak,i=Object(p.useSelect)((function(e){return{shortcut:e("core/keyboard-shortcuts").getShortcutRepresentation("core/edit-post/toggle-sidebar"),areAdvancedSettingsOpened:"edit-post/block"===e("core/edit-post").getActiveGeneralSidebarName()}}),[]),a=i.shortcut,l=i.areAdvancedSettingsOpened,E=Object(p.useDispatch)("core/edit-post"),s=E.openGeneralSidebar,u=E.closeGeneralSidebar,Q=l?Object(C.__)("Hide Block Settings"):Object(C.__)("Show Block Settings");return Object(r.createElement)(b.MenuItem,{onClick:function(){l?u():(s("edit-post/block"),c(l?Object(C.__)("Block settings closed"):Object(C.__)("Additional settings are now available in the Editor block settings sidebar")),A())},icon:"admin-generic",shortcut:a},!o&&Q)}));function et(e,t){var A=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),A.push.apply(A,n)}return A}function tt(e){for(var t=1;t0?"mixed":"false",Object(r.createElement)("div",{role:"group","aria-labelledby":u,className:"edit-post-manage-blocks-modal__category"},Object(r.createElement)(b.CheckboxControl,{checked:Q,onChange:i,className:"edit-post-manage-blocks-modal__category-title","aria-checked":E,label:Object(r.createElement)("span",{id:u},A.title)}),Object(r.createElement)(gt,{blockTypes:l,value:s,onItemChange:c}))}));var Ct=Object(m.compose)([Object(m.withState)({search:""}),Object(p.withSelect)((function(e){var t=e("core/blocks"),A=t.getBlockTypes,n=t.getCategories,o=t.hasBlockSupport,r=t.isMatchingSearchTerm,c=(0,e("core/edit-post").getPreference)("hiddenBlockTypes"),i=Object(B.isArray)(c)&&c.length;return{blockTypes:A(),categories:n(),hasBlockSupport:o,isMatchingSearchTerm:r,numberOfHiddenBlocks:i}}))])((function(e){var t=e.search,A=e.setState,n=e.blockTypes,o=e.categories,c=e.hasBlockSupport,i=e.isMatchingSearchTerm,a=e.numberOfHiddenBlocks;return n=n.filter((function(e){return c(e,"inserter",!0)&&(!t||i(e,t))&&(!e.parent||Object(B.includes)(e.parent,"core/post-content"))})),Object(r.createElement)("div",{className:"edit-post-manage-blocks-modal__content"},Object(r.createElement)(b.TextControl,{type:"search",label:Object(C.__)("Search for a block"),value:t,onChange:function(e){return A({search:e})},className:"edit-post-manage-blocks-modal__search"}),!!a&&Object(r.createElement)("div",{className:"edit-post-manage-blocks-modal__disabled-blocks-count"},Object(C.sprintf)(Object(C._n)("%1$d block is disabled.","%1$d blocks are disabled.",a),a)),Object(r.createElement)("div",{tabIndex:"0",role:"region","aria-label":Object(C.__)("Available block types"),className:"edit-post-manage-blocks-modal__results"},0===n.length&&Object(r.createElement)("p",{className:"edit-post-manage-blocks-modal__no-results"},Object(C.__)("No blocks found.")),o.map((function(e){return Object(r.createElement)(pt,{key:e.slug,category:e,blockTypes:Object(B.filter)(n,{category:e.slug})})}))))}));var mt=Object(m.compose)([Object(p.withSelect)((function(e){return{isActive:(0,e("core/edit-post").isModalActive)("edit-post/manage-blocks")}})),Object(p.withDispatch)((function(e){return{closeModal:e("core/edit-post").closeModal}}))])((function(e){var t=e.isActive,A=e.closeModal;return t?Object(r.createElement)(b.Modal,{className:"edit-post-manage-blocks-modal",title:Object(C.__)("Block Manager"),closeLabel:Object(C.__)("Close"),onRequestClose:A},Object(r.createElement)(Ct,null)):null})),It=function(e){var t=e.title,A=e.children;return Object(r.createElement)("section",{className:"edit-post-options-modal__section"},Object(r.createElement)("h2",{className:"edit-post-options-modal__section-title"},t),A)};var Ot=function(e){var t=e.label,A=e.isChecked,n=e.onChange,o=e.children;return Object(r.createElement)("div",{className:"edit-post-options-modal__option"},Object(r.createElement)(b.CheckboxControl,{label:t,checked:A,onChange:n}),o)};function ft(e){var t=e.willEnable,A=Object(r.useState)(!1),n=Object(X.a)(A,2),o=n[0],c=n[1];return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("p",{className:"edit-post-options-modal__custom-fields-confirmation-message"},Object(C.__)("A page reload is required for this change. Make sure your content is saved before reloading.")),Object(r.createElement)(b.Button,{className:"edit-post-options-modal__custom-fields-confirmation-button",isSecondary:!0,isBusy:o,disabled:o,onClick:function(){c(!0),document.getElementById("toggle-custom-fields-form").submit()}},t?Object(C.__)("Enable & Reload"):Object(C.__)("Disable & Reload")))}var ht=Object(p.withSelect)((function(e){return{areCustomFieldsEnabled:!!e("core/editor").getEditorSettings().enableCustomFields}}))((function(e){var t=e.label,A=e.areCustomFieldsEnabled,n=Object(r.useState)(A),o=Object(X.a)(n,2),c=o[0],i=o[1];return Object(r.createElement)(Ot,{label:t,isChecked:c,onChange:i},c!==A&&Object(r.createElement)(ft,{willEnable:c}))})),jt=Object(m.compose)(Object(p.withSelect)((function(e,t){var A=t.panelName,n=e("core/edit-post"),o=n.isEditorPanelEnabled;return{isRemoved:(0,n.isEditorPanelRemoved)(A),isChecked:o(A)}})),Object(m.ifCondition)((function(e){return!e.isRemoved})),Object(p.withDispatch)((function(e,t){var A=t.panelName;return{onChange:function(){return e("core/edit-post").toggleEditorPanelEnabled(A)}}})))(Ot),vt=Object(b.createSlotFill)("EnablePluginDocumentSettingPanelOption"),kt=vt.Fill,yt=vt.Slot,Pt=function(e){var t=e.label,A=e.panelName;return Object(r.createElement)(kt,null,Object(r.createElement)(jt,{label:t,panelName:A}))};Pt.Slot=yt;var wt=Pt,St=Object(m.compose)(Object(p.withSelect)((function(e){return{isChecked:e("core/editor").isPublishSidebarEnabled()}})),Object(p.withDispatch)((function(e){var t=e("core/editor"),A=t.enablePublishSidebar,n=t.disablePublishSidebar;return{onChange:function(e){return e?A():n()}}})),Object(l.ifViewportMatches)("medium"))(Ot),Tt=Object(m.compose)(Object(p.withSelect)((function(e,t){var A=t.feature;return{isChecked:e("core/edit-post").isFeatureActive(A)}})),Object(p.withDispatch)((function(e,t){var A=t.feature,n=e("core/edit-post").toggleFeature;return{onChange:function(){n(A)}}})))(Ot);var Dt=Object(p.withSelect)((function(e){var t=e("core/editor").getEditorSettings,A=e("core/edit-post").getAllMetaBoxes;return{areCustomFieldsRegistered:void 0!==t().enableCustomFields,metaBoxes:A()}}))((function(e){var t=e.areCustomFieldsRegistered,A=e.metaBoxes,n=Object(d.a)(e,["areCustomFieldsRegistered","metaBoxes"]),o=Object(B.filter)(A,(function(e){return"postcustom"!==e.id}));return t||0!==o.length?Object(r.createElement)(It,n,t&&Object(r.createElement)(ht,{label:Object(C.__)("Custom fields")}),Object(B.map)(o,(function(e){var t=e.id,A=e.title;return Object(r.createElement)(jt,{key:t,label:A,panelName:"meta-box-".concat(t)})}))):null}));var xt=Object(m.compose)(Object(p.withSelect)((function(e){var t=e("core/editor").getEditedPostAttribute,A=(0,e("core").getPostType)(t("type"));return{isModalActive:e("core/edit-post").isModalActive("edit-post/options"),isViewable:Object(B.get)(A,["viewable"],!1)}})),Object(p.withDispatch)((function(e){return{closeModal:function(){return e("core/edit-post").closeModal()}}})))((function(e){var t=e.isModalActive,A=e.isViewable,n=e.closeModal;return t?Object(r.createElement)(b.Modal,{className:"edit-post-options-modal",title:Object(C.__)("Options"),closeLabel:Object(C.__)("Close"),onRequestClose:n},Object(r.createElement)(It,{title:Object(C.__)("General")},Object(r.createElement)(St,{label:Object(C.__)("Pre-publish checks")}),Object(r.createElement)(Tt,{feature:"showInserterHelpPanel",label:Object(C.__)("Inserter help panel")})),Object(r.createElement)(It,{title:Object(C.__)("Document panels")},Object(r.createElement)(wt.Slot,null),A&&Object(r.createElement)(jt,{label:Object(C.__)("Permalink"),panelName:"post-link"}),Object(r.createElement)(i.PostTaxonomies,{taxonomyWrapper:function(e,t){return Object(r.createElement)(jt,{label:Object(B.get)(t,["labels","menu_name"]),panelName:"taxonomy-panel-".concat(t.slug)})}}),Object(r.createElement)(i.PostFeaturedImageCheck,null,Object(r.createElement)(jt,{label:Object(C.__)("Featured image"),panelName:"featured-image"})),Object(r.createElement)(i.PostExcerptCheck,null,Object(r.createElement)(jt,{label:Object(C.__)("Excerpt"),panelName:"post-excerpt"})),Object(r.createElement)(i.PostTypeSupportCheck,{supportKeys:["comments","trackbacks"]},Object(r.createElement)(jt,{label:Object(C.__)("Discussion"),panelName:"discussion-panel"})),Object(r.createElement)(i.PageAttributesCheck,null,Object(r.createElement)(jt,{label:Object(C.__)("Page attributes"),panelName:"page-attributes"}))),Object(r.createElement)(Dt,{title:Object(C.__)("Advanced panels")})):null}));var Vt=Object(b.navigateRegions)((function(e){var t=e.footer,A=e.header,n=e.sidebar,o=e.content,c=e.publish,i=e.className;return Object(r.createElement)("div",{className:Ke()(i,"edit-post-editor-regions")},!!A&&Object(r.createElement)("div",{className:"edit-post-editor-regions__header",role:"region","aria-label":Object(C.__)("Editor top bar"),tabIndex:"-1"},A),Object(r.createElement)("div",{className:"edit-post-editor-regions__body"},Object(r.createElement)("div",{className:"edit-post-editor-regions__content",role:"region","aria-label":Object(C.__)("Editor content"),tabIndex:"-1"},o),!!n&&Object(r.createElement)("div",{className:"edit-post-editor-regions__sidebar",role:"region","aria-label":Object(C.__)("Editor settings"),tabIndex:"-1"},n),!!c&&Object(r.createElement)("div",{className:"edit-post-editor-regions__publish",role:"region","aria-label":Object(C.__)("Editor publish"),tabIndex:"-1"},c)),!!t&&Object(r.createElement)("div",{className:"edit-post-editor-regions__footer",role:"region","aria-label":Object(C.__)("Editor footer"),tabIndex:"-1"},t))})),Rt=function(e){function t(){return Object(Fe.a)(this,t),Object(Je.a)(this,Object(Xe.a)(t).apply(this,arguments))}return Object(Ze.a)(t,e),Object(Ue.a)(t,[{key:"componentDidMount",value:function(){this.isSticky=!1,this.sync(),document.body.classList.contains("sticky-menu")&&(this.isSticky=!0,document.body.classList.remove("sticky-menu"))}},{key:"componentWillUnmount",value:function(){this.isSticky&&document.body.classList.add("sticky-menu")}},{key:"componentDidUpdate",value:function(e){this.props.isActive!==e.isActive&&this.sync()}},{key:"sync",value:function(){this.props.isActive?document.body.classList.add("is-fullscreen-mode"):document.body.classList.remove("is-fullscreen-mode")}},{key:"render",value:function(){return null}}]),t}(r.Component),Mt=Object(p.withSelect)((function(e){return{isActive:e("core/edit-post").isFeatureActive("fullscreenMode")}}))(Rt);var Ht=function(e){function t(){var e;return Object(Fe.a)(this,t),(e=Object(Je.a)(this,Object(Xe.a)(t).apply(this,arguments))).state={historyId:null},e}return Object(Ze.a)(t,e),Object(Ue.a)(t,[{key:"componentDidUpdate",value:function(e){var t=this.props,A=t.postId,n=t.postStatus,o=t.postType,r=t.isSavingPost,c=this.state.historyId;"trash"!==n||r?A===e.postId&&A===c||"auto-draft"===n||this.setBrowserURL(A):this.setTrashURL(A,o)}},{key:"setTrashURL",value:function(e,t){window.location.href=function(e,t){return Object(h.addQueryArgs)("edit.php",{trashed:1,post_type:t,ids:e})}(e,t)}},{key:"setBrowserURL",value:function(e){window.history.replaceState({id:e},"Post "+e,function(e){return Object(h.addQueryArgs)("post.php",{post:e,action:"edit"})}(e)),this.setState((function(){return{historyId:e}}))}},{key:"render",value:function(){return null}}]),t}(r.Component),qt=Object(p.withSelect)((function(e){var t=e("core/editor"),A=t.getCurrentPost,n=t.isSavingPost,o=A();return{postId:o.id,postStatus:o.status,postType:o.type,isSavingPost:n()}}))(Ht);var Nt=Object(p.withSelect)((function(e){var t=e("core/editor").getCurrentPostType,A=e("core/edit-post").isFeatureActive,n=e("core").getPostType;return{isActive:A("fullscreenMode"),postType:n(t())}}))((function(e){var t=e.isActive,A=e.postType;return t&&A?Object(r.createElement)(b.Toolbar,{className:"edit-post-fullscreen-mode-close__toolbar"},Object(r.createElement)(b.Button,{icon:"arrow-left-alt2",href:Object(h.addQueryArgs)("edit.php",{post_type:A.slug}),label:Object(B.get)(A,["labels","view_items"],Object(C.__)("Back"))})):null}));var Lt=function(){var e=Object(p.useSelect)((function(e){return{hasFixedToolbar:e("core/edit-post").isFeatureActive("fixedToolbar"),showInserter:"visual"===e("core/edit-post").getEditorMode()&&e("core/editor").getEditorSettings().richEditingEnabled,isTextModeEnabled:"text"===e("core/edit-post").getEditorMode()}}),[]),t=e.hasFixedToolbar,A=e.showInserter,n=e.isTextModeEnabled,o=Object(m.useViewportMatch)("medium"),a=t?Object(C.__)("Document and block tools"):Object(C.__)("Document tools");return Object(r.createElement)(c.NavigableToolbar,{className:"edit-post-header-toolbar","aria-label":a},Object(r.createElement)(c.Inserter,{disabled:!A,position:"bottom right",showInserterHelpPanel:!0}),Object(r.createElement)(i.EditorHistoryUndo,null),Object(r.createElement)(i.EditorHistoryRedo,null),Object(r.createElement)(i.TableOfContents,{hasOutlineItemsDisabled:n}),Object(r.createElement)(c.BlockNavigationDropdown,{isDisabled:n}),Object(r.createElement)(c.ToolSelector,null),(t||!o)&&Object(r.createElement)("div",{className:"edit-post-header-toolbar__block-toolbar"},Object(r.createElement)(c.BlockToolbar,null)))};function Ft(e,t){var A=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),A.push.apply(A,n)}return A}var Ut=[{value:"visual",label:Object(C.__)("Visual editor")},{value:"text",label:Object(C.__)("Code editor")}];var Jt=function(){var e=Object(p.useSelect)((function(e){return{shortcut:e("core/keyboard-shortcuts").getShortcutRepresentation("core/edit-post/toggle-mode"),isRichEditingEnabled:e("core/editor").getEditorSettings().richEditingEnabled,isCodeEditingEnabled:e("core/editor").getEditorSettings().codeEditingEnabled,mode:e("core/edit-post").getEditorMode()}}),[]),t=e.shortcut,A=e.isRichEditingEnabled,n=e.isCodeEditingEnabled,o=e.mode,c=Object(p.useDispatch)("core/edit-post").switchEditorMode,i=Ut.map((function(e){return e.value!==o?function(e){for(var t=1;t icon."),{InserterIconImage:Object(r.createElement)(Bn,{className:"edit-post-welcome-guide__inserter-icon"})}))),Object(r.createElement)(b.GuidePage,{className:"edit-post-welcome-guide__page"},Object(r.createElement)("h1",{className:"edit-post-welcome-guide__heading"},Object(C.__)("Learn how to use the Block Editor")),Object(r.createElement)(dn,{className:"edit-post-welcome-guide__image"}),Object(r.createElement)("p",{className:"edit-post-welcome-guide__text"},Object(C.__)("New to the Block Editor? Want to learn more about using it? "),Object(r.createElement)(b.ExternalLink,{href:Object(C.__)("https://wordpress.org/support/article/wordpress-editor/")},Object(C.__)("Here's a detailed guide."))))):null}var bn=function(){var e=Object(m.useViewportMatch)("small","<"),t=Object(p.useDispatch)("core/edit-post"),A=t.closePublishSidebar,n=t.togglePublishSidebar,o=Object(p.useSelect)((function(e){return{hasFixedToolbar:e("core/edit-post").isFeatureActive("fixedToolbar"),editorSidebarOpened:e("core/edit-post").isEditorSidebarOpened(),pluginSidebarOpened:e("core/edit-post").isPluginSidebarOpened(),publishSidebarOpened:e("core/edit-post").isPublishSidebarOpened(),mode:e("core/edit-post").getEditorMode(),isRichEditingEnabled:e("core/editor").getEditorSettings().richEditingEnabled,hasActiveMetaboxes:e("core/edit-post").hasMetaBoxes(),isSaving:e("core/edit-post").isSavingMetaBoxes(),previousShortcut:e("core/keyboard-shortcuts").getAllShortcutRawKeyCombinations("core/edit-post/previous-region"),nextShortcut:e("core/keyboard-shortcuts").getAllShortcutRawKeyCombinations("core/edit-post/next-region")}}),[]),a=o.mode,l=o.isRichEditingEnabled,E=o.editorSidebarOpened,s=o.pluginSidebarOpened,u=o.publishSidebarOpened,Q=o.hasActiveMetaboxes,d=o.isSaving,B=o.hasFixedToolbar,g=o.previousShortcut,I=o.nextShortcut,O=Object(c.__experimentalUsePageTemplatePickerVisible)(),h=E||s||u,j=Ke()("edit-post-layout","is-mode-"+a,{"is-sidebar-opened":h,"has-fixed-toolbar":B,"has-metaboxes":Q});return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(Mt,null),Object(r.createElement)(qt,null),Object(r.createElement)(i.UnsavedChangesWarning,null),Object(r.createElement)(i.AutosaveMonitor,null),Object(r.createElement)(i.LocalAutosaveMonitor,null),Object(r.createElement)(it,null),Object(r.createElement)(i.EditorKeyboardShortcutsRegister,null),Object(r.createElement)(b.FocusReturnProvider,null,Object(r.createElement)(Vt,{className:j,header:Object(r.createElement)(iA,null),sidebar:!u&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)($A,null),Object(r.createElement)(QA.Slot,null)),content:Object(r.createElement)(r.Fragment,null,Object(r.createElement)(i.EditorNotices,null),("text"===a||!l)&&Object(r.createElement)(_e,null),l&&"visual"===a&&Object(r.createElement)(ct,null),Object(r.createElement)("div",{className:"edit-post-layout__metaboxes"},Object(r.createElement)(YA,{location:"normal"}),Object(r.createElement)(YA,{location:"advanced"})),e&&h&&Object(r.createElement)(b.ScrollLock,null)),footer:l&&"visual"===a&&Object(r.createElement)("div",{className:"edit-post-layout__footer"},Object(r.createElement)(c.BlockBreadcrumb,null)),publish:u?Object(r.createElement)(i.PostPublishPanel,{onClose:A,forceIsDirty:Q,forceIsSaving:d,PrePublishExtension:En.Slot,PostPublishExtension:on.Slot}):Object(r.createElement)("div",{className:"edit-post-toggle-publish-panel"},Object(r.createElement)(b.Button,{isSecondary:!0,className:"edit-post-toggle-publish-panel__button",onClick:n,"aria-expanded":!1},Object(C.__)("Open publish panel"))),shortcuts:{previous:g,next:I}}),Object(r.createElement)(mt,null),Object(r.createElement)(xt,null),Object(r.createElement)(Bt,null),Object(r.createElement)(gn,null),Object(r.createElement)(b.Popover.Slot,null),Object(r.createElement)(f.PluginArea,null),O&&Object(r.createElement)(c.__experimentalPageTemplatePicker,null)))},pn=function(e){var t=e.postId;return function(e){var t=Object(p.useSelect)((function(e){return{hasBlockSelection:!!e("core/block-editor").getBlockSelectionStart(),isEditorSidebarOpened:e(Ne).isEditorSidebarOpened()}}),[e]),A=t.hasBlockSelection,n=t.isEditorSidebarOpened,o=Object(p.useDispatch)(Ne).openGeneralSidebar;Object(r.useEffect)((function(){n&&o(A?"edit-post/block":"edit-post/document")}),[A,n])}(t),function(e){var t=Object(p.useSelect)((function(e){return{isSmall:e("core/viewport").isViewportMatch("< medium"),activeGeneralSidebarName:e(Ne).getActiveGeneralSidebarName()}}),[e]),A=t.isSmall,n=t.activeGeneralSidebarName,o=Object(p.useDispatch)(Ne),c=o.openGeneralSidebar,i=o.closeGeneralSidebar,a=Object(r.useRef)(null),l=Object(r.useRef)(null);Object(r.useEffect)((function(){a.current!==A&&(a.current=A,A?(l.current=n,n&&i()):l.current&&!n&&(c(l.current),l.current=null))}),[A,n])}(t),function(e){var t=Object(p.useSelect)((function(e){return{newPermalink:e("core/editor").getCurrentPost().link}}),[e]).newPermalink,A=Object(r.useRef)();Object(r.useEffect)((function(){A.current=document.querySelector("#wp-admin-bar-preview a")||document.querySelector("#wp-admin-bar-view a")}),[e]),Object(r.useEffect)((function(){t&&A.current&&A.current.setAttribute("href",t)}),[t])}(t),null};function Cn(e,t){var A=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),A.push.apply(A,n)}return A}var mn=function(e){function t(){var e;return Object(Fe.a)(this,t),(e=Object(Je.a)(this,Object(Xe.a)(t).apply(this,arguments))).getEditorSettings=Ge()(e.getEditorSettings,{maxSize:1}),e}return Object(Ze.a)(t,e),Object(Ue.a)(t,[{key:"getEditorSettings",value:function(e,t,A,n,o,r,c,i,a){if(e=function(e){for(var t=1;t0){var l=!0===e.allowedBlockTypes?Object(B.map)(r,"name"):e.allowedBlockTypes||[];e.allowedBlockTypes=B.without.apply(void 0,[l].concat(Object(x.a)(o)))}return e}},{key:"render",value:function(){var e=this.props,t=e.settings,A=e.hasFixedToolbar,n=e.focusMode,o=e.post,c=e.postId,a=e.initialEdits,l=e.onError,E=e.hiddenBlockTypes,s=e.blockTypes,u=e.preferredStyleVariations,B=e.__experimentalLocalAutosaveInterval,g=e.showInserterHelpPanel,p=e.updatePreferredStyleVariations,C=Object(d.a)(e,["settings","hasFixedToolbar","focusMode","post","postId","initialEdits","onError","hiddenBlockTypes","blockTypes","preferredStyleVariations","__experimentalLocalAutosaveInterval","showInserterHelpPanel","updatePreferredStyleVariations"]);if(!o)return null;var m=this.getEditorSettings(t,A,g,n,E,s,u,B,p);return Object(r.createElement)(r.StrictMode,null,Object(r.createElement)(bt.Provider,{value:t},Object(r.createElement)(b.SlotFillProvider,null,Object(r.createElement)(b.DropZoneProvider,null,Object(r.createElement)(i.EditorProvider,Object(Q.a)({settings:m,post:o,initialEdits:a,useSubRegistry:!1},C),Object(r.createElement)(i.ErrorBoundary,{onError:l},Object(r.createElement)(pn,{postId:c}),Object(r.createElement)(bn,null),Object(r.createElement)(b.KeyboardShortcuts,{shortcuts:We})),Object(r.createElement)(i.PostLockedModal,null))))))}}]),t}(r.Component),In=Object(m.compose)([Object(p.withSelect)((function(e,t){var A=t.postId,n=t.postType,o=e("core/edit-post"),r=o.isFeatureActive,c=o.getPreference,i=e("core").getEntityRecord,a=e("core/blocks").getBlockTypes;return{showInserterHelpPanel:r("showInserterHelpPanel"),hasFixedToolbar:r("fixedToolbar"),focusMode:r("focusMode"),post:i("postType",n,A),preferredStyleVariations:c("preferredStyleVariations"),hiddenBlockTypes:c("hiddenBlockTypes"),blockTypes:a(),__experimentalLocalAutosaveInterval:c("localAutosaveInterval")}})),Object(p.withDispatch)((function(e){return{updatePreferredStyleVariations:e("core/edit-post").updatePreferredStyleVariations}}))])(mn),On=function(e,t){return!Array.isArray(t)||(A=e,n=t,0===Object(B.difference)(A,n).length);var A,n},fn=function(e){var t=e.allowedBlocks,A=e.icon,n=e.label,o=e.onClick,c=e.small,i=e.role;return Object(r.createElement)(rt,null,(function(e){var a=e.selectedBlocks,l=e.onClose;return On(a,t)?Object(r.createElement)(b.MenuItem,{onClick:Object(m.compose)(o,l),icon:A||"admin-plugins",label:c?n:void 0,role:i},!c&&n):null}))},hn=Object(m.compose)(Object(f.withPluginContext)((function(e,t){return{icon:t.icon||e.icon}})))((function(e){var t=e.onClick,A=void 0===t?B.noop:t,n=Object(d.a)(e,["onClick"]);return Object(r.createElement)(Gt,null,(function(e){return Object(r.createElement)(b.MenuItem,Object(Q.a)({},n,{onClick:Object(m.compose)(A,e.onClose)}))}))}));var jn=Object(m.compose)(Object(f.withPluginContext)((function(e,t){return{icon:t.icon||e.icon,sidebarName:"".concat(e.name,"/").concat(t.name)}})),Object(p.withSelect)((function(e,t){var A=t.sidebarName,n=e("core/edit-post"),o=n.getActiveGeneralSidebarName,r=n.isPluginItemPinned;return{isActive:o()===A,isPinned:r(A)}})),Object(p.withDispatch)((function(e,t){var A=t.isActive,n=t.sidebarName,o=e("core/edit-post"),r=o.closeGeneralSidebar,c=o.openGeneralSidebar,i=o.togglePinnedPluginItem;return{togglePin:function(){i(n)},toggleSidebar:function(){A?r():c(n)}}})))((function(e){var t=e.children,A=e.className,n=e.icon,o=e.isActive,c=e.isPinnable,i=void 0===c||c,a=e.isPinned,l=e.sidebarName,E=e.title,s=e.togglePin,u=e.toggleSidebar;return Object(r.createElement)(r.Fragment,null,i&&Object(r.createElement)(rA,null,a&&Object(r.createElement)(b.Button,{icon:n,label:E,onClick:u,isPressed:o,"aria-expanded":o})),Object(r.createElement)(QA,{name:l},Object(r.createElement)(dA,{closeLabel:Object(C.__)("Close plugin")},Object(r.createElement)("strong",null,E),i&&Object(r.createElement)(b.Button,{icon:a?"star-filled":"star-empty",label:a?Object(C.__)("Unpin from toolbar"):Object(C.__)("Pin to toolbar"),onClick:s,isPressed:a,"aria-expanded":a})),Object(r.createElement)(b.Panel,{className:A},t)))})),vn=Object(m.compose)(Object(f.withPluginContext)((function(e,t){return{icon:t.icon||e.icon,sidebarName:"".concat(e.name,"/").concat(t.target)}})),Object(p.withSelect)((function(e,t){var A=t.sidebarName;return{isSelected:(0,e("core/edit-post").getActiveGeneralSidebarName)()===A}})),Object(p.withDispatch)((function(e,t){var A=t.isSelected,n=t.sidebarName,o=e("core/edit-post"),r=o.closeGeneralSidebar,c=o.openGeneralSidebar;return{onClick:A?r:function(){return c(n)}}})))((function(e){var t=e.children,A=e.icon,n=e.isSelected,o=e.onClick;return Object(r.createElement)(hn,{icon:n?zt.a:A,isSelected:n,role:"menuitemcheckbox",onClick:o},t)}));function kn(e,t,A,n,o){Object(r.unmountComponentAtNode)(A);var c=kn.bind(null,e,t,A,n,o);Object(r.render)(Object(r.createElement)(In,{settings:n,onError:c,postId:t,postType:e,initialEdits:o,recovery:!0}),A)}function yn(e,t,A,n,o){var c=document.getElementById(e),i=kn.bind(null,t,A,c,n,o);Object(E.registerCoreBlocks)(),"Standards"!==("CSS1Compat"===document.compatMode?"Standards":"Quirks")&&console.warn("Your browser is using Quirks Mode. \nThis can cause rendering issues such as blocks overlaying meta boxes in the editor. Quirks Mode can be triggered by PHP errors or HTML code appearing before the opening . Try checking the raw page source or your site's PHP error log and resolving errors there, removing any HTML before the doctype, or disabling plugins."),-1!==window.navigator.userAgent.indexOf("iPhone")&&window.addEventListener("scroll",(function(e){var t=document.getElementsByClassName("edit-post-editor-regions__body")[0];e.target===document&&(window.scrollY>100&&(t.scrollTop=t.scrollTop+window.scrollY),window.scrollTo(0,0))})),Object(r.render)(Object(r.createElement)(In,{settings:n,onError:i,postId:A,postType:t,initialEdits:o}),c)}A.d(t,"reinitializeEditor",(function(){return kn})),A.d(t,"initializeEditor",(function(){return yn})),A.d(t,"PluginBlockSettingsMenuItem",(function(){return fn})),A.d(t,"PluginDocumentSettingPanel",(function(){return _A})),A.d(t,"PluginMoreMenuItem",(function(){return hn})),A.d(t,"PluginPostPublishPanel",(function(){return on})),A.d(t,"PluginPostStatusInfo",(function(){return yA})),A.d(t,"PluginPrePublishPanel",(function(){return En})),A.d(t,"PluginSidebar",(function(){return jn})),A.d(t,"PluginSidebarMoreMenuItem",(function(){return vn}))},44:function(e,t,A){e.exports=function(e,t){var A,n,o,r=0;function c(){var t,c,i=n,a=arguments.length;e:for(;i;){if(i.args.length===arguments.length){for(c=0;c= 0) continue; + target[key] = source[key]; + } + + return target; } /***/ }), -/***/ 36: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; }); -function _nonIterableRest() { - throw new TypeError("Invalid attempt to destructure non-iterable instance"); -} - -/***/ }), - -/***/ 364: +/***/ 412: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); var actions_namespaceObject = {}; __webpack_require__.r(actions_namespaceObject); -__webpack_require__.d(actions_namespaceObject, "setupEditor", function() { return actions_setupEditor; }); -__webpack_require__.d(actions_namespaceObject, "__experimentalTearDownEditor", function() { return actions_experimentalTearDownEditor; }); +__webpack_require__.d(actions_namespaceObject, "setupEditor", function() { return setupEditor; }); +__webpack_require__.d(actions_namespaceObject, "__experimentalTearDownEditor", function() { return __experimentalTearDownEditor; }); __webpack_require__.d(actions_namespaceObject, "resetPost", function() { return resetPost; }); __webpack_require__.d(actions_namespaceObject, "resetAutosave", function() { return resetAutosave; }); __webpack_require__.d(actions_namespaceObject, "__experimentalRequestPostUpdateStart", function() { return __experimentalRequestPostUpdateStart; }); @@ -1579,7 +1793,7 @@ __webpack_require__.d(actions_namespaceObject, "__experimentalLocalAutosave", fu __webpack_require__.d(actions_namespaceObject, "redo", function() { return actions_redo; }); __webpack_require__.d(actions_namespaceObject, "undo", function() { return actions_undo; }); __webpack_require__.d(actions_namespaceObject, "createUndoLevel", function() { return createUndoLevel; }); -__webpack_require__.d(actions_namespaceObject, "updatePostLock", function() { return actions_updatePostLock; }); +__webpack_require__.d(actions_namespaceObject, "updatePostLock", function() { return updatePostLock; }); __webpack_require__.d(actions_namespaceObject, "__experimentalFetchReusableBlocks", function() { return actions_experimentalFetchReusableBlocks; }); __webpack_require__.d(actions_namespaceObject, "__experimentalReceiveReusableBlocks", function() { return __experimentalReceiveReusableBlocks; }); __webpack_require__.d(actions_namespaceObject, "__experimentalSaveReusableBlock", function() { return __experimentalSaveReusableBlock; }); @@ -1594,7 +1808,7 @@ __webpack_require__.d(actions_namespaceObject, "unlockPostSaving", function() { __webpack_require__.d(actions_namespaceObject, "lockPostAutosaving", function() { return lockPostAutosaving; }); __webpack_require__.d(actions_namespaceObject, "unlockPostAutosaving", function() { return unlockPostAutosaving; }); __webpack_require__.d(actions_namespaceObject, "resetEditorBlocks", function() { return actions_resetEditorBlocks; }); -__webpack_require__.d(actions_namespaceObject, "updateEditorSettings", function() { return actions_updateEditorSettings; }); +__webpack_require__.d(actions_namespaceObject, "updateEditorSettings", function() { return updateEditorSettings; }); __webpack_require__.d(actions_namespaceObject, "resetBlocks", function() { return resetBlocks; }); __webpack_require__.d(actions_namespaceObject, "receiveBlocks", function() { return receiveBlocks; }); __webpack_require__.d(actions_namespaceObject, "updateBlock", function() { return updateBlock; }); @@ -1603,7 +1817,7 @@ __webpack_require__.d(actions_namespaceObject, "selectBlock", function() { retur __webpack_require__.d(actions_namespaceObject, "startMultiSelect", function() { return startMultiSelect; }); __webpack_require__.d(actions_namespaceObject, "stopMultiSelect", function() { return stopMultiSelect; }); __webpack_require__.d(actions_namespaceObject, "multiSelect", function() { return multiSelect; }); -__webpack_require__.d(actions_namespaceObject, "clearSelectedBlock", function() { return actions_clearSelectedBlock; }); +__webpack_require__.d(actions_namespaceObject, "clearSelectedBlock", function() { return clearSelectedBlock; }); __webpack_require__.d(actions_namespaceObject, "toggleSelection", function() { return toggleSelection; }); __webpack_require__.d(actions_namespaceObject, "replaceBlocks", function() { return actions_replaceBlocks; }); __webpack_require__.d(actions_namespaceObject, "replaceBlock", function() { return replaceBlock; }); @@ -1624,7 +1838,7 @@ __webpack_require__.d(actions_namespaceObject, "startTyping", function() { retur __webpack_require__.d(actions_namespaceObject, "stopTyping", function() { return stopTyping; }); __webpack_require__.d(actions_namespaceObject, "enterFormattedText", function() { return enterFormattedText; }); __webpack_require__.d(actions_namespaceObject, "exitFormattedText", function() { return exitFormattedText; }); -__webpack_require__.d(actions_namespaceObject, "insertDefaultBlock", function() { return actions_insertDefaultBlock; }); +__webpack_require__.d(actions_namespaceObject, "insertDefaultBlock", function() { return insertDefaultBlock; }); __webpack_require__.d(actions_namespaceObject, "updateBlockListSettings", function() { return updateBlockListSettings; }); var selectors_namespaceObject = {}; __webpack_require__.r(selectors_namespaceObject); @@ -1743,43 +1957,40 @@ __webpack_require__.d(selectors_namespaceObject, "hasInserterItems", function() __webpack_require__.d(selectors_namespaceObject, "getBlockListSettings", function() { return getBlockListSettings; }); // EXTERNAL MODULE: external {"this":["wp","blockEditor"]} -var external_this_wp_blockEditor_ = __webpack_require__(5); +var external_this_wp_blockEditor_ = __webpack_require__(6); // EXTERNAL MODULE: external {"this":["wp","blocks"]} -var external_this_wp_blocks_ = __webpack_require__(11); +var external_this_wp_blocks_ = __webpack_require__(9); // EXTERNAL MODULE: external {"this":["wp","coreData"]} -var external_this_wp_coreData_ = __webpack_require__(64); +var external_this_wp_coreData_ = __webpack_require__(73); // EXTERNAL MODULE: external {"this":["wp","keyboardShortcuts"]} -var external_this_wp_keyboardShortcuts_ = __webpack_require__(43); +var external_this_wp_keyboardShortcuts_ = __webpack_require__(46); // EXTERNAL MODULE: external {"this":["wp","notices"]} -var external_this_wp_notices_ = __webpack_require__(143); +var external_this_wp_notices_ = __webpack_require__(176); // EXTERNAL MODULE: external {"this":["wp","richText"]} var external_this_wp_richText_ = __webpack_require__(24); // EXTERNAL MODULE: external {"this":["wp","viewport"]} -var external_this_wp_viewport_ = __webpack_require__(51); +var external_this_wp_viewport_ = __webpack_require__(54); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js -var objectSpread = __webpack_require__(6); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(5); // EXTERNAL MODULE: external {"this":["wp","data"]} var external_this_wp_data_ = __webpack_require__(4); // EXTERNAL MODULE: external {"this":["wp","dataControls"]} -var external_this_wp_dataControls_ = __webpack_require__(39); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(9); +var external_this_wp_dataControls_ = __webpack_require__(42); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js var esm_typeof = __webpack_require__(32); // EXTERNAL MODULE: ./node_modules/redux-optimist/index.js -var redux_optimist = __webpack_require__(86); +var redux_optimist = __webpack_require__(110); var redux_optimist_default = /*#__PURE__*/__webpack_require__.n(redux_optimist); // EXTERNAL MODULE: external {"this":"lodash"} @@ -1788,6 +1999,10 @@ var external_this_lodash_ = __webpack_require__(2); // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/defaults.js +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * WordPress dependencies */ @@ -1811,7 +2026,7 @@ var PREFERENCES_DEFAULTS = { * maxUploadFileSize number Maximum upload file size */ -var EDITOR_SETTINGS_DEFAULTS = Object(objectSpread["a" /* default */])({}, external_this_wp_blockEditor_["SETTINGS_DEFAULTS"], { +var EDITOR_SETTINGS_DEFAULTS = _objectSpread({}, external_this_wp_blockEditor_["SETTINGS_DEFAULTS"], { richEditingEnabled: true, codeEditingEnabled: true, enableCustomFields: false @@ -1821,6 +2036,9 @@ var EDITOR_SETTINGS_DEFAULTS = Object(objectSpread["a" /* default */])({}, exter +function reducer_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function reducer_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { reducer_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { reducer_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -1945,7 +2163,7 @@ function reducer_template() { switch (action.type) { case 'SET_TEMPLATE_VALIDITY': - return Object(objectSpread["a" /* default */])({}, state, { + return reducer_objectSpread({}, state, { isValid: action.isValid }); } @@ -1967,12 +2185,12 @@ function preferences() { switch (action.type) { case 'ENABLE_PUBLISH_SIDEBAR': - return Object(objectSpread["a" /* default */])({}, state, { + return reducer_objectSpread({}, state, { isPublishSidebarEnabled: true }); case 'DISABLE_PUBLISH_SIDEBAR': - return Object(objectSpread["a" /* default */])({}, state, { + return reducer_objectSpread({}, state, { isPublishSidebarEnabled: false }); } @@ -2054,7 +2272,7 @@ function postSavingLock() { switch (action.type) { case 'LOCK_POST_SAVING': - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, action.lockName, true)); + return reducer_objectSpread({}, state, Object(defineProperty["a" /* default */])({}, action.lockName, true)); case 'UNLOCK_POST_SAVING': return Object(external_this_lodash_["omit"])(state, action.lockName); @@ -2079,7 +2297,7 @@ function postAutosavingLock() { switch (action.type) { case 'LOCK_POST_AUTOSAVING': - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, action.lockName, true)); + return reducer_objectSpread({}, state, Object(defineProperty["a" /* default */])({}, action.lockName, true)); case 'UNLOCK_POST_AUTOSAVING': return Object(external_this_lodash_["omit"])(state, action.lockName); @@ -2095,14 +2313,14 @@ var reducer_reusableBlocks = Object(external_this_wp_data_["combineReducers"])({ switch (action.type) { case 'RECEIVE_REUSABLE_BLOCKS': { - return Object(objectSpread["a" /* default */])({}, state, Object(external_this_lodash_["keyBy"])(action.results, 'id')); + return reducer_objectSpread({}, state, {}, Object(external_this_lodash_["keyBy"])(action.results, 'id')); } case 'UPDATE_REUSABLE_BLOCK': { var id = action.id, changes = action.changes; - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, id, Object(objectSpread["a" /* default */])({}, state[id], changes))); + return reducer_objectSpread({}, state, Object(defineProperty["a" /* default */])({}, id, reducer_objectSpread({}, state[id], {}, changes))); } case 'SAVE_REUSABLE_BLOCK_SUCCESS': @@ -2115,7 +2333,7 @@ var reducer_reusableBlocks = Object(external_this_wp_data_["combineReducers"])({ } var value = state[_id]; - return Object(objectSpread["a" /* default */])({}, Object(external_this_lodash_["omit"])(state, _id), Object(defineProperty["a" /* default */])({}, updatedId, Object(objectSpread["a" /* default */])({}, value, { + return reducer_objectSpread({}, Object(external_this_lodash_["omit"])(state, _id), Object(defineProperty["a" /* default */])({}, updatedId, reducer_objectSpread({}, value, { id: updatedId }))); } @@ -2142,7 +2360,7 @@ var reducer_reusableBlocks = Object(external_this_wp_data_["combineReducers"])({ return state; } - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, id, true)); + return reducer_objectSpread({}, state, Object(defineProperty["a" /* default */])({}, id, true)); } case 'FETCH_REUSABLE_BLOCKS_SUCCESS': @@ -2161,7 +2379,7 @@ var reducer_reusableBlocks = Object(external_this_wp_data_["combineReducers"])({ switch (action.type) { case 'SAVE_REUSABLE_BLOCK': - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, action.id, true)); + return reducer_objectSpread({}, state, Object(defineProperty["a" /* default */])({}, action.id, true)); case 'SAVE_REUSABLE_BLOCK_SUCCESS': case 'SAVE_REUSABLE_BLOCK_FAILURE': @@ -2214,7 +2432,7 @@ function reducer_editorSettings() { switch (action.type) { case 'UPDATE_EDITOR_SETTINGS': - return Object(objectSpread["a" /* default */])({}, state, action.settings); + return reducer_objectSpread({}, state, {}, action.settings); } return state; @@ -2234,7 +2452,7 @@ function reducer_editorSettings() { }))); // EXTERNAL MODULE: ./node_modules/refx/refx.js -var refx = __webpack_require__(72); +var refx = __webpack_require__(88); var refx_default = /*#__PURE__*/__webpack_require__.n(refx); // EXTERNAL MODULE: external {"this":"regeneratorRuntime"} @@ -2242,20 +2460,20 @@ 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__(44); +var asyncToGenerator = __webpack_require__(47); // EXTERNAL MODULE: external {"this":["wp","apiFetch"]} -var external_this_wp_apiFetch_ = __webpack_require__(38); +var external_this_wp_apiFetch_ = __webpack_require__(40); var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_); // EXTERNAL MODULE: external {"this":["wp","i18n"]} var external_this_wp_i18n_ = __webpack_require__(1); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(18); +var toConsumableArray = __webpack_require__(17); // EXTERNAL MODULE: external {"this":["wp","deprecated"]} -var external_this_wp_deprecated_ = __webpack_require__(33); +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/editor/build-module/store/constants.js @@ -2413,11 +2631,11 @@ function getNotificationArgumentsForTrashFail(data) { } // EXTERNAL MODULE: ./node_modules/memize/index.js -var memize = __webpack_require__(42); +var memize = __webpack_require__(44); var memize_default = /*#__PURE__*/__webpack_require__.n(memize); // EXTERNAL MODULE: external {"this":["wp","autop"]} -var external_this_wp_autop_ = __webpack_require__(70); +var external_this_wp_autop_ = __webpack_require__(83); // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/utils/serialize-blocks.js /** @@ -2464,9 +2682,13 @@ var serializeBlocks = memize_default()(function (blocksForSerialization) { +function actions_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function actions_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { actions_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { actions_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + var _marked = /*#__PURE__*/ -external_this_regeneratorRuntime_default.a.mark(actions_setupEditor), +external_this_regeneratorRuntime_default.a.mark(setupEditor), _marked2 = /*#__PURE__*/ external_this_regeneratorRuntime_default.a.mark(resetAutosave), @@ -2525,7 +2747,7 @@ external_this_regeneratorRuntime_default.a.mark(actions_resetEditorBlocks); * @param {Array?} template Block Template. */ -function actions_setupEditor(post, edits, template) { +function setupEditor(post, edits, template) { var content, blocks, isNewPost; return external_this_regeneratorRuntime_default.a.wrap(function setupEditor$(_context) { while (1) { @@ -2595,7 +2817,7 @@ function actions_setupEditor(post, edits, template) { * @return {Object} Action object. */ -function actions_experimentalTearDownEditor() { +function __experimentalTearDownEditor() { return { type: 'TEAR_DOWN_EDITOR' }; @@ -2761,7 +2983,7 @@ function actions_editPost(edits, options) { */ function __experimentalOptimisticUpdatePost(edits) { - return Object(objectSpread["a" /* default */])({}, updatePost(edits), { + return actions_objectSpread({}, updatePost(edits), { optimist: { id: POST_UPDATE_TRANSACTION_ID } @@ -2829,7 +3051,7 @@ function actions_savePost() { case 16: previousRecord = _context4.sent; - _context4.t1 = objectSpread["a" /* default */]; + _context4.t1 = actions_objectSpread; _context4.t2 = { id: previousRecord.id }; @@ -2838,24 +3060,25 @@ function actions_savePost() { case 21: _context4.t3 = _context4.sent; - _context4.t4 = edits; - edits = (0, _context4.t1)(_context4.t2, _context4.t3, _context4.t4); - _context4.next = 26; + _context4.t4 = {}; + _context4.t5 = edits; + edits = (0, _context4.t1)(_context4.t2, _context4.t3, _context4.t4, _context4.t5); + _context4.next = 27; return Object(external_this_wp_dataControls_["dispatch"])('core', 'saveEntityRecord', 'postType', previousRecord.type, edits, options); - case 26: - _context4.next = 28; + case 27: + _context4.next = 29; return __experimentalRequestPostUpdateFinish(options); - case 28: - _context4.next = 30; + case 29: + _context4.next = 31; return Object(external_this_wp_dataControls_["select"])('core', 'getLastEntitySaveError', 'postType', previousRecord.type, previousRecord.id); - case 30: + case 31: error = _context4.sent; if (!error) { - _context4.next = 38; + _context4.next = 39; break; } @@ -2866,58 +3089,58 @@ function actions_savePost() { }); if (!args.length) { - _context4.next = 36; + _context4.next = 37; break; } - _context4.next = 36; + _context4.next = 37; return external_this_wp_dataControls_["dispatch"].apply(void 0, ['core/notices', 'createErrorNotice'].concat(Object(toConsumableArray["a" /* default */])(args))); - case 36: - _context4.next = 56; + case 37: + _context4.next = 57; break; - case 38: - _context4.next = 40; + case 39: + _context4.next = 41; return Object(external_this_wp_dataControls_["select"])(STORE_KEY, 'getCurrentPost'); - case 40: + case 41: updatedRecord = _context4.sent; - _context4.t5 = getNotificationArgumentsForSaveSuccess; - _context4.t6 = previousRecord; - _context4.t7 = updatedRecord; - _context4.next = 46; + _context4.t6 = getNotificationArgumentsForSaveSuccess; + _context4.t7 = previousRecord; + _context4.t8 = updatedRecord; + _context4.next = 47; return Object(external_this_wp_dataControls_["select"])('core', 'getPostType', updatedRecord.type); - case 46: - _context4.t8 = _context4.sent; - _context4.t9 = options; - _context4.t10 = { - previousPost: _context4.t6, - post: _context4.t7, - postType: _context4.t8, - options: _context4.t9 + case 47: + _context4.t9 = _context4.sent; + _context4.t10 = options; + _context4.t11 = { + previousPost: _context4.t7, + post: _context4.t8, + postType: _context4.t9, + options: _context4.t10 }; - _args4 = (0, _context4.t5)(_context4.t10); + _args4 = (0, _context4.t6)(_context4.t11); if (!_args4.length) { - _context4.next = 53; + _context4.next = 54; break; } - _context4.next = 53; + _context4.next = 54; return external_this_wp_dataControls_["dispatch"].apply(void 0, ['core/notices', 'createSuccessNotice'].concat(Object(toConsumableArray["a" /* default */])(_args4))); - case 53: + case 54: if (options.isAutosave) { - _context4.next = 56; + _context4.next = 57; break; } - _context4.next = 56; + _context4.next = 57; return Object(external_this_wp_dataControls_["dispatch"])('core/block-editor', '__unstableMarkLastChangeAsPersistent'); - case 56: + case 57: case "end": return _context4.stop(); } @@ -3039,7 +3262,7 @@ function actions_autosave(options) { switch (_context7.prev = _context7.next) { case 0: _context7.next = 2; - return Object(external_this_wp_dataControls_["dispatch"])(STORE_KEY, 'savePost', Object(objectSpread["a" /* default */])({ + return Object(external_this_wp_dataControls_["dispatch"])(STORE_KEY, 'savePost', actions_objectSpread({ isAutosave: true }, options)); @@ -3155,7 +3378,7 @@ function createUndoLevel() { * @return {Object} Action object. */ -function actions_updatePostLock(lock) { +function updatePostLock(lock) { return { type: 'UPDATE_POST_LOCK', lock: lock @@ -3496,7 +3719,7 @@ function actions_resetEditorBlocks(blocks) { * @return {Object} Action object */ -function actions_updateEditorSettings(settings) { +function updateEditorSettings(settings) { return { type: 'UPDATE_EDITOR_SETTINGS', settings: settings @@ -3519,8 +3742,8 @@ var actions_getBlockEditorAction = function getBlockEditorAction(name) { while (1) { switch (_context12.prev = _context12.next) { case 0: - external_this_wp_deprecated_default()('`wp.data.dispatch( \'core/editor\' ).' + name + '`', { - alternative: '`wp.data.dispatch( \'core/block-editor\' ).' + name + '`' + external_this_wp_deprecated_default()("`wp.data.dispatch( 'core/editor' )." + name + '`', { + alternative: "`wp.data.dispatch( 'core/block-editor' )." + name + '`' }); for (_len = _args13.length, args = new Array(_len), _key = 0; _key < _len; _key++) { @@ -3584,7 +3807,7 @@ var multiSelect = actions_getBlockEditorAction('multiSelect'); * @see clearSelectedBlock in core/block-editor store. */ -var actions_clearSelectedBlock = actions_getBlockEditorAction('clearSelectedBlock'); +var clearSelectedBlock = actions_getBlockEditorAction('clearSelectedBlock'); /** * @see toggleSelection in core/block-editor store. */ @@ -3689,7 +3912,7 @@ var exitFormattedText = actions_getBlockEditorAction('exitFormattedText'); * @see insertDefaultBlock in core/block-editor store. */ -var actions_insertDefaultBlock = actions_getBlockEditorAction('insertDefaultBlock'); +var insertDefaultBlock = actions_getBlockEditorAction('insertDefaultBlock'); /** * @see updateBlockListSettings in core/block-editor store. */ @@ -3700,18 +3923,22 @@ var updateBlockListSettings = actions_getBlockEditorAction('updateBlockListSetti var slicedToArray = __webpack_require__(22); // EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js -var rememo = __webpack_require__(34); +var rememo = __webpack_require__(36); // EXTERNAL MODULE: external {"this":["wp","date"]} -var external_this_wp_date_ = __webpack_require__(55); +var external_this_wp_date_ = __webpack_require__(58); // EXTERNAL MODULE: external {"this":["wp","url"]} -var external_this_wp_url_ = __webpack_require__(25); +var external_this_wp_url_ = __webpack_require__(26); // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/selectors.js +function selectors_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function selectors_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { selectors_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { selectors_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -4009,8 +4236,8 @@ var getReferenceByDistinctEdits = Object(external_this_wp_data_["createRegistryS return function () /* state */ { - external_this_wp_deprecated_default()('`wp.data.select( \'core/editor\' ).getReferenceByDistinctEdits`', { - alternative: '`wp.data.select( \'core\' ).getReferenceByDistinctEdits`' + external_this_wp_deprecated_default()("`wp.data.select( 'core/editor' ).getReferenceByDistinctEdits`", { + alternative: "`wp.data.select( 'core' ).getReferenceByDistinctEdits`" }); return select('core').getReferenceByDistinctEdits(); }; @@ -4053,14 +4280,14 @@ function selectors_getCurrentPostAttribute(state, attributeName) { * @return {*} Post attribute value. */ -var selectors_getNestedEditedPostProperty = function getNestedEditedPostProperty(state, attributeName) { +var getNestedEditedPostProperty = function getNestedEditedPostProperty(state, attributeName) { var edits = getPostEdits(state); if (!edits.hasOwnProperty(attributeName)) { return selectors_getCurrentPostAttribute(state, attributeName); } - return Object(objectSpread["a" /* default */])({}, selectors_getCurrentPostAttribute(state, attributeName), edits[attributeName]); + return selectors_objectSpread({}, selectors_getCurrentPostAttribute(state, attributeName), {}, edits[attributeName]); }; /** * Returns a single attribute of the post being edited, preferring the unsaved @@ -4091,7 +4318,7 @@ function selectors_getEditedPostAttribute(state, attributeName) { if (EDIT_MERGE_PROPERTIES.has(attributeName)) { - return selectors_getNestedEditedPostProperty(state, attributeName); + return getNestedEditedPostProperty(state, attributeName); } return edits[attributeName]; @@ -4344,8 +4571,8 @@ var selectors_isEditedPostAutosaveable = Object(external_this_wp_data_["createRe var getAutosave = Object(external_this_wp_data_["createRegistrySelector"])(function (select) { return function (state) { - external_this_wp_deprecated_default()('`wp.data.select( \'core/editor\' ).getAutosave()`', { - alternative: '`wp.data.select( \'core\' ).getAutosave( postType, postId, userId )`', + external_this_wp_deprecated_default()("`wp.data.select( 'core/editor' ).getAutosave()`", { + alternative: "`wp.data.select( 'core' ).getAutosave( postType, postId, userId )`", plugin: 'Gutenberg' }); var postType = selectors_getCurrentPostType(state); @@ -4368,8 +4595,8 @@ var getAutosave = Object(external_this_wp_data_["createRegistrySelector"])(funct var hasAutosave = Object(external_this_wp_data_["createRegistrySelector"])(function (select) { return function (state) { - external_this_wp_deprecated_default()('`wp.data.select( \'core/editor\' ).hasAutosave()`', { - alternative: '`!! wp.data.select( \'core\' ).getAutosave( postType, postId, userId )`', + external_this_wp_deprecated_default()("`wp.data.select( 'core/editor' ).hasAutosave()`", { + alternative: "`!! wp.data.select( 'core' ).getAutosave( postType, postId, userId )`", plugin: 'Gutenberg' }); var postType = selectors_getCurrentPostType(state); @@ -4658,7 +4885,7 @@ var __experimentalGetReusableBlock = Object(rememo["a" /* default */])(function } var isTemporary = isNaN(parseInt(ref)); - return Object(objectSpread["a" /* default */])({}, block, { + return selectors_objectSpread({}, block, { id: isTemporary ? ref : +ref, isTemporary: isTemporary }); @@ -5000,8 +5227,8 @@ function getBlockEditorSelector(name) { return function (state) { var _select; - external_this_wp_deprecated_default()('`wp.data.select( \'core/editor\' ).' + name + '`', { - alternative: '`wp.data.select( \'core/block-editor\' ).' + name + '`' + external_this_wp_deprecated_default()("`wp.data.select( 'core/editor' )." + name + '`', { + alternative: "`wp.data.select( 'core/block-editor' )." + name + '`' }); for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { @@ -5279,6 +5506,10 @@ var getBlockListSettings = getBlockEditorSelector('getBlockListSettings'); +function reusable_blocks_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function reusable_blocks_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { reusable_blocks_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { reusable_blocks_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -5377,7 +5608,7 @@ function () { return null; } - return Object(objectSpread["a" /* default */])({}, post, { + return reusable_blocks_objectSpread({}, post, { content: post.content.raw, title: post.title.raw }); @@ -5813,6 +6044,10 @@ var controls = { // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/index.js +function store_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function store_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { store_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { store_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * WordPress dependencies */ @@ -5840,19 +6075,19 @@ var storeConfig = { reducer: reducer, selectors: selectors_namespaceObject, actions: actions_namespaceObject, - controls: Object(objectSpread["a" /* default */])({}, external_this_wp_dataControls_["controls"], store_controls) + controls: store_objectSpread({}, external_this_wp_dataControls_["controls"], {}, store_controls) }; -var store_store = Object(external_this_wp_data_["registerStore"])(STORE_KEY, Object(objectSpread["a" /* default */])({}, storeConfig, { +var store_store = Object(external_this_wp_data_["registerStore"])(STORE_KEY, store_objectSpread({}, storeConfig, { persist: ['preferences'] })); middlewares(store_store); /* harmony default export */ var build_module_store = (store_store); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(12); +var esm_extends = __webpack_require__(11); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(20); +var objectWithoutProperties = __webpack_require__(19); // EXTERNAL MODULE: external {"this":["wp","element"]} var external_this_wp_element_ = __webpack_require__(0); @@ -5870,6 +6105,10 @@ var external_this_wp_hooks_ = __webpack_require__(29); +function custom_sources_backwards_compatibility_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function custom_sources_backwards_compatibility_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { custom_sources_backwards_compatibility_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { custom_sources_backwards_compatibility_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -5924,7 +6163,7 @@ var custom_sources_backwards_compatibility_createWithMetaAttributeSource = funct setMeta = _useEntityProp2[1]; var mergedAttributes = Object(external_this_wp_element_["useMemo"])(function () { - return Object(objectSpread["a" /* default */])({}, attributes, Object(external_this_lodash_["mapValues"])(metaAttributes, function (metaKey) { + return custom_sources_backwards_compatibility_objectSpread({}, attributes, {}, Object(external_this_lodash_["mapValues"])(metaAttributes, function (metaKey) { return meta[metaKey]; })); }, [attributes, meta]); @@ -6157,12 +6396,15 @@ function createBlockCompleter() { return [user.slug, user.name]; }, getOptionLabel: function getOptionLabel(user) { - return [Object(external_this_wp_element_["createElement"])("img", { + var avatar = user.avatar_urls && user.avatar_urls[24] ? Object(external_this_wp_element_["createElement"])("img", { key: "avatar", className: "editor-autocompleters__user-avatar", alt: "", src: user.avatar_urls[24] - }), Object(external_this_wp_element_["createElement"])("span", { + }) : Object(external_this_wp_element_["createElement"])("span", { + className: "editor-autocompleters__no-avatar" + }); + return [avatar, Object(external_this_wp_element_["createElement"])("span", { key: "name", className: "editor-autocompleters__user-name" }, user.name), Object(external_this_wp_element_["createElement"])("span", { @@ -6180,19 +6422,19 @@ function createBlockCompleter() { // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js -var classCallCheck = __webpack_require__(14); +var classCallCheck = __webpack_require__(13); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(13); +var createClass = __webpack_require__(12); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js -var possibleConstructorReturn = __webpack_require__(15); +var possibleConstructorReturn = __webpack_require__(14); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js -var getPrototypeOf = __webpack_require__(16); +var getPrototypeOf = __webpack_require__(15); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules -var inherits = __webpack_require__(17); +var inherits = __webpack_require__(16); // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/autosave-monitor/index.js @@ -6374,6 +6616,10 @@ var item_TableOfContentsItem = function TableOfContentsItem(_ref) { +function document_outline_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function document_outline_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { document_outline_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { document_outline_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -6431,7 +6677,7 @@ var document_outline_computeOutlineHeadings = function computeOutlineHeadings() var block = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; if (block.name === 'core/heading') { - return Object(objectSpread["a" /* default */])({}, block, { + return document_outline_objectSpread({}, block, { path: path, level: block.attributes.level, isEmpty: isEmptyHeading(block) @@ -6704,7 +6950,7 @@ function EditorKeyboardShortcutsRegister() { var external_this_wp_components_ = __webpack_require__(3); // EXTERNAL MODULE: external {"this":["wp","keycodes"]} -var external_this_wp_keycodes_ = __webpack_require__(19); +var external_this_wp_keycodes_ = __webpack_require__(20); // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/editor-history/redo.js @@ -6803,8 +7049,8 @@ function TemplateValidationNotice(_ref) { } var confirmSynchronization = function confirmSynchronization() { - // eslint-disable-next-line no-alert - if (window.confirm(Object(external_this_wp_i18n_["__"])('Resetting the template may result in loss of content, do you want to continue?'))) { + if ( // eslint-disable-next-line no-alert + window.confirm(Object(external_this_wp_i18n_["__"])('Resetting the template may result in loss of content, do you want to continue?'))) { props.synchronizeTemplate(); } }; @@ -6896,7 +7142,7 @@ function EditorNotices(_ref) { })])(EditorNotices)); // EXTERNAL MODULE: ./node_modules/equivalent-key-map/equivalent-key-map.js -var equivalent_key_map = __webpack_require__(57); +var equivalent_key_map = __webpack_require__(62); var equivalent_key_map_default = /*#__PURE__*/__webpack_require__.n(equivalent_key_map); // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/entities-saved-states/index.js @@ -6908,7 +7154,6 @@ var equivalent_key_map_default = /*#__PURE__*/__webpack_require__.n(equivalent_k * External dependencies */ - /** * WordPress dependencies */ @@ -6925,7 +7170,7 @@ var entities_saved_states_EntitiesSavedStatesCheckbox = function EntitiesSavedSt checked = _ref.checked, setCheckedById = _ref.setCheckedById; return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["CheckboxControl"], { - label: "".concat(Object(external_this_lodash_["startCase"])(name), ": \"").concat(rawRecord.title || rawRecord.name || Object(external_this_wp_i18n_["__"])('Untitled'), "\""), + label: "".concat(name, ": \"").concat(rawRecord.name || rawRecord.slug || rawRecord.title || Object(external_this_wp_i18n_["__"])('Untitled'), "\""), checked: checked, onChange: function onChange(nextChecked) { return setCheckedById(id, nextChecked); @@ -7454,6 +7699,10 @@ function PageAttributesOrderWithChecks(props) { // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/utils/terms.js +function terms_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function terms_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { terms_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { terms_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -7468,7 +7717,7 @@ function PageAttributesOrderWithChecks(props) { function buildTermsTree(flatTerms) { var flatTermsWithParentAndChildren = flatTerms.map(function (term) { - return Object(objectSpread["a" /* default */])({ + return terms_objectSpread({ children: [], parent: null }, term); @@ -7482,7 +7731,7 @@ function buildTermsTree(flatTerms) { var fillWithChildren = function fillWithChildren(terms) { return terms.map(function (term) { var children = termsByParent[term.id]; - return Object(objectSpread["a" /* default */])({}, term, { + return terms_objectSpread({}, term, { children: children && children.length ? fillWithChildren(children) : [] }); }); @@ -7528,7 +7777,7 @@ function PageAttributesParent(_ref) { return { id: item.id, parent: item.parent, - name: item.title.raw ? item.title.raw : "#".concat(item.id, " (").concat(Object(external_this_wp_i18n_["__"])('no title'), ")") + name: item.title && item.title.raw ? item.title.raw : "#".concat(item.id, " (").concat(Object(external_this_wp_i18n_["__"])('no title'), ")") }; })); return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TreeSelect"], { @@ -7640,7 +7889,7 @@ function PageTemplate(_ref) { }))(PageTemplate)); // EXTERNAL MODULE: external {"this":["wp","htmlEntities"]} -var external_this_wp_htmlEntities_ = __webpack_require__(54); +var external_this_wp_htmlEntities_ = __webpack_require__(56); // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-author/check.js @@ -9368,8 +9617,8 @@ function (_Component) { }, { key: "setPrivate", value: function setPrivate() { - if (!window.confirm(Object(external_this_wp_i18n_["__"])('Would you like to privately publish this post now?'))) { - // eslint-disable-line no-alert + if ( // eslint-disable-next-line no-alert + !window.confirm(Object(external_this_wp_i18n_["__"])('Would you like to privately publish this post now?'))) { return; } @@ -9607,6 +9856,9 @@ function PostScheduleLabel(_ref) { +function flat_term_selector_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function flat_term_selector_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { flat_term_selector_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { flat_term_selector_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -9649,7 +9901,7 @@ var isSameTermName = function isSameTermName(termA, termB) { var flat_term_selector_unescapeTerm = function unescapeTerm(term) { - return Object(objectSpread["a" /* default */])({}, term, { + return flat_term_selector_objectSpread({}, term, { name: Object(external_this_lodash_["unescape"])(term.name) }); }; @@ -9735,7 +9987,7 @@ function (_Component) { var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var taxonomy = this.props.taxonomy; - var query = Object(objectSpread["a" /* default */])({}, DEFAULT_QUERY, params); + var query = flat_term_selector_objectSpread({}, DEFAULT_QUERY, {}, params); var request = external_this_wp_apiFetch_default()({ path: Object(external_this_wp_url_["addQueryArgs"])("/wp/v2/".concat(taxonomy.rest_base), query) @@ -9796,7 +10048,7 @@ function (_Component) { if (errorCode === 'term_exists') { // If the terms exist, fetch it instead of creating a new one. _this5.addRequest = external_this_wp_apiFetch_default()({ - path: Object(external_this_wp_url_["addQueryArgs"])("/wp/v2/".concat(taxonomy.rest_base), Object(objectSpread["a" /* default */])({}, DEFAULT_QUERY, { + path: Object(external_this_wp_url_["addQueryArgs"])("/wp/v2/".concat(taxonomy.rest_base), flat_term_selector_objectSpread({}, DEFAULT_QUERY, { search: termNameEscaped })) }).then(flat_term_selector_unescapeTerms); @@ -10200,6 +10452,7 @@ function PostPublishPanelPrepublish(_ref) { + /** * Internal dependencies */ @@ -10268,7 +10521,7 @@ function (_Component) { postType = _this$props.postType; var postLabel = Object(external_this_lodash_["get"])(postType, ['labels', 'singular_name']); var viewPostLabel = Object(external_this_lodash_["get"])(postType, ['labels', 'view_item']); - var postPublishNonLinkHeader = isScheduled ? Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_i18n_["__"])('is now scheduled. It will go live on'), " ", Object(external_this_wp_element_["createElement"])(post_schedule_label, null), ".") : Object(external_this_wp_i18n_["__"])('is now live.'); + var postPublishNonLinkHeader = isScheduled ? Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_i18n_["__"])('is now scheduled. It will go live on'), ' ', Object(external_this_wp_element_["createElement"])(post_schedule_label, null), ".") : Object(external_this_wp_i18n_["__"])('is now live.'); return Object(external_this_wp_element_["createElement"])("div", { className: "post-publish-panel__postpublish" }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], { @@ -10276,7 +10529,7 @@ function (_Component) { }, Object(external_this_wp_element_["createElement"])("a", { ref: this.postLink, href: post.link - }, post.title || Object(external_this_wp_i18n_["__"])('(no title)')), " ", postPublishNonLinkHeader), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], null, Object(external_this_wp_element_["createElement"])("p", { + }, Object(external_this_wp_htmlEntities_["decodeEntities"])(post.title) || Object(external_this_wp_i18n_["__"])('(no title)')), ' ', postPublishNonLinkHeader), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], null, Object(external_this_wp_element_["createElement"])("p", { className: "post-publish-panel__postpublish-subheader" }, Object(external_this_wp_element_["createElement"])("strong", null, Object(external_this_wp_i18n_["__"])('What’s next?'))), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], { className: "post-publish-panel__postpublish-post-address", @@ -10485,6 +10738,12 @@ function (_Component) { }; }), external_this_wp_components_["withFocusReturn"], external_this_wp_components_["withConstrainedTabbing"]])(post_publish_panel_PostPublishPanel)); +// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js +var build_module_icon = __webpack_require__(186); + +// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/check.js +var library_check = __webpack_require__(187); + // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-switch-to-draft-button/index.js @@ -10580,6 +10839,7 @@ function PostSwitchToDraftButton(_ref) { + /** * Internal dependencies */ @@ -10671,8 +10931,8 @@ function (_Component) { if (forceSavedMessage || !isNew && !isDirty) { return Object(external_this_wp_element_["createElement"])("span", { className: "editor-post-saved-state is-saved" - }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Dashicon"], { - icon: "saved" + }, Object(external_this_wp_element_["createElement"])(build_module_icon["a" /* default */], { + icon: library_check["a" /* default */] }), Object(external_this_wp_i18n_["__"])('Saved')); } // Once the post has been submitted for review this button // is not needed for the contributor role. @@ -10986,6 +11246,9 @@ function PostSticky(_ref) { +function hierarchical_term_selector_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function hierarchical_term_selector_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { hierarchical_term_selector_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { hierarchical_term_selector_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -11152,7 +11415,7 @@ function (_Component) { if (errorCode === 'term_exists') { // search the new category created since last fetch _this2.addRequest = external_this_wp_apiFetch_default()({ - path: Object(external_this_wp_url_["addQueryArgs"])("/wp/v2/".concat(taxonomy.rest_base), Object(objectSpread["a" /* default */])({}, hierarchical_term_selector_DEFAULT_QUERY, { + path: Object(external_this_wp_url_["addQueryArgs"])("/wp/v2/".concat(taxonomy.rest_base), hierarchical_term_selector_objectSpread({}, hierarchical_term_selector_DEFAULT_QUERY, { parent: formParent || 0, search: formName })) @@ -11340,7 +11603,7 @@ function (_Component) { // don't want to modify the original term. - var term = Object(objectSpread["a" /* default */])({}, originalTerm); // Map and filter the children, recursive so we deal with grandchildren + var term = hierarchical_term_selector_objectSpread({}, originalTerm); // Map and filter the children, recursive so we deal with grandchildren // and any deeper levels. @@ -11585,7 +11848,7 @@ function PostTaxonomiesCheck(_ref) { })])(PostTaxonomiesCheck)); // EXTERNAL MODULE: ./node_modules/react-autosize-textarea/lib/index.js -var lib = __webpack_require__(62); +var lib = __webpack_require__(70); var lib_default = /*#__PURE__*/__webpack_require__.n(lib); // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-text-editor/index.js @@ -12164,7 +12427,7 @@ function (_Component) { }, decodedPlaceholder || Object(external_this_wp_i18n_["__"])('Add title')), Object(external_this_wp_element_["createElement"])(lib_default.a, { id: "post-title-".concat(instanceId), className: "editor-post-title__input", - value: Object(external_this_wp_htmlEntities_["decodeEntities"])(title), + value: title, onChange: this.onChange, placeholder: decodedPlaceholder || Object(external_this_wp_i18n_["__"])('Add title'), onFocus: this.onSelect, @@ -12230,7 +12493,7 @@ var post_title_applyWithDispatch = Object(external_this_wp_data_["withDispatch"] }, onUpdate: function onUpdate(title) { editPost({ - title: Object(external_this_lodash_["escape"])(title) + title: title }); }, clearSelectedBlock: clearSelectedBlock @@ -12347,7 +12610,7 @@ function PostVisibilityCheck(_ref) { })])(PostVisibilityCheck)); // EXTERNAL MODULE: external {"this":["wp","wordcount"]} -var external_this_wp_wordcount_ = __webpack_require__(97); +var external_this_wp_wordcount_ = __webpack_require__(122); // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/word-count/index.js @@ -12403,9 +12666,9 @@ function TableOfContentsPanel(_ref) { onRequestClose = _ref.onRequestClose; return ( /* - * Disable reason: The `list` ARIA role is redundant but - * Safari+VoiceOver won't announce the list otherwise. - */ + * 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"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("div", { @@ -12636,11 +12899,15 @@ var withRegistryProvider = Object(external_this_wp_compose_["createHigherOrderCo /* harmony default export */ var with_registry_provider = (withRegistryProvider); // EXTERNAL MODULE: external {"this":["wp","mediaUtils"]} -var external_this_wp_mediaUtils_ = __webpack_require__(99); +var external_this_wp_mediaUtils_ = __webpack_require__(124); // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/utils/media-upload/index.js +function media_upload_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function media_upload_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { media_upload_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { media_upload_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -12684,7 +12951,7 @@ var external_this_wp_mediaUtils_ = __webpack_require__(99); allowedTypes: allowedTypes, filesList: filesList, onFileChange: onFileChange, - additionalData: Object(objectSpread["a" /* default */])({ + additionalData: media_upload_objectSpread({ post: getCurrentPostId() }, additionalData), maxUploadFileSize: maxUploadFileSize, @@ -12731,11 +12998,9 @@ function ReusableBlockConvertButton(_ref) { } return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, !isReusable && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { - className: "editor-block-settings-menu__control block-editor-block-settings-menu__control", icon: "controls-repeat", onClick: onConvertToReusable }, Object(external_this_wp_i18n_["__"])('Add to Reusable blocks')), isReusable && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { - className: "editor-block-settings-menu__control block-editor-block-settings-menu__control", icon: "controls-repeat", onClick: onConvertToStatic }, Object(external_this_wp_i18n_["__"])('Convert to Regular Block'))); @@ -12820,7 +13085,6 @@ function ReusableBlockDeleteButton(_ref) { } return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { - className: "editor-block-settings-menu__control block-editor-block-settings-menu__control", icon: "no", disabled: isDisabled, onClick: function onClick() { @@ -12983,11 +13247,9 @@ function ConvertToGroupButton(_ref) { _ref$isUngroupable = _ref.isUngroupable, isUngroupable = _ref$isUngroupable === void 0 ? false : _ref$isUngroupable; return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, isGroupable && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { - className: "editor-block-settings-menu__control block-editor-block-settings-menu__control", icon: Group, onClick: onConvertToGroup }, Object(external_this_wp_i18n_["_x"])('Group', 'verb')), isUngroupable && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], { - className: "editor-block-settings-menu__control block-editor-block-settings-menu__control", icon: Ungroup, onClick: onConvertFromGroup }, Object(external_this_wp_i18n_["_x"])('Ungroup', 'Ungrouping blocks from within a Group block back into individual blocks within the Editor '))); @@ -13111,6 +13373,10 @@ function ConvertToGroupButtons(_ref) { +function provider_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function provider_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { provider_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { provider_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -13144,21 +13410,27 @@ function () { var _ref = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/ external_this_regeneratorRuntime_default.a.mark(function _callee(search) { - var posts; + var _ref2, + _ref2$perPage, + perPage, + posts, + _args = arguments; + return external_this_regeneratorRuntime_default.a.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: - _context.next = 2; + _ref2 = _args.length > 1 && _args[1] !== undefined ? _args[1] : {}, _ref2$perPage = _ref2.perPage, perPage = _ref2$perPage === void 0 ? 20 : _ref2$perPage; + _context.next = 3; return external_this_wp_apiFetch_default()({ path: Object(external_this_wp_url_["addQueryArgs"])('/wp/v2/search', { search: search, - per_page: 20, + per_page: perPage, type: 'post' }) }); - case 2: + case 3: posts = _context.sent; return _context.abrupt("return", Object(external_this_lodash_["map"])(posts, function (post) { return { @@ -13169,7 +13441,7 @@ function () { }; })); - case 4: + case 5: case "end": return _context.stop(); } @@ -13219,13 +13491,15 @@ function (_Component) { Object(createClass["a" /* default */])(EditorProvider, [{ key: "getBlockEditorSettings", - value: function getBlockEditorSettings(settings, reusableBlocks, __experimentalFetchReusableBlocks, hasUploadPermissions, canUserUseUnfilteredHTML) { - return Object(objectSpread["a" /* default */])({}, Object(external_this_lodash_["pick"])(settings, ['alignWide', 'allowedBlockTypes', '__experimentalPreferredStyleVariations', 'availableLegacyWidgets', 'bodyPlaceholder', 'codeEditingEnabled', 'colors', 'disableCustomColors', 'disableCustomFontSizes', 'disableCustomGradients', 'focusMode', 'fontSizes', 'hasFixedToolbar', 'hasPermissionsToManageWidgets', 'imageSizes', 'isRTL', 'maxWidth', 'styles', 'template', 'templateLock', 'titlePlaceholder', 'onUpdateDefaultBlockStyles', '__experimentalEnableLegacyWidgetBlock', '__experimentalBlockDirectory', '__experimentalEnableFullSiteEditing', '__experimentalEnableFullSiteEditingDemo', '__experimentalEnablePageTemplates', 'showInserterHelpPanel', 'gradients']), { + value: function getBlockEditorSettings(settings, reusableBlocks, __experimentalFetchReusableBlocks, hasUploadPermissions, canUserUseUnfilteredHTML, undo, shouldInsertAtTheTop) { + return provider_objectSpread({}, Object(external_this_lodash_["pick"])(settings, ['alignWide', 'allowedBlockTypes', '__experimentalPreferredStyleVariations', 'availableLegacyWidgets', 'bodyPlaceholder', 'codeEditingEnabled', 'colors', 'disableCustomColors', 'disableCustomFontSizes', 'disableCustomGradients', 'focusMode', 'fontSizes', 'hasFixedToolbar', 'hasPermissionsToManageWidgets', 'imageSizes', 'isRTL', 'maxWidth', 'styles', 'template', 'templateLock', 'titlePlaceholder', 'onUpdateDefaultBlockStyles', '__experimentalEnableLegacyWidgetBlock', '__experimentalBlockDirectory', '__experimentalEnableFullSiteEditing', '__experimentalEnableFullSiteEditingDemo', '__experimentalEnablePageTemplates', 'showInserterHelpPanel', 'gradients']), { mediaUpload: hasUploadPermissions ? media_upload : undefined, __experimentalReusableBlocks: reusableBlocks, __experimentalFetchReusableBlocks: __experimentalFetchReusableBlocks, __experimentalFetchLinkSuggestions: fetchLinkSuggestions, - __experimentalCanUserUseUnfilteredHTML: canUserUseUnfilteredHTML + __experimentalCanUserUseUnfilteredHTML: canUserUseUnfilteredHTML, + __experimentalUndo: undo, + __experimentalShouldInsertAtTheTop: shouldInsertAtTheTop }); } }, { @@ -13274,13 +13548,15 @@ function (_Component) { reusableBlocks = _this$props.reusableBlocks, resetEditorBlocksWithoutUndoLevel = _this$props.resetEditorBlocksWithoutUndoLevel, hasUploadPermissions = _this$props.hasUploadPermissions, - __experimentalFetchReusableBlocks = _this$props.__experimentalFetchReusableBlocks; + isPostTitleSelected = _this$props.isPostTitleSelected, + __experimentalFetchReusableBlocks = _this$props.__experimentalFetchReusableBlocks, + undo = _this$props.undo; if (!isReady) { return null; } - var editorSettings = this.getBlockEditorSettings(settings, reusableBlocks, __experimentalFetchReusableBlocks, hasUploadPermissions, canUserUseUnfilteredHTML); + var editorSettings = this.getBlockEditorSettings(settings, reusableBlocks, __experimentalFetchReusableBlocks, hasUploadPermissions, canUserUseUnfilteredHTML, undo, isPostTitleSelected); return Object(external_this_wp_element_["createElement"])(external_this_wp_coreData_["EntityProvider"], { kind: "root", type: "site" @@ -13310,7 +13586,8 @@ function (_Component) { getEditorBlocks = _select.getEditorBlocks, getEditorSelectionStart = _select.getEditorSelectionStart, getEditorSelectionEnd = _select.getEditorSelectionEnd, - __experimentalGetReusableBlocks = _select.__experimentalGetReusableBlocks; + __experimentalGetReusableBlocks = _select.__experimentalGetReusableBlocks, + isPostTitleSelected = _select.isPostTitleSelected; var _select2 = select('core'), canUser = _select2.canUser; @@ -13322,7 +13599,9 @@ function (_Component) { selectionStart: getEditorSelectionStart(), selectionEnd: getEditorSelectionEnd(), reusableBlocks: __experimentalGetReusableBlocks(), - hasUploadPermissions: Object(external_this_lodash_["defaultTo"])(canUser('create', 'media'), true) + hasUploadPermissions: Object(external_this_lodash_["defaultTo"])(canUser('create', 'media'), true), + // This selector is only defined on mobile. + isPostTitleSelected: isPostTitleSelected && isPostTitleSelected() }; }), Object(external_this_wp_data_["withDispatch"])(function (dispatch) { var _dispatch = dispatch('core/editor'), @@ -13331,7 +13610,8 @@ function (_Component) { resetEditorBlocks = _dispatch.resetEditorBlocks, updateEditorSettings = _dispatch.updateEditorSettings, __experimentalFetchReusableBlocks = _dispatch.__experimentalFetchReusableBlocks, - __experimentalTearDownEditor = _dispatch.__experimentalTearDownEditor; + __experimentalTearDownEditor = _dispatch.__experimentalTearDownEditor, + undo = _dispatch.undo; var _dispatch2 = dispatch('core/notices'), createWarningNotice = _dispatch2.createWarningNotice; @@ -13343,17 +13623,18 @@ function (_Component) { resetEditorBlocks: resetEditorBlocks, updateEditorSettings: updateEditorSettings, resetEditorBlocksWithoutUndoLevel: function resetEditorBlocksWithoutUndoLevel(blocks, options) { - resetEditorBlocks(blocks, Object(objectSpread["a" /* default */])({}, options, { + resetEditorBlocks(blocks, provider_objectSpread({}, options, { __unstableShouldCreateUndoLevel: false })); }, tearDownEditor: __experimentalTearDownEditor, - __experimentalFetchReusableBlocks: __experimentalFetchReusableBlocks + __experimentalFetchReusableBlocks: __experimentalFetchReusableBlocks, + undo: undo }; })])(provider_EditorProvider)); // EXTERNAL MODULE: external {"this":["wp","serverSideRender"]} -var external_this_wp_serverSideRender_ = __webpack_require__(60); +var external_this_wp_serverSideRender_ = __webpack_require__(65); var external_this_wp_serverSideRender_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_serverSideRender_); // CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/deprecated.js @@ -13704,50 +13985,14 @@ Object(external_this_wp_hooks_["addFilter"])('editor.Autocomplete.completers', ' /***/ }), -/***/ 38: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["apiFetch"]; }()); - -/***/ }), - -/***/ 39: +/***/ 42: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["dataControls"]; }()); /***/ }), -/***/ 4: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["data"]; }()); - -/***/ }), - -/***/ 40: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; }); -function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } - - return target; -} - -/***/ }), - -/***/ 42: +/***/ 44: /***/ (function(module, exports, __webpack_require__) { module.exports = function memize( fn, options ) { @@ -13865,14 +14110,14 @@ module.exports = function memize( fn, options ) { /***/ }), -/***/ 43: +/***/ 46: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["keyboardShortcuts"]; }()); /***/ }), -/***/ 44: +/***/ 47: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -13916,34 +14161,56 @@ function _asyncToGenerator(fn) { /***/ }), /***/ 5: -/***/ (function(module, exports) { +/***/ (function(module, __webpack_exports__, __webpack_require__) { -(function() { module.exports = this["wp"]["blockEditor"]; }()); +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } -/***/ }), - -/***/ 51: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["viewport"]; }()); + return obj; +} /***/ }), /***/ 54: /***/ (function(module, exports) { +(function() { module.exports = this["wp"]["viewport"]; }()); + +/***/ }), + +/***/ 56: +/***/ (function(module, exports) { + (function() { module.exports = this["wp"]["htmlEntities"]; }()); /***/ }), -/***/ 55: +/***/ 58: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["date"]; }()); /***/ }), -/***/ 57: +/***/ 6: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["blockEditor"]; }()); + +/***/ }), + +/***/ 62: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -14258,60 +14525,13 @@ module.exports = EquivalentKeyMap; /***/ }), -/***/ 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; -} - -/***/ }), - -/***/ 60: +/***/ 65: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["serverSideRender"]; }()); /***/ }), -/***/ 62: -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -exports.__esModule = true; -var TextareaAutosize_1 = __webpack_require__(114); -exports["default"] = TextareaAutosize_1["default"]; - - -/***/ }), - -/***/ 64: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["coreData"]; }()); - -/***/ }), - /***/ 7: /***/ (function(module, __webpack_exports__, __webpack_require__) { @@ -14328,13 +14548,39 @@ function _assertThisInitialized(self) { /***/ }), /***/ 70: +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +exports.__esModule = true; +var TextareaAutosize_1 = __webpack_require__(146); +exports["default"] = TextareaAutosize_1["default"]; + + +/***/ }), + +/***/ 73: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["coreData"]; }()); + +/***/ }), + +/***/ 8: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["compose"]; }()); + +/***/ }), + +/***/ 83: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["autop"]; }()); /***/ }), -/***/ 72: +/***/ 88: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -14388,148 +14634,12 @@ function refx( effects ) { module.exports = refx; -/***/ }), - -/***/ 8: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["compose"]; }()); - -/***/ }), - -/***/ 86: -/***/ (function(module, exports, __webpack_require__) { - -module.exports = __webpack_require__(346); - - -/***/ }), - -/***/ 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 = __webpack_require__(90); - -function emptyFunction() {} -function emptyFunctionWithReset() {} -emptyFunctionWithReset.resetWarningCache = emptyFunction; - -module.exports = function() { - function shim(props, propName, componentName, location, propFullName, secret) { - if (secret === ReactPropTypesSecret) { - // It is still safe when called from React. - return; - } - var err = new Error( - 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' + - 'Use PropTypes.checkPropTypes() to call them. ' + - 'Read more at http://fb.me/use-check-prop-types' - ); - err.name = 'Invariant Violation'; - throw err; - }; - shim.isRequired = shim; - function getShim() { - return shim; - }; - // Important! - // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`. - var ReactPropTypes = { - array: shim, - bool: shim, - func: shim, - number: shim, - object: shim, - string: shim, - symbol: shim, - - any: shim, - arrayOf: getShim, - element: shim, - elementType: shim, - instanceOf: getShim, - node: shim, - objectOf: getShim, - oneOf: getShim, - oneOfType: getShim, - shape: getShim, - exact: getShim, - - checkPropTypes: emptyFunctionWithReset, - resetWarningCache: emptyFunction - }; - - ReactPropTypes.PropTypes = ReactPropTypes; - - return ReactPropTypes; -}; - - /***/ }), /***/ 9: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} - -/***/ }), - -/***/ 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; - - -/***/ }), - -/***/ 97: /***/ (function(module, exports) { -(function() { module.exports = this["wp"]["wordcount"]; }()); - -/***/ }), - -/***/ 99: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["mediaUtils"]; }()); +(function() { module.exports = this["wp"]["blocks"]; }()); /***/ }) diff --git a/wp-includes/js/dist/editor.min.js b/wp-includes/js/dist/editor.min.js index 9df2fcf83f..78a0c99c5e 100644 --- a/wp-includes/js/dist/editor.min.js +++ b/wp-includes/js/dist/editor.min.js @@ -1,12 +1,12 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.editor=function(e){var t={};function n(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=364)}({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; +this.wp=this.wp||{},this.wp.editor=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=412)}({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-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()},s=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",s,!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",s,!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:s,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 u(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function l(){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(){l();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||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},21:function(e,t){!function(){e.exports=this.React}()},22:function(e,t,n){"use strict";var r=n(35);var o=n(36);function i(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,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(r=(c=a.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}}(e,t)||Object(o.a)()}n.d(t,"a",(function(){return i}))},23:function(e,t){!function(){e.exports=this.regeneratorRuntime}()},24:function(e,t){!function(){e.exports=this.wp.richText}()},25:function(e,t){!function(){e.exports=this.wp.url}()},28:function(e,t,n){e.exports=n(89)()},29:function(e,t){!function(){e.exports=this.wp.hooks}()},3:function(e,t){!function(){e.exports=this.wp.components}()},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}()},34: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||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["optimist"])}}return{optimist:a,innerState:e}}e.exports=function(e){function t(t,n,o){return t.length&&(t=t.concat([{action:o}])),u(n=e(n,o),o),r({optimist:t},n)}return function(n,a){if(a.optimist)switch(a.optimist.type){case o:return function(t,n){var o=l(t),i=o.optimist,c=o.innerState;return i=i.concat([{beforeState:c,action:n}]),u(c=e(c,n),n),r({optimist:i},c)}(n,a);case i:return function(e,n){var r=l(e),o=r.optimist,i=r.innerState,c=[],a=!1,u=!1;return o.forEach((function(e){a?e.beforeState&&s(e.action,n.optimist.id)?(u=!0,c.push({action:e.action})):c.push(e):e.beforeState&&!s(e.action,n.optimist.id)?(a=!0,c.push(e)):e.beforeState&&s(e.action,n.optimist.id)&&(u=!0)})),u||console.error('Cannot commit transaction with id "'+n.optimist.id+'" because it does not exist'),t(o=c,i,n)}(n,a);case c:return function(n,r){var o=l(n),i=o.optimist,c=o.innerState,a=[],d=!1,p=!1,b=c;return i.forEach((function(t){t.beforeState&&s(t.action,r.optimist.id)&&(b=t.beforeState,p=!0),s(t.action,r.optimist.id)||(t.beforeState&&(d=!0),d&&(p&&t.beforeState?a.push({beforeState:b,action:t.action}):a.push(t)),p&&(b=e(b,t.action),u(c,r)))})),p||console.error('Cannot revert transaction with id "'+r.optimist.id+'" because it does not exist'),t(i=a,b,r)}(n,a)}var d=l(n),p=d.optimist,b=d.innerState;if(n&&!p.length){var f=e(b,a);return f===b?n:(u(f,a),r({optimist:p},f))}return t(p,b,a)}},e.exports.BEGIN=o,e.exports.COMMIT=i,e.exports.REVERT=c},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}))},364:function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"setupEditor",(function(){return ce})),n.d(r,"__experimentalTearDownEditor",(function(){return ae})),n.d(r,"resetPost",(function(){return se})),n.d(r,"resetAutosave",(function(){return ue})),n.d(r,"__experimentalRequestPostUpdateStart",(function(){return le})),n.d(r,"__experimentalRequestPostUpdateFinish",(function(){return de})),n.d(r,"updatePost",(function(){return pe})),n.d(r,"setupEditorState",(function(){return be})),n.d(r,"editPost",(function(){return fe})),n.d(r,"__experimentalOptimisticUpdatePost",(function(){return he})),n.d(r,"savePost",(function(){return me})),n.d(r,"refreshPost",(function(){return ve})),n.d(r,"trashPost",(function(){return Oe})),n.d(r,"autosave",(function(){return ge})),n.d(r,"__experimentalLocalAutosave",(function(){return je})),n.d(r,"redo",(function(){return ye})),n.d(r,"undo",(function(){return _e})),n.d(r,"createUndoLevel",(function(){return ke})),n.d(r,"updatePostLock",(function(){return Se})),n.d(r,"__experimentalFetchReusableBlocks",(function(){return Ee})),n.d(r,"__experimentalReceiveReusableBlocks",(function(){return Pe})),n.d(r,"__experimentalSaveReusableBlock",(function(){return we})),n.d(r,"__experimentalDeleteReusableBlock",(function(){return Ce})),n.d(r,"__experimentalUpdateReusableBlock",(function(){return Te})),n.d(r,"__experimentalConvertBlockToStatic",(function(){return Be})),n.d(r,"__experimentalConvertBlockToReusable",(function(){return xe})),n.d(r,"enablePublishSidebar",(function(){return Ie})),n.d(r,"disablePublishSidebar",(function(){return Ae})),n.d(r,"lockPostSaving",(function(){return Re})),n.d(r,"unlockPostSaving",(function(){return Le})),n.d(r,"lockPostAutosaving",(function(){return Ne})),n.d(r,"unlockPostAutosaving",(function(){return De})),n.d(r,"resetEditorBlocks",(function(){return Ue})),n.d(r,"updateEditorSettings",(function(){return Fe})),n.d(r,"resetBlocks",(function(){return Ve})),n.d(r,"receiveBlocks",(function(){return ze})),n.d(r,"updateBlock",(function(){return We})),n.d(r,"updateBlockAttributes",(function(){return He})),n.d(r,"selectBlock",(function(){return Ke})),n.d(r,"startMultiSelect",(function(){return Ge})),n.d(r,"stopMultiSelect",(function(){return qe})),n.d(r,"multiSelect",(function(){return Qe})),n.d(r,"clearSelectedBlock",(function(){return Ye})),n.d(r,"toggleSelection",(function(){return Xe})),n.d(r,"replaceBlocks",(function(){return Ze})),n.d(r,"replaceBlock",(function(){return Je})),n.d(r,"moveBlocksDown",(function(){return $e})),n.d(r,"moveBlocksUp",(function(){return et})),n.d(r,"moveBlockToPosition",(function(){return tt})),n.d(r,"insertBlock",(function(){return nt})),n.d(r,"insertBlocks",(function(){return rt})),n.d(r,"showInsertionPoint",(function(){return ot})),n.d(r,"hideInsertionPoint",(function(){return it})),n.d(r,"setTemplateValidity",(function(){return ct})),n.d(r,"synchronizeTemplate",(function(){return at})),n.d(r,"mergeBlocks",(function(){return st})),n.d(r,"removeBlocks",(function(){return ut})),n.d(r,"removeBlock",(function(){return lt})),n.d(r,"toggleBlockMode",(function(){return dt})),n.d(r,"startTyping",(function(){return pt})),n.d(r,"stopTyping",(function(){return bt})),n.d(r,"enterFormattedText",(function(){return ft})),n.d(r,"exitFormattedText",(function(){return ht})),n.d(r,"insertDefaultBlock",(function(){return mt})),n.d(r,"updateBlockListSettings",(function(){return vt}));var o={};n.r(o),n.d(o,"hasEditorUndo",(function(){return St})),n.d(o,"hasEditorRedo",(function(){return Et})),n.d(o,"isEditedPostNew",(function(){return Pt})),n.d(o,"hasChangedContent",(function(){return wt})),n.d(o,"isEditedPostDirty",(function(){return Ct})),n.d(o,"hasNonPostEntityChanges",(function(){return Tt})),n.d(o,"isCleanNewPost",(function(){return Bt})),n.d(o,"getCurrentPost",(function(){return xt})),n.d(o,"getCurrentPostType",(function(){return It})),n.d(o,"getCurrentPostId",(function(){return At})),n.d(o,"getCurrentPostRevisionsCount",(function(){return Rt})),n.d(o,"getCurrentPostLastRevisionId",(function(){return Lt})),n.d(o,"getPostEdits",(function(){return Nt})),n.d(o,"getReferenceByDistinctEdits",(function(){return Dt})),n.d(o,"getCurrentPostAttribute",(function(){return Ut})),n.d(o,"getEditedPostAttribute",(function(){return Mt})),n.d(o,"getAutosaveAttribute",(function(){return Vt})),n.d(o,"getEditedPostVisibility",(function(){return zt})),n.d(o,"isCurrentPostPending",(function(){return Wt})),n.d(o,"isCurrentPostPublished",(function(){return Ht})),n.d(o,"isCurrentPostScheduled",(function(){return Kt})),n.d(o,"isEditedPostPublishable",(function(){return Gt})),n.d(o,"isEditedPostSaveable",(function(){return qt})),n.d(o,"isEditedPostEmpty",(function(){return Qt})),n.d(o,"isEditedPostAutosaveable",(function(){return Yt})),n.d(o,"getAutosave",(function(){return Xt})),n.d(o,"hasAutosave",(function(){return Zt})),n.d(o,"isEditedPostBeingScheduled",(function(){return Jt})),n.d(o,"isEditedPostDateFloating",(function(){return $t})),n.d(o,"isSavingPost",(function(){return en})),n.d(o,"didPostSaveRequestSucceed",(function(){return tn})),n.d(o,"didPostSaveRequestFail",(function(){return nn})),n.d(o,"isAutosavingPost",(function(){return rn})),n.d(o,"isPreviewingPost",(function(){return on})),n.d(o,"getEditedPostPreviewLink",(function(){return cn})),n.d(o,"getSuggestedPostFormat",(function(){return an})),n.d(o,"getBlocksForSerialization",(function(){return sn})),n.d(o,"getEditedPostContent",(function(){return un})),n.d(o,"__experimentalGetReusableBlock",(function(){return ln})),n.d(o,"__experimentalIsSavingReusableBlock",(function(){return dn})),n.d(o,"__experimentalIsFetchingReusableBlock",(function(){return pn})),n.d(o,"__experimentalGetReusableBlocks",(function(){return bn})),n.d(o,"getStateBeforeOptimisticTransaction",(function(){return fn})),n.d(o,"isPublishingPost",(function(){return hn})),n.d(o,"isPermalinkEditable",(function(){return mn})),n.d(o,"getPermalink",(function(){return vn})),n.d(o,"getPermalinkParts",(function(){return On})),n.d(o,"inSomeHistory",(function(){return gn})),n.d(o,"isPostLocked",(function(){return jn})),n.d(o,"isPostSavingLocked",(function(){return yn})),n.d(o,"isPostAutosavingLocked",(function(){return _n})),n.d(o,"isPostLockTakeover",(function(){return kn})),n.d(o,"getPostLockUser",(function(){return Sn})),n.d(o,"getActivePostLock",(function(){return En})),n.d(o,"canUserUseUnfilteredHTML",(function(){return Pn})),n.d(o,"isPublishSidebarEnabled",(function(){return wn})),n.d(o,"getEditorBlocks",(function(){return Cn})),n.d(o,"getEditorSelectionStart",(function(){return Tn})),n.d(o,"getEditorSelectionEnd",(function(){return Bn})),n.d(o,"__unstableIsEditorReady",(function(){return xn})),n.d(o,"getEditorSettings",(function(){return In})),n.d(o,"getBlockName",(function(){return Rn})),n.d(o,"isBlockValid",(function(){return Ln})),n.d(o,"getBlockAttributes",(function(){return Nn})),n.d(o,"getBlock",(function(){return Dn})),n.d(o,"getBlocks",(function(){return Un})),n.d(o,"__unstableGetBlockWithoutInnerBlocks",(function(){return Fn})),n.d(o,"getClientIdsOfDescendants",(function(){return Mn})),n.d(o,"getClientIdsWithDescendants",(function(){return Vn})),n.d(o,"getGlobalBlockCount",(function(){return zn})),n.d(o,"getBlocksByClientId",(function(){return Wn})),n.d(o,"getBlockCount",(function(){return Hn})),n.d(o,"getBlockSelectionStart",(function(){return Kn})),n.d(o,"getBlockSelectionEnd",(function(){return Gn})),n.d(o,"getSelectedBlockCount",(function(){return qn})),n.d(o,"hasSelectedBlock",(function(){return Qn})),n.d(o,"getSelectedBlockClientId",(function(){return Yn})),n.d(o,"getSelectedBlock",(function(){return Xn})),n.d(o,"getBlockRootClientId",(function(){return Zn})),n.d(o,"getBlockHierarchyRootClientId",(function(){return Jn})),n.d(o,"getAdjacentBlockClientId",(function(){return $n})),n.d(o,"getPreviousBlockClientId",(function(){return er})),n.d(o,"getNextBlockClientId",(function(){return tr})),n.d(o,"getSelectedBlocksInitialCaretPosition",(function(){return nr})),n.d(o,"getMultiSelectedBlockClientIds",(function(){return rr})),n.d(o,"getMultiSelectedBlocks",(function(){return or})),n.d(o,"getFirstMultiSelectedBlockClientId",(function(){return ir})),n.d(o,"getLastMultiSelectedBlockClientId",(function(){return cr})),n.d(o,"isFirstMultiSelectedBlock",(function(){return ar})),n.d(o,"isBlockMultiSelected",(function(){return sr})),n.d(o,"isAncestorMultiSelected",(function(){return ur})),n.d(o,"getMultiSelectedBlocksStartClientId",(function(){return lr})),n.d(o,"getMultiSelectedBlocksEndClientId",(function(){return dr})),n.d(o,"getBlockOrder",(function(){return pr})),n.d(o,"getBlockIndex",(function(){return br})),n.d(o,"isBlockSelected",(function(){return fr})),n.d(o,"hasSelectedInnerBlock",(function(){return hr})),n.d(o,"isBlockWithinSelection",(function(){return mr})),n.d(o,"hasMultiSelection",(function(){return vr})),n.d(o,"isMultiSelecting",(function(){return Or})),n.d(o,"isSelectionEnabled",(function(){return gr})),n.d(o,"getBlockMode",(function(){return jr})),n.d(o,"isTyping",(function(){return yr})),n.d(o,"isCaretWithinFormattedText",(function(){return _r})),n.d(o,"getBlockInsertionPoint",(function(){return kr})),n.d(o,"isBlockInsertionPointVisible",(function(){return Sr})),n.d(o,"isValidTemplate",(function(){return Er})),n.d(o,"getTemplate",(function(){return Pr})),n.d(o,"getTemplateLock",(function(){return wr})),n.d(o,"canInsertBlockType",(function(){return Cr})),n.d(o,"getInserterItems",(function(){return Tr})),n.d(o,"hasInserterItems",(function(){return Br})),n.d(o,"getBlockListSettings",(function(){return xr}));var i=n(5),c=n(11),a=n(64),s=n(43),u=(n(143),n(24)),l=n(51),d=n(6),p=n(4),b=n(39),f=n(9),h=n(32),m=n(86),v=n.n(m),O=n(2),g={insertUsage:{},isPublishSidebarEnabled:!0},j=Object(d.a)({},i.SETTINGS_DEFAULTS,{richEditingEnabled:!0,codeEditingEnabled:!0,enableCustomFields:!1});function y(e){return e&&"object"===Object(h.a)(e)&&"raw"in e?e.raw:e}var _=Object(p.combineReducers)({data:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_REUSABLE_BLOCKS":return Object(d.a)({},e,Object(O.keyBy)(t.results,"id"));case"UPDATE_REUSABLE_BLOCK":var n=t.id,r=t.changes;return Object(d.a)({},e,Object(f.a)({},n,Object(d.a)({},e[n],r)));case"SAVE_REUSABLE_BLOCK_SUCCESS":var o=t.id,i=t.updatedId;if(o===i)return e;var c=e[o];return Object(d.a)({},Object(O.omit)(e,o),Object(f.a)({},i,Object(d.a)({},c,{id:i})));case"REMOVE_REUSABLE_BLOCK":var a=t.id;return Object(O.omit)(e,a)}return e},isFetching:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_REUSABLE_BLOCKS":var n=t.id;return n?Object(d.a)({},e,Object(f.a)({},n,!0)):e;case"FETCH_REUSABLE_BLOCKS_SUCCESS":case"FETCH_REUSABLE_BLOCKS_FAILURE":var r=t.id;return Object(O.omit)(e,r)}return e},isSaving:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SAVE_REUSABLE_BLOCK":return Object(d.a)({},e,Object(f.a)({},t.id,!0));case"SAVE_REUSABLE_BLOCK_SUCCESS":case"SAVE_REUSABLE_BLOCK_FAILURE":var n=t.id;return Object(O.omit)(e,n)}return e}});var k=v()(Object(p.combineReducers)({postId: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"SETUP_EDITOR_STATE":case"RESET_POST":case"UPDATE_POST":return t.post.id}return e},postType: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"SETUP_EDITOR_STATE":case"RESET_POST":case"UPDATE_POST":return t.post.type}return e},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g;switch((arguments.length>1?arguments[1]:void 0).type){case"ENABLE_PUBLISH_SIDEBAR":return Object(d.a)({},e,{isPublishSidebarEnabled:!0});case"DISABLE_PUBLISH_SIDEBAR":return Object(d.a)({},e,{isPublishSidebarEnabled:!1})}return e},saving:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REQUEST_POST_UPDATE_START":case"REQUEST_POST_UPDATE_FINISH":return{pending:"REQUEST_POST_UPDATE_START"===t.type,options:t.options||{}}}return e},postLock:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isLocked:!1},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_POST_LOCK":return t.lock}return e},reusableBlocks:_,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(d.a)({},e,{isValid:t.isValid})}return e},postSavingLock:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"LOCK_POST_SAVING":return Object(d.a)({},e,Object(f.a)({},t.lockName,!0));case"UNLOCK_POST_SAVING":return Object(O.omit)(e,t.lockName)}return e},isReady:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"SETUP_EDITOR_STATE":return!0;case"TEAR_DOWN_EDITOR":return!1}return e},editorSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:j,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_EDITOR_SETTINGS":return Object(d.a)({},e,t.settings)}return e},postAutosavingLock:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"LOCK_POST_AUTOSAVING":return Object(d.a)({},e,Object(f.a)({},t.lockName,!0));case"UNLOCK_POST_AUTOSAVING":return Object(O.omit)(e,t.lockName)}return e}})),S=n(72),E=n.n(S),P=n(23),w=n.n(P),C=n(44),T=n(38),B=n.n(T),x=n(1),I=n(18),A=n(33),R=n.n(A),L=new Set(["meta"]),N="core/editor",D="post-update",U="SAVE_POST_NOTICE_ID",F="TRASH_POST_NOTICE_ID",M=/%(?:postname|pagename)%/,V=6e4,z=["title","excerpt","content"];function W(e){var t=e.previousPost,n=e.post,r=e.postType;if(Object(O.get)(e.options,["isAutosave"]))return[];var o,i=["publish","private","future"],c=Object(O.includes)(i,t.status),a=Object(O.includes)(i,n.status),s=Object(O.get)(r,["viewable"],!1);if(c||a?c&&!a?(o=r.labels.item_reverted_to_draft,s=!1):o=!c&&a?{publish:r.labels.item_published,private:r.labels.item_published_privately,future:r.labels.item_scheduled}[n.status]:r.labels.item_updated:o=null,o){var u=[];return s&&u.push({label:r.labels.view_item,url:n.link}),[o,{id:U,type:"snackbar",actions:u}]}return[]}function H(e){var t=e.post,n=e.edits,r=e.error;if(r&&"rest_autosave_no_changes"===r.code)return[];var o=["publish","private","future"],i=-1!==o.indexOf(t.status),c={publish:Object(x.__)("Publishing failed."),private:Object(x.__)("Publishing failed."),future:Object(x.__)("Scheduling failed.")},a=i||-1===o.indexOf(n.status)?Object(x.__)("Updating failed."):c[n.status];return r.message&&!/<\/?[^>]*>/.test(r.message)&&(a=[a,r.message].join(" ")),[a,{id:U}]}var K=n(42),G=n.n(K),q=n(70),Q=G()((function(e){1===e.length&&Object(c.isUnmodifiedDefaultBlock)(e[0])&&(e=[]);var t=Object(c.serialize)(e);return 1===e.length&&e[0].name===Object(c.getFreeformContentHandlerName)()&&(t=Object(q.removep)(t)),t}),{maxSize:1}),Y=w.a.mark(ce),X=w.a.mark(ue),Z=w.a.mark(fe),J=w.a.mark(me),$=w.a.mark(ve),ee=w.a.mark(Oe),te=w.a.mark(ge),ne=w.a.mark(je),re=w.a.mark(ye),oe=w.a.mark(_e),ie=w.a.mark(Ue);function ce(e,t,n){var r,o;return w.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return r=Object(O.has)(t,["content"])?t.content:e.content.raw,o=Object(c.parse)(r),"auto-draft"===e.status&&n&&(o=Object(c.synchronizeBlocksWithTemplate)(o,n)),i.next=6,se(e);case 6:return i.next=8,{type:"SETUP_EDITOR",post:e,edits:t,template:n};case 8:return i.next=10,Ue(o,{__unstableShouldCreateUndoLevel:!1});case 10:return i.next=12,be(e);case 12:if(!t||!Object.keys(t).some((function(n){return t[n]!==(Object(O.has)(e,[n,"raw"])?e[n].raw:e[n])}))){i.next=15;break}return i.next=15,fe(t);case 15:case"end":return i.stop()}}),Y)}function ae(){return{type:"TEAR_DOWN_EDITOR"}}function se(e){return{type:"RESET_POST",post:e}}function ue(e){var t;return w.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return R()("resetAutosave action (`core/editor` store)",{alternative:"receiveAutosaves action (`core` store)",plugin:"Gutenberg"}),n.next=3,Object(b.select)(N,"getCurrentPostId");case 3:return t=n.sent,n.next=6,Object(b.dispatch)("core","receiveAutosaves",t,e);case 6:return n.abrupt("return",{type:"__INERT__"});case 7:case"end":return n.stop()}}),X)}function le(){return{type:"REQUEST_POST_UPDATE_START",options:arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}}function de(){return{type:"REQUEST_POST_UPDATE_FINISH",options:arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}}function pe(e){return{type:"UPDATE_POST",edits:e}}function be(e){return{type:"SETUP_EDITOR_STATE",post:e}}function fe(e,t){var n,r,o;return w.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,Object(b.select)(N,"getCurrentPost");case 2:return n=i.sent,r=n.id,o=n.type,i.next=7,Object(b.dispatch)("core","editEntityRecord","postType",o,r,e,t);case 7:case"end":return i.stop()}}),Z)}function he(e){return Object(d.a)({},pe(e),{optimist:{id:D}})}function me(){var e,t,n,r,o,i,c,a=arguments;return w.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return e=a.length>0&&void 0!==a[0]?a[0]:{},s.next=3,Object(b.select)(N,"isEditedPostSaveable");case 3:if(s.sent){s.next=5;break}return s.abrupt("return");case 5:return s.next=7,Object(b.select)(N,"getEditedPostContent");case 7:if(s.t0=s.sent,t={content:s.t0},e.isAutosave){s.next=12;break}return s.next=12,Object(b.dispatch)(N,"editPost",t,{undoIgnore:!0});case 12:return s.next=14,le(e);case 14:return s.next=16,Object(b.select)(N,"getCurrentPost");case 16:return n=s.sent,s.t1=d.a,s.t2={id:n.id},s.next=21,Object(b.select)("core","getEntityRecordNonTransientEdits","postType",n.type,n.id);case 21:return s.t3=s.sent,s.t4=t,t=(0,s.t1)(s.t2,s.t3,s.t4),s.next=26,Object(b.dispatch)("core","saveEntityRecord","postType",n.type,t,e);case 26:return s.next=28,de(e);case 28:return s.next=30,Object(b.select)("core","getLastEntitySaveError","postType",n.type,n.id);case 30:if(!(r=s.sent)){s.next=38;break}if(!(o=H({post:n,edits:t,error:r})).length){s.next=36;break}return s.next=36,b.dispatch.apply(void 0,["core/notices","createErrorNotice"].concat(Object(I.a)(o)));case 36:s.next=56;break;case 38:return s.next=40,Object(b.select)(N,"getCurrentPost");case 40:return i=s.sent,s.t5=W,s.t6=n,s.t7=i,s.next=46,Object(b.select)("core","getPostType",i.type);case 46:if(s.t8=s.sent,s.t9=e,s.t10={previousPost:s.t6,post:s.t7,postType:s.t8,options:s.t9},!(c=(0,s.t5)(s.t10)).length){s.next=53;break}return s.next=53,b.dispatch.apply(void 0,["core/notices","createSuccessNotice"].concat(Object(I.a)(c)));case 53:if(e.isAutosave){s.next=56;break}return s.next=56,Object(b.dispatch)("core/block-editor","__unstableMarkLastChangeAsPersistent");case 56:case"end":return s.stop()}}),J)}function ve(){var e,t,n,r;return w.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,Object(b.select)(N,"getCurrentPost");case 2:return e=o.sent,o.next=5,Object(b.select)(N,"getCurrentPostType");case 5:return t=o.sent,o.next=8,Object(b.select)("core","getPostType",t);case 8:return n=o.sent,o.next=11,Object(b.apiFetch)({path:"/wp/v2/".concat(n.rest_base,"/").concat(e.id)+"?context=edit&_timestamp=".concat(Date.now())});case 11:return r=o.sent,o.next=14,Object(b.dispatch)(N,"resetPost",r);case 14:case"end":return o.stop()}}),$)}function Oe(){var e,t,n;return w.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,Object(b.select)(N,"getCurrentPostType");case 2:return e=r.sent,r.next=5,Object(b.select)("core","getPostType",e);case 5:return t=r.sent,r.next=8,Object(b.dispatch)("core/notices","removeNotice",F);case 8:return r.prev=8,r.next=11,Object(b.select)(N,"getCurrentPost");case 11:return n=r.sent,r.next=14,Object(b.apiFetch)({path:"/wp/v2/".concat(t.rest_base,"/").concat(n.id),method:"DELETE"});case 14:return r.next=16,Object(b.dispatch)(N,"savePost");case 16:r.next=22;break;case 18:return r.prev=18,r.t0=r.catch(8),r.next=22,b.dispatch.apply(void 0,["core/notices","createErrorNotice"].concat(Object(I.a)([(o={error:r.t0}).error.message&&"unknown_error"!==o.error.code?o.error.message:Object(x.__)("Trashing failed"),{id:F}])));case 22:case"end":return r.stop()}var o}),ee,null,[[8,18]])}function ge(e){return w.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(b.dispatch)(N,"savePost",Object(d.a)({isAutosave:!0},e));case 2:case"end":return t.stop()}}),te)}function je(){var e,t,n,r;return w.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,Object(b.select)(N,"getCurrentPost");case 2:return e=o.sent,o.next=5,Object(b.select)(N,"getEditedPostAttribute","title");case 5:return t=o.sent,o.next=8,Object(b.select)(N,"getEditedPostAttribute","content");case 8:return n=o.sent,o.next=11,Object(b.select)(N,"getEditedPostAttribute","excerpt");case 11:return r=o.sent,o.next=14,{type:"LOCAL_AUTOSAVE_SET",postId:e.id,title:t,content:n,excerpt:r};case 14:case"end":return o.stop()}}),ne)}function ye(){return w.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(b.dispatch)("core","redo");case 2:case"end":return e.stop()}}),re)}function _e(){return w.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(b.dispatch)("core","undo");case 2:case"end":return e.stop()}}),oe)}function ke(){return{type:"CREATE_UNDO_LEVEL"}}function Se(e){return{type:"UPDATE_POST_LOCK",lock:e}}function Ee(e){return{type:"FETCH_REUSABLE_BLOCKS",id:e}}function Pe(e){return{type:"RECEIVE_REUSABLE_BLOCKS",results:e}}function we(e){return{type:"SAVE_REUSABLE_BLOCK",id:e}}function Ce(e){return{type:"DELETE_REUSABLE_BLOCK",id:e}}function Te(e,t){return{type:"UPDATE_REUSABLE_BLOCK",id:e,changes:t}}function Be(e){return{type:"CONVERT_BLOCK_TO_STATIC",clientId:e}}function xe(e){return{type:"CONVERT_BLOCK_TO_REUSABLE",clientIds:Object(O.castArray)(e)}}function Ie(){return{type:"ENABLE_PUBLISH_SIDEBAR"}}function Ae(){return{type:"DISABLE_PUBLISH_SIDEBAR"}}function Re(e){return{type:"LOCK_POST_SAVING",lockName:e}}function Le(e){return{type:"UNLOCK_POST_SAVING",lockName:e}}function Ne(e){return{type:"LOCK_POST_AUTOSAVING",lockName:e}}function De(e){return{type:"UNLOCK_POST_AUTOSAVING",lockName:e}}function Ue(e){var t,n,r,o,i,c,a,s,u=arguments;return w.a.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:if(t=u.length>1&&void 0!==u[1]?u[1]:{},n=t.__unstableShouldCreateUndoLevel,r=t.selectionStart,o=t.selectionEnd,i={blocks:e,selectionStart:r,selectionEnd:o},!1===n){l.next=19;break}return l.next=6,Object(b.select)(N,"getCurrentPost");case 6:return c=l.sent,a=c.id,s=c.type,l.next=11,Object(b.select)("core","getEditedEntityRecord","postType",s,a);case 11:if(l.t0=l.sent.blocks,l.t1=i.blocks,!(l.t0===l.t1)){l.next=18;break}return l.next=17,Object(b.dispatch)("core","__unstableCreateUndoLevel","postType",s,a);case 17:return l.abrupt("return",l.sent);case 18:i.content=function(e){var t=e.blocks;return Q(void 0===t?[]:t)};case 19:return l.delegateYield(fe(i),"t2",20);case 20:case"end":return l.stop()}}),ie)}function Fe(e){return{type:"UPDATE_EDITOR_SETTINGS",settings:e}}var Me=function(e){return w.a.mark((function t(){var n,r,o,i=arguments;return w.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(R()("`wp.data.dispatch( 'core/editor' )."+e+"`",{alternative:"`wp.data.dispatch( 'core/block-editor' )."+e+"`"}),n=i.length,r=new Array(n),o=0;o1||1===r.length&&!n.postType)return!0;if(!n.postType)return!1;var o=xt(t),i=o.type,c=o.id,a=Object.keys(n.postType);if(a.length>1||1===a.length&&!n.postType[i])return!0;var s=Object.keys(n.postType[i]);return s.length>1||1===s.length&&!n.postType[i][c]}}));function Bt(e){return!Ct(e)&&Pt(e)}var xt=Object(p.createRegistrySelector)((function(e){return function(t){var n=At(t),r=It(t),o=e("core").getRawEntityRecord("postType",r,n);return o||_t}}));function It(e){return e.postType}function At(e){return e.postId}function Rt(e){return Object(O.get)(xt(e),["_links","version-history",0,"count"],0)}function Lt(e){return Object(O.get)(xt(e),["_links","predecessor-version",0,"id"],null)}var Nt=Object(p.createRegistrySelector)((function(e){return function(t){var n=It(t),r=At(t);return e("core").getEntityRecordEdits("postType",n,r)||_t}})),Dt=Object(p.createRegistrySelector)((function(e){return function(){return R()("`wp.data.select( 'core/editor' ).getReferenceByDistinctEdits`",{alternative:"`wp.data.select( 'core' ).getReferenceByDistinctEdits`"}),e("core").getReferenceByDistinctEdits()}}));function Ut(e,t){switch(t){case"type":return It(e);case"id":return At(e);default:var n=xt(e);if(!n.hasOwnProperty(t))break;return y(n[t])}}var Ft=function(e,t){var n=Nt(e);return n.hasOwnProperty(t)?Object(d.a)({},Ut(e,t),n[t]):Ut(e,t)};function Mt(e,t){switch(t){case"content":return un(e)}var n=Nt(e);return n.hasOwnProperty(t)?L.has(t)?Ft(e,t):n[t]:Ut(e,t)}var Vt=Object(p.createRegistrySelector)((function(e){return function(t,n){if(Object(O.includes)(z,n)||"preview_link"===n){var r=It(t),o=At(t),i=Object(O.get)(e("core").getCurrentUser(),["id"]),c=e("core").getAutosave(r,o,i);return c?y(c[n]):void 0}}}));function zt(e){return"private"===Mt(e,"status")?"private":Mt(e,"password")?"password":"public"}function Wt(e){return"pending"===xt(e).status}function Ht(e,t){var n=t||xt(e);return-1!==["publish","private"].indexOf(n.status)||"future"===n.status&&!Object(jt.isInTheFuture)(new Date(Number(Object(jt.getDate)(n.date))-V))}function Kt(e){return"future"===xt(e).status&&!Ht(e)}function Gt(e){var t=xt(e);return Ct(e)||-1===["publish","private","future"].indexOf(t.status)}function qt(e){return!en(e)&&(!!Mt(e,"title")||!!Mt(e,"excerpt")||!Qt(e))}function Qt(e){var t=Cn(e);if(t.length){if(t.length>1)return!1;var n=t[0].name;if(n!==Object(c.getDefaultBlockName)()&&n!==Object(c.getFreeformContentHandlerName)())return!1}return!un(e)}var Yt=Object(p.createRegistrySelector)((function(e){return function(t){if(!qt(t))return!1;if(_n(t))return!1;var n=It(t),r=At(t),o=e("core").hasFetchedAutosaves(n,r),i=Object(O.get)(e("core").getCurrentUser(),["id"]),c=e("core").getAutosave(n,r,i);return!!o&&(!c||(!!wt(t)||["title","excerpt"].some((function(e){return y(c[e])!==Mt(t,e)}))))}})),Xt=Object(p.createRegistrySelector)((function(e){return function(t){R()("`wp.data.select( 'core/editor' ).getAutosave()`",{alternative:"`wp.data.select( 'core' ).getAutosave( postType, postId, userId )`",plugin:"Gutenberg"});var n=It(t),r=At(t),o=Object(O.get)(e("core").getCurrentUser(),["id"]),i=e("core").getAutosave(n,r,o);return Object(O.mapValues)(Object(O.pick)(i,z),y)}})),Zt=Object(p.createRegistrySelector)((function(e){return function(t){R()("`wp.data.select( 'core/editor' ).hasAutosave()`",{alternative:"`!! wp.data.select( 'core' ).getAutosave( postType, postId, userId )`",plugin:"Gutenberg"});var n=It(t),r=At(t),o=Object(O.get)(e("core").getCurrentUser(),["id"]);return!!e("core").getAutosave(n,r,o)}}));function Jt(e){var t=Mt(e,"date"),n=new Date(Number(Object(jt.getDate)(t))-V);return Object(jt.isInTheFuture)(n)}function $t(e){var t=Mt(e,"date"),n=Mt(e,"modified"),r=Mt(e,"status");return("draft"===r||"auto-draft"===r||"pending"===r)&&t===n}var en=Object(p.createRegistrySelector)((function(e){return function(t){var n=It(t),r=At(t);return e("core").isSavingEntityRecord("postType",n,r)}})),tn=Object(p.createRegistrySelector)((function(e){return function(t){var n=It(t),r=At(t);return!e("core").getLastEntitySaveError("postType",n,r)}})),nn=Object(p.createRegistrySelector)((function(e){return function(t){var n=It(t),r=At(t);return!!e("core").getLastEntitySaveError("postType",n,r)}}));function rn(e){return!!en(e)&&!!Object(O.get)(e.saving,["options","isAutosave"])}function on(e){return!!en(e)&&!!e.saving.options.isPreview}function cn(e){if(!e.saving.pending&&!en(e)){var t=Vt(e,"preview_link");t||(t=Mt(e,"link"))&&(t=Object(yt.addQueryArgs)(t,{preview:!0}));var n=Mt(e,"featured_media");return t&&n?Object(yt.addQueryArgs)(t,{_thumbnail_id:n}):t}}function an(e){var t,n=Cn(e);switch(1===n.length&&(t=n[0].name),2===n.length&&"core/paragraph"===n[1].name&&(t=n[0].name),t){case"core/image":return"image";case"core/quote":case"core/pullquote":return"quote";case"core/gallery":return"gallery";case"core/video":case"core-embed/youtube":case"core-embed/vimeo":return"video";case"core/audio":case"core-embed/spotify":case"core-embed/soundcloud":return"audio"}return null}function sn(e){R()("`core/editor` getBlocksForSerialization selector",{plugin:"Gutenberg",alternative:"getEditorBlocks",hint:"Blocks serialization pre-processing occurs at save time"});var t=e.editor.present.blocks.value;return 1===t.length&&Object(c.isUnmodifiedDefaultBlock)(t[0])?[]:t}var un=Object(p.createRegistrySelector)((function(e){return function(t){var n=At(t),r=It(t),o=e("core").getEditedEntityRecord("postType",r,n);if(o){if("function"==typeof o.content)return o.content(o);if(o.blocks)return Q(o.blocks);if(o.content)return o.content}return""}})),ln=Object(gt.a)((function(e,t){var n=e.reusableBlocks.data[t];if(!n)return null;var r=isNaN(parseInt(t));return Object(d.a)({},n,{id:r?t:+t,isTemporary:r})}),(function(e,t){return[e.reusableBlocks.data[t]]}));function dn(e,t){return e.reusableBlocks.isSaving[t]||!1}function pn(e,t){return!!e.reusableBlocks.isFetching[t]}var bn=Object(gt.a)((function(e){return Object(O.map)(e.reusableBlocks.data,(function(t,n){return ln(e,n)}))}),(function(e){return[e.reusableBlocks.data]}));function fn(e,t){var n=Object(O.find)(e.optimist,(function(e){return e.beforeState&&Object(O.get)(e.action,["optimist","id"])===t}));return n?n.beforeState:null}function hn(e){if(!en(e))return!1;if(!Ht(e))return!1;var t=fn(e,D);return!!t&&!Ht(null,t.currentPost)}function mn(e){var t=Mt(e,"permalink_template");return M.test(t)}function vn(e){var t=On(e);if(!t)return null;var n=t.prefix,r=t.postName,o=t.suffix;return mn(e)?n+r+o:n}function On(e){var t=Mt(e,"permalink_template");if(!t)return null;var n=Mt(e,"slug")||Mt(e,"generated_slug"),r=t.split(M),o=Object(Ot.a)(r,2);return{prefix:o[0],postName:n,suffix:o[1]}}function gn(e,t){var n=e.optimist;return!!n&&n.some((function(e){var n=e.beforeState;return n&&t(n)}))}function jn(e){return e.postLock.isLocked}function yn(e){return Object.keys(e.postSavingLock).length>0}function _n(e){return Object.keys(e.postAutosavingLock).length>0}function kn(e){return e.postLock.isTakeover}function Sn(e){return e.postLock.user}function En(e){return e.postLock.activePostLock}function Pn(e){return Object(O.has)(xt(e),["_links","wp:action-unfiltered-html"])}function wn(e){return e.preferences.hasOwnProperty("isPublishSidebarEnabled")?e.preferences.isPublishSidebarEnabled:g.isPublishSidebarEnabled}function Cn(e){return Mt(e,"blocks")||kt}function Tn(e){return Mt(e,"selectionStart")}function Bn(e){return Mt(e,"selectionEnd")}function xn(e){return e.isReady}function In(e){return e.editorSettings}function An(e){return Object(p.createRegistrySelector)((function(t){return function(n){var r;R()("`wp.data.select( 'core/editor' )."+e+"`",{alternative:"`wp.data.select( 'core/block-editor' )."+e+"`"});for(var o=arguments.length,i=new Array(o>1?o-1:0),c=1;c0&&void 0!==arguments[0]?arguments[0]:{},t=e.getBlockInsertionParentClientId,n=void 0===t?Qr:t,r=e.getInserterItems,o=void 0===r?Yr:r,a=e.getSelectedBlockName,s=void 0===a?Xr:a;return{name:"blocks",className:"editor-autocompleters__block",triggerPrefix:"/",options:function(){Zr();var e=s();return o(n()).filter((function(t){return e!==t.name}))},getOptionKeywords:function(e){var t=e.title,n=e.keywords,r=void 0===n?[]:n;return[e.category].concat(Object(I.a)(r),[t])},getOptionLabel:function(e){var t=e.icon,n=e.title;return[Object(Hr.createElement)(i.BlockIcon,{key:"icon",icon:t,showColors:!0}),n]},allowContext:function(e,t){return!(/\S/.test(e)||/\S/.test(t))},getOptionCompletion:function(e){var t=e.name,n=e.initialAttributes;return{action:"replace",value:Object(c.createBlock)(t,n)}},isOptionDisabled:function(e){return e.isDisabled}}}(),$r={name:"users",className:"editor-autocompleters__user",triggerPrefix:"@",options:function(e){var t="";return e&&(t="?search="+encodeURIComponent(e)),B()({path:"/wp/v2/users"+t})},isDebounced:!0,getOptionKeywords:function(e){return[e.slug,e.name]},getOptionLabel:function(e){return[Object(Hr.createElement)("img",{key:"avatar",className:"editor-autocompleters__user-avatar",alt:"",src:e.avatar_urls[24]}),Object(Hr.createElement)("span",{key:"name",className:"editor-autocompleters__user-name"},e.name),Object(Hr.createElement)("span",{key:"slug",className:"editor-autocompleters__user-slug"},e.slug)]},getOptionCompletion:function(e){return"@".concat(e.slug)}},eo=n(14),to=n(13),no=n(15),ro=n(16),oo=n(17),io=function(e){function t(){return Object(eo.a)(this,t),Object(no.a)(this,Object(ro.a)(t).apply(this,arguments))}return Object(oo.a)(t,e),Object(to.a)(t,[{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDirty,r=t.editsReference,o=t.isAutosaveable,i=t.isAutosaving;r!==e.editsReference&&(this.didAutosaveForEditsReference=!1),!i&&e.isAutosaving&&(this.didAutosaveForEditsReference=!0),e.isDirty===n&&e.isAutosaveable===o&&e.editsReference===r||this.toggleTimer(n&&o&&!this.didAutosaveForEditsReference)}},{key:"componentWillUnmount",value:function(){this.toggleTimer(!1)}},{key:"toggleTimer",value:function(e){var t=this,n=this.props,r=n.interval,o=n.shouldThrottle,i=void 0!==o&&o;!i&&this.pendingSave&&(clearTimeout(this.pendingSave),delete this.pendingSave),!e||i&&this.pendingSave||(this.pendingSave=setTimeout((function(){t.props.autosave(),delete t.pendingSave}),1e3*r))}},{key:"render",value:function(){return null}}]),t}(Hr.Component),co=Object(Kr.compose)([Object(p.withSelect)((function(e,t){var n=e("core").getReferenceByDistinctEdits,r=e("core/editor"),o=r.isEditedPostDirty,i=r.isEditedPostAutosaveable,c=r.isAutosavingPost,a=r.getEditorSettings,s=t.interval,u=void 0===s?a().autosaveInterval:s;return{isDirty:o(),isAutosaveable:i(),editsReference:n(),isAutosaving:c(),interval:u}})),Object(p.withDispatch)((function(e,t){return{autosave:function(){var n=t.autosave,r=void 0===n?e("core/editor").autosave:n;r()}}}))])(io),ao=n(10),so=n.n(ao),uo=function(e){var t=e.children,n=e.isValid,r=e.level,o=e.path,c=void 0===o?[]:o,a=e.href,s=e.onSelect;return Object(Hr.createElement)("li",{className:so()("document-outline__item","is-".concat(r.toLowerCase()),{"is-invalid":!n})},Object(Hr.createElement)("a",{href:a,className:"document-outline__button",onClick:s},Object(Hr.createElement)("span",{className:"document-outline__emdash","aria-hidden":"true"}),c.map((function(e,t){var n=e.clientId;return Object(Hr.createElement)("strong",{key:t,className:"document-outline__level"},Object(Hr.createElement)(i.BlockTitle,{clientId:n}))})),Object(Hr.createElement)("strong",{className:"document-outline__level"},r),Object(Hr.createElement)("span",{className:"document-outline__item-content"},t)))},lo=Object(Hr.createElement)("em",null,Object(x.__)("(Empty heading)")),po=[Object(Hr.createElement)("br",{key:"incorrect-break"}),Object(Hr.createElement)("em",{key:"incorrect-message"},Object(x.__)("(Incorrect heading level)"))],bo=[Object(Hr.createElement)("br",{key:"incorrect-break-h1"}),Object(Hr.createElement)("em",{key:"incorrect-message-h1"},Object(x.__)("(Your theme may already use a H1 for the post title)"))],fo=[Object(Hr.createElement)("br",{key:"incorrect-break-multiple-h1"}),Object(Hr.createElement)("em",{key:"incorrect-message-multiple-h1"},Object(x.__)("(Multiple H1 headings are not recommended)"))],ho=function(e){return!e.attributes.content||0===e.attributes.content.length},mo=Object(Kr.compose)(Object(p.withSelect)((function(e){var t=e("core/block-editor").getBlocks,n=e("core/editor").getEditedPostAttribute,r=(0,e("core").getPostType)(n("type"));return{title:n("title"),blocks:t(),isTitleSupported:Object(O.get)(r,["supports","title"],!1)}})))((function(e){var t=e.blocks,n=void 0===t?[]:t,r=e.title,o=e.onSelect,i=e.isTitleSupported,c=e.hasOutlineItemsDisabled,a=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Object(O.flatMap)(t,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"core/heading"===t.name?Object(d.a)({},t,{path:n,level:t.attributes.level,isEmpty:ho(t)}):e(t.innerBlocks,[].concat(Object(I.a)(n),[t]))}))}(n);if(a.length<1)return null;var s=1,l=document.querySelector(".editor-post-title__input"),p=i&&r&&l,b=Object(O.countBy)(a,"level")[1]>1;return Object(Hr.createElement)("div",{className:"document-outline"},Object(Hr.createElement)("ul",null,p&&Object(Hr.createElement)(uo,{level:Object(x.__)("Title"),isValid:!0,onSelect:o,href:"#".concat(l.id),isDisabled:c},r),a.map((function(e,t){var n=e.level>s+1,r=!(e.isEmpty||n||!e.level||1===e.level&&(b||p));return s=e.level,Object(Hr.createElement)(uo,{key:t,level:"H".concat(e.level),isValid:r,path:e.path,isDisabled:c,href:"#block-".concat(e.clientId),onSelect:o},e.isEmpty?lo:Object(u.getTextContent)(Object(u.create)({html:e.attributes.content})),n&&po,1===e.level&&b&&fo,p&&1===e.level&&!b&&bo)}))))}));var vo=Object(p.withSelect)((function(e){return{blocks:e("core/block-editor").getBlocks()}}))((function(e){var t=e.blocks,n=e.children;return Object(O.filter)(t,(function(e){return"core/heading"===e.name})).length<1?null:n}));var Oo=function(){var e=Object(p.useDispatch)("core/editor").savePost,t=Object(p.useSelect)((function(e){return e("core/editor").isEditedPostDirty}),[]);return Object(s.useShortcut)("core/editor/save",(function(n){n.preventDefault(),t()&&e()}),{bindGlobal:!0}),null};function go(){var e=Object(p.useDispatch)("core/editor"),t=e.redo,n=e.undo,r=e.savePost,o=Object(p.useSelect)((function(e){return e("core/editor").isEditedPostDirty}),[]);return Object(s.useShortcut)("core/editor/undo",(function(e){n(),e.preventDefault()}),{bindGlobal:!0}),Object(s.useShortcut)("core/editor/redo",(function(e){t(),e.preventDefault()}),{bindGlobal:!0}),Object(s.useShortcut)("core/editor/save",(function(e){e.preventDefault(),o()&&r()}),{bindGlobal:!0}),Object(Hr.createElement)(Hr.Fragment,null,Object(Hr.createElement)(i.BlockEditorKeyboardShortcuts,null),Object(Hr.createElement)(Oo,null))}var jo=go;function yo(){return R()("EditorGlobalKeyboardShortcuts",{alternative:"VisualEditorGlobalKeyboardShortcuts",plugin:"Gutenberg"}),Object(Hr.createElement)(go,null)}function _o(){return Object(Hr.createElement)(Oo,null)}var ko=function(){var e=Object(p.useDispatch)("core/keyboard-shortcuts").registerShortcut;return Object(Hr.useEffect)((function(){e({name:"core/editor/save",category:"global",description:Object(x.__)("Save your changes."),keyCombination:{modifier:"primary",character:"s"}}),e({name:"core/editor/undo",category:"global",description:Object(x.__)("Undo your last changes."),keyCombination:{modifier:"primary",character:"z"}}),e({name:"core/editor/redo",category:"global",description:Object(x.__)("Redo your last undo."),keyCombination:{modifier:"primaryShift",character:"z"}})}),[e]),Object(Hr.createElement)(i.BlockEditorKeyboardShortcuts.Register,null)},So=n(3),Eo=n(19);var Po=Object(Kr.compose)([Object(p.withSelect)((function(e){return{hasRedo:e("core/editor").hasEditorRedo()}})),Object(p.withDispatch)((function(e){return{redo:e("core/editor").redo}}))])((function(e){var t=e.hasRedo,n=e.redo;return Object(Hr.createElement)(So.Button,{icon:"redo",label:Object(x.__)("Redo"),shortcut:Eo.displayShortcut.primaryShift("z"),"aria-disabled":!t,onClick:t?n:void 0,className:"editor-history__redo"})}));var wo=Object(Kr.compose)([Object(p.withSelect)((function(e){return{hasUndo:e("core/editor").hasEditorUndo()}})),Object(p.withDispatch)((function(e){return{undo:e("core/editor").undo}}))])((function(e){var t=e.hasUndo,n=e.undo;return Object(Hr.createElement)(So.Button,{icon:"undo",label:Object(x.__)("Undo"),shortcut:Eo.displayShortcut.primary("z"),"aria-disabled":!t,onClick:t?n:void 0,className:"editor-history__undo"})}));var Co=Object(Kr.compose)([Object(p.withSelect)((function(e){return{isValid:e("core/block-editor").isValidTemplate()}})),Object(p.withDispatch)((function(e){var t=e("core/block-editor"),n=t.setTemplateValidity;return{resetTemplateValidity:function(){return n(!0)},synchronizeTemplate:t.synchronizeTemplate}}))])((function(e){var t=e.isValid,n=Object(Wr.a)(e,["isValid"]);return t?null:Object(Hr.createElement)(So.Notice,{className:"editor-template-validation-notice",isDismissible:!1,status:"warning"},Object(Hr.createElement)("p",null,Object(x.__)("The content of your post doesn’t match the template assigned to your post type.")),Object(Hr.createElement)("div",null,Object(Hr.createElement)(So.Button,{isSecondary:!0,onClick:n.resetTemplateValidity},Object(x.__)("Keep it as is")),Object(Hr.createElement)(So.Button,{onClick:function(){window.confirm(Object(x.__)("Resetting the template may result in loss of content, do you want to continue?"))&&n.synchronizeTemplate()},isPrimary:!0},Object(x.__)("Reset the template"))))}));var To=Object(Kr.compose)([Object(p.withSelect)((function(e){return{notices:e("core/notices").getNotices()}})),Object(p.withDispatch)((function(e){return{onRemove:e("core/notices").removeNotice}}))])((function(e){var t=e.notices,n=e.onRemove,r=Object(O.filter)(t,{isDismissible:!0,type:"default"}),o=Object(O.filter)(t,{isDismissible:!1,type:"default"}),i=Object(O.filter)(t,{type:"snackbar"});return Object(Hr.createElement)(Hr.Fragment,null,Object(Hr.createElement)(So.NoticeList,{notices:o,className:"components-editor-notices__pinned"}),Object(Hr.createElement)(So.NoticeList,{notices:r,className:"components-editor-notices__dismissible",onRemove:n},Object(Hr.createElement)(Co,null)),Object(Hr.createElement)(So.SnackbarList,{notices:i,className:"components-editor-notices__snackbar",onRemove:n}))})),Bo=n(57),xo=n.n(Bo),Io=function(e){var t=e.id,n=e.name,r=e.changes.rawRecord,o=e.checked,i=e.setCheckedById;return Object(Hr.createElement)(So.CheckboxControl,{label:"".concat(Object(O.startCase)(n),': "').concat(r.title||r.name||Object(x.__)("Untitled"),'"'),checked:o,onChange:function(e){return i(t,e)}})};function Ao(e){var t=e.isOpen,n=e.onRequestClose,r=e.ignoredForSave,o=void 0===r?new xo.a:r,i=Object(p.useSelect)((function(e){return e("core").getEntityRecordChangesByRecord()})),c=Object(p.useDispatch)("core").saveEditedEntityRecord,a=Object(Hr.useState)((function(){return new xo.a})),s=Object(Ot.a)(a,2),u=s[0],l=s[1],d=function(e,t){return l((function(n){var r=new xo.a(n);return t?r.set(e,!0):r.delete(e),r}))};return t&&Object(Hr.createElement)(So.Modal,{title:Object(x.__)("What do you want to save?"),onRequestClose:function(){return n()},contentLabel:Object(x.__)("Select items to save.")},Object.keys(i).map((function(e){return Object.keys(i[e]).map((function(t){return Object.keys(i[e][t]).map((function(n){var r=[e,t,n];return Object(Hr.createElement)(Io,{key:r.join(" | "),id:r,name:t,changes:i[e][t][n],checked:u.get(r),setCheckedById:d})}))}))})),Object(Hr.createElement)(So.Button,{isPrimary:!0,disabled:0===u.size,onClick:function(){u.forEach((function(e,t){o.has(t)||c.apply(void 0,Object(I.a)(t.filter((function(e,n){return n!==t.length-1||"undefined"!==e}))))})),n(u)},className:"editor-entities-saved-states__save-button"},Object(x.__)("Save")))}var Ro=n(7),Lo=function(e){function t(){var e;return Object(eo.a)(this,t),(e=Object(no.a)(this,Object(ro.a)(t).apply(this,arguments))).reboot=e.reboot.bind(Object(Ro.a)(e)),e.getContent=e.getContent.bind(Object(Ro.a)(e)),e.state={error:null},e}return Object(oo.a)(t,e),Object(to.a)(t,[{key:"componentDidCatch",value:function(e){this.setState({error:e})}},{key:"reboot",value:function(){this.props.onError()}},{key:"getContent",value:function(){try{return Object(p.select)("core/editor").getEditedPostContent()}catch(e){}}},{key:"render",value:function(){var e=this.state.error;return e?Object(Hr.createElement)(i.Warning,{className:"editor-error-boundary",actions:[Object(Hr.createElement)(So.Button,{key:"recovery",onClick:this.reboot,isSecondary:!0},Object(x.__)("Attempt Recovery")),Object(Hr.createElement)(So.ClipboardButton,{key:"copy-post",text:this.getContent,isSecondary:!0},Object(x.__)("Copy Post Text")),Object(Hr.createElement)(So.ClipboardButton,{key:"copy-error",text:e.stack,isSecondary:!0},Object(x.__)("Copy Error"))]},Object(x.__)("The editor has encountered an unexpected error.")):this.props.children}}]),t}(Hr.Component),No=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,Do=Object(O.once)((function(){try{return window.sessionStorage.setItem("__wpEditorTestSessionStorage",""),window.sessionStorage.removeItem("__wpEditorTestSessionStorage"),!0}catch(e){return!1}}));function Uo(){var e=Object(p.useSelect)((function(e){return{postId:e("core/editor").getCurrentPostId(),getEditedPostAttribute:e("core/editor").getEditedPostAttribute,hasRemoteAutosave:!!e("core/editor").getEditorSettings().autosave}}),[]),t=e.postId,n=e.getEditedPostAttribute,r=e.hasRemoteAutosave,o=Object(p.useDispatch)("core/notices"),i=o.createWarningNotice,a=o.removeNotice,s=Object(p.useDispatch)("core/editor"),u=s.editPost,l=s.resetEditorBlocks;Object(Hr.useEffect)((function(){var e=function(e){return window.sessionStorage.getItem(Dr(e))}(t);if(e){try{e=JSON.parse(e)}catch(e){return}var o=e,s={title:o.post_title,content:o.content,excerpt:o.excerpt};if(Object.keys(s).some((function(e){return s[e]!==n(e)}))){if(!r){var d=Object(O.uniqueId)("wpEditorAutosaveRestore");i(Object(x.__)("The backup of this post in your browser is different from the version below."),{id:d,actions:[{label:Object(x.__)("Restore the backup"),onClick:function(){u(Object(O.omit)(s,["content"])),l(Object(c.parse)(s.content)),a(d)}}]})}}else Ur(t)}}),[t])}var Fo=Object(Kr.ifCondition)(Do)((function(){var e,t,n,r,o,i,c,a=Object(p.useDispatch)("core/editor").__experimentalLocalAutosave,s=Object(Hr.useCallback)((function(){No(a)}),[]);Uo(),e=Object(p.useSelect)((function(e){return{postId:e("core/editor").getCurrentPostId(),isDirty:e("core/editor").isEditedPostDirty(),isAutosaving:e("core/editor").isAutosavingPost(),didError:e("core/editor").didPostSaveRequestFail()}}),[]),t=e.postId,n=e.isDirty,r=e.isAutosaving,o=e.didError,i=Object(Hr.useRef)(n),c=Object(Hr.useRef)(r),Object(Hr.useEffect)((function(){!o&&(c.current&&!r||i.current&&!n)&&Ur(t),i.current=n,c.current=r}),[n,r,o]);var u=Object(p.useSelect)((function(e){return{localAutosaveInterval:e("core/editor").getEditorSettings().__experimentalLocalAutosaveInterval}}),[]).localAutosaveInterval;return Object(Hr.createElement)(co,{interval:u,autosave:s,shouldThrottle:!0})}));var Mo=Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getEditorSettings,o=e("core").getPostType,i=r().availableTemplates;return{postType:o(n("type")),availableTemplates:i}}))((function(e){var t=e.availableTemplates,n=e.postType,r=e.children;return!Object(O.get)(n,["supports","page-attributes"],!1)&&Object(O.isEmpty)(t)?null:r}));var Vo=Object(p.withSelect)((function(e){var t=e("core/editor").getEditedPostAttribute;return{postType:(0,e("core").getPostType)(t("type"))}}))((function(e){var t=e.postType,n=e.children,r=e.supportKeys,o=!0;return t&&(o=Object(O.some)(Object(O.castArray)(r),(function(e){return!!t.supports[e]}))),o?n:null})),zo=Object(Kr.withState)({orderInput:null})((function(e){var t=e.onUpdateOrder,n=e.order,r=void 0===n?0:n,o=e.orderInput,i=e.setState,c=null===o?r:o;return Object(Hr.createElement)(So.TextControl,{className:"editor-page-attributes__order",type:"number",label:Object(x.__)("Order"),value:c,onChange:function(e){i({orderInput:e});var n=Number(e);Number.isInteger(n)&&""!==Object(O.invoke)(e,["trim"])&&t(Number(e))},size:6,onBlur:function(){i({orderInput:null})}})}));var Wo=Object(Kr.compose)([Object(p.withSelect)((function(e){return{order:e("core/editor").getEditedPostAttribute("menu_order")}})),Object(p.withDispatch)((function(e){return{onUpdateOrder:function(t){e("core/editor").editPost({menu_order:t})}}}))])((function(e){return Object(Hr.createElement)(Vo,{supportKeys:"page-attributes"},Object(Hr.createElement)(zo,e))}));function Ho(e){var t=e.map((function(e){return Object(d.a)({children:[],parent:null},e)})),n=Object(O.groupBy)(t,"parent");if(n.null&&n.null.length)return t;return function e(t){return t.map((function(t){var r=n[t.id];return Object(d.a)({},t,{children:r&&r.length?e(r):[]})}))}(n[0]||[])}var Ko=Object(p.withSelect)((function(e){var t=e("core"),n=t.getPostType,r=t.getEntityRecords,o=e("core/editor"),i=o.getCurrentPostId,c=o.getEditedPostAttribute,a=c("type"),s=n(a),u=i(),l=Object(O.get)(s,["hierarchical"],!1),d={per_page:-1,exclude:u,parent_exclude:u,orderby:"menu_order",order:"asc"};return{parent:c("parent"),items:l?r("postType",a,d):[],postType:s}})),Go=Object(p.withDispatch)((function(e){var t=e("core/editor").editPost;return{onUpdateParent:function(e){t({parent:e||0})}}})),qo=Object(Kr.compose)([Ko,Go])((function(e){var t=e.parent,n=e.postType,r=e.items,o=e.onUpdateParent,i=Object(O.get)(n,["hierarchical"],!1),c=Object(O.get)(n,["labels","parent_item_colon"]),a=r||[];if(!i||!c||!a.length)return null;var s=Ho(a.map((function(e){return{id:e.id,parent:e.parent,name:e.title.raw?e.title.raw:"#".concat(e.id," (").concat(Object(x.__)("no title"),")")}})));return Object(Hr.createElement)(So.TreeSelect,{className:"editor-page-attributes__parent",label:c,noOptionLabel:"(".concat(Object(x.__)("no parent"),")"),tree:s,selectedId:t,onChange:o})}));var Qo=Object(Kr.compose)(Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=(0,t.getEditorSettings)().availableTemplates;return{selectedTemplate:n("template"),availableTemplates:r}})),Object(p.withDispatch)((function(e){return{onUpdate:function(t){e("core/editor").editPost({template:t||""})}}})))((function(e){var t=e.availableTemplates,n=e.selectedTemplate,r=e.onUpdate;return Object(O.isEmpty)(t)?null:Object(Hr.createElement)(So.SelectControl,{label:Object(x.__)("Template:"),value:n,onChange:r,className:"editor-page-attributes__template",options:Object(O.map)(t,(function(e,t){return{value:t,label:e}}))})})),Yo=n(54);var Xo=Object(Kr.compose)([Object(p.withSelect)((function(e){var t=e("core/editor").getCurrentPost();return{hasAssignAuthorAction:Object(O.get)(t,["_links","wp:action-assign-author"],!1),postType:e("core/editor").getCurrentPostType(),authors:e("core").getAuthors()}})),Kr.withInstanceId])((function(e){var t=e.hasAssignAuthorAction,n=e.authors,r=e.children;return!t||n.length<2?null:Object(Hr.createElement)(Vo,{supportKeys:"author"},r)})),Zo=function(e){function t(){var e;return Object(eo.a)(this,t),(e=Object(no.a)(this,Object(ro.a)(t).apply(this,arguments))).setAuthorId=e.setAuthorId.bind(Object(Ro.a)(e)),e}return Object(oo.a)(t,e),Object(to.a)(t,[{key:"setAuthorId",value:function(e){var t=this.props.onUpdateAuthor,n=e.target.value;t(Number(n))}},{key:"render",value:function(){var e=this.props,t=e.postAuthor,n=e.instanceId,r=e.authors,o="post-author-selector-"+n;return Object(Hr.createElement)(Xo,null,Object(Hr.createElement)("label",{htmlFor:o},Object(x.__)("Author")),Object(Hr.createElement)("select",{id:o,value:t,onChange:this.setAuthorId,className:"editor-post-author__select"},r.map((function(e){return Object(Hr.createElement)("option",{key:e.id,value:e.id},Object(Yo.decodeEntities)(e.name))}))))}}]),t}(Hr.Component),Jo=Object(Kr.compose)([Object(p.withSelect)((function(e){return{postAuthor:e("core/editor").getEditedPostAttribute("author"),authors:e("core").getAuthors()}})),Object(p.withDispatch)((function(e){return{onUpdateAuthor:function(t){e("core/editor").editPost({author:t})}}})),Kr.withInstanceId])(Zo);var $o=Object(Kr.compose)([Object(p.withSelect)((function(e){return{commentStatus:e("core/editor").getEditedPostAttribute("comment_status")}})),Object(p.withDispatch)((function(e){return{editPost:e("core/editor").editPost}}))])((function(e){var t=e.commentStatus,n=void 0===t?"open":t,r=Object(Wr.a)(e,["commentStatus"]);return Object(Hr.createElement)(So.CheckboxControl,{label:Object(x.__)("Allow comments"),checked:"open"===n,onChange:function(){return r.editPost({comment_status:"open"===n?"closed":"open"})}})}));var ei=Object(Kr.compose)([Object(p.withSelect)((function(e){return{excerpt:e("core/editor").getEditedPostAttribute("excerpt")}})),Object(p.withDispatch)((function(e){return{onUpdateExcerpt:function(t){e("core/editor").editPost({excerpt:t})}}}))])((function(e){var t=e.excerpt,n=e.onUpdateExcerpt;return Object(Hr.createElement)("div",{className:"editor-post-excerpt"},Object(Hr.createElement)(So.TextareaControl,{label:Object(x.__)("Write an excerpt (optional)"),className:"editor-post-excerpt__textarea",onChange:function(e){return n(e)},value:t}),Object(Hr.createElement)(So.ExternalLink,{href:Object(x.__)("https://wordpress.org/support/article/excerpt/")},Object(x.__)("Learn more about manual excerpts")))}));var ti=function(e){return Object(Hr.createElement)(Vo,Object(zr.a)({},e,{supportKeys:"excerpt"}))};var ni=Object(p.withSelect)((function(e){var t=e("core").getThemeSupports;return{postType:(0,e("core/editor").getEditedPostAttribute)("type"),themeSupports:t()}}))((function(e){var t=e.themeSupports,n=e.children,r=e.postType,o=e.supportKeys;return Object(O.some)(Object(O.castArray)(o),(function(e){var n=Object(O.get)(t,[e],!1);return"post-thumbnails"===e&&Object(O.isArray)(n)?Object(O.includes)(n,r):n}))?n:null}));var ri=function(e){return Object(Hr.createElement)(ni,{supportKeys:"post-thumbnails"},Object(Hr.createElement)(Vo,Object(zr.a)({},e,{supportKeys:"thumbnail"})))},oi=["image"],ii=Object(x.__)("Featured image"),ci=Object(x.__)("Set featured image"),ai=Object(x.__)("Remove image");var si=Object(p.withSelect)((function(e){var t=e("core"),n=t.getMedia,r=t.getPostType,o=e("core/editor"),i=o.getCurrentPostId,c=o.getEditedPostAttribute,a=c("featured_media");return{media:a?n(a):null,currentPostId:i(),postType:r(c("type")),featuredImageId:a}})),ui=Object(p.withDispatch)((function(e,t,n){var r=t.noticeOperations,o=n.select,i=e("core/editor").editPost;return{onUpdateImage:function(e){i({featured_media:e.id})},onDropImage:function(e){o("core/block-editor").getSettings().mediaUpload({allowedTypes:["image"],filesList:e,onFileChange:function(e){var t=Object(Ot.a)(e,1)[0];i({featured_media:t.id})},onError:function(e){r.removeAllNotices(),r.createErrorNotice(e)}})},onRemoveImage:function(){i({featured_media:0})}}})),li=Object(Kr.compose)(So.withNotices,si,ui,Object(So.withFilters)("editor.PostFeaturedImage"))((function(e){var t,n,r,o=e.currentPostId,c=e.featuredImageId,a=e.onUpdateImage,s=e.onDropImage,u=e.onRemoveImage,l=e.media,d=e.postType,p=e.noticeUI,b=Object(O.get)(d,["labels"],{}),f=Object(Hr.createElement)("p",null,Object(x.__)("To edit the featured image, you need permission to upload media."));if(l){var h=Object(Gr.applyFilters)("editor.PostFeaturedImage.imageSize","post-thumbnail",l.id,o);if(Object(O.has)(l,["media_details","sizes",h]))t=l.media_details.sizes[h].width,n=l.media_details.sizes[h].height,r=l.media_details.sizes[h].source_url;else{var m=Object(Gr.applyFilters)("editor.PostFeaturedImage.imageSize","thumbnail",l.id,o);Object(O.has)(l,["media_details","sizes",m])?(t=l.media_details.sizes[m].width,n=l.media_details.sizes[m].height,r=l.media_details.sizes[m].source_url):(t=l.media_details.width,n=l.media_details.height,r=l.source_url)}}return Object(Hr.createElement)(ri,null,p,Object(Hr.createElement)("div",{className:"editor-post-featured-image"},Object(Hr.createElement)(i.MediaUploadCheck,{fallback:f},Object(Hr.createElement)(i.MediaUpload,{title:b.featured_image||ii,onSelect:a,unstableFeaturedImageFlow:!0,allowedTypes:oi,modalClass:"editor-post-featured-image__media-modal",render:function(e){var o=e.open;return Object(Hr.createElement)("div",{className:"editor-post-featured-image__container"},Object(Hr.createElement)(So.Button,{className:c?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:o,"aria-label":c?Object(x.__)("Edit or update the image"):null},!!c&&l&&Object(Hr.createElement)(So.ResponsiveWrapper,{naturalWidth:t,naturalHeight:n,isInline:!0},Object(Hr.createElement)("img",{src:r,alt:""})),!!c&&!l&&Object(Hr.createElement)(So.Spinner,null),!c&&(b.set_featured_image||ci)),Object(Hr.createElement)(So.DropZone,{onFilesDrop:s}))},value:c})),!!c&&l&&!l.isLoading&&Object(Hr.createElement)(i.MediaUploadCheck,null,Object(Hr.createElement)(i.MediaUpload,{title:b.featured_image||ii,onSelect:a,unstableFeaturedImageFlow:!0,allowedTypes:oi,modalClass:"editor-post-featured-image__media-modal",render:function(e){var t=e.open;return Object(Hr.createElement)(So.Button,{onClick:t,isSecondary:!0},Object(x.__)("Replace Image"))}})),!!c&&Object(Hr.createElement)(i.MediaUploadCheck,null,Object(Hr.createElement)(So.Button,{onClick:u,isLink:!0,isDestructive:!0},b.remove_featured_image||ai))))}));var di=Object(p.withSelect)((function(e){return{disablePostFormats:e("core/editor").getEditorSettings().disablePostFormats}}))((function(e){var t=e.disablePostFormats,n=Object(Wr.a)(e,["disablePostFormats"]);return!t&&Object(Hr.createElement)(Vo,Object(zr.a)({},n,{supportKeys:"post-formats"}))})),pi=[{id:"aside",caption:Object(x.__)("Aside")},{id:"gallery",caption:Object(x.__)("Gallery")},{id:"link",caption:Object(x.__)("Link")},{id:"image",caption:Object(x.__)("Image")},{id:"quote",caption:Object(x.__)("Quote")},{id:"standard",caption:Object(x.__)("Standard")},{id:"status",caption:Object(x.__)("Status")},{id:"video",caption:Object(x.__)("Video")},{id:"audio",caption:Object(x.__)("Audio")},{id:"chat",caption:Object(x.__)("Chat")}];var bi=Object(Kr.compose)([Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getSuggestedPostFormat,o=n("format"),i=e("core").getThemeSupports();return{postFormat:o,supportedFormats:Object(O.union)([o],Object(O.get)(i,["formats"],[])),suggestedFormat:r()}})),Object(p.withDispatch)((function(e){return{onUpdatePostFormat:function(t){e("core/editor").editPost({format:t})}}})),Kr.withInstanceId])((function(e){var t=e.onUpdatePostFormat,n=e.postFormat,r=void 0===n?"standard":n,o=e.supportedFormats,i=e.suggestedFormat,c="post-format-selector-"+e.instanceId,a=pi.filter((function(e){return Object(O.includes)(o,e.id)})),s=Object(O.find)(a,(function(e){return e.id===i}));return Object(Hr.createElement)(di,null,Object(Hr.createElement)("div",{className:"editor-post-format"},Object(Hr.createElement)("div",{className:"editor-post-format__content"},Object(Hr.createElement)("label",{htmlFor:c},Object(x.__)("Post Format")),Object(Hr.createElement)(So.SelectControl,{value:r,onChange:function(e){return t(e)},id:c,options:a.map((function(e){return{label:e.caption,value:e.id}}))})),s&&s.id!==r&&Object(Hr.createElement)("div",{className:"editor-post-format__suggestion"},Object(x.__)("Suggestion:")," ",Object(Hr.createElement)(So.Button,{isLink:!0,onClick:function(){return t(s.id)}},s.caption))))}));var fi=Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.getCurrentPostLastRevisionId,r=t.getCurrentPostRevisionsCount;return{lastRevisionId:n(),revisionsCount:r()}}))((function(e){var t=e.lastRevisionId,n=e.revisionsCount,r=e.children;return!t||n<2?null:Object(Hr.createElement)(Vo,{supportKeys:"revisions"},r)}));function hi(e,t){return Object(yt.addQueryArgs)(e,t)}function mi(e){return e?Object(O.toLower)(Object(O.deburr)(Object(O.trim)(e.replace(/[\s\./_]+/g,"-"),"-"))):""}var vi=Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.getCurrentPostLastRevisionId,r=t.getCurrentPostRevisionsCount;return{lastRevisionId:n(),revisionsCount:r()}}))((function(e){var t=e.lastRevisionId,n=e.revisionsCount;return Object(Hr.createElement)(fi,null,Object(Hr.createElement)(So.Button,{href:hi("revision.php",{revision:t,gutenberg:!0}),className:"editor-post-last-revision__title",icon:"backup"},Object(x.sprintf)(Object(x._n)("%d Revision","%d Revisions",n),n)))}));var Oi=function(e){function t(){var e;return Object(eo.a)(this,t),(e=Object(no.a)(this,Object(ro.a)(t).apply(this,arguments))).openPreviewWindow=e.openPreviewWindow.bind(Object(Ro.a)(e)),e}return Object(oo.a)(t,e),Object(to.a)(t,[{key:"componentDidUpdate",value:function(e){var t=this.props.previewLink;t&&!e.previewLink&&this.setPreviewWindowLink(t)}},{key:"setPreviewWindowLink",value:function(e){var t=this.previewWindow;t&&!t.closed&&(t.location=e)}},{key:"getWindowTarget",value:function(){var e=this.props.postId;return"wp-preview-".concat(e)}},{key:"openPreviewWindow",value:function(e){var t,n;(e.preventDefault(),this.previewWindow&&!this.previewWindow.closed||(this.previewWindow=window.open("",this.getWindowTarget())),this.previewWindow.focus(),this.props.isAutosaveable)?(this.props.isDraft?this.props.savePost({isPreview:!0}):this.props.autosave({isPreview:!0}),t=this.previewWindow.document,n=Object(Hr.renderToString)(Object(Hr.createElement)("div",{className:"editor-post-preview-button__interstitial-message"},Object(Hr.createElement)(So.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 96 96"},Object(Hr.createElement)(So.Path,{className:"outer",d:"M48 12c19.9 0 36 16.1 36 36S67.9 84 48 84 12 67.9 12 48s16.1-36 36-36",fill:"none"}),Object(Hr.createElement)(So.Path,{className:"inner",d:"M69.5 46.4c0-3.9-1.4-6.7-2.6-8.8-1.6-2.6-3.1-4.9-3.1-7.5 0-2.9 2.2-5.7 5.4-5.7h.4C63.9 19.2 56.4 16 48 16c-11.2 0-21 5.7-26.7 14.4h2.1c3.3 0 8.5-.4 8.5-.4 1.7-.1 1.9 2.4.2 2.6 0 0-1.7.2-3.7.3L40 67.5l7-20.9L42 33c-1.7-.1-3.3-.3-3.3-.3-1.7-.1-1.5-2.7.2-2.6 0 0 5.3.4 8.4.4 3.3 0 8.5-.4 8.5-.4 1.7-.1 1.9 2.4.2 2.6 0 0-1.7.2-3.7.3l11.5 34.3 3.3-10.4c1.6-4.5 2.4-7.8 2.4-10.5zM16.1 48c0 12.6 7.3 23.5 18 28.7L18.8 35c-1.7 4-2.7 8.4-2.7 13zm32.5 2.8L39 78.6c2.9.8 5.9 1.3 9 1.3 3.7 0 7.3-.6 10.6-1.8-.1-.1-.2-.3-.2-.4l-9.8-26.9zM76.2 36c0 3.2-.6 6.9-2.4 11.4L64 75.6c9.5-5.5 15.9-15.8 15.9-27.6 0-5.5-1.4-10.8-3.9-15.3.1 1 .2 2.1.2 3.3z",fill:"none"})),Object(Hr.createElement)("p",null,Object(x.__)("Generating preview…")))),n+='\n\t\t\n\t',n=Object(Gr.applyFilters)("editor.PostPreview.interstitialMarkup",n),t.write(n),t.title=Object(x.__)("Generating preview…"),t.close()):this.setPreviewWindowLink(e.target.href)}},{key:"render",value:function(){var e=this.props,t=e.previewLink,n=e.currentPostLink,r=e.isSaveable,o=t||n;return Object(Hr.createElement)(So.Button,{isSecondary:!0,className:"editor-post-preview",href:o,target:this.getWindowTarget(),disabled:!r,onClick:this.openPreviewWindow},Object(x._x)("Preview","imperative verb"),Object(Hr.createElement)("span",{className:"screen-reader-text"},Object(x.__)("(opens in a new tab)")))}}]),t}(Hr.Component),gi=Object(Kr.compose)([Object(p.withSelect)((function(e,t){var n=t.forcePreviewLink,r=t.forceIsAutosaveable,o=e("core/editor"),i=o.getCurrentPostId,c=o.getCurrentPostAttribute,a=o.getEditedPostAttribute,s=o.isEditedPostSaveable,u=o.isEditedPostAutosaveable,l=o.getEditedPostPreviewLink,d=e("core").getPostType,p=l(),b=d(a("type"));return{postId:i(),currentPostLink:c("link"),previewLink:void 0!==n?n:p,isSaveable:s(),isAutosaveable:r||u(),isViewable:Object(O.get)(b,["viewable"],!1),isDraft:-1!==["draft","auto-draft"].indexOf(a("status"))}})),Object(p.withDispatch)((function(e){return{autosave:e("core/editor").autosave,savePost:e("core/editor").savePost}})),Object(Kr.ifCondition)((function(e){return e.isViewable}))])(Oi),ji=function(e){function t(){var e;return Object(eo.a)(this,t),(e=Object(no.a)(this,Object(ro.a)(t).apply(this,arguments))).sendPostLock=e.sendPostLock.bind(Object(Ro.a)(e)),e.receivePostLock=e.receivePostLock.bind(Object(Ro.a)(e)),e.releasePostLock=e.releasePostLock.bind(Object(Ro.a)(e)),e}return Object(oo.a)(t,e),Object(to.a)(t,[{key:"componentDidMount",value:function(){var e=this.getHookName();Object(Gr.addAction)("heartbeat.send",e,this.sendPostLock),Object(Gr.addAction)("heartbeat.tick",e,this.receivePostLock)}},{key:"componentWillUnmount",value:function(){var e=this.getHookName();Object(Gr.removeAction)("heartbeat.send",e),Object(Gr.removeAction)("heartbeat.tick",e)}},{key:"getHookName",value:function(){return"core/editor/post-locked-modal-"+this.props.instanceId}},{key:"sendPostLock",value:function(e){var t=this.props,n=t.isLocked,r=t.activePostLock,o=t.postId;n||(e["wp-refresh-post-lock"]={lock:r,post_id:o})}},{key:"receivePostLock",value:function(e){if(e["wp-refresh-post-lock"]){var t=this.props,n=t.autosave,r=t.updatePostLock,o=e["wp-refresh-post-lock"];o.lock_error?(n(),r({isLocked:!0,isTakeover:!0,user:{avatar:o.lock_error.avatar_src}})):o.new_lock&&r({isLocked:!1,activePostLock:o.new_lock})}}},{key:"releasePostLock",value:function(){var e=this.props,t=e.isLocked,n=e.activePostLock,r=e.postLockUtils,o=e.postId;if(!t&&n){var i=new window.FormData;if(i.append("action","wp-remove-post-lock"),i.append("_wpnonce",r.unlockNonce),i.append("post_ID",o),i.append("active_post_lock",n),window.navigator.sendBeacon)window.navigator.sendBeacon(r.ajaxUrl,i);else{var c=new window.XMLHttpRequest;c.open("POST",r.ajaxUrl,!1),c.send(i)}}}},{key:"render",value:function(){var e=this.props,t=e.user,n=e.postId,r=e.isLocked,o=e.isTakeover,i=e.postLockUtils,c=e.postType;if(!r)return null;var a=t.name,s=t.avatar,u=Object(yt.addQueryArgs)("post.php",{"get-post-lock":"1",lockKey:!0,post:n,action:"edit",_wpnonce:i.nonce}),l=hi("edit.php",{post_type:Object(O.get)(c,["slug"])}),d=Object(x.__)("Exit the Editor");return Object(Hr.createElement)(So.Modal,{title:o?Object(x.__)("Someone else has taken over this post."):Object(x.__)("This post is already being edited."),focusOnMount:!0,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"editor-post-locked-modal"},!!s&&Object(Hr.createElement)("img",{src:s,alt:Object(x.__)("Avatar"),className:"editor-post-locked-modal__avatar"}),!!o&&Object(Hr.createElement)("div",null,Object(Hr.createElement)("div",null,a?Object(x.sprintf)(Object(x.__)("%s now has editing control of this post. Don’t worry, your changes up to this moment have been saved."),a):Object(x.__)("Another user now has editing control of this post. Don’t worry, your changes up to this moment have been saved.")),Object(Hr.createElement)("div",{className:"editor-post-locked-modal__buttons"},Object(Hr.createElement)(So.Button,{isPrimary:!0,href:l},d))),!o&&Object(Hr.createElement)("div",null,Object(Hr.createElement)("div",null,a?Object(x.sprintf)(Object(x.__)("%s is currently working on this post, which means you cannot make changes, unless you take over."),a):Object(x.__)("Another user is currently working on this post, which means you cannot make changes, unless you take over.")),Object(Hr.createElement)("div",{className:"editor-post-locked-modal__buttons"},Object(Hr.createElement)(So.Button,{isSecondary:!0,href:l},d),Object(Hr.createElement)(gi,null),Object(Hr.createElement)(So.Button,{isPrimary:!0,href:u},Object(x.__)("Take Over")))))}}]),t}(Hr.Component),yi=Object(Kr.compose)(Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.isPostLocked,r=t.isPostLockTakeover,o=t.getPostLockUser,i=t.getCurrentPostId,c=t.getActivePostLock,a=t.getEditedPostAttribute,s=t.getEditorSettings,u=e("core").getPostType;return{isLocked:n(),isTakeover:r(),user:o(),postId:i(),postLockUtils:s().postLockUtils,activePostLock:c(),postType:u(a("type"))}})),Object(p.withDispatch)((function(e){var t=e("core/editor");return{autosave:t.autosave,updatePostLock:t.updatePostLock}})),Kr.withInstanceId,Object(Kr.withGlobalEvents)({beforeunload:"releasePostLock"}))(ji);var _i=Object(Kr.compose)(Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.isCurrentPostPublished,r=t.getCurrentPostType,o=t.getCurrentPost;return{hasPublishAction:Object(O.get)(o(),["_links","wp:action-publish"],!1),isPublished:n(),postType:r()}})))((function(e){var t=e.hasPublishAction,n=e.isPublished,r=e.children;return n||!t?null:r}));var ki=Object(Kr.compose)(Object(p.withSelect)((function(e){return{status:e("core/editor").getEditedPostAttribute("status")}})),Object(p.withDispatch)((function(e){return{onUpdateStatus:function(t){e("core/editor").editPost({status:t})}}})))((function(e){var t=e.status,n=e.onUpdateStatus;return Object(Hr.createElement)(_i,null,Object(Hr.createElement)(So.CheckboxControl,{label:Object(x.__)("Pending review"),checked:"pending"===t,onChange:function(){n("pending"===t?"draft":"pending")}}))}));var Si=Object(Kr.compose)([Object(p.withSelect)((function(e){return{pingStatus:e("core/editor").getEditedPostAttribute("ping_status")}})),Object(p.withDispatch)((function(e){return{editPost:e("core/editor").editPost}}))])((function(e){var t=e.pingStatus,n=void 0===t?"open":t,r=Object(Wr.a)(e,["pingStatus"]);return Object(Hr.createElement)(So.CheckboxControl,{label:Object(x.__)("Allow pingbacks & trackbacks"),checked:"open"===n,onChange:function(){return r.editPost({ping_status:"open"===n?"closed":"open"})}})}));var Ei=Object(Kr.compose)([Object(p.withSelect)((function(e,t){var n=t.forceIsSaving,r=e("core/editor"),o=r.isCurrentPostPublished,i=r.isEditedPostBeingScheduled,c=r.isSavingPost,a=r.isPublishingPost,s=r.getCurrentPost,u=r.getCurrentPostType,l=r.isAutosavingPost;return{isPublished:o(),isBeingScheduled:i(),isSaving:n||c(),isPublishing:a(),hasPublishAction:Object(O.get)(s(),["_links","wp:action-publish"],!1),postType:u(),isAutosaving:l()}}))])((function(e){var t=e.isPublished,n=e.isBeingScheduled,r=e.isSaving,o=e.isPublishing,i=e.hasPublishAction,c=e.isAutosaving,a=e.hasNonPostEntityChanges;return o?Object(x.__)("Publishing…"):t&&r&&!c?Object(x.__)("Updating…"):n&&r&&!c?Object(x.__)("Scheduling…"):i?t?a?Object(x.__)("Update…"):Object(x.__)("Update"):n?a?Object(x.__)("Schedule…"):Object(x.__)("Schedule"):a?Object(x.__)("Publish…"):Object(x.__)("Publish"):a?Object(x.__)("Submit for Review…"):Object(x.__)("Submit for Review")})),Pi=function(e){function t(e){var n;return Object(eo.a)(this,t),(n=Object(no.a)(this,Object(ro.a)(t).call(this,e))).buttonNode=Object(Hr.createRef)(),n.createOnClick=n.createOnClick.bind(Object(Ro.a)(n)),n.closeEntitiesSavedStates=n.closeEntitiesSavedStates.bind(Object(Ro.a)(n)),n.state={entitiesSavedStatesCallback:!1},n.createIgnoredForSave=G()((function(e,t){return new xo.a([[["postType",e,String(t)],!0]])}),{maxSize:1}),n}return Object(oo.a)(t,e),Object(to.a)(t,[{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.buttonNode.current.focus()}},{key:"createOnClick",value:function(e){var t=this;return function(){for(var n=arguments.length,r=new Array(n),o=0;o1&&void 0!==arguments[1]?arguments[1]:"";r({status:e,password:t})}}})),Kr.withInstanceId])(Ti);var xi=Object(p.withSelect)((function(e){return{visibility:e("core/editor").getEditedPostVisibility()}}))((function(e){var t=e.visibility;return Object(O.find)(Ci,{value:t}).label}));var Ii=Object(Kr.compose)([Object(p.withSelect)((function(e){return{date:e("core/editor").getEditedPostAttribute("date")}})),Object(p.withDispatch)((function(e){return{onUpdateDate:function(t){e("core/editor").editPost({date:t})}}}))])((function(e){var t=e.date,n=e.onUpdateDate,r=Object(jt.__experimentalGetSettings)(),o=/a(?!\\)/i.test(r.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join(""));return Object(Hr.createElement)(So.DateTimePicker,{key:"date-time-picker",currentDate:t,onChange:n,is12Hour:o})}));var Ai=Object(p.withSelect)((function(e){return{date:e("core/editor").getEditedPostAttribute("date"),isFloating:e("core/editor").isEditedPostDateFloating()}}))((function(e){var t=e.date,n=e.isFloating,r=Object(jt.__experimentalGetSettings)();return t&&!n?Object(jt.dateI18n)("".concat(r.formats.date," ").concat(r.formats.time),t):Object(x.__)("Immediately")})),Ri={per_page:-1,orderby:"count",order:"desc",_fields:"id,name"},Li=function(e,t){return e.toLowerCase()===t.toLowerCase()},Ni=function(e){return Object(d.a)({},e,{name:Object(O.unescape)(e.name)})},Di=function(e){return Object(O.map)(e,Ni)},Ui=function(e){function t(){var e;return Object(eo.a)(this,t),(e=Object(no.a)(this,Object(ro.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(Ro.a)(e)),e.searchTerms=Object(O.throttle)(e.searchTerms.bind(Object(Ro.a)(e)),500),e.findOrCreateTerm=e.findOrCreateTerm.bind(Object(Ro.a)(e)),e.state={loading:!Object(O.isEmpty)(e.props.terms),availableTerms:[],selectedTerms:[]},e}return Object(oo.a)(t,e),Object(to.a)(t,[{key:"componentDidMount",value:function(){var e=this;Object(O.isEmpty)(this.props.terms)||(this.initRequest=this.fetchTerms({include:this.props.terms.join(","),per_page:-1}),this.initRequest.then((function(){e.setState({loading:!1})}),(function(t){"abort"!==t.statusText&&e.setState({loading:!1})})))}},{key:"componentWillUnmount",value:function(){Object(O.invoke)(this.initRequest,["abort"]),Object(O.invoke)(this.searchRequest,["abort"])}},{key:"componentDidUpdate",value:function(e){e.terms!==this.props.terms&&this.updateSelectedTerms(this.props.terms)}},{key:"fetchTerms",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.props.taxonomy,r=Object(d.a)({},Ri,t),o=B()({path:Object(yt.addQueryArgs)("/wp/v2/".concat(n.rest_base),r)});return o.then(Di).then((function(t){e.setState((function(e){return{availableTerms:e.availableTerms.concat(t.filter((function(t){return!Object(O.find)(e.availableTerms,(function(e){return e.id===t.id}))})))}})),e.updateSelectedTerms(e.props.terms)})),o}},{key:"updateSelectedTerms",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=t.reduce((function(t,n){var r=Object(O.find)(e.state.availableTerms,(function(e){return e.id===n}));return r&&t.push(r.name),t}),[]);this.setState({selectedTerms:n})}},{key:"findOrCreateTerm",value:function(e){var t=this,n=this.props.taxonomy,r=Object(O.escape)(e);return B()({path:"/wp/v2/".concat(n.rest_base),method:"POST",data:{name:r}}).catch((function(o){return"term_exists"===o.code?(t.addRequest=B()({path:Object(yt.addQueryArgs)("/wp/v2/".concat(n.rest_base),Object(d.a)({},Ri,{search:r}))}).then(Di),t.addRequest.then((function(t){return Object(O.find)(t,(function(t){return Li(t.name,e)}))}))):Promise.reject(o)})).then(Ni)}},{key:"onChange",value:function(e){var t=this,n=Object(O.uniqBy)(e,(function(e){return e.toLowerCase()}));this.setState({selectedTerms:n});var r=n.filter((function(e){return!Object(O.find)(t.state.availableTerms,(function(t){return Li(t.name,e)}))})),o=function(e,t){return e.map((function(e){return Object(O.find)(t,(function(t){return Li(t.name,e)})).id}))};if(0===r.length)return this.props.onUpdateTerms(o(n,this.state.availableTerms),this.props.taxonomy.rest_base);Promise.all(r.map(this.findOrCreateTerm)).then((function(e){var r=t.state.availableTerms.concat(e);return t.setState({availableTerms:r}),t.props.onUpdateTerms(o(n,r),t.props.taxonomy.rest_base)}))}},{key:"searchTerms",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Object(O.invoke)(this.searchRequest,["abort"]),this.searchRequest=this.fetchTerms({search:e})}},{key:"render",value:function(){var e=this.props,t=e.slug,n=e.taxonomy;if(!e.hasAssignAction)return null;var r=this.state,o=r.loading,i=r.availableTerms,c=r.selectedTerms,a=i.map((function(e){return e.name})),s=Object(O.get)(n,["labels","add_new_item"],"post_tag"===t?Object(x.__)("Add new tag"):Object(x.__)("Add new Term")),u=Object(O.get)(n,["labels","singular_name"],"post_tag"===t?Object(x.__)("Tag"):Object(x.__)("Term")),l=Object(x.sprintf)(Object(x._x)("%s added","term"),u),d=Object(x.sprintf)(Object(x._x)("%s removed","term"),u),p=Object(x.sprintf)(Object(x._x)("Remove %s","term"),u);return Object(Hr.createElement)(So.FormTokenField,{value:c,suggestions:a,onChange:this.onChange,onInputChange:this.searchTerms,maxSuggestions:20,disabled:o,label:s,messages:{added:l,removed:d,remove:p}})}}]),t}(Hr.Component),Fi=Object(Kr.compose)(Object(p.withSelect)((function(e,t){var n=t.slug,r=e("core/editor").getCurrentPost,o=(0,e("core").getTaxonomy)(n);return{hasCreateAction:!!o&&Object(O.get)(r(),["_links","wp:action-create-"+o.rest_base],!1),hasAssignAction:!!o&&Object(O.get)(r(),["_links","wp:action-assign-"+o.rest_base],!1),terms:o?e("core/editor").getEditedPostAttribute(o.rest_base):[],taxonomy:o}})),Object(p.withDispatch)((function(e){return{onUpdateTerms:function(t,n){e("core/editor").editPost(Object(f.a)({},n,t))}}})),Object(So.withFilters)("editor.PostTaxonomyType"))(Ui),Mi=function(){var e=[Object(x.__)("Suggestion:"),Object(Hr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(x.__)("Add tags"))];return Object(Hr.createElement)(So.PanelBody,{initialOpen:!1,title:e},Object(Hr.createElement)("p",null,Object(x.__)("Tags help users and search engines navigate your site and find your content. Add a few keywords to describe your post.")),Object(Hr.createElement)(Fi,{slug:"post_tag"}))},Vi=function(e){function t(e){var n;return Object(eo.a)(this,t),(n=Object(no.a)(this,Object(ro.a)(t).call(this,e))).state={hadTagsWhenOpeningThePanel:e.hasTags},n}return Object(oo.a)(t,e),Object(to.a)(t,[{key:"render",value:function(){return this.state.hadTagsWhenOpeningThePanel?null:Object(Hr.createElement)(Mi,null)}}]),t}(Hr.Component),zi=Object(Kr.compose)(Object(p.withSelect)((function(e){var t=e("core/editor").getCurrentPostType(),n=e("core").getTaxonomy("post_tag"),r=n&&e("core/editor").getEditedPostAttribute(n.rest_base);return{areTagsFetched:void 0!==n,isPostTypeSupported:n&&Object(O.some)(n.types,(function(e){return e===t})),hasTags:r&&r.length}})),Object(Kr.ifCondition)((function(e){var t=e.areTagsFetched;return e.isPostTypeSupported&&t})))(Vi),Wi=function(e){var t=e.suggestedPostFormat,n=e.suggestionText,r=e.onUpdatePostFormat;return Object(Hr.createElement)(So.Button,{isLink:!0,onClick:function(){return r(t)}},n)},Hi=function(e,t){var n=pi.filter((function(t){return Object(O.includes)(e,t.id)}));return Object(O.find)(n,(function(e){return e.id===t}))},Ki=Object(Kr.compose)(Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getSuggestedPostFormat,o=Object(O.get)(e("core").getThemeSupports(),["formats"],[]);return{currentPostFormat:n("format"),suggestion:Hi(o,r())}})),Object(p.withDispatch)((function(e){return{onUpdatePostFormat:function(t){e("core/editor").editPost({format:t})}}})),Object(Kr.ifCondition)((function(e){var t=e.suggestion,n=e.currentPostFormat;return t&&t.id!==n})))((function(e){var t=e.suggestion,n=e.onUpdatePostFormat,r=[Object(x.__)("Suggestion:"),Object(Hr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(x.__)("Use a post format"))];return Object(Hr.createElement)(So.PanelBody,{initialOpen:!1,title:r},Object(Hr.createElement)("p",null,Object(x.__)("Your theme uses post formats to highlight different kinds of content, like images or videos. Apply a post format to see this special styling.")),Object(Hr.createElement)("p",null,Object(Hr.createElement)(Wi,{onUpdatePostFormat:n,suggestedPostFormat:t.id,suggestionText:Object(x.sprintf)(Object(x.__)('Apply the "%1$s" format.'),t.caption)})))}));var Gi=Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.isEditedPostBeingScheduled;return{hasPublishAction:Object(O.get)(n(),["_links","wp:action-publish"],!1),isBeingScheduled:r()}}))((function(e){var t,n,r=e.hasPublishAction,o=e.isBeingScheduled,i=e.children;return r?o?(t=Object(x.__)("Are you ready to schedule?"),n=Object(x.__)("Your work will be published at the specified date and time.")):(t=Object(x.__)("Are you ready to publish?"),n=Object(x.__)("Double-check your settings before publishing.")):(t=Object(x.__)("Are you ready to submit for review?"),n=Object(x.__)("When you’re ready, submit your work for review, and an Editor will be able to approve it for you.")),Object(Hr.createElement)("div",{className:"editor-post-publish-panel__prepublish"},Object(Hr.createElement)("div",null,Object(Hr.createElement)("strong",null,t)),Object(Hr.createElement)("p",null,n),r&&Object(Hr.createElement)(Hr.Fragment,null,Object(Hr.createElement)(So.PanelBody,{initialOpen:!1,title:[Object(x.__)("Visibility:"),Object(Hr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(Hr.createElement)(xi,null))]},Object(Hr.createElement)(Bi,null)),Object(Hr.createElement)(So.PanelBody,{initialOpen:!1,title:[Object(x.__)("Publish:"),Object(Hr.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(Hr.createElement)(Ai,null))]},Object(Hr.createElement)(Ii,null))),Object(Hr.createElement)(Ki,null),Object(Hr.createElement)(zi,null),i)})),qi=function(e){function t(){var e;return Object(eo.a)(this,t),(e=Object(no.a)(this,Object(ro.a)(t).apply(this,arguments))).state={showCopyConfirmation:!1},e.onCopy=e.onCopy.bind(Object(Ro.a)(e)),e.onSelectInput=e.onSelectInput.bind(Object(Ro.a)(e)),e.postLink=Object(Hr.createRef)(),e}return Object(oo.a)(t,e),Object(to.a)(t,[{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.postLink.current.focus()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.dismissCopyConfirmation)}},{key:"onCopy",value:function(){var e=this;this.setState({showCopyConfirmation:!0}),clearTimeout(this.dismissCopyConfirmation),this.dismissCopyConfirmation=setTimeout((function(){e.setState({showCopyConfirmation:!1})}),4e3)}},{key:"onSelectInput",value:function(e){e.target.select()}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.isScheduled,r=e.post,o=e.postType,i=Object(O.get)(o,["labels","singular_name"]),c=Object(O.get)(o,["labels","view_item"]),a=n?Object(Hr.createElement)(Hr.Fragment,null,Object(x.__)("is now scheduled. It will go live on")," ",Object(Hr.createElement)(Ai,null),"."):Object(x.__)("is now live.");return Object(Hr.createElement)("div",{className:"post-publish-panel__postpublish"},Object(Hr.createElement)(So.PanelBody,{className:"post-publish-panel__postpublish-header"},Object(Hr.createElement)("a",{ref:this.postLink,href:r.link},r.title||Object(x.__)("(no title)"))," ",a),Object(Hr.createElement)(So.PanelBody,null,Object(Hr.createElement)("p",{className:"post-publish-panel__postpublish-subheader"},Object(Hr.createElement)("strong",null,Object(x.__)("What’s next?"))),Object(Hr.createElement)(So.TextControl,{className:"post-publish-panel__postpublish-post-address",readOnly:!0,label:Object(x.sprintf)(Object(x.__)("%s address"),i),value:Object(yt.safeDecodeURIComponent)(r.link),onFocus:this.onSelectInput}),Object(Hr.createElement)("div",{className:"post-publish-panel__postpublish-buttons"},!n&&Object(Hr.createElement)(So.Button,{isSecondary:!0,href:r.link},c),Object(Hr.createElement)(So.ClipboardButton,{isSecondary:!0,text:r.link,onCopy:this.onCopy},this.state.showCopyConfirmation?Object(x.__)("Copied!"):Object(x.__)("Copy Link")))),t)}}]),t}(Hr.Component),Qi=Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getCurrentPost,o=t.isCurrentPostScheduled,i=e("core").getPostType;return{post:r(),postType:i(n("type")),isScheduled:o()}}))(qi),Yi=function(e){function t(){var e;return Object(eo.a)(this,t),(e=Object(no.a)(this,Object(ro.a)(t).apply(this,arguments))).onSubmit=e.onSubmit.bind(Object(Ro.a)(e)),e}return Object(oo.a)(t,e),Object(to.a)(t,[{key:"componentDidUpdate",value:function(e){e.isPublished&&!this.props.isSaving&&this.props.isDirty&&this.props.onClose()}},{key:"onSubmit",value:function(){var e=this.props,t=e.onClose,n=e.hasPublishAction,r=e.isPostTypeViewable;n&&r||t()}},{key:"render",value:function(){var e=this.props,t=e.forceIsDirty,n=e.forceIsSaving,r=e.isBeingScheduled,o=e.isPublished,i=e.isPublishSidebarEnabled,c=e.isScheduled,a=e.isSaving,s=e.onClose,u=e.onTogglePublishSidebar,l=e.PostPublishExtension,d=e.PrePublishExtension,p=Object(Wr.a)(e,["forceIsDirty","forceIsSaving","isBeingScheduled","isPublished","isPublishSidebarEnabled","isScheduled","isSaving","onClose","onTogglePublishSidebar","PostPublishExtension","PrePublishExtension"]),b=Object(O.omit)(p,["hasPublishAction","isDirty","isPostTypeViewable"]),f=o||c&&r,h=!f&&!a,m=f&&!a;return Object(Hr.createElement)("div",Object(zr.a)({className:"editor-post-publish-panel"},b),Object(Hr.createElement)("div",{className:"editor-post-publish-panel__header"},m?Object(Hr.createElement)("div",{className:"editor-post-publish-panel__header-published"},c?Object(x.__)("Scheduled"):Object(x.__)("Published")):Object(Hr.createElement)("div",{className:"editor-post-publish-panel__header-publish-button"},Object(Hr.createElement)(wi,{focusOnMount:!0,onSubmit:this.onSubmit,forceIsDirty:t,forceIsSaving:n})),Object(Hr.createElement)(So.Button,{"aria-expanded":!0,onClick:s,icon:"no-alt",label:Object(x.__)("Close panel")})),Object(Hr.createElement)("div",{className:"editor-post-publish-panel__content"},h&&Object(Hr.createElement)(Gi,null,d&&Object(Hr.createElement)(d,null)),m&&Object(Hr.createElement)(Qi,{focusOnMount:!0},l&&Object(Hr.createElement)(l,null)),a&&Object(Hr.createElement)(So.Spinner,null)),Object(Hr.createElement)("div",{className:"editor-post-publish-panel__footer"},Object(Hr.createElement)(So.CheckboxControl,{label:Object(x.__)("Always show pre-publish checks."),checked:i,onChange:u})))}}]),t}(Hr.Component),Xi=Object(Kr.compose)([Object(p.withSelect)((function(e){var t=e("core").getPostType,n=e("core/editor"),r=n.getCurrentPost,o=n.getEditedPostAttribute,i=n.isCurrentPostPublished,c=n.isCurrentPostScheduled,a=n.isEditedPostBeingScheduled,s=n.isEditedPostDirty,u=n.isSavingPost,l=e("core/editor").isPublishSidebarEnabled,d=t(o("type"));return{hasPublishAction:Object(O.get)(r(),["_links","wp:action-publish"],!1),isPostTypeViewable:Object(O.get)(d,["viewable"],!1),isBeingScheduled:a(),isDirty:s(),isPublished:i(),isPublishSidebarEnabled:l(),isSaving:u(),isScheduled:c()}})),Object(p.withDispatch)((function(e,t){var n=t.isPublishSidebarEnabled,r=e("core/editor"),o=r.disablePublishSidebar,i=r.enablePublishSidebar;return{onTogglePublishSidebar:function(){n?o():i()}}})),So.withFocusReturn,So.withConstrainedTabbing])(Yi);var Zi=Object(Kr.compose)([Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.isSavingPost,r=t.isCurrentPostPublished,o=t.isCurrentPostScheduled;return{isSaving:n(),isPublished:r(),isScheduled:o()}})),Object(p.withDispatch)((function(e){var t=e("core/editor"),n=t.editPost,r=t.savePost;return{onClick:function(){n({status:"draft"}),r()}}}))])((function(e){var t=e.isSaving,n=e.isPublished,r=e.isScheduled,o=e.onClick,i=Object(Kr.useViewportMatch)("small","<");return n||r?Object(Hr.createElement)(So.Button,{className:"editor-post-switch-to-draft",onClick:function(){var e;n?e=Object(x.__)("Are you sure you want to unpublish this post?"):r&&(e=Object(x.__)("Are you sure you want to unschedule this post?")),window.confirm(e)&&o()},disabled:t,isTertiary:!0},i?Object(x.__)("Draft"):Object(x.__)("Switch to draft")):null})),Ji=function(e){function t(){var e;return Object(eo.a)(this,t),(e=Object(no.a)(this,Object(ro.a)(t).apply(this,arguments))).state={forceSavedMessage:!1},e}return Object(oo.a)(t,e),Object(to.a)(t,[{key:"componentDidUpdate",value:function(e){var t=this;e.isSaving&&!this.props.isSaving&&(this.setState({forceSavedMessage:!0}),this.props.setTimeout((function(){t.setState({forceSavedMessage:!1})}),1e3))}},{key:"render",value:function(){var e=this.props,t=e.post,n=e.isNew,r=e.isScheduled,o=e.isPublished,i=e.isDirty,c=e.isSaving,a=e.isSaveable,s=e.onSave,u=e.isAutosaving,l=e.isPending,d=e.isLargeViewport,p=this.state.forceSavedMessage;if(c){var b=so()("editor-post-saved-state","is-saving",{"is-autosaving":u});return Object(Hr.createElement)(So.Animate,{type:"loading"},(function(e){var t=e.className;return Object(Hr.createElement)("span",{className:so()(b,t)},Object(Hr.createElement)(So.Dashicon,{icon:"cloud"}),u?Object(x.__)("Autosaving"):Object(x.__)("Saving"))}))}if(o||r)return Object(Hr.createElement)(Zi,null);if(!a)return null;if(p||!n&&!i)return Object(Hr.createElement)("span",{className:"editor-post-saved-state is-saved"},Object(Hr.createElement)(So.Dashicon,{icon:"saved"}),Object(x.__)("Saved"));if(!Object(O.get)(t,["_links","wp:action-publish"],!1)&&l)return null;var f=l?Object(x.__)("Save as Pending"):Object(x.__)("Save Draft");return d?Object(Hr.createElement)(So.Button,{className:"editor-post-save-draft",onClick:function(){return s()},shortcut:Eo.displayShortcut.primary("s"),isTertiary:!0},f):Object(Hr.createElement)(So.Button,{className:"editor-post-save-draft",label:f,onClick:function(){return s()},shortcut:Eo.displayShortcut.primary("s"),icon:"cloud-upload"})}}]),t}(Hr.Component),$i=Object(Kr.compose)([Object(p.withSelect)((function(e,t){var n=t.forceIsDirty,r=t.forceIsSaving,o=e("core/editor"),i=o.isEditedPostNew,c=o.isCurrentPostPublished,a=o.isCurrentPostScheduled,s=o.isEditedPostDirty,u=o.isSavingPost,l=o.isEditedPostSaveable,d=o.getCurrentPost,p=o.isAutosavingPost,b=o.getEditedPostAttribute;return{post:d(),isNew:i(),isPublished:c(),isScheduled:a(),isDirty:n||s(),isSaving:r||u(),isSaveable:l(),isAutosaving:p(),isPending:"pending"===b("status")}})),Object(p.withDispatch)((function(e){return{onSave:e("core/editor").savePost}})),Kr.withSafeTimeout,Object(l.withViewportMatch)({isLargeViewport:"small"})])(Ji);var ec=Object(Kr.compose)([Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.getCurrentPostType;return{hasPublishAction:Object(O.get)(n(),["_links","wp:action-publish"],!1),postType:r()}}))])((function(e){var t=e.hasPublishAction,n=e.children;return t?n:null}));function tc(e){var t=e.children;return Object(Hr.createElement)(Vo,{supportKeys:"slug"},t)}var nc=function(e){function t(e){var n,r=e.postSlug,o=e.postTitle,i=e.postID;return Object(eo.a)(this,t),(n=Object(no.a)(this,Object(ro.a)(t).apply(this,arguments))).state={editedSlug:Object(yt.safeDecodeURIComponent)(r)||mi(o)||i},n.setSlug=n.setSlug.bind(Object(Ro.a)(n)),n}return Object(oo.a)(t,e),Object(to.a)(t,[{key:"setSlug",value:function(e){var t=this.props,n=t.postSlug,r=t.onUpdateSlug,o=mi(e.target.value);o!==n&&r(o)}},{key:"render",value:function(){var e=this,t=this.props.instanceId,n=this.state.editedSlug,r="editor-post-slug-"+t;return Object(Hr.createElement)(tc,null,Object(Hr.createElement)("label",{htmlFor:r},Object(x.__)("Slug")),Object(Hr.createElement)("input",{type:"text",id:r,value:n,onChange:function(t){return e.setState({editedSlug:t.target.value})},onBlur:this.setSlug,className:"editor-post-slug__input"}))}}]),t}(Hr.Component),rc=Object(Kr.compose)([Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.getEditedPostAttribute,o=n().id;return{postSlug:r("slug"),postTitle:r("title"),postID:o}})),Object(p.withDispatch)((function(e){var t=e("core/editor").editPost;return{onUpdateSlug:function(e){t({slug:e})}}})),Kr.withInstanceId])(nc);var oc=Object(Kr.compose)([Object(p.withSelect)((function(e){var t=e("core/editor").getCurrentPost();return{hasStickyAction:Object(O.get)(t,["_links","wp:action-sticky"],!1),postType:e("core/editor").getCurrentPostType()}}))])((function(e){var t=e.hasStickyAction,n=e.postType,r=e.children;return"post"===n&&t?r:null}));var ic=Object(Kr.compose)([Object(p.withSelect)((function(e){return{postSticky:e("core/editor").getEditedPostAttribute("sticky")}})),Object(p.withDispatch)((function(e){return{onUpdateSticky:function(t){e("core/editor").editPost({sticky:t})}}}))])((function(e){var t=e.onUpdateSticky,n=e.postSticky,r=void 0!==n&&n;return Object(Hr.createElement)(oc,null,Object(Hr.createElement)(So.CheckboxControl,{label:Object(x.__)("Stick to the top of the blog"),checked:r,onChange:function(){return t(!r)}}))})),cc={per_page:-1,orderby:"name",order:"asc",_fields:"id,name,parent"},ac=function(e){function t(){var e;return Object(eo.a)(this,t),(e=Object(no.a)(this,Object(ro.a)(t).apply(this,arguments))).findTerm=e.findTerm.bind(Object(Ro.a)(e)),e.onChange=e.onChange.bind(Object(Ro.a)(e)),e.onChangeFormName=e.onChangeFormName.bind(Object(Ro.a)(e)),e.onChangeFormParent=e.onChangeFormParent.bind(Object(Ro.a)(e)),e.onAddTerm=e.onAddTerm.bind(Object(Ro.a)(e)),e.onToggleForm=e.onToggleForm.bind(Object(Ro.a)(e)),e.setFilterValue=e.setFilterValue.bind(Object(Ro.a)(e)),e.sortBySelected=e.sortBySelected.bind(Object(Ro.a)(e)),e.state={loading:!0,availableTermsTree:[],availableTerms:[],adding:!1,formName:"",formParent:"",showForm:!1,filterValue:"",filteredTermsTree:[]},e}return Object(oo.a)(t,e),Object(to.a)(t,[{key:"onChange",value:function(e){var t=this.props,n=t.onUpdateTerms,r=t.terms,o=void 0===r?[]:r,i=t.taxonomy;n(-1!==o.indexOf(e)?Object(O.without)(o,e):[].concat(Object(I.a)(o),[e]),i.rest_base)}},{key:"onChangeFormName",value:function(e){var t=""===e.target.value.trim()?"":e.target.value;this.setState({formName:t})}},{key:"onChangeFormParent",value:function(e){this.setState({formParent:e})}},{key:"onToggleForm",value:function(){this.setState((function(e){return{showForm:!e.showForm}}))}},{key:"findTerm",value:function(e,t,n){return Object(O.find)(e,(function(e){return(!e.parent&&!t||parseInt(e.parent)===parseInt(t))&&e.name.toLowerCase()===n.toLowerCase()}))}},{key:"onAddTerm",value:function(e){var t=this;e.preventDefault();var n=this.props,r=n.onUpdateTerms,o=n.taxonomy,i=n.terms,c=n.slug,a=this.state,s=a.formName,u=a.formParent,l=a.adding,p=a.availableTerms;if(""!==s&&!l){var b=this.findTerm(p,u,s);if(b)return Object(O.some)(i,(function(e){return e===b.id}))||r([].concat(Object(I.a)(i),[b.id]),o.rest_base),void this.setState({formName:"",formParent:""});this.setState({adding:!0}),this.addRequest=B()({path:"/wp/v2/".concat(o.rest_base),method:"POST",data:{name:s,parent:u||void 0}}),this.addRequest.catch((function(e){return"term_exists"===e.code?(t.addRequest=B()({path:Object(yt.addQueryArgs)("/wp/v2/".concat(o.rest_base),Object(d.a)({},cc,{parent:u||0,search:s}))}),t.addRequest.then((function(e){return t.findTerm(e,u,s)}))):Promise.reject(e)})).then((function(e){var n=!!Object(O.find)(t.state.availableTerms,(function(t){return t.id===e.id}))?t.state.availableTerms:[e].concat(Object(I.a)(t.state.availableTerms)),a=Object(x.sprintf)(Object(x._x)("%s added","term"),Object(O.get)(t.props.taxonomy,["labels","singular_name"],"category"===c?Object(x.__)("Category"):Object(x.__)("Term")));t.props.speak(a,"assertive"),t.addRequest=null,t.setState({adding:!1,formName:"",formParent:"",availableTerms:n,availableTermsTree:t.sortBySelected(Ho(n))}),r([].concat(Object(I.a)(i),[e.id]),o.rest_base)}),(function(e){"abort"!==e.statusText&&(t.addRequest=null,t.setState({adding:!1}))}))}}},{key:"componentDidMount",value:function(){this.fetchTerms()}},{key:"componentWillUnmount",value:function(){Object(O.invoke)(this.fetchRequest,["abort"]),Object(O.invoke)(this.addRequest,["abort"])}},{key:"componentDidUpdate",value:function(e){this.props.taxonomy!==e.taxonomy&&this.fetchTerms()}},{key:"fetchTerms",value:function(){var e=this,t=this.props.taxonomy;t&&(this.fetchRequest=B()({path:Object(yt.addQueryArgs)("/wp/v2/".concat(t.rest_base),cc)}),this.fetchRequest.then((function(t){var n=e.sortBySelected(Ho(t));e.fetchRequest=null,e.setState({loading:!1,availableTermsTree:n,availableTerms:t})}),(function(t){"abort"!==t.statusText&&(e.fetchRequest=null,e.setState({loading:!1}))})))}},{key:"sortBySelected",value:function(e){var t=this.props.terms,n=function e(n){return-1!==t.indexOf(n.id)||void 0!==n.children&&!!(n.children.map(e).filter((function(e){return e})).length>0)};return e.sort((function(e,t){var r=n(e),o=n(t);return r===o?0:r&&!o?-1:!r&&o?1:0})),e}},{key:"setFilterValue",value:function(e){var t=this.state.availableTermsTree,n=e.target.value,r=t.map(this.getFilterMatcher(n)).filter((function(e){return e}));this.setState({filterValue:n,filteredTermsTree:r});var o=function e(t){for(var n=0,r=0;r0&&(r.children=r.children.map(t).filter((function(e){return e}))),(-1!==r.name.toLowerCase().indexOf(e.toLowerCase())||r.children.length>0)&&r}}},{key:"renderTerms",value:function(e){var t=this,n=this.props.terms,r=void 0===n?[]:n;return e.map((function(e){return Object(Hr.createElement)("div",{key:e.id,className:"editor-post-taxonomies__hierarchical-terms-choice"},Object(Hr.createElement)(So.CheckboxControl,{checked:-1!==r.indexOf(e.id),onChange:function(){var n=parseInt(e.id,10);t.onChange(n)},label:Object(O.unescape)(e.name)}),!!e.children.length&&Object(Hr.createElement)("div",{className:"editor-post-taxonomies__hierarchical-terms-subchoices"},t.renderTerms(e.children)))}))}},{key:"render",value:function(){var e=this.props,t=e.slug,n=e.taxonomy,r=e.instanceId,o=e.hasCreateAction;if(!e.hasAssignAction)return null;var i=this.state,c=i.availableTermsTree,a=i.availableTerms,s=i.filteredTermsTree,u=i.formName,l=i.formParent,d=i.loading,p=i.showForm,b=i.filterValue,f=function(e,r,o){return Object(O.get)(n,["labels",e],"category"===t?r:o)},h=f("add_new_item",Object(x.__)("Add new category"),Object(x.__)("Add new term")),m=f("new_item_name",Object(x.__)("Add new category"),Object(x.__)("Add new term")),v=f("parent_item",Object(x.__)("Parent Category"),Object(x.__)("Parent Term")),g="— ".concat(v," —"),j=h,y="editor-post-taxonomies__hierarchical-terms-input-".concat(r),_="editor-post-taxonomies__hierarchical-terms-filter-".concat(r),k=Object(O.get)(this.props.taxonomy,["labels","search_items"],Object(x.__)("Search Terms")),S=Object(O.get)(this.props.taxonomy,["name"],Object(x.__)("Terms")),E=a.length>=8;return[E&&Object(Hr.createElement)("label",{key:"filter-label",htmlFor:_},k),E&&Object(Hr.createElement)("input",{type:"search",id:_,value:b,onChange:this.setFilterValue,className:"editor-post-taxonomies__hierarchical-terms-filter",key:"term-filter-input"}),Object(Hr.createElement)("div",{className:"editor-post-taxonomies__hierarchical-terms-list",key:"term-list",tabIndex:"0",role:"group","aria-label":S},this.renderTerms(""!==b?s:c)),!d&&o&&Object(Hr.createElement)(So.Button,{key:"term-add-button",onClick:this.onToggleForm,className:"editor-post-taxonomies__hierarchical-terms-add","aria-expanded":p,isLink:!0},h),p&&Object(Hr.createElement)("form",{onSubmit:this.onAddTerm,key:"hierarchical-terms-form"},Object(Hr.createElement)("label",{htmlFor:y,className:"editor-post-taxonomies__hierarchical-terms-label"},m),Object(Hr.createElement)("input",{type:"text",id:y,className:"editor-post-taxonomies__hierarchical-terms-input",value:u,onChange:this.onChangeFormName,required:!0}),!!a.length&&Object(Hr.createElement)(So.TreeSelect,{label:v,noOptionLabel:g,onChange:this.onChangeFormParent,selectedId:l,tree:c}),Object(Hr.createElement)(So.Button,{isSecondary:!0,type:"submit",className:"editor-post-taxonomies__hierarchical-terms-submit"},j))]}}]),t}(Hr.Component),sc=Object(Kr.compose)([Object(p.withSelect)((function(e,t){var n=t.slug,r=e("core/editor").getCurrentPost,o=(0,e("core").getTaxonomy)(n);return{hasCreateAction:!!o&&Object(O.get)(r(),["_links","wp:action-create-"+o.rest_base],!1),hasAssignAction:!!o&&Object(O.get)(r(),["_links","wp:action-assign-"+o.rest_base],!1),terms:o?e("core/editor").getEditedPostAttribute(o.rest_base):[],taxonomy:o}})),Object(p.withDispatch)((function(e){return{onUpdateTerms:function(t,n){e("core/editor").editPost(Object(f.a)({},n,t))}}})),So.withSpokenMessages,Kr.withInstanceId,Object(So.withFilters)("editor.PostTaxonomyType")])(ac);var uc=Object(Kr.compose)([Object(p.withSelect)((function(e){return{postType:e("core/editor").getCurrentPostType(),taxonomies:e("core").getTaxonomies({per_page:-1})}}))])((function(e){var t=e.postType,n=e.taxonomies,r=e.taxonomyWrapper,o=void 0===r?O.identity:r,i=Object(O.filter)(n,(function(e){return Object(O.includes)(e.types,t)}));return Object(O.filter)(i,(function(e){return e.visibility.show_ui})).map((function(e){var t=e.hierarchical?sc:Fi;return Object(Hr.createElement)(Hr.Fragment,{key:"taxonomy-".concat(e.slug)},o(Object(Hr.createElement)(t,{slug:e.slug}),e))}))}));var lc=Object(Kr.compose)([Object(p.withSelect)((function(e){return{postType:e("core/editor").getCurrentPostType(),taxonomies:e("core").getTaxonomies({per_page:-1})}}))])((function(e){var t=e.postType,n=e.taxonomies,r=e.children;return Object(O.some)(n,(function(e){return Object(O.includes)(e.types,t)}))?r:null})),dc=n(62),pc=n.n(dc),bc=function(e){function t(){var e;return Object(eo.a)(this,t),(e=Object(no.a)(this,Object(ro.a)(t).apply(this,arguments))).edit=e.edit.bind(Object(Ro.a)(e)),e.stopEditing=e.stopEditing.bind(Object(Ro.a)(e)),e.state={},e}return Object(oo.a)(t,e),Object(to.a)(t,[{key:"edit",value:function(e){var t=e.target.value;this.props.onChange(t),this.setState({value:t,isDirty:!0})}},{key:"stopEditing",value:function(){this.state.isDirty&&(this.props.onPersist(this.state.value),this.setState({isDirty:!1}))}},{key:"render",value:function(){var e=this.state.value,t=this.props.instanceId;return Object(Hr.createElement)(Hr.Fragment,null,Object(Hr.createElement)("label",{htmlFor:"post-content-".concat(t),className:"screen-reader-text"},Object(x.__)("Type text or HTML")),Object(Hr.createElement)(pc.a,{autoComplete:"off",dir:"auto",value:e,onChange:this.edit,onBlur:this.stopEditing,className:"editor-post-text-editor",id:"post-content-".concat(t),placeholder:Object(x.__)("Start writing with text or HTML")}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return t.isDirty?null:{value:e.value,isDirty:!1}}}]),t}(Hr.Component),fc=Object(Kr.compose)([Object(p.withSelect)((function(e){return{value:(0,e("core/editor").getEditedPostContent)()}})),Object(p.withDispatch)((function(e){var t=e("core/editor"),n=t.editPost,r=t.resetEditorBlocks;return{onChange:function(e){n({content:e})},onPersist:function(e){var t=Object(c.parse)(e);r(t)}}})),Kr.withInstanceId])(bc),hc=function(e){function t(e){var n,r=e.permalinkParts,o=e.slug;return Object(eo.a)(this,t),(n=Object(no.a)(this,Object(ro.a)(t).apply(this,arguments))).state={editedPostName:o||r.postName},n.onSavePermalink=n.onSavePermalink.bind(Object(Ro.a)(n)),n}return Object(oo.a)(t,e),Object(to.a)(t,[{key:"onSavePermalink",value:function(e){var t=mi(this.state.editedPostName);e.preventDefault(),this.props.onSave(),t!==this.props.postName&&(this.props.editPost({slug:t}),this.setState({editedPostName:t}))}},{key:"render",value:function(){var e=this,t=this.props.permalinkParts,n=t.prefix,r=t.suffix,o=this.state.editedPostName;return Object(Hr.createElement)("form",{className:"editor-post-permalink-editor",onSubmit:this.onSavePermalink},Object(Hr.createElement)("span",{className:"editor-post-permalink__editor-container"},Object(Hr.createElement)("span",{className:"editor-post-permalink-editor__prefix"},n),Object(Hr.createElement)("input",{className:"editor-post-permalink-editor__edit","aria-label":Object(x.__)("Edit post permalink"),value:o,onChange:function(t){return e.setState({editedPostName:t.target.value})},type:"text",autoFocus:!0}),Object(Hr.createElement)("span",{className:"editor-post-permalink-editor__suffix"},r),"‎"),Object(Hr.createElement)(So.Button,{className:"editor-post-permalink-editor__save",isSecondary:!0,onClick:this.onSavePermalink},Object(x.__)("Save")))}}]),t}(Hr.Component),mc=Object(Kr.compose)([Object(p.withSelect)((function(e){return{permalinkParts:(0,e("core/editor").getPermalinkParts)()}})),Object(p.withDispatch)((function(e){return{editPost:e("core/editor").editPost}}))])(hc),vc=function(e){function t(){var e;return Object(eo.a)(this,t),(e=Object(no.a)(this,Object(ro.a)(t).apply(this,arguments))).addVisibilityCheck=e.addVisibilityCheck.bind(Object(Ro.a)(e)),e.onVisibilityChange=e.onVisibilityChange.bind(Object(Ro.a)(e)),e.state={isCopied:!1,isEditingPermalink:!1},e}return Object(oo.a)(t,e),Object(to.a)(t,[{key:"addVisibilityCheck",value:function(){window.addEventListener("visibilitychange",this.onVisibilityChange)}},{key:"onVisibilityChange",value:function(){var e=this.props,t=e.isEditable,n=e.refreshPost;t||"visible"!==document.visibilityState||n()}},{key:"componentDidUpdate",value:function(e,t){t.isEditingPermalink&&!this.state.isEditingPermalink&&this.linkElement.focus()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("visibilitychange",this.addVisibilityCheck)}},{key:"render",value:function(){var e=this,t=this.props,n=t.isEditable,r=t.isNew,o=t.isPublished,i=t.isViewable,c=t.permalinkParts,a=t.postLink,s=t.postSlug,u=t.postID,l=t.postTitle;if(r||!i||!c||!a)return null;var d=this.state,p=d.isCopied,b=d.isEditingPermalink,f=p?Object(x.__)("Permalink copied"):Object(x.__)("Copy the permalink"),h=c.prefix,m=c.suffix,v=Object(yt.safeDecodeURIComponent)(s)||mi(l)||u,O=n?h+v+m:h;return Object(Hr.createElement)("div",{className:"editor-post-permalink"},Object(Hr.createElement)(So.ClipboardButton,{className:so()("editor-post-permalink__copy",{"is-copied":p}),text:O,label:f,onCopy:function(){return e.setState({isCopied:!0})},"aria-disabled":p,icon:"admin-links"}),Object(Hr.createElement)("span",{className:"editor-post-permalink__label"},Object(x.__)("Permalink:")),!b&&Object(Hr.createElement)(So.ExternalLink,{className:"editor-post-permalink__link",href:o?O:a,target:"_blank",ref:function(t){return e.linkElement=t}},Object(yt.safeDecodeURI)(O),"‎"),b&&Object(Hr.createElement)(mc,{slug:v,onSave:function(){return e.setState({isEditingPermalink:!1})}}),n&&!b&&Object(Hr.createElement)(So.Button,{className:"editor-post-permalink__edit",isSecondary:!0,onClick:function(){return e.setState({isEditingPermalink:!0})}},Object(x.__)("Edit")))}}]),t}(Hr.Component),Oc=Object(Kr.compose)([Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.isEditedPostNew,r=t.isPermalinkEditable,o=t.getCurrentPost,i=t.getPermalinkParts,c=t.getEditedPostAttribute,a=t.isCurrentPostPublished,s=e("core").getPostType,u=o(),l=u.id,d=u.link,p=s(c("type"));return{isNew:n(),postLink:d,permalinkParts:i(),postSlug:c("slug"),isEditable:r(),isPublished:a(),postTitle:c("title"),postID:l,isViewable:Object(O.get)(p,["viewable"],!1)}})),Object(p.withDispatch)((function(e){return{refreshPost:e("core/editor").refreshPost}}))])(vc),gc=/[\r\n]+/g,jc=function(e){function t(){var e;return Object(eo.a)(this,t),(e=Object(no.a)(this,Object(ro.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(Ro.a)(e)),e.onSelect=e.onSelect.bind(Object(Ro.a)(e)),e.onUnselect=e.onUnselect.bind(Object(Ro.a)(e)),e.onKeyDown=e.onKeyDown.bind(Object(Ro.a)(e)),e.state={isSelected:!1},e}return Object(oo.a)(t,e),Object(to.a)(t,[{key:"handleFocusOutside",value:function(){this.onUnselect()}},{key:"onSelect",value:function(){this.setState({isSelected:!0}),this.props.clearSelectedBlock()}},{key:"onUnselect",value:function(){this.setState({isSelected:!1})}},{key:"onChange",value:function(e){var t=e.target.value.replace(gc," ");this.props.onUpdate(t)}},{key:"onKeyDown",value:function(e){e.keyCode===Eo.ENTER&&(e.preventDefault(),this.props.onEnterPress())}},{key:"render",value:function(){var e=this.props,t=e.hasFixedToolbar,n=e.isCleanNewPost,r=e.isFocusMode,o=e.isPostTypeViewable,i=e.instanceId,c=e.placeholder,a=e.title,s=this.state.isSelected,u=so()("wp-block editor-post-title__block",{"is-selected":s,"is-focus-mode":r,"has-fixed-toolbar":t}),l=Object(Yo.decodeEntities)(c);return Object(Hr.createElement)(Vo,{supportKeys:"title"},Object(Hr.createElement)("div",{className:"editor-post-title"},Object(Hr.createElement)("div",{className:u},Object(Hr.createElement)("div",null,Object(Hr.createElement)("label",{htmlFor:"post-title-".concat(i),className:"screen-reader-text"},l||Object(x.__)("Add title")),Object(Hr.createElement)(pc.a,{id:"post-title-".concat(i),className:"editor-post-title__input",value:Object(Yo.decodeEntities)(a),onChange:this.onChange,placeholder:l||Object(x.__)("Add title"),onFocus:this.onSelect,onKeyDown:this.onKeyDown,onKeyPress:this.onUnselect,autoFocus:document.body===document.activeElement&&n})),s&&o&&Object(Hr.createElement)(Oc,null))))}}]),t}(Hr.Component),yc=Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.isCleanNewPost,o=e("core/block-editor").getSettings,i=(0,e("core").getPostType)(n("type")),c=o(),a=c.titlePlaceholder,s=c.focusMode,u=c.hasFixedToolbar;return{isCleanNewPost:r(),title:n("title"),isPostTypeViewable:Object(O.get)(i,["viewable"],!1),placeholder:a,isFocusMode:s,hasFixedToolbar:u}})),_c=Object(p.withDispatch)((function(e){var t=e("core/block-editor"),n=t.insertDefaultBlock,r=t.clearSelectedBlock,o=e("core/editor").editPost;return{onEnterPress:function(){n(void 0,void 0,0)},onUpdate:function(e){o({title:Object(O.escape)(e)})},clearSelectedBlock:r}})),kc=Object(Kr.compose)(yc,_c,Kr.withInstanceId,So.withFocusOutside)(jc);var Sc=Object(Kr.compose)([Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.isEditedPostNew,r=t.getCurrentPostId,o=t.getCurrentPostType;return{isNew:n(),postId:r(),postType:o()}})),Object(p.withDispatch)((function(e){return{trashPost:e("core/editor").trashPost}}))])((function(e){var t=e.isNew,n=e.postId,r=e.postType,o=Object(Wr.a)(e,["isNew","postId","postType"]);return t||!n?null:Object(Hr.createElement)(So.Button,{className:"editor-post-trash is-link",onClick:function(){return o.trashPost(n,r)}},Object(x.__)("Move to Trash"))}));var Ec=Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.isEditedPostNew,r=t.getCurrentPostId;return{isNew:n(),postId:r()}}))((function(e){var t=e.isNew,n=e.postId,r=e.children;return t||!n?null:r}));var Pc=Object(Kr.compose)([Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.getCurrentPostType;return{hasPublishAction:Object(O.get)(n(),["_links","wp:action-publish"],!1),postType:r()}}))])((function(e){var t=e.hasPublishAction;return(0,e.render)({canEdit:t})})),wc=n(97);var Cc=Object(p.withSelect)((function(e){return{content:e("core/editor").getEditedPostAttribute("content")}}))((function(e){var t=e.content,n=Object(x._x)("words","Word count type. Do not translate!");return Object(Hr.createElement)("span",{className:"word-count"},Object(wc.count)(t,n))}));var Tc=Object(p.withSelect)((function(e){var t=e("core/block-editor").getGlobalBlockCount;return{headingCount:t("core/heading"),paragraphCount:t("core/paragraph"),numberOfBlocks:t()}}))((function(e){var t=e.headingCount,n=e.paragraphCount,r=e.numberOfBlocks,o=e.hasOutlineItemsDisabled,i=e.onRequestClose;return(Object(Hr.createElement)(Hr.Fragment,null,Object(Hr.createElement)("div",{className:"table-of-contents__wrapper",role:"note","aria-label":Object(x.__)("Document Statistics"),tabIndex:"0"},Object(Hr.createElement)("ul",{role:"list",className:"table-of-contents__counts"},Object(Hr.createElement)("li",{className:"table-of-contents__count"},Object(x.__)("Words"),Object(Hr.createElement)(Cc,null)),Object(Hr.createElement)("li",{className:"table-of-contents__count"},Object(x.__)("Headings"),Object(Hr.createElement)("span",{className:"table-of-contents__number"},t)),Object(Hr.createElement)("li",{className:"table-of-contents__count"},Object(x.__)("Paragraphs"),Object(Hr.createElement)("span",{className:"table-of-contents__number"},n)),Object(Hr.createElement)("li",{className:"table-of-contents__count"},Object(x.__)("Blocks"),Object(Hr.createElement)("span",{className:"table-of-contents__number"},r)))),t>0&&Object(Hr.createElement)(Hr.Fragment,null,Object(Hr.createElement)("hr",null),Object(Hr.createElement)("h2",{className:"table-of-contents__title"},Object(x.__)("Document Outline")),Object(Hr.createElement)(mo,{onSelect:i,hasOutlineItemsDisabled:o}))))}));var Bc=Object(p.withSelect)((function(e){return{hasBlocks:!!e("core/block-editor").getBlockCount()}}))((function(e){var t=e.hasBlocks,n=e.hasOutlineItemsDisabled;return Object(Hr.createElement)(So.Dropdown,{position:"bottom",className:"table-of-contents",contentClassName:"table-of-contents__popover",renderToggle:function(e){var n=e.isOpen,r=e.onToggle;return Object(Hr.createElement)(So.Button,{onClick:t?r:void 0,icon:"info-outline","aria-expanded":n,label:Object(x.__)("Content structure"),tooltipPosition:"bottom","aria-disabled":!t})},renderContent:function(e){var t=e.onClose;return Object(Hr.createElement)(Tc,{onRequestClose:t,hasOutlineItemsDisabled:n})}})})),xc=function(e){function t(){var e;return Object(eo.a)(this,t),(e=Object(no.a)(this,Object(ro.a)(t).apply(this,arguments))).warnIfUnsavedChanges=e.warnIfUnsavedChanges.bind(Object(Ro.a)(e)),e}return Object(oo.a)(t,e),Object(to.a)(t,[{key:"componentDidMount",value:function(){window.addEventListener("beforeunload",this.warnIfUnsavedChanges)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("beforeunload",this.warnIfUnsavedChanges)}},{key:"warnIfUnsavedChanges",value:function(e){if((0,this.props.isEditedPostDirty)())return e.returnValue=Object(x.__)("You have unsaved changes. If you proceed, they will be lost."),e.returnValue}},{key:"render",value:function(){return null}}]),t}(Hr.Component),Ic=Object(p.withSelect)((function(e){return{isEditedPostDirty:e("core/editor").isEditedPostDirty}}))(xc),Ac=Object(Kr.createHigherOrderComponent)((function(e){return Object(p.withRegistry)((function(t){var n=t.useSubRegistry,r=void 0===n||n,o=t.registry,c=Object(Wr.a)(t,["useSubRegistry","registry"]);if(!r)return Object(Hr.createElement)(e,c);var a=Object(Hr.useState)(null),s=Object(Ot.a)(a,2),u=s[0],l=s[1];return Object(Hr.useEffect)((function(){var e=Object(p.createRegistry)({"core/block-editor":i.storeConfig},o),t=e.registerStore("core/editor",Mr);Nr(t),l(e)}),[o]),u?Object(Hr.createElement)(p.RegistryProvider,{value:u},Object(Hr.createElement)(e,c)):null}))}),"withRegistryProvider"),Rc=n(99),Lc=function(e){var t=e.additionalData,n=void 0===t?{}:t,r=e.allowedTypes,o=e.filesList,i=e.maxUploadFileSize,c=e.onError,a=void 0===c?O.noop:c,s=e.onFileChange,u=Object(p.select)("core/editor"),l=u.getCurrentPostId,b=u.getEditorSettings,f=b().allowedMimeTypes;i=i||b().maxUploadFileSize,Object(Rc.uploadMedia)({allowedTypes:r,filesList:o,onFileChange:s,additionalData:Object(d.a)({post:l()},n),maxUploadFileSize:i,onError:function(e){var t=e.message;return a(t)},wpAllowedMimeTypes:f})};var Nc=Object(Kr.compose)([Object(p.withSelect)((function(e,t){var n=t.clientIds,r=e("core/block-editor"),o=r.getBlocksByClientId,i=r.canInsertBlockType,a=e("core/editor").__experimentalGetReusableBlock,s=e("core").canUser,u=o(n),l=1===u.length&&u[0]&&Object(c.isReusableBlock)(u[0])&&!!a(u[0].attributes.ref);return{isReusable:l,isVisible:l||i("core/block")&&Object(O.every)(u,(function(e){return!!e&&e.isValid&&Object(c.hasBlockSupport)(e.name,"reusable",!0)}))&&!!s("create","blocks")}})),Object(p.withDispatch)((function(e,t){var n=t.clientIds,r=t.onToggle,o=void 0===r?O.noop:r,i=e("core/editor"),c=i.__experimentalConvertBlockToReusable,a=i.__experimentalConvertBlockToStatic;return{onConvertToStatic:function(){1===n.length&&(a(n[0]),o())},onConvertToReusable:function(){c(n),o()}}}))])((function(e){var t=e.isVisible,n=e.isReusable,r=e.onConvertToStatic,o=e.onConvertToReusable;return t?Object(Hr.createElement)(Hr.Fragment,null,!n&&Object(Hr.createElement)(So.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:"controls-repeat",onClick:o},Object(x.__)("Add to Reusable blocks")),n&&Object(Hr.createElement)(So.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:"controls-repeat",onClick:r},Object(x.__)("Convert to Regular Block"))):null}));var Dc=Object(Kr.compose)([Object(p.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock,o=e("core").canUser,i=e("core/editor").__experimentalGetReusableBlock,a=r(n),s=a&&Object(c.isReusableBlock)(a)?i(a.attributes.ref):null;return{isVisible:!!s&&!!o("delete","blocks",s.id),isDisabled:s&&s.isTemporary}})),Object(p.withDispatch)((function(e,t,n){var r=t.clientId,o=t.onToggle,i=void 0===o?O.noop:o,c=n.select,a=e("core/editor").__experimentalDeleteReusableBlock,s=c("core/block-editor").getBlock;return{onDelete:function(){if(window.confirm(Object(x.__)("Are you sure you want to delete this Reusable Block?\n\nIt will be permanently removed from all posts and pages that use it."))){var e=s(r);a(e.attributes.ref),i()}}}}))])((function(e){var t=e.isVisible,n=e.isDisabled,r=e.onDelete;return t?Object(Hr.createElement)(So.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:"no",disabled:n,onClick:function(){return r()}},Object(x.__)("Remove from Reusable blocks")):null}));var Uc=Object(p.withSelect)((function(e){return{clientIds:(0,e("core/block-editor").getSelectedBlockClientIds)()}}))((function(e){var t=e.clientIds;return Object(Hr.createElement)(i.__experimentalBlockSettingsMenuPluginsExtension,null,(function(e){var n=e.onClose;return Object(Hr.createElement)(Hr.Fragment,null,Object(Hr.createElement)(Nc,{clientIds:t,onToggle:n}),1===t.length&&Object(Hr.createElement)(Dc,{clientId:t[0],onToggle:n}))}))})),Fc=Object(Hr.createElement)(So.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(Hr.createElement)(So.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M8 5a1 1 0 0 0-1 1v3H6a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-3h1a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H8zm3 6H7v2h4v-2zM9 9V7h4v2H9z"}),Object(Hr.createElement)(So.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M1 3a2 2 0 0 0 1 1.732v10.536A2 2 0 1 0 4.732 18h10.536A2 2 0 1 0 18 15.268V4.732A2 2 0 1 0 15.268 2H4.732A2 2 0 0 0 1 3zm14.268 1H4.732A2.01 2.01 0 0 1 4 4.732v10.536c.304.175.557.428.732.732h10.536a2.01 2.01 0 0 1 .732-.732V4.732A2.01 2.01 0 0 1 15.268 4z"})),Mc=Object(Hr.createElement)(So.Icon,{icon:Fc}),Vc=Object(Hr.createElement)(So.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Object(Hr.createElement)(So.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M9 2H15C16.1 2 17 2.9 17 4V7C17 8.1 16.1 9 15 9H9C7.9 9 7 8.1 7 7V4C7 2.9 7.9 2 9 2ZM9 7H15V4H9V7Z"}),Object(Hr.createElement)(So.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5 11H11C12.1 11 13 11.9 13 13V16C13 17.1 12.1 18 11 18H5C3.9 18 3 17.1 3 16V13C3 11.9 3.9 11 5 11ZM5 16H11V13H5V16Z"})),zc=Object(Hr.createElement)(So.Icon,{icon:Vc});var Wc=Object(Kr.compose)([Object(p.withSelect)((function(e,t){var n=t.clientIds,r=e("core/block-editor"),o=r.getBlockRootClientId,i=r.getBlocksByClientId,c=r.canInsertBlockType,a=(0,e("core/blocks").getGroupingBlockName)(),s=c(a,n&&n.length>0?o(n[0]):void 0),u=i(n),l=1===u.length&&u[0]&&u[0].name===a;return{isGroupable:s&&u.length&&!l,isUngroupable:l&&!!u[0].innerBlocks.length,blocksSelection:u,groupingBlockName:a}})),Object(p.withDispatch)((function(e,t){var n=t.clientIds,r=t.onToggle,o=void 0===r?O.noop:r,i=t.blocksSelection,a=void 0===i?[]:i,s=t.groupingBlockName,u=e("core/block-editor").replaceBlocks;return{onConvertToGroup:function(){if(a.length){var e=Object(c.switchToBlockType)(a,s);e&&u(n,e),o()}},onConvertFromGroup:function(){if(a.length){var e=a[0].innerBlocks;e.length&&(u(n,e),o())}}}}))])((function(e){var t=e.onConvertToGroup,n=e.onConvertFromGroup,r=e.isGroupable,o=void 0!==r&&r,i=e.isUngroupable,c=void 0!==i&&i;return Object(Hr.createElement)(Hr.Fragment,null,o&&Object(Hr.createElement)(So.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:Mc,onClick:t},Object(x._x)("Group","verb")),c&&Object(Hr.createElement)(So.MenuItem,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",icon:zc,onClick:n},Object(x._x)("Ungroup","Ungrouping blocks from within a Group block back into individual blocks within the Editor ")))}));var Hc=Object(p.withSelect)((function(e){return{clientIds:(0,e("core/block-editor").getSelectedBlockClientIds)()}}))((function(e){var t=e.clientIds;return Object(Hr.createElement)(i.__experimentalBlockSettingsMenuPluginsExtension,null,(function(e){var n=e.onClose;return Object(Hr.createElement)(Hr.Fragment,null,Object(Hr.createElement)(Wc,{clientIds:t,onToggle:n}))}))})),Kc=function(){var e=Object(C.a)(w.a.mark((function e(t){var n;return w.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,B()({path:Object(yt.addQueryArgs)("/wp/v2/search",{search:t,per_page:20,type:"post"})});case 2:return n=e.sent,e.abrupt("return",Object(O.map)(n,(function(e){return{id:e.id,url:e.url,title:Object(Yo.decodeEntities)(e.title)||Object(x.__)("(no title)"),type:e.subtype||e.type}})));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Gc=function(e){function t(e){var n;return Object(eo.a)(this,t),(n=Object(no.a)(this,Object(ro.a)(t).apply(this,arguments))).getBlockEditorSettings=G()(n.getBlockEditorSettings,{maxSize:1}),e.recovery?Object(no.a)(n):(e.updatePostLock(e.settings.postLock),e.setupEditor(e.post,e.initialEdits,e.settings.template),e.settings.autosave&&e.createWarningNotice(Object(x.__)("There is an autosave of this post that is more recent than the version below."),{id:"autosave-exists",actions:[{label:Object(x.__)("View the autosave"),url:e.settings.autosave.editLink}]}),n)}return Object(oo.a)(t,e),Object(to.a)(t,[{key:"getBlockEditorSettings",value:function(e,t,n,r,o){return Object(d.a)({},Object(O.pick)(e,["alignWide","allowedBlockTypes","__experimentalPreferredStyleVariations","availableLegacyWidgets","bodyPlaceholder","codeEditingEnabled","colors","disableCustomColors","disableCustomFontSizes","disableCustomGradients","focusMode","fontSizes","hasFixedToolbar","hasPermissionsToManageWidgets","imageSizes","isRTL","maxWidth","styles","template","templateLock","titlePlaceholder","onUpdateDefaultBlockStyles","__experimentalEnableLegacyWidgetBlock","__experimentalBlockDirectory","__experimentalEnableFullSiteEditing","__experimentalEnableFullSiteEditingDemo","__experimentalEnablePageTemplates","showInserterHelpPanel","gradients"]),{mediaUpload:r?Lc:void 0,__experimentalReusableBlocks:t,__experimentalFetchReusableBlocks:n,__experimentalFetchLinkSuggestions:Kc,__experimentalCanUserUseUnfilteredHTML:o})}},{key:"componentDidMount",value:function(){if(this.props.updateEditorSettings(this.props.settings),this.props.settings.styles){var e=Object(i.transformStyles)(this.props.settings.styles,".editor-styles-wrapper");Object(O.map)(e,(function(e){if(e){var t=document.createElement("style");t.innerHTML=e,document.body.appendChild(t)}}))}}},{key:"componentDidUpdate",value:function(e){this.props.settings!==e.settings&&this.props.updateEditorSettings(this.props.settings)}},{key:"componentWillUnmount",value:function(){this.props.tearDownEditor()}},{key:"render",value:function(){var e=this.props,t=e.canUserUseUnfilteredHTML,n=e.children,r=e.post,o=e.blocks,c=e.resetEditorBlocks,s=e.selectionStart,u=e.selectionEnd,l=e.isReady,d=e.settings,p=e.reusableBlocks,b=e.resetEditorBlocksWithoutUndoLevel,f=e.hasUploadPermissions,h=e.__experimentalFetchReusableBlocks;if(!l)return null;var m=this.getBlockEditorSettings(d,p,h,f,t);return Object(Hr.createElement)(a.EntityProvider,{kind:"root",type:"site"},Object(Hr.createElement)(a.EntityProvider,{kind:"postType",type:r.type,id:r.id},Object(Hr.createElement)(i.BlockEditorProvider,{value:o,onInput:b,onChange:c,selectionStart:s,selectionEnd:u,settings:m,useSubRegistry:!1},n,Object(Hr.createElement)(Uc,null),Object(Hr.createElement)(Hc,null))))}}]),t}(Hr.Component),qc=Object(Kr.compose)([Ac,Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.canUserUseUnfilteredHTML,r=t.__unstableIsEditorReady,o=t.getEditorBlocks,i=t.getEditorSelectionStart,c=t.getEditorSelectionEnd,a=t.__experimentalGetReusableBlocks,s=e("core").canUser;return{canUserUseUnfilteredHTML:n(),isReady:r(),blocks:o(),selectionStart:i(),selectionEnd:c(),reusableBlocks:a(),hasUploadPermissions:Object(O.defaultTo)(s("create","media"),!0)}})),Object(p.withDispatch)((function(e){var t=e("core/editor"),n=t.setupEditor,r=t.updatePostLock,o=t.resetEditorBlocks,i=t.updateEditorSettings,c=t.__experimentalFetchReusableBlocks,a=t.__experimentalTearDownEditor;return{setupEditor:n,updatePostLock:r,createWarningNotice:e("core/notices").createWarningNotice,resetEditorBlocks:o,updateEditorSettings:i,resetEditorBlocksWithoutUndoLevel:function(e,t){o(e,Object(d.a)({},t,{__unstableShouldCreateUndoLevel:!1}))},tearDownEditor:a,__experimentalFetchReusableBlocks:c}}))])(Gc),Qc=n(60),Yc=n.n(Qc);function Xc(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=Object(Hr.forwardRef)((function(n,r){return R()("wp.editor."+e,{alternative:"wp.blockEditor."+e}),Object(Hr.createElement)(t,Object(zr.a)({ref:r},n))}));return n.forEach((function(n){r[n]=Xc(e+"."+n,t[n])})),r}function Zc(e,t){return function(){return R()("wp.editor."+e,{alternative:"wp.blockEditor."+e}),t.apply(void 0,arguments)}}var Jc=Xc("RichText",i.RichText,["Content"]);Jc.isEmpty=Zc("RichText.isEmpty",i.RichText.isEmpty);var $c=Xc("Autocomplete",i.Autocomplete),ea=Xc("AlignmentToolbar",i.AlignmentToolbar),ta=Xc("BlockAlignmentToolbar",i.BlockAlignmentToolbar),na=Xc("BlockControls",i.BlockControls,["Slot"]),ra=Xc("BlockEdit",i.BlockEdit),oa=Xc("BlockEditorKeyboardShortcuts",i.BlockEditorKeyboardShortcuts),ia=Xc("BlockFormatControls",i.BlockFormatControls,["Slot"]),ca=Xc("BlockIcon",i.BlockIcon),aa=Xc("BlockInspector",i.BlockInspector),sa=Xc("BlockList",i.BlockList),ua=Xc("BlockMover",i.BlockMover),la=Xc("BlockNavigationDropdown",i.BlockNavigationDropdown),da=Xc("BlockSelectionClearer",i.BlockSelectionClearer),pa=Xc("BlockSettingsMenu",i.BlockSettingsMenu),ba=Xc("BlockTitle",i.BlockTitle),fa=Xc("BlockToolbar",i.BlockToolbar),ha=Xc("ColorPalette",i.ColorPalette),ma=Xc("ContrastChecker",i.ContrastChecker),va=Xc("CopyHandler",i.CopyHandler),Oa=Xc("DefaultBlockAppender",i.DefaultBlockAppender),ga=Xc("FontSizePicker",i.FontSizePicker),ja=Xc("Inserter",i.Inserter),ya=Xc("InnerBlocks",i.InnerBlocks,["ButtonBlockAppender","DefaultBlockAppender","Content"]),_a=Xc("InspectorAdvancedControls",i.InspectorAdvancedControls,["Slot"]),ka=Xc("InspectorControls",i.InspectorControls,["Slot"]),Sa=Xc("PanelColorSettings",i.PanelColorSettings),Ea=Xc("PlainText",i.PlainText),Pa=Xc("RichTextShortcut",i.RichTextShortcut),wa=Xc("RichTextToolbarButton",i.RichTextToolbarButton),Ca=Xc("__unstableRichTextInputEvent",i.__unstableRichTextInputEvent),Ta=Xc("MediaPlaceholder",i.MediaPlaceholder),Ba=Xc("MediaUpload",i.MediaUpload),xa=Xc("MediaUploadCheck",i.MediaUploadCheck),Ia=Xc("MultiBlocksSwitcher",i.MultiBlocksSwitcher),Aa=Xc("MultiSelectScrollIntoView",i.MultiSelectScrollIntoView),Ra=Xc("NavigableToolbar",i.NavigableToolbar),La=Xc("ObserveTyping",i.ObserveTyping),Na=Xc("PreserveScrollInReorder",i.PreserveScrollInReorder),Da=Xc("SkipToSelectedBlock",i.SkipToSelectedBlock),Ua=Xc("URLInput",i.URLInput),Fa=Xc("URLInputButton",i.URLInputButton),Ma=Xc("URLPopover",i.URLPopover),Va=Xc("Warning",i.Warning),za=Xc("WritingFlow",i.WritingFlow),Wa=Zc("createCustomColorsHOC",i.createCustomColorsHOC),Ha=Zc("getColorClassName",i.getColorClassName),Ka=Zc("getColorObjectByAttributeValues",i.getColorObjectByAttributeValues),Ga=Zc("getColorObjectByColorValue",i.getColorObjectByColorValue),qa=Zc("getFontSize",i.getFontSize),Qa=Zc("getFontSizeClass",i.getFontSizeClass),Ya=Zc("withColorContext",i.withColorContext),Xa=Zc("withColors",i.withColors),Za=Zc("withFontSizes",i.withFontSizes);Object(Gr.addFilter)("editor.Autocomplete.completers","editor/autocompleters/set-default-completers",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return e.push(Object(O.clone)($r)),t===Object(c.getDefaultBlockName)()&&e.push(Object(O.clone)(Jr)),e})),n.d(t,"AutosaveMonitor",(function(){return co})),n.d(t,"DocumentOutline",(function(){return mo})),n.d(t,"DocumentOutlineCheck",(function(){return vo})),n.d(t,"VisualEditorGlobalKeyboardShortcuts",(function(){return jo})),n.d(t,"EditorGlobalKeyboardShortcuts",(function(){return yo})),n.d(t,"TextEditorGlobalKeyboardShortcuts",(function(){return _o})),n.d(t,"EditorKeyboardShortcutsRegister",(function(){return ko})),n.d(t,"EditorHistoryRedo",(function(){return Po})),n.d(t,"EditorHistoryUndo",(function(){return wo})),n.d(t,"EditorNotices",(function(){return To})),n.d(t,"EntitiesSavedStates",(function(){return Ao})),n.d(t,"ErrorBoundary",(function(){return Lo})),n.d(t,"LocalAutosaveMonitor",(function(){return Fo})),n.d(t,"PageAttributesCheck",(function(){return Mo})),n.d(t,"PageAttributesOrder",(function(){return Wo})),n.d(t,"PageAttributesParent",(function(){return qo})),n.d(t,"PageTemplate",(function(){return Qo})),n.d(t,"PostAuthor",(function(){return Jo})),n.d(t,"PostAuthorCheck",(function(){return Xo})),n.d(t,"PostComments",(function(){return $o})),n.d(t,"PostExcerpt",(function(){return ei})),n.d(t,"PostExcerptCheck",(function(){return ti})),n.d(t,"PostFeaturedImage",(function(){return li})),n.d(t,"PostFeaturedImageCheck",(function(){return ri})),n.d(t,"PostFormat",(function(){return bi})),n.d(t,"PostFormatCheck",(function(){return di})),n.d(t,"PostLastRevision",(function(){return vi})),n.d(t,"PostLastRevisionCheck",(function(){return fi})),n.d(t,"PostLockedModal",(function(){return yi})),n.d(t,"PostPendingStatus",(function(){return ki})),n.d(t,"PostPendingStatusCheck",(function(){return _i})),n.d(t,"PostPingbacks",(function(){return Si})),n.d(t,"PostPreviewButton",(function(){return gi})),n.d(t,"PostPublishButton",(function(){return wi})),n.d(t,"PostPublishButtonLabel",(function(){return Ei})),n.d(t,"PostPublishPanel",(function(){return Xi})),n.d(t,"PostSavedState",(function(){return $i})),n.d(t,"PostSchedule",(function(){return Ii})),n.d(t,"PostScheduleCheck",(function(){return ec})),n.d(t,"PostScheduleLabel",(function(){return Ai})),n.d(t,"PostSlug",(function(){return rc})),n.d(t,"PostSlugCheck",(function(){return tc})),n.d(t,"PostSticky",(function(){return ic})),n.d(t,"PostStickyCheck",(function(){return oc})),n.d(t,"PostSwitchToDraftButton",(function(){return Zi})),n.d(t,"PostTaxonomies",(function(){return uc})),n.d(t,"PostTaxonomiesCheck",(function(){return lc})),n.d(t,"PostTextEditor",(function(){return fc})),n.d(t,"PostTitle",(function(){return kc})),n.d(t,"PostTrash",(function(){return Sc})),n.d(t,"PostTrashCheck",(function(){return Ec})),n.d(t,"PostTypeSupportCheck",(function(){return Vo})),n.d(t,"PostVisibility",(function(){return Bi})),n.d(t,"PostVisibilityLabel",(function(){return xi})),n.d(t,"PostVisibilityCheck",(function(){return Pc})),n.d(t,"TableOfContents",(function(){return Bc})),n.d(t,"UnsavedChangesWarning",(function(){return Ic})),n.d(t,"WordCount",(function(){return Cc})),n.d(t,"EditorProvider",(function(){return qc})),n.d(t,"blockAutocompleter",(function(){return Jr})),n.d(t,"userAutocompleter",(function(){return $r})),n.d(t,"ServerSideRender",(function(){return Yc.a})),n.d(t,"RichText",(function(){return Jc})),n.d(t,"Autocomplete",(function(){return $c})),n.d(t,"AlignmentToolbar",(function(){return ea})),n.d(t,"BlockAlignmentToolbar",(function(){return ta})),n.d(t,"BlockControls",(function(){return na})),n.d(t,"BlockEdit",(function(){return ra})),n.d(t,"BlockEditorKeyboardShortcuts",(function(){return oa})),n.d(t,"BlockFormatControls",(function(){return ia})),n.d(t,"BlockIcon",(function(){return ca})),n.d(t,"BlockInspector",(function(){return aa})),n.d(t,"BlockList",(function(){return sa})),n.d(t,"BlockMover",(function(){return ua})),n.d(t,"BlockNavigationDropdown",(function(){return la})),n.d(t,"BlockSelectionClearer",(function(){return da})),n.d(t,"BlockSettingsMenu",(function(){return pa})),n.d(t,"BlockTitle",(function(){return ba})),n.d(t,"BlockToolbar",(function(){return fa})),n.d(t,"ColorPalette",(function(){return ha})),n.d(t,"ContrastChecker",(function(){return ma})),n.d(t,"CopyHandler",(function(){return va})),n.d(t,"DefaultBlockAppender",(function(){return Oa})),n.d(t,"FontSizePicker",(function(){return ga})),n.d(t,"Inserter",(function(){return ja})),n.d(t,"InnerBlocks",(function(){return ya})),n.d(t,"InspectorAdvancedControls",(function(){return _a})),n.d(t,"InspectorControls",(function(){return ka})),n.d(t,"PanelColorSettings",(function(){return Sa})),n.d(t,"PlainText",(function(){return Ea})),n.d(t,"RichTextShortcut",(function(){return Pa})),n.d(t,"RichTextToolbarButton",(function(){return wa})),n.d(t,"__unstableRichTextInputEvent",(function(){return Ca})),n.d(t,"MediaPlaceholder",(function(){return Ta})),n.d(t,"MediaUpload",(function(){return Ba})),n.d(t,"MediaUploadCheck",(function(){return xa})),n.d(t,"MultiBlocksSwitcher",(function(){return Ia})),n.d(t,"MultiSelectScrollIntoView",(function(){return Aa})),n.d(t,"NavigableToolbar",(function(){return Ra})),n.d(t,"ObserveTyping",(function(){return La})),n.d(t,"PreserveScrollInReorder",(function(){return Na})),n.d(t,"SkipToSelectedBlock",(function(){return Da})),n.d(t,"URLInput",(function(){return Ua})),n.d(t,"URLInputButton",(function(){return Fa})),n.d(t,"URLPopover",(function(){return Ma})),n.d(t,"Warning",(function(){return Va})),n.d(t,"WritingFlow",(function(){return za})),n.d(t,"createCustomColorsHOC",(function(){return Wa})),n.d(t,"getColorClassName",(function(){return Ha})),n.d(t,"getColorObjectByAttributeValues",(function(){return Ka})),n.d(t,"getColorObjectByColorValue",(function(){return Ga})),n.d(t,"getFontSize",(function(){return qa})),n.d(t,"getFontSizeClass",(function(){return Qa})),n.d(t,"withColorContext",(function(){return Ya})),n.d(t,"withColors",(function(){return Xa})),n.d(t,"withFontSizes",(function(){return Za})),n.d(t,"mediaUpload",(function(){return Lc})),n.d(t,"cleanForSlug",(function(){return mi})),n.d(t,"storeConfig",(function(){return Mr})),n.d(t,"transformStyles",(function(){return i.transformStyles}))},38:function(e,t){!function(){e.exports=this.wp.apiFetch}()},39:function(e,t){!function(){e.exports=this.wp.dataControls}()},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,s=arguments.length;e:for(;a;){if(a.args.length===arguments.length){for(c=0;c1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(o,i){null!==i&&"object"===r(i)&&(o=o[1]),e.call(n,o,i,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&o(t.prototype,n),c&&o(t,c),e}();e.exports=c},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-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()},s=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",s,!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",s,!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:s,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 u(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function l(){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(){l();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||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},2:function(e,t){!function(){e.exports=this.lodash}()},20:function(e,t){!function(){e.exports=this.wp.keycodes}()},21:function(e,t){!function(){e.exports=this.React}()},22:function(e,t,n){"use strict";var r=n(37);var o=n(38);function i(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,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(r=(c=a.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}}(e,t)||Object(o.a)()}n.d(t,"a",(function(){return i}))},23:function(e,t){!function(){e.exports=this.regeneratorRuntime}()},24:function(e,t){!function(){e.exports=this.wp.richText}()},25:function(e,t,n){e.exports=n(113)()},26:function(e,t){!function(){e.exports=this.wp.url}()},29:function(e,t){!function(){e.exports=this.wp.hooks}()},3:function(e,t){!function(){e.exports=this.wp.components}()},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,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}))},35:function(e,t){!function(){e.exports=this.wp.deprecated}()},36: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||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["optimist"])}}return{optimist:a,innerState:e}}e.exports=function(e){function t(t,n,o){return t.length&&(t=t.concat([{action:o}])),u(n=e(n,o),o),r({optimist:t},n)}return function(n,a){if(a.optimist)switch(a.optimist.type){case o:return function(t,n){var o=l(t),i=o.optimist,c=o.innerState;return i=i.concat([{beforeState:c,action:n}]),u(c=e(c,n),n),r({optimist:i},c)}(n,a);case i:return function(e,n){var r=l(e),o=r.optimist,i=r.innerState,c=[],a=!1,u=!1;return o.forEach((function(e){a?e.beforeState&&s(e.action,n.optimist.id)?(u=!0,c.push({action:e.action})):c.push(e):e.beforeState&&!s(e.action,n.optimist.id)?(a=!0,c.push(e)):e.beforeState&&s(e.action,n.optimist.id)&&(u=!0)})),u||console.error('Cannot commit transaction with id "'+n.optimist.id+'" because it does not exist'),t(o=c,i,n)}(n,a);case c:return function(n,r){var o=l(n),i=o.optimist,c=o.innerState,a=[],d=!1,p=!1,b=c;return i.forEach((function(t){t.beforeState&&s(t.action,r.optimist.id)&&(b=t.beforeState,p=!0),s(t.action,r.optimist.id)||(t.beforeState&&(d=!0),d&&(p&&t.beforeState?a.push({beforeState:b,action:t.action}):a.push(t)),p&&(b=e(b,t.action),u(c,r)))})),p||console.error('Cannot revert transaction with id "'+r.optimist.id+'" because it does not exist'),t(i=a,b,r)}(n,a)}var d=l(n),p=d.optimist,b=d.innerState;if(n&&!p.length){var f=e(b,a);return f===b?n:(u(f,a),r({optimist:p},f))}return t(p,b,a)}},e.exports.BEGIN=o,e.exports.COMMIT=i,e.exports.REVERT=c},4:function(e,t){!function(){e.exports=this.wp.data}()},40:function(e,t){!function(){e.exports=this.wp.apiFetch}()},41: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}))},412:function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"setupEditor",(function(){return le})),n.d(r,"__experimentalTearDownEditor",(function(){return de})),n.d(r,"resetPost",(function(){return pe})),n.d(r,"resetAutosave",(function(){return be})),n.d(r,"__experimentalRequestPostUpdateStart",(function(){return fe})),n.d(r,"__experimentalRequestPostUpdateFinish",(function(){return he})),n.d(r,"updatePost",(function(){return me})),n.d(r,"setupEditorState",(function(){return Oe})),n.d(r,"editPost",(function(){return ve})),n.d(r,"__experimentalOptimisticUpdatePost",(function(){return ge})),n.d(r,"savePost",(function(){return je})),n.d(r,"refreshPost",(function(){return ye})),n.d(r,"trashPost",(function(){return _e})),n.d(r,"autosave",(function(){return ke})),n.d(r,"__experimentalLocalAutosave",(function(){return Se})),n.d(r,"redo",(function(){return Ee})),n.d(r,"undo",(function(){return Pe})),n.d(r,"createUndoLevel",(function(){return we})),n.d(r,"updatePostLock",(function(){return Ce})),n.d(r,"__experimentalFetchReusableBlocks",(function(){return Te})),n.d(r,"__experimentalReceiveReusableBlocks",(function(){return Be})),n.d(r,"__experimentalSaveReusableBlock",(function(){return xe})),n.d(r,"__experimentalDeleteReusableBlock",(function(){return Ie})),n.d(r,"__experimentalUpdateReusableBlock",(function(){return Ae})),n.d(r,"__experimentalConvertBlockToStatic",(function(){return Re})),n.d(r,"__experimentalConvertBlockToReusable",(function(){return De})),n.d(r,"enablePublishSidebar",(function(){return Le})),n.d(r,"disablePublishSidebar",(function(){return Ne})),n.d(r,"lockPostSaving",(function(){return Ue})),n.d(r,"unlockPostSaving",(function(){return Fe})),n.d(r,"lockPostAutosaving",(function(){return Me})),n.d(r,"unlockPostAutosaving",(function(){return Ve})),n.d(r,"resetEditorBlocks",(function(){return ze})),n.d(r,"updateEditorSettings",(function(){return We})),n.d(r,"resetBlocks",(function(){return Ke})),n.d(r,"receiveBlocks",(function(){return Ge})),n.d(r,"updateBlock",(function(){return qe})),n.d(r,"updateBlockAttributes",(function(){return Qe})),n.d(r,"selectBlock",(function(){return Ye})),n.d(r,"startMultiSelect",(function(){return Xe})),n.d(r,"stopMultiSelect",(function(){return Ze})),n.d(r,"multiSelect",(function(){return Je})),n.d(r,"clearSelectedBlock",(function(){return $e})),n.d(r,"toggleSelection",(function(){return et})),n.d(r,"replaceBlocks",(function(){return tt})),n.d(r,"replaceBlock",(function(){return nt})),n.d(r,"moveBlocksDown",(function(){return rt})),n.d(r,"moveBlocksUp",(function(){return ot})),n.d(r,"moveBlockToPosition",(function(){return it})),n.d(r,"insertBlock",(function(){return ct})),n.d(r,"insertBlocks",(function(){return at})),n.d(r,"showInsertionPoint",(function(){return st})),n.d(r,"hideInsertionPoint",(function(){return ut})),n.d(r,"setTemplateValidity",(function(){return lt})),n.d(r,"synchronizeTemplate",(function(){return dt})),n.d(r,"mergeBlocks",(function(){return pt})),n.d(r,"removeBlocks",(function(){return bt})),n.d(r,"removeBlock",(function(){return ft})),n.d(r,"toggleBlockMode",(function(){return ht})),n.d(r,"startTyping",(function(){return mt})),n.d(r,"stopTyping",(function(){return Ot})),n.d(r,"enterFormattedText",(function(){return vt})),n.d(r,"exitFormattedText",(function(){return gt})),n.d(r,"insertDefaultBlock",(function(){return jt})),n.d(r,"updateBlockListSettings",(function(){return yt}));var o={};n.r(o),n.d(o,"hasEditorUndo",(function(){return Bt})),n.d(o,"hasEditorRedo",(function(){return xt})),n.d(o,"isEditedPostNew",(function(){return It})),n.d(o,"hasChangedContent",(function(){return At})),n.d(o,"isEditedPostDirty",(function(){return Rt})),n.d(o,"hasNonPostEntityChanges",(function(){return Dt})),n.d(o,"isCleanNewPost",(function(){return Lt})),n.d(o,"getCurrentPost",(function(){return Nt})),n.d(o,"getCurrentPostType",(function(){return Ut})),n.d(o,"getCurrentPostId",(function(){return Ft})),n.d(o,"getCurrentPostRevisionsCount",(function(){return Mt})),n.d(o,"getCurrentPostLastRevisionId",(function(){return Vt})),n.d(o,"getPostEdits",(function(){return zt})),n.d(o,"getReferenceByDistinctEdits",(function(){return Wt})),n.d(o,"getCurrentPostAttribute",(function(){return Ht})),n.d(o,"getEditedPostAttribute",(function(){return Gt})),n.d(o,"getAutosaveAttribute",(function(){return qt})),n.d(o,"getEditedPostVisibility",(function(){return Qt})),n.d(o,"isCurrentPostPending",(function(){return Yt})),n.d(o,"isCurrentPostPublished",(function(){return Xt})),n.d(o,"isCurrentPostScheduled",(function(){return Zt})),n.d(o,"isEditedPostPublishable",(function(){return Jt})),n.d(o,"isEditedPostSaveable",(function(){return $t})),n.d(o,"isEditedPostEmpty",(function(){return en})),n.d(o,"isEditedPostAutosaveable",(function(){return tn})),n.d(o,"getAutosave",(function(){return nn})),n.d(o,"hasAutosave",(function(){return rn})),n.d(o,"isEditedPostBeingScheduled",(function(){return on})),n.d(o,"isEditedPostDateFloating",(function(){return cn})),n.d(o,"isSavingPost",(function(){return an})),n.d(o,"didPostSaveRequestSucceed",(function(){return sn})),n.d(o,"didPostSaveRequestFail",(function(){return un})),n.d(o,"isAutosavingPost",(function(){return ln})),n.d(o,"isPreviewingPost",(function(){return dn})),n.d(o,"getEditedPostPreviewLink",(function(){return pn})),n.d(o,"getSuggestedPostFormat",(function(){return bn})),n.d(o,"getBlocksForSerialization",(function(){return fn})),n.d(o,"getEditedPostContent",(function(){return hn})),n.d(o,"__experimentalGetReusableBlock",(function(){return mn})),n.d(o,"__experimentalIsSavingReusableBlock",(function(){return On})),n.d(o,"__experimentalIsFetchingReusableBlock",(function(){return vn})),n.d(o,"__experimentalGetReusableBlocks",(function(){return gn})),n.d(o,"getStateBeforeOptimisticTransaction",(function(){return jn})),n.d(o,"isPublishingPost",(function(){return yn})),n.d(o,"isPermalinkEditable",(function(){return _n})),n.d(o,"getPermalink",(function(){return kn})),n.d(o,"getPermalinkParts",(function(){return Sn})),n.d(o,"inSomeHistory",(function(){return En})),n.d(o,"isPostLocked",(function(){return Pn})),n.d(o,"isPostSavingLocked",(function(){return wn})),n.d(o,"isPostAutosavingLocked",(function(){return Cn})),n.d(o,"isPostLockTakeover",(function(){return Tn})),n.d(o,"getPostLockUser",(function(){return Bn})),n.d(o,"getActivePostLock",(function(){return xn})),n.d(o,"canUserUseUnfilteredHTML",(function(){return In})),n.d(o,"isPublishSidebarEnabled",(function(){return An})),n.d(o,"getEditorBlocks",(function(){return Rn})),n.d(o,"getEditorSelectionStart",(function(){return Dn})),n.d(o,"getEditorSelectionEnd",(function(){return Ln})),n.d(o,"__unstableIsEditorReady",(function(){return Nn})),n.d(o,"getEditorSettings",(function(){return Un})),n.d(o,"getBlockName",(function(){return Mn})),n.d(o,"isBlockValid",(function(){return Vn})),n.d(o,"getBlockAttributes",(function(){return zn})),n.d(o,"getBlock",(function(){return Wn})),n.d(o,"getBlocks",(function(){return Hn})),n.d(o,"__unstableGetBlockWithoutInnerBlocks",(function(){return Kn})),n.d(o,"getClientIdsOfDescendants",(function(){return Gn})),n.d(o,"getClientIdsWithDescendants",(function(){return qn})),n.d(o,"getGlobalBlockCount",(function(){return Qn})),n.d(o,"getBlocksByClientId",(function(){return Yn})),n.d(o,"getBlockCount",(function(){return Xn})),n.d(o,"getBlockSelectionStart",(function(){return Zn})),n.d(o,"getBlockSelectionEnd",(function(){return Jn})),n.d(o,"getSelectedBlockCount",(function(){return $n})),n.d(o,"hasSelectedBlock",(function(){return er})),n.d(o,"getSelectedBlockClientId",(function(){return tr})),n.d(o,"getSelectedBlock",(function(){return nr})),n.d(o,"getBlockRootClientId",(function(){return rr})),n.d(o,"getBlockHierarchyRootClientId",(function(){return or})),n.d(o,"getAdjacentBlockClientId",(function(){return ir})),n.d(o,"getPreviousBlockClientId",(function(){return cr})),n.d(o,"getNextBlockClientId",(function(){return ar})),n.d(o,"getSelectedBlocksInitialCaretPosition",(function(){return sr})),n.d(o,"getMultiSelectedBlockClientIds",(function(){return ur})),n.d(o,"getMultiSelectedBlocks",(function(){return lr})),n.d(o,"getFirstMultiSelectedBlockClientId",(function(){return dr})),n.d(o,"getLastMultiSelectedBlockClientId",(function(){return pr})),n.d(o,"isFirstMultiSelectedBlock",(function(){return br})),n.d(o,"isBlockMultiSelected",(function(){return fr})),n.d(o,"isAncestorMultiSelected",(function(){return hr})),n.d(o,"getMultiSelectedBlocksStartClientId",(function(){return mr})),n.d(o,"getMultiSelectedBlocksEndClientId",(function(){return Or})),n.d(o,"getBlockOrder",(function(){return vr})),n.d(o,"getBlockIndex",(function(){return gr})),n.d(o,"isBlockSelected",(function(){return jr})),n.d(o,"hasSelectedInnerBlock",(function(){return yr})),n.d(o,"isBlockWithinSelection",(function(){return _r})),n.d(o,"hasMultiSelection",(function(){return kr})),n.d(o,"isMultiSelecting",(function(){return Sr})),n.d(o,"isSelectionEnabled",(function(){return Er})),n.d(o,"getBlockMode",(function(){return Pr})),n.d(o,"isTyping",(function(){return wr})),n.d(o,"isCaretWithinFormattedText",(function(){return Cr})),n.d(o,"getBlockInsertionPoint",(function(){return Tr})),n.d(o,"isBlockInsertionPointVisible",(function(){return Br})),n.d(o,"isValidTemplate",(function(){return xr})),n.d(o,"getTemplate",(function(){return Ir})),n.d(o,"getTemplateLock",(function(){return Ar})),n.d(o,"canInsertBlockType",(function(){return Rr})),n.d(o,"getInserterItems",(function(){return Dr})),n.d(o,"hasInserterItems",(function(){return Lr})),n.d(o,"getBlockListSettings",(function(){return Nr}));var i=n(6),c=n(9),a=n(73),s=n(46),u=(n(176),n(24)),l=n(54),d=n(5),p=n(4),b=n(42),f=n(32),h=n(110),m=n.n(h),O=n(2);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var g={insertUsage:{},isPublishSidebarEnabled:!0},j=function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_REUSABLE_BLOCKS":return _({},e,{},Object(O.keyBy)(t.results,"id"));case"UPDATE_REUSABLE_BLOCK":var n=t.id,r=t.changes;return _({},e,Object(d.a)({},n,_({},e[n],{},r)));case"SAVE_REUSABLE_BLOCK_SUCCESS":var o=t.id,i=t.updatedId;if(o===i)return e;var c=e[o];return _({},Object(O.omit)(e,o),Object(d.a)({},i,_({},c,{id:i})));case"REMOVE_REUSABLE_BLOCK":var a=t.id;return Object(O.omit)(e,a)}return e},isFetching:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_REUSABLE_BLOCKS":var n=t.id;return n?_({},e,Object(d.a)({},n,!0)):e;case"FETCH_REUSABLE_BLOCKS_SUCCESS":case"FETCH_REUSABLE_BLOCKS_FAILURE":var r=t.id;return Object(O.omit)(e,r)}return e},isSaving:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SAVE_REUSABLE_BLOCK":return _({},e,Object(d.a)({},t.id,!0));case"SAVE_REUSABLE_BLOCK_SUCCESS":case"SAVE_REUSABLE_BLOCK_FAILURE":var n=t.id;return Object(O.omit)(e,n)}return e}});var E=m()(Object(p.combineReducers)({postId: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"SETUP_EDITOR_STATE":case"RESET_POST":case"UPDATE_POST":return t.post.id}return e},postType: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"SETUP_EDITOR_STATE":case"RESET_POST":case"UPDATE_POST":return t.post.type}return e},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g;switch((arguments.length>1?arguments[1]:void 0).type){case"ENABLE_PUBLISH_SIDEBAR":return _({},e,{isPublishSidebarEnabled:!0});case"DISABLE_PUBLISH_SIDEBAR":return _({},e,{isPublishSidebarEnabled:!1})}return e},saving:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REQUEST_POST_UPDATE_START":case"REQUEST_POST_UPDATE_FINISH":return{pending:"REQUEST_POST_UPDATE_START"===t.type,options:t.options||{}}}return e},postLock:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isLocked:!1},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_POST_LOCK":return t.lock}return e},reusableBlocks:S,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 _({},e,{isValid:t.isValid})}return e},postSavingLock:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"LOCK_POST_SAVING":return _({},e,Object(d.a)({},t.lockName,!0));case"UNLOCK_POST_SAVING":return Object(O.omit)(e,t.lockName)}return e},isReady:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"SETUP_EDITOR_STATE":return!0;case"TEAR_DOWN_EDITOR":return!1}return e},editorSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:j,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_EDITOR_SETTINGS":return _({},e,{},t.settings)}return e},postAutosavingLock:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"LOCK_POST_AUTOSAVING":return _({},e,Object(d.a)({},t.lockName,!0));case"UNLOCK_POST_AUTOSAVING":return Object(O.omit)(e,t.lockName)}return e}})),P=n(88),w=n.n(P),C=n(23),T=n.n(C),B=n(47),x=n(40),I=n.n(x),A=n(1),R=n(17),D=n(35),L=n.n(D),N=new Set(["meta"]),U="core/editor",F="post-update",M="SAVE_POST_NOTICE_ID",V="TRASH_POST_NOTICE_ID",z=/%(?:postname|pagename)%/,W=6e4,H=["title","excerpt","content"];function K(e){var t=e.previousPost,n=e.post,r=e.postType;if(Object(O.get)(e.options,["isAutosave"]))return[];var o,i=["publish","private","future"],c=Object(O.includes)(i,t.status),a=Object(O.includes)(i,n.status),s=Object(O.get)(r,["viewable"],!1);if(c||a?c&&!a?(o=r.labels.item_reverted_to_draft,s=!1):o=!c&&a?{publish:r.labels.item_published,private:r.labels.item_published_privately,future:r.labels.item_scheduled}[n.status]:r.labels.item_updated:o=null,o){var u=[];return s&&u.push({label:r.labels.view_item,url:n.link}),[o,{id:M,type:"snackbar",actions:u}]}return[]}function G(e){var t=e.post,n=e.edits,r=e.error;if(r&&"rest_autosave_no_changes"===r.code)return[];var o=["publish","private","future"],i=-1!==o.indexOf(t.status),c={publish:Object(A.__)("Publishing failed."),private:Object(A.__)("Publishing failed."),future:Object(A.__)("Scheduling failed.")},a=i||-1===o.indexOf(n.status)?Object(A.__)("Updating failed."):c[n.status];return r.message&&!/<\/?[^>]*>/.test(r.message)&&(a=[a,r.message].join(" ")),[a,{id:M}]}var q=n(44),Q=n.n(q),Y=n(83),X=Q()((function(e){1===e.length&&Object(c.isUnmodifiedDefaultBlock)(e[0])&&(e=[]);var t=Object(c.serialize)(e);return 1===e.length&&e[0].name===Object(c.getFreeformContentHandlerName)()&&(t=Object(Y.removep)(t)),t}),{maxSize:1});function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function J(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{}}}function he(){return{type:"REQUEST_POST_UPDATE_FINISH",options:arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}}function me(e){return{type:"UPDATE_POST",edits:e}}function Oe(e){return{type:"SETUP_EDITOR_STATE",post:e}}function ve(e,t){var n,r,o;return T.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,Object(b.select)(U,"getCurrentPost");case 2:return n=i.sent,r=n.id,o=n.type,i.next=7,Object(b.dispatch)("core","editEntityRecord","postType",o,r,e,t);case 7:case"end":return i.stop()}}),te)}function ge(e){return J({},me(e),{optimist:{id:F}})}function je(){var e,t,n,r,o,i,c,a=arguments;return T.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return e=a.length>0&&void 0!==a[0]?a[0]:{},s.next=3,Object(b.select)(U,"isEditedPostSaveable");case 3:if(s.sent){s.next=5;break}return s.abrupt("return");case 5:return s.next=7,Object(b.select)(U,"getEditedPostContent");case 7:if(s.t0=s.sent,t={content:s.t0},e.isAutosave){s.next=12;break}return s.next=12,Object(b.dispatch)(U,"editPost",t,{undoIgnore:!0});case 12:return s.next=14,fe(e);case 14:return s.next=16,Object(b.select)(U,"getCurrentPost");case 16:return n=s.sent,s.t1=J,s.t2={id:n.id},s.next=21,Object(b.select)("core","getEntityRecordNonTransientEdits","postType",n.type,n.id);case 21:return s.t3=s.sent,s.t4={},s.t5=t,t=(0,s.t1)(s.t2,s.t3,s.t4,s.t5),s.next=27,Object(b.dispatch)("core","saveEntityRecord","postType",n.type,t,e);case 27:return s.next=29,he(e);case 29:return s.next=31,Object(b.select)("core","getLastEntitySaveError","postType",n.type,n.id);case 31:if(!(r=s.sent)){s.next=39;break}if(!(o=G({post:n,edits:t,error:r})).length){s.next=37;break}return s.next=37,b.dispatch.apply(void 0,["core/notices","createErrorNotice"].concat(Object(R.a)(o)));case 37:s.next=57;break;case 39:return s.next=41,Object(b.select)(U,"getCurrentPost");case 41:return i=s.sent,s.t6=K,s.t7=n,s.t8=i,s.next=47,Object(b.select)("core","getPostType",i.type);case 47:if(s.t9=s.sent,s.t10=e,s.t11={previousPost:s.t7,post:s.t8,postType:s.t9,options:s.t10},!(c=(0,s.t6)(s.t11)).length){s.next=54;break}return s.next=54,b.dispatch.apply(void 0,["core/notices","createSuccessNotice"].concat(Object(R.a)(c)));case 54:if(e.isAutosave){s.next=57;break}return s.next=57,Object(b.dispatch)("core/block-editor","__unstableMarkLastChangeAsPersistent");case 57:case"end":return s.stop()}}),ne)}function ye(){var e,t,n,r;return T.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,Object(b.select)(U,"getCurrentPost");case 2:return e=o.sent,o.next=5,Object(b.select)(U,"getCurrentPostType");case 5:return t=o.sent,o.next=8,Object(b.select)("core","getPostType",t);case 8:return n=o.sent,o.next=11,Object(b.apiFetch)({path:"/wp/v2/".concat(n.rest_base,"/").concat(e.id)+"?context=edit&_timestamp=".concat(Date.now())});case 11:return r=o.sent,o.next=14,Object(b.dispatch)(U,"resetPost",r);case 14:case"end":return o.stop()}}),re)}function _e(){var e,t,n;return T.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,Object(b.select)(U,"getCurrentPostType");case 2:return e=r.sent,r.next=5,Object(b.select)("core","getPostType",e);case 5:return t=r.sent,r.next=8,Object(b.dispatch)("core/notices","removeNotice",V);case 8:return r.prev=8,r.next=11,Object(b.select)(U,"getCurrentPost");case 11:return n=r.sent,r.next=14,Object(b.apiFetch)({path:"/wp/v2/".concat(t.rest_base,"/").concat(n.id),method:"DELETE"});case 14:return r.next=16,Object(b.dispatch)(U,"savePost");case 16:r.next=22;break;case 18:return r.prev=18,r.t0=r.catch(8),r.next=22,b.dispatch.apply(void 0,["core/notices","createErrorNotice"].concat(Object(R.a)([(o={error:r.t0}).error.message&&"unknown_error"!==o.error.code?o.error.message:Object(A.__)("Trashing failed"),{id:V}])));case 22:case"end":return r.stop()}var o}),oe,null,[[8,18]])}function ke(e){return T.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(b.dispatch)(U,"savePost",J({isAutosave:!0},e));case 2:case"end":return t.stop()}}),ie)}function Se(){var e,t,n,r;return T.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,Object(b.select)(U,"getCurrentPost");case 2:return e=o.sent,o.next=5,Object(b.select)(U,"getEditedPostAttribute","title");case 5:return t=o.sent,o.next=8,Object(b.select)(U,"getEditedPostAttribute","content");case 8:return n=o.sent,o.next=11,Object(b.select)(U,"getEditedPostAttribute","excerpt");case 11:return r=o.sent,o.next=14,{type:"LOCAL_AUTOSAVE_SET",postId:e.id,title:t,content:n,excerpt:r};case 14:case"end":return o.stop()}}),ce)}function Ee(){return T.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(b.dispatch)("core","redo");case 2:case"end":return e.stop()}}),ae)}function Pe(){return T.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(b.dispatch)("core","undo");case 2:case"end":return e.stop()}}),se)}function we(){return{type:"CREATE_UNDO_LEVEL"}}function Ce(e){return{type:"UPDATE_POST_LOCK",lock:e}}function Te(e){return{type:"FETCH_REUSABLE_BLOCKS",id:e}}function Be(e){return{type:"RECEIVE_REUSABLE_BLOCKS",results:e}}function xe(e){return{type:"SAVE_REUSABLE_BLOCK",id:e}}function Ie(e){return{type:"DELETE_REUSABLE_BLOCK",id:e}}function Ae(e,t){return{type:"UPDATE_REUSABLE_BLOCK",id:e,changes:t}}function Re(e){return{type:"CONVERT_BLOCK_TO_STATIC",clientId:e}}function De(e){return{type:"CONVERT_BLOCK_TO_REUSABLE",clientIds:Object(O.castArray)(e)}}function Le(){return{type:"ENABLE_PUBLISH_SIDEBAR"}}function Ne(){return{type:"DISABLE_PUBLISH_SIDEBAR"}}function Ue(e){return{type:"LOCK_POST_SAVING",lockName:e}}function Fe(e){return{type:"UNLOCK_POST_SAVING",lockName:e}}function Me(e){return{type:"LOCK_POST_AUTOSAVING",lockName:e}}function Ve(e){return{type:"UNLOCK_POST_AUTOSAVING",lockName:e}}function ze(e){var t,n,r,o,i,c,a,s,u=arguments;return T.a.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:if(t=u.length>1&&void 0!==u[1]?u[1]:{},n=t.__unstableShouldCreateUndoLevel,r=t.selectionStart,o=t.selectionEnd,i={blocks:e,selectionStart:r,selectionEnd:o},!1===n){l.next=19;break}return l.next=6,Object(b.select)(U,"getCurrentPost");case 6:return c=l.sent,a=c.id,s=c.type,l.next=11,Object(b.select)("core","getEditedEntityRecord","postType",s,a);case 11:if(l.t0=l.sent.blocks,l.t1=i.blocks,!(l.t0===l.t1)){l.next=18;break}return l.next=17,Object(b.dispatch)("core","__unstableCreateUndoLevel","postType",s,a);case 17:return l.abrupt("return",l.sent);case 18:i.content=function(e){var t=e.blocks;return X(void 0===t?[]:t)};case 19:return l.delegateYield(ve(i),"t2",20);case 20:case"end":return l.stop()}}),ue)}function We(e){return{type:"UPDATE_EDITOR_SETTINGS",settings:e}}var He=function(e){return T.a.mark((function t(){var n,r,o,i=arguments;return T.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(L()("`wp.data.dispatch( 'core/editor' )."+e+"`",{alternative:"`wp.data.dispatch( 'core/block-editor' )."+e+"`"}),n=i.length,r=new Array(n),o=0;o1||1===r.length&&!n.postType)return!0;if(!n.postType)return!1;var o=Nt(t),i=o.type,c=o.id,a=Object.keys(n.postType);if(a.length>1||1===a.length&&!n.postType[i])return!0;var s=Object.keys(n.postType[i]);return s.length>1||1===s.length&&!n.postType[i][c]}}));function Lt(e){return!Rt(e)&&It(e)}var Nt=Object(p.createRegistrySelector)((function(e){return function(t){var n=Ft(t),r=Ut(t),o=e("core").getRawEntityRecord("postType",r,n);return o||Ct}}));function Ut(e){return e.postType}function Ft(e){return e.postId}function Mt(e){return Object(O.get)(Nt(e),["_links","version-history",0,"count"],0)}function Vt(e){return Object(O.get)(Nt(e),["_links","predecessor-version",0,"id"],null)}var zt=Object(p.createRegistrySelector)((function(e){return function(t){var n=Ut(t),r=Ft(t);return e("core").getEntityRecordEdits("postType",n,r)||Ct}})),Wt=Object(p.createRegistrySelector)((function(e){return function(){return L()("`wp.data.select( 'core/editor' ).getReferenceByDistinctEdits`",{alternative:"`wp.data.select( 'core' ).getReferenceByDistinctEdits`"}),e("core").getReferenceByDistinctEdits()}}));function Ht(e,t){switch(t){case"type":return Ut(e);case"id":return Ft(e);default:var n=Nt(e);if(!n.hasOwnProperty(t))break;return k(n[t])}}var Kt=function(e,t){var n=zt(e);return n.hasOwnProperty(t)?wt({},Ht(e,t),{},n[t]):Ht(e,t)};function Gt(e,t){switch(t){case"content":return hn(e)}var n=zt(e);return n.hasOwnProperty(t)?N.has(t)?Kt(e,t):n[t]:Ht(e,t)}var qt=Object(p.createRegistrySelector)((function(e){return function(t,n){if(Object(O.includes)(H,n)||"preview_link"===n){var r=Ut(t),o=Ft(t),i=Object(O.get)(e("core").getCurrentUser(),["id"]),c=e("core").getAutosave(r,o,i);return c?k(c[n]):void 0}}}));function Qt(e){return"private"===Gt(e,"status")?"private":Gt(e,"password")?"password":"public"}function Yt(e){return"pending"===Nt(e).status}function Xt(e,t){var n=t||Nt(e);return-1!==["publish","private"].indexOf(n.status)||"future"===n.status&&!Object(St.isInTheFuture)(new Date(Number(Object(St.getDate)(n.date))-W))}function Zt(e){return"future"===Nt(e).status&&!Xt(e)}function Jt(e){var t=Nt(e);return Rt(e)||-1===["publish","private","future"].indexOf(t.status)}function $t(e){return!an(e)&&(!!Gt(e,"title")||!!Gt(e,"excerpt")||!en(e))}function en(e){var t=Rn(e);if(t.length){if(t.length>1)return!1;var n=t[0].name;if(n!==Object(c.getDefaultBlockName)()&&n!==Object(c.getFreeformContentHandlerName)())return!1}return!hn(e)}var tn=Object(p.createRegistrySelector)((function(e){return function(t){if(!$t(t))return!1;if(Cn(t))return!1;var n=Ut(t),r=Ft(t),o=e("core").hasFetchedAutosaves(n,r),i=Object(O.get)(e("core").getCurrentUser(),["id"]),c=e("core").getAutosave(n,r,i);return!!o&&(!c||(!!At(t)||["title","excerpt"].some((function(e){return k(c[e])!==Gt(t,e)}))))}})),nn=Object(p.createRegistrySelector)((function(e){return function(t){L()("`wp.data.select( 'core/editor' ).getAutosave()`",{alternative:"`wp.data.select( 'core' ).getAutosave( postType, postId, userId )`",plugin:"Gutenberg"});var n=Ut(t),r=Ft(t),o=Object(O.get)(e("core").getCurrentUser(),["id"]),i=e("core").getAutosave(n,r,o);return Object(O.mapValues)(Object(O.pick)(i,H),k)}})),rn=Object(p.createRegistrySelector)((function(e){return function(t){L()("`wp.data.select( 'core/editor' ).hasAutosave()`",{alternative:"`!! wp.data.select( 'core' ).getAutosave( postType, postId, userId )`",plugin:"Gutenberg"});var n=Ut(t),r=Ft(t),o=Object(O.get)(e("core").getCurrentUser(),["id"]);return!!e("core").getAutosave(n,r,o)}}));function on(e){var t=Gt(e,"date"),n=new Date(Number(Object(St.getDate)(t))-W);return Object(St.isInTheFuture)(n)}function cn(e){var t=Gt(e,"date"),n=Gt(e,"modified"),r=Gt(e,"status");return("draft"===r||"auto-draft"===r||"pending"===r)&&t===n}var an=Object(p.createRegistrySelector)((function(e){return function(t){var n=Ut(t),r=Ft(t);return e("core").isSavingEntityRecord("postType",n,r)}})),sn=Object(p.createRegistrySelector)((function(e){return function(t){var n=Ut(t),r=Ft(t);return!e("core").getLastEntitySaveError("postType",n,r)}})),un=Object(p.createRegistrySelector)((function(e){return function(t){var n=Ut(t),r=Ft(t);return!!e("core").getLastEntitySaveError("postType",n,r)}}));function ln(e){return!!an(e)&&!!Object(O.get)(e.saving,["options","isAutosave"])}function dn(e){return!!an(e)&&!!e.saving.options.isPreview}function pn(e){if(!e.saving.pending&&!an(e)){var t=qt(e,"preview_link");t||(t=Gt(e,"link"))&&(t=Object(Et.addQueryArgs)(t,{preview:!0}));var n=Gt(e,"featured_media");return t&&n?Object(Et.addQueryArgs)(t,{_thumbnail_id:n}):t}}function bn(e){var t,n=Rn(e);switch(1===n.length&&(t=n[0].name),2===n.length&&"core/paragraph"===n[1].name&&(t=n[0].name),t){case"core/image":return"image";case"core/quote":case"core/pullquote":return"quote";case"core/gallery":return"gallery";case"core/video":case"core-embed/youtube":case"core-embed/vimeo":return"video";case"core/audio":case"core-embed/spotify":case"core-embed/soundcloud":return"audio"}return null}function fn(e){L()("`core/editor` getBlocksForSerialization selector",{plugin:"Gutenberg",alternative:"getEditorBlocks",hint:"Blocks serialization pre-processing occurs at save time"});var t=e.editor.present.blocks.value;return 1===t.length&&Object(c.isUnmodifiedDefaultBlock)(t[0])?[]:t}var hn=Object(p.createRegistrySelector)((function(e){return function(t){var n=Ft(t),r=Ut(t),o=e("core").getEditedEntityRecord("postType",r,n);if(o){if("function"==typeof o.content)return o.content(o);if(o.blocks)return X(o.blocks);if(o.content)return o.content}return""}})),mn=Object(kt.a)((function(e,t){var n=e.reusableBlocks.data[t];if(!n)return null;var r=isNaN(parseInt(t));return wt({},n,{id:r?t:+t,isTemporary:r})}),(function(e,t){return[e.reusableBlocks.data[t]]}));function On(e,t){return e.reusableBlocks.isSaving[t]||!1}function vn(e,t){return!!e.reusableBlocks.isFetching[t]}var gn=Object(kt.a)((function(e){return Object(O.map)(e.reusableBlocks.data,(function(t,n){return mn(e,n)}))}),(function(e){return[e.reusableBlocks.data]}));function jn(e,t){var n=Object(O.find)(e.optimist,(function(e){return e.beforeState&&Object(O.get)(e.action,["optimist","id"])===t}));return n?n.beforeState:null}function yn(e){if(!an(e))return!1;if(!Xt(e))return!1;var t=jn(e,F);return!!t&&!Xt(null,t.currentPost)}function _n(e){var t=Gt(e,"permalink_template");return z.test(t)}function kn(e){var t=Sn(e);if(!t)return null;var n=t.prefix,r=t.postName,o=t.suffix;return _n(e)?n+r+o:n}function Sn(e){var t=Gt(e,"permalink_template");if(!t)return null;var n=Gt(e,"slug")||Gt(e,"generated_slug"),r=t.split(z),o=Object(_t.a)(r,2);return{prefix:o[0],postName:n,suffix:o[1]}}function En(e,t){var n=e.optimist;return!!n&&n.some((function(e){var n=e.beforeState;return n&&t(n)}))}function Pn(e){return e.postLock.isLocked}function wn(e){return Object.keys(e.postSavingLock).length>0}function Cn(e){return Object.keys(e.postAutosavingLock).length>0}function Tn(e){return e.postLock.isTakeover}function Bn(e){return e.postLock.user}function xn(e){return e.postLock.activePostLock}function In(e){return Object(O.has)(Nt(e),["_links","wp:action-unfiltered-html"])}function An(e){return e.preferences.hasOwnProperty("isPublishSidebarEnabled")?e.preferences.isPublishSidebarEnabled:g.isPublishSidebarEnabled}function Rn(e){return Gt(e,"blocks")||Tt}function Dn(e){return Gt(e,"selectionStart")}function Ln(e){return Gt(e,"selectionEnd")}function Nn(e){return e.isReady}function Un(e){return e.editorSettings}function Fn(e){return Object(p.createRegistrySelector)((function(t){return function(n){var r;L()("`wp.data.select( 'core/editor' )."+e+"`",{alternative:"`wp.data.select( 'core/block-editor' )."+e+"`"});for(var o=arguments.length,i=new Array(o>1?o-1:0),c=1;c0&&void 0!==arguments[0]?arguments[0]:{},t=e.getBlockInsertionParentClientId,n=void 0===t?io:t,r=e.getInserterItems,o=void 0===r?co:r,a=e.getSelectedBlockName,s=void 0===a?ao:a;return{name:"blocks",className:"editor-autocompleters__block",triggerPrefix:"/",options:function(){so();var e=s();return o(n()).filter((function(t){return e!==t.name}))},getOptionKeywords:function(e){var t=e.title,n=e.keywords,r=void 0===n?[]:n;return[e.category].concat(Object(R.a)(r),[t])},getOptionLabel:function(e){var t=e.icon,n=e.title;return[Object(eo.createElement)(i.BlockIcon,{key:"icon",icon:t,showColors:!0}),n]},allowContext:function(e,t){return!(/\S/.test(e)||/\S/.test(t))},getOptionCompletion:function(e){var t=e.name,n=e.initialAttributes;return{action:"replace",value:Object(c.createBlock)(t,n)}},isOptionDisabled:function(e){return e.isDisabled}}}(),lo={name:"users",className:"editor-autocompleters__user",triggerPrefix:"@",options:function(e){var t="";return e&&(t="?search="+encodeURIComponent(e)),I()({path:"/wp/v2/users"+t})},isDebounced:!0,getOptionKeywords:function(e){return[e.slug,e.name]},getOptionLabel:function(e){return[e.avatar_urls&&e.avatar_urls[24]?Object(eo.createElement)("img",{key:"avatar",className:"editor-autocompleters__user-avatar",alt:"",src:e.avatar_urls[24]}):Object(eo.createElement)("span",{className:"editor-autocompleters__no-avatar"}),Object(eo.createElement)("span",{key:"name",className:"editor-autocompleters__user-name"},e.name),Object(eo.createElement)("span",{key:"slug",className:"editor-autocompleters__user-slug"},e.slug)]},getOptionCompletion:function(e){return"@".concat(e.slug)}},po=n(13),bo=n(12),fo=n(14),ho=n(15),mo=n(16),Oo=function(e){function t(){return Object(po.a)(this,t),Object(fo.a)(this,Object(ho.a)(t).apply(this,arguments))}return Object(mo.a)(t,e),Object(bo.a)(t,[{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDirty,r=t.editsReference,o=t.isAutosaveable,i=t.isAutosaving;r!==e.editsReference&&(this.didAutosaveForEditsReference=!1),!i&&e.isAutosaving&&(this.didAutosaveForEditsReference=!0),e.isDirty===n&&e.isAutosaveable===o&&e.editsReference===r||this.toggleTimer(n&&o&&!this.didAutosaveForEditsReference)}},{key:"componentWillUnmount",value:function(){this.toggleTimer(!1)}},{key:"toggleTimer",value:function(e){var t=this,n=this.props,r=n.interval,o=n.shouldThrottle,i=void 0!==o&&o;!i&&this.pendingSave&&(clearTimeout(this.pendingSave),delete this.pendingSave),!e||i&&this.pendingSave||(this.pendingSave=setTimeout((function(){t.props.autosave(),delete t.pendingSave}),1e3*r))}},{key:"render",value:function(){return null}}]),t}(eo.Component),vo=Object(to.compose)([Object(p.withSelect)((function(e,t){var n=e("core").getReferenceByDistinctEdits,r=e("core/editor"),o=r.isEditedPostDirty,i=r.isEditedPostAutosaveable,c=r.isAutosavingPost,a=r.getEditorSettings,s=t.interval,u=void 0===s?a().autosaveInterval:s;return{isDirty:o(),isAutosaveable:i(),editsReference:n(),isAutosaving:c(),interval:u}})),Object(p.withDispatch)((function(e,t){return{autosave:function(){var n=t.autosave,r=void 0===n?e("core/editor").autosave:n;r()}}}))])(Oo),go=n(10),jo=n.n(go),yo=function(e){var t=e.children,n=e.isValid,r=e.level,o=e.path,c=void 0===o?[]:o,a=e.href,s=e.onSelect;return Object(eo.createElement)("li",{className:jo()("document-outline__item","is-".concat(r.toLowerCase()),{"is-invalid":!n})},Object(eo.createElement)("a",{href:a,className:"document-outline__button",onClick:s},Object(eo.createElement)("span",{className:"document-outline__emdash","aria-hidden":"true"}),c.map((function(e,t){var n=e.clientId;return Object(eo.createElement)("strong",{key:t,className:"document-outline__level"},Object(eo.createElement)(i.BlockTitle,{clientId:n}))})),Object(eo.createElement)("strong",{className:"document-outline__level"},r),Object(eo.createElement)("span",{className:"document-outline__item-content"},t)))};function _o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ko(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Object(O.flatMap)(t,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"core/heading"===t.name?ko({},t,{path:n,level:t.attributes.level,isEmpty:Co(t)}):e(t.innerBlocks,[].concat(Object(R.a)(n),[t]))}))}(n);if(a.length<1)return null;var s=1,l=document.querySelector(".editor-post-title__input"),d=i&&r&&l,p=Object(O.countBy)(a,"level")[1]>1;return Object(eo.createElement)("div",{className:"document-outline"},Object(eo.createElement)("ul",null,d&&Object(eo.createElement)(yo,{level:Object(A.__)("Title"),isValid:!0,onSelect:o,href:"#".concat(l.id),isDisabled:c},r),a.map((function(e,t){var n=e.level>s+1,r=!(e.isEmpty||n||!e.level||1===e.level&&(p||d));return s=e.level,Object(eo.createElement)(yo,{key:t,level:"H".concat(e.level),isValid:r,path:e.path,isDisabled:c,href:"#block-".concat(e.clientId),onSelect:o},e.isEmpty?So:Object(u.getTextContent)(Object(u.create)({html:e.attributes.content})),n&&Eo,1===e.level&&p&&wo,d&&1===e.level&&!p&&Po)}))))}));var Bo=Object(p.withSelect)((function(e){return{blocks:e("core/block-editor").getBlocks()}}))((function(e){var t=e.blocks,n=e.children;return Object(O.filter)(t,(function(e){return"core/heading"===e.name})).length<1?null:n}));var xo=function(){var e=Object(p.useDispatch)("core/editor").savePost,t=Object(p.useSelect)((function(e){return e("core/editor").isEditedPostDirty}),[]);return Object(s.useShortcut)("core/editor/save",(function(n){n.preventDefault(),t()&&e()}),{bindGlobal:!0}),null};function Io(){var e=Object(p.useDispatch)("core/editor"),t=e.redo,n=e.undo,r=e.savePost,o=Object(p.useSelect)((function(e){return e("core/editor").isEditedPostDirty}),[]);return Object(s.useShortcut)("core/editor/undo",(function(e){n(),e.preventDefault()}),{bindGlobal:!0}),Object(s.useShortcut)("core/editor/redo",(function(e){t(),e.preventDefault()}),{bindGlobal:!0}),Object(s.useShortcut)("core/editor/save",(function(e){e.preventDefault(),o()&&r()}),{bindGlobal:!0}),Object(eo.createElement)(eo.Fragment,null,Object(eo.createElement)(i.BlockEditorKeyboardShortcuts,null),Object(eo.createElement)(xo,null))}var Ao=Io;function Ro(){return L()("EditorGlobalKeyboardShortcuts",{alternative:"VisualEditorGlobalKeyboardShortcuts",plugin:"Gutenberg"}),Object(eo.createElement)(Io,null)}function Do(){return Object(eo.createElement)(xo,null)}var Lo=function(){var e=Object(p.useDispatch)("core/keyboard-shortcuts").registerShortcut;return Object(eo.useEffect)((function(){e({name:"core/editor/save",category:"global",description:Object(A.__)("Save your changes."),keyCombination:{modifier:"primary",character:"s"}}),e({name:"core/editor/undo",category:"global",description:Object(A.__)("Undo your last changes."),keyCombination:{modifier:"primary",character:"z"}}),e({name:"core/editor/redo",category:"global",description:Object(A.__)("Redo your last undo."),keyCombination:{modifier:"primaryShift",character:"z"}})}),[e]),Object(eo.createElement)(i.BlockEditorKeyboardShortcuts.Register,null)},No=n(3),Uo=n(20);var Fo=Object(to.compose)([Object(p.withSelect)((function(e){return{hasRedo:e("core/editor").hasEditorRedo()}})),Object(p.withDispatch)((function(e){return{redo:e("core/editor").redo}}))])((function(e){var t=e.hasRedo,n=e.redo;return Object(eo.createElement)(No.Button,{icon:"redo",label:Object(A.__)("Redo"),shortcut:Uo.displayShortcut.primaryShift("z"),"aria-disabled":!t,onClick:t?n:void 0,className:"editor-history__redo"})}));var Mo=Object(to.compose)([Object(p.withSelect)((function(e){return{hasUndo:e("core/editor").hasEditorUndo()}})),Object(p.withDispatch)((function(e){return{undo:e("core/editor").undo}}))])((function(e){var t=e.hasUndo,n=e.undo;return Object(eo.createElement)(No.Button,{icon:"undo",label:Object(A.__)("Undo"),shortcut:Uo.displayShortcut.primary("z"),"aria-disabled":!t,onClick:t?n:void 0,className:"editor-history__undo"})}));var Vo=Object(to.compose)([Object(p.withSelect)((function(e){return{isValid:e("core/block-editor").isValidTemplate()}})),Object(p.withDispatch)((function(e){var t=e("core/block-editor"),n=t.setTemplateValidity;return{resetTemplateValidity:function(){return n(!0)},synchronizeTemplate:t.synchronizeTemplate}}))])((function(e){var t=e.isValid,n=Object($r.a)(e,["isValid"]);return t?null:Object(eo.createElement)(No.Notice,{className:"editor-template-validation-notice",isDismissible:!1,status:"warning"},Object(eo.createElement)("p",null,Object(A.__)("The content of your post doesn’t match the template assigned to your post type.")),Object(eo.createElement)("div",null,Object(eo.createElement)(No.Button,{isSecondary:!0,onClick:n.resetTemplateValidity},Object(A.__)("Keep it as is")),Object(eo.createElement)(No.Button,{onClick:function(){window.confirm(Object(A.__)("Resetting the template may result in loss of content, do you want to continue?"))&&n.synchronizeTemplate()},isPrimary:!0},Object(A.__)("Reset the template"))))}));var zo=Object(to.compose)([Object(p.withSelect)((function(e){return{notices:e("core/notices").getNotices()}})),Object(p.withDispatch)((function(e){return{onRemove:e("core/notices").removeNotice}}))])((function(e){var t=e.notices,n=e.onRemove,r=Object(O.filter)(t,{isDismissible:!0,type:"default"}),o=Object(O.filter)(t,{isDismissible:!1,type:"default"}),i=Object(O.filter)(t,{type:"snackbar"});return Object(eo.createElement)(eo.Fragment,null,Object(eo.createElement)(No.NoticeList,{notices:o,className:"components-editor-notices__pinned"}),Object(eo.createElement)(No.NoticeList,{notices:r,className:"components-editor-notices__dismissible",onRemove:n},Object(eo.createElement)(Vo,null)),Object(eo.createElement)(No.SnackbarList,{notices:i,className:"components-editor-notices__snackbar",onRemove:n}))})),Wo=n(62),Ho=n.n(Wo),Ko=function(e){var t=e.id,n=e.name,r=e.changes.rawRecord,o=e.checked,i=e.setCheckedById;return Object(eo.createElement)(No.CheckboxControl,{label:"".concat(n,': "').concat(r.name||r.slug||r.title||Object(A.__)("Untitled"),'"'),checked:o,onChange:function(e){return i(t,e)}})};function Go(e){var t=e.isOpen,n=e.onRequestClose,r=e.ignoredForSave,o=void 0===r?new Ho.a:r,i=Object(p.useSelect)((function(e){return e("core").getEntityRecordChangesByRecord()})),c=Object(p.useDispatch)("core").saveEditedEntityRecord,a=Object(eo.useState)((function(){return new Ho.a})),s=Object(_t.a)(a,2),u=s[0],l=s[1],d=function(e,t){return l((function(n){var r=new Ho.a(n);return t?r.set(e,!0):r.delete(e),r}))};return t&&Object(eo.createElement)(No.Modal,{title:Object(A.__)("What do you want to save?"),onRequestClose:function(){return n()},contentLabel:Object(A.__)("Select items to save.")},Object.keys(i).map((function(e){return Object.keys(i[e]).map((function(t){return Object.keys(i[e][t]).map((function(n){var r=[e,t,n];return Object(eo.createElement)(Ko,{key:r.join(" | "),id:r,name:t,changes:i[e][t][n],checked:u.get(r),setCheckedById:d})}))}))})),Object(eo.createElement)(No.Button,{isPrimary:!0,disabled:0===u.size,onClick:function(){u.forEach((function(e,t){o.has(t)||c.apply(void 0,Object(R.a)(t.filter((function(e,n){return n!==t.length-1||"undefined"!==e}))))})),n(u)},className:"editor-entities-saved-states__save-button"},Object(A.__)("Save")))}var qo=n(7),Qo=function(e){function t(){var e;return Object(po.a)(this,t),(e=Object(fo.a)(this,Object(ho.a)(t).apply(this,arguments))).reboot=e.reboot.bind(Object(qo.a)(e)),e.getContent=e.getContent.bind(Object(qo.a)(e)),e.state={error:null},e}return Object(mo.a)(t,e),Object(bo.a)(t,[{key:"componentDidCatch",value:function(e){this.setState({error:e})}},{key:"reboot",value:function(){this.props.onError()}},{key:"getContent",value:function(){try{return Object(p.select)("core/editor").getEditedPostContent()}catch(e){}}},{key:"render",value:function(){var e=this.state.error;return e?Object(eo.createElement)(i.Warning,{className:"editor-error-boundary",actions:[Object(eo.createElement)(No.Button,{key:"recovery",onClick:this.reboot,isSecondary:!0},Object(A.__)("Attempt Recovery")),Object(eo.createElement)(No.ClipboardButton,{key:"copy-post",text:this.getContent,isSecondary:!0},Object(A.__)("Copy Post Text")),Object(eo.createElement)(No.ClipboardButton,{key:"copy-error",text:e.stack,isSecondary:!0},Object(A.__)("Copy Error"))]},Object(A.__)("The editor has encountered an unexpected error.")):this.props.children}}]),t}(eo.Component),Yo=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,Xo=Object(O.once)((function(){try{return window.sessionStorage.setItem("__wpEditorTestSessionStorage",""),window.sessionStorage.removeItem("__wpEditorTestSessionStorage"),!0}catch(e){return!1}}));function Zo(){var e=Object(p.useSelect)((function(e){return{postId:e("core/editor").getCurrentPostId(),getEditedPostAttribute:e("core/editor").getEditedPostAttribute,hasRemoteAutosave:!!e("core/editor").getEditorSettings().autosave}}),[]),t=e.postId,n=e.getEditedPostAttribute,r=e.hasRemoteAutosave,o=Object(p.useDispatch)("core/notices"),i=o.createWarningNotice,a=o.removeNotice,s=Object(p.useDispatch)("core/editor"),u=s.editPost,l=s.resetEditorBlocks;Object(eo.useEffect)((function(){var e=function(e){return window.sessionStorage.getItem(Kr(e))}(t);if(e){try{e=JSON.parse(e)}catch(e){return}var o=e,s={title:o.post_title,content:o.content,excerpt:o.excerpt};if(Object.keys(s).some((function(e){return s[e]!==n(e)}))){if(!r){var d=Object(O.uniqueId)("wpEditorAutosaveRestore");i(Object(A.__)("The backup of this post in your browser is different from the version below."),{id:d,actions:[{label:Object(A.__)("Restore the backup"),onClick:function(){u(Object(O.omit)(s,["content"])),l(Object(c.parse)(s.content)),a(d)}}]})}}else Gr(t)}}),[t])}var Jo=Object(to.ifCondition)(Xo)((function(){var e,t,n,r,o,i,c,a=Object(p.useDispatch)("core/editor").__experimentalLocalAutosave,s=Object(eo.useCallback)((function(){Yo(a)}),[]);Zo(),e=Object(p.useSelect)((function(e){return{postId:e("core/editor").getCurrentPostId(),isDirty:e("core/editor").isEditedPostDirty(),isAutosaving:e("core/editor").isAutosavingPost(),didError:e("core/editor").didPostSaveRequestFail()}}),[]),t=e.postId,n=e.isDirty,r=e.isAutosaving,o=e.didError,i=Object(eo.useRef)(n),c=Object(eo.useRef)(r),Object(eo.useEffect)((function(){!o&&(c.current&&!r||i.current&&!n)&&Gr(t),i.current=n,c.current=r}),[n,r,o]);var u=Object(p.useSelect)((function(e){return{localAutosaveInterval:e("core/editor").getEditorSettings().__experimentalLocalAutosaveInterval}}),[]).localAutosaveInterval;return Object(eo.createElement)(vo,{interval:u,autosave:s,shouldThrottle:!0})}));var $o=Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getEditorSettings,o=e("core").getPostType,i=r().availableTemplates;return{postType:o(n("type")),availableTemplates:i}}))((function(e){var t=e.availableTemplates,n=e.postType,r=e.children;return!Object(O.get)(n,["supports","page-attributes"],!1)&&Object(O.isEmpty)(t)?null:r}));var ei=Object(p.withSelect)((function(e){var t=e("core/editor").getEditedPostAttribute;return{postType:(0,e("core").getPostType)(t("type"))}}))((function(e){var t=e.postType,n=e.children,r=e.supportKeys,o=!0;return t&&(o=Object(O.some)(Object(O.castArray)(r),(function(e){return!!t.supports[e]}))),o?n:null})),ti=Object(to.withState)({orderInput:null})((function(e){var t=e.onUpdateOrder,n=e.order,r=void 0===n?0:n,o=e.orderInput,i=e.setState,c=null===o?r:o;return Object(eo.createElement)(No.TextControl,{className:"editor-page-attributes__order",type:"number",label:Object(A.__)("Order"),value:c,onChange:function(e){i({orderInput:e});var n=Number(e);Number.isInteger(n)&&""!==Object(O.invoke)(e,["trim"])&&t(Number(e))},size:6,onBlur:function(){i({orderInput:null})}})}));var ni=Object(to.compose)([Object(p.withSelect)((function(e){return{order:e("core/editor").getEditedPostAttribute("menu_order")}})),Object(p.withDispatch)((function(e){return{onUpdateOrder:function(t){e("core/editor").editPost({menu_order:t})}}}))])((function(e){return Object(eo.createElement)(ei,{supportKeys:"page-attributes"},Object(eo.createElement)(ti,e))}));function ri(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function oi(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"";r({status:e,password:t})}}})),to.withInstanceId])(Hi);var Gi=Object(p.withSelect)((function(e){return{visibility:e("core/editor").getEditedPostVisibility()}}))((function(e){var t=e.visibility;return Object(O.find)(Wi,{value:t}).label}));var qi=Object(to.compose)([Object(p.withSelect)((function(e){return{date:e("core/editor").getEditedPostAttribute("date")}})),Object(p.withDispatch)((function(e){return{onUpdateDate:function(t){e("core/editor").editPost({date:t})}}}))])((function(e){var t=e.date,n=e.onUpdateDate,r=Object(St.__experimentalGetSettings)(),o=/a(?!\\)/i.test(r.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join(""));return Object(eo.createElement)(No.DateTimePicker,{key:"date-time-picker",currentDate:t,onChange:n,is12Hour:o})}));var Qi=Object(p.withSelect)((function(e){return{date:e("core/editor").getEditedPostAttribute("date"),isFloating:e("core/editor").isEditedPostDateFloating()}}))((function(e){var t=e.date,n=e.isFloating,r=Object(St.__experimentalGetSettings)();return t&&!n?Object(St.dateI18n)("".concat(r.formats.date," ").concat(r.formats.time),t):Object(A.__)("Immediately")}));function Yi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xi(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},n=this.props.taxonomy,r=Xi({},Zi,{},t),o=I()({path:Object(Et.addQueryArgs)("/wp/v2/".concat(n.rest_base),r)});return o.then(ec).then((function(t){e.setState((function(e){return{availableTerms:e.availableTerms.concat(t.filter((function(t){return!Object(O.find)(e.availableTerms,(function(e){return e.id===t.id}))})))}})),e.updateSelectedTerms(e.props.terms)})),o}},{key:"updateSelectedTerms",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=t.reduce((function(t,n){var r=Object(O.find)(e.state.availableTerms,(function(e){return e.id===n}));return r&&t.push(r.name),t}),[]);this.setState({selectedTerms:n})}},{key:"findOrCreateTerm",value:function(e){var t=this,n=this.props.taxonomy,r=Object(O.escape)(e);return I()({path:"/wp/v2/".concat(n.rest_base),method:"POST",data:{name:r}}).catch((function(o){return"term_exists"===o.code?(t.addRequest=I()({path:Object(Et.addQueryArgs)("/wp/v2/".concat(n.rest_base),Xi({},Zi,{search:r}))}).then(ec),t.addRequest.then((function(t){return Object(O.find)(t,(function(t){return Ji(t.name,e)}))}))):Promise.reject(o)})).then($i)}},{key:"onChange",value:function(e){var t=this,n=Object(O.uniqBy)(e,(function(e){return e.toLowerCase()}));this.setState({selectedTerms:n});var r=n.filter((function(e){return!Object(O.find)(t.state.availableTerms,(function(t){return Ji(t.name,e)}))})),o=function(e,t){return e.map((function(e){return Object(O.find)(t,(function(t){return Ji(t.name,e)})).id}))};if(0===r.length)return this.props.onUpdateTerms(o(n,this.state.availableTerms),this.props.taxonomy.rest_base);Promise.all(r.map(this.findOrCreateTerm)).then((function(e){var r=t.state.availableTerms.concat(e);return t.setState({availableTerms:r}),t.props.onUpdateTerms(o(n,r),t.props.taxonomy.rest_base)}))}},{key:"searchTerms",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Object(O.invoke)(this.searchRequest,["abort"]),this.searchRequest=this.fetchTerms({search:e})}},{key:"render",value:function(){var e=this.props,t=e.slug,n=e.taxonomy;if(!e.hasAssignAction)return null;var r=this.state,o=r.loading,i=r.availableTerms,c=r.selectedTerms,a=i.map((function(e){return e.name})),s=Object(O.get)(n,["labels","add_new_item"],"post_tag"===t?Object(A.__)("Add new tag"):Object(A.__)("Add new Term")),u=Object(O.get)(n,["labels","singular_name"],"post_tag"===t?Object(A.__)("Tag"):Object(A.__)("Term")),l=Object(A.sprintf)(Object(A._x)("%s added","term"),u),d=Object(A.sprintf)(Object(A._x)("%s removed","term"),u),p=Object(A.sprintf)(Object(A._x)("Remove %s","term"),u);return Object(eo.createElement)(No.FormTokenField,{value:c,suggestions:a,onChange:this.onChange,onInputChange:this.searchTerms,maxSuggestions:20,disabled:o,label:s,messages:{added:l,removed:d,remove:p}})}}]),t}(eo.Component),nc=Object(to.compose)(Object(p.withSelect)((function(e,t){var n=t.slug,r=e("core/editor").getCurrentPost,o=(0,e("core").getTaxonomy)(n);return{hasCreateAction:!!o&&Object(O.get)(r(),["_links","wp:action-create-"+o.rest_base],!1),hasAssignAction:!!o&&Object(O.get)(r(),["_links","wp:action-assign-"+o.rest_base],!1),terms:o?e("core/editor").getEditedPostAttribute(o.rest_base):[],taxonomy:o}})),Object(p.withDispatch)((function(e){return{onUpdateTerms:function(t,n){e("core/editor").editPost(Object(d.a)({},n,t))}}})),Object(No.withFilters)("editor.PostTaxonomyType"))(tc),rc=function(){var e=[Object(A.__)("Suggestion:"),Object(eo.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(A.__)("Add tags"))];return Object(eo.createElement)(No.PanelBody,{initialOpen:!1,title:e},Object(eo.createElement)("p",null,Object(A.__)("Tags help users and search engines navigate your site and find your content. Add a few keywords to describe your post.")),Object(eo.createElement)(nc,{slug:"post_tag"}))},oc=function(e){function t(e){var n;return Object(po.a)(this,t),(n=Object(fo.a)(this,Object(ho.a)(t).call(this,e))).state={hadTagsWhenOpeningThePanel:e.hasTags},n}return Object(mo.a)(t,e),Object(bo.a)(t,[{key:"render",value:function(){return this.state.hadTagsWhenOpeningThePanel?null:Object(eo.createElement)(rc,null)}}]),t}(eo.Component),ic=Object(to.compose)(Object(p.withSelect)((function(e){var t=e("core/editor").getCurrentPostType(),n=e("core").getTaxonomy("post_tag"),r=n&&e("core/editor").getEditedPostAttribute(n.rest_base);return{areTagsFetched:void 0!==n,isPostTypeSupported:n&&Object(O.some)(n.types,(function(e){return e===t})),hasTags:r&&r.length}})),Object(to.ifCondition)((function(e){var t=e.areTagsFetched;return e.isPostTypeSupported&&t})))(oc),cc=function(e){var t=e.suggestedPostFormat,n=e.suggestionText,r=e.onUpdatePostFormat;return Object(eo.createElement)(No.Button,{isLink:!0,onClick:function(){return r(t)}},n)},ac=function(e,t){var n=wi.filter((function(t){return Object(O.includes)(e,t.id)}));return Object(O.find)(n,(function(e){return e.id===t}))},sc=Object(to.compose)(Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getSuggestedPostFormat,o=Object(O.get)(e("core").getThemeSupports(),["formats"],[]);return{currentPostFormat:n("format"),suggestion:ac(o,r())}})),Object(p.withDispatch)((function(e){return{onUpdatePostFormat:function(t){e("core/editor").editPost({format:t})}}})),Object(to.ifCondition)((function(e){var t=e.suggestion,n=e.currentPostFormat;return t&&t.id!==n})))((function(e){var t=e.suggestion,n=e.onUpdatePostFormat,r=[Object(A.__)("Suggestion:"),Object(eo.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(A.__)("Use a post format"))];return Object(eo.createElement)(No.PanelBody,{initialOpen:!1,title:r},Object(eo.createElement)("p",null,Object(A.__)("Your theme uses post formats to highlight different kinds of content, like images or videos. Apply a post format to see this special styling.")),Object(eo.createElement)("p",null,Object(eo.createElement)(cc,{onUpdatePostFormat:n,suggestedPostFormat:t.id,suggestionText:Object(A.sprintf)(Object(A.__)('Apply the "%1$s" format.'),t.caption)})))}));var uc=Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.isEditedPostBeingScheduled;return{hasPublishAction:Object(O.get)(n(),["_links","wp:action-publish"],!1),isBeingScheduled:r()}}))((function(e){var t,n,r=e.hasPublishAction,o=e.isBeingScheduled,i=e.children;return r?o?(t=Object(A.__)("Are you ready to schedule?"),n=Object(A.__)("Your work will be published at the specified date and time.")):(t=Object(A.__)("Are you ready to publish?"),n=Object(A.__)("Double-check your settings before publishing.")):(t=Object(A.__)("Are you ready to submit for review?"),n=Object(A.__)("When you’re ready, submit your work for review, and an Editor will be able to approve it for you.")),Object(eo.createElement)("div",{className:"editor-post-publish-panel__prepublish"},Object(eo.createElement)("div",null,Object(eo.createElement)("strong",null,t)),Object(eo.createElement)("p",null,n),r&&Object(eo.createElement)(eo.Fragment,null,Object(eo.createElement)(No.PanelBody,{initialOpen:!1,title:[Object(A.__)("Visibility:"),Object(eo.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(eo.createElement)(Gi,null))]},Object(eo.createElement)(Ki,null)),Object(eo.createElement)(No.PanelBody,{initialOpen:!1,title:[Object(A.__)("Publish:"),Object(eo.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(eo.createElement)(Qi,null))]},Object(eo.createElement)(qi,null))),Object(eo.createElement)(sc,null),Object(eo.createElement)(ic,null),i)})),lc=function(e){function t(){var e;return Object(po.a)(this,t),(e=Object(fo.a)(this,Object(ho.a)(t).apply(this,arguments))).state={showCopyConfirmation:!1},e.onCopy=e.onCopy.bind(Object(qo.a)(e)),e.onSelectInput=e.onSelectInput.bind(Object(qo.a)(e)),e.postLink=Object(eo.createRef)(),e}return Object(mo.a)(t,e),Object(bo.a)(t,[{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.postLink.current.focus()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.dismissCopyConfirmation)}},{key:"onCopy",value:function(){var e=this;this.setState({showCopyConfirmation:!0}),clearTimeout(this.dismissCopyConfirmation),this.dismissCopyConfirmation=setTimeout((function(){e.setState({showCopyConfirmation:!1})}),4e3)}},{key:"onSelectInput",value:function(e){e.target.select()}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.isScheduled,r=e.post,o=e.postType,i=Object(O.get)(o,["labels","singular_name"]),c=Object(O.get)(o,["labels","view_item"]),a=n?Object(eo.createElement)(eo.Fragment,null,Object(A.__)("is now scheduled. It will go live on")," ",Object(eo.createElement)(Qi,null),"."):Object(A.__)("is now live.");return Object(eo.createElement)("div",{className:"post-publish-panel__postpublish"},Object(eo.createElement)(No.PanelBody,{className:"post-publish-panel__postpublish-header"},Object(eo.createElement)("a",{ref:this.postLink,href:r.link},Object(li.decodeEntities)(r.title)||Object(A.__)("(no title)"))," ",a),Object(eo.createElement)(No.PanelBody,null,Object(eo.createElement)("p",{className:"post-publish-panel__postpublish-subheader"},Object(eo.createElement)("strong",null,Object(A.__)("What’s next?"))),Object(eo.createElement)(No.TextControl,{className:"post-publish-panel__postpublish-post-address",readOnly:!0,label:Object(A.sprintf)(Object(A.__)("%s address"),i),value:Object(Et.safeDecodeURIComponent)(r.link),onFocus:this.onSelectInput}),Object(eo.createElement)("div",{className:"post-publish-panel__postpublish-buttons"},!n&&Object(eo.createElement)(No.Button,{isSecondary:!0,href:r.link},c),Object(eo.createElement)(No.ClipboardButton,{isSecondary:!0,text:r.link,onCopy:this.onCopy},this.state.showCopyConfirmation?Object(A.__)("Copied!"):Object(A.__)("Copy Link")))),t)}}]),t}(eo.Component),dc=Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.getCurrentPost,o=t.isCurrentPostScheduled,i=e("core").getPostType;return{post:r(),postType:i(n("type")),isScheduled:o()}}))(lc),pc=function(e){function t(){var e;return Object(po.a)(this,t),(e=Object(fo.a)(this,Object(ho.a)(t).apply(this,arguments))).onSubmit=e.onSubmit.bind(Object(qo.a)(e)),e}return Object(mo.a)(t,e),Object(bo.a)(t,[{key:"componentDidUpdate",value:function(e){e.isPublished&&!this.props.isSaving&&this.props.isDirty&&this.props.onClose()}},{key:"onSubmit",value:function(){var e=this.props,t=e.onClose,n=e.hasPublishAction,r=e.isPostTypeViewable;n&&r||t()}},{key:"render",value:function(){var e=this.props,t=e.forceIsDirty,n=e.forceIsSaving,r=e.isBeingScheduled,o=e.isPublished,i=e.isPublishSidebarEnabled,c=e.isScheduled,a=e.isSaving,s=e.onClose,u=e.onTogglePublishSidebar,l=e.PostPublishExtension,d=e.PrePublishExtension,p=Object($r.a)(e,["forceIsDirty","forceIsSaving","isBeingScheduled","isPublished","isPublishSidebarEnabled","isScheduled","isSaving","onClose","onTogglePublishSidebar","PostPublishExtension","PrePublishExtension"]),b=Object(O.omit)(p,["hasPublishAction","isDirty","isPostTypeViewable"]),f=o||c&&r,h=!f&&!a,m=f&&!a;return Object(eo.createElement)("div",Object(Jr.a)({className:"editor-post-publish-panel"},b),Object(eo.createElement)("div",{className:"editor-post-publish-panel__header"},m?Object(eo.createElement)("div",{className:"editor-post-publish-panel__header-published"},c?Object(A.__)("Scheduled"):Object(A.__)("Published")):Object(eo.createElement)("div",{className:"editor-post-publish-panel__header-publish-button"},Object(eo.createElement)(zi,{focusOnMount:!0,onSubmit:this.onSubmit,forceIsDirty:t,forceIsSaving:n})),Object(eo.createElement)(No.Button,{"aria-expanded":!0,onClick:s,icon:"no-alt",label:Object(A.__)("Close panel")})),Object(eo.createElement)("div",{className:"editor-post-publish-panel__content"},h&&Object(eo.createElement)(uc,null,d&&Object(eo.createElement)(d,null)),m&&Object(eo.createElement)(dc,{focusOnMount:!0},l&&Object(eo.createElement)(l,null)),a&&Object(eo.createElement)(No.Spinner,null)),Object(eo.createElement)("div",{className:"editor-post-publish-panel__footer"},Object(eo.createElement)(No.CheckboxControl,{label:Object(A.__)("Always show pre-publish checks."),checked:i,onChange:u})))}}]),t}(eo.Component),bc=Object(to.compose)([Object(p.withSelect)((function(e){var t=e("core").getPostType,n=e("core/editor"),r=n.getCurrentPost,o=n.getEditedPostAttribute,i=n.isCurrentPostPublished,c=n.isCurrentPostScheduled,a=n.isEditedPostBeingScheduled,s=n.isEditedPostDirty,u=n.isSavingPost,l=e("core/editor").isPublishSidebarEnabled,d=t(o("type"));return{hasPublishAction:Object(O.get)(r(),["_links","wp:action-publish"],!1),isPostTypeViewable:Object(O.get)(d,["viewable"],!1),isBeingScheduled:a(),isDirty:s(),isPublished:i(),isPublishSidebarEnabled:l(),isSaving:u(),isScheduled:c()}})),Object(p.withDispatch)((function(e,t){var n=t.isPublishSidebarEnabled,r=e("core/editor"),o=r.disablePublishSidebar,i=r.enablePublishSidebar;return{onTogglePublishSidebar:function(){n?o():i()}}})),No.withFocusReturn,No.withConstrainedTabbing])(pc),fc=n(186),hc=n(187);var mc=Object(to.compose)([Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.isSavingPost,r=t.isCurrentPostPublished,o=t.isCurrentPostScheduled;return{isSaving:n(),isPublished:r(),isScheduled:o()}})),Object(p.withDispatch)((function(e){var t=e("core/editor"),n=t.editPost,r=t.savePost;return{onClick:function(){n({status:"draft"}),r()}}}))])((function(e){var t=e.isSaving,n=e.isPublished,r=e.isScheduled,o=e.onClick,i=Object(to.useViewportMatch)("small","<");return n||r?Object(eo.createElement)(No.Button,{className:"editor-post-switch-to-draft",onClick:function(){var e;n?e=Object(A.__)("Are you sure you want to unpublish this post?"):r&&(e=Object(A.__)("Are you sure you want to unschedule this post?")),window.confirm(e)&&o()},disabled:t,isTertiary:!0},i?Object(A.__)("Draft"):Object(A.__)("Switch to draft")):null})),Oc=function(e){function t(){var e;return Object(po.a)(this,t),(e=Object(fo.a)(this,Object(ho.a)(t).apply(this,arguments))).state={forceSavedMessage:!1},e}return Object(mo.a)(t,e),Object(bo.a)(t,[{key:"componentDidUpdate",value:function(e){var t=this;e.isSaving&&!this.props.isSaving&&(this.setState({forceSavedMessage:!0}),this.props.setTimeout((function(){t.setState({forceSavedMessage:!1})}),1e3))}},{key:"render",value:function(){var e=this.props,t=e.post,n=e.isNew,r=e.isScheduled,o=e.isPublished,i=e.isDirty,c=e.isSaving,a=e.isSaveable,s=e.onSave,u=e.isAutosaving,l=e.isPending,d=e.isLargeViewport,p=this.state.forceSavedMessage;if(c){var b=jo()("editor-post-saved-state","is-saving",{"is-autosaving":u});return Object(eo.createElement)(No.Animate,{type:"loading"},(function(e){var t=e.className;return Object(eo.createElement)("span",{className:jo()(b,t)},Object(eo.createElement)(No.Dashicon,{icon:"cloud"}),u?Object(A.__)("Autosaving"):Object(A.__)("Saving"))}))}if(o||r)return Object(eo.createElement)(mc,null);if(!a)return null;if(p||!n&&!i)return Object(eo.createElement)("span",{className:"editor-post-saved-state is-saved"},Object(eo.createElement)(fc.a,{icon:hc.a}),Object(A.__)("Saved"));if(!Object(O.get)(t,["_links","wp:action-publish"],!1)&&l)return null;var f=l?Object(A.__)("Save as Pending"):Object(A.__)("Save Draft");return d?Object(eo.createElement)(No.Button,{className:"editor-post-save-draft",onClick:function(){return s()},shortcut:Uo.displayShortcut.primary("s"),isTertiary:!0},f):Object(eo.createElement)(No.Button,{className:"editor-post-save-draft",label:f,onClick:function(){return s()},shortcut:Uo.displayShortcut.primary("s"),icon:"cloud-upload"})}}]),t}(eo.Component),vc=Object(to.compose)([Object(p.withSelect)((function(e,t){var n=t.forceIsDirty,r=t.forceIsSaving,o=e("core/editor"),i=o.isEditedPostNew,c=o.isCurrentPostPublished,a=o.isCurrentPostScheduled,s=o.isEditedPostDirty,u=o.isSavingPost,l=o.isEditedPostSaveable,d=o.getCurrentPost,p=o.isAutosavingPost,b=o.getEditedPostAttribute;return{post:d(),isNew:i(),isPublished:c(),isScheduled:a(),isDirty:n||s(),isSaving:r||u(),isSaveable:l(),isAutosaving:p(),isPending:"pending"===b("status")}})),Object(p.withDispatch)((function(e){return{onSave:e("core/editor").savePost}})),to.withSafeTimeout,Object(l.withViewportMatch)({isLargeViewport:"small"})])(Oc);var gc=Object(to.compose)([Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.getCurrentPostType;return{hasPublishAction:Object(O.get)(n(),["_links","wp:action-publish"],!1),postType:r()}}))])((function(e){var t=e.hasPublishAction,n=e.children;return t?n:null}));function jc(e){var t=e.children;return Object(eo.createElement)(ei,{supportKeys:"slug"},t)}var yc=function(e){function t(e){var n,r=e.postSlug,o=e.postTitle,i=e.postID;return Object(po.a)(this,t),(n=Object(fo.a)(this,Object(ho.a)(t).apply(this,arguments))).state={editedSlug:Object(Et.safeDecodeURIComponent)(r)||xi(o)||i},n.setSlug=n.setSlug.bind(Object(qo.a)(n)),n}return Object(mo.a)(t,e),Object(bo.a)(t,[{key:"setSlug",value:function(e){var t=this.props,n=t.postSlug,r=t.onUpdateSlug,o=xi(e.target.value);o!==n&&r(o)}},{key:"render",value:function(){var e=this,t=this.props.instanceId,n=this.state.editedSlug,r="editor-post-slug-"+t;return Object(eo.createElement)(jc,null,Object(eo.createElement)("label",{htmlFor:r},Object(A.__)("Slug")),Object(eo.createElement)("input",{type:"text",id:r,value:n,onChange:function(t){return e.setState({editedSlug:t.target.value})},onBlur:this.setSlug,className:"editor-post-slug__input"}))}}]),t}(eo.Component),_c=Object(to.compose)([Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.getEditedPostAttribute,o=n().id;return{postSlug:r("slug"),postTitle:r("title"),postID:o}})),Object(p.withDispatch)((function(e){var t=e("core/editor").editPost;return{onUpdateSlug:function(e){t({slug:e})}}})),to.withInstanceId])(yc);var kc=Object(to.compose)([Object(p.withSelect)((function(e){var t=e("core/editor").getCurrentPost();return{hasStickyAction:Object(O.get)(t,["_links","wp:action-sticky"],!1),postType:e("core/editor").getCurrentPostType()}}))])((function(e){var t=e.hasStickyAction,n=e.postType,r=e.children;return"post"===n&&t?r:null}));var Sc=Object(to.compose)([Object(p.withSelect)((function(e){return{postSticky:e("core/editor").getEditedPostAttribute("sticky")}})),Object(p.withDispatch)((function(e){return{onUpdateSticky:function(t){e("core/editor").editPost({sticky:t})}}}))])((function(e){var t=e.onUpdateSticky,n=e.postSticky,r=void 0!==n&&n;return Object(eo.createElement)(kc,null,Object(eo.createElement)(No.CheckboxControl,{label:Object(A.__)("Stick to the top of the blog"),checked:r,onChange:function(){return t(!r)}}))}));function Ec(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Pc(e){for(var t=1;t0)};return e.sort((function(e,t){var r=n(e),o=n(t);return r===o?0:r&&!o?-1:!r&&o?1:0})),e}},{key:"setFilterValue",value:function(e){var t=this.state.availableTermsTree,n=e.target.value,r=t.map(this.getFilterMatcher(n)).filter((function(e){return e}));this.setState({filterValue:n,filteredTermsTree:r});var o=function e(t){for(var n=0,r=0;r0&&(r.children=r.children.map(t).filter((function(e){return e}))),(-1!==r.name.toLowerCase().indexOf(e.toLowerCase())||r.children.length>0)&&r}}},{key:"renderTerms",value:function(e){var t=this,n=this.props.terms,r=void 0===n?[]:n;return e.map((function(e){return Object(eo.createElement)("div",{key:e.id,className:"editor-post-taxonomies__hierarchical-terms-choice"},Object(eo.createElement)(No.CheckboxControl,{checked:-1!==r.indexOf(e.id),onChange:function(){var n=parseInt(e.id,10);t.onChange(n)},label:Object(O.unescape)(e.name)}),!!e.children.length&&Object(eo.createElement)("div",{className:"editor-post-taxonomies__hierarchical-terms-subchoices"},t.renderTerms(e.children)))}))}},{key:"render",value:function(){var e=this.props,t=e.slug,n=e.taxonomy,r=e.instanceId,o=e.hasCreateAction;if(!e.hasAssignAction)return null;var i=this.state,c=i.availableTermsTree,a=i.availableTerms,s=i.filteredTermsTree,u=i.formName,l=i.formParent,d=i.loading,p=i.showForm,b=i.filterValue,f=function(e,r,o){return Object(O.get)(n,["labels",e],"category"===t?r:o)},h=f("add_new_item",Object(A.__)("Add new category"),Object(A.__)("Add new term")),m=f("new_item_name",Object(A.__)("Add new category"),Object(A.__)("Add new term")),v=f("parent_item",Object(A.__)("Parent Category"),Object(A.__)("Parent Term")),g="— ".concat(v," —"),j=h,y="editor-post-taxonomies__hierarchical-terms-input-".concat(r),_="editor-post-taxonomies__hierarchical-terms-filter-".concat(r),k=Object(O.get)(this.props.taxonomy,["labels","search_items"],Object(A.__)("Search Terms")),S=Object(O.get)(this.props.taxonomy,["name"],Object(A.__)("Terms")),E=a.length>=8;return[E&&Object(eo.createElement)("label",{key:"filter-label",htmlFor:_},k),E&&Object(eo.createElement)("input",{type:"search",id:_,value:b,onChange:this.setFilterValue,className:"editor-post-taxonomies__hierarchical-terms-filter",key:"term-filter-input"}),Object(eo.createElement)("div",{className:"editor-post-taxonomies__hierarchical-terms-list",key:"term-list",tabIndex:"0",role:"group","aria-label":S},this.renderTerms(""!==b?s:c)),!d&&o&&Object(eo.createElement)(No.Button,{key:"term-add-button",onClick:this.onToggleForm,className:"editor-post-taxonomies__hierarchical-terms-add","aria-expanded":p,isLink:!0},h),p&&Object(eo.createElement)("form",{onSubmit:this.onAddTerm,key:"hierarchical-terms-form"},Object(eo.createElement)("label",{htmlFor:y,className:"editor-post-taxonomies__hierarchical-terms-label"},m),Object(eo.createElement)("input",{type:"text",id:y,className:"editor-post-taxonomies__hierarchical-terms-input",value:u,onChange:this.onChangeFormName,required:!0}),!!a.length&&Object(eo.createElement)(No.TreeSelect,{label:v,noOptionLabel:g,onChange:this.onChangeFormParent,selectedId:l,tree:c}),Object(eo.createElement)(No.Button,{isSecondary:!0,type:"submit",className:"editor-post-taxonomies__hierarchical-terms-submit"},j))]}}]),t}(eo.Component),Tc=Object(to.compose)([Object(p.withSelect)((function(e,t){var n=t.slug,r=e("core/editor").getCurrentPost,o=(0,e("core").getTaxonomy)(n);return{hasCreateAction:!!o&&Object(O.get)(r(),["_links","wp:action-create-"+o.rest_base],!1),hasAssignAction:!!o&&Object(O.get)(r(),["_links","wp:action-assign-"+o.rest_base],!1),terms:o?e("core/editor").getEditedPostAttribute(o.rest_base):[],taxonomy:o}})),Object(p.withDispatch)((function(e){return{onUpdateTerms:function(t,n){e("core/editor").editPost(Object(d.a)({},n,t))}}})),No.withSpokenMessages,to.withInstanceId,Object(No.withFilters)("editor.PostTaxonomyType")])(Cc);var Bc=Object(to.compose)([Object(p.withSelect)((function(e){return{postType:e("core/editor").getCurrentPostType(),taxonomies:e("core").getTaxonomies({per_page:-1})}}))])((function(e){var t=e.postType,n=e.taxonomies,r=e.taxonomyWrapper,o=void 0===r?O.identity:r,i=Object(O.filter)(n,(function(e){return Object(O.includes)(e.types,t)}));return Object(O.filter)(i,(function(e){return e.visibility.show_ui})).map((function(e){var t=e.hierarchical?Tc:nc;return Object(eo.createElement)(eo.Fragment,{key:"taxonomy-".concat(e.slug)},o(Object(eo.createElement)(t,{slug:e.slug}),e))}))}));var xc=Object(to.compose)([Object(p.withSelect)((function(e){return{postType:e("core/editor").getCurrentPostType(),taxonomies:e("core").getTaxonomies({per_page:-1})}}))])((function(e){var t=e.postType,n=e.taxonomies,r=e.children;return Object(O.some)(n,(function(e){return Object(O.includes)(e.types,t)}))?r:null})),Ic=n(70),Ac=n.n(Ic),Rc=function(e){function t(){var e;return Object(po.a)(this,t),(e=Object(fo.a)(this,Object(ho.a)(t).apply(this,arguments))).edit=e.edit.bind(Object(qo.a)(e)),e.stopEditing=e.stopEditing.bind(Object(qo.a)(e)),e.state={},e}return Object(mo.a)(t,e),Object(bo.a)(t,[{key:"edit",value:function(e){var t=e.target.value;this.props.onChange(t),this.setState({value:t,isDirty:!0})}},{key:"stopEditing",value:function(){this.state.isDirty&&(this.props.onPersist(this.state.value),this.setState({isDirty:!1}))}},{key:"render",value:function(){var e=this.state.value,t=this.props.instanceId;return Object(eo.createElement)(eo.Fragment,null,Object(eo.createElement)("label",{htmlFor:"post-content-".concat(t),className:"screen-reader-text"},Object(A.__)("Type text or HTML")),Object(eo.createElement)(Ac.a,{autoComplete:"off",dir:"auto",value:e,onChange:this.edit,onBlur:this.stopEditing,className:"editor-post-text-editor",id:"post-content-".concat(t),placeholder:Object(A.__)("Start writing with text or HTML")}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return t.isDirty?null:{value:e.value,isDirty:!1}}}]),t}(eo.Component),Dc=Object(to.compose)([Object(p.withSelect)((function(e){return{value:(0,e("core/editor").getEditedPostContent)()}})),Object(p.withDispatch)((function(e){var t=e("core/editor"),n=t.editPost,r=t.resetEditorBlocks;return{onChange:function(e){n({content:e})},onPersist:function(e){var t=Object(c.parse)(e);r(t)}}})),to.withInstanceId])(Rc),Lc=function(e){function t(e){var n,r=e.permalinkParts,o=e.slug;return Object(po.a)(this,t),(n=Object(fo.a)(this,Object(ho.a)(t).apply(this,arguments))).state={editedPostName:o||r.postName},n.onSavePermalink=n.onSavePermalink.bind(Object(qo.a)(n)),n}return Object(mo.a)(t,e),Object(bo.a)(t,[{key:"onSavePermalink",value:function(e){var t=xi(this.state.editedPostName);e.preventDefault(),this.props.onSave(),t!==this.props.postName&&(this.props.editPost({slug:t}),this.setState({editedPostName:t}))}},{key:"render",value:function(){var e=this,t=this.props.permalinkParts,n=t.prefix,r=t.suffix,o=this.state.editedPostName;return Object(eo.createElement)("form",{className:"editor-post-permalink-editor",onSubmit:this.onSavePermalink},Object(eo.createElement)("span",{className:"editor-post-permalink__editor-container"},Object(eo.createElement)("span",{className:"editor-post-permalink-editor__prefix"},n),Object(eo.createElement)("input",{className:"editor-post-permalink-editor__edit","aria-label":Object(A.__)("Edit post permalink"),value:o,onChange:function(t){return e.setState({editedPostName:t.target.value})},type:"text",autoFocus:!0}),Object(eo.createElement)("span",{className:"editor-post-permalink-editor__suffix"},r),"‎"),Object(eo.createElement)(No.Button,{className:"editor-post-permalink-editor__save",isSecondary:!0,onClick:this.onSavePermalink},Object(A.__)("Save")))}}]),t}(eo.Component),Nc=Object(to.compose)([Object(p.withSelect)((function(e){return{permalinkParts:(0,e("core/editor").getPermalinkParts)()}})),Object(p.withDispatch)((function(e){return{editPost:e("core/editor").editPost}}))])(Lc),Uc=function(e){function t(){var e;return Object(po.a)(this,t),(e=Object(fo.a)(this,Object(ho.a)(t).apply(this,arguments))).addVisibilityCheck=e.addVisibilityCheck.bind(Object(qo.a)(e)),e.onVisibilityChange=e.onVisibilityChange.bind(Object(qo.a)(e)),e.state={isCopied:!1,isEditingPermalink:!1},e}return Object(mo.a)(t,e),Object(bo.a)(t,[{key:"addVisibilityCheck",value:function(){window.addEventListener("visibilitychange",this.onVisibilityChange)}},{key:"onVisibilityChange",value:function(){var e=this.props,t=e.isEditable,n=e.refreshPost;t||"visible"!==document.visibilityState||n()}},{key:"componentDidUpdate",value:function(e,t){t.isEditingPermalink&&!this.state.isEditingPermalink&&this.linkElement.focus()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("visibilitychange",this.addVisibilityCheck)}},{key:"render",value:function(){var e=this,t=this.props,n=t.isEditable,r=t.isNew,o=t.isPublished,i=t.isViewable,c=t.permalinkParts,a=t.postLink,s=t.postSlug,u=t.postID,l=t.postTitle;if(r||!i||!c||!a)return null;var d=this.state,p=d.isCopied,b=d.isEditingPermalink,f=p?Object(A.__)("Permalink copied"):Object(A.__)("Copy the permalink"),h=c.prefix,m=c.suffix,O=Object(Et.safeDecodeURIComponent)(s)||xi(l)||u,v=n?h+O+m:h;return Object(eo.createElement)("div",{className:"editor-post-permalink"},Object(eo.createElement)(No.ClipboardButton,{className:jo()("editor-post-permalink__copy",{"is-copied":p}),text:v,label:f,onCopy:function(){return e.setState({isCopied:!0})},"aria-disabled":p,icon:"admin-links"}),Object(eo.createElement)("span",{className:"editor-post-permalink__label"},Object(A.__)("Permalink:")),!b&&Object(eo.createElement)(No.ExternalLink,{className:"editor-post-permalink__link",href:o?v:a,target:"_blank",ref:function(t){return e.linkElement=t}},Object(Et.safeDecodeURI)(v),"‎"),b&&Object(eo.createElement)(Nc,{slug:O,onSave:function(){return e.setState({isEditingPermalink:!1})}}),n&&!b&&Object(eo.createElement)(No.Button,{className:"editor-post-permalink__edit",isSecondary:!0,onClick:function(){return e.setState({isEditingPermalink:!0})}},Object(A.__)("Edit")))}}]),t}(eo.Component),Fc=Object(to.compose)([Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.isEditedPostNew,r=t.isPermalinkEditable,o=t.getCurrentPost,i=t.getPermalinkParts,c=t.getEditedPostAttribute,a=t.isCurrentPostPublished,s=e("core").getPostType,u=o(),l=u.id,d=u.link,p=s(c("type"));return{isNew:n(),postLink:d,permalinkParts:i(),postSlug:c("slug"),isEditable:r(),isPublished:a(),postTitle:c("title"),postID:l,isViewable:Object(O.get)(p,["viewable"],!1)}})),Object(p.withDispatch)((function(e){return{refreshPost:e("core/editor").refreshPost}}))])(Uc),Mc=/[\r\n]+/g,Vc=function(e){function t(){var e;return Object(po.a)(this,t),(e=Object(fo.a)(this,Object(ho.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(qo.a)(e)),e.onSelect=e.onSelect.bind(Object(qo.a)(e)),e.onUnselect=e.onUnselect.bind(Object(qo.a)(e)),e.onKeyDown=e.onKeyDown.bind(Object(qo.a)(e)),e.state={isSelected:!1},e}return Object(mo.a)(t,e),Object(bo.a)(t,[{key:"handleFocusOutside",value:function(){this.onUnselect()}},{key:"onSelect",value:function(){this.setState({isSelected:!0}),this.props.clearSelectedBlock()}},{key:"onUnselect",value:function(){this.setState({isSelected:!1})}},{key:"onChange",value:function(e){var t=e.target.value.replace(Mc," ");this.props.onUpdate(t)}},{key:"onKeyDown",value:function(e){e.keyCode===Uo.ENTER&&(e.preventDefault(),this.props.onEnterPress())}},{key:"render",value:function(){var e=this.props,t=e.hasFixedToolbar,n=e.isCleanNewPost,r=e.isFocusMode,o=e.isPostTypeViewable,i=e.instanceId,c=e.placeholder,a=e.title,s=this.state.isSelected,u=jo()("wp-block editor-post-title__block",{"is-selected":s,"is-focus-mode":r,"has-fixed-toolbar":t}),l=Object(li.decodeEntities)(c);return Object(eo.createElement)(ei,{supportKeys:"title"},Object(eo.createElement)("div",{className:"editor-post-title"},Object(eo.createElement)("div",{className:u},Object(eo.createElement)("div",null,Object(eo.createElement)("label",{htmlFor:"post-title-".concat(i),className:"screen-reader-text"},l||Object(A.__)("Add title")),Object(eo.createElement)(Ac.a,{id:"post-title-".concat(i),className:"editor-post-title__input",value:a,onChange:this.onChange,placeholder:l||Object(A.__)("Add title"),onFocus:this.onSelect,onKeyDown:this.onKeyDown,onKeyPress:this.onUnselect,autoFocus:document.body===document.activeElement&&n})),s&&o&&Object(eo.createElement)(Fc,null))))}}]),t}(eo.Component),zc=Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.getEditedPostAttribute,r=t.isCleanNewPost,o=e("core/block-editor").getSettings,i=(0,e("core").getPostType)(n("type")),c=o(),a=c.titlePlaceholder,s=c.focusMode,u=c.hasFixedToolbar;return{isCleanNewPost:r(),title:n("title"),isPostTypeViewable:Object(O.get)(i,["viewable"],!1),placeholder:a,isFocusMode:s,hasFixedToolbar:u}})),Wc=Object(p.withDispatch)((function(e){var t=e("core/block-editor"),n=t.insertDefaultBlock,r=t.clearSelectedBlock,o=e("core/editor").editPost;return{onEnterPress:function(){n(void 0,void 0,0)},onUpdate:function(e){o({title:e})},clearSelectedBlock:r}})),Hc=Object(to.compose)(zc,Wc,to.withInstanceId,No.withFocusOutside)(Vc);var Kc=Object(to.compose)([Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.isEditedPostNew,r=t.getCurrentPostId,o=t.getCurrentPostType;return{isNew:n(),postId:r(),postType:o()}})),Object(p.withDispatch)((function(e){return{trashPost:e("core/editor").trashPost}}))])((function(e){var t=e.isNew,n=e.postId,r=e.postType,o=Object($r.a)(e,["isNew","postId","postType"]);return t||!n?null:Object(eo.createElement)(No.Button,{className:"editor-post-trash is-link",onClick:function(){return o.trashPost(n,r)}},Object(A.__)("Move to Trash"))}));var Gc=Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.isEditedPostNew,r=t.getCurrentPostId;return{isNew:n(),postId:r()}}))((function(e){var t=e.isNew,n=e.postId,r=e.children;return t||!n?null:r}));var qc=Object(to.compose)([Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.getCurrentPost,r=t.getCurrentPostType;return{hasPublishAction:Object(O.get)(n(),["_links","wp:action-publish"],!1),postType:r()}}))])((function(e){var t=e.hasPublishAction;return(0,e.render)({canEdit:t})})),Qc=n(122);var Yc=Object(p.withSelect)((function(e){return{content:e("core/editor").getEditedPostAttribute("content")}}))((function(e){var t=e.content,n=Object(A._x)("words","Word count type. Do not translate!");return Object(eo.createElement)("span",{className:"word-count"},Object(Qc.count)(t,n))}));var Xc=Object(p.withSelect)((function(e){var t=e("core/block-editor").getGlobalBlockCount;return{headingCount:t("core/heading"),paragraphCount:t("core/paragraph"),numberOfBlocks:t()}}))((function(e){var t=e.headingCount,n=e.paragraphCount,r=e.numberOfBlocks,o=e.hasOutlineItemsDisabled,i=e.onRequestClose;return(Object(eo.createElement)(eo.Fragment,null,Object(eo.createElement)("div",{className:"table-of-contents__wrapper",role:"note","aria-label":Object(A.__)("Document Statistics"),tabIndex:"0"},Object(eo.createElement)("ul",{role:"list",className:"table-of-contents__counts"},Object(eo.createElement)("li",{className:"table-of-contents__count"},Object(A.__)("Words"),Object(eo.createElement)(Yc,null)),Object(eo.createElement)("li",{className:"table-of-contents__count"},Object(A.__)("Headings"),Object(eo.createElement)("span",{className:"table-of-contents__number"},t)),Object(eo.createElement)("li",{className:"table-of-contents__count"},Object(A.__)("Paragraphs"),Object(eo.createElement)("span",{className:"table-of-contents__number"},n)),Object(eo.createElement)("li",{className:"table-of-contents__count"},Object(A.__)("Blocks"),Object(eo.createElement)("span",{className:"table-of-contents__number"},r)))),t>0&&Object(eo.createElement)(eo.Fragment,null,Object(eo.createElement)("hr",null),Object(eo.createElement)("h2",{className:"table-of-contents__title"},Object(A.__)("Document Outline")),Object(eo.createElement)(To,{onSelect:i,hasOutlineItemsDisabled:o}))))}));var Zc=Object(p.withSelect)((function(e){return{hasBlocks:!!e("core/block-editor").getBlockCount()}}))((function(e){var t=e.hasBlocks,n=e.hasOutlineItemsDisabled;return Object(eo.createElement)(No.Dropdown,{position:"bottom",className:"table-of-contents",contentClassName:"table-of-contents__popover",renderToggle:function(e){var n=e.isOpen,r=e.onToggle;return Object(eo.createElement)(No.Button,{onClick:t?r:void 0,icon:"info-outline","aria-expanded":n,label:Object(A.__)("Content structure"),tooltipPosition:"bottom","aria-disabled":!t})},renderContent:function(e){var t=e.onClose;return Object(eo.createElement)(Xc,{onRequestClose:t,hasOutlineItemsDisabled:n})}})})),Jc=function(e){function t(){var e;return Object(po.a)(this,t),(e=Object(fo.a)(this,Object(ho.a)(t).apply(this,arguments))).warnIfUnsavedChanges=e.warnIfUnsavedChanges.bind(Object(qo.a)(e)),e}return Object(mo.a)(t,e),Object(bo.a)(t,[{key:"componentDidMount",value:function(){window.addEventListener("beforeunload",this.warnIfUnsavedChanges)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("beforeunload",this.warnIfUnsavedChanges)}},{key:"warnIfUnsavedChanges",value:function(e){if((0,this.props.isEditedPostDirty)())return e.returnValue=Object(A.__)("You have unsaved changes. If you proceed, they will be lost."),e.returnValue}},{key:"render",value:function(){return null}}]),t}(eo.Component),$c=Object(p.withSelect)((function(e){return{isEditedPostDirty:e("core/editor").isEditedPostDirty}}))(Jc),ea=Object(to.createHigherOrderComponent)((function(e){return Object(p.withRegistry)((function(t){var n=t.useSubRegistry,r=void 0===n||n,o=t.registry,c=Object($r.a)(t,["useSubRegistry","registry"]);if(!r)return Object(eo.createElement)(e,c);var a=Object(eo.useState)(null),s=Object(_t.a)(a,2),u=s[0],l=s[1];return Object(eo.useEffect)((function(){var e=Object(p.createRegistry)({"core/block-editor":i.storeConfig},o),t=e.registerStore("core/editor",Xr);Hr(t),l(e)}),[o]),u?Object(eo.createElement)(p.RegistryProvider,{value:u},Object(eo.createElement)(e,c)):null}))}),"withRegistryProvider"),ta=n(124);function na(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ra(e){for(var t=1;t0?o(n[0]):void 0),u=i(n),l=1===u.length&&u[0]&&u[0].name===a;return{isGroupable:s&&u.length&&!l,isUngroupable:l&&!!u[0].innerBlocks.length,blocksSelection:u,groupingBlockName:a}})),Object(p.withDispatch)((function(e,t){var n=t.clientIds,r=t.onToggle,o=void 0===r?O.noop:r,i=t.blocksSelection,a=void 0===i?[]:i,s=t.groupingBlockName,u=e("core/block-editor").replaceBlocks;return{onConvertToGroup:function(){if(a.length){var e=Object(c.switchToBlockType)(a,s);e&&u(n,e),o()}},onConvertFromGroup:function(){if(a.length){var e=a[0].innerBlocks;e.length&&(u(n,e),o())}}}}))])((function(e){var t=e.onConvertToGroup,n=e.onConvertFromGroup,r=e.isGroupable,o=void 0!==r&&r,i=e.isUngroupable,c=void 0!==i&&i;return Object(eo.createElement)(eo.Fragment,null,o&&Object(eo.createElement)(No.MenuItem,{icon:ua,onClick:t},Object(A._x)("Group","verb")),c&&Object(eo.createElement)(No.MenuItem,{icon:da,onClick:n},Object(A._x)("Ungroup","Ungrouping blocks from within a Group block back into individual blocks within the Editor ")))}));var ba=Object(p.withSelect)((function(e){return{clientIds:(0,e("core/block-editor").getSelectedBlockClientIds)()}}))((function(e){var t=e.clientIds;return Object(eo.createElement)(i.__experimentalBlockSettingsMenuPluginsExtension,null,(function(e){var n=e.onClose;return Object(eo.createElement)(eo.Fragment,null,Object(eo.createElement)(pa,{clientIds:t,onToggle:n}))}))}));function fa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ha(e){for(var t=1;t1&&void 0!==c[1]?c[1]:{},r=n.perPage,o=void 0===r?20:r,e.next=3,I()({path:Object(Et.addQueryArgs)("/wp/v2/search",{search:t,per_page:o,type:"post"})});case 3:return i=e.sent,e.abrupt("return",Object(O.map)(i,(function(e){return{id:e.id,url:e.url,title:Object(li.decodeEntities)(e.title)||Object(A.__)("(no title)"),type:e.subtype||e.type}})));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Oa=function(e){function t(e){var n;return Object(po.a)(this,t),(n=Object(fo.a)(this,Object(ho.a)(t).apply(this,arguments))).getBlockEditorSettings=Q()(n.getBlockEditorSettings,{maxSize:1}),e.recovery?Object(fo.a)(n):(e.updatePostLock(e.settings.postLock),e.setupEditor(e.post,e.initialEdits,e.settings.template),e.settings.autosave&&e.createWarningNotice(Object(A.__)("There is an autosave of this post that is more recent than the version below."),{id:"autosave-exists",actions:[{label:Object(A.__)("View the autosave"),url:e.settings.autosave.editLink}]}),n)}return Object(mo.a)(t,e),Object(bo.a)(t,[{key:"getBlockEditorSettings",value:function(e,t,n,r,o,i,c){return ha({},Object(O.pick)(e,["alignWide","allowedBlockTypes","__experimentalPreferredStyleVariations","availableLegacyWidgets","bodyPlaceholder","codeEditingEnabled","colors","disableCustomColors","disableCustomFontSizes","disableCustomGradients","focusMode","fontSizes","hasFixedToolbar","hasPermissionsToManageWidgets","imageSizes","isRTL","maxWidth","styles","template","templateLock","titlePlaceholder","onUpdateDefaultBlockStyles","__experimentalEnableLegacyWidgetBlock","__experimentalBlockDirectory","__experimentalEnableFullSiteEditing","__experimentalEnableFullSiteEditingDemo","__experimentalEnablePageTemplates","showInserterHelpPanel","gradients"]),{mediaUpload:r?oa:void 0,__experimentalReusableBlocks:t,__experimentalFetchReusableBlocks:n,__experimentalFetchLinkSuggestions:ma,__experimentalCanUserUseUnfilteredHTML:o,__experimentalUndo:i,__experimentalShouldInsertAtTheTop:c})}},{key:"componentDidMount",value:function(){if(this.props.updateEditorSettings(this.props.settings),this.props.settings.styles){var e=Object(i.transformStyles)(this.props.settings.styles,".editor-styles-wrapper");Object(O.map)(e,(function(e){if(e){var t=document.createElement("style");t.innerHTML=e,document.body.appendChild(t)}}))}}},{key:"componentDidUpdate",value:function(e){this.props.settings!==e.settings&&this.props.updateEditorSettings(this.props.settings)}},{key:"componentWillUnmount",value:function(){this.props.tearDownEditor()}},{key:"render",value:function(){var e=this.props,t=e.canUserUseUnfilteredHTML,n=e.children,r=e.post,o=e.blocks,c=e.resetEditorBlocks,s=e.selectionStart,u=e.selectionEnd,l=e.isReady,d=e.settings,p=e.reusableBlocks,b=e.resetEditorBlocksWithoutUndoLevel,f=e.hasUploadPermissions,h=e.isPostTitleSelected,m=e.__experimentalFetchReusableBlocks,O=e.undo;if(!l)return null;var v=this.getBlockEditorSettings(d,p,m,f,t,O,h);return Object(eo.createElement)(a.EntityProvider,{kind:"root",type:"site"},Object(eo.createElement)(a.EntityProvider,{kind:"postType",type:r.type,id:r.id},Object(eo.createElement)(i.BlockEditorProvider,{value:o,onInput:b,onChange:c,selectionStart:s,selectionEnd:u,settings:v,useSubRegistry:!1},n,Object(eo.createElement)(aa,null),Object(eo.createElement)(ba,null))))}}]),t}(eo.Component),va=Object(to.compose)([ea,Object(p.withSelect)((function(e){var t=e("core/editor"),n=t.canUserUseUnfilteredHTML,r=t.__unstableIsEditorReady,o=t.getEditorBlocks,i=t.getEditorSelectionStart,c=t.getEditorSelectionEnd,a=t.__experimentalGetReusableBlocks,s=t.isPostTitleSelected,u=e("core").canUser;return{canUserUseUnfilteredHTML:n(),isReady:r(),blocks:o(),selectionStart:i(),selectionEnd:c(),reusableBlocks:a(),hasUploadPermissions:Object(O.defaultTo)(u("create","media"),!0),isPostTitleSelected:s&&s()}})),Object(p.withDispatch)((function(e){var t=e("core/editor"),n=t.setupEditor,r=t.updatePostLock,o=t.resetEditorBlocks,i=t.updateEditorSettings,c=t.__experimentalFetchReusableBlocks,a=t.__experimentalTearDownEditor,s=t.undo;return{setupEditor:n,updatePostLock:r,createWarningNotice:e("core/notices").createWarningNotice,resetEditorBlocks:o,updateEditorSettings:i,resetEditorBlocksWithoutUndoLevel:function(e,t){o(e,ha({},t,{__unstableShouldCreateUndoLevel:!1}))},tearDownEditor:a,__experimentalFetchReusableBlocks:c,undo:s}}))])(Oa),ga=n(65),ja=n.n(ga);function ya(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=Object(eo.forwardRef)((function(n,r){return L()("wp.editor."+e,{alternative:"wp.blockEditor."+e}),Object(eo.createElement)(t,Object(Jr.a)({ref:r},n))}));return n.forEach((function(n){r[n]=ya(e+"."+n,t[n])})),r}function _a(e,t){return function(){return L()("wp.editor."+e,{alternative:"wp.blockEditor."+e}),t.apply(void 0,arguments)}}var ka=ya("RichText",i.RichText,["Content"]);ka.isEmpty=_a("RichText.isEmpty",i.RichText.isEmpty);var Sa=ya("Autocomplete",i.Autocomplete),Ea=ya("AlignmentToolbar",i.AlignmentToolbar),Pa=ya("BlockAlignmentToolbar",i.BlockAlignmentToolbar),wa=ya("BlockControls",i.BlockControls,["Slot"]),Ca=ya("BlockEdit",i.BlockEdit),Ta=ya("BlockEditorKeyboardShortcuts",i.BlockEditorKeyboardShortcuts),Ba=ya("BlockFormatControls",i.BlockFormatControls,["Slot"]),xa=ya("BlockIcon",i.BlockIcon),Ia=ya("BlockInspector",i.BlockInspector),Aa=ya("BlockList",i.BlockList),Ra=ya("BlockMover",i.BlockMover),Da=ya("BlockNavigationDropdown",i.BlockNavigationDropdown),La=ya("BlockSelectionClearer",i.BlockSelectionClearer),Na=ya("BlockSettingsMenu",i.BlockSettingsMenu),Ua=ya("BlockTitle",i.BlockTitle),Fa=ya("BlockToolbar",i.BlockToolbar),Ma=ya("ColorPalette",i.ColorPalette),Va=ya("ContrastChecker",i.ContrastChecker),za=ya("CopyHandler",i.CopyHandler),Wa=ya("DefaultBlockAppender",i.DefaultBlockAppender),Ha=ya("FontSizePicker",i.FontSizePicker),Ka=ya("Inserter",i.Inserter),Ga=ya("InnerBlocks",i.InnerBlocks,["ButtonBlockAppender","DefaultBlockAppender","Content"]),qa=ya("InspectorAdvancedControls",i.InspectorAdvancedControls,["Slot"]),Qa=ya("InspectorControls",i.InspectorControls,["Slot"]),Ya=ya("PanelColorSettings",i.PanelColorSettings),Xa=ya("PlainText",i.PlainText),Za=ya("RichTextShortcut",i.RichTextShortcut),Ja=ya("RichTextToolbarButton",i.RichTextToolbarButton),$a=ya("__unstableRichTextInputEvent",i.__unstableRichTextInputEvent),es=ya("MediaPlaceholder",i.MediaPlaceholder),ts=ya("MediaUpload",i.MediaUpload),ns=ya("MediaUploadCheck",i.MediaUploadCheck),rs=ya("MultiBlocksSwitcher",i.MultiBlocksSwitcher),os=ya("MultiSelectScrollIntoView",i.MultiSelectScrollIntoView),is=ya("NavigableToolbar",i.NavigableToolbar),cs=ya("ObserveTyping",i.ObserveTyping),as=ya("PreserveScrollInReorder",i.PreserveScrollInReorder),ss=ya("SkipToSelectedBlock",i.SkipToSelectedBlock),us=ya("URLInput",i.URLInput),ls=ya("URLInputButton",i.URLInputButton),ds=ya("URLPopover",i.URLPopover),ps=ya("Warning",i.Warning),bs=ya("WritingFlow",i.WritingFlow),fs=_a("createCustomColorsHOC",i.createCustomColorsHOC),hs=_a("getColorClassName",i.getColorClassName),ms=_a("getColorObjectByAttributeValues",i.getColorObjectByAttributeValues),Os=_a("getColorObjectByColorValue",i.getColorObjectByColorValue),vs=_a("getFontSize",i.getFontSize),gs=_a("getFontSizeClass",i.getFontSizeClass),js=_a("withColorContext",i.withColorContext),ys=_a("withColors",i.withColors),_s=_a("withFontSizes",i.withFontSizes);Object(no.addFilter)("editor.Autocomplete.completers","editor/autocompleters/set-default-completers",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return e.push(Object(O.clone)(lo)),t===Object(c.getDefaultBlockName)()&&e.push(Object(O.clone)(uo)),e})),n.d(t,"AutosaveMonitor",(function(){return vo})),n.d(t,"DocumentOutline",(function(){return To})),n.d(t,"DocumentOutlineCheck",(function(){return Bo})),n.d(t,"VisualEditorGlobalKeyboardShortcuts",(function(){return Ao})),n.d(t,"EditorGlobalKeyboardShortcuts",(function(){return Ro})),n.d(t,"TextEditorGlobalKeyboardShortcuts",(function(){return Do})),n.d(t,"EditorKeyboardShortcutsRegister",(function(){return Lo})),n.d(t,"EditorHistoryRedo",(function(){return Fo})),n.d(t,"EditorHistoryUndo",(function(){return Mo})),n.d(t,"EditorNotices",(function(){return zo})),n.d(t,"EntitiesSavedStates",(function(){return Go})),n.d(t,"ErrorBoundary",(function(){return Qo})),n.d(t,"LocalAutosaveMonitor",(function(){return Jo})),n.d(t,"PageAttributesCheck",(function(){return $o})),n.d(t,"PageAttributesOrder",(function(){return ni})),n.d(t,"PageAttributesParent",(function(){return si})),n.d(t,"PageTemplate",(function(){return ui})),n.d(t,"PostAuthor",(function(){return bi})),n.d(t,"PostAuthorCheck",(function(){return di})),n.d(t,"PostComments",(function(){return fi})),n.d(t,"PostExcerpt",(function(){return hi})),n.d(t,"PostExcerptCheck",(function(){return mi})),n.d(t,"PostFeaturedImage",(function(){return Ei})),n.d(t,"PostFeaturedImageCheck",(function(){return vi})),n.d(t,"PostFormat",(function(){return Ci})),n.d(t,"PostFormatCheck",(function(){return Pi})),n.d(t,"PostLastRevision",(function(){return Ii})),n.d(t,"PostLastRevisionCheck",(function(){return Ti})),n.d(t,"PostLockedModal",(function(){return Li})),n.d(t,"PostPendingStatus",(function(){return Ui})),n.d(t,"PostPendingStatusCheck",(function(){return Ni})),n.d(t,"PostPingbacks",(function(){return Fi})),n.d(t,"PostPreviewButton",(function(){return Ri})),n.d(t,"PostPublishButton",(function(){return zi})),n.d(t,"PostPublishButtonLabel",(function(){return Mi})),n.d(t,"PostPublishPanel",(function(){return bc})),n.d(t,"PostSavedState",(function(){return vc})),n.d(t,"PostSchedule",(function(){return qi})),n.d(t,"PostScheduleCheck",(function(){return gc})),n.d(t,"PostScheduleLabel",(function(){return Qi})),n.d(t,"PostSlug",(function(){return _c})),n.d(t,"PostSlugCheck",(function(){return jc})),n.d(t,"PostSticky",(function(){return Sc})),n.d(t,"PostStickyCheck",(function(){return kc})),n.d(t,"PostSwitchToDraftButton",(function(){return mc})),n.d(t,"PostTaxonomies",(function(){return Bc})),n.d(t,"PostTaxonomiesCheck",(function(){return xc})),n.d(t,"PostTextEditor",(function(){return Dc})),n.d(t,"PostTitle",(function(){return Hc})),n.d(t,"PostTrash",(function(){return Kc})),n.d(t,"PostTrashCheck",(function(){return Gc})),n.d(t,"PostTypeSupportCheck",(function(){return ei})),n.d(t,"PostVisibility",(function(){return Ki})),n.d(t,"PostVisibilityLabel",(function(){return Gi})),n.d(t,"PostVisibilityCheck",(function(){return qc})),n.d(t,"TableOfContents",(function(){return Zc})),n.d(t,"UnsavedChangesWarning",(function(){return $c})),n.d(t,"WordCount",(function(){return Yc})),n.d(t,"EditorProvider",(function(){return va})),n.d(t,"blockAutocompleter",(function(){return uo})),n.d(t,"userAutocompleter",(function(){return lo})),n.d(t,"ServerSideRender",(function(){return ja.a})),n.d(t,"RichText",(function(){return ka})),n.d(t,"Autocomplete",(function(){return Sa})),n.d(t,"AlignmentToolbar",(function(){return Ea})),n.d(t,"BlockAlignmentToolbar",(function(){return Pa})),n.d(t,"BlockControls",(function(){return wa})),n.d(t,"BlockEdit",(function(){return Ca})),n.d(t,"BlockEditorKeyboardShortcuts",(function(){return Ta})),n.d(t,"BlockFormatControls",(function(){return Ba})),n.d(t,"BlockIcon",(function(){return xa})),n.d(t,"BlockInspector",(function(){return Ia})),n.d(t,"BlockList",(function(){return Aa})),n.d(t,"BlockMover",(function(){return Ra})),n.d(t,"BlockNavigationDropdown",(function(){return Da})),n.d(t,"BlockSelectionClearer",(function(){return La})),n.d(t,"BlockSettingsMenu",(function(){return Na})),n.d(t,"BlockTitle",(function(){return Ua})),n.d(t,"BlockToolbar",(function(){return Fa})),n.d(t,"ColorPalette",(function(){return Ma})),n.d(t,"ContrastChecker",(function(){return Va})),n.d(t,"CopyHandler",(function(){return za})),n.d(t,"DefaultBlockAppender",(function(){return Wa})),n.d(t,"FontSizePicker",(function(){return Ha})),n.d(t,"Inserter",(function(){return Ka})),n.d(t,"InnerBlocks",(function(){return Ga})),n.d(t,"InspectorAdvancedControls",(function(){return qa})),n.d(t,"InspectorControls",(function(){return Qa})),n.d(t,"PanelColorSettings",(function(){return Ya})),n.d(t,"PlainText",(function(){return Xa})),n.d(t,"RichTextShortcut",(function(){return Za})),n.d(t,"RichTextToolbarButton",(function(){return Ja})),n.d(t,"__unstableRichTextInputEvent",(function(){return $a})),n.d(t,"MediaPlaceholder",(function(){return es})),n.d(t,"MediaUpload",(function(){return ts})),n.d(t,"MediaUploadCheck",(function(){return ns})),n.d(t,"MultiBlocksSwitcher",(function(){return rs})),n.d(t,"MultiSelectScrollIntoView",(function(){return os})),n.d(t,"NavigableToolbar",(function(){return is})),n.d(t,"ObserveTyping",(function(){return cs})),n.d(t,"PreserveScrollInReorder",(function(){return as})),n.d(t,"SkipToSelectedBlock",(function(){return ss})),n.d(t,"URLInput",(function(){return us})),n.d(t,"URLInputButton",(function(){return ls})),n.d(t,"URLPopover",(function(){return ds})),n.d(t,"Warning",(function(){return ps})),n.d(t,"WritingFlow",(function(){return bs})),n.d(t,"createCustomColorsHOC",(function(){return fs})),n.d(t,"getColorClassName",(function(){return hs})),n.d(t,"getColorObjectByAttributeValues",(function(){return ms})),n.d(t,"getColorObjectByColorValue",(function(){return Os})),n.d(t,"getFontSize",(function(){return vs})),n.d(t,"getFontSizeClass",(function(){return gs})),n.d(t,"withColorContext",(function(){return js})),n.d(t,"withColors",(function(){return ys})),n.d(t,"withFontSizes",(function(){return _s})),n.d(t,"mediaUpload",(function(){return oa})),n.d(t,"cleanForSlug",(function(){return xi})),n.d(t,"storeConfig",(function(){return Xr})),n.d(t,"transformStyles",(function(){return i.transformStyles}))},42:function(e,t){!function(){e.exports=this.wp.dataControls}()},44:function(e,t,n){e.exports=function(e,t){var n,r,o,i=0;function c(){var t,c,a=r,s=arguments.length;e:for(;a;){if(a.args.length===arguments.length){for(c=0;c1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(o,i){null!==i&&"object"===r(i)&&(o=o[1]),e.call(n,o,i,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&o(t.prototype,n),c&&o(t,c),e}();e.exports=c},65:function(e,t){!function(){e.exports=this.wp.serverSideRender}()},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}))},70:function(e,t,n){"use strict";t.__esModule=!0;var r=n(146);t.default=r.default},73:function(e,t){!function(){e.exports=this.wp.coreData}()},8:function(e,t){!function(){e.exports=this.wp.compose}()},83:function(e,t){!function(){e.exports=this.wp.autop}()},88: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= 0) continue; + target[key] = source[key]; + } + + return target; +} + +/***/ }), + +/***/ 427: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -281,7 +305,7 @@ var slicedToArray = __webpack_require__(22); var esm_typeof = __webpack_require__(32); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(18); +var toConsumableArray = __webpack_require__(17); // EXTERNAL MODULE: external {"this":"React"} var external_this_React_ = __webpack_require__(21); @@ -616,11 +640,11 @@ function closeOuterElement(endOffset) { /* harmony default export */ var create_interpolate_element = (create_interpolate_element_createInterpolateElement); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js -var objectSpread = __webpack_require__(6); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(5); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(20); +var objectWithoutProperties = __webpack_require__(19); // EXTERNAL MODULE: external {"this":"lodash"} var external_this_lodash_ = __webpack_require__(2); @@ -629,6 +653,10 @@ var external_this_lodash_ = __webpack_require__(2); +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -848,14 +876,14 @@ function switchChildrenNodeName(children, nodeName) { childrenProp = _elt$props.children, props = Object(objectWithoutProperties["a" /* default */])(_elt$props, ["children"]); - return Object(external_this_React_["createElement"])(nodeName, Object(objectSpread["a" /* default */])({ + return Object(external_this_React_["createElement"])(nodeName, _objectSpread({ key: index }, props), childrenProp); }); } // EXTERNAL MODULE: external {"this":"ReactDOM"} -var external_this_ReactDOM_ = __webpack_require__(59); +var external_this_ReactDOM_ = __webpack_require__(64); // CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/react-platform.js /** @@ -958,12 +986,16 @@ var Platform = { /* harmony default export */ var platform = (Platform); // EXTERNAL MODULE: external {"this":["wp","escapeHtml"]} -var external_this_wp_escapeHtml_ = __webpack_require__(61); +var external_this_wp_escapeHtml_ = __webpack_require__(66); // CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/raw-html.js +function raw_html_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function raw_html_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { raw_html_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { raw_html_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * Internal dependencies */ @@ -987,7 +1019,7 @@ function RawHTML(_ref) { // The DIV wrapper will be stripped by serializer, unless there are // non-children props present. - return Object(external_this_React_["createElement"])('div', Object(objectSpread["a" /* default */])({ + return Object(external_this_React_["createElement"])('div', raw_html_objectSpread({ dangerouslySetInnerHTML: { __html: children } @@ -999,6 +1031,10 @@ function RawHTML(_ref) { +function serialize_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function serialize_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { serialize_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { serialize_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * Parts of this source were derived and modified from fast-react-render, * released under the MIT license. @@ -1271,7 +1307,7 @@ function renderElement(element, context) { var children = props.children, wrapperProps = Object(objectWithoutProperties["a" /* default */])(props, ["children"]); - return renderNativeComponent(Object(external_this_lodash_["isEmpty"])(wrapperProps) ? null : 'div', Object(objectSpread["a" /* default */])({}, wrapperProps, { + return renderNativeComponent(Object(external_this_lodash_["isEmpty"])(wrapperProps) ? null : 'div', serialize_objectSpread({}, wrapperProps, { dangerouslySetInnerHTML: { __html: children } @@ -1530,71 +1566,7 @@ function renderStyle(style) { /***/ }), -/***/ 40: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; }); -function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } - - return target; -} - -/***/ }), - -/***/ 59: -/***/ (function(module, exports) { - -(function() { module.exports = this["ReactDOM"]; }()); - -/***/ }), - -/***/ 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; -} - -/***/ }), - -/***/ 61: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["escapeHtml"]; }()); - -/***/ }), - -/***/ 9: +/***/ 5: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -1614,6 +1586,20 @@ function _defineProperty(obj, key, value) { return obj; } +/***/ }), + +/***/ 64: +/***/ (function(module, exports) { + +(function() { module.exports = this["ReactDOM"]; }()); + +/***/ }), + +/***/ 66: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["escapeHtml"]; }()); + /***/ }) /******/ }); \ No newline at end of file diff --git a/wp-includes/js/dist/element.min.js b/wp-includes/js/dist/element.min.js index dd28e8113a..735bfeeda6 100644 --- a/wp-includes/js/dist/element.min.js +++ b/wp-includes/js/dist/element.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.element=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=379)}({18:function(e,t,n){"use strict";var r=n(31);function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(u[n]=e[n])}return u}},21:function(e,t){!function(){e.exports=this.React}()},22:function(e,t,n){"use strict";var r=n(35);var o=n(36);function u(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,u=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,u=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw u}}return n}}(e,t)||Object(o.a)()}n.d(t,"a",(function(){return u}))},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}))},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}))},379:function(e,t,n){"use strict";n.r(t);var r,o,u,i,c=n(22),a=n(32),l=n(18),f=n(21),s=/<(\/)?(\w+)\s*(\/)?>/g;function d(e,t,n,r,o){return{element:e,tokenStart:t,tokenLength:n,prevOffset:r,leadingTextStart:o,children:[]}}var p=function(e){var t="object"===Object(a.a)(e),n=t&&Object.values(e);return t&&n.length&&n.every((function(e){return Object(f.isValidElement)(e)}))};function b(e){var t=function(){var e=s.exec(r);if(null===e)return["no-more-tokens"];var t=e.index,n=Object(c.a)(e,4),o=n[0],u=n[1],i=n[2],a=n[3],l=o.length;if(a)return["self-closed",i,t,l];if(u)return["closer",i,t,l];return["opener",i,t,l]}(),n=Object(c.a)(t,4),a=n[0],p=n[1],b=n[2],y=n[3],v=i.length,O=b>o?o:null;if(!e[p])return m(),!1;switch(a){case"no-more-tokens":if(0!==v){var g=i.pop(),j=g.leadingTextStart,w=g.tokenStart;u.push(r.substr(j,w))}return m(),!1;case"self-closed":return 0===v?(null!==O&&u.push(r.substr(O,b-O)),u.push(e[p]),o=b+y,!0):(h(new d(e[p],b,y)),o=b+y,!0);case"opener":return i.push(new d(e[p],b,y,b+y,O)),o=b+y,!0;case"closer":if(1===v)return function(e){var t=i.pop(),n=t.element,o=t.leadingTextStart,c=t.prevOffset,a=t.tokenStart,s=t.children,d=e?r.substr(c,e-c):r.substr(c);d&&s.push(d);null!==o&&u.push(r.substr(o,a-o));u.push(f.cloneElement.apply(void 0,[n,null].concat(Object(l.a)(s))))}(b),o=b+y,!0;var S=i.pop(),x=r.substr(S.prevOffset,b-S.prevOffset);S.children.push(x),S.prevOffset=b+y;var k=new d(S.element,S.tokenStart,S.tokenLength,b+y);return k.children=S.children,h(k),o=b+y,!0;default:return m(),!1}}function m(){var e=r.length-o;0!==e&&u.push(r.substr(o,e))}function h(e){var t=e.element,n=e.tokenStart,o=e.tokenLength,u=e.prevOffset,c=e.children,a=i[i.length-1],s=r.substr(a.prevOffset,n-a.prevOffset);s&&a.children.push(s),a.children.push(f.cloneElement.apply(void 0,[t,null].concat(Object(l.a)(c)))),a.prevOffset=u||n+o}var y=function(e,t){if(r=e,o=0,u=[],i=[],s.lastIndex=0,!p(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(b(t));return f.createElement.apply(void 0,[f.Fragment,null].concat(Object(l.a)(u)))},v=n(6),O=n(20),g=n(2);function j(){for(var e=arguments.length,t=new Array(e),n=0;n2&&void 0!==arguments[2]?arguments[2]:{};if(null==e||!1===e)return"";if(Array.isArray(e))return G(e,t,n);switch(Object(a.a)(e)){case"string":return Object(E.escapeHTML)(e);case"number":return e.toString()}var r=e.type,o=e.props;switch(r){case f.StrictMode:case f.Fragment:return G(o.children,t,n);case C:var u=o.children,i=Object(O.a)(o,["children"]);return q(Object(g.isEmpty)(i)?null:"div",Object(v.a)({},i,{dangerouslySetInnerHTML:{__html:u}}),t,n)}switch(Object(a.a)(r)){case"string":return q(r,o,t,n);case"function":return r.prototype&&"function"==typeof r.prototype.render?function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=new e(t,r);"function"==typeof o.getChildContext&&Object.assign(r,o.getChildContext());return F(o.render(),n,r)}(r,o,t,n):F(r(o,n),t,n)}switch(r&&r.$$typeof){case I.$$typeof:return G(o.children,o.value,n);case P.$$typeof:return F(o.children(t||r._currentValue),t,n);case T.$$typeof:return F(r.render(o),t,n)}return""}function q(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o="";if("textarea"===e&&t.hasOwnProperty("value")?(o=G(t.value,n,r),t=Object(g.omit)(t,"value")):t.dangerouslySetInnerHTML&&"string"==typeof t.dangerouslySetInnerHTML.__html?o=t.dangerouslySetInnerHTML.__html:void 0!==t.children&&(o=G(t.children,n,r)),!e)return o;var u=function(e){var t="";for(var n in e){var r=z(n);if(Object(E.isValidAttributeName)(r)){var o=$(n,e[n]);if(A.has(Object(a.a)(o))&&!D(n)){var u=R.has(r);if(!u||!1!==o){var i=u||N(n,["data-","aria-"])||L.has(r);("boolean"!=typeof o||i)&&(t+=" "+r,u||("string"==typeof o&&(o=Object(E.escapeAttribute)(o)),t+='="'+o+'"'))}}}}return t}(t);return _.has(e)?"<"+e+u+"/>":"<"+e+u+">"+o+""}function G(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r="";e=Object(g.castArray)(e);for(var o=0;o=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},59:function(e,t){!function(){e.exports=this.ReactDOM}()},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||Object.prototype.propertyIsEnumerable.call(e,r)&&(u[r]=e[r])}return u}},2:function(e,t){!function(){e.exports=this.lodash}()},21:function(e,t){!function(){e.exports=this.React}()},22:function(e,t,r){"use strict";var n=r(37);var o=r(38);function u(e,t){return Object(n.a)(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,o=!1,u=void 0;try{for(var c,i=e[Symbol.iterator]();!(n=(c=i.next()).done)&&(r.push(c.value),!t||r.length!==t);n=!0);}catch(e){o=!0,u=e}finally{try{n||null==i.return||i.return()}finally{if(o)throw u}}return r}}(e,t)||Object(o.a)()}r.d(t,"a",(function(){return u}))},32:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}r.d(t,"a",(function(){return n}))},33: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}))},37:function(e,t,r){"use strict";function n(e){if(Array.isArray(e))return e}r.d(t,"a",(function(){return n}))},38: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}))},41:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,o={},u=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}r.d(t,"a",(function(){return n}))},427:function(e,t,r){"use strict";r.r(t);var n,o,u,c,i=r(22),a=r(32),f=r(17),l=r(21),s=/<(\/)?(\w+)\s*(\/)?>/g;function d(e,t,r,n,o){return{element:e,tokenStart:t,tokenLength:r,prevOffset:n,leadingTextStart:o,children:[]}}var p=function(e){var t="object"===Object(a.a)(e),r=t&&Object.values(e);return t&&r.length&&r.every((function(e){return Object(l.isValidElement)(e)}))};function b(e){var t=function(){var e=s.exec(n);if(null===e)return["no-more-tokens"];var t=e.index,r=Object(i.a)(e,4),o=r[0],u=r[1],c=r[2],a=r[3],f=o.length;if(a)return["self-closed",c,t,f];if(u)return["closer",c,t,f];return["opener",c,t,f]}(),r=Object(i.a)(t,4),a=r[0],p=r[1],b=r[2],h=r[3],m=c.length,v=b>o?o:null;if(!e[p])return y(),!1;switch(a){case"no-more-tokens":if(0!==m){var g=c.pop(),j=g.leadingTextStart,w=g.tokenStart;u.push(n.substr(j,w))}return y(),!1;case"self-closed":return 0===m?(null!==v&&u.push(n.substr(v,b-v)),u.push(e[p]),o=b+h,!0):(O(new d(e[p],b,h)),o=b+h,!0);case"opener":return c.push(new d(e[p],b,h,b+h,v)),o=b+h,!0;case"closer":if(1===m)return function(e){var t=c.pop(),r=t.element,o=t.leadingTextStart,i=t.prevOffset,a=t.tokenStart,s=t.children,d=e?n.substr(i,e-i):n.substr(i);d&&s.push(d);null!==o&&u.push(n.substr(o,a-o));u.push(l.cloneElement.apply(void 0,[r,null].concat(Object(f.a)(s))))}(b),o=b+h,!0;var S=c.pop(),P=n.substr(S.prevOffset,b-S.prevOffset);S.children.push(P),S.prevOffset=b+h;var E=new d(S.element,S.tokenStart,S.tokenLength,b+h);return E.children=S.children,O(E),o=b+h,!0;default:return y(),!1}}function y(){var e=n.length-o;0!==e&&u.push(n.substr(o,e))}function O(e){var t=e.element,r=e.tokenStart,o=e.tokenLength,u=e.prevOffset,i=e.children,a=c[c.length-1],s=n.substr(a.prevOffset,r-a.prevOffset);s&&a.children.push(s),a.children.push(l.cloneElement.apply(void 0,[t,null].concat(Object(f.a)(i)))),a.prevOffset=u||r+o}var h=function(e,t){if(n=e,o=0,u=[],c=[],s.lastIndex=0,!p(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(b(t));return l.createElement.apply(void 0,[l.Fragment,null].concat(Object(f.a)(u)))},m=r(5),v=r(19),g=r(2);function j(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function w(){for(var e=arguments.length,t=new Array(e),r=0;r2&&void 0!==arguments[2]?arguments[2]:{};if(null==e||!1===e)return"";if(Array.isArray(e))return K(e,t,r);switch(Object(a.a)(e)){case"string":return Object(x.escapeHTML)(e);case"number":return e.toString()}var n=e.type,o=e.props;switch(n){case l.StrictMode:case l.Fragment:return K(o.children,t,r);case M:var u=o.children,c=Object(v.a)(o,["children"]);return J(Object(g.isEmpty)(c)?null:"div",function(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:{},o=new e(t,n);"function"==typeof o.getChildContext&&Object.assign(n,o.getChildContext());return B(o.render(),r,n)}(n,o,t,r):B(n(o,r),t,r)}switch(n&&n.$$typeof){case T.$$typeof:return K(o.children,o.value,r);case A.$$typeof:return B(o.children(t||n._currentValue),t,r);case _.$$typeof:return B(n.render(o),t,r)}return""}function J(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o="";if("textarea"===e&&t.hasOwnProperty("value")?(o=K(t.value,r,n),t=Object(g.omit)(t,"value")):t.dangerouslySetInnerHTML&&"string"==typeof t.dangerouslySetInnerHTML.__html?o=t.dangerouslySetInnerHTML.__html:void 0!==t.children&&(o=K(t.children,r,n)),!e)return o;var u=function(e){var t="";for(var r in e){var n=F(r);if(Object(x.isValidAttributeName)(n)){var o=W(r,e[r]);if(R.has(Object(a.a)(o))&&!V(r)){var u=H.has(n);if(!u||!1!==o){var c=u||z(r,["data-","aria-"])||N.has(n);("boolean"!=typeof o||c)&&(t+=" "+n,u||("string"==typeof o&&(o=Object(x.escapeAttribute)(o)),t+='="'+o+'"'))}}}}return t}(t);return L.has(e)?"<"+e+u+"/>":"<"+e+u+">"+o+""}function K(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n="";e=Object(g.castArray)(e);for(var o=0;o/="\uFDD0-\uFDEF]/;function u(e){return e.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&")}function o(e){return e.replace(/"/g,""")}function i(e){return e.replace(//g,">")}(o(u(e)))}function a(e){return i(u(e))}function f(e){return i(e.replace(/&/g,"&"))}function p(e){return!r.test(e)}}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.escapeHtml=function(e){var t={};function n(r){if(t[r])return t[r].exports;var u=t[r]={i:r,l:!1,exports:{}};return e[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var u in e)n.d(r,u,function(t){return e[t]}.bind(null,u));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=439)}({439:function(e,t,n){"use strict";n.r(t),n.d(t,"escapeAmpersand",(function(){return u})),n.d(t,"escapeQuotationMark",(function(){return o})),n.d(t,"escapeLessThan",(function(){return i})),n.d(t,"escapeAttribute",(function(){return c})),n.d(t,"escapeHTML",(function(){return a})),n.d(t,"escapeEditableHTML",(function(){return f})),n.d(t,"isValidAttributeName",(function(){return p}));var r=/[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/;function u(e){return e.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&")}function o(e){return e.replace(/"/g,""")}function i(e){return e.replace(//g,">")}(o(u(e)))}function a(e){return i(u(e))}function f(e){return i(e.replace(/&/g,"&"))}function p(e){return!r.test(e)}}}); \ No newline at end of file diff --git a/wp-includes/js/dist/format-library.js b/wp-includes/js/dist/format-library.js index b939a27e7a..1c9d98742b 100644 --- a/wp-includes/js/dist/format-library.js +++ b/wp-includes/js/dist/format-library.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["formatLibrary"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 374); +/******/ return __webpack_require__(__webpack_require__.s = 421); /******/ }) /************************************************************************/ /******/ ({ @@ -104,31 +104,6 @@ this["wp"] = this["wp"] || {}; this["wp"]["formatLibrary"] = /***/ 12: /***/ (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); -} - -/***/ }), - -/***/ 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) { @@ -149,7 +124,7 @@ function _createClass(Constructor, protoProps, staticProps) { /***/ }), -/***/ 14: +/***/ 13: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -162,7 +137,7 @@ function _classCallCheck(instance, Constructor) { /***/ }), -/***/ 15: +/***/ 14: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -181,7 +156,7 @@ function _possibleConstructorReturn(self, call) { /***/ }), -/***/ 16: +/***/ 15: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -195,7 +170,7 @@ function _getPrototypeOf(o) { /***/ }), -/***/ 17: +/***/ 16: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -230,25 +205,11 @@ function _inherits(subClass, superClass) { /***/ }), /***/ 19: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["keycodes"]; }()); - -/***/ }), - -/***/ 2: -/***/ (function(module, exports) { - -(function() { module.exports = this["lodash"]; }()); - -/***/ }), - -/***/ 20: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; }); -/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(40); +/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(41); function _objectWithoutProperties(source, excluded) { if (source == null) return {}; @@ -271,6 +232,20 @@ function _objectWithoutProperties(source, excluded) { /***/ }), +/***/ 2: +/***/ (function(module, exports) { + +(function() { module.exports = this["lodash"]; }()); + +/***/ }), + +/***/ 20: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["keycodes"]; }()); + +/***/ }), + /***/ 24: /***/ (function(module, exports) { @@ -278,7 +253,7 @@ function _objectWithoutProperties(source, excluded) { /***/ }), -/***/ 25: +/***/ 26: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["url"]; }()); @@ -298,6 +273,8 @@ function _objectWithoutProperties(source, excluded) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; }); function _typeof(obj) { + "@babel/helpers - typeof"; + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; @@ -313,14 +290,36 @@ function _typeof(obj) { /***/ }), -/***/ 374: +/***/ 41: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; }); +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + return target; +} + +/***/ }), + +/***/ 421: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(20); +var objectWithoutProperties = __webpack_require__(19); // EXTERNAL MODULE: external {"this":["wp","richText"]} var external_this_wp_richText_ = __webpack_require__(24); @@ -332,7 +331,7 @@ var external_this_wp_element_ = __webpack_require__(0); var external_this_wp_i18n_ = __webpack_require__(1); // EXTERNAL MODULE: external {"this":["wp","blockEditor"]} -var external_this_wp_blockEditor_ = __webpack_require__(5); +var external_this_wp_blockEditor_ = __webpack_require__(6); // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/bold/index.js @@ -355,13 +354,19 @@ var bold = { edit: function edit(_ref) { var isActive = _ref.isActive, value = _ref.value, - onChange = _ref.onChange; + onChange = _ref.onChange, + onFocus = _ref.onFocus; - var onToggle = function onToggle() { - return onChange(Object(external_this_wp_richText_["toggleFormat"])(value, { + function onToggle() { + onChange(Object(external_this_wp_richText_["toggleFormat"])(value, { type: bold_name })); - }; + } + + function onClick() { + onToggle(); + onFocus(); + } return 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", @@ -371,7 +376,7 @@ var bold = { name: "bold", icon: "editor-bold", title: title, - onClick: onToggle, + onClick: onClick, isActive: isActive, shortcutType: "primary", shortcutCharacter: "b" @@ -435,49 +440,51 @@ var code = { edit: function edit(_ref) { var value = _ref.value, onChange = _ref.onChange, + onFocus = _ref.onFocus, isActive = _ref.isActive; - var onToggle = function onToggle() { - return onChange(Object(external_this_wp_richText_["toggleFormat"])(value, { + function onClick() { + onChange(Object(external_this_wp_richText_["toggleFormat"])(value, { type: code_name })); - }; + onFocus(); + } return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextToolbarButton"], { icon: "editor-code", title: code_title, - onClick: onToggle, + onClick: onClick, isActive: isActive }); } }; -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js -var objectSpread = __webpack_require__(6); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(5); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js -var classCallCheck = __webpack_require__(14); +var classCallCheck = __webpack_require__(13); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(13); +var createClass = __webpack_require__(12); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js -var possibleConstructorReturn = __webpack_require__(15); +var possibleConstructorReturn = __webpack_require__(14); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js -var getPrototypeOf = __webpack_require__(16); +var getPrototypeOf = __webpack_require__(15); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js var assertThisInitialized = __webpack_require__(7); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules -var inherits = __webpack_require__(17); +var inherits = __webpack_require__(16); // EXTERNAL MODULE: external {"this":["wp","components"]} var external_this_wp_components_ = __webpack_require__(3); // EXTERNAL MODULE: external {"this":["wp","keycodes"]} -var external_this_wp_keycodes_ = __webpack_require__(19); +var external_this_wp_keycodes_ = __webpack_require__(20); // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/image/index.js @@ -489,6 +496,10 @@ var external_this_wp_keycodes_ = __webpack_require__(19); +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * WordPress dependencies */ @@ -583,6 +594,7 @@ var image_image = { var _this$props = this.props, value = _this$props.value, onChange = _this$props.onChange, + onFocus = _this$props.onFocus, isObjectActive = _this$props.isObjectActive, activeObjectAttributes = _this$props.activeObjectAttributes; return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUploadCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextToolbarButton"], { @@ -614,6 +626,7 @@ var image_image = { alt: alt } })); + onFocus(); }, onClose: this.closeModal, render: function render(_ref2) { @@ -626,24 +639,24 @@ var image_image = { focusOnMount: false, anchorRef: getRange() }, Object(external_this_wp_element_["createElement"])("form", { - className: "editor-format-toolbar__image-container-content block-editor-format-toolbar__image-container-content", + className: "block-editor-format-toolbar__image-container-content", onKeyPress: stopKeyPropagation, onKeyDown: this.onKeyDown, onSubmit: function onSubmit(event) { var newReplacements = value.replacements.slice(); newReplacements[value.start] = { type: image_name, - attributes: Object(objectSpread["a" /* default */])({}, activeObjectAttributes, { + attributes: _objectSpread({}, activeObjectAttributes, { style: "width: ".concat(_this2.state.width, "px;") }) }; - onChange(Object(objectSpread["a" /* default */])({}, value, { + onChange(_objectSpread({}, value, { replacements: newReplacements })); event.preventDefault(); } }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], { - className: "editor-format-toolbar__image-container-value block-editor-format-toolbar__image-container-value", + className: "block-editor-format-toolbar__image-container-value", type: "number", label: Object(external_this_wp_i18n_["__"])('Width'), value: this.state.width, @@ -703,13 +716,19 @@ var italic = { edit: function edit(_ref) { var isActive = _ref.isActive, value = _ref.value, - onChange = _ref.onChange; + onChange = _ref.onChange, + onFocus = _ref.onFocus; - var onToggle = function onToggle() { - return onChange(Object(external_this_wp_richText_["toggleFormat"])(value, { + function onToggle() { + onChange(Object(external_this_wp_richText_["toggleFormat"])(value, { type: italic_name })); - }; + } + + function onClick() { + onToggle(); + onFocus(); + } return 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", @@ -719,7 +738,7 @@ var italic = { name: "italic", icon: "editor-italic", title: italic_title, - onClick: onToggle, + onClick: onClick, isActive: isActive, shortcutType: "primary", shortcutCharacter: "i" @@ -731,13 +750,10 @@ var italic = { }; // EXTERNAL MODULE: external {"this":["wp","url"]} -var external_this_wp_url_ = __webpack_require__(25); +var external_this_wp_url_ = __webpack_require__(26); // EXTERNAL MODULE: external {"this":["wp","htmlEntities"]} -var external_this_wp_htmlEntities_ = __webpack_require__(54); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(12); +var external_this_wp_htmlEntities_ = __webpack_require__(56); // EXTERNAL MODULE: external {"this":"lodash"} var external_this_lodash_ = __webpack_require__(2); @@ -854,13 +870,9 @@ function createLinkFormat(_ref) { // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/link/inline.js - - - - - - - +/** + * External dependencies + */ /** * WordPress dependencies @@ -878,20 +890,31 @@ function createLinkFormat(_ref) { -var inline_stopKeyPropagation = function stopKeyPropagation(event) { - return event.stopPropagation(); -}; - -function isShowingInput(props, state) { - return props.addingLink || state.editLink; -} - -var inline_URLPopoverAtLink = function URLPopoverAtLink(_ref) { +function InlineLinkUI(_ref) { var isActive = _ref.isActive, + activeAttributes = _ref.activeAttributes, addingLink = _ref.addingLink, value = _ref.value, - props = Object(objectWithoutProperties["a" /* default */])(_ref, ["isActive", "addingLink", "value"]); + onChange = _ref.onChange, + onFocus = _ref.onFocus, + speak = _ref.speak, + stopAddingLink = _ref.stopAddingLink; + /** + * A unique key is generated when switching between editing and not editing + * a link, based on: + * + * - This component may be rendered _either_ when a link is active _or_ + * when adding or editing a link. + * - It's only desirable to shift focus into the Popover when explicitly + * adding or editing a link, not when in the inline boundary of a link. + * - Focus behavior can only be controlled on a Popover at the time it + * mounts, so a new instance of the component must be mounted to + * programmatically enact the focusOnMount behavior. + * + * @type {string} + */ + var mountingKey = Object(external_this_wp_element_["useMemo"])(external_this_lodash_["uniqueId"], [addingLink]); var anchorRef = Object(external_this_wp_element_["useMemo"])(function () { var selection = window.getSelection(); @@ -901,7 +924,7 @@ var inline_URLPopoverAtLink = function URLPopoverAtLink(_ref) { var range = selection.getRangeAt(0); - if (addingLink) { + if (addingLink && !isActive) { return range; } @@ -914,228 +937,55 @@ var inline_URLPopoverAtLink = function URLPopoverAtLink(_ref) { } return element.closest('a'); - }, [isActive, addingLink, value.start, value.end]); + }, [addingLink, value.start, value.end]); + var linkValue = { + url: activeAttributes.url, + opensInNewTab: activeAttributes.target === '_blank' + }; - if (!anchorRef) { - return null; + function onChangeLink(nextValue) { + var newUrl = Object(external_this_wp_url_["prependHTTP"])(nextValue.url); + var selectedText = Object(external_this_wp_richText_["getTextContent"])(Object(external_this_wp_richText_["slice"])(value)); + var format = createLinkFormat({ + url: newUrl, + opensInNewWindow: nextValue.opensInNewTab, + text: selectedText + }); + + if (Object(external_this_wp_richText_["isCollapsed"])(value) && !isActive) { + var toInsert = Object(external_this_wp_richText_["applyFormat"])(Object(external_this_wp_richText_["create"])({ + text: newUrl + }), format, 0, newUrl.length); + onChange(Object(external_this_wp_richText_["insert"])(value, toInsert)); + } else { + onChange(Object(external_this_wp_richText_["applyFormat"])(value, format)); + } + + onFocus(); + stopAddingLink(); + + if (!isValidHref(newUrl)) { + speak(Object(external_this_wp_i18n_["__"])('Warning: the link has been inserted but may have errors. Please test it.'), 'assertive'); + } else if (isActive) { + speak(Object(external_this_wp_i18n_["__"])('Link edited.'), 'assertive'); + } else { + speak(Object(external_this_wp_i18n_["__"])('Link inserted.'), 'assertive'); + } } - return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["URLPopover"], Object(esm_extends["a" /* default */])({ - anchorRef: anchorRef - }, props)); -}; + return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], { + key: mountingKey, + anchorRef: anchorRef, + focusOnMount: addingLink ? 'firstElement' : false, + onClose: stopAddingLink, + position: "bottom center" + }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalLinkControl"], { + value: linkValue, + onChange: onChangeLink + })); +} -var inline_InlineLinkUI = -/*#__PURE__*/ -function (_Component) { - Object(inherits["a" /* default */])(InlineLinkUI, _Component); - - function InlineLinkUI() { - var _this; - - Object(classCallCheck["a" /* default */])(this, InlineLinkUI); - - _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(InlineLinkUI).apply(this, arguments)); - _this.editLink = _this.editLink.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.submitLink = _this.submitLink.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.onKeyDown = _this.onKeyDown.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.onChangeInputValue = _this.onChangeInputValue.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.setLinkTarget = _this.setLinkTarget.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.onFocusOutside = _this.onFocusOutside.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.resetState = _this.resetState.bind(Object(assertThisInitialized["a" /* default */])(_this)); - _this.autocompleteRef = Object(external_this_wp_element_["createRef"])(); - _this.state = { - opensInNewWindow: false, - inputValue: '' - }; - return _this; - } - - Object(createClass["a" /* default */])(InlineLinkUI, [{ - key: "onKeyDown", - value: function onKeyDown(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(); - } - } - }, { - key: "onChangeInputValue", - value: function onChangeInputValue(inputValue) { - this.setState({ - inputValue: inputValue - }); - } - }, { - key: "setLinkTarget", - value: function setLinkTarget(opensInNewWindow) { - var _this$props = this.props, - _this$props$activeAtt = _this$props.activeAttributes.url, - url = _this$props$activeAtt === void 0 ? '' : _this$props$activeAtt, - value = _this$props.value, - onChange = _this$props.onChange; - this.setState({ - opensInNewWindow: opensInNewWindow - }); // Apply now if URL is not being edited. - - if (!isShowingInput(this.props, this.state)) { - var selectedText = Object(external_this_wp_richText_["getTextContent"])(Object(external_this_wp_richText_["slice"])(value)); - onChange(Object(external_this_wp_richText_["applyFormat"])(value, createLinkFormat({ - url: url, - opensInNewWindow: opensInNewWindow, - text: selectedText - }))); - } - } - }, { - key: "editLink", - value: function editLink(event) { - this.setState({ - editLink: true - }); - event.preventDefault(); - } - }, { - key: "submitLink", - value: function submitLink(event) { - var _this$props2 = this.props, - isActive = _this$props2.isActive, - value = _this$props2.value, - onChange = _this$props2.onChange, - speak = _this$props2.speak; - var _this$state = this.state, - inputValue = _this$state.inputValue, - opensInNewWindow = _this$state.opensInNewWindow; - var url = Object(external_this_wp_url_["prependHTTP"])(inputValue); - var selectedText = Object(external_this_wp_richText_["getTextContent"])(Object(external_this_wp_richText_["slice"])(value)); - var format = createLinkFormat({ - url: url, - opensInNewWindow: opensInNewWindow, - text: selectedText - }); - event.preventDefault(); - - if (Object(external_this_wp_richText_["isCollapsed"])(value) && !isActive) { - var toInsert = Object(external_this_wp_richText_["applyFormat"])(Object(external_this_wp_richText_["create"])({ - text: url - }), format, 0, url.length); - onChange(Object(external_this_wp_richText_["insert"])(value, toInsert)); - } else { - onChange(Object(external_this_wp_richText_["applyFormat"])(value, format)); - } - - this.resetState(); - - if (!isValidHref(url)) { - speak(Object(external_this_wp_i18n_["__"])('Warning: the link has been inserted but may have errors. Please test it.'), 'assertive'); - } else if (isActive) { - speak(Object(external_this_wp_i18n_["__"])('Link edited.'), 'assertive'); - } else { - speak(Object(external_this_wp_i18n_["__"])('Link inserted.'), 'assertive'); - } - } - }, { - key: "onFocusOutside", - value: function onFocusOutside() { - // 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 = this.autocompleteRef.current; - - if (autocompleteElement && autocompleteElement.contains(document.activeElement)) { - return; - } - - this.resetState(); - } - }, { - key: "resetState", - value: function resetState() { - this.props.stopAddingLink(); - this.setState({ - editLink: false - }); - } - }, { - key: "render", - value: function render() { - var _this2 = this; - - var _this$props3 = this.props, - isActive = _this$props3.isActive, - url = _this$props3.activeAttributes.url, - addingLink = _this$props3.addingLink, - value = _this$props3.value; - - if (!isActive && !addingLink) { - return null; - } - - var _this$state2 = this.state, - inputValue = _this$state2.inputValue, - opensInNewWindow = _this$state2.opensInNewWindow; - var showInput = isShowingInput(this.props, this.state); - return Object(external_this_wp_element_["createElement"])(inline_URLPopoverAtLink, { - value: value, - isActive: isActive, - addingLink: addingLink, - onFocusOutside: this.onFocusOutside, - onClose: this.resetState, - focusOnMount: showInput ? 'firstElement' : false, - renderSettings: function renderSettings() { - return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], { - label: Object(external_this_wp_i18n_["__"])('Open in New Tab'), - checked: opensInNewWindow, - onChange: _this2.setLinkTarget - }); - } - }, showInput ? 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: inputValue, - onChangeInputValue: this.onChangeInputValue, - onKeyDown: this.onKeyDown, - onKeyPress: inline_stopKeyPropagation, - onSubmit: this.submitLink, - autocompleteRef: this.autocompleteRef - }) : 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: inline_stopKeyPropagation, - url: url, - onEditLinkClick: this.editLink, - linkClassName: isValidHref(Object(external_this_wp_url_["prependHTTP"])(url)) ? undefined : 'has-invalid-link' - })); - } - }], [{ - key: "getDerivedStateFromProps", - value: function getDerivedStateFromProps(props, state) { - var _props$activeAttribut = props.activeAttributes, - url = _props$activeAttribut.url, - target = _props$activeAttribut.target; - var opensInNewWindow = target === '_blank'; - - if (!isShowingInput(props, state)) { - var update = {}; - - if (url !== state.inputValue) { - update.inputValue = url; - } - - if (opensInNewWindow !== state.opensInNewWindow) { - update.opensInNewWindow = opensInNewWindow; - } - - return Object.keys(update).length ? update : null; - } - - return null; - } - }]); - - return InlineLinkUI; -}(external_this_wp_element_["Component"]); - -/* harmony default export */ var inline = (Object(external_this_wp_components_["withSpokenMessages"])(inline_InlineLinkUI)); +/* harmony default export */ var inline = (Object(external_this_wp_components_["withSpokenMessages"])(InlineLinkUI)); // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/link/index.js @@ -1269,7 +1119,8 @@ var link_link = { isActive = _this$props3.isActive, activeAttributes = _this$props3.activeAttributes, value = _this$props3.value, - onChange = _this$props3.onChange; + onChange = _this$props3.onChange, + onFocus = _this$props3.onFocus; return 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: "k", @@ -1294,15 +1145,14 @@ var link_link = { isActive: isActive, shortcutType: "primary", shortcutCharacter: "k" - }), Object(external_this_wp_element_["createElement"])(inline, { - key: isActive // Make sure link UI state resets when switching between links. - , + }), (this.state.addingLink || isActive) && Object(external_this_wp_element_["createElement"])(inline, { addingLink: this.state.addingLink, stopAddingLink: this.stopAddingLink, isActive: isActive, activeAttributes: activeAttributes, value: value, - onChange: onChange + onChange: onChange, + onFocus: onFocus })); } }]); @@ -1332,18 +1182,20 @@ var strikethrough = { edit: function edit(_ref) { var isActive = _ref.isActive, value = _ref.value, - onChange = _ref.onChange; + onChange = _ref.onChange, + onFocus = _ref.onFocus; - var onToggle = function onToggle() { - return onChange(Object(external_this_wp_richText_["toggleFormat"])(value, { + function onClick() { + onChange(Object(external_this_wp_richText_["toggleFormat"])(value, { type: strikethrough_name })); - }; + onFocus(); + } return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextToolbarButton"], { icon: "editor-strikethrough", title: strikethrough_title, - onClick: onToggle, + onClick: onClick, isActive: isActive }); } @@ -1424,88 +1276,9 @@ default_formats.forEach(function (_ref) { }); -/***/ }), - -/***/ 40: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; }); -function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } - - return target; -} - /***/ }), /***/ 5: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["blockEditor"]; }()); - -/***/ }), - -/***/ 54: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["htmlEntities"]; }()); - -/***/ }), - -/***/ 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; -} - -/***/ }), - -/***/ 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; -} - -/***/ }), - -/***/ 9: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -1525,6 +1298,35 @@ function _defineProperty(obj, key, value) { return obj; } +/***/ }), + +/***/ 56: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["htmlEntities"]; }()); + +/***/ }), + +/***/ 6: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["blockEditor"]; }()); + +/***/ }), + +/***/ 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; +} + /***/ }) /******/ }); \ No newline at end of file diff --git a/wp-includes/js/dist/format-library.min.js b/wp-includes/js/dist/format-library.min.js index 6c5df9d5d1..4b533e345a 100644 --- a/wp-includes/js/dist/format-library.min.js +++ b/wp-includes/js/dist/format-library.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.formatLibrary=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=374)}({0:function(t,e){!function(){t.exports=this.wp.element}()},1:function(t,e){!function(){t.exports=this.wp.i18n}()},12:function(t,e,n){"use strict";function r(){return(r=Object.assign||function(t){for(var e=1;e=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}},24:function(t,e){!function(){t.exports=this.wp.richText}()},25:function(t,e){!function(){t.exports=this.wp.url}()},3:function(t,e){!function(){t.exports=this.wp.components}()},32:function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}n.d(e,"a",(function(){return r}))},374:function(t,e,n){"use strict";n.r(e);var r=n(20),i=n(24),o=n(0),a=n(1),c=n(5),u=Object(a.__)("Bold"),l={name:"core/bold",title:u,tagName:"strong",className:null,edit:function(t){var e=t.isActive,n=t.value,r=t.onChange,a=function(){return r(Object(i.toggleFormat)(n,{type:"core/bold"}))};return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(c.RichTextShortcut,{type:"primary",character:"b",onUse:a}),Object(o.createElement)(c.RichTextToolbarButton,{name:"bold",icon:"editor-bold",title:u,onClick:a,isActive:e,shortcutType:"primary",shortcutCharacter:"b"}),Object(o.createElement)(c.__unstableRichTextInputEvent,{inputType:"formatBold",onInput:a}))}},s=Object(a.__)("Inline Code"),b={name:"core/code",title:s,tagName:"code",className:null,__unstableInputRule:function(t){var e=t,n=e.start,r=e.text;if("`"!==r.slice(n-1,n))return t;var o=r.slice(0,n-1).lastIndexOf("`");if(-1===o)return t;var a=o,c=n-2;return a===c?t:(t=Object(i.remove)(t,a,a+1),t=Object(i.remove)(t,c,c+1),t=Object(i.applyFormat)(t,{type:"core/code"},a,c))},edit:function(t){var e=t.value,n=t.onChange,r=t.isActive;return Object(o.createElement)(c.RichTextToolbarButton,{icon:"editor-code",title:s,onClick:function(){return n(Object(i.toggleFormat)(e,{type:"core/code"}))},isActive:r})}},p=n(6),f=n(14),d=n(13),m=n(15),h=n(16),O=n(7),v=n(17),j=n(3),y=n(19),g=["image"],k=Object(a.__)("Inline image"),w=function(t){return t.stopPropagation()};var _={name:"core/image",title:k,keywords:[Object(a.__)("photo"),Object(a.__)("media")],object:!0,tagName:"img",className:null,attributes:{className:"class",style:"style",url:"src",alt:"alt"},edit:function(t){function e(){var t;return Object(f.a)(this,e),(t=Object(m.a)(this,Object(h.a)(e).apply(this,arguments))).onChange=t.onChange.bind(Object(O.a)(t)),t.onKeyDown=t.onKeyDown.bind(Object(O.a)(t)),t.openModal=t.openModal.bind(Object(O.a)(t)),t.closeModal=t.closeModal.bind(Object(O.a)(t)),t.state={modal:!1},t}return Object(v.a)(e,t),Object(d.a)(e,[{key:"onChange",value:function(t){this.setState({width:t})}},{key:"onKeyDown",value:function(t){[y.LEFT,y.DOWN,y.RIGHT,y.UP,y.BACKSPACE,y.ENTER].indexOf(t.keyCode)>-1&&t.stopPropagation()}},{key:"openModal",value:function(){this.setState({modal:!0})}},{key:"closeModal",value:function(){this.setState({modal:!1})}},{key:"render",value:function(){var t,e=this,n=this.props,r=n.value,u=n.onChange,l=n.isObjectActive,s=n.activeObjectAttributes;return Object(o.createElement)(c.MediaUploadCheck,null,Object(o.createElement)(c.RichTextToolbarButton,{icon:Object(o.createElement)(j.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(j.Path,{d:"M4 16h10c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2zM4 5h10v9H4V5zm14 9v2h4v-2h-4zM2 20h20v-2H2v2zm6.4-8.8L7 9.4 5 12h8l-2.6-3.4-2 2.6z"})),title:k,onClick:this.openModal,isActive:l}),this.state.modal&&Object(o.createElement)(c.MediaUpload,{allowedTypes:g,onSelect:function(t){var n=t.id,o=t.url,a=t.alt,c=t.width;e.closeModal(),u(Object(i.insertObject)(r,{type:"core/image",attributes:{className:"wp-image-".concat(n),style:"width: ".concat(Math.min(c,150),"px;"),url:o,alt:a}}))},onClose:this.closeModal,render:function(t){return(0,t.open)(),null}}),l&&Object(o.createElement)(j.Popover,{position:"bottom center",focusOnMount:!1,anchorRef:(t=window.getSelection(),t.rangeCount?t.getRangeAt(0):null)},Object(o.createElement)("form",{className:"editor-format-toolbar__image-container-content block-editor-format-toolbar__image-container-content",onKeyPress:w,onKeyDown:this.onKeyDown,onSubmit:function(t){var n=r.replacements.slice();n[r.start]={type:"core/image",attributes:Object(p.a)({},s,{style:"width: ".concat(e.state.width,"px;")})},u(Object(p.a)({},r,{replacements:n})),t.preventDefault()}},Object(o.createElement)(j.TextControl,{className:"editor-format-toolbar__image-container-value block-editor-format-toolbar__image-container-value",type:"number",label:Object(a.__)("Width"),value:this.state.width,min:1,onChange:this.onChange}),Object(o.createElement)(j.Button,{icon:"editor-break",label:Object(a.__)("Apply"),type:"submit"}))))}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n=t.activeObjectAttributes.style;return n===e.previousStyle?null:n?{width:n.replace(/\D/g,""),previousStyle:n}:{width:void 0,previousStyle:n}}}]),e}(o.Component)},E=Object(a.__)("Italic"),C={name:"core/italic",title:E,tagName:"em",className:null,edit:function(t){var e=t.isActive,n=t.value,r=t.onChange,a=function(){return r(Object(i.toggleFormat)(n,{type:"core/italic"}))};return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(c.RichTextShortcut,{type:"primary",character:"i",onUse:a}),Object(o.createElement)(c.RichTextToolbarButton,{name:"italic",icon:"editor-italic",title:E,onClick:a,isActive:e,shortcutType:"primary",shortcutCharacter:"i"}),Object(o.createElement)(c.__unstableRichTextInputEvent,{inputType:"formatItalic",onInput:a}))}},T=n(25),S=n(54),L=n(12),x=n(2);function P(t){if(!t)return!1;var e=t.trim();if(!e)return!1;if(/^\S+:/.test(e)){var n=Object(T.getProtocol)(e);if(!Object(T.isValidProtocol)(n))return!1;if(Object(x.startsWith)(n,"http")&&!/^https?:\/\/[^\/\s]/i.test(e))return!1;var r=Object(T.getAuthority)(e);if(!Object(T.isValidAuthority)(r))return!1;var i=Object(T.getPath)(e);if(i&&!Object(T.isValidPath)(i))return!1;var o=Object(T.getQueryString)(e);if(o&&!Object(T.isValidQueryString)(o))return!1;var a=Object(T.getFragment)(e);if(a&&!Object(T.isValidFragment)(a))return!1}return!(Object(x.startsWith)(e,"#")&&!Object(T.isValidFragment)(e))}function A(t){var e=t.url,n=t.opensInNewWindow,r=t.text,i={type:"core/link",attributes:{url:e}};if(n){var o=Object(a.sprintf)(Object(a.__)("%s (opens in a new tab)"),r);i.attributes.target="_blank",i.attributes.rel="noreferrer noopener",i.attributes["aria-label"]=o}return i}var R=function(t){return t.stopPropagation()};function N(t,e){return t.addingLink||e.editLink}var F=function(t){var e=t.isActive,n=t.addingLink,i=t.value,a=Object(r.a)(t,["isActive","addingLink","value"]),u=Object(o.useMemo)((function(){var t=window.getSelection();if(t.rangeCount){var e=t.getRangeAt(0);if(n)return e;var r=e.startContainer;for(r=r.nextElementSibling||r;r.nodeType!==window.Node.ELEMENT_NODE;)r=r.parentNode;return r.closest("a")}}),[e,n,i.start,i.end]);return u?Object(o.createElement)(c.URLPopover,Object(L.a)({anchorRef:u},a)):null},I=function(t){function e(){var t;return Object(f.a)(this,e),(t=Object(m.a)(this,Object(h.a)(e).apply(this,arguments))).editLink=t.editLink.bind(Object(O.a)(t)),t.submitLink=t.submitLink.bind(Object(O.a)(t)),t.onKeyDown=t.onKeyDown.bind(Object(O.a)(t)),t.onChangeInputValue=t.onChangeInputValue.bind(Object(O.a)(t)),t.setLinkTarget=t.setLinkTarget.bind(Object(O.a)(t)),t.onFocusOutside=t.onFocusOutside.bind(Object(O.a)(t)),t.resetState=t.resetState.bind(Object(O.a)(t)),t.autocompleteRef=Object(o.createRef)(),t.state={opensInNewWindow:!1,inputValue:""},t}return Object(v.a)(e,t),Object(d.a)(e,[{key:"onKeyDown",value:function(t){[y.LEFT,y.DOWN,y.RIGHT,y.UP,y.BACKSPACE,y.ENTER].indexOf(t.keyCode)>-1&&t.stopPropagation()}},{key:"onChangeInputValue",value:function(t){this.setState({inputValue:t})}},{key:"setLinkTarget",value:function(t){var e=this.props,n=e.activeAttributes.url,r=void 0===n?"":n,o=e.value,a=e.onChange;if(this.setState({opensInNewWindow:t}),!N(this.props,this.state)){var c=Object(i.getTextContent)(Object(i.slice)(o));a(Object(i.applyFormat)(o,A({url:r,opensInNewWindow:t,text:c})))}}},{key:"editLink",value:function(t){this.setState({editLink:!0}),t.preventDefault()}},{key:"submitLink",value:function(t){var e=this.props,n=e.isActive,r=e.value,o=e.onChange,c=e.speak,u=this.state,l=u.inputValue,s=u.opensInNewWindow,b=Object(T.prependHTTP)(l),p=A({url:b,opensInNewWindow:s,text:Object(i.getTextContent)(Object(i.slice)(r))});if(t.preventDefault(),Object(i.isCollapsed)(r)&&!n){var f=Object(i.applyFormat)(Object(i.create)({text:b}),p,0,b.length);o(Object(i.insert)(r,f))}else o(Object(i.applyFormat)(r,p));this.resetState(),P(b)?c(n?Object(a.__)("Link edited."):Object(a.__)("Link inserted."),"assertive"):c(Object(a.__)("Warning: the link has been inserted but may have errors. Please test it."),"assertive")}},{key:"onFocusOutside",value:function(){var t=this.autocompleteRef.current;t&&t.contains(document.activeElement)||this.resetState()}},{key:"resetState",value:function(){this.props.stopAddingLink(),this.setState({editLink:!1})}},{key:"render",value:function(){var t=this,e=this.props,n=e.isActive,r=e.activeAttributes.url,i=e.addingLink,u=e.value;if(!n&&!i)return null;var l=this.state,s=l.inputValue,b=l.opensInNewWindow,p=N(this.props,this.state);return Object(o.createElement)(F,{value:u,isActive:n,addingLink:i,onFocusOutside:this.onFocusOutside,onClose:this.resetState,focusOnMount:!!p&&"firstElement",renderSettings:function(){return Object(o.createElement)(j.ToggleControl,{label:Object(a.__)("Open in New Tab"),checked:b,onChange:t.setLinkTarget})}},p?Object(o.createElement)(c.URLPopover.LinkEditor,{className:"editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content",value:s,onChangeInputValue:this.onChangeInputValue,onKeyDown:this.onKeyDown,onKeyPress:R,onSubmit:this.submitLink,autocompleteRef:this.autocompleteRef}):Object(o.createElement)(c.URLPopover.LinkViewer,{className:"editor-format-toolbar__link-container-content block-editor-format-toolbar__link-container-content",onKeyPress:R,url:r,onEditLinkClick:this.editLink,linkClassName:P(Object(T.prependHTTP)(r))?void 0:"has-invalid-link"}))}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n=t.activeAttributes,r=n.url,i="_blank"===n.target;if(!N(t,e)){var o={};return r!==e.inputValue&&(o.inputValue=r),i!==e.opensInNewWindow&&(o.opensInNewWindow=i),Object.keys(o).length?o:null}return null}}]),e}(o.Component),M=Object(j.withSpokenMessages)(I),V=Object(a.__)("Link"),D={name:"core/link",title:V,tagName:"a",className:null,attributes:{url:"href",target:"target"},__unstablePasteRule:function(t,e){var n=e.html,r=e.plainText;if(Object(i.isCollapsed)(t))return t;var o=(n||r).replace(/<[^>]+>/g,"").trim();return Object(T.isURL)(o)?(window.console.log("Created link:\n\n",o),Object(i.applyFormat)(t,{type:"core/link",attributes:{url:Object(S.decodeEntities)(o)}})):t},edit:Object(j.withSpokenMessages)(function(t){function e(){var t;return Object(f.a)(this,e),(t=Object(m.a)(this,Object(h.a)(e).apply(this,arguments))).addLink=t.addLink.bind(Object(O.a)(t)),t.stopAddingLink=t.stopAddingLink.bind(Object(O.a)(t)),t.onRemoveFormat=t.onRemoveFormat.bind(Object(O.a)(t)),t.state={addingLink:!1},t}return Object(v.a)(e,t),Object(d.a)(e,[{key:"addLink",value:function(){var t=this.props,e=t.value,n=t.onChange,r=Object(i.getTextContent)(Object(i.slice)(e));r&&Object(T.isURL)(r)?n(Object(i.applyFormat)(e,{type:"core/link",attributes:{url:r}})):r&&Object(T.isEmail)(r)?n(Object(i.applyFormat)(e,{type:"core/link",attributes:{url:"mailto:".concat(r)}})):this.setState({addingLink:!0})}},{key:"stopAddingLink",value:function(){this.setState({addingLink:!1})}},{key:"onRemoveFormat",value:function(){var t=this.props,e=t.value,n=t.onChange,r=t.speak;n(Object(i.removeFormat)(e,"core/link")),r(Object(a.__)("Link removed."),"assertive")}},{key:"render",value:function(){var t=this.props,e=t.isActive,n=t.activeAttributes,r=t.value,i=t.onChange;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(c.RichTextShortcut,{type:"primary",character:"k",onUse:this.addLink}),Object(o.createElement)(c.RichTextShortcut,{type:"primaryShift",character:"k",onUse:this.onRemoveFormat}),e&&Object(o.createElement)(c.RichTextToolbarButton,{name:"link",icon:"editor-unlink",title:Object(a.__)("Unlink"),onClick:this.onRemoveFormat,isActive:e,shortcutType:"primaryShift",shortcutCharacter:"k"}),!e&&Object(o.createElement)(c.RichTextToolbarButton,{name:"link",icon:"admin-links",title:V,onClick:this.addLink,isActive:e,shortcutType:"primary",shortcutCharacter:"k"}),Object(o.createElement)(M,{key:e,addingLink:this.state.addingLink,stopAddingLink:this.stopAddingLink,isActive:e,activeAttributes:n,value:r,onChange:i}))}}]),e}(o.Component))},U=Object(a.__)("Strikethrough");[l,b,_,C,D,{name:"core/strikethrough",title:U,tagName:"s",className:null,edit:function(t){var e=t.isActive,n=t.value,r=t.onChange;return Object(o.createElement)(c.RichTextToolbarButton,{icon:"editor-strikethrough",title:U,onClick:function(){return r(Object(i.toggleFormat)(n,{type:"core/strikethrough"}))},isActive:e})}},{name:"core/underline",title:Object(a.__)("Underline"),tagName:"span",className:null,attributes:{style:"style"},edit:function(t){var e=t.value,n=t.onChange,r=function(){n(Object(i.toggleFormat)(e,{type:"core/underline",attributes:{style:"text-decoration: underline;"}}))};return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(c.RichTextShortcut,{type:"primary",character:"u",onUse:r}),Object(o.createElement)(c.__unstableRichTextInputEvent,{inputType:"formatUnderline",onInput:r}))}}].forEach((function(t){var e=t.name,n=Object(r.a)(t,["name"]);return Object(i.registerFormatType)(e,n)}))},40:function(t,e,n){"use strict";function r(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r=0||(i[n]=t[n]);return i}n.d(e,"a",(function(){return r}))},5:function(t,e){!function(){t.exports=this.wp.blockEditor}()},54:function(t,e){!function(){t.exports=this.wp.htmlEntities}()},6:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(9);function i(t){for(var e=1;e=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}},2:function(t,e){!function(){t.exports=this.lodash}()},20:function(t,e){!function(){t.exports=this.wp.keycodes}()},24:function(t,e){!function(){t.exports=this.wp.richText}()},26:function(t,e){!function(){t.exports=this.wp.url}()},3:function(t,e){!function(){t.exports=this.wp.components}()},32:function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}n.d(e,"a",(function(){return r}))},41:function(t,e,n){"use strict";function r(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r=0||(o[n]=t[n]);return o}n.d(e,"a",(function(){return r}))},421:function(t,e,n){"use strict";n.r(e);var r=n(19),o=n(24),i=n(0),c=n(1),a=n(6),u="core/bold",l=Object(c.__)("Bold"),s={name:u,title:l,tagName:"strong",className:null,edit:function(t){var e=t.isActive,n=t.value,r=t.onChange,c=t.onFocus;function s(){r(Object(o.toggleFormat)(n,{type:u}))}return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(a.RichTextShortcut,{type:"primary",character:"b",onUse:s}),Object(i.createElement)(a.RichTextToolbarButton,{name:"bold",icon:"editor-bold",title:l,onClick:function(){s(),c()},isActive:e,shortcutType:"primary",shortcutCharacter:"b"}),Object(i.createElement)(a.__unstableRichTextInputEvent,{inputType:"formatBold",onInput:s}))}},b="core/code",p=Object(c.__)("Inline Code"),f={name:b,title:p,tagName:"code",className:null,__unstableInputRule:function(t){var e=t,n=e.start,r=e.text;if("`"!==r.slice(n-1,n))return t;var i=r.slice(0,n-1).lastIndexOf("`");if(-1===i)return t;var c=i,a=n-2;return c===a?t:(t=Object(o.remove)(t,c,c+1),t=Object(o.remove)(t,a,a+1),t=Object(o.applyFormat)(t,{type:b},c,a))},edit:function(t){var e=t.value,n=t.onChange,r=t.onFocus,c=t.isActive;return Object(i.createElement)(a.RichTextToolbarButton,{icon:"editor-code",title:p,onClick:function(){n(Object(o.toggleFormat)(e,{type:b})),r()},isActive:c})}},d=n(5),m=n(13),O=n(12),h=n(14),j=n(15),y=n(7),v=n(16),g=n(3),k=n(20);function w(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function _(t){for(var e=1;e-1&&t.stopPropagation()}},{key:"openModal",value:function(){this.setState({modal:!0})}},{key:"closeModal",value:function(){this.setState({modal:!1})}},{key:"render",value:function(){var t,e=this,n=this.props,r=n.value,u=n.onChange,l=n.onFocus,s=n.isObjectActive,b=n.activeObjectAttributes;return Object(i.createElement)(a.MediaUploadCheck,null,Object(i.createElement)(a.RichTextToolbarButton,{icon:Object(i.createElement)(g.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(g.Path,{d:"M4 16h10c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2zM4 5h10v9H4V5zm14 9v2h4v-2h-4zM2 20h20v-2H2v2zm6.4-8.8L7 9.4 5 12h8l-2.6-3.4-2 2.6z"})),title:x,onClick:this.openModal,isActive:s}),this.state.modal&&Object(i.createElement)(a.MediaUpload,{allowedTypes:E,onSelect:function(t){var n=t.id,i=t.url,c=t.alt,a=t.width;e.closeModal(),u(Object(o.insertObject)(r,{type:"core/image",attributes:{className:"wp-image-".concat(n),style:"width: ".concat(Math.min(a,150),"px;"),url:i,alt:c}})),l()},onClose:this.closeModal,render:function(t){return(0,t.open)(),null}}),s&&Object(i.createElement)(g.Popover,{position:"bottom center",focusOnMount:!1,anchorRef:(t=window.getSelection(),t.rangeCount?t.getRangeAt(0):null)},Object(i.createElement)("form",{className:"block-editor-format-toolbar__image-container-content",onKeyPress:T,onKeyDown:this.onKeyDown,onSubmit:function(t){var n=r.replacements.slice();n[r.start]={type:"core/image",attributes:_({},b,{style:"width: ".concat(e.state.width,"px;")})},u(_({},r,{replacements:n})),t.preventDefault()}},Object(i.createElement)(g.TextControl,{className:"block-editor-format-toolbar__image-container-value",type:"number",label:Object(c.__)("Width"),value:this.state.width,min:1,onChange:this.onChange}),Object(i.createElement)(g.Button,{icon:"editor-break",label:Object(c.__)("Apply"),type:"submit"}))))}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n=t.activeObjectAttributes.style;return n===e.previousStyle?null:n?{width:n.replace(/\D/g,""),previousStyle:n}:{width:void 0,previousStyle:n}}}]),e}(i.Component)},S="core/italic",P=Object(c.__)("Italic"),F={name:S,title:P,tagName:"em",className:null,edit:function(t){var e=t.isActive,n=t.value,r=t.onChange,c=t.onFocus;function u(){r(Object(o.toggleFormat)(n,{type:S}))}return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(a.RichTextShortcut,{type:"primary",character:"i",onUse:u}),Object(i.createElement)(a.RichTextToolbarButton,{name:"italic",icon:"editor-italic",title:P,onClick:function(){u(),c()},isActive:e,shortcutType:"primary",shortcutCharacter:"i"}),Object(i.createElement)(a.__unstableRichTextInputEvent,{inputType:"formatItalic",onInput:u}))}},A=n(26),R=n(56),L=n(2);var N=Object(g.withSpokenMessages)((function(t){var e=t.isActive,n=t.activeAttributes,r=t.addingLink,u=t.value,l=t.onChange,s=t.onFocus,b=t.speak,p=t.stopAddingLink,f=Object(i.useMemo)(L.uniqueId,[r]),d=Object(i.useMemo)((function(){var t=window.getSelection();if(t.rangeCount){var n=t.getRangeAt(0);if(r&&!e)return n;var o=n.startContainer;for(o=o.nextElementSibling||o;o.nodeType!==window.Node.ELEMENT_NODE;)o=o.parentNode;return o.closest("a")}}),[r,u.start,u.end]),m={url:n.url,opensInNewTab:"_blank"===n.target};return Object(i.createElement)(g.Popover,{key:f,anchorRef:d,focusOnMount:!!r&&"firstElement",onClose:p,position:"bottom center"},Object(i.createElement)(a.__experimentalLinkControl,{value:m,onChange:function(t){var n=Object(A.prependHTTP)(t.url),r=Object(o.getTextContent)(Object(o.slice)(u)),i=function(t){var e=t.url,n=t.opensInNewWindow,r=t.text,o={type:"core/link",attributes:{url:e}};if(n){var i=Object(c.sprintf)(Object(c.__)("%s (opens in a new tab)"),r);o.attributes.target="_blank",o.attributes.rel="noreferrer noopener",o.attributes["aria-label"]=i}return o}({url:n,opensInNewWindow:t.opensInNewTab,text:r});if(Object(o.isCollapsed)(u)&&!e){var a=Object(o.applyFormat)(Object(o.create)({text:n}),i,0,n.length);l(Object(o.insert)(u,a))}else l(Object(o.applyFormat)(u,i));s(),p(),!function(t){if(!t)return!1;var e=t.trim();if(!e)return!1;if(/^\S+:/.test(e)){var n=Object(A.getProtocol)(e);if(!Object(A.isValidProtocol)(n))return!1;if(Object(L.startsWith)(n,"http")&&!/^https?:\/\/[^\/\s]/i.test(e))return!1;var r=Object(A.getAuthority)(e);if(!Object(A.isValidAuthority)(r))return!1;var o=Object(A.getPath)(e);if(o&&!Object(A.isValidPath)(o))return!1;var i=Object(A.getQueryString)(e);if(i&&!Object(A.isValidQueryString)(i))return!1;var c=Object(A.getFragment)(e);if(c&&!Object(A.isValidFragment)(c))return!1}return!(Object(L.startsWith)(e,"#")&&!Object(A.isValidFragment)(e))}(n)?b(Object(c.__)("Warning: the link has been inserted but may have errors. Please test it."),"assertive"):b(e?Object(c.__)("Link edited."):Object(c.__)("Link inserted."),"assertive")}}))})),M=Object(c.__)("Link"),I={name:"core/link",title:M,tagName:"a",className:null,attributes:{url:"href",target:"target"},__unstablePasteRule:function(t,e){var n=e.html,r=e.plainText;if(Object(o.isCollapsed)(t))return t;var i=(n||r).replace(/<[^>]+>/g,"").trim();return Object(A.isURL)(i)?(window.console.log("Created link:\n\n",i),Object(o.applyFormat)(t,{type:"core/link",attributes:{url:Object(R.decodeEntities)(i)}})):t},edit:Object(g.withSpokenMessages)(function(t){function e(){var t;return Object(m.a)(this,e),(t=Object(h.a)(this,Object(j.a)(e).apply(this,arguments))).addLink=t.addLink.bind(Object(y.a)(t)),t.stopAddingLink=t.stopAddingLink.bind(Object(y.a)(t)),t.onRemoveFormat=t.onRemoveFormat.bind(Object(y.a)(t)),t.state={addingLink:!1},t}return Object(v.a)(e,t),Object(O.a)(e,[{key:"addLink",value:function(){var t=this.props,e=t.value,n=t.onChange,r=Object(o.getTextContent)(Object(o.slice)(e));r&&Object(A.isURL)(r)?n(Object(o.applyFormat)(e,{type:"core/link",attributes:{url:r}})):r&&Object(A.isEmail)(r)?n(Object(o.applyFormat)(e,{type:"core/link",attributes:{url:"mailto:".concat(r)}})):this.setState({addingLink:!0})}},{key:"stopAddingLink",value:function(){this.setState({addingLink:!1})}},{key:"onRemoveFormat",value:function(){var t=this.props,e=t.value,n=t.onChange,r=t.speak;n(Object(o.removeFormat)(e,"core/link")),r(Object(c.__)("Link removed."),"assertive")}},{key:"render",value:function(){var t=this.props,e=t.isActive,n=t.activeAttributes,r=t.value,o=t.onChange,u=t.onFocus;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(a.RichTextShortcut,{type:"primary",character:"k",onUse:this.addLink}),Object(i.createElement)(a.RichTextShortcut,{type:"primaryShift",character:"k",onUse:this.onRemoveFormat}),e&&Object(i.createElement)(a.RichTextToolbarButton,{name:"link",icon:"editor-unlink",title:Object(c.__)("Unlink"),onClick:this.onRemoveFormat,isActive:e,shortcutType:"primaryShift",shortcutCharacter:"k"}),!e&&Object(i.createElement)(a.RichTextToolbarButton,{name:"link",icon:"admin-links",title:M,onClick:this.addLink,isActive:e,shortcutType:"primary",shortcutCharacter:"k"}),(this.state.addingLink||e)&&Object(i.createElement)(N,{addingLink:this.state.addingLink,stopAddingLink:this.stopAddingLink,isActive:e,activeAttributes:n,value:r,onChange:o,onFocus:u}))}}]),e}(i.Component))},D="core/strikethrough",U=Object(c.__)("Strikethrough");[s,f,C,F,I,{name:D,title:U,tagName:"s",className:null,edit:function(t){var e=t.isActive,n=t.value,r=t.onChange,c=t.onFocus;return Object(i.createElement)(a.RichTextToolbarButton,{icon:"editor-strikethrough",title:U,onClick:function(){r(Object(o.toggleFormat)(n,{type:D})),c()},isActive:e})}},{name:"core/underline",title:Object(c.__)("Underline"),tagName:"span",className:null,attributes:{style:"style"},edit:function(t){var e=t.value,n=t.onChange,r=function(){n(Object(o.toggleFormat)(e,{type:"core/underline",attributes:{style:"text-decoration: underline;"}}))};return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(a.RichTextShortcut,{type:"primary",character:"u",onUse:r}),Object(i.createElement)(a.__unstableRichTextInputEvent,{inputType:"formatUnderline",onInput:r}))}}].forEach((function(t){var e=t.name,n=Object(r.a)(t,["name"]);return Object(o.registerFormatType)(e,n)}))},5:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return r}))},56:function(t,e){!function(){t.exports=this.wp.htmlEntities}()},6:function(t,e){!function(){t.exports=this.wp.blockEditor}()},7:function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return r}))}}); \ No newline at end of file diff --git a/wp-includes/js/dist/hooks.js b/wp-includes/js/dist/hooks.js index c8da104405..b3cd373ba9 100644 --- a/wp-includes/js/dist/hooks.js +++ b/wp-includes/js/dist/hooks.js @@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["hooks"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 375); +/******/ return __webpack_require__(__webpack_require__.s = 422); /******/ }) /************************************************************************/ /******/ ({ -/***/ 18: +/***/ 17: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -103,7 +103,7 @@ function _arrayWithoutHoles(arr) { } } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(31); +var iterableToArray = __webpack_require__(33); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js function _nonIterableSpread() { @@ -120,7 +120,7 @@ function _toConsumableArray(arr) { /***/ }), -/***/ 31: +/***/ 33: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -131,7 +131,7 @@ function _iterableToArray(iter) { /***/ }), -/***/ 375: +/***/ 422: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -416,7 +416,7 @@ function createHasHook(hooks) { /* harmony default export */ var build_module_createHasHook = (createHasHook); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(18); +var toConsumableArray = __webpack_require__(17); // CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createRunHook.js diff --git a/wp-includes/js/dist/hooks.min.js b/wp-includes/js/dist/hooks.min.js index bbb6b5e54d..dd64ffc5bb 100644 --- a/wp-includes/js/dist/hooks.min.js +++ b/wp-includes/js/dist/hooks.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.hooks=function(n){var r={};function e(t){if(r[t])return r[t].exports;var o=r[t]={i:t,l:!1,exports:{}};return n[t].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=n,e.c=r,e.d=function(n,r,t){e.o(n,r)||Object.defineProperty(n,r,{enumerable:!0,get:t})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,r){if(1&r&&(n=e(n)),8&r)return n;if(4&r&&"object"==typeof n&&n&&n.__esModule)return n;var t=Object.create(null);if(e.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:n}),2&r&&"string"!=typeof n)for(var o in n)e.d(t,o,function(r){return n[r]}.bind(null,o));return t},e.n=function(n){var r=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(r,"a",r),r},e.o=function(n,r){return Object.prototype.hasOwnProperty.call(n,r)},e.p="",e(e.s=375)}({18:function(n,r,e){"use strict";var t=e(31);function o(n){return function(n){if(Array.isArray(n)){for(var r=0,e=new Array(n.length);r3&&void 0!==arguments[3]?arguments[3]:10;if(o(r)&&t(e))if("function"==typeof i)if("number"==typeof u){var c={callback:i,priority:u,namespace:e};if(n[r]){var a,l=n[r].handlers;for(a=l.length;a>0&&!(u>=l[a-1].priority);a--);a===l.length?l[a]=c:l.splice(a,0,c),(n.__current||[]).forEach((function(n){n.name===r&&n.currentIndex>=a&&n.currentIndex++}))}else n[r]={handlers:[c],runs:0};"hookAdded"!==r&&F("hookAdded",r,e,i,u)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}};var u=function(n,r){return function(e,i){if(o(e)&&(r||t(i))){if(!n[e])return 0;var u=0;if(r)u=n[e].handlers.length,n[e]={runs:n[e].runs,handlers:[]};else for(var c=n[e].handlers,a=function(r){c[r].namespace===i&&(c.splice(r,1),u++,(n.__current||[]).forEach((function(n){n.name===e&&n.currentIndex>=r&&n.currentIndex--})))},l=c.length-1;l>=0;l--)a(l);return"hookRemoved"!==e&&F("hookRemoved",e,i),u}}};var c=function(n){return function(r,e){return void 0!==e?r in n&&n[r].handlers.some((function(n){return n.namespace===e})):r in n}};e(18);var a=function(n,r){return function(e){n[e]||(n[e]={handlers:[],runs:0}),n[e].runs++;var t=n[e].handlers;for(var o=arguments.length,i=new Array(o>1?o-1:0),u=1;u3&&void 0!==arguments[3]?arguments[3]:10;if(o(r)&&t(e))if("function"==typeof i)if("number"==typeof u){var c={callback:i,priority:u,namespace:e};if(n[r]){var a,l=n[r].handlers;for(a=l.length;a>0&&!(u>=l[a-1].priority);a--);a===l.length?l[a]=c:l.splice(a,0,c),(n.__current||[]).forEach((function(n){n.name===r&&n.currentIndex>=a&&n.currentIndex++}))}else n[r]={handlers:[c],runs:0};"hookAdded"!==r&&F("hookAdded",r,e,i,u)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}};var u=function(n,r){return function(e,i){if(o(e)&&(r||t(i))){if(!n[e])return 0;var u=0;if(r)u=n[e].handlers.length,n[e]={runs:n[e].runs,handlers:[]};else for(var c=n[e].handlers,a=function(r){c[r].namespace===i&&(c.splice(r,1),u++,(n.__current||[]).forEach((function(n){n.name===e&&n.currentIndex>=r&&n.currentIndex--})))},l=c.length-1;l>=0;l--)a(l);return"hookRemoved"!==e&&F("hookRemoved",e,i),u}}};var c=function(n){return function(r,e){return void 0!==e?r in n&&n[r].handlers.some((function(n){return n.namespace===e})):r in n}};e(17);var a=function(n,r){return function(e){n[e]||(n[e]={handlers:[],runs:0}),n[e].runs++;var t=n[e].handlers;for(var o=arguments.length,i=new Array(o>1?o-1:0),u=1;u 1 && arguments[1] !== undefined ? arguments[1] : 'default'; - i18n.data[domain] = Object(objectSpread["a" /* default */])({}, DEFAULT_LOCALE_DATA, i18n.data[domain], data); // Populate default domain configuration (supported locale date which omits + i18n.data[domain] = _objectSpread({}, DEFAULT_LOCALE_DATA, {}, i18n.data[domain], {}, data); // Populate default domain configuration (supported locale date which omits // a plural forms expression). - i18n.data[domain][''] = Object(objectSpread["a" /* default */])({}, DEFAULT_LOCALE_DATA[''], i18n.data[domain]['']); + i18n.data[domain][''] = _objectSpread({}, DEFAULT_LOCALE_DATA[''], {}, i18n.data[domain]['']); } /** * Wrapper for Tannin's `dcnpgettext`. Populates default locale data if not @@ -1043,7 +1047,7 @@ function build_module_sprintf(format) { /***/ }), -/***/ 42: +/***/ 44: /***/ (function(module, exports, __webpack_require__) { module.exports = function memize( fn, options ) { @@ -1161,35 +1165,7 @@ module.exports = function memize( fn, options ) { /***/ }), -/***/ 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; -} - -/***/ }), - -/***/ 9: +/***/ 5: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; diff --git a/wp-includes/js/dist/i18n.min.js b/wp-includes/js/dist/i18n.min.js index 525da27186..df6ea2b9e6 100644 --- a/wp-includes/js/dist/i18n.min.js +++ b/wp-includes/js/dist/i18n.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.i18n=function(n){var t={};function e(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:r})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,t){if(1&t&&(n=e(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var i in n)e.d(r,i,function(t){return n[t]}.bind(null,i));return r},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="",e(e.s=381)}({148:function(n,t,e){var r;!function(){"use strict";var i={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function o(n){return function(n,t){var e,r,u,a,s,c,p,l,f,d=1,h=n.length,g="";for(r=0;r=0),a.type){case"b":e=parseInt(e,10).toString(2);break;case"c":e=String.fromCharCode(parseInt(e,10));break;case"d":case"i":e=parseInt(e,10);break;case"j":e=JSON.stringify(e,null,a.width?parseInt(a.width):0);break;case"e":e=a.precision?parseFloat(e).toExponential(a.precision):parseFloat(e).toExponential();break;case"f":e=a.precision?parseFloat(e).toFixed(a.precision):parseFloat(e);break;case"g":e=a.precision?String(Number(e.toPrecision(a.precision))):parseFloat(e);break;case"o":e=(parseInt(e,10)>>>0).toString(8);break;case"s":e=String(e),e=a.precision?e.substring(0,a.precision):e;break;case"t":e=String(!!e),e=a.precision?e.substring(0,a.precision):e;break;case"T":e=Object.prototype.toString.call(e).slice(8,-1).toLowerCase(),e=a.precision?e.substring(0,a.precision):e;break;case"u":e=parseInt(e,10)>>>0;break;case"v":e=e.valueOf(),e=a.precision?e.substring(0,a.precision):e;break;case"x":e=(parseInt(e,10)>>>0).toString(16);break;case"X":e=(parseInt(e,10)>>>0).toString(16).toUpperCase()}i.json.test(a.type)?g+=e:(!i.number.test(a.type)||l&&!a.sign?f="":(f=l?"+":"-",e=e.toString().replace(i.sign,"")),c=a.pad_char?"0"===a.pad_char?"0":a.pad_char.charAt(1):" ",p=a.width-(f+e).length,s=a.width&&p>0?c.repeat(p):"",g+=a.align?f+e+s:"0"===c?f+s+e:s+f+e)}return g}(function(n){if(a[n])return a[n];var t,e=n,r=[],o=0;for(;e;){if(null!==(t=i.text.exec(e)))r.push(t[0]);else if(null!==(t=i.modulo.exec(e)))r.push("%");else{if(null===(t=i.placeholder.exec(e)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){o|=1;var u=[],s=t[2],c=[];if(null===(c=i.key.exec(s)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(u.push(c[1]);""!==(s=s.substring(c[0].length));)if(null!==(c=i.key_access.exec(s)))u.push(c[1]);else{if(null===(c=i.index_access.exec(s)))throw new SyntaxError("[sprintf] failed to parse named argument key");u.push(c[1])}t[2]=u}else o|=2;if(3===o)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}e=e.substring(t[0].length)}return a[n]=r}(n),arguments)}function u(n,t){return o.apply(null,[n].concat(t||[]))}var a=Object.create(null);t.sprintf=o,t.vsprintf=u,"undefined"!=typeof window&&(window.sprintf=o,window.vsprintf=u,void 0===(r=function(){return{sprintf:o,vsprintf:u}}.call(t,e,t,n))||(n.exports=r))}()},381:function(n,t,e){"use strict";e.r(t);var r,i,o,u,a=e(6);r={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},i=["(","?"],o={")":["("],":":["?","?:"]},u=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var s={"!":function(n){return!n},"*":function(n,t){return n*t},"/":function(n,t){return n/t},"%":function(n,t){return n%t},"+":function(n,t){return n+t},"-":function(n,t){return n-t},"<":function(n,t){return n":function(n,t){return n>t},">=":function(n,t){return n>=t},"==":function(n,t){return n===t},"!=":function(n,t){return n!==t},"&&":function(n,t){return n&&t},"||":function(n,t){return n||t},"?:":function(n,t,e){if(n)throw t;return e}};function c(n){var t=function(n){for(var t,e,a,s,c=[],p=[];t=n.match(u);){for(e=t[0],(a=n.substr(0,t.index).trim())&&c.push(a);s=p.pop();){if(o[e]){if(o[e][0]===s){e=o[e][1]||e;break}}else if(i.indexOf(s)>=0||r[s]1&&void 0!==arguments[1]?arguments[1]:"default";b.data[t]=Object(a.a)({},y,b.data[t],n),b.data[t][""]=Object(a.a)({},y[""],b.data[t][""])}function m(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",t=arguments.length>1?arguments[1]:void 0,e=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;return b.data[n]||x(void 0,n),b.dcnpgettext(n,t,e,r,i)}function w(n,t){return m(t,void 0,n)}function _(n,t,e){return m(e,t,n)}function k(n,t,e,r){return m(r,void 0,n,t,e)}function j(n,t,e,r,i){return m(i,r,n,t,e)}function O(n){try{for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r=0),a.type){case"b":t=parseInt(t,10).toString(2);break;case"c":t=String.fromCharCode(parseInt(t,10));break;case"d":case"i":t=parseInt(t,10);break;case"j":t=JSON.stringify(t,null,a.width?parseInt(a.width):0);break;case"e":t=a.precision?parseFloat(t).toExponential(a.precision):parseFloat(t).toExponential();break;case"f":t=a.precision?parseFloat(t).toFixed(a.precision):parseFloat(t);break;case"g":t=a.precision?String(Number(t.toPrecision(a.precision))):parseFloat(t);break;case"o":t=(parseInt(t,10)>>>0).toString(8);break;case"s":t=String(t),t=a.precision?t.substring(0,a.precision):t;break;case"t":t=String(!!t),t=a.precision?t.substring(0,a.precision):t;break;case"T":t=Object.prototype.toString.call(t).slice(8,-1).toLowerCase(),t=a.precision?t.substring(0,a.precision):t;break;case"u":t=parseInt(t,10)>>>0;break;case"v":t=t.valueOf(),t=a.precision?t.substring(0,a.precision):t;break;case"x":t=(parseInt(t,10)>>>0).toString(16);break;case"X":t=(parseInt(t,10)>>>0).toString(16).toUpperCase()}i.json.test(a.type)?h+=t:(!i.number.test(a.type)||f&&!a.sign?l="":(l=f?"+":"-",t=t.toString().replace(i.sign,"")),c=a.pad_char?"0"===a.pad_char?"0":a.pad_char.charAt(1):" ",p=a.width-(l+t).length,s=a.width&&p>0?c.repeat(p):"",h+=a.align?l+t+s:"0"===c?l+s+t:s+l+t)}return h}(function(e){if(a[e])return a[e];var r,t=e,n=[],o=0;for(;t;){if(null!==(r=i.text.exec(t)))n.push(r[0]);else if(null!==(r=i.modulo.exec(t)))n.push("%");else{if(null===(r=i.placeholder.exec(t)))throw new SyntaxError("[sprintf] unexpected placeholder");if(r[2]){o|=1;var u=[],s=r[2],c=[];if(null===(c=i.key.exec(s)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(u.push(c[1]);""!==(s=s.substring(c[0].length));)if(null!==(c=i.key_access.exec(s)))u.push(c[1]);else{if(null===(c=i.index_access.exec(s)))throw new SyntaxError("[sprintf] failed to parse named argument key");u.push(c[1])}r[2]=u}else o|=2;if(3===o)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");n.push({placeholder:r[0],param_no:r[1],keys:r[2],sign:r[3],pad_char:r[4],align:r[5],width:r[6],precision:r[7],type:r[8]})}t=t.substring(r[0].length)}return a[e]=n}(e),arguments)}function u(e,r){return o.apply(null,[e].concat(r||[]))}var a=Object.create(null);r.sprintf=o,r.vsprintf=u,"undefined"!=typeof window&&(window.sprintf=o,window.vsprintf=u,void 0===(n=function(){return{sprintf:o,vsprintf:u}}.call(r,t,r,e))||(e.exports=n))}()},432:function(e,r,t){"use strict";t.r(r);var n,i,o,u,a=t(5);n={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},i=["(","?"],o={")":["("],":":["?","?:"]},u=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var s={"!":function(e){return!e},"*":function(e,r){return e*r},"/":function(e,r){return e/r},"%":function(e,r){return e%r},"+":function(e,r){return e+r},"-":function(e,r){return e-r},"<":function(e,r){return e":function(e,r){return e>r},">=":function(e,r){return e>=r},"==":function(e,r){return e===r},"!=":function(e,r){return e!==r},"&&":function(e,r){return e&&r},"||":function(e,r){return e||r},"?:":function(e,r,t){if(e)throw r;return t}};function c(e){var r=function(e){for(var r,t,a,s,c=[],p=[];r=e.match(u);){for(t=r[0],(a=e.substr(0,r.index).trim())&&c.push(a);s=p.pop();){if(o[t]){if(o[t][0]===s){t=o[t][1]||t;break}}else if(i.indexOf(s)>=0||n[s]1&&void 0!==arguments[1]?arguments[1]:"default";m.data[r]=b({},v,{},m.data[r],{},e),m.data[r][""]=b({},v[""],{},m.data[r][""])}function _(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",r=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;return m.data[e]||w(void 0,e),m.dcnpgettext(e,r,t,n,i)}function O(e,r){return _(r,void 0,e)}function j(e,r,t){return _(t,r,e)}function k(e,r,t,n){return _(n,void 0,e,r,t)}function S(e,r,t,n,i){return _(i,n,e,r,t)}function P(e){try{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"REGISTER_SHORTCUT":return Object(a.a)({},t,Object(i.a)({},e.name,{category:e.category,keyCombination:e.keyCombination,aliases:e.aliases,description:e.description}));case"UNREGISTER_SHORTCUT":return Object(c.omit)(t,e.name)}return t};function f(t){var e=t.name,n=t.category,r=t.description;return{type:"REGISTER_SHORTCUT",name:e,category:n,keyCombination:t.keyCombination,aliases:t.aliases,description:r}}function l(t){return{type:"UNREGISTER_SHORTCUT",name:t}}var p=n(18),d=n(34),b=n(19),y=[],h={display:b.displayShortcut,raw:b.rawShortcut,ariaLabel:b.shortcutAriaLabel};function v(t,e){return t?t.modifier?h[e][t.modifier](t.character):t.character:null}function g(t,e){return t[e]?t[e].keyCombination:null}function m(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"display";return v(g(t,e),n)}function O(t,e){return t[e]?t[e].description:null}function S(t,e){return t[e]&&t[e].aliases?t[e].aliases:y}var j=Object(d.a)((function(t,e){return Object(c.compact)([v(g(t,e),"raw")].concat(Object(p.a)(S(t,e).map((function(t){return v(t,"raw")})))))}),(function(t,e){return[t[e]]})),w=(Object(u.registerStore)("core/keyboard-shortcuts",{reducer:s,actions:r,selectors:o}),n(8));var x=function(t,e,n){var r=Object(u.useSelect)((function(e){return e("core/keyboard-shortcuts").getAllShortcutRawKeyCombinations(t)}),[t]);Object(w.useKeyboardShortcut)(r,e,n)};n.d(e,"useShortcut",(function(){return x}))},4:function(t,e){!function(){t.exports=this.wp.data}()},6:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(9);function o(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"REGISTER_SHORTCUT":return function(t){for(var e=1;e2&&void 0!==arguments[2]?arguments[2]:"display";return v(g(t,e),n)}function j(t,e){return t[e]?t[e].description:null}function m(t,e){return t[e]&&t[e].aliases?t[e].aliases:y}var S=Object(d.a)((function(t,e){return Object(a.compact)([v(g(t,e),"raw")].concat(Object(p.a)(m(t,e).map((function(t){return v(t,"raw")})))))}),(function(t,e){return[t[e]]})),w=(Object(i.registerStore)("core/keyboard-shortcuts",{reducer:s,actions:r,selectors:o}),n(8));var x=function(t,e,n){var r=Object(i.useSelect)((function(e){return e("core/keyboard-shortcuts").getAllShortcutRawKeyCombinations(t)}),[t]);Object(w.useKeyboardShortcut)(r,e,n)};n.d(e,"useShortcut",(function(){return x}))},5:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return r}))},8:function(t,e){!function(){t.exports=this.wp.compose}()}}); \ No newline at end of file diff --git a/wp-includes/js/dist/keycodes.js b/wp-includes/js/dist/keycodes.js index 072d6927c0..a099436574 100644 --- a/wp-includes/js/dist/keycodes.js +++ b/wp-includes/js/dist/keycodes.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["keycodes"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 392); +/******/ return __webpack_require__(__webpack_require__.s = 442); /******/ }) /************************************************************************/ /******/ ({ @@ -94,7 +94,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["keycodes"] = /***/ }), -/***/ 18: +/***/ 17: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -110,7 +110,7 @@ function _arrayWithoutHoles(arr) { } } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(31); +var iterableToArray = __webpack_require__(33); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js function _nonIterableSpread() { @@ -134,7 +134,7 @@ function _toConsumableArray(arr) { /***/ }), -/***/ 31: +/***/ 33: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -145,17 +145,17 @@ function _iterableToArray(iter) { /***/ }), -/***/ 392: +/***/ 442: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(9); +var defineProperty = __webpack_require__(5); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(18); +var toConsumableArray = __webpack_require__(17); // EXTERNAL MODULE: external {"this":"lodash"} var external_this_lodash_ = __webpack_require__(2); @@ -481,7 +481,7 @@ var isKeyboardEvent = Object(external_this_lodash_["mapValues"])(modifiers, func /***/ }), -/***/ 9: +/***/ 5: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; diff --git a/wp-includes/js/dist/keycodes.min.js b/wp-includes/js/dist/keycodes.min.js index 406fb1265a..43fde77558 100644 --- a/wp-includes/js/dist/keycodes.min.js +++ b/wp-includes/js/dist/keycodes.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.keycodes=function(t){var n={};function r(e){if(n[e])return n[e].exports;var u=n[e]={i:e,l:!1,exports:{}};return t[e].call(u.exports,u,u.exports,r),u.l=!0,u.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 u in t)r.d(e,u,function(n){return t[n]}.bind(null,u));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=392)}({1:function(t,n){!function(){t.exports=this.wp.i18n}()},18:function(t,n,r){"use strict";var e=r(31);function u(t){return function(t){if(Array.isArray(t)){for(var n=0,r=new Array(t.length);n0&&void 0!==arguments[0]?arguments[0]:window).navigator.platform;return-1!==t.indexOf("Mac")||Object(o.includes)(["iPad","iPhone"],t)}r.d(n,"BACKSPACE",(function(){return a})),r.d(n,"TAB",(function(){return f})),r.d(n,"ENTER",(function(){return l})),r.d(n,"ESCAPE",(function(){return d})),r.d(n,"SPACE",(function(){return b})),r.d(n,"LEFT",(function(){return s})),r.d(n,"UP",(function(){return j})),r.d(n,"RIGHT",(function(){return O})),r.d(n,"DOWN",(function(){return p})),r.d(n,"DELETE",(function(){return y})),r.d(n,"F10",(function(){return v})),r.d(n,"ALT",(function(){return h})),r.d(n,"CTRL",(function(){return m})),r.d(n,"COMMAND",(function(){return g})),r.d(n,"SHIFT",(function(){return S})),r.d(n,"modifiers",(function(){return A})),r.d(n,"rawShortcut",(function(){return w})),r.d(n,"displayShortcutList",(function(){return C})),r.d(n,"displayShortcut",(function(){return P})),r.d(n,"shortcutAriaLabel",(function(){return E})),r.d(n,"isKeyboardEvent",(function(){return _}));var a=8,f=9,l=13,d=27,b=32,s=37,j=38,O=39,p=40,y=46,v=121,h="alt",m="ctrl",g="meta",S="shift",A={primary:function(t){return t()?[g]:[m]},primaryShift:function(t){return t()?[S,g]:[m,S]},primaryAlt:function(t){return t()?[h,g]:[m,h]},secondary:function(t){return t()?[S,h,g]:[m,S,h]},access:function(t){return t()?[m,h]:[S,h]},ctrl:function(){return[m]},alt:function(){return[h]},ctrlShift:function(){return[m,S]},shift:function(){return[S]},shiftAlt:function(){return[S,h]}},w=Object(o.mapValues)(A,(function(t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return[].concat(Object(u.a)(t(r)),[n.toLowerCase()]).join("+")}})),C=Object(o.mapValues)(A,(function(t){return function(n){var r,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,a=c(),f=(r={},Object(e.a)(r,h,a?"⌥":"Alt"),Object(e.a)(r,m,a?"^":"Ctrl"),Object(e.a)(r,g,"⌘"),Object(e.a)(r,S,a?"⇧":"Shift"),r),l=t(c).reduce((function(t,n){var r=Object(o.get)(f,n,n);return[].concat(Object(u.a)(t),a?[r]:[r,"+"])}),[]),d=Object(o.capitalize)(n);return[].concat(Object(u.a)(l),[d])}})),P=Object(o.mapValues)(C,(function(t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t(n,r).join("")}})),E=Object(o.mapValues)(A,(function(t){return function(n){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,f=a(),l=(r={},Object(e.a)(r,S,"Shift"),Object(e.a)(r,g,f?"Command":"Control"),Object(e.a)(r,m,"Control"),Object(e.a)(r,h,f?"Option":"Alt"),Object(e.a)(r,",",Object(c.__)("Comma")),Object(e.a)(r,".",Object(c.__)("Period")),Object(e.a)(r,"`",Object(c.__)("Backtick")),r);return[].concat(Object(u.a)(t(a)),[n]).map((function(t){return Object(o.capitalize)(Object(o.get)(l,t,t))})).join(f?" ":" + ")}})),_=Object(o.mapValues)(A,(function(t){return function(n,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,u=t(e);return!!u.every((function(t){return n["".concat(t,"Key")]}))&&(r?n.key===r:Object(o.includes)(u,n.key.toLowerCase()))}}))},9:function(t,n,r){"use strict";function e(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}r.d(n,"a",(function(){return e}))}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.keycodes=function(t){var n={};function r(e){if(n[e])return n[e].exports;var u=n[e]={i:e,l:!1,exports:{}};return t[e].call(u.exports,u,u.exports,r),u.l=!0,u.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 u in t)r.d(e,u,function(n){return t[n]}.bind(null,u));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=442)}({1:function(t,n){!function(){t.exports=this.wp.i18n}()},17:function(t,n,r){"use strict";var e=r(33);function u(t){return function(t){if(Array.isArray(t)){for(var n=0,r=new Array(t.length);n0&&void 0!==arguments[0]?arguments[0]:window).navigator.platform;return-1!==t.indexOf("Mac")||Object(o.includes)(["iPad","iPhone"],t)}r.d(n,"BACKSPACE",(function(){return a})),r.d(n,"TAB",(function(){return f})),r.d(n,"ENTER",(function(){return l})),r.d(n,"ESCAPE",(function(){return d})),r.d(n,"SPACE",(function(){return b})),r.d(n,"LEFT",(function(){return s})),r.d(n,"UP",(function(){return j})),r.d(n,"RIGHT",(function(){return O})),r.d(n,"DOWN",(function(){return p})),r.d(n,"DELETE",(function(){return y})),r.d(n,"F10",(function(){return v})),r.d(n,"ALT",(function(){return h})),r.d(n,"CTRL",(function(){return m})),r.d(n,"COMMAND",(function(){return g})),r.d(n,"SHIFT",(function(){return S})),r.d(n,"modifiers",(function(){return A})),r.d(n,"rawShortcut",(function(){return w})),r.d(n,"displayShortcutList",(function(){return C})),r.d(n,"displayShortcut",(function(){return P})),r.d(n,"shortcutAriaLabel",(function(){return E})),r.d(n,"isKeyboardEvent",(function(){return _}));var a=8,f=9,l=13,d=27,b=32,s=37,j=38,O=39,p=40,y=46,v=121,h="alt",m="ctrl",g="meta",S="shift",A={primary:function(t){return t()?[g]:[m]},primaryShift:function(t){return t()?[S,g]:[m,S]},primaryAlt:function(t){return t()?[h,g]:[m,h]},secondary:function(t){return t()?[S,h,g]:[m,S,h]},access:function(t){return t()?[m,h]:[S,h]},ctrl:function(){return[m]},alt:function(){return[h]},ctrlShift:function(){return[m,S]},shift:function(){return[S]},shiftAlt:function(){return[S,h]}},w=Object(o.mapValues)(A,(function(t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return[].concat(Object(u.a)(t(r)),[n.toLowerCase()]).join("+")}})),C=Object(o.mapValues)(A,(function(t){return function(n){var r,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,a=c(),f=(r={},Object(e.a)(r,h,a?"⌥":"Alt"),Object(e.a)(r,m,a?"^":"Ctrl"),Object(e.a)(r,g,"⌘"),Object(e.a)(r,S,a?"⇧":"Shift"),r),l=t(c).reduce((function(t,n){var r=Object(o.get)(f,n,n);return[].concat(Object(u.a)(t),a?[r]:[r,"+"])}),[]),d=Object(o.capitalize)(n);return[].concat(Object(u.a)(l),[d])}})),P=Object(o.mapValues)(C,(function(t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t(n,r).join("")}})),E=Object(o.mapValues)(A,(function(t){return function(n){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,f=a(),l=(r={},Object(e.a)(r,S,"Shift"),Object(e.a)(r,g,f?"Command":"Control"),Object(e.a)(r,m,"Control"),Object(e.a)(r,h,f?"Option":"Alt"),Object(e.a)(r,",",Object(c.__)("Comma")),Object(e.a)(r,".",Object(c.__)("Period")),Object(e.a)(r,"`",Object(c.__)("Backtick")),r);return[].concat(Object(u.a)(t(a)),[n]).map((function(t){return Object(o.capitalize)(Object(o.get)(l,t,t))})).join(f?" ":" + ")}})),_=Object(o.mapValues)(A,(function(t){return function(n,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,u=t(e);return!!u.every((function(t){return n["".concat(t,"Key")]}))&&(r?n.key===r:Object(o.includes)(u,n.key.toLowerCase()))}}))},5:function(t,n,r){"use strict";function e(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}r.d(n,"a",(function(){return e}))}}); \ No newline at end of file diff --git a/wp-includes/js/dist/list-reusable-blocks.js b/wp-includes/js/dist/list-reusable-blocks.js index 9deb291e1d..263a0c3073 100644 --- a/wp-includes/js/dist/list-reusable-blocks.js +++ b/wp-includes/js/dist/list-reusable-blocks.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["listReusableBlocks"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 383); +/******/ return __webpack_require__(__webpack_require__.s = 430); /******/ }) /************************************************************************/ /******/ ({ @@ -101,7 +101,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["listReusableBlocks"] = /***/ }), -/***/ 13: +/***/ 12: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -124,7 +124,7 @@ function _createClass(Constructor, protoProps, staticProps) { /***/ }), -/***/ 14: +/***/ 13: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -137,7 +137,7 @@ function _classCallCheck(instance, Constructor) { /***/ }), -/***/ 15: +/***/ 14: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -156,7 +156,7 @@ function _possibleConstructorReturn(self, call) { /***/ }), -/***/ 16: +/***/ 15: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -170,7 +170,7 @@ function _getPrototypeOf(o) { /***/ }), -/***/ 17: +/***/ 16: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -231,6 +231,8 @@ function _inherits(subClass, superClass) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; }); function _typeof(obj) { + "@babel/helpers - typeof"; + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; @@ -246,14 +248,14 @@ function _typeof(obj) { /***/ }), -/***/ 38: +/***/ 40: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["apiFetch"]; }()); /***/ }), -/***/ 383: +/***/ 430: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -270,13 +272,13 @@ 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__(44); +var asyncToGenerator = __webpack_require__(47); // EXTERNAL MODULE: external {"this":"lodash"} var external_this_lodash_ = __webpack_require__(2); // EXTERNAL MODULE: external {"this":["wp","apiFetch"]} -var external_this_wp_apiFetch_ = __webpack_require__(38); +var external_this_wp_apiFetch_ = __webpack_require__(40); var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_); // CONCATENATED MODULE: ./node_modules/@wordpress/list-reusable-blocks/build-module/utils/file.js @@ -400,22 +402,22 @@ function _exportReusableBlock() { var external_this_wp_components_ = __webpack_require__(3); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js -var classCallCheck = __webpack_require__(14); +var classCallCheck = __webpack_require__(13); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(13); +var createClass = __webpack_require__(12); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js -var possibleConstructorReturn = __webpack_require__(15); +var possibleConstructorReturn = __webpack_require__(14); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js -var getPrototypeOf = __webpack_require__(16); +var getPrototypeOf = __webpack_require__(15); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js var assertThisInitialized = __webpack_require__(7); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules -var inherits = __webpack_require__(17); +var inherits = __webpack_require__(16); // EXTERNAL MODULE: external {"this":["wp","compose"]} var external_this_wp_compose_ = __webpack_require__(8); @@ -759,7 +761,7 @@ document.addEventListener('DOMContentLoaded', function () { /***/ }), -/***/ 44: +/***/ 47: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; diff --git a/wp-includes/js/dist/list-reusable-blocks.min.js b/wp-includes/js/dist/list-reusable-blocks.min.js index 6cf247a926..6c55fa1f7d 100644 --- a/wp-includes/js/dist/list-reusable-blocks.min.js +++ b/wp-includes/js/dist/list-reusable-blocks.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.listReusableBlocks=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=383)}({0:function(t,e){!function(){t.exports=this.wp.element}()},1:function(t,e){!function(){t.exports=this.wp.i18n}()},13:function(t,e,n){"use strict";function r(t,e){for(var n=0;n");var e=document.querySelector(".wp-header-end");e&&e.parentNode.insertBefore(t,e)}}),e)}}))},44:function(t,e,n){"use strict";function r(t,e,n,r,o,i,c){try{var a=t[i](c),u=a.value}catch(t){return void n(t)}a.done?e(u):Promise.resolve(u).then(r,o)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var c=t.apply(e,n);function a(t){r(c,o,i,a,u,"next",t)}function u(t){r(c,o,i,a,u,"throw",t)}a(void 0)}))}}n.d(e,"a",(function(){return o}))},7:function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return r}))},8:function(t,e){!function(){t.exports=this.wp.compose}()}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.listReusableBlocks=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=430)}({0:function(t,e){!function(){t.exports=this.wp.element}()},1:function(t,e){!function(){t.exports=this.wp.i18n}()},12:function(t,e,n){"use strict";function r(t,e){for(var n=0;n");var e=document.querySelector(".wp-header-end");e&&e.parentNode.insertBefore(t,e)}}),e)}}))},47:function(t,e,n){"use strict";function r(t,e,n,r,o,i,c){try{var a=t[i](c),u=a.value}catch(t){return void n(t)}a.done?e(u):Promise.resolve(u).then(r,o)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var c=t.apply(e,n);function a(t){r(c,o,i,a,u,"next",t)}function u(t){r(c,o,i,a,u,"throw",t)}a(void 0)}))}}n.d(e,"a",(function(){return o}))},7:function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return r}))},8:function(t,e){!function(){t.exports=this.wp.compose}()}}); \ No newline at end of file diff --git a/wp-includes/js/dist/media-utils.js b/wp-includes/js/dist/media-utils.js index 30af0bce97..0da1fce9e9 100644 --- a/wp-includes/js/dist/media-utils.js +++ b/wp-includes/js/dist/media-utils.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["mediaUtils"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 385); +/******/ return __webpack_require__(__webpack_require__.s = 433); /******/ }) /************************************************************************/ /******/ ({ @@ -101,7 +101,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["mediaUtils"] = /***/ }), -/***/ 13: +/***/ 12: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -124,7 +124,7 @@ function _createClass(Constructor, protoProps, staticProps) { /***/ }), -/***/ 14: +/***/ 13: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -137,7 +137,7 @@ function _classCallCheck(instance, Constructor) { /***/ }), -/***/ 15: +/***/ 14: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -156,7 +156,7 @@ function _possibleConstructorReturn(self, call) { /***/ }), -/***/ 16: +/***/ 15: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -170,7 +170,7 @@ function _getPrototypeOf(o) { /***/ }), -/***/ 17: +/***/ 16: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -204,7 +204,7 @@ function _inherits(subClass, superClass) { /***/ }), -/***/ 18: +/***/ 17: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -220,7 +220,7 @@ function _arrayWithoutHoles(arr) { } } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(31); +var iterableToArray = __webpack_require__(33); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js function _nonIterableSpread() { @@ -250,7 +250,7 @@ function _toConsumableArray(arr) { "use strict"; // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -var arrayWithHoles = __webpack_require__(35); +var arrayWithHoles = __webpack_require__(37); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js function _iterableToArrayLimit(arr, i) { @@ -283,7 +283,7 @@ function _iterableToArrayLimit(arr, i) { return _arr; } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js -var nonIterableRest = __webpack_require__(36); +var nonIterableRest = __webpack_require__(38); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); @@ -303,23 +303,14 @@ 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) { + "@babel/helpers - typeof"; + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; @@ -335,7 +326,18 @@ function _typeof(obj) { /***/ }), -/***/ 35: +/***/ 33: +/***/ (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); +} + +/***/ }), + +/***/ 37: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -346,7 +348,7 @@ function _arrayWithHoles(arr) { /***/ }), -/***/ 36: +/***/ 38: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -357,43 +359,43 @@ function _nonIterableRest() { /***/ }), -/***/ 37: +/***/ 39: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["blob"]; }()); /***/ }), -/***/ 38: +/***/ 40: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["apiFetch"]; }()); /***/ }), -/***/ 385: +/***/ 433: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js -var classCallCheck = __webpack_require__(14); +var classCallCheck = __webpack_require__(13); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(13); +var createClass = __webpack_require__(12); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js -var possibleConstructorReturn = __webpack_require__(15); +var possibleConstructorReturn = __webpack_require__(14); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js -var getPrototypeOf = __webpack_require__(16); +var getPrototypeOf = __webpack_require__(15); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js var assertThisInitialized = __webpack_require__(7); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules -var inherits = __webpack_require__(17); +var inherits = __webpack_require__(16); // EXTERNAL MODULE: external {"this":"lodash"} var external_this_lodash_ = __webpack_require__(2); @@ -755,24 +757,24 @@ function (_Component) { 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/objectSpread.js -var objectSpread = __webpack_require__(6); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(5); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js -var asyncToGenerator = __webpack_require__(44); +var asyncToGenerator = __webpack_require__(47); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(18); +var toConsumableArray = __webpack_require__(17); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules var slicedToArray = __webpack_require__(22); // EXTERNAL MODULE: external {"this":["wp","apiFetch"]} -var external_this_wp_apiFetch_ = __webpack_require__(38); +var external_this_wp_apiFetch_ = __webpack_require__(40); var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_); // EXTERNAL MODULE: external {"this":["wp","blob"]} -var external_this_wp_blob_ = __webpack_require__(37); +var external_this_wp_blob_ = __webpack_require__(39); // CONCATENATED MODULE: ./node_modules/@wordpress/media-utils/build-module/utils/upload-media.js @@ -782,6 +784,10 @@ var external_this_wp_blob_ = __webpack_require__(37); +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -1032,7 +1038,7 @@ function _uploadMedia() { case 54: savedMedia = _context.sent; - mediaObject = Object(objectSpread["a" /* default */])({}, Object(external_this_lodash_["omit"])(savedMedia, ['alt_text', 'source_url']), { + mediaObject = _objectSpread({}, Object(external_this_lodash_["omit"])(savedMedia, ['alt_text', 'source_url']), { alt: savedMedia.alt_text, caption: Object(external_this_lodash_["get"])(savedMedia, ['caption', 'raw'], ''), title: savedMedia.title.raw, @@ -1103,7 +1109,7 @@ function createMediaFromFile(file, additionalData) { /***/ }), -/***/ 44: +/***/ 47: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -1146,50 +1152,7 @@ function _asyncToGenerator(fn) { /***/ }), -/***/ 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; -} - -/***/ }), - -/***/ 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; -} - -/***/ }), - -/***/ 9: +/***/ 5: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -1209,6 +1172,21 @@ function _defineProperty(obj, key, value) { return obj; } +/***/ }), + +/***/ 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; +} + /***/ }) /******/ }); \ No newline at end of file diff --git a/wp-includes/js/dist/media-utils.min.js b/wp-includes/js/dist/media-utils.min.js index e527080404..df65f54ce0 100644 --- a/wp-includes/js/dist/media-utils.min.js +++ b/wp-includes/js/dist/media-utils.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.mediaUtils=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=385)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},13:function(e,t,n){"use strict";function r(e,t){for(var n=0;n0&&this.buildAndSetGalleryFrame(),this.frame.open()}},{key:"render",value:function(){return this.props.render({open:this.openModal})}}]),t}(s.Component),y=n(23),h=n.n(y),v=n(6),O=n(44),g=n(18),j=n(22),w=n(38),S=n.n(w),_=n(37);function x(e){return k.apply(this,arguments)}function k(){return(k=Object(O.a)(h.a.mark((function e(t){var n,r,i,o,a,u,c,p,d,m,b,y,O,w,S,x,k,E,M,P,A,F,I,C,G,U,L,z,D;return h.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=t.allowedTypes,r=t.additionalData,i=void 0===r?{}:r,o=t.filesList,a=t.maxUploadFileSize,u=t.onError,c=void 0===u?l.noop:u,p=t.onFileChange,d=t.wpAllowedMimeTypes,m=void 0===d?null:d,b=Object(g.a)(o),y=[],O=function(e,t){Object(_.revokeBlobURL)(Object(l.get)(y,[e,"url"])),y[e]=t,p(Object(l.compact)(y))},w=function(e){return!n||Object(l.some)(n,(function(t){return Object(l.includes)(t,"/")?t===e:Object(l.startsWith)(e,"".concat(t,"/"))}))},S=(h=m)?Object(l.flatMap)(h,(function(e,t){var n=e.split("/"),r=Object(j.a)(n,1)[0],i=t.split("|");return[e].concat(Object(g.a)(Object(l.map)(i,(function(e){return"".concat(r,"/").concat(e)}))))})):h,x=function(e){return Object(l.includes)(S,e)},k=function(e){e.message=[Object(s.createElement)("strong",{key:"filename"},e.file.name),": ",e.message],c(e)},E=[],M=!0,P=!1,A=void 0,e.prev=12,F=b[Symbol.iterator]();case 14:if(M=(I=F.next()).done){e.next=34;break}if(C=I.value,!S||x(C.type)){e.next=19;break}return k({code:"MIME_TYPE_NOT_ALLOWED_FOR_USER",message:Object(f.__)("Sorry, this file type is not permitted for security reasons."),file:C}),e.abrupt("continue",31);case 19:if(w(C.type)){e.next=22;break}return k({code:"MIME_TYPE_NOT_SUPPORTED",message:Object(f.__)("Sorry, this file type is not supported here."),file:C}),e.abrupt("continue",31);case 22:if(!(a&&C.size>a)){e.next=25;break}return k({code:"SIZE_ABOVE_LIMIT",message:Object(f.__)("This file exceeds the maximum upload size for this site."),file:C}),e.abrupt("continue",31);case 25:if(!(C.size<=0)){e.next=28;break}return k({code:"EMPTY_FILE",message:Object(f.__)("This file is empty."),file:C}),e.abrupt("continue",31);case 28:E.push(C),y.push({url:Object(_.createBlobURL)(C)}),p(y);case 31:M=!0,e.next=14;break;case 34:e.next=40;break;case 36:e.prev=36,e.t0=e.catch(12),P=!0,A=e.t0;case 40:e.prev=40,e.prev=41,M||null==F.return||F.return();case 43:if(e.prev=43,!P){e.next=46;break}throw A;case 46:return e.finish(43);case 47:return e.finish(40);case 48:G=0;case 49:if(!(G0&&this.buildAndSetGalleryFrame(),this.frame.open()}},{key:"render",value:function(){return this.props.render({open:this.openModal})}}]),t}(s.Component),y=n(23),h=n.n(y),v=n(5),O=n(47),j=n(17),g=n(22),w=n(40),S=n.n(w),_=n(39);function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function k(e){for(var t=1;ta)){e.next=25;break}return x({code:"SIZE_ABOVE_LIMIT",message:Object(f.__)("This file exceeds the maximum upload size for this site."),file:C}),e.abrupt("continue",31);case 25:if(!(C.size<=0)){e.next=28;break}return x({code:"EMPTY_FILE",message:Object(f.__)("This file is empty."),file:C}),e.abrupt("continue",31);case 28:P.push(C),y.push({url:Object(_.createBlobURL)(C)}),p(y);case 31:T=!0,e.next=14;break;case 34:e.next=40;break;case 36:e.prev=36,e.t0=e.catch(12),M=!0,A=e.t0;case 40:e.prev=40,e.prev=41,T||null==F.return||F.return();case 43:if(e.prev=43,!M){e.next=46;break}throw A;case 46:return e.finish(43);case 47:return e.finish(40);case 48:G=0;case 49:if(!(G0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=r[t];if(void 0===o)return n;var i=e(n[o],r);return i===n[o]?n:Object(f.a)({},n,Object(a.a)({},o,i))}}}("context")((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"CREATE_NOTICE":return[].concat(Object(c.a)(Object(u.reject)(t,{id:e.notice.id})),[e.notice]);case"REMOVE_NOTICE":return Object(u.reject)(t,{id:e.id})}return t})),l=n(23),d=n.n(l),p="global",b="info",v=d.a.mark(y);function y(){var t,e,n,r,o,i,c,a,f,s,l,y,O,g,j,h,m=arguments;return d.a.wrap((function(d){for(;;)switch(d.prev=d.next){case 0:if(t=m.length>0&&void 0!==m[0]?m[0]:b,e=m.length>1?m[1]:void 0,n=m.length>2&&void 0!==m[2]?m[2]:{},r=n.speak,o=void 0===r||r,i=n.isDismissible,c=void 0===i||i,a=n.context,f=void 0===a?p:a,s=n.id,l=void 0===s?Object(u.uniqueId)(f):s,y=n.actions,O=void 0===y?[]:y,g=n.type,j=void 0===g?"default":g,h=n.__unstableHTML,e=String(e),!o){d.next=8;break}return d.next=8,{type:"SPEAK",message:e,ariaLive:"snackbar"===j?"polite":"assertive"};case 8:return d.next=10,{type:"CREATE_NOTICE",context:f,notice:{id:l,status:t,content:e,__unstableHTML:h,isDismissible:c,actions:O,type:j}};case 10:case"end":return d.stop()}}),v)}function O(t,e){return y("success",t,e)}function g(t,e){return y("info",t,e)}function j(t,e){return y("error",t,e)}function h(t,e){return y("warning",t,e)}function m(t){return{type:"REMOVE_NOTICE",id:t,context:arguments.length>1&&void 0!==arguments[1]?arguments[1]:p}}var w=[];function x(t){return t[arguments.length>1&&void 0!==arguments[1]?arguments[1]:p]||w}var E=n(45),S={SPEAK:function(t){Object(E.speak)(t.message,t.ariaLive||"assertive")}};Object(i.registerStore)("core/notices",{reducer:s,actions:r,selectors:o,controls:S})},4:function(t,e){!function(){t.exports=this.wp.data}()},45:function(t,e){!function(){t.exports=this.wp.a11y}()},6:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(9);function o(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=r[t];if(void 0===o)return n;var i=e(n[o],r);return i===n[o]?n:f({},n,Object(a.a)({},o,i))}}}("context")((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"CREATE_NOTICE":return[].concat(Object(c.a)(Object(u.reject)(t,{id:e.notice.id})),[e.notice]);case"REMOVE_NOTICE":return Object(u.reject)(t,{id:e.id})}return t})),d=n(23),p=n.n(d),b="global",v="info",O=p.a.mark(y);function y(){var t,e,n,r,o,i,c,a,s,f,l,d,y,g,j,h,m=arguments;return p.a.wrap((function(p){for(;;)switch(p.prev=p.next){case 0:if(t=m.length>0&&void 0!==m[0]?m[0]:v,e=m.length>1?m[1]:void 0,n=m.length>2&&void 0!==m[2]?m[2]:{},r=n.speak,o=void 0===r||r,i=n.isDismissible,c=void 0===i||i,a=n.context,s=void 0===a?b:a,f=n.id,l=void 0===f?Object(u.uniqueId)(s):f,d=n.actions,y=void 0===d?[]:d,g=n.type,j=void 0===g?"default":g,h=n.__unstableHTML,e=String(e),!o){p.next=8;break}return p.next=8,{type:"SPEAK",message:e,ariaLive:"snackbar"===j?"polite":"assertive"};case 8:return p.next=10,{type:"CREATE_NOTICE",context:s,notice:{id:l,status:t,content:e,__unstableHTML:h,isDismissible:c,actions:y,type:j}};case 10:case"end":return p.stop()}}),O)}function g(t,e){return y("success",t,e)}function j(t,e){return y("info",t,e)}function h(t,e){return y("error",t,e)}function m(t,e){return y("warning",t,e)}function w(t){return{type:"REMOVE_NOTICE",id:t,context:arguments.length>1&&void 0!==arguments[1]?arguments[1]:b}}var E=[];function x(t){return t[arguments.length>1&&void 0!==arguments[1]?arguments[1]:b]||E}var P=n(48),S={SPEAK:function(t){Object(P.speak)(t.message,t.ariaLive||"assertive")}};Object(i.registerStore)("core/notices",{reducer:l,actions:r,selectors:o,controls:S})},48:function(t,e){!function(){t.exports=this.wp.a11y}()},5:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return r}))}}); \ No newline at end of file diff --git a/wp-includes/js/dist/nux.js b/wp-includes/js/dist/nux.js index a23c4fc2cf..901caaa1fb 100644 --- a/wp-includes/js/dist/nux.js +++ b/wp-includes/js/dist/nux.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["nux"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 384); +/******/ return __webpack_require__(__webpack_require__.s = 429); /******/ }) /************************************************************************/ /******/ ({ @@ -101,7 +101,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["nux"] = /***/ }), -/***/ 18: +/***/ 17: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -117,7 +117,7 @@ function _arrayWithoutHoles(arr) { } } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(31); +var iterableToArray = __webpack_require__(33); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js function _nonIterableSpread() { @@ -147,7 +147,7 @@ function _toConsumableArray(arr) { "use strict"; // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js -var arrayWithHoles = __webpack_require__(35); +var arrayWithHoles = __webpack_require__(37); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js function _iterableToArrayLimit(arr, i) { @@ -180,7 +180,7 @@ function _iterableToArrayLimit(arr, i) { return _arr; } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js -var nonIterableRest = __webpack_require__(36); +var nonIterableRest = __webpack_require__(38); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; }); @@ -200,7 +200,7 @@ function _slicedToArray(arr, i) { /***/ }), -/***/ 31: +/***/ 33: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -211,14 +211,14 @@ function _iterableToArray(iter) { /***/ }), -/***/ 33: +/***/ 35: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["deprecated"]; }()); /***/ }), -/***/ 34: +/***/ 36: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -500,7 +500,7 @@ function isShallowEqual( a, b, fromIndex ) { /***/ }), -/***/ 35: +/***/ 37: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -511,7 +511,7 @@ function _arrayWithHoles(arr) { /***/ }), -/***/ 36: +/***/ 38: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -522,7 +522,14 @@ function _nonIterableRest() { /***/ }), -/***/ 384: +/***/ 4: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["data"]; }()); + +/***/ }), + +/***/ 429: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -540,25 +547,25 @@ __webpack_require__.d(selectors_namespaceObject, "isTipVisible", function() { re __webpack_require__.d(selectors_namespaceObject, "areTipsEnabled", function() { return selectors_areTipsEnabled; }); // EXTERNAL MODULE: external {"this":["wp","deprecated"]} -var external_this_wp_deprecated_ = __webpack_require__(33); +var external_this_wp_deprecated_ = __webpack_require__(35); var external_this_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_deprecated_); // EXTERNAL MODULE: external {"this":["wp","data"]} var external_this_wp_data_ = __webpack_require__(4); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(9); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js -var objectSpread = __webpack_require__(6); +var defineProperty = __webpack_require__(5); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(18); +var toConsumableArray = __webpack_require__(17); // CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/store/reducer.js +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * WordPress dependencies @@ -624,7 +631,7 @@ function dismissedTips() { switch (action.type) { case 'DISMISS_TIP': - return Object(objectSpread["a" /* default */])({}, state, Object(defineProperty["a" /* default */])({}, action.id, true)); + return _objectSpread({}, state, Object(defineProperty["a" /* default */])({}, action.id, true)); case 'ENABLE_TIPS': return {}; @@ -699,7 +706,7 @@ function enableTips() { var slicedToArray = __webpack_require__(22); // EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js -var rememo = __webpack_require__(34); +var rememo = __webpack_require__(36); // EXTERNAL MODULE: external {"this":"lodash"} var external_this_lodash_ = __webpack_require__(2); @@ -958,49 +965,7 @@ external_this_wp_deprecated_default()('wp.nux', { /***/ }), -/***/ 4: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["data"]; }()); - -/***/ }), - -/***/ 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; -} - -/***/ }), - -/***/ 8: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["compose"]; }()); - -/***/ }), - -/***/ 9: +/***/ 5: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -1020,6 +985,13 @@ function _defineProperty(obj, key, value) { return obj; } +/***/ }), + +/***/ 8: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["compose"]; }()); + /***/ }) /******/ }); \ No newline at end of file diff --git a/wp-includes/js/dist/nux.min.js b/wp-includes/js/dist/nux.min.js index 0cb261a90d..f79b180ea2 100644 --- a/wp-includes/js/dist/nux.min.js +++ b/wp-includes/js/dist/nux.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.nux=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=384)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},18:function(e,t,n){"use strict";var r=n(31);function i(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&void 0!==arguments[0])||arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"DISABLE_TIPS":return!1;case"ENABLE_TIPS":return!0}return e},dismissedTips:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"DISMISS_TIP":return Object(s.a)({},e,Object(a.a)({},t.id,!0));case"ENABLE_TIPS":return{}}return e}}),p=Object(c.combineReducers)({guides:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"TRIGGER_GUIDE":return[].concat(Object(l.a)(e),[t.tipIds])}return e},preferences:f});function d(e){return{type:"TRIGGER_GUIDE",tipIds:e}}function b(e){return{type:"DISMISS_TIP",id:e}}function v(){return{type:"DISABLE_TIPS"}}function h(){return{type:"ENABLE_TIPS"}}var y=n(22),O=n(34),j=n(2),g=Object(O.a)((function(e,t){var n=!0,r=!1,i=void 0;try{for(var u,o=e.guides[Symbol.iterator]();!(n=(u=o.next()).done);n=!0){var c=u.value;if(Object(j.includes)(c,t)){var a=Object(j.difference)(c,Object(j.keys)(e.preferences.dismissedTips)),s=Object(y.a)(a,2),l=s[0],f=void 0===l?null:l,p=s[1];return{tipIds:c,currentTipId:f,nextTipId:void 0===p?null:p}}}}catch(e){r=!0,i=e}finally{try{n||null==o.return||o.return()}finally{if(r)throw i}}return null}),(function(e){return[e.guides,e.preferences.dismissedTips]}));function m(e,t){if(!e.preferences.areTipsEnabled)return!1;if(Object(j.has)(e.preferences.dismissedTips,[t]))return!1;var n=g(e,t);return!n||n.currentTipId===t}function T(e){return e.preferences.areTipsEnabled}Object(c.registerStore)("core/nux",{reducer:p,actions:r,selectors:i,persist:["preferences"]});var w=n(0),x=n(8),I=n(3),S=n(1);function E(e){e.stopPropagation()}var _=Object(x.compose)(Object(c.withSelect)((function(e,t){var n=t.tipId,r=e("core/nux"),i=r.isTipVisible,u=(0,r.getAssociatedGuide)(n);return{isVisible:i(n),hasNextTip:!(!u||!u.nextTipId)}})),Object(c.withDispatch)((function(e,t){var n=t.tipId,r=e("core/nux"),i=r.dismissTip,u=r.disableTips;return{onDismiss:function(){i(n)},onDisable:function(){u()}}})))((function(e){var t=e.position,n=void 0===t?"middle right":t,r=e.children,i=e.isVisible,u=e.hasNextTip,o=e.onDismiss,c=e.onDisable,a=Object(w.useRef)(null),s=Object(w.useCallback)((function(e){a.current&&(a.current.contains(e.relatedTarget)||c())}),[c,a]);return i?Object(w.createElement)(I.Popover,{className:"nux-dot-tip",position:n,noArrow:!0,focusOnMount:"container",shouldAnchorIncludePadding:!0,role:"dialog","aria-label":Object(S.__)("Editor tips"),onClick:E,onFocusOutside:s},Object(w.createElement)("p",null,r),Object(w.createElement)("p",null,Object(w.createElement)(I.Button,{isLink:!0,onClick:o},u?Object(S.__)("See next tip"):Object(S.__)("Got it"))),Object(w.createElement)(I.Button,{className:"nux-dot-tip__disable",icon:"no-alt",label:Object(S.__)("Disable tips"),onClick:c})):null}));n.d(t,"DotTip",(function(){return _})),o()("wp.nux",{hint:"wp.components.Guide can be used to show a user guide."})},4:function(e,t){!function(){e.exports=this.wp.data}()},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(9);function i(e){for(var t=1;t0&&void 0!==arguments[0])||arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"DISABLE_TIPS":return!1;case"ENABLE_TIPS":return!0}return e},dismissedTips:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"DISMISS_TIP":return function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"TRIGGER_GUIDE":return[].concat(Object(s.a)(e),[t.tipIds])}return e},preferences:f});function d(e){return{type:"TRIGGER_GUIDE",tipIds:e}}function b(e){return{type:"DISMISS_TIP",id:e}}function v(){return{type:"DISABLE_TIPS"}}function h(){return{type:"ENABLE_TIPS"}}var y=n(22),O=n(36),j=n(2),g=Object(O.a)((function(e,t){var n=!0,r=!1,i=void 0;try{for(var o,u=e.guides[Symbol.iterator]();!(n=(o=u.next()).done);n=!0){var c=o.value;if(Object(j.includes)(c,t)){var a=Object(j.difference)(c,Object(j.keys)(e.preferences.dismissedTips)),s=Object(y.a)(a,2),l=s[0],f=void 0===l?null:l,p=s[1];return{tipIds:c,currentTipId:f,nextTipId:void 0===p?null:p}}}}catch(e){r=!0,i=e}finally{try{n||null==u.return||u.return()}finally{if(r)throw i}}return null}),(function(e){return[e.guides,e.preferences.dismissedTips]}));function m(e,t){if(!e.preferences.areTipsEnabled)return!1;if(Object(j.has)(e.preferences.dismissedTips,[t]))return!1;var n=g(e,t);return!n||n.currentTipId===t}function w(e){return e.preferences.areTipsEnabled}Object(c.registerStore)("core/nux",{reducer:p,actions:r,selectors:i,persist:["preferences"]});var T=n(0),x=n(8),I=n(3),S=n(1);function E(e){e.stopPropagation()}var _=Object(x.compose)(Object(c.withSelect)((function(e,t){var n=t.tipId,r=e("core/nux"),i=r.isTipVisible,o=(0,r.getAssociatedGuide)(n);return{isVisible:i(n),hasNextTip:!(!o||!o.nextTipId)}})),Object(c.withDispatch)((function(e,t){var n=t.tipId,r=e("core/nux"),i=r.dismissTip,o=r.disableTips;return{onDismiss:function(){i(n)},onDisable:function(){o()}}})))((function(e){var t=e.position,n=void 0===t?"middle right":t,r=e.children,i=e.isVisible,o=e.hasNextTip,u=e.onDismiss,c=e.onDisable,a=Object(T.useRef)(null),s=Object(T.useCallback)((function(e){a.current&&(a.current.contains(e.relatedTarget)||c())}),[c,a]);return i?Object(T.createElement)(I.Popover,{className:"nux-dot-tip",position:n,noArrow:!0,focusOnMount:"container",shouldAnchorIncludePadding:!0,role:"dialog","aria-label":Object(S.__)("Editor tips"),onClick:E,onFocusOutside:s},Object(T.createElement)("p",null,r),Object(T.createElement)("p",null,Object(T.createElement)(I.Button,{isLink:!0,onClick:u},o?Object(S.__)("See next tip"):Object(S.__)("Got it"))),Object(T.createElement)(I.Button,{className:"nux-dot-tip__disable",icon:"no-alt",label:Object(S.__)("Disable tips"),onClick:c})):null}));n.d(t,"DotTip",(function(){return _})),u()("wp.nux",{hint:"wp.components.Guide can be used to show a user guide."})},5: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}))},8:function(e,t){!function(){e.exports=this.wp.compose}()}}); \ No newline at end of file diff --git a/wp-includes/js/dist/plugins.js b/wp-includes/js/dist/plugins.js index 88fe7f357b..a377505fcc 100644 --- a/wp-includes/js/dist/plugins.js +++ b/wp-includes/js/dist/plugins.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["plugins"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 386); +/******/ return __webpack_require__(__webpack_require__.s = 434); /******/ }) /************************************************************************/ /******/ ({ @@ -94,7 +94,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["plugins"] = /***/ }), -/***/ 12: +/***/ 11: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -119,7 +119,7 @@ function _extends() { /***/ }), -/***/ 13: +/***/ 12: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -142,7 +142,7 @@ function _createClass(Constructor, protoProps, staticProps) { /***/ }), -/***/ 14: +/***/ 13: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -155,7 +155,7 @@ function _classCallCheck(instance, Constructor) { /***/ }), -/***/ 15: +/***/ 14: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -174,7 +174,7 @@ function _possibleConstructorReturn(self, call) { /***/ }), -/***/ 16: +/***/ 15: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -188,7 +188,7 @@ function _getPrototypeOf(o) { /***/ }), -/***/ 17: +/***/ 16: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -242,6 +242,8 @@ function _inherits(subClass, superClass) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; }); function _typeof(obj) { + "@babel/helpers - typeof"; + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; @@ -257,29 +259,29 @@ function _typeof(obj) { /***/ }), -/***/ 386: +/***/ 434: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js -var classCallCheck = __webpack_require__(14); +var classCallCheck = __webpack_require__(13); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(13); +var createClass = __webpack_require__(12); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js -var possibleConstructorReturn = __webpack_require__(15); +var possibleConstructorReturn = __webpack_require__(14); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js -var getPrototypeOf = __webpack_require__(16); +var getPrototypeOf = __webpack_require__(15); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js var assertThisInitialized = __webpack_require__(7); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules -var inherits = __webpack_require__(17); +var inherits = __webpack_require__(16); // EXTERNAL MODULE: external {"this":["wp","element"]} var external_this_wp_element_ = __webpack_require__(0); @@ -291,7 +293,7 @@ var external_this_lodash_ = __webpack_require__(2); var external_this_wp_hooks_ = __webpack_require__(29); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(12); +var esm_extends = __webpack_require__(11); // EXTERNAL MODULE: external {"this":["wp","compose"]} var external_this_wp_compose_ = __webpack_require__(8); @@ -335,8 +337,8 @@ var plugin_context_withPluginContext = function withPluginContext(mapContextToPr }, 'withPluginContext'); }; -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js -var objectSpread = __webpack_require__(6); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(5); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js var esm_typeof = __webpack_require__(32); @@ -345,6 +347,10 @@ var esm_typeof = __webpack_require__(32); +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /* eslint no-console: [ 'error', { allow: [ 'error' ] } ] */ /** @@ -480,7 +486,7 @@ function registerPlugin(name, settings) { return null; } - plugins[name] = Object(objectSpread["a" /* default */])({ + plugins[name] = _objectSpread({ name: name, icon: 'admin-plugins' }, settings); @@ -695,30 +701,24 @@ function (_Component) { /***/ }), -/***/ 6: +/***/ 5: /***/ (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]); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true }); + } else { + obj[key] = value; } - return target; + return obj; } /***/ }), @@ -743,28 +743,6 @@ function _assertThisInitialized(self) { (function() { module.exports = this["wp"]["compose"]; }()); -/***/ }), - -/***/ 9: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} - /***/ }) /******/ }); \ No newline at end of file diff --git a/wp-includes/js/dist/plugins.min.js b/wp-includes/js/dist/plugins.min.js index ba91218b10..cb0386661b 100644 --- a/wp-includes/js/dist/plugins.min.js +++ b/wp-includes/js/dist/plugins.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.plugins=function(e){var t={};function n(r){if(t[r])return t[r].exports;var u=t[r]={i:r,l:!1,exports:{}};return e[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var u in e)n.d(r,u,function(t){return e[t]}.bind(null,u));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=386)}({0:function(e,t){!function(){e.exports=this.wp.element}()},12:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t= 0) continue; + if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; + target[key] = source[key]; + } + } + + return target; +} + +/***/ }), + +/***/ 41: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; }); +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + return target; +} + +/***/ }), + +/***/ 437: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(5); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(19); + +// 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); + +// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/svg/index.js + + + +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + +/** + * External dependencies + */ + +/** + * WordPress dependencies + */ + + +var svg_Circle = function Circle(props) { + return Object(external_this_wp_element_["createElement"])('circle', props); +}; +var svg_G = function G(props) { + return Object(external_this_wp_element_["createElement"])('g', props); +}; +var svg_Path = function Path(props) { + return Object(external_this_wp_element_["createElement"])('path', props); +}; +var svg_Polygon = function Polygon(props) { + return Object(external_this_wp_element_["createElement"])('polygon', props); +}; +var svg_Rect = function Rect(props) { + return Object(external_this_wp_element_["createElement"])('rect', props); +}; +var svg_SVG = function SVG(_ref) { + var className = _ref.className, + isPressed = _ref.isPressed, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["className", "isPressed"]); + + var appliedProps = _objectSpread({}, props, { + className: classnames_default()(className, { + 'is-pressed': isPressed + }) || undefined, + role: 'img', + 'aria-hidden': 'true', + focusable: 'false' + }); // Disable reason: We need to have a way to render HTML tag for web. + // eslint-disable-next-line react/forbid-elements + + + return Object(external_this_wp_element_["createElement"])("svg", appliedProps); +}; + +// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/horizontal-rule/index.js +var HorizontalRule = 'hr'; + +// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/block-quotation/index.js +var BlockQuotation = 'blockquote'; + +// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/index.js +/* concated harmony reexport Circle */__webpack_require__.d(__webpack_exports__, "Circle", function() { return svg_Circle; }); +/* concated harmony reexport G */__webpack_require__.d(__webpack_exports__, "G", function() { return svg_G; }); +/* concated harmony reexport Path */__webpack_require__.d(__webpack_exports__, "Path", function() { return svg_Path; }); +/* concated harmony reexport Polygon */__webpack_require__.d(__webpack_exports__, "Polygon", function() { return svg_Polygon; }); +/* concated harmony reexport Rect */__webpack_require__.d(__webpack_exports__, "Rect", function() { return svg_Rect; }); +/* concated harmony reexport SVG */__webpack_require__.d(__webpack_exports__, "SVG", function() { return svg_SVG; }); +/* concated harmony reexport HorizontalRule */__webpack_require__.d(__webpack_exports__, "HorizontalRule", function() { return HorizontalRule; }); +/* concated harmony reexport BlockQuotation */__webpack_require__.d(__webpack_exports__, "BlockQuotation", function() { return BlockQuotation; }); + + + + + +/***/ }), + +/***/ 5: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/wp-includes/js/dist/primitives.min.js b/wp-includes/js/dist/primitives.min.js new file mode 100644 index 0000000000..25cb8b71a7 --- /dev/null +++ b/wp-includes/js/dist/primitives.min.js @@ -0,0 +1,7 @@ +/*! This file is auto-generated */ +this.wp=this.wp||{},this.wp.primitives=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=437)}({0:function(e,t){!function(){e.exports=this.wp.element}()},10:function(e,t,r){var n; +/*! + Copyright (c) 2017 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(u[r]=e[r])}return u}},41:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,o={},u=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}r.d(t,"a",(function(){return n}))},437:function(e,t,r){"use strict";r.r(t);var n=r(5),o=r(19),u=r(10),c=r.n(u),i=r(0);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var a=function(e){return Object(i.createElement)("circle",e)},l=function(e){return Object(i.createElement)("g",e)},s=function(e){return Object(i.createElement)("path",e)},p=function(e){return Object(i.createElement)("polygon",e)},b=function(e){return Object(i.createElement)("rect",e)},O=function(e){var t=e.className,r=e.isPressed,u=function(e){for(var t=1;tvoid)=>void)} + */ +function createRequestIdleCallback() { + if (Object(esm_typeof["a" /* default */])('window') === undefined) { + return function (callback) { + setTimeout(function () { + return callback(Date.now()); + }, 0); + }; + } + + return window.requestIdleCallback || window.requestAnimationFrame; +} +/* harmony default export */ var request_idle_callback = (createRequestIdleCallback()); + +// CONCATENATED MODULE: ./node_modules/@wordpress/priority-queue/build-module/index.js +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createQueue", function() { return build_module_createQueue; }); +/** + * Internal dependencies + */ + /** * Enqueued callback to invoke once idle time permits. * @@ -126,8 +177,6 @@ __webpack_require__.r(__webpack_exports__); * @property {WPPriorityQueueFlush} flush Flush queue for context. */ -/** @type {typeof window.requestIdleCallback|typeof window.requestAnimationFrame} */ -var requestIdleCallback = window.requestIdleCallback ? window.requestIdleCallback : window.requestAnimationFrame; /** * Creates a context-aware queue that only executes * the last task of a given context. @@ -151,7 +200,7 @@ var requestIdleCallback = window.requestIdleCallback ? window.requestIdleCallbac * @return {WPPriorityQueue} Queue object with `add` and `flush` methods. */ -var createQueue = function createQueue() { +var build_module_createQueue = function createQueue() { /** @type {WPPriorityQueueContext[]} */ var waitingList = []; /** @type {WeakMap} */ @@ -190,7 +239,7 @@ var createQueue = function createQueue() { elementsMap.delete(nextElement); } while (hasTimeRemaining()); - requestIdleCallback(runWaitingList); + request_idle_callback(runWaitingList); }; /** * Add a callback to the queue for a given context. @@ -211,7 +260,7 @@ var createQueue = function createQueue() { if (!isRunning) { isRunning = true; - requestIdleCallback(runWaitingList); + request_idle_callback(runWaitingList); } }; /** @@ -231,9 +280,13 @@ var createQueue = function createQueue() { return false; } - elementsMap.delete(element); var index = waitingList.indexOf(element); waitingList.splice(index, 1); + var callback = + /** @type {WPPriorityQueueCallback} */ + elementsMap.get(element); + elementsMap.delete(element); + callback(); return true; }; diff --git a/wp-includes/js/dist/priority-queue.min.js b/wp-includes/js/dist/priority-queue.min.js index 2cc2be03db..3efa17a4c1 100644 --- a/wp-includes/js/dist/priority-queue.min.js +++ b/wp-includes/js/dist/priority-queue.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.priorityQueue=function(e){var t={};function n(r){if(t[r])return t[r].exports;var u=t[r]={i:r,l:!1,exports:{}};return e[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var u in e)n.d(r,u,function(t){return e[t]}.bind(null,u));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=351)}({351:function(e,t,n){"use strict";n.r(t),n.d(t,"createQueue",(function(){return u}));var r=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,u=function(){var e=[],t=new WeakMap,n=!1,u=function u(i){var o="number"==typeof i?function(){return!1}:function(){return i.timeRemaining()>0};do{if(0===e.length)return void(n=!1);var f=e.shift();t.get(f)(),t.delete(f)}while(o());r(u)};return{add:function(i,o){t.has(i)||e.push(i),t.set(i,o),n||(n=!0,r(u))},flush:function(n){if(!t.has(n))return!1;t.delete(n);var r=e.indexOf(n);return e.splice(r,1),!0}}}}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.priorityQueue=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=440)}({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}))},440:function(e,t,n){"use strict";n.r(t);var r=n(32);var o=void 0===Object(r.a)("window")?function(e){setTimeout((function(){return e(Date.now())}),0)}:window.requestIdleCallback||window.requestAnimationFrame;n.d(t,"createQueue",(function(){return u}));var u=function(){var e=[],t=new WeakMap,n=!1,r=function r(u){var i="number"==typeof u?function(){return!1}:function(){return u.timeRemaining()>0};do{if(0===e.length)return void(n=!1);var f=e.shift();t.get(f)(),t.delete(f)}while(i());o(r)};return{add:function(u,i){t.has(u)||e.push(u),t.set(u,i),n||(n=!0,o(r))},flush:function(n){if(!t.has(n))return!1;var r=e.indexOf(n);e.splice(r,1);var o=t.get(n);return t.delete(n),o(),!0}}}}}); \ No newline at end of file diff --git a/wp-includes/js/dist/redux-routine.js b/wp-includes/js/dist/redux-routine.js index 0f9ef9a166..88c622723c 100644 --- a/wp-includes/js/dist/redux-routine.js +++ b/wp-includes/js/dist/redux-routine.js @@ -82,12 +82,24 @@ this["wp"] = this["wp"] || {}; this["wp"]["reduxRoutine"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 387); +/******/ return __webpack_require__(__webpack_require__.s = 438); /******/ }) /************************************************************************/ /******/ ({ -/***/ 108: +/***/ 123: +/***/ (function(module, exports) { + +module.exports = isPromise; + +function isPromise(obj) { + return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function'; +} + + +/***/ }), + +/***/ 134: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -99,7 +111,7 @@ Object.defineProperty(exports, "__esModule", { var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; }; -var _keys = __webpack_require__(211); +var _keys = __webpack_require__(249); var _keys2 = _interopRequireDefault(_keys); @@ -159,7 +171,7 @@ exports.default = is; /***/ }), -/***/ 210: +/***/ 248: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -170,7 +182,7 @@ Object.defineProperty(exports, "__esModule", { }); exports.createChannel = exports.subscribe = exports.cps = exports.apply = exports.call = exports.invoke = exports.delay = exports.race = exports.join = exports.fork = exports.error = exports.all = undefined; -var _keys = __webpack_require__(211); +var _keys = __webpack_require__(249); var _keys2 = _interopRequireDefault(_keys); @@ -300,7 +312,7 @@ var createChannel = exports.createChannel = function createChannel(callback) { /***/ }), -/***/ 211: +/***/ 249: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -324,7 +336,7 @@ exports.default = keys; /***/ }), -/***/ 232: +/***/ 271: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -335,7 +347,7 @@ Object.defineProperty(exports, "__esModule", { }); exports.wrapControls = exports.asyncControls = exports.create = undefined; -var _helpers = __webpack_require__(210); +var _helpers = __webpack_require__(248); Object.keys(_helpers).forEach(function (key) { if (key === "default") return; @@ -347,15 +359,15 @@ Object.keys(_helpers).forEach(function (key) { }); }); -var _create = __webpack_require__(352); +var _create = __webpack_require__(400); var _create2 = _interopRequireDefault(_create); -var _async = __webpack_require__(354); +var _async = __webpack_require__(402); var _async2 = _interopRequireDefault(_async); -var _wrap = __webpack_require__(356); +var _wrap = __webpack_require__(404); var _wrap2 = _interopRequireDefault(_wrap); @@ -367,7 +379,7 @@ exports.wrapControls = _wrap2.default; /***/ }), -/***/ 352: +/***/ 400: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -377,11 +389,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _builtin = __webpack_require__(353); +var _builtin = __webpack_require__(401); var _builtin2 = _interopRequireDefault(_builtin); -var _is = __webpack_require__(108); +var _is = __webpack_require__(134); var _is2 = _interopRequireDefault(_is); @@ -453,7 +465,7 @@ exports.default = create; /***/ }), -/***/ 353: +/***/ 401: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -464,7 +476,7 @@ Object.defineProperty(exports, "__esModule", { }); exports.iterator = exports.array = exports.object = exports.error = exports.any = undefined; -var _is = __webpack_require__(108); +var _is = __webpack_require__(134); var _is2 = _interopRequireDefault(_is); @@ -554,7 +566,7 @@ exports.default = [error, iterator, array, object, any]; /***/ }), -/***/ 354: +/***/ 402: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -565,13 +577,13 @@ Object.defineProperty(exports, "__esModule", { }); exports.race = exports.join = exports.fork = exports.promise = undefined; -var _is = __webpack_require__(108); +var _is = __webpack_require__(134); var _is2 = _interopRequireDefault(_is); -var _helpers = __webpack_require__(210); +var _helpers = __webpack_require__(248); -var _dispatcher = __webpack_require__(355); +var _dispatcher = __webpack_require__(403); var _dispatcher2 = _interopRequireDefault(_dispatcher); @@ -676,7 +688,7 @@ exports.default = [promise, fork, join, race, subscribe]; /***/ }), -/***/ 355: +/***/ 403: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -709,7 +721,7 @@ exports.default = createDispatcher; /***/ }), -/***/ 356: +/***/ 404: /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -720,7 +732,7 @@ Object.defineProperty(exports, "__esModule", { }); exports.cps = exports.call = undefined; -var _is = __webpack_require__(108); +var _is = __webpack_require__(134); var _is2 = _interopRequireDefault(_is); @@ -752,7 +764,7 @@ exports.default = [call, cps]; /***/ }), -/***/ 387: +/***/ 438: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -769,17 +781,19 @@ __webpack_require__.r(__webpack_exports__); * @return {boolean} Whether object is a generator. */ function isGenerator(object) { - return !!object && object[Symbol.toStringTag] === 'Generator'; + // Check that iterator (next) and iterable (Symbol.iterator) interfaces are satisfied. + // These checks seem to be compatible with several generator helpers as well as the native implementation. + return !!object && typeof object[Symbol.iterator] === 'function' && typeof object.next === 'function'; } // EXTERNAL MODULE: ./node_modules/rungen/dist/index.js -var dist = __webpack_require__(232); +var dist = __webpack_require__(271); // EXTERNAL MODULE: external {"this":"lodash"} var external_this_lodash_ = __webpack_require__(2); // EXTERNAL MODULE: ./node_modules/is-promise/index.js -var is_promise = __webpack_require__(98); +var is_promise = __webpack_require__(123); var is_promise_default = /*#__PURE__*/__webpack_require__.n(is_promise); // CONCATENATED MODULE: ./node_modules/@wordpress/redux-routine/build-module/is-action.js @@ -917,18 +931,6 @@ function createMiddleware() { } -/***/ }), - -/***/ 98: -/***/ (function(module, exports) { - -module.exports = isPromise; - -function isPromise(obj) { - return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function'; -} - - /***/ }) /******/ })["default"]; \ No newline at end of file diff --git a/wp-includes/js/dist/redux-routine.min.js b/wp-includes/js/dist/redux-routine.min.js index 85fa62d8c9..a7ca31ed0a 100644 --- a/wp-includes/js/dist/redux-routine.min.js +++ b/wp-includes/js/dist/redux-routine.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.reduxRoutine=function(t){var r={};function e(n){if(r[n])return r[n].exports;var u=r[n]={i:n,l:!1,exports:{}};return t[n].call(u.exports,u,u.exports,e),u.l=!0,u.exports}return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,r){if(1&r&&(t=e(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var u in t)e.d(n,u,function(r){return t[r]}.bind(null,u));return n},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s=387)}({108:function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},o=e(211),c=(n=o)&&n.__esModule?n:{default:n};var f={obj:function(t){return"object"===(void 0===t?"undefined":u(t))&&!!t},all:function(t){return f.obj(t)&&t.type===c.default.all},error:function(t){return f.obj(t)&&t.type===c.default.error},array:Array.isArray,func:function(t){return"function"==typeof t},promise:function(t){return t&&f.func(t.then)},iterator:function(t){return t&&f.func(t.next)&&f.func(t.throw)},fork:function(t){return f.obj(t)&&t.type===c.default.fork},join:function(t){return f.obj(t)&&t.type===c.default.join},race:function(t){return f.obj(t)&&t.type===c.default.race},call:function(t){return f.obj(t)&&t.type===c.default.call},cps:function(t){return f.obj(t)&&t.type===c.default.cps},subscribe:function(t){return f.obj(t)&&t.type===c.default.subscribe},channel:function(t){return f.obj(t)&&f.func(t.subscribe)}};r.default=f},2:function(t,r){!function(){t.exports=this.lodash}()},210:function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.createChannel=r.subscribe=r.cps=r.apply=r.call=r.invoke=r.delay=r.race=r.join=r.fork=r.error=r.all=void 0;var n,u=e(211),o=(n=u)&&n.__esModule?n:{default:n};r.all=function(t){return{type:o.default.all,value:t}},r.error=function(t){return{type:o.default.error,error:t}},r.fork=function(t){for(var r=arguments.length,e=Array(r>1?r-1:0),n=1;n1?r-1:0),n=1;n2?e-2:0),u=2;u1?r-1:0),n=1;n0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,e=Object(u.map)(t,(function(t,r){return function(e,n,u,o,i){if(l=r,!f(a=e)||a.type!==l)return!1;var a,l,s=t(e);return c()(s)?s.then(o,i):o(s),!0}}));e.push((function(t,e){return!!f(t)&&(r(t),e(),!0)}));var o=Object(n.create)(e);return function(t){return new Promise((function(e,n){return o(t,(function(t){f(t)&&r(t),e(t)}),n)}))}}function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(r){var e=i(t,r.dispatch);return function(t){return function(r){return(n=r)&&"Generator"===n[Symbol.toStringTag]?e(r):t(r);var n}}}}e.d(r,"default",(function(){return a}))},98:function(t,r){t.exports=function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof t.then}}}).default; \ No newline at end of file +this.wp=this.wp||{},this.wp.reduxRoutine=function(t){var r={};function e(n){if(r[n])return r[n].exports;var u=r[n]={i:n,l:!1,exports:{}};return t[n].call(u.exports,u,u.exports,e),u.l=!0,u.exports}return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,r){if(1&r&&(t=e(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var u in t)e.d(n,u,function(r){return t[r]}.bind(null,u));return n},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s=438)}({123:function(t,r){t.exports=function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof t.then}},134:function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},o=e(249),c=(n=o)&&n.__esModule?n:{default:n};var f={obj:function(t){return"object"===(void 0===t?"undefined":u(t))&&!!t},all:function(t){return f.obj(t)&&t.type===c.default.all},error:function(t){return f.obj(t)&&t.type===c.default.error},array:Array.isArray,func:function(t){return"function"==typeof t},promise:function(t){return t&&f.func(t.then)},iterator:function(t){return t&&f.func(t.next)&&f.func(t.throw)},fork:function(t){return f.obj(t)&&t.type===c.default.fork},join:function(t){return f.obj(t)&&t.type===c.default.join},race:function(t){return f.obj(t)&&t.type===c.default.race},call:function(t){return f.obj(t)&&t.type===c.default.call},cps:function(t){return f.obj(t)&&t.type===c.default.cps},subscribe:function(t){return f.obj(t)&&t.type===c.default.subscribe},channel:function(t){return f.obj(t)&&f.func(t.subscribe)}};r.default=f},2:function(t,r){!function(){t.exports=this.lodash}()},248:function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.createChannel=r.subscribe=r.cps=r.apply=r.call=r.invoke=r.delay=r.race=r.join=r.fork=r.error=r.all=void 0;var n,u=e(249),o=(n=u)&&n.__esModule?n:{default:n};r.all=function(t){return{type:o.default.all,value:t}},r.error=function(t){return{type:o.default.error,error:t}},r.fork=function(t){for(var r=arguments.length,e=Array(r>1?r-1:0),n=1;n1?r-1:0),n=1;n2?e-2:0),u=2;u1?r-1:0),n=1;n0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,e=Object(u.map)(t,(function(t,r){return function(e,n,u,o,i){if(l=r,!f(a=e)||a.type!==l)return!1;var a,l,s=t(e);return c()(s)?s.then(o,i):o(s),!0}}));e.push((function(t,e){return!!f(t)&&(r(t),e(),!0)}));var o=Object(n.create)(e);return function(t){return new Promise((function(e,n){return o(t,(function(t){f(t)&&r(t),e(t)}),n)}))}}function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(r){var e=i(t,r.dispatch);return function(t){return function(r){return(n=r)&&"function"==typeof n[Symbol.iterator]&&"function"==typeof n.next?e(r):t(r);var n}}}}e.d(r,"default",(function(){return a}))}}).default; \ No newline at end of file diff --git a/wp-includes/js/dist/rich-text.js b/wp-includes/js/dist/rich-text.js index caae65b40c..c2fc0e59ce 100644 --- a/wp-includes/js/dist/rich-text.js +++ b/wp-includes/js/dist/rich-text.js @@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["richText"] = /******/ /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 366); +/******/ return __webpack_require__(__webpack_require__.s = 414); /******/ }) /************************************************************************/ /******/ ({ @@ -152,7 +152,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! /***/ }), -/***/ 12: +/***/ 11: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -177,7 +177,7 @@ function _extends() { /***/ }), -/***/ 13: +/***/ 12: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -200,7 +200,7 @@ function _createClass(Constructor, protoProps, staticProps) { /***/ }), -/***/ 14: +/***/ 13: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -213,7 +213,7 @@ function _classCallCheck(instance, Constructor) { /***/ }), -/***/ 15: +/***/ 14: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -232,7 +232,7 @@ function _possibleConstructorReturn(self, call) { /***/ }), -/***/ 16: +/***/ 15: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -246,7 +246,7 @@ function _getPrototypeOf(o) { /***/ }), -/***/ 17: +/***/ 16: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -280,7 +280,7 @@ function _inherits(subClass, superClass) { /***/ }), -/***/ 18: +/***/ 17: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -296,7 +296,7 @@ function _arrayWithoutHoles(arr) { } } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js -var iterableToArray = __webpack_require__(31); +var iterableToArray = __webpack_require__(33); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js function _nonIterableSpread() { @@ -313,13 +313,6 @@ function _toConsumableArray(arr) { /***/ }), -/***/ 19: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["keycodes"]; }()); - -/***/ }), - /***/ 2: /***/ (function(module, exports) { @@ -327,14 +320,10 @@ function _toConsumableArray(arr) { /***/ }), -/***/ 31: -/***/ (function(module, __webpack_exports__, __webpack_require__) { +/***/ 20: +/***/ (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"]["keycodes"]; }()); /***/ }), @@ -344,6 +333,8 @@ function _iterableToArray(iter) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; }); function _typeof(obj) { + "@babel/helpers - typeof"; + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; @@ -360,13 +351,24 @@ function _typeof(obj) { /***/ }), /***/ 33: +/***/ (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); +} + +/***/ }), + +/***/ 35: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["deprecated"]; }()); /***/ }), -/***/ 34: +/***/ 36: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -648,7 +650,14 @@ function isShallowEqual( a, b, fromIndex ) { /***/ }), -/***/ 366: +/***/ 4: +/***/ (function(module, exports) { + +(function() { module.exports = this["wp"]["data"]; }()); + +/***/ }), + +/***/ 414: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -667,8 +676,8 @@ __webpack_require__.d(actions_namespaceObject, "removeFormatTypes", function() { // EXTERNAL MODULE: external {"this":["wp","data"]} var external_this_wp_data_ = __webpack_require__(4); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js -var objectSpread = __webpack_require__(6); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(5); // EXTERNAL MODULE: external {"this":"lodash"} var external_this_lodash_ = __webpack_require__(2); @@ -676,6 +685,10 @@ var external_this_lodash_ = __webpack_require__(2); // CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/store/reducer.js +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -700,7 +713,7 @@ function reducer_formatTypes() { switch (action.type) { case 'ADD_FORMAT_TYPES': - return Object(objectSpread["a" /* default */])({}, state, Object(external_this_lodash_["keyBy"])(action.formatTypes, 'name')); + return _objectSpread({}, state, {}, Object(external_this_lodash_["keyBy"])(action.formatTypes, 'name')); case 'REMOVE_FORMAT_TYPES': return Object(external_this_lodash_["omit"])(state, action.names); @@ -713,7 +726,7 @@ function reducer_formatTypes() { })); // EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js -var rememo = __webpack_require__(34); +var rememo = __webpack_require__(36); // CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/store/selectors.js /** @@ -838,7 +851,7 @@ Object(external_this_wp_data_["registerStore"])('core/rich-text', { }); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(18); +var toConsumableArray = __webpack_require__(17); // CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/is-format-equal.js /** @@ -899,6 +912,10 @@ function isFormatEqual(format1, format2) { // CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/normalise-formats.js +function normalise_formats_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function normalise_formats_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { normalise_formats_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { normalise_formats_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * Internal dependencies */ @@ -929,7 +946,7 @@ function normaliseFormats(value) { newFormats[index] = newFormatsAtIndex; } }); - return Object(objectSpread["a" /* default */])({}, value, { + return normalise_formats_objectSpread({}, value, { formats: newFormats }); } @@ -938,6 +955,10 @@ function normaliseFormats(value) { +function apply_format_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function apply_format_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { apply_format_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { apply_format_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -1021,7 +1042,7 @@ function applyFormat(value, format) { } } - return normaliseFormats(Object(objectSpread["a" /* default */])({}, value, { + return normaliseFormats(apply_format_objectSpread({}, value, { formats: newFormats, // Always revise active formats. This serves as a placeholder for new // inputs with the format so new input appears with the format applied, @@ -1085,6 +1106,10 @@ var ZWNBSP = "\uFEFF"; +function create_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function create_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { create_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { create_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * WordPress dependencies */ @@ -1508,7 +1533,7 @@ function createFromElement(_ref3) { } else { // Indices should share a reference to the same formats array. // Only create a new reference if `formats` changes. - var mergeFormats = function mergeFormats(formats) { + function mergeFormats(formats) { if (mergeFormats.formats === formats) { return mergeFormats.newFormats; } @@ -1517,12 +1542,12 @@ function createFromElement(_ref3) { mergeFormats.formats = formats; mergeFormats.newFormats = newFormats; return newFormats; - }; // Since the formats parameter can be `undefined`, preset + } // Since the formats parameter can be `undefined`, preset // `mergeFormats` with a new reference. mergeFormats.newFormats = [format]; - mergePair(accumulator, Object(objectSpread["a" /* default */])({}, value, { + mergePair(accumulator, create_objectSpread({}, value, { formats: Array.from(value.formats, mergeFormats) })); } @@ -1987,6 +2012,10 @@ function join(values) { // CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/register-format-type.js +function register_format_type_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function register_format_type_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { register_format_type_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { register_format_type_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * WordPress dependencies */ @@ -2016,7 +2045,7 @@ function join(values) { */ function registerFormatType(name, settings) { - settings = Object(objectSpread["a" /* default */])({ + settings = register_format_type_objectSpread({ name: name }, settings); @@ -2088,6 +2117,10 @@ function registerFormatType(name, settings) { // CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/remove-format.js +function remove_format_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function remove_format_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { remove_format_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { remove_format_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -2144,7 +2177,7 @@ function removeFormat(value, formatType) { } } - return normaliseFormats(Object(objectSpread["a" /* default */])({}, value, { + return normaliseFormats(remove_format_objectSpread({}, value, { formats: newFormats, activeFormats: Object(external_this_lodash_["reject"])(activeFormats, { type: formatType @@ -2346,6 +2379,10 @@ function insertLineSeparator(value) { // CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/remove-line-separator.js +function remove_line_separator_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function remove_line_separator_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { remove_line_separator_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { remove_line_separator_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * Internal dependencies */ @@ -2389,7 +2426,7 @@ function removeLineSeparator(value) { if (collapsed && replacements[index] && replacements[index].length) { var newReplacements = replacements.slice(); newReplacements[index] = replacements[index].slice(0, -1); - newValue = Object(objectSpread["a" /* default */])({}, value, { + newValue = remove_line_separator_objectSpread({}, value, { replacements: newReplacements }); } else { @@ -2430,6 +2467,10 @@ function insertObject(value, formatToInsert, startIndex, endIndex) { // CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/slice.js +function slice_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function slice_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { slice_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { slice_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * Slice a Rich Text value from `startIndex` to `endIndex`. Indices are * retrieved from the selection if none are provided. This is similar to @@ -2449,7 +2490,7 @@ function slice(value) { text = value.text; if (startIndex === undefined || endIndex === undefined) { - return Object(objectSpread["a" /* default */])({}, value); + return slice_objectSpread({}, value); } return { @@ -2564,6 +2605,10 @@ function get_format_type_getFormatType(name) { +function to_tree_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function to_tree_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { to_tree_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { to_tree_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * Internal dependencies */ @@ -2602,7 +2647,7 @@ function fromFormat(_ref) { if (!formatType) { if (attributes) { - elementAttributes = Object(objectSpread["a" /* default */])({}, attributes, elementAttributes); + elementAttributes = to_tree_objectSpread({}, attributes, {}, elementAttributes); } return { @@ -2612,7 +2657,7 @@ function fromFormat(_ref) { }; } - elementAttributes = Object(objectSpread["a" /* default */])({}, unregisteredAttributes, elementAttributes); + elementAttributes = to_tree_objectSpread({}, unregisteredAttributes, {}, elementAttributes); for (var name in attributes) { var key = formatType.attributes ? formatType.attributes[name] : false; @@ -2795,7 +2840,7 @@ function toTree(_ref2) { } if (character === OBJECT_REPLACEMENT_CHARACTER) { - pointer = append(getParent(pointer), fromFormat(Object(objectSpread["a" /* default */])({}, replacements[i], { + pointer = append(getParent(pointer), fromFormat(to_tree_objectSpread({}, replacements[i], { object: true }))); // Ensure pointer is text node. @@ -2858,6 +2903,10 @@ function toTree(_ref2) { +function to_dom_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function to_dom_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { to_dom_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { to_dom_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * Internal dependencies */ @@ -2992,7 +3041,7 @@ function toDom(_ref5) { var endPath = []; if (prepareEditableTree) { - value = Object(objectSpread["a" /* default */])({}, value, { + value = to_dom_objectSpread({}, value, { formats: prepareEditableTree(value) }); } @@ -3093,11 +3142,11 @@ function applyValue(future, current) { if (futureAttributes) { for (var _ii = 0; _ii < futureAttributes.length; _ii++) { var _futureAttributes$_ii = futureAttributes[_ii], - name = _futureAttributes$_ii.name, + _name = _futureAttributes$_ii.name, value = _futureAttributes$_ii.value; - if (currentChild.getAttribute(name) !== value) { - currentChild.setAttribute(name, value); + if (currentChild.getAttribute(_name) !== value) { + currentChild.setAttribute(_name, value); } } } @@ -3147,11 +3196,8 @@ function applySelection(_ref7, current) { var ownerDocument = current.ownerDocument; var range = ownerDocument.createRange(); range.setStart(startContainer, startOffset); - range.setEnd(endContainer, endOffset); // Set back focus if focus is lost. - - if (ownerDocument.activeElement !== current) { - current.focus(); - } + range.setEnd(endContainer, endOffset); + var activeElement = ownerDocument.activeElement; if (selection.rangeCount > 0) { // If the to be added range and the live range are the same, there's no @@ -3164,10 +3210,11 @@ function applySelection(_ref7, current) { } selection.addRange(range); + activeElement.focus(); } // EXTERNAL MODULE: external {"this":["wp","escapeHtml"]} -var external_this_wp_escapeHtml_ = __webpack_require__(61); +var external_this_wp_escapeHtml_ = __webpack_require__(66); // CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/to-html-string.js /** @@ -3396,6 +3443,10 @@ function canOutdentListItems(value) { // CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/indent-list-items.js +function indent_list_items_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function indent_list_items_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { indent_list_items_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { indent_list_items_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * Internal dependencies */ @@ -3473,7 +3524,7 @@ function indentListItems(value, rootFormat) { } } - return Object(objectSpread["a" /* default */])({}, value, { + return indent_list_items_objectSpread({}, value, { replacements: newFormats }); } @@ -3557,6 +3608,10 @@ function getLastChildIndex(_ref, lineIndex) { // CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/outdent-list-items.js +function outdent_list_items_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function outdent_list_items_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { outdent_list_items_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { outdent_list_items_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * Internal dependencies */ @@ -3606,7 +3661,7 @@ function outdentListItems(value) { } } - return Object(objectSpread["a" /* default */])({}, value, { + return outdent_list_items_objectSpread({}, value, { replacements: newFormats }); } @@ -3614,6 +3669,10 @@ function outdentListItems(value) { // CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/change-list-type.js +function change_list_type_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function change_list_type_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { change_list_type_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { change_list_type_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * Internal dependencies */ @@ -3670,31 +3729,31 @@ function changeListType(value, newFormat) { return value; } - return Object(objectSpread["a" /* default */])({}, value, { + return change_list_type_objectSpread({}, value, { replacements: newReplacements }); } // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(12); +var esm_extends = __webpack_require__(11); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js -var classCallCheck = __webpack_require__(14); +var classCallCheck = __webpack_require__(13); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(13); +var createClass = __webpack_require__(12); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js -var possibleConstructorReturn = __webpack_require__(15); +var possibleConstructorReturn = __webpack_require__(14); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js -var getPrototypeOf = __webpack_require__(16); +var getPrototypeOf = __webpack_require__(15); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js var assertThisInitialized = __webpack_require__(7); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules -var inherits = __webpack_require__(17); +var inherits = __webpack_require__(16); // EXTERNAL MODULE: external {"this":["wp","element"]} var external_this_wp_element_ = __webpack_require__(0); @@ -3704,17 +3763,17 @@ var classnames = __webpack_require__(10); var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); // EXTERNAL MODULE: external {"this":["wp","keycodes"]} -var external_this_wp_keycodes_ = __webpack_require__(19); +var external_this_wp_keycodes_ = __webpack_require__(20); // EXTERNAL MODULE: external {"this":["wp","compose"]} var external_this_wp_compose_ = __webpack_require__(8); // EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]} -var external_this_wp_isShallowEqual_ = __webpack_require__(46); +var external_this_wp_isShallowEqual_ = __webpack_require__(50); var external_this_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_isShallowEqual_); // EXTERNAL MODULE: external {"this":["wp","deprecated"]} -var external_this_wp_deprecated_ = __webpack_require__(33); +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/rich-text/build-module/component/format-edit.js @@ -3735,6 +3794,7 @@ var interactiveContentTags = new Set(['a', 'audio', 'button', 'details', 'embed' function FormatEdit(_ref) { var formatTypes = _ref.formatTypes, onChange = _ref.onChange, + onFocus = _ref.onFocus, value = _ref.value, allowedFormats = _ref.allowedFormats, withoutInteractiveFormatting = _ref.withoutInteractiveFormatting; @@ -3766,7 +3826,8 @@ function FormatEdit(_ref) { isObjectActive: isObjectActive, activeObjectAttributes: isObjectActive ? activeObject.attributes || {} : {}, value: value, - onChange: onChange + onChange: onChange, + onFocus: onFocus }); }); } @@ -3823,14 +3884,14 @@ function updateFormats(_ref) { return value; } -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(9); - // CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/with-format-types.js +function with_format_types_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function with_format_types_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { with_format_types_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { with_format_types_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } /** * External dependencies @@ -3868,7 +3929,7 @@ function withFormatTypes(RichText) { } var selectPrefix = "format_prepare_props_(".concat(settings.name, ")_"); - return Object(objectSpread["a" /* default */])({}, acc, Object(external_this_lodash_["mapKeys"])(settings.__experimentalGetPropsForEditableTreePreparation(select, { + return with_format_types_objectSpread({}, acc, {}, Object(external_this_lodash_["mapKeys"])(settings.__experimentalGetPropsForEditableTreePreparation(select, { richTextIdentifier: identifier, blockClientId: clientId }), function (value, key) { @@ -3884,7 +3945,7 @@ function withFormatTypes(RichText) { } var dispatchPrefix = "format_on_change_props_(".concat(settings.name, ")_"); - return Object(objectSpread["a" /* default */])({}, acc, Object(external_this_lodash_["mapKeys"])(settings.__experimentalGetPropsForEditableTreeChangeHandler(dispatch, { + return with_format_types_objectSpread({}, acc, {}, Object(external_this_lodash_["mapKeys"])(settings.__experimentalGetPropsForEditableTreeChangeHandler(dispatch, { richTextIdentifier: identifier, blockClientId: clientId }), function (value, key) { @@ -3904,7 +3965,7 @@ function withFormatTypes(RichText) { blockClientId: clientId }; - var combined = Object(objectSpread["a" /* default */])({}, selectProps, dispatchProps); + var combined = with_format_types_objectSpread({}, selectProps, {}, dispatchProps); var name = settings.name; var selectPrefix = "format_prepare_props_(".concat(name, ")_"); @@ -3924,10 +3985,10 @@ function withFormatTypes(RichText) { if (settings.__experimentalCreateOnChangeEditableValue) { var _objectSpread2; - return Object(objectSpread["a" /* default */])({}, acc, (_objectSpread2 = {}, Object(defineProperty["a" /* default */])(_objectSpread2, "format_value_functions_(".concat(name, ")"), settings.__experimentalCreatePrepareEditableTree(propsByPrefix, args)), Object(defineProperty["a" /* default */])(_objectSpread2, "format_on_change_functions_(".concat(name, ")"), settings.__experimentalCreateOnChangeEditableValue(propsByPrefix, args)), _objectSpread2)); + return with_format_types_objectSpread({}, acc, (_objectSpread2 = {}, Object(defineProperty["a" /* default */])(_objectSpread2, "format_value_functions_(".concat(name, ")"), settings.__experimentalCreatePrepareEditableTree(propsByPrefix, args)), Object(defineProperty["a" /* default */])(_objectSpread2, "format_on_change_functions_(".concat(name, ")"), settings.__experimentalCreateOnChangeEditableValue(propsByPrefix, args)), _objectSpread2)); } - return Object(objectSpread["a" /* default */])({}, acc, Object(defineProperty["a" /* default */])({}, "format_prepare_functions_(".concat(name, ")"), settings.__experimentalCreatePrepareEditableTree(propsByPrefix, args))); + return with_format_types_objectSpread({}, acc, Object(defineProperty["a" /* default */])({}, "format_prepare_functions_(".concat(name, ")"), settings.__experimentalCreatePrepareEditableTree(propsByPrefix, args))); }, {}); }, [formatTypes, clientId, identifier, selectProps, dispatchProps]); return Object(external_this_wp_element_["createElement"])(RichText, Object(esm_extends["a" /* default */])({}, props, selectProps, newProps, { @@ -3982,6 +4043,19 @@ function BoundaryStyle(_ref) { return null; } +// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/inline-warning.js +/** + * WordPress dependencies + */ + +function InlineWarning(_ref) { + var forwardedRef = _ref.forwardedRef; + Object(external_this_wp_element_["useEffect"])(function () { + if (false) { var computedStyle; } + }, []); + return null; +} + // CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/index.js @@ -3993,6 +4067,10 @@ function BoundaryStyle(_ref) { +function component_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function component_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { component_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { component_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -4026,6 +4104,7 @@ function BoundaryStyle(_ref) { + /** * Browser dependencies */ @@ -4187,8 +4266,6 @@ function (_Component) { }, { key: "componentDidMount", value: function componentDidMount() { - if (false) { var computedStyle; } - this.applyRecord(this.record, { domOnly: true }); @@ -4363,25 +4440,35 @@ function (_Component) { if (unstableOnFocus) { unstableOnFocus(); - } // We know for certain that on focus, the old selection is invalid. It - // will be recalculated on the next mouseup, keyup, or touchend event. + } - - var index = undefined; - var activeFormats = EMPTY_ACTIVE_FORMATS; - this.record = Object(objectSpread["a" /* default */])({}, this.record, { - start: index, - end: index, - activeFormats: activeFormats - }); - this.props.onSelectionChange(index, index); - this.setState({ - activeFormats: activeFormats - }); // Update selection as soon as possible, which is at the next animation + if (!this.props.__unstableIsSelected) { + // We know for certain that on focus, the old selection is invalid. It + // will be recalculated on the next mouseup, keyup, or touchend event. + var index = undefined; + var activeFormats = EMPTY_ACTIVE_FORMATS; + this.record = component_objectSpread({}, this.record, { + start: index, + end: index, + activeFormats: activeFormats + }); + this.props.onSelectionChange(index, index); + this.setState({ + activeFormats: activeFormats + }); + } else { + this.props.onSelectionChange(this.record.start, this.record.end); + this.setState({ + activeFormats: getActiveFormats(component_objectSpread({}, this.record, { + activeFormats: undefined + }), EMPTY_ACTIVE_FORMATS) + }); + } // Update selection as soon as possible, which is at the next animation // frame. The event listener for selection changes may be added too late // at this point, but this focus event is still too early to calculate // the selection. + this.rafId = window.requestAnimationFrame(this.onSelectionChange); document.addEventListener('selectionchange', this.onSelectionChange); @@ -4450,12 +4537,18 @@ function (_Component) { var _this$props4 = this.props, inputRule = _this$props4.__unstableInputRule, markAutomaticChange = _this$props4.__unstableMarkAutomaticChange, + allowPrefixTransformations = _this$props4.__unstableAllowPrefixTransformations, formatTypes = _this$props4.formatTypes, setTimeout = _this$props4.setTimeout, clearTimeout = _this$props4.clearTimeout; // Create an undo level when input stops for over a second. clearTimeout(this.onInput.timeout); - this.onInput.timeout = setTimeout(this.onCreateUndoLevel, 1000); // Only run input rules when inserting text. + this.onInput.timeout = setTimeout(this.onCreateUndoLevel, 1000); + + if (!allowPrefixTransformations) { + return; + } // Only run input rules when inserting text. + if (inputType !== 'insertText') { return; @@ -4477,7 +4570,7 @@ function (_Component) { if (transformed !== change) { this.onCreateUndoLevel(); - this.onChange(Object(objectSpread["a" /* default */])({}, transformed, { + this.onChange(component_objectSpread({}, transformed, { activeFormats: activeFormats })); markAutomaticChange(); @@ -4558,7 +4651,7 @@ function (_Component) { onEnterFormattedText = _this$props5.__unstableOnEnterFormattedText, onExitFormattedText = _this$props5.__unstableOnExitFormattedText; - var newValue = Object(objectSpread["a" /* default */])({}, value, { + var newValue = component_objectSpread({}, value, { start: start, end: end, // Allow `getActiveFormats` to get new `activeFormats`. @@ -4872,7 +4965,7 @@ function (_Component) { if (newActiveFormatsLength !== activeFormats.length) { var _newActiveFormats = source.slice(0, newActiveFormatsLength); - var _newValue = Object(objectSpread["a" /* default */])({}, value, { + var _newValue = component_objectSpread({}, value, { activeFormats: _newActiveFormats }); @@ -4887,7 +4980,7 @@ function (_Component) { var newPos = start + (isReverse ? -1 : 1); var newActiveFormats = isReverse ? formatsBefore : formatsAfter; - var newValue = Object(objectSpread["a" /* default */])({}, value, { + var newValue = component_objectSpread({}, value, { start: newPos, end: newPos, activeFormats: newActiveFormats @@ -4962,7 +5055,7 @@ function (_Component) { this.record.end = selectionEnd; this.applyRecord(this.record); } else if (selectionChanged) { - this.record = Object(objectSpread["a" /* default */])({}, this.record, { + this.record = component_objectSpread({}, this.record, { start: selectionStart, end: selectionEnd }); @@ -5067,7 +5160,7 @@ function (_Component) { "aria-label": placeholder }, props, ariaProps, { ref: forwardedRef, - style: style ? Object(objectSpread["a" /* default */])({}, style, { + style: style ? component_objectSpread({}, style, { whiteSpace: whiteSpace }) : defaultStyle, className: classnames_default()('rich-text', className), @@ -5099,6 +5192,8 @@ function (_Component) { }, { key: "render", value: function render() { + var _this3 = this; + var _this$props12 = this.props, isSelected = _this$props12.__unstableIsSelected, children = _this$props12.children, @@ -5107,19 +5202,30 @@ function (_Component) { formatTypes = _this$props12.formatTypes, forwardedRef = _this$props12.forwardedRef; var activeFormats = this.state.activeFormats; + + var onFocus = function onFocus() { + forwardedRef.current.focus(); + + _this3.applyRecord(_this3.record); + }; + return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(BoundaryStyle, { activeFormats: activeFormats, forwardedRef: forwardedRef + }), Object(external_this_wp_element_["createElement"])(InlineWarning, { + forwardedRef: forwardedRef }), isSelected && Object(external_this_wp_element_["createElement"])(FormatEdit, { allowedFormats: allowedFormats, withoutInteractiveFormatting: withoutInteractiveFormatting, value: this.record, onChange: this.onChange, + onFocus: onFocus, formatTypes: formatTypes }), children && children({ isSelected: isSelected, value: this.record, onChange: this.onChange, + onFocus: onFocus, Editable: this.Editable }), !children && Object(external_this_wp_element_["createElement"])(this.Editable, null)); } @@ -5222,49 +5328,36 @@ var RichTextWrapper = Object(external_this_wp_compose_["compose"])([external_thi /***/ }), -/***/ 4: -/***/ (function(module, exports) { +/***/ 5: +/***/ (function(module, __webpack_exports__, __webpack_require__) { -(function() { module.exports = this["wp"]["data"]; }()); +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} /***/ }), -/***/ 46: +/***/ 50: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["isShallowEqual"]; }()); /***/ }), -/***/ 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; -} - -/***/ }), - -/***/ 61: +/***/ 66: /***/ (function(module, exports) { (function() { module.exports = this["wp"]["escapeHtml"]; }()); @@ -5291,28 +5384,6 @@ function _assertThisInitialized(self) { (function() { module.exports = this["wp"]["compose"]; }()); -/***/ }), - -/***/ 9: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; }); -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} - /***/ }) /******/ }); \ No newline at end of file diff --git a/wp-includes/js/dist/rich-text.min.js b/wp-includes/js/dist/rich-text.min.js index 81efcd82d1..1ae66bf2f8 100644 --- a/wp-includes/js/dist/rich-text.min.js +++ b/wp-includes/js/dist/rich-text.min.js @@ -1,7 +1,7 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.richText=function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.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 a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));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=366)}({0:function(e,t){!function(){e.exports=this.wp.element}()},10:function(e,t,n){var r; +this.wp=this.wp||{},this.wp.richText=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=414)}({0:function(e,t){!function(){e.exports=this.wp.element}()},10:function(e,t,r){var n; /*! Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_FORMAT_TYPES":return Object(i.a)({},e,Object(c.keyBy)(t.formatTypes,"name"));case"REMOVE_FORMAT_TYPES":return Object(c.omit)(e,t.names)}return e}}),l=n(34),u=Object(l.a)((function(e){return Object.values(e.formatTypes)}),(function(e){return[e.formatTypes]}));function f(e,t){return e.formatTypes[t]}function d(e,t){return Object(c.find)(u(e),(function(e){var n=e.className,r=e.tagName;return null===n&&t===r}))}function p(e,t){return Object(c.find)(u(e),(function(e){var n=e.className;return null!==n&&" ".concat(t," ").indexOf(" ".concat(n," "))>=0}))}function h(e){return{type:"ADD_FORMAT_TYPES",formatTypes:Object(c.castArray)(e)}}function m(e){return{type:"REMOVE_FORMAT_TYPES",names:Object(c.castArray)(e)}}Object(o.registerStore)("core/rich-text",{reducer:s,selectors:r,actions:a});var v=n(18);function g(e,t){if(e===t)return!0;if(!e||!t)return!1;if(e.type!==t.type)return!1;var n=e.attributes,r=t.attributes;if(n===r)return!0;if(!n||!r)return!1;var a=Object.keys(n),o=Object.keys(r);if(a.length!==o.length)return!1;for(var i=a.length,c=0;c2&&void 0!==arguments[2]?arguments[2]:e.start,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,a=e.formats,o=e.activeFormats,s=a.slice();if(n===r){var l=Object(c.find)(s[n],{type:t.type});if(l){for(var u=s[n].indexOf(l);s[n]&&s[n][u]===l;)s[n]=y(s[n],u,t),n--;for(r++;s[r]&&s[r][u]===l;)s[r]=y(s[r],u,t),r++}}else{for(var f=1/0,d=n;d0&&void 0!==arguments[0]?arguments[0]:{},t=e.element,n=e.text,r=e.html,a=e.range,o=e.multilineTag,i=e.multilineWrapperTags,c=e.__unstableIsEditableTree,s=e.preserveWhiteSpace;return"string"==typeof n&&n.length>0?{formats:Array(n.length),replacements:Array(n.length),text:n}:("string"==typeof r&&r.length>0&&(t=x(document,r)),"object"!==Object(T.a)(t)?{formats:[],replacements:[],text:""}:o?P({element:t,range:a,multilineTag:o,multilineWrapperTags:i,isEditableTree:c,preserveWhiteSpace:s}):D({element:t,range:a,isEditableTree:c,preserveWhiteSpace:s}))}function A(e,t,n,r){if(n){var a=t.parentNode,o=n.startContainer,i=n.startOffset,c=n.endContainer,s=n.endOffset,l=e.text.length;void 0!==r.start?e.start=l+r.start:t===o&&t.nodeType===C?e.start=l+i:a===o&&t===o.childNodes[i]?e.start=l:a===o&&t===o.childNodes[i-1]?e.start=l+r.text.length:t===o&&(e.start=l),void 0!==r.end?e.end=l+r.end:t===c&&t.nodeType===C?e.end=l+s:a===c&&t===c.childNodes[s-1]?e.end=l+r.text.length:a===c&&t===c.childNodes[s]?e.end=l:t===c&&(e.end=l+s)}}var R=new RegExp(E,"g");function k(e){return e.replace(R,"")}function D(e){var t=e.element,n=e.range,r=e.multilineTag,a=e.multilineWrapperTags,c=e.currentWrapperTags,s=void 0===c?[]:c,l=e.isEditableTree,u=e.preserveWhiteSpace,f={formats:[],replacements:[],text:""};if(!t)return f;if(!t.hasChildNodes())return A(f,t,n,{formats:[],replacements:[],text:""}),f;for(var d=t.childNodes.length,p=function(e){var c=t.childNodes[e],d=c.nodeName.toLowerCase();if(c.nodeType===C){var p=k;u||(p=function(e){return k(function(e){return e.replace(/[\n\r\t]+/g," ")}(e))});var h=p(c.nodeValue);return n=function(e,t,n){if(t){var r=t.startContainer,a=t.endContainer,o=t.startOffset,i=t.endOffset;return e===r&&(o=n(e.nodeValue.slice(0,o)).length),e===a&&(i=n(e.nodeValue.slice(0,i)).length),{startContainer:r,startOffset:o,endContainer:a,endOffset:i}}}(c,n,p),A(f,c,n,{text:h}),f.formats.length+=h.length,f.replacements.length+=h.length,f.text+=h,"continue"}if(c.nodeType!==F)return"continue";if(l&&(c.getAttribute("data-rich-text-placeholder")||"br"===d&&!c.getAttribute("data-rich-text-line-break")))return A(f,c,n,{formats:[],replacements:[],text:""}),"continue";if("br"===d)return A(f,c,n,{formats:[],replacements:[],text:""}),L(f,N({text:"\n"})),"continue";var m=f.formats[f.formats.length-1],b=m&&m[m.length-1],y=function(e){var t,n=e.type,r=e.attributes;if(r&&r.class&&(t=Object(o.select)("core/rich-text").getFormatTypeForClassName(r.class))&&(r.class=" ".concat(r.class," ").replace(" ".concat(t.className," ")," ").trim(),r.class||delete r.class),t||(t=Object(o.select)("core/rich-text").getFormatTypeForBareElement(n)),!t)return r?{type:n,attributes:r}:{type:n};if(t.__experimentalCreatePrepareEditableTree&&!t.__experimentalCreateOnChangeEditableValue)return null;if(!r)return{type:t.name};var a={},i={};for(var c in r){var s=S(t.attributes,c);s?a[s]=r[c]:i[c]=r[c]}return{type:t.name,attributes:a,unregisteredAttributes:i}}({type:d,attributes:I({element:c})}),O=g(y,b)?b:y;if(a&&-1!==a.indexOf(d)){var T=P({element:c,range:n,multilineTag:r,multilineWrapperTags:a,currentWrapperTags:[].concat(Object(v.a)(s),[O]),isEditableTree:l,preserveWhiteSpace:u});return A(f,c,n,T),L(f,T),"continue"}var x=D({element:c,range:n,multilineTag:r,multilineWrapperTags:a,isEditableTree:l,preserveWhiteSpace:u});if(A(f,c,n,x),O)if(0===x.text.length)O.attributes&&L(f,{formats:[,],replacements:[O],text:_});else{var j=function e(t){if(e.formats===t)return e.newFormats;var n=t?[O].concat(Object(v.a)(t)):[O];return e.formats=t,e.newFormats=n,n};j.newFormats=[O],L(f,Object(i.a)({},x,{formats:Array.from(x.formats,j)}))}else L(f,x)},h=0;h0)&&L(l,{formats:[,],replacements:i.length>0?[i]:[,],text:j}),A(l,d,n,p),L(l,p)}}return l}function I(e){var t=e.element;if(t.hasAttributes()){for(var n,r=t.attributes.length,a=0;a1&&void 0!==arguments[1]?arguments[1]:[];if(void 0===n)return o;if(n===r){if(a)return a;var i=t[n-1]||o,c=t[n]||o;return i.length1&&void 0!==arguments[1]?arguments[1]:t;r--;)if(n[r]===j)return r}function U(e){var t=e.replacements[B(e,e.start)];return!t||t.length<1}function z(e,t,n){var r=e.replacements[B(e,e.start)];return r&&0!==r.length?r[r.length-1].type===t:t===n}function q(e){var t=e.start,n=e.end;if(void 0!==t&&void 0!==n)return t===n}function G(e){return 0===e.text.length}function Y(e){var t=e.text,n=e.start,r=e.end;return n===r&&(0===t.length||(0===n&&t.slice(0,1)===j||(n===t.length&&t.slice(-1)===j||t.slice(n-1,r+1)==="".concat(j).concat(j))))}function $(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"string"==typeof t&&(t=N({text:t})),b(e.reduce((function(e,n){var r=n.formats,a=n.replacements,o=n.text;return{formats:e.formats.concat(t.formats,r),replacements:e.replacements.concat(t.replacements,a),text:e.text+t.text+o}})))}function X(e,t){if("string"==typeof(t=Object(i.a)({name:e},t)).name)if(/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(t.name))if(Object(o.select)("core/rich-text").getFormatType(t.name))window.console.error('Format "'+t.name+'" is already registered.');else if("string"==typeof t.tagName&&""!==t.tagName)if("string"==typeof t.className&&""!==t.className||null===t.className)if(/^[_a-zA-Z]+[a-zA-Z0-9-]*$/.test(t.className)){if(null===t.className){var n=Object(o.select)("core/rich-text").getFormatTypeForBareElement(t.tagName);if(n)return void window.console.error('Format "'.concat(n.name,'" is already registered to handle bare tag name "').concat(t.tagName,'".'))}else{var r=Object(o.select)("core/rich-text").getFormatTypeForClassName(t.className);if(r)return void window.console.error('Format "'.concat(r.name,'" is already registered to handle class name "').concat(t.className,'".'))}if("title"in t&&""!==t.title)if("keywords"in t&&t.keywords.length>3)window.console.error('The format "'+t.name+'" can have a maximum of 3 keywords.');else{if("string"==typeof t.title)return Object(o.dispatch)("core/rich-text").addFormatTypes(t),t;window.console.error("Format titles must be strings.")}else window.console.error('The format "'+t.name+'" must have a title.')}else window.console.error("A class name must begin with a letter, followed by any number of hyphens, letters, or numbers.");else window.console.error("Format class names must be a string, or null to handle bare elements.");else window.console.error("Format tag names must be a string.");else window.console.error("Format names must contain a namespace prefix, include only lowercase alphanumeric characters or dashes, and start with a letter. Example: my-plugin/my-custom-format");else window.console.error("Format names must be strings.")}function Z(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.start,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,a=e.formats,o=e.activeFormats,s=a.slice();if(n===r){var l=Object(c.find)(s[n],{type:t});if(l){for(;Object(c.find)(s[n],l);)J(s,n,t),n--;for(r++;Object(c.find)(s[r],l);)J(s,r,t),r++}}else for(var u=n;u2&&void 0!==arguments[2]?arguments[2]:e.start,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,a=e.formats,o=e.replacements,i=e.text;"string"==typeof t&&(t=N({text:t}));var c=n+t.text.length;return b({formats:a.slice(0,n).concat(t.formats,a.slice(r)),replacements:o.slice(0,n).concat(t.replacements,o.slice(r)),text:i.slice(0,n)+t.text+i.slice(r),start:c,end:c})}function ee(e,t,n){return Q(e,N(),t,n)}function te(e,t,n){var r=e.formats,a=e.replacements,o=e.text,i=e.start,c=e.end;return o=o.replace(t,(function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),s=1;s1&&void 0!==arguments[1]?arguments[1]:e.start,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.end,r=V(e).slice(0,t).lastIndexOf(j),a=e.replacements[r],o=[,];return a&&(o=[a]),Q(e,{formats:[,],replacements:o,text:j},t,n)}function re(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.replacements,r=e.text,a=e.start,o=e.end,c=q(e),s=a-1,l=c?a-1:a,u=o;if(t||(s=o,l=a,u=c?o+1:o),r[s]===j){var f;if(c&&n[s]&&n[s].length){var d=n.slice();d[s]=n[s].slice(0,-1),f=Object(i.a)({},e,{replacements:d})}else f=ee(e,l,u);return f}}var ae="";function oe(e,t,n,r){return Q(e,{formats:[,],replacements:[t],text:ae},n,r)}function ie(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.start,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.end,r=e.formats,a=e.replacements,o=e.text;return void 0===t||void 0===n?Object(i.a)({},e):{formats:r.slice(t,n),replacements:a.slice(t,n),text:o.slice(t,n)}}function ce(e,t){var n=e.formats,r=e.replacements,a=e.text,o=e.start,i=e.end;if("string"!=typeof t)return se.apply(void 0,arguments);var c=0;return a.split(t).map((function(e){var a=c,s={formats:n.slice(a,a+e.length),replacements:r.slice(a,a+e.length),text:e};return c+=t.length+e.length,void 0!==o&&void 0!==i&&(o>=a&&oa&&(s.start=0),i>=a&&ic&&(s.end=e.length)),s}))}function se(e){var t=e.formats,n=e.replacements,r=e.text,a=e.start,o=e.end,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o,s={formats:t.slice(0,i),replacements:n.slice(0,i),text:r.slice(0,i)},l={formats:t.slice(c),replacements:n.slice(c),text:r.slice(c),start:0,end:0};return[te(s,/\u2028+$/,""),te(l,/^\u2028+/,"")]}function le(e){var t=e.type,n=e.attributes,r=e.unregisteredAttributes,a=e.object,c=e.boundaryClass,s=function(e){return Object(o.select)("core/rich-text").getFormatType(e)}(t),l={};if(c&&(l["data-rich-text-format-boundary"]="true"),!s)return n&&(l=Object(i.a)({},n,l)),{type:t,attributes:l,object:a};for(var u in l=Object(i.a)({},r,l),n){var f=!!s.attributes&&s.attributes[u];f?l[f]=n[u]:l[u]=n[u]}return s.className&&(l.class?l.class="".concat(s.className," ").concat(l.class):l.class=s.className),{type:s.tagName,object:s.object,attributes:l}}function ue(e){var t,n,r,a=e.value,o=e.multilineTag,c=e.preserveWhiteSpace,s=e.createEmpty,l=e.append,u=e.getLastChild,f=e.getParent,d=e.isText,p=e.getText,h=e.remove,m=e.appendText,g=e.onStartIndex,b=e.onEndIndex,y=e.isEditableTree,O=e.placeholder,T=a.formats,x=a.replacements,w=a.text,C=a.start,F=a.end,S=T.length+1,N=s(),A={type:o},R=M(a),k=R[R.length-1];o?(l(l(N,{type:o}),""),n=t=[A]):l(N,"");for(var D=function(e){var a=w.charAt(e),s=y&&(!r||r===j||"\n"===r),S=T[e];o&&(S=a===j?t=(x[e]||[]).reduce((function(e,t){return e.push(t,A),e}),[A]):[].concat(Object(v.a)(t),Object(v.a)(S||[])));var R=u(N);if(s&&a===j){for(var D=R;!d(D);)D=u(D);l(f(D),E)}if(r===j){for(var P=R;!d(P);)P=u(P);g&&C===e&&g(N,P),b&&F===e&&b(N,P)}if(S&&S.forEach((function(e,t){if(R&&n&&function(e,t,n){do{if(e[n]!==t[n])return!1}while(n--);return!0}(S,n,t)&&(a!==j||S.length-1!==t))R=u(R);else{var r=e.type,o=e.attributes,i=e.unregisteredAttributes,c=y&&a!==j&&e===k,s=f(R),m=l(s,le({type:r,attributes:o,unregisteredAttributes:i,boundaryClass:c}));d(R)&&0===p(R).length&&h(R),R=l(m,"")}})),a===j)return n=S,r=a,"continue";0===e&&(g&&0===C&&g(N,R),b&&0===F&&b(N,R)),a===_?(R=l(f(R),le(Object(i.a)({},x[e],{object:!0}))),R=l(f(R),"")):c||"\n"!==a?d(R)?m(R,a):R=l(f(R),a):(R=l(f(R),{type:"br",attributes:y?{"data-rich-text-line-break":"true"}:void 0,object:!0}),R=l(f(R),"")),g&&C===e+1&&g(N,R),b&&F===e+1&&b(N,R),s&&e===w.length&&(l(f(R),E),O&&0===w.length&&l(f(R),{type:"span",attributes:{"data-rich-text-placeholder":O,contenteditable:"false"}})),n=S,r=a},P=0;P1;)e=e.childNodes[t.shift()];return{node:e,offset:t[0]}}var he=function(){return x(document,"")};function me(e,t){"string"==typeof t&&(t=e.ownerDocument.createTextNode(t));var n=t,r=n.type,a=n.attributes;if(r)for(var o in t=e.ownerDocument.createElement(r),a)t.setAttribute(o,a[o]);return e.appendChild(t)}function ve(e,t){e.appendData(t)}function ge(e){return e.lastChild}function be(e){return e.parentNode}function ye(e){return e.nodeType===fe}function Oe(e){return e.nodeValue}function Te(e){return e.parentNode.removeChild(e)}function xe(e){var t=e.value,n=e.multilineTag,r=e.prepareEditableTree,a=e.isEditableTree,o=void 0===a||a,c=e.placeholder,s=[],l=[];return r&&(t=Object(i.a)({},t,{formats:r(t)})),{body:ue({value:t,multilineTag:n,createEmpty:he,append:me,getLastChild:ge,getParent:be,isText:ye,getText:Oe,remove:Te,appendText:ve,onStartIndex:function(e,t){s=de(t,e,[t.nodeValue.length])},onEndIndex:function(e,t){l=de(t,e,[t.nodeValue.length])},isEditableTree:o,placeholder:c}),selection:{startPath:s,endPath:l}}}function je(e){var t=e.value,n=e.current,r=e.multilineTag,a=e.prepareEditableTree,o=e.__unstableDomOnly,i=xe({value:t,multilineTag:r,prepareEditableTree:a,placeholder:e.placeholder}),c=i.body,s=i.selection;!function e(t,n){var r=0;var a;for(;a=t.firstChild;){var o=n.childNodes[r];if(o)if(o.isEqualNode(a))t.removeChild(a);else if(o.nodeName!==a.nodeName||o.nodeType===fe&&o.data!==a.data)n.replaceChild(a,o);else{var i=o.attributes,c=a.attributes;if(i)for(var s=i.length;s--;){var l=i[s].name;a.getAttribute(l)||o.removeAttribute(l)}if(c)for(var u=0;u0){if(p=d,h=u.getRangeAt(0),p.startContainer===h.startContainer&&p.startOffset===h.startOffset&&p.endContainer===h.endContainer&&p.endOffset===h.endOffset)return;u.removeAllRanges()}var p,h;u.addRange(d)}(s,n)}var _e=n(61);function Ee(e){return De(ue({value:e.value,multilineTag:e.multilineTag,preserveWhiteSpace:e.preserveWhiteSpace,createEmpty:we,append:Fe,getLastChild:Ce,getParent:Ne,isText:Ae,getText:Re,remove:ke,appendText:Se}).children)}function we(){return{}}function Ce(e){var t=e.children;return t&&t[t.length-1]}function Fe(e,t){return"string"==typeof t&&(t={text:t}),t.parent=e,e.children=e.children||[],e.children.push(t),t}function Se(e,t){e.text+=t}function Ne(e){return e.parent}function Ae(e){return"string"==typeof e.text}function Re(e){return e.text}function ke(e){var t=e.parent.children.indexOf(e);return-1!==t&&e.parent.children.splice(t,1),e}function De(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((function(e){return void 0===e.text?function(e){var t=e.type,n=e.attributes,r=e.object,a=e.children,o="";for(var i in n)Object(_e.isValidAttributeName)(i)&&(o+=" ".concat(i,'="').concat(Object(_e.escapeAttribute)(n[i]),'"'));return r?"<".concat(t).concat(o,">"):"<".concat(t).concat(o,">").concat(De(a),"")}(e):Object(_e.escapeEditableHTML)(e.text)})).join("")}function Pe(e,t){return H(e,t.type)?Z(e,t.type):O(e,t)}function Ie(e){var t=Object(o.select)("core/rich-text").getFormatType(e);if(t)return Object(o.dispatch)("core/rich-text").removeFormatTypes(e),t;window.console.error("Format ".concat(e," is not registered."))}function Le(e){var t=B(e);if(void 0===t)return!1;var n=e.replacements,r=B(e,t),a=n[t]||[],o=n[r]||[];return a.length<=o.length}function We(e){return void 0!==e.replacements[B(e,e.start)]}function Me(e,t){if(!Le(e))return e;for(var n=B(e),r=B(e,n),a=e.text,o=e.replacements,c=e.end,s=o.slice(),l=function(e,t){for(var n=e.text,r=e.replacements,a=r[t]||[],o=t;o-- >=0;)if(n[o]===j){var i=r[o]||[];if(i.length===a.length+1)return o;if(i.length<=a.length)return}}(e,n),u=n;u=0;){if(n[o]===j)if((r[o]||[]).length===a.length-1)return o}}function Ke(e){if(!We(e))return e;for(var t=e.text,n=e.replacements,r=e.start,a=e.end,o=B(e,r),c=n.slice(0),s=n[He(e,o)]||[],l=function(e,t){for(var n=e.text,r=e.replacements,a=r[t]||[],o=t,i=t||0;i=a.length))return o;o=i}return o}(e,B(e,a)),u=o;u<=l;u++)if(t[u]===j){var f=c[u]||[];c[u]=s.concat(f.slice(s.length+1)),0===c[u].length&&delete c[u]}return Object(i.a)({},e,{replacements:c})}function Ve(e,t){for(var n,r=e.text,a=e.replacements,o=e.start,c=e.end,s=B(e,o),l=a[s]||[],u=a[B(e,c)]||[],f=He(e,s),d=a.slice(),p=l.length-1,h=u.length-1,m=f+1||0;mh?e:t})))}return n?Object(i.a)({},e,{replacements:d}):e}var Be=n(12),Ue=n(14),ze=n(13),qe=n(15),Ge=n(16),Ye=n(7),$e=n(17),Xe=n(0),Ze=n(10),Je=n.n(Ze),Qe=n(19),et=n(8),tt=n(46),nt=n.n(tt),rt=n(33),at=n.n(rt),ot=new Set(["a","audio","button","details","embed","iframe","input","label","select","textarea","video"]);function it(e){var t=e.formatTypes,n=e.onChange,r=e.value,a=e.allowedFormats,o=e.withoutInteractiveFormatting;return t.map((function(e){var t=e.name,i=e.edit,c=e.tagName;if(!i)return null;if(a&&-1===a.indexOf(t))return null;if(o&&ot.has(c))return null;var s=H(r,t),l=void 0!==s,u=K(r),f=void 0!==u&&u.type===t;return Object(Xe.createElement)(i,{key:t,isActive:l,activeAttributes:l&&s.attributes||{},isObjectActive:f,activeObjectAttributes:f&&u.attributes||{},value:r,onChange:n})}))}var ct=n(9);function st(e){return e("core/rich-text").getFormatTypes()}var lt=document.createElement("style"),ut="*[data-rich-text-format-boundary]";function ft(e){var t=e.activeFormats,n=e.forwardedRef;return Object(Xe.useEffect)((function(){if(t&&t.length){var e=n.current.querySelector(ut);if(e){var r=window.getComputedStyle(e).color.replace(")",", 0.2)").replace("rgb","rgba"),a=".rich-text:focus ".concat(ut),o="background-color: ".concat(r),i="".concat(a," {").concat(o,"}");lt.innerHTML!==i&&(lt.innerHTML=i)}}}),[t]),null}document.head.appendChild(lt);var dt=window,pt=dt.getSelection,ht=dt.getComputedStyle,mt=new Set(["insertParagraph","insertOrderedList","insertUnorderedList","insertHorizontalRule","insertLink"]),vt={whiteSpace:"pre-wrap"},gt=[];function bt(e,t){var n=Object.keys(e).reduce((function(n,r){return r.startsWith(t)&&n.push(e[r]),n}),[]);return function(e){return n.reduce((function(t,n){return n(t,e.text)}),e.formats)}}var yt=function(e){function t(e){var n,r=e.value,a=e.selectionStart,o=e.selectionEnd;return Object(Ue.a)(this,t),(n=Object(qe.a)(this,Object(Ge.a)(t).apply(this,arguments))).onFocus=n.onFocus.bind(Object(Ye.a)(n)),n.onBlur=n.onBlur.bind(Object(Ye.a)(n)),n.onChange=n.onChange.bind(Object(Ye.a)(n)),n.handleDelete=n.handleDelete.bind(Object(Ye.a)(n)),n.handleEnter=n.handleEnter.bind(Object(Ye.a)(n)),n.handleSpace=n.handleSpace.bind(Object(Ye.a)(n)),n.handleHorizontalNavigation=n.handleHorizontalNavigation.bind(Object(Ye.a)(n)),n.onPaste=n.onPaste.bind(Object(Ye.a)(n)),n.onCreateUndoLevel=n.onCreateUndoLevel.bind(Object(Ye.a)(n)),n.onInput=n.onInput.bind(Object(Ye.a)(n)),n.onCompositionStart=n.onCompositionStart.bind(Object(Ye.a)(n)),n.onCompositionEnd=n.onCompositionEnd.bind(Object(Ye.a)(n)),n.onSelectionChange=n.onSelectionChange.bind(Object(Ye.a)(n)),n.createRecord=n.createRecord.bind(Object(Ye.a)(n)),n.applyRecord=n.applyRecord.bind(Object(Ye.a)(n)),n.valueToFormat=n.valueToFormat.bind(Object(Ye.a)(n)),n.onPointerDown=n.onPointerDown.bind(Object(Ye.a)(n)),n.formatToValue=n.formatToValue.bind(Object(Ye.a)(n)),n.Editable=n.Editable.bind(Object(Ye.a)(n)),n.onKeyDown=function(e){e.defaultPrevented||(n.handleDelete(e),n.handleEnter(e),n.handleSpace(e),n.handleHorizontalNavigation(e))},n.state={},n.lastHistoryValue=r,n.value=r,n.record=n.formatToValue(r),n.record.start=a,n.record.end=o,n}return Object($e.a)(t,e),Object(ze.a)(t,[{key:"componentWillUnmount",value:function(){document.removeEventListener("selectionchange",this.onSelectionChange),window.cancelAnimationFrame(this.rafId)}},{key:"componentDidMount",value:function(){this.applyRecord(this.record,{domOnly:!0})}},{key:"createRecord",value:function(){var e=this.props,t=e.__unstableMultilineTag,n=e.forwardedRef,r=e.preserveWhiteSpace,a=pt(),o=a.rangeCount>0?a.getRangeAt(0):null;return N({element:n.current,range:o,multilineTag:t,multilineWrapperTags:"li"===t?["ul","ol"]:void 0,__unstableIsEditableTree:!0,preserveWhiteSpace:r})}},{key:"applyRecord",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.domOnly,r=this.props,a=r.__unstableMultilineTag,o=r.forwardedRef;je({value:e,current:o.current,multilineTag:a,multilineWrapperTags:"li"===a?["ul","ol"]:void 0,prepareEditableTree:bt(this.props,"format_prepare_functions"),__unstableDomOnly:n,placeholder:this.props.placeholder})}},{key:"onPaste",value:function(e){var t=this.props,n=t.formatTypes,r=t.onPaste,a=t.__unstableIsSelected,o=this.state.activeFormats,i=void 0===o?[]:o;if(a){var s=e.clipboardData,l=s.items,u=s.files;l=Object(c.isNil)(l)?[]:l,u=Object(c.isNil)(u)?[]:u;var f="",d="";try{f=s.getData("text/plain"),d=s.getData("text/html")}catch(e){try{d=s.getData("Text")}catch(e){return}}e.preventDefault(),window.console.log("Received HTML:\n\n",d),window.console.log("Received plain text:\n\n",f);var p=this.record,h=n.reduce((function(e,t){var n=t.__unstablePasteRule;return n&&e===p&&(e=n(p,{html:d,plainText:f})),e}),p);h===p?r&&(u=Array.from(u),Array.from(l).forEach((function(e){if(e.getAsFile){var t=e.getAsFile();if(t){var n=t.name,r=t.type,a=t.size;Object(c.find)(u,{name:n,type:r,size:a})||u.push(t)}}})),r({value:this.removeEditorOnlyFormats(p),onChange:this.onChange,html:d,plainText:f,files:u,activeFormats:i})):this.onChange(h)}else e.preventDefault()}},{key:"onFocus",value:function(){var e=this.props.unstableOnFocus;e&&e();var t=gt;this.record=Object(i.a)({},this.record,{start:void 0,end:void 0,activeFormats:t}),this.props.onSelectionChange(void 0,void 0),this.setState({activeFormats:t}),this.rafId=window.requestAnimationFrame(this.onSelectionChange),document.addEventListener("selectionchange",this.onSelectionChange),this.props.setFocusedElement&&(at()("wp.blockEditor.RichText setFocusedElement prop",{alternative:"selection state from the block editor store."}),this.props.setFocusedElement(this.props.instanceId))}},{key:"onBlur",value:function(){document.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"onInput",value:function(e){var t;if(!this.isComposing)if(e&&(t=e.inputType),!t&&e&&e.nativeEvent&&(t=e.nativeEvent.inputType),!t||0!==t.indexOf("format")&&!mt.has(t)){var n=this.createRecord(),r=this.record,a=r.start,o=r.activeFormats,c=void 0===o?[]:o,s=function(e){var t=e.value,n=e.start,r=e.end,a=e.formats,o=t.formats[n-1]||[],i=t.formats[r]||[];for(t.activeFormats=a.map((function(e,t){if(o[t]){if(g(e,o[t]))return o[t]}else if(i[t]&&g(e,i[t]))return i[t];return e}));--r>=n;)t.activeFormats.length>0?t.formats[r]=t.activeFormats:delete t.formats[r];return t}({value:n,start:a,end:n.start,formats:c});this.onChange(s,{withoutHistory:!0});var l=this.props,u=l.__unstableInputRule,f=l.__unstableMarkAutomaticChange,d=l.formatTypes,p=l.setTimeout;if((0,l.clearTimeout)(this.onInput.timeout),this.onInput.timeout=p(this.onCreateUndoLevel,1e3),"insertText"===t){u&&u(s,this.valueToFormat);var h=d.reduce((function(e,t){var n=t.__unstableInputRule;return n&&(e=n(e)),e}),s);h!==s&&(this.onCreateUndoLevel(),this.onChange(Object(i.a)({},h,{activeFormats:c})),f())}}else this.applyRecord(this.record)}},{key:"onCompositionStart",value:function(){this.isComposing=!0,document.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"onCompositionEnd",value:function(){this.isComposing=!1,this.onInput({inputType:"insertText"}),document.addEventListener("selectionchange",this.onSelectionChange)}},{key:"onSelectionChange",value:function(e){if(("selectionchange"===e.type||this.props.__unstableIsSelected)&&!this.props.disabled&&!this.isComposing){var t=this.createRecord(),n=t.start,r=t.end,a=t.text,o=this.record;if(a===o.text)if(n!==o.start||r!==o.end){var c=this.props,s=c.__unstableIsCaretWithinFormattedText,l=c.__unstableOnEnterFormattedText,u=c.__unstableOnExitFormattedText,f=Object(i.a)({},o,{start:n,end:r,activeFormats:void 0}),d=M(f,gt);f.activeFormats=d,!s&&d.length?l():s&&!d.length&&u(),this.record=f,this.applyRecord(f,{domOnly:!0}),this.props.onSelectionChange(n,r),this.setState({activeFormats:d})}else 0===o.text.length&&0===n&&function(){var e=window.getSelection(),t=e.anchorNode,n=e.anchorOffset;if(t.nodeType===t.ELEMENT_NODE){var r=t.childNodes[n];r&&r.nodeType===r.ELEMENT_NODE&&r.getAttribute("data-rich-text-placeholder")&&e.collapseToStart()}}();else this.onInput()}}},{key:"onChange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.withoutHistory;this.applyRecord(e);var r=e.start,a=e.end,o=e.activeFormats,i=void 0===o?[]:o,s=Object(c.pickBy)(this.props,(function(e,t){return t.startsWith("format_on_change_functions_")}));Object.values(s).forEach((function(t){t(e.formats,e.text)})),this.value=this.valueToFormat(e),this.record=e,this.props.onSelectionChange(r,a),this.props.onChange(this.value),this.setState({activeFormats:i}),n||this.onCreateUndoLevel()}},{key:"onCreateUndoLevel",value:function(){this.lastHistoryValue!==this.value&&(this.props.__unstableOnCreateUndoLevel(),this.lastHistoryValue=this.value)}},{key:"handleDelete",value:function(e){var t=e.keyCode;if(t===Qe.DELETE||t===Qe.BACKSPACE||t===Qe.ESCAPE){if(this.props.__unstableDidAutomaticChange)return e.preventDefault(),void this.props.__unstableUndo();if(t!==Qe.ESCAPE){var n,r=this.props,a=r.onDelete,o=r.__unstableMultilineTag,i=this.state.activeFormats,c=void 0===i?[]:i,s=this.createRecord(),l=s.start,u=s.end,f=s.text,d=t===Qe.BACKSPACE;if(0===l&&0!==u&&u===f.length)return this.onChange(ee(s)),void e.preventDefault();if(o)if(n=d&&0===s.start&&0===s.end&&Y(s)?re(s,!d):re(s,d))return this.onChange(n),void e.preventDefault();!a||!q(s)||c.length||d&&0!==l||!d&&u!==f.length||(a({isReverse:d,value:s}),e.preventDefault())}}}},{key:"handleEnter",value:function(e){if(e.keyCode===Qe.ENTER){e.preventDefault();var t=this.props.onEnter;t&&t({value:this.removeEditorOnlyFormats(this.createRecord()),onChange:this.onChange,shiftKey:e.shiftKey})}}},{key:"handleSpace",value:function(e){var t=e.keyCode,n=e.shiftKey,r=e.altKey,a=e.metaKey,o=e.ctrlKey,i=this.props,c=i.tagName,s=i.__unstableMultilineTag;if(!(n||r||a||o||t!==Qe.SPACE||"li"!==s)){var l=this.createRecord();if(q(l)){var u=l.text[l.start-1];u&&u!==j||(this.onChange(Me(l,{type:c})),e.preventDefault())}}}},{key:"handleHorizontalNavigation",value:function(e){var t=e.keyCode,n=e.shiftKey,r=e.altKey,a=e.metaKey,o=e.ctrlKey;if(!(n||r||a||o||t!==Qe.LEFT&&t!==Qe.RIGHT)){var c=this.record,s=c.text,l=c.formats,u=c.start,f=c.end,d=c.activeFormats,p=void 0===d?[]:d,h=q(c),m="rtl"===ht(this.props.forwardedRef.current).direction?Qe.RIGHT:Qe.LEFT,v=e.keyCode===m;if(h&&0===p.length){if(0===u&&v)return;if(f===s.length&&!v)return}if(h){e.preventDefault();var g=l[u-1]||gt,b=l[u]||gt,y=p.length,O=b;if(g.length>b.length&&(O=g),g.lengthg.length&&y--):g.length>b.length&&(!v&&p.length>b.length&&y--,v&&p.length0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_FORMAT_TYPES":return function(e){for(var t=1;t=0}))}function b(e){return{type:"ADD_FORMAT_TYPES",formatTypes:Object(c.castArray)(e)}}function m(e){return{type:"REMOVE_FORMAT_TYPES",names:Object(c.castArray)(e)}}Object(a.registerStore)("core/rich-text",{reducer:u,selectors:n,actions:o});var v=r(17);function g(e,t){if(e===t)return!0;if(!e||!t)return!1;if(e.type!==t.type)return!1;var r=e.attributes,n=t.attributes;if(r===n)return!0;if(!r||!n)return!1;var o=Object.keys(r),a=Object.keys(n);if(o.length!==a.length)return!1;for(var i=o.length,c=0;c2&&void 0!==arguments[2]?arguments[2]:e.start,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,o=e.formats,a=e.activeFormats,s=o.slice();if(r===n){var u=Object(c.find)(s[r],{type:t.type});if(u){for(var l=s[r].indexOf(u);s[r]&&s[r][l]===u;)s[r]=w(s[r],l,t),r--;for(n++;s[n]&&s[n][l]===u;)s[n]=w(s[n],l,t),n++}}else{for(var f=1/0,p=r;p0&&void 0!==arguments[0]?arguments[0]:{},t=e.element,r=e.text,n=e.html,o=e.range,a=e.multilineTag,i=e.multilineWrapperTags,c=e.__unstableIsEditableTree,s=e.preserveWhiteSpace;return"string"==typeof r&&r.length>0?{formats:Array(r.length),replacements:Array(r.length),text:r}:("string"==typeof n&&n.length>0&&(t=x(document,n)),"object"!==Object(E.a)(t)?{formats:[],replacements:[],text:""}:a?M({element:t,range:o,multilineTag:a,multilineWrapperTags:i,isEditableTree:c,preserveWhiteSpace:s}):W({element:t,range:o,isEditableTree:c,preserveWhiteSpace:s}))}function R(e,t,r,n){if(r){var o=t.parentNode,a=r.startContainer,i=r.startOffset,c=r.endContainer,s=r.endOffset,u=e.text.length;void 0!==n.start?e.start=u+n.start:t===a&&t.nodeType===F?e.start=u+i:o===a&&t===a.childNodes[i]?e.start=u:o===a&&t===a.childNodes[i-1]?e.start=u+n.text.length:t===a&&(e.start=u),void 0!==n.end?e.end=u+n.end:t===c&&t.nodeType===F?e.end=u+s:o===c&&t===c.childNodes[s-1]?e.end=u+n.text.length:o===c&&t===c.childNodes[s]?e.end=u:t===c&&(e.end=u+s)}}var I=new RegExp(S,"g");function L(e){return e.replace(I,"")}function W(e){var t=e.element,r=e.range,n=e.multilineTag,o=e.multilineWrapperTags,c=e.currentWrapperTags,s=void 0===c?[]:c,u=e.isEditableTree,l=e.preserveWhiteSpace,f={formats:[],replacements:[],text:""};if(!t)return f;if(!t.hasChildNodes())return R(f,t,r,{formats:[],replacements:[],text:""}),f;for(var p=t.childNodes.length,d=function(e){var c=t.childNodes[e],p=c.nodeName.toLowerCase();if(c.nodeType===F){var d=L;l||(d=function(e){return L(function(e){return e.replace(/[\n\r\t]+/g," ")}(e))});var h=d(c.nodeValue);return r=function(e,t,r){if(t){var n=t.startContainer,o=t.endContainer,a=t.startOffset,i=t.endOffset;return e===n&&(a=r(e.nodeValue.slice(0,a)).length),e===o&&(i=r(e.nodeValue.slice(0,i)).length),{startContainer:n,startOffset:a,endContainer:o,endOffset:i}}}(c,r,d),R(f,c,r,{text:h}),f.formats.length+=h.length,f.replacements.length+=h.length,f.text+=h,"continue"}if(c.nodeType!==N)return"continue";if(u&&(c.getAttribute("data-rich-text-placeholder")||"br"===p&&!c.getAttribute("data-rich-text-line-break")))return R(f,c,r,{formats:[],replacements:[],text:""}),"continue";if("br"===p)return R(f,c,r,{formats:[],replacements:[],text:""}),K(f,A({text:"\n"})),"continue";var b=f.formats[f.formats.length-1],m=b&&b[b.length-1],y=function(e){var t,r=e.type,n=e.attributes;if(n&&n.class&&(t=Object(a.select)("core/rich-text").getFormatTypeForClassName(n.class))&&(n.class=" ".concat(n.class," ").replace(" ".concat(t.className," ")," ").trim(),n.class||delete n.class),t||(t=Object(a.select)("core/rich-text").getFormatTypeForBareElement(r)),!t)return n?{type:r,attributes:n}:{type:r};if(t.__experimentalCreatePrepareEditableTree&&!t.__experimentalCreateOnChangeEditableValue)return null;if(!n)return{type:t.name};var o={},i={};for(var c in n){var s=k(t.attributes,c);s?o[s]=n[c]:i[c]=n[c]}return{type:t.name,attributes:o,unregisteredAttributes:i}}({type:p,attributes:H({element:c})}),O=g(y,m)?m:y;if(o&&-1!==o.indexOf(p)){var j=M({element:c,range:r,multilineTag:n,multilineWrapperTags:o,currentWrapperTags:[].concat(Object(v.a)(s),[O]),isEditableTree:u,preserveWhiteSpace:l});return R(f,c,r,j),K(f,j),"continue"}var w=W({element:c,range:r,multilineTag:n,multilineWrapperTags:o,isEditableTree:u,preserveWhiteSpace:l});if(R(f,c,r,w),O)if(0===w.text.length)O.attributes&&K(f,{formats:[,],replacements:[O],text:_});else{function T(e){if(T.formats===e)return T.newFormats;var t=e?[O].concat(Object(v.a)(e)):[O];return T.formats=e,T.newFormats=t,t}T.newFormats=[O],K(f,function(e){for(var t=1;t0)&&K(u,{formats:[,],replacements:i.length>0?[i]:[,],text:P}),R(u,p,r,d),K(u,d)}}return u}function H(e){var t=e.element;if(t.hasAttributes()){for(var r,n=t.attributes.length,o=0;o1&&void 0!==arguments[1]?arguments[1]:[];if(void 0===r)return a;if(r===n){if(o)return o;var i=t[r-1]||a,c=t[r]||a;return i.length1&&void 0!==arguments[1]?arguments[1]:t;n--;)if(r[n]===P)return n}function Y(e){var t=e.replacements[G(e,e.start)];return!t||t.length<1}function $(e,t,r){var n=e.replacements[G(e,e.start)];return n&&0!==n.length?n[n.length-1].type===t:t===r}function X(e){var t=e.start,r=e.end;if(void 0!==t&&void 0!==r)return t===r}function Z(e){return 0===e.text.length}function J(e){var t=e.text,r=e.start,n=e.end;return r===n&&(0===t.length||(0===r&&t.slice(0,1)===P||(r===t.length&&t.slice(-1)===P||t.slice(r-1,n+1)==="".concat(P).concat(P))))}function Q(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"string"==typeof t&&(t=A({text:t})),O(e.reduce((function(e,r){var n=r.formats,o=r.replacements,a=r.text;return{formats:e.formats.concat(t.formats,n),replacements:e.replacements.concat(t.replacements,o),text:e.text+t.text+a}})))}function ee(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function te(e,t){if("string"==typeof(t=function(e){for(var t=1;t3)window.console.error('The format "'+t.name+'" can have a maximum of 3 keywords.');else{if("string"==typeof t.title)return Object(a.dispatch)("core/rich-text").addFormatTypes(t),t;window.console.error("Format titles must be strings.")}else window.console.error('The format "'+t.name+'" must have a title.')}else window.console.error("A class name must begin with a letter, followed by any number of hyphens, letters, or numbers.");else window.console.error("Format class names must be a string, or null to handle bare elements.");else window.console.error("Format tag names must be a string.");else window.console.error("Format names must contain a namespace prefix, include only lowercase alphanumeric characters or dashes, and start with a letter. Example: my-plugin/my-custom-format");else window.console.error("Format names must be strings.")}function re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ne(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.start,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,o=e.formats,a=e.activeFormats,s=o.slice();if(r===n){var u=Object(c.find)(s[r],{type:t});if(u){for(;Object(c.find)(s[r],u);)oe(s,r,t),r--;for(n++;Object(c.find)(s[n],u);)oe(s,n,t),n++}}else for(var l=r;l2&&void 0!==arguments[2]?arguments[2]:e.start,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,o=e.formats,a=e.replacements,i=e.text;"string"==typeof t&&(t=A({text:t}));var c=r+t.text.length;return O({formats:o.slice(0,r).concat(t.formats,o.slice(n)),replacements:a.slice(0,r).concat(t.replacements,a.slice(n)),text:i.slice(0,r)+t.text+i.slice(n),start:c,end:c})}function ie(e,t,r){return ae(e,A(),t,r)}function ce(e,t,r){var n=e.formats,o=e.replacements,a=e.text,i=e.start,c=e.end;return a=a.replace(t,(function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),s=1;s1&&void 0!==arguments[1]?arguments[1]:e.start,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.end,n=q(e).slice(0,t).lastIndexOf(P),o=e.replacements[n],a=[,];return o&&(a=[o]),ae(e,{formats:[,],replacements:a,text:P},t,r)}function ue(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function le(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e.replacements,n=e.text,o=e.start,a=e.end,c=X(e),s=o-1,u=c?o-1:o,l=a;if(t||(s=a,u=o,l=c?a+1:a),n[s]===P){var f;if(c&&r[s]&&r[s].length){var p=r.slice();p[s]=r[s].slice(0,-1),f=function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:e.start,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.end,n=e.formats,o=e.replacements,a=e.text;return void 0===t||void 0===r?function(e){for(var t=1;t=o&&ao&&(s.start=0),i>=o&&ic&&(s.end=e.length)),s}))}function me(e){var t=e.formats,r=e.replacements,n=e.text,o=e.start,a=e.end,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a,s={formats:t.slice(0,i),replacements:r.slice(0,i),text:n.slice(0,i)},u={formats:t.slice(c),replacements:r.slice(c),text:n.slice(c),start:0,end:0};return[ce(s,/\u2028+$/,""),ce(u,/^\u2028+/,"")]}function ve(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ge(e){for(var t=1;t1;)e=e.childNodes[t.shift()];return{node:e,offset:t[0]}}var xe=function(){return x(document,"")};function Pe(e,t){"string"==typeof t&&(t=e.ownerDocument.createTextNode(t));var r=t,n=r.type,o=r.attributes;if(n)for(var a in t=e.ownerDocument.createElement(n),o)t.setAttribute(a,o[a]);return e.appendChild(t)}function _e(e,t){e.appendData(t)}function Se(e){return e.lastChild}function Ce(e){return e.parentNode}function De(e){return e.nodeType===we}function Fe(e){return e.nodeValue}function Ne(e){return e.parentNode.removeChild(e)}function ke(e){var t=e.value,r=e.multilineTag,n=e.prepareEditableTree,o=e.isEditableTree,a=void 0===o||o,c=e.placeholder,s=[],u=[];return n&&(t=function(e){for(var t=1;t0){if(h=p,b=l.getRangeAt(0),h.startContainer===b.startContainer&&h.startOffset===b.startOffset&&h.endContainer===b.endContainer&&h.endOffset===b.endOffset)return;l.removeAllRanges()}var h,b;l.addRange(p),d.focus()}(s,r)}var Re=r(66);function Ie(e){return ze(Oe({value:e.value,multilineTag:e.multilineTag,preserveWhiteSpace:e.preserveWhiteSpace,createEmpty:Le,append:Me,getLastChild:We,getParent:Ke,isText:Ve,getText:Be,remove:Ue,appendText:He}).children)}function Le(){return{}}function We(e){var t=e.children;return t&&t[t.length-1]}function Me(e,t){return"string"==typeof t&&(t={text:t}),t.parent=e,e.children=e.children||[],e.children.push(t),t}function He(e,t){e.text+=t}function Ke(e){return e.parent}function Ve(e){return"string"==typeof e.text}function Be(e){return e.text}function Ue(e){var t=e.parent.children.indexOf(e);return-1!==t&&e.parent.children.splice(t,1),e}function ze(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((function(e){return void 0===e.text?function(e){var t=e.type,r=e.attributes,n=e.object,o=e.children,a="";for(var i in r)Object(Re.isValidAttributeName)(i)&&(a+=" ".concat(i,'="').concat(Object(Re.escapeAttribute)(r[i]),'"'));return n?"<".concat(t).concat(a,">"):"<".concat(t).concat(a,">").concat(ze(o),"")}(e):Object(Re.escapeEditableHTML)(e.text)})).join("")}function qe(e,t){return U(e,t.type)?ne(e,t.type):T(e,t)}function Ge(e){var t=Object(a.select)("core/rich-text").getFormatType(e);if(t)return Object(a.dispatch)("core/rich-text").removeFormatTypes(e),t;window.console.error("Format ".concat(e," is not registered."))}function Ye(e){var t=G(e);if(void 0===t)return!1;var r=e.replacements,n=G(e,t),o=r[t]||[],a=r[n]||[];return o.length<=a.length}function $e(e){return void 0!==e.replacements[G(e,e.start)]}function Xe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ze(e,t){if(!Ye(e))return e;for(var r=G(e),n=G(e,r),o=e.text,a=e.replacements,c=e.end,s=a.slice(),u=function(e,t){for(var r=e.text,n=e.replacements,o=n[t]||[],a=t;a-- >=0;)if(r[a]===P){var i=n[a]||[];if(i.length===o.length+1)return a;if(i.length<=o.length)return}}(e,r),l=r;l=0;){if(r[a]===P)if((n[a]||[]).length===o.length-1)return a}}function Qe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function et(e){if(!$e(e))return e;for(var t=e.text,r=e.replacements,n=e.start,o=e.end,a=G(e,n),c=r.slice(0),s=r[Je(e,a)]||[],u=function(e,t){for(var r=e.text,n=e.replacements,o=n[t]||[],a=t,i=t||0;i=o.length))return a;a=i}return a}(e,G(e,o)),l=a;l<=u;l++)if(t[l]===P){var f=c[l]||[];c[l]=s.concat(f.slice(s.length+1)),0===c[l].length&&delete c[l]}return function(e){for(var t=1;th?e:t})))}return r?function(e){for(var t=1;t0?o.getRangeAt(0):null;return A({element:r.current,range:a,multilineTag:t,multilineWrapperTags:"li"===t?["ul","ol"]:void 0,__unstableIsEditableTree:!0,preserveWhiteSpace:n})}},{key:"applyRecord",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.domOnly,n=this.props,o=n.__unstableMultilineTag,a=n.forwardedRef;Ae({value:e,current:a.current,multilineTag:o,multilineWrapperTags:"li"===o?["ul","ol"]:void 0,prepareEditableTree:It(this.props,"format_prepare_functions"),__unstableDomOnly:r,placeholder:this.props.placeholder})}},{key:"onPaste",value:function(e){var t=this.props,r=t.formatTypes,n=t.onPaste,o=t.__unstableIsSelected,a=this.state.activeFormats,i=void 0===a?[]:a;if(o){var s=e.clipboardData,u=s.items,l=s.files;u=Object(c.isNil)(u)?[]:u,l=Object(c.isNil)(l)?[]:l;var f="",p="";try{f=s.getData("text/plain"),p=s.getData("text/html")}catch(e){try{p=s.getData("Text")}catch(e){return}}e.preventDefault(),window.console.log("Received HTML:\n\n",p),window.console.log("Received plain text:\n\n",f);var d=this.record,h=r.reduce((function(e,t){var r=t.__unstablePasteRule;return r&&e===d&&(e=r(d,{html:p,plainText:f})),e}),d);h===d?n&&(l=Array.from(l),Array.from(u).forEach((function(e){if(e.getAsFile){var t=e.getAsFile();if(t){var r=t.name,n=t.type,o=t.size;Object(c.find)(l,{name:r,type:n,size:o})||l.push(t)}}})),n({value:this.removeEditorOnlyFormats(d),onChange:this.onChange,html:p,plainText:f,files:l,activeFormats:i})):this.onChange(h)}else e.preventDefault()}},{key:"onFocus",value:function(){var e=this.props.unstableOnFocus;if(e&&e(),this.props.__unstableIsSelected)this.props.onSelectionChange(this.record.start,this.record.end),this.setState({activeFormats:B(Ct({},this.record,{activeFormats:void 0}),Rt)});else{var t=Rt;this.record=Ct({},this.record,{start:void 0,end:void 0,activeFormats:t}),this.props.onSelectionChange(void 0,void 0),this.setState({activeFormats:t})}this.rafId=window.requestAnimationFrame(this.onSelectionChange),document.addEventListener("selectionchange",this.onSelectionChange),this.props.setFocusedElement&&(gt()("wp.blockEditor.RichText setFocusedElement prop",{alternative:"selection state from the block editor store."}),this.props.setFocusedElement(this.props.instanceId))}},{key:"onBlur",value:function(){document.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"onInput",value:function(e){var t;if(!this.isComposing)if(e&&(t=e.inputType),!t&&e&&e.nativeEvent&&(t=e.nativeEvent.inputType),!t||0!==t.indexOf("format")&&!kt.has(t)){var r=this.createRecord(),n=this.record,o=n.start,a=n.activeFormats,i=void 0===a?[]:a,c=function(e){var t=e.value,r=e.start,n=e.end,o=e.formats,a=t.formats[r-1]||[],i=t.formats[n]||[];for(t.activeFormats=o.map((function(e,t){if(a[t]){if(g(e,a[t]))return a[t]}else if(i[t]&&g(e,i[t]))return i[t];return e}));--n>=r;)t.activeFormats.length>0?t.formats[n]=t.activeFormats:delete t.formats[n];return t}({value:r,start:o,end:r.start,formats:i});this.onChange(c,{withoutHistory:!0});var s=this.props,u=s.__unstableInputRule,l=s.__unstableMarkAutomaticChange,f=s.__unstableAllowPrefixTransformations,p=s.formatTypes,d=s.setTimeout;if((0,s.clearTimeout)(this.onInput.timeout),this.onInput.timeout=d(this.onCreateUndoLevel,1e3),f&&"insertText"===t){u&&u(c,this.valueToFormat);var h=p.reduce((function(e,t){var r=t.__unstableInputRule;return r&&(e=r(e)),e}),c);h!==c&&(this.onCreateUndoLevel(),this.onChange(Ct({},h,{activeFormats:i})),l())}}else this.applyRecord(this.record)}},{key:"onCompositionStart",value:function(){this.isComposing=!0,document.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"onCompositionEnd",value:function(){this.isComposing=!1,this.onInput({inputType:"insertText"}),document.addEventListener("selectionchange",this.onSelectionChange)}},{key:"onSelectionChange",value:function(e){if(("selectionchange"===e.type||this.props.__unstableIsSelected)&&!this.props.disabled&&!this.isComposing){var t=this.createRecord(),r=t.start,n=t.end,o=t.text,a=this.record;if(o===a.text)if(r!==a.start||n!==a.end){var i=this.props,c=i.__unstableIsCaretWithinFormattedText,s=i.__unstableOnEnterFormattedText,u=i.__unstableOnExitFormattedText,l=Ct({},a,{start:r,end:n,activeFormats:void 0}),f=B(l,Rt);l.activeFormats=f,!c&&f.length?s():c&&!f.length&&u(),this.record=l,this.applyRecord(l,{domOnly:!0}),this.props.onSelectionChange(r,n),this.setState({activeFormats:f})}else 0===a.text.length&&0===r&&function(){var e=window.getSelection(),t=e.anchorNode,r=e.anchorOffset;if(t.nodeType===t.ELEMENT_NODE){var n=t.childNodes[r];n&&n.nodeType===n.ELEMENT_NODE&&n.getAttribute("data-rich-text-placeholder")&&e.collapseToStart()}}();else this.onInput()}}},{key:"onChange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.withoutHistory;this.applyRecord(e);var n=e.start,o=e.end,a=e.activeFormats,i=void 0===a?[]:a,s=Object(c.pickBy)(this.props,(function(e,t){return t.startsWith("format_on_change_functions_")}));Object.values(s).forEach((function(t){t(e.formats,e.text)})),this.value=this.valueToFormat(e),this.record=e,this.props.onSelectionChange(n,o),this.props.onChange(this.value),this.setState({activeFormats:i}),r||this.onCreateUndoLevel()}},{key:"onCreateUndoLevel",value:function(){this.lastHistoryValue!==this.value&&(this.props.__unstableOnCreateUndoLevel(),this.lastHistoryValue=this.value)}},{key:"handleDelete",value:function(e){var t=e.keyCode;if(t===dt.DELETE||t===dt.BACKSPACE||t===dt.ESCAPE){if(this.props.__unstableDidAutomaticChange)return e.preventDefault(),void this.props.__unstableUndo();if(t!==dt.ESCAPE){var r,n=this.props,o=n.onDelete,a=n.__unstableMultilineTag,i=this.state.activeFormats,c=void 0===i?[]:i,s=this.createRecord(),u=s.start,l=s.end,f=s.text,p=t===dt.BACKSPACE;if(0===u&&0!==l&&l===f.length)return this.onChange(ie(s)),void e.preventDefault();if(a)if(r=p&&0===s.start&&0===s.end&&J(s)?le(s,!p):le(s,p))return this.onChange(r),void e.preventDefault();!o||!X(s)||c.length||p&&0!==u||!p&&l!==f.length||(o({isReverse:p,value:s}),e.preventDefault())}}}},{key:"handleEnter",value:function(e){if(e.keyCode===dt.ENTER){e.preventDefault();var t=this.props.onEnter;t&&t({value:this.removeEditorOnlyFormats(this.createRecord()),onChange:this.onChange,shiftKey:e.shiftKey})}}},{key:"handleSpace",value:function(e){var t=e.keyCode,r=e.shiftKey,n=e.altKey,o=e.metaKey,a=e.ctrlKey,i=this.props,c=i.tagName,s=i.__unstableMultilineTag;if(!(r||n||o||a||t!==dt.SPACE||"li"!==s)){var u=this.createRecord();if(X(u)){var l=u.text[u.start-1];l&&l!==P||(this.onChange(Ze(u,{type:c})),e.preventDefault())}}}},{key:"handleHorizontalNavigation",value:function(e){var t=e.keyCode,r=e.shiftKey,n=e.altKey,o=e.metaKey,a=e.ctrlKey;if(!(r||n||o||a||t!==dt.LEFT&&t!==dt.RIGHT)){var i=this.record,c=i.text,s=i.formats,u=i.start,l=i.end,f=i.activeFormats,p=void 0===f?[]:f,d=X(i),h="rtl"===Nt(this.props.forwardedRef.current).direction?dt.RIGHT:dt.LEFT,b=e.keyCode===h;if(d&&0===p.length){if(0===u&&b)return;if(l===c.length&&!b)return}if(d){e.preventDefault();var m=s[u-1]||Rt,v=s[u]||Rt,g=p.length,y=v;if(m.length>v.length&&(y=m),m.lengthm.length&&g--):m.length>v.length&&(!b&&p.length>v.length&&g--,b&&p.length= 0) continue; + target[key] = source[key]; + } + + return target; +} + +/***/ }), + +/***/ 441: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(12); +var esm_extends = __webpack_require__(11); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js -var objectSpread = __webpack_require__(6); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(5); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(20); +var objectWithoutProperties = __webpack_require__(19); // EXTERNAL MODULE: external {"this":["wp","element"]} var external_this_wp_element_ = __webpack_require__(0); @@ -335,23 +366,23 @@ var external_this_wp_element_ = __webpack_require__(0); var external_this_wp_data_ = __webpack_require__(4); // EXTERNAL MODULE: external {"this":["wp","deprecated"]} -var external_this_wp_deprecated_ = __webpack_require__(33); +var external_this_wp_deprecated_ = __webpack_require__(35); var external_this_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_deprecated_); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js -var classCallCheck = __webpack_require__(14); +var classCallCheck = __webpack_require__(13); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js -var createClass = __webpack_require__(13); +var createClass = __webpack_require__(12); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js -var possibleConstructorReturn = __webpack_require__(15); +var possibleConstructorReturn = __webpack_require__(14); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js -var getPrototypeOf = __webpack_require__(16); +var getPrototypeOf = __webpack_require__(15); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules -var inherits = __webpack_require__(17); +var inherits = __webpack_require__(16); // EXTERNAL MODULE: external {"this":"lodash"} var external_this_lodash_ = __webpack_require__(2); @@ -360,11 +391,11 @@ var external_this_lodash_ = __webpack_require__(2); var external_this_wp_i18n_ = __webpack_require__(1); // EXTERNAL MODULE: external {"this":["wp","apiFetch"]} -var external_this_wp_apiFetch_ = __webpack_require__(38); +var external_this_wp_apiFetch_ = __webpack_require__(40); var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_); // EXTERNAL MODULE: external {"this":["wp","url"]} -var external_this_wp_url_ = __webpack_require__(25); +var external_this_wp_url_ = __webpack_require__(26); // EXTERNAL MODULE: external {"this":["wp","components"]} var external_this_wp_components_ = __webpack_require__(3); @@ -379,6 +410,10 @@ var external_this_wp_components_ = __webpack_require__(3); +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * External dependencies */ @@ -395,11 +430,11 @@ var external_this_wp_components_ = __webpack_require__(3); function rendererPath(block) { var attributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; var urlQueryArgs = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; - return Object(external_this_wp_url_["addQueryArgs"])("/wp/v2/block-renderer/".concat(block), Object(objectSpread["a" /* default */])({ + return Object(external_this_wp_url_["addQueryArgs"])("/wp/v2/block-renderer/".concat(block), _objectSpread({ context: 'edit' }, null !== attributes ? { attributes: attributes - } : {}, urlQueryArgs)); + } : {}, {}, urlQueryArgs)); } var server_side_render_ServerSideRender = /*#__PURE__*/ @@ -520,7 +555,7 @@ server_side_render_ServerSideRender.defaultProps = { var className = _ref.className; return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], { className: className - }, Object(external_this_wp_i18n_["__"])('Block rendered as empty.') + className); + }, Object(external_this_wp_i18n_["__"])('Block rendered as empty.')); }, ErrorResponsePlaceholder: function ErrorResponsePlaceholder(_ref2) { var response = _ref2.response, @@ -546,6 +581,10 @@ server_side_render_ServerSideRender.defaultProps = { +function build_module_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function build_module_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { build_module_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { build_module_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + /** * WordPress dependencies */ @@ -587,7 +626,7 @@ var ExportedServerSideRender = Object(external_this_wp_data_["withSelect"])(func return urlQueryArgs; } - return Object(objectSpread["a" /* default */])({ + return build_module_objectSpread({ post_id: currentPostId }, urlQueryArgs); }, [currentPostId, urlQueryArgs]); @@ -612,79 +651,7 @@ if (window && window.wp && window.wp.components) { /***/ }), -/***/ 4: -/***/ (function(module, exports) { - -(function() { module.exports = this["wp"]["data"]; }()); - -/***/ }), - -/***/ 40: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; }); -function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } - - return target; -} - -/***/ }), - -/***/ 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; -} - -/***/ }), - -/***/ 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; -} - -/***/ }), - -/***/ 9: +/***/ 5: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; @@ -704,6 +671,21 @@ function _defineProperty(obj, key, value) { return obj; } +/***/ }), + +/***/ 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; +} + /***/ }) /******/ })["default"]; \ No newline at end of file diff --git a/wp-includes/js/dist/server-side-render.min.js b/wp-includes/js/dist/server-side-render.min.js index bbc5295c2e..01a4d94aa9 100644 --- a/wp-includes/js/dist/server-side-render.min.js +++ b/wp-includes/js/dist/server-side-render.min.js @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.serverSideRender=function(e){var t={};function 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=391)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},12:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}},25:function(e,t){!function(){e.exports=this.wp.url}()},3:function(e,t){!function(){e.exports=this.wp.components}()},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}()},38:function(e,t){!function(){e.exports=this.wp.apiFetch}()},391:function(e,t,n){"use strict";n.r(t);var r=n(12),o=n(6),c=n(20),u=n(0),i=n(4),s=n(33),a=n.n(s),l=n(14),f=n(13),p=n(15),b=n(16),d=n(17),h=n(2),O=n(1),y=n(38),j=n.n(y),m=n(25),v=n(3);var w=function(e){function t(e){var n;return Object(l.a)(this,t),(n=Object(p.a)(this,Object(b.a)(t).call(this,e))).state={response:null},n}return Object(d.a)(t,e),Object(f.a)(t,[{key:"componentDidMount",value:function(){this.isStillMounted=!0,this.fetch(this.props),this.fetch=Object(h.debounce)(this.fetch,500)}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"componentDidUpdate",value:function(e){Object(h.isEqual)(e,this.props)||this.fetch(this.props)}},{key:"fetch",value:function(e){var t=this;if(this.isStillMounted){null!==this.state.response&&this.setState({response:null});var n=e.block,r=e.attributes,c=void 0===r?null:r,u=e.urlQueryArgs,i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(m.addQueryArgs)("/wp/v2/block-renderer/".concat(e),Object(o.a)({context:"edit"},null!==t?{attributes:t}:{},n))}(n,c,void 0===u?{}:u),s=this.currentFetchRequest=j()({path:i}).then((function(e){t.isStillMounted&&s===t.currentFetchRequest&&e&&t.setState({response:e.rendered})})).catch((function(e){t.isStillMounted&&s===t.currentFetchRequest&&t.setState({response:{error:!0,errorMsg:e.message}})}));return s}}},{key:"render",value:function(){var e=this.state.response,t=this.props,n=t.className,o=t.EmptyResponsePlaceholder,c=t.ErrorResponsePlaceholder,i=t.LoadingResponsePlaceholder;return""===e?Object(u.createElement)(o,Object(r.a)({response:e},this.props)):e?e.error?Object(u.createElement)(c,Object(r.a)({response:e},this.props)):Object(u.createElement)(u.RawHTML,{key:"html",className:n},e):Object(u.createElement)(i,Object(r.a)({response:e},this.props))}}]),t}(u.Component);w.defaultProps={EmptyResponsePlaceholder:function(e){var t=e.className;return Object(u.createElement)(v.Placeholder,{className:t},Object(O.__)("Block rendered as empty.")+t)},ErrorResponsePlaceholder:function(e){var t=e.response,n=e.className,r=Object(O.sprintf)(Object(O.__)("Error loading block: %s"),t.errorMsg);return Object(u.createElement)(v.Placeholder,{className:n},r)},LoadingResponsePlaceholder:function(e){var t=e.className;return Object(u.createElement)(v.Placeholder,{className:t},Object(u.createElement)(v.Spinner,null))}};var g=w,P={},S=Object(i.withSelect)((function(e){var t=e("core/editor");if(t){var n=t.getCurrentPostId();if(n)return{currentPostId:n}}return P}))((function(e){var t=e.urlQueryArgs,n=void 0===t?P:t,i=e.currentPostId,s=Object(c.a)(e,["urlQueryArgs","currentPostId"]),a=Object(u.useMemo)((function(){return i?Object(o.a)({post_id:i},n):n}),[i,n]);return Object(u.createElement)(g,Object(r.a)({urlQueryArgs:a},s))}));window&&window.wp&&window.wp.components&&(window.wp.components.ServerSideRender=Object(u.forwardRef)((function(e,t){return a()("wp.components.ServerSideRender",{alternative:"wp.serverSideRender"}),Object(u.createElement)(S,Object(r.a)({},e,{ref:t}))})));t.default=S},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={},c=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},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||Object.prototype.propertyIsEnumerable.call(e,r)&&(c[r]=e[r])}return c}},2:function(e,t){!function(){e.exports=this.lodash}()},26:function(e,t){!function(){e.exports=this.wp.url}()},3:function(e,t){!function(){e.exports=this.wp.components}()},32:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}r.d(t,"a",(function(){return n}))},35:function(e,t){!function(){e.exports=this.wp.deprecated}()},4:function(e,t){!function(){e.exports=this.wp.data}()},40:function(e,t){!function(){e.exports=this.wp.apiFetch}()},41:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,o={},c=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}r.d(t,"a",(function(){return n}))},441:function(e,t,r){"use strict";r.r(t);var n=r(11),o=r(5),c=r(19),u=r(0),i=r(4),s=r(35),a=r.n(s),f=r(13),l=r(12),p=r(14),b=r(15),d=r(16),O=r(2),y=r(1),h=r(40),j=r.n(h),v=r(26),m=r(3);function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(v.addQueryArgs)("/wp/v2/block-renderer/".concat(e),function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:0,r=s(t);r.lastIndex=n;var i=r.exec(e);if(i){if("["===i[1]&&"]"===i[7])return u(t,e,r.lastIndex);var o={index:i.index,content:i[0],shortcode:f(i)};return i[1]&&(o.content=o.content.slice(1),o.index++),i[7]&&(o.content=o.content.slice(0,-1)),o}}function o(t,e,n){return e.replace(s(t),(function(t,e,r,i,u,o,c,s){if("["===e&&"]"===s)return t;var a=n(f(arguments));return a?e+a+s:t}))}function c(t){return new l(t).string()}function s(t){return new RegExp("\\[(\\[?)("+t+")(?![\\w-])([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)(?:(\\/)\\]|\\](?:([^\\[]*(?:\\[(?!\\/\\2\\])[^\\[]*)*)(\\[\\/\\2\\]))?)(\\]?)","g")}var a=n.n(i)()((function(t){var e,n={},r=[],i=/([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*'([^']*)'(?:\s|$)|([\w-]+)\s*=\s*([^\s'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|'([^']*)'(?:\s|$)|(\S+)(?:\s|$)/g;for(t=t.replace(/[\u00a0\u200b]/g," ");e=i.exec(t);)e[1]?n[e[1].toLowerCase()]=e[2]:e[3]?n[e[3].toLowerCase()]=e[4]:e[5]?n[e[5].toLowerCase()]=e[6]:e[7]?r.push(e[7]):e[8]?r.push(e[8]):e[9]&&r.push(e[9]);return{named:n,numeric:r}}));function f(t){var e;return e=t[4]?"self-closing":t[6]?"closed":"single",new l({tag:t[2],attrs:t[3],type:e,content:t[5]})}var l=Object(r.extend)((function(t){var e=this;Object(r.extend)(this,Object(r.pick)(t||{},"tag","attrs","type","content"));var n=this.attrs;this.attrs={named:{},numeric:[]},n&&(Object(r.isString)(n)?this.attrs=a(n):Object(r.isEqual)(Object.keys(n),["named","numeric"])?this.attrs=n:Object(r.forEach)(n,(function(t,n){e.set(n,t)})))}),{next:u,replace:o,string:c,regexp:s,attrs:a,fromMatch:f});Object(r.extend)(l.prototype,{get:function(t){return this.attrs[Object(r.isNumber)(t)?"numeric":"named"][t]},set:function(t,e){return this.attrs[Object(r.isNumber)(t)?"numeric":"named"][t]=e,this},string:function(){var t="["+this.tag;return Object(r.forEach)(this.attrs.numeric,(function(e){/\s/.test(e)?t+=' "'+e+'"':t+=" "+e})),Object(r.forEach)(this.attrs.named,(function(e,n){t+=" "+n+'="'+e+'"'})),"single"===this.type?t+"]":"self-closing"===this.type?t+" /]":(t+="]",this.content&&(t+=this.content),t+"[/"+this.tag+"]")}}),e.default=l},42:function(t,e,n){t.exports=function(t,e){var n,r,i,u=0;function o(){var e,o,c=r,s=arguments.length;t:for(;c;){if(c.args.length===arguments.length){for(o=0;o2&&void 0!==arguments[2]?arguments[2]:0,r=s(t);r.lastIndex=n;var i=r.exec(e);if(i){if("["===i[1]&&"]"===i[7])return u(t,e,r.lastIndex);var o={index:i.index,content:i[0],shortcode:f(i)};return i[1]&&(o.content=o.content.slice(1),o.index++),i[7]&&(o.content=o.content.slice(0,-1)),o}}function o(t,e,n){return e.replace(s(t),(function(t,e,r,i,u,o,c,s){if("["===e&&"]"===s)return t;var a=n(f(arguments));return a?e+a+s:t}))}function c(t){return new l(t).string()}function s(t){return new RegExp("\\[(\\[?)("+t+")(?![\\w-])([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)(?:(\\/)\\]|\\](?:([^\\[]*(?:\\[(?!\\/\\2\\])[^\\[]*)*)(\\[\\/\\2\\]))?)(\\]?)","g")}var a=n.n(i)()((function(t){var e,n={},r=[],i=/([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*'([^']*)'(?:\s|$)|([\w-]+)\s*=\s*([^\s'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|'([^']*)'(?:\s|$)|(\S+)(?:\s|$)/g;for(t=t.replace(/[\u00a0\u200b]/g," ");e=i.exec(t);)e[1]?n[e[1].toLowerCase()]=e[2]:e[3]?n[e[3].toLowerCase()]=e[4]:e[5]?n[e[5].toLowerCase()]=e[6]:e[7]?r.push(e[7]):e[8]?r.push(e[8]):e[9]&&r.push(e[9]);return{named:n,numeric:r}}));function f(t){var e;return e=t[4]?"self-closing":t[6]?"closed":"single",new l({tag:t[2],attrs:t[3],type:e,content:t[5]})}var l=Object(r.extend)((function(t){var e=this;Object(r.extend)(this,Object(r.pick)(t||{},"tag","attrs","type","content"));var n=this.attrs;this.attrs={named:{},numeric:[]},n&&(Object(r.isString)(n)?this.attrs=a(n):Object(r.isEqual)(Object.keys(n),["named","numeric"])?this.attrs=n:Object(r.forEach)(n,(function(t,n){e.set(n,t)})))}),{next:u,replace:o,string:c,regexp:s,attrs:a,fromMatch:f});Object(r.extend)(l.prototype,{get:function(t){return this.attrs[Object(r.isNumber)(t)?"numeric":"named"][t]},set:function(t,e){return this.attrs[Object(r.isNumber)(t)?"numeric":"named"][t]=e,this},string:function(){var t="["+this.tag;return Object(r.forEach)(this.attrs.numeric,(function(e){/\s/.test(e)?t+=' "'+e+'"':t+=" "+e})),Object(r.forEach)(this.attrs.named,(function(e,n){t+=" "+n+'="'+e+'"'})),"single"===this.type?t+"]":"self-closing"===this.type?t+" /]":(t+="]",this.content&&(t+=this.content),t+"[/"+this.tag+"]")}}),e.default=l},44:function(t,e,n){t.exports=function(t,e){var n,r,i,u=0;function o(){var e,o,c=r,s=arguments.length;t:for(;c;){if(c.args.length===arguments.length){for(o=0;o0&&void 0!==arguments[0]?arguments[0]:"";Object(i.a)(this,e),this.value=n,["entries","forEach","keys","values"].forEach((function(e){t[e]=function(){var n;return(n=t._valueAsArray)[e].apply(n,arguments)}}))}return Object(o.a)(e,[{key:"toString",value:function(){return this.value}},{key:Symbol.iterator,value:u.a.mark((function e(){return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(this._valueAsArray,"t0",1);case 1:return e.abrupt("return",e.t0);case 2:case"end":return e.stop()}}),e,this)}))},{key:"item",value:function(e){return this._valueAsArray[e]}},{key:"contains",value:function(e){return-1!==this._valueAsArray.indexOf(e)}},{key:"add",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:"";Object(i.a)(this,e),this.value=n,["entries","forEach","keys","values"].forEach((function(e){t[e]=function(){var n;return(n=t._valueAsArray)[e].apply(n,arguments)}}))}return Object(o.a)(e,[{key:"toString",value:function(){return this.value}},{key:Symbol.iterator,value:u.a.mark((function e(){return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(this._valueAsArray,"t0",1);case 1:return e.abrupt("return",e.t0);case 2:case"end":return e.stop()}}),e,this)}))},{key:"item",value:function(e){return this._valueAsArray[e]}},{key:"contains",value:function(e){return-1!==this._valueAsArray.indexOf(e)}},{key:"add",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n1;){var t=e.pop(),r=t.obj[t.prop];if(o(r)){for(var n=[],i=0;i=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?o+=n.charAt(a):c<128?o+=i[c]:c<2048?o+=i[192|c>>6]+i[128|63&c]:c<55296||c>=57344?o+=i[224|c>>12]+i[128|c>>6&63]+i[128|63&c]:(a+=1,c=65536+((1023&c)<<10|1023&n.charCodeAt(a)),o+=i[240|c>>18]+i[128|c>>12&63]+i[128|c>>6&63]+i[128|63&c])}return o},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function e(t,r,i){if(!r)return t;if("object"!=typeof r){if(o(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(i&&(i.plainObjects||i.allowPrototypes)||!n.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var c=t;return o(t)&&!o(r)&&(c=a(t,i)),o(t)&&o(r)?(r.forEach((function(r,o){if(n.call(t,o)){var a=t[o];a&&"object"==typeof a&&r&&"object"==typeof r?t[o]=e(a,r,i):t.push(r)}else t[o]=r})),t):Object.keys(r).reduce((function(t,o){var a=r[o];return n.call(t,o)?t[o]=e(t[o],a,i):t[o]=a,t}),c)}}},213:function(e,t,r){"use strict";var n=String.prototype.replace,o=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return n.call(e,o,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},359:function(e,t,r){"use strict";var n=r(212),o=r(213),i=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,u=Array.prototype.push,l=function(e,t){u.apply(e,c(t)?t:[t])},s=Date.prototype.toISOString,f={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,formatter:o.formatters[o.default],indices:!1,serializeDate:function(e){return s.call(e)},skipNulls:!1,strictNullHandling:!1},p=function e(t,r,o,i,a,u,s,p,d,y,h,m,b){var g=t;if("function"==typeof s?g=s(r,g):g instanceof Date?g=y(g):"comma"===o&&c(g)&&(g=g.join(",")),null===g){if(i)return u&&!m?u(r,f.encoder,b):r;g=""}if("string"==typeof g||"number"==typeof g||"boolean"==typeof g||n.isBuffer(g))return u?[h(m?r:u(r,f.encoder,b))+"="+h(u(g,f.encoder,b))]:[h(r)+"="+h(String(g))];var v,O=[];if(void 0===g)return O;if(c(s))v=s;else{var j=Object.keys(g);v=p?j.sort(p):j}for(var w=0;w0?g+b:""}},360:function(e,t,r){"use strict";var n=r(212),o=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},a=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},c=function(e,t,r){if(e){var n=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,a=/(\[[^[\]]*])/.exec(n),c=a?n.slice(0,a.index):n,u=[];if(c){if(!r.plainObjects&&o.call(Object.prototype,c)&&!r.allowPrototypes)return;u.push(c)}for(var l=0;null!==(a=i.exec(n))&&l=0;--o){var i,a=e[o];if("[]"===a&&r.parseArrays)i=[].concat(n);else{i=r.plainObjects?Object.create(null):{};var c="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,u=parseInt(c,10);r.parseArrays||""!==c?!isNaN(u)&&a!==c&&String(u)===c&&u>=0&&r.parseArrays&&u<=r.arrayLimit?(i=[])[u]=n:i[c]=n:i={0:n}}n=i}return n}(u,t,r)}};e.exports=function(e,t){var r=function(e){if(!e)return i;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new Error("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?i.charset:e.charset;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth?e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var r,c={},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,l=t.parameterLimit===1/0?void 0:t.parameterLimit,s=u.split(t.delimiter,l),f=-1,p=t.charset;if(t.charsetSentinel)for(r=0;r-1&&(y=y.split(",")),o.call(c,d)?c[d]=n.combine(c[d],y):c[d]=y}return c}(e,r):e,l=r.plainObjects?Object.create(null):{},s=Object.keys(u),f=0;f0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if(!t||!Object.keys(t).length)return e;var r=e,n=e.indexOf("?");return-1!==n&&(t=Object.assign(Object(b.parse)(e.substr(n+1)),t),r=r.substr(0,n)),r+"?"+Object(b.stringify)(t)}function v(e,t){var r=e.indexOf("?");return(-1!==r?Object(b.parse)(e.substr(r+1)):{})[t]}function O(e,t){return void 0!==v(e,t)}function j(e){for(var t=e.indexOf("?"),r=-1!==t?Object(b.parse)(e.substr(t+1)):{},n=-1!==t?e.substr(0,t):e,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a1;){var t=e.pop(),r=t.obj[t.prop];if(o(r)){for(var n=[],i=0;i=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122?o+=n.charAt(c):a<128?o+=i[a]:a<2048?o+=i[192|a>>6]+i[128|63&a]:a<55296||a>=57344?o+=i[224|a>>12]+i[128|a>>6&63]+i[128|63&a]:(c+=1,a=65536+((1023&a)<<10|1023&n.charCodeAt(c)),o+=i[240|a>>18]+i[128|a>>12&63]+i[128|a>>6&63]+i[128|63&a])}return o},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function e(t,r,i){if(!r)return t;if("object"!=typeof r){if(o(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(i&&(i.plainObjects||i.allowPrototypes)||!n.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var a=t;return o(t)&&!o(r)&&(a=c(t,i)),o(t)&&o(r)?(r.forEach((function(r,o){if(n.call(t,o)){var c=t[o];c&&"object"==typeof c&&r&&"object"==typeof r?t[o]=e(c,r,i):t.push(r)}else t[o]=r})),t):Object.keys(r).reduce((function(t,o){var c=r[o];return n.call(t,o)?t[o]=e(t[o],c,i):t[o]=c,t}),a)}}},251:function(e,t,r){"use strict";var n=String.prototype.replace,o=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return n.call(e,o,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},407:function(e,t,r){"use strict";var n=r(250),o=r(251),i=Object.prototype.hasOwnProperty,c={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},a=Array.isArray,u=Array.prototype.push,l=function(e,t){u.apply(e,a(t)?t:[t])},s=Date.prototype.toISOString,f={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,formatter:o.formatters[o.default],indices:!1,serializeDate:function(e){return s.call(e)},skipNulls:!1,strictNullHandling:!1},p=function e(t,r,o,i,c,u,s,p,d,y,h,m,b){var g=t;if("function"==typeof s?g=s(r,g):g instanceof Date?g=y(g):"comma"===o&&a(g)&&(g=g.join(",")),null===g){if(i)return u&&!m?u(r,f.encoder,b):r;g=""}if("string"==typeof g||"number"==typeof g||"boolean"==typeof g||n.isBuffer(g))return u?[h(m?r:u(r,f.encoder,b))+"="+h(u(g,f.encoder,b))]:[h(r)+"="+h(String(g))];var v,O=[];if(void 0===g)return O;if(a(s))v=s;else{var j=Object.keys(g);v=p?j.sort(p):j}for(var w=0;w0?g+b:""}},408:function(e,t,r){"use strict";var n=r(250),o=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},c=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},a=function(e,t,r){if(e){var n=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,c=/(\[[^[\]]*])/.exec(n),a=c?n.slice(0,c.index):n,u=[];if(a){if(!r.plainObjects&&o.call(Object.prototype,a)&&!r.allowPrototypes)return;u.push(a)}for(var l=0;null!==(c=i.exec(n))&&l=0;--o){var i,c=e[o];if("[]"===c&&r.parseArrays)i=[].concat(n);else{i=r.plainObjects?Object.create(null):{};var a="["===c.charAt(0)&&"]"===c.charAt(c.length-1)?c.slice(1,-1):c,u=parseInt(a,10);r.parseArrays||""!==a?!isNaN(u)&&c!==a&&String(u)===a&&u>=0&&r.parseArrays&&u<=r.arrayLimit?(i=[])[u]=n:i[a]=n:i={0:n}}n=i}return n}(u,t,r)}};e.exports=function(e,t){var r=function(e){if(!e)return i;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new Error("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?i.charset:e.charset;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth?e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var r,a={},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,l=t.parameterLimit===1/0?void 0:t.parameterLimit,s=u.split(t.delimiter,l),f=-1,p=t.charset;if(t.charsetSentinel)for(r=0;r-1&&(y=y.split(",")),o.call(a,d)?a[d]=n.combine(a[d],y):a[d]=y}return a}(e,r):e,l=r.plainObjects?Object.create(null):{},s=Object.keys(u),f=0;f0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if(!t||!Object.keys(t).length)return e;var r=e,n=e.indexOf("?");return-1!==n&&(t=Object.assign(Object(b.parse)(e.substr(n+1)),t),r=r.substr(0,n)),r+"?"+Object(b.stringify)(t)}function v(e,t){var r=e.indexOf("?");return(-1!==r?Object(b.parse)(e.substr(r+1)):{})[t]}function O(e,t){return void 0!==v(e,t)}function j(e){for(var t=e.indexOf("?"),r=-1!==t?Object(b.parse)(e.substr(t+1)):{},n=-1!==t?e.substr(0,t):e,o=arguments.length,i=new Array(o>1?o-1:0),c=1;c0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"SET_IS_MATCHING":return e.values}return t};function u(t){return{type:"SET_IS_MATCHING",values:t}}function a(t,e){return-1===e.indexOf(" ")&&(e=">= "+e),!!t[e]}Object(o.registerStore)("core/viewport",{reducer:c,actions:r,selectors:i});var f=n(2),s=function(t,e){var n=Object(f.debounce)((function(){var t=Object(f.mapValues)(r,(function(t){return t.matches}));Object(o.dispatch)("core/viewport").setIsMatching(t)}),{leading:!0}),r=Object(f.reduce)(t,(function(t,r,i){return Object(f.forEach)(e,(function(e,o){var c=window.matchMedia("(".concat(e,": ").concat(r,"px)"));c.addListener(n);var u=[o,i].join(" ");t[u]=c})),t}),{});window.addEventListener("orientationchange",n),n(),n.flush()},l=n(8),p=n(12),d=n(22),h=n(0),b=function(t){return Object(l.createHigherOrderComponent)((function(e){return Object(l.pure)((function(n){var r=Object(f.mapValues)(t,(function(t){var e=t.split(" "),n=Object(d.a)(e,2),r=n[0],i=n[1];return void 0===i&&(i=r,r=">="),Object(l.useViewportMatch)(i,r)}));return Object(h.createElement)(e,Object(p.a)({},n,r))}))}),"withViewportMatch")},v=function(t){return Object(l.createHigherOrderComponent)(Object(l.compose)([b({isViewportMatch:t}),Object(l.ifCondition)((function(t){return t.isViewportMatch}))]),"ifViewportMatches")};n.d(e,"ifViewportMatches",(function(){return v})),n.d(e,"withViewportMatch",(function(){return b}));s({huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},{"<":"max-width",">=":"min-width"})},4:function(t,e){!function(){t.exports=this.wp.data}()},8:function(t,e){!function(){t.exports=this.wp.compose}()}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.viewport=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=426)}({0:function(t,e){!function(){t.exports=this.wp.element}()},11:function(t,e,n){"use strict";function r(){return(r=Object.assign||function(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"SET_IS_MATCHING":return e.values}return t};function u(t){return{type:"SET_IS_MATCHING",values:t}}function a(t,e){return-1===e.indexOf(" ")&&(e=">= "+e),!!t[e]}Object(o.registerStore)("core/viewport",{reducer:c,actions:r,selectors:i});var f=n(2),s=function(t,e){var n=Object(f.debounce)((function(){var t=Object(f.mapValues)(r,(function(t){return t.matches}));Object(o.dispatch)("core/viewport").setIsMatching(t)}),{leading:!0}),r=Object(f.reduce)(t,(function(t,r,i){return Object(f.forEach)(e,(function(e,o){var c=window.matchMedia("(".concat(e,": ").concat(r,"px)"));c.addListener(n);var u=[o,i].join(" ");t[u]=c})),t}),{});window.addEventListener("orientationchange",n),n(),n.flush()},l=n(8),p=n(11),d=n(22),h=n(0),b=function(t){return Object(l.createHigherOrderComponent)((function(e){return Object(l.pure)((function(n){var r=Object(f.mapValues)(t,(function(t){var e=t.split(" "),n=Object(d.a)(e,2),r=n[0],i=n[1];return void 0===i&&(i=r,r=">="),Object(l.useViewportMatch)(i,r)}));return Object(h.createElement)(e,Object(p.a)({},n,r))}))}),"withViewportMatch")},v=function(t){return Object(l.createHigherOrderComponent)(Object(l.compose)([b({isViewportMatch:t}),Object(l.ifCondition)((function(t){return t.isViewportMatch}))]),"ifViewportMatches")};n.d(e,"ifViewportMatches",(function(){return v})),n.d(e,"withViewportMatch",(function(){return b}));s({huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},{"<":"max-width",">=":"min-width"})},8:function(t,e){!function(){t.exports=this.wp.compose}()}}); \ No newline at end of file diff --git a/wp-includes/js/dist/warning.js b/wp-includes/js/dist/warning.js new file mode 100644 index 0000000000..28dbad841b --- /dev/null +++ b/wp-includes/js/dist/warning.js @@ -0,0 +1,329 @@ +this["wp"] = this["wp"] || {}; this["wp"]["warning"] = +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 409); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ 102: +/***/ (function(module, exports) { + +// shim for using process in browser +var process = module.exports = {}; + +// cached from whatever global is present so that test runners that stub it +// don't break things. But we need to wrap it in a try catch in case it is +// wrapped in strict mode code which doesn't define any globals. It's inside a +// function because try/catches deoptimize in certain engines. + +var cachedSetTimeout; +var cachedClearTimeout; + +function defaultSetTimout() { + throw new Error('setTimeout has not been defined'); +} +function defaultClearTimeout () { + throw new Error('clearTimeout has not been defined'); +} +(function () { + try { + if (typeof setTimeout === 'function') { + cachedSetTimeout = setTimeout; + } else { + cachedSetTimeout = defaultSetTimout; + } + } catch (e) { + cachedSetTimeout = defaultSetTimout; + } + try { + if (typeof clearTimeout === 'function') { + cachedClearTimeout = clearTimeout; + } else { + cachedClearTimeout = defaultClearTimeout; + } + } catch (e) { + cachedClearTimeout = defaultClearTimeout; + } +} ()) +function runTimeout(fun) { + if (cachedSetTimeout === setTimeout) { + //normal enviroments in sane situations + return setTimeout(fun, 0); + } + // if setTimeout wasn't available but was latter defined + if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { + cachedSetTimeout = setTimeout; + return setTimeout(fun, 0); + } + try { + // when when somebody has screwed with setTimeout but no I.E. maddness + return cachedSetTimeout(fun, 0); + } catch(e){ + try { + // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally + return cachedSetTimeout.call(null, fun, 0); + } catch(e){ + // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error + return cachedSetTimeout.call(this, fun, 0); + } + } + + +} +function runClearTimeout(marker) { + if (cachedClearTimeout === clearTimeout) { + //normal enviroments in sane situations + return clearTimeout(marker); + } + // if clearTimeout wasn't available but was latter defined + if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { + cachedClearTimeout = clearTimeout; + return clearTimeout(marker); + } + try { + // when when somebody has screwed with setTimeout but no I.E. maddness + return cachedClearTimeout(marker); + } catch (e){ + try { + // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally + return cachedClearTimeout.call(null, marker); + } catch (e){ + // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. + // Some versions of I.E. have different rules for clearTimeout vs setTimeout + return cachedClearTimeout.call(this, marker); + } + } + + + +} +var queue = []; +var draining = false; +var currentQueue; +var queueIndex = -1; + +function cleanUpNextTick() { + if (!draining || !currentQueue) { + return; + } + draining = false; + if (currentQueue.length) { + queue = currentQueue.concat(queue); + } else { + queueIndex = -1; + } + if (queue.length) { + drainQueue(); + } +} + +function drainQueue() { + if (draining) { + return; + } + var timeout = runTimeout(cleanUpNextTick); + draining = true; + + var len = queue.length; + while(len) { + currentQueue = queue; + queue = []; + while (++queueIndex < len) { + if (currentQueue) { + currentQueue[queueIndex].run(); + } + } + queueIndex = -1; + len = queue.length; + } + currentQueue = null; + draining = false; + runClearTimeout(timeout); +} + +process.nextTick = function (fun) { + var args = new Array(arguments.length - 1); + if (arguments.length > 1) { + for (var i = 1; i < arguments.length; i++) { + args[i - 1] = arguments[i]; + } + } + queue.push(new Item(fun, args)); + if (queue.length === 1 && !draining) { + runTimeout(drainQueue); + } +}; + +// v8 likes predictible objects +function Item(fun, array) { + this.fun = fun; + this.array = array; +} +Item.prototype.run = function () { + this.fun.apply(null, this.array); +}; +process.title = 'browser'; +process.browser = true; +process.env = {}; +process.argv = []; +process.version = ''; // empty string to avoid regexp issues +process.versions = {}; + +function noop() {} + +process.on = noop; +process.addListener = noop; +process.once = noop; +process.off = noop; +process.removeListener = noop; +process.removeAllListeners = noop; +process.emit = noop; +process.prependListener = noop; +process.prependOnceListener = noop; + +process.listeners = function (name) { return [] } + +process.binding = function (name) { + throw new Error('process.binding is not supported'); +}; + +process.cwd = function () { return '/' }; +process.chdir = function (dir) { + throw new Error('process.chdir is not supported'); +}; +process.umask = function() { return 0; }; + + +/***/ }), + +/***/ 409: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return warning; }); +function isDev() { + return typeof process !== 'undefined' && process.env && "production" !== 'production'; +} +/** + * Shows a warning with `message` if environment is not `production`. + * + * @param {string} message Message to show in the warning. + * + * @example + * ```js + * import warning from '@wordpress/warning'; + * + * function MyComponent( props ) { + * if ( ! props.title ) { + * warning( '`props.title` was not passed' ); + * } + * ... + * } + * ``` + */ + + +function warning(message) { + if (!isDev()) { + return; + } // eslint-disable-next-line no-console + + + console.warn(message); // Throwing an error and catching it immediately to improve debugging + // A consumer can use 'pause on caught exceptions' + // https://github.com/facebook/react/issues/4216 + + try { + throw Error(message); + } catch (x) {// do nothing + } +} + +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(102))) + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/wp-includes/js/dist/warning.min.js b/wp-includes/js/dist/warning.min.js new file mode 100644 index 0000000000..1240c56fdb --- /dev/null +++ b/wp-includes/js/dist/warning.min.js @@ -0,0 +1,2 @@ +/*! This file is auto-generated */ +this.wp=this.wp||{},this.wp.warning=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=409)}({102:function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function c(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:u}catch(t){r=u}}();var f,l=[],a=!1,s=-1;function p(){a&&f&&(a=!1,f.length?l=f.concat(l):s=-1,l.length&&d())}function d(){if(!a){var t=c(p);a=!0;for(var e=l.length;e;){for(f=l,l=[];++s1)for(var n=1;n]*?>/gi,HTMLcommentRegExp://g,spaceRegExp:/ | /gi,HTMLEntityRegExp:/&\S+?;/g,connectorRegExp:/--|\u2014/g,removeRegExp:new RegExp(["[","!-@[-`{-~","€-¿×÷"," -⯿","⸀-⹿","]"].join(""),"g"),astralRegExp:/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wordsRegExp:/\S\s+/g,characters_excluding_spacesRegExp:/\S/g,characters_including_spacesRegExp:/[^\f\n\r\t\v\u00AD\u2028\u2029]/g,l10n:{type:"words"}},i=function(e,t){if(e.HTMLRegExp)return t.replace(e.HTMLRegExp,"\n")},c=function(e,t){return e.astralRegExp?t.replace(e.astralRegExp,"a"):t},u=function(e,t){return e.HTMLEntityRegExp?t.replace(e.HTMLEntityRegExp,""):t},p=function(e,t){return e.connectorRegExp?t.replace(e.connectorRegExp," "):t},s=function(e,t){return e.removeRegExp?t.replace(e.removeRegExp,""):t},a=function(e,t){return e.HTMLcommentRegExp?t.replace(e.HTMLcommentRegExp,""):t},g=function(e,t){return e.shortcodesRegExp?t.replace(e.shortcodesRegExp,"\n"):t},d=function(e,t){if(e.spaceRegExp)return t.replace(e.spaceRegExp," ")},f=function(e,t){return e.HTMLEntityRegExp?t.replace(e.HTMLEntityRegExp,"a"):t};function l(e,t,n){if(""===e)return 0;if(e){var l=function(e,t){var n=Object(r.extend)(o,t);return n.shortcodes=n.l10n.shortcodes||{},n.shortcodes&&n.shortcodes.length&&(n.shortcodesRegExp=new RegExp("\\[\\/?(?:"+n.shortcodes.join("|")+")[^\\]]*?\\]","g")),n.type=e||n.l10n.type,"characters_excluding_spaces"!==n.type&&"characters_including_spaces"!==n.type&&(n.type="words"),n}(t,n),x=l[t+"RegExp"],E="words"===l.type?function(e,t,n){return e=Object(r.flow)(i.bind(this,n),a.bind(this,n),g.bind(this,n),d.bind(this,n),u.bind(this,n),p.bind(this,n),s.bind(this,n))(e),(e+="\n").match(t)}(e,x,l):function(e,t,n){return e=Object(r.flow)(i.bind(this,n),a.bind(this,n),g.bind(this,n),d.bind(this,n),c.bind(this,n),f.bind(this,n))(e),(e+="\n").match(t)}(e,x,l);return E?E.length:0}}n.d(t,"count",(function(){return l}))}}); \ No newline at end of file +this.wp=this.wp||{},this.wp.wordcount=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=423)}({2:function(e,t){!function(){e.exports=this.lodash}()},423:function(e,t,n){"use strict";n.r(t);var r=n(2),o={HTMLRegExp:/<\/?[a-z][^>]*?>/gi,HTMLcommentRegExp://g,spaceRegExp:/ | /gi,HTMLEntityRegExp:/&\S+?;/g,connectorRegExp:/--|\u2014/g,removeRegExp:new RegExp(["[","!-@[-`{-~","€-¿×÷"," -⯿","⸀-⹿","]"].join(""),"g"),astralRegExp:/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wordsRegExp:/\S\s+/g,characters_excluding_spacesRegExp:/\S/g,characters_including_spacesRegExp:/[^\f\n\r\t\v\u00AD\u2028\u2029]/g,l10n:{type:"words"}},i=function(e,t){if(e.HTMLRegExp)return t.replace(e.HTMLRegExp,"\n")},c=function(e,t){return e.astralRegExp?t.replace(e.astralRegExp,"a"):t},u=function(e,t){return e.HTMLEntityRegExp?t.replace(e.HTMLEntityRegExp,""):t},p=function(e,t){return e.connectorRegExp?t.replace(e.connectorRegExp," "):t},s=function(e,t){return e.removeRegExp?t.replace(e.removeRegExp,""):t},a=function(e,t){return e.HTMLcommentRegExp?t.replace(e.HTMLcommentRegExp,""):t},g=function(e,t){return e.shortcodesRegExp?t.replace(e.shortcodesRegExp,"\n"):t},d=function(e,t){if(e.spaceRegExp)return t.replace(e.spaceRegExp," ")},f=function(e,t){return e.HTMLEntityRegExp?t.replace(e.HTMLEntityRegExp,"a"):t};function l(e,t,n){if(""===e)return 0;if(e){var l=function(e,t){var n=Object(r.extend)(o,t);return n.shortcodes=n.l10n.shortcodes||{},n.shortcodes&&n.shortcodes.length&&(n.shortcodesRegExp=new RegExp("\\[\\/?(?:"+n.shortcodes.join("|")+")[^\\]]*?\\]","g")),n.type=e||n.l10n.type,"characters_excluding_spaces"!==n.type&&"characters_including_spaces"!==n.type&&(n.type="words"),n}(t,n),x=l[t+"RegExp"],E="words"===l.type?function(e,t,n){return e=Object(r.flow)(i.bind(this,n),a.bind(this,n),g.bind(this,n),d.bind(this,n),u.bind(this,n),p.bind(this,n),s.bind(this,n))(e),(e+="\n").match(t)}(e,x,l):function(e,t,n){return e=Object(r.flow)(i.bind(this,n),a.bind(this,n),g.bind(this,n),d.bind(this,n),c.bind(this,n),f.bind(this,n))(e),(e+="\n").match(t)}(e,x,l);return E?E.length:0}}n.d(t,"count",(function(){return l}))}}); \ No newline at end of file diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index 02a3091c50..9edc8be35b 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -254,12 +254,14 @@ function wp_default_packages_scripts( &$scripts ) { 'html-entities', 'i18n', 'is-shallow-equal', + 'keyboard-shortcuts', 'keycodes', 'list-reusable-blocks', 'media-utils', 'notices', 'nux', 'plugins', + 'primitives', 'priority-queue', 'redux-routine', 'rich-text', @@ -268,6 +270,7 @@ function wp_default_packages_scripts( &$scripts ) { 'token-list', 'url', 'viewport', + 'warning', 'wordcount', ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 84dc8414cf..7fd5e3e23d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-47198'; +$wp_version = '5.4-alpha-47199'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.