From 5dcfd4a8b0adae0551d38aa2881197af5209ef9c Mon Sep 17 00:00:00 2001 From: Bitpoke Bot Date: Thu, 5 Sep 2024 08:40:42 +0000 Subject: [PATCH] Update `Jetpack` plugin from 13.7 to 13.8 --- wp-content/plugins/jetpack/CHANGELOG.md | 116 + wp-content/plugins/jetpack/_inc/blocks/7.js | 1 - wp-content/plugins/jetpack/_inc/blocks/92.js | 1 + .../_inc/blocks/ai-chat/view.asset.php | 2 +- .../jetpack/_inc/blocks/ai-chat/view.js | 2 +- .../blocks/blogging-prompt/view.asset.php | 2 +- .../_inc/blocks/blogging-prompt/view.js | 2 +- .../_inc/blocks/blogroll/view.asset.php | 2 +- .../jetpack/_inc/blocks/blogroll/view.js | 2 +- .../_inc/blocks/business-hours/view.asset.php | 2 +- .../_inc/blocks/business-hours/view.js | 2 +- .../jetpack/_inc/blocks/button/view.asset.php | 2 +- .../jetpack/_inc/blocks/button/view.js | 2 +- .../_inc/blocks/calendly/view.asset.php | 2 +- .../jetpack/_inc/blocks/calendly/view.js | 2 +- .../_inc/blocks/contact-info/view.asset.php | 2 +- .../jetpack/_inc/blocks/contact-info/view.js | 2 +- .../_inc/blocks/cookie-consent/view.asset.php | 2 +- .../_inc/blocks/cookie-consent/view.js | 2 +- .../_inc/blocks/donations/view.asset.php | 2 +- .../jetpack/_inc/blocks/donations/view.js | 2 +- .../jetpack/_inc/blocks/editor-beta.asset.php | 2 +- .../jetpack/_inc/blocks/editor-beta.css | 2 +- .../jetpack/_inc/blocks/editor-beta.js | 266 +- .../_inc/blocks/editor-beta.js.LICENSE.txt | 17 +- .../jetpack/_inc/blocks/editor-beta.rtl.css | 2 +- .../_inc/blocks/editor-experimental.asset.php | 2 +- .../_inc/blocks/editor-experimental.css | 2 +- .../_inc/blocks/editor-experimental.js | 222 +- .../blocks/editor-experimental.js.LICENSE.txt | 17 +- .../_inc/blocks/editor-experimental.rtl.css | 2 +- .../blocks/editor-no-post-editor.asset.php | 2 +- .../_inc/blocks/editor-no-post-editor.css | 2 +- .../_inc/blocks/editor-no-post-editor.js | 92 +- .../editor-no-post-editor.js.LICENSE.txt | 10 - .../_inc/blocks/editor-no-post-editor.rtl.css | 2 +- .../jetpack/_inc/blocks/editor.asset.php | 2 +- .../plugins/jetpack/_inc/blocks/editor.css | 2 +- .../plugins/jetpack/_inc/blocks/editor.js | 216 +- .../jetpack/_inc/blocks/editor.js.LICENSE.txt | 17 +- .../jetpack/_inc/blocks/editor.rtl.css | 2 +- .../_inc/blocks/eventbrite/view.asset.php | 2 +- .../jetpack/_inc/blocks/eventbrite/view.js | 2 +- .../jetpack/_inc/blocks/gif/view.asset.php | 2 +- .../plugins/jetpack/_inc/blocks/gif/view.js | 2 +- .../_inc/blocks/goodreads/view.asset.php | 2 +- .../jetpack/_inc/blocks/goodreads/view.js | 2 +- .../blocks/google-calendar/view.asset.php | 2 +- .../_inc/blocks/google-calendar/view.js | 2 +- .../blocks/google-docs-embed/view.asset.php | 2 +- .../_inc/blocks/google-docs-embed/view.js | 2 +- .../_inc/blocks/image-compare/view.asset.php | 2 +- .../jetpack/_inc/blocks/image-compare/view.js | 2 +- .../images/avatar1-6287ee7ccb96c6112ed7.jpg | Bin 5817 -> 0 bytes .../images/avatar1-e8722a0be8a3a2815ce4.jpg | Bin 0 -> 5720 bytes .../images/avatar2-346c588dba138c82e44c.jpg | Bin 5951 -> 0 bytes .../images/avatar2-5c5ad1b19340e0c7a5fd.jpg | Bin 0 -> 5891 bytes .../images/avatar3-5c7c3997fa2aad717819.jpg | Bin 0 -> 5115 bytes .../images/avatar3-dce9c36819878a1bf60c.jpg | Bin 5160 -> 0 bytes ...nections-facebook-03b8bce6abd7bc00d150.png | Bin 81661 -> 0 bytes ...nections-facebook-c8a9715c8b6c8707594f.png | Bin 0 -> 80990 bytes ...nstagram-business-02b13c6f259ed76ed147.png | Bin 77398 -> 0 bytes ...nstagram-business-53d4764803db1a7b3cbc.png | Bin 0 -> 76726 bytes ...nections-linkedin-553fcb77cb734fc8d08f.png | Bin 0 -> 73530 bytes ...nections-linkedin-8eb17cdcd3fa4f80c501.png | Bin 74288 -> 0 bytes ...nections-nextdoor-2657489bfff7220ad540.png | Bin 67259 -> 0 bytes ...nections-nextdoor-6e76141465483081fde8.png | Bin 0 -> 66851 bytes ...nnections-threads-1c941351fac252724ae7.png | Bin 0 -> 97757 bytes ...nnections-threads-5c7128de4925906b6d4a.png | Bin 118523 -> 0 bytes ...onnections-tumblr-ac23dad7016040416331.png | Bin 0 -> 54014 bytes ...onnections-tumblr-e4db652e14ad0bda07f2.png | Bin 63550 -> 0 bytes ...view-illustration-dd7b9072ff61acd7f247.svg | 24 - .../map-preview-0088ca72fca2cbebe7a4.jpg | Bin 0 -> 39076 bytes .../map-preview-97bda80ebb6981457630.jpg | Bin 41087 -> 0 bytes ...e_black_and_white-a33452734cf5f59eb2f9.jpg | Bin 0 -> 80492 bytes ...e_black_and_white-b6ad81a7dd09d09fb34d.jpg | Bin 85291 -> 0 bytes ...map-theme_default-b53ccdf170e5ac873ff0.jpg | Bin 113462 -> 0 bytes ...map-theme_default-d3a324cdc6ff2f461574.jpg | Bin 0 -> 109675 bytes ...p-theme_satellite-58322e843e983f7397b5.jpg | Bin 0 -> 153550 bytes ...p-theme_satellite-cc50c608e244f90d18dc.jpg | Bin 160272 -> 0 bytes ...map-theme_terrain-a408b936442d6d33df07.jpg | Bin 0 -> 104835 bytes ...map-theme_terrain-ac291441b3461820747d.jpg | Bin 108702 -> 0 bytes ...ideshow_example-1-07a3f164621235df0419.jpg | Bin 25288 -> 0 bytes ...ideshow_example-1-27620cbeda003e2c71d1.jpg | Bin 0 -> 24542 bytes ...ideshow_example-2-2ee401e47066229bdac5.jpg | Bin 12065 -> 0 bytes ...ideshow_example-2-cce21819e376a0c6a174.jpg | Bin 0 -> 11750 bytes ...ideshow_example-3-0682afca66c485f17ff6.jpg | Bin 39074 -> 0 bytes ...ideshow_example-3-9de0a668f5077bab7ece.jpg | Bin 0 -> 37404 bytes ...gallery_example-2-78fc061b3eff2af1311b.jpg | Bin 0 -> 7106 bytes ...gallery_example-2-7d8f0cf8e262f0112691.jpg | Bin 7151 -> 0 bytes ...gallery_example-3-07a3f164621235df0419.jpg | Bin 25288 -> 0 bytes ...gallery_example-3-27620cbeda003e2c71d1.jpg | Bin 0 -> 24542 bytes ...gallery_example-4-2ee401e47066229bdac5.jpg | Bin 12065 -> 0 bytes ...gallery_example-4-cce21819e376a0c6a174.jpg | Bin 0 -> 11750 bytes ...gallery_example-5-18efa42161dfe5708046.jpg | Bin 0 -> 7079 bytes ...gallery_example-5-a1935fd9cf1181168d90.jpg | Bin 7087 -> 0 bytes ...gallery_example-6-9f9d39c6af0fb4b0d99c.jpg | Bin 7281 -> 0 bytes ...gallery_example-6-bd61852e61001ce631d7.jpg | Bin 0 -> 7230 bytes ...ock-example-image-d7dd9fae6ff49181bfca.jpg | Bin 0 -> 20518 bytes ...ock-example-image-da9ef73787adca8896f2.jpg | Bin 21214 -> 0 bytes .../plugins/jetpack/_inc/blocks/index.json | 3 +- .../blocks/instagram-gallery/view.asset.php | 2 +- .../_inc/blocks/instagram-gallery/view.js | 2 +- .../jetpack/_inc/blocks/like/block.json | 4 +- .../_inc/blocks/mailchimp/view.asset.php | 2 +- .../jetpack/_inc/blocks/mailchimp/view.js | 2 +- .../jetpack/_inc/blocks/map/view.asset.php | 2 +- .../plugins/jetpack/_inc/blocks/map/view.js | 2 +- .../_inc/blocks/nextdoor/view.asset.php | 2 +- .../jetpack/_inc/blocks/nextdoor/view.js | 2 +- .../_inc/blocks/opentable/view.asset.php | 2 +- .../jetpack/_inc/blocks/opentable/view.js | 2 +- .../blocks/payment-buttons/view.asset.php | 2 +- .../_inc/blocks/payment-buttons/view.js | 2 +- .../_inc/blocks/podcast-player/view.asset.php | 2 +- .../_inc/blocks/podcast-player/view.js | 12 +- .../blocks/premium-content/view.asset.php | 2 +- .../_inc/blocks/premium-content/view.js | 2 +- .../_inc/blocks/rating-star/view.asset.php | 2 +- .../jetpack/_inc/blocks/rating-star/view.js | 2 +- .../jetpack/_inc/blocks/recipe/view.asset.php | 2 +- .../jetpack/_inc/blocks/recipe/view.js | 2 +- .../blocks/recurring-payments/view.asset.php | 2 +- .../_inc/blocks/recurring-payments/view.js | 2 +- .../_inc/blocks/repeat-visitor/view.asset.php | 2 +- .../_inc/blocks/repeat-visitor/view.js | 2 +- .../_inc/blocks/send-a-message/view.asset.php | 2 +- .../_inc/blocks/send-a-message/view.js | 2 +- .../_inc/blocks/sharing-button/view.asset.php | 2 +- .../_inc/blocks/sharing-button/view.js | 2 +- .../blocks/sharing-buttons/view.asset.php | 2 +- .../_inc/blocks/sharing-buttons/view.js | 2 +- .../_inc/blocks/slideshow/view.asset.php | 2 +- .../jetpack/_inc/blocks/slideshow/view.js | 4 +- .../jetpack/_inc/blocks/story/view.asset.php | 2 +- .../plugins/jetpack/_inc/blocks/story/view.js | 4 +- .../_inc/blocks/subscriptions/view.asset.php | 2 +- .../_inc/blocks/subscriptions/view.css | 2 +- .../jetpack/_inc/blocks/subscriptions/view.js | 2 +- .../_inc/blocks/subscriptions/view.rtl.css | 2 +- .../_inc/blocks/tiled-gallery/view.asset.php | 2 +- .../jetpack/_inc/blocks/tiled-gallery/view.js | 2 +- .../jetpack/_inc/blocks/tock/view.asset.php | 2 +- .../plugins/jetpack/_inc/blocks/tock/view.js | 2 +- .../_inc/blocks/top-posts/view.asset.php | 2 +- .../jetpack/_inc/blocks/top-posts/view.js | 2 +- .../jetpack/_inc/build/admin.asset.php | 2 +- .../plugins/jetpack/_inc/build/admin.css | 2 +- .../plugins/jetpack/_inc/build/admin.js | 194 +- .../jetpack/_inc/build/admin.js.LICENSE.txt | 12 +- .../plugins/jetpack/_inc/build/admin.rtl.css | 2 +- .../carousel/swiper-bundle.min.asset.php | 2 +- .../_inc/build/carousel/swiper-bundle.min.js | 2 +- .../core-customizer-css-preview.min.asset.php | 1 - .../js/core-customizer-css-preview.min.js | 1 - ...core-customizer-css.core-4.9.min.asset.php | 1 - .../js/core-customizer-css.core-4.9.min.js | 1 - .../images/connect-c399837fe1621b176d10.png | Bin 0 -> 45419 bytes .../images/connect-f27775ac15cf885713c2.png | Bin 62000 -> 0 bytes ...nections-facebook-03b8bce6abd7bc00d150.png | Bin 81661 -> 0 bytes ...nections-facebook-c8a9715c8b6c8707594f.png | Bin 0 -> 80990 bytes ...nstagram-business-02b13c6f259ed76ed147.png | Bin 77398 -> 0 bytes ...nstagram-business-53d4764803db1a7b3cbc.png | Bin 0 -> 76726 bytes ...nections-linkedin-553fcb77cb734fc8d08f.png | Bin 0 -> 73530 bytes ...nections-linkedin-8eb17cdcd3fa4f80c501.png | Bin 74288 -> 0 bytes ...nections-nextdoor-2657489bfff7220ad540.png | Bin 67259 -> 0 bytes ...nections-nextdoor-6e76141465483081fde8.png | Bin 0 -> 66851 bytes ...nnections-threads-1c941351fac252724ae7.png | Bin 0 -> 97757 bytes ...nnections-threads-5c7128de4925906b6d4a.png | Bin 118523 -> 0 bytes ...onnections-tumblr-ac23dad7016040416331.png | Bin 0 -> 54014 bytes ...onnections-tumblr-e4db652e14ad0bda07f2.png | Bin 63550 -> 0 bytes ...header-background-1c2ea006d80269b11144.jpg | Bin 0 -> 9917 bytes ...header-background-c0f56cae4d269449fbdc.jpg | Bin 9965 -> 0 bytes ...ivation-with-lock-7b01c1a4cf56de799cd7.png | Bin 144326 -> 0 bytes ...ivation-with-lock-cef570e11997f185e23d.png | Bin 0 -> 125665 bytes ...tion-with-success-c5c132e713a79e05985f.png | Bin 0 -> 125102 bytes ...tion-with-success-cad524ede4e793cc0ece.png | Bin 145433 -> 0 bytes .../infinite-scroll/infinity.min.asset.php | 2 +- .../build/infinite-scroll/infinity.min.js | 2 +- .../jetpack/_inc/build/plugins-page.asset.php | 2 +- .../jetpack/_inc/build/plugins-page.js | 2 +- .../build/shortcodes/js/jmpress.min.asset.php | 2 +- .../_inc/build/shortcodes/js/jmpress.min.js | 2 +- .../js/slideshow-shortcode.min.asset.php | 2 +- .../shortcodes/js/slideshow-shortcode.min.js | 2 +- .../plugins/jetpack/_inc/build/style.min.css | 2 +- .../jetpack/_inc/build/style.min.rtl.css | 2 +- .../js/videopress-plupload.min.asset.php | 2 +- .../videopress/js/videopress-plupload.min.js | 2 +- .../widget-visibility/editor/index.asset.php | 2 +- .../build/widget-visibility/editor/index.js | 2 +- .../google-translate.min.asset.php | 2 +- .../google-translate/google-translate.min.js | 2 +- .../simple-payments/customizer.min.asset.php | 2 +- .../widgets/simple-payments/customizer.min.js | 2 +- .../class-jetpack-redux-state-helper.php | 2 +- .../admin-pages/class.jetpack-react-page.php | 35 +- .../_inc/lib/class-jetpack-ai-helper.php | 12 + .../lib/class-jetpack-google-drive-helper.php | 133 - .../lib/class-jetpack-top-posts-helper.php | 8 + .../plugins/jetpack/_inc/lib/class.color.php | 2 + .../_inc/lib/class.media-extractor.php | 7 + ...-wpcom-rest-api-v2-endpoint-admin-menu.php | 9 +- ...com-rest-api-v2-endpoint-email-preview.php | 32 +- ...s-wpcom-rest-api-v2-endpoint-mailchimp.php | 10 + ...ass-wpcom-rest-api-v2-endpoint-profile.php | 72 + .../plugins/jetpack/_inc/lib/tonesque.php | 4 + .../plugins/jetpack/class.jetpack-admin.php | 1 + .../jetpack/class.jetpack-gutenberg.php | 6 +- wp-content/plugins/jetpack/class.jetpack.php | 3 - wp-content/plugins/jetpack/composer.json | 82 +- .../plugins/jetpack/css/cleanslate-rtl.css | 1 - .../jetpack/css/cleanslate-rtl.min.css | 2 +- wp-content/plugins/jetpack/css/cleanslate.css | 1 - .../plugins/jetpack/css/cleanslate.min.css | 2 +- .../plugins/jetpack/css/jetpack-rtl.css | 2 +- wp-content/plugins/jetpack/css/jetpack.css | 2 +- .../plugins/jetpack/css/wordads-ccpa-rtl.css | 1 - .../jetpack/css/wordads-ccpa-rtl.min.css | 2 +- .../plugins/jetpack/css/wordads-ccpa.css | 1 - .../plugins/jetpack/css/wordads-ccpa.min.css | 2 +- .../blocks/ai-assistant/ai-assistant.php | 12 + .../dropdown-content.tsx | 2 +- .../ai-assistant-toolbar-dropdown/index.tsx | 4 +- .../components/connect-prompt/index.tsx | 2 +- .../components/message/block-message.tsx | 2 +- .../ai-assistant/components/message/index.tsx | 2 +- .../index.tsx | 114 +- .../light-nudge.tsx | 0 .../extensions/ai-assistant/index.ts | 6 +- .../components/ai-assistant-bar/index.tsx | 6 +- .../ai-assistant-toolbar-button/index.tsx | 4 +- .../extensions/jetpack-contact-form/index.tsx | 6 +- .../with-ui-handler-data-provider.tsx | 14 +- .../hooks/use-ai-feature/index.ts | 13 +- .../hooks/use-selected-blocks/index.ts | 2 +- .../components/ai-assistant-input/index.tsx | 8 + .../ai-assistant-toolbar-dropdown/index.tsx | 2 +- .../inline-extensions/get-block-handler.tsx | 4 +- .../lib/is-possible-to-extend-block.ts | 2 +- .../inline-extensions/with-ai-extension.tsx | 2 +- .../ai-assistant/lib/connection/index.ts | 2 +- .../ai-assistant/lib/prompt/backend-prompt.ts | 20 +- .../blocks/ai-assistant/lib/prompt/index.ts | 2 +- .../ai-assistant/lib/utils/block-content.ts | 10 +- .../ai-assistant/lib/utils/compare-blocks.ts | 2 +- .../blocks/ai-assistant/transforms/index.tsx | 4 +- .../class-jetpack-contact-info-block.php | 2 +- .../extensions/blocks/donations/donations.php | 12 + .../payment-buttons/payment-buttons.php | 2 +- .../blocks/sharing-button/sharing-button.php | 6 - .../class-jetpack-subscription-site.php | 2 +- .../utils/extract-video-chapters.ts | 8 +- .../utils/generate-chapters-file.ts | 4 +- .../blocks/voice-to-content/edit.tsx | 8 +- .../hooks/use-transcription-creator/index.ts | 2 +- .../hooks/use-transcription-inserter/index.ts | 2 +- .../components/ai-toolbar-button.tsx | 4 +- .../extended-blocks/core-site-logo/index.tsx | 10 +- .../ai-assistant-plugin-sidebar/index.tsx | 59 +- .../ai-assistant-plugin-sidebar/types.ts | 2 + .../ai-image/components/ai-image-modal.tsx | 6 +- .../ai-image/components/carrousel.tsx | 2 +- .../components/breve/controls.tsx | 164 + .../breve/features/complex-words/index.ts | 2 +- .../components/breve/features/events.ts | 25 +- .../components/breve/features/index.ts | 6 + .../breve/features/long-sentences/index.ts | 2 +- .../breve/features/spelling-mistakes/a8c.ts | 18 + .../breve/features/spelling-mistakes/index.ts | 211 + .../breve/features/unconfident-words/index.ts | 2 +- .../components/breve/highlight/index.tsx | 299 +- .../components/breve/index.ts | 3 +- .../components/breve/store/actions.ts | 32 +- .../components/breve/store/reducer.ts | 61 +- .../components/breve/store/selectors.ts | 12 +- .../components/breve/types.ts | 34 + .../breve/utils/FleschKincaidUtils.ts | 45 + .../components/breve/utils/escapeRegExp.ts | 3 + .../breve/utils/get-availability.ts | 59 +- .../components/breve/utils/get-dictionary.ts | 43 + .../components/breve/utils/get-target-text.ts | 21 + .../components/breve/utils/register-format.ts | 137 + .../breve/utils/replace-occurrence.ts | 18 + .../components/title-optimization/index.tsx | 112 +- .../title-optimization-keywords.tsx | 47 + .../components/usage-bar/index.tsx | 2 +- .../components/usage-panel/index.tsx | 10 +- .../extend/ai-post-excerpt/index.tsx | 6 +- .../external-media/media-service/index.ts | 32 +- .../extensions/shared/use-plan-type/index.ts | 2 +- .../extensions/shared/use-ref-interval.ts | 4 +- .../extensions/store/wordpress-com/actions.ts | 13 +- .../extensions/store/wordpress-com/index.ts | 4 +- .../extensions/store/wordpress-com/types.ts | 9 + .../plugins/jetpack/extensions/types.ts | 3 +- .../plugins/jetpack/functions.opengraph.php | 123 + .../plugins/jetpack/images/connect-right.jpg | Bin 109729 -> 99509 bytes .../plugins/jetpack/images/ionos-logo.jpg | Bin 5883 -> 5829 bytes .../images/jetpack-aside-background.jpg | Bin 47959 -> 47943 bytes .../plugins/jetpack/images/jetpack-icon.jpg | Bin 9872 -> 9833 bytes .../plugins/jetpack/images/jetpack-logo.png | Bin 701 -> 700 bytes .../plugins/jetpack/images/rss/blue-large.png | Bin 1724 -> 1715 bytes .../jetpack/images/rss/green-large.png | Bin 1589 -> 1585 bytes .../jetpack/images/stats-example-med.png | Bin 26322 -> 26292 bytes .../plugins/jetpack/images/stats-smiley.gif | Bin 50 -> 49 bytes wp-content/plugins/jetpack/jetpack.php | 6 +- .../jetpack-a8c-mc-stats/CHANGELOG.md | 5 + .../automattic/jetpack-admin-ui/CHANGELOG.md | 10 + .../jetpack-admin-ui/src/class-admin-menu.php | 4 +- .../automattic/jetpack-assets/CHANGELOG.md | 30 + .../automattic/jetpack-assets/actions.php | 6 + .../build/i18n-loader.asset.php | 2 +- .../jetpack-assets/build/i18n-loader.js | 2 +- .../build/jetpack-script-data.asset.php | 1 + .../build/jetpack-script-data.js | 1 + .../jetpack-assets/build/react-jsx-runtime.js | 2 +- .../automattic/jetpack-assets/package.json | 5 +- .../jetpack-assets/src/class-assets.php | 21 +- .../jetpack-assets/src/class-script-data.php | 206 + .../jetpack-assets/src/js/i18n-loader.js | 6 +- .../jetpack-assets/src/js/script-data.js | 1 + .../CHANGELOG.md | 5 + .../automattic/jetpack-backup/CHANGELOG.md | 25 + ...rdano-testimonial-18a8ec14b3bc10a4862b.png | Bin 129493 -> 0 bytes ...rdano-testimonial-6fc2052451b864b9a20f.png | Bin 0 -> 88198 bytes .../connect-backup-a39e4064c9a6c6df2030.png | Bin 81468 -> 0 bytes .../connect-backup-a634a7c888d0db4fe9a1.png | Bin 0 -> 74163 bytes ...p-video-thumbnail-a0063a4ee0607de87f8a.png | Bin 0 -> 76203 bytes ...p-video-thumbnail-ad9a3ae22eca71d79a9e.png | Bin 77169 -> 0 bytes ...rriss-testimonial-77eebc35c15362f2f662.png | Bin 74494 -> 0 bytes ...rriss-testimonial-a8974612bc8cfdcb3692.png | Bin 0 -> 48927 bytes .../jetpack-backup/build/index.asset.php | 2 +- .../automattic/jetpack-backup/build/index.css | 2 +- .../automattic/jetpack-backup/build/index.js | 32 +- .../jetpack-backup/build/index.js.LICENSE.txt | 10 - .../jetpack-backup/build/index.rtl.css | 2 +- .../automattic/jetpack-backup/package.json | 26 +- .../src/class-jetpack-backup.php | 3 +- .../src/class-package-version.php | 2 +- .../src/js/components/Admin/header.js | 2 +- .../src/js/components/Admin/hooks.js | 4 +- .../src/js/components/Admin/index.js | 8 +- .../src/js/components/back-up-now/hooks.js | 2 +- .../assets/ben-giordano-testimonial.png | Bin 0 -> 88198 bytes .../assets/connect-backup.png | Bin 0 -> 74163 bytes .../assets/tim-ferriss-testimonial.png | Bin 0 -> 48927 bytes .../backup-connection-screen/index.js | 83 + .../secondary-admin.js | 32 + .../js/components/backup-promotion/index.jsx | 2 +- .../components/backup-storage-space/index.jsx | 2 +- .../images/jetpack-backup-video-thumbnail.png | Bin 77169 -> 76203 bytes .../hooks/assets/ben-giordano-testimonial.png | Bin 129493 -> 0 bytes .../src/js/hooks/assets/connect-backup.png | Bin 81468 -> 0 bytes .../src/js/hooks/assets/connect-right.png | Bin 62000 -> 45419 bytes .../hooks/assets/tim-ferriss-testimonial.png | Bin 74494 -> 0 bytes .../src/js/hooks/use-backup-product-info.js | 29 + .../src/js/hooks/useCapabilities.js | 4 +- .../src/js/hooks/useConnection.js | 125 +- .../automattic/jetpack-blaze/CHANGELOG.md | 25 + .../jetpack-blaze/build/editor.asset.php | 2 +- .../automattic/jetpack-blaze/build/editor.js | 3 +- .../jetpack-blaze/build/editor.js.LICENSE.txt | 9 - .../src/class-dashboard-rest-controller.php | 5 +- .../jetpack-blaze/src/class-dashboard.php | 2 +- .../automattic/jetpack-blocks/CHANGELOG.md | 5 + .../jetpack-boost-core/CHANGELOG.md | 10 + .../src/lib/class-boost-api.php | 2 +- .../jetpack-boost-speed-score/CHANGELOG.md | 5 + .../src/class-speed-score.php | 2 +- .../jetpack-classic-theme-helper/CHANGELOG.md | 45 + .../dist/content-options/customizer.asset.php | 1 + .../dist/content-options/customizer.js | 1 + .../src/class-main.php | 3 +- ...ocial-links.php => class-social-links.php} | 41 +- .../src/content-options.php | 170 + .../src/content-options/author-bio.php | 107 + .../src/content-options/blog-display.php | 302 ++ .../src/content-options/customizer.js | 218 + .../src/content-options/customizer.php | 521 +++ .../featured-images-fallback.php | 243 ++ .../src/content-options/featured-images.php | 130 + .../src/content-options/post-details.php | 180 + .../src/custom-content-types.php | 78 + .../class-jetpack-portfolio.php | 1135 +++++ .../css/portfolio-shortcode.css | 131 + .../src/site-breadcrumbs.php | 88 + .../src/social-menu/icon-functions.php | 23 +- .../jetpack-connection/CHANGELOG.md | 39 + .../dist/identity-crisis.asset.php | 2 +- .../dist/identity-crisis.css | 2 +- .../dist/identity-crisis.js | 14 +- .../dist/identity-crisis.rtl.css | 2 +- .../dist/tracks-callables.asset.php | 2 +- .../dist/tracks-callables.js | 2 +- .../legacy/class-jetpack-options.php | 6 +- .../src/class-initial-state.php | 12 + .../jetpack-connection/src/class-manager.php | 2 + .../src/class-package-version.php | 2 +- .../src/class-plugin-storage.php | 8 +- .../jetpack-connection/src/class-tracking.php | 2 +- .../src/identity-crisis/_inc/admin.jsx | 6 +- .../jetpack-connection/src/sso/class-sso.php | 9 +- .../automattic/jetpack-constants/CHANGELOG.md | 5 + .../jetpack-device-detection/CHANGELOG.md | 5 + .../automattic/jetpack-error/CHANGELOG.md | 5 + .../automattic/jetpack-explat/CHANGELOG.md | 20 + .../jetpack-explat/build/index.asset.php | 2 +- .../automattic/jetpack-explat/build/index.js | 2 +- .../jetpack-explat/build/index.js.LICENSE.txt | 10 - .../jetpack-explat/src/class-explat.php | 2 +- .../jetpack-explat/src/client/anon.ts | 4 +- .../automattic/jetpack-forms/CHANGELOG.md | 34 + .../jetpack-forms/assets/images/ai-forms.png | Bin 132129 -> 84003 bytes .../assets/images/contact-form.png | Bin 31590 -> 13468 bytes .../assets/images/feedback-form.png | Bin 50276 -> 37762 bytes .../assets/images/google-sheets-icon.png | Bin 1790 -> 1430 bytes .../assets/images/registration-form.png | Bin 37132 -> 27425 bytes .../assets/images/responses-inbox-wp-com.png | Bin 119526 -> 87515 bytes .../assets/images/responses-inbox.png | Bin 114543 -> 72283 bytes .../assets/images/salesforce-icon.png | Bin 1699 -> 1376 bytes .../dist/blocks/editor.asset.php | 2 +- .../jetpack-forms/dist/blocks/editor.css | 2 +- .../jetpack-forms/dist/blocks/editor.js | 13 +- .../dist/blocks/editor.js.LICENSE.txt | 9 - .../jetpack-forms/dist/blocks/editor.rtl.css | 2 +- .../jetpack-forms/dist/blocks/view.asset.php | 2 +- .../jetpack-forms/dist/blocks/view.js | 2 +- .../jetpack-forms-dashboard.asset.php | 2 +- .../dist/dashboard/jetpack-forms-dashboard.js | 6 +- .../jetpack-forms-dashboard.js.LICENSE.txt | 10 - .../jetpack-forms/src/class-jetpack-forms.php | 2 +- .../class-contact-form-plugin.php | 11 + .../images/blank-screen-akismet.png | Bin 2270 -> 2105 bytes .../images/blank-screen-button.png | Bin 1823 -> 1716 bytes .../contact-form/images/grunion-form-2x.png | Bin 153 -> 141 bytes .../src/contact-form/images/grunion-form.png | Bin 188 -> 132 bytes .../images/grunion-remove-field-2x.png | Bin 201 -> 178 bytes .../images/grunion-remove-field-hover-2x.png | Bin 207 -> 199 bytes .../images/grunion-remove-option-2x.png | Bin 99 -> 91 bytes .../images/grunion-remove-option-hover-2x.png | Bin 94 -> 93 bytes .../images/grunion-remove-option-hover.gif | Bin 73 -> 67 bytes .../images/grunion-remove-option.gif | Bin 73 -> 67 bytes .../src/contact-form/images/twitter-dark.png | Bin 985 -> 473 bytes .../automattic/jetpack-image-cdn/CHANGELOG.md | 20 + .../jetpack-image-cdn/src/class-image-cdn.php | 545 +-- .../automattic/jetpack-import/CHANGELOG.md | 5 + .../jetpack-import/src/class-main.php | 2 +- .../automattic/jetpack-ip/CHANGELOG.md | 5 + .../automattic/jetpack-ip/src/class-utils.php | 2 +- .../automattic/jetpack-jitm/CHANGELOG.md | 25 + .../background-165b2f00927a762c8cf4.png | Bin 24109 -> 0 bytes .../background-f9c9ff650c08ee46f153.png | Bin 0 -> 23766 bytes .../jetpack-jitm/build/index.asset.php | 2 +- .../automattic/jetpack-jitm/build/index.css | 2 +- .../automattic/jetpack-jitm/build/index.js | 2 +- .../jetpack-jitm/build/index.rtl.css | 2 +- .../jetpack-jitm/src/class-jitm.php | 2 +- .../jetpack-jitm/src/images/background.png | Bin 24109 -> 23766 bytes .../automattic/jetpack-licensing/CHANGELOG.md | 10 + .../automattic/jetpack-logo/CHANGELOG.md | 5 + .../automattic/jetpack-masterbar/CHANGELOG.md | 30 + .../class-admin-color-schemes.php | 4 +- .../admin-menu/class-atomic-admin-menu.php | 9 +- .../jetpack-masterbar/src/admin-menu/load.php | 1 + .../jetpack-masterbar/src/class-main.php | 2 +- .../src/masterbar/class-masterbar.php | 7 - .../src/profile-edit/bootstrap.php | 1 - .../jetpack-my-jetpack/CHANGELOG.md | 78 + .../images/boost-9e9a227e7e7280d0aa85.png | Bin 0 -> 146014 bytes .../images/boost-a54137485af36fdffe9c.png | Bin 148315 -> 0 bytes .../images/connect-c399837fe1621b176d10.png | Bin 0 -> 45419 bytes .../images/connect-f27775ac15cf885713c2.png | Bin 62000 -> 0 bytes .../build/images/crm-7e7684ae2c40327d8fed.png | Bin 119373 -> 0 bytes .../build/images/crm-8a2b204e2c720730e928.png | Bin 0 -> 108447 bytes .../evaluation-blank-d036eedaaa033a7a71ed.png | Bin 264458 -> 0 bytes .../evaluation-blank-fbbfbcd75b50ade0f092.png | Bin 0 -> 262511 bytes ...aluation-selected-196d1790b76830f9b73a.png | Bin 0 -> 117544 bytes ...aluation-selected-a5d72f3b5a571a06faeb.png | Bin 117558 -> 0 bytes .../images/extras-26daf36507504c96d066.png | Bin 25957 -> 0 bytes .../images/extras-c6bd0796750901faa7fd.png | Bin 0 -> 24404 bytes .../jetpack-ai-1a265a198f75543e342e.png | Bin 149191 -> 0 bytes .../jetpack-ai-d29bf65dcea46074d72f.png | Bin 0 -> 145451 bytes ...ivation-with-lock-7b01c1a4cf56de799cd7.png | Bin 144326 -> 0 bytes ...ivation-with-lock-cef570e11997f185e23d.png | Bin 0 -> 125665 bytes ...tion-with-success-c5c132e713a79e05985f.png | Bin 0 -> 125102 bytes ...tion-with-success-cad524ede4e793cc0ece.png | Bin 145433 -> 0 bytes .../images/search-d177a31292d96d5ccbc2.png | Bin 0 -> 93081 bytes .../images/search-f9756bd9c926d905fe70.png | Bin 94887 -> 0 bytes .../site-cards-143fca7aec7a8c370e82.png | Bin 210293 -> 0 bytes .../site-cards-29522f090d5422fd7afd.png | Bin 0 -> 179712 bytes .../images/social-b8744a40c7c19a7bcc37.png | Bin 0 -> 189386 bytes .../images/social-e3fb80b2f32534fefe63.png | Bin 432102 -> 0 bytes .../images/stats-95b42796ede4f632b642.png | Bin 0 -> 283845 bytes .../images/stats-9802380852610a4d5908.png | Bin 289829 -> 0 bytes .../videopress-9591093a9a238cc48a35.png | Bin 255812 -> 0 bytes .../videopress-9c064bc7b89c386e5e50.png | Bin 0 -> 226267 bytes .../jetpack-my-jetpack/build/index.asset.php | 2 +- .../jetpack-my-jetpack/build/index.css | 2 +- .../jetpack-my-jetpack/build/index.js | 105 +- .../build/index.js.LICENSE.txt | 10 - .../jetpack-my-jetpack/build/index.rtl.css | 2 +- .../automattic/jetpack-my-jetpack/global.d.ts | 38 +- .../src/class-activitylog.php | 2 +- .../src/class-initializer.php | 90 +- .../src/class-jetpack-manage.php | 2 +- .../src/class-rest-product-data.php | 6 +- .../src/class-wpcom-products.php | 57 +- .../src/products/class-jetpack-ai.php | 88 +- .../src/products/class-search.php | 20 +- .../src/products/class-videopress.php | 4 +- .../jetpack-password-checker/CHANGELOG.md | 5 + .../jetpack-plugins-installer/CHANGELOG.md | 10 + .../src/class-plugins-installer.php | 4 +- .../automattic/jetpack-post-list/CHANGELOG.md | 5 + .../jetpack-post-list/src/class-post-list.php | 2 +- .../jetpack-protect-models/CHANGELOG.md | 11 + .../src/class-history-model.php | 117 + .../src/class-protect-models.php | 2 +- .../src/class-threat-model.php | 7 + .../jetpack-protect-status/CHANGELOG.md | 16 + .../src/class-status.php | 2 +- .../automattic/jetpack-publicize/CHANGELOG.md | 43 + .../automattic/jetpack-publicize/actions.php | 19 + .../classic-editor-connections.asset.php | 2 +- .../build/classic-editor-connections.js | 6 +- .../classic-editor-share-limits.asset.php | 2 +- .../build/classic-editor-share-limits.js | 2 +- .../class-rest-settings-controller.php | 2 +- .../class-settings.php | 2 +- .../src/class-publicize-assets.php | 21 + .../src/class-publicize-base.php | 89 - .../src/class-publicize-script-data.php | 217 + .../src/class-publicize-setup.php | 2 +- .../src/class-publicize-utils.php | 83 + .../src/class-rest-controller.php | 37 +- .../class-settings.php | 38 +- .../class-rest-settings-controller.php | 2 +- .../social-image-generator/class-settings.php | 2 +- .../social-image-generator/class-setup.php | 2 +- .../jetpack-publicize/webpack.config.js | 4 +- .../automattic/jetpack-redirect/CHANGELOG.md | 5 + .../automattic/jetpack-roles/CHANGELOG.md | 5 + .../automattic/jetpack-search/CHANGELOG.md | 30 + .../customberg/jp-search-configure.asset.php | 2 +- .../build/customberg/jp-search-configure.js | 30 +- .../jp-search-configure.js.LICENSE.txt | 10 - .../dashboard/jp-search-dashboard.asset.php | 2 +- .../build/dashboard/jp-search-dashboard.css | 2 +- .../build/dashboard/jp-search-dashboard.js | 44 +- .../jp-search-dashboard.js.LICENSE.txt | 10 - .../dashboard/jp-search-dashboard.rtl.css | 2 +- .../build/instant-search/jp-search.asset.php | 2 +- .../jp-search.chunk-main-payload.js | 14 +- .../jp-search.defaultVendors.js | 2 +- .../build/instant-search/jp-search.js | 2 +- .../jetpack-search/src/class-helper.php | 2 +- .../jetpack-search/src/class-package.php | 2 +- .../src/dashboard/class-dashboard.php | 3 +- .../src/initializers/class-initializer.php | 2 +- .../jetpack-stats-admin/CHANGELOG.md | 4 + .../jetpack-stats-admin/src/class-main.php | 2 +- .../automattic/jetpack-stats/CHANGELOG.md | 5 + .../src/class-package-version.php | 2 +- .../automattic/jetpack-status/CHANGELOG.md | 10 + .../automattic/jetpack-sync/CHANGELOG.md | 42 + .../src/class-dedicated-sender.php | 2 +- .../jetpack-sync/src/class-defaults.php | 1 + .../jetpack-sync/src/class-functions.php | 22 +- .../jetpack-sync/src/class-modules.php | 2 +- .../src/class-package-version.php | 2 +- .../jetpack-sync/src/class-rest-endpoints.php | 2 +- .../src/modules/class-protect.php | 33 +- .../modules/class-woocommerce-hpos-orders.php | 38 +- .../src/modules/class-woocommerce.php | 4 +- .../src/replicastore/class-table-checksum.php | 6 +- .../jetpack-videopress/CHANGELOG.md | 45 + .../build/admin/index.asset.php | 2 +- .../jetpack-videopress/build/admin/index.css | 2 +- .../jetpack-videopress/build/admin/index.js | 31 +- .../build/admin/index.js.LICENSE.txt | 10 +- .../build/admin/index.rtl.css | 2 +- .../block-editor/blocks/video/index.asset.php | 2 +- .../build/block-editor/blocks/video/index.js | 18 +- .../blocks/video/index.js.LICENSE.txt | 10 +- .../block-editor/blocks/video/view.asset.php | 2 +- .../build/block-editor/blocks/video/view.js | 2 +- .../build/block-editor/index.asset.php | 2 +- .../build/block-editor/index.js | 2 +- .../build/divi-editor/index.asset.php | 2 +- .../build/divi-editor/index.js | 2 +- .../dynamic-colors-34cf384d91fb0fd3a9d5.png | Bin 0 -> 39090 bytes .../dynamic-colors-b7ff131e82a4032d9a08.png | Bin 49421 -> 0 bytes ...ock-example-image-d7dd9fae6ff49181bfca.jpg | Bin 0 -> 20518 bytes ...ock-example-image-da9ef73787adca8896f2.jpg | Bin 21214 -> 0 bytes .../build/lib/player-bridge.asset.php | 2 +- .../build/lib/player-bridge.js | 2 +- .../build/lib/token-bridge.asset.php | 2 +- .../build/lib/token-bridge.js | 2 +- .../jetpack-videopress/src/class-admin-ui.php | 3 +- .../src/class-package-version.php | 2 +- .../jetpack-videopress/src/class-stats.php | 26 +- .../automattic/jetpack-waf/CHANGELOG.md | 23 + .../src/class-brute-force-protection.php | 1 + .../jetpack-waf/src/class-compatibility.php | 4 +- .../jetpack-waf/src/class-rest-controller.php | 2 +- .../jetpack-waf/src/class-waf-request.php | 13 +- .../src/class-waf-rules-manager.php | 2 +- .../jetpack-waf/src/class-waf-runner.php | 2 +- .../automattic/jetpack-wordads/CHANGELOG.md | 21 + .../dashboard/jp-wordads-dashboard.asset.php | 2 +- .../build/dashboard/jp-wordads-dashboard.css | 2 +- .../build/dashboard/jp-wordads-dashboard.js | 5 +- .../jp-wordads-dashboard.js.LICENSE.txt | 9 - .../dashboard/jp-wordads-dashboard.rtl.css | 2 +- .../jetpack-wordads/src/class-package.php | 2 +- .../src/dashboard/class-dashboard.php | 3 +- .../dashboard/components/dashboard/index.jsx | 2 +- .../components/global-notices/index.jsx | 2 +- .../global-notices/store/actions.js | 8 +- .../components/module-control/index.jsx | 12 +- .../store/actions/jetpack-settings.js | 10 +- .../src/dashboard/store/controls.js | 4 +- .../src/dashboard/store/resolvers.js | 4 +- ...fine-palette-colors-as-static-variables.js | 2 +- .../woocommerce-analytics/CHANGELOG.md | 5 + .../src/class-woocommerce-analytics.php | 2 +- .../jetpack/jetpack_vendor/i18n-map.php | 62 +- .../class.wpcom-json-api-comment-endpoint.php | 4 +- ...class.wpcom-json-api-get-site-endpoint.php | 5 + ....wpcom-json-api-get-site-v1-2-endpoint.php | 1 + ...com-json-api-update-post-v1-2-endpoint.php | 3 + .../jetpack/modules/comments/comments.php | 6 +- .../plugins/jetpack/modules/contact-form.php | 107 +- .../jetpack/modules/custom-content-types.php | 76 +- .../plugins/jetpack/modules/custom-css.php | 64 - .../csstidy/class.csstidy-ctype.php | 52 - .../csstidy/class.csstidy-optimise.php | 1005 ----- .../csstidy/class.csstidy-print.php | 433 -- .../custom-css/csstidy/class.csstidy.php | 1309 ------ .../custom-css/csstidy/cssparse-rtl.css | 146 - .../custom-css/csstidy/cssparse-rtl.min.css | 1 - .../modules/custom-css/csstidy/cssparse.css | 118 - .../custom-css/csstidy/cssparse.min.css | 1 - .../custom-css/csstidy/cssparsed-rtl.css | 29 - .../custom-css/csstidy/cssparsed-rtl.min.css | 1 - .../modules/custom-css/csstidy/cssparsed.css | 29 - .../custom-css/csstidy/cssparsed.min.css | 1 - .../custom-css/csstidy/data-wp.inc.php | 101 - .../modules/custom-css/csstidy/data.inc.php | 794 ---- .../modules/custom-css/csstidy/lang.inc.php | 303 -- .../custom-css/csstidy/wordpress-standard.tpl | 10 - .../jetpack/modules/custom-css/custom-css.php | 1366 ------ .../custom-css/custom-css/css/blank.css | 1 - .../custom-css/css/codemirror-rtl.css | 385 -- .../custom-css/css/codemirror-rtl.min.css | 1 - .../custom-css/custom-css/css/codemirror.css | 262 -- .../custom-css/css/codemirror.min.css | 1 - .../custom-css/css/customizer-control.css | 145 - .../custom-css/js/codemirror.min.js | 11 - .../js/core-customizer-css-preview.js | 42 - .../js/core-customizer-css.core-4.9.js | 93 - .../custom-css/custom-css/preprocessors.php | 76 - .../custom-css/preprocessors/lessc.inc.php | 3775 ----------------- .../modules/infinite-scroll/infinity.js | 2 +- .../plugins/jetpack/modules/masterbar.php | 11 +- .../masterbar/admin-menu/admin-menu-rtl.css | 3 +- .../admin-menu/admin-menu-rtl.min.css | 2 +- .../masterbar/admin-menu/admin-menu.min.css | 2 +- .../modules/masterbar/admin-menu/load.php | 1 + .../memberships/class-jetpack-memberships.php | 8 + .../jetpack/modules/module-headings.php | 48 +- .../plugins/jetpack/modules/module-info.php | 20 - wp-content/plugins/jetpack/modules/notes.php | 10 +- .../modules/photon-cdn/jetpack-manifest.php | 713 ++-- .../modules/scan/class-admin-sidebar-link.php | 36 +- .../modules/sharedaddy/images/loading.gif | Bin 2530 -> 1423 bytes .../sharedaddy/images/smart-digg@2x.png | Bin 1108 -> 1107 bytes .../sharedaddy/images/smart-facebook@2x.png | Bin 788 -> 787 bytes .../jetpack/modules/sharedaddy/sharedaddy.php | 233 - .../css/slideshow-shortcode-rtl.css | 1 + .../css/slideshow-shortcode-rtl.min.css | 2 +- .../shortcodes/css/slideshow-shortcode.css | 1 + .../css/slideshow-shortcode.min.css | 2 +- .../shortcodes/js/slideshow-shortcode.js | 77 +- .../jetpack/modules/shortcodes/slideshow.php | 13 +- .../jetpack/modules/shortcodes/vimeo.php | 37 +- .../jetpack/modules/shortcodes/youtube.php | 13 +- wp-content/plugins/jetpack/modules/stats.php | 2 +- .../plugins/jetpack/modules/subscriptions.php | 40 +- .../subscribe-overlay/subscribe-overlay.css | 8 + .../modules/theme-tools/content-options.php | 198 +- .../content-options/author-bio.php | 166 +- .../content-options/blog-display.php | 354 +- .../content-options/customizer.php | 850 ++-- .../featured-images-fallback.php | 368 +- .../content-options/featured-images.php | 196 +- .../content-options/post-details.php | 276 +- .../modules/theme-tools/site-breadcrumbs.php | 136 +- .../theme-tools/site-logo/inc/functions.php | 2 +- .../modules/theme-tools/social-links.php | 209 +- .../social-menu/icon-functions.php | 23 +- .../modules/tiled-gallery/tiled-gallery.php | 5 +- .../videopress/js/videopress-plupload.js | 2 +- .../jetpack/modules/widgets/blog-stats.php | 6 +- .../widgets/simple-payments/customizer.js | 9 +- .../jetpack/modules/widgets/social-icons.php | 27 +- .../jetpack/modules/widgets/top-posts.php | 6 +- wp-content/plugins/jetpack/modules/wpgroho.js | 2 +- wp-content/plugins/jetpack/readme.txt | 56 +- .../jetpack/sal/class.json-api-site-base.php | 12 + .../plugins/jetpack/src/class-deprecate.php | 61 +- .../plugins/jetpack/vendor/autoload.php | 2 +- .../jetpack/vendor/autoload_packages.php | 2 +- .../automattic/jetpack-plans/CHANGELOG.md | 5 + .../vendor/composer/autoload_classmap.php | 9 +- .../vendor/composer/autoload_files.php | 3 +- .../jetpack/vendor/composer/autoload_real.php | 10 +- .../vendor/composer/autoload_static.php | 20 +- .../jetpack/vendor/composer/installed.json | 1068 ++--- .../jetpack/vendor/composer/installed.php | 264 +- .../composer/jetpack_autoload_classmap.php | 856 ++-- .../composer/jetpack_autoload_filemap.php | 18 +- .../class-autoloader-handler.php | 2 +- .../class-autoloader-locator.php | 2 +- .../jetpack-autoloader/class-autoloader.php | 2 +- .../jetpack-autoloader/class-container.php | 2 +- .../jetpack-autoloader/class-hook-manager.php | 2 +- .../class-latest-autoloader-guard.php | 2 +- .../class-manifest-reader.php | 2 +- .../class-path-processor.php | 2 +- .../class-php-autoloader.php | 2 +- .../class-plugin-locator.php | 2 +- .../class-plugins-handler.php | 2 +- .../class-shutdown-handler.php | 2 +- .../class-version-loader.php | 2 +- .../class-version-selector.php | 2 +- 737 files changed, 11895 insertions(+), 16351 deletions(-) delete mode 100644 wp-content/plugins/jetpack/_inc/blocks/7.js create mode 100644 wp-content/plugins/jetpack/_inc/blocks/92.js delete mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/avatar1-6287ee7ccb96c6112ed7.jpg create mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/avatar1-e8722a0be8a3a2815ce4.jpg delete mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/avatar2-346c588dba138c82e44c.jpg create mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/avatar2-5c5ad1b19340e0c7a5fd.jpg create mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/avatar3-5c7c3997fa2aad717819.jpg delete mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/avatar3-dce9c36819878a1bf60c.jpg delete mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/connections-facebook-03b8bce6abd7bc00d150.png create mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/connections-facebook-c8a9715c8b6c8707594f.png delete mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/connections-instagram-business-02b13c6f259ed76ed147.png create mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/connections-instagram-business-53d4764803db1a7b3cbc.png create mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/connections-linkedin-553fcb77cb734fc8d08f.png delete mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/connections-linkedin-8eb17cdcd3fa4f80c501.png delete mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/connections-nextdoor-2657489bfff7220ad540.png create mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/connections-nextdoor-6e76141465483081fde8.png create mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/connections-threads-1c941351fac252724ae7.png delete mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/connections-threads-5c7128de4925906b6d4a.png create mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/connections-tumblr-ac23dad7016040416331.png delete mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/connections-tumblr-e4db652e14ad0bda07f2.png delete mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/email-preview-illustration-dd7b9072ff61acd7f247.svg create mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/map-preview-0088ca72fca2cbebe7a4.jpg delete mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/map-preview-97bda80ebb6981457630.jpg create mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/map-theme_black_and_white-a33452734cf5f59eb2f9.jpg delete mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/map-theme_black_and_white-b6ad81a7dd09d09fb34d.jpg delete mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/map-theme_default-b53ccdf170e5ac873ff0.jpg create mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/map-theme_default-d3a324cdc6ff2f461574.jpg create mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/map-theme_satellite-58322e843e983f7397b5.jpg delete mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/map-theme_satellite-cc50c608e244f90d18dc.jpg create mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/map-theme_terrain-a408b936442d6d33df07.jpg delete mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/map-theme_terrain-ac291441b3461820747d.jpg delete mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/slideshow_example-1-07a3f164621235df0419.jpg create mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/slideshow_example-1-27620cbeda003e2c71d1.jpg delete mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/slideshow_example-2-2ee401e47066229bdac5.jpg create mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/slideshow_example-2-cce21819e376a0c6a174.jpg delete mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/slideshow_example-3-0682afca66c485f17ff6.jpg create mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/slideshow_example-3-9de0a668f5077bab7ece.jpg create mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/tiled-gallery_example-2-78fc061b3eff2af1311b.jpg delete mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/tiled-gallery_example-2-7d8f0cf8e262f0112691.jpg delete mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/tiled-gallery_example-3-07a3f164621235df0419.jpg create mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/tiled-gallery_example-3-27620cbeda003e2c71d1.jpg delete mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/tiled-gallery_example-4-2ee401e47066229bdac5.jpg create mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/tiled-gallery_example-4-cce21819e376a0c6a174.jpg create mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/tiled-gallery_example-5-18efa42161dfe5708046.jpg delete mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/tiled-gallery_example-5-a1935fd9cf1181168d90.jpg delete mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/tiled-gallery_example-6-9f9d39c6af0fb4b0d99c.jpg create mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/tiled-gallery_example-6-bd61852e61001ce631d7.jpg create mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/videopress-block-example-image-d7dd9fae6ff49181bfca.jpg delete mode 100644 wp-content/plugins/jetpack/_inc/blocks/images/videopress-block-example-image-da9ef73787adca8896f2.jpg delete mode 100644 wp-content/plugins/jetpack/_inc/build/custom-css/custom-css/js/core-customizer-css-preview.min.asset.php delete mode 100644 wp-content/plugins/jetpack/_inc/build/custom-css/custom-css/js/core-customizer-css-preview.min.js delete mode 100644 wp-content/plugins/jetpack/_inc/build/custom-css/custom-css/js/core-customizer-css.core-4.9.min.asset.php delete mode 100644 wp-content/plugins/jetpack/_inc/build/custom-css/custom-css/js/core-customizer-css.core-4.9.min.js create mode 100644 wp-content/plugins/jetpack/_inc/build/images/connect-c399837fe1621b176d10.png delete mode 100644 wp-content/plugins/jetpack/_inc/build/images/connect-f27775ac15cf885713c2.png delete mode 100644 wp-content/plugins/jetpack/_inc/build/images/connections-facebook-03b8bce6abd7bc00d150.png create mode 100644 wp-content/plugins/jetpack/_inc/build/images/connections-facebook-c8a9715c8b6c8707594f.png delete mode 100644 wp-content/plugins/jetpack/_inc/build/images/connections-instagram-business-02b13c6f259ed76ed147.png create mode 100644 wp-content/plugins/jetpack/_inc/build/images/connections-instagram-business-53d4764803db1a7b3cbc.png create mode 100644 wp-content/plugins/jetpack/_inc/build/images/connections-linkedin-553fcb77cb734fc8d08f.png delete mode 100644 wp-content/plugins/jetpack/_inc/build/images/connections-linkedin-8eb17cdcd3fa4f80c501.png delete mode 100644 wp-content/plugins/jetpack/_inc/build/images/connections-nextdoor-2657489bfff7220ad540.png create mode 100644 wp-content/plugins/jetpack/_inc/build/images/connections-nextdoor-6e76141465483081fde8.png create mode 100644 wp-content/plugins/jetpack/_inc/build/images/connections-threads-1c941351fac252724ae7.png delete mode 100644 wp-content/plugins/jetpack/_inc/build/images/connections-threads-5c7128de4925906b6d4a.png create mode 100644 wp-content/plugins/jetpack/_inc/build/images/connections-tumblr-ac23dad7016040416331.png delete mode 100644 wp-content/plugins/jetpack/_inc/build/images/connections-tumblr-e4db652e14ad0bda07f2.png create mode 100644 wp-content/plugins/jetpack/_inc/build/images/header-background-1c2ea006d80269b11144.jpg delete mode 100644 wp-content/plugins/jetpack/_inc/build/images/header-background-c0f56cae4d269449fbdc.jpg delete mode 100644 wp-content/plugins/jetpack/_inc/build/images/jetpack-license-activation-with-lock-7b01c1a4cf56de799cd7.png create mode 100644 wp-content/plugins/jetpack/_inc/build/images/jetpack-license-activation-with-lock-cef570e11997f185e23d.png create mode 100644 wp-content/plugins/jetpack/_inc/build/images/jetpack-license-activation-with-success-c5c132e713a79e05985f.png delete mode 100644 wp-content/plugins/jetpack/_inc/build/images/jetpack-license-activation-with-success-cad524ede4e793cc0ece.png delete mode 100644 wp-content/plugins/jetpack/_inc/lib/class-jetpack-google-drive-helper.php create mode 100644 wp-content/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-profile.php rename wp-content/plugins/jetpack/extensions/blocks/ai-assistant/components/{upgrade-prompt => quota-exceeded-message}/index.tsx (63%) rename wp-content/plugins/jetpack/extensions/blocks/ai-assistant/components/{upgrade-prompt => quota-exceeded-message}/light-nudge.tsx (100%) create mode 100644 wp-content/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/breve/controls.tsx create mode 100644 wp-content/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/breve/features/spelling-mistakes/a8c.ts create mode 100644 wp-content/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/breve/features/spelling-mistakes/index.ts create mode 100644 wp-content/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/breve/utils/FleschKincaidUtils.ts create mode 100644 wp-content/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/breve/utils/escapeRegExp.ts create mode 100644 wp-content/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/breve/utils/get-dictionary.ts create mode 100644 wp-content/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/breve/utils/get-target-text.ts create mode 100644 wp-content/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/breve/utils/register-format.ts create mode 100644 wp-content/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/breve/utils/replace-occurrence.ts create mode 100644 wp-content/plugins/jetpack/extensions/plugins/ai-assistant-plugin/components/title-optimization/title-optimization-keywords.tsx create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/build/jetpack-script-data.asset.php create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/build/jetpack-script-data.js create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/src/class-script-data.php create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/src/js/script-data.js delete mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/ben-giordano-testimonial-18a8ec14b3bc10a4862b.png create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/ben-giordano-testimonial-6fc2052451b864b9a20f.png delete mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/connect-backup-a39e4064c9a6c6df2030.png create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/connect-backup-a634a7c888d0db4fe9a1.png create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/jetpack-backup-video-thumbnail-a0063a4ee0607de87f8a.png delete mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/jetpack-backup-video-thumbnail-ad9a3ae22eca71d79a9e.png delete mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/tim-ferriss-testimonial-77eebc35c15362f2f662.png create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/build/images/tim-ferriss-testimonial-a8974612bc8cfdcb3692.png create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/backup-connection-screen/assets/ben-giordano-testimonial.png create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/backup-connection-screen/assets/connect-backup.png create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/backup-connection-screen/assets/tim-ferriss-testimonial.png create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/backup-connection-screen/index.js create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/components/backup-connection-screen/secondary-admin.js delete mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/hooks/assets/ben-giordano-testimonial.png delete mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/hooks/assets/connect-backup.png delete mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/hooks/assets/tim-ferriss-testimonial.png create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-backup/src/js/hooks/use-backup-product-info.js delete mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-blaze/build/editor.js.LICENSE.txt create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-classic-theme-helper/dist/content-options/customizer.asset.php create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-classic-theme-helper/dist/content-options/customizer.js rename wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-classic-theme-helper/src/{social-links.php => class-social-links.php} (82%) create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-classic-theme-helper/src/content-options.php create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-classic-theme-helper/src/content-options/author-bio.php create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-classic-theme-helper/src/content-options/blog-display.php create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-classic-theme-helper/src/content-options/customizer.js create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-classic-theme-helper/src/content-options/customizer.php create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-classic-theme-helper/src/content-options/featured-images-fallback.php create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-classic-theme-helper/src/content-options/featured-images.php create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-classic-theme-helper/src/content-options/post-details.php create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-classic-theme-helper/src/custom-content-types.php create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-classic-theme-helper/src/custom-post-types/class-jetpack-portfolio.php create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-classic-theme-helper/src/custom-post-types/css/portfolio-shortcode.css create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-classic-theme-helper/src/site-breadcrumbs.php delete mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-forms/dist/blocks/editor.js.LICENSE.txt delete mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/build/images/background-165b2f00927a762c8cf4.png create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/build/images/background-f9c9ff650c08ee46f153.png create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/boost-9e9a227e7e7280d0aa85.png delete mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/boost-a54137485af36fdffe9c.png create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/connect-c399837fe1621b176d10.png delete mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/connect-f27775ac15cf885713c2.png delete mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/crm-7e7684ae2c40327d8fed.png create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/crm-8a2b204e2c720730e928.png delete mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/evaluation-blank-d036eedaaa033a7a71ed.png create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/evaluation-blank-fbbfbcd75b50ade0f092.png create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/evaluation-selected-196d1790b76830f9b73a.png delete mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/evaluation-selected-a5d72f3b5a571a06faeb.png delete mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/extras-26daf36507504c96d066.png create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/extras-c6bd0796750901faa7fd.png delete mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/jetpack-ai-1a265a198f75543e342e.png create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/jetpack-ai-d29bf65dcea46074d72f.png delete mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/jetpack-license-activation-with-lock-7b01c1a4cf56de799cd7.png create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/jetpack-license-activation-with-lock-cef570e11997f185e23d.png create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/jetpack-license-activation-with-success-c5c132e713a79e05985f.png delete mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/jetpack-license-activation-with-success-cad524ede4e793cc0ece.png create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/search-d177a31292d96d5ccbc2.png delete mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/search-f9756bd9c926d905fe70.png delete mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/site-cards-143fca7aec7a8c370e82.png create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/site-cards-29522f090d5422fd7afd.png create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/social-b8744a40c7c19a7bcc37.png delete mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/social-e3fb80b2f32534fefe63.png create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/stats-95b42796ede4f632b642.png delete mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/stats-9802380852610a4d5908.png delete mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/videopress-9591093a9a238cc48a35.png create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/build/images/videopress-9c064bc7b89c386e5e50.png create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-protect-models/src/class-history-model.php create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/actions.php create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize-assets.php create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize-script-data.php create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-publicize/src/class-publicize-utils.php create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-videopress/build/images/dynamic-colors-34cf384d91fb0fd3a9d5.png delete mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-videopress/build/images/dynamic-colors-b7ff131e82a4032d9a08.png create mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-videopress/build/images/videopress-block-example-image-d7dd9fae6ff49181bfca.jpg delete mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-videopress/build/images/videopress-block-example-image-da9ef73787adca8896f2.jpg delete mode 100644 wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/build/dashboard/jp-wordads-dashboard.js.LICENSE.txt delete mode 100644 wp-content/plugins/jetpack/modules/custom-css.php delete mode 100644 wp-content/plugins/jetpack/modules/custom-css/csstidy/class.csstidy-ctype.php delete mode 100644 wp-content/plugins/jetpack/modules/custom-css/csstidy/class.csstidy-optimise.php delete mode 100644 wp-content/plugins/jetpack/modules/custom-css/csstidy/class.csstidy-print.php delete mode 100644 wp-content/plugins/jetpack/modules/custom-css/csstidy/class.csstidy.php delete mode 100644 wp-content/plugins/jetpack/modules/custom-css/csstidy/cssparse-rtl.css delete mode 100644 wp-content/plugins/jetpack/modules/custom-css/csstidy/cssparse-rtl.min.css delete mode 100644 wp-content/plugins/jetpack/modules/custom-css/csstidy/cssparse.css delete mode 100644 wp-content/plugins/jetpack/modules/custom-css/csstidy/cssparse.min.css delete mode 100644 wp-content/plugins/jetpack/modules/custom-css/csstidy/cssparsed-rtl.css delete mode 100644 wp-content/plugins/jetpack/modules/custom-css/csstidy/cssparsed-rtl.min.css delete mode 100644 wp-content/plugins/jetpack/modules/custom-css/csstidy/cssparsed.css delete mode 100644 wp-content/plugins/jetpack/modules/custom-css/csstidy/cssparsed.min.css delete mode 100644 wp-content/plugins/jetpack/modules/custom-css/csstidy/data-wp.inc.php delete mode 100644 wp-content/plugins/jetpack/modules/custom-css/csstidy/data.inc.php delete mode 100644 wp-content/plugins/jetpack/modules/custom-css/csstidy/lang.inc.php delete mode 100644 wp-content/plugins/jetpack/modules/custom-css/csstidy/wordpress-standard.tpl delete mode 100644 wp-content/plugins/jetpack/modules/custom-css/custom-css.php delete mode 100644 wp-content/plugins/jetpack/modules/custom-css/custom-css/css/blank.css delete mode 100644 wp-content/plugins/jetpack/modules/custom-css/custom-css/css/codemirror-rtl.css delete mode 100644 wp-content/plugins/jetpack/modules/custom-css/custom-css/css/codemirror-rtl.min.css delete mode 100644 wp-content/plugins/jetpack/modules/custom-css/custom-css/css/codemirror.css delete mode 100644 wp-content/plugins/jetpack/modules/custom-css/custom-css/css/codemirror.min.css delete mode 100644 wp-content/plugins/jetpack/modules/custom-css/custom-css/css/customizer-control.css delete mode 100644 wp-content/plugins/jetpack/modules/custom-css/custom-css/js/codemirror.min.js delete mode 100644 wp-content/plugins/jetpack/modules/custom-css/custom-css/js/core-customizer-css-preview.js delete mode 100644 wp-content/plugins/jetpack/modules/custom-css/custom-css/js/core-customizer-css.core-4.9.js delete mode 100644 wp-content/plugins/jetpack/modules/custom-css/custom-css/preprocessors.php delete mode 100644 wp-content/plugins/jetpack/modules/custom-css/custom-css/preprocessors/lessc.inc.php diff --git a/wp-content/plugins/jetpack/CHANGELOG.md b/wp-content/plugins/jetpack/CHANGELOG.md index 9c89e2518..c83d162c7 100644 --- a/wp-content/plugins/jetpack/CHANGELOG.md +++ b/wp-content/plugins/jetpack/CHANGELOG.md @@ -2,6 +2,122 @@ ### This is a list detailing changes for all Jetpack releases. +## 13.8 - 2024-09-04 +### Major Enhancements +- Custom CSS: Remove feature in favor of WordPress core implementation. [#38865] +- Embeds: Remove YouTube and Vimeo embeds in favor of WordPress core implementation. [#39096] +- WordPress.com Toolbar: The feature has been removed. [#38804] + +### Enhancements +- Admin Menu: Update order of Jetpack sub-menu items. [#39095] +- AI Assistant: Add spelling mistakes check for English language. [#39174] +- Newsletters: Add the plugin icon to the Block Editor header, with a dedicated sidebar with an email preview feature. [#39039] +- Social: Display Fediverse creator meta tag when a post has an active Mastodon connection. [#38809] + +### Improved compatibility +- Sharing Block: Improve performance when hooking the block into single post templates. [#38727] +- Tiled Galleries: Defer loading of the Tiled Gallery script for improved performance. [#38928] + +### Bug fixes +- AI Assistant: Disable Write Brief for free plan users when AI Assistant block is disabled. [#38743] +- AMP: Avoid fatal errors when using Jetpack's classic slideshows on a site where Jetpack blocks are disabled. [#38744] +- Blocks: Ensure the stylesheets for Contact Info and Payment Button blocks are loaded correctly. [#39018] [#39018] +- Blocks: Fix the editor freeze after inserting a pattern with the Donations block. [#38961] +- Mailchimp Block: Do not attempt to fetch groups when a site is not connected to Mailchimp yet. [#38901] +- REST API: Avoid PHP warnings in the comment endpoint when the parent comment does not exist. [#39102] +- Social Icons Widget: Ensure the social network icons display correctly. [#38965] [#38966] +- Subscriptions: Prevent the subscribe modal from automatically turning on when discussion settings are saved. [#38805] + +### Other changes +- A4A: Add a4a_is_dev_site attribute to Sites API response. [#38964] +- AI Assistant: Accept Write Brief typo suggestions. [#39008] +- AI Assistant: Add A8c dictionary. [#39105] +- AI Assistant: Add AI Guidelines link to the AI Assistant sidebar panel. [#39094] +- AI Assistant: Add FeatureControl to Write Brief. [#39168] +- AI Assistant: Add flag for Write Brief typo detection support. [#38895] +- AI Assistant: Add general improvements in Breve UX. [#38856] +- AI Assistant: Add namespace to Write Brief CSS classes. [#38795] +- AI Assistant: Add option to add word to spelling dictionary. [#39046] +- AI Assistant: Add retry event for Write Brief. [#39082] +- AI Assistant: Add retry for Write Brief. [#38998] +- AI Assistant: Add spelling mistake detection to Write Brief. [#38923] +- AI Assistant: Allow dismiss suggestion in all states. [#38848] +- AI Assistant: Change Write Brief type markup and restrict types. [#38867] +- AI Assistant: Do not mark words starting with special characters as spelling mistakes. [#39044] +- AI Assistant: Fix flickering when adding word to Write Brief dictionary. [#39087] +- AI Assistant: Limit popover height and fix anchorless popover. [#39109] +- AI Assistant: Load dictionaries from CDN. [#38943] +- AI Assistant: Recompute Write Brief highlights when dictionary is loaded. [#38999] +- AI Assistant: Remove dead Write Brief code. [#39089] +- AI Assistant: Remove unique-id sass function call from animation name. [#38922] +- AI Assistant: Remove Write Brief highlight popover when feature is disabled. [#38814] +- AI Assistant: Update connection button text. [#39031] +- Blocks: Ensure function is loaded even if blocks aren't enabled. [#39070] +- Blocks: Update the button block to v3 API. [#38916] +- Classic Theme Helper: Adding Portfolio custom post type content. [#39134] +- Code: Cleaning up usage of 'javascript:' in URLs. [#38783] +- Code: Making sure useRef includes an argument. [#38765] +- Components: React cleanup for React 19 compatibility. [#38762] +- Contact Form: Prevent direct file access. [#38982] +- Contact Form: Remove deprecated functionality. [#38786] +- Content Options: Moving content to Classic Theme Helper package. [#39028] +- Dashboard: Remove extra link in banner to invite admins to activate stats. [#39026] +- Email preview: Ensure the email is visible. [#38934] +- General: Adds to-test.md contents for Jetpack 13.8. [#39071] +- General: Adds tracks to featured flagged feature. [#39032] +- General: Fix incorrect case fall-through in `_inc/client/state/site/reducer.js`. [#39000] +- General: Updated package dependencies. [#39004] +- Google Analytics: Delete the Google Analytics removal notices. [#38882] +- Jetpack AI: Add usage policy link and renewal date to fair usage messaging. [#39085] +- Jetpack AI: Fix bug that showed extra spacing on the AI Assistant block inspector area. [#39142] +- Jetpack AI: Handle fair usage limit messaging on the UI. [#39043] +- Jetpack AI: Hide usagepanel when tier plans are disabled. Show QuotaExceededMessage instead of nudges. [#39090] +- Jetpack AI: Register the ai-title-optimization-keywords-support beta flag. [#38891] +- Jetpack AI: Remove hardcoded limit on image generation, it's handled by backend. [#39126] +- Jetpack AI: Support fair usage messaging on the Extension AI Control component. [#39103] +- Jetpack AI: Update fair usage messaging on the sidebar. [#39122] +- Jetpack Color & Tonesque: Add deprecation warning in the codebase. [#38338] +- Legacy Widgets: Ensure widgets are available for Simple sites until the block API is fixed. [#38610] +- Likes Block: Add keywords. [#38778] +- Map Block: Allow maps on WordPress.com to be selectable. [#38956] +- Media: Support video and audio shortcodes in Media Extractor. [#38556] +- Monetize: Support more currencies. [#38968] +- Newsletters: Don't prompt for connection on Simple sites. [#39064] +- Newsletters: Fix redirecting after comment when subscription modal is disabled. [#39027] +- Newsletters: Improve Sender Name and Reply-to settings. [#38833] +- Newsletters: Make preview non-clickable. [#39035] +- Notifications: Use profile locale to match menu language. [#38871] +- Open Graph Meta Tags: Check if the Open Graph integration in the ActivityPub plugin is active instead of checking for the class. [#38875] +- Open Graph Meta Tags: Do not display Fediverse tag on WordPress.com Simple. [#38874] +- Paywall Block: Improve styles. [#38837] +- Protect: Make allow list settings always accessible. [#38886] +- Publicize: Fixed a warning with undefined variables. [#38781] +- REST API: Add a /wpcom/v2/profile endpoint that returns user profile, admin color and locale. [#38879] +- Security Settings: Redirect to Protect dashboard for Firewall settings, when available. [#38741] [#38655] +- Sharing: Remove functions that were deprecated in Jetpack 11.0. [#38991] +- Site Breadcrumbs: Requiring the feature from the Classic Theme Helper package. [#38931] +- Site Breadcrumbs: Wrapping functions in function_exists as part of functionality move to package. [#38880] +- Slideshow Shortcode: Remove deprecated JS functionality and remove majority of jQuery. [#39050] +- Social: Moved PostPublishPanels component to publicize-coomponents package. [#39049] +- Social: Updated intial state logic to use the new consolidated initial state. [#38606] +- Social: Updated the share status modal to render it globally. [#39116] +- Social Links: Requiring feature from Classic Theme Helper package instead of Jetpack module. [#38730] +- Social Menus: Switch to more appropriate method of calling the SVG icon file. [#39136] +- Stats: Moved stats to the top of the Jetpack menu. [#39061] +- Subscribe Block: p tag styles leaking in from theme. [#38840] +- Subscriptions: Render the close button lower than the marketing bar. [#39065] +- SVG Optimizations: Revert recent SVG image optimizations. [#38981] +- Sync: Add a new callable for Sync Active Modules. [#38831] +- Tests: Fixed CSSTidy loading in tests. [#37859] +- Tests: Removed react-test-renderer as not in use. [#38755] +- Title Optimization: Add keywords section to UI and make it send the keywords on the request. [#38921] +- Title Optimization: Change UI labels when keywords beta flag is enabled. [#38911] +- Title Optimization: Include feedback link on the footer. [#38940] +- Top Posts & Pages Block: Ensure deleted content does not display. [#37251] +- Updated package dependencies. [#38662] [#38665] [#38822] [#39111] [#38745] +- Update Quick Start instructions. [#39059] +- WP.com: Hide the Customizer link on WP.com sites. [#38852] + ## 13.7 - 2024-08-06 ### Enhancements - AI Assistant: Add feedback link to the sidebar. [#38528] diff --git a/wp-content/plugins/jetpack/_inc/blocks/7.js b/wp-content/plugins/jetpack/_inc/blocks/7.js deleted file mode 100644 index 439e27a8f..000000000 --- a/wp-content/plugins/jetpack/_inc/blocks/7.js +++ /dev/null @@ -1 +0,0 @@ -(globalThis.webpackChunkJetpack=globalThis.webpackChunkJetpack||[]).push([[7],{89701:(e,t,a)=>{"use strict";a.r(t)},59101:function(e){e.exports=function(){"use strict";function e(e,t){for(var a=0;a0&&s(e[a],t[a])}))}var r={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function n(){var e="undefined"!=typeof document?document:{};return s(e,r),e}var l={document:r,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function o(){var e="undefined"!=typeof window?window:{};return s(e,l),e}function d(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function h(e,t,a){return h=c()?Reflect.construct:function(e,t,a){var i=[null];i.push.apply(i,t);var s=new(Function.bind.apply(e,i));return a&&u(s,a.prototype),s},h.apply(null,arguments)}function v(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function f(e){var t="function"==typeof Map?new Map:void 0;return f=function(e){if(null===e||!v(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,a)}function a(){return h(e,arguments,p(this).constructor)}return a.prototype=Object.create(e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),u(a,e)},f(e)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){var t=e.__proto__;Object.defineProperty(e,"__proto__",{get:function(){return t},set:function(e){t.__proto__=e}})}var b=function(e){function t(t){var a;return g(m(a=e.call.apply(e,[this].concat(t))||this)),a}return d(t,e),t}(f(Array));function w(e){void 0===e&&(e=[]);var t=[];return e.forEach((function(e){Array.isArray(e)?t.push.apply(t,w(e)):t.push(e)})),t}function y(e,t){return Array.prototype.filter.call(e,t)}function E(e){for(var t=[],a=0;a=0&&r.indexOf(">")>=0){var l="div";0===r.indexOf("0})).length>0}function k(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var a=0;a=0;h-=1){var v=c[h];r&&v.listener===r||r&&v.listener&&v.listener.dom7proxy&&v.listener.dom7proxy===r?(u.removeEventListener(d,v.proxyListener,n),c.splice(h,1)):r||(u.removeEventListener(d,v.proxyListener,n),c.splice(h,1))}}return this}function A(){for(var e=o(),t=arguments.length,a=new Array(t),i=0;i0})),p.dispatchEvent(u),p.dom7EventData=[],delete p.dom7EventData}}return this}function D(e){var t=this;function a(i){i.target===this&&(e.call(this,i),t.off("transitionend",a))}return e&&t.on("transitionend",a),this}function N(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function G(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function B(){if(this.length>0){var e=o(),t=n(),a=this[0],i=a.getBoundingClientRect(),s=t.body,r=a.clientTop||s.clientTop||0,l=a.clientLeft||s.clientLeft||0,d=a===e?e.scrollY:a.scrollTop,p=a===e?e.scrollX:a.scrollLeft;return{top:i.top+d-r,left:i.left+p-l}}return null}function H(){var e=o();return this[0]?e.getComputedStyle(this[0],null):{}}function X(e,t){var a,i=o();if(1===arguments.length){if("string"!=typeof e){for(a=0;at-1)return T([]);if(e<0){var a=t+e;return T(a<0?[]:[this[a]])}return T([this[e]])}function j(){for(var e,t=n(),a=0;a=0;a-=1)this[t].insertBefore(s.childNodes[a],this[t].childNodes[0])}else if(e instanceof b)for(a=0;a0?e?this[0].nextElementSibling&&T(this[0].nextElementSibling).is(e)?T([this[0].nextElementSibling]):T([]):this[0].nextElementSibling?T([this[0].nextElementSibling]):T([]):T([])}function J(e){var t=[],a=this[0];if(!a)return T([]);for(;a.nextElementSibling;){var i=a.nextElementSibling;e?T(i).is(e)&&t.push(i):t.push(i),a=i}return T(t)}function Z(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&T(t.previousElementSibling).is(e)?T([t.previousElementSibling]):T([]):t.previousElementSibling?T([t.previousElementSibling]):T([])}return T([])}function Q(e){var t=[],a=this[0];if(!a)return T([]);for(;a.previousElementSibling;){var i=a.previousElementSibling;e?T(i).is(e)&&t.push(i):t.push(i),a=i}return T(t)}function ee(e){for(var t=[],a=0;a6&&(i=i.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),s=new r.WebKitCSSMatrix("none"===i?"":i)):a=(s=n.MozTransform||n.OTransform||n.MsTransform||n.msTransform||n.transform||n.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(i=r.WebKitCSSMatrix?s.m41:16===a.length?parseFloat(a[12]):parseFloat(a[4])),"y"===t&&(i=r.WebKitCSSMatrix?s.m42:16===a.length?parseFloat(a[13]):parseFloat(a[5])),i||0}function fe(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function me(){for(var e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"],a=1;a=0,observer:"MutationObserver"in e||"WebkitMutationObserver"in e,passiveListener:function(){var t=!1;try{var a=Object.defineProperty({},"passive",{get:function(){t=!0}});e.addEventListener("testPassiveListener",null,a)}catch(e){}return t}(),gestures:"ongesturestart"in e}}function Ee(){return ne||(ne=ye()),ne}function xe(e){var t=(void 0===e?{}:e).userAgent,a=Ee(),i=o(),s=i.navigator.platform,r=t||i.navigator.userAgent,n={ios:!1,android:!1},l=i.screen.width,d=i.screen.height,p=r.match(/(Android);?[\s\/]+([\d.]+)?/),u=r.match(/(iPad).*OS\s([\d_]+)/),c=r.match(/(iPod)(.*OS\s([\d_]+))?/),h=!u&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),v="Win32"===s,f="MacIntel"===s,m=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!u&&f&&a.touch&&m.indexOf(l+"x"+d)>=0&&((u=r.match(/(Version)\/([\d.]+)/))||(u=[0,1,"13_0_0"]),f=!1),p&&!v&&(n.os="android",n.android=!0),(u||h||c)&&(n.os="ios",n.ios=!0),n}function Te(e){return void 0===e&&(e={}),le||(le=xe(e)),le}function Ce(){var e=o();function t(){var t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}return{isEdge:!!e.navigator.userAgent.match(/Edge/g),isSafari:t(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}function Se(){return oe||(oe=Ce()),oe}Object.keys(de).forEach((function(e){Object.defineProperty(T.fn,e,{value:de[e],writable:!0})}));var Me=function(){return void 0!==o().ResizeObserver},ze={name:"resize",create:function(){var e=this;me(e,{resize:{observer:null,createObserver:function(){e&&!e.destroyed&&e.initialized&&(e.resize.observer=new ResizeObserver((function(t){var a=e.width,i=e.height,s=a,r=i;t.forEach((function(t){var a=t.contentBoxSize,i=t.contentRect,n=t.target;n&&n!==e.el||(s=i?i.width:(a[0]||a).inlineSize,r=i?i.height:(a[0]||a).blockSize)})),s===a&&r===i||e.resize.resizeHandler()})),e.resize.observer.observe(e.el))},removeObserver:function(){e.resize.observer&&e.resize.observer.unobserve&&e.el&&(e.resize.observer.unobserve(e.el),e.resize.observer=null)},resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(e){var t=o();e.params.resizeObserver&&Me()?e.resize.createObserver():(t.addEventListener("resize",e.resize.resizeHandler),t.addEventListener("orientationchange",e.resize.orientationChangeHandler))},destroy:function(e){var t=o();e.resize.removeObserver(),t.removeEventListener("resize",e.resize.resizeHandler),t.removeEventListener("orientationchange",e.resize.orientationChangeHandler)}}},ke={attach:function(e,t){void 0===t&&(t={});var a=o(),i=this,s=new(a.MutationObserver||a.WebkitMutationObserver)((function(e){if(1!==e.length){var t=function(){i.emit("observerUpdate",e[0])};a.requestAnimationFrame?a.requestAnimationFrame(t):a.setTimeout(t,0)}else i.emit("observerUpdate",e[0])}));s.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),i.observer.observers.push(s)},init:function(){var e=this;if(e.support.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),a=0;a=0&&t.eventsAnyListeners.splice(a,1),t},off:function(e,t){var a=this;return a.eventsListeners?(e.split(" ").forEach((function(e){void 0===t?a.eventsListeners[e]=[]:a.eventsListeners[e]&&a.eventsListeners[e].forEach((function(i,s){(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&a.eventsListeners[e].splice(s,1)}))})),a):a},emit:function(){var e,t,a,i=this;if(!i.eventsListeners)return i;for(var s=arguments.length,r=new Array(s),n=0;n=0&&(w=parseFloat(w.replace("%",""))/100*r),e.virtualSize=-w,n?p.css({marginLeft:"",marginTop:""}):p.css({marginRight:"",marginBottom:""}),i.slidesPerColumn>1&&(T=Math.floor(u/i.slidesPerColumn)===u/e.params.slidesPerColumn?u:Math.ceil(u/i.slidesPerColumn)*i.slidesPerColumn,"auto"!==i.slidesPerView&&"row"===i.slidesPerColumnFill&&(T=Math.max(T,i.slidesPerView*i.slidesPerColumn)));for(var S,M,z,k=i.slidesPerColumn,P=T/k,$=Math.floor(u/i.slidesPerColumn),L=0;L1){var O=void 0,A=void 0,D=void 0;if("row"===i.slidesPerColumnFill&&i.slidesPerGroup>1){var N=Math.floor(L/(i.slidesPerGroup*i.slidesPerColumn)),G=L-i.slidesPerColumn*i.slidesPerGroup*N,B=0===N?i.slidesPerGroup:Math.min(Math.ceil((u-N*k*i.slidesPerGroup)/k),i.slidesPerGroup);O=(A=G-(D=Math.floor(G/B))*B+N*i.slidesPerGroup)+D*T/k,I.css({"-webkit-box-ordinal-group":O,"-moz-box-ordinal-group":O,"-ms-flex-order":O,"-webkit-order":O,order:O})}else"column"===i.slidesPerColumnFill?(D=L-(A=Math.floor(L/k))*k,(A>$||A===$&&D===k-1)&&(D+=1)>=k&&(D=0,A+=1)):A=L-(D=Math.floor(L/P))*P;I.css(t("margin-top"),0!==D&&i.spaceBetween&&i.spaceBetween+"px")}if("none"!==I.css("display")){if("auto"===i.slidesPerView){var H=getComputedStyle(I[0]),X=I[0].style.transform,Y=I[0].style.webkitTransform;if(X&&(I[0].style.transform="none"),Y&&(I[0].style.webkitTransform="none"),i.roundLengths)C=e.isHorizontal()?I.outerWidth(!0):I.outerHeight(!0);else{var R=a(H,"width"),W=a(H,"padding-left"),V=a(H,"padding-right"),F=a(H,"margin-left"),_=a(H,"margin-right"),q=H.getPropertyValue("box-sizing");if(q&&"border-box"===q)C=R+F+_;else{var j=I[0],U=j.clientWidth;C=R+W+V+F+_+(j.offsetWidth-U)}}X&&(I[0].style.transform=X),Y&&(I[0].style.webkitTransform=Y),i.roundLengths&&(C=Math.floor(C))}else C=(r-(i.slidesPerView-1)*w)/i.slidesPerView,i.roundLengths&&(C=Math.floor(C)),p[L]&&(p[L].style[t("width")]=C+"px");p[L]&&(p[L].swiperSlideSize=C),v.push(C),i.centeredSlides?(y=y+C/2+E/2+w,0===E&&0!==L&&(y=y-r/2-w),0===L&&(y=y-r/2-w),Math.abs(y)<.001&&(y=0),i.roundLengths&&(y=Math.floor(y)),x%i.slidesPerGroup==0&&c.push(y),h.push(y)):(i.roundLengths&&(y=Math.floor(y)),(x-Math.min(e.params.slidesPerGroupSkip,x))%e.params.slidesPerGroup==0&&c.push(y),h.push(y),y=y+C+w),e.virtualSize+=C+w,E=C,x+=1}}if(e.virtualSize=Math.max(e.virtualSize,r)+m,n&&l&&("slide"===i.effect||"coverflow"===i.effect)&&s.css({width:e.virtualSize+i.spaceBetween+"px"}),i.setWrapperSize&&s.css(((M={})[t("width")]=e.virtualSize+i.spaceBetween+"px",M)),i.slidesPerColumn>1&&(e.virtualSize=(C+i.spaceBetween)*T,e.virtualSize=Math.ceil(e.virtualSize/i.slidesPerColumn)-i.spaceBetween,s.css(((z={})[t("width")]=e.virtualSize+i.spaceBetween+"px",z)),i.centeredSlides)){S=[];for(var K=0;K1&&c.push(e.virtualSize-r)}if(0===c.length&&(c=[0]),0!==i.spaceBetween){var ee,te=e.isHorizontal()&&n?"marginLeft":t("marginRight");p.filter((function(e,t){return!i.cssMode||t!==p.length-1})).css(((ee={})[te]=w+"px",ee))}if(i.centeredSlides&&i.centeredSlidesBounds){var ae=0;v.forEach((function(e){ae+=e+(i.spaceBetween?i.spaceBetween:0)}));var ie=(ae-=i.spaceBetween)-r;c=c.map((function(e){return e<0?-f:e>ie?ie+m:e}))}if(i.centerInsufficientSlides){var se=0;if(v.forEach((function(e){se+=e+(i.spaceBetween?i.spaceBetween:0)})),(se-=i.spaceBetween)1)if(a.params.centeredSlides)a.visibleSlides.each((function(e){i.push(e)}));else for(t=0;ta.slides.length&&!s)break;i.push(n(l))}else i.push(n(a.activeIndex));for(t=0;tr?o:r}r&&a.$wrapperEl.css("height",r+"px")}function De(){for(var e=this,t=e.slides,a=0;a=0&&d1&&p<=t.size||d<=0&&p>=t.size)&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(n),i.eq(n).addClass(a.slideVisibleClass))}l.progress=s?-o:o}t.visibleSlides=T(t.visibleSlides)}}function Ge(e){var t=this;if(void 0===e){var a=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*a||0}var i=t.params,s=t.maxTranslate()-t.minTranslate(),r=t.progress,n=t.isBeginning,l=t.isEnd,o=n,d=l;0===s?(r=0,n=!0,l=!0):(n=(r=(e-t.minTranslate())/s)<=0,l=r>=1),me(t,{progress:r,isBeginning:n,isEnd:l}),(i.watchSlidesProgress||i.watchSlidesVisibility||i.centeredSlides&&i.autoHeight)&&t.updateSlidesProgress(e),n&&!o&&t.emit("reachBeginning toEdge"),l&&!d&&t.emit("reachEnd toEdge"),(o&&!n||d&&!l)&&t.emit("fromEdge"),t.emit("progress",r)}function Be(){var e,t=this,a=t.slides,i=t.params,s=t.$wrapperEl,r=t.activeIndex,n=t.realIndex,l=t.virtual&&i.virtual.enabled;a.removeClass(i.slideActiveClass+" "+i.slideNextClass+" "+i.slidePrevClass+" "+i.slideDuplicateActiveClass+" "+i.slideDuplicateNextClass+" "+i.slideDuplicatePrevClass),(e=l?t.$wrapperEl.find("."+i.slideClass+'[data-swiper-slide-index="'+r+'"]'):a.eq(r)).addClass(i.slideActiveClass),i.loop&&(e.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+n+'"]').addClass(i.slideDuplicateActiveClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+n+'"]').addClass(i.slideDuplicateActiveClass));var o=e.nextAll("."+i.slideClass).eq(0).addClass(i.slideNextClass);i.loop&&0===o.length&&(o=a.eq(0)).addClass(i.slideNextClass);var d=e.prevAll("."+i.slideClass).eq(0).addClass(i.slidePrevClass);i.loop&&0===d.length&&(d=a.eq(-1)).addClass(i.slidePrevClass),i.loop&&(o.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+o.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+o.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass),d.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass)),t.emitSlidesClasses()}function He(e){var t,a=this,i=a.rtlTranslate?a.translate:-a.translate,s=a.slidesGrid,r=a.snapGrid,n=a.params,l=a.activeIndex,o=a.realIndex,d=a.snapIndex,p=e;if(void 0===p){for(var u=0;u=s[u]&&i=s[u]&&i=s[u]&&(p=u);n.normalizeSlideIndex&&(p<0||void 0===p)&&(p=0)}if(r.indexOf(i)>=0)t=r.indexOf(i);else{var c=Math.min(n.slidesPerGroupSkip,p);t=c+Math.floor((p-c)/n.slidesPerGroup)}if(t>=r.length&&(t=r.length-1),p!==l){var h=parseInt(a.slides.eq(p).attr("data-swiper-slide-index")||p,10);me(a,{snapIndex:t,realIndex:h,previousIndex:l,activeIndex:p}),a.emit("activeIndexChange"),a.emit("snapIndexChange"),o!==h&&a.emit("realIndexChange"),(a.initialized||a.params.runCallbacksOnInit)&&a.emit("slideChange")}else t!==d&&(a.snapIndex=t,a.emit("snapIndexChange"))}function Xe(e){var t,a=this,i=a.params,s=T(e.target).closest("."+i.slideClass)[0],r=!1;if(s)for(var n=0;nd?d:i&&er?"next":is?"next":i=d.length&&(g=d.length-1),(c||o.initialSlide||0)===(u||0)&&a&&n.emit("beforeSlideChangeStart");var b,w=-d[g];if(n.updateProgress(w),o.normalizeSlideIndex)for(var y=0;y=x&&E=x&&E=x&&(l=y)}if(n.initialized&&l!==c){if(!n.allowSlideNext&&wn.translate&&w>n.maxTranslate()&&(c||0)!==l)return!1}if(b=l>c?"next":l=e&&(h=e)})),void 0!==h&&(c=l.indexOf(h))<0&&(c=i.activeIndex-1),i.slideTo(c,e,t,a)}function Qe(e,t,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this;return i.slideTo(i.activeIndex,e,t,a)}function et(e,t,a,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===i&&(i=.5);var s=this,r=s.activeIndex,n=Math.min(s.params.slidesPerGroupSkip,r),l=n+Math.floor((r-n)/s.params.slidesPerGroup),o=s.rtlTranslate?s.translate:-s.translate;if(o>=s.snapGrid[l]){var d=s.snapGrid[l];o-d>(s.snapGrid[l+1]-d)*i&&(r+=s.params.slidesPerGroup)}else{var p=s.snapGrid[l-1];o-p<=(s.snapGrid[l]-p)*i&&(r-=s.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,s.slidesGrid.length-1),s.slideTo(r,e,t,a)}function tt(){var e,t=this,a=t.params,i=t.$wrapperEl,s="auto"===a.slidesPerView?t.slidesPerViewDynamic():a.slidesPerView,r=t.clickedIndex;if(a.loop){if(t.animating)return;e=parseInt(T(t.clickedSlide).attr("data-swiper-slide-index"),10),a.centeredSlides?rt.slides.length-t.loopedSlides+s/2?(t.loopFix(),r=i.children("."+a.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+a.slideDuplicateClass+")").eq(0).index(),ue((function(){t.slideTo(r)}))):t.slideTo(r):r>t.slides.length-s?(t.loopFix(),r=i.children("."+a.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+a.slideDuplicateClass+")").eq(0).index(),ue((function(){t.slideTo(r)}))):t.slideTo(r)}else t.slideTo(r)}function at(){var e=this,t=n(),a=e.params,i=e.$wrapperEl;i.children("."+a.slideClass+"."+a.slideDuplicateClass).remove();var s=i.children("."+a.slideClass);if(a.loopFillGroupWithBlank){var r=a.slidesPerGroup-s.length%a.slidesPerGroup;if(r!==a.slidesPerGroup){for(var l=0;ls.length&&(e.loopedSlides=s.length);var d=[],p=[];s.each((function(t,a){var i=T(t);a=s.length-e.loopedSlides&&d.push(t),i.attr("data-swiper-slide-index",a)}));for(var u=0;u=0;c-=1)i.prepend(T(d[c].cloneNode(!0)).addClass(a.slideDuplicateClass))}function it(){var e=this;e.emit("beforeLoopFix");var t,a=e.activeIndex,i=e.slides,s=e.loopedSlides,r=e.allowSlidePrev,n=e.allowSlideNext,l=e.snapGrid,o=e.rtlTranslate;e.allowSlidePrev=!0,e.allowSlideNext=!0;var d=-l[a]-e.getTranslate();a=i.length-s&&(t=-i.length+a+s,t+=s,e.slideTo(t,0,!1,!0)&&0!==d&&e.setTranslate((o?-e.translate:e.translate)-d)),e.allowSlidePrev=r,e.allowSlideNext=n,e.emit("loopFix")}function st(){var e=this,t=e.$wrapperEl,a=e.params,i=e.slides;t.children("."+a.slideClass+"."+a.slideDuplicateClass+",."+a.slideClass+"."+a.slideBlankClass).remove(),i.removeAttr("data-swiper-slide-index")}function rt(e){var t=this;if(!(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)){var a=t.el;a.style.cursor="move",a.style.cursor=e?"-webkit-grabbing":"-webkit-grab",a.style.cursor=e?"-moz-grabbin":"-moz-grab",a.style.cursor=e?"grabbing":"grab"}}function nt(){var e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.el.style.cursor="")}function lt(e){var t=this,a=t.$wrapperEl,i=t.params;if(i.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(var s=0;s=n)a.appendSlide(t);else{for(var l=r>e?r+1:r,o=[],d=n-1;d>=e;d-=1){var p=a.slides.eq(d);p.remove(),o.unshift(p)}if("object"==typeof t&&"length"in t){for(var u=0;ue?r+t.length:r}else i.append(t);for(var c=0;c0||s.isTouched&&s.isMoved)))if(!!r.noSwipingClass&&""!==r.noSwipingClass&&d.target&&d.target.shadowRoot&&e.path&&e.path[0]&&(p=T(e.path[0])),r.noSwiping&&p.closest(r.noSwipingSelector?r.noSwipingSelector:"."+r.noSwipingClass)[0])t.allowClick=!0;else if(!r.swipeHandler||p.closest(r.swipeHandler)[0]){l.currentX="touchstart"===d.type?d.targetTouches[0].pageX:d.pageX,l.currentY="touchstart"===d.type?d.targetTouches[0].pageY:d.pageY;var u=l.currentX,c=l.currentY,h=r.edgeSwipeDetection||r.iOSEdgeSwipeDetection,v=r.edgeSwipeThreshold||r.iOSEdgeSwipeThreshold;if(h&&(u<=v||u>=i.innerWidth-v)){if("prevent"!==h)return;e.preventDefault()}if(me(s,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=u,l.startY=c,s.touchStartTime=ce(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,r.threshold>0&&(s.allowThresholdMove=!1),"touchstart"!==d.type){var f=!0;p.is(s.formElements)&&(f=!1),a.activeElement&&T(a.activeElement).is(s.formElements)&&a.activeElement!==p[0]&&a.activeElement.blur();var m=f&&t.allowTouchMove&&r.touchStartPreventDefault;!r.touchStartForcePreventDefault&&!m||p[0].isContentEditable||d.preventDefault()}t.emit("touchStart",d)}}}function ht(e){var t=n(),a=this,i=a.touchEventsData,s=a.params,r=a.touches,l=a.rtlTranslate;if(a.enabled){var o=e;if(o.originalEvent&&(o=o.originalEvent),i.isTouched){if(!i.isTouchEvent||"touchmove"===o.type){var d="touchmove"===o.type&&o.targetTouches&&(o.targetTouches[0]||o.changedTouches[0]),p="touchmove"===o.type?d.pageX:o.pageX,u="touchmove"===o.type?d.pageY:o.pageY;if(o.preventedByNestedSwiper)return r.startX=p,void(r.startY=u);if(!a.allowTouchMove)return a.allowClick=!1,void(i.isTouched&&(me(r,{startX:p,startY:u,currentX:p,currentY:u}),i.touchStartTime=ce()));if(i.isTouchEvent&&s.touchReleaseOnEdges&&!s.loop)if(a.isVertical()){if(ur.startY&&a.translate>=a.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(pr.startX&&a.translate>=a.minTranslate())return;if(i.isTouchEvent&&t.activeElement&&o.target===t.activeElement&&T(o.target).is(i.formElements))return i.isMoved=!0,void(a.allowClick=!1);if(i.allowTouchCallbacks&&a.emit("touchMove",o),!(o.targetTouches&&o.targetTouches.length>1)){r.currentX=p,r.currentY=u;var c,h=r.currentX-r.startX,v=r.currentY-r.startY;if(!(a.params.threshold&&Math.sqrt(Math.pow(h,2)+Math.pow(v,2))=25&&(c=180*Math.atan2(Math.abs(v),Math.abs(h))/Math.PI,i.isScrolling=a.isHorizontal()?c>s.touchAngle:90-c>s.touchAngle)),i.isScrolling&&a.emit("touchMoveOpposite",o),void 0===i.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(i.startMoving=!0)),i.isScrolling)i.isTouched=!1;else if(i.startMoving){a.allowClick=!1,!s.cssMode&&o.cancelable&&o.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&o.stopPropagation(),i.isMoved||(s.loop&&a.loopFix(),i.startTranslate=a.getTranslate(),a.setTransition(0),a.animating&&a.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!s.grabCursor||!0!==a.allowSlideNext&&!0!==a.allowSlidePrev||a.setGrabCursor(!0),a.emit("sliderFirstMove",o)),a.emit("sliderMove",o),i.isMoved=!0;var f=a.isHorizontal()?h:v;r.diff=f,f*=s.touchRatio,l&&(f=-f),a.swipeDirection=f>0?"prev":"next",i.currentTranslate=f+i.startTranslate;var m=!0,g=s.resistanceRatio;if(s.touchReleaseOnEdges&&(g=0),f>0&&i.currentTranslate>a.minTranslate()?(m=!1,s.resistance&&(i.currentTranslate=a.minTranslate()-1+Math.pow(-a.minTranslate()+i.startTranslate+f,g))):f<0&&i.currentTranslatei.startTranslate&&(i.currentTranslate=i.startTranslate),a.allowSlidePrev||a.allowSlideNext||(i.currentTranslate=i.startTranslate),s.threshold>0){if(!(Math.abs(f)>s.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,i.currentTranslate=i.startTranslate,void(r.diff=a.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}s.followFinger&&!s.cssMode&&((s.freeMode||s.watchSlidesProgress||s.watchSlidesVisibility)&&(a.updateActiveIndex(),a.updateSlidesClasses()),s.freeMode&&(0===i.velocities.length&&i.velocities.push({position:r[a.isHorizontal()?"startX":"startY"],time:i.touchStartTime}),i.velocities.push({position:r[a.isHorizontal()?"currentX":"currentY"],time:ce()})),a.updateProgress(i.currentTranslate),a.setTranslate(i.currentTranslate))}}}}else i.startMoving&&i.isScrolling&&a.emit("touchMoveOpposite",o)}}function vt(e){var t=this,a=t.touchEventsData,i=t.params,s=t.touches,r=t.rtlTranslate,n=t.$wrapperEl,l=t.slidesGrid,o=t.snapGrid;if(t.enabled){var d=e;if(d.originalEvent&&(d=d.originalEvent),a.allowTouchCallbacks&&t.emit("touchEnd",d),a.allowTouchCallbacks=!1,!a.isTouched)return a.isMoved&&i.grabCursor&&t.setGrabCursor(!1),a.isMoved=!1,void(a.startMoving=!1);i.grabCursor&&a.isMoved&&a.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var p,u=ce(),c=u-a.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(d),t.emit("tap click",d),c<300&&u-a.lastClickTime<300&&t.emit("doubleTap doubleClick",d)),a.lastClickTime=ce(),ue((function(){t.destroyed||(t.allowClick=!0)})),!a.isTouched||!a.isMoved||!t.swipeDirection||0===s.diff||a.currentTranslate===a.startTranslate)return a.isTouched=!1,a.isMoved=!1,void(a.startMoving=!1);if(a.isTouched=!1,a.isMoved=!1,a.startMoving=!1,p=i.followFinger?r?t.translate:-t.translate:-a.currentTranslate,!i.cssMode)if(i.freeMode){if(p<-t.minTranslate())return void t.slideTo(t.activeIndex);if(p>-t.maxTranslate())return void(t.slides.length1){var h=a.velocities.pop(),v=a.velocities.pop(),f=h.position-v.position,m=h.time-v.time;t.velocity=f/m,t.velocity/=2,Math.abs(t.velocity)150||ce()-h.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=i.freeModeMomentumVelocityRatio,a.velocities.length=0;var g=1e3*i.freeModeMomentumRatio,b=t.velocity*g,w=t.translate+b;r&&(w=-w);var y,E,x=!1,T=20*Math.abs(t.velocity)*i.freeModeMomentumBounceRatio;if(wt.minTranslate())i.freeModeMomentumBounce?(w-t.minTranslate()>T&&(w=t.minTranslate()+T),y=t.minTranslate(),x=!0,a.allowMomentumBounce=!0):w=t.minTranslate(),i.loop&&i.centeredSlides&&(E=!0);else if(i.freeModeSticky){for(var C,S=0;S-w){C=S;break}w=-(w=Math.abs(o[C]-w)=i.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var k=0,P=t.slidesSizesGrid[0],$=0;$=l[$]&&p=l[$]&&(k=$,P=l[l.length-1]-l[l.length-2])}var I=(p-l[k])/P,O=ki.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(I>=i.longSwipesRatio?t.slideTo(k+O):t.slideTo(k)),"prev"===t.swipeDirection&&(I>1-i.longSwipesRatio?t.slideTo(k+O):t.slideTo(k))}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||d.target!==t.navigation.nextEl&&d.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(k+O),"prev"===t.swipeDirection&&t.slideTo(k)):d.target===t.navigation.nextEl?t.slideTo(k+O):t.slideTo(k)}}}}function ft(){var e=this,t=e.params,a=e.el;if(!a||0!==a.offsetWidth){t.breakpoints&&e.setBreakpoint();var i=e.allowSlideNext,s=e.allowSlidePrev,r=e.snapGrid;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=s,e.allowSlideNext=i,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}}function mt(e){var t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function gt(){var e=this,t=e.wrapperEl,a=e.rtlTranslate;if(e.enabled){e.previousTranslate=e.translate,e.isHorizontal()?e.translate=a?t.scrollWidth-t.offsetWidth-t.scrollLeft:-t.scrollLeft:e.translate=-t.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();var i=e.maxTranslate()-e.minTranslate();(0===i?0:(e.translate-e.minTranslate())/i)!==e.progress&&e.updateProgress(a?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}}var bt=!1;function wt(){}function yt(){var e=this,t=n(),a=e.params,i=e.touchEvents,s=e.el,r=e.wrapperEl,l=e.device,o=e.support;e.onTouchStart=ct.bind(e),e.onTouchMove=ht.bind(e),e.onTouchEnd=vt.bind(e),a.cssMode&&(e.onScroll=gt.bind(e)),e.onClick=mt.bind(e);var d=!!a.nested;if(!o.touch&&o.pointerEvents)s.addEventListener(i.start,e.onTouchStart,!1),t.addEventListener(i.move,e.onTouchMove,d),t.addEventListener(i.end,e.onTouchEnd,!1);else{if(o.touch){var p=!("touchstart"!==i.start||!o.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1};s.addEventListener(i.start,e.onTouchStart,p),s.addEventListener(i.move,e.onTouchMove,o.passiveListener?{passive:!1,capture:d}:d),s.addEventListener(i.end,e.onTouchEnd,p),i.cancel&&s.addEventListener(i.cancel,e.onTouchEnd,p),bt||(t.addEventListener("touchstart",wt),bt=!0)}(a.simulateTouch&&!l.ios&&!l.android||a.simulateTouch&&!o.touch&&l.ios)&&(s.addEventListener("mousedown",e.onTouchStart,!1),t.addEventListener("mousemove",e.onTouchMove,d),t.addEventListener("mouseup",e.onTouchEnd,!1))}(a.preventClicks||a.preventClicksPropagation)&&s.addEventListener("click",e.onClick,!0),a.cssMode&&r.addEventListener("scroll",e.onScroll),a.updateOnWindowResize?e.on(l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",ft,!0):e.on("observerUpdate",ft,!0)}function Et(){var e=this,t=n(),a=e.params,i=e.touchEvents,s=e.el,r=e.wrapperEl,l=e.device,o=e.support,d=!!a.nested;if(!o.touch&&o.pointerEvents)s.removeEventListener(i.start,e.onTouchStart,!1),t.removeEventListener(i.move,e.onTouchMove,d),t.removeEventListener(i.end,e.onTouchEnd,!1);else{if(o.touch){var p=!("onTouchStart"!==i.start||!o.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1};s.removeEventListener(i.start,e.onTouchStart,p),s.removeEventListener(i.move,e.onTouchMove,d),s.removeEventListener(i.end,e.onTouchEnd,p),i.cancel&&s.removeEventListener(i.cancel,e.onTouchEnd,p)}(a.simulateTouch&&!l.ios&&!l.android||a.simulateTouch&&!o.touch&&l.ios)&&(s.removeEventListener("mousedown",e.onTouchStart,!1),t.removeEventListener("mousemove",e.onTouchMove,d),t.removeEventListener("mouseup",e.onTouchEnd,!1))}(a.preventClicks||a.preventClicksPropagation)&&s.removeEventListener("click",e.onClick,!0),a.cssMode&&r.removeEventListener("scroll",e.onScroll),e.off(l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",ft)}function xt(){var e=this,t=e.activeIndex,a=e.initialized,i=e.loopedSlides,s=void 0===i?0:i,r=e.params,n=e.$el,l=r.breakpoints;if(l&&(!l||0!==Object.keys(l).length)){var o=e.getBreakpoint(l,e.params.breakpointsBase,e.el);if(o&&e.currentBreakpoint!==o){var d=o in l?l[o]:void 0;d&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach((function(e){var t=d[e];void 0!==t&&(d[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}));var p=d||e.originalParams,u=r.slidesPerColumn>1,c=p.slidesPerColumn>1,h=r.enabled;u&&!c?(n.removeClass(r.containerModifierClass+"multirow "+r.containerModifierClass+"multirow-column"),e.emitContainerClasses()):!u&&c&&(n.addClass(r.containerModifierClass+"multirow"),"column"===p.slidesPerColumnFill&&n.addClass(r.containerModifierClass+"multirow-column"),e.emitContainerClasses());var v=p.direction&&p.direction!==r.direction,f=r.loop&&(p.slidesPerView!==r.slidesPerView||v);v&&a&&e.changeDirection(),me(e.params,p);var m=e.params.enabled;me(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),h&&!m?e.disable():!h&&m&&e.enable(),e.currentBreakpoint=o,e.emit("_beforeBreakpoint",p),f&&a&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-s+e.loopedSlides,0,!1)),e.emit("breakpoint",p)}}}function Tt(e,t,a){if(void 0===t&&(t="window"),e&&("container"!==t||a)){var i=!1,s=o(),r="window"===t?s.innerWidth:a.clientWidth,n="window"===t?s.innerHeight:a.clientHeight,l=Object.keys(e).map((function(e){if("string"==typeof e&&0===e.indexOf("@")){var t=parseFloat(e.substr(1));return{value:n*t,point:e}}return{value:e,point:e}}));l.sort((function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)}));for(var d=0;d1},{"multirow-column":a.slidesPerColumn>1&&"column"===a.slidesPerColumnFill},{android:r.android},{ios:r.ios},{"css-mode":a.cssMode}],a.containerModifierClass);t.push.apply(t,l),s.addClass([].concat(t).join(" ")),e.emitContainerClasses()}function Mt(){var e=this,t=e.$el,a=e.classNames;t.removeClass(a.join(" ")),e.emitContainerClasses()}function zt(e,t,a,i,s,r){var n,l=o();function d(){r&&r()}T(e).parent("picture")[0]||e.complete&&s?d():t?((n=new l.Image).onload=d,n.onerror=d,i&&(n.sizes=i),a&&(n.srcset=a),t&&(n.src=t)):d()}function kt(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var a=0;a0&&t.slidesOffsetBefore+t.spaceBetween*(e.slides.length-1)+e.slides[0].offsetWidth*e.slides.length;t.slidesOffsetBefore&&t.slidesOffsetAfter&&i?e.isLocked=i<=e.size:e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,a!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),a&&a!==e.isLocked&&(e.isEnd=!1,e.navigation&&e.navigation.update())}var $t={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!1,nested:!1,createElements:!1,enabled:!0,width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1},Lt={modular:$e,eventsEmitter:Le,update:{updateSize:Ie,updateSlides:Oe,updateAutoHeight:Ae,updateSlidesOffset:De,updateSlidesProgress:Ne,updateProgress:Ge,updateSlidesClasses:Be,updateActiveIndex:He,updateClickedSlide:Xe},translate:{getTranslate:Ye,setTranslate:Re,minTranslate:We,maxTranslate:Ve,translateTo:Fe},transition:{setTransition:_e,transitionStart:qe,transitionEnd:je},slide:{slideTo:Ue,slideToLoop:Ke,slideNext:Je,slidePrev:Ze,slideReset:Qe,slideToClosest:et,slideToClickedSlide:tt},loop:{loopCreate:at,loopFix:it,loopDestroy:st},grabCursor:{setGrabCursor:rt,unsetGrabCursor:nt},manipulation:{appendSlide:lt,prependSlide:ot,addSlide:dt,removeSlide:pt,removeAllSlides:ut},events:{attachEvents:yt,detachEvents:Et},breakpoints:{setBreakpoint:xt,getBreakpoint:Tt},checkOverflow:{checkOverflow:Pt},classes:{addClasses:St,removeClasses:Mt},images:{loadImage:zt,preloadImages:kt}},It={},Ot=function(){function e(){for(var t,a,i=arguments.length,s=new Array(i),r=0;r1){var n=[];return T(a.el).each((function(t){var i=me({},a,{el:t});n.push(new e(i))})),n}var l=this;l.__swiper__=!0,l.support=Ee(),l.device=Te({userAgent:a.userAgent}),l.browser=Se(),l.eventsListeners={},l.eventsAnyListeners=[],void 0===l.modules&&(l.modules={}),Object.keys(l.modules).forEach((function(e){var t=l.modules[e];if(t.params){var i=Object.keys(t.params)[0],s=t.params[i];if("object"!=typeof s||null===s)return;if(["navigation","pagination","scrollbar"].indexOf(i)>=0&&!0===a[i]&&(a[i]={auto:!0}),!(i in a)||!("enabled"in s))return;!0===a[i]&&(a[i]={enabled:!0}),"object"!=typeof a[i]||"enabled"in a[i]||(a[i].enabled=!0),a[i]||(a[i]={enabled:!1})}}));var o,d,p=me({},$t);return l.useParams(p),l.params=me({},p,It,a),l.originalParams=me({},l.params),l.passedParams=me({},a),l.params&&l.params.on&&Object.keys(l.params.on).forEach((function(e){l.on(e,l.params.on[e])})),l.params&&l.params.onAny&&l.onAny(l.params.onAny),l.$=T,me(l,{enabled:l.params.enabled,el:t,classNames:[],slides:T(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===l.params.direction},isVertical:function(){return"vertical"===l.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEvents:(o=["touchstart","touchmove","touchend","touchcancel"],d=["mousedown","mousemove","mouseup"],l.support.pointerEvents&&(d=["pointerdown","pointermove","pointerup"]),l.touchEventsTouch={start:o[0],move:o[1],end:o[2],cancel:o[3]},l.touchEventsDesktop={start:d[0],move:d[1],end:d[2]},l.support.touch||!l.params.simulateTouch?l.touchEventsTouch:l.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video, label",lastClickTime:ce(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.useModules(),l.emit("_swiper"),l.params.init&&l.init(),l}var a=e.prototype;return a.enable=function(){var e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))},a.disable=function(){var e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))},a.setProgress=function(e,t){var a=this;e=Math.min(Math.max(e,0),1);var i=a.minTranslate(),s=(a.maxTranslate()-i)*e+i;a.translateTo(s,void 0===t?0:t),a.updateActiveIndex(),a.updateSlidesClasses()},a.emitContainerClasses=function(){var e=this;if(e.params._emitClasses&&e.el){var t=e.el.className.split(" ").filter((function(t){return 0===t.indexOf("swiper-container")||0===t.indexOf(e.params.containerModifierClass)}));e.emit("_containerClasses",t.join(" "))}},a.getSlideClasses=function(e){var t=this;return e.className.split(" ").filter((function(e){return 0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)})).join(" ")},a.emitSlidesClasses=function(){var e=this;if(e.params._emitClasses&&e.el){var t=[];e.slides.each((function(a){var i=e.getSlideClasses(a);t.push({slideEl:a,classNames:i}),e.emit("_slideClass",a,i)})),e.emit("_slideClasses",t)}},a.slidesPerViewDynamic=function(){var e=this,t=e.params,a=e.slides,i=e.slidesGrid,s=e.size,r=e.activeIndex,n=1;if(t.centeredSlides){for(var l,o=a[r].swiperSlideSize,d=r+1;ds&&(l=!0));for(var p=r-1;p>=0;p-=1)a[p]&&!l&&(n+=1,(o+=a[p].swiperSlideSize)>s&&(l=!0))}else for(var u=r+1;u1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||i(),a.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function i(){var t=e.rtlTranslate?-1*e.translate:e.translate,a=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(a),e.updateActiveIndex(),e.updateSlidesClasses()}},a.changeDirection=function(e,t){void 0===t&&(t=!0);var a=this,i=a.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(a.$el.removeClass(""+a.params.containerModifierClass+i).addClass(""+a.params.containerModifierClass+e),a.emitContainerClasses(),a.params.direction=e,a.slides.each((function(t){"vertical"===e?t.style.width="":t.style.height=""})),a.emit("changeDirection"),t&&a.update()),a},a.mount=function(e){var t=this;if(t.mounted)return!0;var a=T(e||t.params.el);if(!(e=a[0]))return!1;e.swiper=t;var i=function(){if(e&&e.shadowRoot&&e.shadowRoot.querySelector){var i=T(e.shadowRoot.querySelector("."+t.params.wrapperClass));return i.children=function(e){return a.children(e)},i}return a.children("."+t.params.wrapperClass)}();if(0===i.length&&t.params.createElements){var s=n().createElement("div");i=T(s),s.className=t.params.wrapperClass,a.append(s),a.children("."+t.params.slideClass).each((function(e){i.append(e)}))}return me(t,{$el:a,el:e,$wrapperEl:i,wrapperEl:i[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===a.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===a.css("direction")),wrongRTL:"-webkit-box"===i.css("display")}),!0},a.init=function(e){var t=this;return t.initialized||!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t},a.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var a=this,i=a.params,s=a.$el,r=a.$wrapperEl,n=a.slides;return void 0===a.params||a.destroyed||(a.emit("beforeDestroy"),a.initialized=!1,a.detachEvents(),i.loop&&a.loopDestroy(),t&&(a.removeClasses(),s.removeAttr("style"),r.removeAttr("style"),n&&n.length&&n.removeClass([i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),a.emit("destroy"),Object.keys(a.eventsListeners).forEach((function(e){a.off(e)})),!1!==e&&(a.$el[0].swiper=null,pe(a)),a.destroyed=!0),null},e.extendDefaults=function(e){me(It,e)},e.installModule=function(t){e.prototype.modules||(e.prototype.modules={});var a=t.name||Object.keys(e.prototype.modules).length+"_"+ce();e.prototype.modules[a]=t},e.use=function(t){return Array.isArray(t)?(t.forEach((function(t){return e.installModule(t)})),e):(e.installModule(t),e)},t(e,null,[{key:"extendedDefaults",get:function(){return It}},{key:"defaults",get:function(){return $t}}]),e}();Object.keys(Lt).forEach((function(e){Object.keys(Lt[e]).forEach((function(t){Ot.prototype[t]=Lt[e][t]}))})),Ot.use([ze,Pe]);var At={update:function(e){var t=this,a=t.params,i=a.slidesPerView,s=a.slidesPerGroup,r=a.centeredSlides,n=t.params.virtual,l=n.addSlidesBefore,o=n.addSlidesAfter,d=t.virtual,p=d.from,u=d.to,c=d.slides,h=d.slidesGrid,v=d.renderSlide,f=d.offset;t.updateActiveIndex();var m,g,b,w=t.activeIndex||0;m=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",r?(g=Math.floor(i/2)+s+o,b=Math.floor(i/2)+s+l):(g=i+(s-1)+o,b=s+l);var y=Math.max((w||0)-b,0),E=Math.min((w||0)+g,c.length-1),x=(t.slidesGrid[y]||0)-(t.slidesGrid[0]||0);function T(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(me(t.virtual,{from:y,to:E,offset:x,slidesGrid:t.slidesGrid}),p===y&&u===E&&!e)return t.slidesGrid!==h&&x!==f&&t.slides.css(m,x+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:x,from:y,to:E,slides:function(){for(var e=[],t=y;t<=E;t+=1)e.push(c[t]);return e}()}),void(t.params.virtual.renderExternalUpdate&&T());var C=[],S=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var M=p;M<=u;M+=1)(ME)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+M+'"]').remove();for(var z=0;z=y&&z<=E&&(void 0===u||e?S.push(z):(z>u&&S.push(z),z'+e+"");return s.attr("data-swiper-slide-index")||s.attr("data-swiper-slide-index",t),i.cache&&(a.virtual.cache[t]=s),s},appendSlide:function(e){var t=this;if("object"==typeof e&&"length"in e)for(var a=0;a=0;i-=1)t.virtual.slides.splice(e[i],1),t.params.virtual.cache&&delete t.virtual.cache[e[i]],e[i]0&&0===t.$el.parents("."+t.params.slideActiveClass).length)return;var g=t.$el,b=g[0].clientWidth,w=g[0].clientHeight,y=a.innerWidth,E=a.innerHeight,x=t.$el.offset();s&&(x.left-=t.$el[0].scrollLeft);for(var T=[[x.left,x.top],[x.left+b,x.top],[x.left,x.top+w],[x.left+b,x.top+w]],C=0;C=0&&S[0]<=y&&S[1]>=0&&S[1]<=E){if(0===S[0]&&0===S[1])continue;m=!0}}if(!m)return}t.isHorizontal()?((p||u||c||h)&&(r.preventDefault?r.preventDefault():r.returnValue=!1),((u||h)&&!s||(p||c)&&s)&&t.slideNext(),((p||c)&&!s||(u||h)&&s)&&t.slidePrev()):((p||u||v||f)&&(r.preventDefault?r.preventDefault():r.returnValue=!1),(u||f)&&t.slideNext(),(p||v)&&t.slidePrev()),t.emit("keyPress",l)}}},enable:function(){var e=this,t=n();e.keyboard.enabled||(T(t).on("keydown",e.keyboard.handle),e.keyboard.enabled=!0)},disable:function(){var e=this,t=n();e.keyboard.enabled&&(T(t).off("keydown",e.keyboard.handle),e.keyboard.enabled=!1)}},Gt={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}},create:function(){ge(this,{keyboard:a({enabled:!1},Nt)})},on:{init:function(e){e.params.keyboard.enabled&&e.keyboard.enable()},destroy:function(e){e.keyboard.enabled&&e.keyboard.disable()}}};function Bt(){var e=n(),t="onwheel",a=t in e;if(!a){var i=e.createElement("div");i.setAttribute(t,"return;"),a="function"==typeof i[t]}return!a&&e.implementation&&e.implementation.hasFeature&&!0!==e.implementation.hasFeature("","")&&(a=e.implementation.hasFeature("Events.wheel","3.0")),a}var Ht={lastScrollTime:ce(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:function(){return o().navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":Bt()?"wheel":"mousewheel"},normalize:function(e){var t=10,a=40,i=800,s=0,r=0,n=0,l=0;return"detail"in e&&(r=e.detail),"wheelDelta"in e&&(r=-e.wheelDelta/120),"wheelDeltaY"in e&&(r=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(s=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(s=r,r=0),n=s*t,l=r*t,"deltaY"in e&&(l=e.deltaY),"deltaX"in e&&(n=e.deltaX),e.shiftKey&&!n&&(n=l,l=0),(n||l)&&e.deltaMode&&(1===e.deltaMode?(n*=a,l*=a):(n*=i,l*=i)),n&&!s&&(s=n<1?-1:1),l&&!r&&(r=l<1?-1:1),{spinX:s,spinY:r,pixelX:n,pixelY:l}},handleMouseEnter:function(){var e=this;e.enabled&&(e.mouseEntered=!0)},handleMouseLeave:function(){var e=this;e.enabled&&(e.mouseEntered=!1)},handle:function(e){var t=e,a=this;if(a.enabled){var i=a.params.mousewheel;a.params.cssMode&&t.preventDefault();var s=a.$el;if("container"!==a.params.mousewheel.eventsTarget&&(s=T(a.params.mousewheel.eventsTarget)),!a.mouseEntered&&!s[0].contains(t.target)&&!i.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var r=0,n=a.rtlTranslate?-1:1,l=Ht.normalize(t);if(i.forceToAxis)if(a.isHorizontal()){if(!(Math.abs(l.pixelX)>Math.abs(l.pixelY)))return!0;r=-l.pixelX*n}else{if(!(Math.abs(l.pixelY)>Math.abs(l.pixelX)))return!0;r=-l.pixelY}else r=Math.abs(l.pixelX)>Math.abs(l.pixelY)?-l.pixelX*n:-l.pixelY;if(0===r)return!0;i.invert&&(r=-r);var o=a.getTranslate()+r*i.sensitivity;if(o>=a.minTranslate()&&(o=a.minTranslate()),o<=a.maxTranslate()&&(o=a.maxTranslate()),(!!a.params.loop||!(o===a.minTranslate()||o===a.maxTranslate()))&&a.params.nested&&t.stopPropagation(),a.params.freeMode){var d={time:ce(),delta:Math.abs(r),direction:Math.sign(r)},p=a.mousewheel.lastEventBeforeSnap,u=p&&d.time=a.minTranslate()&&(c=a.minTranslate()),c<=a.maxTranslate()&&(c=a.maxTranslate()),a.setTransition(0),a.setTranslate(c),a.updateProgress(),a.updateActiveIndex(),a.updateSlidesClasses(),(!h&&a.isBeginning||!v&&a.isEnd)&&a.updateSlidesClasses(),a.params.freeModeSticky){clearTimeout(a.mousewheel.timeout),a.mousewheel.timeout=void 0;var f=a.mousewheel.recentWheelEvents;f.length>=15&&f.shift();var m=f.length?f[f.length-1]:void 0,g=f[0];if(f.push(d),m&&(d.delta>m.delta||d.direction!==m.direction))f.splice(0);else if(f.length>=15&&d.time-g.time<500&&g.delta-d.delta>=1&&d.delta<=6){var b=r>0?.8:.2;a.mousewheel.lastEventBeforeSnap=d,f.splice(0),a.mousewheel.timeout=ue((function(){a.slideToClosest(a.params.speed,!0,void 0,b)}),0)}a.mousewheel.timeout||(a.mousewheel.timeout=ue((function(){var e=.5;a.mousewheel.lastEventBeforeSnap=d,f.splice(0),a.slideToClosest(a.params.speed,!0,void 0,e)}),500))}if(u||a.emit("scroll",t),a.params.autoplay&&a.params.autoplayDisableOnInteraction&&a.autoplay.stop(),c===a.minTranslate()||c===a.maxTranslate())return!0}}else{var w={time:ce(),delta:Math.abs(r),direction:Math.sign(r),raw:e},y=a.mousewheel.recentWheelEvents;y.length>=2&&y.shift();var E=y.length?y[y.length-1]:void 0;if(y.push(w),E?(w.direction!==E.direction||w.delta>E.delta||w.time>E.time+150)&&a.mousewheel.animateSlider(w):a.mousewheel.animateSlider(w),a.mousewheel.releaseScroll(w))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1}},animateSlider:function(e){var t=this,a=o();return!(this.params.mousewheel.thresholdDelta&&e.delta=6&&ce()-t.mousewheel.lastScrollTime<60)&&(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),t.emit("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),t.emit("scroll",e.raw)),t.mousewheel.lastScrollTime=(new a.Date).getTime(),1))},releaseScroll:function(e){var t=this,a=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&a.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&a.releaseOnEdges)return!0;return!1},enable:function(){var e=this,t=Ht.event();if(e.params.cssMode)return e.wrapperEl.removeEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(e.mousewheel.enabled)return!1;var a=e.$el;return"container"!==e.params.mousewheel.eventsTarget&&(a=T(e.params.mousewheel.eventsTarget)),a.on("mouseenter",e.mousewheel.handleMouseEnter),a.on("mouseleave",e.mousewheel.handleMouseLeave),a.on(t,e.mousewheel.handle),e.mousewheel.enabled=!0,!0},disable:function(){var e=this,t=Ht.event();if(e.params.cssMode)return e.wrapperEl.addEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(!e.mousewheel.enabled)return!1;var a=e.$el;return"container"!==e.params.mousewheel.eventsTarget&&(a=T(e.params.mousewheel.eventsTarget)),a.off(t,e.mousewheel.handle),e.mousewheel.enabled=!1,!0}},Xt={toggleEl:function(e,t){e[t?"addClass":"removeClass"](this.params.navigation.disabledClass),e[0]&&"BUTTON"===e[0].tagName&&(e[0].disabled=t)},update:function(){var e=this,t=e.params.navigation,a=e.navigation.toggleEl;if(!e.params.loop){var i=e.navigation,s=i.$nextEl,r=i.$prevEl;r&&r.length>0&&(e.isBeginning?a(r,!0):a(r,!1),e.params.watchOverflow&&e.enabled&&r[e.isLocked?"addClass":"removeClass"](t.lockClass)),s&&s.length>0&&(e.isEnd?a(s,!0):a(s,!1),e.params.watchOverflow&&e.enabled&&s[e.isLocked?"addClass":"removeClass"](t.lockClass))}},onPrevClick:function(e){var t=this;e.preventDefault(),t.isBeginning&&!t.params.loop||t.slidePrev()},onNextClick:function(e){var t=this;e.preventDefault(),t.isEnd&&!t.params.loop||t.slideNext()},init:function(){var e,t,a=this,i=a.params.navigation;a.params.navigation=we(a.$el,a.params.navigation,a.params.createElements,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),(i.nextEl||i.prevEl)&&(i.nextEl&&(e=T(i.nextEl),a.params.uniqueNavElements&&"string"==typeof i.nextEl&&e.length>1&&1===a.$el.find(i.nextEl).length&&(e=a.$el.find(i.nextEl))),i.prevEl&&(t=T(i.prevEl),a.params.uniqueNavElements&&"string"==typeof i.prevEl&&t.length>1&&1===a.$el.find(i.prevEl).length&&(t=a.$el.find(i.prevEl))),e&&e.length>0&&e.on("click",a.navigation.onNextClick),t&&t.length>0&&t.on("click",a.navigation.onPrevClick),me(a.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}),a.enabled||(e&&e.addClass(i.lockClass),t&&t.addClass(i.lockClass)))},destroy:function(){var e=this,t=e.navigation,a=t.$nextEl,i=t.$prevEl;a&&a.length&&(a.off("click",e.navigation.onNextClick),a.removeClass(e.params.navigation.disabledClass)),i&&i.length&&(i.off("click",e.navigation.onPrevClick),i.removeClass(e.params.navigation.disabledClass))}},Yt={update:function(){var e=this,t=e.rtl,a=e.params.pagination;if(a.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var i,s=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,r=e.pagination.$el,n=e.params.loop?Math.ceil((s-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?((i=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup))>s-1-2*e.loopedSlides&&(i-=s-2*e.loopedSlides),i>n-1&&(i-=n),i<0&&"bullets"!==e.params.paginationType&&(i=n+i)):i=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===a.type&&e.pagination.bullets&&e.pagination.bullets.length>0){var l,o,d,p=e.pagination.bullets;if(a.dynamicBullets&&(e.pagination.bulletSize=p.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),r.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(a.dynamicMainBullets+4)+"px"),a.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=i-e.previousIndex,e.pagination.dynamicBulletIndex>a.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=a.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),l=i-e.pagination.dynamicBulletIndex,d=((o=l+(Math.min(p.length,a.dynamicMainBullets)-1))+l)/2),p.removeClass(a.bulletActiveClass+" "+a.bulletActiveClass+"-next "+a.bulletActiveClass+"-next-next "+a.bulletActiveClass+"-prev "+a.bulletActiveClass+"-prev-prev "+a.bulletActiveClass+"-main"),r.length>1)p.each((function(e){var t=T(e),s=t.index();s===i&&t.addClass(a.bulletActiveClass),a.dynamicBullets&&(s>=l&&s<=o&&t.addClass(a.bulletActiveClass+"-main"),s===l&&t.prev().addClass(a.bulletActiveClass+"-prev").prev().addClass(a.bulletActiveClass+"-prev-prev"),s===o&&t.next().addClass(a.bulletActiveClass+"-next").next().addClass(a.bulletActiveClass+"-next-next"))}));else{var u=p.eq(i),c=u.index();if(u.addClass(a.bulletActiveClass),a.dynamicBullets){for(var h=p.eq(l),v=p.eq(o),f=l;f<=o;f+=1)p.eq(f).addClass(a.bulletActiveClass+"-main");if(e.params.loop)if(c>=p.length-a.dynamicMainBullets){for(var m=a.dynamicMainBullets;m>=0;m-=1)p.eq(p.length-m).addClass(a.bulletActiveClass+"-main");p.eq(p.length-a.dynamicMainBullets-1).addClass(a.bulletActiveClass+"-prev")}else h.prev().addClass(a.bulletActiveClass+"-prev").prev().addClass(a.bulletActiveClass+"-prev-prev"),v.next().addClass(a.bulletActiveClass+"-next").next().addClass(a.bulletActiveClass+"-next-next");else h.prev().addClass(a.bulletActiveClass+"-prev").prev().addClass(a.bulletActiveClass+"-prev-prev"),v.next().addClass(a.bulletActiveClass+"-next").next().addClass(a.bulletActiveClass+"-next-next")}}if(a.dynamicBullets){var g=Math.min(p.length,a.dynamicMainBullets+4),b=(e.pagination.bulletSize*g-e.pagination.bulletSize)/2-d*e.pagination.bulletSize,w=t?"right":"left";p.css(e.isHorizontal()?w:"top",b+"px")}}if("fraction"===a.type&&(r.find(be(a.currentClass)).text(a.formatFractionCurrent(i+1)),r.find(be(a.totalClass)).text(a.formatFractionTotal(n))),"progressbar"===a.type){var y;y=a.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";var E=(i+1)/n,x=1,C=1;"horizontal"===y?x=E:C=E,r.find(be(a.progressbarFillClass)).transform("translate3d(0,0,0) scaleX("+x+") scaleY("+C+")").transition(e.params.speed)}"custom"===a.type&&a.renderCustom?(r.html(a.renderCustom(e,i+1,n)),e.emit("paginationRender",r[0])):e.emit("paginationUpdate",r[0]),e.params.watchOverflow&&e.enabled&&r[e.isLocked?"addClass":"removeClass"](a.lockClass)}},render:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var a=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,i=e.pagination.$el,s="";if("bullets"===t.type){var r=e.params.loop?Math.ceil((a-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&!e.params.loop&&r>a&&(r=a);for(var n=0;n";i.html(s),e.pagination.bullets=i.find(be(t.bulletClass))}"fraction"===t.type&&(s=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):' / ',i.html(s)),"progressbar"===t.type&&(s=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'',i.html(s)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var e=this;e.params.pagination=we(e.$el,e.params.pagination,e.params.createElements,{el:"swiper-pagination"});var t=e.params.pagination;if(t.el){var a=T(t.el);0!==a.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&a.length>1&&(a=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&a.addClass(t.clickableClass),a.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(a.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&a.addClass(t.progressbarOppositeClass),t.clickable&&a.on("click",be(t.bulletClass),(function(t){t.preventDefault();var a=T(this).index()*e.params.slidesPerGroup;e.params.loop&&(a+=e.loopedSlides),e.slideTo(a)})),me(e.pagination,{$el:a,el:a[0]}),e.enabled||a.addClass(t.lockClass))}},destroy:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var a=e.pagination.$el;a.removeClass(t.hiddenClass),a.removeClass(t.modifierClass+t.type),e.pagination.bullets&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&a.off("click",be(t.bulletClass))}}},Rt={setTranslate:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,a=e.rtlTranslate,i=e.progress,s=t.dragSize,r=t.trackSize,n=t.$dragEl,l=t.$el,o=e.params.scrollbar,d=s,p=(r-s)*i;a?(p=-p)>0?(d=s-p,p=0):-p+s>r&&(d=r+p):p<0?(d=s+p,p=0):p+s>r&&(d=r-p),e.isHorizontal()?(n.transform("translate3d("+p+"px, 0, 0)"),n[0].style.width=d+"px"):(n.transform("translate3d(0px, "+p+"px, 0)"),n[0].style.height=d+"px"),o.hide&&(clearTimeout(e.scrollbar.timeout),l[0].style.opacity=1,e.scrollbar.timeout=setTimeout((function(){l[0].style.opacity=0,l.transition(400)}),1e3))}},setTransition:function(e){var t=this;t.params.scrollbar.el&&t.scrollbar.el&&t.scrollbar.$dragEl.transition(e)},updateSize:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,a=t.$dragEl,i=t.$el;a[0].style.width="",a[0].style.height="";var s,r=e.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,n=e.size/e.virtualSize,l=n*(r/e.size);s="auto"===e.params.scrollbar.dragSize?r*n:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?a[0].style.width=s+"px":a[0].style.height=s+"px",i[0].style.display=n>=1?"none":"",e.params.scrollbar.hide&&(i[0].style.opacity=0),me(t,{trackSize:r,divider:n,moveDivider:l,dragSize:s}),e.params.watchOverflow&&e.enabled&&t.$el[e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientX:e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientY:e.clientY},setDragPosition:function(e){var t,a=this,i=a.scrollbar,s=a.rtlTranslate,r=i.$el,n=i.dragSize,l=i.trackSize,o=i.dragStartPos;t=(i.getPointerPosition(e)-r.offset()[a.isHorizontal()?"left":"top"]-(null!==o?o:n/2))/(l-n),t=Math.max(Math.min(t,1),0),s&&(t=1-t);var d=a.minTranslate()+(a.maxTranslate()-a.minTranslate())*t;a.updateProgress(d),a.setTranslate(d),a.updateActiveIndex(),a.updateSlidesClasses()},onDragStart:function(e){var t=this,a=t.params.scrollbar,i=t.scrollbar,s=t.$wrapperEl,r=i.$el,n=i.$dragEl;t.scrollbar.isTouched=!0,t.scrollbar.dragStartPos=e.target===n[0]||e.target===n?i.getPointerPosition(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),s.transition(100),n.transition(100),i.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),r.transition(0),a.hide&&r.css("opacity",1),t.params.cssMode&&t.$wrapperEl.css("scroll-snap-type","none"),t.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this,a=t.scrollbar,i=t.$wrapperEl,s=a.$el,r=a.$dragEl;t.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,a.setDragPosition(e),i.transition(0),s.transition(0),r.transition(0),t.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this,a=t.params.scrollbar,i=t.scrollbar,s=t.$wrapperEl,r=i.$el;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,t.params.cssMode&&(t.$wrapperEl.css("scroll-snap-type",""),s.transition("")),a.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=ue((function(){r.css("opacity",0),r.transition(400)}),1e3)),t.emit("scrollbarDragEnd",e),a.snapOnRelease&&t.slideToClosest())},enableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=n(),a=e.scrollbar,i=e.touchEventsTouch,s=e.touchEventsDesktop,r=e.params,l=e.support,o=a.$el[0],d=!(!l.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},p=!(!l.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};o&&(l.touch?(o.addEventListener(i.start,e.scrollbar.onDragStart,d),o.addEventListener(i.move,e.scrollbar.onDragMove,d),o.addEventListener(i.end,e.scrollbar.onDragEnd,p)):(o.addEventListener(s.start,e.scrollbar.onDragStart,d),t.addEventListener(s.move,e.scrollbar.onDragMove,d),t.addEventListener(s.end,e.scrollbar.onDragEnd,p)))}},disableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=n(),a=e.scrollbar,i=e.touchEventsTouch,s=e.touchEventsDesktop,r=e.params,l=e.support,o=a.$el[0],d=!(!l.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},p=!(!l.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};o&&(l.touch?(o.removeEventListener(i.start,e.scrollbar.onDragStart,d),o.removeEventListener(i.move,e.scrollbar.onDragMove,d),o.removeEventListener(i.end,e.scrollbar.onDragEnd,p)):(o.removeEventListener(s.start,e.scrollbar.onDragStart,d),t.removeEventListener(s.move,e.scrollbar.onDragMove,d),t.removeEventListener(s.end,e.scrollbar.onDragEnd,p)))}},init:function(){var e=this,t=e.scrollbar,a=e.$el;e.params.scrollbar=we(a,e.params.scrollbar,e.params.createElements,{el:"swiper-scrollbar"});var i=e.params.scrollbar;if(i.el){var s=T(i.el);e.params.uniqueNavElements&&"string"==typeof i.el&&s.length>1&&1===a.find(i.el).length&&(s=a.find(i.el));var r=s.find("."+e.params.scrollbar.dragClass);0===r.length&&(r=T('
'),s.append(r)),me(t,{$el:s,el:s[0],$dragEl:r,dragEl:r[0]}),i.draggable&&t.enableDraggable(),s&&s[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)}},destroy:function(){this.scrollbar.disableDraggable()}},Wt={setTransform:function(e,t){var a=this,i=a.rtl,s=T(e),r=i?-1:1,n=s.attr("data-swiper-parallax")||"0",l=s.attr("data-swiper-parallax-x"),o=s.attr("data-swiper-parallax-y"),d=s.attr("data-swiper-parallax-scale"),p=s.attr("data-swiper-parallax-opacity");if(l||o?(l=l||"0",o=o||"0"):a.isHorizontal()?(l=n,o="0"):(o=n,l="0"),l=l.indexOf("%")>=0?parseInt(l,10)*t*r+"%":l*t*r+"px",o=o.indexOf("%")>=0?parseInt(o,10)*t+"%":o*t+"px",null!=p){var u=p-(p-1)*(1-Math.abs(t));s[0].style.opacity=u}if(null==d)s.transform("translate3d("+l+", "+o+", 0px)");else{var c=d-(d-1)*(1-Math.abs(t));s.transform("translate3d("+l+", "+o+", 0px) scale("+c+")")}},setTranslate:function(){var e=this,t=e.$el,a=e.slides,i=e.progress,s=e.snapGrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t){e.parallax.setTransform(t,i)})),a.each((function(t,a){var r=t.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(r+=Math.ceil(a/2)-i*(s.length-1)),r=Math.min(Math.max(r,-1),1),T(t).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t){e.parallax.setTransform(t,r)}))}))},setTransition:function(e){void 0===e&&(e=this.params.speed),this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t){var a=T(t),i=parseInt(a.attr("data-swiper-parallax-duration"),10)||e;0===e&&(i=0),a.transition(i)}))}},Vt={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,a=e.targetTouches[0].pageY,i=e.targetTouches[1].pageX,s=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(i-t,2)+Math.pow(s-a,2))},onGestureStart:function(e){var t=this,a=t.support,i=t.params.zoom,s=t.zoom,r=s.gesture;if(s.fakeGestureTouched=!1,s.fakeGestureMoved=!1,!a.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;s.fakeGestureTouched=!0,r.scaleStart=Vt.getDistanceBetweenTouches(e)}r.$slideEl&&r.$slideEl.length||(r.$slideEl=T(e.target).closest("."+t.params.slideClass),0===r.$slideEl.length&&(r.$slideEl=t.slides.eq(t.activeIndex)),r.$imageEl=r.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),r.$imageWrapEl=r.$imageEl.parent("."+i.containerClass),r.maxRatio=r.$imageWrapEl.attr("data-swiper-zoom")||i.maxRatio,0!==r.$imageWrapEl.length)?(r.$imageEl&&r.$imageEl.transition(0),t.zoom.isScaling=!0):r.$imageEl=void 0},onGestureChange:function(e){var t=this,a=t.support,i=t.params.zoom,s=t.zoom,r=s.gesture;if(!a.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;s.fakeGestureMoved=!0,r.scaleMove=Vt.getDistanceBetweenTouches(e)}r.$imageEl&&0!==r.$imageEl.length?(a.gestures?s.scale=e.scale*s.currentScale:s.scale=r.scaleMove/r.scaleStart*s.currentScale,s.scale>r.maxRatio&&(s.scale=r.maxRatio-1+Math.pow(s.scale-r.maxRatio+1,.5)),s.scales.touchesStart.x))return void(s.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(s.minY)===Math.floor(s.startY)&&s.touchesCurrent.ys.touchesStart.y))return void(s.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),s.isMoved=!0,s.currentX=s.touchesCurrent.x-s.touchesStart.x+s.startX,s.currentY=s.touchesCurrent.y-s.touchesStart.y+s.startY,s.currentXs.maxX&&(s.currentX=s.maxX-1+Math.pow(s.currentX-s.maxX+1,.8)),s.currentYs.maxY&&(s.currentY=s.maxY-1+Math.pow(s.currentY-s.maxY+1,.8)),r.prevPositionX||(r.prevPositionX=s.touchesCurrent.x),r.prevPositionY||(r.prevPositionY=s.touchesCurrent.y),r.prevTime||(r.prevTime=Date.now()),r.x=(s.touchesCurrent.x-r.prevPositionX)/(Date.now()-r.prevTime)/2,r.y=(s.touchesCurrent.y-r.prevPositionY)/(Date.now()-r.prevTime)/2,Math.abs(s.touchesCurrent.x-r.prevPositionX)<2&&(r.x=0),Math.abs(s.touchesCurrent.y-r.prevPositionY)<2&&(r.y=0),r.prevPositionX=s.touchesCurrent.x,r.prevPositionY=s.touchesCurrent.y,r.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d("+s.currentX+"px, "+s.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,a=e.image,i=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!a.isTouched||!a.isMoved)return a.isTouched=!1,void(a.isMoved=!1);a.isTouched=!1,a.isMoved=!1;var s=300,r=300,n=i.x*s,l=a.currentX+n,o=i.y*r,d=a.currentY+o;0!==i.x&&(s=Math.abs((l-a.currentX)/i.x)),0!==i.y&&(r=Math.abs((d-a.currentY)/i.y));var p=Math.max(s,r);a.currentX=l,a.currentY=d;var u=a.width*e.scale,c=a.height*e.scale;a.minX=Math.min(t.slideWidth/2-u/2,0),a.maxX=-a.minX,a.minY=Math.min(t.slideHeight/2-c/2,0),a.maxY=-a.minY,a.currentX=Math.max(Math.min(a.currentX,a.maxX),a.minX),a.currentY=Math.max(Math.min(a.currentY,a.maxY),a.minY),t.$imageWrapEl.transition(p).transform("translate3d("+a.currentX+"px, "+a.currentY+"px,0)")}},onTransitionEnd:function(){var e=this,t=e.zoom,a=t.gesture;a.$slideEl&&e.previousIndex!==e.activeIndex&&(a.$imageEl&&a.$imageEl.transform("translate3d(0,0,0) scale(1)"),a.$imageWrapEl&&a.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,t.currentScale=1,a.$slideEl=void 0,a.$imageEl=void 0,a.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,a,i,s,r,n,l,d,p,u,c,h,v,f,m,g,b=this,w=o(),y=b.zoom,E=b.params.zoom,x=y.gesture,T=y.image;x.$slideEl||(b.params.virtual&&b.params.virtual.enabled&&b.virtual?x.$slideEl=b.$wrapperEl.children("."+b.params.slideActiveClass):x.$slideEl=b.slides.eq(b.activeIndex),x.$imageEl=x.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),x.$imageWrapEl=x.$imageEl.parent("."+E.containerClass)),x.$imageEl&&0!==x.$imageEl.length&&x.$imageWrapEl&&0!==x.$imageWrapEl.length&&(x.$slideEl.addClass(""+E.zoomedSlideClass),void 0===T.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,a="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=T.touchesStart.x,a=T.touchesStart.y),y.scale=x.$imageWrapEl.attr("data-swiper-zoom")||E.maxRatio,y.currentScale=x.$imageWrapEl.attr("data-swiper-zoom")||E.maxRatio,e?(m=x.$slideEl[0].offsetWidth,g=x.$slideEl[0].offsetHeight,i=x.$slideEl.offset().left+w.scrollX+m/2-t,s=x.$slideEl.offset().top+w.scrollY+g/2-a,l=x.$imageEl[0].offsetWidth,d=x.$imageEl[0].offsetHeight,p=l*y.scale,u=d*y.scale,v=-(c=Math.min(m/2-p/2,0)),f=-(h=Math.min(g/2-u/2,0)),(r=i*y.scale)v&&(r=v),(n=s*y.scale)f&&(n=f)):(r=0,n=0),x.$imageWrapEl.transition(300).transform("translate3d("+r+"px, "+n+"px,0)"),x.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+y.scale+")"))},out:function(){var e=this,t=e.zoom,a=e.params.zoom,i=t.gesture;i.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?i.$slideEl=e.$wrapperEl.children("."+e.params.slideActiveClass):i.$slideEl=e.slides.eq(e.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),i.$imageWrapEl=i.$imageEl.parent("."+a.containerClass)),i.$imageEl&&0!==i.$imageEl.length&&i.$imageWrapEl&&0!==i.$imageWrapEl.length&&(t.scale=1,t.currentScale=1,i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),i.$slideEl.removeClass(""+a.zoomedSlideClass),i.$slideEl=void 0)},toggleGestures:function(e){var t=this,a=t.zoom,i=a.slideSelector,s=a.passiveListener;t.$wrapperEl[e]("gesturestart",i,a.onGestureStart,s),t.$wrapperEl[e]("gesturechange",i,a.onGestureChange,s),t.$wrapperEl[e]("gestureend",i,a.onGestureEnd,s)},enableGestures:function(){this.zoom.gesturesEnabled||(this.zoom.gesturesEnabled=!0,this.zoom.toggleGestures("on"))},disableGestures:function(){this.zoom.gesturesEnabled&&(this.zoom.gesturesEnabled=!1,this.zoom.toggleGestures("off"))},enable:function(){var e=this,t=e.support,a=e.zoom;if(!a.enabled){a.enabled=!0;var i=!("touchstart"!==e.touchEvents.start||!t.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},s=!t.passiveListener||{passive:!1,capture:!0},r="."+e.params.slideClass;e.zoom.passiveListener=i,e.zoom.slideSelector=r,t.gestures?(e.$wrapperEl.on(e.touchEvents.start,e.zoom.enableGestures,i),e.$wrapperEl.on(e.touchEvents.end,e.zoom.disableGestures,i)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,r,a.onGestureStart,i),e.$wrapperEl.on(e.touchEvents.move,r,a.onGestureChange,s),e.$wrapperEl.on(e.touchEvents.end,r,a.onGestureEnd,i),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,r,a.onGestureEnd,i)),e.$wrapperEl.on(e.touchEvents.move,"."+e.params.zoom.containerClass,a.onTouchMove,s)}},disable:function(){var e=this,t=e.zoom;if(t.enabled){var a=e.support;e.zoom.enabled=!1;var i=!("touchstart"!==e.touchEvents.start||!a.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},s=!a.passiveListener||{passive:!1,capture:!0},r="."+e.params.slideClass;a.gestures?(e.$wrapperEl.off(e.touchEvents.start,e.zoom.enableGestures,i),e.$wrapperEl.off(e.touchEvents.end,e.zoom.disableGestures,i)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,r,t.onGestureStart,i),e.$wrapperEl.off(e.touchEvents.move,r,t.onGestureChange,s),e.$wrapperEl.off(e.touchEvents.end,r,t.onGestureEnd,i),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,r,t.onGestureEnd,i)),e.$wrapperEl.off(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove,s)}}},Ft={loadInSlide:function(e,t){void 0===t&&(t=!0);var a=this,i=a.params.lazy;if(void 0!==e&&0!==a.slides.length){var s=a.virtual&&a.params.virtual.enabled?a.$wrapperEl.children("."+a.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):a.slides.eq(e),r=s.find("."+i.elementClass+":not(."+i.loadedClass+"):not(."+i.loadingClass+")");!s.hasClass(i.elementClass)||s.hasClass(i.loadedClass)||s.hasClass(i.loadingClass)||r.push(s[0]),0!==r.length&&r.each((function(e){var r=T(e);r.addClass(i.loadingClass);var n=r.attr("data-background"),l=r.attr("data-src"),o=r.attr("data-srcset"),d=r.attr("data-sizes"),p=r.parent("picture");a.loadImage(r[0],l||n,o,d,!1,(function(){if(null!=a&&a&&(!a||a.params)&&!a.destroyed){if(n?(r.css("background-image",'url("'+n+'")'),r.removeAttr("data-background")):(o&&(r.attr("srcset",o),r.removeAttr("data-srcset")),d&&(r.attr("sizes",d),r.removeAttr("data-sizes")),p.length&&p.children("source").each((function(e){var t=T(e);t.attr("data-srcset")&&(t.attr("srcset",t.attr("data-srcset")),t.removeAttr("data-srcset"))})),l&&(r.attr("src",l),r.removeAttr("data-src"))),r.addClass(i.loadedClass).removeClass(i.loadingClass),s.find("."+i.preloaderClass).remove(),a.params.loop&&t){var e=s.attr("data-swiper-slide-index");if(s.hasClass(a.params.slideDuplicateClass)){var u=a.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+a.params.slideDuplicateClass+")");a.lazy.loadInSlide(u.index(),!1)}else{var c=a.$wrapperEl.children("."+a.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');a.lazy.loadInSlide(c.index(),!1)}}a.emit("lazyImageReady",s[0],r[0]),a.params.autoHeight&&a.updateAutoHeight()}})),a.emit("lazyImageLoad",s[0],r[0])}))}},load:function(){var e=this,t=e.$wrapperEl,a=e.params,i=e.slides,s=e.activeIndex,r=e.virtual&&a.virtual.enabled,n=a.lazy,l=a.slidesPerView;function o(e){if(r){if(t.children("."+a.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else if(i[e])return!0;return!1}function d(e){return r?T(e).attr("data-swiper-slide-index"):T(e).index()}if("auto"===l&&(l=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+a.slideVisibleClass).each((function(t){var a=r?T(t).attr("data-swiper-slide-index"):T(t).index();e.lazy.loadInSlide(a)}));else if(l>1)for(var p=s;p1||n.loadPrevNextAmount&&n.loadPrevNextAmount>1){for(var u=n.loadPrevNextAmount,c=l,h=Math.min(s+c+Math.max(u,c),i.length),v=Math.max(s-Math.max(c,u),0),f=s+l;f0&&e.lazy.loadInSlide(d(g));var b=t.children("."+a.slidePrevClass);b.length>0&&e.lazy.loadInSlide(d(b))}},checkInViewOnLoad:function(){var e=o(),t=this;if(t&&!t.destroyed){var a=t.params.lazy.scrollingElement?T(t.params.lazy.scrollingElement):T(e),i=a[0]===e,s=i?e.innerWidth:a[0].offsetWidth,r=i?e.innerHeight:a[0].offsetHeight,n=t.$el.offset(),l=!1;t.rtlTranslate&&(n.left-=t.$el[0].scrollLeft);for(var d=[[n.left,n.top],[n.left+t.width,n.top],[n.left,n.top+t.height],[n.left+t.width,n.top+t.height]],p=0;p=0&&u[0]<=s&&u[1]>=0&&u[1]<=r){if(0===u[0]&&0===u[1])continue;l=!0}}var c=!("touchstart"!==t.touchEvents.start||!t.support.passiveListener||!t.params.passiveListeners)&&{passive:!0,capture:!1};l?(t.lazy.load(),a.off("scroll",t.lazy.checkInViewOnLoad,c)):t.lazy.scrollHandlerAttached||(t.lazy.scrollHandlerAttached=!0,a.on("scroll",t.lazy.checkInViewOnLoad,c))}}},_t={LinearSpline:function(e,t){var a,i,s,r,n,l=function(e,t){for(i=-1,a=e.length;a-i>1;)e[s=a+i>>1]<=t?i=s:a=s;return a};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(n=l(this.x,e),r=n-1,(e-this.x[r])*(this.y[n]-this.y[r])/(this.x[n]-this.x[r])+this.y[r]):0},this},getInterpolateFunction:function(e){var t=this;t.controller.spline||(t.controller.spline=t.params.loop?new _t.LinearSpline(t.slidesGrid,e.slidesGrid):new _t.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate:function(e,t){var a,i,s=this,r=s.controller.control,n=s.constructor;function l(e){var t=s.rtlTranslate?-s.translate:s.translate;"slide"===s.params.controller.by&&(s.controller.getInterpolateFunction(e),i=-s.controller.spline.interpolate(-t)),i&&"container"!==s.params.controller.by||(a=(e.maxTranslate()-e.minTranslate())/(s.maxTranslate()-s.minTranslate()),i=(t-s.minTranslate())*a+e.minTranslate()),s.params.controller.inverse&&(i=e.maxTranslate()-i),e.updateProgress(i),e.setTranslate(i,s),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(r))for(var o=0;o0&&(e.isBeginning?(e.a11y.disableEl(i),e.a11y.makeElNotFocusable(i)):(e.a11y.enableEl(i),e.a11y.makeElFocusable(i))),a&&a.length>0&&(e.isEnd?(e.a11y.disableEl(a),e.a11y.makeElNotFocusable(a)):(e.a11y.enableEl(a),e.a11y.makeElFocusable(a)))}},updatePagination:function(){var e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((function(a){var i=T(a);e.a11y.makeElFocusable(i),e.params.pagination.renderBullet||(e.a11y.addElRole(i,"button"),e.a11y.addElLabel(i,t.paginationBulletMessage.replace(/\{\{index\}\}/,i.index()+1)))}))},init:function(){var e=this,t=e.params.a11y;e.$el.append(e.a11y.liveRegion);var a=e.$el;t.containerRoleDescriptionMessage&&e.a11y.addElRoleDescription(a,t.containerRoleDescriptionMessage),t.containerMessage&&e.a11y.addElLabel(a,t.containerMessage);var i,s,r=e.$wrapperEl,n=r.attr("id")||"swiper-wrapper-"+e.a11y.getRandomNumber(16),l=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";e.a11y.addElId(r,n),e.a11y.addElLive(r,l),t.itemRoleDescriptionMessage&&e.a11y.addElRoleDescription(T(e.slides),t.itemRoleDescriptionMessage),e.a11y.addElRole(T(e.slides),t.slideRole),e.slides.each((function(a){var i=T(a),s=t.slideLabelMessage.replace(/\{\{index\}\}/,i.index()+1).replace(/\{\{slidesLength\}\}/,e.slides.length);e.a11y.addElLabel(i,s)})),e.navigation&&e.navigation.$nextEl&&(i=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(s=e.navigation.$prevEl),i&&i.length&&(e.a11y.makeElFocusable(i),"BUTTON"!==i[0].tagName&&(e.a11y.addElRole(i,"button"),i.on("keydown",e.a11y.onEnterOrSpaceKey)),e.a11y.addElLabel(i,t.nextSlideMessage),e.a11y.addElControls(i,n)),s&&s.length&&(e.a11y.makeElFocusable(s),"BUTTON"!==s[0].tagName&&(e.a11y.addElRole(s,"button"),s.on("keydown",e.a11y.onEnterOrSpaceKey)),e.a11y.addElLabel(s,t.prevSlideMessage),e.a11y.addElControls(s,n)),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.on("keydown",be(e.params.pagination.bulletClass),e.a11y.onEnterOrSpaceKey)},destroy:function(){var e,t,a=this;a.a11y.liveRegion&&a.a11y.liveRegion.length>0&&a.a11y.liveRegion.remove(),a.navigation&&a.navigation.$nextEl&&(e=a.navigation.$nextEl),a.navigation&&a.navigation.$prevEl&&(t=a.navigation.$prevEl),e&&e.off("keydown",a.a11y.onEnterOrSpaceKey),t&&t.off("keydown",a.a11y.onEnterOrSpaceKey),a.pagination&&a.params.pagination.clickable&&a.pagination.bullets&&a.pagination.bullets.length&&a.pagination.$el.off("keydown",be(a.params.pagination.bulletClass),a.a11y.onEnterOrSpaceKey)}},Ut={init:function(){var e=this,t=o();if(e.params.history){if(!t.history||!t.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);var a=e.history;a.initialized=!0,a.paths=Ut.getPathValues(e.params.url),(a.paths.key||a.paths.value)&&(a.scrollToSlide(0,a.paths.value,e.params.runCallbacksOnInit),e.params.history.replaceState||t.addEventListener("popstate",e.history.setHistoryPopState))}},destroy:function(){var e=this,t=o();e.params.history.replaceState||t.removeEventListener("popstate",e.history.setHistoryPopState)},setHistoryPopState:function(){var e=this;e.history.paths=Ut.getPathValues(e.params.url),e.history.scrollToSlide(e.params.speed,e.history.paths.value,!1)},getPathValues:function(e){var t=o(),a=(e?new URL(e):t.location).pathname.slice(1).split("/").filter((function(e){return""!==e})),i=a.length;return{key:a[i-2],value:a[i-1]}},setHistory:function(e,t){var a=this,i=o();if(a.history.initialized&&a.params.history.enabled){var s;s=a.params.url?new URL(a.params.url):i.location;var r=a.slides.eq(t),n=Ut.slugify(r.attr("data-history"));if(a.params.history.root.length>0){var l=a.params.history.root;"/"===l[l.length-1]&&(l=l.slice(0,l.length-1)),n=l+"/"+e+"/"+n}else s.pathname.includes(e)||(n=e+"/"+n);var d=i.history.state;d&&d.value===n||(a.params.history.replaceState?i.history.replaceState({value:n},null,n):i.history.pushState({value:n},null,n))}},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,a){var i=this;if(t)for(var s=0,r=i.slides.length;s'),i.append(e)),e.css({height:r+"px"})):0===(e=a.find(".swiper-cube-shadow")).length&&(e=T('
'),a.append(e)));for(var v=0;v-1&&(h=90*m+90*w,l&&(h=90*-m-90*w)),f.transform(C),p.slideShadows){var S=u?f.find(".swiper-slide-shadow-left"):f.find(".swiper-slide-shadow-top"),M=u?f.find(".swiper-slide-shadow-right"):f.find(".swiper-slide-shadow-bottom");0===S.length&&(S=T('
'),f.append(S)),0===M.length&&(M=T('
'),f.append(M)),S.length&&(S[0].style.opacity=Math.max(-w,0)),M.length&&(M[0].style.opacity=Math.max(w,0))}}if(i.css({"-webkit-transform-origin":"50% 50% -"+o/2+"px","-moz-transform-origin":"50% 50% -"+o/2+"px","-ms-transform-origin":"50% 50% -"+o/2+"px","transform-origin":"50% 50% -"+o/2+"px"}),p.shadow)if(u)e.transform("translate3d(0px, "+(r/2+p.shadowOffset)+"px, "+-r/2+"px) rotateX(90deg) rotateZ(0deg) scale("+p.shadowScale+")");else{var z=Math.abs(h)-90*Math.floor(Math.abs(h)/90),k=1.5-(Math.sin(2*z*Math.PI/360)/2+Math.cos(2*z*Math.PI/360)/2),P=p.shadowScale,$=p.shadowScale/k,L=p.shadowOffset;e.transform("scale3d("+P+", 1, "+$+") translate3d(0px, "+(n/2+L)+"px, "+-n/2/$+"px) rotateX(-90deg)")}var I=d.isSafari||d.isWebView?-o/2:0;i.transform("translate3d(0px,0,"+I+"px) rotateX("+(t.isHorizontal()?0:h)+"deg) rotateY("+(t.isHorizontal()?-h:0)+"deg)")},setTransition:function(e){var t=this,a=t.$el;t.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.cubeEffect.shadow&&!t.isHorizontal()&&a.find(".swiper-cube-shadow").transition(e)}},ea={setTranslate:function(){for(var e=this,t=e.slides,a=e.rtlTranslate,i=0;i'),s.append(p)),0===u.length&&(u=T('
'),s.append(u)),p.length&&(p[0].style.opacity=Math.max(-r,0)),u.length&&(u[0].style.opacity=Math.max(r,0))}s.transform("translate3d("+o+"px, "+d+"px, 0px) rotateX("+l+"deg) rotateY("+n+"deg)")}},setTransition:function(e){var t=this,a=t.slides,i=t.activeIndex,s=t.$wrapperEl;if(a.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){var r=!1;a.eq(i).transitionEnd((function(){if(!r&&t&&!t.destroyed){r=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],a=0;a'),h.append(S)),0===M.length&&(M=T('
'),h.append(M)),S.length&&(S[0].style.opacity=f>0?f:0),M.length&&(M[0].style.opacity=-f>0?-f:0)}}},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},aa={init:function(){var e=this,t=e.params.thumbs;if(e.thumbs.initialized)return!1;e.thumbs.initialized=!0;var a=e.constructor;return t.swiper instanceof a?(e.thumbs.swiper=t.swiper,me(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),me(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):fe(t.swiper)&&(e.thumbs.swiper=new a(me({},t.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),e.thumbs.swiperCreated=!0),e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",e.thumbs.onThumbClick),!0},onThumbClick:function(){var e=this,t=e.thumbs.swiper;if(t){var a=t.clickedIndex,i=t.clickedSlide;if(!(i&&T(i).hasClass(e.params.thumbs.slideThumbActiveClass)||null==a)){var s;if(s=t.params.loop?parseInt(T(t.clickedSlide).attr("data-swiper-slide-index"),10):a,e.params.loop){var r=e.activeIndex;e.slides.eq(r).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,r=e.activeIndex);var n=e.slides.eq(r).prevAll('[data-swiper-slide-index="'+s+'"]').eq(0).index(),l=e.slides.eq(r).nextAll('[data-swiper-slide-index="'+s+'"]').eq(0).index();s=void 0===n?l:void 0===l?n:l-r1?p:o:p-ot.previousIndex?"next":"prev"}else l=(n=t.realIndex)>t.previousIndex?"next":"prev";r&&(n+="next"===l?s:-1*s),a.visibleSlidesIndexes&&a.visibleSlidesIndexes.indexOf(n)<0&&(a.params.centeredSlides?n=n>o?n-Math.floor(i/2)+1:n+Math.floor(i/2)-1:n>o&&a.params.slidesPerGroup,a.slideTo(n,e?0:void 0))}var u=1,c=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(u=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(u=1),u=Math.floor(u),a.slides.removeClass(c),a.params.loop||a.params.virtual&&a.params.virtual.enabled)for(var h=0;h0&&!T(a).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&a===e.navigation.nextEl||e.navigation.prevEl&&a===e.navigation.prevEl))return;!0===e.pagination.$el.hasClass(e.params.pagination.hiddenClass)?e.emit("paginationShow"):e.emit("paginationHide"),e.pagination.$el.toggleClass(e.params.pagination.hiddenClass)}}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){ge(this,{scrollbar:a({isTouched:!1,timeout:null,dragTimeout:null},Rt)})},on:{init:function(e){e.scrollbar.init(),e.scrollbar.updateSize(),e.scrollbar.setTranslate()},update:function(e){e.scrollbar.updateSize()},resize:function(e){e.scrollbar.updateSize()},observerUpdate:function(e){e.scrollbar.updateSize()},setTranslate:function(e){e.scrollbar.setTranslate()},setTransition:function(e,t){e.scrollbar.setTransition(t)},"enable disable":function(e){var t=e.scrollbar.$el;t&&t[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)},destroy:function(e){e.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){ge(this,{parallax:a({},Wt)})},on:{beforeInit:function(e){e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},init:function(e){e.params.parallax.enabled&&e.parallax.setTranslate()},setTranslate:function(e){e.params.parallax.enabled&&e.parallax.setTranslate()},setTransition:function(e,t){e.params.parallax.enabled&&e.parallax.setTransition(t)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this;ge(e,{zoom:a({enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}},Vt)});var t=1;Object.defineProperty(e.zoom,"scale",{get:function(){return t},set:function(a){if(t!==a){var i=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,s=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",a,i,s)}t=a}})},on:{init:function(e){e.params.zoom.enabled&&e.zoom.enable()},destroy:function(e){e.zoom.disable()},touchStart:function(e,t){e.zoom.enabled&&e.zoom.onTouchStart(t)},touchEnd:function(e,t){e.zoom.enabled&&e.zoom.onTouchEnd(t)},doubleTap:function(e,t){!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&e.zoom.toggle(t)},transitionEnd:function(e){e.zoom.enabled&&e.params.zoom.enabled&&e.zoom.onTransitionEnd()},slideChange:function(e){e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&e.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){ge(this,{lazy:a({initialImageLoaded:!1},Ft)})},on:{beforeInit:function(e){e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)},init:function(e){e.params.lazy.enabled&&!e.params.loop&&0===e.params.initialSlide&&(e.params.lazy.checkInView?e.lazy.checkInViewOnLoad():e.lazy.load())},scroll:function(e){e.params.freeMode&&!e.params.freeModeSticky&&e.lazy.load()},"scrollbarDragMove resize _freeModeNoMomentumRelease":function(e){e.params.lazy.enabled&&e.lazy.load()},transitionStart:function(e){e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!e.lazy.initialImageLoaded)&&e.lazy.load()},transitionEnd:function(e){e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&e.lazy.load()},slideChange:function(e){e.params.lazy.enabled&&e.params.cssMode&&e.lazy.load()}}},qt,{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group"}},create:function(){var e=this;ge(e,{a11y:a({},jt,{liveRegion:T('')})})},on:{afterInit:function(e){e.params.a11y.enabled&&(e.a11y.init(),e.a11y.updateNavigation())},toEdge:function(e){e.params.a11y.enabled&&e.a11y.updateNavigation()},fromEdge:function(e){e.params.a11y.enabled&&e.a11y.updateNavigation()},paginationUpdate:function(e){e.params.a11y.enabled&&e.a11y.updatePagination()},destroy:function(e){e.params.a11y.enabled&&e.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,root:"",replaceState:!1,key:"slides"}},create:function(){ge(this,{history:a({},Ut)})},on:{init:function(e){e.params.history.enabled&&e.history.init()},destroy:function(e){e.params.history.enabled&&e.history.destroy()},"transitionEnd _freeModeNoMomentumRelease":function(e){e.history.initialized&&e.history.setHistory(e.params.history.key,e.activeIndex)},slideChange:function(e){e.history.initialized&&e.params.cssMode&&e.history.setHistory(e.params.history.key,e.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){ge(this,{hashNavigation:a({initialized:!1},Kt)})},on:{init:function(e){e.params.hashNavigation.enabled&&e.hashNavigation.init()},destroy:function(e){e.params.hashNavigation.enabled&&e.hashNavigation.destroy()},"transitionEnd _freeModeNoMomentumRelease":function(e){e.hashNavigation.initialized&&e.hashNavigation.setHash()},slideChange:function(e){e.hashNavigation.initialized&&e.params.cssMode&&e.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}},create:function(){ge(this,{autoplay:a({},Jt,{running:!1,paused:!1})})},on:{init:function(e){e.params.autoplay.enabled&&(e.autoplay.start(),n().addEventListener("visibilitychange",e.autoplay.onVisibilityChange),e.autoplay.attachMouseEvents())},beforeTransitionStart:function(e,t,a){e.autoplay.running&&(a||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(t):e.autoplay.stop())},sliderFirstMove:function(e){e.autoplay.running&&(e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause())},touchEnd:function(e){e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&e.autoplay.run()},destroy:function(e){e.autoplay.detachMouseEvents(),e.autoplay.running&&e.autoplay.stop(),n().removeEventListener("visibilitychange",e.autoplay.onVisibilityChange)}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){ge(this,{fadeEffect:a({},Zt)})},on:{beforeInit:function(e){if("fade"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"fade");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};me(e.params,t),me(e.originalParams,t)}},setTranslate:function(e){"fade"===e.params.effect&&e.fadeEffect.setTranslate()},setTransition:function(e,t){"fade"===e.params.effect&&e.fadeEffect.setTransition(t)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){ge(this,{cubeEffect:a({},Qt)})},on:{beforeInit:function(e){if("cube"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"cube"),e.classNames.push(e.params.containerModifierClass+"3d");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};me(e.params,t),me(e.originalParams,t)}},setTranslate:function(e){"cube"===e.params.effect&&e.cubeEffect.setTranslate()},setTransition:function(e,t){"cube"===e.params.effect&&e.cubeEffect.setTransition(t)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){ge(this,{flipEffect:a({},ea)})},on:{beforeInit:function(e){if("flip"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"flip"),e.classNames.push(e.params.containerModifierClass+"3d");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};me(e.params,t),me(e.originalParams,t)}},setTranslate:function(e){"flip"===e.params.effect&&e.flipEffect.setTranslate()},setTransition:function(e,t){"flip"===e.params.effect&&e.flipEffect.setTransition(t)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}},create:function(){ge(this,{coverflowEffect:a({},ta)})},on:{beforeInit:function(e){"coverflow"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"coverflow"),e.classNames.push(e.params.containerModifierClass+"3d"),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},setTranslate:function(e){"coverflow"===e.params.effect&&e.coverflowEffect.setTranslate()},setTransition:function(e,t){"coverflow"===e.params.effect&&e.coverflowEffect.setTransition(t)}}},{name:"thumbs",params:{thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){ge(this,{thumbs:a({swiper:null,initialized:!1},aa)})},on:{beforeInit:function(e){var t=e.params.thumbs;t&&t.swiper&&(e.thumbs.init(),e.thumbs.update(!0))},slideChange:function(e){e.thumbs.swiper&&e.thumbs.update()},update:function(e){e.thumbs.swiper&&e.thumbs.update()},resize:function(e){e.thumbs.swiper&&e.thumbs.update()},observerUpdate:function(e){e.thumbs.swiper&&e.thumbs.update()},setTransition:function(e,t){var a=e.thumbs.swiper;a&&a.setTransition(t)},beforeDestroy:function(e){var t=e.thumbs.swiper;t&&e.thumbs.swiperCreated&&t&&t.destroy()}}}];return Ot.use(ia),Ot}()}}]); \ No newline at end of file diff --git a/wp-content/plugins/jetpack/_inc/blocks/92.js b/wp-content/plugins/jetpack/_inc/blocks/92.js new file mode 100644 index 000000000..e9c709957 --- /dev/null +++ b/wp-content/plugins/jetpack/_inc/blocks/92.js @@ -0,0 +1 @@ +(self.webpackChunkJetpack=self.webpackChunkJetpack||[]).push([[92],{81449:(e,t,a)=>{"use strict";a.r(t)},83758:function(e){e.exports=function(){"use strict";function e(e,t){for(var a=0;a0&&s(e[a],t[a])}))}var r={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function n(){var e="undefined"!=typeof document?document:{};return s(e,r),e}var l={document:r,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function o(){var e="undefined"!=typeof window?window:{};return s(e,l),e}function d(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function h(e,t,a){return h=c()?Reflect.construct:function(e,t,a){var i=[null];i.push.apply(i,t);var s=new(Function.bind.apply(e,i));return a&&u(s,a.prototype),s},h.apply(null,arguments)}function v(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function f(e){var t="function"==typeof Map?new Map:void 0;return f=function(e){if(null===e||!v(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,a)}function a(){return h(e,arguments,p(this).constructor)}return a.prototype=Object.create(e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),u(a,e)},f(e)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){var t=e.__proto__;Object.defineProperty(e,"__proto__",{get:function(){return t},set:function(e){t.__proto__=e}})}var b=function(e){function t(t){var a;return g(m(a=e.call.apply(e,[this].concat(t))||this)),a}return d(t,e),t}(f(Array));function w(e){void 0===e&&(e=[]);var t=[];return e.forEach((function(e){Array.isArray(e)?t.push.apply(t,w(e)):t.push(e)})),t}function y(e,t){return Array.prototype.filter.call(e,t)}function E(e){for(var t=[],a=0;a=0&&r.indexOf(">")>=0){var l="div";0===r.indexOf("0})).length>0}function k(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var a=0;a=0;h-=1){var v=c[h];r&&v.listener===r||r&&v.listener&&v.listener.dom7proxy&&v.listener.dom7proxy===r?(u.removeEventListener(d,v.proxyListener,n),c.splice(h,1)):r||(u.removeEventListener(d,v.proxyListener,n),c.splice(h,1))}}return this}function A(){for(var e=o(),t=arguments.length,a=new Array(t),i=0;i0})),p.dispatchEvent(u),p.dom7EventData=[],delete p.dom7EventData}}return this}function D(e){var t=this;function a(i){i.target===this&&(e.call(this,i),t.off("transitionend",a))}return e&&t.on("transitionend",a),this}function N(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function G(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function B(){if(this.length>0){var e=o(),t=n(),a=this[0],i=a.getBoundingClientRect(),s=t.body,r=a.clientTop||s.clientTop||0,l=a.clientLeft||s.clientLeft||0,d=a===e?e.scrollY:a.scrollTop,p=a===e?e.scrollX:a.scrollLeft;return{top:i.top+d-r,left:i.left+p-l}}return null}function H(){var e=o();return this[0]?e.getComputedStyle(this[0],null):{}}function X(e,t){var a,i=o();if(1===arguments.length){if("string"!=typeof e){for(a=0;at-1)return T([]);if(e<0){var a=t+e;return T(a<0?[]:[this[a]])}return T([this[e]])}function j(){for(var e,t=n(),a=0;a=0;a-=1)this[t].insertBefore(s.childNodes[a],this[t].childNodes[0])}else if(e instanceof b)for(a=0;a0?e?this[0].nextElementSibling&&T(this[0].nextElementSibling).is(e)?T([this[0].nextElementSibling]):T([]):this[0].nextElementSibling?T([this[0].nextElementSibling]):T([]):T([])}function J(e){var t=[],a=this[0];if(!a)return T([]);for(;a.nextElementSibling;){var i=a.nextElementSibling;e?T(i).is(e)&&t.push(i):t.push(i),a=i}return T(t)}function Z(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&T(t.previousElementSibling).is(e)?T([t.previousElementSibling]):T([]):t.previousElementSibling?T([t.previousElementSibling]):T([])}return T([])}function Q(e){var t=[],a=this[0];if(!a)return T([]);for(;a.previousElementSibling;){var i=a.previousElementSibling;e?T(i).is(e)&&t.push(i):t.push(i),a=i}return T(t)}function ee(e){for(var t=[],a=0;a6&&(i=i.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),s=new r.WebKitCSSMatrix("none"===i?"":i)):a=(s=n.MozTransform||n.OTransform||n.MsTransform||n.msTransform||n.transform||n.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(i=r.WebKitCSSMatrix?s.m41:16===a.length?parseFloat(a[12]):parseFloat(a[4])),"y"===t&&(i=r.WebKitCSSMatrix?s.m42:16===a.length?parseFloat(a[13]):parseFloat(a[5])),i||0}function fe(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function me(){for(var e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"],a=1;a=0,observer:"MutationObserver"in e||"WebkitMutationObserver"in e,passiveListener:function(){var t=!1;try{var a=Object.defineProperty({},"passive",{get:function(){t=!0}});e.addEventListener("testPassiveListener",null,a)}catch(e){}return t}(),gestures:"ongesturestart"in e}}function Ee(){return ne||(ne=ye()),ne}function xe(e){var t=(void 0===e?{}:e).userAgent,a=Ee(),i=o(),s=i.navigator.platform,r=t||i.navigator.userAgent,n={ios:!1,android:!1},l=i.screen.width,d=i.screen.height,p=r.match(/(Android);?[\s\/]+([\d.]+)?/),u=r.match(/(iPad).*OS\s([\d_]+)/),c=r.match(/(iPod)(.*OS\s([\d_]+))?/),h=!u&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),v="Win32"===s,f="MacIntel"===s,m=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!u&&f&&a.touch&&m.indexOf(l+"x"+d)>=0&&((u=r.match(/(Version)\/([\d.]+)/))||(u=[0,1,"13_0_0"]),f=!1),p&&!v&&(n.os="android",n.android=!0),(u||h||c)&&(n.os="ios",n.ios=!0),n}function Te(e){return void 0===e&&(e={}),le||(le=xe(e)),le}function Ce(){var e=o();function t(){var t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}return{isEdge:!!e.navigator.userAgent.match(/Edge/g),isSafari:t(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}function Se(){return oe||(oe=Ce()),oe}Object.keys(de).forEach((function(e){Object.defineProperty(T.fn,e,{value:de[e],writable:!0})}));var Me=function(){return void 0!==o().ResizeObserver},ze={name:"resize",create:function(){var e=this;me(e,{resize:{observer:null,createObserver:function(){e&&!e.destroyed&&e.initialized&&(e.resize.observer=new ResizeObserver((function(t){var a=e.width,i=e.height,s=a,r=i;t.forEach((function(t){var a=t.contentBoxSize,i=t.contentRect,n=t.target;n&&n!==e.el||(s=i?i.width:(a[0]||a).inlineSize,r=i?i.height:(a[0]||a).blockSize)})),s===a&&r===i||e.resize.resizeHandler()})),e.resize.observer.observe(e.el))},removeObserver:function(){e.resize.observer&&e.resize.observer.unobserve&&e.el&&(e.resize.observer.unobserve(e.el),e.resize.observer=null)},resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(e){var t=o();e.params.resizeObserver&&Me()?e.resize.createObserver():(t.addEventListener("resize",e.resize.resizeHandler),t.addEventListener("orientationchange",e.resize.orientationChangeHandler))},destroy:function(e){var t=o();e.resize.removeObserver(),t.removeEventListener("resize",e.resize.resizeHandler),t.removeEventListener("orientationchange",e.resize.orientationChangeHandler)}}},ke={attach:function(e,t){void 0===t&&(t={});var a=o(),i=this,s=new(a.MutationObserver||a.WebkitMutationObserver)((function(e){if(1!==e.length){var t=function(){i.emit("observerUpdate",e[0])};a.requestAnimationFrame?a.requestAnimationFrame(t):a.setTimeout(t,0)}else i.emit("observerUpdate",e[0])}));s.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),i.observer.observers.push(s)},init:function(){var e=this;if(e.support.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),a=0;a=0&&t.eventsAnyListeners.splice(a,1),t},off:function(e,t){var a=this;return a.eventsListeners?(e.split(" ").forEach((function(e){void 0===t?a.eventsListeners[e]=[]:a.eventsListeners[e]&&a.eventsListeners[e].forEach((function(i,s){(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&a.eventsListeners[e].splice(s,1)}))})),a):a},emit:function(){var e,t,a,i=this;if(!i.eventsListeners)return i;for(var s=arguments.length,r=new Array(s),n=0;n=0&&(w=parseFloat(w.replace("%",""))/100*r),e.virtualSize=-w,n?p.css({marginLeft:"",marginTop:""}):p.css({marginRight:"",marginBottom:""}),i.slidesPerColumn>1&&(T=Math.floor(u/i.slidesPerColumn)===u/e.params.slidesPerColumn?u:Math.ceil(u/i.slidesPerColumn)*i.slidesPerColumn,"auto"!==i.slidesPerView&&"row"===i.slidesPerColumnFill&&(T=Math.max(T,i.slidesPerView*i.slidesPerColumn)));for(var S,M,z,k=i.slidesPerColumn,P=T/k,$=Math.floor(u/i.slidesPerColumn),L=0;L1){var O=void 0,A=void 0,D=void 0;if("row"===i.slidesPerColumnFill&&i.slidesPerGroup>1){var N=Math.floor(L/(i.slidesPerGroup*i.slidesPerColumn)),G=L-i.slidesPerColumn*i.slidesPerGroup*N,B=0===N?i.slidesPerGroup:Math.min(Math.ceil((u-N*k*i.slidesPerGroup)/k),i.slidesPerGroup);O=(A=G-(D=Math.floor(G/B))*B+N*i.slidesPerGroup)+D*T/k,I.css({"-webkit-box-ordinal-group":O,"-moz-box-ordinal-group":O,"-ms-flex-order":O,"-webkit-order":O,order:O})}else"column"===i.slidesPerColumnFill?(D=L-(A=Math.floor(L/k))*k,(A>$||A===$&&D===k-1)&&(D+=1)>=k&&(D=0,A+=1)):A=L-(D=Math.floor(L/P))*P;I.css(t("margin-top"),0!==D&&i.spaceBetween&&i.spaceBetween+"px")}if("none"!==I.css("display")){if("auto"===i.slidesPerView){var H=getComputedStyle(I[0]),X=I[0].style.transform,Y=I[0].style.webkitTransform;if(X&&(I[0].style.transform="none"),Y&&(I[0].style.webkitTransform="none"),i.roundLengths)C=e.isHorizontal()?I.outerWidth(!0):I.outerHeight(!0);else{var R=a(H,"width"),W=a(H,"padding-left"),V=a(H,"padding-right"),F=a(H,"margin-left"),_=a(H,"margin-right"),q=H.getPropertyValue("box-sizing");if(q&&"border-box"===q)C=R+F+_;else{var j=I[0],U=j.clientWidth;C=R+W+V+F+_+(j.offsetWidth-U)}}X&&(I[0].style.transform=X),Y&&(I[0].style.webkitTransform=Y),i.roundLengths&&(C=Math.floor(C))}else C=(r-(i.slidesPerView-1)*w)/i.slidesPerView,i.roundLengths&&(C=Math.floor(C)),p[L]&&(p[L].style[t("width")]=C+"px");p[L]&&(p[L].swiperSlideSize=C),v.push(C),i.centeredSlides?(y=y+C/2+E/2+w,0===E&&0!==L&&(y=y-r/2-w),0===L&&(y=y-r/2-w),Math.abs(y)<.001&&(y=0),i.roundLengths&&(y=Math.floor(y)),x%i.slidesPerGroup==0&&c.push(y),h.push(y)):(i.roundLengths&&(y=Math.floor(y)),(x-Math.min(e.params.slidesPerGroupSkip,x))%e.params.slidesPerGroup==0&&c.push(y),h.push(y),y=y+C+w),e.virtualSize+=C+w,E=C,x+=1}}if(e.virtualSize=Math.max(e.virtualSize,r)+m,n&&l&&("slide"===i.effect||"coverflow"===i.effect)&&s.css({width:e.virtualSize+i.spaceBetween+"px"}),i.setWrapperSize&&s.css(((M={})[t("width")]=e.virtualSize+i.spaceBetween+"px",M)),i.slidesPerColumn>1&&(e.virtualSize=(C+i.spaceBetween)*T,e.virtualSize=Math.ceil(e.virtualSize/i.slidesPerColumn)-i.spaceBetween,s.css(((z={})[t("width")]=e.virtualSize+i.spaceBetween+"px",z)),i.centeredSlides)){S=[];for(var K=0;K1&&c.push(e.virtualSize-r)}if(0===c.length&&(c=[0]),0!==i.spaceBetween){var ee,te=e.isHorizontal()&&n?"marginLeft":t("marginRight");p.filter((function(e,t){return!i.cssMode||t!==p.length-1})).css(((ee={})[te]=w+"px",ee))}if(i.centeredSlides&&i.centeredSlidesBounds){var ae=0;v.forEach((function(e){ae+=e+(i.spaceBetween?i.spaceBetween:0)}));var ie=(ae-=i.spaceBetween)-r;c=c.map((function(e){return e<0?-f:e>ie?ie+m:e}))}if(i.centerInsufficientSlides){var se=0;if(v.forEach((function(e){se+=e+(i.spaceBetween?i.spaceBetween:0)})),(se-=i.spaceBetween)1)if(a.params.centeredSlides)a.visibleSlides.each((function(e){i.push(e)}));else for(t=0;ta.slides.length&&!s)break;i.push(n(l))}else i.push(n(a.activeIndex));for(t=0;tr?o:r}r&&a.$wrapperEl.css("height",r+"px")}function De(){for(var e=this,t=e.slides,a=0;a=0&&d1&&p<=t.size||d<=0&&p>=t.size)&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(n),i.eq(n).addClass(a.slideVisibleClass))}l.progress=s?-o:o}t.visibleSlides=T(t.visibleSlides)}}function Ge(e){var t=this;if(void 0===e){var a=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*a||0}var i=t.params,s=t.maxTranslate()-t.minTranslate(),r=t.progress,n=t.isBeginning,l=t.isEnd,o=n,d=l;0===s?(r=0,n=!0,l=!0):(n=(r=(e-t.minTranslate())/s)<=0,l=r>=1),me(t,{progress:r,isBeginning:n,isEnd:l}),(i.watchSlidesProgress||i.watchSlidesVisibility||i.centeredSlides&&i.autoHeight)&&t.updateSlidesProgress(e),n&&!o&&t.emit("reachBeginning toEdge"),l&&!d&&t.emit("reachEnd toEdge"),(o&&!n||d&&!l)&&t.emit("fromEdge"),t.emit("progress",r)}function Be(){var e,t=this,a=t.slides,i=t.params,s=t.$wrapperEl,r=t.activeIndex,n=t.realIndex,l=t.virtual&&i.virtual.enabled;a.removeClass(i.slideActiveClass+" "+i.slideNextClass+" "+i.slidePrevClass+" "+i.slideDuplicateActiveClass+" "+i.slideDuplicateNextClass+" "+i.slideDuplicatePrevClass),(e=l?t.$wrapperEl.find("."+i.slideClass+'[data-swiper-slide-index="'+r+'"]'):a.eq(r)).addClass(i.slideActiveClass),i.loop&&(e.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+n+'"]').addClass(i.slideDuplicateActiveClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+n+'"]').addClass(i.slideDuplicateActiveClass));var o=e.nextAll("."+i.slideClass).eq(0).addClass(i.slideNextClass);i.loop&&0===o.length&&(o=a.eq(0)).addClass(i.slideNextClass);var d=e.prevAll("."+i.slideClass).eq(0).addClass(i.slidePrevClass);i.loop&&0===d.length&&(d=a.eq(-1)).addClass(i.slidePrevClass),i.loop&&(o.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+o.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+o.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass),d.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass)),t.emitSlidesClasses()}function He(e){var t,a=this,i=a.rtlTranslate?a.translate:-a.translate,s=a.slidesGrid,r=a.snapGrid,n=a.params,l=a.activeIndex,o=a.realIndex,d=a.snapIndex,p=e;if(void 0===p){for(var u=0;u=s[u]&&i=s[u]&&i=s[u]&&(p=u);n.normalizeSlideIndex&&(p<0||void 0===p)&&(p=0)}if(r.indexOf(i)>=0)t=r.indexOf(i);else{var c=Math.min(n.slidesPerGroupSkip,p);t=c+Math.floor((p-c)/n.slidesPerGroup)}if(t>=r.length&&(t=r.length-1),p!==l){var h=parseInt(a.slides.eq(p).attr("data-swiper-slide-index")||p,10);me(a,{snapIndex:t,realIndex:h,previousIndex:l,activeIndex:p}),a.emit("activeIndexChange"),a.emit("snapIndexChange"),o!==h&&a.emit("realIndexChange"),(a.initialized||a.params.runCallbacksOnInit)&&a.emit("slideChange")}else t!==d&&(a.snapIndex=t,a.emit("snapIndexChange"))}function Xe(e){var t,a=this,i=a.params,s=T(e.target).closest("."+i.slideClass)[0],r=!1;if(s)for(var n=0;nd?d:i&&er?"next":is?"next":i=d.length&&(g=d.length-1),(c||o.initialSlide||0)===(u||0)&&a&&n.emit("beforeSlideChangeStart");var b,w=-d[g];if(n.updateProgress(w),o.normalizeSlideIndex)for(var y=0;y=x&&E=x&&E=x&&(l=y)}if(n.initialized&&l!==c){if(!n.allowSlideNext&&wn.translate&&w>n.maxTranslate()&&(c||0)!==l)return!1}if(b=l>c?"next":l=e&&(h=e)})),void 0!==h&&(c=l.indexOf(h))<0&&(c=i.activeIndex-1),i.slideTo(c,e,t,a)}function Qe(e,t,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this;return i.slideTo(i.activeIndex,e,t,a)}function et(e,t,a,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===i&&(i=.5);var s=this,r=s.activeIndex,n=Math.min(s.params.slidesPerGroupSkip,r),l=n+Math.floor((r-n)/s.params.slidesPerGroup),o=s.rtlTranslate?s.translate:-s.translate;if(o>=s.snapGrid[l]){var d=s.snapGrid[l];o-d>(s.snapGrid[l+1]-d)*i&&(r+=s.params.slidesPerGroup)}else{var p=s.snapGrid[l-1];o-p<=(s.snapGrid[l]-p)*i&&(r-=s.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,s.slidesGrid.length-1),s.slideTo(r,e,t,a)}function tt(){var e,t=this,a=t.params,i=t.$wrapperEl,s="auto"===a.slidesPerView?t.slidesPerViewDynamic():a.slidesPerView,r=t.clickedIndex;if(a.loop){if(t.animating)return;e=parseInt(T(t.clickedSlide).attr("data-swiper-slide-index"),10),a.centeredSlides?rt.slides.length-t.loopedSlides+s/2?(t.loopFix(),r=i.children("."+a.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+a.slideDuplicateClass+")").eq(0).index(),ue((function(){t.slideTo(r)}))):t.slideTo(r):r>t.slides.length-s?(t.loopFix(),r=i.children("."+a.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+a.slideDuplicateClass+")").eq(0).index(),ue((function(){t.slideTo(r)}))):t.slideTo(r)}else t.slideTo(r)}function at(){var e=this,t=n(),a=e.params,i=e.$wrapperEl;i.children("."+a.slideClass+"."+a.slideDuplicateClass).remove();var s=i.children("."+a.slideClass);if(a.loopFillGroupWithBlank){var r=a.slidesPerGroup-s.length%a.slidesPerGroup;if(r!==a.slidesPerGroup){for(var l=0;ls.length&&(e.loopedSlides=s.length);var d=[],p=[];s.each((function(t,a){var i=T(t);a=s.length-e.loopedSlides&&d.push(t),i.attr("data-swiper-slide-index",a)}));for(var u=0;u=0;c-=1)i.prepend(T(d[c].cloneNode(!0)).addClass(a.slideDuplicateClass))}function it(){var e=this;e.emit("beforeLoopFix");var t,a=e.activeIndex,i=e.slides,s=e.loopedSlides,r=e.allowSlidePrev,n=e.allowSlideNext,l=e.snapGrid,o=e.rtlTranslate;e.allowSlidePrev=!0,e.allowSlideNext=!0;var d=-l[a]-e.getTranslate();a=i.length-s&&(t=-i.length+a+s,t+=s,e.slideTo(t,0,!1,!0)&&0!==d&&e.setTranslate((o?-e.translate:e.translate)-d)),e.allowSlidePrev=r,e.allowSlideNext=n,e.emit("loopFix")}function st(){var e=this,t=e.$wrapperEl,a=e.params,i=e.slides;t.children("."+a.slideClass+"."+a.slideDuplicateClass+",."+a.slideClass+"."+a.slideBlankClass).remove(),i.removeAttr("data-swiper-slide-index")}function rt(e){var t=this;if(!(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)){var a=t.el;a.style.cursor="move",a.style.cursor=e?"-webkit-grabbing":"-webkit-grab",a.style.cursor=e?"-moz-grabbin":"-moz-grab",a.style.cursor=e?"grabbing":"grab"}}function nt(){var e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.el.style.cursor="")}function lt(e){var t=this,a=t.$wrapperEl,i=t.params;if(i.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(var s=0;s=n)a.appendSlide(t);else{for(var l=r>e?r+1:r,o=[],d=n-1;d>=e;d-=1){var p=a.slides.eq(d);p.remove(),o.unshift(p)}if("object"==typeof t&&"length"in t){for(var u=0;ue?r+t.length:r}else i.append(t);for(var c=0;c0||s.isTouched&&s.isMoved)))if(!!r.noSwipingClass&&""!==r.noSwipingClass&&d.target&&d.target.shadowRoot&&e.path&&e.path[0]&&(p=T(e.path[0])),r.noSwiping&&p.closest(r.noSwipingSelector?r.noSwipingSelector:"."+r.noSwipingClass)[0])t.allowClick=!0;else if(!r.swipeHandler||p.closest(r.swipeHandler)[0]){l.currentX="touchstart"===d.type?d.targetTouches[0].pageX:d.pageX,l.currentY="touchstart"===d.type?d.targetTouches[0].pageY:d.pageY;var u=l.currentX,c=l.currentY,h=r.edgeSwipeDetection||r.iOSEdgeSwipeDetection,v=r.edgeSwipeThreshold||r.iOSEdgeSwipeThreshold;if(h&&(u<=v||u>=i.innerWidth-v)){if("prevent"!==h)return;e.preventDefault()}if(me(s,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=u,l.startY=c,s.touchStartTime=ce(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,r.threshold>0&&(s.allowThresholdMove=!1),"touchstart"!==d.type){var f=!0;p.is(s.formElements)&&(f=!1),a.activeElement&&T(a.activeElement).is(s.formElements)&&a.activeElement!==p[0]&&a.activeElement.blur();var m=f&&t.allowTouchMove&&r.touchStartPreventDefault;!r.touchStartForcePreventDefault&&!m||p[0].isContentEditable||d.preventDefault()}t.emit("touchStart",d)}}}function ht(e){var t=n(),a=this,i=a.touchEventsData,s=a.params,r=a.touches,l=a.rtlTranslate;if(a.enabled){var o=e;if(o.originalEvent&&(o=o.originalEvent),i.isTouched){if(!i.isTouchEvent||"touchmove"===o.type){var d="touchmove"===o.type&&o.targetTouches&&(o.targetTouches[0]||o.changedTouches[0]),p="touchmove"===o.type?d.pageX:o.pageX,u="touchmove"===o.type?d.pageY:o.pageY;if(o.preventedByNestedSwiper)return r.startX=p,void(r.startY=u);if(!a.allowTouchMove)return a.allowClick=!1,void(i.isTouched&&(me(r,{startX:p,startY:u,currentX:p,currentY:u}),i.touchStartTime=ce()));if(i.isTouchEvent&&s.touchReleaseOnEdges&&!s.loop)if(a.isVertical()){if(ur.startY&&a.translate>=a.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(pr.startX&&a.translate>=a.minTranslate())return;if(i.isTouchEvent&&t.activeElement&&o.target===t.activeElement&&T(o.target).is(i.formElements))return i.isMoved=!0,void(a.allowClick=!1);if(i.allowTouchCallbacks&&a.emit("touchMove",o),!(o.targetTouches&&o.targetTouches.length>1)){r.currentX=p,r.currentY=u;var c,h=r.currentX-r.startX,v=r.currentY-r.startY;if(!(a.params.threshold&&Math.sqrt(Math.pow(h,2)+Math.pow(v,2))=25&&(c=180*Math.atan2(Math.abs(v),Math.abs(h))/Math.PI,i.isScrolling=a.isHorizontal()?c>s.touchAngle:90-c>s.touchAngle)),i.isScrolling&&a.emit("touchMoveOpposite",o),void 0===i.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(i.startMoving=!0)),i.isScrolling)i.isTouched=!1;else if(i.startMoving){a.allowClick=!1,!s.cssMode&&o.cancelable&&o.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&o.stopPropagation(),i.isMoved||(s.loop&&a.loopFix(),i.startTranslate=a.getTranslate(),a.setTransition(0),a.animating&&a.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!s.grabCursor||!0!==a.allowSlideNext&&!0!==a.allowSlidePrev||a.setGrabCursor(!0),a.emit("sliderFirstMove",o)),a.emit("sliderMove",o),i.isMoved=!0;var f=a.isHorizontal()?h:v;r.diff=f,f*=s.touchRatio,l&&(f=-f),a.swipeDirection=f>0?"prev":"next",i.currentTranslate=f+i.startTranslate;var m=!0,g=s.resistanceRatio;if(s.touchReleaseOnEdges&&(g=0),f>0&&i.currentTranslate>a.minTranslate()?(m=!1,s.resistance&&(i.currentTranslate=a.minTranslate()-1+Math.pow(-a.minTranslate()+i.startTranslate+f,g))):f<0&&i.currentTranslatei.startTranslate&&(i.currentTranslate=i.startTranslate),a.allowSlidePrev||a.allowSlideNext||(i.currentTranslate=i.startTranslate),s.threshold>0){if(!(Math.abs(f)>s.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,i.currentTranslate=i.startTranslate,void(r.diff=a.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}s.followFinger&&!s.cssMode&&((s.freeMode||s.watchSlidesProgress||s.watchSlidesVisibility)&&(a.updateActiveIndex(),a.updateSlidesClasses()),s.freeMode&&(0===i.velocities.length&&i.velocities.push({position:r[a.isHorizontal()?"startX":"startY"],time:i.touchStartTime}),i.velocities.push({position:r[a.isHorizontal()?"currentX":"currentY"],time:ce()})),a.updateProgress(i.currentTranslate),a.setTranslate(i.currentTranslate))}}}}else i.startMoving&&i.isScrolling&&a.emit("touchMoveOpposite",o)}}function vt(e){var t=this,a=t.touchEventsData,i=t.params,s=t.touches,r=t.rtlTranslate,n=t.$wrapperEl,l=t.slidesGrid,o=t.snapGrid;if(t.enabled){var d=e;if(d.originalEvent&&(d=d.originalEvent),a.allowTouchCallbacks&&t.emit("touchEnd",d),a.allowTouchCallbacks=!1,!a.isTouched)return a.isMoved&&i.grabCursor&&t.setGrabCursor(!1),a.isMoved=!1,void(a.startMoving=!1);i.grabCursor&&a.isMoved&&a.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var p,u=ce(),c=u-a.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(d),t.emit("tap click",d),c<300&&u-a.lastClickTime<300&&t.emit("doubleTap doubleClick",d)),a.lastClickTime=ce(),ue((function(){t.destroyed||(t.allowClick=!0)})),!a.isTouched||!a.isMoved||!t.swipeDirection||0===s.diff||a.currentTranslate===a.startTranslate)return a.isTouched=!1,a.isMoved=!1,void(a.startMoving=!1);if(a.isTouched=!1,a.isMoved=!1,a.startMoving=!1,p=i.followFinger?r?t.translate:-t.translate:-a.currentTranslate,!i.cssMode)if(i.freeMode){if(p<-t.minTranslate())return void t.slideTo(t.activeIndex);if(p>-t.maxTranslate())return void(t.slides.length1){var h=a.velocities.pop(),v=a.velocities.pop(),f=h.position-v.position,m=h.time-v.time;t.velocity=f/m,t.velocity/=2,Math.abs(t.velocity)150||ce()-h.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=i.freeModeMomentumVelocityRatio,a.velocities.length=0;var g=1e3*i.freeModeMomentumRatio,b=t.velocity*g,w=t.translate+b;r&&(w=-w);var y,E,x=!1,T=20*Math.abs(t.velocity)*i.freeModeMomentumBounceRatio;if(wt.minTranslate())i.freeModeMomentumBounce?(w-t.minTranslate()>T&&(w=t.minTranslate()+T),y=t.minTranslate(),x=!0,a.allowMomentumBounce=!0):w=t.minTranslate(),i.loop&&i.centeredSlides&&(E=!0);else if(i.freeModeSticky){for(var C,S=0;S-w){C=S;break}w=-(w=Math.abs(o[C]-w)=i.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var k=0,P=t.slidesSizesGrid[0],$=0;$=l[$]&&p=l[$]&&(k=$,P=l[l.length-1]-l[l.length-2])}var I=(p-l[k])/P,O=ki.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(I>=i.longSwipesRatio?t.slideTo(k+O):t.slideTo(k)),"prev"===t.swipeDirection&&(I>1-i.longSwipesRatio?t.slideTo(k+O):t.slideTo(k))}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||d.target!==t.navigation.nextEl&&d.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(k+O),"prev"===t.swipeDirection&&t.slideTo(k)):d.target===t.navigation.nextEl?t.slideTo(k+O):t.slideTo(k)}}}}function ft(){var e=this,t=e.params,a=e.el;if(!a||0!==a.offsetWidth){t.breakpoints&&e.setBreakpoint();var i=e.allowSlideNext,s=e.allowSlidePrev,r=e.snapGrid;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=s,e.allowSlideNext=i,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}}function mt(e){var t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function gt(){var e=this,t=e.wrapperEl,a=e.rtlTranslate;if(e.enabled){e.previousTranslate=e.translate,e.isHorizontal()?e.translate=a?t.scrollWidth-t.offsetWidth-t.scrollLeft:-t.scrollLeft:e.translate=-t.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();var i=e.maxTranslate()-e.minTranslate();(0===i?0:(e.translate-e.minTranslate())/i)!==e.progress&&e.updateProgress(a?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}}var bt=!1;function wt(){}function yt(){var e=this,t=n(),a=e.params,i=e.touchEvents,s=e.el,r=e.wrapperEl,l=e.device,o=e.support;e.onTouchStart=ct.bind(e),e.onTouchMove=ht.bind(e),e.onTouchEnd=vt.bind(e),a.cssMode&&(e.onScroll=gt.bind(e)),e.onClick=mt.bind(e);var d=!!a.nested;if(!o.touch&&o.pointerEvents)s.addEventListener(i.start,e.onTouchStart,!1),t.addEventListener(i.move,e.onTouchMove,d),t.addEventListener(i.end,e.onTouchEnd,!1);else{if(o.touch){var p=!("touchstart"!==i.start||!o.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1};s.addEventListener(i.start,e.onTouchStart,p),s.addEventListener(i.move,e.onTouchMove,o.passiveListener?{passive:!1,capture:d}:d),s.addEventListener(i.end,e.onTouchEnd,p),i.cancel&&s.addEventListener(i.cancel,e.onTouchEnd,p),bt||(t.addEventListener("touchstart",wt),bt=!0)}(a.simulateTouch&&!l.ios&&!l.android||a.simulateTouch&&!o.touch&&l.ios)&&(s.addEventListener("mousedown",e.onTouchStart,!1),t.addEventListener("mousemove",e.onTouchMove,d),t.addEventListener("mouseup",e.onTouchEnd,!1))}(a.preventClicks||a.preventClicksPropagation)&&s.addEventListener("click",e.onClick,!0),a.cssMode&&r.addEventListener("scroll",e.onScroll),a.updateOnWindowResize?e.on(l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",ft,!0):e.on("observerUpdate",ft,!0)}function Et(){var e=this,t=n(),a=e.params,i=e.touchEvents,s=e.el,r=e.wrapperEl,l=e.device,o=e.support,d=!!a.nested;if(!o.touch&&o.pointerEvents)s.removeEventListener(i.start,e.onTouchStart,!1),t.removeEventListener(i.move,e.onTouchMove,d),t.removeEventListener(i.end,e.onTouchEnd,!1);else{if(o.touch){var p=!("onTouchStart"!==i.start||!o.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1};s.removeEventListener(i.start,e.onTouchStart,p),s.removeEventListener(i.move,e.onTouchMove,d),s.removeEventListener(i.end,e.onTouchEnd,p),i.cancel&&s.removeEventListener(i.cancel,e.onTouchEnd,p)}(a.simulateTouch&&!l.ios&&!l.android||a.simulateTouch&&!o.touch&&l.ios)&&(s.removeEventListener("mousedown",e.onTouchStart,!1),t.removeEventListener("mousemove",e.onTouchMove,d),t.removeEventListener("mouseup",e.onTouchEnd,!1))}(a.preventClicks||a.preventClicksPropagation)&&s.removeEventListener("click",e.onClick,!0),a.cssMode&&r.removeEventListener("scroll",e.onScroll),e.off(l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",ft)}function xt(){var e=this,t=e.activeIndex,a=e.initialized,i=e.loopedSlides,s=void 0===i?0:i,r=e.params,n=e.$el,l=r.breakpoints;if(l&&(!l||0!==Object.keys(l).length)){var o=e.getBreakpoint(l,e.params.breakpointsBase,e.el);if(o&&e.currentBreakpoint!==o){var d=o in l?l[o]:void 0;d&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach((function(e){var t=d[e];void 0!==t&&(d[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}));var p=d||e.originalParams,u=r.slidesPerColumn>1,c=p.slidesPerColumn>1,h=r.enabled;u&&!c?(n.removeClass(r.containerModifierClass+"multirow "+r.containerModifierClass+"multirow-column"),e.emitContainerClasses()):!u&&c&&(n.addClass(r.containerModifierClass+"multirow"),"column"===p.slidesPerColumnFill&&n.addClass(r.containerModifierClass+"multirow-column"),e.emitContainerClasses());var v=p.direction&&p.direction!==r.direction,f=r.loop&&(p.slidesPerView!==r.slidesPerView||v);v&&a&&e.changeDirection(),me(e.params,p);var m=e.params.enabled;me(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),h&&!m?e.disable():!h&&m&&e.enable(),e.currentBreakpoint=o,e.emit("_beforeBreakpoint",p),f&&a&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-s+e.loopedSlides,0,!1)),e.emit("breakpoint",p)}}}function Tt(e,t,a){if(void 0===t&&(t="window"),e&&("container"!==t||a)){var i=!1,s=o(),r="window"===t?s.innerWidth:a.clientWidth,n="window"===t?s.innerHeight:a.clientHeight,l=Object.keys(e).map((function(e){if("string"==typeof e&&0===e.indexOf("@")){var t=parseFloat(e.substr(1));return{value:n*t,point:e}}return{value:e,point:e}}));l.sort((function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)}));for(var d=0;d1},{"multirow-column":a.slidesPerColumn>1&&"column"===a.slidesPerColumnFill},{android:r.android},{ios:r.ios},{"css-mode":a.cssMode}],a.containerModifierClass);t.push.apply(t,l),s.addClass([].concat(t).join(" ")),e.emitContainerClasses()}function Mt(){var e=this,t=e.$el,a=e.classNames;t.removeClass(a.join(" ")),e.emitContainerClasses()}function zt(e,t,a,i,s,r){var n,l=o();function d(){r&&r()}T(e).parent("picture")[0]||e.complete&&s?d():t?((n=new l.Image).onload=d,n.onerror=d,i&&(n.sizes=i),a&&(n.srcset=a),t&&(n.src=t)):d()}function kt(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var a=0;a0&&t.slidesOffsetBefore+t.spaceBetween*(e.slides.length-1)+e.slides[0].offsetWidth*e.slides.length;t.slidesOffsetBefore&&t.slidesOffsetAfter&&i?e.isLocked=i<=e.size:e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,a!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),a&&a!==e.isLocked&&(e.isEnd=!1,e.navigation&&e.navigation.update())}var $t={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!1,nested:!1,createElements:!1,enabled:!0,width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1},Lt={modular:$e,eventsEmitter:Le,update:{updateSize:Ie,updateSlides:Oe,updateAutoHeight:Ae,updateSlidesOffset:De,updateSlidesProgress:Ne,updateProgress:Ge,updateSlidesClasses:Be,updateActiveIndex:He,updateClickedSlide:Xe},translate:{getTranslate:Ye,setTranslate:Re,minTranslate:We,maxTranslate:Ve,translateTo:Fe},transition:{setTransition:_e,transitionStart:qe,transitionEnd:je},slide:{slideTo:Ue,slideToLoop:Ke,slideNext:Je,slidePrev:Ze,slideReset:Qe,slideToClosest:et,slideToClickedSlide:tt},loop:{loopCreate:at,loopFix:it,loopDestroy:st},grabCursor:{setGrabCursor:rt,unsetGrabCursor:nt},manipulation:{appendSlide:lt,prependSlide:ot,addSlide:dt,removeSlide:pt,removeAllSlides:ut},events:{attachEvents:yt,detachEvents:Et},breakpoints:{setBreakpoint:xt,getBreakpoint:Tt},checkOverflow:{checkOverflow:Pt},classes:{addClasses:St,removeClasses:Mt},images:{loadImage:zt,preloadImages:kt}},It={},Ot=function(){function e(){for(var t,a,i=arguments.length,s=new Array(i),r=0;r1){var n=[];return T(a.el).each((function(t){var i=me({},a,{el:t});n.push(new e(i))})),n}var l=this;l.__swiper__=!0,l.support=Ee(),l.device=Te({userAgent:a.userAgent}),l.browser=Se(),l.eventsListeners={},l.eventsAnyListeners=[],void 0===l.modules&&(l.modules={}),Object.keys(l.modules).forEach((function(e){var t=l.modules[e];if(t.params){var i=Object.keys(t.params)[0],s=t.params[i];if("object"!=typeof s||null===s)return;if(["navigation","pagination","scrollbar"].indexOf(i)>=0&&!0===a[i]&&(a[i]={auto:!0}),!(i in a)||!("enabled"in s))return;!0===a[i]&&(a[i]={enabled:!0}),"object"!=typeof a[i]||"enabled"in a[i]||(a[i].enabled=!0),a[i]||(a[i]={enabled:!1})}}));var o,d,p=me({},$t);return l.useParams(p),l.params=me({},p,It,a),l.originalParams=me({},l.params),l.passedParams=me({},a),l.params&&l.params.on&&Object.keys(l.params.on).forEach((function(e){l.on(e,l.params.on[e])})),l.params&&l.params.onAny&&l.onAny(l.params.onAny),l.$=T,me(l,{enabled:l.params.enabled,el:t,classNames:[],slides:T(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===l.params.direction},isVertical:function(){return"vertical"===l.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEvents:(o=["touchstart","touchmove","touchend","touchcancel"],d=["mousedown","mousemove","mouseup"],l.support.pointerEvents&&(d=["pointerdown","pointermove","pointerup"]),l.touchEventsTouch={start:o[0],move:o[1],end:o[2],cancel:o[3]},l.touchEventsDesktop={start:d[0],move:d[1],end:d[2]},l.support.touch||!l.params.simulateTouch?l.touchEventsTouch:l.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video, label",lastClickTime:ce(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.useModules(),l.emit("_swiper"),l.params.init&&l.init(),l}var a=e.prototype;return a.enable=function(){var e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))},a.disable=function(){var e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))},a.setProgress=function(e,t){var a=this;e=Math.min(Math.max(e,0),1);var i=a.minTranslate(),s=(a.maxTranslate()-i)*e+i;a.translateTo(s,void 0===t?0:t),a.updateActiveIndex(),a.updateSlidesClasses()},a.emitContainerClasses=function(){var e=this;if(e.params._emitClasses&&e.el){var t=e.el.className.split(" ").filter((function(t){return 0===t.indexOf("swiper-container")||0===t.indexOf(e.params.containerModifierClass)}));e.emit("_containerClasses",t.join(" "))}},a.getSlideClasses=function(e){var t=this;return e.className.split(" ").filter((function(e){return 0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)})).join(" ")},a.emitSlidesClasses=function(){var e=this;if(e.params._emitClasses&&e.el){var t=[];e.slides.each((function(a){var i=e.getSlideClasses(a);t.push({slideEl:a,classNames:i}),e.emit("_slideClass",a,i)})),e.emit("_slideClasses",t)}},a.slidesPerViewDynamic=function(){var e=this,t=e.params,a=e.slides,i=e.slidesGrid,s=e.size,r=e.activeIndex,n=1;if(t.centeredSlides){for(var l,o=a[r].swiperSlideSize,d=r+1;ds&&(l=!0));for(var p=r-1;p>=0;p-=1)a[p]&&!l&&(n+=1,(o+=a[p].swiperSlideSize)>s&&(l=!0))}else for(var u=r+1;u1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||i(),a.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function i(){var t=e.rtlTranslate?-1*e.translate:e.translate,a=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(a),e.updateActiveIndex(),e.updateSlidesClasses()}},a.changeDirection=function(e,t){void 0===t&&(t=!0);var a=this,i=a.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(a.$el.removeClass(""+a.params.containerModifierClass+i).addClass(""+a.params.containerModifierClass+e),a.emitContainerClasses(),a.params.direction=e,a.slides.each((function(t){"vertical"===e?t.style.width="":t.style.height=""})),a.emit("changeDirection"),t&&a.update()),a},a.mount=function(e){var t=this;if(t.mounted)return!0;var a=T(e||t.params.el);if(!(e=a[0]))return!1;e.swiper=t;var i=function(){if(e&&e.shadowRoot&&e.shadowRoot.querySelector){var i=T(e.shadowRoot.querySelector("."+t.params.wrapperClass));return i.children=function(e){return a.children(e)},i}return a.children("."+t.params.wrapperClass)}();if(0===i.length&&t.params.createElements){var s=n().createElement("div");i=T(s),s.className=t.params.wrapperClass,a.append(s),a.children("."+t.params.slideClass).each((function(e){i.append(e)}))}return me(t,{$el:a,el:e,$wrapperEl:i,wrapperEl:i[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===a.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===a.css("direction")),wrongRTL:"-webkit-box"===i.css("display")}),!0},a.init=function(e){var t=this;return t.initialized||!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t},a.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var a=this,i=a.params,s=a.$el,r=a.$wrapperEl,n=a.slides;return void 0===a.params||a.destroyed||(a.emit("beforeDestroy"),a.initialized=!1,a.detachEvents(),i.loop&&a.loopDestroy(),t&&(a.removeClasses(),s.removeAttr("style"),r.removeAttr("style"),n&&n.length&&n.removeClass([i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),a.emit("destroy"),Object.keys(a.eventsListeners).forEach((function(e){a.off(e)})),!1!==e&&(a.$el[0].swiper=null,pe(a)),a.destroyed=!0),null},e.extendDefaults=function(e){me(It,e)},e.installModule=function(t){e.prototype.modules||(e.prototype.modules={});var a=t.name||Object.keys(e.prototype.modules).length+"_"+ce();e.prototype.modules[a]=t},e.use=function(t){return Array.isArray(t)?(t.forEach((function(t){return e.installModule(t)})),e):(e.installModule(t),e)},t(e,null,[{key:"extendedDefaults",get:function(){return It}},{key:"defaults",get:function(){return $t}}]),e}();Object.keys(Lt).forEach((function(e){Object.keys(Lt[e]).forEach((function(t){Ot.prototype[t]=Lt[e][t]}))})),Ot.use([ze,Pe]);var At={update:function(e){var t=this,a=t.params,i=a.slidesPerView,s=a.slidesPerGroup,r=a.centeredSlides,n=t.params.virtual,l=n.addSlidesBefore,o=n.addSlidesAfter,d=t.virtual,p=d.from,u=d.to,c=d.slides,h=d.slidesGrid,v=d.renderSlide,f=d.offset;t.updateActiveIndex();var m,g,b,w=t.activeIndex||0;m=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",r?(g=Math.floor(i/2)+s+o,b=Math.floor(i/2)+s+l):(g=i+(s-1)+o,b=s+l);var y=Math.max((w||0)-b,0),E=Math.min((w||0)+g,c.length-1),x=(t.slidesGrid[y]||0)-(t.slidesGrid[0]||0);function T(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(me(t.virtual,{from:y,to:E,offset:x,slidesGrid:t.slidesGrid}),p===y&&u===E&&!e)return t.slidesGrid!==h&&x!==f&&t.slides.css(m,x+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:x,from:y,to:E,slides:function(){for(var e=[],t=y;t<=E;t+=1)e.push(c[t]);return e}()}),void(t.params.virtual.renderExternalUpdate&&T());var C=[],S=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var M=p;M<=u;M+=1)(ME)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+M+'"]').remove();for(var z=0;z=y&&z<=E&&(void 0===u||e?S.push(z):(z>u&&S.push(z),z'+e+"");return s.attr("data-swiper-slide-index")||s.attr("data-swiper-slide-index",t),i.cache&&(a.virtual.cache[t]=s),s},appendSlide:function(e){var t=this;if("object"==typeof e&&"length"in e)for(var a=0;a=0;i-=1)t.virtual.slides.splice(e[i],1),t.params.virtual.cache&&delete t.virtual.cache[e[i]],e[i]0&&0===t.$el.parents("."+t.params.slideActiveClass).length)return;var g=t.$el,b=g[0].clientWidth,w=g[0].clientHeight,y=a.innerWidth,E=a.innerHeight,x=t.$el.offset();s&&(x.left-=t.$el[0].scrollLeft);for(var T=[[x.left,x.top],[x.left+b,x.top],[x.left,x.top+w],[x.left+b,x.top+w]],C=0;C=0&&S[0]<=y&&S[1]>=0&&S[1]<=E){if(0===S[0]&&0===S[1])continue;m=!0}}if(!m)return}t.isHorizontal()?((p||u||c||h)&&(r.preventDefault?r.preventDefault():r.returnValue=!1),((u||h)&&!s||(p||c)&&s)&&t.slideNext(),((p||c)&&!s||(u||h)&&s)&&t.slidePrev()):((p||u||v||f)&&(r.preventDefault?r.preventDefault():r.returnValue=!1),(u||f)&&t.slideNext(),(p||v)&&t.slidePrev()),t.emit("keyPress",l)}}},enable:function(){var e=this,t=n();e.keyboard.enabled||(T(t).on("keydown",e.keyboard.handle),e.keyboard.enabled=!0)},disable:function(){var e=this,t=n();e.keyboard.enabled&&(T(t).off("keydown",e.keyboard.handle),e.keyboard.enabled=!1)}},Gt={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}},create:function(){ge(this,{keyboard:a({enabled:!1},Nt)})},on:{init:function(e){e.params.keyboard.enabled&&e.keyboard.enable()},destroy:function(e){e.keyboard.enabled&&e.keyboard.disable()}}};function Bt(){var e=n(),t="onwheel",a=t in e;if(!a){var i=e.createElement("div");i.setAttribute(t,"return;"),a="function"==typeof i[t]}return!a&&e.implementation&&e.implementation.hasFeature&&!0!==e.implementation.hasFeature("","")&&(a=e.implementation.hasFeature("Events.wheel","3.0")),a}var Ht={lastScrollTime:ce(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:function(){return o().navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":Bt()?"wheel":"mousewheel"},normalize:function(e){var t=10,a=40,i=800,s=0,r=0,n=0,l=0;return"detail"in e&&(r=e.detail),"wheelDelta"in e&&(r=-e.wheelDelta/120),"wheelDeltaY"in e&&(r=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(s=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(s=r,r=0),n=s*t,l=r*t,"deltaY"in e&&(l=e.deltaY),"deltaX"in e&&(n=e.deltaX),e.shiftKey&&!n&&(n=l,l=0),(n||l)&&e.deltaMode&&(1===e.deltaMode?(n*=a,l*=a):(n*=i,l*=i)),n&&!s&&(s=n<1?-1:1),l&&!r&&(r=l<1?-1:1),{spinX:s,spinY:r,pixelX:n,pixelY:l}},handleMouseEnter:function(){var e=this;e.enabled&&(e.mouseEntered=!0)},handleMouseLeave:function(){var e=this;e.enabled&&(e.mouseEntered=!1)},handle:function(e){var t=e,a=this;if(a.enabled){var i=a.params.mousewheel;a.params.cssMode&&t.preventDefault();var s=a.$el;if("container"!==a.params.mousewheel.eventsTarget&&(s=T(a.params.mousewheel.eventsTarget)),!a.mouseEntered&&!s[0].contains(t.target)&&!i.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var r=0,n=a.rtlTranslate?-1:1,l=Ht.normalize(t);if(i.forceToAxis)if(a.isHorizontal()){if(!(Math.abs(l.pixelX)>Math.abs(l.pixelY)))return!0;r=-l.pixelX*n}else{if(!(Math.abs(l.pixelY)>Math.abs(l.pixelX)))return!0;r=-l.pixelY}else r=Math.abs(l.pixelX)>Math.abs(l.pixelY)?-l.pixelX*n:-l.pixelY;if(0===r)return!0;i.invert&&(r=-r);var o=a.getTranslate()+r*i.sensitivity;if(o>=a.minTranslate()&&(o=a.minTranslate()),o<=a.maxTranslate()&&(o=a.maxTranslate()),(!!a.params.loop||!(o===a.minTranslate()||o===a.maxTranslate()))&&a.params.nested&&t.stopPropagation(),a.params.freeMode){var d={time:ce(),delta:Math.abs(r),direction:Math.sign(r)},p=a.mousewheel.lastEventBeforeSnap,u=p&&d.time=a.minTranslate()&&(c=a.minTranslate()),c<=a.maxTranslate()&&(c=a.maxTranslate()),a.setTransition(0),a.setTranslate(c),a.updateProgress(),a.updateActiveIndex(),a.updateSlidesClasses(),(!h&&a.isBeginning||!v&&a.isEnd)&&a.updateSlidesClasses(),a.params.freeModeSticky){clearTimeout(a.mousewheel.timeout),a.mousewheel.timeout=void 0;var f=a.mousewheel.recentWheelEvents;f.length>=15&&f.shift();var m=f.length?f[f.length-1]:void 0,g=f[0];if(f.push(d),m&&(d.delta>m.delta||d.direction!==m.direction))f.splice(0);else if(f.length>=15&&d.time-g.time<500&&g.delta-d.delta>=1&&d.delta<=6){var b=r>0?.8:.2;a.mousewheel.lastEventBeforeSnap=d,f.splice(0),a.mousewheel.timeout=ue((function(){a.slideToClosest(a.params.speed,!0,void 0,b)}),0)}a.mousewheel.timeout||(a.mousewheel.timeout=ue((function(){var e=.5;a.mousewheel.lastEventBeforeSnap=d,f.splice(0),a.slideToClosest(a.params.speed,!0,void 0,e)}),500))}if(u||a.emit("scroll",t),a.params.autoplay&&a.params.autoplayDisableOnInteraction&&a.autoplay.stop(),c===a.minTranslate()||c===a.maxTranslate())return!0}}else{var w={time:ce(),delta:Math.abs(r),direction:Math.sign(r),raw:e},y=a.mousewheel.recentWheelEvents;y.length>=2&&y.shift();var E=y.length?y[y.length-1]:void 0;if(y.push(w),E?(w.direction!==E.direction||w.delta>E.delta||w.time>E.time+150)&&a.mousewheel.animateSlider(w):a.mousewheel.animateSlider(w),a.mousewheel.releaseScroll(w))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1}},animateSlider:function(e){var t=this,a=o();return!(this.params.mousewheel.thresholdDelta&&e.delta=6&&ce()-t.mousewheel.lastScrollTime<60)&&(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),t.emit("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),t.emit("scroll",e.raw)),t.mousewheel.lastScrollTime=(new a.Date).getTime(),1))},releaseScroll:function(e){var t=this,a=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&a.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&a.releaseOnEdges)return!0;return!1},enable:function(){var e=this,t=Ht.event();if(e.params.cssMode)return e.wrapperEl.removeEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(e.mousewheel.enabled)return!1;var a=e.$el;return"container"!==e.params.mousewheel.eventsTarget&&(a=T(e.params.mousewheel.eventsTarget)),a.on("mouseenter",e.mousewheel.handleMouseEnter),a.on("mouseleave",e.mousewheel.handleMouseLeave),a.on(t,e.mousewheel.handle),e.mousewheel.enabled=!0,!0},disable:function(){var e=this,t=Ht.event();if(e.params.cssMode)return e.wrapperEl.addEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(!e.mousewheel.enabled)return!1;var a=e.$el;return"container"!==e.params.mousewheel.eventsTarget&&(a=T(e.params.mousewheel.eventsTarget)),a.off(t,e.mousewheel.handle),e.mousewheel.enabled=!1,!0}},Xt={toggleEl:function(e,t){e[t?"addClass":"removeClass"](this.params.navigation.disabledClass),e[0]&&"BUTTON"===e[0].tagName&&(e[0].disabled=t)},update:function(){var e=this,t=e.params.navigation,a=e.navigation.toggleEl;if(!e.params.loop){var i=e.navigation,s=i.$nextEl,r=i.$prevEl;r&&r.length>0&&(e.isBeginning?a(r,!0):a(r,!1),e.params.watchOverflow&&e.enabled&&r[e.isLocked?"addClass":"removeClass"](t.lockClass)),s&&s.length>0&&(e.isEnd?a(s,!0):a(s,!1),e.params.watchOverflow&&e.enabled&&s[e.isLocked?"addClass":"removeClass"](t.lockClass))}},onPrevClick:function(e){var t=this;e.preventDefault(),t.isBeginning&&!t.params.loop||t.slidePrev()},onNextClick:function(e){var t=this;e.preventDefault(),t.isEnd&&!t.params.loop||t.slideNext()},init:function(){var e,t,a=this,i=a.params.navigation;a.params.navigation=we(a.$el,a.params.navigation,a.params.createElements,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),(i.nextEl||i.prevEl)&&(i.nextEl&&(e=T(i.nextEl),a.params.uniqueNavElements&&"string"==typeof i.nextEl&&e.length>1&&1===a.$el.find(i.nextEl).length&&(e=a.$el.find(i.nextEl))),i.prevEl&&(t=T(i.prevEl),a.params.uniqueNavElements&&"string"==typeof i.prevEl&&t.length>1&&1===a.$el.find(i.prevEl).length&&(t=a.$el.find(i.prevEl))),e&&e.length>0&&e.on("click",a.navigation.onNextClick),t&&t.length>0&&t.on("click",a.navigation.onPrevClick),me(a.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}),a.enabled||(e&&e.addClass(i.lockClass),t&&t.addClass(i.lockClass)))},destroy:function(){var e=this,t=e.navigation,a=t.$nextEl,i=t.$prevEl;a&&a.length&&(a.off("click",e.navigation.onNextClick),a.removeClass(e.params.navigation.disabledClass)),i&&i.length&&(i.off("click",e.navigation.onPrevClick),i.removeClass(e.params.navigation.disabledClass))}},Yt={update:function(){var e=this,t=e.rtl,a=e.params.pagination;if(a.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var i,s=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,r=e.pagination.$el,n=e.params.loop?Math.ceil((s-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?((i=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup))>s-1-2*e.loopedSlides&&(i-=s-2*e.loopedSlides),i>n-1&&(i-=n),i<0&&"bullets"!==e.params.paginationType&&(i=n+i)):i=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===a.type&&e.pagination.bullets&&e.pagination.bullets.length>0){var l,o,d,p=e.pagination.bullets;if(a.dynamicBullets&&(e.pagination.bulletSize=p.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),r.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(a.dynamicMainBullets+4)+"px"),a.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=i-e.previousIndex,e.pagination.dynamicBulletIndex>a.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=a.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),l=i-e.pagination.dynamicBulletIndex,d=((o=l+(Math.min(p.length,a.dynamicMainBullets)-1))+l)/2),p.removeClass(a.bulletActiveClass+" "+a.bulletActiveClass+"-next "+a.bulletActiveClass+"-next-next "+a.bulletActiveClass+"-prev "+a.bulletActiveClass+"-prev-prev "+a.bulletActiveClass+"-main"),r.length>1)p.each((function(e){var t=T(e),s=t.index();s===i&&t.addClass(a.bulletActiveClass),a.dynamicBullets&&(s>=l&&s<=o&&t.addClass(a.bulletActiveClass+"-main"),s===l&&t.prev().addClass(a.bulletActiveClass+"-prev").prev().addClass(a.bulletActiveClass+"-prev-prev"),s===o&&t.next().addClass(a.bulletActiveClass+"-next").next().addClass(a.bulletActiveClass+"-next-next"))}));else{var u=p.eq(i),c=u.index();if(u.addClass(a.bulletActiveClass),a.dynamicBullets){for(var h=p.eq(l),v=p.eq(o),f=l;f<=o;f+=1)p.eq(f).addClass(a.bulletActiveClass+"-main");if(e.params.loop)if(c>=p.length-a.dynamicMainBullets){for(var m=a.dynamicMainBullets;m>=0;m-=1)p.eq(p.length-m).addClass(a.bulletActiveClass+"-main");p.eq(p.length-a.dynamicMainBullets-1).addClass(a.bulletActiveClass+"-prev")}else h.prev().addClass(a.bulletActiveClass+"-prev").prev().addClass(a.bulletActiveClass+"-prev-prev"),v.next().addClass(a.bulletActiveClass+"-next").next().addClass(a.bulletActiveClass+"-next-next");else h.prev().addClass(a.bulletActiveClass+"-prev").prev().addClass(a.bulletActiveClass+"-prev-prev"),v.next().addClass(a.bulletActiveClass+"-next").next().addClass(a.bulletActiveClass+"-next-next")}}if(a.dynamicBullets){var g=Math.min(p.length,a.dynamicMainBullets+4),b=(e.pagination.bulletSize*g-e.pagination.bulletSize)/2-d*e.pagination.bulletSize,w=t?"right":"left";p.css(e.isHorizontal()?w:"top",b+"px")}}if("fraction"===a.type&&(r.find(be(a.currentClass)).text(a.formatFractionCurrent(i+1)),r.find(be(a.totalClass)).text(a.formatFractionTotal(n))),"progressbar"===a.type){var y;y=a.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";var E=(i+1)/n,x=1,C=1;"horizontal"===y?x=E:C=E,r.find(be(a.progressbarFillClass)).transform("translate3d(0,0,0) scaleX("+x+") scaleY("+C+")").transition(e.params.speed)}"custom"===a.type&&a.renderCustom?(r.html(a.renderCustom(e,i+1,n)),e.emit("paginationRender",r[0])):e.emit("paginationUpdate",r[0]),e.params.watchOverflow&&e.enabled&&r[e.isLocked?"addClass":"removeClass"](a.lockClass)}},render:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var a=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,i=e.pagination.$el,s="";if("bullets"===t.type){var r=e.params.loop?Math.ceil((a-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&!e.params.loop&&r>a&&(r=a);for(var n=0;n";i.html(s),e.pagination.bullets=i.find(be(t.bulletClass))}"fraction"===t.type&&(s=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):' / ',i.html(s)),"progressbar"===t.type&&(s=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'',i.html(s)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var e=this;e.params.pagination=we(e.$el,e.params.pagination,e.params.createElements,{el:"swiper-pagination"});var t=e.params.pagination;if(t.el){var a=T(t.el);0!==a.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&a.length>1&&(a=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&a.addClass(t.clickableClass),a.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(a.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&a.addClass(t.progressbarOppositeClass),t.clickable&&a.on("click",be(t.bulletClass),(function(t){t.preventDefault();var a=T(this).index()*e.params.slidesPerGroup;e.params.loop&&(a+=e.loopedSlides),e.slideTo(a)})),me(e.pagination,{$el:a,el:a[0]}),e.enabled||a.addClass(t.lockClass))}},destroy:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var a=e.pagination.$el;a.removeClass(t.hiddenClass),a.removeClass(t.modifierClass+t.type),e.pagination.bullets&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&a.off("click",be(t.bulletClass))}}},Rt={setTranslate:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,a=e.rtlTranslate,i=e.progress,s=t.dragSize,r=t.trackSize,n=t.$dragEl,l=t.$el,o=e.params.scrollbar,d=s,p=(r-s)*i;a?(p=-p)>0?(d=s-p,p=0):-p+s>r&&(d=r+p):p<0?(d=s+p,p=0):p+s>r&&(d=r-p),e.isHorizontal()?(n.transform("translate3d("+p+"px, 0, 0)"),n[0].style.width=d+"px"):(n.transform("translate3d(0px, "+p+"px, 0)"),n[0].style.height=d+"px"),o.hide&&(clearTimeout(e.scrollbar.timeout),l[0].style.opacity=1,e.scrollbar.timeout=setTimeout((function(){l[0].style.opacity=0,l.transition(400)}),1e3))}},setTransition:function(e){var t=this;t.params.scrollbar.el&&t.scrollbar.el&&t.scrollbar.$dragEl.transition(e)},updateSize:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,a=t.$dragEl,i=t.$el;a[0].style.width="",a[0].style.height="";var s,r=e.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,n=e.size/e.virtualSize,l=n*(r/e.size);s="auto"===e.params.scrollbar.dragSize?r*n:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?a[0].style.width=s+"px":a[0].style.height=s+"px",i[0].style.display=n>=1?"none":"",e.params.scrollbar.hide&&(i[0].style.opacity=0),me(t,{trackSize:r,divider:n,moveDivider:l,dragSize:s}),e.params.watchOverflow&&e.enabled&&t.$el[e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientX:e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientY:e.clientY},setDragPosition:function(e){var t,a=this,i=a.scrollbar,s=a.rtlTranslate,r=i.$el,n=i.dragSize,l=i.trackSize,o=i.dragStartPos;t=(i.getPointerPosition(e)-r.offset()[a.isHorizontal()?"left":"top"]-(null!==o?o:n/2))/(l-n),t=Math.max(Math.min(t,1),0),s&&(t=1-t);var d=a.minTranslate()+(a.maxTranslate()-a.minTranslate())*t;a.updateProgress(d),a.setTranslate(d),a.updateActiveIndex(),a.updateSlidesClasses()},onDragStart:function(e){var t=this,a=t.params.scrollbar,i=t.scrollbar,s=t.$wrapperEl,r=i.$el,n=i.$dragEl;t.scrollbar.isTouched=!0,t.scrollbar.dragStartPos=e.target===n[0]||e.target===n?i.getPointerPosition(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),s.transition(100),n.transition(100),i.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),r.transition(0),a.hide&&r.css("opacity",1),t.params.cssMode&&t.$wrapperEl.css("scroll-snap-type","none"),t.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this,a=t.scrollbar,i=t.$wrapperEl,s=a.$el,r=a.$dragEl;t.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,a.setDragPosition(e),i.transition(0),s.transition(0),r.transition(0),t.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this,a=t.params.scrollbar,i=t.scrollbar,s=t.$wrapperEl,r=i.$el;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,t.params.cssMode&&(t.$wrapperEl.css("scroll-snap-type",""),s.transition("")),a.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=ue((function(){r.css("opacity",0),r.transition(400)}),1e3)),t.emit("scrollbarDragEnd",e),a.snapOnRelease&&t.slideToClosest())},enableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=n(),a=e.scrollbar,i=e.touchEventsTouch,s=e.touchEventsDesktop,r=e.params,l=e.support,o=a.$el[0],d=!(!l.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},p=!(!l.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};o&&(l.touch?(o.addEventListener(i.start,e.scrollbar.onDragStart,d),o.addEventListener(i.move,e.scrollbar.onDragMove,d),o.addEventListener(i.end,e.scrollbar.onDragEnd,p)):(o.addEventListener(s.start,e.scrollbar.onDragStart,d),t.addEventListener(s.move,e.scrollbar.onDragMove,d),t.addEventListener(s.end,e.scrollbar.onDragEnd,p)))}},disableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=n(),a=e.scrollbar,i=e.touchEventsTouch,s=e.touchEventsDesktop,r=e.params,l=e.support,o=a.$el[0],d=!(!l.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},p=!(!l.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};o&&(l.touch?(o.removeEventListener(i.start,e.scrollbar.onDragStart,d),o.removeEventListener(i.move,e.scrollbar.onDragMove,d),o.removeEventListener(i.end,e.scrollbar.onDragEnd,p)):(o.removeEventListener(s.start,e.scrollbar.onDragStart,d),t.removeEventListener(s.move,e.scrollbar.onDragMove,d),t.removeEventListener(s.end,e.scrollbar.onDragEnd,p)))}},init:function(){var e=this,t=e.scrollbar,a=e.$el;e.params.scrollbar=we(a,e.params.scrollbar,e.params.createElements,{el:"swiper-scrollbar"});var i=e.params.scrollbar;if(i.el){var s=T(i.el);e.params.uniqueNavElements&&"string"==typeof i.el&&s.length>1&&1===a.find(i.el).length&&(s=a.find(i.el));var r=s.find("."+e.params.scrollbar.dragClass);0===r.length&&(r=T('
'),s.append(r)),me(t,{$el:s,el:s[0],$dragEl:r,dragEl:r[0]}),i.draggable&&t.enableDraggable(),s&&s[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)}},destroy:function(){this.scrollbar.disableDraggable()}},Wt={setTransform:function(e,t){var a=this,i=a.rtl,s=T(e),r=i?-1:1,n=s.attr("data-swiper-parallax")||"0",l=s.attr("data-swiper-parallax-x"),o=s.attr("data-swiper-parallax-y"),d=s.attr("data-swiper-parallax-scale"),p=s.attr("data-swiper-parallax-opacity");if(l||o?(l=l||"0",o=o||"0"):a.isHorizontal()?(l=n,o="0"):(o=n,l="0"),l=l.indexOf("%")>=0?parseInt(l,10)*t*r+"%":l*t*r+"px",o=o.indexOf("%")>=0?parseInt(o,10)*t+"%":o*t+"px",null!=p){var u=p-(p-1)*(1-Math.abs(t));s[0].style.opacity=u}if(null==d)s.transform("translate3d("+l+", "+o+", 0px)");else{var c=d-(d-1)*(1-Math.abs(t));s.transform("translate3d("+l+", "+o+", 0px) scale("+c+")")}},setTranslate:function(){var e=this,t=e.$el,a=e.slides,i=e.progress,s=e.snapGrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t){e.parallax.setTransform(t,i)})),a.each((function(t,a){var r=t.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(r+=Math.ceil(a/2)-i*(s.length-1)),r=Math.min(Math.max(r,-1),1),T(t).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t){e.parallax.setTransform(t,r)}))}))},setTransition:function(e){void 0===e&&(e=this.params.speed),this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t){var a=T(t),i=parseInt(a.attr("data-swiper-parallax-duration"),10)||e;0===e&&(i=0),a.transition(i)}))}},Vt={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,a=e.targetTouches[0].pageY,i=e.targetTouches[1].pageX,s=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(i-t,2)+Math.pow(s-a,2))},onGestureStart:function(e){var t=this,a=t.support,i=t.params.zoom,s=t.zoom,r=s.gesture;if(s.fakeGestureTouched=!1,s.fakeGestureMoved=!1,!a.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;s.fakeGestureTouched=!0,r.scaleStart=Vt.getDistanceBetweenTouches(e)}r.$slideEl&&r.$slideEl.length||(r.$slideEl=T(e.target).closest("."+t.params.slideClass),0===r.$slideEl.length&&(r.$slideEl=t.slides.eq(t.activeIndex)),r.$imageEl=r.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),r.$imageWrapEl=r.$imageEl.parent("."+i.containerClass),r.maxRatio=r.$imageWrapEl.attr("data-swiper-zoom")||i.maxRatio,0!==r.$imageWrapEl.length)?(r.$imageEl&&r.$imageEl.transition(0),t.zoom.isScaling=!0):r.$imageEl=void 0},onGestureChange:function(e){var t=this,a=t.support,i=t.params.zoom,s=t.zoom,r=s.gesture;if(!a.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;s.fakeGestureMoved=!0,r.scaleMove=Vt.getDistanceBetweenTouches(e)}r.$imageEl&&0!==r.$imageEl.length?(a.gestures?s.scale=e.scale*s.currentScale:s.scale=r.scaleMove/r.scaleStart*s.currentScale,s.scale>r.maxRatio&&(s.scale=r.maxRatio-1+Math.pow(s.scale-r.maxRatio+1,.5)),s.scales.touchesStart.x))return void(s.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(s.minY)===Math.floor(s.startY)&&s.touchesCurrent.ys.touchesStart.y))return void(s.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),s.isMoved=!0,s.currentX=s.touchesCurrent.x-s.touchesStart.x+s.startX,s.currentY=s.touchesCurrent.y-s.touchesStart.y+s.startY,s.currentXs.maxX&&(s.currentX=s.maxX-1+Math.pow(s.currentX-s.maxX+1,.8)),s.currentYs.maxY&&(s.currentY=s.maxY-1+Math.pow(s.currentY-s.maxY+1,.8)),r.prevPositionX||(r.prevPositionX=s.touchesCurrent.x),r.prevPositionY||(r.prevPositionY=s.touchesCurrent.y),r.prevTime||(r.prevTime=Date.now()),r.x=(s.touchesCurrent.x-r.prevPositionX)/(Date.now()-r.prevTime)/2,r.y=(s.touchesCurrent.y-r.prevPositionY)/(Date.now()-r.prevTime)/2,Math.abs(s.touchesCurrent.x-r.prevPositionX)<2&&(r.x=0),Math.abs(s.touchesCurrent.y-r.prevPositionY)<2&&(r.y=0),r.prevPositionX=s.touchesCurrent.x,r.prevPositionY=s.touchesCurrent.y,r.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d("+s.currentX+"px, "+s.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,a=e.image,i=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!a.isTouched||!a.isMoved)return a.isTouched=!1,void(a.isMoved=!1);a.isTouched=!1,a.isMoved=!1;var s=300,r=300,n=i.x*s,l=a.currentX+n,o=i.y*r,d=a.currentY+o;0!==i.x&&(s=Math.abs((l-a.currentX)/i.x)),0!==i.y&&(r=Math.abs((d-a.currentY)/i.y));var p=Math.max(s,r);a.currentX=l,a.currentY=d;var u=a.width*e.scale,c=a.height*e.scale;a.minX=Math.min(t.slideWidth/2-u/2,0),a.maxX=-a.minX,a.minY=Math.min(t.slideHeight/2-c/2,0),a.maxY=-a.minY,a.currentX=Math.max(Math.min(a.currentX,a.maxX),a.minX),a.currentY=Math.max(Math.min(a.currentY,a.maxY),a.minY),t.$imageWrapEl.transition(p).transform("translate3d("+a.currentX+"px, "+a.currentY+"px,0)")}},onTransitionEnd:function(){var e=this,t=e.zoom,a=t.gesture;a.$slideEl&&e.previousIndex!==e.activeIndex&&(a.$imageEl&&a.$imageEl.transform("translate3d(0,0,0) scale(1)"),a.$imageWrapEl&&a.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,t.currentScale=1,a.$slideEl=void 0,a.$imageEl=void 0,a.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,a,i,s,r,n,l,d,p,u,c,h,v,f,m,g,b=this,w=o(),y=b.zoom,E=b.params.zoom,x=y.gesture,T=y.image;x.$slideEl||(b.params.virtual&&b.params.virtual.enabled&&b.virtual?x.$slideEl=b.$wrapperEl.children("."+b.params.slideActiveClass):x.$slideEl=b.slides.eq(b.activeIndex),x.$imageEl=x.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),x.$imageWrapEl=x.$imageEl.parent("."+E.containerClass)),x.$imageEl&&0!==x.$imageEl.length&&x.$imageWrapEl&&0!==x.$imageWrapEl.length&&(x.$slideEl.addClass(""+E.zoomedSlideClass),void 0===T.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,a="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=T.touchesStart.x,a=T.touchesStart.y),y.scale=x.$imageWrapEl.attr("data-swiper-zoom")||E.maxRatio,y.currentScale=x.$imageWrapEl.attr("data-swiper-zoom")||E.maxRatio,e?(m=x.$slideEl[0].offsetWidth,g=x.$slideEl[0].offsetHeight,i=x.$slideEl.offset().left+w.scrollX+m/2-t,s=x.$slideEl.offset().top+w.scrollY+g/2-a,l=x.$imageEl[0].offsetWidth,d=x.$imageEl[0].offsetHeight,p=l*y.scale,u=d*y.scale,v=-(c=Math.min(m/2-p/2,0)),f=-(h=Math.min(g/2-u/2,0)),(r=i*y.scale)v&&(r=v),(n=s*y.scale)f&&(n=f)):(r=0,n=0),x.$imageWrapEl.transition(300).transform("translate3d("+r+"px, "+n+"px,0)"),x.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+y.scale+")"))},out:function(){var e=this,t=e.zoom,a=e.params.zoom,i=t.gesture;i.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?i.$slideEl=e.$wrapperEl.children("."+e.params.slideActiveClass):i.$slideEl=e.slides.eq(e.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),i.$imageWrapEl=i.$imageEl.parent("."+a.containerClass)),i.$imageEl&&0!==i.$imageEl.length&&i.$imageWrapEl&&0!==i.$imageWrapEl.length&&(t.scale=1,t.currentScale=1,i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),i.$slideEl.removeClass(""+a.zoomedSlideClass),i.$slideEl=void 0)},toggleGestures:function(e){var t=this,a=t.zoom,i=a.slideSelector,s=a.passiveListener;t.$wrapperEl[e]("gesturestart",i,a.onGestureStart,s),t.$wrapperEl[e]("gesturechange",i,a.onGestureChange,s),t.$wrapperEl[e]("gestureend",i,a.onGestureEnd,s)},enableGestures:function(){this.zoom.gesturesEnabled||(this.zoom.gesturesEnabled=!0,this.zoom.toggleGestures("on"))},disableGestures:function(){this.zoom.gesturesEnabled&&(this.zoom.gesturesEnabled=!1,this.zoom.toggleGestures("off"))},enable:function(){var e=this,t=e.support,a=e.zoom;if(!a.enabled){a.enabled=!0;var i=!("touchstart"!==e.touchEvents.start||!t.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},s=!t.passiveListener||{passive:!1,capture:!0},r="."+e.params.slideClass;e.zoom.passiveListener=i,e.zoom.slideSelector=r,t.gestures?(e.$wrapperEl.on(e.touchEvents.start,e.zoom.enableGestures,i),e.$wrapperEl.on(e.touchEvents.end,e.zoom.disableGestures,i)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,r,a.onGestureStart,i),e.$wrapperEl.on(e.touchEvents.move,r,a.onGestureChange,s),e.$wrapperEl.on(e.touchEvents.end,r,a.onGestureEnd,i),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,r,a.onGestureEnd,i)),e.$wrapperEl.on(e.touchEvents.move,"."+e.params.zoom.containerClass,a.onTouchMove,s)}},disable:function(){var e=this,t=e.zoom;if(t.enabled){var a=e.support;e.zoom.enabled=!1;var i=!("touchstart"!==e.touchEvents.start||!a.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},s=!a.passiveListener||{passive:!1,capture:!0},r="."+e.params.slideClass;a.gestures?(e.$wrapperEl.off(e.touchEvents.start,e.zoom.enableGestures,i),e.$wrapperEl.off(e.touchEvents.end,e.zoom.disableGestures,i)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,r,t.onGestureStart,i),e.$wrapperEl.off(e.touchEvents.move,r,t.onGestureChange,s),e.$wrapperEl.off(e.touchEvents.end,r,t.onGestureEnd,i),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,r,t.onGestureEnd,i)),e.$wrapperEl.off(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove,s)}}},Ft={loadInSlide:function(e,t){void 0===t&&(t=!0);var a=this,i=a.params.lazy;if(void 0!==e&&0!==a.slides.length){var s=a.virtual&&a.params.virtual.enabled?a.$wrapperEl.children("."+a.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):a.slides.eq(e),r=s.find("."+i.elementClass+":not(."+i.loadedClass+"):not(."+i.loadingClass+")");!s.hasClass(i.elementClass)||s.hasClass(i.loadedClass)||s.hasClass(i.loadingClass)||r.push(s[0]),0!==r.length&&r.each((function(e){var r=T(e);r.addClass(i.loadingClass);var n=r.attr("data-background"),l=r.attr("data-src"),o=r.attr("data-srcset"),d=r.attr("data-sizes"),p=r.parent("picture");a.loadImage(r[0],l||n,o,d,!1,(function(){if(null!=a&&a&&(!a||a.params)&&!a.destroyed){if(n?(r.css("background-image",'url("'+n+'")'),r.removeAttr("data-background")):(o&&(r.attr("srcset",o),r.removeAttr("data-srcset")),d&&(r.attr("sizes",d),r.removeAttr("data-sizes")),p.length&&p.children("source").each((function(e){var t=T(e);t.attr("data-srcset")&&(t.attr("srcset",t.attr("data-srcset")),t.removeAttr("data-srcset"))})),l&&(r.attr("src",l),r.removeAttr("data-src"))),r.addClass(i.loadedClass).removeClass(i.loadingClass),s.find("."+i.preloaderClass).remove(),a.params.loop&&t){var e=s.attr("data-swiper-slide-index");if(s.hasClass(a.params.slideDuplicateClass)){var u=a.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+a.params.slideDuplicateClass+")");a.lazy.loadInSlide(u.index(),!1)}else{var c=a.$wrapperEl.children("."+a.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');a.lazy.loadInSlide(c.index(),!1)}}a.emit("lazyImageReady",s[0],r[0]),a.params.autoHeight&&a.updateAutoHeight()}})),a.emit("lazyImageLoad",s[0],r[0])}))}},load:function(){var e=this,t=e.$wrapperEl,a=e.params,i=e.slides,s=e.activeIndex,r=e.virtual&&a.virtual.enabled,n=a.lazy,l=a.slidesPerView;function o(e){if(r){if(t.children("."+a.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else if(i[e])return!0;return!1}function d(e){return r?T(e).attr("data-swiper-slide-index"):T(e).index()}if("auto"===l&&(l=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+a.slideVisibleClass).each((function(t){var a=r?T(t).attr("data-swiper-slide-index"):T(t).index();e.lazy.loadInSlide(a)}));else if(l>1)for(var p=s;p1||n.loadPrevNextAmount&&n.loadPrevNextAmount>1){for(var u=n.loadPrevNextAmount,c=l,h=Math.min(s+c+Math.max(u,c),i.length),v=Math.max(s-Math.max(c,u),0),f=s+l;f0&&e.lazy.loadInSlide(d(g));var b=t.children("."+a.slidePrevClass);b.length>0&&e.lazy.loadInSlide(d(b))}},checkInViewOnLoad:function(){var e=o(),t=this;if(t&&!t.destroyed){var a=t.params.lazy.scrollingElement?T(t.params.lazy.scrollingElement):T(e),i=a[0]===e,s=i?e.innerWidth:a[0].offsetWidth,r=i?e.innerHeight:a[0].offsetHeight,n=t.$el.offset(),l=!1;t.rtlTranslate&&(n.left-=t.$el[0].scrollLeft);for(var d=[[n.left,n.top],[n.left+t.width,n.top],[n.left,n.top+t.height],[n.left+t.width,n.top+t.height]],p=0;p=0&&u[0]<=s&&u[1]>=0&&u[1]<=r){if(0===u[0]&&0===u[1])continue;l=!0}}var c=!("touchstart"!==t.touchEvents.start||!t.support.passiveListener||!t.params.passiveListeners)&&{passive:!0,capture:!1};l?(t.lazy.load(),a.off("scroll",t.lazy.checkInViewOnLoad,c)):t.lazy.scrollHandlerAttached||(t.lazy.scrollHandlerAttached=!0,a.on("scroll",t.lazy.checkInViewOnLoad,c))}}},_t={LinearSpline:function(e,t){var a,i,s,r,n,l=function(e,t){for(i=-1,a=e.length;a-i>1;)e[s=a+i>>1]<=t?i=s:a=s;return a};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(n=l(this.x,e),r=n-1,(e-this.x[r])*(this.y[n]-this.y[r])/(this.x[n]-this.x[r])+this.y[r]):0},this},getInterpolateFunction:function(e){var t=this;t.controller.spline||(t.controller.spline=t.params.loop?new _t.LinearSpline(t.slidesGrid,e.slidesGrid):new _t.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate:function(e,t){var a,i,s=this,r=s.controller.control,n=s.constructor;function l(e){var t=s.rtlTranslate?-s.translate:s.translate;"slide"===s.params.controller.by&&(s.controller.getInterpolateFunction(e),i=-s.controller.spline.interpolate(-t)),i&&"container"!==s.params.controller.by||(a=(e.maxTranslate()-e.minTranslate())/(s.maxTranslate()-s.minTranslate()),i=(t-s.minTranslate())*a+e.minTranslate()),s.params.controller.inverse&&(i=e.maxTranslate()-i),e.updateProgress(i),e.setTranslate(i,s),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(r))for(var o=0;o0&&(e.isBeginning?(e.a11y.disableEl(i),e.a11y.makeElNotFocusable(i)):(e.a11y.enableEl(i),e.a11y.makeElFocusable(i))),a&&a.length>0&&(e.isEnd?(e.a11y.disableEl(a),e.a11y.makeElNotFocusable(a)):(e.a11y.enableEl(a),e.a11y.makeElFocusable(a)))}},updatePagination:function(){var e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((function(a){var i=T(a);e.a11y.makeElFocusable(i),e.params.pagination.renderBullet||(e.a11y.addElRole(i,"button"),e.a11y.addElLabel(i,t.paginationBulletMessage.replace(/\{\{index\}\}/,i.index()+1)))}))},init:function(){var e=this,t=e.params.a11y;e.$el.append(e.a11y.liveRegion);var a=e.$el;t.containerRoleDescriptionMessage&&e.a11y.addElRoleDescription(a,t.containerRoleDescriptionMessage),t.containerMessage&&e.a11y.addElLabel(a,t.containerMessage);var i,s,r=e.$wrapperEl,n=r.attr("id")||"swiper-wrapper-"+e.a11y.getRandomNumber(16),l=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";e.a11y.addElId(r,n),e.a11y.addElLive(r,l),t.itemRoleDescriptionMessage&&e.a11y.addElRoleDescription(T(e.slides),t.itemRoleDescriptionMessage),e.a11y.addElRole(T(e.slides),t.slideRole),e.slides.each((function(a){var i=T(a),s=t.slideLabelMessage.replace(/\{\{index\}\}/,i.index()+1).replace(/\{\{slidesLength\}\}/,e.slides.length);e.a11y.addElLabel(i,s)})),e.navigation&&e.navigation.$nextEl&&(i=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(s=e.navigation.$prevEl),i&&i.length&&(e.a11y.makeElFocusable(i),"BUTTON"!==i[0].tagName&&(e.a11y.addElRole(i,"button"),i.on("keydown",e.a11y.onEnterOrSpaceKey)),e.a11y.addElLabel(i,t.nextSlideMessage),e.a11y.addElControls(i,n)),s&&s.length&&(e.a11y.makeElFocusable(s),"BUTTON"!==s[0].tagName&&(e.a11y.addElRole(s,"button"),s.on("keydown",e.a11y.onEnterOrSpaceKey)),e.a11y.addElLabel(s,t.prevSlideMessage),e.a11y.addElControls(s,n)),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.on("keydown",be(e.params.pagination.bulletClass),e.a11y.onEnterOrSpaceKey)},destroy:function(){var e,t,a=this;a.a11y.liveRegion&&a.a11y.liveRegion.length>0&&a.a11y.liveRegion.remove(),a.navigation&&a.navigation.$nextEl&&(e=a.navigation.$nextEl),a.navigation&&a.navigation.$prevEl&&(t=a.navigation.$prevEl),e&&e.off("keydown",a.a11y.onEnterOrSpaceKey),t&&t.off("keydown",a.a11y.onEnterOrSpaceKey),a.pagination&&a.params.pagination.clickable&&a.pagination.bullets&&a.pagination.bullets.length&&a.pagination.$el.off("keydown",be(a.params.pagination.bulletClass),a.a11y.onEnterOrSpaceKey)}},Ut={init:function(){var e=this,t=o();if(e.params.history){if(!t.history||!t.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);var a=e.history;a.initialized=!0,a.paths=Ut.getPathValues(e.params.url),(a.paths.key||a.paths.value)&&(a.scrollToSlide(0,a.paths.value,e.params.runCallbacksOnInit),e.params.history.replaceState||t.addEventListener("popstate",e.history.setHistoryPopState))}},destroy:function(){var e=this,t=o();e.params.history.replaceState||t.removeEventListener("popstate",e.history.setHistoryPopState)},setHistoryPopState:function(){var e=this;e.history.paths=Ut.getPathValues(e.params.url),e.history.scrollToSlide(e.params.speed,e.history.paths.value,!1)},getPathValues:function(e){var t=o(),a=(e?new URL(e):t.location).pathname.slice(1).split("/").filter((function(e){return""!==e})),i=a.length;return{key:a[i-2],value:a[i-1]}},setHistory:function(e,t){var a=this,i=o();if(a.history.initialized&&a.params.history.enabled){var s;s=a.params.url?new URL(a.params.url):i.location;var r=a.slides.eq(t),n=Ut.slugify(r.attr("data-history"));if(a.params.history.root.length>0){var l=a.params.history.root;"/"===l[l.length-1]&&(l=l.slice(0,l.length-1)),n=l+"/"+e+"/"+n}else s.pathname.includes(e)||(n=e+"/"+n);var d=i.history.state;d&&d.value===n||(a.params.history.replaceState?i.history.replaceState({value:n},null,n):i.history.pushState({value:n},null,n))}},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,a){var i=this;if(t)for(var s=0,r=i.slides.length;s'),i.append(e)),e.css({height:r+"px"})):0===(e=a.find(".swiper-cube-shadow")).length&&(e=T('
'),a.append(e)));for(var v=0;v-1&&(h=90*m+90*w,l&&(h=90*-m-90*w)),f.transform(C),p.slideShadows){var S=u?f.find(".swiper-slide-shadow-left"):f.find(".swiper-slide-shadow-top"),M=u?f.find(".swiper-slide-shadow-right"):f.find(".swiper-slide-shadow-bottom");0===S.length&&(S=T('
'),f.append(S)),0===M.length&&(M=T('
'),f.append(M)),S.length&&(S[0].style.opacity=Math.max(-w,0)),M.length&&(M[0].style.opacity=Math.max(w,0))}}if(i.css({"-webkit-transform-origin":"50% 50% -"+o/2+"px","-moz-transform-origin":"50% 50% -"+o/2+"px","-ms-transform-origin":"50% 50% -"+o/2+"px","transform-origin":"50% 50% -"+o/2+"px"}),p.shadow)if(u)e.transform("translate3d(0px, "+(r/2+p.shadowOffset)+"px, "+-r/2+"px) rotateX(90deg) rotateZ(0deg) scale("+p.shadowScale+")");else{var z=Math.abs(h)-90*Math.floor(Math.abs(h)/90),k=1.5-(Math.sin(2*z*Math.PI/360)/2+Math.cos(2*z*Math.PI/360)/2),P=p.shadowScale,$=p.shadowScale/k,L=p.shadowOffset;e.transform("scale3d("+P+", 1, "+$+") translate3d(0px, "+(n/2+L)+"px, "+-n/2/$+"px) rotateX(-90deg)")}var I=d.isSafari||d.isWebView?-o/2:0;i.transform("translate3d(0px,0,"+I+"px) rotateX("+(t.isHorizontal()?0:h)+"deg) rotateY("+(t.isHorizontal()?-h:0)+"deg)")},setTransition:function(e){var t=this,a=t.$el;t.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.cubeEffect.shadow&&!t.isHorizontal()&&a.find(".swiper-cube-shadow").transition(e)}},ea={setTranslate:function(){for(var e=this,t=e.slides,a=e.rtlTranslate,i=0;i'),s.append(p)),0===u.length&&(u=T('
'),s.append(u)),p.length&&(p[0].style.opacity=Math.max(-r,0)),u.length&&(u[0].style.opacity=Math.max(r,0))}s.transform("translate3d("+o+"px, "+d+"px, 0px) rotateX("+l+"deg) rotateY("+n+"deg)")}},setTransition:function(e){var t=this,a=t.slides,i=t.activeIndex,s=t.$wrapperEl;if(a.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){var r=!1;a.eq(i).transitionEnd((function(){if(!r&&t&&!t.destroyed){r=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],a=0;a'),h.append(S)),0===M.length&&(M=T('
'),h.append(M)),S.length&&(S[0].style.opacity=f>0?f:0),M.length&&(M[0].style.opacity=-f>0?-f:0)}}},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},aa={init:function(){var e=this,t=e.params.thumbs;if(e.thumbs.initialized)return!1;e.thumbs.initialized=!0;var a=e.constructor;return t.swiper instanceof a?(e.thumbs.swiper=t.swiper,me(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),me(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):fe(t.swiper)&&(e.thumbs.swiper=new a(me({},t.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),e.thumbs.swiperCreated=!0),e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",e.thumbs.onThumbClick),!0},onThumbClick:function(){var e=this,t=e.thumbs.swiper;if(t){var a=t.clickedIndex,i=t.clickedSlide;if(!(i&&T(i).hasClass(e.params.thumbs.slideThumbActiveClass)||null==a)){var s;if(s=t.params.loop?parseInt(T(t.clickedSlide).attr("data-swiper-slide-index"),10):a,e.params.loop){var r=e.activeIndex;e.slides.eq(r).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,r=e.activeIndex);var n=e.slides.eq(r).prevAll('[data-swiper-slide-index="'+s+'"]').eq(0).index(),l=e.slides.eq(r).nextAll('[data-swiper-slide-index="'+s+'"]').eq(0).index();s=void 0===n?l:void 0===l?n:l-r1?p:o:p-ot.previousIndex?"next":"prev"}else l=(n=t.realIndex)>t.previousIndex?"next":"prev";r&&(n+="next"===l?s:-1*s),a.visibleSlidesIndexes&&a.visibleSlidesIndexes.indexOf(n)<0&&(a.params.centeredSlides?n=n>o?n-Math.floor(i/2)+1:n+Math.floor(i/2)-1:n>o&&a.params.slidesPerGroup,a.slideTo(n,e?0:void 0))}var u=1,c=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(u=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(u=1),u=Math.floor(u),a.slides.removeClass(c),a.params.loop||a.params.virtual&&a.params.virtual.enabled)for(var h=0;h0&&!T(a).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&a===e.navigation.nextEl||e.navigation.prevEl&&a===e.navigation.prevEl))return;!0===e.pagination.$el.hasClass(e.params.pagination.hiddenClass)?e.emit("paginationShow"):e.emit("paginationHide"),e.pagination.$el.toggleClass(e.params.pagination.hiddenClass)}}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){ge(this,{scrollbar:a({isTouched:!1,timeout:null,dragTimeout:null},Rt)})},on:{init:function(e){e.scrollbar.init(),e.scrollbar.updateSize(),e.scrollbar.setTranslate()},update:function(e){e.scrollbar.updateSize()},resize:function(e){e.scrollbar.updateSize()},observerUpdate:function(e){e.scrollbar.updateSize()},setTranslate:function(e){e.scrollbar.setTranslate()},setTransition:function(e,t){e.scrollbar.setTransition(t)},"enable disable":function(e){var t=e.scrollbar.$el;t&&t[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)},destroy:function(e){e.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){ge(this,{parallax:a({},Wt)})},on:{beforeInit:function(e){e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},init:function(e){e.params.parallax.enabled&&e.parallax.setTranslate()},setTranslate:function(e){e.params.parallax.enabled&&e.parallax.setTranslate()},setTransition:function(e,t){e.params.parallax.enabled&&e.parallax.setTransition(t)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this;ge(e,{zoom:a({enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}},Vt)});var t=1;Object.defineProperty(e.zoom,"scale",{get:function(){return t},set:function(a){if(t!==a){var i=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,s=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",a,i,s)}t=a}})},on:{init:function(e){e.params.zoom.enabled&&e.zoom.enable()},destroy:function(e){e.zoom.disable()},touchStart:function(e,t){e.zoom.enabled&&e.zoom.onTouchStart(t)},touchEnd:function(e,t){e.zoom.enabled&&e.zoom.onTouchEnd(t)},doubleTap:function(e,t){!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&e.zoom.toggle(t)},transitionEnd:function(e){e.zoom.enabled&&e.params.zoom.enabled&&e.zoom.onTransitionEnd()},slideChange:function(e){e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&e.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){ge(this,{lazy:a({initialImageLoaded:!1},Ft)})},on:{beforeInit:function(e){e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)},init:function(e){e.params.lazy.enabled&&!e.params.loop&&0===e.params.initialSlide&&(e.params.lazy.checkInView?e.lazy.checkInViewOnLoad():e.lazy.load())},scroll:function(e){e.params.freeMode&&!e.params.freeModeSticky&&e.lazy.load()},"scrollbarDragMove resize _freeModeNoMomentumRelease":function(e){e.params.lazy.enabled&&e.lazy.load()},transitionStart:function(e){e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!e.lazy.initialImageLoaded)&&e.lazy.load()},transitionEnd:function(e){e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&e.lazy.load()},slideChange:function(e){e.params.lazy.enabled&&e.params.cssMode&&e.lazy.load()}}},qt,{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group"}},create:function(){var e=this;ge(e,{a11y:a({},jt,{liveRegion:T('')})})},on:{afterInit:function(e){e.params.a11y.enabled&&(e.a11y.init(),e.a11y.updateNavigation())},toEdge:function(e){e.params.a11y.enabled&&e.a11y.updateNavigation()},fromEdge:function(e){e.params.a11y.enabled&&e.a11y.updateNavigation()},paginationUpdate:function(e){e.params.a11y.enabled&&e.a11y.updatePagination()},destroy:function(e){e.params.a11y.enabled&&e.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,root:"",replaceState:!1,key:"slides"}},create:function(){ge(this,{history:a({},Ut)})},on:{init:function(e){e.params.history.enabled&&e.history.init()},destroy:function(e){e.params.history.enabled&&e.history.destroy()},"transitionEnd _freeModeNoMomentumRelease":function(e){e.history.initialized&&e.history.setHistory(e.params.history.key,e.activeIndex)},slideChange:function(e){e.history.initialized&&e.params.cssMode&&e.history.setHistory(e.params.history.key,e.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){ge(this,{hashNavigation:a({initialized:!1},Kt)})},on:{init:function(e){e.params.hashNavigation.enabled&&e.hashNavigation.init()},destroy:function(e){e.params.hashNavigation.enabled&&e.hashNavigation.destroy()},"transitionEnd _freeModeNoMomentumRelease":function(e){e.hashNavigation.initialized&&e.hashNavigation.setHash()},slideChange:function(e){e.hashNavigation.initialized&&e.params.cssMode&&e.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}},create:function(){ge(this,{autoplay:a({},Jt,{running:!1,paused:!1})})},on:{init:function(e){e.params.autoplay.enabled&&(e.autoplay.start(),n().addEventListener("visibilitychange",e.autoplay.onVisibilityChange),e.autoplay.attachMouseEvents())},beforeTransitionStart:function(e,t,a){e.autoplay.running&&(a||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(t):e.autoplay.stop())},sliderFirstMove:function(e){e.autoplay.running&&(e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause())},touchEnd:function(e){e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&e.autoplay.run()},destroy:function(e){e.autoplay.detachMouseEvents(),e.autoplay.running&&e.autoplay.stop(),n().removeEventListener("visibilitychange",e.autoplay.onVisibilityChange)}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){ge(this,{fadeEffect:a({},Zt)})},on:{beforeInit:function(e){if("fade"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"fade");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};me(e.params,t),me(e.originalParams,t)}},setTranslate:function(e){"fade"===e.params.effect&&e.fadeEffect.setTranslate()},setTransition:function(e,t){"fade"===e.params.effect&&e.fadeEffect.setTransition(t)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){ge(this,{cubeEffect:a({},Qt)})},on:{beforeInit:function(e){if("cube"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"cube"),e.classNames.push(e.params.containerModifierClass+"3d");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};me(e.params,t),me(e.originalParams,t)}},setTranslate:function(e){"cube"===e.params.effect&&e.cubeEffect.setTranslate()},setTransition:function(e,t){"cube"===e.params.effect&&e.cubeEffect.setTransition(t)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){ge(this,{flipEffect:a({},ea)})},on:{beforeInit:function(e){if("flip"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"flip"),e.classNames.push(e.params.containerModifierClass+"3d");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};me(e.params,t),me(e.originalParams,t)}},setTranslate:function(e){"flip"===e.params.effect&&e.flipEffect.setTranslate()},setTransition:function(e,t){"flip"===e.params.effect&&e.flipEffect.setTransition(t)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}},create:function(){ge(this,{coverflowEffect:a({},ta)})},on:{beforeInit:function(e){"coverflow"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"coverflow"),e.classNames.push(e.params.containerModifierClass+"3d"),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},setTranslate:function(e){"coverflow"===e.params.effect&&e.coverflowEffect.setTranslate()},setTransition:function(e,t){"coverflow"===e.params.effect&&e.coverflowEffect.setTransition(t)}}},{name:"thumbs",params:{thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){ge(this,{thumbs:a({swiper:null,initialized:!1},aa)})},on:{beforeInit:function(e){var t=e.params.thumbs;t&&t.swiper&&(e.thumbs.init(),e.thumbs.update(!0))},slideChange:function(e){e.thumbs.swiper&&e.thumbs.update()},update:function(e){e.thumbs.swiper&&e.thumbs.update()},resize:function(e){e.thumbs.swiper&&e.thumbs.update()},observerUpdate:function(e){e.thumbs.swiper&&e.thumbs.update()},setTransition:function(e,t){var a=e.thumbs.swiper;a&&a.setTransition(t)},beforeDestroy:function(e){var t=e.thumbs.swiper;t&&e.thumbs.swiperCreated&&t&&t.destroy()}}}];return Ot.use(ia),Ot}()}}]); \ No newline at end of file diff --git a/wp-content/plugins/jetpack/_inc/blocks/ai-chat/view.asset.php b/wp-content/plugins/jetpack/_inc/blocks/ai-chat/view.asset.php index edc767530..89ea202b5 100644 --- a/wp-content/plugins/jetpack/_inc/blocks/ai-chat/view.asset.php +++ b/wp-content/plugins/jetpack/_inc/blocks/ai-chat/view.asset.php @@ -1 +1 @@ - array('react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-dom-ready', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-polyfill'), 'version' => 'af8cf14e75fd2d51ce6e'); + array('react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-dom-ready', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-polyfill'), 'version' => 'e5eb22c18228bc67fcfb'); diff --git a/wp-content/plugins/jetpack/_inc/blocks/ai-chat/view.js b/wp-content/plugins/jetpack/_inc/blocks/ai-chat/view.js index 17a1da853..8e9d1f046 100644 --- a/wp-content/plugins/jetpack/_inc/blocks/ai-chat/view.js +++ b/wp-content/plugins/jetpack/_inc/blocks/ai-chat/view.js @@ -1,2 +1,2 @@ /*! For license information please see view.js.LICENSE.txt */ -(()=>{var e={84788:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(2378);let o,a,i,c;const s=/<(\/)?(\w+)\s*(\/)?>/g;function u(e,t,r,n,o){return{element:e,tokenStart:t,tokenLength:r,prevOffset:n,leadingTextStart:o,children:[]}}const l=e=>{const t="object"==typeof e,r=t&&Object.values(e);return t&&r.length&&r.every((e=>(0,n.isValidElement)(e)))};function d(e){const t=function(){const e=s.exec(o);if(null===e)return["no-more-tokens"];const t=e.index,[r,n,a,i]=e,c=r.length;if(i)return["self-closed",a,t,c];if(n)return["closer",a,t,c];return["opener",a,t,c]}(),[r,l,d,m]=t,h=c.length,b=d>a?a:null;if(!e[l])return p(),!1;switch(r){case"no-more-tokens":if(0!==h){const{leadingTextStart:e,tokenStart:t}=c.pop();i.push(o.substr(e,t))}return p(),!1;case"self-closed":return 0===h?(null!==b&&i.push(o.substr(b,d-b)),i.push(e[l]),a=d+m,!0):(f(u(e[l],d,m)),a=d+m,!0);case"opener":return c.push(u(e[l],d,m,d+m,b)),a=d+m,!0;case"closer":if(1===h)return function(e){const{element:t,leadingTextStart:r,prevOffset:a,tokenStart:s,children:u}=c.pop(),l=e?o.substr(a,e-a):o.substr(a);l&&u.push(l);null!==r&&i.push(o.substr(r,s-r));i.push((0,n.cloneElement)(t,null,...u))}(d),a=d+m,!0;const t=c.pop(),r=o.substr(t.prevOffset,d-t.prevOffset);t.children.push(r),t.prevOffset=d+m;const s=u(t.element,t.tokenStart,t.tokenLength,d+m);return s.children=t.children,f(s),a=d+m,!0;default:return p(),!1}}function p(){const e=o.length-a;0!==e&&i.push(o.substr(a,e))}function f(e){const{element:t,tokenStart:r,tokenLength:a,prevOffset:i,children:s}=e,u=c[c.length-1],l=o.substr(u.prevOffset,r-u.prevOffset);l&&u.children.push(l),u.children.push((0,n.cloneElement)(t,null,...s)),u.prevOffset=i||r+a}t.default=(e,t)=>{if(o=e,a=0,i=[],c=[],s.lastIndex=0,!l(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are React Elements");do{}while(d(t));return(0,n.createElement)(n.Fragment,null,...i)}},51806:(e,t,r)=>{"use strict";var n=r(25877);Object.defineProperty(t,"__esModule",{value:!0});var o={createInterpolateElement:!0,Platform:!0,renderToString:!0,RawHTML:!0};Object.defineProperty(t,"Platform",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"RawHTML",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"createInterpolateElement",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"renderToString",{enumerable:!0,get:function(){return l.default}});var a=n(r(84788)),i=r(2378);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var c=r(29115);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var s=r(82986);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var u=n(r(82912)),l=n(r(51962)),d=n(r(74745))},82912:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={OS:"web",select:e=>"web"in e?e.web:e.default,isWeb:!0}},74745:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({children:e,...t}){let r="";return n.Children.toArray(e).forEach((e=>{"string"==typeof e&&""!==e.trim()&&(r+=e)})),(0,n.createElement)("div",{dangerouslySetInnerHTML:{__html:r},...t})};var n=r(2378)},29115:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createPortal",{enumerable:!0,get:function(){return n.createPortal}}),Object.defineProperty(t,"createRoot",{enumerable:!0,get:function(){return o.createRoot}}),Object.defineProperty(t,"findDOMNode",{enumerable:!0,get:function(){return n.findDOMNode}}),Object.defineProperty(t,"flushSync",{enumerable:!0,get:function(){return n.flushSync}}),Object.defineProperty(t,"hydrate",{enumerable:!0,get:function(){return n.hydrate}}),Object.defineProperty(t,"hydrateRoot",{enumerable:!0,get:function(){return o.hydrateRoot}}),Object.defineProperty(t,"render",{enumerable:!0,get:function(){return n.render}}),Object.defineProperty(t,"unmountComponentAtNode",{enumerable:!0,get:function(){return n.unmountComponentAtNode}});var n=r(91850),o=r(51516)},2378:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Children",{enumerable:!0,get:function(){return n.Children}}),Object.defineProperty(t,"Component",{enumerable:!0,get:function(){return n.Component}}),Object.defineProperty(t,"Fragment",{enumerable:!0,get:function(){return n.Fragment}}),Object.defineProperty(t,"PureComponent",{enumerable:!0,get:function(){return n.PureComponent}}),Object.defineProperty(t,"StrictMode",{enumerable:!0,get:function(){return n.StrictMode}}),Object.defineProperty(t,"Suspense",{enumerable:!0,get:function(){return n.Suspense}}),Object.defineProperty(t,"cloneElement",{enumerable:!0,get:function(){return n.cloneElement}}),t.concatChildren=function(...e){return e.reduce(((e,t,r)=>(n.Children.forEach(t,((t,o)=>{t&&"string"!=typeof t&&(t=(0,n.cloneElement)(t,{key:[r,o].join()})),e.push(t)})),e)),[])},Object.defineProperty(t,"createContext",{enumerable:!0,get:function(){return n.createContext}}),Object.defineProperty(t,"createElement",{enumerable:!0,get:function(){return n.createElement}}),Object.defineProperty(t,"createRef",{enumerable:!0,get:function(){return n.createRef}}),Object.defineProperty(t,"forwardRef",{enumerable:!0,get:function(){return n.forwardRef}}),Object.defineProperty(t,"isValidElement",{enumerable:!0,get:function(){return n.isValidElement}}),Object.defineProperty(t,"lazy",{enumerable:!0,get:function(){return n.lazy}}),Object.defineProperty(t,"memo",{enumerable:!0,get:function(){return n.memo}}),Object.defineProperty(t,"startTransition",{enumerable:!0,get:function(){return n.startTransition}}),t.switchChildrenNodeName=function(e,t){return e&&n.Children.map(e,((e,r)=>{if("string"==typeof e?.valueOf())return(0,n.createElement)(t,{key:r},e);const{children:o,...a}=e.props;return(0,n.createElement)(t,{key:r,...a},o)}))},Object.defineProperty(t,"useCallback",{enumerable:!0,get:function(){return n.useCallback}}),Object.defineProperty(t,"useContext",{enumerable:!0,get:function(){return n.useContext}}),Object.defineProperty(t,"useDebugValue",{enumerable:!0,get:function(){return n.useDebugValue}}),Object.defineProperty(t,"useDeferredValue",{enumerable:!0,get:function(){return n.useDeferredValue}}),Object.defineProperty(t,"useEffect",{enumerable:!0,get:function(){return n.useEffect}}),Object.defineProperty(t,"useId",{enumerable:!0,get:function(){return n.useId}}),Object.defineProperty(t,"useImperativeHandle",{enumerable:!0,get:function(){return n.useImperativeHandle}}),Object.defineProperty(t,"useInsertionEffect",{enumerable:!0,get:function(){return n.useInsertionEffect}}),Object.defineProperty(t,"useLayoutEffect",{enumerable:!0,get:function(){return n.useLayoutEffect}}),Object.defineProperty(t,"useMemo",{enumerable:!0,get:function(){return n.useMemo}}),Object.defineProperty(t,"useReducer",{enumerable:!0,get:function(){return n.useReducer}}),Object.defineProperty(t,"useRef",{enumerable:!0,get:function(){return n.useRef}}),Object.defineProperty(t,"useState",{enumerable:!0,get:function(){return n.useState}}),Object.defineProperty(t,"useSyncExternalStore",{enumerable:!0,get:function(){return n.useSyncExternalStore}}),Object.defineProperty(t,"useTransition",{enumerable:!0,get:function(){return n.useTransition}});var n=r(99196)},51962:(e,t,r)=>{"use strict";var n=r(25877);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.hasPrefix=y,t.renderAttributes=T,t.renderComponent=x,t.renderElement=S,t.renderNativeComponent=P,t.renderStyle=M;var o=r(62313),a=r(28132),i=r(81975),c=r(2378),s=n(r(74745));const{Provider:u,Consumer:l}=(0,c.createContext)(void 0),d=(0,c.forwardRef)((()=>null)),p=new Set(["string","boolean","number"]),f=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),m=new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),h=new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),b=new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"]);function y(e,t){return t.some((t=>0===e.indexOf(t)))}function g(e){return"key"===e||"children"===e}function k(e,t){return"style"===e?M(t):t}const w=["accentHeight","alignmentBaseline","arabicForm","baselineShift","capHeight","clipPath","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","dominantBaseline","enableBackground","fillOpacity","fillRule","floodColor","floodOpacity","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","horizAdvX","horizOriginX","imageRendering","letterSpacing","lightingColor","markerEnd","markerMid","markerStart","overlinePosition","overlineThickness","paintOrder","panose1","pointerEvents","renderingIntent","shapeRendering","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","textAnchor","textDecoration","textRendering","underlinePosition","underlineThickness","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","vHanging","vIdeographic","vMathematical","vectorEffect","vertAdvY","vertOriginX","vertOriginY","wordSpacing","writingMode","xmlnsXlink","xHeight"].reduce(((e,t)=>(e[t.toLowerCase()]=t,e)),{}),v=["allowReorder","attributeName","attributeType","autoReverse","baseFrequency","baseProfile","calcMode","clipPathUnits","contentScriptType","contentStyleType","diffuseConstant","edgeMode","externalResourcesRequired","filterRes","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","suppressContentEditableWarning","suppressHydrationWarning","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector"].reduce(((e,t)=>(e[t.toLowerCase()]=t,e)),{}),j=["xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space","xmlns:xlink"].reduce(((e,t)=>(e[t.replace(":","").toLowerCase()]=t,e)),{});function O(e){switch(e){case"htmlFor":return"for";case"className":return"class"}const t=e.toLowerCase();return v[t]?v[t]:w[t]?(0,a.paramCase)(w[t]):j[t]?j[t]:t}function E(e){return e.startsWith("--")?e:y(e,["ms","O","Moz","Webkit"])?"-"+(0,a.paramCase)(e):(0,a.paramCase)(e)}function C(e,t){return"number"!=typeof t||0===t||b.has(e)?t:t+"px"}function S(e,t,r={}){if(null==e||!1===e)return"";if(Array.isArray(e))return _(e,t,r);switch(typeof e){case"string":return(0,i.escapeHTML)(e);case"number":return e.toString()}const{type:n,props:o}=e;switch(n){case c.StrictMode:case c.Fragment:return _(o.children,t,r);case s.default:const{children:e,...n}=o;return P(Object.keys(n).length?"div":null,{...n,dangerouslySetInnerHTML:{__html:e}},t,r)}switch(typeof n){case"string":return P(n,o,t,r);case"function":return n.prototype&&"function"==typeof n.prototype.render?x(n,o,t,r):S(n(o,r),t,r)}switch(n&&n.$$typeof){case u.$$typeof:return _(o.children,o.value,r);case l.$$typeof:return S(o.children(t||n._currentValue),t,r);case d.$$typeof:return S(n.render(o),t,r)}return""}function P(e,t,r,n={}){let o="";if("textarea"===e&&t.hasOwnProperty("value")){o=_(t.value,r,n);const{value:e,...a}=t;t=a}else t.dangerouslySetInnerHTML&&"string"==typeof t.dangerouslySetInnerHTML.__html?o=t.dangerouslySetInnerHTML.__html:void 0!==t.children&&(o=_(t.children,r,n));if(!e)return o;const a=T(t);return f.has(e)?"<"+e+a+"/>":"<"+e+a+">"+o+""}function x(e,t,r,n={}){const o=new e(t,n);"function"==typeof o.getChildContext&&Object.assign(n,o.getChildContext());return S(o.render(),r,n)}function _(e,t,r={}){let n="";e=Array.isArray(e)?e:[e];for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmptyElement=void 0;t.isEmptyElement=e=>"number"!=typeof e&&("string"==typeof e?.valueOf()||Array.isArray(e)?!e.length:!e)},59823:(e,t,r)=>{"use strict";r.d(t,{AG:()=>i,Ti:()=>a,eV:()=>c});var n=r(38697),o=r(72867);function a(e,t){return 0===t?e.toLowerCase():(0,o.By)(e,t)}function i(e,t){return 0===t?e.toLowerCase():(0,o.Pv)(e)}function c(e,t){return void 0===t&&(t={}),(0,o.Ho)(e,(0,n.pi)({transform:a},t))}},81338:(e,t,r)=>{"use strict";r.d(t,{I:()=>c,w:()=>i});var n=r(38697),o=r(68308),a=r(83078);function i(e){return(0,a.l)(e.toLowerCase())}function c(e,t){return void 0===t&&(t={}),(0,o.B)(e,(0,n.pi)({delimiter:" ",transform:i},t))}},28132:(e,t,r)=>{"use strict";r.r(t),r.d(t,{camelCase:()=>n.eV,camelCaseTransform:()=>n.Ti,camelCaseTransformMerge:()=>n.AG,capitalCase:()=>o.I,capitalCaseTransform:()=>o.w,constantCase:()=>a.c,dotCase:()=>i.$,headerCase:()=>c.e,noCase:()=>s.B,paramCase:()=>u.o,pascalCase:()=>l.Ho,pascalCaseTransform:()=>l.By,pascalCaseTransformMerge:()=>l.Pv,pathCase:()=>d.Y,sentenceCase:()=>p.G,sentenceCaseTransform:()=>p.a,snakeCase:()=>f.f});var n=r(59823),o=r(81338),a=r(56233),i=r(77352),c=r(20025),s=r(68308),u=r(76854),l=r(72867),d=r(76559),p=r(44434),f=r(59491)},56233:(e,t,r)=>{"use strict";r.d(t,{c:()=>i});var n=r(38697),o=r(68308),a=r(48936);function i(e,t){return void 0===t&&(t={}),(0,o.B)(e,(0,n.pi)({delimiter:"_",transform:a.L},t))}},77352:(e,t,r)=>{"use strict";r.d(t,{$:()=>a});var n=r(38697),o=r(68308);function a(e,t){return void 0===t&&(t={}),(0,o.B)(e,(0,n.pi)({delimiter:"."},t))}},20025:(e,t,r)=>{"use strict";r.d(t,{e:()=>a});var n=r(38697),o=r(81338);function a(e,t){return void 0===t&&(t={}),(0,o.I)(e,(0,n.pi)({delimiter:"-"},t))}},62313:(e,t)=>{"use strict";function r(e){return"[object Object]"===Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=function(e){var t,n;return!1!==r(e)&&(void 0===(t=e.constructor)||!1!==r(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}},97740:(e,t,r)=>{"use strict";r.d(t,{U:()=>n});function n(e){return e.toLowerCase()}},68308:(e,t,r)=>{"use strict";r.d(t,{B:()=>i});var n=r(97740),o=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],a=/[^A-Z0-9]+/gi;function i(e,t){void 0===t&&(t={});for(var r=t.splitRegexp,i=void 0===r?o:r,s=t.stripRegexp,u=void 0===s?a:s,l=t.transform,d=void 0===l?n.U:l,p=t.delimiter,f=void 0===p?" ":p,m=c(c(e,i,"$1\0$2"),u,"\0"),h=0,b=m.length;"\0"===m.charAt(h);)h++;for(;"\0"===m.charAt(b-1);)b--;return m.slice(h,b).split("\0").map(d).join(f)}function c(e,t,r){return t instanceof RegExp?e.replace(t,r):t.reduce((function(e,t){return e.replace(t,r)}),e)}},76854:(e,t,r)=>{"use strict";r.d(t,{o:()=>a});var n=r(38697),o=r(77352);function a(e,t){return void 0===t&&(t={}),(0,o.$)(e,(0,n.pi)({delimiter:"-"},t))}},72867:(e,t,r)=>{"use strict";r.d(t,{By:()=>a,Ho:()=>c,Pv:()=>i});var n=r(38697),o=r(68308);function a(e,t){var r=e.charAt(0),n=e.substr(1).toLowerCase();return t>0&&r>="0"&&r<="9"?"_"+r+n:""+r.toUpperCase()+n}function i(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}function c(e,t){return void 0===t&&(t={}),(0,o.B)(e,(0,n.pi)({delimiter:"",transform:a},t))}},76559:(e,t,r)=>{"use strict";r.d(t,{Y:()=>a});var n=r(38697),o=r(77352);function a(e,t){return void 0===t&&(t={}),(0,o.$)(e,(0,n.pi)({delimiter:"/"},t))}},51516:(e,t,r)=>{"use strict";var n=r(91850);t.createRoot=n.createRoot,t.hydrateRoot=n.hydrateRoot},44434:(e,t,r)=>{"use strict";r.d(t,{G:()=>c,a:()=>i});var n=r(38697),o=r(68308),a=r(83078);function i(e,t){var r=e.toLowerCase();return 0===t?(0,a.l)(r):r}function c(e,t){return void 0===t&&(t={}),(0,o.B)(e,(0,n.pi)({delimiter:" ",transform:i},t))}},59491:(e,t,r)=>{"use strict";r.d(t,{f:()=>a});var n=r(38697),o=r(77352);function a(e,t){return void 0===t&&(t={}),(0,o.$)(e,(0,n.pi)({delimiter:"_"},t))}},96481:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(51806),o=r(55609),a=r(94333),i=r(69307),c=r(65736),s=r(7530);const __=c.__,_x=c._x;function u({answer:e}){const[t,r]=(0,i.useState)(!1),c=(new DOMParser).parseFromString(e,"text/html"),u=c.body.textContent||c.body.innerText||"",l=(0,a.useCopyToClipboard)(u,(()=>{r(!0),setTimeout((()=>r(!1)),3e3)}));return(0,n.createElement)("div",{className:"jetpack-ai-chat-copy-button-container"},(0,n.createElement)(o.Button,{className:"jetpack-ai-chat-copy-button",disabled:t,label:__("Copy Response","jetpack"),variant:"has-text",ref:l},(0,n.createElement)(o.Icon,{className:"copy-icon",icon:s.Km}),t?_x("Copied!","Copied to clipboard","jetpack"):_x("Copy Response","Copy to clipboard.","jetpack")))}},5023:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(51806),o=r(65736);const __=o.__;function a(){return(0,n.createElement)("div",{className:"jetpack-ai-chat-error-container"},__("There was an error while generating the answer. Please try again later.","jetpack"))}},76430:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(51806),o=r(55609),a=r(69307),i=r(65736),c=r(7530),s=r(39137),u=r(5023);const __=i.__;function l({blogType:e,blogId:t,cacheKey:r,feedbackSubmitted:i,addFeedback:l}){const{isSubmittingFeedback:d,submitFeedback:p,feedbackError:f,setFeedbackError:m}=(0,s.Z)(e,t);(0,a.useEffect)((()=>{r.startsWith("jp-search-ai-")&&(b({rank:"",comment:""}),g(!1),m(!1))}),[r]);const[h,b]=(0,a.useState)({rank:"",comment:""}),[y,g]=(0,a.useState)(!1),k=i.includes(r),w=e=>{b({...h,rank:e}),g(!0)},v=!f&&!k;return(0,n.createElement)("div",{className:"jetpack-ai-chat-feedback-container"},f&&(0,n.createElement)(u.Z,{error:f}),k&&(0,n.createElement)("div",{className:"jetpack-ai-chat-feedback-submitted"},__("Thanks for your feedback!","jetpack")),v&&(0,n.createElement)("div",{className:"jetpack-ai-chat-answer-feedback"},(0,n.createElement)("hr",null),(0,n.createElement)("div",{className:"jetpack-ai-chat-answer-feedback-buttons"},__("Was this helpful?","jetpack"),(0,n.createElement)("a",{role:"button",className:"thumbs-up",disabled:d||"thumbs-up"===h.rank,label:__("Thumbs up","jetpack"),onClick:()=>w("thumbs-up")},(0,n.createElement)(o.Icon,{icon:c.Vw})),(0,n.createElement)("a",{role:"button",className:"thumbs-down",disabled:d||"thumbs-down"===h.rank,label:__("Thumbs down","jetpack"),onClick:()=>w("thumbs-down")},(0,n.createElement)(o.Icon,{icon:c.LX}))),y&&(0,n.createElement)("div",{className:"jetpack-ai-chat-feedback-form"},(0,n.createElement)(o.TextControl,{className:"jetpack-ai-chat-feedback-input",placeholder:"thumbs-up"===h.rank?__("What did you like about it?","jetpack"):__("What didn't you like about it? How could it be improved?","jetpack"),size:50,value:h.comment,disabled:d||k,onChange:e=>b({...h,comment:e})}),(0,n.createElement)(o.Button,{className:"wp-block-button__link jetpack-ai-chat-feedback-submit",onClick:()=>{p(h,r),l(r),p(h,r)},disabled:d||k},__("Submit","jetpack")))))}},53497:(e,t,r)=>{"use strict";r.d(t,{K:()=>a,j:()=>o});var n=r(65736);const __=n.__,o=__("Ask","jetpack"),a=__("Ask a question about this site","jetpack")},7530:(e,t,r)=>{"use strict";r.d(t,{Km:()=>c,LX:()=>i,Vw:()=>a});var n=r(51806),o=r(55609);const a=(0,n.createElement)(o.SVG,{viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(o.Path,{d:"M466.27 286.69C475.04 271.84 480 256 480 236.85c0-44.015-37.218-85.58-85.82-85.58H357.7c4.92-12.81 8.85-28.13 8.85-46.54C366.55 31.936 328.86 0 271.28 0c-61.607 0-58.093 94.933-71.76 108.6-22.747 22.747-49.615 66.447-68.76 83.4H32c-17.673 0-32 14.327-32 32v240c0 17.673 14.327 32 32 32h64c14.893 0 27.408-10.174 30.978-23.95 44.509 1.001 75.06 39.94 177.802 39.94 7.22 0 15.22.01 22.22.01 77.117 0 111.986-39.423 112.94-95.33 13.319-18.425 20.299-43.122 17.34-66.99 9.854-18.452 13.664-40.343 8.99-62.99zm-61.75 53.83c12.56 21.13 1.26 49.41-13.94 57.57 7.7 48.78-17.608 65.9-53.12 65.9h-37.82c-71.639 0-118.029-37.82-171.64-37.82V240h10.92c28.36 0 67.98-70.89 94.54-97.46 28.36-28.36 18.91-75.63 37.82-94.54 47.27 0 47.27 32.98 47.27 56.73 0 39.17-28.36 56.72-28.36 94.54h103.99c21.11 0 37.73 18.91 37.82 37.82.09 18.9-12.82 37.81-22.27 37.81 13.489 14.555 16.371 45.236-5.21 65.62zM88 432c0 13.255-10.745 24-24 24s-24-10.745-24-24 10.745-24 24-24 24 10.745 24 24z"})),i=(0,n.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},(0,n.createElement)(o.Path,{d:"M466.27 225.31c4.674-22.647.864-44.538-8.99-62.99 2.958-23.868-4.021-48.565-17.34-66.99C438.986 39.423 404.117 0 327 0c-7 0-15 .01-22.22.01C201.195.01 168.997 40 128 40h-10.845c-5.64-4.975-13.042-8-21.155-8H32C14.327 32 0 46.327 0 64v240c0 17.673 14.327 32 32 32h64c11.842 0 22.175-6.438 27.708-16h7.052c19.146 16.953 46.013 60.653 68.76 83.4 13.667 13.667 10.153 108.6 71.76 108.6 57.58 0 95.27-31.936 95.27-104.73 0-18.41-3.93-33.73-8.85-46.54h36.48c48.602 0 85.82-41.565 85.82-85.58 0-19.15-4.96-34.99-13.73-49.84zM64 296c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24zm330.18 16.73H290.19c0 37.82 28.36 55.37 28.36 94.54 0 23.75 0 56.73-47.27 56.73-18.91-18.91-9.46-66.18-37.82-94.54C206.9 342.89 167.28 272 138.92 272H128V85.83c53.611 0 100.001-37.82 171.64-37.82h37.82c35.512 0 60.82 17.12 53.12 65.9 15.2 8.16 26.5 36.44 13.94 57.57 21.581 20.384 18.699 51.065 5.21 65.62 9.45 0 22.36 18.91 22.27 37.81-.09 18.91-16.71 37.82-37.82 37.82z"})),c=(0,n.createElement)(o.SVG,{stroke:"currentColor",fill:"none",strokeWidth:"2",viewBox:"0 0 24 24",strokeLinecap:"round",strokeLinejoin:"round",height:"1.5em",width:"1.5em",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(o.Path,{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"}),(0,n.createElement)(o.Rect,{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"}))},43827:(e,t,r)=>{"use strict";r.d(t,{Z:()=>m});var n=r(51806),o=r(55609),a=r(69307),i=r(65736),c=r(96481),s=r(5023),u=r(76430),l=r(53497),d=r(62904);const __=i.__,p=[__("Good question, give me a moment to think about that 🤔","jetpack"),__("Let me work out the answer to that, back soon!","jetpack"),__("🤔 Thinking, thinking, will be back with an answer soon","jetpack")];function f({html:e,showAnimation:t,onAnimationDone:r}){const[o,i]=(0,a.useState)("");return(0,a.useEffect)((()=>{if(t&&e){const t=e.split(" ");for(let e=1;ei(r)),50*e)}setTimeout((()=>{i(e),r()}),50*t.length)}else i(e),r()}),[]),(0,n.createElement)("div",{className:"content"},(0,n.createElement)(a.RawHTML,null,o))}function m({askButtonLabel:e=l.j,blogId:t,blogType:r,placeholder:i=l.K,settingShowCopy:m,settingShowFeedback:h,settingShowSources:b}){const{question:y,setQuestion:g,answer:k,isLoading:w,submitQuestion:v,references:j,askError:O,setAskError:E,cacheKey:C}=(0,d.Z)(r,t),[S,P]=(0,a.useState)(!0),[x,_]=(0,a.useState)(!1),[T,M]=(0,a.useState)([]),[A,R]=(0,a.useState)(""),L=()=>{E(!1),P(!1),_(!1),M([]),R(y),v()},I=m&&S&&!w&&k,N=h&&S&&!w&&C;return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(o.KeyboardShortcuts,{shortcuts:{enter:L}},(0,n.createElement)("div",{className:"jetpack-ai-chat-question-wrapper"},(0,n.createElement)(o.TextControl,{className:"jetpack-ai-chat-question-input",placeholder:i,size:50,disabled:!S||w,value:y,onChange:e=>g(e)}),(0,n.createElement)(o.Button,{className:"wp-block-button__link jetpack-ai-chat-question-button",disabled:!S||w,onClick:L},w&&(0,n.createElement)(o.Spinner,null),!w&&e))),(0,n.createElement)("div",null,(0,n.createElement)("div",{className:"jetpack-ai-chat-answer-container"},A&&(0,n.createElement)("h2",null,A),w&&p[Math.floor(3*Math.random())],!w&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)(f,{showAnimation:!S,onAnimationDone:()=>{P(!0),_(!0)},html:k}))),O&&!w&&(0,n.createElement)(s.Z,{error:O}),I&&(0,n.createElement)(c.Z,{answer:k}),b&&j&&j.length>0&&x&&(0,n.createElement)("div",{className:"jetpack-ai-chat-answer-references"},(0,n.createElement)("h3",null,__("Additional resources:","jetpack")),(0,n.createElement)("ul",null,j.map(((e,t)=>(0,n.createElement)("li",{key:t},(0,n.createElement)(o.ExternalLink,{href:e.url},e.title))))),(0,n.createElement)("hr",null)),N&&(0,n.createElement)(u.Z,{blogId:t,blogType:r,cacheKey:C,feedbackSubmitted:T,addFeedback:e=>{M([...T,e])}})))}},39137:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(86989),o=r.n(n),a=r(69307);function i(e,t){const[r,n]=(0,a.useState)(!1),[i,c]=(0,a.useState)(!1);return{isSubmittingFeedback:r,submitFeedback:async(r,a)=>{let i=`/wpcom/v2/jetpack-search/ai/rank?cache_key=${a}`;"wpcom"===e&&(i=`/wpcom/v2/sites/${t}/jetpack-search/ai/rank?cache_key=${a}`),n(!0),await o()({path:i,method:"POST",data:{rank:r.rank,comment:r.comment}}).then((()=>{c(!1)})).catch((e=>{c(e)})).finally((()=>{n(!1)}))},feedbackError:i,setFeedbackError:c}}},62904:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(86989),o=r.n(n),a=r(69307);function i(e,t){const[r,n]=(0,a.useState)(""),[i,c]=(0,a.useState)(null),[s,u]=(0,a.useState)(""),[l,d]=(0,a.useState)(!1),[p,f]=(0,a.useState)([]),[m,h]=(0,a.useState)(!1);return{question:r,setQuestion:n,answer:i,isLoading:m,submitQuestion:async()=>{let n=`/wpcom/v2/jetpack-search/ai/search?query=${r}`;"wpcom"===e&&(n=`/wpcom/v2/sites/${t}/jetpack-search/ai/search?query=${r}`),h(!0),c(null),o()({path:n,method:"GET"}).then((e=>{u(e.cache_key),c(e.response),f(e.urls)})).catch((e=>{u(""),f([]),d(e)})).finally((()=>{h(!1)}))},references:p,cacheKey:s,askError:l,setAskError:d}}},80425:(e,t,r)=>{"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(r.p=window.Jetpack_Block_Assets_Base_Url)},38697:(e,t,r)=>{"use strict";r.d(t,{pi:()=>n});var n=function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r{"use strict";function n(e){return e.charAt(0).toUpperCase()+e.substr(1)}r.d(t,{l:()=>n})},48936:(e,t,r)=>{"use strict";r.d(t,{L:()=>n});function n(e){return e.toUpperCase()}},99196:e=>{"use strict";e.exports=window.React},91850:e=>{"use strict";e.exports=window.ReactDOM},86989:e=>{"use strict";e.exports=window.wp.apiFetch},55609:e=>{"use strict";e.exports=window.wp.components},94333:e=>{"use strict";e.exports=window.wp.compose},47701:e=>{"use strict";e.exports=window.wp.domReady},69307:e=>{"use strict";e.exports=window.wp.element},81975:e=>{"use strict";e.exports=window.wp.escapeHtml},65736:e=>{"use strict";e.exports=window.wp.i18n},25877:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");n.length&&(e=n[n.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e+"../"})(),(()=>{"use strict";r(80425)})(),(()=>{"use strict";var e=r(51806),t=r(47701),n=r.n(t),o=r(69307),a=r(53497),i=r(43827);const c=({askButtonLabel:t=a.j,blogId:r,blogType:n,placeholder:o=a.K,showCopy:c,showFeedback:s,showSources:u})=>(0,e.createElement)("div",null,(0,e.createElement)(i.Z,{askButtonLabel:t,blogId:r,blogType:n,placeholder:o,settingShowCopy:c,settingShowFeedback:s,settingShowSources:u}));n()((function(){const t=document.querySelector("#jetpack-ai-chat"),r=t.getAttribute("data-ask-button-label"),n=t.getAttribute("data-placeholder"),a=t.getAttribute("data-blog-id"),i=t.getAttribute("data-blog-type");(0,o.createRoot)(t).render((0,e.createElement)(c,{askButtonLabel:r,blogId:a,blogType:i,placeholder:n,showCopy:!!parseInt(t.getAttribute("data-show-copy")),showFeedback:!!parseInt(t.getAttribute("data-show-feedback")),showSources:!!parseInt(t.getAttribute("data-show-sources"))}))}))})()})(); \ No newline at end of file +(()=>{var e={95723:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(84265);let o,a,i,c;const s=/<(\/)?(\w+)\s*(\/)?>/g;function u(e,t,r,n,o){return{element:e,tokenStart:t,tokenLength:r,prevOffset:n,leadingTextStart:o,children:[]}}const l=e=>{const t="object"==typeof e,r=t&&Object.values(e);return t&&r.length&&r.every((e=>(0,n.isValidElement)(e)))};function d(e){const t=function(){const e=s.exec(o);if(null===e)return["no-more-tokens"];const t=e.index,[r,n,a,i]=e,c=r.length;if(i)return["self-closed",a,t,c];if(n)return["closer",a,t,c];return["opener",a,t,c]}(),[r,l,d,m]=t,h=c.length,b=d>a?a:null;if(!e[l])return p(),!1;switch(r){case"no-more-tokens":if(0!==h){const{leadingTextStart:e,tokenStart:t}=c.pop();i.push(o.substr(e,t))}return p(),!1;case"self-closed":return 0===h?(null!==b&&i.push(o.substr(b,d-b)),i.push(e[l]),a=d+m,!0):(f(u(e[l],d,m)),a=d+m,!0);case"opener":return c.push(u(e[l],d,m,d+m,b)),a=d+m,!0;case"closer":if(1===h)return function(e){const{element:t,leadingTextStart:r,prevOffset:a,tokenStart:s,children:u}=c.pop(),l=e?o.substr(a,e-a):o.substr(a);l&&u.push(l);null!==r&&i.push(o.substr(r,s-r));i.push((0,n.cloneElement)(t,null,...u))}(d),a=d+m,!0;const t=c.pop(),r=o.substr(t.prevOffset,d-t.prevOffset);t.children.push(r),t.prevOffset=d+m;const s=u(t.element,t.tokenStart,t.tokenLength,d+m);return s.children=t.children,f(s),a=d+m,!0;default:return p(),!1}}function p(){const e=o.length-a;0!==e&&i.push(o.substr(a,e))}function f(e){const{element:t,tokenStart:r,tokenLength:a,prevOffset:i,children:s}=e,u=c[c.length-1],l=o.substr(u.prevOffset,r-u.prevOffset);l&&u.children.push(l),u.children.push((0,n.cloneElement)(t,null,...s)),u.prevOffset=i||r+a}t.default=(e,t)=>{if(o=e,a=0,i=[],c=[],s.lastIndex=0,!l(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are React Elements");do{}while(d(t));return(0,n.createElement)(n.Fragment,null,...i)}},82170:(e,t,r)=>{"use strict";var n=r(98504);Object.defineProperty(t,"__esModule",{value:!0});var o={createInterpolateElement:!0,Platform:!0,renderToString:!0,RawHTML:!0};Object.defineProperty(t,"Platform",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"RawHTML",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"createInterpolateElement",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"renderToString",{enumerable:!0,get:function(){return l.default}});var a=n(r(95723)),i=r(84265);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var c=r(81649);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var s=r(98219);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var u=n(r(52595)),l=n(r(54852)),d=n(r(94468))},52595:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={OS:"web",select:e=>"web"in e?e.web:e.default,isWeb:!0}},94468:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({children:e,...t}){let r="";return n.Children.toArray(e).forEach((e=>{"string"==typeof e&&""!==e.trim()&&(r+=e)})),(0,n.createElement)("div",{dangerouslySetInnerHTML:{__html:r},...t})};var n=r(84265)},81649:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createPortal",{enumerable:!0,get:function(){return n.createPortal}}),Object.defineProperty(t,"createRoot",{enumerable:!0,get:function(){return o.createRoot}}),Object.defineProperty(t,"findDOMNode",{enumerable:!0,get:function(){return n.findDOMNode}}),Object.defineProperty(t,"flushSync",{enumerable:!0,get:function(){return n.flushSync}}),Object.defineProperty(t,"hydrate",{enumerable:!0,get:function(){return n.hydrate}}),Object.defineProperty(t,"hydrateRoot",{enumerable:!0,get:function(){return o.hydrateRoot}}),Object.defineProperty(t,"render",{enumerable:!0,get:function(){return n.render}}),Object.defineProperty(t,"unmountComponentAtNode",{enumerable:!0,get:function(){return n.unmountComponentAtNode}});var n=r(75795),o=r(18950)},84265:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Children",{enumerable:!0,get:function(){return n.Children}}),Object.defineProperty(t,"Component",{enumerable:!0,get:function(){return n.Component}}),Object.defineProperty(t,"Fragment",{enumerable:!0,get:function(){return n.Fragment}}),Object.defineProperty(t,"PureComponent",{enumerable:!0,get:function(){return n.PureComponent}}),Object.defineProperty(t,"StrictMode",{enumerable:!0,get:function(){return n.StrictMode}}),Object.defineProperty(t,"Suspense",{enumerable:!0,get:function(){return n.Suspense}}),Object.defineProperty(t,"cloneElement",{enumerable:!0,get:function(){return n.cloneElement}}),t.concatChildren=function(...e){return e.reduce(((e,t,r)=>(n.Children.forEach(t,((t,o)=>{t&&"string"!=typeof t&&(t=(0,n.cloneElement)(t,{key:[r,o].join()})),e.push(t)})),e)),[])},Object.defineProperty(t,"createContext",{enumerable:!0,get:function(){return n.createContext}}),Object.defineProperty(t,"createElement",{enumerable:!0,get:function(){return n.createElement}}),Object.defineProperty(t,"createRef",{enumerable:!0,get:function(){return n.createRef}}),Object.defineProperty(t,"forwardRef",{enumerable:!0,get:function(){return n.forwardRef}}),Object.defineProperty(t,"isValidElement",{enumerable:!0,get:function(){return n.isValidElement}}),Object.defineProperty(t,"lazy",{enumerable:!0,get:function(){return n.lazy}}),Object.defineProperty(t,"memo",{enumerable:!0,get:function(){return n.memo}}),Object.defineProperty(t,"startTransition",{enumerable:!0,get:function(){return n.startTransition}}),t.switchChildrenNodeName=function(e,t){return e&&n.Children.map(e,((e,r)=>{if("string"==typeof e?.valueOf())return(0,n.createElement)(t,{key:r},e);const{children:o,...a}=e.props;return(0,n.createElement)(t,{key:r,...a},o)}))},Object.defineProperty(t,"useCallback",{enumerable:!0,get:function(){return n.useCallback}}),Object.defineProperty(t,"useContext",{enumerable:!0,get:function(){return n.useContext}}),Object.defineProperty(t,"useDebugValue",{enumerable:!0,get:function(){return n.useDebugValue}}),Object.defineProperty(t,"useDeferredValue",{enumerable:!0,get:function(){return n.useDeferredValue}}),Object.defineProperty(t,"useEffect",{enumerable:!0,get:function(){return n.useEffect}}),Object.defineProperty(t,"useId",{enumerable:!0,get:function(){return n.useId}}),Object.defineProperty(t,"useImperativeHandle",{enumerable:!0,get:function(){return n.useImperativeHandle}}),Object.defineProperty(t,"useInsertionEffect",{enumerable:!0,get:function(){return n.useInsertionEffect}}),Object.defineProperty(t,"useLayoutEffect",{enumerable:!0,get:function(){return n.useLayoutEffect}}),Object.defineProperty(t,"useMemo",{enumerable:!0,get:function(){return n.useMemo}}),Object.defineProperty(t,"useReducer",{enumerable:!0,get:function(){return n.useReducer}}),Object.defineProperty(t,"useRef",{enumerable:!0,get:function(){return n.useRef}}),Object.defineProperty(t,"useState",{enumerable:!0,get:function(){return n.useState}}),Object.defineProperty(t,"useSyncExternalStore",{enumerable:!0,get:function(){return n.useSyncExternalStore}}),Object.defineProperty(t,"useTransition",{enumerable:!0,get:function(){return n.useTransition}});var n=r(51609)},54852:(e,t,r)=>{"use strict";var n=r(98504);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.hasPrefix=g,t.renderAttributes=A,t.renderComponent=x,t.renderElement=S,t.renderNativeComponent=P,t.renderStyle=T;var o=r(21214),a=r(61433),i=r(89877),c=r(84265),s=n(r(94468));const{Provider:u,Consumer:l}=(0,c.createContext)(void 0),d=(0,c.forwardRef)((()=>null)),p=new Set(["string","boolean","number"]),f=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),m=new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),h=new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),b=new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"]);function g(e,t){return t.some((t=>0===e.indexOf(t)))}function y(e){return"key"===e||"children"===e}function k(e,t){return"style"===e?T(t):t}const w=["accentHeight","alignmentBaseline","arabicForm","baselineShift","capHeight","clipPath","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","dominantBaseline","enableBackground","fillOpacity","fillRule","floodColor","floodOpacity","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","horizAdvX","horizOriginX","imageRendering","letterSpacing","lightingColor","markerEnd","markerMid","markerStart","overlinePosition","overlineThickness","paintOrder","panose1","pointerEvents","renderingIntent","shapeRendering","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","textAnchor","textDecoration","textRendering","underlinePosition","underlineThickness","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","vHanging","vIdeographic","vMathematical","vectorEffect","vertAdvY","vertOriginX","vertOriginY","wordSpacing","writingMode","xmlnsXlink","xHeight"].reduce(((e,t)=>(e[t.toLowerCase()]=t,e)),{}),v=["allowReorder","attributeName","attributeType","autoReverse","baseFrequency","baseProfile","calcMode","clipPathUnits","contentScriptType","contentStyleType","diffuseConstant","edgeMode","externalResourcesRequired","filterRes","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","suppressContentEditableWarning","suppressHydrationWarning","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector"].reduce(((e,t)=>(e[t.toLowerCase()]=t,e)),{}),j=["xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space","xmlns:xlink"].reduce(((e,t)=>(e[t.replace(":","").toLowerCase()]=t,e)),{});function O(e){switch(e){case"htmlFor":return"for";case"className":return"class"}const t=e.toLowerCase();return v[t]?v[t]:w[t]?(0,a.paramCase)(w[t]):j[t]?j[t]:t}function C(e){return e.startsWith("--")?e:g(e,["ms","O","Moz","Webkit"])?"-"+(0,a.paramCase)(e):(0,a.paramCase)(e)}function E(e,t){return"number"!=typeof t||0===t||b.has(e)?t:t+"px"}function S(e,t,r={}){if(null==e||!1===e)return"";if(Array.isArray(e))return _(e,t,r);switch(typeof e){case"string":return(0,i.escapeHTML)(e);case"number":return e.toString()}const{type:n,props:o}=e;switch(n){case c.StrictMode:case c.Fragment:return _(o.children,t,r);case s.default:const{children:e,...n}=o;return P(Object.keys(n).length?"div":null,{...n,dangerouslySetInnerHTML:{__html:e}},t,r)}switch(typeof n){case"string":return P(n,o,t,r);case"function":return n.prototype&&"function"==typeof n.prototype.render?x(n,o,t,r):S(n(o,r),t,r)}switch(n&&n.$$typeof){case u.$$typeof:return _(o.children,o.value,r);case l.$$typeof:return S(o.children(t||n._currentValue),t,r);case d.$$typeof:return S(n.render(o),t,r)}return""}function P(e,t,r,n={}){let o="";if("textarea"===e&&t.hasOwnProperty("value")){o=_(t.value,r,n);const{value:e,...a}=t;t=a}else t.dangerouslySetInnerHTML&&"string"==typeof t.dangerouslySetInnerHTML.__html?o=t.dangerouslySetInnerHTML.__html:void 0!==t.children&&(o=_(t.children,r,n));if(!e)return o;const a=A(t);return f.has(e)?"<"+e+a+"/>":"<"+e+a+">"+o+""}function x(e,t,r,n={}){const o=new e(t,n);"function"==typeof o.getChildContext&&Object.assign(n,o.getChildContext());return S(o.render(),r,n)}function _(e,t,r={}){let n="";e=Array.isArray(e)?e:[e];for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmptyElement=void 0;t.isEmptyElement=e=>"number"!=typeof e&&("string"==typeof e?.valueOf()||Array.isArray(e)?!e.length:!e)},51889:(e,t,r)=>{"use strict";r.d(t,{$4:()=>a,fZ:()=>i,xQ:()=>c});var n=r(54715),o=r(82769);function a(e,t){return 0===t?e.toLowerCase():(0,o.l3)(e,t)}function i(e,t){return 0===t?e.toLowerCase():(0,o.$7)(e)}function c(e,t){return void 0===t&&(t={}),(0,o.fL)(e,(0,n.Cl)({transform:a},t))}},91859:(e,t,r)=>{"use strict";r.d(t,{D:()=>c,f:()=>i});var n=r(54715),o=r(2532),a=r(21644);function i(e){return(0,a.R)(e.toLowerCase())}function c(e,t){return void 0===t&&(t={}),(0,o.W)(e,(0,n.Cl)({delimiter:" ",transform:i},t))}},61433:(e,t,r)=>{"use strict";r.r(t),r.d(t,{camelCase:()=>n.xQ,camelCaseTransform:()=>n.$4,camelCaseTransformMerge:()=>n.fZ,capitalCase:()=>o.D,capitalCaseTransform:()=>o.f,constantCase:()=>a.F,dotCase:()=>i.a,headerCase:()=>c.u,noCase:()=>s.W,paramCase:()=>u.c,pascalCase:()=>l.fL,pascalCaseTransform:()=>l.l3,pascalCaseTransformMerge:()=>l.$7,pathCase:()=>d.y,sentenceCase:()=>p.o,sentenceCaseTransform:()=>p.u,snakeCase:()=>f.L});var n=r(51889),o=r(91859),a=r(55633),i=r(19382),c=r(22774),s=r(2532),u=r(74572),l=r(82769),d=r(70320),p=r(82682),f=r(68963)},55633:(e,t,r)=>{"use strict";r.d(t,{F:()=>i});var n=r(54715),o=r(2532),a=r(88415);function i(e,t){return void 0===t&&(t={}),(0,o.W)(e,(0,n.Cl)({delimiter:"_",transform:a.l},t))}},19382:(e,t,r)=>{"use strict";r.d(t,{a:()=>a});var n=r(54715),o=r(2532);function a(e,t){return void 0===t&&(t={}),(0,o.W)(e,(0,n.Cl)({delimiter:"."},t))}},22774:(e,t,r)=>{"use strict";r.d(t,{u:()=>a});var n=r(54715),o=r(91859);function a(e,t){return void 0===t&&(t={}),(0,o.D)(e,(0,n.Cl)({delimiter:"-"},t))}},21214:(e,t)=>{"use strict";function r(e){return"[object Object]"===Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=function(e){var t,n;return!1!==r(e)&&(void 0===(t=e.constructor)||!1!==r(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}},25700:(e,t,r)=>{"use strict";r.d(t,{g:()=>n});function n(e){return e.toLowerCase()}},2532:(e,t,r)=>{"use strict";r.d(t,{W:()=>i});var n=r(25700),o=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],a=/[^A-Z0-9]+/gi;function i(e,t){void 0===t&&(t={});for(var r=t.splitRegexp,i=void 0===r?o:r,s=t.stripRegexp,u=void 0===s?a:s,l=t.transform,d=void 0===l?n.g:l,p=t.delimiter,f=void 0===p?" ":p,m=c(c(e,i,"$1\0$2"),u,"\0"),h=0,b=m.length;"\0"===m.charAt(h);)h++;for(;"\0"===m.charAt(b-1);)b--;return m.slice(h,b).split("\0").map(d).join(f)}function c(e,t,r){return t instanceof RegExp?e.replace(t,r):t.reduce((function(e,t){return e.replace(t,r)}),e)}},74572:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});var n=r(54715),o=r(19382);function a(e,t){return void 0===t&&(t={}),(0,o.a)(e,(0,n.Cl)({delimiter:"-"},t))}},82769:(e,t,r)=>{"use strict";r.d(t,{$7:()=>i,fL:()=>c,l3:()=>a});var n=r(54715),o=r(2532);function a(e,t){var r=e.charAt(0),n=e.substr(1).toLowerCase();return t>0&&r>="0"&&r<="9"?"_"+r+n:""+r.toUpperCase()+n}function i(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}function c(e,t){return void 0===t&&(t={}),(0,o.W)(e,(0,n.Cl)({delimiter:"",transform:a},t))}},70320:(e,t,r)=>{"use strict";r.d(t,{y:()=>a});var n=r(54715),o=r(19382);function a(e,t){return void 0===t&&(t={}),(0,o.a)(e,(0,n.Cl)({delimiter:"/"},t))}},18950:(e,t,r)=>{"use strict";var n=r(75795);t.createRoot=n.createRoot,t.hydrateRoot=n.hydrateRoot},82682:(e,t,r)=>{"use strict";r.d(t,{o:()=>c,u:()=>i});var n=r(54715),o=r(2532),a=r(21644);function i(e,t){var r=e.toLowerCase();return 0===t?(0,a.R)(r):r}function c(e,t){return void 0===t&&(t={}),(0,o.W)(e,(0,n.Cl)({delimiter:" ",transform:i},t))}},68963:(e,t,r)=>{"use strict";r.d(t,{L:()=>a});var n=r(54715),o=r(19382);function a(e,t){return void 0===t&&(t={}),(0,o.a)(e,(0,n.Cl)({delimiter:"_"},t))}},7404:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(82170),o=r(56427),a=r(29491),i=r(86087),c=r(27723),s=r(55163);const __=c.__,_x=c._x;function u({answer:e}){const[t,r]=(0,i.useState)(!1),c=(new DOMParser).parseFromString(e,"text/html"),u=c.body.textContent||c.body.innerText||"",l=(0,a.useCopyToClipboard)(u,(()=>{r(!0),setTimeout((()=>r(!1)),3e3)}));return(0,n.createElement)("div",{className:"jetpack-ai-chat-copy-button-container"},(0,n.createElement)(o.Button,{className:"jetpack-ai-chat-copy-button",disabled:t,label:__("Copy Response","jetpack"),variant:"has-text",ref:l},(0,n.createElement)(o.Icon,{className:"copy-icon",icon:s.ui}),t?_x("Copied!","Copied to clipboard","jetpack"):_x("Copy Response","Copy to clipboard.","jetpack")))}},73829:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(82170),o=r(27723);const __=o.__;function a(){return(0,n.createElement)("div",{className:"jetpack-ai-chat-error-container"},__("There was an error while generating the answer. Please try again later.","jetpack"))}},85443:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(82170),o=r(56427),a=r(86087),i=r(27723),c=r(55163),s=r(89692),u=r(73829);const __=i.__;function l({blogType:e,blogId:t,cacheKey:r,feedbackSubmitted:i,addFeedback:l}){const{isSubmittingFeedback:d,submitFeedback:p,feedbackError:f,setFeedbackError:m}=(0,s.A)(e,t);(0,a.useEffect)((()=>{r.startsWith("jp-search-ai-")&&(b({rank:"",comment:""}),y(!1),m(!1))}),[r]);const[h,b]=(0,a.useState)({rank:"",comment:""}),[g,y]=(0,a.useState)(!1),k=i.includes(r),w=e=>{b({...h,rank:e}),y(!0)},v=!f&&!k;return(0,n.createElement)("div",{className:"jetpack-ai-chat-feedback-container"},f&&(0,n.createElement)(u.A,{error:f}),k&&(0,n.createElement)("div",{className:"jetpack-ai-chat-feedback-submitted"},__("Thanks for your feedback!","jetpack")),v&&(0,n.createElement)("div",{className:"jetpack-ai-chat-answer-feedback"},(0,n.createElement)("hr",null),(0,n.createElement)("div",{className:"jetpack-ai-chat-answer-feedback-buttons"},__("Was this helpful?","jetpack"),(0,n.createElement)("a",{role:"button",className:"thumbs-up",disabled:d||"thumbs-up"===h.rank,label:__("Thumbs up","jetpack"),onClick:()=>w("thumbs-up")},(0,n.createElement)(o.Icon,{icon:c.tw})),(0,n.createElement)("a",{role:"button",className:"thumbs-down",disabled:d||"thumbs-down"===h.rank,label:__("Thumbs down","jetpack"),onClick:()=>w("thumbs-down")},(0,n.createElement)(o.Icon,{icon:c.Su}))),g&&(0,n.createElement)("div",{className:"jetpack-ai-chat-feedback-form"},(0,n.createElement)(o.TextControl,{className:"jetpack-ai-chat-feedback-input",placeholder:"thumbs-up"===h.rank?__("What did you like about it?","jetpack"):__("What didn't you like about it? How could it be improved?","jetpack"),size:50,value:h.comment,disabled:d||k,onChange:e=>b({...h,comment:e})}),(0,n.createElement)(o.Button,{className:"wp-block-button__link jetpack-ai-chat-feedback-submit",onClick:()=>{p(h,r),l(r),p(h,r)},disabled:d||k},__("Submit","jetpack")))))}},50443:(e,t,r)=>{"use strict";r.d(t,{G:()=>a,W:()=>o});var n=r(27723);const __=n.__,o=__("Ask","jetpack"),a=__("Ask a question about this site","jetpack")},55163:(e,t,r)=>{"use strict";r.d(t,{Su:()=>i,tw:()=>a,ui:()=>c});var n=r(82170),o=r(56427);const a=(0,n.createElement)(o.SVG,{viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(o.Path,{d:"M466.27 286.69C475.04 271.84 480 256 480 236.85c0-44.015-37.218-85.58-85.82-85.58H357.7c4.92-12.81 8.85-28.13 8.85-46.54C366.55 31.936 328.86 0 271.28 0c-61.607 0-58.093 94.933-71.76 108.6-22.747 22.747-49.615 66.447-68.76 83.4H32c-17.673 0-32 14.327-32 32v240c0 17.673 14.327 32 32 32h64c14.893 0 27.408-10.174 30.978-23.95 44.509 1.001 75.06 39.94 177.802 39.94 7.22 0 15.22.01 22.22.01 77.117 0 111.986-39.423 112.94-95.33 13.319-18.425 20.299-43.122 17.34-66.99 9.854-18.452 13.664-40.343 8.99-62.99zm-61.75 53.83c12.56 21.13 1.26 49.41-13.94 57.57 7.7 48.78-17.608 65.9-53.12 65.9h-37.82c-71.639 0-118.029-37.82-171.64-37.82V240h10.92c28.36 0 67.98-70.89 94.54-97.46 28.36-28.36 18.91-75.63 37.82-94.54 47.27 0 47.27 32.98 47.27 56.73 0 39.17-28.36 56.72-28.36 94.54h103.99c21.11 0 37.73 18.91 37.82 37.82.09 18.9-12.82 37.81-22.27 37.81 13.489 14.555 16.371 45.236-5.21 65.62zM88 432c0 13.255-10.745 24-24 24s-24-10.745-24-24 10.745-24 24-24 24 10.745 24 24z"})),i=(0,n.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},(0,n.createElement)(o.Path,{d:"M466.27 225.31c4.674-22.647.864-44.538-8.99-62.99 2.958-23.868-4.021-48.565-17.34-66.99C438.986 39.423 404.117 0 327 0c-7 0-15 .01-22.22.01C201.195.01 168.997 40 128 40h-10.845c-5.64-4.975-13.042-8-21.155-8H32C14.327 32 0 46.327 0 64v240c0 17.673 14.327 32 32 32h64c11.842 0 22.175-6.438 27.708-16h7.052c19.146 16.953 46.013 60.653 68.76 83.4 13.667 13.667 10.153 108.6 71.76 108.6 57.58 0 95.27-31.936 95.27-104.73 0-18.41-3.93-33.73-8.85-46.54h36.48c48.602 0 85.82-41.565 85.82-85.58 0-19.15-4.96-34.99-13.73-49.84zM64 296c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24zm330.18 16.73H290.19c0 37.82 28.36 55.37 28.36 94.54 0 23.75 0 56.73-47.27 56.73-18.91-18.91-9.46-66.18-37.82-94.54C206.9 342.89 167.28 272 138.92 272H128V85.83c53.611 0 100.001-37.82 171.64-37.82h37.82c35.512 0 60.82 17.12 53.12 65.9 15.2 8.16 26.5 36.44 13.94 57.57 21.581 20.384 18.699 51.065 5.21 65.62 9.45 0 22.36 18.91 22.27 37.81-.09 18.91-16.71 37.82-37.82 37.82z"})),c=(0,n.createElement)(o.SVG,{stroke:"currentColor",fill:"none",strokeWidth:"2",viewBox:"0 0 24 24",strokeLinecap:"round",strokeLinejoin:"round",height:"1.5em",width:"1.5em",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(o.Path,{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"}),(0,n.createElement)(o.Rect,{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"}))},93807:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var n=r(82170),o=r(56427),a=r(86087),i=r(27723),c=r(7404),s=r(73829),u=r(85443),l=r(50443),d=r(95715);const __=i.__,p=[__("Good question, give me a moment to think about that 🤔","jetpack"),__("Let me work out the answer to that, back soon!","jetpack"),__("🤔 Thinking, thinking, will be back with an answer soon","jetpack")];function f({html:e,showAnimation:t,onAnimationDone:r}){const[o,i]=(0,a.useState)("");return(0,a.useEffect)((()=>{if(t&&e){const t=e.split(" ");for(let e=1;ei(r)),50*e)}setTimeout((()=>{i(e),r()}),50*t.length)}else i(e),r()}),[]),(0,n.createElement)("div",{className:"content"},(0,n.createElement)(a.RawHTML,null,o))}function m({askButtonLabel:e=l.W,blogId:t,blogType:r,placeholder:i=l.G,settingShowCopy:m,settingShowFeedback:h,settingShowSources:b}){const{question:g,setQuestion:y,answer:k,isLoading:w,submitQuestion:v,references:j,askError:O,setAskError:C,cacheKey:E}=(0,d.A)(r,t),[S,P]=(0,a.useState)(!0),[x,_]=(0,a.useState)(!1),[A,T]=(0,a.useState)([]),[M,R]=(0,a.useState)(""),L=()=>{C(!1),P(!1),_(!1),T([]),R(g),v()},I=m&&S&&!w&&k,N=h&&S&&!w&&E;return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(o.KeyboardShortcuts,{shortcuts:{enter:L}},(0,n.createElement)("div",{className:"jetpack-ai-chat-question-wrapper"},(0,n.createElement)(o.TextControl,{className:"jetpack-ai-chat-question-input",placeholder:i,size:50,disabled:!S||w,value:g,onChange:e=>y(e)}),(0,n.createElement)(o.Button,{className:"wp-block-button__link jetpack-ai-chat-question-button",disabled:!S||w,onClick:L},w&&(0,n.createElement)(o.Spinner,null),!w&&e))),(0,n.createElement)("div",null,(0,n.createElement)("div",{className:"jetpack-ai-chat-answer-container"},M&&(0,n.createElement)("h2",null,M),w&&p[Math.floor(3*Math.random())],!w&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)(f,{showAnimation:!S,onAnimationDone:()=>{P(!0),_(!0)},html:k}))),O&&!w&&(0,n.createElement)(s.A,{error:O}),I&&(0,n.createElement)(c.A,{answer:k}),b&&j&&j.length>0&&x&&(0,n.createElement)("div",{className:"jetpack-ai-chat-answer-references"},(0,n.createElement)("h3",null,__("Additional resources:","jetpack")),(0,n.createElement)("ul",null,j.map(((e,t)=>(0,n.createElement)("li",{key:t},(0,n.createElement)(o.ExternalLink,{href:e.url},e.title))))),(0,n.createElement)("hr",null)),N&&(0,n.createElement)(u.A,{blogId:t,blogType:r,cacheKey:E,feedbackSubmitted:A,addFeedback:e=>{T([...A,e])}})))}},89692:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(1455),o=r.n(n),a=r(86087);function i(e,t){const[r,n]=(0,a.useState)(!1),[i,c]=(0,a.useState)(!1);return{isSubmittingFeedback:r,submitFeedback:async(r,a)=>{let i=`/wpcom/v2/jetpack-search/ai/rank?cache_key=${a}`;"wpcom"===e&&(i=`/wpcom/v2/sites/${t}/jetpack-search/ai/rank?cache_key=${a}`),n(!0),await o()({path:i,method:"POST",data:{rank:r.rank,comment:r.comment}}).then((()=>{c(!1)})).catch((e=>{c(e)})).finally((()=>{n(!1)}))},feedbackError:i,setFeedbackError:c}}},95715:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(1455),o=r.n(n),a=r(86087);function i(e,t){const[r,n]=(0,a.useState)(""),[i,c]=(0,a.useState)(null),[s,u]=(0,a.useState)(""),[l,d]=(0,a.useState)(!1),[p,f]=(0,a.useState)([]),[m,h]=(0,a.useState)(!1);return{question:r,setQuestion:n,answer:i,isLoading:m,submitQuestion:async()=>{let n=`/wpcom/v2/jetpack-search/ai/search?query=${r}`;"wpcom"===e&&(n=`/wpcom/v2/sites/${t}/jetpack-search/ai/search?query=${r}`),h(!0),c(null),o()({path:n,method:"GET"}).then((e=>{u(e.cache_key),c(e.response),f(e.urls)})).catch((e=>{u(""),f([]),d(e)})).finally((()=>{h(!1)}))},references:p,cacheKey:s,askError:l,setAskError:d}}},79366:(e,t,r)=>{"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(r.p=window.Jetpack_Block_Assets_Base_Url)},54715:(e,t,r)=>{"use strict";r.d(t,{Cl:()=>n});var n=function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r{"use strict";function n(e){return e.charAt(0).toUpperCase()+e.substr(1)}r.d(t,{R:()=>n})},88415:(e,t,r)=>{"use strict";r.d(t,{l:()=>n});function n(e){return e.toUpperCase()}},51609:e=>{"use strict";e.exports=window.React},75795:e=>{"use strict";e.exports=window.ReactDOM},1455:e=>{"use strict";e.exports=window.wp.apiFetch},56427:e=>{"use strict";e.exports=window.wp.components},29491:e=>{"use strict";e.exports=window.wp.compose},98490:e=>{"use strict";e.exports=window.wp.domReady},86087:e=>{"use strict";e.exports=window.wp.element},89877:e=>{"use strict";e.exports=window.wp.escapeHtml},27723:e=>{"use strict";e.exports=window.wp.i18n},98504:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var o=n.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=n[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e+"../"})(),(()=>{"use strict";r(79366)})(),(()=>{"use strict";var e=r(82170),t=r(98490),n=r.n(t),o=r(86087),a=r(50443),i=r(93807);const c=({askButtonLabel:t=a.W,blogId:r,blogType:n,placeholder:o=a.G,showCopy:c,showFeedback:s,showSources:u})=>(0,e.createElement)("div",null,(0,e.createElement)(i.A,{askButtonLabel:t,blogId:r,blogType:n,placeholder:o,settingShowCopy:c,settingShowFeedback:s,settingShowSources:u}));n()((function(){const t=document.querySelector("#jetpack-ai-chat"),r=t.getAttribute("data-ask-button-label"),n=t.getAttribute("data-placeholder"),a=t.getAttribute("data-blog-id"),i=t.getAttribute("data-blog-type");(0,o.createRoot)(t).render((0,e.createElement)(c,{askButtonLabel:r,blogId:a,blogType:i,placeholder:n,showCopy:!!parseInt(t.getAttribute("data-show-copy")),showFeedback:!!parseInt(t.getAttribute("data-show-feedback")),showSources:!!parseInt(t.getAttribute("data-show-sources"))}))}))})()})(); \ No newline at end of file diff --git a/wp-content/plugins/jetpack/_inc/blocks/blogging-prompt/view.asset.php b/wp-content/plugins/jetpack/_inc/blocks/blogging-prompt/view.asset.php index 2cc49d9e1..195456add 100644 --- a/wp-content/plugins/jetpack/_inc/blocks/blogging-prompt/view.asset.php +++ b/wp-content/plugins/jetpack/_inc/blocks/blogging-prompt/view.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => 'c338606afa1d9298a4fe'); + array('wp-polyfill'), 'version' => '5182e0629d0214a32263'); diff --git a/wp-content/plugins/jetpack/_inc/blocks/blogging-prompt/view.js b/wp-content/plugins/jetpack/_inc/blocks/blogging-prompt/view.js index c44a54f54..1c7a1a20a 100644 --- a/wp-content/plugins/jetpack/_inc/blocks/blogging-prompt/view.js +++ b/wp-content/plugins/jetpack/_inc/blocks/blogging-prompt/view.js @@ -1 +1 @@ -(()=>{var r={80425:(r,t,e)=>{"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(e.p=window.Jetpack_Block_Assets_Base_Url)}},t={};function e(o){var n=t[o];if(void 0!==n)return n.exports;var i=t[o]={exports:{}};return r[o](i,i.exports,e),i.exports}e.n=r=>{var t=r&&r.__esModule?()=>r.default:()=>r;return e.d(t,{a:t}),t},e.d=(r,t)=>{for(var o in t)e.o(t,o)&&!e.o(r,o)&&Object.defineProperty(r,o,{enumerable:!0,get:t[o]})},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(r){if("object"==typeof window)return window}}(),e.o=(r,t)=>Object.prototype.hasOwnProperty.call(r,t),(()=>{var r;e.g.importScripts&&(r=e.g.location+"");var t=e.g.document;if(!r&&t&&(t.currentScript&&(r=t.currentScript.src),!r)){var o=t.getElementsByTagName("script");o.length&&(r=o[o.length-1].src)}if(!r)throw new Error("Automatic publicPath is not supported in this browser");r=r.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=r+"../"})(),(()=>{"use strict";e(80425)})()})(); \ No newline at end of file +(()=>{var t={79366:(t,r,e)=>{"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(e.p=window.Jetpack_Block_Assets_Base_Url)}},r={};function e(o){var n=r[o];if(void 0!==n)return n.exports;var i=r[o]={exports:{}};return t[o](i,i.exports,e),i.exports}e.n=t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},e.d=(t,r)=>{for(var o in r)e.o(r,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:r[o]})},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),(()=>{var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(t=r.currentScript.src),!t)){var o=r.getElementsByTagName("script");if(o.length)for(var n=o.length-1;n>-1&&(!t||!/^http(s?):/.test(t));)t=o[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"})(),(()=>{"use strict";e(79366)})()})(); \ No newline at end of file diff --git a/wp-content/plugins/jetpack/_inc/blocks/blogroll/view.asset.php b/wp-content/plugins/jetpack/_inc/blocks/blogroll/view.asset.php index 81cc58d53..57da221e9 100644 --- a/wp-content/plugins/jetpack/_inc/blocks/blogroll/view.asset.php +++ b/wp-content/plugins/jetpack/_inc/blocks/blogroll/view.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '9136ab9f1b3317920726'); + array('wp-polyfill'), 'version' => '32a8501e8647dda360bd'); diff --git a/wp-content/plugins/jetpack/_inc/blocks/blogroll/view.js b/wp-content/plugins/jetpack/_inc/blocks/blogroll/view.js index 7a5e4c85a..97023881b 100644 --- a/wp-content/plugins/jetpack/_inc/blocks/blogroll/view.js +++ b/wp-content/plugins/jetpack/_inc/blocks/blogroll/view.js @@ -1 +1 @@ -(()=>{var e={80425:(e,t,r)=>{"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(r.p=window.Jetpack_Block_Assets_Base_Url)}},t={};function r(o){var c=t[o];if(void 0!==c)return c.exports;var n=t[o]={exports:{}};return e[o](n,n.exports,r),n.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var o=t.getElementsByTagName("script");o.length&&(e=o[o.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e+"../"})(),(()=>{"use strict";r(80425)})(),(()=>{"use strict";function e(e){e.preventDefault();const t=e.currentTarget.closest(".wp-block-jetpack-blogroll-item");t?.classList.toggle("open")?t.querySelector(".jetpack-blogroll-item-submit").removeAttribute("disabled"):t.querySelector(".jetpack-blogroll-item-submit").setAttribute("disabled","disabled")}document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".jetpack-blogroll-item-subscribe-button, .jetpack-blogroll-item-cancel-button").forEach((t=>{t.addEventListener("click",e)}))}))})()})(); \ No newline at end of file +(()=>{var t={79366:(t,e,r)=>{"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(r.p=window.Jetpack_Block_Assets_Base_Url)}},e={};function r(o){var c=e[o];if(void 0!==c)return c.exports;var i=e[o]={exports:{}};return t[o](i,i.exports,r),i.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t;r.g.importScripts&&(t=r.g.location+"");var e=r.g.document;if(!t&&e&&(e.currentScript&&"SCRIPT"===e.currentScript.tagName.toUpperCase()&&(t=e.currentScript.src),!t)){var o=e.getElementsByTagName("script");if(o.length)for(var c=o.length-1;c>-1&&(!t||!/^http(s?):/.test(t));)t=o[c--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=t+"../"})(),(()=>{"use strict";r(79366)})(),(()=>{"use strict";function t(t){t.preventDefault();const e=t.currentTarget.closest(".wp-block-jetpack-blogroll-item");e?.classList.toggle("open")?e.querySelector(".jetpack-blogroll-item-submit").removeAttribute("disabled"):e.querySelector(".jetpack-blogroll-item-submit").setAttribute("disabled","disabled")}document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".jetpack-blogroll-item-subscribe-button, .jetpack-blogroll-item-cancel-button").forEach((e=>{e.addEventListener("click",t)}))}))})()})(); \ No newline at end of file diff --git a/wp-content/plugins/jetpack/_inc/blocks/business-hours/view.asset.php b/wp-content/plugins/jetpack/_inc/blocks/business-hours/view.asset.php index 55311003c..d28939d08 100644 --- a/wp-content/plugins/jetpack/_inc/blocks/business-hours/view.asset.php +++ b/wp-content/plugins/jetpack/_inc/blocks/business-hours/view.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '7b9b13c9b0dc24c6350e'); + array('wp-polyfill'), 'version' => '015c90376027208061a7'); diff --git a/wp-content/plugins/jetpack/_inc/blocks/business-hours/view.js b/wp-content/plugins/jetpack/_inc/blocks/business-hours/view.js index c44a54f54..1c7a1a20a 100644 --- a/wp-content/plugins/jetpack/_inc/blocks/business-hours/view.js +++ b/wp-content/plugins/jetpack/_inc/blocks/business-hours/view.js @@ -1 +1 @@ -(()=>{var r={80425:(r,t,e)=>{"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(e.p=window.Jetpack_Block_Assets_Base_Url)}},t={};function e(o){var n=t[o];if(void 0!==n)return n.exports;var i=t[o]={exports:{}};return r[o](i,i.exports,e),i.exports}e.n=r=>{var t=r&&r.__esModule?()=>r.default:()=>r;return e.d(t,{a:t}),t},e.d=(r,t)=>{for(var o in t)e.o(t,o)&&!e.o(r,o)&&Object.defineProperty(r,o,{enumerable:!0,get:t[o]})},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(r){if("object"==typeof window)return window}}(),e.o=(r,t)=>Object.prototype.hasOwnProperty.call(r,t),(()=>{var r;e.g.importScripts&&(r=e.g.location+"");var t=e.g.document;if(!r&&t&&(t.currentScript&&(r=t.currentScript.src),!r)){var o=t.getElementsByTagName("script");o.length&&(r=o[o.length-1].src)}if(!r)throw new Error("Automatic publicPath is not supported in this browser");r=r.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=r+"../"})(),(()=>{"use strict";e(80425)})()})(); \ No newline at end of file +(()=>{var t={79366:(t,r,e)=>{"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(e.p=window.Jetpack_Block_Assets_Base_Url)}},r={};function e(o){var n=r[o];if(void 0!==n)return n.exports;var i=r[o]={exports:{}};return t[o](i,i.exports,e),i.exports}e.n=t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},e.d=(t,r)=>{for(var o in r)e.o(r,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:r[o]})},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),(()=>{var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(t=r.currentScript.src),!t)){var o=r.getElementsByTagName("script");if(o.length)for(var n=o.length-1;n>-1&&(!t||!/^http(s?):/.test(t));)t=o[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"})(),(()=>{"use strict";e(79366)})()})(); \ No newline at end of file diff --git a/wp-content/plugins/jetpack/_inc/blocks/button/view.asset.php b/wp-content/plugins/jetpack/_inc/blocks/button/view.asset.php index 15c8a4f82..f28d306ee 100644 --- a/wp-content/plugins/jetpack/_inc/blocks/button/view.asset.php +++ b/wp-content/plugins/jetpack/_inc/blocks/button/view.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => 'd893042b95edc7bb611a'); + array('wp-polyfill'), 'version' => '966dd642fdcc7ec34770'); diff --git a/wp-content/plugins/jetpack/_inc/blocks/button/view.js b/wp-content/plugins/jetpack/_inc/blocks/button/view.js index c44a54f54..1c7a1a20a 100644 --- a/wp-content/plugins/jetpack/_inc/blocks/button/view.js +++ b/wp-content/plugins/jetpack/_inc/blocks/button/view.js @@ -1 +1 @@ -(()=>{var r={80425:(r,t,e)=>{"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(e.p=window.Jetpack_Block_Assets_Base_Url)}},t={};function e(o){var n=t[o];if(void 0!==n)return n.exports;var i=t[o]={exports:{}};return r[o](i,i.exports,e),i.exports}e.n=r=>{var t=r&&r.__esModule?()=>r.default:()=>r;return e.d(t,{a:t}),t},e.d=(r,t)=>{for(var o in t)e.o(t,o)&&!e.o(r,o)&&Object.defineProperty(r,o,{enumerable:!0,get:t[o]})},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(r){if("object"==typeof window)return window}}(),e.o=(r,t)=>Object.prototype.hasOwnProperty.call(r,t),(()=>{var r;e.g.importScripts&&(r=e.g.location+"");var t=e.g.document;if(!r&&t&&(t.currentScript&&(r=t.currentScript.src),!r)){var o=t.getElementsByTagName("script");o.length&&(r=o[o.length-1].src)}if(!r)throw new Error("Automatic publicPath is not supported in this browser");r=r.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=r+"../"})(),(()=>{"use strict";e(80425)})()})(); \ No newline at end of file +(()=>{var t={79366:(t,r,e)=>{"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(e.p=window.Jetpack_Block_Assets_Base_Url)}},r={};function e(o){var n=r[o];if(void 0!==n)return n.exports;var i=r[o]={exports:{}};return t[o](i,i.exports,e),i.exports}e.n=t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},e.d=(t,r)=>{for(var o in r)e.o(r,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:r[o]})},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),(()=>{var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(t=r.currentScript.src),!t)){var o=r.getElementsByTagName("script");if(o.length)for(var n=o.length-1;n>-1&&(!t||!/^http(s?):/.test(t));)t=o[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"})(),(()=>{"use strict";e(79366)})()})(); \ No newline at end of file diff --git a/wp-content/plugins/jetpack/_inc/blocks/calendly/view.asset.php b/wp-content/plugins/jetpack/_inc/blocks/calendly/view.asset.php index 79dadbcad..f1422928e 100644 --- a/wp-content/plugins/jetpack/_inc/blocks/calendly/view.asset.php +++ b/wp-content/plugins/jetpack/_inc/blocks/calendly/view.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '1920eabaec8a9a9d174e'); + array('wp-polyfill'), 'version' => '2c6dcab855ebf648b7a9'); diff --git a/wp-content/plugins/jetpack/_inc/blocks/calendly/view.js b/wp-content/plugins/jetpack/_inc/blocks/calendly/view.js index c44a54f54..1c7a1a20a 100644 --- a/wp-content/plugins/jetpack/_inc/blocks/calendly/view.js +++ b/wp-content/plugins/jetpack/_inc/blocks/calendly/view.js @@ -1 +1 @@ -(()=>{var r={80425:(r,t,e)=>{"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(e.p=window.Jetpack_Block_Assets_Base_Url)}},t={};function e(o){var n=t[o];if(void 0!==n)return n.exports;var i=t[o]={exports:{}};return r[o](i,i.exports,e),i.exports}e.n=r=>{var t=r&&r.__esModule?()=>r.default:()=>r;return e.d(t,{a:t}),t},e.d=(r,t)=>{for(var o in t)e.o(t,o)&&!e.o(r,o)&&Object.defineProperty(r,o,{enumerable:!0,get:t[o]})},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(r){if("object"==typeof window)return window}}(),e.o=(r,t)=>Object.prototype.hasOwnProperty.call(r,t),(()=>{var r;e.g.importScripts&&(r=e.g.location+"");var t=e.g.document;if(!r&&t&&(t.currentScript&&(r=t.currentScript.src),!r)){var o=t.getElementsByTagName("script");o.length&&(r=o[o.length-1].src)}if(!r)throw new Error("Automatic publicPath is not supported in this browser");r=r.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=r+"../"})(),(()=>{"use strict";e(80425)})()})(); \ No newline at end of file +(()=>{var t={79366:(t,r,e)=>{"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(e.p=window.Jetpack_Block_Assets_Base_Url)}},r={};function e(o){var n=r[o];if(void 0!==n)return n.exports;var i=r[o]={exports:{}};return t[o](i,i.exports,e),i.exports}e.n=t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},e.d=(t,r)=>{for(var o in r)e.o(r,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:r[o]})},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),(()=>{var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(t=r.currentScript.src),!t)){var o=r.getElementsByTagName("script");if(o.length)for(var n=o.length-1;n>-1&&(!t||!/^http(s?):/.test(t));)t=o[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"})(),(()=>{"use strict";e(79366)})()})(); \ No newline at end of file diff --git a/wp-content/plugins/jetpack/_inc/blocks/contact-info/view.asset.php b/wp-content/plugins/jetpack/_inc/blocks/contact-info/view.asset.php index 6f282f0f3..3bd58fd29 100644 --- a/wp-content/plugins/jetpack/_inc/blocks/contact-info/view.asset.php +++ b/wp-content/plugins/jetpack/_inc/blocks/contact-info/view.asset.php @@ -1 +1 @@ - array('wp-polyfill'), 'version' => '0a0aeb0ea5dc58158021'); + array('wp-polyfill'), 'version' => 'aebc1f4d75f21cfa2f41'); diff --git a/wp-content/plugins/jetpack/_inc/blocks/contact-info/view.js b/wp-content/plugins/jetpack/_inc/blocks/contact-info/view.js index c44a54f54..1c7a1a20a 100644 --- a/wp-content/plugins/jetpack/_inc/blocks/contact-info/view.js +++ b/wp-content/plugins/jetpack/_inc/blocks/contact-info/view.js @@ -1 +1 @@ -(()=>{var r={80425:(r,t,e)=>{"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(e.p=window.Jetpack_Block_Assets_Base_Url)}},t={};function e(o){var n=t[o];if(void 0!==n)return n.exports;var i=t[o]={exports:{}};return r[o](i,i.exports,e),i.exports}e.n=r=>{var t=r&&r.__esModule?()=>r.default:()=>r;return e.d(t,{a:t}),t},e.d=(r,t)=>{for(var o in t)e.o(t,o)&&!e.o(r,o)&&Object.defineProperty(r,o,{enumerable:!0,get:t[o]})},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(r){if("object"==typeof window)return window}}(),e.o=(r,t)=>Object.prototype.hasOwnProperty.call(r,t),(()=>{var r;e.g.importScripts&&(r=e.g.location+"");var t=e.g.document;if(!r&&t&&(t.currentScript&&(r=t.currentScript.src),!r)){var o=t.getElementsByTagName("script");o.length&&(r=o[o.length-1].src)}if(!r)throw new Error("Automatic publicPath is not supported in this browser");r=r.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=r+"../"})(),(()=>{"use strict";e(80425)})()})(); \ No newline at end of file +(()=>{var t={79366:(t,r,e)=>{"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(e.p=window.Jetpack_Block_Assets_Base_Url)}},r={};function e(o){var n=r[o];if(void 0!==n)return n.exports;var i=r[o]={exports:{}};return t[o](i,i.exports,e),i.exports}e.n=t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},e.d=(t,r)=>{for(var o in r)e.o(r,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:r[o]})},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),(()=>{var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(t=r.currentScript.src),!t)){var o=r.getElementsByTagName("script");if(o.length)for(var n=o.length-1;n>-1&&(!t||!/^http(s?):/.test(t));)t=o[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"})(),(()=>{"use strict";e(79366)})()})(); \ No newline at end of file diff --git a/wp-content/plugins/jetpack/_inc/blocks/cookie-consent/view.asset.php b/wp-content/plugins/jetpack/_inc/blocks/cookie-consent/view.asset.php index 6e97b2036..187f59cb3 100644 --- a/wp-content/plugins/jetpack/_inc/blocks/cookie-consent/view.asset.php +++ b/wp-content/plugins/jetpack/_inc/blocks/cookie-consent/view.asset.php @@ -1 +1 @@ - array('wp-dom-ready', 'wp-polyfill'), 'version' => '2c574df699677fdc8f42'); + array('wp-dom-ready', 'wp-polyfill'), 'version' => 'b355f9f8e16c798a11dd'); diff --git a/wp-content/plugins/jetpack/_inc/blocks/cookie-consent/view.js b/wp-content/plugins/jetpack/_inc/blocks/cookie-consent/view.js index 56ec474b6..2f0501eea 100644 --- a/wp-content/plugins/jetpack/_inc/blocks/cookie-consent/view.js +++ b/wp-content/plugins/jetpack/_inc/blocks/cookie-consent/view.js @@ -1 +1 @@ -(()=>{var e={80425:(e,t,r)=>{"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(r.p=window.Jetpack_Block_Assets_Base_Url)},47701:e=>{"use strict";e.exports=window.wp.domReady}},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var o=t.getElementsByTagName("script");o.length&&(e=o[o.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e+"../"})(),(()=>{"use strict";r(80425)})(),(()=>{"use strict";var e=r(47701);r.n(e)()((function(){const e=document.querySelector(".wp-block-jetpack-cookie-consent"),t=e.querySelector("span"),r=parseInt(t.textContent),o=new Date(Date.now()+864e5*r),n=e.querySelector(".wp-block-button a");n.setAttribute("role","button"),n.setAttribute("href","javascript:void(0)"),n.addEventListener("click",(function(){try{document.cookie=`eucookielaw=${o.getTime()};path=/;expires=${o.toGMTString()}`,e.classList.add("is-dismissed"),e.addEventListener("transitionend",(()=>e.remove()));const t=new Event("eucookielaw-dismissed");document.dispatchEvent(t)}catch(e){}}))}))})()})(); \ No newline at end of file +(()=>{var e={79366:(e,t,r)=>{"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(r.p=window.Jetpack_Block_Assets_Base_Url)},98490:e=>{"use strict";e.exports=window.wp.domReady}},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var c=t[o]={exports:{}};return e[o](c,c.exports,r),c.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var o=t.getElementsByTagName("script");if(o.length)for(var n=o.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=o[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e+"../"})(),(()=>{"use strict";r(79366)})(),(()=>{"use strict";var e=r(98490);r.n(e)()((function(){const e=document.querySelector(".wp-block-jetpack-cookie-consent"),t=e.querySelector("span"),r=parseInt(t.textContent),o=new Date(Date.now()+864e5*r),n=e.querySelector(".wp-block-button a");n.setAttribute("role","button"),n.setAttribute("href","#"),n.addEventListener("click",(e=>{n.closest(".wp-block-jetpack-cookie-consent")&&e.preventDefault()})),n.addEventListener("click",(function(){try{document.cookie=`eucookielaw=${o.getTime()};path=/;expires=${o.toGMTString()}`,e.classList.add("is-dismissed"),e.addEventListener("transitionend",(()=>e.remove()));const t=new Event("eucookielaw-dismissed");document.dispatchEvent(t)}catch(e){}}))}))})()})(); \ No newline at end of file diff --git a/wp-content/plugins/jetpack/_inc/blocks/donations/view.asset.php b/wp-content/plugins/jetpack/_inc/blocks/donations/view.asset.php index 0a24cc85b..8861fb8d7 100644 --- a/wp-content/plugins/jetpack/_inc/blocks/donations/view.asset.php +++ b/wp-content/plugins/jetpack/_inc/blocks/donations/view.asset.php @@ -1 +1 @@ - array('wp-dom-ready', 'wp-polyfill', 'wp-url'), 'version' => '6e345f174fcb3290ef09'); + array('wp-dom-ready', 'wp-polyfill', 'wp-url'), 'version' => 'b9368199f8145e9f43b0'); diff --git a/wp-content/plugins/jetpack/_inc/blocks/donations/view.js b/wp-content/plugins/jetpack/_inc/blocks/donations/view.js index adee7e50b..de391e70b 100644 --- a/wp-content/plugins/jetpack/_inc/blocks/donations/view.js +++ b/wp-content/plugins/jetpack/_inc/blocks/donations/view.js @@ -1,2 +1,2 @@ /*! For license information please see view.js.LICENSE.txt */ -(()=>{var i={79162:(i,o,e)=>{"use strict";e.d(o,{Vm:()=>r,hj:()=>t});var s=e(43317);const n={USD:.5,AUD:.5,BRL:.5,CAD:.5,CHF:.5,DKK:2.5,EUR:.5,GBP:.3,HKD:4,INR:.5,JPY:50,MXN:10,NOK:3,NZD:.5,PLN:2,SEK:3,SGD:.5};Object.keys(n).map((i=>{const{symbol:o}=(0,s.X)(i);var e;return{value:i,label:o===i?i:`${i} ${e=o,String(e||"").replace(/\.+$/,"")}`}}));function t(i){return n[i]}function r(i,o){if(!i)return null;if("number"==typeof i)return i;let e=i;return s.M[o].grouping&&(e=i.replace(new RegExp("\\"+s.M[o].grouping,"g"),"")),i=parseFloat(e.replace(new RegExp("\\"+s.M[o].decimal,"g"),".")),isNaN(i)?null:i}},63166:(i,o,e)=>{"use strict";e.d(o,{fc:()=>r});let s="";function n(i){if("https://subscribe.wordpress.com"===i.origin&&i.data){const o=JSON.parse(i.data);if(o&&o.result&&o.result.jwt_token&&(s=o.result.jwt_token,c(s)),o&&"close"===o.action&&s)window.location.reload(!0);else if(o&&"close"===o.action){window.removeEventListener("message",n);document.getElementById("memberships-modal-window").close(),document.body.classList.remove("jetpack-memberships-modal-open")}}}function t(i){i.insertAdjacentHTML("beforeend",'\t\t\t\t\t\t'),i.addEventListener("click",(o=>{o.preventDefault(),i.classList.add("is-loading"),i.setAttribute("aria-busy","true"),i.setAttribute("aria-live","polite");return function(i){return new Promise((o=>{const e=document.getElementById("memberships-modal-window");e&&document.body.removeChild(e);const s=document.createElement("dialog");s.setAttribute("id","memberships-modal-window"),s.classList.add("jetpack-memberships-modal"),s.classList.add("is-loading");const t=document.createElement("iframe");t.setAttribute("frameborder","0"),t.setAttribute("allowtransparency","true"),t.setAttribute("allowfullscreen","true"),t.addEventListener("load",(function(){document.body.classList.add("jetpack-memberships-modal-open"),s.classList.remove("is-loading"),o()})),t.setAttribute("id","memberships-modal-iframe"),t.innerText="This feature requires inline frames. You have iframes disabled or your browser does not support them.",t.src=i+"&display=alternate&jwt_token="+l();const r=document.querySelector('input[name="lang"]')?.value;r&&(t.src=t.src+"&lang="+r),document.body.appendChild(s),s.appendChild(t),window.addEventListener("message",n,!1),s.showModal()}))}(i.getAttribute("href")).then((()=>{i.classList.remove("is-loading"),i.setAttribute("aria-busy","false")})),i.blur(),!1}))}const r=i=>{Array.prototype.slice.call(document.querySelectorAll(i)).forEach((i=>{if("true"!==i.getAttribute("data-jetpack-memberships-button-initialized")){try{t(i)}catch(i){console.error("Problem setting up Modal",i)}i.setAttribute("data-jetpack-memberships-button-initialized","true")}}))},l=function(){const i=`; ${document.cookie}`.split("; wp-jp-premium-content-session=");if(2===i.length)return i.pop().split(";").shift()},c=function(i){const o=new Date,e=new Date(o.setMonth(o.getMonth()+1));document.cookie=`wp-jp-premium-content-session=${i}; expires=${e.toGMTString()}; path=/`}},80425:(i,o,e)=>{"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(e.p=window.Jetpack_Block_Assets_Base_Url)},43317:(i,o,e)=>{"use strict";e.d(o,{M:()=>s,X:()=>n});const s={AED:{symbol:"د.إ.‏",grouping:",",decimal:".",precision:2},AFN:{symbol:"؋",grouping:",",decimal:".",precision:2},ALL:{symbol:"Lek",grouping:".",decimal:",",precision:2},AMD:{symbol:"֏",grouping:",",decimal:".",precision:2},ANG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AOA:{symbol:"Kz",grouping:",",decimal:".",precision:2},ARS:{symbol:"$",grouping:".",decimal:",",precision:2},AUD:{symbol:"A$",grouping:",",decimal:".",precision:2},AWG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AZN:{symbol:"₼",grouping:" ",decimal:",",precision:2},BAM:{symbol:"КМ",grouping:".",decimal:",",precision:2},BBD:{symbol:"Bds$",grouping:",",decimal:".",precision:2},BDT:{symbol:"৳",grouping:",",decimal:".",precision:0},BGN:{symbol:"лв.",grouping:" ",decimal:",",precision:2},BHD:{symbol:"د.ب.‏",grouping:",",decimal:".",precision:3},BIF:{symbol:"FBu",grouping:",",decimal:".",precision:0},BMD:{symbol:"$",grouping:",",decimal:".",precision:2},BND:{symbol:"$",grouping:".",decimal:",",precision:0},BOB:{symbol:"Bs",grouping:".",decimal:",",precision:2},BRL:{symbol:"R$",grouping:".",decimal:",",precision:2},BSD:{symbol:"$",grouping:",",decimal:".",precision:2},BTC:{symbol:"Ƀ",grouping:",",decimal:".",precision:2},BTN:{symbol:"Nu.",grouping:",",decimal:".",precision:1},BWP:{symbol:"P",grouping:",",decimal:".",precision:2},BYR:{symbol:"р.",grouping:" ",decimal:",",precision:2},BZD:{symbol:"BZ$",grouping:",",decimal:".",precision:2},CAD:{symbol:"C$",grouping:",",decimal:".",precision:2},CDF:{symbol:"FC",grouping:",",decimal:".",precision:2},CHF:{symbol:"CHF",grouping:"'",decimal:".",precision:2},CLP:{symbol:"$",grouping:".",decimal:",",precision:2},CNY:{symbol:"¥",grouping:",",decimal:".",precision:2},COP:{symbol:"$",grouping:".",decimal:",",precision:2},CRC:{symbol:"₡",grouping:".",decimal:",",precision:2},CUC:{symbol:"CUC",grouping:",",decimal:".",precision:2},CUP:{symbol:"$MN",grouping:",",decimal:".",precision:2},CVE:{symbol:"$",grouping:",",decimal:".",precision:2},CZK:{symbol:"Kč",grouping:" ",decimal:",",precision:2},DJF:{symbol:"Fdj",grouping:",",decimal:".",precision:0},DKK:{symbol:"kr.",grouping:"",decimal:",",precision:2},DOP:{symbol:"RD$",grouping:",",decimal:".",precision:2},DZD:{symbol:"د.ج.‏",grouping:",",decimal:".",precision:2},EGP:{symbol:"ج.م.‏",grouping:",",decimal:".",precision:2},ERN:{symbol:"Nfk",grouping:",",decimal:".",precision:2},ETB:{symbol:"ETB",grouping:",",decimal:".",precision:2},EUR:{symbol:"€",grouping:".",decimal:",",precision:2},FJD:{symbol:"FJ$",grouping:",",decimal:".",precision:2},FKP:{symbol:"£",grouping:",",decimal:".",precision:2},GBP:{symbol:"£",grouping:",",decimal:".",precision:2},GEL:{symbol:"Lari",grouping:" ",decimal:",",precision:2},GHS:{symbol:"₵",grouping:",",decimal:".",precision:2},GIP:{symbol:"£",grouping:",",decimal:".",precision:2},GMD:{symbol:"D",grouping:",",decimal:".",precision:2},GNF:{symbol:"FG",grouping:",",decimal:".",precision:0},GTQ:{symbol:"Q",grouping:",",decimal:".",precision:2},GYD:{symbol:"G$",grouping:",",decimal:".",precision:2},HKD:{symbol:"HK$",grouping:",",decimal:".",precision:2},HNL:{symbol:"L.",grouping:",",decimal:".",precision:2},HRK:{symbol:"kn",grouping:".",decimal:",",precision:2},HTG:{symbol:"G",grouping:",",decimal:".",precision:2},HUF:{symbol:"Ft",grouping:".",decimal:",",precision:0},IDR:{symbol:"Rp",grouping:".",decimal:",",precision:0},ILS:{symbol:"₪",grouping:",",decimal:".",precision:2},INR:{symbol:"₹",grouping:",",decimal:".",precision:2},IQD:{symbol:"د.ع.‏",grouping:",",decimal:".",precision:2},IRR:{symbol:"﷼",grouping:",",decimal:"/",precision:2},ISK:{symbol:"kr.",grouping:".",decimal:",",precision:0},JMD:{symbol:"J$",grouping:",",decimal:".",precision:2},JOD:{symbol:"د.ا.‏",grouping:",",decimal:".",precision:3},JPY:{symbol:"¥",grouping:",",decimal:".",precision:0},KES:{symbol:"S",grouping:",",decimal:".",precision:2},KGS:{symbol:"сом",grouping:" ",decimal:"-",precision:2},KHR:{symbol:"៛",grouping:",",decimal:".",precision:0},KMF:{symbol:"CF",grouping:",",decimal:".",precision:2},KPW:{symbol:"₩",grouping:",",decimal:".",precision:0},KRW:{symbol:"₩",grouping:",",decimal:".",precision:0},KWD:{symbol:"د.ك.‏",grouping:",",decimal:".",precision:3},KYD:{symbol:"$",grouping:",",decimal:".",precision:2},KZT:{symbol:"₸",grouping:" ",decimal:"-",precision:2},LAK:{symbol:"₭",grouping:",",decimal:".",precision:0},LBP:{symbol:"ل.ل.‏",grouping:",",decimal:".",precision:2},LKR:{symbol:"₨",grouping:",",decimal:".",precision:0},LRD:{symbol:"L$",grouping:",",decimal:".",precision:2},LSL:{symbol:"M",grouping:",",decimal:".",precision:2},LYD:{symbol:"د.ل.‏",grouping:",",decimal:".",precision:3},MAD:{symbol:"د.م.‏",grouping:",",decimal:".",precision:2},MDL:{symbol:"lei",grouping:",",decimal:".",precision:2},MGA:{symbol:"Ar",grouping:",",decimal:".",precision:0},MKD:{symbol:"ден.",grouping:".",decimal:",",precision:2},MMK:{symbol:"K",grouping:",",decimal:".",precision:2},MNT:{symbol:"₮",grouping:" ",decimal:",",precision:2},MOP:{symbol:"MOP$",grouping:",",decimal:".",precision:2},MRO:{symbol:"UM",grouping:",",decimal:".",precision:2},MTL:{symbol:"₤",grouping:",",decimal:".",precision:2},MUR:{symbol:"₨",grouping:",",decimal:".",precision:2},MVR:{symbol:"MVR",grouping:",",decimal:".",precision:1},MWK:{symbol:"MK",grouping:",",decimal:".",precision:2},MXN:{symbol:"MX$",grouping:",",decimal:".",precision:2},MYR:{symbol:"RM",grouping:",",decimal:".",precision:2},MZN:{symbol:"MT",grouping:",",decimal:".",precision:0},NAD:{symbol:"N$",grouping:",",decimal:".",precision:2},NGN:{symbol:"₦",grouping:",",decimal:".",precision:2},NIO:{symbol:"C$",grouping:",",decimal:".",precision:2},NOK:{symbol:"kr",grouping:" ",decimal:",",precision:2},NPR:{symbol:"₨",grouping:",",decimal:".",precision:2},NZD:{symbol:"NZ$",grouping:",",decimal:".",precision:2},OMR:{symbol:"﷼",grouping:",",decimal:".",precision:3},PAB:{symbol:"B/.",grouping:",",decimal:".",precision:2},PEN:{symbol:"S/.",grouping:",",decimal:".",precision:2},PGK:{symbol:"K",grouping:",",decimal:".",precision:2},PHP:{symbol:"₱",grouping:",",decimal:".",precision:2},PKR:{symbol:"₨",grouping:",",decimal:".",precision:2},PLN:{symbol:"zł",grouping:" ",decimal:",",precision:2},PYG:{symbol:"₲",grouping:".",decimal:",",precision:2},QAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},RON:{symbol:"lei",grouping:".",decimal:",",precision:2},RSD:{symbol:"Дин.",grouping:".",decimal:",",precision:2},RUB:{symbol:"₽",grouping:" ",decimal:",",precision:2},RWF:{symbol:"RWF",grouping:" ",decimal:",",precision:2},SAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},SBD:{symbol:"S$",grouping:",",decimal:".",precision:2},SCR:{symbol:"₨",grouping:",",decimal:".",precision:2},SDD:{symbol:"LSd",grouping:",",decimal:".",precision:2},SDG:{symbol:"£‏",grouping:",",decimal:".",precision:2},SEK:{symbol:"kr",grouping:",",decimal:".",precision:2},SGD:{symbol:"S$",grouping:",",decimal:".",precision:2},SHP:{symbol:"£",grouping:",",decimal:".",precision:2},SLL:{symbol:"Le",grouping:",",decimal:".",precision:2},SOS:{symbol:"S",grouping:",",decimal:".",precision:2},SRD:{symbol:"$",grouping:",",decimal:".",precision:2},STD:{symbol:"Db",grouping:",",decimal:".",precision:2},SVC:{symbol:"₡",grouping:",",decimal:".",precision:2},SYP:{symbol:"£",grouping:",",decimal:".",precision:2},SZL:{symbol:"E",grouping:",",decimal:".",precision:2},THB:{symbol:"฿",grouping:",",decimal:".",precision:2},TJS:{symbol:"TJS",grouping:" ",decimal:";",precision:2},TMT:{symbol:"m",grouping:" ",decimal:",",precision:0},TND:{symbol:"د.ت.‏",grouping:",",decimal:".",precision:3},TOP:{symbol:"T$",grouping:",",decimal:".",precision:2},TRY:{symbol:"TL",grouping:".",decimal:",",precision:2},TTD:{symbol:"TT$",grouping:",",decimal:".",precision:2},TVD:{symbol:"$T",grouping:",",decimal:".",precision:2},TWD:{symbol:"NT$",grouping:",",decimal:".",precision:2},TZS:{symbol:"TSh",grouping:",",decimal:".",precision:2},UAH:{symbol:"₴",grouping:" ",decimal:",",precision:2},UGX:{symbol:"USh",grouping:",",decimal:".",precision:2},USD:{symbol:"$",grouping:",",decimal:".",precision:2},UYU:{symbol:"$U",grouping:".",decimal:",",precision:2},UZS:{symbol:"сўм",grouping:" ",decimal:",",precision:2},VEB:{symbol:"Bs.",grouping:",",decimal:".",precision:2},VEF:{symbol:"Bs. F.",grouping:".",decimal:",",precision:2},VND:{symbol:"₫",grouping:".",decimal:",",precision:1},VUV:{symbol:"VT",grouping:",",decimal:".",precision:0},WST:{symbol:"WS$",grouping:",",decimal:".",precision:2},XAF:{symbol:"F",grouping:",",decimal:".",precision:2},XCD:{symbol:"$",grouping:",",decimal:".",precision:2},XOF:{symbol:"F",grouping:" ",decimal:",",precision:2},XPF:{symbol:"F",grouping:",",decimal:".",precision:2},YER:{symbol:"﷼",grouping:",",decimal:".",precision:2},ZAR:{symbol:"R",grouping:" ",decimal:",",precision:2},ZMW:{symbol:"ZK",grouping:",",decimal:".",precision:2},WON:{symbol:"₩",grouping:",",decimal:".",precision:2}};function n(i){return s[i]||{symbol:"$",grouping:",",decimal:".",precision:2}}},25607:(i,o,e)=>{"use strict";e.d(o,{ZP:()=>t});var s=e(43317),n=e(5375);function t(i,o,e={}){const t=(0,s.X)(o);if(!t||isNaN(i))return null;const{decimal:r,grouping:l,precision:c,symbol:m}={...t,...e},a=i<0?"-":"";let p=(0,n.Z)(Math.abs(i),c,r,l);return e.stripZeros&&(p=function(i,o){const e=new RegExp(`\\${o}0+$`);return i.replace(e,"")}(p,r)),`${a}${m}${p}`}},5375:(i,o,e)=>{"use strict";function s(i,o=0,e=".",s=","){const n=(i+"").replace(/[^0-9+\-Ee.]/g,""),t=isFinite(+n)?+n:0,r=isFinite(+o)?Math.abs(o):0,l=(r?function(i,o){const e=Math.pow(10,o);return""+(Math.round(i*e)/e).toFixed(o)}(t,r):""+Math.round(t)).split(".");return l[0].length>3&&(l[0]=l[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,s)),(l[1]||"").lengths})},47701:i=>{"use strict";i.exports=window.wp.domReady},96483:i=>{"use strict";i.exports=window.wp.url}},o={};function e(s){var n=o[s];if(void 0!==n)return n.exports;var t=o[s]={exports:{}};return i[s](t,t.exports,e),t.exports}e.n=i=>{var o=i&&i.__esModule?()=>i.default:()=>i;return e.d(o,{a:o}),o},e.d=(i,o)=>{for(var s in o)e.o(o,s)&&!e.o(i,s)&&Object.defineProperty(i,s,{enumerable:!0,get:o[s]})},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(i){if("object"==typeof window)return window}}(),e.o=(i,o)=>Object.prototype.hasOwnProperty.call(i,o),(()=>{var i;e.g.importScripts&&(i=e.g.location+"");var o=e.g.document;if(!i&&o&&(o.currentScript&&(i=o.currentScript.src),!i)){var s=o.getElementsByTagName("script");s.length&&(i=s[s.length-1].src)}if(!i)throw new Error("Automatic publicPath is not supported in this browser");i=i.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=i+"../"})(),(()=>{"use strict";e(80425)})(),(()=>{"use strict";var i=e(25607),o=e(47701),s=e.n(o),n=e(96483),t=e(79162),r=e(63166);class l{constructor(i){this.block=i,this.amount=null,this.isCustomAmount=!1,this.interval="one-time",this.initNavigation(),this.handleCustomAmount(),this.handleChosenAmount(),this.block.querySelector(".donations__container").classList.add("loaded")}getNavItem(i){return this.block.querySelector(`.donations__nav-item[data-interval="${i}"]`)}resetSelectedAmount(){const i=this.block.querySelector(".donations__amount.is-selected");i&&i.classList.remove("is-selected")}getDonateButton(){return this.block.querySelector(`.donations__donate-button.${{"one-time":"donations__one-time-item","1 month":"donations__monthly-item","1 year":"donations__annual-item"}[this.interval]}`)}toggleDonateButton(i){const o=this.getDonateButton();i?o.classList.remove("is-disabled"):o.classList.add("is-disabled")}updateUrl(){const i=this.getDonateButton(),o=i.getAttribute("href");this.amount?i.setAttribute("href",(0,n.addQueryArgs)(o,{amount:this.amount,...this.isCustomAmount&&{customAmount:!0}})):i.setAttribute("href",(0,n.removeQueryArgs)(o,"amount","customAmount"))}updateAmountFromCustomAmountInput(){const i=this.block.querySelector(".donations__custom-amount .donations__amount-value"),o=this.block.querySelector(".donations__custom-amount"),e=i.innerHTML;if(!e)return this.amount=null,void this.toggleDonateButton(!1);const s=i.dataset.currency,n=(0,t.Vm)(e,s);n&&n>=(0,t.hj)(s)?(o.classList.remove("has-error"),this.amount=n,this.toggleDonateButton(!0)):(o.classList.add("has-error"),this.amount=null,this.toggleDonateButton(!1)),this.updateUrl()}initNavigation(){const i=this.block.querySelectorAll(".donations__nav-item"),o=this.block.querySelector(".donations__tab"),e={"one-time":"is-one-time","1 month":"is-monthly","1 year":"is-annual"},s=i=>{const s=this.interval,n=i.target.dataset.interval;this.interval=n;const t=this.getNavItem(s);t&&t.classList.remove("is-active");const r=this.getNavItem(n);r&&r.classList.add("is-active"),o.classList.remove(e[s]),o.classList.add(e[n]),this.amount=null,this.isCustomAmount=!1,this.resetSelectedAmount(),this.updateUrl(),this.toggleDonateButton(!1)};i.forEach((i=>{i.addEventListener("click",s),i.addEventListener("keydown",s)}));const n=this.getNavItem(this.interval);n&&n.classList.add("is-active"),o.classList.add(e[this.interval])}handleCustomAmount(){const o=this.block.querySelector(".donations__custom-amount .donations__amount-value");if(!o)return;const e=this.block.querySelector(".donations__custom-amount");o.setAttribute("contenteditable",""),o.addEventListener("keydown",(i=>{"Enter"===i.key&&i.preventDefault()})),o.addEventListener("focus",(()=>{this.resetSelectedAmount(),e.classList.add("is-selected"),this.isCustomAmount||(this.isCustomAmount=!0,this.updateAmountFromCustomAmountInput())})),o.addEventListener("blur",(()=>{this.isCustomAmount&&this.amount&&(o.innerHTML=(0,i.ZP)(this.amount,o.dataset.currency,{symbol:""}))})),o.addEventListener("input",(()=>this.updateAmountFromCustomAmountInput()))}handleChosenAmount(){this.block.querySelectorAll(".donations__amount:not( .donations__custom-amount )").forEach((i=>{i.addEventListener("click",(i=>{this.resetSelectedAmount(),i.target.classList.add("is-selected"),this.amount=i.target.dataset.amount,this.isCustomAmount=!1;const o=this.block.querySelector(".donations__custom-amount");o&&o.classList.remove("has-error"),this.updateUrl();this.getDonateButton().classList.remove("is-disabled")}))})),this.block.querySelectorAll(".donations__donate-button").forEach((i=>i.classList.add("is-disabled")))}}s()((()=>{document.querySelectorAll(".wp-block-jetpack-donations").forEach((i=>new l(i))),(0,r.fc)(".donations__donate-button")}))})()})(); \ No newline at end of file +(()=>{var i={72730:(i,o,e)=>{"use strict";e.d(o,{C_:()=>r,dv:()=>t});var s=e(3975);const n={USD:.5,AUD:.5,BRL:.5,CAD:.5,CHF:.5,DKK:2.5,EUR:.5,GBP:.3,HKD:4,INR:.5,JPY:50,MXN:10,NOK:3,NZD:.5,PLN:2,SEK:3,SGD:.5};Object.keys(n).map((i=>{const{symbol:o}=(0,s.i)(i);var e;return{value:i,label:o===i?i:`${i} ${e=o,String(e||"").replace(/\.+$/,"")}`}}));function t(i){return n[i]}function r(i,o){if(!i)return null;if("number"==typeof i)return i;let e=i;return s.y[o].grouping&&(e=i.replace(new RegExp("\\"+s.y[o].grouping,"g"),"")),i=parseFloat(e.replace(new RegExp("\\"+s.y[o].decimal,"g"),".")),isNaN(i)?null:i}},72856:(i,o,e)=>{"use strict";e.d(o,{Wu:()=>r});let s="";function n(i){if("https://subscribe.wordpress.com"===i.origin&&i.data){const o=JSON.parse(i.data);if(o&&o.result&&o.result.jwt_token&&(s=o.result.jwt_token,c(s)),o&&"close"===o.action&&s)window.location.reload(!0);else if(o&&"close"===o.action){window.removeEventListener("message",n);document.getElementById("memberships-modal-window").close(),document.body.classList.remove("jetpack-memberships-modal-open")}}}function t(i){i.insertAdjacentHTML("beforeend",'\t\t\t\t\t\t'),i.addEventListener("click",(o=>{o.preventDefault(),i.classList.add("is-loading"),i.setAttribute("aria-busy","true"),i.setAttribute("aria-live","polite");return function(i){return new Promise((o=>{const e=document.getElementById("memberships-modal-window");e&&document.body.removeChild(e);const s=document.createElement("dialog");s.setAttribute("id","memberships-modal-window"),s.classList.add("jetpack-memberships-modal"),s.classList.add("is-loading");const t=document.createElement("iframe");t.setAttribute("frameborder","0"),t.setAttribute("allowtransparency","true"),t.setAttribute("allowfullscreen","true"),t.addEventListener("load",(function(){document.body.classList.add("jetpack-memberships-modal-open"),s.classList.remove("is-loading"),o()})),t.setAttribute("id","memberships-modal-iframe"),t.innerText="This feature requires inline frames. You have iframes disabled or your browser does not support them.",t.src=i+"&display=alternate&jwt_token="+l();const r=document.querySelector('input[name="lang"]')?.value;r&&(t.src=t.src+"&lang="+r),document.body.appendChild(s),s.appendChild(t),window.addEventListener("message",n,!1),s.showModal()}))}(i.getAttribute("href")).then((()=>{i.classList.remove("is-loading"),i.setAttribute("aria-busy","false")})),i.blur(),!1}))}const r=i=>{Array.prototype.slice.call(document.querySelectorAll(i)).forEach((i=>{if("true"!==i.getAttribute("data-jetpack-memberships-button-initialized")){try{t(i)}catch(i){console.error("Problem setting up Modal",i)}i.setAttribute("data-jetpack-memberships-button-initialized","true")}}))},l=function(){const i=`; ${document.cookie}`.split("; wp-jp-premium-content-session=");if(2===i.length)return i.pop().split(";").shift()},c=function(i){const o=new Date,e=new Date(o.setMonth(o.getMonth()+1));document.cookie=`wp-jp-premium-content-session=${i}; expires=${e.toGMTString()}; path=/`}},79366:(i,o,e)=>{"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(e.p=window.Jetpack_Block_Assets_Base_Url)},3975:(i,o,e)=>{"use strict";e.d(o,{i:()=>n,y:()=>s});const s={AED:{symbol:"د.إ.‏",grouping:",",decimal:".",precision:2},AFN:{symbol:"؋",grouping:",",decimal:".",precision:2},ALL:{symbol:"Lek",grouping:".",decimal:",",precision:2},AMD:{symbol:"֏",grouping:",",decimal:".",precision:2},ANG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AOA:{symbol:"Kz",grouping:",",decimal:".",precision:2},ARS:{symbol:"$",grouping:".",decimal:",",precision:2},AUD:{symbol:"A$",grouping:",",decimal:".",precision:2},AWG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AZN:{symbol:"₼",grouping:" ",decimal:",",precision:2},BAM:{symbol:"КМ",grouping:".",decimal:",",precision:2},BBD:{symbol:"Bds$",grouping:",",decimal:".",precision:2},BDT:{symbol:"৳",grouping:",",decimal:".",precision:0},BGN:{symbol:"лв.",grouping:" ",decimal:",",precision:2},BHD:{symbol:"د.ب.‏",grouping:",",decimal:".",precision:3},BIF:{symbol:"FBu",grouping:",",decimal:".",precision:0},BMD:{symbol:"$",grouping:",",decimal:".",precision:2},BND:{symbol:"$",grouping:".",decimal:",",precision:0},BOB:{symbol:"Bs",grouping:".",decimal:",",precision:2},BRL:{symbol:"R$",grouping:".",decimal:",",precision:2},BSD:{symbol:"$",grouping:",",decimal:".",precision:2},BTC:{symbol:"Ƀ",grouping:",",decimal:".",precision:2},BTN:{symbol:"Nu.",grouping:",",decimal:".",precision:1},BWP:{symbol:"P",grouping:",",decimal:".",precision:2},BYR:{symbol:"р.",grouping:" ",decimal:",",precision:2},BZD:{symbol:"BZ$",grouping:",",decimal:".",precision:2},CAD:{symbol:"C$",grouping:",",decimal:".",precision:2},CDF:{symbol:"FC",grouping:",",decimal:".",precision:2},CHF:{symbol:"CHF",grouping:"'",decimal:".",precision:2},CLP:{symbol:"$",grouping:".",decimal:",",precision:2},CNY:{symbol:"¥",grouping:",",decimal:".",precision:2},COP:{symbol:"$",grouping:".",decimal:",",precision:2},CRC:{symbol:"₡",grouping:".",decimal:",",precision:2},CUC:{symbol:"CUC",grouping:",",decimal:".",precision:2},CUP:{symbol:"$MN",grouping:",",decimal:".",precision:2},CVE:{symbol:"$",grouping:",",decimal:".",precision:2},CZK:{symbol:"Kč",grouping:" ",decimal:",",precision:2},DJF:{symbol:"Fdj",grouping:",",decimal:".",precision:0},DKK:{symbol:"kr.",grouping:"",decimal:",",precision:2},DOP:{symbol:"RD$",grouping:",",decimal:".",precision:2},DZD:{symbol:"د.ج.‏",grouping:",",decimal:".",precision:2},EGP:{symbol:"ج.م.‏",grouping:",",decimal:".",precision:2},ERN:{symbol:"Nfk",grouping:",",decimal:".",precision:2},ETB:{symbol:"ETB",grouping:",",decimal:".",precision:2},EUR:{symbol:"€",grouping:".",decimal:",",precision:2},FJD:{symbol:"FJ$",grouping:",",decimal:".",precision:2},FKP:{symbol:"£",grouping:",",decimal:".",precision:2},GBP:{symbol:"£",grouping:",",decimal:".",precision:2},GEL:{symbol:"Lari",grouping:" ",decimal:",",precision:2},GHS:{symbol:"₵",grouping:",",decimal:".",precision:2},GIP:{symbol:"£",grouping:",",decimal:".",precision:2},GMD:{symbol:"D",grouping:",",decimal:".",precision:2},GNF:{symbol:"FG",grouping:",",decimal:".",precision:0},GTQ:{symbol:"Q",grouping:",",decimal:".",precision:2},GYD:{symbol:"G$",grouping:",",decimal:".",precision:2},HKD:{symbol:"HK$",grouping:",",decimal:".",precision:2},HNL:{symbol:"L.",grouping:",",decimal:".",precision:2},HRK:{symbol:"kn",grouping:".",decimal:",",precision:2},HTG:{symbol:"G",grouping:",",decimal:".",precision:2},HUF:{symbol:"Ft",grouping:".",decimal:",",precision:0},IDR:{symbol:"Rp",grouping:".",decimal:",",precision:0},ILS:{symbol:"₪",grouping:",",decimal:".",precision:2},INR:{symbol:"₹",grouping:",",decimal:".",precision:2},IQD:{symbol:"د.ع.‏",grouping:",",decimal:".",precision:2},IRR:{symbol:"﷼",grouping:",",decimal:"/",precision:2},ISK:{symbol:"kr.",grouping:".",decimal:",",precision:0},JMD:{symbol:"J$",grouping:",",decimal:".",precision:2},JOD:{symbol:"د.ا.‏",grouping:",",decimal:".",precision:3},JPY:{symbol:"¥",grouping:",",decimal:".",precision:0},KES:{symbol:"S",grouping:",",decimal:".",precision:2},KGS:{symbol:"сом",grouping:" ",decimal:"-",precision:2},KHR:{symbol:"៛",grouping:",",decimal:".",precision:0},KMF:{symbol:"CF",grouping:",",decimal:".",precision:2},KPW:{symbol:"₩",grouping:",",decimal:".",precision:0},KRW:{symbol:"₩",grouping:",",decimal:".",precision:0},KWD:{symbol:"د.ك.‏",grouping:",",decimal:".",precision:3},KYD:{symbol:"$",grouping:",",decimal:".",precision:2},KZT:{symbol:"₸",grouping:" ",decimal:"-",precision:2},LAK:{symbol:"₭",grouping:",",decimal:".",precision:0},LBP:{symbol:"ل.ل.‏",grouping:",",decimal:".",precision:2},LKR:{symbol:"₨",grouping:",",decimal:".",precision:0},LRD:{symbol:"L$",grouping:",",decimal:".",precision:2},LSL:{symbol:"M",grouping:",",decimal:".",precision:2},LYD:{symbol:"د.ل.‏",grouping:",",decimal:".",precision:3},MAD:{symbol:"د.م.‏",grouping:",",decimal:".",precision:2},MDL:{symbol:"lei",grouping:",",decimal:".",precision:2},MGA:{symbol:"Ar",grouping:",",decimal:".",precision:0},MKD:{symbol:"ден.",grouping:".",decimal:",",precision:2},MMK:{symbol:"K",grouping:",",decimal:".",precision:2},MNT:{symbol:"₮",grouping:" ",decimal:",",precision:2},MOP:{symbol:"MOP$",grouping:",",decimal:".",precision:2},MRO:{symbol:"UM",grouping:",",decimal:".",precision:2},MTL:{symbol:"₤",grouping:",",decimal:".",precision:2},MUR:{symbol:"₨",grouping:",",decimal:".",precision:2},MVR:{symbol:"MVR",grouping:",",decimal:".",precision:1},MWK:{symbol:"MK",grouping:",",decimal:".",precision:2},MXN:{symbol:"MX$",grouping:",",decimal:".",precision:2},MYR:{symbol:"RM",grouping:",",decimal:".",precision:2},MZN:{symbol:"MT",grouping:",",decimal:".",precision:0},NAD:{symbol:"N$",grouping:",",decimal:".",precision:2},NGN:{symbol:"₦",grouping:",",decimal:".",precision:2},NIO:{symbol:"C$",grouping:",",decimal:".",precision:2},NOK:{symbol:"kr",grouping:" ",decimal:",",precision:2},NPR:{symbol:"₨",grouping:",",decimal:".",precision:2},NZD:{symbol:"NZ$",grouping:",",decimal:".",precision:2},OMR:{symbol:"﷼",grouping:",",decimal:".",precision:3},PAB:{symbol:"B/.",grouping:",",decimal:".",precision:2},PEN:{symbol:"S/.",grouping:",",decimal:".",precision:2},PGK:{symbol:"K",grouping:",",decimal:".",precision:2},PHP:{symbol:"₱",grouping:",",decimal:".",precision:2},PKR:{symbol:"₨",grouping:",",decimal:".",precision:2},PLN:{symbol:"zł",grouping:" ",decimal:",",precision:2},PYG:{symbol:"₲",grouping:".",decimal:",",precision:2},QAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},RON:{symbol:"lei",grouping:".",decimal:",",precision:2},RSD:{symbol:"Дин.",grouping:".",decimal:",",precision:2},RUB:{symbol:"₽",grouping:" ",decimal:",",precision:2},RWF:{symbol:"RWF",grouping:" ",decimal:",",precision:2},SAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},SBD:{symbol:"S$",grouping:",",decimal:".",precision:2},SCR:{symbol:"₨",grouping:",",decimal:".",precision:2},SDD:{symbol:"LSd",grouping:",",decimal:".",precision:2},SDG:{symbol:"£‏",grouping:",",decimal:".",precision:2},SEK:{symbol:"kr",grouping:",",decimal:".",precision:2},SGD:{symbol:"S$",grouping:",",decimal:".",precision:2},SHP:{symbol:"£",grouping:",",decimal:".",precision:2},SLL:{symbol:"Le",grouping:",",decimal:".",precision:2},SOS:{symbol:"S",grouping:",",decimal:".",precision:2},SRD:{symbol:"$",grouping:",",decimal:".",precision:2},STD:{symbol:"Db",grouping:",",decimal:".",precision:2},SVC:{symbol:"₡",grouping:",",decimal:".",precision:2},SYP:{symbol:"£",grouping:",",decimal:".",precision:2},SZL:{symbol:"E",grouping:",",decimal:".",precision:2},THB:{symbol:"฿",grouping:",",decimal:".",precision:2},TJS:{symbol:"TJS",grouping:" ",decimal:";",precision:2},TMT:{symbol:"m",grouping:" ",decimal:",",precision:0},TND:{symbol:"د.ت.‏",grouping:",",decimal:".",precision:3},TOP:{symbol:"T$",grouping:",",decimal:".",precision:2},TRY:{symbol:"TL",grouping:".",decimal:",",precision:2},TTD:{symbol:"TT$",grouping:",",decimal:".",precision:2},TVD:{symbol:"$T",grouping:",",decimal:".",precision:2},TWD:{symbol:"NT$",grouping:",",decimal:".",precision:2},TZS:{symbol:"TSh",grouping:",",decimal:".",precision:2},UAH:{symbol:"₴",grouping:" ",decimal:",",precision:2},UGX:{symbol:"USh",grouping:",",decimal:".",precision:2},USD:{symbol:"$",grouping:",",decimal:".",precision:2},UYU:{symbol:"$U",grouping:".",decimal:",",precision:2},UZS:{symbol:"сўм",grouping:" ",decimal:",",precision:2},VEB:{symbol:"Bs.",grouping:",",decimal:".",precision:2},VEF:{symbol:"Bs. F.",grouping:".",decimal:",",precision:2},VND:{symbol:"₫",grouping:".",decimal:",",precision:1},VUV:{symbol:"VT",grouping:",",decimal:".",precision:0},WST:{symbol:"WS$",grouping:",",decimal:".",precision:2},XAF:{symbol:"F",grouping:",",decimal:".",precision:2},XCD:{symbol:"$",grouping:",",decimal:".",precision:2},XOF:{symbol:"F",grouping:" ",decimal:",",precision:2},XPF:{symbol:"F",grouping:",",decimal:".",precision:2},YER:{symbol:"﷼",grouping:",",decimal:".",precision:2},ZAR:{symbol:"R",grouping:" ",decimal:",",precision:2},ZMW:{symbol:"ZK",grouping:",",decimal:".",precision:2},WON:{symbol:"₩",grouping:",",decimal:".",precision:2}};function n(i){return s[i]||{symbol:"$",grouping:",",decimal:".",precision:2}}},4567:(i,o,e)=>{"use strict";e.d(o,{Ay:()=>t});var s=e(3975),n=e(18360);function t(i,o,e={}){const t=(0,s.i)(o);if(!t||isNaN(i))return null;const{decimal:r,grouping:l,precision:c,symbol:m}={...t,...e},a=i<0?"-":"";let p=(0,n.A)(Math.abs(i),c,r,l);return e.stripZeros&&(p=function(i,o){const e=new RegExp(`\\${o}0+$`);return i.replace(e,"")}(p,r)),`${a}${m}${p}`}},18360:(i,o,e)=>{"use strict";function s(i,o=0,e=".",s=","){const n=(i+"").replace(/[^0-9+\-Ee.]/g,""),t=isFinite(+n)?+n:0,r=isFinite(+o)?Math.abs(o):0,l=(r?function(i,o){const e=Math.pow(10,o);return""+(Math.round(i*e)/e).toFixed(o)}(t,r):""+Math.round(t)).split(".");return l[0].length>3&&(l[0]=l[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,s)),(l[1]||"").lengths})},98490:i=>{"use strict";i.exports=window.wp.domReady},93832:i=>{"use strict";i.exports=window.wp.url}},o={};function e(s){var n=o[s];if(void 0!==n)return n.exports;var t=o[s]={exports:{}};return i[s](t,t.exports,e),t.exports}e.n=i=>{var o=i&&i.__esModule?()=>i.default:()=>i;return e.d(o,{a:o}),o},e.d=(i,o)=>{for(var s in o)e.o(o,s)&&!e.o(i,s)&&Object.defineProperty(i,s,{enumerable:!0,get:o[s]})},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(i){if("object"==typeof window)return window}}(),e.o=(i,o)=>Object.prototype.hasOwnProperty.call(i,o),(()=>{var i;e.g.importScripts&&(i=e.g.location+"");var o=e.g.document;if(!i&&o&&(o.currentScript&&"SCRIPT"===o.currentScript.tagName.toUpperCase()&&(i=o.currentScript.src),!i)){var s=o.getElementsByTagName("script");if(s.length)for(var n=s.length-1;n>-1&&(!i||!/^http(s?):/.test(i));)i=s[n--].src}if(!i)throw new Error("Automatic publicPath is not supported in this browser");i=i.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=i+"../"})(),(()=>{"use strict";e(79366)})(),(()=>{"use strict";var i=e(4567),o=e(98490),s=e.n(o),n=e(93832),t=e(72730),r=e(72856);class l{constructor(i){this.block=i,this.amount=null,this.isCustomAmount=!1,this.interval="one-time",this.initNavigation(),this.handleCustomAmount(),this.handleChosenAmount(),this.block.querySelector(".donations__container").classList.add("loaded")}getNavItem(i){return this.block.querySelector(`.donations__nav-item[data-interval="${i}"]`)}resetSelectedAmount(){const i=this.block.querySelector(".donations__amount.is-selected");i&&i.classList.remove("is-selected")}getDonateButton(){return this.block.querySelector(`.donations__donate-button.${{"one-time":"donations__one-time-item","1 month":"donations__monthly-item","1 year":"donations__annual-item"}[this.interval]}`)}toggleDonateButton(i){const o=this.getDonateButton();i?o.classList.remove("is-disabled"):o.classList.add("is-disabled")}updateUrl(){const i=this.getDonateButton(),o=i.getAttribute("href");this.amount?i.setAttribute("href",(0,n.addQueryArgs)(o,{amount:this.amount,...this.isCustomAmount&&{customAmount:!0}})):i.setAttribute("href",(0,n.removeQueryArgs)(o,"amount","customAmount"))}updateAmountFromCustomAmountInput(){const i=this.block.querySelector(".donations__custom-amount .donations__amount-value"),o=this.block.querySelector(".donations__custom-amount"),e=i.innerHTML;if(!e)return this.amount=null,void this.toggleDonateButton(!1);const s=i.dataset.currency,n=(0,t.C_)(e,s);n&&n>=(0,t.dv)(s)?(o.classList.remove("has-error"),this.amount=n,this.toggleDonateButton(!0)):(o.classList.add("has-error"),this.amount=null,this.toggleDonateButton(!1)),this.updateUrl()}initNavigation(){const i=this.block.querySelectorAll(".donations__nav-item"),o=this.block.querySelector(".donations__tab"),e={"one-time":"is-one-time","1 month":"is-monthly","1 year":"is-annual"},s=i=>{const s=this.interval,n=i.target.dataset.interval;this.interval=n;const t=this.getNavItem(s);t&&t.classList.remove("is-active");const r=this.getNavItem(n);r&&r.classList.add("is-active"),o.classList.remove(e[s]),o.classList.add(e[n]),this.amount=null,this.isCustomAmount=!1,this.resetSelectedAmount(),this.updateUrl(),this.toggleDonateButton(!1)};i.forEach((i=>{i.addEventListener("click",s),i.addEventListener("keydown",s)}));const n=this.getNavItem(this.interval);n&&n.classList.add("is-active"),o.classList.add(e[this.interval])}handleCustomAmount(){const o=this.block.querySelector(".donations__custom-amount .donations__amount-value");if(!o)return;const e=this.block.querySelector(".donations__custom-amount");o.setAttribute("contenteditable",""),o.addEventListener("keydown",(i=>{"Enter"===i.key&&i.preventDefault()})),o.addEventListener("focus",(()=>{this.resetSelectedAmount(),e.classList.add("is-selected"),this.isCustomAmount||(this.isCustomAmount=!0,this.updateAmountFromCustomAmountInput())})),o.addEventListener("blur",(()=>{this.isCustomAmount&&this.amount&&(o.innerHTML=(0,i.Ay)(this.amount,o.dataset.currency,{symbol:""}))})),o.addEventListener("input",(()=>this.updateAmountFromCustomAmountInput()))}handleChosenAmount(){this.block.querySelectorAll(".donations__amount:not( .donations__custom-amount )").forEach((i=>{i.addEventListener("click",(i=>{this.resetSelectedAmount(),i.target.classList.add("is-selected"),this.amount=i.target.dataset.amount,this.isCustomAmount=!1;const o=this.block.querySelector(".donations__custom-amount");o&&o.classList.remove("has-error"),this.updateUrl();this.getDonateButton().classList.remove("is-disabled")}))})),this.block.querySelectorAll(".donations__donate-button").forEach((i=>i.classList.add("is-disabled")))}}s()((()=>{document.querySelectorAll(".wp-block-jetpack-donations").forEach((i=>new l(i))),(0,r.Wu)(".donations__donate-button")}))})()})(); \ No newline at end of file diff --git a/wp-content/plugins/jetpack/_inc/blocks/editor-beta.asset.php b/wp-content/plugins/jetpack/_inc/blocks/editor-beta.asset.php index cfef885c1..a30bb5b23 100644 --- a/wp-content/plugins/jetpack/_inc/blocks/editor-beta.asset.php +++ b/wp-content/plugins/jetpack/_inc/blocks/editor-beta.asset.php @@ -1 +1 @@ - array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-block-serialization-default-parser', 'wp-blocks', 'wp-commands', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-widgets', 'wp-wordcount'), 'version' => '34d25194d1641304b6af'); + array('jetpack-script-data', 'lodash', 'moment', 'react', 'react-dom', 'react-jsx-runtime', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-block-serialization-default-parser', 'wp-blocks', 'wp-commands', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-widgets', 'wp-wordcount'), 'version' => '21b73ac3c6465e4e8ad2'); diff --git a/wp-content/plugins/jetpack/_inc/blocks/editor-beta.css b/wp-content/plugins/jetpack/_inc/blocks/editor-beta.css index becb5d6a8..f4f568b0b 100644 --- a/wp-content/plugins/jetpack/_inc/blocks/editor-beta.css +++ b/wp-content/plugins/jetpack/_inc/blocks/editor-beta.css @@ -1 +1 @@ -.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.jetpack-editor-panel-logo{margin-left:.5em}.jetpack-gutenberg-social-icon{fill:#757575}.jetpack-gutenberg-social-icon.is-facebook{fill:#0866ff}.jetpack-gutenberg-social-icon.is-twitter{fill:#55acee}.jetpack-gutenberg-social-icon.is-linkedin{fill:#0976b4}.jetpack-gutenberg-social-icon.is-tumblr{fill:#35465c}.jetpack-gutenberg-social-icon.is-google{fill:var(--color-gplus)}.jetpack-ai-status-indicator__icon-wrapper{align-self:baseline;opacity:0;transition:opacity .25s ease-in-out,width .25s;width:0}.jetpack-ai-status-indicator__icon-wrapper>svg{height:24px;margin:6px 0 0;width:24px}.jetpack-ai-status-indicator__icon-wrapper.is-requesting,.jetpack-ai-status-indicator__icon-wrapper.is-suggesting{opacity:1;width:24px}.jetpack-components-ai-control__container-wrapper{bottom:16px;position:sticky}.jetpack-components-ai-control__container{background-color:#fff;border:1px solid #ccc;border-radius:6px;box-shadow:0 12px 15px 0 #0000001f,0 3px 9px 0 #0000001f,0 1px 3px 0 #00000026;color:#2c3338;font-family:SF Pro Text,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.jetpack-components-ai-control__wrapper{align-items:flex-end;border-radius:6px 6px 0 0;box-sizing:border-box;display:flex;gap:6px;padding:8px 8px 8px 12px}.jetpack-components-ai-control__wrapper.is-transparent{opacity:.4}.jetpack-components-ai-control__input-wrapper{align-items:center;align-self:center;display:flex;flex-grow:1;min-height:36px}.jetpack-components-ai-control__input-wrapper textarea.jetpack-components-ai-control__input{background-color:#fff;border:none;border-radius:2px;box-shadow:none;color:#2c3338;font-size:16px;font-weight:400;line-height:20px;min-height:20px;padding:6px 8px;resize:none!important;transition:box-shadow .1s linear 0s;width:100%}.jetpack-components-ai-control__input-wrapper textarea.jetpack-components-ai-control__input:focus{box-shadow:none;color:#2c3338}@media(min-width:600px){.jetpack-components-ai-control__input-wrapper textarea.jetpack-components-ai-control__input{font-size:13px}}.jetpack-components-ai-control__input-wrapper textarea.jetpack-components-ai-control__input::-moz-placeholder{opacity:.75;text-overflow:ellipsis;white-space:nowrap}.jetpack-components-ai-control__input-wrapper textarea.jetpack-components-ai-control__input::placeholder{opacity:.75;text-overflow:ellipsis;white-space:nowrap}.jetpack-components-ai-control__controls-prompt_button_wrapper{align-items:center;display:flex;gap:8px}.jetpack-components-ai-control__controls-prompt_button_wrapper .components-button.is-small:not(.has-label){padding:0}.jetpack-components-ai-control__controls-prompt_button_wrapper .components-button-group .components-button{box-shadow:none;padding:6px 8px}.jetpack-components-ai-control__controls-prompt_button_wrapper .components-button-group{display:flex}.jetpack-components-ai-control__controls-prompt_button:disabled{cursor:not-allowed;opacity:.6}.jetpack-ai-assistant__message{align-items:center;align-self:center;border-radius:4px;display:flex;font-size:12px;line-height:28px;min-height:28px;padding:0 12px}.jetpack-ai-assistant__message>svg{fill:#787c82;flex-shrink:0}.jetpack-ai-assistant__message .jetpack-ai-assistant__message-content{align-items:center;display:flex;flex-grow:2;gap:4px;line-height:1.4em;margin:0 8px}.jetpack-ai-assistant__message .jetpack-ai-assistant__message-content span{padding:5px 0}.jetpack-ai-assistant__message .jetpack-ai-assistant__message-content .components-external-link{color:#646970}.jetpack-ai-assistant__message .jetpack-ai-assistant__message-content .components-button.is-link{padding:0}.jetpack-ai-assistant__message .jetpack-ai-assistant__message-content .components-button.is-link,.jetpack-ai-assistant__message .jetpack-ai-assistant__message-content .components-external-link{flex-shrink:0}.jetpack-ai-assistant__message-severity-info{background-color:#f6f7f7;color:#646970}.jetpack-ai-assistant__message-severity-warning{background-color:#fef8ee;color:#101517}.jetpack-ai-assistant__message-severity-error{background-color:#f7ebec;color:#101517}.jetpack-ai-assistant__message-severity-error>svg{fill:#e65054}.jetpack-ai-assistant__message-severity-success{background-color:#d0e6b8;color:#101517}.jetpack-ai-assistant__message-severity-success>svg{fill:#2fb41f}.jetpack-ai-assistant__message-sidebar{display:flex;height:unset;padding:0}.jetpack-ai-assistant__message-sidebar>svg{fill:#646970}.jetpack-ai-logo-generator-modal__loading-wrapper{align-items:center;display:flex;flex-direction:column;flex-grow:1;height:100%;justify-content:center}.jetpack-ai-logo-generator-modal__loader{margin-bottom:29px}.jetpack-ai-logo-generator__carousel{display:flex;flex-shrink:0;gap:8px;overflow-x:auto}.jetpack-ai-logo-generator__carousel .components-button{height:unset;padding:unset}@media(min-width:700px){.jetpack-ai-logo-generator__carousel{padding:2px}}.jetpack-ai-logo-generator__carousel-logo{align-items:center;border:1px solid #dcdcde;border-radius:2px;display:flex;flex-shrink:0;justify-content:center}.jetpack-ai-logo-generator__carousel-logo.is-selected{border-color:#0675c4;border-width:1.5px}.jetpack-ai-logo-generator__carousel-logo img{height:48px;width:48px}.jetpack-ai-logo-generator-icon path{fill:#0675c4}.jetpack-ai-logo-generator-modal-presenter__wrapper{display:flex;flex-direction:column;gap:8px}.jetpack-ai-logo-generator-modal-presenter{display:flex}.jetpack-ai-logo-generator-modal-presenter__content{align-items:center;background:#f6f7f7;border-radius:4px;display:flex;flex-grow:1;max-height:229px}@media(max-width:700px){.jetpack-ai-logo-generator-modal-presenter__content{flex-direction:column;max-height:unset}}.jetpack-ai-logo-generator-modal-presenter__rectangle{position:relative;width:0}.jetpack-ai-logo-generator-modal-presenter__rectangle:after{background-color:#f6f7f7;content:"";height:15px;left:-66px;position:absolute;top:-7.5px;transform:rotate(-45deg);width:15px}.jetpack-ai-logo-generator-modal-presenter__loading-text{flex-grow:1;text-align:center}.jetpack-ai-logo-generator-modal-presenter__logo{height:198px;margin:16px 30px 16px 16px;width:198px}@media(max-width:700px){.jetpack-ai-logo-generator-modal-presenter__logo{margin:16px}}.jetpack-ai-logo-generator-modal-presenter__action-wrapper{box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;height:100%;margin-right:32px;padding:16px 0}@media(max-width:700px){.jetpack-ai-logo-generator-modal-presenter__action-wrapper{margin-left:32px}}.jetpack-ai-logo-generator-modal-presenter__description{color:#646970;flex-grow:1;overflow-y:auto;padding-top:16px}.jetpack-ai-logo-generator-modal-presenter__actions{border-top:1px solid #dcdcde;display:flex;gap:24px;margin-top:16px;padding-top:16px}.jetpack-ai-logo-generator-modal-presenter__action{align-items:center;display:flex}.jetpack-ai-logo-generator-modal-presenter__action.components-button,.jetpack-ai-logo-generator-modal-presenter__action.components-button:active,.jetpack-ai-logo-generator-modal-presenter__action.components-button:hover{color:#0675c4}.jetpack-ai-logo-generator-modal-presenter__action .action-text{font-size:var(--font-body-extra-small)}.jetpack-ai-logo-generator-modal-presenter__action .jetpack-ai-logo-generator-icon{margin-right:8px}.jetpack-ai-logo-generator-modal-presenter__success-wrapper{align-items:center;display:flex;flex-direction:column;gap:16px;width:100%}@media(max-width:700px){.jetpack-ai-logo-generator-modal-presenter__success-wrapper{padding-bottom:16px}}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper{font-size:var(--font-body-small);padding:8px 16px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-upgrade-plan-banner__banner-description{color:#fff;line-height:21px;word-wrap:break-word;vertical-align:middle}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-upgrade-plan-banner__icon{height:24px;margin-right:8px;position:relative;vertical-align:middle;width:24px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-upgrade-plan-banner__icon path{fill:#8c8f94}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button{font-size:var(--font-body-extra-small);font-weight:600;height:auto;line-height:20px;padding:4px 8px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary{background:#fff;color:#000}.jetpack-ai-logo-generator__prompt{display:flex;flex-direction:column;font-size:var(--font-body-small);gap:8px}.jetpack-ai-logo-generator__prompt-header{align-items:flex-start;align-self:stretch;display:flex;justify-content:space-between}.jetpack-ai-logo-generator__prompt-header .jetpack-ai-logo-generator__prompt-label{font-weight:500}.jetpack-ai-logo-generator__prompt-header .jetpack-ai-logo-generator__prompt-actions{display:flex;font-size:var(--font-body-extra-small);line-height:20px}.jetpack-ai-logo-generator__prompt-header .jetpack-ai-logo-generator__prompt-actions .jetpack-ai-logo-generator-icon{margin-right:4px}.jetpack-ai-logo-generator__prompt-query{align-items:flex-end;align-self:stretch;background:#fff;border:1px solid #c3c4c7;border-radius:8px;display:flex;gap:8px;justify-content:space-between;padding:8px 8px 8px 16px}@media(min-width:700px){.jetpack-ai-logo-generator__prompt-query{gap:48px}}.jetpack-ai-logo-generator__prompt-query .prompt-query__input{border:0;color:#101517;flex-grow:1;line-height:1.6;padding:6px 0;resize:none;vertical-align:initial;word-break:break-word}.jetpack-ai-logo-generator__prompt-query .prompt-query__input:active,.jetpack-ai-logo-generator__prompt-query .prompt-query__input:focus{outline:0}.jetpack-ai-logo-generator__prompt-query .prompt-query__input[contentEditable=false]{color:#646970}.jetpack-ai-logo-generator__prompt-query .prompt-query__input[data-placeholder]:empty:before{color:#646970;content:attr(data-placeholder)}.jetpack-ai-logo-generator__prompt-query .prompt-query__input[data-placeholder]:empty:focus:before{content:""}.jetpack-ai-logo-generator__prompt-footer{display:flex;flex-direction:column;gap:8px}.jetpack-ai-logo-generator__prompt-requests{color:#646970;display:flex;font-size:var(--font-body-extra-small);line-height:21px}.jetpack-ai-logo-generator__prompt-requests .prompt-footer__icon{height:20px;width:20px}.jetpack-ai-logo-generator__prompt-requests .prompt-footer__icon path{fill:#a7aaad}.jetpack-ai-logo-generator__prompt-error{color:#d63638;font-size:var(--font-body-extra-small);line-height:21px}.jetpack-ai-logo-generator-modal-visit-site-banner{background:#f6f7f7;border-radius:4px;display:flex;gap:16px;padding:16px 20px}@media(max-width:700px){.jetpack-ai-logo-generator-modal-visit-site-banner{flex-direction:column}}.jetpack-ai-logo-generator-modal-visit-site-banner__jetpack-logo{align-items:center;display:flex;justify-content:center}.jetpack-ai-logo-generator-modal-visit-site-banner__content{display:flex;flex-direction:column;font-size:14px}@media(max-width:700px){.jetpack-ai-logo-generator-modal-visit-site-banner__content{gap:8px}}@media(min-width:960px){.jetpack-ai-logo-generator-modal{max-height:90%}}.jetpack-ai-logo-generator-modal .components-modal__header{border-bottom:1px solid #dcdcde;padding:20px 24px}.jetpack-ai-logo-generator-modal .components-modal__content{margin-bottom:30px;padding:32px 32px 2px}.jetpack-ai-logo-generator-modal .components-modal__content>div:not(.components-modal__header){height:100%}.jetpack-ai-logo-generator-modal .components-button:focus:not(:disabled):not(.is-primary){box-shadow:0 0 0 2px #0675c4}.jetpack-ai-logo-generator-modal .components-button.is-link{color:#0675c4;text-decoration:none}.jetpack-ai-logo-generator-modal__body{display:flex;flex-direction:column;gap:16px;height:100%}@media(min-width:700px){.jetpack-ai-logo-generator-modal__body{min-height:409px;width:700px}.jetpack-ai-logo-generator-modal__body.notice-modal{min-height:unset;width:470px}}.jetpack-ai-logo-generator__footer{display:flex}.jetpack-ai-logo-generator__footer .jetpack-ai-logo-generator__feedback-button{align-items:center;display:flex;gap:4px;margin-top:8px}.jetpack-ai-logo-generator__footer .jetpack-ai-logo-generator__feedback-button .icon{color:#a7aaad}.jetpack-ai-logo-generator-modal__notice-message-wrapper{display:flex;flex-direction:column;gap:24px}.jetpack-ai-logo-generator-modal__notice-message{font-size:var(--font-body-small)}.jetpack-ai-logo-generator-modal__notice-actions{display:flex;gap:12px;justify-content:flex-end}.jetpack-ai-logo-generator__accept{display:flex;flex-direction:column;gap:64px}.jetpack-ai-logo-generator__accept-actions{display:flex;gap:22px;justify-content:flex-end}.ai-assistant-featured-image__content{align-items:center;display:flex;flex-direction:column;gap:8px;justify-content:center;margin-top:32px}.ai-assistant-featured-image__actions,.ai-assistant-featured-image__user-prompt{display:flex;justify-content:center;width:100%}.ai-assistant-featured-image__user-prompt{flex-direction:row}.ai-assistant-featured-image__user-prompt-textarea{display:flex;justify-content:center;width:100%}.ai-assistant-featured-image__user-prompt-textarea textarea{border:1px solid #ccc;border-radius:6px;color:#000;outline:none;padding:12px;width:100%}.ai-assistant-featured-image__user-prompt-textarea textarea:disabled{opacity:.5}.ai-assistant-featured-image__actions-left{display:flex;justify-content:flex-start;width:50%}.ai-assistant-featured-image__actions-right{display:flex;justify-content:flex-end;width:50%}.ai-assistant-featured-image__action-buttons{display:flex;gap:12px;justify-content:center}.ai-assistant-featured-image__image-canvas{margin-top:24px;width:100%}.ai-assistant-featured-image__image-canvas>.jetpack-ai-upgrade-banner{margin-bottom:8px}.ai-assistant-featured-image__footer{border-top:1px solid #dcdcde;display:flex;height:60px;justify-content:flex-start;margin:32px -32px -32px;padding:8px 32px}.ai-assistant-featured-image__footer__feedback-button{display:inline-block}.ai-assistant-featured-image__footer__feedback-button a{text-decoration:none}.ai-assistant-featured-image__footer .icon{color:#a7aaad;height:20px;margin-left:4px;width:20px}.ai-image-modal__content{align-items:center;display:flex;flex-direction:column;gap:8px;justify-content:center;margin-top:32px}.ai-image-modal__actions,.ai-image-modal__user-prompt{display:flex;justify-content:center;width:100%}.ai-image-modal__user-prompt{flex-direction:row}.ai-image-modal__user-prompt-textarea{display:flex;justify-content:center;width:100%}.ai-image-modal__user-prompt-textarea div{display:flex;width:100%}.ai-image-modal__user-prompt-textarea textarea{border:1px solid #ccc;border-radius:6px;color:#000;outline:none;padding:12px;width:100%}.ai-image-modal__user-prompt-textarea textarea:disabled{opacity:.5}.ai-image-modal__actions-left{display:flex;justify-content:flex-start;width:50%}.ai-image-modal__actions-right{display:flex;justify-content:flex-end;width:50%}.ai-image-modal__action-buttons{display:flex;gap:12px;justify-content:center}.ai-image-modal__image-canvas{margin-top:24px;width:100%}.ai-image-modal__image-canvas>.jetpack-ai-upgrade-banner{margin-bottom:8px}.ai-image-modal__footer{border-top:1px solid #dcdcde;display:flex;height:60px;justify-content:flex-start;margin:32px -32px -32px;padding:8px 32px}.ai-image-modal__footer__feedback-button{display:inline-block}.ai-image-modal__footer__feedback-button a{text-decoration:none}.ai-image-modal__footer .icon{color:#a7aaad;height:20px;margin-left:4px;width:20px}.jetpack-upgrade-plan-banner.block-editor-block-list__block{margin-bottom:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left] .jetpack-upgrade-plan-banner__wrapper,.jetpack-upgrade-plan-banner.wp-block[data-align=right] .jetpack-upgrade-plan-banner__wrapper{max-width:580px}.jetpack-upgrade-plan-banner__wrapper{column-gap:32px}.jetpack-upgrade-plan-banner.jetpack-ai-upgrade-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary.is-busy{background:#fff;color:#000}@media(min-width:960px){.ai-assistant-modal{max-height:95%}}.ai-assistant-modal__content{display:flex;flex-direction:column}@media screen and (min-width:960px){.ai-assistant-modal__content{width:100vw}}.ai-assistant-modal__header{display:flex;justify-content:space-between;margin-left:-32px;margin-right:-32px;margin-top:-32px;padding:8px 12px}.ai-assistant-modal__divider{background:#dcdcde;height:1px;margin:0 -32px}.ai-assistant-modal__title-wrapper{align-items:center;display:flex;gap:16px}.ai-assistant-modal__title-wrapper>svg{color:#008710;margin:0}.ai-assistant-modal__title{font-size:14px;line-height:24px;margin:0}.ai-assistant-image__blank{height:auto;position:relative}.ai-assistant-image__blank,.ai-assistant-image__blank-content{align-items:center;display:flex;justify-content:center;width:100%}.ai-assistant-image__blank-content{height:100%;position:absolute}.ai-assistant-image__blank-content.is-dotted{border:1px dotted}.ai-assistant-image__loading{flex-direction:column;gap:8px}.ai-assistant-image__error{align-items:center;display:flex;flex-direction:column;justify-content:center}.ai-assistant-image__error-message{color:red;font-size:10px}.ai-assistant-image__carrousel{flex-direction:column;width:100%}.ai-assistant-image__carrousel-images{align-items:center;display:flex;overflow:hidden;position:relative}.ai-assistant-image__carrousel-images .ai-carrousel__prev{left:0}.ai-assistant-image__carrousel-images .ai-carrousel__next{right:0}.ai-assistant-image__carrousel-images .ai-carrousel__next,.ai-assistant-image__carrousel-images .ai-carrousel__prev{align-items:center;background:#0000;border:none;bottom:0;cursor:pointer;display:flex;height:100%;justify-content:center;opacity:0;position:absolute;top:0;transition:opacity .3s;width:60px;z-index:1}.ai-assistant-image__carrousel-images .ai-carrousel__next:hover,.ai-assistant-image__carrousel-images .ai-carrousel__prev:hover{background-color:#0000004d;opacity:1}.ai-assistant-image__carrousel-images .ai-carrousel__next-icon,.ai-assistant-image__carrousel-images .ai-carrousel__prev-icon{fill:#fff}.ai-assistant-image__carrousel-images .ai-carrousel__next-icon.is-disabled,.ai-assistant-image__carrousel-images .ai-carrousel__prev-icon.is-disabled{fill:gray}.ai-assistant-image__carrousel-footer{display:flex;justify-content:space-between;margin-top:8px}.ai-assistant-image__carrousel-counter{align-items:center;display:flex;font-size:13px;justify-content:flex-start;padding:6px 0}.ai-assistant-image__carrousel-counter .ai-carrousel__next,.ai-assistant-image__carrousel-counter .ai-carrousel__prev{align-items:center;background:#0000;border:none;cursor:pointer;display:flex;justify-content:center;padding:0}.ai-assistant-image__carrousel-counter .ai-carrousel__next-icon.is-disabled,.ai-assistant-image__carrousel-counter .ai-carrousel__prev-icon.is-disabled{fill:gray}.ai-assistant-image__carrousel-image{height:auto;width:100%}.ai-assistant-image__carrousel-image-container{display:flex;height:auto;left:8px;position:absolute;transform:translateX(100%);transition:transform .5s;width:100%}.ai-assistant-image__carrousel-image-container.is-prev{left:-8px;transform:translateX(-100%)}.ai-assistant-image__carrousel-image-container.is-current{position:static;transform:translateX(0)}.ai-assistant-featured-image__usage-counter{color:#646970;display:flex;flex-direction:column;font-size:12px}.ai-assistant-featured-image__usage-counter>span{align-items:center;display:flex;gap:8px;justify-content:space-between}.ai-assistant-featured-image__usage-counter-no-limit{color:red}@keyframes jetpack-external-media-loading-fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.jetpack-external-media-browser--visually-hidden{height:1px;overflow:hidden;position:absolute!important;width:1px;clip:rect(1px,1px,1px,1px);white-space:nowrap}.modal-open .jetpack-external-media-button-menu__options{display:none}.jetpack-external-media-browser .is-error{margin-bottom:1em;margin-left:0;margin-right:0}.jetpack-external-media-browser .components-placeholder{background-color:#0000}.jetpack-external-media-browser .components-modal__content{overflow:auto;padding-bottom:0;width:100%}@media(min-width:600px){.jetpack-external-media-browser .components-modal__content{height:90vh;width:90vw}}.jetpack-external-media-browser.is-jetpack-app-media{max-width:733px}@media(min-width:600px){.jetpack-external-media-browser.is-jetpack-app-media .components-modal__content{height:90vh;max-width:733px;width:90vw}}.jetpack-external-media-browser.is-jetpack-app-media .jetpack-app-icon{width:69px}.jetpack-external-media-browser.is-jetpack-app-media .components-notice-list{position:relative;z-index:1}.jetpack-external-media-browser.is-jetpack-app-media .components-modal__header{border-bottom:0}.jetpack-external-media-browser.is-jetpack-app-media .jetpack-external-media-wrapper__jetpack_app_media-instructions{bottom:-104px;position:relative;right:-56px}.jetpack-external-media-browser.is-jetpack-app-media .components-modal__content{margin-top:0;padding:40px 56px}.jetpack-external-media-browser.is-jetpack-app-media .jetpack-external-media-browser__media__item{animation:animate-drop .3s ease;opacity:1}@media only screen and (min-width:600px){.jetpack-external-media-browser.is-jetpack-app-media .jetpack-external-media-browser__media__item{padding-top:96px;width:112px}}.jetpack-external-media-browser.is-jetpack-app-media .jetpack-external-media-browser .jetpack-external-media-browser__media__item img{height:80px;width:80px}@keyframes animate-drop{0%{opacity:0;transform:translateY(-100%)}to{opacity:1;transform:translateY(0)}}.jetpack-external-media-wrapper__jetpack_app_media-title{color:var(--jp-gray-100);font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif;font-size:24px;font-weight:400;letter-spacing:-.32px;line-height:1.67;margin:0 0 14px}.jetpack-external-media-wrapper__jetpack_app_media-description{color:var(--jp-gray-60);font-size:14px;font-weight:400;line-height:1.43;margin:0;text-align:left}.jetpack-external-media-wrapper__jetpack_app_media-wrapper.has-no-image-uploaded .jetpack-external-media-wrapper__jetpack_app_media-description,.jetpack-external-media-wrapper__jetpack_app_media-wrapper.has-no-image-uploaded .jetpack-external-media-wrapper__jetpack_app_media-title{max-width:100%}@media only screen and (min-width:600px){.jetpack-external-media-wrapper__jetpack_app_media-wrapper.has-no-image-uploaded .jetpack-external-media-wrapper__jetpack_app_media-description,.jetpack-external-media-wrapper__jetpack_app_media-wrapper.has-no-image-uploaded .jetpack-external-media-wrapper__jetpack_app_media-title{max-width:calc(100% - 300px)}}.jetpack-external-media-wrapper__jetpack_app_media-qr-code canvas{height:100px;margin-top:24px;width:100px}.jetpack-external-media-wrapper__jetpack_app_media-instructions img{bottom:0;display:none;position:absolute;right:56px}@media only screen and (min-width:600px){.jetpack-external-media-wrapper__jetpack_app_media-instructions img{display:inline}}.jetpack-external-media-browser__jetpack_app_media_browser{margin:0 -20px}.jetpack-external-media-browser__jetpack_app_media_browser .jetpack-external-media-browser__media{margin:6px 0 -15px}.jetpack-external-media-browser.is-jetpack-app-media .jetpack-external-media-browser__media__toolbar{background-color:#0000;padding:0}.jetpack-external-media-wrapper__jetpack_app_media-qr-code-wrapper{align-items:center;display:flex;flex-direction:row;flex-grow:1;justify-content:space-between}.jetpack-external-media-wrapper__jetpack_app_media .jetpack-external-media-browser__empty{display:none}.jetpack-external-media-browser--is-copying{pointer-events:none}.jetpack-external-media-browser{align-items:flex-start;background:#fff;display:flex;flex-direction:column}.jetpack-external-media-browser .jetpack-external-media-browser__media{width:100%}.jetpack-external-media-browser .jetpack-external-media-browser__media__item{background:#0000;border:0;display:inline-flex;height:0;padding-top:50%;position:relative;width:50%}.jetpack-external-media-browser .jetpack-external-media-browser__media__item img{display:block;height:calc(100% - 16px);left:8px;object-fit:contain;position:absolute;top:8px;width:calc(100% - 16px)}.jetpack-external-media-browser .jetpack-external-media-browser__media__item.is-transient img{opacity:.3}.jetpack-external-media-browser .jetpack-external-media-browser__media__copying_indicator{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;left:0;position:absolute;text-align:center;top:0;width:100%}.jetpack-external-media-browser .jetpack-external-media-browser__media__copying_indicator .components-spinner{margin-bottom:8px}.jetpack-external-media-browser .jetpack-external-media-browser__media__copying_indicator__label{font-size:12px}.jetpack-external-media-browser .jetpack-external-media-browser__media__folder{align-content:flex-start;align-items:center;display:flex;flex-wrap:wrap;float:left;justify-content:space-between;margin-bottom:36px}.jetpack-external-media-browser .jetpack-external-media-browser__media__info{display:flex;font-size:12px;font-weight:700;justify-content:space-between;padding:3px;width:100%}.jetpack-external-media-browser .jetpack-external-media-browser__media__count{background-color:#dcdcde;border-radius:8px;margin-bottom:auto;padding:3px 4px}.jetpack-external-media-browser .jetpack-external-media-browser__media__item{border:8px solid #0000}.jetpack-external-media-browser .jetpack-external-media-browser__media__item:focus{border-radius:10px;box-shadow:inset 0 0 0 2px var(--wp-admin-theme-color);outline:none}.jetpack-external-media-browser .jetpack-external-media-browser__media__item__selected{border-radius:10px;box-shadow:inset 0 0 0 6px var(--wp-admin-theme-color)}.jetpack-external-media-browser .jetpack-external-media-browser__media__item__selected:focus{box-shadow:inset 0 0 0 2px var(--wp-admin-theme-color),inset 0 0 0 3px #fff,inset 0 0 0 6px var(--wp-admin-theme-color)}.jetpack-external-media-browser .jetpack-external-media-browser__media__placeholder{animation:jetpack-external-media-loading-fade 1.6s ease-in-out infinite;background-color:#ccc;border:0;height:100px;margin:16px;width:100px}.jetpack-external-media-browser .jetpack-external-media-browser__media__toolbar{background:#fff;bottom:0;display:flex;justify-content:flex-end;left:0;padding:20px 0;position:fixed;position:sticky;width:100%}.jetpack-external-media-browser .jetpack-external-media-browser__loadmore{clear:both;display:block;margin:24px auto 48px}@media only screen and (min-width:600px){.jetpack-external-media-browser .jetpack-external-media-browser__media__item{padding-top:20%;width:20%}}.jetpack-external-media-header__view{align-items:flex-start;display:flex;flex-direction:column;justify-content:flex-start;margin-bottom:48px}@media only screen and (min-width:600px){.jetpack-external-media-header__view{align-items:center;flex-direction:row}}.jetpack-external-media-header__view select{max-width:200px!important}.jetpack-external-media-header__view .components-base-control__field{display:flex;flex-direction:column}.jetpack-external-media-header__filter label,.jetpack-external-media-header__view label{margin-right:10px}.jetpack-external-media-header__filter .components-base-control,.jetpack-external-media-header__view .components-base-control{margin-bottom:0;padding-right:8px}.jetpack-external-media-header__filter{align-items:center;display:flex;flex-grow:1;flex-wrap:wrap;justify-content:flex-start}@media only screen and (min-width:600px){.jetpack-external-media-header__filter{border-left:1px solid #ccc;margin-left:16px;padding-left:16px}}.jetpack-external-media-header__filter .jetpack-external-media-date-filter{display:flex;flex-wrap:wrap}.jetpack-external-media-header__filter .jetpack-external-media-date-filter button{height:40px;margin-top:27px}@media only screen and (min-width:783px){.jetpack-external-media-header__filter .jetpack-external-media-date-filter button{height:30px}}.jetpack-external-media-header__filter .jetpack-external-media-date-filter .components-base-control .components-input-control__label{margin-bottom:3px}.jetpack-external-media-header__filter .jetpack-external-media-date-filter .components-base-control .components-input-control__backdrop{border-color:#e0e0e0;border-radius:3px}.jetpack-external-media-header__filter .jetpack-external-media-date-filter .components-base-control .components-input-control__input{height:40px;width:70px}@media only screen and (min-width:783px){.jetpack-external-media-header__filter .jetpack-external-media-date-filter .components-base-control .components-input-control__input{height:30px}}.jetpack-external-media-header__account{display:flex;flex-direction:column}.jetpack-external-media-header__account .jetpack-external-media-header__account-info{display:flex;margin-bottom:8px}.jetpack-external-media-header__account .jetpack-external-media-header__account-image{margin-right:8px}.jetpack-external-media-header__account .jetpack-external-media-header__account-name{height:18px;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-external-media-header__account .jetpack-external-media-browser__disconnect{height:40px;margin:1px 1px 9px 0}@media only screen and (min-width:783px){.jetpack-external-media-header__account .jetpack-external-media-browser__disconnect{height:30px}}.jetpack-external-media-header__openverse,.jetpack-external-media-header__pexels{display:flex;margin-bottom:48px}.jetpack-external-media-header__openverse .components-base-control,.jetpack-external-media-header__pexels .components-base-control{flex:1;margin-right:12px}.jetpack-external-media-header__openverse .components-base-control__field,.jetpack-external-media-header__pexels .components-base-control__field{margin-bottom:0}.jetpack-external-media-header__openverse .components-base-control__field,.jetpack-external-media-header__openverse .components-text-control__input,.jetpack-external-media-header__pexels .components-base-control__field,.jetpack-external-media-header__pexels .components-text-control__input{height:100%}.jetpack-external-media-placeholder__open-modal{align-items:center;display:flex;justify-content:center;margin-top:-48px;padding:0;position:absolute;right:0;z-index:1}.jetpack-external-media-placeholder__open-modal .components-button{background:none;margin:0;padding:12px}.jetpack-external-media-placeholder__open-modal .components-button:before{content:none}.jetpack-external-media-placeholder__open-modal .components-button svg{display:block;fill:currentColor}.jetpack-external-media-browsing>div.components-placeholder:not(.jetpack-external-media-replacedholder){display:none}.jetpack-external-media-browser__empty{padding-top:2em;text-align:center;width:100%}.jetpack-external-media-auth{margin:0 auto;max-width:340px;padding-bottom:80px;text-align:center}.jetpack-external-media-auth p{margin:2em 0}.jetpack-external-media-filters{display:flex;justify-content:space-between}.jetpack-external-media-button-menu__dropdown{width:100%}.jetpack-external-media-button-menu__dropdown .jetpack-external-media-button-menu{flex-direction:row;padding-left:12px;padding-right:12px;text-align:left;width:100%}.jetpack-external-media-button-menu__dropdown .jetpack-external-media-button-menu .jetpack-external-media-button-menu__label{flex-grow:2}.jetpack-external-media-button-wrapper{display:flex}.components-placeholder__fieldset .components-dropdown .jetpack-external-media-button-menu,.editor-post-featured-image .components-dropdown .jetpack-external-media-button-menu{margin-bottom:1em;width:auto}.components-placeholder__fieldset .components-dropdown .jetpack-external-media-button-menu>svg,.editor-post-featured-image .components-dropdown .jetpack-external-media-button-menu>svg{display:none}.editor-post-featured-image .components-dropdown{display:initial}.block-editor-inserter__media-panel .components-search-control input[type=search].components-search-control__input[placeholder~=Google],.block-editor-inserter__media-panel .components-search-control input[type=search].components-search-control__input[placeholder~=Google]+.components-search-control__icon{display:none}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper{align-items:center;background:#000;border-radius:2px;box-shadow:inset 0 0 1px #fff;display:flex;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;justify-content:space-between;padding:0 20px;text-transform:none}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .banner-description,.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .banner-title{color:#fff;margin-bottom:10px;margin-right:10px;margin-top:10px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-upgrade-plan-banner__description,.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-upgrade-plan-banner__title{margin-right:10px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button{flex-shrink:0;height:28px;line-height:1;margin-bottom:10px;margin-left:auto;margin-top:10px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary{background:#e34c84;color:#fff;text-decoration:none}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary:hover{background:#eb6594}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary.is-busy{background-image:linear-gradient(-45deg,#e34c84 28%,#ab235a 0,#ab235a 72%,#e34c84 0);background-size:100px 100%}.jetpack-upgrade-plan-banner.block-editor-block-list__block{margin-bottom:12px;margin-top:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left] .jetpack-upgrade-plan-banner__wrapper,.jetpack-upgrade-plan-banner.wp-block[data-align=right] .jetpack-upgrade-plan-banner__wrapper{max-width:840px;width:100%}.jetpack-paid-block-symbol,.jetpack-upgrade-plan__hidden{display:none}.jetpack-enable-upgrade-nudge .block-editor-block-icon{position:relative}.jetpack-enable-upgrade-nudge .block-editor-block-icon>svg{overflow:visible}.jetpack-enable-upgrade-nudge svg.jetpack-paid-block-symbol{display:block;left:calc(100% - 1px);position:absolute;top:3px}.jetpack-enable-upgrade-nudge .components-placeholder__label .jetpack-paid-block-symbol{display:none}.wp-block-cover.is-placeholder{display:block}.paid-block-media-placeholder{width:100%}.wp-block-cover:not(.is-placeholder) .paid-block-media-placeholder{bottom:0;left:0;position:absolute;right:0;top:0}.block-editor-block-list__block.is-upgradable.is-selected.is-placeholder{background-color:#0000;padding-top:0}.block-editor-block-list__layout .block-editor-block-list__block.is-upgradable:focus:after{box-shadow:none}.interface-interface-skeleton__editor{max-width:100%}.is-beta-extension{box-shadow:0 0 3px #2fb41f;position:relative;transition:box-shadow .5s linear}.is-beta-extension.inset-shadow{box-shadow:inset 0 0 3px #2fb41f}.is-beta-extension:before{background-color:#2fb41f;border-radius:4px;color:#fff;content:"BETA";font-size:11px;font-weight:600;height:24px;line-height:24px;opacity:1;padding:0 5px;position:absolute;right:3px;top:3px;transition:visibility .5s,opacity .5s linear;visibility:visible;z-index:10000}.is-beta-extension:focus,.is-beta-extension:hover{box-shadow:none}.is-beta-extension:focus:before,.is-beta-extension:hover:before{opacity:0;visibility:hidden}.jetpack-ai-usage-panel{width:100%}.jetpack-ai-usage-panel p.muted{color:#646970}.jetpack-ai-usage-panel .jetpack-ai-usage-panel-upgrade-button{margin-top:1em}.jetpack-ai-usage-panel{--spacing-base:8px}.jetpack-ai-usage-panel .components-base-control{margin:0}.jetpack-ai-usage-panel .jetpack-ai-usage-panel-loading{background-color:#dcdcde;height:calc(var(--spacing-base)*11 + .5px)}.jetpack-ai-usage-panel .ai-assistant-usage-bar-wrapper{background-color:#dcdcde;border-radius:2px;height:4px;margin:0;overflow:hidden;width:100%}.jetpack-ai-usage-panel .ai-assistant-usage-bar-usage{background-color:#069e08;border-radius:2px;height:100%}.jetpack-ai-usage-panel .ai-assistant-usage-bar-usage.warning{background-color:#f2cf75}.jetpack-ai-usage-panel .ai-assistant-usage-bar-usage.danger{background-color:#d63639}.jetpack-ai-usage-panel .jetpack-ai-usage-panel__loading-placeholder{background-color:#c3c4c7;margin-top:var(--spacing-base)}.jetpack-ai-usage-panel__available-requests{font-size:16px;font-weight:600;margin-bottom:8px;margin-top:0}@keyframes R2i0K45dEF157drbVRPI{0%{opacity:.6}50%{opacity:1}to{opacity:.6}}.NisihrgiIKl_knpYJtfg{animation:R2i0K45dEF157drbVRPI 1.5s infinite;background-color:var(--jp-gray);height:100%;width:100%}.jetpack-ai-feedback-control .components-base-control:last-child{margin-bottom:0}.ai-assistant__i18n-dropdown{width:100%}.ai-assistant__i18n-dropdown .components-dropdown-menu__toggle{display:flex;gap:8px;width:100%}.ai-assistant__i18n-dropdown__toggle-label{flex-grow:2;text-align:left}.ai-assistant__tone-dropdown{width:100%}.ai-assistant__tone-dropdown .components-dropdown-menu__toggle{display:flex;gap:8px;width:100%}.ai-assistant__tone-dropdown__toggle-label{flex-grow:2;text-align:left;width:100}.jetpack-ai-assistant__button.is-suggesting .ai-assistant-icon>path{animation:fadingSpark .3s ease-in-out infinite alternate}.jetpack-ai-assistant__button.is-suggesting .ai-assistant-icon>path.spark-first{animation-delay:.2s}.jetpack-ai-assistant__button.is-suggesting .ai-assistant-icon>path.spark-second{animation-delay:.6s}.jetpack-ai-assistant__info{margin:0 0 8px}@keyframes fadingSpark{to{opacity:.3}}.block-editor-block-toolbar__slot{flex-shrink:0}.wp-block-jetpack-ai-assistant .jetpack-ai-assistant__content{opacity:1;transition:opacity .2s ease-in-out}.wp-block-jetpack-ai-assistant.is-waiting-response .jetpack-ai-assistant__content{opacity:.5}.jetpack-ai-assistant__error{color:var(--wp--preset--color--black);margin:0 0 8px}.jetpack-ai-assistant__accept{display:flex;justify-content:right;margin:12px}.jetpack-ai-assistant__content{overflow-x:auto}.jetpack-ai-assistant__content table{border-collapse:collapse;width:100%}.jetpack-ai-assistant__content thead{border-bottom:3px solid}.jetpack-ai-assistant__content tfoot{border-top:3px solid}.jetpack-ai-assistant__content td,.jetpack-ai-assistant__content th{border:1px solid;padding:.5em}.jetpack-ai-assistant__content .has-fixed-layout{table-layout:fixed;width:100%}.jetpack-ai-assistant__content .has-fixed-layout td,.jetpack-ai-assistant__content .has-fixed-layout th{word-break:break-word}.jetpack-ai-assistant__content.aligncenter,.jetpack-ai-assistant__content.alignleft,.jetpack-ai-assistant__content.alignright{display:table;width:auto}.jetpack-ai-assistant__content.aligncenter td,.jetpack-ai-assistant__content.aligncenter th,.jetpack-ai-assistant__content.alignleft td,.jetpack-ai-assistant__content.alignleft th,.jetpack-ai-assistant__content.alignright td,.jetpack-ai-assistant__content.alignright th{word-break:break-word}.jetpack-ai-assistant__content .has-border-color td,.jetpack-ai-assistant__content .has-border-color th,.jetpack-ai-assistant__content .has-border-color tr,.jetpack-ai-assistant__content .has-border-color>*{border-color:inherit}.jetpack-ai-assistant__content table[style*=border-top-color] tr:first-child,.jetpack-ai-assistant__content table[style*=border-top-color] tr:first-child td,.jetpack-ai-assistant__content table[style*=border-top-color] tr:first-child th,.jetpack-ai-assistant__content table[style*=border-top-color]>*,.jetpack-ai-assistant__content table[style*=border-top-color]>* td,.jetpack-ai-assistant__content table[style*=border-top-color]>* th{border-top-color:inherit}.jetpack-ai-assistant__content table[style*=border-top-color] tr:not(:first-child){border-top-color:initial}.jetpack-ai-assistant__content table[style*=border-right-color] td:last-child,.jetpack-ai-assistant__content table[style*=border-right-color] th,.jetpack-ai-assistant__content table[style*=border-right-color] tr,.jetpack-ai-assistant__content table[style*=border-right-color]>*{border-right-color:inherit}.jetpack-ai-assistant__content table[style*=border-bottom-color] tr:last-child,.jetpack-ai-assistant__content table[style*=border-bottom-color] tr:last-child td,.jetpack-ai-assistant__content table[style*=border-bottom-color] tr:last-child th,.jetpack-ai-assistant__content table[style*=border-bottom-color]>*,.jetpack-ai-assistant__content table[style*=border-bottom-color]>* td,.jetpack-ai-assistant__content table[style*=border-bottom-color]>* th{border-bottom-color:inherit}.jetpack-ai-assistant__content table[style*=border-bottom-color] tr:not(:last-child){border-bottom-color:initial}.jetpack-ai-assistant__content table[style*=border-left-color] td:first-child,.jetpack-ai-assistant__content table[style*=border-left-color] th,.jetpack-ai-assistant__content table[style*=border-left-color] tr,.jetpack-ai-assistant__content table[style*=border-left-color]>*{border-left-color:inherit}.jetpack-ai-assistant__content table[style*=border-style] td,.jetpack-ai-assistant__content table[style*=border-style] th,.jetpack-ai-assistant__content table[style*=border-style] tr,.jetpack-ai-assistant__content table[style*=border-style]>*{border-style:inherit}.jetpack-ai-assistant__content table[style*=border-width] td,.jetpack-ai-assistant__content table[style*=border-width] th,.jetpack-ai-assistant__content table[style*=border-width] tr,.jetpack-ai-assistant__content table[style*=border-width]>*{border-style:inherit;border-width:inherit}.wp-block-ai-image-image{cursor:pointer;height:128px;width:128px}.jetpack-ai-assistant__templates-control svg{padding-right:4px}.jetpack-ai-connect-banner .jetpack-upgrade-plan-banner__wrapper,.jetpack-ai-upgrade-banner .jetpack-upgrade-plan-banner__wrapper{flex-wrap:nowrap}.jetpack-ai-connect-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-ai-connect-banner__description,.jetpack-ai-connect-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-ai-upgrade-banner__description,.jetpack-ai-upgrade-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-ai-connect-banner__description,.jetpack-ai-upgrade-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-ai-upgrade-banner__description{line-height:24px}.jetpack-ai-connect-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary,.jetpack-ai-upgrade-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary{background-color:#fff;color:#000;margin-bottom:8px;margin-top:8px}.jetpack-ai-connect-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary:hover,.jetpack-ai-upgrade-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary:hover{background-color:#f6f7f7}.jetpack-ai-assistant__custom-prompt{width:800px}.jetpack-ai-assistant__custom-prompt__footer{display:flex;gap:8px;justify-content:flex-end}.jetpack-contact-form{margin-top:16px}.jetpack-ai-assistant__bar:not(.is-fixed){margin-top:10px;position:relative;z-index:30}.jetpack-ai-assistant__bar.is-fixed .jetpack-components-ai-control__container-wrapper{bottom:0;position:relative}.jetpack-ai-assistant__bar.is-fixed .jetpack-components-ai-control__container{border-radius:0;box-shadow:none}.jetpack-ai-assistant__bar.is-fixed .jetpack-components-ai-control__wrapper{padding:7px 14px}.jetpack-ai-assistant-bar__slot{border:none;border-radius:0;display:block;position:sticky;z-index:31}.jetpack-ai-assistant-bar__slot .jetpack-ai-assistant__bar-wrapper{bottom:0;position:relative}.jetpack-ai-assistant__bar-wrapper{bottom:16px;position:sticky;z-index:30}.jetpack-components-ai-control__container-wrapper.jetpack-ai-assistant-extension-ai-input{position:sticky;z-index:1}.jetpack-ai-chat-copy-button-container{margin:1rem 0}.jetpack-ai-chat-copy-button-container button{background:none;border:none;color:var(--wp--preset--color--secondary);cursor:pointer;display:block;font-size:16px;padding:inherit;position:relative;transition:.3s}.jetpack-ai-chat-copy-button-container button:disabled{cursor:not-allowed;opacity:.5}.jetpack-ai-chat-copy-button-container button .copy-icon{margin-right:.5rem;vertical-align:middle}.jetpack-ai-chat-error-container{color:#dc3232;font-size:1rem;margin:1rem 0}.wp-block-jetpack-ai-chat .jetpack-ai-chat-question-wrapper{display:flex;flex-direction:row;flex-wrap:nowrap;margin-top:1rem}.wp-block-jetpack-ai-chat .jetpack-ai-chat-question-wrapper .jetpack-ai-chat-question-input{flex:auto;flex-grow:4}.wp-block-jetpack-ai-chat .jetpack-ai-chat-question-wrapper .jetpack-ai-chat-question-input input{font-size:16px;line-height:1.3;padding:15px 23px;width:100%}.wp-block-jetpack-ai-chat .jetpack-ai-chat-question-wrapper .jetpack-ai-chat-question-input .components-base-control__field{margin-bottom:0}.wp-block-jetpack-ai-chat .jetpack-ai-chat-question-wrapper .jetpack-ai-chat-question-button{display:block;flex:auto;flex-grow:1;height:53px;margin-left:10px;text-wrap:nowrap;white-space:-moz-pre-space}.wp-block-jetpack-ai-chat .jetpack-ai-chat-answer-references{font-size:1rem;margin-top:12px}.wp-block-jetpack-ai-chat .jetpack-ai-chat-answer-references hr{margin:1rem 0}.jetpack-ai-chat-feedback-container .jetpack-ai-chat-feedback-form{display:flex;flex-direction:row;flex-wrap:nowrap;margin-top:1rem}.jetpack-ai-chat-feedback-container .jetpack-ai-chat-feedback-form .jetpack-ai-chat-feedback-input{flex:auto;flex-grow:4}.jetpack-ai-chat-feedback-container .jetpack-ai-chat-feedback-form .jetpack-ai-chat-feedback-input input{font-size:16px;line-height:1.3;padding:15px 23px;width:100%}.jetpack-ai-chat-feedback-container .jetpack-ai-chat-feedback-form .jetpack-ai-chat-feedback-submit{flex:auto;flex-grow:1;height:53px;margin-left:10px;text-wrap:nowrap}.jetpack-ai-chat-feedback-container .jetpack-ai-chat-answer-feedback-buttons a{border:none;border-radius:2px;cursor:pointer;margin-left:.5rem;padding:.5rem;transition:.3s}.jetpack-ai-chat-feedback-container .jetpack-ai-chat-answer-feedback-buttons a svg{width:20px;fill:var(--wp--preset--color--contrast);vertical-align:middle}.jetpack-ai-chat-feedback-container .jetpack-ai-chat-answer-feedback-buttons a:disabled{cursor:not-allowed;opacity:.5}.interface-more-menu-dropdown__content .components-button .jetpack-logo,.interface-pinned-items .components-button .jetpack-logo{height:20px;width:20px}.edit-post-more-menu__content .components-icon-button .jetpack-logo{margin-right:4px}.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-triangle{stroke:none!important}.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-circle{fill:#069e08!important}.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-triangle{fill:#fff!important}.jetpack-ai-proofread{margin-bottom:24px}.jetpack-ai-proofread .components-checkbox-control__input:not(:disabled)[data-type=complex-words]{border-color:#f0b849}.jetpack-ai-proofread .components-checkbox-control__input:not(:disabled)[data-type=unconfident-words]{border-color:#09b585}.jetpack-ai-proofread .components-checkbox-control__input:not(:disabled)[data-type=long-sentences]{border-color:#7a00df}.jetpack-ai-proofread .components-checkbox-control__input:not(:disabled):checked[data-type=complex-words]{background-color:#f0b849}.jetpack-ai-proofread .components-checkbox-control__input:not(:disabled):checked[data-type=unconfident-words]{background-color:#09b585}.jetpack-ai-proofread .components-checkbox-control__input:not(:disabled):checked[data-type=long-sentences]{background-color:#7a00df}.jetpack-ai-proofread .components-checkbox-control__input:disabled{background-color:#ddd;border-color:#ddd}.jetpack-ai-proofread .components-toggle-control{color:#1e1e1e;margin-bottom:16px}.jetpack-ai-proofread__grade-label{color:#757575;margin-left:12px}.jetpack-ai-proofread .feature-checkboxes-container{display:flex;flex-direction:column;gap:12px}[class^=has-proofread-highlight]{border-bottom:3px solid}[class^=has-proofread-highlight][data-type=complex-words]{border-bottom-color:#f0b849}[class^=has-proofread-highlight][data-type=unconfident-words]{border-bottom-color:#09b585}[class^=has-proofread-highlight][data-type=long-sentences]{border-bottom-color:#7a00df}[class^=has-proofread-highlight].is-loading{animation-duration:1s;animation-iteration-count:infinite;animation-name:pulse-udnajna}@keyframes pulse-udnajna{0%{opacity:1}50%{opacity:.3}to{opacity:1}}.highlight-popover{color:#000;cursor:default;font-size:13px;font-style:normal;font-weight:400;line-height:18px;width:auto}.highlight-popover .highlight-content{align-items:center;display:flex;flex-direction:column}.highlight-popover .highlight-content.has-suggestions{align-items:flex-start;gap:8px;padding-top:8px}.highlight-popover .highlight-content .header-container{display:flex;gap:32px;justify-content:space-between;width:100%}.highlight-popover .highlight-content .header-container .action,.highlight-popover .highlight-content .header-container .title{padding:8px 12px}.highlight-popover .highlight-content .header-container .title{align-items:center;display:flex;font-size:14px;font-weight:500;gap:8px;justify-content:flex-start;white-space:nowrap}.highlight-popover .highlight-content .header-container .title .color{border-radius:50%;height:10px;width:10px}.highlight-popover .highlight-content .header-container .title .color[data-type=complex-words]{background-color:#f0b849}.highlight-popover .highlight-content .header-container .title .color[data-type=unconfident-words]{background-color:#09b585}.highlight-popover .highlight-content .header-container .title .color[data-type=long-sentences]{background-color:#7a00df}.highlight-popover .highlight-content .header-container .action{align-items:center;display:flex;font-size:13px;gap:4px;justify-content:flex-end}.highlight-popover .highlight-content .header-container .action .suggest.components-button{height:unset;padding-bottom:0;padding-right:0;padding-top:0}.highlight-popover .highlight-content .header-container .action .suggest.components-button path,.highlight-popover .highlight-content .header-container .action .suggest.components-button>svg{fill:#0277a8}.highlight-popover .highlight-content .bottom-container{border-top:1px solid #dcdcde;display:flex;flex-direction:column;width:100%}.highlight-popover .highlight-content .bottom-container .helper{align-items:center;background-color:#f6f7f7;border-radius:4px;color:#646970;display:flex;font-size:12px;gap:8px;justify-content:space-between;margin:4px;padding:4px 8px;white-space:nowrap}.highlight-popover .highlight-content .bottom-container .helper .components-button{color:#646970;padding:0}.highlight-popover .highlight-content .bottom-container .components-button.is-tertiary{color:#000;height:unset;line-height:20px;min-height:36px;min-width:320px;padding-bottom:16px;padding-top:16px;text-align:unset;white-space:break-spaces}.ai-assistant-post-feedback__suggestion{margin-bottom:-32px;padding:18px 0}.jetpack-ai-title-optimization__options{margin-top:16px}.jetpack-ai-title-optimization__option{align-items:start;display:flex;gap:16px;justify-content:center;margin-bottom:16px}.jetpack-ai-title-optimization__option>input{margin-top:8px}@media screen and (max-width:600px){.jetpack-ai-title-optimization__option-input{min-width:10%}}.jetpack-ai-title-optimization__option-content{display:flex;flex-direction:column}.jetpack-ai-title-optimization__option-label{font-size:15px;font-weight:600;line-height:22px}.jetpack-ai-title-optimization__option-description{font-size:13px;font-weight:400;line-height:20px;padding-top:4px}.jetpack-ai-title-optimization__loading{align-items:center;display:flex;flex-direction:column;gap:16px;height:200px;justify-content:center;width:100%}.jetpack-ai-title-optimization__error,.jetpack-ai-title-optimization__intro{margin-top:16px}.jetpack-ai-title-optimization__cta{align-items:center;display:flex;gap:8px;justify-content:flex-end;margin-top:16px}.jetpack-ai-sidebar__feature-section{margin-bottom:2em}.jetpack-ai-sidebar__feature-section p,.jetpack-ai-sidebar__feature-section p>*{text-wrap:pretty}.jetpack-ai-feedback__label{display:flex;gap:16px}.jetpack-ai-feedback__label .components-toggle-control{margin-bottom:8px}.jetpack-ai__feedback-button .icon{color:#a7aaad;height:20px;margin-left:4px;width:20px}.jetpack-blogging-prompt{border:1px solid #ddd;border-radius:2px;box-sizing:border-box;padding:24px}.jetpack-blogging-prompt__label{background:no-repeat url(images/icon-cd4e9ecf53fadf95246d.svg);background-position:-5px;background-size:24px 24px;font-size:14px;margin-bottom:16px;padding-inline-start:22px}.jetpack-blogging-prompt__label.is-bloganuary-icon{background:no-repeat url(images/bloganuary-icon-20e07d1c81f21708f183.svg);background-position:0;padding-inline-start:26px}.jetpack-blogging-prompt__text{font-size:24px;margin-bottom:16px}.jetpack-blogging-prompt__answers-link{display:inline-block;margin-inline-start:10px;text-decoration:underline}.jetpack-blogging-prompt__answers{font-size:16px}.jetpack-blogging-prompt__answers-gravatar{border:2px solid #fff;border-radius:50%;height:24px;vertical-align:middle;width:24px}.jetpack-blogging-prompt__answers-gravatar:first-child{margin-inline-start:-2px}.jetpack-blogging-prompt__answers-gravatar:not(:first-child){margin-inline-start:-15px}.jetpack-blogging-prompt__spinner{text-align:center}.jetpack-blogging-prompt.is-style-quote{border:none;border-inline-start:4px solid #2f2f2f;margin-bottom:16px;padding:0 24px}@media only email{.jetpack-blogging-prompt__label{background:none;padding-inline-start:0}.jetpack-blogging-prompt__answers,.jetpack-blogging-prompt__answers-gravatar{margin-bottom:0}.jetpack-blogging-prompt__answers-gravatar:not(:first-child){margin-inline-start:0}}.wp-block-jetpack-business-hours{overflow:hidden}@media(min-width:480px){.wp-block-jetpack-business-hours dd,.wp-block-jetpack-business-hours dt{display:inline-block}}.wp-block-jetpack-business-hours dt{min-width:30%;vertical-align:top}.wp-block-jetpack-business-hours dd{margin:0}@media(min-width:480px){.wp-block-jetpack-business-hours dd{max-width:calc(70% - .5em)}}.wp-block-jetpack-business-hours .components-base-control__label,.wp-block-jetpack-business-hours .components-toggle-control__label{font-size:13px}.wp-block-jetpack-business-hours .components-base-control__field{margin-bottom:0}.wp-block-jetpack-business-hours .jetpack-business-hours__item{margin-bottom:.5em}.wp-block-jetpack-business-hours .business-hours__row{display:flex;line-height:normal;margin-bottom:4px}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__closed{margin-bottom:20px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{align-items:flex-start;display:flex;width:44%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .business-hours__day-name{font-weight:700;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap;width:60%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .components-form-toggle{margin-right:4px;margin-top:4px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{align-items:center;display:flex;flex-wrap:wrap;margin:0;width:44%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-button{padding:0}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control{display:inline-block;margin-bottom:0;width:48%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control.business-hours__open{margin-right:4%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control .components-base-control__label{margin-bottom:0}.wp-block-jetpack-business-hours .business-hours__remove{align-self:flex-end;margin-bottom:8px;text-align:center;width:10%}.wp-block-jetpack-business-hours .business-hours-row__add button:hover{box-shadow:none!important}.wp-block-jetpack-business-hours .business-hours__remove button{display:block;margin:0 auto}.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:hover,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:hover{background:none;box-shadow:none}@media(max-width:1080px){.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}@media(max-width:600px){.wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}@media(min-width:480px){.jetpack-business-hours dd,.jetpack-business-hours dt{display:inline-block}}.jetpack-business-hours dt{font-weight:700;margin-inline-end:.5em;min-width:30%;vertical-align:top}.jetpack-business-hours dd{margin:0}@media(min-width:480px){.jetpack-business-hours dd{max-width:calc(70% - .5em)}}.jetpack-business-hours__item{margin-bottom:.5em}.jetpack-block-width-controls{align-items:center;display:flex}.jetpack-block-width-controls .components-button-group{display:flex;margin-right:1em}.jetpack-block-width-controls:not(.is-aligned) .components-unit-control-wrapper{flex:1}.wp-block[data-type="jetpack/button"]{display:inline-block;margin:0 auto}.wp-block[data-align=center] .wp-block-jetpack-button{display:flex;justify-content:center}.wp-block[data-align=right] .wp-block-jetpack-button{display:flex;justify-content:flex-end}div[data-type="jetpack/button"]:not([data-align=left]):not([data-align=right]){width:100%}div[data-type="jetpack/button"][data-align]{width:100%;z-index:1}.wp-block-button__link.has-custom-width,.wp-block-jetpack-button,div[data-type="jetpack/button"][data-align] .wp-block>div{max-width:100%}.jetpack-block-styles-selector .editor-styles-wrapper .block-editor-block-list__block{margin:0}.jetpack-block-styles-selector-toolbar .is-active{font-weight:700}.wp-block-jetpack-calendly{position:relative}.wp-block-jetpack-calendly-overlay{height:100%;position:absolute;width:100%;z-index:10}.wp-block-jetpack-calendly-link-editable{cursor:text}.wp-block-jetpack-calendly-embed-form-sidebar{display:flex;margin-bottom:1em}.wp-block-jetpack-calendly-learn-more{margin-top:1em}.wp-block-jetpack-calendly-color-notice{margin:0}div[data-align=center]>.wp-block-jetpack-calendly{text-align:center}.wp-block-jetpack-calendly .components-placeholder__fieldset input{flex:1}.admin-bar .calendly-overlay .calendly-popup-close{top:47px}.wp-block-jetpack-calendly.calendly-style-inline{height:630px;position:relative}.wp-block-jetpack-calendly .calendly-spinner{top:50px}.wp-block-jetpack-calendly.aligncenter{text-align:center}.wp-block-jetpack-calendly .wp-block-jetpack-button{color:#fff}.wp-block-jetpack-cookie-consent{align-items:center;background-color:#0000;bottom:unset;box-sizing:border-box;display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;position:static}.wp-block-jetpack-cookie-consent:not(.is-selected) *{pointer-events:none}.wp-block-jetpack-cookie-consent:not(.is-selected):before{content:unset}.wp-block-jetpack-cookie-consent.alignleft,.wp-block-jetpack-cookie-consent.alignright{flex-wrap:nowrap;margin-left:0!important;margin-right:0!important;max-width:50%}.wp-block-jetpack-cookie-consent.alignright{margin-left:auto!important}.wp-block-jetpack-cookie-consent.alignwide{left:unset;max-width:unset;width:unset}.wp-block-jetpack-cookie-consent .wp-block-button__link{white-space:nowrap!important}.jetpack-contact-info-block .block-editor-plain-text.block-editor-plain-text:focus{box-shadow:none}.jetpack-contact-info-block .block-editor-plain-text{border:none;border-radius:4px;box-shadow:none;color:inherit;display:block;flex-grow:1;font-family:inherit;font-size:inherit;line-height:inherit;margin:.5em 0;min-height:unset;padding:0;resize:none}.block-editor-inserter__preview .jetpack-contact-info-block{padding:16px}.block-editor-inserter__preview .jetpack-contact-info-block>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.wp-block-jetpack-contact-info{margin-bottom:1.5em}.jetpack-block-nudge.block-editor-warning{margin-bottom:12px}.jetpack-block-nudge .block-editor-warning__message{margin:13px 0}.jetpack-block-nudge .block-editor-warning__actions{line-height:1}.jetpack-block-nudge .jetpack-block-nudge__info{display:flex;flex-direction:row;font-size:13px;line-height:1.4}.jetpack-block-nudge .jetpack-block-nudge__text-container{display:flex;flex-direction:column}.jetpack-block-nudge .jetpack-block-nudge__title{font-size:14px}.jetpack-block-nudge .jetpack-block-nudge__message{color:#646970}.jetpack-stripe-nudge__banner .block-editor-warning__contents{align-items:center}.jetpack-stripe-nudge__icon{align-self:center;background:#0675c4;border-radius:50%;box-sizing:initial;color:#fff;fill:#fff;flex-shrink:0;margin-right:16px;padding:6px}.jetpack-stripe-nudge__banner span a.jetpack-stripe-nudge__link{color:#0675c4}.jp-components-spinner{align-items:center;display:flex}.jp-components-spinner__inner,.jp-components-spinner__outer{animation:3s linear infinite;animation-name:rotate-spinner;border:.1em solid #0000;border-radius:50%;box-sizing:border-box;margin:auto}.jp-components-spinner__outer{border-top-color:#fff}.jp-components-spinner__inner{border-right-color:#fff;border-top-color:#fff;height:100%;opacity:.4;width:100%}.wp-block-jetpack-donations .donations__container{border:1px solid #ccc}.wp-block-jetpack-donations .donations__nav{border-bottom:1px solid #ccc;display:flex}.wp-block-jetpack-donations .donations__nav-item{background:#fff;border-inline-start:1px solid #ccc;color:#1e1e1e;cursor:pointer;display:inline-block;flex:1;font-size:16px;font-weight:700;padding:12px;text-align:center}@media(min-width:600px){.wp-block-jetpack-donations .donations__nav-item{padding:16px 24px}}.wp-block-jetpack-donations .donations__nav-item:first-child{border-inline-start:none}.wp-block-jetpack-donations .donations__nav-item.is-active{background:#1e1e1e;color:#fff;cursor:default}.wp-block-jetpack-donations .donations__content{padding:16px}@media(min-width:600px){.wp-block-jetpack-donations .donations__content{padding:32px}}.wp-block-jetpack-donations .donations__content h4,.wp-block-jetpack-donations .donations__content p{margin:0 0 16px}@media(min-width:600px){.wp-block-jetpack-donations .donations__content h4,.wp-block-jetpack-donations .donations__content p{margin:0 0 24px}}.wp-block-jetpack-donations .donations__amounts{display:flex;flex-wrap:wrap;margin-bottom:16px}@media(min-width:600px){.wp-block-jetpack-donations .donations__amounts{margin:0 0 24px}}.wp-block-jetpack-donations .donations__amount{background-color:#fff;border:1px solid #ccc;color:#1e1e1e;display:inline-block;font-size:16px;font-weight:600;margin-inline-end:8px;margin-bottom:8px;padding:16px 24px;white-space:nowrap}.wp-block-jetpack-donations .donations__amount.has-error{box-shadow:0 0 0 1px #fff,0 0 0 3px #cc1818;outline:2px solid #0000;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{display:inline-block;margin-inline-start:4px;min-width:60px}.wp-block-jetpack-donations .donations__separator{margin-bottom:16px;margin-top:16px}@media(min-width:600px){.wp-block-jetpack-donations .donations__separator{margin-bottom:32px;margin-top:32px}}.wp-block-jetpack-donations .donations__donate-button,.wp-block-jetpack-donations .donations__donate-button-wrapper{margin:0}.editor-styles-wrapper .wp-block-jetpack-donations .donations__amount{cursor:text}.editor-styles-wrapper .wp-block-jetpack-donations .donations__amount.has-focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid #0000;outline-offset:-2px}.editor-styles-wrapper .wp-block-jetpack-donations .donations__custom-amount{cursor:default}.editor-styles-wrapper .wp-block-jetpack-donations .donations__amount .block-editor-rich-text__editable{display:inline-block;text-align:left}.editor-styles-wrapper .wp-block-jetpack-donations .donations__amount .block-editor-rich-text__editable:focus{box-shadow:none;outline:none;outline-offset:0}.editor-styles-wrapper .wp-block-jetpack-donations .donations__amount [data-rich-text-placeholder]:after{color:#ccc;opacity:1}.editor-styles-wrapper .wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{color:#ccc}.editor-styles-wrapper .wp-block-jetpack-donations .donations__donate-button-wrapper:not(.alignleft):not(.alignright){margin:0}.editor-styles-wrapper .wp-block-jetpack-donations .jetpack-block-nudge{max-width:none}.jetpack-donations__currency-toggle{font-weight:700;line-height:100%;width:max-content}.jetpack-donations__currency-popover .components-popover__content{min-width:130px}.wp-block-jetpack-eventbrite{position:relative}.wp-block-jetpack-eventbrite .components-placeholder__learn-more{margin-top:1em}[data-type="jetpack/eventbrite"][data-align=center]{text-align:center}.wp-block-jetpack-gif{clear:both;margin:0 0 20px}.wp-block-jetpack-gif figure{margin:0;position:relative;width:100%}.wp-block-jetpack-gif.aligncenter{text-align:center}.wp-block-jetpack-gif.alignleft,.wp-block-jetpack-gif.alignright{min-width:300px}.wp-block-jetpack-gif .wp-block-jetpack-gif-caption{color:#949494;margin-bottom:1em;margin-top:.5em;text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper{height:0;margin:0;padding:calc(56.2% + 12px) 0 0;position:relative;width:100%}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper iframe{border:0;height:100%;inset-inline-start:0;position:absolute;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.wp-block-jetpack-gif figure .wp-block-jetpack-gif_input-container{display:flex;flex-wrap:wrap;justify-content:center;margin-bottom:10px}.wp-block-jetpack-gif figure .wp-block-jetpack-gif_input{max-width:400px}.wp-block-jetpack-gif .components-base-control__field{text-align:center}.wp-block-jetpack-gif .components-placeholder__label svg{margin-right:1ch}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover{background:none;border:none;height:100%;left:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover:focus{outline:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_input{flex:1;margin-right:6px}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container{display:flex;margin:-2px 0 2px -2px;overflow-x:auto;width:calc(100% + 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container::-webkit-scrollbar{display:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container{align-items:center;background-position:50% 50%;background-repeat:no-repeat;background-size:cover;border:none;border-radius:3px;cursor:pointer;display:flex;justify-content:center;margin:2px;padding:0 0 calc(10% - 4px);width:calc(10% - 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:hover{box-shadow:0 0 0 1px #949494}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:focus{box-shadow:0 0 0 2px var(--wp-admin-theme-color);outline:0}.components-panel__body-gif-branding svg{display:block;margin:0 auto;max-width:200px}.components-panel__body-gif-branding svg path{fill:#e0e0e0}.wp-block-jetpack-google-calendar{min-width:420px}.wp-block-jetpack-google-calendar iframe{border:none;width:100%}.wp-block-jetpack-google-calendar>amp-iframe>[placeholder]{line-height:1}.wp-block-jetpack-google-calendar>amp-iframe>noscript{display:inline-block!important}.wp-block-jetpack-google-calendar>amp-iframe>noscript>iframe{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%;z-index:1}.wp-block-jetpack-google-calendar-embed-form-sidebar textarea{height:75px;width:100%}.wp-block-jetpack-google-calendar-embed-form-sidebar button{display:block;margin-top:8px}.wp-block-jetpack-google-calendar-embed-form-editor{margin:0}.wp-block-jetpack-google-calendar-embed-form-editor textarea{flex:1;font-family:inherit;font-size:inherit;height:36px;margin-right:1px;padding-top:9px}.wp-block-jetpack-google-calendar-placeholder-links{margin-top:19px}.wp-block-jetpack-google-calendar ol.wp-block-jetpack-google-calendar-placeholder-instructions{font-family:inherit;list-style-position:inside;margin:0;padding:0}.wp-block-jetpack-google-calendar ol.wp-block-jetpack-google-calendar-placeholder-instructions li{margin-bottom:19px;text-align:left}.wp-block-jetpack-google-calendar .components-placeholder__label{margin-bottom:19px}.wp-block-jetpack-google-calendar .components-placeholder p{margin:0 0 19px}.wp-block-jetpack-image-compare{margin-inline-end:0;margin-inline-start:0}.wp-block-jetpack-image-compare img{max-width:100%}.jx-slider.jx-slider{inset-inline-start:1px;top:1px;width:calc(100% - 2px)}.image-compare__placeholder>.components-placeholder{align-items:center;flex-direction:row}.image-compare__placeholder>.components-placeholder>.components-placeholder__label{display:none}.image-compare__placeholder>.components-placeholder .components-placeholder{background:none}.image-compare__image-after,.image-compare__image-before{display:flex;flex:1;flex-direction:column;position:relative}.image-compare__image-after .components-placeholder.components-placeholder,.image-compare__image-before .components-placeholder.components-placeholder{box-shadow:none;min-height:0;padding:0}.image-compare__image-after .components-placeholder.components-placeholder .components-placeholder__instructions,.image-compare__image-before .components-placeholder.components-placeholder .components-placeholder__instructions{display:none}.components-placeholder.is-large .image-compare__image-before{padding-inline-end:12px}.components-placeholder.is-large .image-compare__image-after{padding-inline-start:12px}.components-placeholder.is-medium .image-compare__image-before{margin-bottom:24px}[data-type="jetpack/image-compare"]:not(.is-selected) .image-compare__comparison{pointer-events:none}.juxtapose .components-placeholder{border:none;box-shadow:none;padding:0}.juxtapose .components-placeholder .components-placeholder__label{display:none}.juxtapose .components-placeholder .image-compare__image-after,.juxtapose .components-placeholder .image-compare__image-before{flex:none;padding:0;width:100%}.juxtapose .components-placeholder:before{background:#fff;content:"";display:block;height:4px;position:absolute;width:100%;z-index:2}.juxtapose .components-placeholder .image-compare__image-after{height:50%;overflow:hidden;position:absolute;width:100%}.juxtapose .components-placeholder .image-compare__image-after img{align-self:flex-end;display:flex;height:200%;max-width:none;width:100%}div.juxtapose{font-family:Helvetica,Arial,sans-serif;width:100%}div.jx-slider{color:#f3f3f3;cursor:pointer;height:100%;overflow:hidden;position:relative;width:100%}div.jx-handle{cursor:col-resize;height:100%;margin-left:-20px;position:absolute;width:40px;z-index:15}.vertical div.jx-handle{cursor:row-resize;height:40px;margin-left:0;margin-top:-20px;width:100%}div.jx-control{background-color:currentColor;height:100%;margin-left:auto;margin-right:auto;width:3px}.vertical div.jx-control{background-color:currentColor;height:3px;position:relative;top:50%;transform:translateY(-50%);width:100%}div.jx-controller{background-color:currentColor;bottom:0;height:60px;margin:auto auto auto -3px;position:absolute;top:0;width:9px}.vertical div.jx-controller{height:9px;margin-left:auto;margin-right:auto;position:relative;top:-3px;width:100px}div.jx-arrow{bottom:0;margin:auto;top:0}.vertical div.jx-arrow,div.jx-arrow{height:0;position:absolute;transition:all .2s ease;width:0}.vertical div.jx-arrow{left:0;margin:0 auto;right:0}div.jx-arrow.jx-left{border-color:#0000 currentcolor #0000 #0000;border-style:solid;border-width:8px 8px 8px 0;left:2px}div.jx-arrow.jx-right{border-color:#0000 #0000 #0000 currentcolor;border-style:solid;border-width:8px 0 8px 8px;right:2px}.vertical div.jx-arrow.jx-left{border-color:#0000 #0000 currentcolor;border-style:solid;border-width:0 8px 8px;left:0;top:2px}.vertical div.jx-arrow.jx-right{border-color:currentcolor #0000 #0000;border-style:solid;border-width:8px 8px 0;bottom:2px;right:0;top:auto}div.jx-handle:active div.jx-arrow.jx-left,div.jx-handle:hover div.jx-arrow.jx-left{left:-1px}div.jx-handle:active div.jx-arrow.jx-right,div.jx-handle:hover div.jx-arrow.jx-right{right:-1px}.vertical div.jx-handle:active div.jx-arrow.jx-left,.vertical div.jx-handle:hover div.jx-arrow.jx-left{left:0;top:0}.vertical div.jx-handle:active div.jx-arrow.jx-right,.vertical div.jx-handle:hover div.jx-arrow.jx-right{bottom:0;right:0}div.jx-image{display:inline-block;height:100%;overflow:hidden;position:absolute;top:0}.vertical div.jx-image{left:0;top:auto;width:100%}div.jx-slider div.jx-image img{height:100%!important;margin-bottom:0;max-height:none!important;max-width:none!important;position:absolute;width:auto!important;z-index:5}div.jx-slider.vertical div.jx-image img{height:auto!important;width:100%!important}div.jx-image.jx-left{background-position:0;left:0}div.jx-image.jx-left img{left:0}div.jx-image.jx-right{background-position:100%;right:0}div.jx-image.jx-right img{bottom:0;right:0}.veritcal div.jx-image.jx-left{background-position:top;top:0}.veritcal div.jx-image.jx-left img{top:0}.vertical div.jx-image.jx-right{background-position:bottom;bottom:0}.veritcal div.jx-image.jx-right img{bottom:0}div.jx-image div.jx-label{background-color:#000;background-color:#000000b3;color:#fff;display:inline-block;font-size:1em;line-height:18px;padding:.25em .75em;position:relative;top:0;vertical-align:middle;white-space:nowrap;z-index:10}div.jx-image.jx-left div.jx-label{float:left;left:0}div.jx-image.jx-right div.jx-label{float:right;right:0}.vertical div.jx-image div.jx-label{display:table;position:absolute}.vertical div.jx-image.jx-right div.jx-label{bottom:0;left:0;top:auto}div.jx-image.transition{transition:width .5s ease}div.jx-handle.transition{transition:left .5s ease}.vertical div.jx-image.transition{transition:height .5s ease}.vertical div.jx-handle.transition{transition:top .5s ease}div.jx-controller:focus,div.jx-image.jx-left div.jx-label:focus,div.jx-image.jx-right div.jx-label:focus,figure.wp-block-jetpack-image-compare figcaption{font-size:85%;text-align:center}div.jx-control{color:#fff}.vertical div.jx-controller,div.jx-controller{border-radius:50%;height:48px;width:48px}div.jx-controller{margin-left:-22.5px}.vertical div.jx-controller{transform:translateY(-19.5px)}.vertical div.jx-arrow.jx-left,.vertical div.jx-arrow.jx-right,div.jx-arrow.jx-left,div.jx-arrow.jx-right{background-repeat:no-repeat;border:none;height:24px;width:24px;will-change:transform;z-index:1}div.jx-arrow.jx-left{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTEzLjQgMTggOCAxMmw1LjQtNiAxLjIgMS00LjYgNSA0LjYgNXoiLz48L3N2Zz4=);left:0}div.jx-arrow.jx-right{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTEwLjYgNiA5LjQgN2w0LjYgNS00LjYgNSAxLjIgMSA1LjQtNnoiLz48L3N2Zz4=);right:0}div.vertical div.jx-arrow.jx-left,div.vertical div.jx-arrow.jx-right{transform:rotate(90deg)}.wp-block-jetpack-instagram-gallery__grid{align-content:stretch;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.wp-block-jetpack-instagram-gallery__grid .wp-block-jetpack-instagram-gallery__grid-post{box-sizing:border-box;display:block;line-height:0;position:relative}.wp-block-jetpack-instagram-gallery__grid img{height:auto;width:100%}.wp-block-jetpack-instagram-gallery__grid-columns-1 .wp-block-jetpack-instagram-gallery__grid-post{width:100%}.wp-block-jetpack-instagram-gallery__grid-columns-2 .wp-block-jetpack-instagram-gallery__grid-post{width:50%}.wp-block-jetpack-instagram-gallery__grid-columns-3 .wp-block-jetpack-instagram-gallery__grid-post{width:33.33333%}.wp-block-jetpack-instagram-gallery__grid-columns-4 .wp-block-jetpack-instagram-gallery__grid-post{width:25%}.wp-block-jetpack-instagram-gallery__grid-columns-5 .wp-block-jetpack-instagram-gallery__grid-post{width:20%}.wp-block-jetpack-instagram-gallery__grid-columns-6 .wp-block-jetpack-instagram-gallery__grid-post{width:16.66667%}@media(max-width:600px){.wp-block-jetpack-instagram-gallery__grid.is-stacked-on-mobile .wp-block-jetpack-instagram-gallery__grid-post{width:100%}}@supports(display:grid){.wp-block-jetpack-instagram-gallery__grid{display:grid;grid-gap:10px;grid-auto-columns:1fr}@media(max-width:600px){.wp-block-jetpack-instagram-gallery__grid.is-stacked-on-mobile{display:block}.wp-block-jetpack-instagram-gallery__grid.is-stacked-on-mobile .wp-block-jetpack-instagram-gallery__grid-post{padding:var(--latest-instagram-posts-spacing)}}.wp-block-jetpack-instagram-gallery__grid .wp-block-jetpack-instagram-gallery__grid-post{width:auto}.wp-block-jetpack-instagram-gallery__grid .wp-block-jetpack-instagram-gallery__grid-post img{height:100%;object-fit:cover}.wp-block-jetpack-instagram-gallery__grid-columns-1{grid-template-columns:repeat(1,1fr)}.wp-block-jetpack-instagram-gallery__grid-columns-2{grid-template-columns:repeat(2,1fr)}.wp-block-jetpack-instagram-gallery__grid-columns-3{grid-template-columns:repeat(3,1fr)}.wp-block-jetpack-instagram-gallery__grid-columns-4{grid-template-columns:repeat(4,1fr)}.wp-block-jetpack-instagram-gallery__grid-columns-5{grid-template-columns:repeat(5,1fr)}.wp-block-jetpack-instagram-gallery__grid-columns-6{grid-template-columns:repeat(6,1fr)}}@supports(object-fit:cover){.wp-block-jetpack-instagram-gallery__grid-post img{height:100%;object-fit:cover}}.wp-block-jetpack-instagram-gallery .components-placeholder .components-radio-control{margin-bottom:28px}.wp-block-jetpack-instagram-gallery .components-placeholder .components-radio-control label{font-weight:400}.wp-block-jetpack-instagram-gallery .components-placeholder .wp-block-jetpack-instagram-gallery__new-account-instructions{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-jetpack-instagram-gallery__count-notice .components-notice{margin:0 0 15px}.wp-block-jetpack-instagram-gallery__count-notice .components-notice__content{line-height:inherit;margin:0;padding-inline-end:0}.wp-block-jetpack-instagram-gallery__disconnection-warning{font-style:italic;margin-bottom:0}.wp-block-jetpack-instagram-gallery__placeholder{animation-delay:0ms,.3s;animation-duration:.3s,1.6s;animation-iteration-count:1,infinite;animation-name:fadeIn,pulse;animation-timing-function:ease-out,ease-out;background-color:#a7a79f;display:flex;opacity:1}.wp-block-jetpack-instagram-gallery__placeholder.is-loaded{animation:none;height:auto}.wp-block-jetpack-instagram-gallery__placeholder img{opacity:0;transition:opacity .5s ease-in-out}.wp-block-jetpack-instagram-gallery__placeholder img.is-loaded{opacity:1}@keyframes fadeIn{0%{opacity:0}50%{opacity:.5}to{opacity:1}}@keyframes pulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}@supports(object-fit:cover){.wp-block-jetpack-instagram-gallery__placeholder.is-loaded{display:flex;flex-direction:column;flex-grow:1}.wp-block-jetpack-instagram-gallery__placeholder.is-loaded img{flex-grow:1;height:auto;object-fit:cover}}.wp-block-jetpack-instagram-gallery__grid .wp-block-jetpack-instagram-gallery__grid-post{display:flex;flex-direction:column}@supports(display:grid){@media(max-width:600px){.wp-block-jetpack-instagram-gallery__grid.is-stacked-on-mobile .wp-block-jetpack-instagram-gallery__placeholder{margin:0!important}}}.wp-block-jetpack-like__learn-more{margin-top:-12px;padding:0 16px 16px 52px}.wp-block-jetpack-like .sharedaddy{display:none}.wpl-likebox{container-type:inline-size}.wpl-count a,.wpl-follow a,.wpl-likebox{font-family:Open Sans,sans-serif!important;font-size:11px!important}.wpl-button{min-width:40px;overflow:hidden}.wpl-button a{align-items:center;background:#fff;border-radius:4px;box-shadow:0 1px 2px #0000001f,0 0 0 1px #0000001f;box-sizing:border-box;color:#2c3338;display:flex;font-family:Open Sans,sans-serif;font-size:13px;font-weight:500;line-height:23px;margin:1px 6px 8px 1px;min-height:30px;min-width:33px;padding:4px 10px 3px 9px;text-decoration:none;text-shadow:none}.rtl .wpl-button a{margin:1px 1px 8px 6px;padding:4px 9px 3px 10px}.wpl-button a:active,.wpl-button a:hover{box-shadow:0 1px 2px #00000038,0 0 0 1px #00000038}.wpl-button a:before{background-size:16px 16px;content:"";display:inline-block;height:16px;margin-left:0;margin-right:-1px;min-width:16px;position:relative;text-align:center;width:16px}.wpl-button.like a:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 18 16'%3E%3Cpath stroke='%232c3338' stroke-linecap='round' stroke-width='1.5' d='m9 2 1.958 4.268h4.376L11.668 9.66 12.915 14 9 11.75 5.087 14l1.247-4.34-3.667-3.392h4.377z'/%3E%3C/svg%3E")}.wpl-button.like a:hover:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 18 16'%3E%3Cpath stroke='%230675C4' stroke-linecap='round' stroke-width='1.5' d='m9 2 1.958 4.268h4.376L11.668 9.66 12.915 14 9 11.75 5.087 14l1.247-4.34-3.667-3.392h4.377z'/%3E%3C/svg%3E")}.wpl-button.liked a{min-width:-moz-fit-content;min-width:fit-content}.wpl-button.liked a:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 18 16'%3E%3Cpath fill='%230675C4' stroke='%230675C4' stroke-linecap='round' stroke-width='1.5' d='m9 2 1.958 4.268h4.376L11.668 9.66 12.915 14 9 11.75 5.087 14l1.247-4.34-3.667-3.392h4.377z'/%3E%3C/svg%3E")}.wpl-button.reblog a:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 18 16'%3E%3Cpath fill='%23fff' d='M1 0h16v16H1z'/%3E%3Cpath fill='%232c3338' stroke='%232c3338' stroke-width='.14' d='m16.016 5.566-1.45-1.434v8.993c0 .76-.623 1.375-1.392 1.375h-4.87v-1.375h4.87V4.132l-1.451 1.434-.984-.972L13.87 1.5 17 4.594zm-11.19 6.302V2.875h4.87V1.5h-4.87c-.769 0-1.391.615-1.391 1.375v8.993l-1.451-1.434-.984.972L4.13 14.5l3.13-3.094-.983-.972z'/%3E%3C/svg%3E")}.wpl-button.reblog a.reblogged:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 18 16'%3E%3Cpath fill='%23fff' d='M1 0h16v16H1z'/%3E%3Cpath fill='%230675c4' stroke='%230675c4' stroke-width='.14' d='m16.016 5.566-1.45-1.434v8.993c0 .76-.623 1.375-1.392 1.375h-4.87v-1.375h4.87V4.132l-1.451 1.434-.984-.972L13.87 1.5 17 4.594zm-11.19 6.302V2.875h4.87V1.5h-4.87c-.769 0-1.391.615-1.391 1.375v8.993l-1.451-1.434-.984.972L4.13 14.5l3.13-3.094-.983-.972z'/%3E%3C/svg%3E")}.rtl .wpl-button.like a:before,.rtl .wpl-button.liked a:before{margin-left:-1px;margin-right:0}.wpl-button.like a span,.wpl-button.liked a span,.wpl-button.reblog a span{margin-left:5px;text-wrap:nowrap}.rtl .wpl-button.like a span,.rtl .wpl-button.liked a span,.rtl .wpl-button.reblog a span{margin-right:5px}.wpl-count{clear:both;overflow:hidden;text-overflow:ellipsis}.wpl-count-text{line-height:1.6}.wpl-likebox .wpl-count,.wpl-likebox .wpl-count a,.wpl-likebox .wpl-count-text,.wpl-likebox .wpl-count-text a{font-size:12px!important}.wpl-button{float:left}.rtl .wpl-button{float:right}.wpl-avatars{height:34px;list-style:none;margin:0;overflow:hidden;padding:0}.wpl-avatars:empty{display:none}.wpl-avatars li{display:inline;margin:0}.wpl-avatars li a{border:0;display:block;float:left;margin:1px 5px 3px 0}.rtl .wpl-avatars li a{float:right;margin:0 0 3px 5px}.wpl-avatars li a img{border:0;height:30px;padding:0!important;width:30px}span.wpl-comment,span.wpl-follow{margin-left:5px}a.comment-like-link:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath fill='%232EA2CC' d='m12 2 2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:16px 16px;color:#2ea2cc;content:"";display:inline-block;height:16px;padding-right:5px;position:relative;top:3px;width:16px}a.comment-like-link:hover:before,a.comment-liked:before,div.comment-liked a.comment-like-link:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath fill='%23f1831e' d='m12 2 2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304'/%3E%3C/svg%3E")}a.comment-liked:hover:before,div.comment-liked a.comment-like-link:hover:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath fill='%23ff9a00' d='m12 2 2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304'/%3E%3C/svg%3E")}a.comment-like-link{color:#222;font-size:12px;opacity:.8;text-decoration:none}a.comment-like-link.loading:before{opacity:0;transition:opacity 2s}.wpl-likebox{align-items:center;display:flex}.wpl-likebox .wpl-avatars{align-content:end;align-items:center;display:inline-flex;flex-direction:row-reverse;flex-wrap:wrap;justify-content:center;margin-bottom:4px;min-width:30px}.rtl .wpl-likebox .wpl-avatars li,.wpl-likebox .wpl-avatars li{margin-bottom:1px;margin-top:1px}.wpl-likebox .wpl-avatars li a{margin:0;position:relative}.wpl-likebox .wpl-avatars li:not(:first-child) a{margin-right:-4px}.rtl .wpl-likebox .wpl-avatars li:not(:first-child) a{margin-left:-4px;margin-right:0}.wpl-likebox .wpl-avatars li a img{border:1.5px solid #ffffff80;border-radius:50%;height:26px;width:26px}.wpl-likebox .wpl-count{clear:none;margin-bottom:4px;margin-left:4px;white-space:nowrap}.rtl .wpl-likebox .wpl-count{clear:none;margin-bottom:4px;margin-right:4px;white-space:nowrap}.wpl-likebox a{color:#2c3338!important}.wpl-likebox a,.wpl-likebox a:focus{outline:none!important;text-decoration:none!important}.wpl-likebox.wpl-new-layout *{cursor:default}.wpl-likebox.wpl-new-layout .wpl-avatars{align-content:unset;margin:0;padding-left:0}.wpl-likebox.wpl-new-layout .wpl-avatars li{margin:0}.wpl-likebox.wpl-new-layout .wpl-avatars li a:focus{box-shadow:none;outline:none}.wpl-likebox.wpl-new-layout .wpl-avatars li a img{vertical-align:unset}.wpl-likebox.wpl-new-layout .wpl-count a:focus,.wpl-likebox.wpl-new-layout .wpl-count-text a:focus,.wpl-likebox.wpl-new-layout .wpl-count-text:focus,.wpl-likebox.wpl-new-layout .wpl-count:focus{box-shadow:none;outline:none}.wpl-likebox .wpl-button a:hover{box-shadow:0 1px 2px #0000001f,0 0 0 1px #0000001f}.wpl-likebox .wpl-button.like a:hover:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 18 16'%3E%3Cpath stroke='%232c3338' stroke-linecap='round' stroke-width='1.5' d='m9 2 1.958 4.268h4.376L11.668 9.66 12.915 14 9 11.75 5.087 14l1.247-4.34-3.667-3.392h4.377z'/%3E%3C/svg%3E")}@container (max-width: 320px){.wpl-button{min-width:auto}.wpl-button a span{display:none}}.components-likes-placeholder__learn-more{margin:1em 0 2em}._fUXxnSp5pagKBp9gSN7 *{box-sizing:border-box}.wp-block-jetpack-mailchimp.is-processing form{display:none}.wp-block-jetpack-mailchimp .wp-block-jetpack-button,.wp-block-jetpack-mailchimp p{margin-bottom:1em}.wp-block-jetpack-mailchimp input{box-sizing:border-box;width:100%}.wp-block-jetpack-mailchimp .error,.wp-block-jetpack-mailchimp .error:focus{outline:1px;outline-color:#d63638;outline-offset:-2px;outline-style:auto}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:none;margin-bottom:1.5em;padding:.75em}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.is-visible{display:block}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_error{background-color:#d63638;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_processing{background-color:rgba(0,0,0,.025)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_success{background-color:#008a20;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp__is-amp{display:block}.wp-block-jetpack-mailchimp form.amp-form-submit-error>p,.wp-block-jetpack-mailchimp form.amp-form-submit-success>p,.wp-block-jetpack-mailchimp form.amp-form-submitting>p{display:none}.wp-block-jetpack-mailchimp .components-placeholder__label svg{margin-right:1ch}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:block}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-mailchimp-recheck{margin-top:1em}.wp-block-jetpack-mailchimp.wp-block-jetpack-mailchimp_notication-audition>:not(.wp-block-jetpack-mailchimp_notification){display:none}.wp-block-jetpack-mailchimp .jetpack-submit-button,.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_text-input{margin-bottom:1.5rem}.wp-block-jetpack-mailchimp .wp-block-button .wp-block-button__link{margin-top:0}.wp-block-jetpack-mailchimp .components-placeholder__fieldset{display:block;flex-direction:unset;flex-wrap:unset}.wp-block-jetpack-mailchimp .components-placeholder__fieldset .components-button{margin-bottom:0}.wp-block-jetpack-mailchimp .components-placeholder__fieldset .align-center{text-align:center}.component__add-point{background-image:url(images/oval-5f1d889983a8747472c7.svg);background-repeat:no-repeat;height:38px;left:50%;margin-left:-16px;margin-top:-19px;position:absolute;text-indent:-9999px;top:50%;width:32px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:#0000;box-shadow:none}.component__add-point:active,.component__add-point:focus{background-color:#0000}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:#0000;box-shadow:none}.component__add-point__popover .components-popover__content{padding:.1rem}.component__add-point__popover .components-location-search{margin:.5rem}.component__add-point__close{border:none;box-shadow:none;float:right;margin:.4rem 0 0;padding:0}.component__add-point__close path{color:#e0e0e0}.wp-block-jetpack-map-marker{height:38px;opacity:.9;width:32px}.edit-post-settings-sidebar__panel-block .component__locations__panel{margin-bottom:1em}.edit-post-settings-sidebar__panel-block .component__locations__panel:empty{display:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child{border-top:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:last-child{margin:0;max-width:100%}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body button{padding-right:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-right:.4em}.wp-block-group-is-layout-flex:not(.is-vertical)>.wp-block-jetpack-map{flex-basis:100%}.wp-block-group-is-layout-flex.is-vertical>.wp-block-jetpack-map{width:100%}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{background:#e0e0e0;min-height:400px;overflow:hidden;text-align:start;width:100%}.wp-block-jetpack-map .mapkit-popup-content{background:#fff;border-radius:3px;box-shadow:0 1px 2px #0000001a;max-width:300px;min-width:150px;padding:10px 10px 15px;pointer-events:auto}.wp-block-jetpack-map .mapkit-popup-content h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapkit-popup-content p{margin-bottom:0}.wp-block-jetpack-map .wp-block-jetpack-map__mb-container{height:400px}.wp-block-jetpack-map .mapboxgl-popup{max-width:300px}.wp-block-jetpack-map .mapboxgl-popup h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapboxgl-popup p{margin-bottom:0}.wp-block-jetpack-map .mapboxgl-ctrl-group button{background-color:#0000!important;border-radius:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-right:.4em}.wp-block-group-is-layout-flex:not(.is-vertical)>.wp-block[data-type="jetpack/map"]{flex-basis:100%}.wp-block-group-is-layout-flex.is-vertical>.wp-block[data-type="jetpack/map"]{width:100%}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-right:1ch}.wp-block[data-type="jetpack/map"] .components-placeholder__instructions{margin-top:0}.wp-block[data-type="jetpack/map"] .components-placeholder__instructions .components-external-link{display:inline-block;margin:1em auto}.wp-block-jetpack-map .mapboxgl-popup-close-button{font-size:21px;padding:0 10px 5px 9px}.wp-block-jetpack-map .wp-block-jetpack-map__map_wrapper{background-color:#e4e2de;overflow:hidden}.wp-block-jetpack-map__height_input{display:block}.component__add-point__popover .components-popover__content{width:250px}.component__add-point__popover .components-popover__content .component__add-point__close{margin-top:-.55em;padding:.3em}.wp-block-jetpack-markdown__placeholder{opacity:.62;pointer-events:none}.block-editor-block-list__block .wp-block-jetpack-markdown__preview{line-height:1.8;min-height:1.8em}.block-editor-block-list__block .wp-block-jetpack-markdown__preview>*{margin-bottom:32px;margin-top:32px}.block-editor-block-list__block .wp-block-jetpack-markdown__preview h1,.block-editor-block-list__block .wp-block-jetpack-markdown__preview h2,.block-editor-block-list__block .wp-block-jetpack-markdown__preview h3{line-height:1.4}.block-editor-block-list__block .wp-block-jetpack-markdown__preview h1{font-size:2.44em}.block-editor-block-list__block .wp-block-jetpack-markdown__preview h2{font-size:1.95em}.block-editor-block-list__block .wp-block-jetpack-markdown__preview h3{font-size:1.56em}.block-editor-block-list__block .wp-block-jetpack-markdown__preview h4{font-size:1.25em;line-height:1.5}.block-editor-block-list__block .wp-block-jetpack-markdown__preview h5{font-size:1em}.block-editor-block-list__block .wp-block-jetpack-markdown__preview h6{font-size:.8em}.block-editor-block-list__block .wp-block-jetpack-markdown__preview hr{border:none;border-bottom:2px solid #f0f0f0;margin:2em auto;max-width:100px}.block-editor-block-list__block .wp-block-jetpack-markdown__preview p{line-height:1.8}.block-editor-block-list__block .wp-block-jetpack-markdown__preview blockquote{border-left:4px solid #000;margin-left:0;margin-right:0;padding-left:1em}.block-editor-block-list__block .wp-block-jetpack-markdown__preview blockquote p{line-height:1.5;margin:1em 0}.block-editor-block-list__block .wp-block-jetpack-markdown__preview ol,.block-editor-block-list__block .wp-block-jetpack-markdown__preview ul{margin-left:1.3em;padding-left:1.3em}.block-editor-block-list__block .wp-block-jetpack-markdown__preview li p{margin:0}.block-editor-block-list__block .wp-block-jetpack-markdown__preview code,.block-editor-block-list__block .wp-block-jetpack-markdown__preview pre{color:#1e1e1e;font-family:Menlo,Consolas,monaco,monospace}.block-editor-block-list__block .wp-block-jetpack-markdown__preview code{background:#f0f0f0;border-radius:2px;font-size:inherit;padding:2px}.block-editor-block-list__block .wp-block-jetpack-markdown__preview pre{border:1px solid #e0e0e0;border-radius:4px;font-size:15px;padding:.8em 1em}.block-editor-block-list__block .wp-block-jetpack-markdown__preview pre code{background:#0000;padding:0}.block-editor-block-list__block .wp-block-jetpack-markdown__preview table{border-collapse:collapse;overflow-x:auto;width:100%}.block-editor-block-list__block .wp-block-jetpack-markdown__preview tbody,.block-editor-block-list__block .wp-block-jetpack-markdown__preview tfoot,.block-editor-block-list__block .wp-block-jetpack-markdown__preview thead{min-width:240px;width:100%}.block-editor-block-list__block .wp-block-jetpack-markdown__preview td,.block-editor-block-list__block .wp-block-jetpack-markdown__preview th{border:1px solid;padding:.5em}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor{color:#1e1e1e;font-family:Menlo,Consolas,monaco,monospace;font-size:15px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:#0000;box-shadow:0 0 0 #0000}.wp-block-jetpack-opentable{display:inline-block}.wp-block-jetpack-opentable>.is-placeholder,.wp-block-jetpack-opentable>.is-style-wide{display:block}.wp-block-jetpack-opentable .components-base-control{width:100%}.wp-block-jetpack-opentable .components-placeholder__fieldset p{font-size:13px;margin:0 0 1em}.wp-block-jetpack-opentable .components-placeholder__fieldset form{flex-direction:row;flex-wrap:nowrap}@media screen and (max-width:479px){.wp-block-jetpack-opentable .components-placeholder__fieldset form{display:block}}.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-form-token-field{flex-grow:1}.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-form-token-field__label{display:none}.wp-block-jetpack-opentable .components-placeholder__fieldset form p{margin-top:1em}.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-form-token-field__input-container{width:100%}@media screen and (min-width:480px){.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-form-token-field__input-container input[type=text].components-form-token-field__input{min-height:32px}}.wp-block-jetpack-opentable .components-placeholder__fieldset form>.components-button{align-items:center;height:42px;line-height:normal;padding:0 8px}@media screen and (min-width:480px){.wp-block-jetpack-opentable .components-placeholder__fieldset form>.components-button{margin:0 0 0 4px;position:relative}}.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-form-token-field__remove-token{padding:2px 6px}.wp-block-jetpack-opentable iframe{height:100%;width:100%}.wp-block-jetpack-opentable-overlay{height:100%;position:absolute;width:100%;z-index:10}.wp-block-jetpack-opentable-restaurant-picker{margin-bottom:1em;position:relative;width:100%}.wp-block-jetpack-opentable-restaurant-picker .components-form-token-field__token-text{align-items:center;display:inline-flex}.wp-block-jetpack-opentable-placeholder-links{display:flex;flex-direction:column}@media screen and (min-width:480px){.wp-block-jetpack-opentable-placeholder-links{display:block}}.wp-block-jetpack-opentable-placeholder-links a{padding:.25em 1em .25em 0}@media screen and (min-width:480px){.wp-block-jetpack-opentable-placeholder-links a form>button{height:50px}}.wp-block-jetpack-opentable-placeholder-links a:last-child{padding-left:1em;padding-right:0}.wp-block-jetpack-opentable>.is-style-button.has-no-margin iframe{margin:-14px}.editor-styles-wrapper .wp-block-jetpack-opentable .components-form-token-field__suggestions-list{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin:0;padding:0;text-align:left}.wp-block-jetpack-opentable.wp-block>.is-style-wide.alignright{left:auto;right:0}.wp-block[data-type="jetpack/opentable"] .components-notice__content{text-align:left}.components-toggle-control.is-opentable{padding-top:6px}.is-opentable button.is-active{font-weight:700}.wp-block-jetpack-opentable{position:relative}.wp-block-jetpack-opentable>iframe{background:#0000;margin:0}.wp-block-jetpack-opentable>.aligncenter iframe{margin:0 auto}.wp-block-jetpack-opentable>.is-style-standard,.wp-block-jetpack-opentable>.is-style-wide.is-style-mobile{height:301px}.wp-block-jetpack-opentable>.is-style-standard.is-multi,.wp-block-jetpack-opentable>.is-style-wide.is-style-mobile.is-multi{height:361px}.wp-block-jetpack-opentable>.is-style-standard.aligncenter iframe,.wp-block-jetpack-opentable>.is-style-wide.is-style-mobile.aligncenter iframe{width:224px!important}.wp-block-jetpack-opentable>.is-style-tall{height:490px}.wp-block-jetpack-opentable>.is-style-tall.is-multi{height:550px}.wp-block-jetpack-opentable>.is-style-tall.aligncenter iframe{width:288px!important}.wp-block-jetpack-opentable>.is-style-wide{height:150px}.wp-block-jetpack-opentable>.is-style-wide iframe{width:840px!important}.wp-block-jetpack-opentable>.is-style-wide.alignleft{margin-left:2rem;max-width:840px;right:auto}.wp-block-jetpack-opentable>.is-style-wide.alignright{left:calc(100% - 840px - 2rem);max-width:840px}.wp-block-jetpack-opentable>.is-style-button{height:113px}.wp-block-jetpack-opentable>.is-style-button.aligncenter iframe{width:210px!important}.wp-block-jetpack-opentable>.is-style-button.has-no-margin>div[id^=ot-widget-container]{margin:-14px}.wp-block-jetpack-opentable .ot-dtp-picker{box-sizing:initial}.wp-block-jetpack-opentable .ot-dtp-picker .ot-title{margin:4px auto 12px}.wp-block-jetpack-opentable .ot-dtp-picker .ot-dtp-picker-selector-link{text-decoration:none}.wp-block-jetpack-opentable .ot-dtp-picker input[type=submit]{padding:0;text-transform:none}.wp-block-jetpack-opentable .ot-dtp-picker input[type=submit]:hover{text-decoration:none}.jetpack-audio-player-loading{background:#ccc;background:var(--jetpack-audio-player-secondary);height:10px;margin:15px 24px}.jetpack-audio-player{--jetpack-audio-player-primary:var( --jetpack-podcast-player-primary,#000 );--jetpack-audio-player-secondary:var( --jetpack-podcast-player-secondary,#ccc );--jetpack-audio-player-background:var( --jetpack-podcast-player-background,#fff );height:40px}.jetpack-audio-player .mejs-container,.jetpack-audio-player .mejs-container .mejs-controls,.jetpack-audio-player .mejs-embed,.jetpack-audio-player .mejs-embed body,.jetpack-audio-player .mejs-mediaelement{background-color:#0000}.jetpack-audio-player .mejs-container:focus{box-shadow:none;outline:1px solid;outline-color:#ccc;outline-color:var(--jetpack-audio-player-secondary);outline-offset:2px}.jetpack-audio-player .mejs-controls{padding:0;position:static}.jetpack-podcast-player__header .jetpack-audio-player .mejs-controls{padding-left:15px;padding-right:18px}.jetpack-audio-player .mejs-time{color:#ccc;color:var(--jetpack-audio-player-secondary)}.jetpack-audio-player .mejs-time-float{background:#000;background:var(--jetpack-audio-player-primary);border-color:#000;border-color:var(--jetpack-audio-player-primary);color:#fff;color:var(--jetpack-audio-player-background)}.jetpack-audio-player .mejs-time-float-corner{border-top-color:#000;border-top-color:var(--jetpack-audio-player-primary)}.jetpack-audio-player .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,.jetpack-audio-player .mejs-controls .mejs-time-rail .mejs-time-total{background-color:#ccc;background-color:var(--jetpack-audio-player-secondary)}.jetpack-audio-player .mejs-controls .mejs-time-rail .mejs-time-loaded{opacity:.5}.jetpack-audio-player .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current,.jetpack-audio-player .mejs-controls .mejs-time-rail .mejs-time-current,.jetpack-audio-player .mejs-controls .mejs-time-rail .mejs-time-loaded{background-color:#000;background-color:var(--jetpack-audio-player-primary)}.jetpack-audio-player .mejs-controls .mejs-time-rail .mejs-time-slider:focus{outline:1px solid;outline-color:#ccc;outline-color:var(--jetpack-audio-player-secondary);outline-offset:2px}.jetpack-audio-player .mejs-button>button{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='120'%3E%3Cstyle%3E.st0{fill:%23000;width:16px;height:16px}.st1{fill:none;stroke:%23000;stroke-width:1.5;stroke-linecap:round}%3C/style%3E%3Cpath d='M16.5 8.5c.3.1.4.5.2.8-.1.1-.1.2-.2.2l-11.4 7c-.5.3-.8.1-.8-.5V2c0-.5.4-.8.8-.5zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1m9.8 0H36c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1h-2.2c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1m47.2.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7zM67 5.8c-.5.4-1.2.6-1.8.6H62c-.6 0-1 .4-1 1v5.7c0 .6.4 1 1 1h4.2c.3.2.5.4.8.6l3.5 2.6c.4.3.8.1.8-.4V3.5c0-.5-.4-.7-.8-.4z' class='st0'/%3E%3Cpath d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8' class='st1'/%3E%3Cpath d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9' class='st1'/%3E%3Cpath d='M47 5.8c-.5.4-1.2.6-1.8.6H42c-.6 0-1 .4-1 1v5.7c0 .6.4 1 1 1h4.2c.3.2.5.4.8.6l3.5 2.6c.4.3.8.1.8-.4V3.5c0-.5-.4-.7-.8-.4z' class='st0'/%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-width='2' d='m52.8 7 5.4 5.4m-5.4 0L58.2 7'/%3E%3Cpath fill='none' stroke='%23000' d='M128.7 8.6c-6.2-4.2-6.5 7.8 0 3.9m6.5-3.9c-6.2-4.2-6.5 7.8 0 3.9'/%3E%3Cpath d='M122.2 3.4h15.7v13.1h-15.7zM120.8 2v15.7h18.3V2zm22.4 1h14c1.1 0 2 .9 2 2v10c0 1.1-.9 2-2 2h-14c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2' class='st0'/%3E%3Cpath fill='%23231f20' d='M146.4 13.8c-.8 0-1.6-.4-2.1-1-1.1-1.4-1-3.4.1-4.8.5-.6 2-1.7 4.6.2l-.6.8c-1.4-1-2.6-1.1-3.3-.3-.8 1-.8 2.4-.1 3.5.7.9 1.9.8 3.4-.1l.5.9c-.7.5-1.6.7-2.5.8m7.5 0c-.8 0-1.6-.4-2.1-1-1.1-1.4-1-3.4.1-4.8.5-.6 2-1.7 4.6.2l-.5.8c-1.4-1-2.6-1.1-3.3-.3-.8 1-.8 2.4-.1 3.5.7.9 1.9.8 3.4-.1l.5.9c-.8.5-1.7.7-2.6.8'/%3E%3Cpath d='M60.3 77c.6.2.8.8.6 1.4q-.15.45-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1z' class='st0'/%3E%3Cpath fill='none' stroke='%23000' stroke-width='5' d='M2.5 79c0-20.7 16.8-37.5 37.5-37.5S77.5 58.3 77.5 79 60.7 116.5 40 116.5 2.5 99.7 2.5 79z' opacity='.75'/%3E%3Cpath d='M140.3 77c.6.2.8.8.6 1.4q-.15.45-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1z' class='st0'/%3E%3Cpath fill='none' stroke='%23000' stroke-width='5' d='M82.5 79c0-20.7 16.8-37.5 37.5-37.5s37.5 16.8 37.5 37.5-16.8 37.5-37.5 37.5S82.5 99.7 82.5 79z'/%3E%3Ccircle cx='201.9' cy='47.1' r='8.1' class='st0'/%3E%3Ccircle cx='233.9' cy='79' r='5' opacity='.4'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' opacity='.6'/%3E%3Ccircle cx='170.1' cy='79' r='7' opacity='.8'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' opacity='.9'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' opacity='.3'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' opacity='.5'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' opacity='.7'/%3E%3Cpath d='M178 9.4c0 .4-.4.7-.9.7-.1 0-.2 0-.2-.1L172 8.2c-.5-.2-.6-.6-.1-.8l6.2-3.6c.5-.3.8-.1.7.5z' class='st0'/%3E%3Cpath d='M169.4 15.9c-1 0-2-.2-2.9-.7-2-1-3.2-3-3.2-5.2.1-3.4 2.9-6 6.3-6 2.5.1 4.8 1.7 5.6 4.1l.1-.1 2.1 1.1c-.6-4.4-4.7-7.5-9.1-6.9-3.9.6-6.9 3.9-7 7.9 0 2.9 1.7 5.6 4.3 7 1.2.6 2.5.9 3.8 1 2.6 0 5-1.2 6.6-3.3l-1.8-.9c-1.2 1.2-3 2-4.8 2m14-12.7c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5c0-.9.7-1.5 1.5-1.5m5.1 0h8.5c.9 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5h-8.5c-.9 0-1.5-.7-1.5-1.5-.1-.9.6-1.5 1.5-1.5m-5.1 5c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5c0-.9.7-1.5 1.5-1.5m5.1 0h8.5c.9 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5h-8.5c-.9 0-1.5-.7-1.5-1.5-.1-.9.6-1.5 1.5-1.5m-5.1 5c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5c0-.9.7-1.5 1.5-1.5m5.1 0h8.5c.9 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5h-8.5c-.9 0-1.5-.7-1.5-1.5-.1-.9.6-1.5 1.5-1.5' class='st0'/%3E%3C/svg%3E")}.jetpack-audio-player .mejs-button.mejs-jump-button>button{background-image:url('data:image/svg+xml;utf8,%3Csvg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60.78 35.3"%3E%3Cdefs%3E%3Cstyle%3E.cls-1{fill-rule:evenodd;}%3C/style%3E%3C/defs%3E%3Ctitle%3Etestsprite%3C/title%3E%3Cg id="layer1"%3E%3Cg id="mask0"%3E%3Cpath id="path44" class="cls-1" d="M42.49,6.27v3.87a7.72,7.72,0,1,1-7.68,7.72h1.92a5.77,5.77,0,1,0,5.76-5.79v3.86l-4.8-4.83Zm-1,10.36-.24,2.1.65.15,0,0a.46.46,0,0,1,.07-.07s0,0,.06,0l.06,0,.14-.05.19,0a.79.79,0,0,1,.29.05.48.48,0,0,1,.2.14.65.65,0,0,1,.13.23,1,1,0,0,1,0,.3h0a1,1,0,0,1,0,.3.9.9,0,0,1-.11.24.46.46,0,0,1-.17.17.5.5,0,0,1-.26.06.6.6,0,0,1-.4-.15.56.56,0,0,1-.19-.39h-.8a1.2,1.2,0,0,0,.12.51,1.12,1.12,0,0,0,.31.37,1.45,1.45,0,0,0,.44.24,2.24,2.24,0,0,0,.51.07,1.91,1.91,0,0,0,.62-.11,1.33,1.33,0,0,0,.43-.3,1.39,1.39,0,0,0,.26-.44,1.46,1.46,0,0,0,.08-.52,2.14,2.14,0,0,0-.08-.58,1.05,1.05,0,0,0-.64-.7,1.21,1.21,0,0,0-.52-.1l-.2,0-.08,0-.09,0a.38.38,0,0,0-.14.05l0,0s0,0-.06,0l.11-.89h1.63v-.69Z"/%3E%3C/g%3E%3Cg id="g34"%3E%3Cg id="g32"%3E%3Cpath id="path26" d="M23.81,17.58a6,6,0,1,1-6-6v4l5-5-5-5v4a8,8,0,1,0,8,8Z"/%3E%3Cpath id="path28" d="M15.87,20a.57.57,0,0,1-.62-.54H14.4a1.3,1.3,0,0,0,1.45,1.23c.87,0,1.51-.46,1.51-1.25a1,1,0,0,0-.71-1,1.06,1.06,0,0,0,.65-.92c0-.21-.05-1.22-1.44-1.22a1.27,1.27,0,0,0-1.4,1.16h.85a.58.58,0,0,1,1.15.06.56.56,0,0,1-.63.59h-.46v.66h.45c.65,0,.7.42.7.64A.58.58,0,0,1,15.87,20Z"/%3E%3Cpath id="path30" d="M19.66,16.26c-.14,0-1.44-.08-1.44,1.82v.74c0,1.9,1.31,1.82,1.44,1.82s1.44.09,1.44-1.82v-.74C21.11,16.17,19.8,16.26,19.66,16.26Zm.6,2.67c0,.77-.21,1-.59,1s-.6-.26-.6-1V18c0-.75.22-1,.59-1s.6.26.6,1Z"/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E');background-size:60.78px 35.296px}.jetpack-audio-player .mejs-button.mejs-jump-backward-button>button{background-position:-32px -6px}.jetpack-audio-player .mejs-button.mejs-skip-forward-button>button{background-position:-9px -6px}@supports((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.jetpack-audio-player .mejs-button>button{background-image:none}.jetpack-audio-player .mejs-button>button:before{background-color:var(--jetpack-audio-player-primary);background-image:none;content:"";display:block;height:100%;-webkit-mask:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='120'%3E%3Cstyle%3E.st0{fill:%23fff;width:16px;height:16px}.st1{fill:none;stroke:%23fff;stroke-width:1.5;stroke-linecap:round}%3C/style%3E%3Cpath d='M16.5 8.5c.3.1.4.5.2.8-.1.1-.1.2-.2.2l-11.4 7c-.5.3-.8.1-.8-.5V2c0-.5.4-.8.8-.5zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1m9.8 0H36c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1h-2.2c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1M81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7zM67 5.8c-.5.4-1.2.6-1.8.6H62c-.6 0-1 .4-1 1v5.7c0 .6.4 1 1 1h4.2c.3.2.5.4.8.6l3.5 2.6c.4.3.8.1.8-.4V3.5c0-.5-.4-.7-.8-.4z' class='st0'/%3E%3Cpath d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8' class='st1'/%3E%3Cpath d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9' class='st1'/%3E%3Cpath d='M47 5.8c-.5.4-1.2.6-1.8.6H42c-.6 0-1 .4-1 1v5.7c0 .6.4 1 1 1h4.2c.3.2.5.4.8.6l3.5 2.6c.4.3.8.1.8-.4V3.5c0-.5-.4-.7-.8-.4z' class='st0'/%3E%3Cpath d='m52.8 7 5.4 5.4m-5.4 0L58.2 7' style='fill:none;stroke:%23fff;stroke-width:2;stroke-linecap:round'/%3E%3Cpath d='M128.7 8.6c-6.2-4.2-6.5 7.8 0 3.9m6.5-3.9c-6.2-4.2-6.5 7.8 0 3.9' style='fill:none;stroke:%23fff'/%3E%3Cpath d='M122.2 3.4h15.7v13.1h-15.7zM120.8 2v15.7h18.3V2zM143.2 3h14c1.1 0 2 .9 2 2v10c0 1.1-.9 2-2 2h-14c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2' class='st0'/%3E%3Cpath d='M146.4 13.8c-.8 0-1.6-.4-2.1-1-1.1-1.4-1-3.4.1-4.8.5-.6 2-1.7 4.6.2l-.6.8c-1.4-1-2.6-1.1-3.3-.3-.8 1-.8 2.4-.1 3.5.7.9 1.9.8 3.4-.1l.5.9c-.7.5-1.6.7-2.5.8m7.5 0c-.8 0-1.6-.4-2.1-1-1.1-1.4-1-3.4.1-4.8.5-.6 2-1.7 4.6.2l-.5.8c-1.4-1-2.6-1.1-3.3-.3-.8 1-.8 2.4-.1 3.5.7.9 1.9.8 3.4-.1l.5.9c-.8.5-1.7.7-2.6.8' style='fill:%23231f20'/%3E%3Cpath d='M60.3 77c.6.2.8.8.6 1.4q-.15.45-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1z' class='st0'/%3E%3Cpath d='M2.5 79c0-20.7 16.8-37.5 37.5-37.5S77.5 58.3 77.5 79 60.7 116.5 40 116.5 2.5 99.7 2.5 79z' style='opacity:.75;fill:none;stroke:%23fff;stroke-width:5'/%3E%3Cpath d='M140.3 77c.6.2.8.8.6 1.4q-.15.45-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1z' class='st0'/%3E%3Cpath d='M82.5 79c0-20.7 16.8-37.5 37.5-37.5s37.5 16.8 37.5 37.5-16.8 37.5-37.5 37.5S82.5 99.7 82.5 79z' style='fill:none;stroke:%23fff;stroke-width:5'/%3E%3Ccircle cx='201.9' cy='47.1' r='8.1' class='st0'/%3E%3Ccircle cx='233.9' cy='79' r='5' style='opacity:.4;fill:%23fff'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' style='opacity:.6;fill:%23fff'/%3E%3Ccircle cx='170.1' cy='79' r='7' style='opacity:.8;fill:%23fff'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' style='opacity:.9;fill:%23fff'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' style='opacity:.3;fill:%23fff'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff'/%3E%3Cpath d='M178 9.4c0 .4-.4.7-.9.7-.1 0-.2 0-.2-.1L172 8.2c-.5-.2-.6-.6-.1-.8l6.2-3.6c.5-.3.8-.1.7.5z' class='st0'/%3E%3Cpath d='M169.4 15.9c-1 0-2-.2-2.9-.7-2-1-3.2-3-3.2-5.2.1-3.4 2.9-6 6.3-6 2.5.1 4.8 1.7 5.6 4.1l.1-.1 2.1 1.1c-.6-4.4-4.7-7.5-9.1-6.9-3.9.6-6.9 3.9-7 7.9 0 2.9 1.7 5.6 4.3 7 1.2.6 2.5.9 3.8 1 2.6 0 5-1.2 6.6-3.3l-1.8-.9c-1.2 1.2-3 2-4.8 2M183.4 3.2c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5c0-.9.7-1.5 1.5-1.5m5.1 0h8.5c.9 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5h-8.5c-.9 0-1.5-.7-1.5-1.5-.1-.9.6-1.5 1.5-1.5m-5.1 5c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5c0-.9.7-1.5 1.5-1.5m5.1 0h8.5c.9 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5h-8.5c-.9 0-1.5-.7-1.5-1.5-.1-.9.6-1.5 1.5-1.5m-5.1 5c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5c0-.9.7-1.5 1.5-1.5m5.1 0h8.5c.9 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5h-8.5c-.9 0-1.5-.7-1.5-1.5-.1-.9.6-1.5 1.5-1.5' class='st0'/%3E%3C/svg%3E");mask:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='120'%3E%3Cstyle%3E.st0{fill:%23fff;width:16px;height:16px}.st1{fill:none;stroke:%23fff;stroke-width:1.5;stroke-linecap:round}%3C/style%3E%3Cpath d='M16.5 8.5c.3.1.4.5.2.8-.1.1-.1.2-.2.2l-11.4 7c-.5.3-.8.1-.8-.5V2c0-.5.4-.8.8-.5zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1m9.8 0H36c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1h-2.2c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1M81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7zM67 5.8c-.5.4-1.2.6-1.8.6H62c-.6 0-1 .4-1 1v5.7c0 .6.4 1 1 1h4.2c.3.2.5.4.8.6l3.5 2.6c.4.3.8.1.8-.4V3.5c0-.5-.4-.7-.8-.4z' class='st0'/%3E%3Cpath d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8' class='st1'/%3E%3Cpath d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9' class='st1'/%3E%3Cpath d='M47 5.8c-.5.4-1.2.6-1.8.6H42c-.6 0-1 .4-1 1v5.7c0 .6.4 1 1 1h4.2c.3.2.5.4.8.6l3.5 2.6c.4.3.8.1.8-.4V3.5c0-.5-.4-.7-.8-.4z' class='st0'/%3E%3Cpath d='m52.8 7 5.4 5.4m-5.4 0L58.2 7' style='fill:none;stroke:%23fff;stroke-width:2;stroke-linecap:round'/%3E%3Cpath d='M128.7 8.6c-6.2-4.2-6.5 7.8 0 3.9m6.5-3.9c-6.2-4.2-6.5 7.8 0 3.9' style='fill:none;stroke:%23fff'/%3E%3Cpath d='M122.2 3.4h15.7v13.1h-15.7zM120.8 2v15.7h18.3V2zM143.2 3h14c1.1 0 2 .9 2 2v10c0 1.1-.9 2-2 2h-14c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2' class='st0'/%3E%3Cpath d='M146.4 13.8c-.8 0-1.6-.4-2.1-1-1.1-1.4-1-3.4.1-4.8.5-.6 2-1.7 4.6.2l-.6.8c-1.4-1-2.6-1.1-3.3-.3-.8 1-.8 2.4-.1 3.5.7.9 1.9.8 3.4-.1l.5.9c-.7.5-1.6.7-2.5.8m7.5 0c-.8 0-1.6-.4-2.1-1-1.1-1.4-1-3.4.1-4.8.5-.6 2-1.7 4.6.2l-.5.8c-1.4-1-2.6-1.1-3.3-.3-.8 1-.8 2.4-.1 3.5.7.9 1.9.8 3.4-.1l.5.9c-.8.5-1.7.7-2.6.8' style='fill:%23231f20'/%3E%3Cpath d='M60.3 77c.6.2.8.8.6 1.4q-.15.45-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1z' class='st0'/%3E%3Cpath d='M2.5 79c0-20.7 16.8-37.5 37.5-37.5S77.5 58.3 77.5 79 60.7 116.5 40 116.5 2.5 99.7 2.5 79z' style='opacity:.75;fill:none;stroke:%23fff;stroke-width:5'/%3E%3Cpath d='M140.3 77c.6.2.8.8.6 1.4q-.15.45-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1z' class='st0'/%3E%3Cpath d='M82.5 79c0-20.7 16.8-37.5 37.5-37.5s37.5 16.8 37.5 37.5-16.8 37.5-37.5 37.5S82.5 99.7 82.5 79z' style='fill:none;stroke:%23fff;stroke-width:5'/%3E%3Ccircle cx='201.9' cy='47.1' r='8.1' class='st0'/%3E%3Ccircle cx='233.9' cy='79' r='5' style='opacity:.4;fill:%23fff'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' style='opacity:.6;fill:%23fff'/%3E%3Ccircle cx='170.1' cy='79' r='7' style='opacity:.8;fill:%23fff'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' style='opacity:.9;fill:%23fff'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' style='opacity:.3;fill:%23fff'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff'/%3E%3Cpath d='M178 9.4c0 .4-.4.7-.9.7-.1 0-.2 0-.2-.1L172 8.2c-.5-.2-.6-.6-.1-.8l6.2-3.6c.5-.3.8-.1.7.5z' class='st0'/%3E%3Cpath d='M169.4 15.9c-1 0-2-.2-2.9-.7-2-1-3.2-3-3.2-5.2.1-3.4 2.9-6 6.3-6 2.5.1 4.8 1.7 5.6 4.1l.1-.1 2.1 1.1c-.6-4.4-4.7-7.5-9.1-6.9-3.9.6-6.9 3.9-7 7.9 0 2.9 1.7 5.6 4.3 7 1.2.6 2.5.9 3.8 1 2.6 0 5-1.2 6.6-3.3l-1.8-.9c-1.2 1.2-3 2-4.8 2M183.4 3.2c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5c0-.9.7-1.5 1.5-1.5m5.1 0h8.5c.9 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5h-8.5c-.9 0-1.5-.7-1.5-1.5-.1-.9.6-1.5 1.5-1.5m-5.1 5c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5c0-.9.7-1.5 1.5-1.5m5.1 0h8.5c.9 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5h-8.5c-.9 0-1.5-.7-1.5-1.5-.1-.9.6-1.5 1.5-1.5m-5.1 5c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5c0-.9.7-1.5 1.5-1.5m5.1 0h8.5c.9 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5h-8.5c-.9 0-1.5-.7-1.5-1.5-.1-.9.6-1.5 1.5-1.5' class='st0'/%3E%3C/svg%3E");width:100%}.jetpack-audio-player .mejs-button.mejs-jump-button>button{background-image:none}.jetpack-audio-player .mejs-button.mejs-jump-button>button:before{background-image:none;-webkit-mask:url('data:image/svg+xml;utf8,%3Csvg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60.78 35.3"%3E%3Cdefs%3E%3Cstyle%3E.cls-1{fill-rule:evenodd;}%3C/style%3E%3C/defs%3E%3Ctitle%3Etestsprite%3C/title%3E%3Cg id="layer1"%3E%3Cg id="mask0"%3E%3Cpath id="path44" class="cls-1" d="M42.49,6.27v3.87a7.72,7.72,0,1,1-7.68,7.72h1.92a5.77,5.77,0,1,0,5.76-5.79v3.86l-4.8-4.83Zm-1,10.36-.24,2.1.65.15,0,0a.46.46,0,0,1,.07-.07s0,0,.06,0l.06,0,.14-.05.19,0a.79.79,0,0,1,.29.05.48.48,0,0,1,.2.14.65.65,0,0,1,.13.23,1,1,0,0,1,0,.3h0a1,1,0,0,1,0,.3.9.9,0,0,1-.11.24.46.46,0,0,1-.17.17.5.5,0,0,1-.26.06.6.6,0,0,1-.4-.15.56.56,0,0,1-.19-.39h-.8a1.2,1.2,0,0,0,.12.51,1.12,1.12,0,0,0,.31.37,1.45,1.45,0,0,0,.44.24,2.24,2.24,0,0,0,.51.07,1.91,1.91,0,0,0,.62-.11,1.33,1.33,0,0,0,.43-.3,1.39,1.39,0,0,0,.26-.44,1.46,1.46,0,0,0,.08-.52,2.14,2.14,0,0,0-.08-.58,1.05,1.05,0,0,0-.64-.7,1.21,1.21,0,0,0-.52-.1l-.2,0-.08,0-.09,0a.38.38,0,0,0-.14.05l0,0s0,0-.06,0l.11-.89h1.63v-.69Z"/%3E%3C/g%3E%3Cg id="g34"%3E%3Cg id="g32"%3E%3Cpath id="path26" d="M23.81,17.58a6,6,0,1,1-6-6v4l5-5-5-5v4a8,8,0,1,0,8,8Z"/%3E%3Cpath id="path28" d="M15.87,20a.57.57,0,0,1-.62-.54H14.4a1.3,1.3,0,0,0,1.45,1.23c.87,0,1.51-.46,1.51-1.25a1,1,0,0,0-.71-1,1.06,1.06,0,0,0,.65-.92c0-.21-.05-1.22-1.44-1.22a1.27,1.27,0,0,0-1.4,1.16h.85a.58.58,0,0,1,1.15.06.56.56,0,0,1-.63.59h-.46v.66h.45c.65,0,.7.42.7.64A.58.58,0,0,1,15.87,20Z"/%3E%3Cpath id="path30" d="M19.66,16.26c-.14,0-1.44-.08-1.44,1.82v.74c0,1.9,1.31,1.82,1.44,1.82s1.44.09,1.44-1.82v-.74C21.11,16.17,19.8,16.26,19.66,16.26Zm.6,2.67c0,.77-.21,1-.59,1s-.6-.26-.6-1V18c0-.75.22-1,.59-1s.6.26.6,1Z"/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E') 0 0/60.78px 35.296px;mask:url('data:image/svg+xml;utf8,%3Csvg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60.78 35.3"%3E%3Cdefs%3E%3Cstyle%3E.cls-1{fill-rule:evenodd;}%3C/style%3E%3C/defs%3E%3Ctitle%3Etestsprite%3C/title%3E%3Cg id="layer1"%3E%3Cg id="mask0"%3E%3Cpath id="path44" class="cls-1" d="M42.49,6.27v3.87a7.72,7.72,0,1,1-7.68,7.72h1.92a5.77,5.77,0,1,0,5.76-5.79v3.86l-4.8-4.83Zm-1,10.36-.24,2.1.65.15,0,0a.46.46,0,0,1,.07-.07s0,0,.06,0l.06,0,.14-.05.19,0a.79.79,0,0,1,.29.05.48.48,0,0,1,.2.14.65.65,0,0,1,.13.23,1,1,0,0,1,0,.3h0a1,1,0,0,1,0,.3.9.9,0,0,1-.11.24.46.46,0,0,1-.17.17.5.5,0,0,1-.26.06.6.6,0,0,1-.4-.15.56.56,0,0,1-.19-.39h-.8a1.2,1.2,0,0,0,.12.51,1.12,1.12,0,0,0,.31.37,1.45,1.45,0,0,0,.44.24,2.24,2.24,0,0,0,.51.07,1.91,1.91,0,0,0,.62-.11,1.33,1.33,0,0,0,.43-.3,1.39,1.39,0,0,0,.26-.44,1.46,1.46,0,0,0,.08-.52,2.14,2.14,0,0,0-.08-.58,1.05,1.05,0,0,0-.64-.7,1.21,1.21,0,0,0-.52-.1l-.2,0-.08,0-.09,0a.38.38,0,0,0-.14.05l0,0s0,0-.06,0l.11-.89h1.63v-.69Z"/%3E%3C/g%3E%3Cg id="g34"%3E%3Cg id="g32"%3E%3Cpath id="path26" d="M23.81,17.58a6,6,0,1,1-6-6v4l5-5-5-5v4a8,8,0,1,0,8,8Z"/%3E%3Cpath id="path28" d="M15.87,20a.57.57,0,0,1-.62-.54H14.4a1.3,1.3,0,0,0,1.45,1.23c.87,0,1.51-.46,1.51-1.25a1,1,0,0,0-.71-1,1.06,1.06,0,0,0,.65-.92c0-.21-.05-1.22-1.44-1.22a1.27,1.27,0,0,0-1.4,1.16h.85a.58.58,0,0,1,1.15.06.56.56,0,0,1-.63.59h-.46v.66h.45c.65,0,.7.42.7.64A.58.58,0,0,1,15.87,20Z"/%3E%3Cpath id="path30" d="M19.66,16.26c-.14,0-1.44-.08-1.44,1.82v.74c0,1.9,1.31,1.82,1.44,1.82s1.44.09,1.44-1.82v-.74C21.11,16.17,19.8,16.26,19.66,16.26Zm.6,2.67c0,.77-.21,1-.59,1s-.6-.26-.6-1V18c0-.75.22-1,.59-1s.6.26.6,1Z"/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E') 0 0/60.78px 35.296px}.jetpack-audio-player .mejs-button.mejs-jump-backward-button>button:before{-webkit-mask-position:-32px -6px;mask-position:-32px -6px}.jetpack-audio-player .mejs-button.mejs-skip-forward-button>button:before{-webkit-mask-position:-9px -6px;mask-position:-9px -6px}.jetpack-audio-player .mejs-button>button:focus{outline:1px solid;outline-color:#ccc;outline-color:var(--jetpack-audio-player-secondary);outline-offset:2px}.jetpack-audio-player .mejs-play>button:before{-webkit-mask-position:0 0;mask-position:0 0}.jetpack-audio-player .mejs-pause>button:before{-webkit-mask-position:-20px 0;mask-position:-20px 0}.jetpack-audio-player .mejs-replay>button:before{-webkit-mask-position:-160px 0;mask-position:-160px 0}.jetpack-audio-player .mejs-mute>button:before{-webkit-mask-position:-60px 0;mask-position:-60px 0}.jetpack-audio-player .mejs-unmute>button:before{-webkit-mask-position:-40px 0;mask-position:-40px 0}}.block-editor-block-contextual-toolbar[data-type="jetpack/podcast-player"] .components-toolbar__control,[data-type="jetpack/podcast-player"] .block-editor-block-contextual-toolbar .components-toolbar__control{padding:0 1em;width:auto}.jetpack-podcast-player__interactive-overlay,.jetpack-podcast-player__loading-overlay{bottom:0;left:0;position:absolute;right:0;top:0}.jetpack-podcast-player__loading-overlay{align-items:center;background:#ffffffb3;display:flex;justify-content:center}.jetpack-podcast-player__placeholder .components-base-control,.jetpack-podcast-player__placeholder .components-base-control__field{display:flex;flex-grow:1}.jetpack-podcast-player__placeholder .components-base-control__field{margin-bottom:0}.jetpack-podcast-player__placeholder .components-placeholder__learn-more{margin-top:1em}.block-editor-block-inspector .components-base-control.jetpack-podcast-player__episode-selector{margin-bottom:24px}.jetpack-podcast-player--visually-hidden{height:1px;overflow:hidden;position:absolute!important;width:1px;clip:rect(1px,1px,1px,1px);white-space:nowrap}.wp-block-jetpack-podcast-player{overflow:hidden}.wp-block-jetpack-podcast-player audio{display:none}.wp-block-jetpack-podcast-player .jetpack-podcast-player{--jetpack-podcast-player-primary:#000;--jetpack-podcast-player-secondary:#ccc;--jetpack-podcast-player-background:#fff;background-color:var(--jetpack-podcast-player-background);color:var(--jetpack-podcast-player-secondary);padding-bottom:0;padding-top:0}.wp-block-jetpack-podcast-player .jetpack-podcast-player:not(.has-secondary){color:#ccc}.wp-block-jetpack-podcast-player .jetpack-podcast-player:not(.has-background){background-color:#fff}.wp-block-jetpack-podcast-player .jetpack-podcast-player a,.wp-block-jetpack-podcast-player .jetpack-podcast-player a:active,.wp-block-jetpack-podcast-player .jetpack-podcast-player a:focus,.wp-block-jetpack-podcast-player .jetpack-podcast-player a:hover,.wp-block-jetpack-podcast-player .jetpack-podcast-player a:visited{border:none;box-shadow:none;text-decoration:none}.wp-block-jetpack-podcast-player .jetpack-podcast-player a:focus{outline:1px solid;outline-color:#ccc;outline-color:var(--jetpack-podcast-player-secondary);outline-offset:2px}.wp-block-jetpack-podcast-player .jetpack-podcast-player a.jetpack-podcast-player__link,.wp-block-jetpack-podcast-player .jetpack-podcast-player a.jetpack-podcast-player__link:active,.wp-block-jetpack-podcast-player .jetpack-podcast-player a.jetpack-podcast-player__link:visited{color:inherit}.wp-block-jetpack-podcast-player .jetpack-podcast-player a.jetpack-podcast-player__link:focus,.wp-block-jetpack-podcast-player .jetpack-podcast-player a.jetpack-podcast-player__link:hover{color:inherit;color:var(--jetpack-podcast-player-primary)}.wp-block-jetpack-podcast-player .jetpack-podcast-player__header{display:flex;flex-direction:column}.wp-block-jetpack-podcast-player .jetpack-podcast-player__current-track-info{display:flex;padding:24px}.wp-block-jetpack-podcast-player .jetpack-podcast-player__cover{flex-shrink:0;margin-inline-end:24px;width:80px}.wp-block-jetpack-podcast-player .jetpack-podcast-player__cover-image{border:0;height:80px;max-width:100%;padding:0;width:80px}.wp-block-jetpack-podcast-player h2.jetpack-podcast-player__title{color:inherit;display:flex;flex-direction:column;letter-spacing:0;margin:0;padding:0;width:100%}.wp-block-jetpack-podcast-player h2.jetpack-podcast-player__title:after,.wp-block-jetpack-podcast-player h2.jetpack-podcast-player__title:before{display:none}.wp-block-jetpack-podcast-player .jetpack-podcast-player__current-track-title{color:var(--jetpack-podcast-player-primary);font-size:24px;margin:0 0 10px}.wp-block-jetpack-podcast-player .jetpack-podcast-player__current-track-title:not(.has-primary){color:#000}.wp-block-jetpack-podcast-player .jetpack-podcast-player__podcast-title{color:inherit;font-size:16px;margin:0}.wp-block-jetpack-podcast-player .jetpack-podcast-player__tracks{display:flex;flex-direction:column;list-style-type:none;margin:24px 0 0;padding:0 0 15px}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track{color:var(--jetpack-podcast-player-secondary);font-size:16px;line-height:1.8;margin:0}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track:not(.is-active):not(.has-secondary){color:#ccc}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track.is-active{color:var(--jetpack-podcast-player-primary);font-weight:700}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track.is-active:not(.has-primary){color:#000}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-link{display:flex;flex-flow:row nowrap;justify-content:space-between;padding-bottom:10px;padding-inline-end:24px;padding-top:10px;padding-inline-start:22px;transition:none}.wp-block-jetpack-podcast-player .is-error .jetpack-podcast-player__track.is-active .jetpack-podcast-player__track-link{padding-bottom:0}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-status-icon{flex:22px 0 0;fill:currentColor}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-status-icon svg{display:block;height:22px;margin-top:3.4px;width:22px;fill:inherit}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-status-icon--error{fill:#cc1818}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track.has-primary .jetpack-podcast-player__track-status-icon--error{fill:currentColor}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-title{flex-grow:1;padding:0 15px}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-title-link{display:inline-block;height:27px;margin-inline-start:5px;vertical-align:top}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-title-link,.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-title-link:active,.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-title-link:visited{color:currentColor}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-title-link:focus,.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-title-link:hover{color:inherit;color:var(--jetpack-podcast-player-secondary)}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-title-link svg{display:block;height:27px;width:27px;fill:currentColor}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-duration{word-break:normal}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-description{color:inherit;font-size:16px;line-height:1.8;margin:0 0 24px;max-height:7.2em;order:99;overflow:hidden;padding:0 24px}@supports(display:-webkit-box){.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;max-height:none}}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-error{color:#cc1818;display:block;font-size:.8em;font-weight:400;margin-inline-start:59px;margin-bottom:10px}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-error>span{color:var(--jetpack-podcast-player-secondary)}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-error>span:not(.has-secondary){color:#ccc}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track.has-primary .jetpack-podcast-player__track-error{color:inherit}.wp-block-jetpack-podcast-player .jetpack-podcast-player__error{color:#cc1818;font-size:.8em;font-weight:400;margin:0;padding:24px}@supports((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-status-icon--playing{background-image:none}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-status-icon--playing:before{background-color:var(--jetpack-podcast-player-primary);background-image:none;content:"";display:block;height:100%;margin:4px 2px 0 0;-webkit-mask:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 4.763 4.763'%3E%3Cpath d='M1.65 1.204a.8.8 0 0 1-.476.159H.327c-.159 0-.264.106-.264.264v1.508c0 .16.105.265.264.265h1.111c.08.053.133.106.212.159l.926.688c.106.079.212.026.212-.106V.595c0-.132-.106-.185-.212-.105z' class='st0'/%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397' d='M3.48.33S4.512.118 4.512 2.367 3.48 4.431 3.48 4.431' class='st1'/%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397' d='M3.13 1.362s.688-.106.688 1.005S3.13 3.4 3.13 3.4' class='st1'/%3E%3C/svg%3E");mask:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 4.763 4.763'%3E%3Cpath d='M1.65 1.204a.8.8 0 0 1-.476.159H.327c-.159 0-.264.106-.264.264v1.508c0 .16.105.265.264.265h1.111c.08.053.133.106.212.159l.926.688c.106.079.212.026.212-.106V.595c0-.132-.106-.185-.212-.105z' class='st0'/%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397' d='M3.48.33S4.512.118 4.512 2.367 3.48 4.431 3.48 4.431' class='st1'/%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397' d='M3.13 1.362s.688-.106.688 1.005S3.13 3.4 3.13 3.4' class='st1'/%3E%3C/svg%3E");-webkit-mask-position:0 0;mask-position:0 0;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;max-height:22px;max-width:20px;width:100%}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-status-icon--playing svg{display:none}}.wp-block-jetpack-podcast-player.is-default .jetpack-podcast-player__track-title{padding-inline-start:0}.wp-block-jetpack-podcast-player.is-default .jetpack-audio-player,.wp-block-jetpack-podcast-player.is-default .jetpack-podcast-player__track-status-icon{display:none}.connect-stripe.has-icon.has-text svg{margin-right:0}.connect-stripe.has-icon.has-text{font-weight:400}.product-management-control-inspector__product-interval .components-base-control,.product-management-control-inspector__product-title .components-base-control{width:100%}.product-management-control-inspector__product-price .components-base-control{margin:0;width:45%}.product-management-control-inspector__add-plan .components-panel__row:last-child{margin-top:25px}.product-management-control-inspector__add-plan .components-base-control:last-child{margin:0}.product-management-control-nudge .editor-warning{margin-bottom:0}.product-management-control-nudge .editor-warning__message{margin:13px 0}.product-management-control-nudge .editor-warning__actions{line-height:1}.product-management-control-nudge .product-management-control-nudge__info{display:flex;flex-direction:row;font-size:13px;line-height:1.4}.product-management-control-nudge .product-management-control-nudge__text-container{display:flex;flex-direction:column;padding-left:10px}.product-management-control-nudge .product-management-control-nudge__title{font-size:14px}.product-management-control-nudge__message{color:#646970}.editor-styles-wrapper a.product-management-control-nudge__button{color:#0075af;text-decoration:none}.wp-block-premium-content-container .premium-content-tabs{align-items:center;background:#fff;border:1px solid #1e1e1e;border-radius:2px;color:#757575;display:flex;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:0 0 0 -1px;padding:8px 14px;position:relative}.wp-block-premium-content-container--tab{align-items:center;background:#0000;border:none;display:flex;flex-direction:row;margin-inline-end:5px;padding:5px;text-decoration:none}.premium-content-tabs>button.edit{margin-inline-start:auto}.premium-content-wrapper{margin:0}.membership-button__disclaimer{color:var(--color-gray-200);flex-basis:100%;font-style:italic;margin:0}.membership-button__disclaimer a{color:var(--color-gray-400);line-height:36px}.wp-block-buttons .wp-block[data-type="jetpack/recurring-payments"]{display:inline-block;margin:0 .5em 0 0;width:auto}.editor-styles-wrapper .wp-block-buttons .wp-block[data-type="jetpack/recurring-payments"] .wp-block-button:not(.alignleft):not(.alignright){margin:0}.wp-block-premium-content-container .premium-content-wrapper .jetpack-block-nudge{display:none}.wp-block-premium-content-login-button{display:inline-block}.wp-block[data-align=center]>.wp-block-premium-content-login-button{align-items:center;display:flex;justify-content:center}.jetpack-publicize-gutenberg-social-icon{margin-right:10px}.components-connection-icon{cursor:pointer;display:grid}.components-connection-icon__picture .placeholder,.components-connection-icon__picture img{border-radius:2px;grid-area:1/1/2/2;height:24px;width:24px}.components-connection-icon__picture .placeholder{background-color:#a8bece;display:block}.components-connection-icon__picture .jetpack-publicize-gutenberg-social-icon{background-color:#fff;border-radius:2px;grid-area:1/1/2/2;height:15px;margin-left:14px;margin-right:5px;margin-top:14px;width:15px}.components-connection-icon__picture .jetpack-publicize-gutenberg-social-icon.is-facebook{border-radius:50%}.jetpack-publicize-connection-label-copy,.jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.cuoSlhSNrqf1dozY22Xb{fill:#000}.JLquNpQVlysAamuh5lJO,.lAIiifeLMmZAPlQ9n9ZR{fill:var(--jp-green-primary)}.cbOwD8Y4tFjwimmtchQI{fill:#757575}.cbOwD8Y4tFjwimmtchQI.aLWBKY0yRghEk7tNCgK3{fill:#0085ff}.cbOwD8Y4tFjwimmtchQI.aHOlEBGD5EA8NKRw3xTw{fill:#0866ff}.cbOwD8Y4tFjwimmtchQI.aHOlEBGD5EA8NKRw3xTw.social-logo{border-radius:50%}.cbOwD8Y4tFjwimmtchQI.af4Y_zItXvLAOEoSDPSv{fill:#55acee}.cbOwD8Y4tFjwimmtchQI.f68aqF3XSD1OBvXR1get{fill:#0976b4}.cbOwD8Y4tFjwimmtchQI.xFI0dt3UiXRlRQdqPWkx{fill:#35465c}.cbOwD8Y4tFjwimmtchQI.q7JEoyymveP6kF747M43{fill:var(--color-gplus)}.cbOwD8Y4tFjwimmtchQI.DKOBOTVmTLbh26gUH_73{fill:#6364ff}.cbOwD8Y4tFjwimmtchQI.n5XodNsuMfMAAvqHFmbw{fill:#8ed500}.cbOwD8Y4tFjwimmtchQI.n5XodNsuMfMAAvqHFmbw.social-logo{border-radius:50%}.cbOwD8Y4tFjwimmtchQI.cL3m0xBYTYhIKI7lCqDB{fill:#d93174}.cbOwD8Y4tFjwimmtchQI.fftumuc_lJ6v0tq4UMVR{fill:#43d854}.cbOwD8Y4tFjwimmtchQI.inzgC27qxdt7hSdhTWRI{fill:#000}.cbOwD8Y4tFjwimmtchQI.inzgC27qxdt7hSdhTWRI.social-logo{border-radius:40%}.components-connection-toggle{align-items:center;display:flex;position:relative;width:100%}.components-connection-toggle.is-not-checked .components-connection-icon__picture img{filter:saturate(0)}.components-connection-toggle.is-not-checked .jetpack-publicize-gutenberg-social-icon{fill:#949494;filter:saturate(0)}.components-connection-toggle.is-disabled{opacity:.5;width:100%}.__nV49on4_ijaV8Brnsw.zZ3Pu7E87XyYIdPR2WTt{margin-bottom:13px;margin-left:0;margin-right:0}.__nV49on4_ijaV8Brnsw .fLC8AaLf3xcKaoJ4Opax{height:auto;line-height:normal;padding-bottom:6px;padding-top:6px}.__nV49on4_ijaV8Brnsw .fLC8AaLf3xcKaoJ4Opax+.fLC8AaLf3xcKaoJ4Opax{margin-top:5px}.KQcQQLxH5fI08DfOlKwL{display:flex}.SbpyhN5jnda8H868J3rX{border-radius:4px;outline:1px solid var(--jp-gray-5)}.SbpyhN5jnda8H868J3rX .ONeewrk3aNC1gYJebq7K{margin-bottom:0}.SbpyhN5jnda8H868J3rX .ONeewrk3aNC1gYJebq7K:not(:last-child){border-bottom:1px solid var(--jp-gray-5)}.SbpyhN5jnda8H868J3rX .RoTxOeGFqAwk3pXUZpvF{padding:.75rem}@media(min-width:600px){.SbpyhN5jnda8H868J3rX .RoTxOeGFqAwk3pXUZpvF{padding:1rem}}.SbpyhN5jnda8H868J3rX .AjlYaYB_xi9ciXXCqHIJ{align-items:center;display:flex;gap:1rem}.SbpyhN5jnda8H868J3rX .kdYli5nS3b46T57Ih5TQ{display:flex;flex:1;flex-direction:column;gap:.25rem}.SbpyhN5jnda8H868J3rX .ci8T5eNe1rggYILce596{align-items:center;display:flex;gap:1rem}.SbpyhN5jnda8H868J3rX .W6mPdl5wGQlXfp1hYSK0{display:flex;gap:.5rem}.SbpyhN5jnda8H868J3rX .QbcyaAVqz3U_2xlIOZCw{border-radius:4px;font-size:.75rem;font-weight:600;padding:2px 8px}.SbpyhN5jnda8H868J3rX .fXvUC1jZNUXR7RSrIylI{color:var(--jp-gray-80);font-size:16px;font-weight:600;line-height:24px}.SbpyhN5jnda8H868J3rX .d22_aeSA1etqpnckP_Mr{color:var(--jp-gray-50);font-size:14px}.SbpyhN5jnda8H868J3rX .ddhaNmGMqOySRjR_TtqJ{display:flex;gap:.5rem}.SbpyhN5jnda8H868J3rX .nnSF_IK4vYviTlCOzPrg.components-button{font-size:14px;font-weight:500;line-height:20px;padding-inline:6px}.SbpyhN5jnda8H868J3rX .nnSF_IK4vYviTlCOzPrg.components-button span{display:flex}.SbpyhN5jnda8H868J3rX .u17AiTny2Jbh35JFAUYw{border:0}.SbpyhN5jnda8H868J3rX .u17AiTny2Jbh35JFAUYw .components-panel__body{border-bottom:0;border-top:0;padding:0}.SbpyhN5jnda8H868J3rX .u17AiTny2Jbh35JFAUYw .components-panel__body.is-opened{margin-top:1rem}.SbpyhN5jnda8H868J3rX .u17AiTny2Jbh35JFAUYw .U_Z9JvOsEQ6BtkH9P1IQ{display:flex;margin-top:1rem}.SbpyhN5jnda8H868J3rX .u17AiTny2Jbh35JFAUYw .U_Z9JvOsEQ6BtkH9P1IQ form{display:flex;flex-direction:column;gap:1rem;justify-content:flex-end;width:100%}@media(min-width:600px){.SbpyhN5jnda8H868J3rX .u17AiTny2Jbh35JFAUYw .U_Z9JvOsEQ6BtkH9P1IQ form{flex-direction:row}}.SbpyhN5jnda8H868J3rX .MyXskAb4aXwO7zitR97z{color:var(--jp-green-50);white-space:nowrap}.SbpyhN5jnda8H868J3rX .hMntEpO6BV5B11lyAitv{font-size:var(--font-body-small);margin-block:0}.SbpyhN5jnda8H868J3rX .Y_4JpLfOnXVZKvEs179H{border-top:1px solid var(--jp-gray-5);padding-top:1rem}.SbpyhN5jnda8H868J3rX .Y_4JpLfOnXVZKvEs179H li:not(:last-child){margin-bottom:1rem}.SbpyhN5jnda8H868J3rX .Y_4JpLfOnXVZKvEs179H [inert=true]{opacity:.7}.jdahJvXCrCw0hA5NP3D3{display:grid;font-size:15px;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;margin-top:.4rem}.jdahJvXCrCw0hA5NP3D3.LLeYGX7Owy6gmpNW88VV{grid-auto-flow:row;grid-gap:2rem;height:auto;min-height:unset}.jdahJvXCrCw0hA5NP3D3 img{max-height:520px;max-width:100%}.jdahJvXCrCw0hA5NP3D3>div{padding:.4rem}.jdahJvXCrCw0hA5NP3D3>div:has(img){margin-inline-end:auto;margin-inline-start:auto}.EdjyE9tVLH6lWMoB9z3M{display:flex;gap:1rem}.EdjyE9tVLH6lWMoB9z3M .EQQHwkVXRn0caD6J7LqV{align-items:flex-start;display:flex;flex:1;flex-direction:column;gap:.5rem}.EdjyE9tVLH6lWMoB9z3M .vvlyiVm67wUWF9NhpMA4{height:38px;width:38px}.EdjyE9tVLH6lWMoB9z3M .zqX6xk8KCGK1_qbYKqY5.components-button.is-tertiary{color:var(--jp-gray-50);font-size:1rem;font-weight:400}.fNeO_MZFp7cPkgtCdkAF .zK8sijAMFNs2m6WRAoi4.components-button{font-size:14px;font-weight:500;line-height:20px;padding:6px 16px}.fNeO_MZFp7cPkgtCdkAF input{min-width:220px}@media(max-width:782px){.fNeO_MZFp7cPkgtCdkAF input{font-size:14px;min-height:30px;padding:0 8px}}.zLobzkXnF6jHxNvkfz5_{display:flex;gap:.5rem}.zI5tJ_qhWE6Oe6Lk75GY{--wp-admin-theme-color:var(--jp-black);--wp-admin-theme-color-darker-10:var(--jp-black-80);--wp-admin-theme-color-darker-20:var(--jp-black-80);--wp-admin-border-width-focus:1.51px;border-radius:var(--jp-border-radius);font-weight:600;justify-content:center}.zI5tJ_qhWE6Oe6Lk75GY.tuBt2DLqimiImoqVzPqo{height:calc(var(--spacing-base)*5);padding:var(--spacing-base);width:calc(var(--spacing-base)*5)}.zI5tJ_qhWE6Oe6Lk75GY.tuBt2DLqimiImoqVzPqo>svg:first-child{margin:0;padding:0}.zI5tJ_qhWE6Oe6Lk75GY.tuBt2DLqimiImoqVzPqo.Na39I683LAaSA99REg14{height:calc(var(--spacing-base)*4);min-width:calc(var(--spacing-base)*4);padding:calc(var(--spacing-base)/2);width:calc(var(--spacing-base)*4)}.zI5tJ_qhWE6Oe6Lk75GY.ipS7tKy9GntCS4R3vekF:not(.tuBt2DLqimiImoqVzPqo){font-size:var(--font-body);height:auto;line-height:24px;padding:var(--spacing-base) calc(var(--spacing-base)*3)}.zI5tJ_qhWE6Oe6Lk75GY.ipS7tKy9GntCS4R3vekF:not(.tuBt2DLqimiImoqVzPqo).paGLQwtPEaJmtArCcmyK{padding:var(--spacing-base) calc(var(--spacing-base)*2)}.zI5tJ_qhWE6Oe6Lk75GY.Na39I683LAaSA99REg14:not(.tuBt2DLqimiImoqVzPqo){font-size:var(--font-body-extra-small);height:auto;line-height:20px;padding:calc(var(--spacing-base)/2) var(--spacing-base)}.zI5tJ_qhWE6Oe6Lk75GY.Na39I683LAaSA99REg14:not(.tuBt2DLqimiImoqVzPqo).paGLQwtPEaJmtArCcmyK>svg:first-child{margin-right:calc(var(--spacing-base)/2)}.zI5tJ_qhWE6Oe6Lk75GY.Na39I683LAaSA99REg14:not(.tuBt2DLqimiImoqVzPqo)>.components-spinner{height:20px}.zI5tJ_qhWE6Oe6Lk75GY.lZAo6_oGfclXOO9CC6Rd{font-weight:400}.zI5tJ_qhWE6Oe6Lk75GY.xJDOiJxTt0R_wSl8Ipz_{min-width:100%}.zI5tJ_qhWE6Oe6Lk75GY.is-primary:disabled,.zI5tJ_qhWE6Oe6Lk75GY.is-secondary:disabled{background:var(--jp-gray);color:var(--jp-gray-20)}.zI5tJ_qhWE6Oe6Lk75GY.is-secondary{background:var(--jp-white);box-shadow:inset 0 0 0 1.51px var(--jp-black)}.zI5tJ_qhWE6Oe6Lk75GY.is-secondary:active:not(:disabled),.zI5tJ_qhWE6Oe6Lk75GY.is-secondary:hover:not(:disabled){background:var(--jp-gray-0)}.zI5tJ_qhWE6Oe6Lk75GY.is-link.Na39I683LAaSA99REg14,.zI5tJ_qhWE6Oe6Lk75GY.is-link.ipS7tKy9GntCS4R3vekF{padding:0}.zI5tJ_qhWE6Oe6Lk75GY.is-link:hover:not(:disabled){text-decoration-thickness:3px}.zI5tJ_qhWE6Oe6Lk75GY.is-link:focus:not(:disabled){text-decoration-line:none}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-primary{box-shadow:none}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-primary:not(:disabled){background:var(--jp-red-50);box-shadow:inset 0 0 0 1px var(--jp-red-50);color:var(--jp-white)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-primary:hover:not(:disabled){background:var(--jp-red-60);box-shadow:inset 0 0 0 1px var(--jp-red-60)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-primary:focus:not(:disabled){background:var(--jp-red-70);box-shadow:inset 0 0 0 1px var(--jp-white),0 0 0 var(--wp-admin-border-width-focus) var(--jp-red-70);color:var(--jp-white)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-primary:active:not(:disabled){background:var(--jp-red-50)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-secondary{box-shadow:none}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-secondary:not(:disabled){background:var(--jp-white);box-shadow:inset 0 0 0 1.5px var(--jp-red-50);color:var(--jp-red-50)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-secondary:hover:not(:disabled){background:var(--jp-red-0);box-shadow:inset 0 0 0 1.5px var(--jp-red-60);color:var(--jp-red-60)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-secondary:focus:not(:disabled){box-shadow:inset 0 0 0 1px var(--jp-white),0 0 0 var(--wp-admin-border-width-focus) var(--jp-red-70);color:var(--jp-red-70)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-secondary:active:not(:disabled){background:var(--jp-gray-0)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-link:not(:disabled){color:var(--jp-red-50)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-link:hover:not(:disabled){box-shadow:none;color:var(--jp-red-60)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-link:focus:not(:disabled){box-shadow:inset 0 0 0 1px var(--jp-white),0 0 0 var(--wp-admin-border-width-focus) var(--jp-red-70);color:var(--jp-red-70)}.zI5tJ_qhWE6Oe6Lk75GY.q_tVWqMjl39RcY6WtQA6{position:relative}.zI5tJ_qhWE6Oe6Lk75GY.q_tVWqMjl39RcY6WtQA6.has-icon{justify-content:center}.zI5tJ_qhWE6Oe6Lk75GY.q_tVWqMjl39RcY6WtQA6>:not(.components-spinner){visibility:hidden}.zI5tJ_qhWE6Oe6Lk75GY.q_tVWqMjl39RcY6WtQA6>.components-spinner{margin:0;position:absolute}.CDuBjJp_8jxzx5j6Nept{margin-left:calc(var(--spacing-base)/2)}.O5Go3eBOBqWlXy7fX0su{align-items:start;display:flex;flex-direction:column;gap:1.5rem;padding-top:1rem;width:100%}.O5Go3eBOBqWlXy7fX0su>h3{margin-block:0}.fgQ4OdnJ1svMwDnOKu2H{align-items:center;display:flex}.fgQ4OdnJ1svMwDnOKu2H .components-spinner{margin-top:0}.fgQ4OdnJ1svMwDnOKu2H .ArQoWnNoP4okGpEbxF6b.components-external-link,.fgQ4OdnJ1svMwDnOKu2H span.ArQoWnNoP4okGpEbxF6b{color:inherit;font-size:1rem;font-weight:400;text-decoration:none}.fgQ4OdnJ1svMwDnOKu2H .ArQoWnNoP4okGpEbxF6b.components-external-link>svg,.fgQ4OdnJ1svMwDnOKu2H span.ArQoWnNoP4okGpEbxF6b>svg{vertical-align:bottom}.fgQ4OdnJ1svMwDnOKu2H .ArQoWnNoP4okGpEbxF6b.components-external-link span,.fgQ4OdnJ1svMwDnOKu2H span.ArQoWnNoP4okGpEbxF6b span{text-decoration:none}.fgQ4OdnJ1svMwDnOKu2H .ArQoWnNoP4okGpEbxF6b.components-external-link:hover{text-decoration:underline}.fgQ4OdnJ1svMwDnOKu2H span{text-decoration:none}.QsEfjoVyfc0gVACXTvUM span{font-size:15px}.eCH_xkiqbqL0UkJjU_1p{border-top:1px solid var(--jp-gray-5);display:flex;gap:.5rem;margin-bottom:1rem;padding-top:1rem}.J2Rz6Qb6mWPyJDF0yoqw.J2Rz6Qb6mWPyJDF0yoqw{border:0;margin-left:3rem}.J2Rz6Qb6mWPyJDF0yoqw.J2Rz6Qb6mWPyJDF0yoqw .components-panel__body{border-bottom:0;border-top:0;padding:0}.J2Rz6Qb6mWPyJDF0yoqw.J2Rz6Qb6mWPyJDF0yoqw .components-panel__body.is-opened{margin-top:1rem}.fXYYdRkn3LXtN9YH3354{border-radius:4px;margin:0;outline:1px solid var(--jp-gray-5);width:100%}.fXYYdRkn3LXtN9YH3354 [inert=true]{opacity:.7}.fXYYdRkn3LXtN9YH3354 .LaK9P7Nfi4ZBH0NhtbSs{margin-bottom:0;padding:1rem}.fXYYdRkn3LXtN9YH3354 .LaK9P7Nfi4ZBH0NhtbSs:not(:last-child){border-bottom:1px solid var(--jp-gray-5)}.fXYYdRkn3LXtN9YH3354 .tI3FtttoJPuF9AJzCAMv{align-items:center;display:flex;gap:1rem}.fXYYdRkn3LXtN9YH3354 .msoMjBB_4Uq5qpRgobsH{font-size:1rem;font-weight:400}.fXYYdRkn3LXtN9YH3354 .RjMLptH6v03AX5ABWBp3.components-button{font-size:14px;font-weight:500;line-height:20px;padding-inline:6px}.fXYYdRkn3LXtN9YH3354 .RjMLptH6v03AX5ABWBp3.components-button span{display:flex}.z5Do97zRnujyW3Oj0pPJ{display:flex;flex:1;flex-direction:column;gap:.5rem}.components-popover:not(.is-without-arrow):before{border-color:#dcdcde}.icon-tooltip-helper .components-popover:not([data-y-axis=middle])[data-x-axis=left] .components-popover__content{margin-right:-62px}.icon-tooltip-helper .components-popover:not([data-y-axis=middle])[data-x-axis=right] .components-popover__content{margin-left:-62px}.icon-tooltip-helper .components-popover[data-y-axis=bottom] .components-popover__content{top:2px!important}.icon-tooltip-helper .components-popover:not(.is-without-arrow)[data-y-axis=bottom]:before{top:-6px!important}.icon-tooltip-helper .components-popover:not(.is-without-arrow)[data-y-axis=bottom]:after{top:-4px!important}.icon-tooltip-helper .components-popover[data-y-axis=top] .components-popover__content{bottom:10px!important}.icon-tooltip-helper .components-popover:not(.is-without-arrow)[data-y-axis=top]:before{bottom:3px}.icon-tooltip-helper .components-popover:not(.is-without-arrow)[data-y-axis=top]:after{bottom:4px}.icon-tooltip-helper.is-wide .components-popover__content{width:440px}.icon-tooltip-wrapper{color:#000;display:inline-block;position:relative}.icon-tooltip-wrapper .components-button.is-link:focus:not(:disabled){box-shadow:none}.icon-tooltip-helper{height:18px;left:-53px;pointer-events:none;position:absolute;top:0;width:124px}.icon-tooltip-container{pointer-events:all}.icon-tooltip-container .components-popover__content{border:1px solid #dcdcde;border-radius:4px;margin:0 10px;max-width:90vw;outline:none;padding:24px;white-space:normal;width:304px}.icon-tooltip-title{font-size:16px;font-weight:600;line-height:19px}.icon-tooltip-title:not(:last-child){margin-bottom:8px}.icon-tooltip-content{font-size:14px;font-weight:400;line-height:24px}.icon-tooltip-content ul{list-style-type:disc;margin:0 0 0 1rem}.icon-tooltip-content ul li:last-child{margin-bottom:0}.gridicon{fill:currentColor;display:inline-block}.gridicon.needs-offset g{transform:translate(1px,1px)}.gridicon.needs-offset-x g{transform:translate(1px)}.gridicon.needs-offset-y g{transform:translateY(1px)}.WQVtrU6q0L1Igcj7wCrQ{margin:0;padding:0}.UujoBFTnQNY2cWU2SIsH{font-size:var(--font-headline-medium);font-weight:700;line-height:52px}.TeGO5V_thHw5lDAm1_2M{font-weight:700}.TeGO5V_thHw5lDAm1_2M,.WolQzb2MsSgiNmLtc7_j{font-size:var(--font-headline-small);line-height:40px}.WolQzb2MsSgiNmLtc7_j{font-weight:400}.hUB0JT8p1T2Hw28N6qC8{font-weight:500}.gKZWDv5chz3_O3Syp74H,.hUB0JT8p1T2Hw28N6qC8{font-size:var(--font-title-medium);line-height:32px}.gKZWDv5chz3_O3Syp74H{font-weight:600}.zY2No8Ga4b8shbOQGhnv{font-size:var(--font-title-small);font-weight:500;line-height:30px}.tIj0D1t8Cc892ikmgFPZ{font-size:var(--font-body);font-weight:400;line-height:24px}.KdcN0BnOaVeVhyLRKqhS{font-size:var(--font-body-small);font-weight:400;line-height:24px}.dso3Rh3tl3Xv1GumBktz{font-weight:400}.dso3Rh3tl3Xv1GumBktz,.mQ1UlbN9u4Mg9byO8m7v{font-size:var(--font-body-extra-small);line-height:20px}.mQ1UlbN9u4Mg9byO8m7v{font-weight:700}.PItlW5vRExLnTj4a8eLE{font-size:var(--font-body-extra-small);font-weight:600;line-height:16px}.TwRpPlktzxhmFVeua7P5{margin:calc(var( --spacing-base )*0)}.zVfqx7gyb3o9mxfGynn1{margin-left:calc(var( --spacing-base )*0);margin-right:calc(var( --spacing-base )*0)}.iSHVzNiB9iVleGljaQxy{margin-bottom:calc(var( --spacing-base )*0)}.iSHVzNiB9iVleGljaQxy,.xqDIp6cNVr_E6RXaiPyD{margin-top:calc(var( --spacing-base )*0)}.S8EwaXk1kyPizt6x4WH2{margin-right:calc(var( --spacing-base )*0)}.ODX5Vr1TARoLFkDDFooD{margin-bottom:calc(var( --spacing-base )*0)}.cphJ8dCpfimnky7P2FHg{margin-left:calc(var( --spacing-base )*0)}.PFgIhNxIyiSuNvQjAIYj{margin:calc(var( --spacing-base )*1)}.M2jKmUzDxvJjjVEPU3zn{margin-left:calc(var( --spacing-base )*1);margin-right:calc(var( --spacing-base )*1)}.io15gAh8tMTNbSEfwJKk{margin-bottom:calc(var( --spacing-base )*1)}.io15gAh8tMTNbSEfwJKk,.rcTN5uw9xIEeMEGL3Xi_{margin-top:calc(var( --spacing-base )*1)}.CQSkybjq2TcRM1Xo9COV{margin-right:calc(var( --spacing-base )*1)}.hfqOWgq6_MEGdFE82eOY{margin-bottom:calc(var( --spacing-base )*1)}.I8MxZQYTbuu595yfesWA{margin-left:calc(var( --spacing-base )*1)}.kQkc6rmdpvLKPkyoJtVQ{margin:calc(var( --spacing-base )*2)}.j6vFPxWuu4Jan2ldoxpp{margin-left:calc(var( --spacing-base )*2);margin-right:calc(var( --spacing-base )*2)}.hqr39dC4H_AbactPAkCG{margin-bottom:calc(var( --spacing-base )*2)}.c3dQnMi16C6J6Ecy4283,.hqr39dC4H_AbactPAkCG{margin-top:calc(var( --spacing-base )*2)}.YNZmHOuRo6hU7zzKfPdP{margin-right:calc(var( --spacing-base )*2)}.Db8lbak1_wunpPk8NwKU{margin-bottom:calc(var( --spacing-base )*2)}.ftsYE5J9hLzquQ0tA5dY{margin-left:calc(var( --spacing-base )*2)}.Det4MHzLUW7EeDnafPzq{margin:calc(var( --spacing-base )*3)}.h_8EEAztC29Vve1datb5{margin-left:calc(var( --spacing-base )*3);margin-right:calc(var( --spacing-base )*3)}.YXIXJ0h1k47u6hzK8KcM{margin-bottom:calc(var( --spacing-base )*3)}.YXIXJ0h1k47u6hzK8KcM,.soADBBkcIKCBXzCTuV9_{margin-top:calc(var( --spacing-base )*3)}.zSX59ziEaEWGjnpZa4uV{margin-right:calc(var( --spacing-base )*3)}.yrVTnq_WBMbejg89c2ZQ{margin-bottom:calc(var( --spacing-base )*3)}.UKtHPJnI2cXBWtPDm5hM{margin-left:calc(var( --spacing-base )*3)}.guexok_Tqd5Tf52hRlbT{margin:calc(var( --spacing-base )*4)}.oS1E2KfTBZkJ3F0tN7T6{margin-left:calc(var( --spacing-base )*4);margin-right:calc(var( --spacing-base )*4)}.DN1OhhXi6AoBgEdDSbGd{margin-bottom:calc(var( --spacing-base )*4)}.DN1OhhXi6AoBgEdDSbGd,.ot2kkMcYHv53hLZ4LSn0{margin-top:calc(var( --spacing-base )*4)}.A1krOZZhlQ6Sp8Cy4bly{margin-right:calc(var( --spacing-base )*4)}.pkDbXXXL32237M0hokEh{margin-bottom:calc(var( --spacing-base )*4)}.XXv4kDTGvEnQeuGKOPU3{margin-left:calc(var( --spacing-base )*4)}.yGqHk1a57gaISwkXwXe6{margin:calc(var( --spacing-base )*5)}.X8cghM358X3DkXLc9aNK{margin-left:calc(var( --spacing-base )*5);margin-right:calc(var( --spacing-base )*5)}.GdfSmGwHlFnN2S6xBn1f{margin-bottom:calc(var( --spacing-base )*5)}.GdfSmGwHlFnN2S6xBn1f,.yqeuzwyGQ7zG0avrGqi_{margin-top:calc(var( --spacing-base )*5)}.g9emeCkuHvYhveiJbfXO{margin-right:calc(var( --spacing-base )*5)}.Lvk3dqcyHbZ07QCRlrUQ{margin-bottom:calc(var( --spacing-base )*5)}.r3yQECDQ9qX0XZzXlVAg{margin-left:calc(var( --spacing-base )*5)}.aQhlPwht2Cz1X_63Miw0{margin:calc(var( --spacing-base )*6)}.JyHb0vK3wJgpblL9s5j8{margin-left:calc(var( --spacing-base )*6);margin-right:calc(var( --spacing-base )*6)}.cY2gULL1lAv6WPNIRuf3{margin-bottom:calc(var( --spacing-base )*6)}.NBWQ9Lwhh_fnry3lg_p7,.cY2gULL1lAv6WPNIRuf3{margin-top:calc(var( --spacing-base )*6)}.yIOniNe5E40C8fWvBm5V{margin-right:calc(var( --spacing-base )*6)}.t30usboNSyqfQWIwHvT3{margin-bottom:calc(var( --spacing-base )*6)}.Nm_TyFkYCMhOoghoToKJ{margin-left:calc(var( --spacing-base )*6)}.C4qJKoBXpgKtpmrqtEKB{margin:calc(var( --spacing-base )*7)}.S93Srbu6NQ_PBr7DmTiD{margin-left:calc(var( --spacing-base )*7);margin-right:calc(var( --spacing-base )*7)}.fJj8k6gGJDks3crUZxOS{margin-bottom:calc(var( --spacing-base )*7)}.cW6D6djs7Ppm7fD7TeoV,.fJj8k6gGJDks3crUZxOS{margin-top:calc(var( --spacing-base )*7)}.DuCnqNfcxcP3Z__Yo5Ro{margin-right:calc(var( --spacing-base )*7)}.im8407m2fw5vOg7O2zsw{margin-bottom:calc(var( --spacing-base )*7)}.G0fbeBgvz2sh3uTP9gNl{margin-left:calc(var( --spacing-base )*7)}.kvW3sBCxRxUqz1jrVMJl{margin:calc(var( --spacing-base )*8)}.tOjEqjLONQdkiYx_XRnw{margin-left:calc(var( --spacing-base )*8);margin-right:calc(var( --spacing-base )*8)}.op5hFSx318zgxsoZZNLN{margin-bottom:calc(var( --spacing-base )*8)}.c9WfNHP6TFKWIfLxv52J,.op5hFSx318zgxsoZZNLN{margin-top:calc(var( --spacing-base )*8)}.sBA75QqcqRwwYSHJh2wc{margin-right:calc(var( --spacing-base )*8)}.GpL6idrXmSOM6jB8Ohsf{margin-bottom:calc(var( --spacing-base )*8)}.HbtWJoQwpgGycz8dGzeT{margin-left:calc(var( --spacing-base )*8)}.uxX3khU88VQ_Ah49Ejsa{padding:calc(var( --spacing-base )*0)}.KX0FhpBKwKzs9fOUdbNz{padding-left:calc(var( --spacing-base )*0);padding-right:calc(var( --spacing-base )*0)}.PfK8vKDyN32dnimlzYjz{padding-bottom:calc(var( --spacing-base )*0)}.PfK8vKDyN32dnimlzYjz,.emxLHRjQuJsImnPbQIzE{padding-top:calc(var( --spacing-base )*0)}.kJ8WzlpTVgdViXt8ukP9{padding-right:calc(var( --spacing-base )*0)}.tg_UIUI11VBzrTAn2AzJ{padding-bottom:calc(var( --spacing-base )*0)}.uczvl8kaz84oPQJ2DB2R{padding-left:calc(var( --spacing-base )*0)}.o7UHPcdVK3lt7q3lqV4o{padding:calc(var( --spacing-base )*1)}.IDqEOxvDoYrFYxELPmtX{padding-left:calc(var( --spacing-base )*1);padding-right:calc(var( --spacing-base )*1)}.DdywPW2qSYlu2pt8tpO2{padding-bottom:calc(var( --spacing-base )*1)}.DdywPW2qSYlu2pt8tpO2,.npy3hw4A5QSkDicb2CJJ{padding-top:calc(var( --spacing-base )*1)}.LgbptTApNY5NwLQvEFAt{padding-right:calc(var( --spacing-base )*1)}.WZQy2SZuZso59bUsXXyl{padding-bottom:calc(var( --spacing-base )*1)}.o331apInxNunbYB3SfPE{padding-left:calc(var( --spacing-base )*1)}.fMPIyD9Vqki1Lrc_yJnG{padding:calc(var( --spacing-base )*2)}.i2pMcTcdrr10IQoiSm_L{padding-left:calc(var( --spacing-base )*2);padding-right:calc(var( --spacing-base )*2)}.eA702gn32kwptiI1obXH{padding-bottom:calc(var( --spacing-base )*2)}.eA702gn32kwptiI1obXH,.o9bGieUKcYc8o0Ij9oZX{padding-top:calc(var( --spacing-base )*2)}.SwZcFez1RDqWsOFjB5iG{padding-right:calc(var( --spacing-base )*2)}.eHpLc_idmuEqeqCTvqkN{padding-bottom:calc(var( --spacing-base )*2)}.vU39i2B4P1fUTMB2l6Vo{padding-left:calc(var( --spacing-base )*2)}.JHWNzBnE29awhdu5BEh1{padding:calc(var( --spacing-base )*3)}.X72lGbb56L3KFzC2xQ9N{padding-left:calc(var( --spacing-base )*3);padding-right:calc(var( --spacing-base )*3)}.BzfNhRG8wXdCEB5ocQ6e{padding-bottom:calc(var( --spacing-base )*3)}.BzfNhRG8wXdCEB5ocQ6e,.srV0KSDC83a2fiimSMMQ{padding-top:calc(var( --spacing-base )*3)}.lUWfkmbQjCskhcNwkyCm{padding-right:calc(var( --spacing-base )*3)}.Ts0dIlc3aTSL7V4cIHis{padding-bottom:calc(var( --spacing-base )*3)}.CzlqQXXhX6MvorArFZ8B{padding-left:calc(var( --spacing-base )*3)}.TqMPkQtR_DdZuKb5vBoV{padding:calc(var( --spacing-base )*4)}.a7UrjhI69Vetlcj9ZVzz{padding-left:calc(var( --spacing-base )*4);padding-right:calc(var( --spacing-base )*4)}.StEhBzGs2Gi5dDEkjhAv{padding-bottom:calc(var( --spacing-base )*4)}.FGneZfZyvYrt1dG0zcnm,.StEhBzGs2Gi5dDEkjhAv{padding-top:calc(var( --spacing-base )*4)}.APEH216rpdlJWgD2fHc8{padding-right:calc(var( --spacing-base )*4)}.oGwXC3ohCic9XnAj6x69{padding-bottom:calc(var( --spacing-base )*4)}.U6gnT9y42ViPNOcNzBwb{padding-left:calc(var( --spacing-base )*4)}.IpdRLBwnHqbqFrixgbYC{padding:calc(var( --spacing-base )*5)}.HgNeXvkBa9o3bQ5fvFZm{padding-left:calc(var( --spacing-base )*5);padding-right:calc(var( --spacing-base )*5)}.tJtFZM3XfPG9v9TSDfN1{padding-bottom:calc(var( --spacing-base )*5)}.PdifHW45QeXYfK568uD8,.tJtFZM3XfPG9v9TSDfN1{padding-top:calc(var( --spacing-base )*5)}.mbLkWTTZ0Za_BBbFZ5b2{padding-right:calc(var( --spacing-base )*5)}.vVWpZpLlWrkTt0hMk8XU{padding-bottom:calc(var( --spacing-base )*5)}.RxfaJj5a1Nt6IavEo5Zl{padding-left:calc(var( --spacing-base )*5)}.SppJULDGdnOGcjZNCYBy{padding:calc(var( --spacing-base )*6)}.palY2nLwdoyooPUm9Hhk{padding-left:calc(var( --spacing-base )*6);padding-right:calc(var( --spacing-base )*6)}.WYw1JvZC0ppLdvSAPhr_{padding-bottom:calc(var( --spacing-base )*6)}.WYw1JvZC0ppLdvSAPhr_,.YEEJ9b90ueQaPfiU8aeN{padding-top:calc(var( --spacing-base )*6)}.QE0ssnsKvWJMqlhPbY5u{padding-right:calc(var( --spacing-base )*6)}.n8yA3jHlMRyLd5UIfoND{padding-bottom:calc(var( --spacing-base )*6)}.tXHmxYnHzbwtfxEaG51n{padding-left:calc(var( --spacing-base )*6)}.kBTsPKkO_3g_tLkj77Um{padding:calc(var( --spacing-base )*7)}.RyhrFx6Y1FGDrGAAyaxm{padding-left:calc(var( --spacing-base )*7);padding-right:calc(var( --spacing-base )*7)}.CBwRpB0bDN3iEdQPPMJO{padding-bottom:calc(var( --spacing-base )*7)}.CBwRpB0bDN3iEdQPPMJO,.vQVSq6SvWKbOMu6r4H6b{padding-top:calc(var( --spacing-base )*7)}.oBy5__aEADMsH46mrgFX{padding-right:calc(var( --spacing-base )*7)}.KVEXoJqf1s92j0JMdNmN{padding-bottom:calc(var( --spacing-base )*7)}.ZMXGNrNaKW3k_3TLz0Fq{padding-left:calc(var( --spacing-base )*7)}.tuiR9PhkHXhGyEgzRZRI{padding:calc(var( --spacing-base )*8)}.U7454qyWkQNa2iaSJziu{padding-left:calc(var( --spacing-base )*8);padding-right:calc(var( --spacing-base )*8)}.VLYIv2GVocjuN93e8HC8{padding-bottom:calc(var( --spacing-base )*8)}.VLYIv2GVocjuN93e8HC8,.X1rm9DQ1zLGLfogja5Gn{padding-top:calc(var( --spacing-base )*8)}.JS7G6kAuqJo5GIuF8S5t{padding-right:calc(var( --spacing-base )*8)}.Y8F9ga1TDCMbM1lj4gUz{padding-bottom:calc(var( --spacing-base )*8)}.AJuyNGrI63BOWql719H8{padding-left:calc(var( --spacing-base )*8)}.demNsMJjhi7BLY7xhjU5{align-items:center;display:flex;font-size:var(--font-body);line-height:calc(var(--spacing-base)*3);margin:calc(var(--spacing-base)*2) 0;min-height:calc(var(--spacing-base)*3)}.QiUjdjJSkqh6nH7YMG5A{align-self:flex-start;height:calc(var(--spacing-base)*3);margin-right:calc(var(--spacing-base)/2);width:calc(var(--spacing-base)*3)}.Q080AHcq29J2fc68Hhk5{color:var(--jp-red)}.Q080AHcq29J2fc68Hhk5 .hYWbIwhppukXmGnsiT9H{fill:var(--jp-red)}.JjHuxWly0HI9C60gorbq{color:var(--jp-yellow-40)}.JjHuxWly0HI9C60gorbq .hYWbIwhppukXmGnsiT9H{fill:var(--jp-yellow-40)}.Cm8ZFHi3mngl4cj9Gatx{color:var(--jp-blue-40)}.Cm8ZFHi3mngl4cj9Gatx .hYWbIwhppukXmGnsiT9H{fill:var(--jp-blue-40)}.ytGBsU015p3LGwOPwFDx{color:var(--jp-green)}.ytGBsU015p3LGwOPwFDx .hYWbIwhppukXmGnsiT9H{fill:var(--jp-green)}.udAWaza1u34TkmZZUPq4 .JsO4jFxFAKjG6Go62bZF{font-size:1rem}.udAWaza1u34TkmZZUPq4 .SeoSfJ6eII9O0PiDkl5g{display:flex;flex-direction:column;gap:2rem;margin-top:2rem}.udAWaza1u34TkmZZUPq4 .SeoSfJ6eII9O0PiDkl5g .M6POQFFbhswwolN6D9VN{display:flex;flex-direction:column;gap:1rem}.udAWaza1u34TkmZZUPq4 .SeoSfJ6eII9O0PiDkl5g .Sk_WQxS97yTokR_rM3Ci{flex-shrink:0}.udAWaza1u34TkmZZUPq4 .SeoSfJ6eII9O0PiDkl5g .CRjatFVv3dQMjG9_Vmjj{align-items:center;display:flex;gap:.5rem}.udAWaza1u34TkmZZUPq4 .re3HrL6GJa59uqDgx771{align-items:center;display:flex;gap:1rem;justify-content:end;margin-top:3rem}.udAWaza1u34TkmZZUPq4 .jPB4ApiYyEswu6AKKJqk{height:2rem;width:2rem}.udAWaza1u34TkmZZUPq4 .JhIphWt8e2X_ee0l7KEZ{align-items:center;display:flex;font-size:1rem;gap:.5rem}.Mu_jAq5ZcYDM1kmBbxcs.Mu_jAq5ZcYDM1kmBbxcs{width:65rem}.foAsC5GlXOWEzACnxT_P{display:grid;gap:.5rem}.foAsC5GlXOWEzACnxT_P>input{height:100%;width:18rem}.foAsC5GlXOWEzACnxT_P:not(._7PKKGx44v2H9dJbUltFw){grid-auto-flow:column}.IGOk1gMf5SKkfOKyF7Xc{padding-block:2rem}.VHYulMcpzbr10HWR0iSE{align-items:flex-start;border:1px solid var(--jp-black);border-color:var(--jp-gray-5);border-left-width:6px;border-radius:4px;display:flex;font-size:var(--font-body);padding:24px 31px 27px 18px}.FGpSkMCiIHQjszcV0dbn{margin-right:20px}.FGpSkMCiIHQjszcV0dbn,.KoWZcCwhW13xvkEb0QON{height:calc(var(--spacing-base)*3);width:calc(var(--spacing-base)*3)}.KoWZcCwhW13xvkEb0QON{background-color:#0000;border:none;cursor:pointer;outline:none}@media screen and (max-width:600px){.VHYulMcpzbr10HWR0iSE{box-shadow:0 4px 8px #00000008,0 1px 2px #0000000f;padding-top:68px;position:relative}.FGpSkMCiIHQjszcV0dbn{left:24px;position:absolute;top:24px}.KoWZcCwhW13xvkEb0QON{position:absolute;right:24px;top:24px}}.smrfczkC53EaFM8OJUXs{flex-grow:1}.IKYRWoPwt9xOVEx1wzNS{font-weight:600;margin-bottom:8px}.qM0qY6mPYp1MPN54A3Kg{align-items:center;display:flex;margin-top:20px}.qM0qY6mPYp1MPN54A3Kg a,.qM0qY6mPYp1MPN54A3Kg a:active,.qM0qY6mPYp1MPN54A3Kg a:focus,.qM0qY6mPYp1MPN54A3Kg a:hover{color:var(--jp-black)}.qM0qY6mPYp1MPN54A3Kg>*{margin-right:24px}.A5YkDkkXuiYgavrY6Nux{border-left-color:var(--jp-red)}.A5YkDkkXuiYgavrY6Nux .y_IPyP1wIAOhyNaqvXJq{fill:var(--jp-red)}.cT5rwuPMZzWvi5o6shMl{border-left-color:var(--jp-yellow-20)}.cT5rwuPMZzWvi5o6shMl .y_IPyP1wIAOhyNaqvXJq{fill:var(--jp-yellow-20)}.yo0O3uvNomPsYUXFCpAS{border-left-color:var(--black)}.yo0O3uvNomPsYUXFCpAS .y_IPyP1wIAOhyNaqvXJq{fill:var(--black)}.oZdDFf1jBLkzn5ICCC6x{border-left-color:var(--jp-green)}.oZdDFf1jBLkzn5ICCC6x .y_IPyP1wIAOhyNaqvXJq{fill:var(--jp-green)}.facebook-preview__post{background-color:#fff;border-radius:4px;box-shadow:0 1px 2px #0003,0 -1px 0 #0000000d;display:flex;flex-direction:column;font-family:system-ui,-apple-system,BlinkMacSystemFont,\.SFNSText-Regular,sans-serif;margin-inline:auto;max-width:clamp(508px,100%,680px);overflow-y:hidden}.facebook-preview__post :-moz-any-link{color:#216fdb;text-decoration:none}.facebook-preview__post :any-link{color:#216fdb;text-decoration:none}.facebook-preview__custom-text{color:#050505;font-size:.9375rem;line-height:1.33;margin:0;padding:0 1rem 1rem;word-break:break-word}.facebook-preview__custom-text-post-url{display:block;margin-top:.5rem}.facebook-preview__body{border-bottom:1px solid #d4d0d4;border-top:1px solid #d4d0d4;display:flex;flex-direction:column}.facebook-preview__body.is-loading{visibility:hidden}.facebook-preview__body.is-portrait{flex-direction:row}.facebook-preview__text{align-items:center;background-color:#f0f2f5;color:#050505;display:flex;flex:1;padding:.5rem 1rem;position:relative;word-break:break-word}.facebook-preview__text-wrapper{width:100%}.facebook-preview__url{color:#65676b;font-size:.8125rem;line-height:1;margin-bottom:.25rem;text-transform:uppercase}.facebook-preview__title{font-size:.9444rem;font-weight:600;line-height:1.18;margin:.25rem 0 .125rem}.facebook-preview__description{color:#65676b;font-size:.9375rem;line-height:1.33}.facebook-preview__body.is-landscape .facebook-preview__description.is-compact{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.facebook-preview__custom-image img,.facebook-preview__custom-image video,.facebook-preview__image img,.facebook-preview__image video,.facebook-preview__media-item img,.facebook-preview__media-item video{display:block;-o-object-fit:cover;object-fit:cover;width:100%}.facebook-preview__image.is-empty{border-inline-end:1px solid #d4d0d4;height:140px;width:140px}.facebook-preview__image.is-portrait img{height:430px;width:278px}.facebook-preview__image.is-landscape img{aspect-ratio:1.91;width:100%}.facebook-preview__custom-image,.facebook-preview__media-item{background-color:#121212;display:flex;justify-content:center;width:100%}.facebook-preview__custom-image.is-portrait img,.facebook-preview__media-item.is-portrait img{height:685px;width:500px}.facebook-preview__custom-image.is-landscape img,.facebook-preview__media-item.is-landscape img{aspect-ratio:1.78;width:100%}.facebook-preview__info{align-items:center;background-color:#fff;border:1px solid #d4d0d4;border-radius:50%;display:flex;height:30px;justify-content:center;position:absolute;right:15px;top:-10px;width:30px}.facebook-preview__info i{filter:invert(8%)}.facebook-preview__window{border:1px solid #d4d0d4;border-radius:16px;margin:0 .75rem}.facebook-preview__window .facebook-preview__custom-image,.facebook-preview__window .facebook-preview__custom-image img,.facebook-preview__window .facebook-preview__image,.facebook-preview__window .facebook-preview__image img{border-top-left-radius:inherit;border-top-right-radius:inherit}.facebook-preview__post-header{align-items:center;box-sizing:border-box;display:flex;justify-content:space-between;min-height:60px;padding:.75rem 1rem .5rem;width:100%}.facebook-preview__post-header-content{display:flex;gap:.5rem}.facebook-preview__post-header-avatar{background-color:#caccd1;border:1px solid #e5e5e5;border-radius:50%;height:40px;width:40px}.facebook-preview__post-header-name{color:#050505;font-size:.9375rem;font-weight:600;line-height:1.33}.facebook-preview__post-header-share{align-items:center;color:#65676b;display:flex}.facebook-preview__post-header-time{font-size:.8125rem;line-height:1.23}.facebook-preview__post-header-dot{text-align:center;width:.625rem}.facebook-preview__post-header-more{background-image:radial-gradient(circle at .125rem .125rem,#65676b 2px,#0000 0);background-size:.5rem .25rem;height:.25rem;margin:0 .625rem 0 0;width:1.25rem}.facebook-preview__post-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJIAAAAkCAYAAABi6GPmAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAfySURBVHgB7Vx/iFVFFP6SCAmTCAuRisVqkTCTMouIEJEQBAkREcEIEYnWQqIsIor+EBGJRSQwlhAMWUxMQlqRRfxDthCRsBBdRDaR2kosWgmxddfm887Vc+fNzJ15b+6+92A/OLC8mTlz79zvnl8zd4HG0alkr5ILSv5WMqBkg5K7MYmJxMNKepUMa+nVv4WO7VLSp2RQyVUtg/q3rghddWGlkn+V3LTIQKLJn1TSreQMspu7mUiuap3deo4qsVbJRSX7ldyP9OA6X0HtPV6B/xnMUtKj5AbK1+uG7jsLiTEF9ouXcl7JNNQHWrSdSsaQjjwuGdNzVWVFL4u5Til5AGnRC/e99TrGLFcyovv8p+RrJWuQeZhpWjr1b38pGdd9R/TYZHgIRebPVTJDyWYl10Xbl4gHH2g/qieQKf2ohkzmPD8iLZmG4b6nYUv/t3DnBf1GyWMl+gcMnSTV20iEmULxJaPtVdE2ivhF24nihR9H9hakNKuztM7jxlw7kR62B3wa2YuXAjFE4j2PaXmvXDVes+gc15LEMs0Qii9b2o+J9g0IB+MV6c62InOjVWGKnkO6udQxk+lG879/RmbZG0Woa+PLk7uz90t03qXkK/gt+AgSvNzThMKrlvZNon0HwtGNoiWqkkQ5pqBombqRFnLxGXNIMjHgb5RMocF2j/79XIDOJxAWDvSgQdyLovsyId3bAYTjjBiXNKgrwXIUH25KyIUnVqNIprPIQoVGUJb+829mXnRJXQH67lHyC/wkGtc6G8rO1wuFg5b2ZaL9MMIhU/zkqaYHs+C3sI3AJBLB0skoimtY5f12ibmesbSvQlai+ELJ88gC8KMIs0obUSfoCgaFoncsfdaJ9j0Ih23RJwpVze3SuwJFMrFcUlXhr0/Ms9bSThc1jjDimNKHOiHdFqvZtlrRNsekXDgG5yeUbEdWq5BodyLNUfImsuIjXZZZsDXBtZRk4g7BoyVzMAtmgpAXaf9Btp6MS10x5TkUPYSrzPE4yl2aKYOoEyeEkq2OPociLmSbGNeOROLDo2s4Bf99jjrGMwyQtbchJR2OvvNRLHCachBZfGNixNKvwzHHEWTkJPlYW/sN/vuqKxR4WSi4BnfG8QPiWL1Fj2s3Ii1CZkXK7o9E2erRY5KJ8UqHpV/+gvJBjzrmsrmuEUdfehQahqfgxn1KfkIJkWhG+42bsC1Cv+57WPy+C/WB5OPCnUTxbZ2J9iESrVA3ateKroxuje5tnpLpCMcryF7OXBcLvbONPlyj+fpvuiEbmfotus/BT/T98IPu9BNkBDbH3nJtMVsR0sqM6RtpBHwY0k0uR3sQia7jgNGfNZuP0PjWxxIUyfQr/Otsqx/Zyhd98D/b0JLH06gl761g+zrCiRTD4FDIoHwz2oNIB42+3yJNhTrHYhSDdJKp09JvHuzPZsjStwv+53kR4bhkjL1VlwpZPNvEC5AGu4XO9Wh9In1o9NuGarAIRTIdt/RxeZMBS19ZkLSN4e+zUY5HjDG3C5KxRGJgtQZpwLdYmuZ1aG0ivYBiRXo7qgP3Ms+KuS4Y7WYYIOUzh84e+K3S90oehB8bjTG3t0hiidSJdOA2y16h23zDJhplc8sY8Riq2wdkQC23ikje1UYfWRA25UWHXrlp65I/kRWQmflNteiQMW1h0zaWSKkxW+j+o+K5yuCbe6VoYzBcVQWaes+jSCIznZclGFPOlujPj5GEVLEPGWOfxR2XVnOMpNlEksdRzNRyouGbW54OqCou6kAWKOfzMDtaZem3A+6HvwzlkAfbyuQ5PYZ7b7/jDpFqDrY1m0gyLqLraMVN207RxizXl+IvVPKxkn3IzhsNa320Yls845jiXzLmcZ1+cBV7+xEOedTWZ51YN+Qx3Dzldx61bRaRuNfDN1uWH1iHacVjJFtEm63swQP9nyJL031v93XYwf05ecqRpFsKN4Yc+uchDkkP/zeLSISsDHNxpqI1D7bJANN0HdwotVV7XWKCD1/unTHlXww/zlj0Xkb9SPI5UjOJtAK1b3qrHbWdLq6H5j0/6cDSxRHUPlAmDHxzGSAvQPEjCXP9eC5Ilj/48F5COWz1I15bXgHnFkqjB+Wi0UwiyaBR7tu10uH/paLtpP7NzKwozJYYGNtIb1s/1qSkJePm6UKEYS3s1m5U6DyECUYziMRg9V0U46Mlor3scySOcwWujFf4CdQ1hLubXGyfI8mz5yRZB4oxypi+Fp/VNNeP6btMKmiV5iMc3Oszt2lMNxejLwmaQaR9hs4Tlj5lH0jaAlfGL75Pc1zi+0Dyc9HPTAauISzdlnPxhZFbH3SFcxEPEpck59rRCuVfDtNNp/4AMwjNINLrQh9L/74b932ynYNWaA/iyBP6ybaMg2TBlCRagjCYL0D+t2szti0RSyTWRpaiMewS+mI//TGv12aFhhFmKUJwGnYirorQYRvP3faQTdK2QSyRcmGWxQxjKsJAU8yDcR+geJ6lLNX1XYvNCvG3lP+oYcgyR2xl2xwfci677VAvkVLIUTR2vVVZIQnzfDRjkthyhEzxq/7sqGmIJRIzohT/IYRl/nq+fbfpSm2FJGRcxvhmDuLxBrL0nllhygNwLYWYE5J5psQAkXEO44fRwLHsx7iAi8k6SL3/9UOm9VVZIYnvxHybMAknYs5sx2wKVgXuafHt3o3qrJAEK9ncLa+asG2P2K9IJjGJGvwP+tnxKdafpLoAAAAASUVORK5CYII=);background-repeat:no-repeat;background-size:73px 18px;display:inline-block;filter:invert(40%)}.facebook-preview__post-icon-like{background-position:0 0;height:18px;width:18px}.facebook-preview__post-icon-comment{background-position:-18px 0;height:18px;width:18px}.facebook-preview__post-icon-share{background-position:-36px 0;height:18px;width:18px}.facebook-preview__post-icon-info{background-position:-54px 0;height:14px;width:7px}.facebook-preview__post-icon-public{background-position:-61px 0;height:12px;width:12px}.facebook-preview__post-actions{align-items:center;color:#65676b;display:flex;font-size:.9375rem;font-weight:600;height:2.625rem;justify-content:space-around;line-height:1.33;list-style-type:none;margin:0;padding:0;width:100%}.facebook-preview__post-actions>li{align-items:center;display:flex;gap:.5rem;margin:0}.instagram-preview__wrapper{background-color:#fff;margin-inline:auto;max-width:clamp(200px,100%,555px);padding:20px}.instagram-preview__section .instagram-preview__wrapper{padding:0}.instagram-preview__section.social-preview__section{width:clamp(200px,100%,555px)}.instagram-preview__container{box-shadow:0 0 0 1px #00000014;overflow:hidden}.instagram-preview__header{display:flex;gap:.5rem;padding:.5rem 1rem}.instagram-preview__header--avatar{align-items:center;display:flex;max-height:32px;max-width:32px}.instagram-preview__header--avatar img{border-radius:50%;height:100%;width:100%}.instagram-preview__header--profile{align-items:center;display:flex;flex-grow:1;justify-content:space-between}.instagram-preview__header--profile-name{font-weight:700}.instagram-preview__media{display:flex}.instagram-preview__media--image,.instagram-preview__media--video{-o-object-fit:cover;object-fit:cover;width:100%}.instagram-preview__media-item{flex-grow:1}.instagram-preview__content{display:flex;flex-direction:column;gap:.5rem;padding:.5rem 1rem}.instagram-preview__content a{color:#00376b;text-decoration:none}.instagram-preview__content--actions{display:flex;justify-content:space-between}.instagram-preview__content--actions-primary{align-items:center;display:flex;gap:1rem}.instagram-preview__content--name{display:inline;font-weight:600}.instagram-preview__content--text{display:inline}.instagram-preview__content--footer{color:#737373;font-weight:400}.linkedin-preview__wrapper{background-color:#fff;margin-inline:auto;max-width:clamp(200px,100%,555px);padding:20px}.linkedin-preview__section .linkedin-preview__wrapper{padding:0}.linkedin-preview__section.social-preview__section{width:clamp(200px,100%,555px)}.linkedin-preview__container{border-radius:8px;box-shadow:0 0 0 1px #00000014;overflow:hidden}.linkedin-preview__container.has-media{border-end-end-radius:0;border-end-start-radius:0}.linkedin-preview__header{display:flex;gap:.5rem;margin-bottom:.8rem;padding:.8rem 1rem 0}.linkedin-preview__header--avatar{align-items:center;border-radius:50%;display:flex;flex-shrink:0;height:48px;overflow:hidden;width:48px}.linkedin-preview__header--avatar img{-o-object-fit:contain;object-fit:contain;width:100%}.linkedin-preview__header--profile{display:flex;flex-direction:column;overflow:hidden}.linkedin-preview__header--profile-title{font-size:.75rem}.linkedin-preview__header--profile-info{display:flex;gap:.25rem}.linkedin-preview__header--profile-name{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.linkedin-preview__header--profile-meta{align-items:center;display:flex;gap:.25rem}.linkedin-preview__caption{font-size:.875rem;font-weight:400;line-height:20px;margin:0 1rem}.linkedin-preview__content article,.linkedin-preview__media{background-color:#eef3f8;display:flex;flex-direction:column;margin-top:.5rem}.linkedin-preview__media-item{display:flex}.linkedin-preview__media-item img,.linkedin-preview__media-item video{-o-object-fit:cover;object-fit:cover;width:100%}.linkedin-preview__description{padding:.5rem .75rem}.linkedin-preview__description--title{font-size:.875rem;font-weight:600;margin:0}.linkedin-preview__description--meta{color:#0009;display:flex;font-size:.875rem;font-weight:400;gap:.25rem;margin-top:.5rem}.linkedin-preview__image{-o-object-fit:cover;object-fit:cover;width:100%}.mastodon-preview__section{margin-inline:auto;max-width:100%;width:578px}.mastodon-preview__post{background-color:#fff;border:1px solid #c0cdd9;box-sizing:border-box;color:#444b5d;font-family:"mastodon-font-sans-serif",sans-serif;font-size:.9375rem;line-height:1.47;overflow-y:hidden;padding:1rem;width:100%}.mastodon-preview__post :-moz-any-link{color:#3a3bff;text-decoration:none}.mastodon-preview__post :any-link{color:#3a3bff;text-decoration:none}.mastodon-preview__img{aspect-ratio:16/9;border-radius:4px;display:block;margin:.875rem auto 0;-o-object-fit:cover;object-fit:cover;width:100%}.mastodon-preview__media{border-radius:8px;margin-top:8px;min-height:64px}.mastodon-preview__media.as-grid{display:grid;gap:2px;grid-template-columns:50% 50%;overflow:hidden;width:100%}.mastodon-preview__media-item{border:0;border-radius:8px;display:flex;overflow:hidden}.mastodon-preview__media-item img,.mastodon-preview__media-item video{-o-object-fit:cover;object-fit:cover;width:100%}.mastodon-preview__post-header{align-items:start;display:flex;font-size:.9375rem;justify-content:space-between;line-height:1.47;margin-bottom:.625rem}.mastodon-preview__post-avatar{border-radius:4px;height:46px;width:46px}.mastodon-preview__post-header-user{align-items:center;display:flex;gap:.75rem}.mastodon-preview__post-header-displayname{color:#000;font-weight:700}.mastodon-preview__post-header-audience{align-items:center;display:flex;gap:.25rem}.mastodon-preview__body{color:#000;margin-bottom:1rem}.mastodon-preview__body>p{margin-bottom:1.25rem}.mastodon-preview__card{border:1px solid #d9e1e8;border-radius:8px;color:#000;display:flex;margin-bottom:1rem;margin-top:1rem;overflow:hidden}.mastodon-preview__card.has-image{flex-direction:column}.mastodon-preview__card.has-image .mastodon-preview__card-img{width:100%}.mastodon-preview__card-img{min-height:60px}.mastodon-preview__card-img img{border-end-start-radius:inherit;border-start-start-radius:inherit;display:block;min-height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.mastodon-preview__card-img--fallback{align-items:center;aspect-ratio:1;background:#c0cdd9;display:flex;justify-content:center;position:relative;width:120px}.mastodon-preview__card-text{display:flex;flex-direction:column;gap:.5rem;overflow:hidden;padding:1rem}.mastodon-preview__card-title{color:#282c37;font-size:1.187rem;font-weight:700;line-height:1.4}.mastodon-preview__card-site{display:block;font-size:.875rem}.mastodon-preview__card-description{font-size:.875rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mastodon-preview__post-actions{align-items:center;display:flex;justify-content:space-between;margin-top:1rem}.mastodon-preview__post-actions>div{align-items:center;color:#606984;display:flex}.mastodon-preview__post-actions svg{fill:currentColor}.mastodon-preview__post-icon-text{color:#525a71;font-size:.75rem;font-weight:500}.nextdoor-preview__wrapper{max-width:clamp(200px,100%,600px)}.nextdoor-preview__section .nextdoor-preview__wrapper{padding:0}.nextdoor-preview__section.social-preview__section{width:clamp(200px,100%,600px)}.nextdoor-preview__container{background-color:#fff;border-radius:8px;box-shadow:0 0 8px #0000001a;overflow:hidden}.nextdoor-preview__container.small-preview{border-end-end-radius:0;border-end-start-radius:0}.nextdoor-preview__header{align-items:center;display:flex;gap:.5rem;margin-bottom:8px}.nextdoor-preview__header--avatar{align-items:center;border-radius:50%;display:flex;flex-shrink:0;height:40px;overflow:hidden;width:40px}.nextdoor-preview__header--avatar img{-o-object-fit:contain;object-fit:contain;width:100%}.nextdoor-preview__header--details{display:flex;flex-direction:column}.nextdoor-preview__header--name{font-size:1rem;font-weight:600;letter-spacing:-.32px;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nextdoor-preview__header--meta{align-items:center;color:#666;display:flex;font-size:14px;gap:.25rem;letter-spacing:-.32px;line-height:19px;white-space:pre-wrap}.nextdoor-preview__footer{display:flex;flex-direction:row;justify-content:flex-end;margin-top:24px}.nextdoor-preview__footer--actions{align-items:center;display:flex;gap:1rem}.nextdoor-preview__footer--actions-item{align-items:center;display:flex;font-size:13px;font-weight:600;gap:.25rem;line-height:16px}.nextdoor-preview__content{padding:12px 16px}.nextdoor-preview__card{border-radius:16px;box-shadow:0 1px 4px 0 #00000014,0 0 2px 0 #0003;display:flex;flex-direction:column;margin-top:12px;overflow:hidden}.nextdoor-preview__card.small-preview{align-items:center;flex-direction:row}.nextdoor-preview__card--chevron-wrapper{align-items:center;display:flex;justify-content:center;min-width:40px;width:40px}.nextdoor-preview__caption{font-size:1rem;font-weight:400;line-height:20px;margin-bottom:20px}.nextdoor-preview__media-item{display:flex}.nextdoor-preview__media-item img,.nextdoor-preview__media-item video{-o-object-fit:cover;object-fit:cover;width:100%}.nextdoor-preview__description{display:flex;flex-direction:column;overflow:hidden;padding:16px}.small-preview .nextdoor-preview__description{flex-grow:1;padding:10px}.nextdoor-preview__description--title{font-size:15px;font-weight:600;line-height:20px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nextdoor-preview__description--url{color:#666;font-size:13px}.nextdoor-preview__media{margin-inline:-16px}.nextdoor-preview__image{aspect-ratio:16/9;-o-object-fit:cover;object-fit:cover;width:100%}.small-preview .nextdoor-preview__image{height:62px;width:62px}.nextdoor-preview__default-avatar{align-items:center;background-color:#8c6e63;border-radius:50%;color:#fff;display:flex;font-size:x-large;height:40px;justify-content:center;width:40px}.nextdoor-preview__default-image{align-items:center;background-color:#f1ffca;display:flex;height:62px;justify-content:center;width:62px}.threads-preview{padding:20px}.threads-preview__wrapper{background-color:#fff;border-radius:4px;margin-inline:auto;max-width:clamp(200px,100%,635px);padding-inline-end:1rem;padding-top:1rem}.threads-preview__section.social-preview__section{width:clamp(200px,100%,635px)}.threads-preview__section.social-preview__section .social-preview__section-desc,.threads-preview__section.social-preview__section .social-preview__section-heading{padding-inline-start:17px}.threads-preview__container{color:#000;display:grid;font-size:15px;grid-template-columns:50px auto;line-height:21px;margin-bottom:5px}.threads-preview__container .threads-preview__sidebar{display:grid;grid-template-rows:35px auto;justify-items:center}.threads-preview__container .threads-preview__sidebar .threads-preview__profile-image{align-items:center;border-radius:50%;display:flex;max-height:36px;max-width:36px;overflow:hidden}.threads-preview__container .threads-preview__sidebar .threads-preview__profile-image img{-o-object-fit:cover;object-fit:cover;width:100%}.threads-preview__container .threads-preview__sidebar .threads-preview__connector{background-color:#8c8f94;width:2px}.threads-preview__container .threads-preview__main{overflow:hidden;padding-bottom:1rem}.threads-preview__container .threads-preview__header{display:flex;font-size:16px;gap:6px;line-height:18px;margin-bottom:2px}.threads-preview__container .threads-preview__name{font-size:15px;font-weight:600}.threads-preview__container .threads-preview__date{color:#999}.threads-preview__container .threads-preview__content .threads-preview__text{white-space:pre-wrap;word-break:break-word}.threads-preview__container .threads-preview__content .threads-preview__media{border-radius:15px;display:grid;overflow:hidden;grid-gap:2px;grid-template-areas:"a";height:300px;margin-top:12px}.threads-preview__container .threads-preview__content .threads-preview__media img,.threads-preview__container .threads-preview__content .threads-preview__media video{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.threads-preview__container .threads-preview__content .threads-preview__media img:first-child,.threads-preview__container .threads-preview__content .threads-preview__media video:first-child{grid-area:a}.threads-preview__container .threads-preview__content .threads-preview__media img:nth-child(2),.threads-preview__container .threads-preview__content .threads-preview__media video:nth-child(2){grid-area:b}.threads-preview__container .threads-preview__content .threads-preview__media img:nth-child(3),.threads-preview__container .threads-preview__content .threads-preview__media video:nth-child(3){grid-area:c}.threads-preview__container .threads-preview__content .threads-preview__media img:nth-child(4),.threads-preview__container .threads-preview__content .threads-preview__media video:nth-child(4){grid-area:d}.threads-preview__container .threads-preview__content .threads-preview__media.threads-preview__media-children-2{grid-template-areas:"a b"}.threads-preview__container .threads-preview__content .threads-preview__media.threads-preview__media-children-3{grid-template-areas:"a b" "a c"}.threads-preview__container .threads-preview__content .threads-preview__media.threads-preview__media-children-4{grid-template-areas:"a b" "c d"}.threads-preview__container .threads-preview__content .threads-preview__card{border:1px solid #e1e8ed;border-radius:8px;margin-bottom:12px;margin-top:12px;overflow:hidden}.threads-preview__container .threads-preview__content .threads-preview__card .threads-preview__card-image{aspect-ratio:16/9;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.threads-preview__container .threads-preview__content .threads-preview__card .threads-preview__card-body{color:#000;display:flex;flex-direction:column;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;gap:2px;overflow:hidden;padding:.75em;text-align:left;text-decoration:none}.threads-preview__container .threads-preview__content .threads-preview__card .threads-preview__card-title{text-overflow:ellipsis}.threads-preview__container .threads-preview__content .threads-preview__card .threads-preview__card-url{color:#999;font-size:12px;overflow-inline:hidden;text-overflow:ellipsis;text-transform:lowercase;white-space:nowrap}.threads-preview__container .threads-preview__footer{display:flex;gap:2.5rem;margin-top:1rem}.threads-preview__container .threads-preview__footer svg{height:19px;width:19px;fill:#424242}.threads-preview__container .threads-preview__icon--like svg,.threads-preview__container .threads-preview__icon--reply svg,.threads-preview__container .threads-preview__icon--share svg{fill:#0000;stroke:#424242}.social-preview{padding:0 .5rem}.social-preview__section{margin-bottom:2rem;margin-inline:auto;width:clamp(200px,100%,680px)}.social-preview__section-heading{color:#1e1e1e;font-size:.875rem;font-weight:600;line-height:1.42;margin-bottom:.375rem;margin-top:0}.social-preview__section-desc{color:#757575;font-size:.75rem;line-height:1.33;margin-bottom:1rem;margin-top:0}.social-preview__section-desc .components-external-link{align-items:center;display:inline-flex;gap:.25rem}.tumblr-preview__section.social-preview__section{width:clamp(200px,100%,604px + 1.25rem)}.tumblr-preview__post{align-items:flex-start;display:flex;gap:1.25rem}.tumblr-preview__avatar{border-radius:3px;height:64px;width:64px}@media(max-width:660px){.tumblr-preview__avatar{display:none}}.tumblr-preview__card{background-color:#fff;border-radius:3px;color:#000;font-family:Favorit,Helvetica Neue,HelveticaNeue,Helvetica,Arial,sans-serif;font-size:1rem;overflow-y:hidden}.tumblr-preview__card :-moz-any-link{color:inherit;text-decoration:underline}.tumblr-preview__card :any-link{color:inherit;text-decoration:underline}.tumblr-preview__custom-text,.tumblr-preview__title{margin:0 0 1rem;padding:0 1.25rem}.tumblr-preview__title{font-size:1.625rem;font-weight:400;line-height:1.3}.tumblr-preview__description{font-size:1rem;line-height:1.5;margin:0 0 1rem;padding:0 1.25rem}.tumblr-preview__image{aspect-ratio:16/9;display:block;margin:3.375rem 0 1rem;width:100%}.tumblr-preview__url{display:inline-block;margin:0 0 1rem;padding:0 1.25rem}.tumblr-preview__site-name{color:#000000a6;font-size:.75rem;text-transform:uppercase}.tumblr-preview__window{margin:0 1.25rem 1.25rem}.tumblr-preview__window-top{border-top-left-radius:6px;border-top-right-radius:6px;position:relative}.tumblr-preview__window-top .tumblr-preview__image{aspect-ratio:16/9;border-top-left-radius:inherit;border-top-right-radius:inherit;margin:0;width:100%}.tumblr-preview__window-bottom{border:1px solid #00000040;border-bottom-left-radius:6px;border-bottom-right-radius:6px;display:flex;flex-direction:column;gap:.5rem;padding:1rem .75rem}.tumblr-preview__window-bottom.is-full{border-top-left-radius:6px;border-top-right-radius:6px}.tumblr-preview__window-bottom>*{margin:0;padding:0}.tumblr-preview__overlay{align-items:center;background-color:#0006;border-top-left-radius:inherit;border-top-right-radius:inherit;bottom:0;color:#fff;display:flex;justify-content:center;left:0;padding:1rem .75rem;position:absolute;right:0;top:0}.tumblr-preview__overlay>*{margin:0;padding:0}.tumblr-preview__post-header{align-items:center;display:flex;justify-content:space-between;margin:1rem 0;padding:0 1.25rem}.tumblr-preview__post-header-username{font-size:.875rem;font-weight:700;line-height:1.5}.tumblr-preview__post-icon{align-items:center;display:flex}.tumblr-preview__post-icon svg{fill:#000000a6}.tumblr-preview__post-icon-blaze{height:20px;width:23px}.tumblr-preview__post-icon-delete{height:21px;width:17px}.tumblr-preview__post-icon-edit{height:21px;width:21px}.tumblr-preview__post-icon-share{height:24px;width:24px}.tumblr-preview__post-icon-reblog,.tumblr-preview__post-icon-reply{height:21px;width:21px}.tumblr-preview__post-icon-like{height:21px;width:23px}.tumblr-preview__post-icon-ellipsis{height:4px;width:18px}.tumblr-preview__post-actions{color:#000000a6;font-size:1rem;font-weight:700;line-height:1.5;margin-top:.25rem;padding:0 1.25rem}.tumblr-preview__post-manage-actions,.tumblr-preview__post-social-actions{align-items:center;display:flex;justify-content:space-between;min-height:3.5rem}.tumblr-preview__post-manage-actions ul,.tumblr-preview__post-social-actions ul{align-items:center;display:flex;gap:1.25rem;list-style-type:none;margin:0;padding:0}.tumblr-preview__post-manage-actions ul>li,.tumblr-preview__post-social-actions ul>li{align-items:center;display:flex;justify-content:center}.tumblr-preview__post-social-actions{border-top:1px solid #c27b7b26}.tumblr-preview__post-actions-blaze{align-items:center;display:flex}.nOZgE6dP_guav2888GAK{margin:1rem 0 1.5rem}@media(min-width:600px){.jxndagXCphEhzYfnjHMZ{width:calc(100vw - 40px)}}@media(min-width:960px){.jxndagXCphEhzYfnjHMZ{width:920px}}.jxndagXCphEhzYfnjHMZ .components-modal__content.hide-header{padding:0}.na9tpJVboVaxVNabSRsr{display:flex}@media(max-width:782px){.na9tpJVboVaxVNabSRsr{flex-direction:column}}.VxWWpt730pSzZCEVjxA3{height:2rem;position:absolute;right:.5rem;top:.5rem}.z14EiGfFuQwKazBW3LpF{align-items:center;border-bottom:1px solid #dcdcde;display:flex;height:48px;padding-inline:2rem}@media(min-width:782px){.z14EiGfFuQwKazBW3LpF{border-inline-end:1px solid #dcdcde}}.z14EiGfFuQwKazBW3LpF h2{font-size:1rem;font-weight:600;line-height:16px;margin-block:0}@media(min-width:782px){.LAWYmJPODB8LgzQMzsyx{flex:1}}.vVbLRydJFLCVa49hSz83{padding:2rem}@media(min-width:782px){.vVbLRydJFLCVa49hSz83{border-inline-end:1px solid #dcdcde}}.uw1atyZ2fcJoKjwf6SZW{background:var(--jp-gray-0);flex:1}@media(min-width:782px){.uw1atyZ2fcJoKjwf6SZW{flex:2}}.uw1atyZ2fcJoKjwf6SZW .components-tab-panel__tabs{background:var(--jp-white);border-bottom:1px solid #dcdcde;height:48px;justify-content:center}.meKppCUznQhlkjwZuS6G{align-items:center;display:flex;flex-direction:column;gap:3rem;justify-content:center;padding:2rem}.HS7f47n0w2xUqa4wQkwX{opacity:.5}.sP1aklNMfj7lCDxuhWaq{position:relative}.a6tcXi51GAewl3qx0AVi{align-items:center;background-color:#2c3338e6;border-radius:2px;bottom:8px;display:flex;font-variant-numeric:tabular-nums;left:8px;padding:4px;position:absolute}.a6tcXi51GAewl3qx0AVi svg{margin-right:2px}.uFtCCGeycoI94JbCnJh8.uFtCCGeycoI94JbCnJh8{color:var(--jp-white);font-size:9px;font-weight:600;line-height:8px}.cZuW54OEuUN9yvuE_rNU{margin:auto;position:relative}.vCs0BOExDMOystFhG2wa{width:auto}.sKpch49QzrpontC0DvF7{background-color:var(--jp-gray-0);border:1px dashed var(--jp-gray-20);border-radius:calc(var(--jp-border-radius)*.5);display:grid;grid-template-rows:1fr auto 2fr;justify-content:center;margin-bottom:8px;min-height:130px;padding:24px;position:relative;width:100%}.sKpch49QzrpontC0DvF7>*{justify-self:center}.sKpch49QzrpontC0DvF7>button{grid-row:2}.sKpch49QzrpontC0DvF7>button:after{bottom:0;content:"";left:0;position:absolute;right:0;top:0}.sKpch49QzrpontC0DvF7>span{color:var(--jp-gray-60);font-size:13px;grid-row:3;line-height:16px;margin-top:16px;text-align:center}.sKpch49QzrpontC0DvF7>svg{align-self:center;margin:0;position:absolute}.vOO47kVjHn7i63fQ0bx0{color:#757575;font-size:12px;font-weight:400;line-height:16px;margin-bottom:8px}.ziE_jq4PmQmGBedGskf_{width:100%}.TJGgifcTHqUtknPqVQpH,.qqGj0rmSJvZs9dyr0u_I,.ziE_jq4PmQmGBedGskf_{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;cursor:pointer;margin:0;padding:0}.TJGgifcTHqUtknPqVQpH,.qqGj0rmSJvZs9dyr0u_I{align-items:center;background-color:var(--jp-black);border:1.5px solid var(--jp-white);border-radius:100%;display:flex;height:20px;justify-content:center;line-height:0;position:absolute;right:-4px;top:-4px;transition:background .1s ease-in-out;width:20px;z-index:2}.TJGgifcTHqUtknPqVQpH svg,.qqGj0rmSJvZs9dyr0u_I svg{fill:var(--jp-white)}.TJGgifcTHqUtknPqVQpH:hover,.qqGj0rmSJvZs9dyr0u_I:hover{background-color:var(--wp-admin-theme-color)}.TJGgifcTHqUtknPqVQpH{right:-5px;top:-56px}.f92zWdEJJIwBvwH5rRzn{margin-bottom:16px}.f92zWdEJJIwBvwH5rRzn .components-responsive-wrapper__content{width:auto}.rBTOWyeewE4VxAqYgjoI{filter:grayscale(100%);opacity:.5}.PykCvaqoL7AIDzVKJAtg{position:relative}.SSMDWFYkP44va5KqPpTP.SSMDWFYkP44va5KqPpTP{margin:16px 0 8px;padding-right:8px}.components-base-control__label+.SSMDWFYkP44va5KqPpTP.SSMDWFYkP44va5KqPpTP{margin-top:0}.SSMDWFYkP44va5KqPpTP.SSMDWFYkP44va5KqPpTP p{margin:0 0 4px}.Q21myqk1zOYB3IH8YuEq{color:var(--jp-gray-40);margin-top:0}.RoerAwwhu_PqirHlSJPz{display:block;margin-top:1rem}.ptn8jt555LOvMXWaoLxs{font-size:13px;line-height:24px;margin:5px 0 12px;position:relative}.IVzciZv5S5E8XgR5EsLp{color:#757575}.OpbDsm3F65Z4K5Bz43cz,.dlrSwB0tyuf1TYcypDec,.hkpqil8E11PObwu7TVU2{padding:8px 16px}.OpbDsm3F65Z4K5Bz43cz a,.dlrSwB0tyuf1TYcypDec a,.hkpqil8E11PObwu7TVU2 a{color:inherit}.dlrSwB0tyuf1TYcypDec{background-color:#fef8ee;border-left:2px solid #f0b849}.hkpqil8E11PObwu7TVU2{background-color:#f4a2a2;border-left:2px solid #cc1818}.OpbDsm3F65Z4K5Bz43cz{border:1px solid #007cba;border-left-width:4px;padding:12px 16px}.AeqtA3GRe7sFjKaC9SqL{padding-right:25px}.IArBTmNL2K4du5WPBUhg{all:unset;cursor:pointer;position:absolute;right:16px;top:12px}.IArBTmNL2K4du5WPBUhg:focus:not(:disabled){box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) #007cba}.T7E2eJJN4qjwPpv3mcjV{margin-top:12px}.Ua6eKcnk_tQQpFlgXMSn{display:inherit;display:flex;flex-wrap:wrap;list-style-type:none;margin:0;width:100%}.Ua6eKcnk_tQQpFlgXMSn .SHqrIEguRfCILRHPyxE9{margin:5px 0 10px}.ejyuBjiLmHz_UTFmBnjA{display:inline-block;margin-top:6px}.smqXe_da1eoP4Agql_Cs{height:auto;margin-inline-start:15px;padding:0}.wy2LRr6EYfEPS1_tw21X .record-meter-bar .record-meter-bar__legend--items{flex-wrap:wrap}.wy2LRr6EYfEPS1_tw21X .record-meter-bar .record-meter-bar__items{height:.5rem;margin-bottom:.8em}.wy2LRr6EYfEPS1_tw21X .record-meter-bar .record-meter-bar__legend--item-circle{height:.5rem;width:.5rem}.RY1gHNa4QvZVfS6_9jwN{flex-grow:1;margin-block-end:1rem}.O_ZghPCUG7291iVsp1wx{color:#646970;margin-bottom:.5rem}p.PR7POigxhvyqNIjSo9F0{font-weight:600;text-transform:uppercase}.doYMSVhNe2U7so5sInxh{display:flex;gap:.4rem}.nrOxj0JeSCWwCB4oaR94{display:block;margin-bottom:1rem}.Jxra4242dPPaUy28mM8H.components-button.is-link{font-size:inherit;font-weight:inherit}.Jxra4242dPPaUy28mM8H.components-button.is-link:hover{text-decoration:none}.amoEz9VXiwF3eyLxTbOA .irsbCLZJNayrJ0g_joAn{font-style:italic;font-weight:700;word-wrap:break-word}.lIKYDl6xVVtMbvcUDrrn.lIKYDl6xVVtMbvcUDrrn{display:block;margin-bottom:.5rem}.wu3aDYFeiXIJx7zjdQg7 .record-meter-bar__items{height:1.5rem}.PYlDideBTzXaLK6N44H_ .record-meter-bar__legend{display:flex;gap:1rem}.record-meter-bar{padding-block:1em}.record-meter-bar__items{background-color:var(--jp-gray-off);border-radius:1rem;display:flex;height:2rem;margin-bottom:2em;overflow:hidden}.record-meter-bar__legend--items{display:flex;margin:0}.record-meter-bar__legend--item{align-items:center;display:flex;margin:0;margin-inline-end:1em}.record-meter-bar__legend--item-circle{border-radius:100%;display:inline-block;height:1rem;margin-inline-end:.4em;width:1rem}.record-meter-bar__legend--item-count,.record-meter-bar__legend--item-label-first{margin-inline-end:.4em}.search-preview__display{border:1px solid #f6f7f7;font-family:arial,sans-serif;padding:10px 20px;word-wrap:break-word}.search-preview__header{align-items:flex-end;display:flex;gap:.5rem}.search-preview__menu{color:#4d5156;height:18px;position:relative;width:18px}.search-preview__branding{align-items:center;display:flex;gap:.75rem}.search-preview__site--title{color:#202124;font-size:14px;line-height:20px}.search-preview__icon{height:1.75rem;width:1.75rem}.search-preview__title{color:#1a0dab;font-size:20px;line-height:1.3;margin-bottom:7px;margin-top:8px;max-width:616px}.search-preview__title:hover{cursor:pointer;text-decoration:underline}.search-preview__url{color:#4d5156;font-size:12px;line-height:1.3;max-width:616px}.search-preview__description{color:#4d5156;font-size:14px;font-weight:400;line-height:1.5;max-width:616px}.twitter-preview{padding:20px}.twitter-preview__wrapper{background-color:#fff;border-radius:4px;margin-inline:auto;max-width:clamp(200px,100%,635px);padding-inline-end:1rem;padding-top:1rem}.twitter-preview__section.social-preview__section{width:clamp(200px,100%,635px)}.twitter-preview__section.social-preview__section .social-preview__section-desc,.twitter-preview__section.social-preview__section .social-preview__section-heading{padding-inline-start:17px}.twitter-preview__container{display:grid;font-size:15px;grid-template-columns:65px auto;line-height:20px;margin-bottom:5px}.twitter-preview__container .twitter-preview__sidebar{display:grid;grid-template-rows:35px auto;justify-items:center}.twitter-preview__container .twitter-preview__sidebar .twitter-preview__profile-image{align-items:center;border-radius:50%;display:flex;max-height:30px;max-width:30px;overflow:hidden}.twitter-preview__container .twitter-preview__sidebar .twitter-preview__profile-image img{-o-object-fit:cover;object-fit:cover;width:100%}.twitter-preview__container .twitter-preview__sidebar .twitter-preview__connector{background-color:#8c8f94;width:2px}.twitter-preview__container .twitter-preview__main{overflow:hidden;padding-bottom:1rem}.twitter-preview__container .twitter-preview__header{display:flex;font-size:16px;gap:.25rem;line-height:18px;margin-bottom:2px}.twitter-preview__container .twitter-preview__name{font-weight:700}.twitter-preview__container .twitter-preview__date,.twitter-preview__container .twitter-preview__screen-name{color:#667886;letter-spacing:-.3px}.twitter-preview__container .twitter-preview__content .twitter-preview__text{color:#0f1419;white-space:pre-wrap;word-break:break-word}.twitter-preview__container .twitter-preview__content .twitter-preview__media{border-radius:15px;display:grid;overflow:hidden;grid-gap:2px;grid-template-areas:"a";height:300px;margin-top:12px}.twitter-preview__container .twitter-preview__content .twitter-preview__media img,.twitter-preview__container .twitter-preview__content .twitter-preview__media video{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.twitter-preview__container .twitter-preview__content .twitter-preview__media img:first-child,.twitter-preview__container .twitter-preview__content .twitter-preview__media video:first-child{grid-area:a}.twitter-preview__container .twitter-preview__content .twitter-preview__media img:nth-child(2),.twitter-preview__container .twitter-preview__content .twitter-preview__media video:nth-child(2){grid-area:b}.twitter-preview__container .twitter-preview__content .twitter-preview__media img:nth-child(3),.twitter-preview__container .twitter-preview__content .twitter-preview__media video:nth-child(3){grid-area:c}.twitter-preview__container .twitter-preview__content .twitter-preview__media img:nth-child(4),.twitter-preview__container .twitter-preview__content .twitter-preview__media video:nth-child(4){grid-area:d}.twitter-preview__container .twitter-preview__content .twitter-preview__media.twitter-preview__media-children-2{grid-template-areas:"a b"}.twitter-preview__container .twitter-preview__content .twitter-preview__media.twitter-preview__media-children-3{grid-template-areas:"a b" "a c"}.twitter-preview__container .twitter-preview__content .twitter-preview__media.twitter-preview__media-children-4{grid-template-areas:"a b" "c d"}.twitter-preview__container .twitter-preview__content .twitter-preview__quote-tweet{margin-top:10px;min-height:200px}.twitter-preview__container .twitter-preview__content .twitter-preview__quote-tweet .twitter-preview__quote-tweet-overlay{bottom:0;left:0;opacity:0;position:absolute;right:0;top:0}.twitter-preview__container .twitter-preview__content .twitter-preview__card{border:1px solid #e1e8ed;border-radius:12px;margin-bottom:12px;margin-top:12px;overflow:hidden}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-summary{display:grid}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-summary.twitter-preview__card-has-image{display:grid;grid-template-columns:125px auto;height:125px}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-summary.twitter-preview__card-has-image .twitter-preview__card-body{border-left:1px solid #e1e8ed;height:100%}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-summary.twitter-preview__card-has-image .twitter-preview__card-description{-webkit-line-clamp:3}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-summary_large_image{display:grid;grid-template-rows:254px auto}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-image{aspect-ratio:16/9;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-body{color:#000;display:flex;flex-direction:column;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;gap:2px;overflow:hidden;padding:.75em;text-align:left;text-decoration:none}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-title{max-height:1.3em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-description{color:#536471;display:-webkit-box;max-height:3.9em;text-overflow:ellipsis;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url{color:#8899a6;overflow-inline:hidden;text-overflow:ellipsis;text-transform:lowercase;white-space:nowrap}.twitter-preview__container .twitter-preview__footer{display:flex;justify-content:space-between;margin-top:12px;max-width:425px}.twitter-preview__container .twitter-preview__footer svg{fill:#787c82;height:16px;width:16px}.jetpack-social-previews__modal .components-modal__header{margin:0}.jetpack-social-previews__modal .components-modal__content{padding:0}.jetpack-social-previews__modal--close-btn{height:2rem;position:absolute;right:.5rem;top:.5rem}.jetpack-social-previews__modal-previews{display:flex;flex-direction:column;height:100%}.jetpack-social-previews__modal-previews .components-tab-panel__tabs-item:focus-visible:before{box-shadow:none;outline:none}.jetpack-social-previews__modal-previews .components-tab-panel__tabs{border-bottom:1px solid #dcdcde;display:flex;flex-direction:row;height:3rem;justify-content:center;max-width:none}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button{font-size:0;height:100%;outline:0;white-space:nowrap;width:2.5rem}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button svg{display:block;fill:currentColor}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button.is-active:after{border-bottom:1px solid #3858e9;height:0;margin-bottom:-1px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):hover:after{border-bottom:1px solid #3858e9;margin-bottom:-1px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content{background-color:#fff;flex:1;overflow:auto;padding:10px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content>div{display:flex;justify-content:center}@media(min-width:600px){.jetpack-social-previews__modal-previews{width:calc(100vw - 40px)}}@media(min-width:960px){.jetpack-social-previews__modal-previews{width:920px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button{font-size:13px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content{padding:40px}}.jetpack-social-previews__modal-previews .facebook-preview{width:100%}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content .mastodon-preview{max-width:578px}.jetpack-social-previews__modal-upgrade{padding:2em}.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-illustration{height:auto;max-width:351px;width:100%}.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-description{margin-bottom:1em}.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-heading{font-size:2em;line-height:1.15}.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-feature-list{font-size:1.1em;line-height:1.4;list-style:none;margin-bottom:2em;padding-left:1em}.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-feature-list li{margin-bottom:12px;position:relative}.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-feature-list li:before{color:#4ab866;content:"✓";left:-20px;position:absolute}@media(min-width:600px){.jetpack-social-previews__modal-upgrade{display:grid;max-width:870px;width:80vw;grid-gap:3em;grid-template-columns:1fr 1fr;padding-top:4em}.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-illustration{grid-column:2;grid-row:1;max-width:100%;padding-right:2em}.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-description{grid-column:1;grid-row:1;margin-bottom:0;padding:0 1em 1em}.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-heading{margin-top:0}.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-feature-list{padding-left:0}}@media(min-width:782px){.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-description{padding:0 2em 2em}}.jetpack-gutenberg-social-icons{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.jetpack-gutenberg-social-icons .jetpack-social-previews__icon{margin-right:0;fill:currentColor}.OWstrHF6QZdaosKs0b6j{aspect-ratio:1200/630;background-color:var(--jp-gray-0);display:flex;justify-content:center;margin-bottom:8px;max-height:250px;min-height:130px;position:relative;width:100%}.OWstrHF6QZdaosKs0b6j>*{justify-self:center}.OWstrHF6QZdaosKs0b6j>svg{align-self:center;margin:0;position:absolute}.OWstrHF6QZdaosKs0b6j img{height:auto;max-height:100%;max-width:100%;-o-object-fit:contain;object-fit:contain;width:auto}.HJMFrbZ0khdkKKkocrIK{display:none}.m9360_cMWKFHTNk9xpNz{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-gap:calc(var(--spacing-base)*4);padding:calc(var(--spacing-base)*4) 0}.j4EvSJfKIJLGEIAETiEY{all:unset;border-radius:calc(var(--jp-border-radius)/2);cursor:pointer;position:relative}.j4EvSJfKIJLGEIAETiEY img{border-radius:calc(var(--jp-border-radius)/2);display:block;height:auto;max-width:100%;pointer-events:none}.j4EvSJfKIJLGEIAETiEY:after{background-color:var(--jp-white);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='11' fill='none'%3E%3Cpath stroke='%2309B585' stroke-width='1.5' d='m11.327.53-6.75 9.08L.662 6.7'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;border-radius:50%;content:"";height:calc(var(--spacing-base)*3);opacity:0;position:absolute;right:calc(var(--spacing-base)*-1.5);top:calc(var(--spacing-base)*-1.5);transform:translateY(5px);transition:all .15s cubic-bezier(.4,0,.2,1);width:calc(var(--spacing-base)*3)}.j4EvSJfKIJLGEIAETiEY:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) #007cba;outline:3px solid #0000}.dQb3Zpl0puk4V6ezZslo:after{opacity:1;transform:translateY(0)}.tfWupx32Rn5hHqVjTzui div{padding-top:0}.qu9UsV1EEFeFxhU3Wgt5{margin-top:15px}.nZhgKYFn6MQoIDGcKrUG{max-width:150px}.WJ5nPw0EHj7eoNZB06TW{display:flex;justify-content:flex-end}.WJ5nPw0EHj7eoNZB06TW>*+*{margin-left:var(--spacing-base)}.JUeclE9CucaXRlTL5K9H{display:flex;flex-wrap:wrap;gap:.7rem}.JUeclE9CucaXRlTL5K9H a{border-radius:4px;color:#fff}.JUeclE9CucaXRlTL5K9H a:hover{color:#fff}.JUeclE9CucaXRlTL5K9H a>span{align-items:center;display:flex}.JUeclE9CucaXRlTL5K9H a>span>svg{border-radius:var(--jp-border-radius);color:#fff}.JUeclE9CucaXRlTL5K9H a.components-button svg{fill:currentColor}.JUeclE9CucaXRlTL5K9H :is(a,button).has-text.components-button.is-primary{background:#0000;color:var(--jp-black);gap:0;justify-content:start;padding:0}.JUeclE9CucaXRlTL5K9H :is(a,button).has-text.components-button.is-primary:hover{background:#0000;color:var(--jp-gray-50)}.JUeclE9CucaXRlTL5K9H :is(a,button).has-text.components-button.is-primary svg{height:calc(var(--spacing-base)*3);padding:calc(var(--spacing-base)/2);width:calc(var(--spacing-base)*3)}.JUeclE9CucaXRlTL5K9H :is(a,button).has-text.components-button.is-primary:focus{border:0;box-shadow:none;outline:none}.JUeclE9CucaXRlTL5K9H .rhyZKz4FQtFOFAMwLgLj{background-color:var(--jp-black)}.JUeclE9CucaXRlTL5K9H .DDRhGoqXUOM6Jug54nEB{background-color:#2ab318}.JUeclE9CucaXRlTL5K9H .h57Cabo4jn8Ke77_DLOX{background-color:#0866ff;border-radius:var(--jp-border-radius)!important}.JUeclE9CucaXRlTL5K9H .tvNWJpaNzPro4QaItBae{background-color:#fff;color:var(--jp-black);outline:1px solid var(--jp-gray)}.p_VTpBCFklSkcb0iiD0K{flex-direction:column}.DyIAUIn_2bkciyB_XtgH{display:flex}.Lx8xScOApJmJdhJF9JWd.Lx8xScOApJmJdhJF9JWd{font-size:13px;font-weight:400;line-height:24px;margin-inline-start:var(--spacing-base)}.pp_WJTHlGIX9bcHCLxJh{display:flex;flex-direction:column;gap:1rem;margin-top:1rem;padding-block:1rem}.IzRyqrcpwjKRBJKEtECz{font-weight:600;text-transform:uppercase}.U_WW2qLSQA71SJYyITOq{position:relative}.wp-admin.post-type-jetpack-social-note .post-publish-panel__postpublish-header{display:none}.CW7R8fRQqVKfyXFYiNWR{align-items:center;background:none;border:2px solid var(--jp-green-40);border-radius:4px;color:var(--jp-gray-90);display:block;gap:calc(var(--spacing-base)*3);justify-content:space-between;margin:0;padding:calc(var(--spacing-base)*2) calc(var(--spacing-base)*3);text-align:left;text-decoration:none;width:100%}.CW7R8fRQqVKfyXFYiNWR:active,.CW7R8fRQqVKfyXFYiNWR:focus{outline-color:var(--jp-black)}.CW7R8fRQqVKfyXFYiNWR .n34j0qWq2EZzYl1jAiej button.aIuCL8MdydCJGcrOqp4x{font-size:var(--font-body-small)}.qegtnlYWDc3UnIGPRlQb{font-size:var(--font-body)}.n34j0qWq2EZzYl1jAiej{align-content:space-between;display:flex;flex-direction:column;gap:var(--spacing-base)}.aIuCL8MdydCJGcrOqp4x{align-items:center;justify-content:space-between;width:100%}.D8uyjb_rjCf4HTMT0mj0.D8uyjb_rjCf4HTMT0mj0{font-size:13px;line-height:1.5;margin-bottom:16px}.jetpack-publicize__upsell{margin-bottom:13px}.jetpack-publicize__upsell-description{font-weight:600;margin-bottom:10px}.jetpack-publicize__upsell-button.is-primary{background:#e34c84;color:#fff;padding-right:10px}.jetpack-publicize__upsell-button.is-primary:hover{background:#eb6594}.jetpack-publicize__upsell-button.is-primary.is-busy{background-image:linear-gradient(-45deg,#e34c84 28%,#ab235a 0,#ab235a 72%,#e34c84 0);background-size:100px 100%}.jetpack-publicize__placeholder .components-placeholder__learn-more{margin-top:1em}.wp-block-jetpack-rating-star{line-height:0;margin-bottom:1.5em;stroke-width:0}.wp-block-jetpack-rating-star .is-rating-unfilled{fill-opacity:.33}.wp-block-jetpack-rating-star .jetpack-ratings-button{border-radius:2px;display:inline-flex}.wp-block-jetpack-rating-star .jetpack-ratings-button:focus{box-shadow:0 0 0 1px currentColor;outline:2px solid #0000}.wp-block-jetpack-rating-star>p{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-inline-end:.3em}.wp-block-jetpack-rating-star .jetpack-ratings-button span,.wp-block-jetpack-rating-star>span span{display:inline-flex;flex-shrink:0;overflow:hidden;width:12px}.wp-block-jetpack-rating-star .jetpack-ratings-button span svg,.wp-block-jetpack-rating-star>span span svg{flex-shrink:0}.wp-block-jetpack-rating-star .jetpack-ratings-button span:nth-child(2n),.wp-block-jetpack-rating-star>span span:nth-child(2n){justify-content:flex-end}.wp-block-jetpack-rating-star svg{display:inline-block!important;max-width:none!important}.wp-block-jetpack-rating-star.is-style-outlined{stroke-width:2px}.wp-block-jetpack-rating-star.is-style-outlined .is-rating-unfilled{fill:#0000}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-inline-end:.3em}.jetpack-ratings-button{cursor:pointer}.jetpack-ratings-button:focus{border:none;outline:none}@keyframes jetpack-memberships_button__spinner-animation{to{transform:rotate(1turn)}}.jetpack-memberships-spinner{display:none;height:1em;margin:0 0 0 5px;width:1em}.jetpack-memberships-spinner svg{height:100%;margin-bottom:-2px;width:100%}.jetpack-memberships-spinner-rotating{animation:jetpack-memberships_button__spinner-animation .75s linear infinite;transform-origin:center}.is-loading .jetpack-memberships-spinner{display:inline-block}body.jetpack-memberships-modal-open{overflow:hidden}dialog.jetpack-memberships-modal{opacity:1}dialog.jetpack-memberships-modal,dialog.jetpack-memberships-modal iframe{background:#0000;border:0;bottom:0;box-shadow:none;height:100%;left:0;margin:0;padding:0;position:fixed;right:0;top:0;width:100%}dialog.jetpack-memberships-modal::backdrop{background-color:#000;opacity:.7;transition:opacity .2s ease-out}dialog.jetpack-memberships-modal.is-loading,dialog.jetpack-memberships-modal.is-loading::backdrop{opacity:0}.wp-block-jetpack-recurring-payments.aligncenter .wp-block-jetpack-button{text-align:center}.wp-block-jetpack-recurring-payments{width:100%}.wp-block-jetpack-recurring-payments .components-base-control__label{text-align:left}.wp-block-jetpack-recurring-payments .components-placeholder{min-height:150px;padding:24px}.wp-block-jetpack-recurring-payments .components-placeholder__fieldset{max-width:500px}.wp-block-jetpack-recurring-payments .components-placeholder__fieldset p{font-size:13px;margin:20px 0 10px}.wp-block-jetpack-recurring-payments .components-placeholder__fieldset p:first-child{margin-top:0}.wp-block-jetpack-recurring-payments .components-placeholder__instructions .components-select-control__input{padding:0 24px 0 8px}.wp-block-jetpack-recurring-payments .components-placeholder .components-placeholder__instructions{display:block}.wp-block-jetpack-recurring-payments .components-placeholder label{font-size:13px}.wp-block-jetpack-recurring-payments .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-recurring-payments .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-recurring-payments .membership-button__add-amount{margin-right:4px}.wp-block-jetpack-recurring-payments .membership-button__disclaimer{color:var(--color-gray-200);flex-basis:100%;font-style:italic;margin:0}.wp-block-jetpack-recurring-payments .membership-button__disclaimer a{color:var(--color-gray-400);line-height:36px}.wp-block-jetpack-recurring-payments .membership-button__field-button{margin-right:4px}.wp-block-jetpack-recurring-payments .membership-button__field-error .components-text-control__input{border:1px solid #d63638}.wp-block-jetpack-recurring-payments .membership-button__field-price{width:65%}.wp-block-jetpack-recurring-payments .membership-button__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-recurring-payments .membership-button__price-container .components-input-control__container{top:4px}.wp-block-jetpack-recurring-payments .membership-button__price-container div.membership-button__field-currency{border-right:10px solid #0000}.wp-block-jetpack-recurring-payments .membership-button__price-container p{margin-top:0}.wp-block-jetpack-recurring-payments.disclaimer-only{background:#1e1e1e9e;box-sizing:initial;font-size:13px;margin:0 -14px;padding:14px;text-align:center;transform:translateY(14px)}.is-dark-theme .wp-block-jetpack-recurring-payments.disclaimer-only{background:#ffffffa6}.wp-block-jetpack-recurring-payments .wp-block-jetpack-membership-button_notification{display:block}.wp-block-jetpack-recurring-payments .wp-block[data-type="jetpack/button"]{margin-bottom:0;margin-top:0}.wp-block-jetpack-related-posts .components-placeholder__learn-more{flex-basis:100%;margin-top:1em}.jp-related-posts-i2__row{display:flex;margin-left:-10px;margin-right:-10px;margin-top:1.5rem}.jp-related-posts-i2__row:first-child{margin-top:0}.jp-related-posts-i2__row[data-post-count="3"] .jp-related-posts-i2__post{max-width:calc(33.33333% - 20px)}.jp-related-posts-i2__row[data-post-count="1"] .jp-related-posts-i2__post,.jp-related-posts-i2__row[data-post-count="2"] .jp-related-posts-i2__post{max-width:calc(50% - 20px)}.jp-related-posts-i2__post{display:flex;flex-basis:0;flex-direction:column;flex-grow:1;margin:0 10px}.jp-related-posts-i2__post-context,.jp-related-posts-i2__post-date,.jp-related-posts-i2__post-heading,.jp-related-posts-i2__post-img-link{flex-direction:row}.jp-related-posts-i2__post-image-placeholder,.jp-related-posts-i2__post-img-link{order:-1}.jp-related-posts-i2__post-heading{font-size:1rem;line-height:1.2em;margin:.5rem 0}.jp-related-posts-i2__post-link{display:block;line-height:1.2em;margin:.2em 0;width:100%}.jp-related-posts-i2__post-img{width:100%}.jp-related-posts-i2__post-image-placeholder{display:block;margin:0 auto;max-width:350px;position:relative}.jp-related-posts-i2__post-image-placeholder-icon{left:calc(50% - 12px);position:absolute;top:calc(50% - 12px)}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__row{display:block;margin:0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post{margin:1rem 0 0;max-width:none}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-image-placeholder{margin:0;max-width:350px}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-img-link{margin-top:1rem}.wp-block-jetpack-repeat-visitor .components-notice{color:#1e1e1e;margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-radio-control__option{text-align:left}.wp-block-jetpack-repeat-visitor .components-notice__content{font-size:1em;margin:.5em 0}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control{display:inline-block;max-width:8em;vertical-align:middle}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control .components-base-control__field{margin-bottom:0}.wp-block-jetpack-repeat-visitor-placeholder{min-height:inherit}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__label svg{margin-right:.5ch}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset{flex-wrap:nowrap}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset .components-base-control{flex-basis:100%;margin-bottom:0}.wp-block-jetpack-repeat-visitor-placeholder .components-base-control__help{color:#cc1818;font-size:13px}.wp-block-jetpack-repeat-visitor--is-unselected .wp-block-jetpack-repeat-visitor-placeholder{display:none}.wp-block-jetpack-repeat-visitor-threshold{margin-right:20px}.wp-block-jetpack-repeat-visitor-threshold .components-text-control__input{margin-left:12px;text-align:center;width:5em}.block-editor-inserter__preview .wp-block-jetpack-repeat-visitor{padding:16px}.block-editor-inserter__preview .wp-block-jetpack-repeat-visitor>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-right:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:#d63638}.help-message.help-message-is-error svg{fill:#d63638}div.wp-block-jetpack-whatsapp-button{display:flex;margin-inline-end:5px}div.wp-block-jetpack-whatsapp-button a.whatsapp-block__button{background:#25d366;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath fill='%23fff' d='M24 11.69c0 6.458-5.274 11.692-11.782 11.692-2.066 0-4.007-.528-5.695-1.455L0 24l2.127-6.273a11.57 11.57 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69M12.218 1.863c-5.462 0-9.905 4.41-9.905 9.829 0 2.15.7 4.142 1.886 5.763l-1.237 3.65 3.807-1.21a9.9 9.9 0 0 0 5.45 1.626c5.461 0 9.905-4.409 9.905-9.829s-4.444-9.83-9.906-9.83m5.95 12.521c-.073-.119-.265-.19-.554-.334-.289-.143-1.71-.837-1.973-.932-.265-.095-.458-.143-.65.143-.193.287-.746.932-.915 1.123-.169.192-.337.216-.626.073-.288-.143-1.219-.446-2.322-1.422-.858-.76-1.438-1.697-1.607-1.985-.168-.286-.017-.441.127-.584.13-.128.29-.335.433-.502.145-.167.193-.286.289-.478.097-.191.048-.358-.024-.502-.072-.143-.65-1.553-.89-2.127-.241-.574-.482-.478-.65-.478s-.361-.024-.554-.024-.506.072-.77.358c-.265.287-1.01.98-1.01 2.39s1.034 2.773 1.178 2.964c.145.19 1.998 3.179 4.934 4.326s2.936.764 3.466.716c.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363'/%3E%3C/svg%3E");background-position:16px;background-repeat:no-repeat;background-size:32px 32px;border:none;border-radius:8px;box-sizing:border-box;color:#fff;display:block;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:20px;font-weight:500;line-height:36px;min-height:50px;padding:8px 16px 8px 56px;text-decoration:none;white-space:nowrap}div.wp-block-jetpack-whatsapp-button.is-color-light a.whatsapp-block__button{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath fill='%2523465B64' d='M24 11.69c0 6.458-5.274 11.692-11.782 11.692-2.066 0-4.007-.528-5.695-1.455L0 24l2.127-6.273a11.57 11.57 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69M12.218 1.863c-5.462 0-9.905 4.41-9.905 9.829 0 2.15.7 4.142 1.886 5.763l-1.237 3.65 3.807-1.21a9.9 9.9 0 0 0 5.45 1.626c5.461 0 9.905-4.409 9.905-9.829s-4.444-9.83-9.906-9.83m5.95 12.521c-.073-.119-.265-.19-.554-.334-.289-.143-1.71-.837-1.973-.932-.265-.095-.458-.143-.65.143-.193.287-.746.932-.915 1.123-.169.192-.337.216-.626.073-.288-.143-1.219-.446-2.322-1.422-.858-.76-1.438-1.697-1.607-1.985-.168-.286-.017-.441.127-.584.13-.128.29-.335.433-.502.145-.167.193-.286.289-.478.097-.191.048-.358-.024-.502-.072-.143-.65-1.553-.89-2.127-.241-.574-.482-.478-.65-.478s-.361-.024-.554-.024-.506.072-.77.358c-.265.287-1.01.98-1.01 2.39s1.034 2.773 1.178 2.964c.145.19 1.998 3.179 4.934 4.326s2.936.764 3.466.716c.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363'/%3E%3C/svg%3E");color:#465b64}div.wp-block-jetpack-whatsapp-button.alignleft{float:none;justify-content:flex-start}div.wp-block-jetpack-whatsapp-button.aligncenter{justify-content:center}div.wp-block-jetpack-whatsapp-button.alignright{float:none;justify-content:flex-end}div.wp-block-jetpack-whatsapp-button.has-no-text a.whatsapp-block__button{padding-inline-start:48px}div.wp-block-jetpack-whatsapp-button:hover{opacity:.9}div.wp-block-jetpack-send-a-message>div.wp-block-jetpack-whatsapp-button>a.whatsapp-block__button:focus{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath fill='%23fff' d='M24 11.69c0 6.458-5.274 11.692-11.782 11.692-2.066 0-4.007-.528-5.695-1.455L0 24l2.127-6.273a11.57 11.57 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69M12.218 1.863c-5.462 0-9.905 4.41-9.905 9.829 0 2.15.7 4.142 1.886 5.763l-1.237 3.65 3.807-1.21a9.9 9.9 0 0 0 5.45 1.626c5.461 0 9.905-4.409 9.905-9.829s-4.444-9.83-9.906-9.83m5.95 12.521c-.073-.119-.265-.19-.554-.334-.289-.143-1.71-.837-1.973-.932-.265-.095-.458-.143-.65.143-.193.287-.746.932-.915 1.123-.169.192-.337.216-.626.073-.288-.143-1.219-.446-2.322-1.422-.858-.76-1.438-1.697-1.607-1.985-.168-.286-.017-.441.127-.584.13-.128.29-.335.433-.502.145-.167.193-.286.289-.478.097-.191.048-.358-.024-.502-.072-.143-.65-1.553-.89-2.127-.241-.574-.482-.478-.65-.478s-.361-.024-.554-.024-.506.072-.77.358c-.265.287-1.01.98-1.01 2.39s1.034 2.773 1.178 2.964c.145.19 1.998 3.179 4.934 4.326s2.936.764 3.466.716c.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363'/%3E%3C/svg%3E");background-position:16px;background-repeat:no-repeat;background-size:32px 32px}.jetpack-whatsapp-button__phonenumber .components-base-control{margin-bottom:0}.jetpack-whatsapp-button__phonenumber input.components-text-control__input{margin-bottom:5px}.jetpack-whatsapp-button__phonenumber select.components-select-control__input{min-height:30px;padding-left:10px;width:105px}.jetpack-whatsapp-button__phonenumber .components-placeholder__label svg{margin-right:6px}.jetpack-whatsapp-error{display:inline-flex;margin-bottom:10px}.jetpack-whatsapp-error span,.jetpack-whatsapp-error svg{color:red;fill:red;vertical-align:middle}.jetpack-whatsapp-error svg{margin:-3px 5px 0 0}.jetpack-whatsapp-button__popover .components-popover__content{min-width:260px;padding:12px}.wp-block[data-align=center] .wp-block-jetpack-whatsapp-button{justify-content:center}.components-seo-placeholder__learn-more{margin-top:1em}.components-seo-upsell__learn-more{margin:1em 0}.components-seo-upsell__button.is-primary{background:#e34c84;color:#fff;padding-right:10px}.components-seo-upsell__button.is-primary:hover{background:#eb6594}.components-seo-upsell__button.is-primary.is-busy{background-image:linear-gradient(-45deg,#e34c84 28%,#ab235a 0,#ab235a 72%,#e34c84 0);background-size:100px 100%}.jetpack-seo-message-box{width:100%}.components-sharing-placeholder__learn-more{margin-top:1em}.jetpack-clipboard-input{display:flex}.jetpack-clipboard-input .components-clipboard-button,.jetpack-clipboard-input .components-text-control__input{min-height:36px}.jetpack-clipboard-input .components-clipboard-button{margin-left:6px}.simple-payments__loading{animation:simple-payments-loading 1.6s ease-in-out infinite}@keyframes simple-payments-loading{0%{opacity:.5}50%{opacity:.7}to{opacity:.5}}.jetpack-simple-payments-wrapper{margin-bottom:1.5em}body .jetpack-simple-payments-wrapper .jetpack-simple-payments-details p{margin:0 0 1.5em;padding:0}.jetpack-simple-payments-description{white-space:pre-wrap}.jetpack-simple-payments-product{display:flex;flex-direction:column}.jetpack-simple-payments-product-image{flex:0 0 30%;margin-bottom:1.5em}.jetpack-simple-payments-image{box-sizing:border-box;min-width:70px;padding-top:100%;position:relative}.jetpack-simple-payments-image img{border:0;border-radius:0;height:auto;left:50%;margin:0;max-height:100%;max-width:100%;padding:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:auto}.jetpack-simple-payments-price p,.jetpack-simple-payments-title p{font-weight:700}.jetpack-simple-payments-purchase-box{align-items:flex-start;display:flex}.jetpack-simple-payments-items{flex:0 0 auto;margin-right:10px}input[type=number].jetpack-simple-payments-items-number{background:#fff;font-size:16px;line-height:1;max-width:60px;padding:4px 8px!important}input[type=number].jetpack-simple-payments-items-number::-webkit-inner-spin-button,input[type=number].jetpack-simple-payments-items-number::-webkit-outer-spin-button{opacity:1}@media screen and (min-width:400px){.jetpack-simple-payments-product{flex-direction:row}.jetpack-simple-payments-product-image+.jetpack-simple-payments-details{flex-basis:70%;padding-left:1em}}.wp-block-jetpack-simple-payments .simple-payments__wrapper{display:grid;grid-template-columns:200px auto;grid-column-gap:10px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__field{margin-bottom:1em}.wp-block-jetpack-simple-payments .simple-payments__field textarea{display:block}.wp-block-jetpack-simple-payments .simple-payments__field input,.wp-block-jetpack-simple-payments .simple-payments__field textarea{font:inherit}.wp-block-jetpack-simple-payments img{max-width:100%}.wp-block-jetpack-simple-payments .simple-payments__field.simple-payments__field-content .components-base-control__label,.wp-block-jetpack-simple-payments .simple-payments__field.simple-payments__field-email .components-base-control__label,.wp-block-jetpack-simple-payments .simple-payments__field.simple-payments__field-title .components-base-control__label{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-text-control__input,.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-textarea-control__input{border-color:#d63638}.wp-block-jetpack-simple-payments .simple-payments__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-simple-payments .simple-payments__price-container .components-base-control__label,.wp-block-jetpack-simple-payments .simple-payments__price-container .components-input-control__label{display:block;font-weight:400;margin:0 0 4px}.wp-block-jetpack-simple-payments .simple-payments__price-container select.components-select-control__input{-webkit-appearance:none;-moz-appearance:none;height:auto;max-width:none;padding:3px 8px 1px}.wp-block-jetpack-simple-payments .simple-payments__price-container div.components-input-control__container{position:relative}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__field-currency{margin-right:5px}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__field-currency .components-input-control__container{width:calc(100% - 5px)}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__field-price .components-base-control__field{display:flex;flex-direction:column}.wp-block-jetpack-simple-payments .simple-payments__price-container .help-message{flex:1 1 100%;margin-top:0}.wp-block-jetpack-simple-payments .simple-payments__price-container .components-input-control__suffix>div{align-items:center;bottom:0;box-sizing:border-box;display:flex;padding:0 4px;pointer-events:none;position:absolute;right:0;top:0}.wp-block-jetpack-simple-payments .simple-payments__field-email .components-text-control__input{max-width:400px}.wp-block-jetpack-simple-payments .simple-payments__field-multiple .components-toggle-control__label{line-height:1.4em}.wp-block-jetpack-simple-payments .simple-payments__field-content .components-textarea-control__input{min-height:32px;padding:8px;width:100%}.jetpack-simple-payments__purchase-link-text .components-base-control{margin-bottom:0}.jetpack-simple-payments__purchase-link-text input.components-text-control__input{margin-bottom:5px}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_button-pause{display:block}.wp-block-jetpack-slideshow{margin-bottom:1.5em;position:relative}.wp-block-jetpack-slideshow [tabindex="-1"]:focus{outline:0}.wp-block-jetpack-slideshow.wp-amp-block>.wp-block-jetpack-slideshow_container{opacity:1}.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay .wp-block-jetpack-slideshow_button-play,.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay.wp-block-jetpack-slideshow__autoplay-playing .wp-block-jetpack-slideshow_button-pause{display:block}.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay.wp-block-jetpack-slideshow__autoplay-playing .wp-block-jetpack-slideshow_button-play{display:none}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container{opacity:0;overflow:hidden;width:100%}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container.wp-swiper-initialized{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container.swiper-container{display:block}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_slide,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_swiper-wrapper{line-height:normal;margin:0;padding:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container ul.wp-block-jetpack-slideshow_swiper-wrapper{display:flex}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide{display:flex;height:100%;width:100%}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide figure{align-items:center;display:flex;height:100%;justify-content:center;margin:0;position:relative;width:100%}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide figure .wp-block-jetpack-slideshow_image{pointer-events:none;-webkit-user-select:none;user-select:none}.wp-block-jetpack-slideshow.alignfull .wp-block-jetpack-slideshow_image,.wp-block-jetpack-slideshow.alignwide .wp-block-jetpack-slideshow_image{max-width:unset;object-fit:cover;width:100vw}.wp-block-jetpack-slideshow .swiper-container-fade .wp-block-jetpack-slideshow_slide:not(.swiper-slide-active){opacity:0!important}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_image{display:block;height:auto;max-height:100%;max-width:100%;object-fit:contain;width:auto}.wp-block-jetpack-slideshow .amp-carousel-button,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-color:#fff;background-position:50%;background-repeat:no-repeat;background-size:contain;border:0;border-radius:4px;box-shadow:none;height:30px;margin:-14px 0 0;opacity:.5;padding:0;transition:opacity .5s ease-out;width:28px}.wp-block-jetpack-slideshow .amp-carousel-button:focus,.wp-block-jetpack-slideshow .amp-carousel-button:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:hover{background-color:#fff;opacity:1}.wp-block-jetpack-slideshow .amp-carousel-button:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus{outline:thin dotted #fff;outline-offset:-4px}.wp-block-jetpack-slideshow .amp-carousel-button{margin:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:none}.wp-block-jetpack-slideshow .swiper-button-next:after,.wp-block-jetpack-slideshow .swiper-button-prev:after,.wp-block-jetpack-slideshow .swiper-container-rtl .swiper-button-next:after,.wp-block-jetpack-slideshow .swiper-container-rtl .swiper-button-prev:after{content:""}.wp-block-jetpack-slideshow .amp-carousel-button-next,.wp-block-jetpack-slideshow .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-prev{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNSIgaGVpZ2h0PSIyNCIgZmlsbD0ibm9uZSI+PG1hc2sgaWQ9ImEiIHdpZHRoPSI4IiBoZWlnaHQ9IjEyIiB4PSI4IiB5PSI2IiBtYXNrLXR5cGU9ImFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNOC41OTggMTYuNTkgMTMuMTU2IDEyIDguNTk4IDcuNDEgMTAuMDAxIDZsNS45NyA2LTUuOTcgNnoiLz48L21hc2s+PGcgbWFzaz0idXJsKCNhKSI+PHBhdGggZmlsbD0iIzAwMCIgZD0iTS4zNDQgMGgyMy44ODJ2MjRILjM0NHoiLz48L2c+PC9zdmc+)}.wp-block-jetpack-slideshow .amp-carousel-button-prev,.wp-block-jetpack-slideshow .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-next{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNSIgaGVpZ2h0PSIyNCIgZmlsbD0ibm9uZSI+PG1hc2sgaWQ9ImEiIHdpZHRoPSI5IiBoZWlnaHQ9IjEyIiB4PSI4IiB5PSI2IiBtYXNrLXR5cGU9ImFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTYuMjA3IDE2LjU5IDExLjY1IDEybDQuNTU3LTQuNTlMMTQuODA0IDZsLTUuOTcgNiA1Ljk3IDZ6Ii8+PC9tYXNrPjxnIG1hc2s9InVybCgjYSkiPjxwYXRoIGZpbGw9IiMwMDAiIGQ9Ik0uNTc5IDBoMjMuODgydjI0SC41Nzl6Ii8+PC9nPjwvc3ZnPg==)}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M6 19h4V5H6zm8-14v14h4V5z'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E");display:none;inset-inline-end:10px;margin-top:0;position:absolute;top:10px;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_autoplay-paused .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow:has(>div[data-autoplay=true]) .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_button-pause{display:block}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption{background-color:#00000080;bottom:0;box-sizing:border-box;color:#fff;cursor:text;left:0;margin:0!important;max-height:100%;opacity:1;padding:.75em;position:absolute;right:0;text-align:initial;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption a{color:inherit}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_caption.gallery-caption{max-height:calc(100% - 68px)}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-custom{bottom:0;display:flex;gap:8px;justify-content:flex-start;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-custom .swiper-pagination-bullet{background:currentColor;color:currentColor;height:8px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:8px}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-custom .swiper-pagination-bullet:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-custom .swiper-pagination-bullet:hover{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-custom .swiper-pagination-bullet:focus{outline:thin dotted;outline-offset:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet-active,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet[selected],.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-custom .swiper-pagination-bullet-active,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-custom .swiper-pagination-bullet[selected]{background-color:currentColor;opacity:1;transform:scale(1)}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-simple,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-custom .swiper-pagination-simple{font-size:14px;line-height:16px;text-align:start;width:100%}.wp-block-jetpack-slideshow_pagination.amp-pagination{text-align:center}.wp-block-jetpack-slideshow_pagination.amp-pagination .swiper-pagination-bullet{border:0;border-radius:100%;display:inline-block;margin:0 4px;padding:0}@media(min-width:600px){.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:block}}.is-email .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container{height:auto;opacity:1;overflow:visible;width:auto}.is-email .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container ul.wp-block-jetpack-slideshow_swiper-wrapper,.is-email .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide figure{display:block;margin-bottom:12px}.is-email .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container ul.wp-block-jetpack-slideshow_swiper-wrapper,.is-email .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide{list-style:none;margin-left:auto;margin-right:auto}.is-email .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide{display:inline-block;height:auto;margin-left:2%!important;margin-right:2%!important;vertical-align:top;width:42%}.is-email .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption{background-color:#0000;bottom:auto;color:inherit;inset-inline-end:auto;padding-top:0;position:relative}.wp-block-jetpack-layout-grid-column>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block>.wp-block-jetpack-slideshow,.wp-block-jetpack-layout-grid-column>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block>.wp-block>.wp-block-jetpack-slideshow{display:grid}.wp-block-jetpack-layout-grid-column>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block>.wp-block-jetpack-slideshow>.swiper-container,.wp-block-jetpack-layout-grid-column>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block>.wp-block>.wp-block-jetpack-slideshow>.swiper-container{width:100%}.wp-block-jetpack-slideshow__add-item{margin-top:4px;width:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button,.wp-block-jetpack-slideshow__add-item .components-form-file-upload{width:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button{border:none;border-radius:0;box-shadow:none;display:flex;flex-direction:column;justify-content:center;min-height:100px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:focus,.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:hover{border:1px solid #949494}.wp-block[data-align=full] .wp-block-jetpack-slideshow_image,.wp-block[data-align=wide] .wp-block-jetpack-slideshow_image{max-width:unset;object-fit:cover;width:100vw}.wp-block-jetpack-slideshow_slide .components-spinner{left:50%;margin-left:-9px;margin-top:-9px;position:absolute;top:50%}.wp-block-jetpack-slideshow_slide.is-transient img{opacity:.3}.jetpack-mdc-icon-button{align-items:center;border:0;box-sizing:border-box;display:inline-flex;justify-content:center;padding:0;position:relative;fill:currentColor;appearance:none;background-color:#0000;color:#fff;cursor:pointer;overflow:hidden;text-decoration:none!important;-webkit-user-select:none;user-select:none}.jetpack-mdc-icon-button.outlined{background-color:#00000080}.jetpack-mdc-icon-button.outlined:hover{background-color:#0000004d}.jetpack-mdc-icon-button.outlined-w{background-color:#fff3}.jetpack-mdc-icon-button.outlined-w:hover{background-color:#ffffff4d}.jetpack-mdc-icon-button.bordered{border:2px solid #fff}.jetpack-mdc-icon-button.circle-icon{border-radius:50%}.wp-story-display-contents{display:contents}.wp-story-app{padding:10px}.wp-story-container{border-radius:15px;display:block;height:320px;list-style:none;margin-bottom:24px;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;position:relative;width:180px;z-index:1;-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:0 2px 12px #00000040;break-inside:avoid;page-break-inside:avoid;transition:box-shadow .3s ease-in-out,transform .3s cubic-bezier(.18,.14,.25,1)}.wp-story-container figure{transition:transform .3s cubic-bezier(.18,.14,.25,1)}.wp-story-container:hover{box-shadow:0 4px 12px #0000004d;transform:scale3d(1.03,1.03,1)}.wp-story-container:hover figure{transform:scale3d(1.07,1.07,1)}.wp-story-container button{background-color:#0000;border:0;box-shadow:none;cursor:pointer;outline-width:0;text-shadow:none}.wp-story-container.wp-story-initialized{opacity:1}.wp-story-container.wp-story-clickable{cursor:pointer}.wp-story-container .wp-story-slide,.wp-story-container .wp-story-wrapper{line-height:normal;list-style-type:none;margin:0;padding:0}.wp-story-container .wp-story-wrapper{background-color:#0e1112;border-radius:15px;bottom:0;display:block;height:100%;left:0;position:absolute;right:0;top:0;z-index:-1}.wp-story-container .wp-story-slide{display:flex;height:100%;width:100%}.wp-story-container .wp-story-slide figure{align-items:center;display:flex;height:100%;justify-content:center;margin:0;object-fit:contain;overflow:hidden;position:relative;width:100%}.wp-story-container .wp-story-slide.is-loading{align-items:center;background-color:#484542;justify-content:center;position:absolute;z-index:1}.wp-story-container .wp-story-slide.is-loading.semi-transparent{background-color:rgba(72,69,66,.498)}.wp-story-container .wp-story-slide.is-loading.transparent{background-color:#0000}@keyframes rotate-spinner{to{transform:rotate(1turn)}}.wp-story-container .wp-story-slide.is-loading .wp-story-loading-spinner{align-items:center;display:flex}.wp-story-container .wp-story-slide.is-loading .wp-story-loading-spinner__inner,.wp-story-container .wp-story-slide.is-loading .wp-story-loading-spinner__outer{animation:3s linear infinite;animation-name:rotate-spinner;border:.1em solid #0000;border-radius:50%;box-sizing:border-box;margin:auto}.wp-story-container .wp-story-slide.is-loading .wp-story-loading-spinner__outer{border-top-color:#fff;font-size:40px;height:40px;width:40px}.wp-story-container .wp-story-slide.is-loading .wp-story-loading-spinner__inner{border-right-color:#c4c4c4;border-top-color:#c4c4c4;height:100%;opacity:.4;width:100%}.wp-story-container .wp-story-image,.wp-story-container .wp-story-video{border:0;display:block;height:auto;margin:0;max-height:100%;max-width:100%;width:auto}.wp-story-container .wp-story-image.wp-story-crop-wide,.wp-story-container .wp-story-video.wp-story-crop-wide{max-width:revert}.wp-story-container .wp-story-image.wp-story-crop-narrow,.wp-story-container .wp-story-video.wp-story-crop-narrow{max-height:revert}.wp-story-container .wp-story-controls,.wp-story-container .wp-story-meta{display:none}.wp-story-container .wp-story-overlay{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;width:100%;z-index:1}.wp-story-container .wp-story-overlay .wp-story-button-play,.wp-story-container .wp-story-overlay .wp-story-button-replay{cursor:pointer}.wp-story-container .wp-story-overlay .wp-story-embed-icon,.wp-story-container .wp-story-overlay .wp-story-embed-icon-expand{align-items:center;background-color:#00000080;border-radius:5px;color:#fff;display:flex;margin:15px;padding:5px 3px;position:absolute;right:0;top:0}.wp-story-container .wp-story-overlay .wp-story-embed-icon *,.wp-story-container .wp-story-overlay .wp-story-embed-icon-expand *{margin:0 2px}.wp-story-container .wp-story-overlay .wp-story-embed-icon svg,.wp-story-container .wp-story-overlay .wp-story-embed-icon-expand svg{fill:#fff;height:20px;width:20px}.wp-story-container .wp-story-overlay .wp-story-embed-icon span,.wp-story-container .wp-story-overlay .wp-story-embed-icon-expand span{color:#fff;font-family:sans-serif;font-size:16px;font-weight:600;line-height:20px}.wp-story-container .wp-story-overlay .wp-story-embed-icon-expand{background-color:#0000}.wp-story-container .wp-story-overlay .wp-story-embed-icon-expand svg{filter:drop-shadow(0 0 2px rgba(0,0,0,.6))}.wp-story-container.wp-story-disabled .wp-story-overlay,.wp-story-container.wp-story-ended .wp-story-overlay{background-color:#fff6}.wp-story-container .wp-story-next-slide,.wp-story-container .wp-story-prev-slide{display:none;position:absolute}.wp-story-container .wp-story-next-slide button,.wp-story-container .wp-story-prev-slide button{border-width:0}.wp-story-container .wp-story-next-slide button:hover,.wp-story-container .wp-story-prev-slide button:hover{border-width:2px}.wp-story-container .wp-story-prev-slide{left:-84px;margin:auto}.wp-story-container .wp-story-next-slide{margin:auto;right:-84px}.wp-story-container .wp-story-pagination{position:absolute;text-align:center;z-index:2}.wp-story-container .wp-story-pagination-bullets{bottom:0;display:flex;left:0;margin:7px 10px;overflow:hidden;position:absolute;right:0;top:auto;transition:flex-basis 1s ease-in-out}.wp-story-container .wp-story-pagination-bullets .wp-story-pagination-bullet{flex:1;justify-content:space-between;margin:0 2px;opacity:1;padding:6px 0;vertical-align:top}.wp-story-container .wp-story-pagination-bullets .wp-story-pagination-bullet .wp-story-pagination-bullet-bar{background:#fff9;height:4px;min-width:12px;width:100%}.wp-story-container .wp-story-pagination-bullets .wp-story-pagination-bullet .wp-story-pagination-bullet-bar-progress{background-color:#fff;height:4px;opacity:1;transition:width .1s ease;width:0}.wp-story-container .wp-story-pagination-bullets .wp-story-pagination-ellipsis{flex:0 0 4px}.wp-story-container .wp-story-pagination-bullets .wp-story-pagination-ellipsis .wp-story-pagination-bullet-bar{min-width:6px}.wp-story-container .wp-story-controls{bottom:30px;display:none;flex-direction:row;justify-content:space-between;margin:0 10px;position:absolute;width:64px;z-index:3}@media(max-width:782px){.wp-story-container .wp-story-controls{bottom:50px;margin:0 16px}}.wp-story-container.wp-story-with-controls{border-radius:0;box-shadow:none!important;overflow:visible;transition:none!important}.wp-story-container.wp-story-with-controls .wp-story-wrapper{border-radius:15px;box-shadow:0 2px 12px #00000040;overflow:hidden}.wp-story-container.wp-story-with-controls figure{transform:none!important;transition:none!important}.wp-story-container.wp-story-with-controls:hover{box-shadow:none!important;transform:none!important}.wp-story-container.wp-story-with-controls:hover figure{transform:none}.wp-story-container.wp-story-with-controls .wp-story-next-slide,.wp-story-container.wp-story-with-controls .wp-story-prev-slide{display:block}.wp-story-container.wp-story-with-controls .wp-story-prev-slide{left:-48px;margin:auto}.wp-story-container.wp-story-with-controls .wp-story-next-slide{margin:auto;right:-48px}.wp-story-container.wp-story-with-controls .wp-story-controls{display:flex}@media(max-width:782px){.wp-story-container.wp-story-with-controls .wp-story-controls{bottom:30px;margin:0 10px}}.wp-story-fullscreen.wp-story-app{bottom:0;height:100%;left:0;margin:0;max-width:100%!important;padding:0;position:fixed;right:0;top:0;transform:translateZ(0);-webkit-user-select:none;user-select:none;width:100%!important;z-index:9999999999;-webkit-touch-callout:none}.wp-story-fullscreen.wp-story-container{border-radius:0;box-shadow:none;height:100%;margin:auto;max-height:100%;max-width:100%;overflow:initial;width:100%}.wp-story-fullscreen.wp-story-container,.wp-story-fullscreen.wp-story-container figure{transform:none;transition:none!important}.wp-story-fullscreen.wp-story-container:focus{outline:none}.wp-story-fullscreen.wp-story-container:before{box-shadow:none}.wp-story-fullscreen.wp-story-container:before:hover{opacity:0;transition:none!important}.wp-story-fullscreen.wp-story-container .wp-story-wrapper{border-radius:0;height:auto;margin-bottom:84px;margin-top:84px;overflow:initial}@media(max-width:782px){.wp-story-fullscreen.wp-story-container .wp-story-wrapper{margin-bottom:0;margin-top:0}}.wp-story-fullscreen.wp-story-container .wp-story-slide{height:100%;width:auto}.wp-story-fullscreen.wp-story-container .wp-story-slide.is-loading{width:100%}.wp-story-fullscreen.wp-story-container .wp-story-meta{align-items:center;color:#fff;display:flex;flex-direction:row;font-family:sans-serif;line-height:20px;padding:20px 0}@media(max-width:782px){.wp-story-fullscreen.wp-story-container .wp-story-meta{background:#000;background:linear-gradient(180deg,#000000a1,#0000);padding:16px}}.wp-story-fullscreen.wp-story-container .wp-story-meta .wp-story-icon{background-color:#fff;border:2px solid #fff;border-radius:4px;flex-shrink:0;height:40px;margin:0 16px 0 0;width:40px}.wp-story-fullscreen.wp-story-container .wp-story-meta .wp-story-icon img{height:100%;text-align:center;width:100%}@media(max-width:782px){.wp-story-fullscreen.wp-story-container .wp-story-meta .wp-story-icon{height:24px;margin:0 12px 0 0;width:24px}}.wp-story-fullscreen.wp-story-container .wp-story-meta .wp-story-title{display:-webkit-box;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical}@media(max-width:782px){.wp-story-fullscreen.wp-story-container .wp-story-meta .wp-story-title{font-size:12px}}.wp-story-fullscreen.wp-story-container .wp-story-meta .wp-story-exit-fullscreen{margin-left:auto;min-height:24px;min-width:24px;order:3}.wp-story-fullscreen.wp-story-container .wp-story-overlay{margin-bottom:84px;margin-top:84px}.wp-story-fullscreen.wp-story-container .wp-story-overlay .wp-story-embed-icon,.wp-story-fullscreen.wp-story-container .wp-story-overlay .wp-story-embed-icon-expand{display:none}@media(max-width:782px){.wp-story-fullscreen.wp-story-container .wp-story-overlay{bottom:76px;margin-bottom:0;margin-top:0;top:76px}.wp-story-fullscreen.wp-story-container.wp-story-disabled .wp-story-overlay,.wp-story-fullscreen.wp-story-container.wp-story-ended .wp-story-overlay{bottom:0;top:0}}.wp-story-fullscreen.wp-story-container .wp-story-next-slide,.wp-story-fullscreen.wp-story-container .wp-story-prev-slide{display:block}@media(max-width:782px){.wp-story-fullscreen.wp-story-container .wp-story-next-slide,.wp-story-fullscreen.wp-story-container .wp-story-prev-slide{bottom:0;display:block;height:100%;position:absolute;top:0}.wp-story-fullscreen.wp-story-container .wp-story-next-slide button,.wp-story-fullscreen.wp-story-container .wp-story-prev-slide button{display:none}.wp-story-fullscreen.wp-story-container .wp-story-prev-slide{left:0;width:33.33%}.wp-story-fullscreen.wp-story-container .wp-story-next-slide{right:0;width:66.66%}}.wp-story-fullscreen.wp-story-container .wp-story-controls{bottom:20px;display:flex;flex-direction:row;justify-content:space-between;margin:0;position:absolute;width:88px}@media(max-width:782px){.wp-story-fullscreen.wp-story-container .wp-story-controls{bottom:36px;margin:0 16px}}.wp-story-fullscreen.wp-story-container .wp-story-pagination-bullets{bottom:42px;display:flex;margin:0;padding:14px 0;position:absolute;top:auto}.wp-story-fullscreen.wp-story-container .wp-story-pagination-bullets .wp-story-pagination-bullet{justify-content:space-between}.wp-story-fullscreen.wp-story-container .wp-story-pagination-bullets .wp-story-pagination-bullet:first-child{margin-left:0}.wp-story-fullscreen.wp-story-container .wp-story-pagination-bullets .wp-story-pagination-bullet:last-child{margin-right:0}@media(max-width:782px){.wp-story-fullscreen.wp-story-container .wp-story-pagination-bullets{bottom:0;padding:10px 16px}}.wp-story-background{background-color:#0e1112;bottom:0;display:block;left:0;position:absolute;right:0;top:0;z-index:-2}.wp-story-background svg{height:0;width:0}.wp-story-background img{height:100%;width:100%}.wp-story-background .wp-story-background-dark{bottom:0;left:0;opacity:.12;position:absolute;right:0;top:0}@supports((-webkit-backdrop-filter:none) or (backdrop-filter:none)){.wp-story-background .wp-story-background-dark{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}}.wp-story-background .wp-story-background-image{background-position:0;background-repeat:no-repeat;background-size:100% auto;display:none;height:100%;width:100%}@supports not ((-webkit-backdrop-filter:none) or (backdrop-filter:none)){.wp-story-background .wp-story-background-image{filter:blur(18px);filter:url(#gaussian-blur-18);filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius="18")}}.wp-story-background .wp-story-background-blur{background-color:rgba(14,17,18,.878);bottom:0;left:0;position:absolute;right:0;top:0}@supports((-webkit-backdrop-filter:none) or (backdrop-filter:none)){.wp-story-background .wp-story-background-blur{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}}html.wp-story-in-fullscreen{overflow:hidden;scroll-behavior:auto}body.wp-story-in-fullscreen{height:100%;overflow:hidden;padding-right:15px;position:fixed;width:100%}.wp-block-jetpack-story__add-item{margin-top:4px;width:100%}.wp-block-jetpack-story__add-item .components-button.wp-block-jetpack-story__add-item-button,.wp-block-jetpack-story__add-item .components-form-file-upload{height:100%;width:100%}.wp-block-jetpack-story__add-item .components-button.wp-block-jetpack-story__add-item-button{border:none;border-radius:0;box-shadow:none;display:flex;flex-direction:column;justify-content:center;min-height:100px}.wp-block-jetpack-story__add-item .components-button.wp-block-jetpack-story__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-story__add-item .components-button.wp-block-jetpack-story__add-item-button:focus,.wp-block-jetpack-story__add-item .components-button.wp-block-jetpack-story__add-item-button:hover{border:1px solid #949494}.wp-story-container .wp-story-next-slide button,.wp-story-container .wp-story-prev-slide button{background-color:#0000;border:1px solid #50575e;color:#50575e;height:36px!important;outline:0;width:36px!important}.wp-story-container .wp-story-next-slide button:hover,.wp-story-container .wp-story-prev-slide button:hover{background-color:#0000;border:1px solid #50575e}.wp-story-container .wp-story-next-slide button:hover i,.wp-story-container .wp-story-prev-slide button:hover i{color:#3381b8}.jetpack-inspector-notice span.jetpack-subscribe-notice-visibility{margin:0;padding:0;width:100%}.jetpack-newsletter-link{text-decoration:none}.jetpack-newsletter-access-radio-buttons input[type=radio]{flex-shrink:0}.jetpack-newsletter-access-radio-buttons label{text-wrap:balance}.jetpack-subscribe-newsletters-panel .edit-post-post-misconfiguration__warning{font-size:12px;margin:0}.jetpack-subscribe-newsletters-panel .edit-post-post-misconfiguration__warning .components-notice__content{margin-right:0}.jetpack-editor-post-tiers{padding-left:35px;padding-top:5px}.jetpack-subscribe-affirmation-loading{background:#ccc;color:#ccc}.is-style-compact .is-not-subscriber .wp-block-button__link,.is-style-compact .is-not-subscriber .wp-block-jetpack-subscriptions__button{border-end-start-radius:0!important;border-start-start-radius:0!important;margin-inline-start:0!important}.is-style-compact .is-not-subscriber .components-text-control__input,.is-style-compact .is-not-subscriber p#subscribe-email input[type=email]{border-end-end-radius:0!important;border-start-end-radius:0!important}.is-style-compact:not(.wp-block-jetpack-subscriptions__use-newline) .components-text-control__input{border-inline-end-width:0!important}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form-container{display:flex;flex-direction:column}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline:not(.wp-block-jetpack-subscriptions__use-newline) .is-not-subscriber .wp-block-jetpack-subscriptions__form-elements{align-items:flex-start;display:flex}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline:not(.wp-block-jetpack-subscriptions__use-newline) p#subscribe-submit{display:flex;justify-content:center}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form .wp-block-jetpack-subscriptions__button,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form .wp-block-jetpack-subscriptions__textfield .components-text-control__input,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form button,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form input[type=email],.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form .wp-block-jetpack-subscriptions__button,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form .wp-block-jetpack-subscriptions__textfield .components-text-control__input,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form button,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form input[type=email]{box-sizing:border-box;cursor:pointer;line-height:1.3;min-width:auto!important;white-space:nowrap!important}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form input[type=email]::placeholder,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form input[type=email]:disabled,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form input[type=email]::placeholder,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form input[type=email]:disabled{color:currentColor;opacity:.5}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form .wp-block-jetpack-subscriptions__button,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form button,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form .wp-block-jetpack-subscriptions__button,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form button{border-color:#0000;border-style:solid}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form .wp-block-jetpack-subscriptions__textfield,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form p#subscribe-email,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form .wp-block-jetpack-subscriptions__textfield,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form p#subscribe-email{background:#0000;flex-grow:1}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form .wp-block-jetpack-subscriptions__textfield .components-base-control__field,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form .wp-block-jetpack-subscriptions__textfield .components-text-control__input,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form .wp-block-jetpack-subscriptions__textfield input[type=email],.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form p#subscribe-email .components-base-control__field,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form p#subscribe-email .components-text-control__input,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form p#subscribe-email input[type=email],.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form .wp-block-jetpack-subscriptions__textfield .components-base-control__field,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form .wp-block-jetpack-subscriptions__textfield .components-text-control__input,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form .wp-block-jetpack-subscriptions__textfield input[type=email],.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form p#subscribe-email .components-base-control__field,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form p#subscribe-email .components-text-control__input,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form p#subscribe-email input[type=email]{height:auto;margin:0;width:100%}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form p#subscribe-email,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form p#subscribe-submit,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form p#subscribe-email,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form p#subscribe-submit{margin:0}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .wp-block-jetpack-subscriptions__subscount{font-size:16px;margin:8px 0;text-align:end}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__form-elements{display:block}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__button,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline button{display:inline-block;max-width:100%}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__subscount{text-align:start}#subscribe-submit.is-link{text-align:center;width:auto!important}#subscribe-submit.is-link a{margin-left:0!important;margin-top:0!important;width:auto!important}.jetpack-inspector-notice{align-items:center;background:#f0f0f0;border-radius:4px;display:flex;justify-content:space-between;margin:0 16px 24px;padding:24px}.jetpack-inspector-notice>.jetpack-logo{margin-left:12px}.components-tab-panel__tab-content div:first-child .jetpack-inspector-notice{margin-top:24px}@media(min-width:660px){.jetpack-email-preview{width:646px}}.jetpack-email-preview h1{margin-top:10px}.jetpack-email-preview .components-modal__content{margin-top:52px;margin-inline-start:20px;margin-bottom:10px}.jetpack-email-preview__img{height:110px;margin-inline-start:auto;padding-inline-end:30px;padding-inline-start:80px}.jetpack-email-preview__email-sent{color:#2fb41f}.jetpack-email-preview__email-sent .jetpack-email-preview__sent_text{font-size:20px}.jetpack-email-preview__check{fill:currentColor}.jetpack-email-preview__email>div{margin-bottom:0}.jetpack-email-preview__email .components-text-control__input{background-color:#dcdcde;color:#646970;font-size:14px;height:44px;min-width:266px;padding-inline-start:13px}.jetpack-email-preview__main{min-width:462px}.jetpack-email-preview__button{align-items:center;height:44px;justify-content:center;width:80px}.jetpack-subscribe-post-publish-panel .jetpack-inspector-notice,.jetpack-subscribe-pre-publish-panel .jetpack-inspector-notice{margin:0}.jetpack-subscribe-post-publish-panel .jetpack-subscribe-reader-count,.jetpack-subscribe-pre-publish-panel .jetpack-subscribe-reader-count{font-weight:700;white-space:nowrap}.jetpack-subscribe-post-publish-panel__heading,.jetpack-subscribe-pre-publish-panel__heading{font-weight:400;margin-inline-start:3px}.jetpack-subscribe-post-publish-panel .components-notice__content,.jetpack-subscribe-pre-publish-panel .components-notice__content{margin-top:0}.jetpack-subscribe-post-publish-panel__notice.components-notice,.jetpack-subscribe-pre-publish-panel__notice.components-notice{margin:0;padding:0}.jetpack-subscribe-post-publish-panel__notice.components-notice.is-info,.jetpack-subscribe-pre-publish-panel__notice.components-notice.is-info{border-inline-start-color:#fff}.jetpack-subscribe-post-publish-panel__notice.components-notice.is-info a,.jetpack-subscribe-pre-publish-panel__notice.components-notice.is-info a{text-decoration:underline}.paid-newsletters-post-publish-panel__external_icon{height:1.55em;margin:-.2em .1em 0;vertical-align:middle;fill:currentColor}.paid-newsletters-post-publish-panel .post-publish-panel__postpublish-buttons .components-button{padding-bottom:.4em;padding-top:.5em}.paid-newsletters-post-publish-panel .components-panel__body-toggle svg{margin:0 0 0 .5em}.paid-newsletters-post-publish-panel p{margin-top:0}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__item img,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item img{border-radius:50%}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row{flex-grow:1;width:100%}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-1 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-1 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-1 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-1 .tiled-gallery__col{width:100%}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-2 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-2 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-2 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-2 .tiled-gallery__col{width:calc(50% - 2px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-3 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-3 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-3 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-3 .tiled-gallery__col{width:calc(33.33333% - 2.66667px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-4 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-4 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-4 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-4 .tiled-gallery__col{width:calc(25% - 3px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-5 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-5 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-5 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-5 .tiled-gallery__col{width:calc(20% - 3.2px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-6 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-6 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-6 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-6 .tiled-gallery__col{width:calc(16.66667% - 3.33333px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-7 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-7 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-7 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-7 .tiled-gallery__col{width:calc(14.28571% - 3.42857px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-8 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-8 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-8 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-8 .tiled-gallery__col{width:calc(12.5% - 3.5px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-9 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-9 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-9 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-9 .tiled-gallery__col{width:calc(11.11111% - 3.55556px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-10 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-10 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-10 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-10 .tiled-gallery__col{width:calc(10% - 3.6px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-11 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-11 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-11 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-11 .tiled-gallery__col{width:calc(9.09091% - 3.63636px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-12 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-12 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-12 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-12 .tiled-gallery__col{width:calc(8.33333% - 3.66667px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-13 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-13 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-13 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-13 .tiled-gallery__col{width:calc(7.69231% - 3.69231px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-14 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-14 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-14 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-14 .tiled-gallery__col{width:calc(7.14286% - 3.71429px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-15 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-15 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-15 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-15 .tiled-gallery__col{width:calc(6.66667% - 3.73333px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-16 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-16 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-16 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-16 .tiled-gallery__col{width:calc(6.25% - 3.75px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-17 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-17 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-17 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-17 .tiled-gallery__col{width:calc(5.88235% - 3.76471px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-18 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-18 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-18 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-18 .tiled-gallery__col{width:calc(5.55556% - 3.77778px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-19 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-19 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-19 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-19 .tiled-gallery__col{width:calc(5.26316% - 3.78947px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-20 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-20 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-20 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-20 .tiled-gallery__col{width:calc(5% - 3.8px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__item img,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__item img,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item img,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__item img{aspect-ratio:1}.wp-block-jetpack-tiled-gallery .is-style-columns .tiled-gallery__item,.wp-block-jetpack-tiled-gallery .is-style-rectangular .tiled-gallery__item,.wp-block-jetpack-tiled-gallery.is-style-columns .tiled-gallery__item,.wp-block-jetpack-tiled-gallery.is-style-rectangular .tiled-gallery__item{display:flex}.wp-block-jetpack-tiled-gallery .has-rounded-corners-1 .tiled-gallery__item img{border-radius:1px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-2 .tiled-gallery__item img{border-radius:2px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-3 .tiled-gallery__item img{border-radius:3px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-4 .tiled-gallery__item img{border-radius:4px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-5 .tiled-gallery__item img{border-radius:5px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-6 .tiled-gallery__item img{border-radius:6px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-7 .tiled-gallery__item img{border-radius:7px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-8 .tiled-gallery__item img{border-radius:8px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-9 .tiled-gallery__item img{border-radius:9px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-10 .tiled-gallery__item img{border-radius:10px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-11 .tiled-gallery__item img{border-radius:11px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-12 .tiled-gallery__item img{border-radius:12px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-13 .tiled-gallery__item img{border-radius:13px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-14 .tiled-gallery__item img{border-radius:14px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-15 .tiled-gallery__item img{border-radius:15px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-16 .tiled-gallery__item img{border-radius:16px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-17 .tiled-gallery__item img{border-radius:17px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-18 .tiled-gallery__item img{border-radius:18px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-19 .tiled-gallery__item img{border-radius:19px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-20 .tiled-gallery__item img{border-radius:20px}.tiled-gallery__gallery{display:flex;flex-wrap:wrap;padding:0;width:100%}.tiled-gallery__row{display:flex;flex-direction:row;justify-content:center;margin:0;width:100%}.tiled-gallery__row+.tiled-gallery__row{margin-top:4px}.tiled-gallery__col{display:flex;flex-direction:column;justify-content:center;margin:0}.tiled-gallery__col+.tiled-gallery__col{margin-inline-start:4px}.tiled-gallery__item{flex-grow:1;justify-content:center;margin:0;overflow:hidden;padding:0;position:relative}.tiled-gallery__item.filter__black-and-white{filter:grayscale(100%)}.tiled-gallery__item.filter__sepia{filter:sepia(100%)}.tiled-gallery__item.filter__1977{filter:contrast(1.1) brightness(1.1) saturate(1.3);position:relative}.tiled-gallery__item.filter__1977 img{width:100%;z-index:1}.tiled-gallery__item.filter__1977:before{z-index:2}.tiled-gallery__item.filter__1977:after,.tiled-gallery__item.filter__1977:before{content:"";display:block;height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.tiled-gallery__item.filter__1977:after{background:#f36abc4d;mix-blend-mode:screen;z-index:3}.tiled-gallery__item.filter__clarendon{filter:contrast(1.2) saturate(1.35);position:relative}.tiled-gallery__item.filter__clarendon img{width:100%;z-index:1}.tiled-gallery__item.filter__clarendon:before{z-index:2}.tiled-gallery__item.filter__clarendon:after,.tiled-gallery__item.filter__clarendon:before{content:"";display:block;height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.tiled-gallery__item.filter__clarendon:after{z-index:3}.tiled-gallery__item.filter__clarendon:before{background:#7fbbe333;mix-blend-mode:overlay}.tiled-gallery__item.filter__gingham{filter:brightness(1.05) hue-rotate(-10deg);position:relative}.tiled-gallery__item.filter__gingham img{width:100%;z-index:1}.tiled-gallery__item.filter__gingham:before{z-index:2}.tiled-gallery__item.filter__gingham:after,.tiled-gallery__item.filter__gingham:before{content:"";display:block;height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.tiled-gallery__item.filter__gingham:after{background:#e6e6fa;mix-blend-mode:soft-light;z-index:3}.tiled-gallery__item+.tiled-gallery__item{margin-top:4px}.tiled-gallery__item:focus-within{box-shadow:0 0 0 2px var(--wp-admin-theme-color);overflow:visible}.tiled-gallery__item>img{background-color:#0000001a}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;object-fit:cover;object-position:center;padding:0;width:100%}.is-email .tiled-gallery__gallery{display:block}@keyframes tiled-gallery-img-placeholder{0%{background-color:#f6f7f7}50%{background-color:#f6f7f780}to{background-color:#f6f7f7}}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item.is-transient img,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__item.is-transient img{margin-bottom:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__wrapper{padding-left:4px;padding-right:4px}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img:focus{outline:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img{animation:tiled-gallery-img-placeholder 1.6s ease-in-out infinite}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected{filter:none;outline:4px solid #0085ba}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:after,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:before{content:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient{height:100%;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient img{background-position:50%;background-size:cover;height:100%;opacity:.3;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__inline-menu,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__move-menu{background:#fff;border:1px solid #1e1e1e9e;border-radius:2px;transition:box-shadow .2s ease-out}@media(prefers-reduced-motion:reduce){.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__inline-menu,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__move-menu{transition-delay:0s;transition-duration:0s}}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__inline-menu:hover,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__move-menu:hover{box-shadow:0 .7px 1px #0000001a,0 1.2px 1.7px -.2px #0000001a,0 2.3px 3.3px -.5px #0000001a}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__inline-menu .components-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__move-menu .components-button{color:#1e1e1e9e;height:24px;padding:2px}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__inline-menu .components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-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 .wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__inline-menu .components-button,.columns-7 .wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__move-menu .components-button,.columns-8 .wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__inline-menu .components-button,.columns-8 .wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__move-menu .components-button{height:inherit;padding:0;width:inherit}}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__inline-menu .components-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__move-menu .components-button:focus{color:inherit}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item{margin-top:4px;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-form-file-upload{width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button{border:none;border-radius:0;box-shadow:none;display:flex;flex-direction:column;justify-content:center;min-height:100px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:hover{border:1px solid #949494}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__move-menu{display:inline-flex;margin:8px;z-index:20}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__move-menu .components-button{color:#0000}@media(min-width:600px){.columns-7 .wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu,.columns-7 .wp-block-jetpack-tiled-gallery .tiled-gallery__item__move-menu,.columns-8 .wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu,.columns-8 .wp-block-jetpack-tiled-gallery .tiled-gallery__item__move-menu{padding:2px}}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu{position:absolute;right:-2px;top:-2px}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__move-menu{left:-2px;position:absolute;top:-2px}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__move-backward,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__move-forward,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__remove{padding:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item .components-spinner{left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%)}.block-editor-block-preview__content .wp-block-jetpack-tiled-gallery .block-editor-media-placeholder{display:none}.tiled-gallery__filter-picker-menu{padding:7px}.tiled-gallery__filter-picker-menu .components-menu-item__button+.components-menu-item__button{margin-top:2px}.tiled-gallery__filter-picker-menu .components-menu-item__button.is-active{box-shadow:0 0 0 2px #949494!important;color:#1e1e1e}.wp-block-jetpack-tock.aligncenter{width:-moz-fit-content;width:fit-content}.jetpack-tock-url-settings{margin:8px}.jetpack-tock-url-input{max-width:300px;min-width:auto;width:90vw}.jetpack-tock-url-input .components-text-control__input{padding:10px 36px 10px 10px}.jetpack-tock-url-instructions{margin:16px}.jetpack-tock-url-input-wrapper{position:relative}.jetpack-tock-url-input-action{position:absolute;right:14px;top:0}.resumable-upload{align-items:flex-start;background:#fff;border:1px solid #1e1e1e;border-radius:2px;box-sizing:border-box;color:#1e1e1e;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:20px 0}.resumable-upload__editor{display:flex;flex-direction:column;justify-content:space-between;width:100%}.resumable-upload__editor-col{padding-left:10px;width:100%}.resumable-upload__editor-col:first-child{padding-left:0}.resumable-upload__editor-thumb-placeholder{align-content:center;aspect-ratio:16/9;background-color:#000;color:#fff;display:flex;flex-direction:column;justify-content:center;margin-bottom:10px;text-align:center;width:100%}.resumable-upload__editor-thumb-placeholder img,.uploading-editor__video{max-height:100%;object-fit:contain}.uploading-editor__video{aspect-ratio:16/9;background-color:#000}.resumable-upload__error,.resumable-upload__status{border-top:1px solid #e0e0e0;box-sizing:border-box;margin-top:24px;width:100%}.resumable-upload__status{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:12px 24px;padding:20px 20px 0}.resumable-upload__error{padding:0 20px}.resumable-upload__file-info{display:flex;flex-direction:row}.resumable-upload__file-size{color:#757575;margin-left:12px}.resumable-upload__progress{background:#d2d2d2;border-radius:4px;box-sizing:border-box;height:8px;max-width:160px;overflow:hidden;width:100%}.resumable-upload__progress-loaded{background:var(--wp-admin-theme-color);color:#fff;height:100%;min-height:8px;text-align:center;transition:width .3s ease}.resumable-upload__select-file{align-items:center;display:flex;flex-direction:row}.resumable-upload__select-file-name{margin-left:12px}.resumable-upload__actions{align-items:center;display:flex;flex-direction:row;justify-content:space-between;justify-self:flex-end;margin-left:auto;width:-moz-fit-content;width:fit-content}.resumable-upload__actions .components-button.is-link{padding:0;text-decoration:none}.resumable-upload__actions .components-button.is-link:focus{box-shadow:none}.resumable-upload__error-text{color:#cc1818;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin-top:16px}.resumable-upload__error-cancel{margin-left:12px;margin-top:16px}.uploading-editor{width:100%}.uploading-editor__title input{margin-left:0;margin-right:0}.uploading-editor__frame-selector{display:flex;flex-direction:column}.uploading-editor__fields{display:block;padding:0 20px}.uploading-editor__content{padding:0 3px}.uploading-editor__video-container{position:relative}.uploading-editor__video-container:hover .uploading-editor__play-icon{opacity:0}.uploading-editor__play-icon{height:130px;left:50%;margin:-65px 0 0 -65px;opacity:1;position:absolute;top:50%;transition:opacity .3s ease-out;width:130px}.resumable-upload__editor-thumb-placeholder .uploading-editor__play-icon{margin-top:-91px}.uploading-editor__scrubber-help{color:#757575}.uploading-editor__upload-link{color:var(--wp-admin-theme-color)!important;cursor:pointer;text-decoration:underline!important}.uploading-editor__video-poster{left:0;object-fit:cover;position:absolute;top:0}.uploading-editor__range{margin-top:-19px}.uploading-editor__range .components-range-control__track{background-color:#272526;border-radius:0;height:8px;opacity:.7}.uploading-editor__range .components-range-control__slider{padding-bottom:0}.uploading-editor__range .components-base-control__field{margin-bottom:0}.uploading-editor__range .components-range-control__wrapper span:first-of-type{background-color:#d9d9d9;border-radius:0;height:8px;opacity:.8}.uploading-editor__range .components-range-control__wrapper span:last-of-type{display:none}.resumable-upload__editor-thumb-placeholder img{object-fit:cover}.poster-selector__buttons{text-align:right}.h2NGkiVs1r1nf85LtJpF{padding:16px}.k3Apzwo3v9n0IaHbB8tf{--spacing-base:8px;margin:0 0 calc(var(--spacing-base)*3) 0}.is-beta{position:relative;transition:box-shadow .5s linear}.is-beta.is-opened{box-shadow:inset 0 0 3px #2fb41f}.is-beta:before{background-color:#2fb41f;border-radius:4px;color:#fff;content:"BETA";font-size:11px;font-weight:600;height:24px;line-height:24px;opacity:1;padding:0 5px;position:absolute;right:16px;top:12px;transition:visibility .5s,opacity .5s linear;visibility:visible;z-index:10000}.is-beta:focus,.is-beta:hover{box-shadow:none}.is-beta:focus:before,.is-beta:hover:before{opacity:0;visibility:hidden}.no-videopress-media-placeholder .components-placeholder__fieldset{align-items:flex-start;flex-direction:row-reverse;justify-content:flex-end}.no-videopress-media-placeholder .components-placeholder__fieldset button{display:none}.no-videopress-media-placeholder .components-placeholder__fieldset .block-editor-media-placeholder__url-input-container button,.no-videopress-media-placeholder .components-placeholder__fieldset .no-videopress-disabled-button{display:inline-flex}.no-videopress-media-placeholder .components-placeholder__fieldset .no-videopress-disabled-button:last-child{margin-right:12px}.videopress-block-hide{display:none}.seekbar-color-settings__panel .components-panel__body.is-opened{padding:0}.seekbar-color-settings__panel .components-panel__body{border-top:none}.videopress-block-tracks-editor>.components-popover__content{width:360px}.videopress-block-tracks-editor__track-list-track{align-items:center;display:flex;min-height:23px;padding:4px 0 4px 12px;place-content:space-between}.videopress-block-tracks-editor__track-list-track-delete{align-items:center;display:flex}.videopress-block-tracks-editor__single-track-editor-label-language{display:flex;margin-top:12px}.videopress-block-tracks-editor__single-track-editor-label-language>.components-base-control{width:50%}.videopress-block-tracks-editor__single-track-editor-label-language>.components-base-control:first-child{margin-right:16px}.videopress-block-tracks-editor__single-track-editor-kind-select{max-width:240px}.videopress-block-tracks-editor__single-track-editor-buttons-container{display:flex;margin-top:32px;min-height:36px;place-content:space-between}.videopress-block-tracks-editor__single-track-editor-upload-file-help{color:#757575;font-size:12px;margin-top:12px}.videopress-block-tracks-editor__single-track-editor-label{color:#757575;display:block;font-size:11px;font-weight:500;margin-bottom:12px;margin-top:4px;text-transform:uppercase}.videopress-block-tracks-editor>.components-popover__content>div,.videopress-block-tracks-editor__add-tracks-container .components-menu-group__label,.videopress-block-tracks-editor__track-list .components-menu-group__label{padding:0}.videopress-block-tracks-editor__add-tracks-container,.videopress-block-tracks-editor__single-track-editor,.videopress-block-tracks-editor__track-list{padding:12px}.videopress-block-tracks-editor__single-track-editor .components-base-control .components-base-control__label{margin-bottom:4px}.videopress-block-tracks-editor__single-track-editor .components-base-control .components-base-control__field{margin-bottom:12px}.videopress-block-tracks-editor__single-track-editor .components-base-control .components-text-control__input{margin-left:0}.videopress-block-tracks-editor__single-track-editor .components-base-control .components-input-control__label{margin-bottom:4px}.videopress-block-tracks-editor__single-track-editor-upload-file-label{display:flex}.videopress-block-tracks-editor__single-track-editor-upload-file-label .components-form-file-upload,.videopress-block-tracks-editor__single-track-editor-upload-file-label .videopress-block-tracks-editor__single-track-editor-upload-file-label-name{margin-inline-start:8px}.videopress-block-tracks-editor__single-track-editor-error{color:#cc1818;padding:12px 0}.uploader-block__logo{align-items:center;display:flex;flex-direction:row;font-size:24px;line-height:29px;margin-bottom:12px;padding:0 20px}.uploader-block__logo-text{margin-left:10px}.uploader-block__upload-complete{align-items:center;border-top:1px solid #e0e0e0;box-sizing:border-box;display:flex;justify-content:space-between;margin-top:24px;padding:20px 20px 0;width:100%}[data-type="jetpack/wordads"][data-align=center] .jetpack-wordads__ad{margin:0 auto}.jetpack-wordads__ad{display:flex;flex-direction:column;max-width:100%;overflow:hidden}.jetpack-wordads__ad .components-placeholder{flex-grow:2}.jetpack-wordads__ad .components-toggle-control__label{line-height:1.4em}.jetpack-wordads__ad .components-base-control__field,.wp-block-jetpack-wordads__format-picker{padding:7px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button+.components-menu-item__button{margin-top:2px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button.is-active{box-shadow:0 0 0 2px #949494!important;color:#1e1e1e}.jetpack-wordads__mobile-visibility{margin-top:20px}.wp-block-jetpack-payments-intro .components-placeholder__fieldset{flex-direction:column}.wp-block-jetpack-payments-intro .components-placeholder__fieldset>p,.wp-block-jetpack-payments-intro .components-placeholder__instructions{margin-bottom:0}.wp-payments-intro-pattern-picker__opener{margin-top:16px;width:min-content}.wp-block-jetpack-payments-intro__pattern-picker-selection-content .block-editor-block-patterns-list{display:grid;grid-template-columns:1fr 1fr 1fr;grid-gap:8px}.wp-block-jetpack-payments-intro__pattern-picker-selection-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item{margin-bottom:0}.wp-block-jetpack-payments-intro__pattern-picker-selection-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item .block-editor-block-preview__container{max-height:250px}.wp-block-jetpack-payments-intro__pattern-picker__selection-modal .components-modal__content{overflow:hidden;padding:0}.wp-block-jetpack-payments-intro__pattern-picker__selection-modal .components-modal__content:before{margin-bottom:0}@media(min-width:600px){.wp-block-jetpack-payments-intro__pattern-picker__selection-modal{height:calc(100% - 120px);width:calc(100% - 32px)}}@media(min-width:782px){.wp-block-jetpack-payments-intro__pattern-picker__selection-modal{width:750px}}@media(min-width:960px){.wp-block-jetpack-payments-intro__pattern-picker__selection-modal{height:80%;max-height:none;width:80%}}.wp-block-jetpack-payments-intro__variation-picker.wp-block-jetpack-payments-intro__variation-picker{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;list-style:none;margin:16px 0;padding:0;width:100%}.wp-block-jetpack-payments-intro__variation-picker.wp-block-jetpack-payments-intro__variation-picker>li{flex-shrink:1;list-style:none;margin:8px 20px 0 0;text-align:center;width:75px}.wp-block-jetpack-payments-intro__variation-picker.wp-block-jetpack-payments-intro__variation-picker>li button{display:inline-flex;margin-right:0}.wp-block-jetpack-payments-intro__variation-picker.wp-block-jetpack-payments-intro__variation-picker .wp-block-jetpack-payments-intro__variation-picker__variation{padding:8px}.wp-block-jetpack-payments-intro__variation-picker.wp-block-jetpack-payments-intro__variation-picker .wp-block-jetpack-payments-intro__variation-picker__variation-label{display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:12px;line-height:1.4}.wp-block-jetpack-payments-intro__variation-picker__variation{width:100%}.wp-block-jetpack-payments-intro__variation-picker__variation.components-button.has-icon{justify-content:center;width:auto}.wp-block-jetpack-payments-intro__variation-picker__variation.components-button.has-icon.is-secondary{background-color:#fff}.wp-block-jetpack-payments-intro__variation-picker__variation.components-button{height:auto;padding:0}.wp-block-jetpack-payments-intro__variation-picker__variation:before{content:"";padding-bottom:100%}.wp-block-jetpack-payments-intro__variation-picker__variation:first-child{margin-inline-start:0}.wp-block-jetpack-payments-intro__variation-picker__variation:last-child{margin-inline-end:0}.post-publish-qr-post-panel .components-panel__body-toggle>svg{margin-left:5px}.post-publish-qr-post-panel .components-panel__row .components-button{flex-grow:1;justify-content:center;margin:5px;padding:3px 10px 4px;text-align:center}.qr-post-modal__qr-code{display:flex;justify-content:center}.qr-post-jetpack-logo{display:none}.editor-styles-wrapper .wp-block-jetpack-payment-buttons{--jetpack-payment-buttons-gap:0.5em}.editor-styles-wrapper .wp-block-jetpack-payment-buttons.is-layout-flex{display:block;gap:var(--jetpack-payment-buttons-gap)}.editor-styles-wrapper .wp-block-jetpack-payment-buttons.is-layout-flex .is-layout-flex{display:flex}.editor-styles-wrapper .wp-block-jetpack-payment-buttons .wp-block-jetpack-recurring-payments{margin:0;width:auto}.editor-styles-wrapper .wp-block-jetpack-payment-buttons .wp-block-button__link{width:100%}.components-placeholder.jetpack-payment-buttons__upgrade-nudge{margin-bottom:16px}.editor-styles-wrapper .wp-block-jetpack-payment-buttons.has-custom-font-size .wp-block-jetpack-button .wp-block-button__link:not(.has-custom-font-size){font-size:inherit}.wp-block-jetpack-paywall{display:block;text-align:center;white-space:nowrap}.wp-block-jetpack-paywall span{background:#fff;border:none;border-radius:4px;box-shadow:none;color:#757575;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;height:24px;margin:0;max-width:100%;padding-left:8px;padding-right:4px;position:relative;text-align:center;text-transform:uppercase;white-space:nowrap}.wp-block-jetpack-paywall span svg{vertical-align:text-top;fill:currentColor}.wp-block-jetpack-paywall:before{background-color:#757575;content:"";height:1px;left:0;position:absolute;right:0;top:calc(50% + 1px)}.block-editor-block-inspector .jetpack-subscribe-newsletters-panel .components-base-control{margin-bottom:0}.wp-block-jetpack-blogroll h3+div .jetpack-blogroll-item-divider{display:none}.wp-block-jetpack-blogroll .jetpack-blogroll-item-divider{border-style:solid;border-width:1px 0 0;margin-block-end:0;margin-block-start:0;opacity:.2;width:100%}.wp-block-jetpack-blogroll .wp-block-jetpack-blogroll-item{display:flex;font-style:normal;font-weight:400;gap:20px;padding:20px 0}.wp-block-jetpack-blogroll .wp-block-jetpack-blogroll-item figure{align-self:flex-start;height:48px;margin:0;width:48px}.wp-block-jetpack-blogroll .wp-block-jetpack-blogroll-item figure.empty-site-icon{background:url(images/placeholder-site-icon-5bb955c1d041bc2adfc9.svg);background-size:cover}.wp-block-jetpack-blogroll .wp-block-jetpack-blogroll-item figure.empty-site-icon .blogroll-item-image{display:none}.wp-block-jetpack-blogroll .wp-block-jetpack-blogroll-item .blogroll-item-image{border-radius:50%;height:48px;max-width:48px;width:48px}.wp-block-jetpack-blogroll .wp-block-jetpack-blogroll-item p.jetpack-blogroll-item-title.rich-text{color:inherit;font-weight:700;margin:0}.wp-block-jetpack-blogroll .wp-block-jetpack-blogroll-item .jetpack-blogroll-item-content{align-self:flex-start}.wp-block-jetpack-blogroll .wp-block-jetpack-blogroll-item .jetpack-blogroll-item-description{word-break:break-word}.jetpack-blogroll__appender-results{padding:0 18px 18px}.jetpack-blogroll__appender-results .jetpack-blogroll__appender-result-list-header-text{color:#757575;font-size:11px;line-height:16px;padding:6px 0;text-transform:uppercase}.jetpack-blogroll__appender-results .jetpack-blogroll__appender-no-results-message{align-items:flex-start;display:flex;flex-direction:column;gap:2px;justify-content:center;overflow:hidden}.jetpack-blogroll__appender-results .jetpack-blogroll__appender-no-results-message-main-text{color:#101517;font-size:14px;font-weight:500;letter-spacing:-.15px;line-height:20px}.jetpack-blogroll__appender-results .jetpack-blogroll__appender-no-results-message-secondary-text{color:#757575;font-size:12px;font-weight:400;line-height:16px}.jetpack-blogroll__appender-results>ul{list-style:none;margin:0;max-height:200px;overflow-y:auto;padding-left:0!important}.jetpack-blogroll__appender-results>ul .jetpack-blogroll__appender-result-container{margin:0}.jetpack-blogroll__appender-results>ul .jetpack-blogroll__appender-result-container button{align-items:center;align-self:stretch;background:none;border:none;cursor:pointer;display:flex;gap:12px;padding:8px 4px;text-decoration:none;width:100%}.jetpack-blogroll__appender-results>ul .jetpack-blogroll__appender-result-container button[disabled]{background:#f6f7f7;cursor:not-allowed}.jetpack-blogroll__appender-results>ul .jetpack-blogroll__appender-result-container button[disabled]>*{opacity:.5}.jetpack-blogroll__appender-results>ul .jetpack-blogroll__appender-result-container .jetpack-blogroll__appender-result-image{flex-shrink:0;height:40px;width:40px}.jetpack-blogroll__appender-results>ul .jetpack-blogroll__appender-result-container .jetpack-blogroll__appender-result-image.empty-site-icon{background:url(images/placeholder-site-icon-5bb955c1d041bc2adfc9.svg);background-size:cover}.jetpack-blogroll__appender-results>ul .jetpack-blogroll__appender-result-container .jetpack-blogroll__appender-result-image.empty-site-icon img{display:none}.jetpack-blogroll__appender-results>ul .jetpack-blogroll__appender-result-container .jetpack-blogroll__appender-result-image img{border-radius:50%;height:40px;width:40px}.jetpack-blogroll__appender-results>ul .jetpack-blogroll__appender-result-container .jetpack-blogroll__appender-result-text{align-items:flex-start;display:flex;flex-direction:column;gap:2px;justify-content:center;overflow:hidden;text-align:left}.jetpack-blogroll__appender-results>ul .jetpack-blogroll__appender-result-container .jetpack-blogroll__appender-result-text>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.jetpack-blogroll__appender-results>ul .jetpack-blogroll__appender-result-container .jetpack-blogroll__appender-result-text .jetpack-blogroll__appender-result-title{color:#101517;font-size:14px;font-weight:500;letter-spacing:-.15px;line-height:20px}.jetpack-blogroll__appender-results>ul .jetpack-blogroll__appender-result-container .jetpack-blogroll__appender-result-text .jetpack-blogroll__appender-result-description{color:#646970;font-size:14px;letter-spacing:-.15px;line-height:20px}.jetpack-blogroll__appender-search{display:flex;padding:16px}.jetpack-blogroll__appender-search>div{flex-grow:1;padding:1px;position:relative}.jetpack-blogroll__appender-search .components-text-control__input{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' aria-hidden='true' viewBox='-2 -2 24 24'%3E%3Cpath d='m6.734 16.106 2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.157 1.093-1.027-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5q.276 0 .553-.002c1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0z'/%3E%3C/svg%3E");background-position-x:calc(100% - 8px);background-position-y:calc(100% - 8px);background-repeat:no-repeat;background-size:24px;height:40px;padding-right:40px}.jetpack-blogroll__appender-search button{height:32px;min-width:32px!important;width:32px}.jetpack-blogroll__appender-spinner{margin:0!important}.jetpack-blogroll__appender .components-popover__content{height:300px;overflow-y:hidden!important;width:318px}.jetpack-blogroll__appender .components-popover__content button.block-editor-button-blogroll-block-appender{background:#1e1e1e;border-radius:2px;color:#fff;height:24px;min-width:24px;padding:0}@container bitem (min-width: 480px){.wp-block-jetpack-blogroll{padding:24px}}.wp-block-jetpack-blogroll .block-editor-inner-blocks h3{font-size:20px;font-style:normal;font-weight:700;line-height:28px;margin-bottom:24px;margin-top:0}.wp-block-jetpack-blogroll.hide-avatar figure,.wp-block-jetpack-blogroll.hide-description .jetpack-blogroll-item-description{display:none}.wp-block-jetpack-blogroll .wp-block-jetpack-blogroll-item{container-name:bitem;container-type:inline-size}.wp-block-jetpack-blogroll .wp-block-jetpack-blogroll-item .jetpack-blogroll-item-information{align-items:flex-start;display:flex;flex-direction:column;gap:20px;padding:20px 8px}@container bitem (min-width: 480px){.wp-block-jetpack-blogroll .wp-block-jetpack-blogroll-item .jetpack-blogroll-item-information{align-items:center;flex-direction:row}}.wp-block-jetpack-blogroll .wp-block-jetpack-blogroll-item+.wp-block-jetpack-blogroll-item .jetpack-blogroll-item-divider{display:block}.wp-block-jetpack-blogroll [data-type="jetpack/blogroll-item"]+[data-type="jetpack/blogroll-item"]{border-top:1px solid #dcdcde}.wp-block-jetpack-blogroll .block-list-appender button.has-icon{background:#1e1e1e;border-radius:2px;color:#fff;height:24px;min-width:24px;padding:0}.wp-block-jetpack-nextdoor{position:relative}.wp-block-jetpack-nextdoor-overlay{height:100%;position:absolute;width:100%;z-index:10}.wp-block-jetpack-nextdoor-link-editable{cursor:text}.wp-block-jetpack-nextdoor-embed-form-sidebar{display:flex;margin-bottom:1em}.wp-block-jetpack-nextdoor-color-notice{margin:0}div[data-align=center]>.wp-block-jetpack-nextdoor{text-align:center}.wp-block-jetpack-nextdoor .components-placeholder__fieldset input{flex:1}a.jetpack-sharing-button__button{color:inherit}.jetpack-sharing-button__button{align-items:center;background:#fff;border-radius:4px;box-shadow:0 1px 2px #0000001f,0 0 0 1px #0000001f;color:#2c3338;color:inherit;cursor:default;display:flex;flex-direction:row;font-size:inherit;font-weight:500;height:auto;justify-content:center;line-height:23px;margin:4px 4px 0;padding:4px 9px 3px;text-decoration:none}.jetpack-sharing-button__button svg{height:1.5em;width:1.5em;fill:currentColor}.jetpack-sharing-button__button:hover{box-shadow:0 1px 2px #00000038,0 0 0 1px #00000038;cursor:pointer}.jetpack-sharing-button__button.components-button{font-size:inherit;padding:4px 11px 3px 9px}.jetpack-sharing-button__button.style-icon{border:0;border-radius:50%;box-shadow:none;color:#fff;height:auto;line-height:1;margin-bottom:0;padding:7px;position:relative;top:-2px;width:auto}.jetpack-sharing-button__button.style-icon.share-bluesky{background:#0085ff}.jetpack-sharing-button__button.style-icon.share-x{background:#000}.jetpack-sharing-button__button.style-icon.share-print{background:#c5c2c2}.jetpack-sharing-button__button.style-icon.share-reddit{background:#5f99cf}.jetpack-sharing-button__button.style-icon.share-skype{background:#00aff0}.jetpack-sharing-button__button.style-icon.share-facebook{background:#0866ff}.jetpack-sharing-button__button.style-icon.share-linkedin{background:#0976b4}.jetpack-sharing-button__button.style-icon.share-mail{background:#c5c2c2}.jetpack-sharing-button__button.style-icon.share-twitter{background:#55acee}.jetpack-sharing-button__button.style-icon.share-tumblr{background:#35465c}.jetpack-sharing-button__button.style-icon.share-pinterest{background:#cc2127}.jetpack-sharing-button__button.style-icon.share-pocket{background:#ee4256}.jetpack-sharing-button__button.style-icon.share-telegram{background:#08c}.jetpack-sharing-button__button.style-icon.share-threads{background:#000}.jetpack-sharing-button__button.style-icon.share-whatsapp{background:#43d854}.jetpack-sharing-button__button.style-icon.share-mastodon{background:#6364ff}.jetpack-sharing-button__button.style-icon.share-nextdoor{background:#8ed500}.jetpack-sharing-button__button.style-icon.share-share{background:#000}.jetpack-sharing-button__button.style-icon.is-custom{padding:8px;top:2px}.jetpack-sharing-button__button.style-icon-text{margin-inline-end:4px;padding-inline-end:11px}.style-icon .jetpack-sharing-button__service-label,.style-text .sharing-buttons-preview-button__custom-icon,.style-text .social-logo{display:none}.jetpack-sharing-button__list-item{display:flex;flex-direction:row;flex-wrap:wrap;gap:5px;list-style-type:none;padding:0}.jetpack-sharing-button__list-item:first-child .jetpack-sharing-button__button{margin-inline-start:0}.style-icon-text .jetpack-sharing-button__service-label{margin-inline-start:5px}.jetpack-sharing-buttons__services-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:0;list-style-type:none;margin:5px;padding:0}.jetpack-sharing-buttons__services-list.has-small-icon-size{font-size:12px}.jetpack-sharing-buttons__services-list.has-normal-icon-size{font-size:16px}.jetpack-sharing-buttons__services-list.has-large-icon-size{font-size:24px}.jetpack-sharing-buttons__services-list.has-huge-icon-size{font-size:36px}@media print{.jetpack-sharing-buttons__services-list{display:none!important}}.editor-styles-wrapper .wp-block-jetpack-sharing-buttons{gap:0;padding-inline-start:0}ul.jetpack-sharing-buttons__services-list.has-background{padding:1.25em 2.375em}.jetpack-ai-generate-excerpt-control .jetpack-ai-generate-excerpt-control__header{margin-top:8px}.jetpack-ai-generate-excerpt-control .jetpack-ai-generate-excerpt-control__header .components-base-control__field{align-items:center;display:flex;justify-content:space-between}.jetpack-ai-generate-excerpt-control .ai-assistant__tone-dropdown{margin-bottom:12px}.jetpack-ai-post-excerpt .components-textarea-control__input{margin-bottom:10px;width:100%}.jetpack-generated-excerpt__ai-container{margin-top:12px}.jetpack-generated-excerpt__ai-container .jetpack-ai-assistant__error{margin:0 0 12px}.jetpack-generated-excerpt__generate-buttons-container{display:flex;gap:12px;justify-content:end;justify-content:space-around;margin-bottom:10px}.jetpack-ai-post-excerpt .jetpack-upgrade-plan-banner__wrapper{flex-direction:column;margin:0 0 12px;padding:0 10px}.jetpack-ai-post-excerpt .jetpack-upgrade-plan-banner__wrapper .jetpack-ai-upgrade-banner__description{margin:10px 0 0}.wp-block-jetpack-blog-stats .jetpack-blog-stats__loading{opacity:.62}.wp-block-jetpack-blog-stats .components-placeholder__fieldset{display:block}.jetpack-blog-stats__delay-notice{font-size:12px}.wp-block-jetpack-top-posts{margin-bottom:1.5em}.wp-block-jetpack-top-posts img{width:100%}.wp-block-jetpack-top-posts span{display:block;word-wrap:break-word}.wp-block-jetpack-top-posts.is-list-layout .jetpack-top-posts-item{margin-bottom:1.5em}.wp-block-jetpack-top-posts.is-grid-layout .jetpack-top-posts-wrapper{align-items:flex-start;display:grid;gap:16px 12px;grid:auto/repeat(6,1fr)}@media only screen and (max-width:600px){.wp-block-jetpack-top-posts.is-grid-layout .jetpack-top-posts-wrapper{display:block}.wp-block-jetpack-top-posts.is-grid-layout .jetpack-top-posts-wrapper .jetpack-top-posts-mock-thumbnail{display:none}.wp-block-jetpack-top-posts.is-grid-layout .jetpack-top-posts-wrapper .jetpack-top-posts-item{margin-bottom:1.5em}}.wp-block-jetpack-top-posts.is-grid-layout .jetpack-top-posts-mock-thumbnail{background-color:#f0f0f0;height:0;padding-bottom:75%;position:relative;width:100%}.wp-block-jetpack-top-posts.is-grid-layout .jetpack-top-posts-thumbnail{aspect-ratio:4/3;height:auto;max-width:100%;object-fit:cover}.wp-block-jetpack-top-posts.is-grid-layout .jetpack-top-posts-item{grid-column:span 2}.wp-block-jetpack-top-posts.is-grid-layout[data-item-count="2"] .jetpack-top-posts-item,.wp-block-jetpack-top-posts.is-grid-layout[data-item-count="4"] .jetpack-top-posts-item,.wp-block-jetpack-top-posts.is-grid-layout[data-item-count="5"] .jetpack-top-posts-item:nth-child(5n),.wp-block-jetpack-top-posts.is-grid-layout[data-item-count="5"] .jetpack-top-posts-item:nth-child(5n-1),.wp-block-jetpack-top-posts.is-grid-layout[data-item-count="7"] .jetpack-top-posts-item:nth-child(5n),.wp-block-jetpack-top-posts.is-grid-layout[data-item-count="7"] .jetpack-top-posts-item:nth-child(5n-1),.wp-block-jetpack-top-posts.is-grid-layout[data-item-count="7"] .jetpack-top-posts-item:nth-child(7n),.wp-block-jetpack-top-posts.is-grid-layout[data-item-count="7"] .jetpack-top-posts-item:nth-child(7n-1){grid-column:span 3}.wp-block-jetpack-top-posts .components-placeholder__fieldset{display:block}.jetpack-top-posts__error{margin:0}:where(body){font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin:0;min-height:100%;padding:0}.jp-wrap{align-items:center;display:flex;flex-wrap:wrap;margin:0 auto;max-width:1128px}.jp-row{display:grid;grid-gap:24px;grid-template-columns:repeat(4,1fr);margin:0 16px;width:100%}@media(min-width:600px){.jp-row{grid-template-columns:repeat(8,1fr);margin:0 18px}}@media(min-width:960px){.jp-row{grid-template-columns:repeat(12,1fr);margin:0 24px;max-width:1128px}}.sm-col-span-1{grid-column-end:span 1}.sm-col-span-2{grid-column-end:span 2}.sm-col-span-3{grid-column-end:span 3}.sm-col-span-4{grid-column-end:span 4}@media(min-width:600px){.md-col-span-1{grid-column-end:span 1}.md-col-span-2{grid-column-end:span 2}.md-col-span-3{grid-column-end:span 3}.md-col-span-4{grid-column-end:span 4}.md-col-span-5{grid-column-end:span 5}.md-col-span-6{grid-column-end:span 6}.md-col-span-7{grid-column-end:span 7}.md-col-span-8{grid-column-end:span 8}}@media(min-width:960px){.lg-col-span-1{grid-column-end:span 1}.lg-col-span-2{grid-column-end:span 2}.lg-col-span-3{grid-column-end:span 3}.lg-col-span-4{grid-column-end:span 4}.lg-col-span-5{grid-column-end:span 5}.lg-col-span-6{grid-column-end:span 6}.lg-col-span-7{grid-column-end:span 7}.lg-col-span-8{grid-column-end:span 8}.lg-col-span-9{grid-column-end:span 9}.lg-col-span-10{grid-column-end:span 10}.lg-col-span-11{grid-column-end:span 11}.lg-col-span-12{grid-column-end:span 12}}@media(max-width:960px){.md-col-span-0{display:none}}@media(max-width:600px){.sm-col-span-0{display:none}}.jp-cut{border:2px solid #069e08;border-radius:4px;margin:32px 0;padding:16px 64px 16px 24px;position:relative;text-decoration:none}.jp-cut,.jp-cut span{display:block}.jp-cut span:last-of-type{font-weight:600}.jp-cut:focus span:last-of-type,.jp-cut:hover span:last-of-type{text-decoration:underline;text-decoration-thickness:2px}.jp-cut:focus:after,.jp-cut:hover:after{transform:translateY(-50%) translateX(8px)}.jp-cut:after{color:#069e08;content:"→";font-size:24px;font-weight:600;position:absolute;right:24px;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jetpack-ai-voice-to-content__modal .components-modal__header{border-bottom:1px solid #dcdcde;padding:20px 24px}.jetpack-ai-voice-to-content__modal .components-modal__content{padding:24px 32px}@media(min-width:700px){.jetpack-ai-voice-to-content__modal{width:700px}}.jetpack-ai-voice-to-content__wrapper{display:flex;flex-direction:column;gap:28px}.jetpack-ai-voice-to-content__body{display:flex;flex-direction:column;gap:16px}.jetpack-ai-voice-to-content__action-buttons{display:flex;gap:8px}.jetpack-ai-voice-to-content__action-buttons .jetpack-ai-voice-to-content__button.is-primary{background-color:#008710;color:#fff}.jetpack-ai-voice-to-content__action-buttons .jetpack-ai-voice-to-content__button.is-primary:not(:disabled):hover{background-color:#007117}.jetpack-ai-voice-to-content__action-buttons .jetpack-ai-voice-to-content__button.is-primary:not(:disabled):active{background-color:#005b18}.jetpack-ai-voice-to-content__action-buttons .jetpack-ai-voice-to-content__button.is-primary:not(:disabled):focus{box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #008710}.jetpack-ai-voice-to-content__action-buttons .jetpack-ai-voice-to-content__button.is-secondary{box-shadow:inset 0 0 0 1px #008710;color:#008710}.jetpack-ai-voice-to-content__action-buttons .jetpack-ai-voice-to-content__button.is-secondary:not(:disabled):focus{box-shadow:0 0 0 2px #008710}.jetpack-ai-voice-to-content__action-buttons .jetpack-ai-voice-to-content__button.is-secondary:not(:disabled):hover{box-shadow:inset 0 0 0 1px #007117}.jetpack-ai-voice-to-content__action-buttons .jetpack-ai-voice-to-content__button.is-secondary:not(:disabled):active{box-shadow:none}.jetpack-ai-voice-to-content__description{font-size:var(--font-body-small)}.jetpack-ai-voice-to-content__contextual-row{align-items:center;display:flex;height:38px}.jetpack-ai-voice-to-content__information{color:#787c82}.jetpack-ai-voice-to-content__audio{align-items:center;display:flex;gap:4px}.jetpack-ai-voice-to-content__audio--duration{font-weight:700}.jetpack-ai-voice-to-content__footer{display:flex}.jetpack-ai-voice-to-content__footer .jetpack-ai-voice-to-content__feedback-button{align-items:center;color:#008710;display:flex;font-size:var(--font-body-extra-small);gap:4px}.jetpack-ai-voice-to-content__footer .jetpack-ai-voice-to-content__feedback-button:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) #008710}.jetpack-ai-voice-to-content__footer .jetpack-ai-voice-to-content__feedback-button .icon{color:#a7aaad}.jetpack-ai-voice-to-content__information--error{color:var(--jp-red-40)}.jetpack-ai-voice-to-content__oscilloscope{height:38px;width:70px}.wp-block-jetpack-ai-image .wp-block-ai-image-image{cursor:pointer;height:128px;width:128px}.wp-block-ai-generate-suggestion{padding:0}.wp-block-ai-generate-suggestion .components-text-control__input{margin:10px;width:80%}.wp-block-ai-generate-suggestion .components-button.is-primary{margin:10px}.wp-block-jetpack-google-docs-embed{border:1px solid #ccc;flex-basis:50%}.wp-block-jetpack-google-docs-embed.aligncenter{margin-left:auto;margin-right:auto}.wp-block-jetpack-google-docs-embed.alignleft,.wp-block-jetpack-google-docs-embed.alignright{margin-bottom:20px;max-width:600px}@media only screen and (min-width:600px){.wp-block-jetpack-google-docs-embed.alignleft{float:left;margin-right:20px!important}.wp-block-jetpack-google-docs-embed.alignright{float:right;margin-left:20px!important}}.wp-block-jetpack-google-docs-embed.ar-50 .wp-block-jetpack-google-docs-embed__wrapper:before{padding-top:50%}.wp-block-jetpack-google-docs-embed.ar-100 .wp-block-jetpack-google-docs-embed__wrapper:before{padding-top:100%}.wp-block-jetpack-google-docs-embed__wrapper--error:before{content:none}.wp-block-jetpack-google-docs-embed__error-msg{background-color:#f8f9fa;color:#333;font-size:16px;margin:0;padding:20px}.wp-block-jetpack-google-docs-embed__error-msg:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3E%3Cpath fill='%231E2935' fill-rule='evenodd' d='M4.125 12A7.875 7.875 0 0 1 12 4.124a7.875 7.875 0 1 1-7.875 7.874ZM12 3a9 9 0 1 0 0 17.999A9 9 0 1 0 12 3m.041 5.28c.31 0 .563.253.563.563v4.5a.562.562 0 0 1-1.125 0v-4.5c0-.31.252-.562.562-.562Zm-.562 7.313c0-.31.252-.563.562-.563h.011a.562.562 0 0 1 0 1.125h-.01a.56.56 0 0 1-.563-.562' clip-rule='evenodd'/%3E%3C/svg%3E");background-position:top;background-repeat:no-repeat;background-size:20px;content:"";display:inline-block;height:20px;margin-inline-end:8px;position:relative;top:4px;width:20px}.wp-block-jetpack-google-docs-embed__error-msg a{color:#333;text-decoration:underline}.wp-block-jetpack-google-docs-embed__error-msg a:focus,.wp-block-jetpack-google-docs-embed__error-msg a:hover{text-decoration:none}.wp-block-jetpack-google-docs-embed .loader{background-color:#fff;display:none;height:100%;position:absolute;text-align:center;top:0;width:100%;z-index:99}.wp-block-jetpack-google-docs-embed .loader.is-active{display:block}.wp-block-jetpack-google-docs-embed .loader span{position:relative;top:50%;transform:translateY(-50%)}.editor-styles-wrapper .wp-block-jetpack-google-docs-embed figure{margin:0}.editor-styles-wrapper [data-align=left] .wp-block-jetpack-google-docs-embed,.editor-styles-wrapper [data-align=right] .wp-block-jetpack-google-docs-embed{width:auto}.editor-styles-wrapper [data-align=left] .wp-block-jetpack-google-docs-embed__wrapper:before,.editor-styles-wrapper [data-align=right] .wp-block-jetpack-google-docs-embed__wrapper:before{content:none}.editor-styles-wrapper [data-align=left] iframe,.editor-styles-wrapper [data-align=right] iframe{position:relative}.editor-styles-wrapper [data-align=left] .wp-block-jetpack-google-docs-embed{margin-right:20px}.editor-styles-wrapper [data-align=right] .wp-block-jetpack-google-docs-embed{margin-left:20px}html[amp] .wp-block-jetpack-google-docs-embed.alignleft,html[amp] .wp-block-jetpack-google-docs-embed.alignright{float:none}html[amp] .wp-block-jetpack-google-docs-embed__wrapper:before{content:none}html[amp] .wp-block-jetpack-google-docs-embed__error-msg:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='%231E2935' d='M1.5 3.5v11h11V10H14v5a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h5v1.5z'/%3E%3Cpath fill='%231E2935' d='m15.922 1.178-8.907 8.907-1.06-1.06L14.86.118l1.06 1.06Z'/%3E%3Cpath fill='%231E2935' d='M7.5 0H16v1.5H7.5z'/%3E%3Cpath fill='%231E2935' d='M16 0v8.5h-1.5V0z'/%3E%3C/svg%3E");background-size:12px;height:12px;top:1px;width:12px}html[amp] .wp-block-jetpack-google-docs-embed .loader{display:none}.wp-block-jetpack-google-docs-embed{clear:both;margin:0 0 1.5em}.wp-block-jetpack-google-docs-embed__wrapper{position:relative}.wp-block-jetpack-google-docs-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-block-jetpack-google-docs-embed__interactive-overlay{bottom:0;left:0;opacity:0;position:absolute;right:0;top:0}.wp-block-jetpack-google-docs-embed-embed-form-editor{margin:0}.wp-block-jetpack-google-docs-embed-embed-form-editor textarea{flex:1;font-family:inherit;font-size:inherit;height:36px;margin-inline-end:1px;padding-top:9px}.wp-block-jetpack-google-docs-embed iframe{bottom:0;height:100%;left:0;max-width:100%;position:absolute;right:0;top:0;width:100%}.wp-block-jetpack-google-docs-embed.alignleft,.wp-block-jetpack-google-docs-embed.alignright,.wp-block[data-align=left]>.wp-block-jetpack-google-docs-embed,.wp-block[data-align=right]>.wp-block-jetpack-google-docs-embed{max-width:360px;width:100%}.wp-block-jetpack-google-docs-embed.alignleft__wrapper,.wp-block-jetpack-google-docs-embed.alignright__wrapper,.wp-block[data-align=left]>.wp-block-jetpack-google-docs-embed__wrapper,.wp-block[data-align=right]>.wp-block-jetpack-google-docs-embed__wrapper{min-width:280px}.launchpad__save-modal .components-modal__content{margin:0;max-width:656px;padding:60px 48px 48px}.launchpad__save-modal-body{align-items:flex-end;display:flex;flex-direction:column;gap:32px}.launchpad__save-modal-text{display:flex;flex-direction:column;gap:8px}.launchpad__save-modal-controls{display:flex;justify-content:space-between;width:100%}.launchpad__save-modal-buttons{display:flex;gap:16px}.launchpad__save-modal-heading{color:#101517;font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif;font-size:32px;font-weight:400;letter-spacing:.2px;line-height:40px;margin:0}.launchpad__save-modal-message{color:#2c3338;font-size:16px;line-height:24px;margin:0}[data-title="Recipe Details"].aligncenter,[data-title="Recipe Details"].alignleft,[data-title="Recipe Details"].alignright{float:none}[data-title="Recipe Details"].alignright .wp-recipe-block-details{justify-content:right}[data-title="Recipe Details"].aligncenter .wp-recipe-block-details{justify-content:center}.wp-block-jetpack-recipe-details{display:block}.wp-block-jetpack-recipe-details .wp-recipe-block-details{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(100px,150px))}.wp-block-jetpack-recipe-details .wp-recipe-block-details.alignright{justify-content:right}.wp-block-jetpack-recipe-details .wp-recipe-block-details.aligncenter{justify-content:center}.wp-block-jetpack-recipe-details .components-unit-control .components-input-control__container{max-height:30px}.wp-block-jetpack-recipe-details .components-unit-control .components-input-control__container .components-unit-control__select{width:40px}.wp-block-jetpack-recipe-ingredients-list .block-list-appender{position:relative}.wp-block-jetpack-recipe-steps .block-list-appender{margin-top:1rem;position:relative} \ No newline at end of file +.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.jetpack-editor-panel-logo{margin-left:.5em}.jetpack-gutenberg-social-icon{fill:#757575}.jetpack-gutenberg-social-icon.is-facebook{fill:#0866ff}.jetpack-gutenberg-social-icon.is-twitter{fill:#55acee}.jetpack-gutenberg-social-icon.is-linkedin{fill:#0976b4}.jetpack-gutenberg-social-icon.is-tumblr{fill:#35465c}.jetpack-gutenberg-social-icon.is-google{fill:var(--color-gplus)}.jetpack-ai-status-indicator__icon-wrapper{align-self:baseline;opacity:0;transition:opacity .25s ease-in-out,width .25s;width:0}.jetpack-ai-status-indicator__icon-wrapper>svg{height:24px;margin:6px 0 0;width:24px}.jetpack-ai-status-indicator__icon-wrapper.is-requesting,.jetpack-ai-status-indicator__icon-wrapper.is-suggesting{opacity:1;width:24px}.jetpack-components-ai-control__container-wrapper{bottom:16px;position:sticky}.jetpack-components-ai-control__container{background-color:#fff;border:1px solid #ccc;border-radius:6px;box-shadow:0 12px 15px 0 #0000001f,0 3px 9px 0 #0000001f,0 1px 3px 0 #00000026;color:#2c3338;font-family:SF Pro Text,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.jetpack-components-ai-control__wrapper{align-items:flex-end;border-radius:6px 6px 0 0;box-sizing:border-box;display:flex;gap:6px;padding:8px 8px 8px 12px}.jetpack-components-ai-control__wrapper.is-transparent{opacity:.4}.jetpack-components-ai-control__input-wrapper{align-items:center;align-self:center;display:flex;flex-grow:1;min-height:36px}.jetpack-components-ai-control__input-wrapper textarea.jetpack-components-ai-control__input{background-color:#fff;border:none;border-radius:2px;box-shadow:none;color:#2c3338;font-size:16px;font-weight:400;line-height:20px;min-height:20px;padding:6px 8px;resize:none!important;transition:box-shadow .1s linear 0s;width:100%}.jetpack-components-ai-control__input-wrapper textarea.jetpack-components-ai-control__input:focus{box-shadow:none;color:#2c3338}@media(min-width:600px){.jetpack-components-ai-control__input-wrapper textarea.jetpack-components-ai-control__input{font-size:13px}}.jetpack-components-ai-control__input-wrapper textarea.jetpack-components-ai-control__input::-moz-placeholder{opacity:.75;text-overflow:ellipsis;white-space:nowrap}.jetpack-components-ai-control__input-wrapper textarea.jetpack-components-ai-control__input::placeholder{opacity:.75;text-overflow:ellipsis;white-space:nowrap}.jetpack-components-ai-control__controls-prompt_button_wrapper{align-items:center;display:flex;gap:8px}.jetpack-components-ai-control__controls-prompt_button_wrapper .components-button.is-small:not(.has-label){padding:0}.jetpack-components-ai-control__controls-prompt_button_wrapper .components-button-group .components-button{box-shadow:none;padding:6px 8px}.jetpack-components-ai-control__controls-prompt_button_wrapper .components-button-group{display:flex}.jetpack-components-ai-control__controls-prompt_button:disabled{cursor:not-allowed;opacity:.6}.jetpack-ai-assistant__message{align-items:center;align-self:center;border-radius:4px;display:flex;font-size:12px;line-height:28px;min-height:28px;padding:0 12px}.jetpack-ai-assistant__message>svg{fill:#787c82;flex-shrink:0}.jetpack-ai-assistant__message .jetpack-ai-assistant__message-content{align-items:center;display:flex;flex-grow:2;gap:4px;line-height:1.4em;margin:0 8px}.jetpack-ai-assistant__message .jetpack-ai-assistant__message-content span{padding:5px 0}.jetpack-ai-assistant__message .jetpack-ai-assistant__message-content .components-external-link{color:#646970}.jetpack-ai-assistant__message .jetpack-ai-assistant__message-content .components-button.is-link{padding:0}.jetpack-ai-assistant__message .jetpack-ai-assistant__message-content .components-button.is-link,.jetpack-ai-assistant__message .jetpack-ai-assistant__message-content .components-external-link{flex-shrink:0}.jetpack-ai-assistant__message-severity-info{background-color:#f6f7f7;color:#646970}.jetpack-ai-assistant__message-severity-warning{background-color:#fef8ee;color:#101517}.jetpack-ai-assistant__message-severity-error{background-color:#f7ebec;color:#101517}.jetpack-ai-assistant__message-severity-error>svg{fill:#e65054}.jetpack-ai-assistant__message-severity-success{background-color:#d0e6b8;color:#101517}.jetpack-ai-assistant__message-severity-success>svg{fill:#2fb41f}.jetpack-ai-assistant__message-sidebar{display:flex;height:unset;padding:0}.jetpack-ai-assistant__message-sidebar>svg{fill:#646970}.jetpack-ai-logo-generator-modal__loading-wrapper{align-items:center;display:flex;flex-direction:column;flex-grow:1;height:100%;justify-content:center}.jetpack-ai-logo-generator-modal__loader{margin-bottom:29px}.jetpack-ai-logo-generator__carousel{display:flex;flex-shrink:0;gap:8px;overflow-x:auto}.jetpack-ai-logo-generator__carousel .components-button{height:unset;padding:unset}@media(min-width:700px){.jetpack-ai-logo-generator__carousel{padding:2px}}.jetpack-ai-logo-generator__carousel-logo{align-items:center;border:1px solid #dcdcde;border-radius:2px;display:flex;flex-shrink:0;justify-content:center}.jetpack-ai-logo-generator__carousel-logo.is-selected{border-color:#0675c4;border-width:1.5px}.jetpack-ai-logo-generator__carousel-logo img{height:48px;width:48px}.jetpack-ai-logo-generator-icon path{fill:#0675c4}.jetpack-ai-logo-generator-modal-presenter__wrapper{display:flex;flex-direction:column;gap:8px}.jetpack-ai-logo-generator-modal-presenter{display:flex}.jetpack-ai-logo-generator-modal-presenter__content{align-items:center;background:#f6f7f7;border-radius:4px;display:flex;flex-grow:1;max-height:229px}@media(max-width:700px){.jetpack-ai-logo-generator-modal-presenter__content{flex-direction:column;max-height:unset}}.jetpack-ai-logo-generator-modal-presenter__rectangle{position:relative;width:0}.jetpack-ai-logo-generator-modal-presenter__rectangle:after{background-color:#f6f7f7;content:"";height:15px;left:-66px;position:absolute;top:-7.5px;transform:rotate(-45deg);width:15px}.jetpack-ai-logo-generator-modal-presenter__loading-text{flex-grow:1;text-align:center}.jetpack-ai-logo-generator-modal-presenter__logo{height:198px;margin:16px 30px 16px 16px;width:198px}@media(max-width:700px){.jetpack-ai-logo-generator-modal-presenter__logo{margin:16px}}.jetpack-ai-logo-generator-modal-presenter__action-wrapper{box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;height:100%;margin-right:32px;padding:16px 0}@media(max-width:700px){.jetpack-ai-logo-generator-modal-presenter__action-wrapper{margin-left:32px}}.jetpack-ai-logo-generator-modal-presenter__description{color:#646970;flex-grow:1;overflow-y:auto;padding-top:16px}.jetpack-ai-logo-generator-modal-presenter__actions{border-top:1px solid #dcdcde;display:flex;gap:24px;margin-top:16px;padding-top:16px}.jetpack-ai-logo-generator-modal-presenter__action{align-items:center;display:flex}.jetpack-ai-logo-generator-modal-presenter__action.components-button,.jetpack-ai-logo-generator-modal-presenter__action.components-button:active,.jetpack-ai-logo-generator-modal-presenter__action.components-button:hover{color:#0675c4}.jetpack-ai-logo-generator-modal-presenter__action .action-text{font-size:var(--font-body-extra-small)}.jetpack-ai-logo-generator-modal-presenter__action .jetpack-ai-logo-generator-icon{margin-right:8px}.jetpack-ai-logo-generator-modal-presenter__success-wrapper{align-items:center;display:flex;flex-direction:column;gap:16px;width:100%}@media(max-width:700px){.jetpack-ai-logo-generator-modal-presenter__success-wrapper{padding-bottom:16px}}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper{font-size:var(--font-body-small);padding:8px 16px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-upgrade-plan-banner__banner-description{color:#fff;line-height:21px;word-wrap:break-word;vertical-align:middle}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-upgrade-plan-banner__icon{height:24px;margin-right:8px;position:relative;vertical-align:middle;width:24px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-upgrade-plan-banner__icon path{fill:#8c8f94}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button{font-size:var(--font-body-extra-small);font-weight:600;height:auto;line-height:20px;padding:4px 8px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary{background:#fff;color:#000}.jetpack-ai-logo-generator__prompt{display:flex;flex-direction:column;font-size:var(--font-body-small);gap:8px}.jetpack-ai-logo-generator__prompt-header{align-items:flex-start;align-self:stretch;display:flex;justify-content:space-between}.jetpack-ai-logo-generator__prompt-header .jetpack-ai-logo-generator__prompt-label{font-weight:500}.jetpack-ai-logo-generator__prompt-header .jetpack-ai-logo-generator__prompt-actions{display:flex;font-size:var(--font-body-extra-small);line-height:20px}.jetpack-ai-logo-generator__prompt-header .jetpack-ai-logo-generator__prompt-actions .jetpack-ai-logo-generator-icon{margin-right:4px}.jetpack-ai-logo-generator__prompt-query{align-items:flex-end;align-self:stretch;background:#fff;border:1px solid #c3c4c7;border-radius:8px;display:flex;gap:8px;justify-content:space-between;padding:8px 8px 8px 16px}@media(min-width:700px){.jetpack-ai-logo-generator__prompt-query{gap:48px}}.jetpack-ai-logo-generator__prompt-query .prompt-query__input{border:0;color:#101517;flex-grow:1;line-height:1.6;padding:6px 0;resize:none;vertical-align:initial;word-break:break-word}.jetpack-ai-logo-generator__prompt-query .prompt-query__input:active,.jetpack-ai-logo-generator__prompt-query .prompt-query__input:focus{outline:0}.jetpack-ai-logo-generator__prompt-query .prompt-query__input[contentEditable=false]{color:#646970}.jetpack-ai-logo-generator__prompt-query .prompt-query__input[data-placeholder]:empty:before{color:#646970;content:attr(data-placeholder)}.jetpack-ai-logo-generator__prompt-query .prompt-query__input[data-placeholder]:empty:focus:before{content:""}.jetpack-ai-logo-generator__prompt-footer{display:flex;flex-direction:column;gap:8px}.jetpack-ai-logo-generator__prompt-requests{color:#646970;display:flex;font-size:var(--font-body-extra-small);line-height:21px}.jetpack-ai-logo-generator__prompt-requests .prompt-footer__icon{height:20px;width:20px}.jetpack-ai-logo-generator__prompt-requests .prompt-footer__icon path{fill:#a7aaad}.jetpack-ai-logo-generator__prompt-error{color:#d63638;font-size:var(--font-body-extra-small);line-height:21px}.jetpack-ai-logo-generator-modal-visit-site-banner{background:#f6f7f7;border-radius:4px;display:flex;gap:16px;padding:16px 20px}@media(max-width:700px){.jetpack-ai-logo-generator-modal-visit-site-banner{flex-direction:column}}.jetpack-ai-logo-generator-modal-visit-site-banner__jetpack-logo{align-items:center;display:flex;justify-content:center}.jetpack-ai-logo-generator-modal-visit-site-banner__content{display:flex;flex-direction:column;font-size:14px}@media(max-width:700px){.jetpack-ai-logo-generator-modal-visit-site-banner__content{gap:8px}}@media(min-width:960px){.jetpack-ai-logo-generator-modal{max-height:90%}}.jetpack-ai-logo-generator-modal .components-modal__header{border-bottom:1px solid #dcdcde;padding:20px 24px}.jetpack-ai-logo-generator-modal .components-modal__content{margin-bottom:30px;padding:32px 32px 2px}.jetpack-ai-logo-generator-modal .components-modal__content>div:not(.components-modal__header){height:100%}.jetpack-ai-logo-generator-modal .components-button:focus:not(:disabled):not(.is-primary){box-shadow:0 0 0 2px #0675c4}.jetpack-ai-logo-generator-modal .components-button.is-link{color:#0675c4;text-decoration:none}.jetpack-ai-logo-generator-modal__body{display:flex;flex-direction:column;gap:16px;height:100%}@media(min-width:700px){.jetpack-ai-logo-generator-modal__body{min-height:409px;width:700px}.jetpack-ai-logo-generator-modal__body.notice-modal{min-height:unset;width:470px}}.jetpack-ai-logo-generator__footer{display:flex}.jetpack-ai-logo-generator__footer .jetpack-ai-logo-generator__feedback-button{align-items:center;display:flex;gap:4px;margin-top:8px}.jetpack-ai-logo-generator__footer .jetpack-ai-logo-generator__feedback-button .icon{color:#a7aaad}.jetpack-ai-logo-generator-modal__notice-message-wrapper{display:flex;flex-direction:column;gap:24px}.jetpack-ai-logo-generator-modal__notice-message{font-size:var(--font-body-small)}.jetpack-ai-logo-generator-modal__notice-actions{display:flex;gap:12px;justify-content:flex-end}.jetpack-ai-logo-generator__accept{display:flex;flex-direction:column;gap:64px}.jetpack-ai-logo-generator__accept-actions{display:flex;gap:22px;justify-content:flex-end}.ai-assistant-featured-image__content{align-items:center;display:flex;flex-direction:column;gap:8px;justify-content:center;margin-top:32px}.ai-assistant-featured-image__actions,.ai-assistant-featured-image__user-prompt{display:flex;justify-content:center;width:100%}.ai-assistant-featured-image__user-prompt{flex-direction:row}.ai-assistant-featured-image__user-prompt-textarea{display:flex;justify-content:center;width:100%}.ai-assistant-featured-image__user-prompt-textarea textarea{border:1px solid #ccc;border-radius:6px;color:#000;outline:none;padding:12px;width:100%}.ai-assistant-featured-image__user-prompt-textarea textarea:disabled{opacity:.5}.ai-assistant-featured-image__actions-left{display:flex;justify-content:flex-start;width:50%}.ai-assistant-featured-image__actions-right{display:flex;justify-content:flex-end;width:50%}.ai-assistant-featured-image__action-buttons{display:flex;gap:12px;justify-content:center}.ai-assistant-featured-image__image-canvas{margin-top:24px;width:100%}.ai-assistant-featured-image__image-canvas>.jetpack-ai-upgrade-banner{margin-bottom:8px}.ai-assistant-featured-image__footer{border-top:1px solid #dcdcde;display:flex;height:60px;justify-content:flex-start;margin:32px -32px -32px;padding:8px 32px}.ai-assistant-featured-image__footer__feedback-button{display:inline-block}.ai-assistant-featured-image__footer__feedback-button a{text-decoration:none}.ai-assistant-featured-image__footer .icon{color:#a7aaad;height:20px;margin-left:4px;width:20px}.ai-image-modal__content{align-items:center;display:flex;flex-direction:column;gap:8px;justify-content:center;margin-top:32px}.ai-image-modal__content .jetpack-ai-fair-usage-notice{width:100%}.ai-image-modal__actions,.ai-image-modal__user-prompt{display:flex;justify-content:center;width:100%}.ai-image-modal__user-prompt{flex-direction:row}.ai-image-modal__user-prompt-textarea{display:flex;justify-content:center;width:100%}.ai-image-modal__user-prompt-textarea div{display:flex;width:100%}.ai-image-modal__user-prompt-textarea textarea{border:1px solid #ccc;border-radius:6px;color:#000;outline:none;padding:12px;width:100%}.ai-image-modal__user-prompt-textarea textarea:disabled{opacity:.5}.ai-image-modal__actions-left{display:flex;justify-content:flex-start;width:50%}.ai-image-modal__actions-right{display:flex;justify-content:flex-end;width:50%}.ai-image-modal__action-buttons{display:flex;gap:12px;justify-content:center}.ai-image-modal__image-canvas{margin-top:24px;width:100%}.ai-image-modal__image-canvas>.jetpack-ai-upgrade-banner{margin-bottom:8px}.ai-image-modal__footer{border-top:1px solid #dcdcde;display:flex;height:60px;justify-content:flex-start;margin:32px -32px -32px;padding:8px 32px}.ai-image-modal__footer__feedback-button{display:inline-block}.ai-image-modal__footer__feedback-button a{text-decoration:none}.ai-image-modal__footer .icon{color:#a7aaad;height:20px;margin-left:4px;width:20px}.jetpack-upgrade-plan-banner.block-editor-block-list__block{margin-bottom:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left] .jetpack-upgrade-plan-banner__wrapper,.jetpack-upgrade-plan-banner.wp-block[data-align=right] .jetpack-upgrade-plan-banner__wrapper{max-width:580px}.jetpack-upgrade-plan-banner__wrapper{column-gap:32px}.jetpack-upgrade-plan-banner.jetpack-ai-upgrade-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary.is-busy{background:#fff;color:#000}.jetpack-ai-fair-usage-notice-muted-variant{color:#757575;font-size:13px;font-weight:400;line-height:1.4;margin:0;text-wrap:pretty}.jetpack-ai-fair-usage-notice-muted-variant a{color:#757575}.jetpack-ai-fair-usage-notice,.jetpack-ai-fair-usage-notice a{color:#1e1e1e}@media(min-width:960px){.ai-assistant-modal{max-height:95%}}.ai-assistant-modal__content{display:flex;flex-direction:column}@media screen and (min-width:960px){.ai-assistant-modal__content{width:100vw}}.ai-assistant-modal__header{display:flex;justify-content:space-between;margin-left:-32px;margin-right:-32px;margin-top:-32px;padding:8px 12px}.ai-assistant-modal__divider{background:#dcdcde;height:1px;margin:0 -32px}.ai-assistant-modal__title-wrapper{align-items:center;display:flex;gap:16px}.ai-assistant-modal__title-wrapper>svg{color:#008710;margin:0}.ai-assistant-modal__title{font-size:14px;line-height:24px;margin:0}.ai-assistant-image__blank{height:auto;position:relative}.ai-assistant-image__blank,.ai-assistant-image__blank-content{align-items:center;display:flex;justify-content:center;width:100%}.ai-assistant-image__blank-content{height:100%;position:absolute}.ai-assistant-image__blank-content.is-dotted{border:1px dotted}.ai-assistant-image__loading{flex-direction:column;gap:8px}.ai-assistant-image__error{align-items:center;display:flex;flex-direction:column;justify-content:center}.ai-assistant-image__error-message{color:red;font-size:10px}.ai-assistant-image__carrousel{flex-direction:column;width:100%}.ai-assistant-image__carrousel-images{align-items:center;display:flex;overflow:hidden;position:relative}.ai-assistant-image__carrousel-images .ai-carrousel__prev{left:0}.ai-assistant-image__carrousel-images .ai-carrousel__next{right:0}.ai-assistant-image__carrousel-images .ai-carrousel__next,.ai-assistant-image__carrousel-images .ai-carrousel__prev{align-items:center;background:#0000;border:none;bottom:0;cursor:pointer;display:flex;height:100%;justify-content:center;opacity:0;position:absolute;top:0;transition:opacity .3s;width:60px;z-index:1}.ai-assistant-image__carrousel-images .ai-carrousel__next:hover,.ai-assistant-image__carrousel-images .ai-carrousel__prev:hover{background-color:#0000004d;opacity:1}.ai-assistant-image__carrousel-images .ai-carrousel__next-icon,.ai-assistant-image__carrousel-images .ai-carrousel__prev-icon{fill:#fff}.ai-assistant-image__carrousel-images .ai-carrousel__next-icon.is-disabled,.ai-assistant-image__carrousel-images .ai-carrousel__prev-icon.is-disabled{fill:gray}.ai-assistant-image__carrousel-footer{display:flex;justify-content:space-between;margin-top:8px}.ai-assistant-image__carrousel-counter{align-items:center;display:flex;font-size:13px;justify-content:flex-start;padding:6px 0}.ai-assistant-image__carrousel-counter .ai-carrousel__next,.ai-assistant-image__carrousel-counter .ai-carrousel__prev{align-items:center;background:#0000;border:none;cursor:pointer;display:flex;justify-content:center;padding:0}.ai-assistant-image__carrousel-counter .ai-carrousel__next-icon.is-disabled,.ai-assistant-image__carrousel-counter .ai-carrousel__prev-icon.is-disabled{fill:gray}.ai-assistant-image__carrousel-image{height:auto;width:100%}.ai-assistant-image__carrousel-image-container{display:flex;height:auto;left:8px;position:absolute;transform:translateX(100%);transition:transform .5s;width:100%}.ai-assistant-image__carrousel-image-container.is-prev{left:-8px;transform:translateX(-100%)}.ai-assistant-image__carrousel-image-container.is-current{position:static;transform:translateX(0)}.ai-assistant-featured-image__usage-counter{color:#646970;display:flex;flex-direction:column;font-size:12px}.ai-assistant-featured-image__usage-counter>span{align-items:center;display:flex;gap:8px;justify-content:space-between}.ai-assistant-featured-image__usage-counter-no-limit{color:red}@keyframes jetpack-external-media-loading-fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.jetpack-external-media-browser--visually-hidden{height:1px;overflow:hidden;position:absolute!important;width:1px;clip:rect(1px,1px,1px,1px);white-space:nowrap}.modal-open .jetpack-external-media-button-menu__options{display:none}.jetpack-external-media-browser .is-error{margin-bottom:1em;margin-left:0;margin-right:0}.jetpack-external-media-browser .components-placeholder{background-color:#0000}.jetpack-external-media-browser .components-modal__content{overflow:auto;padding-bottom:0;width:100%}@media(min-width:600px){.jetpack-external-media-browser .components-modal__content{height:90vh;width:90vw}}.jetpack-external-media-browser.is-jetpack-app-media{max-width:733px}@media(min-width:600px){.jetpack-external-media-browser.is-jetpack-app-media .components-modal__content{height:90vh;max-width:733px;width:90vw}}.jetpack-external-media-browser.is-jetpack-app-media .jetpack-app-icon{width:69px}.jetpack-external-media-browser.is-jetpack-app-media .components-notice-list{position:relative;z-index:1}.jetpack-external-media-browser.is-jetpack-app-media .components-modal__header{border-bottom:0}.jetpack-external-media-browser.is-jetpack-app-media .jetpack-external-media-wrapper__jetpack_app_media-instructions{bottom:-104px;position:relative;right:-56px}.jetpack-external-media-browser.is-jetpack-app-media .components-modal__content{margin-top:0;padding:40px 56px}.jetpack-external-media-browser.is-jetpack-app-media .jetpack-external-media-browser__media__item{animation:animate-drop .3s ease;opacity:1}@media only screen and (min-width:600px){.jetpack-external-media-browser.is-jetpack-app-media .jetpack-external-media-browser__media__item{padding-top:96px;width:112px}}.jetpack-external-media-browser.is-jetpack-app-media .jetpack-external-media-browser .jetpack-external-media-browser__media__item img{height:80px;width:80px}@keyframes animate-drop{0%{opacity:0;transform:translateY(-100%)}to{opacity:1;transform:translateY(0)}}.jetpack-external-media-wrapper__jetpack_app_media-title{color:var(--jp-gray-100);font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif;font-size:24px;font-weight:400;letter-spacing:-.32px;line-height:1.67;margin:0 0 14px}.jetpack-external-media-wrapper__jetpack_app_media-description{color:var(--jp-gray-60);font-size:14px;font-weight:400;line-height:1.43;margin:0;text-align:left}.jetpack-external-media-wrapper__jetpack_app_media-wrapper.has-no-image-uploaded .jetpack-external-media-wrapper__jetpack_app_media-description,.jetpack-external-media-wrapper__jetpack_app_media-wrapper.has-no-image-uploaded .jetpack-external-media-wrapper__jetpack_app_media-title{max-width:100%}@media only screen and (min-width:600px){.jetpack-external-media-wrapper__jetpack_app_media-wrapper.has-no-image-uploaded .jetpack-external-media-wrapper__jetpack_app_media-description,.jetpack-external-media-wrapper__jetpack_app_media-wrapper.has-no-image-uploaded .jetpack-external-media-wrapper__jetpack_app_media-title{max-width:calc(100% - 300px)}}.jetpack-external-media-wrapper__jetpack_app_media-qr-code canvas{height:100px;margin-top:24px;width:100px}.jetpack-external-media-wrapper__jetpack_app_media-instructions img{bottom:0;display:none;position:absolute;right:56px}@media only screen and (min-width:600px){.jetpack-external-media-wrapper__jetpack_app_media-instructions img{display:inline}}.jetpack-external-media-browser__jetpack_app_media_browser{margin:0 -20px}.jetpack-external-media-browser__jetpack_app_media_browser .jetpack-external-media-browser__media{margin:6px 0 -15px}.jetpack-external-media-browser.is-jetpack-app-media .jetpack-external-media-browser__media__toolbar{background-color:#0000;padding:0}.jetpack-external-media-wrapper__jetpack_app_media-qr-code-wrapper{align-items:center;display:flex;flex-direction:row;flex-grow:1;justify-content:space-between}.jetpack-external-media-wrapper__jetpack_app_media .jetpack-external-media-browser__empty{display:none}.jetpack-external-media-browser--is-copying{pointer-events:none}.jetpack-external-media-browser{align-items:flex-start;background:#fff;display:flex;flex-direction:column}.jetpack-external-media-browser .jetpack-external-media-browser__media{width:100%}.jetpack-external-media-browser .jetpack-external-media-browser__media__item{background:#0000;border:0;display:inline-flex;height:0;padding-top:50%;position:relative;width:50%}.jetpack-external-media-browser .jetpack-external-media-browser__media__item img{display:block;height:calc(100% - 16px);left:8px;object-fit:contain;position:absolute;top:8px;width:calc(100% - 16px)}.jetpack-external-media-browser .jetpack-external-media-browser__media__item.is-transient img{opacity:.3}.jetpack-external-media-browser .jetpack-external-media-browser__media__copying_indicator{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;left:0;position:absolute;text-align:center;top:0;width:100%}.jetpack-external-media-browser .jetpack-external-media-browser__media__copying_indicator .components-spinner{margin-bottom:8px}.jetpack-external-media-browser .jetpack-external-media-browser__media__copying_indicator__label{font-size:12px}.jetpack-external-media-browser .jetpack-external-media-browser__media__folder{align-content:flex-start;align-items:center;display:flex;flex-wrap:wrap;float:left;justify-content:space-between;margin-bottom:36px}.jetpack-external-media-browser .jetpack-external-media-browser__media__info{display:flex;font-size:12px;font-weight:700;justify-content:space-between;padding:3px;width:100%}.jetpack-external-media-browser .jetpack-external-media-browser__media__count{background-color:#dcdcde;border-radius:8px;margin-bottom:auto;padding:3px 4px}.jetpack-external-media-browser .jetpack-external-media-browser__media__item{border:8px solid #0000}.jetpack-external-media-browser .jetpack-external-media-browser__media__item:focus{border-radius:10px;box-shadow:inset 0 0 0 2px var(--wp-admin-theme-color);outline:none}.jetpack-external-media-browser .jetpack-external-media-browser__media__item__selected{border-radius:10px;box-shadow:inset 0 0 0 6px var(--wp-admin-theme-color)}.jetpack-external-media-browser .jetpack-external-media-browser__media__item__selected:focus{box-shadow:inset 0 0 0 2px var(--wp-admin-theme-color),inset 0 0 0 3px #fff,inset 0 0 0 6px var(--wp-admin-theme-color)}.jetpack-external-media-browser .jetpack-external-media-browser__media__placeholder{animation:jetpack-external-media-loading-fade 1.6s ease-in-out infinite;background-color:#ccc;border:0;height:100px;margin:16px;width:100px}.jetpack-external-media-browser .jetpack-external-media-browser__media__toolbar{background:#fff;bottom:0;display:flex;justify-content:flex-end;left:0;padding:20px 0;position:fixed;position:sticky;width:100%}.jetpack-external-media-browser .jetpack-external-media-browser__loadmore{clear:both;display:block;margin:24px auto 48px}@media only screen and (min-width:600px){.jetpack-external-media-browser .jetpack-external-media-browser__media__item{padding-top:20%;width:20%}}.jetpack-external-media-header__view{align-items:flex-start;display:flex;flex-direction:column;justify-content:flex-start;margin-bottom:48px}@media only screen and (min-width:600px){.jetpack-external-media-header__view{align-items:center;flex-direction:row}}.jetpack-external-media-header__view select{max-width:200px!important}.jetpack-external-media-header__view .components-base-control__field{display:flex;flex-direction:column}.jetpack-external-media-header__filter label,.jetpack-external-media-header__view label{margin-right:10px}.jetpack-external-media-header__filter .components-base-control,.jetpack-external-media-header__view .components-base-control{margin-bottom:0;padding-right:8px}.jetpack-external-media-header__filter{align-items:center;display:flex;flex-grow:1;flex-wrap:wrap;justify-content:flex-start}@media only screen and (min-width:600px){.jetpack-external-media-header__filter{border-left:1px solid #ccc;margin-left:16px;padding-left:16px}}.jetpack-external-media-header__filter .jetpack-external-media-date-filter{display:flex;flex-wrap:wrap}.jetpack-external-media-header__filter .jetpack-external-media-date-filter button{height:40px;margin-top:27px}@media only screen and (min-width:783px){.jetpack-external-media-header__filter .jetpack-external-media-date-filter button{height:30px}}.jetpack-external-media-header__filter .jetpack-external-media-date-filter .components-base-control .components-input-control__label{margin-bottom:3px}.jetpack-external-media-header__filter .jetpack-external-media-date-filter .components-base-control .components-input-control__backdrop{border-color:#e0e0e0;border-radius:3px}.jetpack-external-media-header__filter .jetpack-external-media-date-filter .components-base-control .components-input-control__input{height:40px;width:70px}@media only screen and (min-width:783px){.jetpack-external-media-header__filter .jetpack-external-media-date-filter .components-base-control .components-input-control__input{height:30px}}.jetpack-external-media-header__account{display:flex;flex-direction:column}.jetpack-external-media-header__account .jetpack-external-media-header__account-info{display:flex;margin-bottom:8px}.jetpack-external-media-header__account .jetpack-external-media-header__account-image{margin-right:8px}.jetpack-external-media-header__account .jetpack-external-media-header__account-name{height:18px;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-external-media-header__account .jetpack-external-media-browser__disconnect{height:40px;margin:1px 1px 9px 0}@media only screen and (min-width:783px){.jetpack-external-media-header__account .jetpack-external-media-browser__disconnect{height:30px}}.jetpack-external-media-header__openverse,.jetpack-external-media-header__pexels{display:flex;margin-bottom:48px}.jetpack-external-media-header__openverse .components-base-control,.jetpack-external-media-header__pexels .components-base-control{flex:1;margin-right:12px}.jetpack-external-media-header__openverse .components-base-control__field,.jetpack-external-media-header__pexels .components-base-control__field{margin-bottom:0}.jetpack-external-media-header__openverse .components-base-control__field,.jetpack-external-media-header__openverse .components-text-control__input,.jetpack-external-media-header__pexels .components-base-control__field,.jetpack-external-media-header__pexels .components-text-control__input{height:100%}.jetpack-external-media-placeholder__open-modal{align-items:center;display:flex;justify-content:center;margin-top:-48px;padding:0;position:absolute;right:0;z-index:1}.jetpack-external-media-placeholder__open-modal .components-button{background:none;margin:0;padding:12px}.jetpack-external-media-placeholder__open-modal .components-button:before{content:none}.jetpack-external-media-placeholder__open-modal .components-button svg{display:block;fill:currentColor}.jetpack-external-media-browsing>div.components-placeholder:not(.jetpack-external-media-replacedholder){display:none}.jetpack-external-media-browser__empty{padding-top:2em;text-align:center;width:100%}.jetpack-external-media-auth{margin:0 auto;max-width:340px;padding-bottom:80px;text-align:center}.jetpack-external-media-auth p{margin:2em 0}.jetpack-external-media-filters{display:flex;justify-content:space-between}.jetpack-external-media-button-menu__dropdown{width:100%}.jetpack-external-media-button-menu__dropdown .jetpack-external-media-button-menu{flex-direction:row;padding-left:12px;padding-right:12px;text-align:left;width:100%}.jetpack-external-media-button-menu__dropdown .jetpack-external-media-button-menu .jetpack-external-media-button-menu__label{flex-grow:2}.jetpack-external-media-button-wrapper{display:flex}.components-placeholder__fieldset .components-dropdown .jetpack-external-media-button-menu,.editor-post-featured-image .components-dropdown .jetpack-external-media-button-menu{margin-bottom:1em;width:auto}.components-placeholder__fieldset .components-dropdown .jetpack-external-media-button-menu>svg,.editor-post-featured-image .components-dropdown .jetpack-external-media-button-menu>svg{display:none}.editor-post-featured-image .components-dropdown{display:initial}.block-editor-inserter__media-panel .components-search-control input[type=search].components-search-control__input[placeholder~=Google],.block-editor-inserter__media-panel .components-search-control input[type=search].components-search-control__input[placeholder~=Google]+.components-search-control__icon{display:none}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper{align-items:center;background:#000;border-radius:2px;box-shadow:inset 0 0 1px #fff;display:flex;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;justify-content:space-between;padding:0 20px;text-transform:none}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .banner-description,.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .banner-title{color:#fff;margin-bottom:10px;margin-right:10px;margin-top:10px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-upgrade-plan-banner__description,.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-upgrade-plan-banner__title{margin-right:10px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button{flex-shrink:0;height:28px;line-height:1;margin-bottom:10px;margin-left:auto;margin-top:10px}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary{background:#e34c84;color:#fff;text-decoration:none}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary:hover{background:#eb6594}.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary.is-busy{background-image:linear-gradient(-45deg,#e34c84 28%,#ab235a 0,#ab235a 72%,#e34c84 0);background-size:100px 100%}.jetpack-upgrade-plan-banner.block-editor-block-list__block{margin-bottom:12px;margin-top:0}.jetpack-upgrade-plan-banner.wp-block[data-align=left] .jetpack-upgrade-plan-banner__wrapper,.jetpack-upgrade-plan-banner.wp-block[data-align=right] .jetpack-upgrade-plan-banner__wrapper{max-width:840px;width:100%}.jetpack-paid-block-symbol,.jetpack-upgrade-plan__hidden{display:none}.jetpack-enable-upgrade-nudge .block-editor-block-icon{position:relative}.jetpack-enable-upgrade-nudge .block-editor-block-icon>svg{overflow:visible}.jetpack-enable-upgrade-nudge svg.jetpack-paid-block-symbol{display:block;left:calc(100% - 1px);position:absolute;top:3px}.jetpack-enable-upgrade-nudge .components-placeholder__label .jetpack-paid-block-symbol{display:none}.wp-block-cover.is-placeholder{display:block}.paid-block-media-placeholder{width:100%}.wp-block-cover:not(.is-placeholder) .paid-block-media-placeholder{bottom:0;left:0;position:absolute;right:0;top:0}.block-editor-block-list__block.is-upgradable.is-selected.is-placeholder{background-color:#0000;padding-top:0}.block-editor-block-list__layout .block-editor-block-list__block.is-upgradable:focus:after{box-shadow:none}.interface-interface-skeleton__editor{max-width:100%}.is-beta-extension{box-shadow:0 0 3px #2fb41f;position:relative;transition:box-shadow .5s linear}.is-beta-extension.inset-shadow{box-shadow:inset 0 0 3px #2fb41f}.is-beta-extension:before{background-color:#2fb41f;border-radius:4px;color:#fff;content:"BETA";font-size:11px;font-weight:600;height:24px;line-height:24px;opacity:1;padding:0 5px;position:absolute;right:3px;top:3px;transition:visibility .5s,opacity .5s linear;visibility:visible;z-index:10000}.is-beta-extension:focus,.is-beta-extension:hover{box-shadow:none}.is-beta-extension:focus:before,.is-beta-extension:hover:before{opacity:0;visibility:hidden}.jetpack-ai-usage-panel{width:100%}.jetpack-ai-usage-panel p.muted{color:#646970}.jetpack-ai-usage-panel .jetpack-ai-usage-panel-upgrade-button{margin-top:1em}.jetpack-ai-usage-panel{--spacing-base:8px}.jetpack-ai-usage-panel .components-base-control{margin:0}.jetpack-ai-usage-panel .jetpack-ai-usage-panel-loading{background-color:#dcdcde;height:calc(var(--spacing-base)*11 + .5px)}.jetpack-ai-usage-panel .ai-assistant-usage-bar-wrapper{background-color:#dcdcde;border-radius:2px;height:4px;margin:0;overflow:hidden;width:100%}.jetpack-ai-usage-panel .ai-assistant-usage-bar-usage{background-color:#069e08;border-radius:2px;height:100%}.jetpack-ai-usage-panel .ai-assistant-usage-bar-usage.warning{background-color:#f2cf75}.jetpack-ai-usage-panel .ai-assistant-usage-bar-usage.danger{background-color:#d63639}.jetpack-ai-usage-panel .jetpack-ai-usage-panel__loading-placeholder{background-color:#c3c4c7;margin-top:var(--spacing-base)}.jetpack-ai-usage-panel__available-requests{font-size:16px;font-weight:600;margin-bottom:8px;margin-top:0}@keyframes R2i0K45dEF157drbVRPI{0%{opacity:.6}50%{opacity:1}to{opacity:.6}}.NisihrgiIKl_knpYJtfg{animation:R2i0K45dEF157drbVRPI 1.5s infinite;background-color:var(--jp-gray);height:100%;width:100%}.jetpack-ai-feedback-control .components-base-control:last-child{margin-bottom:0}.ai-assistant__i18n-dropdown{width:100%}.ai-assistant__i18n-dropdown .components-dropdown-menu__toggle{display:flex;gap:8px;width:100%}.ai-assistant__i18n-dropdown__toggle-label{flex-grow:2;text-align:left}.ai-assistant__tone-dropdown{width:100%}.ai-assistant__tone-dropdown .components-dropdown-menu__toggle{display:flex;gap:8px;width:100%}.ai-assistant__tone-dropdown__toggle-label{flex-grow:2;text-align:left;width:100}.jetpack-ai-assistant__button.is-suggesting .ai-assistant-icon>path{animation:fadingSpark .3s ease-in-out infinite alternate}.jetpack-ai-assistant__button.is-suggesting .ai-assistant-icon>path.spark-first{animation-delay:.2s}.jetpack-ai-assistant__button.is-suggesting .ai-assistant-icon>path.spark-second{animation-delay:.6s}.jetpack-ai-assistant__info{margin:0 0 8px}@keyframes fadingSpark{to{opacity:.3}}.block-editor-block-toolbar__slot{flex-shrink:0}.wp-block-jetpack-ai-assistant .jetpack-ai-assistant__content{opacity:1;transition:opacity .2s ease-in-out}.wp-block-jetpack-ai-assistant.is-waiting-response .jetpack-ai-assistant__content{opacity:.5}.jetpack-ai-assistant__error{color:var(--wp--preset--color--black);margin:0 0 8px}.jetpack-ai-assistant__accept{display:flex;justify-content:right;margin:12px}.jetpack-ai-assistant__content{overflow-x:auto}.jetpack-ai-assistant__content table{border-collapse:collapse;width:100%}.jetpack-ai-assistant__content thead{border-bottom:3px solid}.jetpack-ai-assistant__content tfoot{border-top:3px solid}.jetpack-ai-assistant__content td,.jetpack-ai-assistant__content th{border:1px solid;padding:.5em}.jetpack-ai-assistant__content .has-fixed-layout{table-layout:fixed;width:100%}.jetpack-ai-assistant__content .has-fixed-layout td,.jetpack-ai-assistant__content .has-fixed-layout th{word-break:break-word}.jetpack-ai-assistant__content.aligncenter,.jetpack-ai-assistant__content.alignleft,.jetpack-ai-assistant__content.alignright{display:table;width:auto}.jetpack-ai-assistant__content.aligncenter td,.jetpack-ai-assistant__content.aligncenter th,.jetpack-ai-assistant__content.alignleft td,.jetpack-ai-assistant__content.alignleft th,.jetpack-ai-assistant__content.alignright td,.jetpack-ai-assistant__content.alignright th{word-break:break-word}.jetpack-ai-assistant__content .has-border-color td,.jetpack-ai-assistant__content .has-border-color th,.jetpack-ai-assistant__content .has-border-color tr,.jetpack-ai-assistant__content .has-border-color>*{border-color:inherit}.jetpack-ai-assistant__content table[style*=border-top-color] tr:first-child,.jetpack-ai-assistant__content table[style*=border-top-color] tr:first-child td,.jetpack-ai-assistant__content table[style*=border-top-color] tr:first-child th,.jetpack-ai-assistant__content table[style*=border-top-color]>*,.jetpack-ai-assistant__content table[style*=border-top-color]>* td,.jetpack-ai-assistant__content table[style*=border-top-color]>* th{border-top-color:inherit}.jetpack-ai-assistant__content table[style*=border-top-color] tr:not(:first-child){border-top-color:initial}.jetpack-ai-assistant__content table[style*=border-right-color] td:last-child,.jetpack-ai-assistant__content table[style*=border-right-color] th,.jetpack-ai-assistant__content table[style*=border-right-color] tr,.jetpack-ai-assistant__content table[style*=border-right-color]>*{border-right-color:inherit}.jetpack-ai-assistant__content table[style*=border-bottom-color] tr:last-child,.jetpack-ai-assistant__content table[style*=border-bottom-color] tr:last-child td,.jetpack-ai-assistant__content table[style*=border-bottom-color] tr:last-child th,.jetpack-ai-assistant__content table[style*=border-bottom-color]>*,.jetpack-ai-assistant__content table[style*=border-bottom-color]>* td,.jetpack-ai-assistant__content table[style*=border-bottom-color]>* th{border-bottom-color:inherit}.jetpack-ai-assistant__content table[style*=border-bottom-color] tr:not(:last-child){border-bottom-color:initial}.jetpack-ai-assistant__content table[style*=border-left-color] td:first-child,.jetpack-ai-assistant__content table[style*=border-left-color] th,.jetpack-ai-assistant__content table[style*=border-left-color] tr,.jetpack-ai-assistant__content table[style*=border-left-color]>*{border-left-color:inherit}.jetpack-ai-assistant__content table[style*=border-style] td,.jetpack-ai-assistant__content table[style*=border-style] th,.jetpack-ai-assistant__content table[style*=border-style] tr,.jetpack-ai-assistant__content table[style*=border-style]>*{border-style:inherit}.jetpack-ai-assistant__content table[style*=border-width] td,.jetpack-ai-assistant__content table[style*=border-width] th,.jetpack-ai-assistant__content table[style*=border-width] tr,.jetpack-ai-assistant__content table[style*=border-width]>*{border-style:inherit;border-width:inherit}.wp-block-ai-image-image{cursor:pointer;height:128px;width:128px}.jetpack-ai-assistant__templates-control svg{padding-right:4px}.jetpack-ai-connect-banner .jetpack-upgrade-plan-banner__wrapper,.jetpack-ai-upgrade-banner .jetpack-upgrade-plan-banner__wrapper{flex-wrap:nowrap}.jetpack-ai-connect-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-ai-connect-banner__description,.jetpack-ai-connect-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-ai-upgrade-banner__description,.jetpack-ai-upgrade-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-ai-connect-banner__description,.jetpack-ai-upgrade-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-ai-upgrade-banner__description{line-height:24px}.jetpack-ai-connect-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary,.jetpack-ai-upgrade-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary{background-color:#fff;color:#000;margin-bottom:8px;margin-top:8px}.jetpack-ai-connect-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary:hover,.jetpack-ai-upgrade-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary:hover{background-color:#f6f7f7}.jetpack-ai-assistant__custom-prompt{width:800px}.jetpack-ai-assistant__custom-prompt__footer{display:flex;gap:8px;justify-content:flex-end}.jetpack-contact-form{margin-top:16px}.jetpack-ai-assistant__bar:not(.is-fixed){margin-top:10px;position:relative;z-index:30}.jetpack-ai-assistant__bar.is-fixed .jetpack-components-ai-control__container-wrapper{bottom:0;position:relative}.jetpack-ai-assistant__bar.is-fixed .jetpack-components-ai-control__container{border-radius:0;box-shadow:none}.jetpack-ai-assistant__bar.is-fixed .jetpack-components-ai-control__wrapper{padding:7px 14px}.jetpack-ai-assistant-bar__slot{border:none;border-radius:0;display:block;position:sticky;z-index:31}.jetpack-ai-assistant-bar__slot .jetpack-ai-assistant__bar-wrapper{bottom:0;position:relative}.jetpack-ai-assistant__bar-wrapper{bottom:16px;position:sticky;z-index:30}.jetpack-components-ai-control__container-wrapper.jetpack-ai-assistant-extension-ai-input{position:sticky;z-index:1}.jetpack-ai-chat-copy-button-container{margin:1rem 0}.jetpack-ai-chat-copy-button-container button{background:none;border:none;color:var(--wp--preset--color--secondary);cursor:pointer;display:block;font-size:16px;padding:inherit;position:relative;transition:.3s}.jetpack-ai-chat-copy-button-container button:disabled{cursor:not-allowed;opacity:.5}.jetpack-ai-chat-copy-button-container button .copy-icon{margin-right:.5rem;vertical-align:middle}.jetpack-ai-chat-error-container{color:#dc3232;font-size:1rem;margin:1rem 0}.wp-block-jetpack-ai-chat .jetpack-ai-chat-question-wrapper{display:flex;flex-direction:row;flex-wrap:nowrap;margin-top:1rem}.wp-block-jetpack-ai-chat .jetpack-ai-chat-question-wrapper .jetpack-ai-chat-question-input{flex:auto;flex-grow:4}.wp-block-jetpack-ai-chat .jetpack-ai-chat-question-wrapper .jetpack-ai-chat-question-input input{font-size:16px;line-height:1.3;padding:15px 23px;width:100%}.wp-block-jetpack-ai-chat .jetpack-ai-chat-question-wrapper .jetpack-ai-chat-question-input .components-base-control__field{margin-bottom:0}.wp-block-jetpack-ai-chat .jetpack-ai-chat-question-wrapper .jetpack-ai-chat-question-button{display:block;flex:auto;flex-grow:1;height:53px;margin-left:10px;text-wrap:nowrap;white-space:-moz-pre-space}.wp-block-jetpack-ai-chat .jetpack-ai-chat-answer-references{font-size:1rem;margin-top:12px}.wp-block-jetpack-ai-chat .jetpack-ai-chat-answer-references hr{margin:1rem 0}.jetpack-ai-chat-feedback-container .jetpack-ai-chat-feedback-form{display:flex;flex-direction:row;flex-wrap:nowrap;margin-top:1rem}.jetpack-ai-chat-feedback-container .jetpack-ai-chat-feedback-form .jetpack-ai-chat-feedback-input{flex:auto;flex-grow:4}.jetpack-ai-chat-feedback-container .jetpack-ai-chat-feedback-form .jetpack-ai-chat-feedback-input input{font-size:16px;line-height:1.3;padding:15px 23px;width:100%}.jetpack-ai-chat-feedback-container .jetpack-ai-chat-feedback-form .jetpack-ai-chat-feedback-submit{flex:auto;flex-grow:1;height:53px;margin-left:10px;text-wrap:nowrap}.jetpack-ai-chat-feedback-container .jetpack-ai-chat-answer-feedback-buttons a{border:none;border-radius:2px;cursor:pointer;margin-left:.5rem;padding:.5rem;transition:.3s}.jetpack-ai-chat-feedback-container .jetpack-ai-chat-answer-feedback-buttons a svg{width:20px;fill:var(--wp--preset--color--contrast);vertical-align:middle}.jetpack-ai-chat-feedback-container .jetpack-ai-chat-answer-feedback-buttons a:disabled{cursor:not-allowed;opacity:.5}.interface-more-menu-dropdown__content .components-button .jetpack-logo,.interface-pinned-items .components-button .jetpack-logo{height:20px;width:20px}.edit-post-more-menu__content .components-icon-button .jetpack-logo{margin-right:4px}.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-triangle{stroke:none!important}.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-circle{fill:#069e08!important}.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-triangle{fill:#fff!important}.jetpack-ai-proofread{margin-bottom:24px}.jetpack-ai-proofread .components-checkbox-control__input:not(:disabled)[data-breve-type=complex-words]{border-color:#f0b849}.jetpack-ai-proofread .components-checkbox-control__input:not(:disabled)[data-breve-type=unconfident-words]{border-color:#09b585}.jetpack-ai-proofread .components-checkbox-control__input:not(:disabled)[data-breve-type=long-sentences]{border-color:#7a00df}.jetpack-ai-proofread .components-checkbox-control__input:not(:disabled)[data-breve-type=spelling-mistakes]{border-color:#d63638}.jetpack-ai-proofread .components-checkbox-control__input:not(:disabled):checked[data-breve-type=complex-words]{background-color:#f0b849}.jetpack-ai-proofread .components-checkbox-control__input:not(:disabled):checked[data-breve-type=unconfident-words]{background-color:#09b585}.jetpack-ai-proofread .components-checkbox-control__input:not(:disabled):checked[data-breve-type=long-sentences]{background-color:#7a00df}.jetpack-ai-proofread .components-checkbox-control__input:not(:disabled):checked[data-breve-type=spelling-mistakes]{background-color:#d63638}.jetpack-ai-proofread .components-checkbox-control__input:disabled{background-color:#ddd;border-color:#ddd}.jetpack-ai-proofread .components-toggle-control{color:#1e1e1e;margin-bottom:16px}.jetpack-ai-proofread__grade-label{color:#757575;margin-left:12px}.jetpack-ai-proofread .feature-checkboxes-container{display:flex;flex-direction:column;gap:12px}[class^=jetpack-ai-breve__has-proofread-highlight]{border-bottom:3px solid;transition:background-color;transition-duration:.3s}[class^=jetpack-ai-breve__has-proofread-highlight][data-breve-type=complex-words]{border-bottom-color:#f0b849}[class^=jetpack-ai-breve__has-proofread-highlight][data-breve-type=unconfident-words]{border-bottom-color:#09b585}[class^=jetpack-ai-breve__has-proofread-highlight][data-breve-type=long-sentences]{border-bottom-color:#7a00df}[class^=jetpack-ai-breve__has-proofread-highlight][data-breve-type=spelling-mistakes]{border-bottom-color:#d63638}[class^=jetpack-ai-breve__has-proofread-highlight].jetpack-ai-breve__is-loading{animation-duration:1s;animation-iteration-count:infinite;animation-name:jetpack-ai-breve-loading-pulse}@keyframes jetpack-ai-breve-loading-pulse{0%{opacity:1}50%{opacity:.3}to{opacity:1}}[class^=jetpack-ai-breve__has-proofread-highlight].jetpack-ai-breve__highlight-hovered[data-breve-type=complex-words]{background-color:#f0b84933}[class^=jetpack-ai-breve__has-proofread-highlight].jetpack-ai-breve__highlight-hovered[data-breve-type=unconfident-words]{background-color:#09b58533}[class^=jetpack-ai-breve__has-proofread-highlight].jetpack-ai-breve__highlight-hovered[data-breve-type=long-sentences]{background-color:#7a00df33}[class^=jetpack-ai-breve__has-proofread-highlight].jetpack-ai-breve__highlight-hovered[data-breve-type=spelling-mistakes]{background-color:#d6363833}.jetpack-ai-breve__highlight-popover{color:#000;cursor:default;font-size:13px;font-style:normal;font-weight:400;line-height:18px;width:auto}.jetpack-ai-breve__highlight-popover .jetpack-ai-breve__highlight-content{align-items:center;display:flex;flex-direction:column}.jetpack-ai-breve__highlight-popover .jetpack-ai-breve__highlight-content.jetpack-ai-breve__has-suggestions{align-items:flex-start}.jetpack-ai-breve__highlight-popover .jetpack-ai-breve__highlight-content.jetpack-ai-breve__has-suggestions .jetpack-ai-breve__suggestions-container{max-height:168px;overflow-x:hidden;overflow-y:auto;padding:3px 0}.jetpack-ai-breve__highlight-popover .jetpack-ai-breve__highlight-content .jetpack-ai-breve__header-container{display:flex;gap:32px;height:40px;justify-content:space-between;width:100%}.jetpack-ai-breve__highlight-popover .jetpack-ai-breve__highlight-content .jetpack-ai-breve__header-container .jetpack-ai-breve__action,.jetpack-ai-breve__highlight-popover .jetpack-ai-breve__highlight-content .jetpack-ai-breve__header-container .jetpack-ai-breve__title{padding:8px 12px}.jetpack-ai-breve__highlight-popover .jetpack-ai-breve__highlight-content .jetpack-ai-breve__header-container .jetpack-ai-breve__title{align-items:center;display:flex;font-size:14px;font-weight:500;gap:8px;justify-content:flex-start;white-space:nowrap}.jetpack-ai-breve__highlight-popover .jetpack-ai-breve__highlight-content .jetpack-ai-breve__header-container .jetpack-ai-breve__title .jetpack-ai-breve__color{border-radius:50%;height:10px;width:10px}.jetpack-ai-breve__highlight-popover .jetpack-ai-breve__highlight-content .jetpack-ai-breve__header-container .jetpack-ai-breve__title .jetpack-ai-breve__color[data-breve-type=complex-words]{background-color:#f0b849}.jetpack-ai-breve__highlight-popover .jetpack-ai-breve__highlight-content .jetpack-ai-breve__header-container .jetpack-ai-breve__title .jetpack-ai-breve__color[data-breve-type=unconfident-words]{background-color:#09b585}.jetpack-ai-breve__highlight-popover .jetpack-ai-breve__highlight-content .jetpack-ai-breve__header-container .jetpack-ai-breve__title .jetpack-ai-breve__color[data-breve-type=long-sentences]{background-color:#7a00df}.jetpack-ai-breve__highlight-popover .jetpack-ai-breve__highlight-content .jetpack-ai-breve__header-container .jetpack-ai-breve__title .jetpack-ai-breve__color[data-breve-type=spelling-mistakes]{background-color:#d63638}.jetpack-ai-breve__highlight-popover .jetpack-ai-breve__highlight-content .jetpack-ai-breve__header-container .jetpack-ai-breve__action{align-items:center;display:flex;font-size:13px;gap:4px;justify-content:flex-end}.jetpack-ai-breve__highlight-popover .jetpack-ai-breve__highlight-content .jetpack-ai-breve__header-container .jetpack-ai-breve__action .jetpack-ai-breve__suggest.components-button{height:24px;padding-bottom:0;padding-right:0;padding-top:0}.jetpack-ai-breve__highlight-popover .jetpack-ai-breve__highlight-content .jetpack-ai-breve__header-container .jetpack-ai-breve__action .jetpack-ai-breve__suggest.components-button path,.jetpack-ai-breve__highlight-popover .jetpack-ai-breve__highlight-content .jetpack-ai-breve__header-container .jetpack-ai-breve__action .jetpack-ai-breve__suggest.components-button>svg{fill:#0277a8}.jetpack-ai-breve__highlight-popover .jetpack-ai-breve__highlight-content .jetpack-ai-breve__header-container .jetpack-ai-breve__action .jetpack-ai-breve__loading{align-items:center;display:flex;height:24px}.jetpack-ai-breve__highlight-popover .jetpack-ai-breve__highlight-content .jetpack-ai-breve__header-container .jetpack-ai-breve__action .jetpack-ai-breve__loading svg{margin-top:0}.jetpack-ai-breve__highlight-popover .jetpack-ai-breve__highlight-content .jetpack-ai-breve__suggestions-container{border-top:1px solid #dcdcde;display:flex;flex-direction:column;width:100%}.jetpack-ai-breve__highlight-popover .jetpack-ai-breve__highlight-content .jetpack-ai-breve__suggestions-container .jetpack-ai-breve__spelling-suggestion+.jetpack-ai-breve__spelling-suggestion{border-top:1px solid #dcdcde}.jetpack-ai-breve__highlight-popover .jetpack-ai-breve__highlight-content .jetpack-ai-breve__suggestions-container .jetpack-ai-breve__spelling-suggestion.components-button.is-tertiary{padding:8px 12px}.jetpack-ai-breve__highlight-popover .jetpack-ai-breve__highlight-content .jetpack-ai-breve__suggestions-container .components-button.is-tertiary{color:#000;height:unset;line-height:20px;min-height:36px;min-width:320px;padding-bottom:16px;padding-top:16px;text-align:unset;white-space:break-spaces}.jetpack-ai-breve__highlight-popover .jetpack-ai-breve__highlight-content .jetpack-ai-breve__helper{align-items:center;background-color:#f6f7f7;border-radius:4px;color:#646970;display:flex;font-size:12px;gap:8px;justify-content:space-between;margin:4px;padding:4px 8px;white-space:nowrap;width:calc(100% - 8px)}.jetpack-ai-breve__highlight-popover .jetpack-ai-breve__highlight-content .jetpack-ai-breve__helper .jetpack-ai-breve__helper-buttons-wrapper{display:flex;gap:16px}.jetpack-ai-breve__highlight-popover .jetpack-ai-breve__highlight-content .jetpack-ai-breve__helper .components-button{color:#646970;padding:0}.ai-assistant-post-feedback__suggestion{margin-bottom:-32px;padding:18px 0}.jetpack-ai-title-optimization__keywords{margin-bottom:16px;margin-top:32px}.jetpack-ai-title-optimization__keywords__textarea{display:flex;justify-content:center}.jetpack-ai-title-optimization__keywords__textarea textarea{border:1px solid #ccc;border-radius:6px;color:#000;outline:none;padding:12px;width:100%}.jetpack-ai-title-optimization__keywords__textarea textarea:disabled{opacity:.5}.jetpack-ai-title-optimization__keywords__button{display:flex;justify-content:flex-end;margin-top:8px}.jetpack-ai-title-optimization__options{margin-top:16px}.jetpack-ai-title-optimization__option{align-items:start;display:flex;gap:16px;justify-content:center;margin-bottom:16px}.jetpack-ai-title-optimization__option>input{margin-top:8px}@media screen and (max-width:600px){.jetpack-ai-title-optimization__option-input{min-width:10%}}.jetpack-ai-title-optimization__option-content{display:flex;flex-direction:column}.jetpack-ai-title-optimization__option-label{font-size:15px;font-weight:600;line-height:22px}.jetpack-ai-title-optimization__option-description{font-size:13px;font-weight:400;line-height:20px;padding-top:4px}.jetpack-ai-title-optimization__loading{align-items:center;display:flex;flex-direction:column;gap:16px;height:200px;justify-content:center;width:100%}.jetpack-ai-title-optimization__error,.jetpack-ai-title-optimization__intro{margin-top:16px}.jetpack-ai-title-optimization__cta{align-items:center;display:flex;gap:8px;justify-content:flex-end;margin-top:16px}.jetpack-ai-title-optimization__footer{border-top:1px solid #dcdcde;display:flex;height:60px;justify-content:flex-start;margin:32px -32px -32px;padding:20px 32px}.jetpack-ai-sidebar__feature-section{margin-bottom:2em}.jetpack-ai-sidebar__feature-section p,.jetpack-ai-sidebar__feature-section p>*{text-wrap:pretty}.jetpack-ai-feedback__label{display:flex;gap:16px}.jetpack-ai-feedback__label .components-toggle-control{margin-bottom:8px}.jetpack-ai__feedback-button .icon{color:#a7aaad;height:20px;margin-left:4px;width:20px}.jetpack-blogging-prompt{border:1px solid #ddd;border-radius:2px;box-sizing:border-box;padding:24px}.jetpack-blogging-prompt__label{background:no-repeat url(images/icon-cd4e9ecf53fadf95246d.svg);background-position:-5px;background-size:24px 24px;font-size:14px;margin-bottom:16px;padding-inline-start:22px}.jetpack-blogging-prompt__label.is-bloganuary-icon{background:no-repeat url(images/bloganuary-icon-20e07d1c81f21708f183.svg);background-position:0;padding-inline-start:26px}.jetpack-blogging-prompt__text{font-size:24px;margin-bottom:16px}.jetpack-blogging-prompt__answers-link{display:inline-block;margin-inline-start:10px;text-decoration:underline}.jetpack-blogging-prompt__answers{font-size:16px}.jetpack-blogging-prompt__answers-gravatar{border:2px solid #fff;border-radius:50%;height:24px;vertical-align:middle;width:24px}.jetpack-blogging-prompt__answers-gravatar:first-child{margin-inline-start:-2px}.jetpack-blogging-prompt__answers-gravatar:not(:first-child){margin-inline-start:-15px}.jetpack-blogging-prompt__spinner{text-align:center}.jetpack-blogging-prompt.is-style-quote{border:none;border-inline-start:4px solid #2f2f2f;margin-bottom:16px;padding:0 24px}@media only email{.jetpack-blogging-prompt__label{background:none;padding-inline-start:0}.jetpack-blogging-prompt__answers,.jetpack-blogging-prompt__answers-gravatar{margin-bottom:0}.jetpack-blogging-prompt__answers-gravatar:not(:first-child){margin-inline-start:0}}.wp-block-jetpack-business-hours{overflow:hidden}@media(min-width:480px){.wp-block-jetpack-business-hours dd,.wp-block-jetpack-business-hours dt{display:inline-block}}.wp-block-jetpack-business-hours dt{min-width:30%;vertical-align:top}.wp-block-jetpack-business-hours dd{margin:0}@media(min-width:480px){.wp-block-jetpack-business-hours dd{max-width:calc(70% - .5em)}}.wp-block-jetpack-business-hours .components-base-control__label,.wp-block-jetpack-business-hours .components-toggle-control__label{font-size:13px}.wp-block-jetpack-business-hours .components-base-control__field{margin-bottom:0}.wp-block-jetpack-business-hours .jetpack-business-hours__item{margin-bottom:.5em}.wp-block-jetpack-business-hours .business-hours__row{display:flex;line-height:normal;margin-bottom:4px}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__closed{margin-bottom:20px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{align-items:flex-start;display:flex;width:44%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .business-hours__day-name{font-weight:700;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap;width:60%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .components-form-toggle{margin-right:4px;margin-top:4px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{align-items:center;display:flex;flex-wrap:wrap;margin:0;width:44%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-button{padding:0}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control{display:inline-block;margin-bottom:0;width:48%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control.business-hours__open{margin-right:4%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control .components-base-control__label{margin-bottom:0}.wp-block-jetpack-business-hours .business-hours__remove{align-self:flex-end;margin-bottom:8px;text-align:center;width:10%}.wp-block-jetpack-business-hours .business-hours-row__add button:hover{box-shadow:none!important}.wp-block-jetpack-business-hours .business-hours__remove button{display:block;margin:0 auto}.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:hover,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:hover{background:none;box-shadow:none}@media(max-width:1080px){.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}@media(max-width:600px){.wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}@media(min-width:480px){.jetpack-business-hours dd,.jetpack-business-hours dt{display:inline-block}}.jetpack-business-hours dt{font-weight:700;margin-inline-end:.5em;min-width:30%;vertical-align:top}.jetpack-business-hours dd{margin:0}@media(min-width:480px){.jetpack-business-hours dd{max-width:calc(70% - .5em)}}.jetpack-business-hours__item{margin-bottom:.5em}.jetpack-block-width-controls{align-items:center;display:flex}.jetpack-block-width-controls .components-button-group{display:flex;margin-right:1em}.jetpack-block-width-controls:not(.is-aligned) .components-unit-control-wrapper{flex:1}.wp-block[data-type="jetpack/button"]{display:inline-block;margin:0 auto}.wp-block[data-align=center] .wp-block-jetpack-button{display:flex;justify-content:center}.wp-block[data-align=right] .wp-block-jetpack-button{display:flex;justify-content:flex-end}div[data-type="jetpack/button"]:not([data-align=left]):not([data-align=right]){width:100%}div[data-type="jetpack/button"][data-align]{width:100%;z-index:1}.wp-block-button__link.has-custom-width,.wp-block-jetpack-button,div[data-type="jetpack/button"][data-align] .wp-block>div{max-width:100%}.jetpack-block-styles-selector .editor-styles-wrapper .block-editor-block-list__block{margin:0}.jetpack-block-styles-selector-toolbar .is-active{font-weight:700}.wp-block-jetpack-calendly{position:relative}.wp-block-jetpack-calendly-overlay{height:100%;position:absolute;width:100%;z-index:10}.wp-block-jetpack-calendly-link-editable{cursor:text}.wp-block-jetpack-calendly-embed-form-sidebar{display:flex;margin-bottom:1em}.wp-block-jetpack-calendly-learn-more{margin-top:1em}.wp-block-jetpack-calendly-color-notice{margin:0}div[data-align=center]>.wp-block-jetpack-calendly{text-align:center}.wp-block-jetpack-calendly .components-placeholder__fieldset input{flex:1}.admin-bar .calendly-overlay .calendly-popup-close{top:47px}.wp-block-jetpack-calendly.calendly-style-inline{height:630px;position:relative}.wp-block-jetpack-calendly .calendly-spinner{top:50px}.wp-block-jetpack-calendly.aligncenter{text-align:center}.wp-block-jetpack-calendly .wp-block-jetpack-button{color:#fff}.wp-block-jetpack-cookie-consent{align-items:center;background-color:#0000;bottom:unset;box-sizing:border-box;display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;position:static}.wp-block-jetpack-cookie-consent:not(.is-selected) *{pointer-events:none}.wp-block-jetpack-cookie-consent:not(.is-selected):before{content:unset}.wp-block-jetpack-cookie-consent.alignleft,.wp-block-jetpack-cookie-consent.alignright{flex-wrap:nowrap;margin-left:0!important;margin-right:0!important;max-width:50%}.wp-block-jetpack-cookie-consent.alignright{margin-left:auto!important}.wp-block-jetpack-cookie-consent.alignwide{left:unset;max-width:unset;width:unset}.wp-block-jetpack-cookie-consent .wp-block-button__link{white-space:nowrap!important}.jetpack-contact-info-block .block-editor-plain-text.block-editor-plain-text:focus{box-shadow:none}.jetpack-contact-info-block .block-editor-plain-text{border:none;border-radius:4px;box-shadow:none;color:inherit;display:block;flex-grow:1;font-family:inherit;font-size:inherit;line-height:inherit;margin:.5em 0;min-height:unset;padding:0;resize:none}.block-editor-inserter__preview .jetpack-contact-info-block{padding:16px}.block-editor-inserter__preview .jetpack-contact-info-block>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.wp-block-jetpack-contact-info{margin-bottom:1.5em}.jetpack-block-nudge.block-editor-warning{margin-bottom:12px}.jetpack-block-nudge .block-editor-warning__message{margin:13px 0}.jetpack-block-nudge .block-editor-warning__actions{line-height:1}.jetpack-block-nudge .jetpack-block-nudge__info{display:flex;flex-direction:row;font-size:13px;line-height:1.4}.jetpack-block-nudge .jetpack-block-nudge__text-container{display:flex;flex-direction:column}.jetpack-block-nudge .jetpack-block-nudge__title{font-size:14px}.jetpack-block-nudge .jetpack-block-nudge__message{color:#646970}.jetpack-stripe-nudge__banner .block-editor-warning__contents{align-items:center}.jetpack-stripe-nudge__icon{align-self:center;background:#0675c4;border-radius:50%;box-sizing:initial;color:#fff;fill:#fff;flex-shrink:0;margin-right:16px;padding:6px}.jetpack-stripe-nudge__banner span a.jetpack-stripe-nudge__link{color:#0675c4}.jp-components-spinner{align-items:center;display:flex}.jp-components-spinner__inner,.jp-components-spinner__outer{animation:3s linear infinite;animation-name:rotate-spinner;border:.1em solid #0000;border-radius:50%;box-sizing:border-box;margin:auto}.jp-components-spinner__outer{border-top-color:#fff}.jp-components-spinner__inner{border-right-color:#fff;border-top-color:#fff;height:100%;opacity:.4;width:100%}.wp-block-jetpack-donations .donations__container{border:1px solid #ccc}.wp-block-jetpack-donations .donations__nav{border-bottom:1px solid #ccc;display:flex}.wp-block-jetpack-donations .donations__nav-item{background:#fff;border-inline-start:1px solid #ccc;color:#1e1e1e;cursor:pointer;display:inline-block;flex:1;font-size:16px;font-weight:700;padding:12px;text-align:center}@media(min-width:600px){.wp-block-jetpack-donations .donations__nav-item{padding:16px 24px}}.wp-block-jetpack-donations .donations__nav-item:first-child{border-inline-start:none}.wp-block-jetpack-donations .donations__nav-item.is-active{background:#1e1e1e;color:#fff;cursor:default}.wp-block-jetpack-donations .donations__content{padding:16px}@media(min-width:600px){.wp-block-jetpack-donations .donations__content{padding:32px}}.wp-block-jetpack-donations .donations__content h4,.wp-block-jetpack-donations .donations__content p{margin:0 0 16px}@media(min-width:600px){.wp-block-jetpack-donations .donations__content h4,.wp-block-jetpack-donations .donations__content p{margin:0 0 24px}}.wp-block-jetpack-donations .donations__amounts{display:flex;flex-wrap:wrap;margin-bottom:16px}@media(min-width:600px){.wp-block-jetpack-donations .donations__amounts{margin:0 0 24px}}.wp-block-jetpack-donations .donations__amount{background-color:#fff;border:1px solid #ccc;color:#1e1e1e;display:inline-block;font-size:16px;font-weight:600;margin-inline-end:8px;margin-bottom:8px;padding:16px 24px;white-space:nowrap}.wp-block-jetpack-donations .donations__amount.has-error{box-shadow:0 0 0 1px #fff,0 0 0 3px #cc1818;outline:2px solid #0000;outline-offset:-2px}.wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{display:inline-block;margin-inline-start:4px;min-width:60px}.wp-block-jetpack-donations .donations__separator{margin-bottom:16px;margin-top:16px}@media(min-width:600px){.wp-block-jetpack-donations .donations__separator{margin-bottom:32px;margin-top:32px}}.wp-block-jetpack-donations .donations__donate-button,.wp-block-jetpack-donations .donations__donate-button-wrapper{margin:0}.editor-styles-wrapper .wp-block-jetpack-donations .donations__amount{cursor:text}.editor-styles-wrapper .wp-block-jetpack-donations .donations__amount.has-focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid #0000;outline-offset:-2px}.editor-styles-wrapper .wp-block-jetpack-donations .donations__custom-amount{cursor:default}.editor-styles-wrapper .wp-block-jetpack-donations .donations__amount .block-editor-rich-text__editable{display:inline-block;text-align:left}.editor-styles-wrapper .wp-block-jetpack-donations .donations__amount .block-editor-rich-text__editable:focus{box-shadow:none;outline:none;outline-offset:0}.editor-styles-wrapper .wp-block-jetpack-donations .donations__amount [data-rich-text-placeholder]:after{color:#ccc;opacity:1}.editor-styles-wrapper .wp-block-jetpack-donations .donations__custom-amount .donations__amount-value{color:#ccc}.editor-styles-wrapper .wp-block-jetpack-donations .donations__donate-button-wrapper:not(.alignleft):not(.alignright){margin:0}.editor-styles-wrapper .wp-block-jetpack-donations .jetpack-block-nudge{max-width:none}.jetpack-donations__currency-toggle{font-weight:700;line-height:100%;width:max-content}.jetpack-donations__currency-popover .components-popover__content{min-width:130px}.wp-block-jetpack-eventbrite{position:relative}.wp-block-jetpack-eventbrite .components-placeholder__learn-more{margin-top:1em}[data-type="jetpack/eventbrite"][data-align=center]{text-align:center}.wp-block-jetpack-gif{clear:both;margin:0 0 20px}.wp-block-jetpack-gif figure{margin:0;position:relative;width:100%}.wp-block-jetpack-gif.aligncenter{text-align:center}.wp-block-jetpack-gif.alignleft,.wp-block-jetpack-gif.alignright{min-width:300px}.wp-block-jetpack-gif .wp-block-jetpack-gif-caption{color:#949494;margin-bottom:1em;margin-top:.5em;text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper{height:0;margin:0;padding:calc(56.2% + 12px) 0 0;position:relative;width:100%}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper iframe{border:0;height:100%;inset-inline-start:0;position:absolute;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.wp-block-jetpack-gif figure .wp-block-jetpack-gif_input-container{display:flex;flex-wrap:wrap;justify-content:center;margin-bottom:10px}.wp-block-jetpack-gif figure .wp-block-jetpack-gif_input{max-width:400px}.wp-block-jetpack-gif .components-base-control__field{text-align:center}.wp-block-jetpack-gif .components-placeholder__label svg{margin-right:1ch}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover{background:none;border:none;height:100%;left:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover:focus{outline:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_input{flex:1;margin-right:6px}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container{display:flex;margin:-2px 0 2px -2px;overflow-x:auto;width:calc(100% + 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container::-webkit-scrollbar{display:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container{align-items:center;background-position:50% 50%;background-repeat:no-repeat;background-size:cover;border:none;border-radius:3px;cursor:pointer;display:flex;justify-content:center;margin:2px;padding:0 0 calc(10% - 4px);width:calc(10% - 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:hover{box-shadow:0 0 0 1px #949494}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:focus{box-shadow:0 0 0 2px var(--wp-admin-theme-color);outline:0}.components-panel__body-gif-branding svg{display:block;margin:0 auto;max-width:200px}.components-panel__body-gif-branding svg path{fill:#e0e0e0}.wp-block-jetpack-google-calendar{min-width:420px}.wp-block-jetpack-google-calendar iframe{border:none;width:100%}.wp-block-jetpack-google-calendar>amp-iframe>[placeholder]{line-height:1}.wp-block-jetpack-google-calendar>amp-iframe>noscript{display:inline-block!important}.wp-block-jetpack-google-calendar>amp-iframe>noscript>iframe{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%;z-index:1}.wp-block-jetpack-google-calendar-embed-form-sidebar textarea{height:75px;width:100%}.wp-block-jetpack-google-calendar-embed-form-sidebar button{display:block;margin-top:8px}.wp-block-jetpack-google-calendar-embed-form-editor{margin:0}.wp-block-jetpack-google-calendar-embed-form-editor textarea{flex:1;font-family:inherit;font-size:inherit;height:36px;margin-right:1px;padding-top:9px}.wp-block-jetpack-google-calendar-placeholder-links{margin-top:19px}.wp-block-jetpack-google-calendar ol.wp-block-jetpack-google-calendar-placeholder-instructions{font-family:inherit;list-style-position:inside;margin:0;padding:0}.wp-block-jetpack-google-calendar ol.wp-block-jetpack-google-calendar-placeholder-instructions li{margin-bottom:19px;text-align:left}.wp-block-jetpack-google-calendar .components-placeholder__label{margin-bottom:19px}.wp-block-jetpack-google-calendar .components-placeholder p{margin:0 0 19px}.wp-block-jetpack-image-compare{margin-inline-end:0;margin-inline-start:0}.wp-block-jetpack-image-compare img{max-width:100%}.jx-slider.jx-slider{inset-inline-start:1px;top:1px;width:calc(100% - 2px)}.image-compare__placeholder>.components-placeholder{align-items:center;flex-direction:row}.image-compare__placeholder>.components-placeholder>.components-placeholder__label{display:none}.image-compare__placeholder>.components-placeholder .components-placeholder{background:none}.image-compare__image-after,.image-compare__image-before{display:flex;flex:1;flex-direction:column;position:relative}.image-compare__image-after .components-placeholder.components-placeholder,.image-compare__image-before .components-placeholder.components-placeholder{box-shadow:none;min-height:0;padding:0}.image-compare__image-after .components-placeholder.components-placeholder .components-placeholder__instructions,.image-compare__image-before .components-placeholder.components-placeholder .components-placeholder__instructions{display:none}.components-placeholder.is-large .image-compare__image-before{padding-inline-end:12px}.components-placeholder.is-large .image-compare__image-after{padding-inline-start:12px}.components-placeholder.is-medium .image-compare__image-before{margin-bottom:24px}[data-type="jetpack/image-compare"]:not(.is-selected) .image-compare__comparison{pointer-events:none}.juxtapose .components-placeholder{border:none;box-shadow:none;padding:0}.juxtapose .components-placeholder .components-placeholder__label{display:none}.juxtapose .components-placeholder .image-compare__image-after,.juxtapose .components-placeholder .image-compare__image-before{flex:none;padding:0;width:100%}.juxtapose .components-placeholder:before{background:#fff;content:"";display:block;height:4px;position:absolute;width:100%;z-index:2}.juxtapose .components-placeholder .image-compare__image-after{height:50%;overflow:hidden;position:absolute;width:100%}.juxtapose .components-placeholder .image-compare__image-after img{align-self:flex-end;display:flex;height:200%;max-width:none;width:100%}div.juxtapose{font-family:Helvetica,Arial,sans-serif;width:100%}div.jx-slider{color:#f3f3f3;cursor:pointer;height:100%;overflow:hidden;position:relative;width:100%}div.jx-handle{cursor:col-resize;height:100%;margin-left:-20px;position:absolute;width:40px;z-index:15}.vertical div.jx-handle{cursor:row-resize;height:40px;margin-left:0;margin-top:-20px;width:100%}div.jx-control{background-color:currentColor;height:100%;margin-left:auto;margin-right:auto;width:3px}.vertical div.jx-control{background-color:currentColor;height:3px;position:relative;top:50%;transform:translateY(-50%);width:100%}div.jx-controller{background-color:currentColor;bottom:0;height:60px;margin:auto auto auto -3px;position:absolute;top:0;width:9px}.vertical div.jx-controller{height:9px;margin-left:auto;margin-right:auto;position:relative;top:-3px;width:100px}div.jx-arrow{bottom:0;margin:auto;top:0}.vertical div.jx-arrow,div.jx-arrow{height:0;position:absolute;transition:all .2s ease;width:0}.vertical div.jx-arrow{left:0;margin:0 auto;right:0}div.jx-arrow.jx-left{border-color:#0000 currentcolor #0000 #0000;border-style:solid;border-width:8px 8px 8px 0;left:2px}div.jx-arrow.jx-right{border-color:#0000 #0000 #0000 currentcolor;border-style:solid;border-width:8px 0 8px 8px;right:2px}.vertical div.jx-arrow.jx-left{border-color:#0000 #0000 currentcolor;border-style:solid;border-width:0 8px 8px;left:0;top:2px}.vertical div.jx-arrow.jx-right{border-color:currentcolor #0000 #0000;border-style:solid;border-width:8px 8px 0;bottom:2px;right:0;top:auto}div.jx-handle:active div.jx-arrow.jx-left,div.jx-handle:hover div.jx-arrow.jx-left{left:-1px}div.jx-handle:active div.jx-arrow.jx-right,div.jx-handle:hover div.jx-arrow.jx-right{right:-1px}.vertical div.jx-handle:active div.jx-arrow.jx-left,.vertical div.jx-handle:hover div.jx-arrow.jx-left{left:0;top:0}.vertical div.jx-handle:active div.jx-arrow.jx-right,.vertical div.jx-handle:hover div.jx-arrow.jx-right{bottom:0;right:0}div.jx-image{display:inline-block;height:100%;overflow:hidden;position:absolute;top:0}.vertical div.jx-image{left:0;top:auto;width:100%}div.jx-slider div.jx-image img{height:100%!important;margin-bottom:0;max-height:none!important;max-width:none!important;position:absolute;width:auto!important;z-index:5}div.jx-slider.vertical div.jx-image img{height:auto!important;width:100%!important}div.jx-image.jx-left{background-position:0;left:0}div.jx-image.jx-left img{left:0}div.jx-image.jx-right{background-position:100%;right:0}div.jx-image.jx-right img{bottom:0;right:0}.veritcal div.jx-image.jx-left{background-position:top;top:0}.veritcal div.jx-image.jx-left img{top:0}.vertical div.jx-image.jx-right{background-position:bottom;bottom:0}.veritcal div.jx-image.jx-right img{bottom:0}div.jx-image div.jx-label{background-color:#000;background-color:#000000b3;color:#fff;display:inline-block;font-size:1em;line-height:18px;padding:.25em .75em;position:relative;top:0;vertical-align:middle;white-space:nowrap;z-index:10}div.jx-image.jx-left div.jx-label{float:left;left:0}div.jx-image.jx-right div.jx-label{float:right;right:0}.vertical div.jx-image div.jx-label{display:table;position:absolute}.vertical div.jx-image.jx-right div.jx-label{bottom:0;left:0;top:auto}div.jx-image.transition{transition:width .5s ease}div.jx-handle.transition{transition:left .5s ease}.vertical div.jx-image.transition{transition:height .5s ease}.vertical div.jx-handle.transition{transition:top .5s ease}div.jx-controller:focus,div.jx-image.jx-left div.jx-label:focus,div.jx-image.jx-right div.jx-label:focus,figure.wp-block-jetpack-image-compare figcaption{font-size:85%;text-align:center}div.jx-control{color:#fff}.vertical div.jx-controller,div.jx-controller{border-radius:50%;height:48px;width:48px}div.jx-controller{margin-left:-22.5px}.vertical div.jx-controller{transform:translateY(-19.5px)}.vertical div.jx-arrow.jx-left,.vertical div.jx-arrow.jx-right,div.jx-arrow.jx-left,div.jx-arrow.jx-right{background-repeat:no-repeat;border:none;height:24px;width:24px;will-change:transform;z-index:1}div.jx-arrow.jx-left{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTEzLjQgMTggOCAxMmw1LjQtNiAxLjIgMS00LjYgNSA0LjYgNXoiLz48L3N2Zz4=);left:0}div.jx-arrow.jx-right{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTEwLjYgNiA5LjQgN2w0LjYgNS00LjYgNSAxLjIgMSA1LjQtNnoiLz48L3N2Zz4=);right:0}div.vertical div.jx-arrow.jx-left,div.vertical div.jx-arrow.jx-right{transform:rotate(90deg)}.wp-block-jetpack-instagram-gallery__grid{align-content:stretch;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.wp-block-jetpack-instagram-gallery__grid .wp-block-jetpack-instagram-gallery__grid-post{box-sizing:border-box;display:block;line-height:0;position:relative}.wp-block-jetpack-instagram-gallery__grid img{height:auto;width:100%}.wp-block-jetpack-instagram-gallery__grid-columns-1 .wp-block-jetpack-instagram-gallery__grid-post{width:100%}.wp-block-jetpack-instagram-gallery__grid-columns-2 .wp-block-jetpack-instagram-gallery__grid-post{width:50%}.wp-block-jetpack-instagram-gallery__grid-columns-3 .wp-block-jetpack-instagram-gallery__grid-post{width:33.33333%}.wp-block-jetpack-instagram-gallery__grid-columns-4 .wp-block-jetpack-instagram-gallery__grid-post{width:25%}.wp-block-jetpack-instagram-gallery__grid-columns-5 .wp-block-jetpack-instagram-gallery__grid-post{width:20%}.wp-block-jetpack-instagram-gallery__grid-columns-6 .wp-block-jetpack-instagram-gallery__grid-post{width:16.66667%}@media(max-width:600px){.wp-block-jetpack-instagram-gallery__grid.is-stacked-on-mobile .wp-block-jetpack-instagram-gallery__grid-post{width:100%}}@supports(display:grid){.wp-block-jetpack-instagram-gallery__grid{display:grid;grid-gap:10px;grid-auto-columns:1fr}@media(max-width:600px){.wp-block-jetpack-instagram-gallery__grid.is-stacked-on-mobile{display:block}.wp-block-jetpack-instagram-gallery__grid.is-stacked-on-mobile .wp-block-jetpack-instagram-gallery__grid-post{padding:var(--latest-instagram-posts-spacing)}}.wp-block-jetpack-instagram-gallery__grid .wp-block-jetpack-instagram-gallery__grid-post{width:auto}.wp-block-jetpack-instagram-gallery__grid .wp-block-jetpack-instagram-gallery__grid-post img{height:100%;object-fit:cover}.wp-block-jetpack-instagram-gallery__grid-columns-1{grid-template-columns:repeat(1,1fr)}.wp-block-jetpack-instagram-gallery__grid-columns-2{grid-template-columns:repeat(2,1fr)}.wp-block-jetpack-instagram-gallery__grid-columns-3{grid-template-columns:repeat(3,1fr)}.wp-block-jetpack-instagram-gallery__grid-columns-4{grid-template-columns:repeat(4,1fr)}.wp-block-jetpack-instagram-gallery__grid-columns-5{grid-template-columns:repeat(5,1fr)}.wp-block-jetpack-instagram-gallery__grid-columns-6{grid-template-columns:repeat(6,1fr)}}@supports(object-fit:cover){.wp-block-jetpack-instagram-gallery__grid-post img{height:100%;object-fit:cover}}.wp-block-jetpack-instagram-gallery .components-placeholder .components-radio-control{margin-bottom:28px}.wp-block-jetpack-instagram-gallery .components-placeholder .components-radio-control label{font-weight:400}.wp-block-jetpack-instagram-gallery .components-placeholder .wp-block-jetpack-instagram-gallery__new-account-instructions{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-jetpack-instagram-gallery__count-notice .components-notice{margin:0 0 15px}.wp-block-jetpack-instagram-gallery__count-notice .components-notice__content{line-height:inherit;margin:0;padding-inline-end:0}.wp-block-jetpack-instagram-gallery__disconnection-warning{font-style:italic;margin-bottom:0}.wp-block-jetpack-instagram-gallery__placeholder{animation-delay:0ms,.3s;animation-duration:.3s,1.6s;animation-iteration-count:1,infinite;animation-name:fadeIn,pulse;animation-timing-function:ease-out,ease-out;background-color:#a7a79f;display:flex;opacity:1}.wp-block-jetpack-instagram-gallery__placeholder.is-loaded{animation:none;height:auto}.wp-block-jetpack-instagram-gallery__placeholder img{opacity:0;transition:opacity .5s ease-in-out}.wp-block-jetpack-instagram-gallery__placeholder img.is-loaded{opacity:1}@keyframes fadeIn{0%{opacity:0}50%{opacity:.5}to{opacity:1}}@keyframes pulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}@supports(object-fit:cover){.wp-block-jetpack-instagram-gallery__placeholder.is-loaded{display:flex;flex-direction:column;flex-grow:1}.wp-block-jetpack-instagram-gallery__placeholder.is-loaded img{flex-grow:1;height:auto;object-fit:cover}}.wp-block-jetpack-instagram-gallery__grid .wp-block-jetpack-instagram-gallery__grid-post{display:flex;flex-direction:column}@supports(display:grid){@media(max-width:600px){.wp-block-jetpack-instagram-gallery__grid.is-stacked-on-mobile .wp-block-jetpack-instagram-gallery__placeholder{margin:0!important}}}.wp-block-jetpack-like__learn-more{margin-top:-12px;padding:0 16px 16px 52px}.wp-block-jetpack-like .sharedaddy{display:none}.wpl-likebox{container-type:inline-size}.wpl-count a,.wpl-follow a,.wpl-likebox{font-family:Open Sans,sans-serif!important;font-size:11px!important}.wpl-button{min-width:40px;overflow:hidden}.wpl-button a{align-items:center;background:#fff;border-radius:4px;box-shadow:0 1px 2px #0000001f,0 0 0 1px #0000001f;box-sizing:border-box;color:#2c3338;display:flex;font-family:Open Sans,sans-serif;font-size:13px;font-weight:500;line-height:23px;margin:1px 6px 8px 1px;min-height:30px;min-width:33px;padding:4px 10px 3px 9px;text-decoration:none;text-shadow:none}.rtl .wpl-button a{margin:1px 1px 8px 6px;padding:4px 9px 3px 10px}.wpl-button a:active,.wpl-button a:hover{box-shadow:0 1px 2px #00000038,0 0 0 1px #00000038}.wpl-button a:before{background-size:16px 16px;content:"";display:inline-block;height:16px;margin-left:0;margin-right:-1px;min-width:16px;position:relative;text-align:center;width:16px}.wpl-button.like a:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 18 16'%3E%3Cpath stroke='%232c3338' stroke-linecap='round' stroke-width='1.5' d='m9 2 1.958 4.268h4.376L11.668 9.66 12.915 14 9 11.75 5.087 14l1.247-4.34-3.667-3.392h4.377z'/%3E%3C/svg%3E")}.wpl-button.like a:hover:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 18 16'%3E%3Cpath stroke='%230675C4' stroke-linecap='round' stroke-width='1.5' d='m9 2 1.958 4.268h4.376L11.668 9.66 12.915 14 9 11.75 5.087 14l1.247-4.34-3.667-3.392h4.377z'/%3E%3C/svg%3E")}.wpl-button.liked a{min-width:-moz-fit-content;min-width:fit-content}.wpl-button.liked a:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 18 16'%3E%3Cpath fill='%230675C4' stroke='%230675C4' stroke-linecap='round' stroke-width='1.5' d='m9 2 1.958 4.268h4.376L11.668 9.66 12.915 14 9 11.75 5.087 14l1.247-4.34-3.667-3.392h4.377z'/%3E%3C/svg%3E")}.wpl-button.reblog a:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 18 16'%3E%3Cpath fill='%23fff' d='M1 0h16v16H1z'/%3E%3Cpath fill='%232c3338' stroke='%232c3338' stroke-width='.14' d='m16.016 5.566-1.45-1.434v8.993c0 .76-.623 1.375-1.392 1.375h-4.87v-1.375h4.87V4.132l-1.451 1.434-.984-.972L13.87 1.5 17 4.594zm-11.19 6.302V2.875h4.87V1.5h-4.87c-.769 0-1.391.615-1.391 1.375v8.993l-1.451-1.434-.984.972L4.13 14.5l3.13-3.094-.983-.972z'/%3E%3C/svg%3E")}.wpl-button.reblog a.reblogged:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 18 16'%3E%3Cpath fill='%23fff' d='M1 0h16v16H1z'/%3E%3Cpath fill='%230675c4' stroke='%230675c4' stroke-width='.14' d='m16.016 5.566-1.45-1.434v8.993c0 .76-.623 1.375-1.392 1.375h-4.87v-1.375h4.87V4.132l-1.451 1.434-.984-.972L13.87 1.5 17 4.594zm-11.19 6.302V2.875h4.87V1.5h-4.87c-.769 0-1.391.615-1.391 1.375v8.993l-1.451-1.434-.984.972L4.13 14.5l3.13-3.094-.983-.972z'/%3E%3C/svg%3E")}.rtl .wpl-button.like a:before,.rtl .wpl-button.liked a:before{margin-left:-1px;margin-right:0}.wpl-button.like a span,.wpl-button.liked a span,.wpl-button.reblog a span{margin-left:5px;text-wrap:nowrap}.rtl .wpl-button.like a span,.rtl .wpl-button.liked a span,.rtl .wpl-button.reblog a span{margin-right:5px}.wpl-count{clear:both;overflow:hidden;text-overflow:ellipsis}.wpl-count-text{line-height:1.6}.wpl-likebox .wpl-count,.wpl-likebox .wpl-count a,.wpl-likebox .wpl-count-text,.wpl-likebox .wpl-count-text a{font-size:12px!important}.wpl-button{float:left}.rtl .wpl-button{float:right}.wpl-avatars{height:34px;list-style:none;margin:0;overflow:hidden;padding:0}.wpl-avatars:empty{display:none}.wpl-avatars li{display:inline;margin:0}.wpl-avatars li a{border:0;display:block;float:left;margin:1px 5px 3px 0}.rtl .wpl-avatars li a{float:right;margin:0 0 3px 5px}.wpl-avatars li a img{border:0;height:30px;padding:0!important;width:30px}span.wpl-comment,span.wpl-follow{margin-left:5px}a.comment-like-link:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath fill='%232EA2CC' d='m12 2 2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:16px 16px;color:#2ea2cc;content:"";display:inline-block;height:16px;padding-right:5px;position:relative;top:3px;width:16px}a.comment-like-link:hover:before,a.comment-liked:before,div.comment-liked a.comment-like-link:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath fill='%23f1831e' d='m12 2 2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304'/%3E%3C/svg%3E")}a.comment-liked:hover:before,div.comment-liked a.comment-like-link:hover:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath fill='%23ff9a00' d='m12 2 2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304'/%3E%3C/svg%3E")}a.comment-like-link{color:#222;font-size:12px;opacity:.8;text-decoration:none}a.comment-like-link.loading:before{opacity:0;transition:opacity 2s}.wpl-likebox{align-items:center;display:flex}.wpl-likebox .wpl-avatars{align-content:end;align-items:center;display:inline-flex;flex-direction:row-reverse;flex-wrap:wrap;justify-content:center;margin-bottom:4px;min-width:30px}.rtl .wpl-likebox .wpl-avatars li,.wpl-likebox .wpl-avatars li{margin-bottom:1px;margin-top:1px}.wpl-likebox .wpl-avatars li a{margin:0;position:relative}.wpl-likebox .wpl-avatars li:not(:first-child) a{margin-right:-4px}.rtl .wpl-likebox .wpl-avatars li:not(:first-child) a{margin-left:-4px;margin-right:0}.wpl-likebox .wpl-avatars li a img{border:1.5px solid #ffffff80;border-radius:50%;height:26px;width:26px}.wpl-likebox .wpl-count{clear:none;margin-bottom:4px;margin-left:4px;white-space:nowrap}.rtl .wpl-likebox .wpl-count{clear:none;margin-bottom:4px;margin-right:4px;white-space:nowrap}.wpl-likebox a{color:#2c3338!important}.wpl-likebox a,.wpl-likebox a:focus{outline:none!important;text-decoration:none!important}.wpl-likebox.wpl-new-layout *{cursor:default}.wpl-likebox.wpl-new-layout .wpl-avatars{align-content:unset;margin:0;padding-left:0}.wpl-likebox.wpl-new-layout .wpl-avatars li{margin:0}.wpl-likebox.wpl-new-layout .wpl-avatars li a:focus{box-shadow:none;outline:none}.wpl-likebox.wpl-new-layout .wpl-avatars li a img{vertical-align:unset}.wpl-likebox.wpl-new-layout .wpl-count a:focus,.wpl-likebox.wpl-new-layout .wpl-count-text a:focus,.wpl-likebox.wpl-new-layout .wpl-count-text:focus,.wpl-likebox.wpl-new-layout .wpl-count:focus{box-shadow:none;outline:none}.wpl-likebox .wpl-button a:hover{box-shadow:0 1px 2px #0000001f,0 0 0 1px #0000001f}.wpl-likebox .wpl-button.like a:hover:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 18 16'%3E%3Cpath stroke='%232c3338' stroke-linecap='round' stroke-width='1.5' d='m9 2 1.958 4.268h4.376L11.668 9.66 12.915 14 9 11.75 5.087 14l1.247-4.34-3.667-3.392h4.377z'/%3E%3C/svg%3E")}@container (max-width: 320px){.wpl-button{min-width:auto}.wpl-button a span{display:none}}.components-likes-placeholder__learn-more{margin:1em 0 2em}._fUXxnSp5pagKBp9gSN7 *{box-sizing:border-box}.wp-block-jetpack-mailchimp.is-processing form{display:none}.wp-block-jetpack-mailchimp .wp-block-jetpack-button,.wp-block-jetpack-mailchimp p{margin-bottom:1em}.wp-block-jetpack-mailchimp input{box-sizing:border-box;width:100%}.wp-block-jetpack-mailchimp .error,.wp-block-jetpack-mailchimp .error:focus{outline:1px;outline-color:#d63638;outline-offset:-2px;outline-style:auto}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:none;margin-bottom:1.5em;padding:.75em}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.is-visible{display:block}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_error{background-color:#d63638;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_processing{background-color:rgba(0,0,0,.025)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_success{background-color:#008a20;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp__is-amp{display:block}.wp-block-jetpack-mailchimp form.amp-form-submit-error>p,.wp-block-jetpack-mailchimp form.amp-form-submit-success>p,.wp-block-jetpack-mailchimp form.amp-form-submitting>p{display:none}.wp-block-jetpack-mailchimp .components-placeholder__label svg{margin-right:1ch}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:block}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-mailchimp-recheck{margin-top:1em}.wp-block-jetpack-mailchimp.wp-block-jetpack-mailchimp_notication-audition>:not(.wp-block-jetpack-mailchimp_notification){display:none}.wp-block-jetpack-mailchimp .jetpack-submit-button,.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_text-input{margin-bottom:1.5rem}.wp-block-jetpack-mailchimp .wp-block-button .wp-block-button__link{margin-top:0}.wp-block-jetpack-mailchimp .components-placeholder__fieldset{display:block;flex-direction:unset;flex-wrap:unset}.wp-block-jetpack-mailchimp .components-placeholder__fieldset .components-button{margin-bottom:0}.wp-block-jetpack-mailchimp .components-placeholder__fieldset .align-center{text-align:center}.component__add-point{background-image:url(images/oval-5f1d889983a8747472c7.svg);background-repeat:no-repeat;height:38px;left:50%;margin-left:-16px;margin-top:-19px;position:absolute;text-indent:-9999px;top:50%;width:32px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:#0000;box-shadow:none}.component__add-point:active,.component__add-point:focus{background-color:#0000}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:#0000;box-shadow:none}.component__add-point__popover .components-popover__content{padding:.1rem}.component__add-point__popover .components-location-search{margin:.5rem}.component__add-point__close{border:none;box-shadow:none;float:right;margin:.4rem 0 0;padding:0}.component__add-point__close path{color:#e0e0e0}.wp-block-jetpack-map-marker{height:38px;opacity:.9;width:32px}.edit-post-settings-sidebar__panel-block .component__locations__panel{margin-bottom:1em}.edit-post-settings-sidebar__panel-block .component__locations__panel:empty{display:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child{border-top:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:last-child{margin:0;max-width:100%}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body button{padding-right:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-right:.4em}.wp-block-group-is-layout-flex:not(.is-vertical)>.wp-block-jetpack-map{flex-basis:100%}.wp-block-group-is-layout-flex.is-vertical>.wp-block-jetpack-map{width:100%}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{background:#e0e0e0;min-height:400px;overflow:hidden;text-align:start;width:100%}.wp-block-jetpack-map .mapkit-popup-content{background:#fff;border-radius:3px;box-shadow:0 1px 2px #0000001a;max-width:300px;min-width:150px;padding:10px 10px 15px;pointer-events:auto}.wp-block-jetpack-map .mapkit-popup-content h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapkit-popup-content p{margin-bottom:0}.wp-block-jetpack-map .wp-block-jetpack-map__mb-container{height:400px}.wp-block-jetpack-map .mapboxgl-popup{max-width:300px}.wp-block-jetpack-map .mapboxgl-popup h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapboxgl-popup p{margin-bottom:0}.wp-block-jetpack-map .mapboxgl-ctrl-group button{background-color:#0000!important;border-radius:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-right:.4em}.wp-block-group-is-layout-flex:not(.is-vertical)>.wp-block[data-type="jetpack/map"]{flex-basis:100%}.wp-block-group-is-layout-flex.is-vertical>.wp-block[data-type="jetpack/map"]{width:100%}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-right:1ch}.wp-block[data-type="jetpack/map"] .components-placeholder__instructions{margin-top:0}.wp-block[data-type="jetpack/map"] .components-placeholder__instructions .components-external-link{display:inline-block;margin:1em auto}.wp-block-jetpack-map .mapboxgl-popup-close-button{font-size:21px;padding:0 10px 5px 9px}.wp-block-jetpack-map .wp-block-jetpack-map__map_wrapper{background-color:#e4e2de;overflow:hidden}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{inset:0;position:absolute;z-index:0}.wp-block-jetpack-map .wp-block-jetpack-map__select-overlay{background-color:#0000;inset:0;pointer-events:auto;position:absolute;z-index:2}.wp-block-jetpack-map__height_input{display:block}.component__add-point__popover .components-popover__content{width:250px}.component__add-point__popover .components-popover__content .component__add-point__close{margin-top:-.55em;padding:.3em}.wp-block-jetpack-markdown__placeholder{opacity:.62;pointer-events:none}.block-editor-block-list__block .wp-block-jetpack-markdown__preview{line-height:1.8;min-height:1.8em}.block-editor-block-list__block .wp-block-jetpack-markdown__preview>*{margin-bottom:32px;margin-top:32px}.block-editor-block-list__block .wp-block-jetpack-markdown__preview h1,.block-editor-block-list__block .wp-block-jetpack-markdown__preview h2,.block-editor-block-list__block .wp-block-jetpack-markdown__preview h3{line-height:1.4}.block-editor-block-list__block .wp-block-jetpack-markdown__preview h1{font-size:2.44em}.block-editor-block-list__block .wp-block-jetpack-markdown__preview h2{font-size:1.95em}.block-editor-block-list__block .wp-block-jetpack-markdown__preview h3{font-size:1.56em}.block-editor-block-list__block .wp-block-jetpack-markdown__preview h4{font-size:1.25em;line-height:1.5}.block-editor-block-list__block .wp-block-jetpack-markdown__preview h5{font-size:1em}.block-editor-block-list__block .wp-block-jetpack-markdown__preview h6{font-size:.8em}.block-editor-block-list__block .wp-block-jetpack-markdown__preview hr{border:none;border-bottom:2px solid #f0f0f0;margin:2em auto;max-width:100px}.block-editor-block-list__block .wp-block-jetpack-markdown__preview p{line-height:1.8}.block-editor-block-list__block .wp-block-jetpack-markdown__preview blockquote{border-left:4px solid #000;margin-left:0;margin-right:0;padding-left:1em}.block-editor-block-list__block .wp-block-jetpack-markdown__preview blockquote p{line-height:1.5;margin:1em 0}.block-editor-block-list__block .wp-block-jetpack-markdown__preview ol,.block-editor-block-list__block .wp-block-jetpack-markdown__preview ul{margin-left:1.3em;padding-left:1.3em}.block-editor-block-list__block .wp-block-jetpack-markdown__preview li p{margin:0}.block-editor-block-list__block .wp-block-jetpack-markdown__preview code,.block-editor-block-list__block .wp-block-jetpack-markdown__preview pre{color:#1e1e1e;font-family:Menlo,Consolas,monaco,monospace}.block-editor-block-list__block .wp-block-jetpack-markdown__preview code{background:#f0f0f0;border-radius:2px;font-size:inherit;padding:2px}.block-editor-block-list__block .wp-block-jetpack-markdown__preview pre{border:1px solid #e0e0e0;border-radius:4px;font-size:15px;padding:.8em 1em}.block-editor-block-list__block .wp-block-jetpack-markdown__preview pre code{background:#0000;padding:0}.block-editor-block-list__block .wp-block-jetpack-markdown__preview table{border-collapse:collapse;overflow-x:auto;width:100%}.block-editor-block-list__block .wp-block-jetpack-markdown__preview tbody,.block-editor-block-list__block .wp-block-jetpack-markdown__preview tfoot,.block-editor-block-list__block .wp-block-jetpack-markdown__preview thead{min-width:240px;width:100%}.block-editor-block-list__block .wp-block-jetpack-markdown__preview td,.block-editor-block-list__block .wp-block-jetpack-markdown__preview th{border:1px solid;padding:.5em}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor{color:#1e1e1e;font-family:Menlo,Consolas,monaco,monospace;font-size:15px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:#0000;box-shadow:0 0 0 #0000}.wp-block-jetpack-opentable{display:inline-block}.wp-block-jetpack-opentable>.is-placeholder,.wp-block-jetpack-opentable>.is-style-wide{display:block}.wp-block-jetpack-opentable .components-base-control{width:100%}.wp-block-jetpack-opentable .components-placeholder__fieldset p{font-size:13px;margin:0 0 1em}.wp-block-jetpack-opentable .components-placeholder__fieldset form{flex-direction:row;flex-wrap:nowrap}@media screen and (max-width:479px){.wp-block-jetpack-opentable .components-placeholder__fieldset form{display:block}}.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-form-token-field{flex-grow:1}.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-form-token-field__label{display:none}.wp-block-jetpack-opentable .components-placeholder__fieldset form p{margin-top:1em}.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-form-token-field__input-container{width:100%}@media screen and (min-width:480px){.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-form-token-field__input-container input[type=text].components-form-token-field__input{min-height:32px}}.wp-block-jetpack-opentable .components-placeholder__fieldset form>.components-button{align-items:center;height:42px;line-height:normal;padding:0 8px}@media screen and (min-width:480px){.wp-block-jetpack-opentable .components-placeholder__fieldset form>.components-button{margin:0 0 0 4px;position:relative}}.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-form-token-field__remove-token{padding:2px 6px}.wp-block-jetpack-opentable iframe{height:100%;width:100%}.wp-block-jetpack-opentable-overlay{height:100%;position:absolute;width:100%;z-index:10}.wp-block-jetpack-opentable-restaurant-picker{margin-bottom:1em;position:relative;width:100%}.wp-block-jetpack-opentable-restaurant-picker .components-form-token-field__token-text{align-items:center;display:inline-flex}.wp-block-jetpack-opentable-placeholder-links{display:flex;flex-direction:column}@media screen and (min-width:480px){.wp-block-jetpack-opentable-placeholder-links{display:block}}.wp-block-jetpack-opentable-placeholder-links a{padding:.25em 1em .25em 0}@media screen and (min-width:480px){.wp-block-jetpack-opentable-placeholder-links a form>button{height:50px}}.wp-block-jetpack-opentable-placeholder-links a:last-child{padding-left:1em;padding-right:0}.wp-block-jetpack-opentable>.is-style-button.has-no-margin iframe{margin:-14px}.editor-styles-wrapper .wp-block-jetpack-opentable .components-form-token-field__suggestions-list{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin:0;padding:0;text-align:left}.wp-block-jetpack-opentable.wp-block>.is-style-wide.alignright{left:auto;right:0}.wp-block[data-type="jetpack/opentable"] .components-notice__content{text-align:left}.components-toggle-control.is-opentable{padding-top:6px}.is-opentable button.is-active{font-weight:700}.wp-block-jetpack-opentable{position:relative}.wp-block-jetpack-opentable>iframe{background:#0000;margin:0}.wp-block-jetpack-opentable>.aligncenter iframe{margin:0 auto}.wp-block-jetpack-opentable>.is-style-standard,.wp-block-jetpack-opentable>.is-style-wide.is-style-mobile{height:301px}.wp-block-jetpack-opentable>.is-style-standard.is-multi,.wp-block-jetpack-opentable>.is-style-wide.is-style-mobile.is-multi{height:361px}.wp-block-jetpack-opentable>.is-style-standard.aligncenter iframe,.wp-block-jetpack-opentable>.is-style-wide.is-style-mobile.aligncenter iframe{width:224px!important}.wp-block-jetpack-opentable>.is-style-tall{height:490px}.wp-block-jetpack-opentable>.is-style-tall.is-multi{height:550px}.wp-block-jetpack-opentable>.is-style-tall.aligncenter iframe{width:288px!important}.wp-block-jetpack-opentable>.is-style-wide{height:150px}.wp-block-jetpack-opentable>.is-style-wide iframe{width:840px!important}.wp-block-jetpack-opentable>.is-style-wide.alignleft{margin-left:2rem;max-width:840px;right:auto}.wp-block-jetpack-opentable>.is-style-wide.alignright{left:calc(100% - 840px - 2rem);max-width:840px}.wp-block-jetpack-opentable>.is-style-button{height:113px}.wp-block-jetpack-opentable>.is-style-button.aligncenter iframe{width:210px!important}.wp-block-jetpack-opentable>.is-style-button.has-no-margin>div[id^=ot-widget-container]{margin:-14px}.wp-block-jetpack-opentable .ot-dtp-picker{box-sizing:initial}.wp-block-jetpack-opentable .ot-dtp-picker .ot-title{margin:4px auto 12px}.wp-block-jetpack-opentable .ot-dtp-picker .ot-dtp-picker-selector-link{text-decoration:none}.wp-block-jetpack-opentable .ot-dtp-picker input[type=submit]{padding:0;text-transform:none}.wp-block-jetpack-opentable .ot-dtp-picker input[type=submit]:hover{text-decoration:none}.jetpack-audio-player-loading{background:#ccc;background:var(--jetpack-audio-player-secondary);height:10px;margin:15px 24px}.jetpack-audio-player{--jetpack-audio-player-primary:var( --jetpack-podcast-player-primary,#000 );--jetpack-audio-player-secondary:var( --jetpack-podcast-player-secondary,#ccc );--jetpack-audio-player-background:var( --jetpack-podcast-player-background,#fff );height:40px}.jetpack-audio-player .mejs-container,.jetpack-audio-player .mejs-container .mejs-controls,.jetpack-audio-player .mejs-embed,.jetpack-audio-player .mejs-embed body,.jetpack-audio-player .mejs-mediaelement{background-color:#0000}.jetpack-audio-player .mejs-container:focus{box-shadow:none;outline:1px solid;outline-color:#ccc;outline-color:var(--jetpack-audio-player-secondary);outline-offset:2px}.jetpack-audio-player .mejs-controls{padding:0;position:static}.jetpack-podcast-player__header .jetpack-audio-player .mejs-controls{padding-left:15px;padding-right:18px}.jetpack-audio-player .mejs-time{color:#ccc;color:var(--jetpack-audio-player-secondary)}.jetpack-audio-player .mejs-time-float{background:#000;background:var(--jetpack-audio-player-primary);border-color:#000;border-color:var(--jetpack-audio-player-primary);color:#fff;color:var(--jetpack-audio-player-background)}.jetpack-audio-player .mejs-time-float-corner{border-top-color:#000;border-top-color:var(--jetpack-audio-player-primary)}.jetpack-audio-player .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,.jetpack-audio-player .mejs-controls .mejs-time-rail .mejs-time-total{background-color:#ccc;background-color:var(--jetpack-audio-player-secondary)}.jetpack-audio-player .mejs-controls .mejs-time-rail .mejs-time-loaded{opacity:.5}.jetpack-audio-player .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current,.jetpack-audio-player .mejs-controls .mejs-time-rail .mejs-time-current,.jetpack-audio-player .mejs-controls .mejs-time-rail .mejs-time-loaded{background-color:#000;background-color:var(--jetpack-audio-player-primary)}.jetpack-audio-player .mejs-controls .mejs-time-rail .mejs-time-slider:focus{outline:1px solid;outline-color:#ccc;outline-color:var(--jetpack-audio-player-secondary);outline-offset:2px}.jetpack-audio-player .mejs-button>button{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='120'%3E%3Cstyle%3E.st0{fill:%23000;width:16px;height:16px}.st1{fill:none;stroke:%23000;stroke-width:1.5;stroke-linecap:round}%3C/style%3E%3Cpath d='M16.5 8.5c.3.1.4.5.2.8-.1.1-.1.2-.2.2l-11.4 7c-.5.3-.8.1-.8-.5V2c0-.5.4-.8.8-.5zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1m9.8 0H36c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1h-2.2c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1m47.2.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7zM67 5.8c-.5.4-1.2.6-1.8.6H62c-.6 0-1 .4-1 1v5.7c0 .6.4 1 1 1h4.2c.3.2.5.4.8.6l3.5 2.6c.4.3.8.1.8-.4V3.5c0-.5-.4-.7-.8-.4z' class='st0'/%3E%3Cpath d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8' class='st1'/%3E%3Cpath d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9' class='st1'/%3E%3Cpath d='M47 5.8c-.5.4-1.2.6-1.8.6H42c-.6 0-1 .4-1 1v5.7c0 .6.4 1 1 1h4.2c.3.2.5.4.8.6l3.5 2.6c.4.3.8.1.8-.4V3.5c0-.5-.4-.7-.8-.4z' class='st0'/%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-width='2' d='m52.8 7 5.4 5.4m-5.4 0L58.2 7'/%3E%3Cpath fill='none' stroke='%23000' d='M128.7 8.6c-6.2-4.2-6.5 7.8 0 3.9m6.5-3.9c-6.2-4.2-6.5 7.8 0 3.9'/%3E%3Cpath d='M122.2 3.4h15.7v13.1h-15.7zM120.8 2v15.7h18.3V2zm22.4 1h14c1.1 0 2 .9 2 2v10c0 1.1-.9 2-2 2h-14c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2' class='st0'/%3E%3Cpath fill='%23231f20' d='M146.4 13.8c-.8 0-1.6-.4-2.1-1-1.1-1.4-1-3.4.1-4.8.5-.6 2-1.7 4.6.2l-.6.8c-1.4-1-2.6-1.1-3.3-.3-.8 1-.8 2.4-.1 3.5.7.9 1.9.8 3.4-.1l.5.9c-.7.5-1.6.7-2.5.8m7.5 0c-.8 0-1.6-.4-2.1-1-1.1-1.4-1-3.4.1-4.8.5-.6 2-1.7 4.6.2l-.5.8c-1.4-1-2.6-1.1-3.3-.3-.8 1-.8 2.4-.1 3.5.7.9 1.9.8 3.4-.1l.5.9c-.8.5-1.7.7-2.6.8'/%3E%3Cpath d='M60.3 77c.6.2.8.8.6 1.4q-.15.45-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1z' class='st0'/%3E%3Cpath fill='none' stroke='%23000' stroke-width='5' d='M2.5 79c0-20.7 16.8-37.5 37.5-37.5S77.5 58.3 77.5 79 60.7 116.5 40 116.5 2.5 99.7 2.5 79z' opacity='.75'/%3E%3Cpath d='M140.3 77c.6.2.8.8.6 1.4q-.15.45-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1z' class='st0'/%3E%3Cpath fill='none' stroke='%23000' stroke-width='5' d='M82.5 79c0-20.7 16.8-37.5 37.5-37.5s37.5 16.8 37.5 37.5-16.8 37.5-37.5 37.5S82.5 99.7 82.5 79z'/%3E%3Ccircle cx='201.9' cy='47.1' r='8.1' class='st0'/%3E%3Ccircle cx='233.9' cy='79' r='5' opacity='.4'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' opacity='.6'/%3E%3Ccircle cx='170.1' cy='79' r='7' opacity='.8'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' opacity='.9'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' opacity='.3'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' opacity='.5'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' opacity='.7'/%3E%3Cpath d='M178 9.4c0 .4-.4.7-.9.7-.1 0-.2 0-.2-.1L172 8.2c-.5-.2-.6-.6-.1-.8l6.2-3.6c.5-.3.8-.1.7.5z' class='st0'/%3E%3Cpath d='M169.4 15.9c-1 0-2-.2-2.9-.7-2-1-3.2-3-3.2-5.2.1-3.4 2.9-6 6.3-6 2.5.1 4.8 1.7 5.6 4.1l.1-.1 2.1 1.1c-.6-4.4-4.7-7.5-9.1-6.9-3.9.6-6.9 3.9-7 7.9 0 2.9 1.7 5.6 4.3 7 1.2.6 2.5.9 3.8 1 2.6 0 5-1.2 6.6-3.3l-1.8-.9c-1.2 1.2-3 2-4.8 2m14-12.7c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5c0-.9.7-1.5 1.5-1.5m5.1 0h8.5c.9 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5h-8.5c-.9 0-1.5-.7-1.5-1.5-.1-.9.6-1.5 1.5-1.5m-5.1 5c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5c0-.9.7-1.5 1.5-1.5m5.1 0h8.5c.9 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5h-8.5c-.9 0-1.5-.7-1.5-1.5-.1-.9.6-1.5 1.5-1.5m-5.1 5c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5c0-.9.7-1.5 1.5-1.5m5.1 0h8.5c.9 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5h-8.5c-.9 0-1.5-.7-1.5-1.5-.1-.9.6-1.5 1.5-1.5' class='st0'/%3E%3C/svg%3E")}.jetpack-audio-player .mejs-button.mejs-jump-button>button{background-image:url('data:image/svg+xml;utf8,%3Csvg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60.78 35.3"%3E%3Cdefs%3E%3Cstyle%3E.cls-1{fill-rule:evenodd;}%3C/style%3E%3C/defs%3E%3Ctitle%3Etestsprite%3C/title%3E%3Cg id="layer1"%3E%3Cg id="mask0"%3E%3Cpath id="path44" class="cls-1" d="M42.49,6.27v3.87a7.72,7.72,0,1,1-7.68,7.72h1.92a5.77,5.77,0,1,0,5.76-5.79v3.86l-4.8-4.83Zm-1,10.36-.24,2.1.65.15,0,0a.46.46,0,0,1,.07-.07s0,0,.06,0l.06,0,.14-.05.19,0a.79.79,0,0,1,.29.05.48.48,0,0,1,.2.14.65.65,0,0,1,.13.23,1,1,0,0,1,0,.3h0a1,1,0,0,1,0,.3.9.9,0,0,1-.11.24.46.46,0,0,1-.17.17.5.5,0,0,1-.26.06.6.6,0,0,1-.4-.15.56.56,0,0,1-.19-.39h-.8a1.2,1.2,0,0,0,.12.51,1.12,1.12,0,0,0,.31.37,1.45,1.45,0,0,0,.44.24,2.24,2.24,0,0,0,.51.07,1.91,1.91,0,0,0,.62-.11,1.33,1.33,0,0,0,.43-.3,1.39,1.39,0,0,0,.26-.44,1.46,1.46,0,0,0,.08-.52,2.14,2.14,0,0,0-.08-.58,1.05,1.05,0,0,0-.64-.7,1.21,1.21,0,0,0-.52-.1l-.2,0-.08,0-.09,0a.38.38,0,0,0-.14.05l0,0s0,0-.06,0l.11-.89h1.63v-.69Z"/%3E%3C/g%3E%3Cg id="g34"%3E%3Cg id="g32"%3E%3Cpath id="path26" d="M23.81,17.58a6,6,0,1,1-6-6v4l5-5-5-5v4a8,8,0,1,0,8,8Z"/%3E%3Cpath id="path28" d="M15.87,20a.57.57,0,0,1-.62-.54H14.4a1.3,1.3,0,0,0,1.45,1.23c.87,0,1.51-.46,1.51-1.25a1,1,0,0,0-.71-1,1.06,1.06,0,0,0,.65-.92c0-.21-.05-1.22-1.44-1.22a1.27,1.27,0,0,0-1.4,1.16h.85a.58.58,0,0,1,1.15.06.56.56,0,0,1-.63.59h-.46v.66h.45c.65,0,.7.42.7.64A.58.58,0,0,1,15.87,20Z"/%3E%3Cpath id="path30" d="M19.66,16.26c-.14,0-1.44-.08-1.44,1.82v.74c0,1.9,1.31,1.82,1.44,1.82s1.44.09,1.44-1.82v-.74C21.11,16.17,19.8,16.26,19.66,16.26Zm.6,2.67c0,.77-.21,1-.59,1s-.6-.26-.6-1V18c0-.75.22-1,.59-1s.6.26.6,1Z"/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E');background-size:60.78px 35.296px}.jetpack-audio-player .mejs-button.mejs-jump-backward-button>button{background-position:-32px -6px}.jetpack-audio-player .mejs-button.mejs-skip-forward-button>button{background-position:-9px -6px}@supports((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.jetpack-audio-player .mejs-button>button{background-image:none}.jetpack-audio-player .mejs-button>button:before{background-color:var(--jetpack-audio-player-primary);background-image:none;content:"";display:block;height:100%;-webkit-mask:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='120'%3E%3Cstyle%3E.st0{fill:%23fff;width:16px;height:16px}.st1{fill:none;stroke:%23fff;stroke-width:1.5;stroke-linecap:round}%3C/style%3E%3Cpath d='M16.5 8.5c.3.1.4.5.2.8-.1.1-.1.2-.2.2l-11.4 7c-.5.3-.8.1-.8-.5V2c0-.5.4-.8.8-.5zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1m9.8 0H36c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1h-2.2c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1M81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7zM67 5.8c-.5.4-1.2.6-1.8.6H62c-.6 0-1 .4-1 1v5.7c0 .6.4 1 1 1h4.2c.3.2.5.4.8.6l3.5 2.6c.4.3.8.1.8-.4V3.5c0-.5-.4-.7-.8-.4z' class='st0'/%3E%3Cpath d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8' class='st1'/%3E%3Cpath d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9' class='st1'/%3E%3Cpath d='M47 5.8c-.5.4-1.2.6-1.8.6H42c-.6 0-1 .4-1 1v5.7c0 .6.4 1 1 1h4.2c.3.2.5.4.8.6l3.5 2.6c.4.3.8.1.8-.4V3.5c0-.5-.4-.7-.8-.4z' class='st0'/%3E%3Cpath d='m52.8 7 5.4 5.4m-5.4 0L58.2 7' style='fill:none;stroke:%23fff;stroke-width:2;stroke-linecap:round'/%3E%3Cpath d='M128.7 8.6c-6.2-4.2-6.5 7.8 0 3.9m6.5-3.9c-6.2-4.2-6.5 7.8 0 3.9' style='fill:none;stroke:%23fff'/%3E%3Cpath d='M122.2 3.4h15.7v13.1h-15.7zM120.8 2v15.7h18.3V2zM143.2 3h14c1.1 0 2 .9 2 2v10c0 1.1-.9 2-2 2h-14c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2' class='st0'/%3E%3Cpath d='M146.4 13.8c-.8 0-1.6-.4-2.1-1-1.1-1.4-1-3.4.1-4.8.5-.6 2-1.7 4.6.2l-.6.8c-1.4-1-2.6-1.1-3.3-.3-.8 1-.8 2.4-.1 3.5.7.9 1.9.8 3.4-.1l.5.9c-.7.5-1.6.7-2.5.8m7.5 0c-.8 0-1.6-.4-2.1-1-1.1-1.4-1-3.4.1-4.8.5-.6 2-1.7 4.6.2l-.5.8c-1.4-1-2.6-1.1-3.3-.3-.8 1-.8 2.4-.1 3.5.7.9 1.9.8 3.4-.1l.5.9c-.8.5-1.7.7-2.6.8' style='fill:%23231f20'/%3E%3Cpath d='M60.3 77c.6.2.8.8.6 1.4q-.15.45-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1z' class='st0'/%3E%3Cpath d='M2.5 79c0-20.7 16.8-37.5 37.5-37.5S77.5 58.3 77.5 79 60.7 116.5 40 116.5 2.5 99.7 2.5 79z' style='opacity:.75;fill:none;stroke:%23fff;stroke-width:5'/%3E%3Cpath d='M140.3 77c.6.2.8.8.6 1.4q-.15.45-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1z' class='st0'/%3E%3Cpath d='M82.5 79c0-20.7 16.8-37.5 37.5-37.5s37.5 16.8 37.5 37.5-16.8 37.5-37.5 37.5S82.5 99.7 82.5 79z' style='fill:none;stroke:%23fff;stroke-width:5'/%3E%3Ccircle cx='201.9' cy='47.1' r='8.1' class='st0'/%3E%3Ccircle cx='233.9' cy='79' r='5' style='opacity:.4;fill:%23fff'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' style='opacity:.6;fill:%23fff'/%3E%3Ccircle cx='170.1' cy='79' r='7' style='opacity:.8;fill:%23fff'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' style='opacity:.9;fill:%23fff'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' style='opacity:.3;fill:%23fff'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff'/%3E%3Cpath d='M178 9.4c0 .4-.4.7-.9.7-.1 0-.2 0-.2-.1L172 8.2c-.5-.2-.6-.6-.1-.8l6.2-3.6c.5-.3.8-.1.7.5z' class='st0'/%3E%3Cpath d='M169.4 15.9c-1 0-2-.2-2.9-.7-2-1-3.2-3-3.2-5.2.1-3.4 2.9-6 6.3-6 2.5.1 4.8 1.7 5.6 4.1l.1-.1 2.1 1.1c-.6-4.4-4.7-7.5-9.1-6.9-3.9.6-6.9 3.9-7 7.9 0 2.9 1.7 5.6 4.3 7 1.2.6 2.5.9 3.8 1 2.6 0 5-1.2 6.6-3.3l-1.8-.9c-1.2 1.2-3 2-4.8 2M183.4 3.2c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5c0-.9.7-1.5 1.5-1.5m5.1 0h8.5c.9 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5h-8.5c-.9 0-1.5-.7-1.5-1.5-.1-.9.6-1.5 1.5-1.5m-5.1 5c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5c0-.9.7-1.5 1.5-1.5m5.1 0h8.5c.9 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5h-8.5c-.9 0-1.5-.7-1.5-1.5-.1-.9.6-1.5 1.5-1.5m-5.1 5c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5c0-.9.7-1.5 1.5-1.5m5.1 0h8.5c.9 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5h-8.5c-.9 0-1.5-.7-1.5-1.5-.1-.9.6-1.5 1.5-1.5' class='st0'/%3E%3C/svg%3E");mask:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='120'%3E%3Cstyle%3E.st0{fill:%23fff;width:16px;height:16px}.st1{fill:none;stroke:%23fff;stroke-width:1.5;stroke-linecap:round}%3C/style%3E%3Cpath d='M16.5 8.5c.3.1.4.5.2.8-.1.1-.1.2-.2.2l-11.4 7c-.5.3-.8.1-.8-.5V2c0-.5.4-.8.8-.5zM24 1h2.2c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1H24c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1m9.8 0H36c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1h-2.2c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1M81 1.4c0-.6.4-1 1-1h5.4c.6 0 .7.3.3.7l-6 6c-.4.4-.7.3-.7-.3zm0 15.8c0 .6.4 1 1 1h5.4c.6 0 .7-.3.3-.7l-6-6c-.4-.4-.7-.3-.7.3zM98.8 1.4c0-.6-.4-1-1-1h-5.4c-.6 0-.7.3-.3.7l6 6c.4.4.7.3.7-.3zm0 15.8c0 .6-.4 1-1 1h-5.4c-.6 0-.7-.3-.3-.7l6-6c.4-.4.7-.3.7.3zM112.7 5c0 .6.4 1 1 1h4.1c.6 0 .7-.3.3-.7L113.4.6c-.4-.4-.7-.3-.7.3zm-7.1 1c.6 0 1-.4 1-1V.9c0-.6-.3-.7-.7-.3l-4.7 4.7c-.4.4-.3.7.3.7zm1 7.1c0-.6-.4-1-1-1h-4.1c-.6 0-.7.3-.3.7l4.7 4.7c.4.4.7.3.7-.3zm7.1-1c-.6 0-1 .4-1 1v4.1c0 .5.3.7.7.3l4.7-4.7c.4-.4.3-.7-.3-.7zM67 5.8c-.5.4-1.2.6-1.8.6H62c-.6 0-1 .4-1 1v5.7c0 .6.4 1 1 1h4.2c.3.2.5.4.8.6l3.5 2.6c.4.3.8.1.8-.4V3.5c0-.5-.4-.7-.8-.4z' class='st0'/%3E%3Cpath d='M73.9 2.5s3.9-.8 3.9 7.7-3.9 7.8-3.9 7.8' class='st1'/%3E%3Cpath d='M72.6 6.4s2.6-.4 2.6 3.8-2.6 3.9-2.6 3.9' class='st1'/%3E%3Cpath d='M47 5.8c-.5.4-1.2.6-1.8.6H42c-.6 0-1 .4-1 1v5.7c0 .6.4 1 1 1h4.2c.3.2.5.4.8.6l3.5 2.6c.4.3.8.1.8-.4V3.5c0-.5-.4-.7-.8-.4z' class='st0'/%3E%3Cpath d='m52.8 7 5.4 5.4m-5.4 0L58.2 7' style='fill:none;stroke:%23fff;stroke-width:2;stroke-linecap:round'/%3E%3Cpath d='M128.7 8.6c-6.2-4.2-6.5 7.8 0 3.9m6.5-3.9c-6.2-4.2-6.5 7.8 0 3.9' style='fill:none;stroke:%23fff'/%3E%3Cpath d='M122.2 3.4h15.7v13.1h-15.7zM120.8 2v15.7h18.3V2zM143.2 3h14c1.1 0 2 .9 2 2v10c0 1.1-.9 2-2 2h-14c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2' class='st0'/%3E%3Cpath d='M146.4 13.8c-.8 0-1.6-.4-2.1-1-1.1-1.4-1-3.4.1-4.8.5-.6 2-1.7 4.6.2l-.6.8c-1.4-1-2.6-1.1-3.3-.3-.8 1-.8 2.4-.1 3.5.7.9 1.9.8 3.4-.1l.5.9c-.7.5-1.6.7-2.5.8m7.5 0c-.8 0-1.6-.4-2.1-1-1.1-1.4-1-3.4.1-4.8.5-.6 2-1.7 4.6.2l-.5.8c-1.4-1-2.6-1.1-3.3-.3-.8 1-.8 2.4-.1 3.5.7.9 1.9.8 3.4-.1l.5.9c-.8.5-1.7.7-2.6.8' style='fill:%23231f20'/%3E%3Cpath d='M60.3 77c.6.2.8.8.6 1.4q-.15.45-.6.6L30 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1z' class='st0'/%3E%3Cpath d='M2.5 79c0-20.7 16.8-37.5 37.5-37.5S77.5 58.3 77.5 79 60.7 116.5 40 116.5 2.5 99.7 2.5 79z' style='opacity:.75;fill:none;stroke:%23fff;stroke-width:5'/%3E%3Cpath d='M140.3 77c.6.2.8.8.6 1.4q-.15.45-.6.6L110 96.5c-1 .6-1.7.1-1.7-1v-35c0-1.1.8-1.5 1.7-1z' class='st0'/%3E%3Cpath d='M82.5 79c0-20.7 16.8-37.5 37.5-37.5s37.5 16.8 37.5 37.5-16.8 37.5-37.5 37.5S82.5 99.7 82.5 79z' style='fill:none;stroke:%23fff;stroke-width:5'/%3E%3Ccircle cx='201.9' cy='47.1' r='8.1' class='st0'/%3E%3Ccircle cx='233.9' cy='79' r='5' style='opacity:.4;fill:%23fff'/%3E%3Ccircle cx='201.9' cy='110.9' r='6' style='opacity:.6;fill:%23fff'/%3E%3Ccircle cx='170.1' cy='79' r='7' style='opacity:.8;fill:%23fff'/%3E%3Ccircle cx='178.2' cy='56.3' r='7.5' style='opacity:.9;fill:%23fff'/%3E%3Ccircle cx='226.3' cy='56.1' r='4.5' style='opacity:.3;fill:%23fff'/%3E%3Ccircle cx='225.8' cy='102.8' r='5.5' style='opacity:.5;fill:%23fff'/%3E%3Ccircle cx='178.2' cy='102.8' r='6.5' style='opacity:.7;fill:%23fff'/%3E%3Cpath d='M178 9.4c0 .4-.4.7-.9.7-.1 0-.2 0-.2-.1L172 8.2c-.5-.2-.6-.6-.1-.8l6.2-3.6c.5-.3.8-.1.7.5z' class='st0'/%3E%3Cpath d='M169.4 15.9c-1 0-2-.2-2.9-.7-2-1-3.2-3-3.2-5.2.1-3.4 2.9-6 6.3-6 2.5.1 4.8 1.7 5.6 4.1l.1-.1 2.1 1.1c-.6-4.4-4.7-7.5-9.1-6.9-3.9.6-6.9 3.9-7 7.9 0 2.9 1.7 5.6 4.3 7 1.2.6 2.5.9 3.8 1 2.6 0 5-1.2 6.6-3.3l-1.8-.9c-1.2 1.2-3 2-4.8 2M183.4 3.2c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5c0-.9.7-1.5 1.5-1.5m5.1 0h8.5c.9 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5h-8.5c-.9 0-1.5-.7-1.5-1.5-.1-.9.6-1.5 1.5-1.5m-5.1 5c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5c0-.9.7-1.5 1.5-1.5m5.1 0h8.5c.9 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5h-8.5c-.9 0-1.5-.7-1.5-1.5-.1-.9.6-1.5 1.5-1.5m-5.1 5c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5c0-.9.7-1.5 1.5-1.5m5.1 0h8.5c.9 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5h-8.5c-.9 0-1.5-.7-1.5-1.5-.1-.9.6-1.5 1.5-1.5' class='st0'/%3E%3C/svg%3E");width:100%}.jetpack-audio-player .mejs-button.mejs-jump-button>button{background-image:none}.jetpack-audio-player .mejs-button.mejs-jump-button>button:before{background-image:none;-webkit-mask:url('data:image/svg+xml;utf8,%3Csvg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60.78 35.3"%3E%3Cdefs%3E%3Cstyle%3E.cls-1{fill-rule:evenodd;}%3C/style%3E%3C/defs%3E%3Ctitle%3Etestsprite%3C/title%3E%3Cg id="layer1"%3E%3Cg id="mask0"%3E%3Cpath id="path44" class="cls-1" d="M42.49,6.27v3.87a7.72,7.72,0,1,1-7.68,7.72h1.92a5.77,5.77,0,1,0,5.76-5.79v3.86l-4.8-4.83Zm-1,10.36-.24,2.1.65.15,0,0a.46.46,0,0,1,.07-.07s0,0,.06,0l.06,0,.14-.05.19,0a.79.79,0,0,1,.29.05.48.48,0,0,1,.2.14.65.65,0,0,1,.13.23,1,1,0,0,1,0,.3h0a1,1,0,0,1,0,.3.9.9,0,0,1-.11.24.46.46,0,0,1-.17.17.5.5,0,0,1-.26.06.6.6,0,0,1-.4-.15.56.56,0,0,1-.19-.39h-.8a1.2,1.2,0,0,0,.12.51,1.12,1.12,0,0,0,.31.37,1.45,1.45,0,0,0,.44.24,2.24,2.24,0,0,0,.51.07,1.91,1.91,0,0,0,.62-.11,1.33,1.33,0,0,0,.43-.3,1.39,1.39,0,0,0,.26-.44,1.46,1.46,0,0,0,.08-.52,2.14,2.14,0,0,0-.08-.58,1.05,1.05,0,0,0-.64-.7,1.21,1.21,0,0,0-.52-.1l-.2,0-.08,0-.09,0a.38.38,0,0,0-.14.05l0,0s0,0-.06,0l.11-.89h1.63v-.69Z"/%3E%3C/g%3E%3Cg id="g34"%3E%3Cg id="g32"%3E%3Cpath id="path26" d="M23.81,17.58a6,6,0,1,1-6-6v4l5-5-5-5v4a8,8,0,1,0,8,8Z"/%3E%3Cpath id="path28" d="M15.87,20a.57.57,0,0,1-.62-.54H14.4a1.3,1.3,0,0,0,1.45,1.23c.87,0,1.51-.46,1.51-1.25a1,1,0,0,0-.71-1,1.06,1.06,0,0,0,.65-.92c0-.21-.05-1.22-1.44-1.22a1.27,1.27,0,0,0-1.4,1.16h.85a.58.58,0,0,1,1.15.06.56.56,0,0,1-.63.59h-.46v.66h.45c.65,0,.7.42.7.64A.58.58,0,0,1,15.87,20Z"/%3E%3Cpath id="path30" d="M19.66,16.26c-.14,0-1.44-.08-1.44,1.82v.74c0,1.9,1.31,1.82,1.44,1.82s1.44.09,1.44-1.82v-.74C21.11,16.17,19.8,16.26,19.66,16.26Zm.6,2.67c0,.77-.21,1-.59,1s-.6-.26-.6-1V18c0-.75.22-1,.59-1s.6.26.6,1Z"/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E') 0 0/60.78px 35.296px;mask:url('data:image/svg+xml;utf8,%3Csvg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60.78 35.3"%3E%3Cdefs%3E%3Cstyle%3E.cls-1{fill-rule:evenodd;}%3C/style%3E%3C/defs%3E%3Ctitle%3Etestsprite%3C/title%3E%3Cg id="layer1"%3E%3Cg id="mask0"%3E%3Cpath id="path44" class="cls-1" d="M42.49,6.27v3.87a7.72,7.72,0,1,1-7.68,7.72h1.92a5.77,5.77,0,1,0,5.76-5.79v3.86l-4.8-4.83Zm-1,10.36-.24,2.1.65.15,0,0a.46.46,0,0,1,.07-.07s0,0,.06,0l.06,0,.14-.05.19,0a.79.79,0,0,1,.29.05.48.48,0,0,1,.2.14.65.65,0,0,1,.13.23,1,1,0,0,1,0,.3h0a1,1,0,0,1,0,.3.9.9,0,0,1-.11.24.46.46,0,0,1-.17.17.5.5,0,0,1-.26.06.6.6,0,0,1-.4-.15.56.56,0,0,1-.19-.39h-.8a1.2,1.2,0,0,0,.12.51,1.12,1.12,0,0,0,.31.37,1.45,1.45,0,0,0,.44.24,2.24,2.24,0,0,0,.51.07,1.91,1.91,0,0,0,.62-.11,1.33,1.33,0,0,0,.43-.3,1.39,1.39,0,0,0,.26-.44,1.46,1.46,0,0,0,.08-.52,2.14,2.14,0,0,0-.08-.58,1.05,1.05,0,0,0-.64-.7,1.21,1.21,0,0,0-.52-.1l-.2,0-.08,0-.09,0a.38.38,0,0,0-.14.05l0,0s0,0-.06,0l.11-.89h1.63v-.69Z"/%3E%3C/g%3E%3Cg id="g34"%3E%3Cg id="g32"%3E%3Cpath id="path26" d="M23.81,17.58a6,6,0,1,1-6-6v4l5-5-5-5v4a8,8,0,1,0,8,8Z"/%3E%3Cpath id="path28" d="M15.87,20a.57.57,0,0,1-.62-.54H14.4a1.3,1.3,0,0,0,1.45,1.23c.87,0,1.51-.46,1.51-1.25a1,1,0,0,0-.71-1,1.06,1.06,0,0,0,.65-.92c0-.21-.05-1.22-1.44-1.22a1.27,1.27,0,0,0-1.4,1.16h.85a.58.58,0,0,1,1.15.06.56.56,0,0,1-.63.59h-.46v.66h.45c.65,0,.7.42.7.64A.58.58,0,0,1,15.87,20Z"/%3E%3Cpath id="path30" d="M19.66,16.26c-.14,0-1.44-.08-1.44,1.82v.74c0,1.9,1.31,1.82,1.44,1.82s1.44.09,1.44-1.82v-.74C21.11,16.17,19.8,16.26,19.66,16.26Zm.6,2.67c0,.77-.21,1-.59,1s-.6-.26-.6-1V18c0-.75.22-1,.59-1s.6.26.6,1Z"/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E') 0 0/60.78px 35.296px}.jetpack-audio-player .mejs-button.mejs-jump-backward-button>button:before{-webkit-mask-position:-32px -6px;mask-position:-32px -6px}.jetpack-audio-player .mejs-button.mejs-skip-forward-button>button:before{-webkit-mask-position:-9px -6px;mask-position:-9px -6px}.jetpack-audio-player .mejs-button>button:focus{outline:1px solid;outline-color:#ccc;outline-color:var(--jetpack-audio-player-secondary);outline-offset:2px}.jetpack-audio-player .mejs-play>button:before{-webkit-mask-position:0 0;mask-position:0 0}.jetpack-audio-player .mejs-pause>button:before{-webkit-mask-position:-20px 0;mask-position:-20px 0}.jetpack-audio-player .mejs-replay>button:before{-webkit-mask-position:-160px 0;mask-position:-160px 0}.jetpack-audio-player .mejs-mute>button:before{-webkit-mask-position:-60px 0;mask-position:-60px 0}.jetpack-audio-player .mejs-unmute>button:before{-webkit-mask-position:-40px 0;mask-position:-40px 0}}.block-editor-block-contextual-toolbar[data-type="jetpack/podcast-player"] .components-toolbar__control,[data-type="jetpack/podcast-player"] .block-editor-block-contextual-toolbar .components-toolbar__control{padding:0 1em;width:auto}.jetpack-podcast-player__interactive-overlay,.jetpack-podcast-player__loading-overlay{bottom:0;left:0;position:absolute;right:0;top:0}.jetpack-podcast-player__loading-overlay{align-items:center;background:#ffffffb3;display:flex;justify-content:center}.jetpack-podcast-player__placeholder .components-base-control,.jetpack-podcast-player__placeholder .components-base-control__field{display:flex;flex-grow:1}.jetpack-podcast-player__placeholder .components-base-control__field{margin-bottom:0}.jetpack-podcast-player__placeholder .components-placeholder__learn-more{margin-top:1em}.block-editor-block-inspector .components-base-control.jetpack-podcast-player__episode-selector{margin-bottom:24px}.jetpack-podcast-player--visually-hidden{height:1px;overflow:hidden;position:absolute!important;width:1px;clip:rect(1px,1px,1px,1px);white-space:nowrap}.wp-block-jetpack-podcast-player{overflow:hidden}.wp-block-jetpack-podcast-player audio{display:none}.wp-block-jetpack-podcast-player .jetpack-podcast-player{--jetpack-podcast-player-primary:#000;--jetpack-podcast-player-secondary:#ccc;--jetpack-podcast-player-background:#fff;background-color:var(--jetpack-podcast-player-background);color:var(--jetpack-podcast-player-secondary);padding-bottom:0;padding-top:0}.wp-block-jetpack-podcast-player .jetpack-podcast-player:not(.has-secondary){color:#ccc}.wp-block-jetpack-podcast-player .jetpack-podcast-player:not(.has-background){background-color:#fff}.wp-block-jetpack-podcast-player .jetpack-podcast-player a,.wp-block-jetpack-podcast-player .jetpack-podcast-player a:active,.wp-block-jetpack-podcast-player .jetpack-podcast-player a:focus,.wp-block-jetpack-podcast-player .jetpack-podcast-player a:hover,.wp-block-jetpack-podcast-player .jetpack-podcast-player a:visited{border:none;box-shadow:none;text-decoration:none}.wp-block-jetpack-podcast-player .jetpack-podcast-player a:focus{outline:1px solid;outline-color:#ccc;outline-color:var(--jetpack-podcast-player-secondary);outline-offset:2px}.wp-block-jetpack-podcast-player .jetpack-podcast-player a.jetpack-podcast-player__link,.wp-block-jetpack-podcast-player .jetpack-podcast-player a.jetpack-podcast-player__link:active,.wp-block-jetpack-podcast-player .jetpack-podcast-player a.jetpack-podcast-player__link:visited{color:inherit}.wp-block-jetpack-podcast-player .jetpack-podcast-player a.jetpack-podcast-player__link:focus,.wp-block-jetpack-podcast-player .jetpack-podcast-player a.jetpack-podcast-player__link:hover{color:inherit;color:var(--jetpack-podcast-player-primary)}.wp-block-jetpack-podcast-player .jetpack-podcast-player__header{display:flex;flex-direction:column}.wp-block-jetpack-podcast-player .jetpack-podcast-player__current-track-info{display:flex;padding:24px}.wp-block-jetpack-podcast-player .jetpack-podcast-player__cover{flex-shrink:0;margin-inline-end:24px;width:80px}.wp-block-jetpack-podcast-player .jetpack-podcast-player__cover-image{border:0;height:80px;max-width:100%;padding:0;width:80px}.wp-block-jetpack-podcast-player h2.jetpack-podcast-player__title{color:inherit;display:flex;flex-direction:column;letter-spacing:0;margin:0;padding:0;width:100%}.wp-block-jetpack-podcast-player h2.jetpack-podcast-player__title:after,.wp-block-jetpack-podcast-player h2.jetpack-podcast-player__title:before{display:none}.wp-block-jetpack-podcast-player .jetpack-podcast-player__current-track-title{color:var(--jetpack-podcast-player-primary);font-size:24px;margin:0 0 10px}.wp-block-jetpack-podcast-player .jetpack-podcast-player__current-track-title:not(.has-primary){color:#000}.wp-block-jetpack-podcast-player .jetpack-podcast-player__podcast-title{color:inherit;font-size:16px;margin:0}.wp-block-jetpack-podcast-player .jetpack-podcast-player__tracks{display:flex;flex-direction:column;list-style-type:none;margin:24px 0 0;padding:0 0 15px}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track{color:var(--jetpack-podcast-player-secondary);font-size:16px;line-height:1.8;margin:0}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track:not(.is-active):not(.has-secondary){color:#ccc}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track.is-active{color:var(--jetpack-podcast-player-primary);font-weight:700}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track.is-active:not(.has-primary){color:#000}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-link{display:flex;flex-flow:row nowrap;justify-content:space-between;padding-bottom:10px;padding-inline-end:24px;padding-top:10px;padding-inline-start:22px;transition:none}.wp-block-jetpack-podcast-player .is-error .jetpack-podcast-player__track.is-active .jetpack-podcast-player__track-link{padding-bottom:0}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-status-icon{flex:22px 0 0;fill:currentColor}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-status-icon svg{display:block;height:22px;margin-top:3.4px;width:22px;fill:inherit}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-status-icon--error{fill:#cc1818}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track.has-primary .jetpack-podcast-player__track-status-icon--error{fill:currentColor}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-title{flex-grow:1;padding:0 15px}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-title-link{display:inline-block;height:27px;margin-inline-start:5px;vertical-align:top}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-title-link,.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-title-link:active,.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-title-link:visited{color:currentColor}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-title-link:focus,.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-title-link:hover{color:inherit;color:var(--jetpack-podcast-player-secondary)}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-title-link svg{display:block;height:27px;width:27px;fill:currentColor}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-duration{word-break:normal}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-description{color:inherit;font-size:16px;line-height:1.8;margin:0 0 24px;max-height:7.2em;order:99;overflow:hidden;padding:0 24px}@supports(display:-webkit-box){.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;max-height:none}}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-error{color:#cc1818;display:block;font-size:.8em;font-weight:400;margin-inline-start:59px;margin-bottom:10px}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-error>span{color:var(--jetpack-podcast-player-secondary)}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-error>span:not(.has-secondary){color:#ccc}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track.has-primary .jetpack-podcast-player__track-error{color:inherit}.wp-block-jetpack-podcast-player .jetpack-podcast-player__error{color:#cc1818;font-size:.8em;font-weight:400;margin:0;padding:24px}@supports((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-status-icon--playing{background-image:none}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-status-icon--playing:before{background-color:var(--jetpack-podcast-player-primary);background-image:none;content:"";display:block;height:100%;margin:4px 2px 0 0;-webkit-mask:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 4.763 4.763'%3E%3Cpath d='M1.65 1.204a.8.8 0 0 1-.476.159H.327c-.159 0-.264.106-.264.264v1.508c0 .16.105.265.264.265h1.111c.08.053.133.106.212.159l.926.688c.106.079.212.026.212-.106V.595c0-.132-.106-.185-.212-.105z' class='st0'/%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397' d='M3.48.33S4.512.118 4.512 2.367 3.48 4.431 3.48 4.431' class='st1'/%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397' d='M3.13 1.362s.688-.106.688 1.005S3.13 3.4 3.13 3.4' class='st1'/%3E%3C/svg%3E");mask:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 4.763 4.763'%3E%3Cpath d='M1.65 1.204a.8.8 0 0 1-.476.159H.327c-.159 0-.264.106-.264.264v1.508c0 .16.105.265.264.265h1.111c.08.053.133.106.212.159l.926.688c.106.079.212.026.212-.106V.595c0-.132-.106-.185-.212-.105z' class='st0'/%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397' d='M3.48.33S4.512.118 4.512 2.367 3.48 4.431 3.48 4.431' class='st1'/%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-width='.397' d='M3.13 1.362s.688-.106.688 1.005S3.13 3.4 3.13 3.4' class='st1'/%3E%3C/svg%3E");-webkit-mask-position:0 0;mask-position:0 0;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;max-height:22px;max-width:20px;width:100%}.wp-block-jetpack-podcast-player .jetpack-podcast-player__track-status-icon--playing svg{display:none}}.wp-block-jetpack-podcast-player.is-default .jetpack-podcast-player__track-title{padding-inline-start:0}.wp-block-jetpack-podcast-player.is-default .jetpack-audio-player,.wp-block-jetpack-podcast-player.is-default .jetpack-podcast-player__track-status-icon{display:none}.connect-stripe.has-icon.has-text svg{margin-right:0}.connect-stripe.has-icon.has-text{font-weight:400}.product-management-control-inspector__product-interval .components-base-control,.product-management-control-inspector__product-title .components-base-control{width:100%}.product-management-control-inspector__product-price .components-base-control{margin:0;width:45%}.product-management-control-inspector__add-plan .components-panel__row:last-child{margin-top:25px}.product-management-control-inspector__add-plan .components-base-control:last-child{margin:0}.product-management-control-nudge .editor-warning{margin-bottom:0}.product-management-control-nudge .editor-warning__message{margin:13px 0}.product-management-control-nudge .editor-warning__actions{line-height:1}.product-management-control-nudge .product-management-control-nudge__info{display:flex;flex-direction:row;font-size:13px;line-height:1.4}.product-management-control-nudge .product-management-control-nudge__text-container{display:flex;flex-direction:column;padding-left:10px}.product-management-control-nudge .product-management-control-nudge__title{font-size:14px}.product-management-control-nudge__message{color:#646970}.editor-styles-wrapper a.product-management-control-nudge__button{color:#0075af;text-decoration:none}.wp-block-premium-content-container .premium-content-tabs{align-items:center;background:#fff;border:1px solid #1e1e1e;border-radius:2px;color:#757575;display:flex;flex-wrap:wrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:0 0 0 -1px;padding:8px 14px;position:relative}.wp-block-premium-content-container--tab{align-items:center;background:#0000;border:none;display:flex;flex-direction:row;margin-inline-end:5px;padding:5px;text-decoration:none}.premium-content-tabs>button.edit{margin-inline-start:auto}.premium-content-wrapper{margin:0}.membership-button__disclaimer{color:var(--color-gray-200);flex-basis:100%;font-style:italic;margin:0}.membership-button__disclaimer a{color:var(--color-gray-400);line-height:36px}.wp-block-buttons .wp-block[data-type="jetpack/recurring-payments"]{display:inline-block;margin:0 .5em 0 0;width:auto}.editor-styles-wrapper .wp-block-buttons .wp-block[data-type="jetpack/recurring-payments"] .wp-block-button:not(.alignleft):not(.alignright){margin:0}.wp-block-premium-content-container .premium-content-wrapper .jetpack-block-nudge{display:none}.wp-block-premium-content-login-button{display:inline-block}.wp-block[data-align=center]>.wp-block-premium-content-login-button{align-items:center;display:flex;justify-content:center}.jetpack-publicize-gutenberg-social-icon{margin-right:10px}.components-connection-icon{cursor:pointer;display:grid}.components-connection-icon__picture .placeholder,.components-connection-icon__picture img{border-radius:2px;grid-area:1/1/2/2;height:24px;width:24px}.components-connection-icon__picture .placeholder{background-color:#a8bece;display:block}.components-connection-icon__picture .jetpack-publicize-gutenberg-social-icon{background-color:#fff;border-radius:2px;grid-area:1/1/2/2;height:15px;margin-left:14px;margin-right:5px;margin-top:14px;width:15px}.components-connection-icon__picture .jetpack-publicize-gutenberg-social-icon.is-facebook{border-radius:50%}.jetpack-publicize-connection-label-copy,.jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.cuoSlhSNrqf1dozY22Xb{fill:#000}.JLquNpQVlysAamuh5lJO,.lAIiifeLMmZAPlQ9n9ZR{fill:var(--jp-green-primary)}.cbOwD8Y4tFjwimmtchQI{fill:#757575}.cbOwD8Y4tFjwimmtchQI.aLWBKY0yRghEk7tNCgK3{fill:#0085ff}.cbOwD8Y4tFjwimmtchQI.aHOlEBGD5EA8NKRw3xTw{fill:#0866ff}.cbOwD8Y4tFjwimmtchQI.aHOlEBGD5EA8NKRw3xTw.social-logo{border-radius:50%}.cbOwD8Y4tFjwimmtchQI.af4Y_zItXvLAOEoSDPSv{fill:#55acee}.cbOwD8Y4tFjwimmtchQI.f68aqF3XSD1OBvXR1get{fill:#0976b4}.cbOwD8Y4tFjwimmtchQI.xFI0dt3UiXRlRQdqPWkx{fill:#35465c}.cbOwD8Y4tFjwimmtchQI.q7JEoyymveP6kF747M43{fill:var(--color-gplus)}.cbOwD8Y4tFjwimmtchQI.DKOBOTVmTLbh26gUH_73{fill:#6364ff}.cbOwD8Y4tFjwimmtchQI.n5XodNsuMfMAAvqHFmbw{fill:#8ed500}.cbOwD8Y4tFjwimmtchQI.n5XodNsuMfMAAvqHFmbw.social-logo{border-radius:50%}.cbOwD8Y4tFjwimmtchQI.cL3m0xBYTYhIKI7lCqDB{fill:#d93174}.cbOwD8Y4tFjwimmtchQI.fftumuc_lJ6v0tq4UMVR{fill:#43d854}.cbOwD8Y4tFjwimmtchQI.inzgC27qxdt7hSdhTWRI{fill:#000}.cbOwD8Y4tFjwimmtchQI.inzgC27qxdt7hSdhTWRI.social-logo{border-radius:40%}.components-connection-toggle{align-items:center;display:flex;position:relative;width:100%}.components-connection-toggle.is-not-checked .components-connection-icon__picture img{filter:saturate(0)}.components-connection-toggle.is-not-checked .jetpack-publicize-gutenberg-social-icon{fill:#949494;filter:saturate(0)}.components-connection-toggle.is-disabled{opacity:.5;width:100%}.__nV49on4_ijaV8Brnsw.zZ3Pu7E87XyYIdPR2WTt{margin-bottom:13px;margin-left:0;margin-right:0}.__nV49on4_ijaV8Brnsw .fLC8AaLf3xcKaoJ4Opax{height:auto;line-height:normal;padding-bottom:6px;padding-top:6px}.__nV49on4_ijaV8Brnsw .fLC8AaLf3xcKaoJ4Opax+.fLC8AaLf3xcKaoJ4Opax{margin-top:5px}.KQcQQLxH5fI08DfOlKwL{display:flex}.SbpyhN5jnda8H868J3rX{border-radius:4px;outline:1px solid var(--jp-gray-5)}.SbpyhN5jnda8H868J3rX .ONeewrk3aNC1gYJebq7K{margin-bottom:0}.SbpyhN5jnda8H868J3rX .ONeewrk3aNC1gYJebq7K:not(:last-child){border-bottom:1px solid var(--jp-gray-5)}.SbpyhN5jnda8H868J3rX .RoTxOeGFqAwk3pXUZpvF{padding:.75rem}@media(min-width:600px){.SbpyhN5jnda8H868J3rX .RoTxOeGFqAwk3pXUZpvF{padding:1rem}}.SbpyhN5jnda8H868J3rX .AjlYaYB_xi9ciXXCqHIJ{align-items:center;display:flex;gap:1rem}.SbpyhN5jnda8H868J3rX .kdYli5nS3b46T57Ih5TQ{display:flex;flex:1;flex-direction:column;gap:.25rem}.SbpyhN5jnda8H868J3rX .ci8T5eNe1rggYILce596{align-items:center;display:flex;gap:1rem}.SbpyhN5jnda8H868J3rX .W6mPdl5wGQlXfp1hYSK0{display:flex;gap:.5rem}.SbpyhN5jnda8H868J3rX .QbcyaAVqz3U_2xlIOZCw{border-radius:4px;font-size:.75rem;font-weight:600;padding:2px 8px}.SbpyhN5jnda8H868J3rX .fXvUC1jZNUXR7RSrIylI{color:var(--jp-gray-80);font-size:16px;font-weight:600;line-height:24px}.SbpyhN5jnda8H868J3rX .d22_aeSA1etqpnckP_Mr{color:var(--jp-gray-50);font-size:14px}.SbpyhN5jnda8H868J3rX .ddhaNmGMqOySRjR_TtqJ{display:flex;gap:.5rem}.SbpyhN5jnda8H868J3rX .nnSF_IK4vYviTlCOzPrg.components-button{font-size:14px;font-weight:500;line-height:20px;padding-inline:6px}.SbpyhN5jnda8H868J3rX .nnSF_IK4vYviTlCOzPrg.components-button span{display:flex}.SbpyhN5jnda8H868J3rX .u17AiTny2Jbh35JFAUYw{border:0}.SbpyhN5jnda8H868J3rX .u17AiTny2Jbh35JFAUYw .components-panel__body{border-bottom:0;border-top:0;padding:0}.SbpyhN5jnda8H868J3rX .u17AiTny2Jbh35JFAUYw .components-panel__body.is-opened{margin-top:1rem}.SbpyhN5jnda8H868J3rX .u17AiTny2Jbh35JFAUYw .U_Z9JvOsEQ6BtkH9P1IQ{display:flex;margin-top:1rem}.SbpyhN5jnda8H868J3rX .u17AiTny2Jbh35JFAUYw .U_Z9JvOsEQ6BtkH9P1IQ form{display:flex;flex-direction:column;gap:1rem;justify-content:flex-end;width:100%}@media(min-width:600px){.SbpyhN5jnda8H868J3rX .u17AiTny2Jbh35JFAUYw .U_Z9JvOsEQ6BtkH9P1IQ form{flex-direction:row}}.SbpyhN5jnda8H868J3rX .MyXskAb4aXwO7zitR97z{color:var(--jp-green-50);white-space:nowrap}.SbpyhN5jnda8H868J3rX .hMntEpO6BV5B11lyAitv{font-size:var(--font-body-small);margin-block:0}.SbpyhN5jnda8H868J3rX .Y_4JpLfOnXVZKvEs179H{border-top:1px solid var(--jp-gray-5);padding-top:1rem}.SbpyhN5jnda8H868J3rX .Y_4JpLfOnXVZKvEs179H li:not(:last-child){margin-bottom:1rem}.SbpyhN5jnda8H868J3rX .Y_4JpLfOnXVZKvEs179H [inert=true]{opacity:.7}.jdahJvXCrCw0hA5NP3D3{display:grid;font-size:15px;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;margin-top:.4rem}.jdahJvXCrCw0hA5NP3D3.LLeYGX7Owy6gmpNW88VV{grid-auto-flow:row;grid-gap:2rem;height:auto;min-height:unset}.jdahJvXCrCw0hA5NP3D3 img{max-height:520px;max-width:100%}.jdahJvXCrCw0hA5NP3D3>div{padding:.4rem}.jdahJvXCrCw0hA5NP3D3>div:has(img){margin-inline-end:auto;margin-inline-start:auto}.EdjyE9tVLH6lWMoB9z3M{display:flex;gap:1rem}.EdjyE9tVLH6lWMoB9z3M .EQQHwkVXRn0caD6J7LqV{align-items:flex-start;display:flex;flex:1;flex-direction:column;gap:.5rem}.EdjyE9tVLH6lWMoB9z3M .vvlyiVm67wUWF9NhpMA4{height:38px;width:38px}.EdjyE9tVLH6lWMoB9z3M .zqX6xk8KCGK1_qbYKqY5.components-button.is-tertiary{color:var(--jp-gray-50);font-size:1rem;font-weight:400}.fNeO_MZFp7cPkgtCdkAF .zK8sijAMFNs2m6WRAoi4.components-button{font-size:14px;font-weight:500;line-height:20px;padding:6px 16px}.fNeO_MZFp7cPkgtCdkAF input{min-width:220px}@media(max-width:782px){.fNeO_MZFp7cPkgtCdkAF input{font-size:14px;min-height:30px;padding:0 8px}}.zLobzkXnF6jHxNvkfz5_{display:flex;gap:.5rem}.zI5tJ_qhWE6Oe6Lk75GY{--wp-admin-theme-color:var(--jp-black);--wp-admin-theme-color-darker-10:var(--jp-black-80);--wp-admin-theme-color-darker-20:var(--jp-black-80);--wp-admin-border-width-focus:1.51px;border-radius:var(--jp-border-radius);font-weight:600;justify-content:center}.zI5tJ_qhWE6Oe6Lk75GY.tuBt2DLqimiImoqVzPqo{height:calc(var(--spacing-base)*5);padding:var(--spacing-base);width:calc(var(--spacing-base)*5)}.zI5tJ_qhWE6Oe6Lk75GY.tuBt2DLqimiImoqVzPqo>svg:first-child{margin:0;padding:0}.zI5tJ_qhWE6Oe6Lk75GY.tuBt2DLqimiImoqVzPqo.Na39I683LAaSA99REg14{height:calc(var(--spacing-base)*4);min-width:calc(var(--spacing-base)*4);padding:calc(var(--spacing-base)/2);width:calc(var(--spacing-base)*4)}.zI5tJ_qhWE6Oe6Lk75GY.ipS7tKy9GntCS4R3vekF:not(.tuBt2DLqimiImoqVzPqo){font-size:var(--font-body);height:auto;line-height:24px;padding:var(--spacing-base) calc(var(--spacing-base)*3)}.zI5tJ_qhWE6Oe6Lk75GY.ipS7tKy9GntCS4R3vekF:not(.tuBt2DLqimiImoqVzPqo).paGLQwtPEaJmtArCcmyK{padding:var(--spacing-base) calc(var(--spacing-base)*2)}.zI5tJ_qhWE6Oe6Lk75GY.Na39I683LAaSA99REg14:not(.tuBt2DLqimiImoqVzPqo){font-size:var(--font-body-extra-small);height:auto;line-height:20px;padding:calc(var(--spacing-base)/2) var(--spacing-base)}.zI5tJ_qhWE6Oe6Lk75GY.Na39I683LAaSA99REg14:not(.tuBt2DLqimiImoqVzPqo).paGLQwtPEaJmtArCcmyK>svg:first-child{margin-right:calc(var(--spacing-base)/2)}.zI5tJ_qhWE6Oe6Lk75GY.Na39I683LAaSA99REg14:not(.tuBt2DLqimiImoqVzPqo)>.components-spinner{height:20px}.zI5tJ_qhWE6Oe6Lk75GY.lZAo6_oGfclXOO9CC6Rd{font-weight:400}.zI5tJ_qhWE6Oe6Lk75GY.xJDOiJxTt0R_wSl8Ipz_{min-width:100%}.zI5tJ_qhWE6Oe6Lk75GY.is-primary:disabled,.zI5tJ_qhWE6Oe6Lk75GY.is-secondary:disabled{background:var(--jp-gray);color:var(--jp-gray-20)}.zI5tJ_qhWE6Oe6Lk75GY.is-secondary{background:var(--jp-white);box-shadow:inset 0 0 0 1.51px var(--jp-black)}.zI5tJ_qhWE6Oe6Lk75GY.is-secondary:active:not(:disabled),.zI5tJ_qhWE6Oe6Lk75GY.is-secondary:hover:not(:disabled){background:var(--jp-gray-0)}.zI5tJ_qhWE6Oe6Lk75GY.is-link.Na39I683LAaSA99REg14,.zI5tJ_qhWE6Oe6Lk75GY.is-link.ipS7tKy9GntCS4R3vekF{padding:0}.zI5tJ_qhWE6Oe6Lk75GY.is-link:hover:not(:disabled){text-decoration-thickness:3px}.zI5tJ_qhWE6Oe6Lk75GY.is-link:focus:not(:disabled){text-decoration-line:none}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-primary{box-shadow:none}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-primary:not(:disabled){background:var(--jp-red-50);box-shadow:inset 0 0 0 1px var(--jp-red-50);color:var(--jp-white)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-primary:hover:not(:disabled){background:var(--jp-red-60);box-shadow:inset 0 0 0 1px var(--jp-red-60)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-primary:focus:not(:disabled){background:var(--jp-red-70);box-shadow:inset 0 0 0 1px var(--jp-white),0 0 0 var(--wp-admin-border-width-focus) var(--jp-red-70);color:var(--jp-white)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-primary:active:not(:disabled){background:var(--jp-red-50)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-secondary{box-shadow:none}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-secondary:not(:disabled){background:var(--jp-white);box-shadow:inset 0 0 0 1.5px var(--jp-red-50);color:var(--jp-red-50)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-secondary:hover:not(:disabled){background:var(--jp-red-0);box-shadow:inset 0 0 0 1.5px var(--jp-red-60);color:var(--jp-red-60)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-secondary:focus:not(:disabled){box-shadow:inset 0 0 0 1px var(--jp-white),0 0 0 var(--wp-admin-border-width-focus) var(--jp-red-70);color:var(--jp-red-70)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-secondary:active:not(:disabled){background:var(--jp-gray-0)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-link:not(:disabled){color:var(--jp-red-50)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-link:hover:not(:disabled){box-shadow:none;color:var(--jp-red-60)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-link:focus:not(:disabled){box-shadow:inset 0 0 0 1px var(--jp-white),0 0 0 var(--wp-admin-border-width-focus) var(--jp-red-70);color:var(--jp-red-70)}.zI5tJ_qhWE6Oe6Lk75GY.q_tVWqMjl39RcY6WtQA6{position:relative}.zI5tJ_qhWE6Oe6Lk75GY.q_tVWqMjl39RcY6WtQA6.has-icon{justify-content:center}.zI5tJ_qhWE6Oe6Lk75GY.q_tVWqMjl39RcY6WtQA6>:not(.components-spinner){visibility:hidden}.zI5tJ_qhWE6Oe6Lk75GY.q_tVWqMjl39RcY6WtQA6>.components-spinner{margin:0;position:absolute}.CDuBjJp_8jxzx5j6Nept{margin-left:calc(var(--spacing-base)/2)}.O5Go3eBOBqWlXy7fX0su{align-items:start;display:flex;flex-direction:column;gap:1.5rem;padding-top:1rem;width:100%}.O5Go3eBOBqWlXy7fX0su>h3{margin-block:0}.fgQ4OdnJ1svMwDnOKu2H{align-items:center;display:flex}.fgQ4OdnJ1svMwDnOKu2H .components-spinner{margin-top:0}.fgQ4OdnJ1svMwDnOKu2H .ArQoWnNoP4okGpEbxF6b.components-external-link,.fgQ4OdnJ1svMwDnOKu2H span.ArQoWnNoP4okGpEbxF6b{color:inherit;font-size:1rem;font-weight:400;text-decoration:none}.fgQ4OdnJ1svMwDnOKu2H .ArQoWnNoP4okGpEbxF6b.components-external-link>svg,.fgQ4OdnJ1svMwDnOKu2H span.ArQoWnNoP4okGpEbxF6b>svg{vertical-align:bottom}.fgQ4OdnJ1svMwDnOKu2H .ArQoWnNoP4okGpEbxF6b.components-external-link span,.fgQ4OdnJ1svMwDnOKu2H span.ArQoWnNoP4okGpEbxF6b span{text-decoration:none}.fgQ4OdnJ1svMwDnOKu2H .ArQoWnNoP4okGpEbxF6b.components-external-link:hover{text-decoration:underline}.fgQ4OdnJ1svMwDnOKu2H span{text-decoration:none}.QsEfjoVyfc0gVACXTvUM span{font-size:15px}.eCH_xkiqbqL0UkJjU_1p{border-top:1px solid var(--jp-gray-5);display:flex;gap:.5rem;margin-bottom:1rem;padding-top:1rem}.J2Rz6Qb6mWPyJDF0yoqw.J2Rz6Qb6mWPyJDF0yoqw{border:0;margin-left:3rem}.J2Rz6Qb6mWPyJDF0yoqw.J2Rz6Qb6mWPyJDF0yoqw .components-panel__body{border-bottom:0;border-top:0;padding:0}.J2Rz6Qb6mWPyJDF0yoqw.J2Rz6Qb6mWPyJDF0yoqw .components-panel__body.is-opened{margin-top:1rem}.fXYYdRkn3LXtN9YH3354{border-radius:4px;margin:0;outline:1px solid var(--jp-gray-5);width:100%}.fXYYdRkn3LXtN9YH3354 [inert=true]{opacity:.7}.fXYYdRkn3LXtN9YH3354 .LaK9P7Nfi4ZBH0NhtbSs{margin-bottom:0;padding:1rem}.fXYYdRkn3LXtN9YH3354 .LaK9P7Nfi4ZBH0NhtbSs:not(:last-child){border-bottom:1px solid var(--jp-gray-5)}.fXYYdRkn3LXtN9YH3354 .tI3FtttoJPuF9AJzCAMv{align-items:center;display:flex;gap:1rem}.fXYYdRkn3LXtN9YH3354 .msoMjBB_4Uq5qpRgobsH{font-size:1rem;font-weight:400}.fXYYdRkn3LXtN9YH3354 .RjMLptH6v03AX5ABWBp3.components-button{font-size:14px;font-weight:500;line-height:20px;padding-inline:6px}.fXYYdRkn3LXtN9YH3354 .RjMLptH6v03AX5ABWBp3.components-button span{display:flex}.z5Do97zRnujyW3Oj0pPJ{display:flex;flex:1;flex-direction:column;gap:.5rem}.gridicon{fill:currentColor;display:inline-block}.gridicon.needs-offset g{transform:translate(1px,1px)}.gridicon.needs-offset-x g{transform:translate(1px)}.gridicon.needs-offset-y g{transform:translateY(1px)}.components-popover:not(.is-without-arrow):before{border-color:#dcdcde}.icon-tooltip-helper .components-popover:not([data-y-axis=middle])[data-x-axis=left] .components-popover__content{margin-right:-62px}.icon-tooltip-helper .components-popover:not([data-y-axis=middle])[data-x-axis=right] .components-popover__content{margin-left:-62px}.icon-tooltip-helper .components-popover[data-y-axis=bottom] .components-popover__content{top:2px!important}.icon-tooltip-helper .components-popover:not(.is-without-arrow)[data-y-axis=bottom]:before{top:-6px!important}.icon-tooltip-helper .components-popover:not(.is-without-arrow)[data-y-axis=bottom]:after{top:-4px!important}.icon-tooltip-helper .components-popover[data-y-axis=top] .components-popover__content{bottom:10px!important}.icon-tooltip-helper .components-popover:not(.is-without-arrow)[data-y-axis=top]:before{bottom:3px}.icon-tooltip-helper .components-popover:not(.is-without-arrow)[data-y-axis=top]:after{bottom:4px}.icon-tooltip-helper.is-wide .components-popover__content{width:440px}.icon-tooltip-wrapper{color:#000;display:inline-block;position:relative}.icon-tooltip-wrapper .components-button.is-link:focus:not(:disabled){box-shadow:none}.icon-tooltip-helper{height:18px;left:-53px;pointer-events:none;position:absolute;top:0;width:124px}.icon-tooltip-container{pointer-events:all}.icon-tooltip-container .components-popover__content{border:1px solid #dcdcde;border-radius:4px;margin:0 10px;max-width:90vw;outline:none;padding:24px;white-space:normal;width:304px}.icon-tooltip-title{font-size:16px;font-weight:600;line-height:19px}.icon-tooltip-title:not(:last-child){margin-bottom:8px}.icon-tooltip-content{font-size:14px;font-weight:400;line-height:24px}.icon-tooltip-content ul{list-style-type:disc;margin:0 0 0 1rem}.icon-tooltip-content ul li:last-child{margin-bottom:0}.WQVtrU6q0L1Igcj7wCrQ{margin:0;padding:0}.UujoBFTnQNY2cWU2SIsH{font-size:var(--font-headline-medium);font-weight:700;line-height:52px}.TeGO5V_thHw5lDAm1_2M{font-weight:700}.TeGO5V_thHw5lDAm1_2M,.WolQzb2MsSgiNmLtc7_j{font-size:var(--font-headline-small);line-height:40px}.WolQzb2MsSgiNmLtc7_j{font-weight:400}.hUB0JT8p1T2Hw28N6qC8{font-weight:500}.gKZWDv5chz3_O3Syp74H,.hUB0JT8p1T2Hw28N6qC8{font-size:var(--font-title-medium);line-height:32px}.gKZWDv5chz3_O3Syp74H{font-weight:600}.zY2No8Ga4b8shbOQGhnv{font-size:var(--font-title-small);font-weight:500;line-height:30px}.tIj0D1t8Cc892ikmgFPZ{font-size:var(--font-body);font-weight:400;line-height:24px}.KdcN0BnOaVeVhyLRKqhS{font-size:var(--font-body-small);font-weight:400;line-height:24px}.dso3Rh3tl3Xv1GumBktz{font-weight:400}.dso3Rh3tl3Xv1GumBktz,.mQ1UlbN9u4Mg9byO8m7v{font-size:var(--font-body-extra-small);line-height:20px}.mQ1UlbN9u4Mg9byO8m7v{font-weight:700}.PItlW5vRExLnTj4a8eLE{font-size:var(--font-body-extra-small);font-weight:600;line-height:16px}.TwRpPlktzxhmFVeua7P5{margin:calc(var( --spacing-base )*0)}.zVfqx7gyb3o9mxfGynn1{margin-left:calc(var( --spacing-base )*0);margin-right:calc(var( --spacing-base )*0)}.iSHVzNiB9iVleGljaQxy{margin-bottom:calc(var( --spacing-base )*0)}.iSHVzNiB9iVleGljaQxy,.xqDIp6cNVr_E6RXaiPyD{margin-top:calc(var( --spacing-base )*0)}.S8EwaXk1kyPizt6x4WH2{margin-right:calc(var( --spacing-base )*0)}.ODX5Vr1TARoLFkDDFooD{margin-bottom:calc(var( --spacing-base )*0)}.cphJ8dCpfimnky7P2FHg{margin-left:calc(var( --spacing-base )*0)}.PFgIhNxIyiSuNvQjAIYj{margin:calc(var( --spacing-base )*1)}.M2jKmUzDxvJjjVEPU3zn{margin-left:calc(var( --spacing-base )*1);margin-right:calc(var( --spacing-base )*1)}.io15gAh8tMTNbSEfwJKk{margin-bottom:calc(var( --spacing-base )*1)}.io15gAh8tMTNbSEfwJKk,.rcTN5uw9xIEeMEGL3Xi_{margin-top:calc(var( --spacing-base )*1)}.CQSkybjq2TcRM1Xo9COV{margin-right:calc(var( --spacing-base )*1)}.hfqOWgq6_MEGdFE82eOY{margin-bottom:calc(var( --spacing-base )*1)}.I8MxZQYTbuu595yfesWA{margin-left:calc(var( --spacing-base )*1)}.kQkc6rmdpvLKPkyoJtVQ{margin:calc(var( --spacing-base )*2)}.j6vFPxWuu4Jan2ldoxpp{margin-left:calc(var( --spacing-base )*2);margin-right:calc(var( --spacing-base )*2)}.hqr39dC4H_AbactPAkCG{margin-bottom:calc(var( --spacing-base )*2)}.c3dQnMi16C6J6Ecy4283,.hqr39dC4H_AbactPAkCG{margin-top:calc(var( --spacing-base )*2)}.YNZmHOuRo6hU7zzKfPdP{margin-right:calc(var( --spacing-base )*2)}.Db8lbak1_wunpPk8NwKU{margin-bottom:calc(var( --spacing-base )*2)}.ftsYE5J9hLzquQ0tA5dY{margin-left:calc(var( --spacing-base )*2)}.Det4MHzLUW7EeDnafPzq{margin:calc(var( --spacing-base )*3)}.h_8EEAztC29Vve1datb5{margin-left:calc(var( --spacing-base )*3);margin-right:calc(var( --spacing-base )*3)}.YXIXJ0h1k47u6hzK8KcM{margin-bottom:calc(var( --spacing-base )*3)}.YXIXJ0h1k47u6hzK8KcM,.soADBBkcIKCBXzCTuV9_{margin-top:calc(var( --spacing-base )*3)}.zSX59ziEaEWGjnpZa4uV{margin-right:calc(var( --spacing-base )*3)}.yrVTnq_WBMbejg89c2ZQ{margin-bottom:calc(var( --spacing-base )*3)}.UKtHPJnI2cXBWtPDm5hM{margin-left:calc(var( --spacing-base )*3)}.guexok_Tqd5Tf52hRlbT{margin:calc(var( --spacing-base )*4)}.oS1E2KfTBZkJ3F0tN7T6{margin-left:calc(var( --spacing-base )*4);margin-right:calc(var( --spacing-base )*4)}.DN1OhhXi6AoBgEdDSbGd{margin-bottom:calc(var( --spacing-base )*4)}.DN1OhhXi6AoBgEdDSbGd,.ot2kkMcYHv53hLZ4LSn0{margin-top:calc(var( --spacing-base )*4)}.A1krOZZhlQ6Sp8Cy4bly{margin-right:calc(var( --spacing-base )*4)}.pkDbXXXL32237M0hokEh{margin-bottom:calc(var( --spacing-base )*4)}.XXv4kDTGvEnQeuGKOPU3{margin-left:calc(var( --spacing-base )*4)}.yGqHk1a57gaISwkXwXe6{margin:calc(var( --spacing-base )*5)}.X8cghM358X3DkXLc9aNK{margin-left:calc(var( --spacing-base )*5);margin-right:calc(var( --spacing-base )*5)}.GdfSmGwHlFnN2S6xBn1f{margin-bottom:calc(var( --spacing-base )*5)}.GdfSmGwHlFnN2S6xBn1f,.yqeuzwyGQ7zG0avrGqi_{margin-top:calc(var( --spacing-base )*5)}.g9emeCkuHvYhveiJbfXO{margin-right:calc(var( --spacing-base )*5)}.Lvk3dqcyHbZ07QCRlrUQ{margin-bottom:calc(var( --spacing-base )*5)}.r3yQECDQ9qX0XZzXlVAg{margin-left:calc(var( --spacing-base )*5)}.aQhlPwht2Cz1X_63Miw0{margin:calc(var( --spacing-base )*6)}.JyHb0vK3wJgpblL9s5j8{margin-left:calc(var( --spacing-base )*6);margin-right:calc(var( --spacing-base )*6)}.cY2gULL1lAv6WPNIRuf3{margin-bottom:calc(var( --spacing-base )*6)}.NBWQ9Lwhh_fnry3lg_p7,.cY2gULL1lAv6WPNIRuf3{margin-top:calc(var( --spacing-base )*6)}.yIOniNe5E40C8fWvBm5V{margin-right:calc(var( --spacing-base )*6)}.t30usboNSyqfQWIwHvT3{margin-bottom:calc(var( --spacing-base )*6)}.Nm_TyFkYCMhOoghoToKJ{margin-left:calc(var( --spacing-base )*6)}.C4qJKoBXpgKtpmrqtEKB{margin:calc(var( --spacing-base )*7)}.S93Srbu6NQ_PBr7DmTiD{margin-left:calc(var( --spacing-base )*7);margin-right:calc(var( --spacing-base )*7)}.fJj8k6gGJDks3crUZxOS{margin-bottom:calc(var( --spacing-base )*7)}.cW6D6djs7Ppm7fD7TeoV,.fJj8k6gGJDks3crUZxOS{margin-top:calc(var( --spacing-base )*7)}.DuCnqNfcxcP3Z__Yo5Ro{margin-right:calc(var( --spacing-base )*7)}.im8407m2fw5vOg7O2zsw{margin-bottom:calc(var( --spacing-base )*7)}.G0fbeBgvz2sh3uTP9gNl{margin-left:calc(var( --spacing-base )*7)}.kvW3sBCxRxUqz1jrVMJl{margin:calc(var( --spacing-base )*8)}.tOjEqjLONQdkiYx_XRnw{margin-left:calc(var( --spacing-base )*8);margin-right:calc(var( --spacing-base )*8)}.op5hFSx318zgxsoZZNLN{margin-bottom:calc(var( --spacing-base )*8)}.c9WfNHP6TFKWIfLxv52J,.op5hFSx318zgxsoZZNLN{margin-top:calc(var( --spacing-base )*8)}.sBA75QqcqRwwYSHJh2wc{margin-right:calc(var( --spacing-base )*8)}.GpL6idrXmSOM6jB8Ohsf{margin-bottom:calc(var( --spacing-base )*8)}.HbtWJoQwpgGycz8dGzeT{margin-left:calc(var( --spacing-base )*8)}.uxX3khU88VQ_Ah49Ejsa{padding:calc(var( --spacing-base )*0)}.KX0FhpBKwKzs9fOUdbNz{padding-left:calc(var( --spacing-base )*0);padding-right:calc(var( --spacing-base )*0)}.PfK8vKDyN32dnimlzYjz{padding-bottom:calc(var( --spacing-base )*0)}.PfK8vKDyN32dnimlzYjz,.emxLHRjQuJsImnPbQIzE{padding-top:calc(var( --spacing-base )*0)}.kJ8WzlpTVgdViXt8ukP9{padding-right:calc(var( --spacing-base )*0)}.tg_UIUI11VBzrTAn2AzJ{padding-bottom:calc(var( --spacing-base )*0)}.uczvl8kaz84oPQJ2DB2R{padding-left:calc(var( --spacing-base )*0)}.o7UHPcdVK3lt7q3lqV4o{padding:calc(var( --spacing-base )*1)}.IDqEOxvDoYrFYxELPmtX{padding-left:calc(var( --spacing-base )*1);padding-right:calc(var( --spacing-base )*1)}.DdywPW2qSYlu2pt8tpO2{padding-bottom:calc(var( --spacing-base )*1)}.DdywPW2qSYlu2pt8tpO2,.npy3hw4A5QSkDicb2CJJ{padding-top:calc(var( --spacing-base )*1)}.LgbptTApNY5NwLQvEFAt{padding-right:calc(var( --spacing-base )*1)}.WZQy2SZuZso59bUsXXyl{padding-bottom:calc(var( --spacing-base )*1)}.o331apInxNunbYB3SfPE{padding-left:calc(var( --spacing-base )*1)}.fMPIyD9Vqki1Lrc_yJnG{padding:calc(var( --spacing-base )*2)}.i2pMcTcdrr10IQoiSm_L{padding-left:calc(var( --spacing-base )*2);padding-right:calc(var( --spacing-base )*2)}.eA702gn32kwptiI1obXH{padding-bottom:calc(var( --spacing-base )*2)}.eA702gn32kwptiI1obXH,.o9bGieUKcYc8o0Ij9oZX{padding-top:calc(var( --spacing-base )*2)}.SwZcFez1RDqWsOFjB5iG{padding-right:calc(var( --spacing-base )*2)}.eHpLc_idmuEqeqCTvqkN{padding-bottom:calc(var( --spacing-base )*2)}.vU39i2B4P1fUTMB2l6Vo{padding-left:calc(var( --spacing-base )*2)}.JHWNzBnE29awhdu5BEh1{padding:calc(var( --spacing-base )*3)}.X72lGbb56L3KFzC2xQ9N{padding-left:calc(var( --spacing-base )*3);padding-right:calc(var( --spacing-base )*3)}.BzfNhRG8wXdCEB5ocQ6e{padding-bottom:calc(var( --spacing-base )*3)}.BzfNhRG8wXdCEB5ocQ6e,.srV0KSDC83a2fiimSMMQ{padding-top:calc(var( --spacing-base )*3)}.lUWfkmbQjCskhcNwkyCm{padding-right:calc(var( --spacing-base )*3)}.Ts0dIlc3aTSL7V4cIHis{padding-bottom:calc(var( --spacing-base )*3)}.CzlqQXXhX6MvorArFZ8B{padding-left:calc(var( --spacing-base )*3)}.TqMPkQtR_DdZuKb5vBoV{padding:calc(var( --spacing-base )*4)}.a7UrjhI69Vetlcj9ZVzz{padding-left:calc(var( --spacing-base )*4);padding-right:calc(var( --spacing-base )*4)}.StEhBzGs2Gi5dDEkjhAv{padding-bottom:calc(var( --spacing-base )*4)}.FGneZfZyvYrt1dG0zcnm,.StEhBzGs2Gi5dDEkjhAv{padding-top:calc(var( --spacing-base )*4)}.APEH216rpdlJWgD2fHc8{padding-right:calc(var( --spacing-base )*4)}.oGwXC3ohCic9XnAj6x69{padding-bottom:calc(var( --spacing-base )*4)}.U6gnT9y42ViPNOcNzBwb{padding-left:calc(var( --spacing-base )*4)}.IpdRLBwnHqbqFrixgbYC{padding:calc(var( --spacing-base )*5)}.HgNeXvkBa9o3bQ5fvFZm{padding-left:calc(var( --spacing-base )*5);padding-right:calc(var( --spacing-base )*5)}.tJtFZM3XfPG9v9TSDfN1{padding-bottom:calc(var( --spacing-base )*5)}.PdifHW45QeXYfK568uD8,.tJtFZM3XfPG9v9TSDfN1{padding-top:calc(var( --spacing-base )*5)}.mbLkWTTZ0Za_BBbFZ5b2{padding-right:calc(var( --spacing-base )*5)}.vVWpZpLlWrkTt0hMk8XU{padding-bottom:calc(var( --spacing-base )*5)}.RxfaJj5a1Nt6IavEo5Zl{padding-left:calc(var( --spacing-base )*5)}.SppJULDGdnOGcjZNCYBy{padding:calc(var( --spacing-base )*6)}.palY2nLwdoyooPUm9Hhk{padding-left:calc(var( --spacing-base )*6);padding-right:calc(var( --spacing-base )*6)}.WYw1JvZC0ppLdvSAPhr_{padding-bottom:calc(var( --spacing-base )*6)}.WYw1JvZC0ppLdvSAPhr_,.YEEJ9b90ueQaPfiU8aeN{padding-top:calc(var( --spacing-base )*6)}.QE0ssnsKvWJMqlhPbY5u{padding-right:calc(var( --spacing-base )*6)}.n8yA3jHlMRyLd5UIfoND{padding-bottom:calc(var( --spacing-base )*6)}.tXHmxYnHzbwtfxEaG51n{padding-left:calc(var( --spacing-base )*6)}.kBTsPKkO_3g_tLkj77Um{padding:calc(var( --spacing-base )*7)}.RyhrFx6Y1FGDrGAAyaxm{padding-left:calc(var( --spacing-base )*7);padding-right:calc(var( --spacing-base )*7)}.CBwRpB0bDN3iEdQPPMJO{padding-bottom:calc(var( --spacing-base )*7)}.CBwRpB0bDN3iEdQPPMJO,.vQVSq6SvWKbOMu6r4H6b{padding-top:calc(var( --spacing-base )*7)}.oBy5__aEADMsH46mrgFX{padding-right:calc(var( --spacing-base )*7)}.KVEXoJqf1s92j0JMdNmN{padding-bottom:calc(var( --spacing-base )*7)}.ZMXGNrNaKW3k_3TLz0Fq{padding-left:calc(var( --spacing-base )*7)}.tuiR9PhkHXhGyEgzRZRI{padding:calc(var( --spacing-base )*8)}.U7454qyWkQNa2iaSJziu{padding-left:calc(var( --spacing-base )*8);padding-right:calc(var( --spacing-base )*8)}.VLYIv2GVocjuN93e8HC8{padding-bottom:calc(var( --spacing-base )*8)}.VLYIv2GVocjuN93e8HC8,.X1rm9DQ1zLGLfogja5Gn{padding-top:calc(var( --spacing-base )*8)}.JS7G6kAuqJo5GIuF8S5t{padding-right:calc(var( --spacing-base )*8)}.Y8F9ga1TDCMbM1lj4gUz{padding-bottom:calc(var( --spacing-base )*8)}.AJuyNGrI63BOWql719H8{padding-left:calc(var( --spacing-base )*8)}.demNsMJjhi7BLY7xhjU5{align-items:center;display:flex;font-size:var(--font-body);line-height:calc(var(--spacing-base)*3);margin:calc(var(--spacing-base)*2) 0;min-height:calc(var(--spacing-base)*3)}.QiUjdjJSkqh6nH7YMG5A{align-self:flex-start;height:calc(var(--spacing-base)*3);margin-right:calc(var(--spacing-base)/2);width:calc(var(--spacing-base)*3)}.Q080AHcq29J2fc68Hhk5{color:var(--jp-red)}.Q080AHcq29J2fc68Hhk5 .hYWbIwhppukXmGnsiT9H{fill:var(--jp-red)}.JjHuxWly0HI9C60gorbq{color:var(--jp-yellow-40)}.JjHuxWly0HI9C60gorbq .hYWbIwhppukXmGnsiT9H{fill:var(--jp-yellow-40)}.Cm8ZFHi3mngl4cj9Gatx{color:var(--jp-blue-40)}.Cm8ZFHi3mngl4cj9Gatx .hYWbIwhppukXmGnsiT9H{fill:var(--jp-blue-40)}.ytGBsU015p3LGwOPwFDx{color:var(--jp-green)}.ytGBsU015p3LGwOPwFDx .hYWbIwhppukXmGnsiT9H{fill:var(--jp-green)}.udAWaza1u34TkmZZUPq4 .JsO4jFxFAKjG6Go62bZF{font-size:1rem}.udAWaza1u34TkmZZUPq4 .SeoSfJ6eII9O0PiDkl5g{display:flex;flex-direction:column;gap:2rem;margin-top:2rem}.udAWaza1u34TkmZZUPq4 .SeoSfJ6eII9O0PiDkl5g .M6POQFFbhswwolN6D9VN{display:flex;flex-direction:column;gap:1rem}.udAWaza1u34TkmZZUPq4 .SeoSfJ6eII9O0PiDkl5g .Sk_WQxS97yTokR_rM3Ci{flex-shrink:0}.udAWaza1u34TkmZZUPq4 .SeoSfJ6eII9O0PiDkl5g .CRjatFVv3dQMjG9_Vmjj{align-items:center;display:flex;gap:.5rem}.udAWaza1u34TkmZZUPq4 .re3HrL6GJa59uqDgx771{align-items:center;display:flex;gap:1rem;justify-content:end;margin-top:3rem}.udAWaza1u34TkmZZUPq4 .jPB4ApiYyEswu6AKKJqk{height:2rem;width:2rem}.udAWaza1u34TkmZZUPq4 .JhIphWt8e2X_ee0l7KEZ{align-items:center;display:flex;font-size:1rem;gap:.5rem}.Mu_jAq5ZcYDM1kmBbxcs.Mu_jAq5ZcYDM1kmBbxcs{width:65rem}.foAsC5GlXOWEzACnxT_P{display:grid;gap:.5rem}.foAsC5GlXOWEzACnxT_P>input{height:100%;width:18rem}.foAsC5GlXOWEzACnxT_P:not(._7PKKGx44v2H9dJbUltFw){grid-auto-flow:column}.IGOk1gMf5SKkfOKyF7Xc{padding-block:2rem}.ptn8jt555LOvMXWaoLxs{font-size:13px;line-height:24px;margin:5px 0 12px;position:relative}.IVzciZv5S5E8XgR5EsLp{color:#757575}.OpbDsm3F65Z4K5Bz43cz,.dlrSwB0tyuf1TYcypDec,.hkpqil8E11PObwu7TVU2{padding:8px 16px}.OpbDsm3F65Z4K5Bz43cz a,.dlrSwB0tyuf1TYcypDec a,.hkpqil8E11PObwu7TVU2 a{color:inherit}.dlrSwB0tyuf1TYcypDec{background-color:#fef8ee;border-left:2px solid #f0b849}.hkpqil8E11PObwu7TVU2{background-color:#f4a2a2;border-left:2px solid #cc1818}.OpbDsm3F65Z4K5Bz43cz{border:1px solid #007cba;border-left-width:4px;padding:12px 16px}.AeqtA3GRe7sFjKaC9SqL{padding-right:25px}.IArBTmNL2K4du5WPBUhg{all:unset;cursor:pointer;position:absolute;right:16px;top:12px}.IArBTmNL2K4du5WPBUhg:focus:not(:disabled){box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) #007cba}.T7E2eJJN4qjwPpv3mcjV{margin-top:12px}.facebook-preview__post-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJIAAAAkCAYAAABi6GPmAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAfySURBVHgB7Vx/iFVFFP6SCAmTCAuRisVqkTCTMouIEJEQBAkREcEIEYnWQqIsIor+EBGJRSQwlhAMWUxMQlqRRfxDthCRsBBdRDaR2kosWgmxddfm887Vc+fNzJ15b+6+92A/OLC8mTlz79zvnl8zd4HG0alkr5ILSv5WMqBkg5K7MYmJxMNKepUMa+nVv4WO7VLSp2RQyVUtg/q3rghddWGlkn+V3LTIQKLJn1TSreQMspu7mUiuap3deo4qsVbJRSX7ldyP9OA6X0HtPV6B/xnMUtKj5AbK1+uG7jsLiTEF9ouXcl7JNNQHWrSdSsaQjjwuGdNzVWVFL4u5Til5AGnRC/e99TrGLFcyovv8p+RrJWuQeZhpWjr1b38pGdd9R/TYZHgIRebPVTJDyWYl10Xbl4gHH2g/qieQKf2ohkzmPD8iLZmG4b6nYUv/t3DnBf1GyWMl+gcMnSTV20iEmULxJaPtVdE2ivhF24nihR9H9hakNKuztM7jxlw7kR62B3wa2YuXAjFE4j2PaXmvXDVes+gc15LEMs0Qii9b2o+J9g0IB+MV6c62InOjVWGKnkO6udQxk+lG879/RmbZG0Woa+PLk7uz90t03qXkK/gt+AgSvNzThMKrlvZNon0HwtGNoiWqkkQ5pqBombqRFnLxGXNIMjHgb5RMocF2j/79XIDOJxAWDvSgQdyLovsyId3bAYTjjBiXNKgrwXIUH25KyIUnVqNIprPIQoVGUJb+829mXnRJXQH67lHyC/wkGtc6G8rO1wuFg5b2ZaL9MMIhU/zkqaYHs+C3sI3AJBLB0skoimtY5f12ibmesbSvQlai+ELJ88gC8KMIs0obUSfoCgaFoncsfdaJ9j0Ih23RJwpVze3SuwJFMrFcUlXhr0/Ms9bSThc1jjDimNKHOiHdFqvZtlrRNsekXDgG5yeUbEdWq5BodyLNUfImsuIjXZZZsDXBtZRk4g7BoyVzMAtmgpAXaf9Btp6MS10x5TkUPYSrzPE4yl2aKYOoEyeEkq2OPociLmSbGNeOROLDo2s4Bf99jjrGMwyQtbchJR2OvvNRLHCachBZfGNixNKvwzHHEWTkJPlYW/sN/vuqKxR4WSi4BnfG8QPiWL1Fj2s3Ii1CZkXK7o9E2erRY5KJ8UqHpV/+gvJBjzrmsrmuEUdfehQahqfgxn1KfkIJkWhG+42bsC1Cv+57WPy+C/WB5OPCnUTxbZ2J9iESrVA3ateKroxuje5tnpLpCMcryF7OXBcLvbONPlyj+fpvuiEbmfotus/BT/T98IPu9BNkBDbH3nJtMVsR0sqM6RtpBHwY0k0uR3sQia7jgNGfNZuP0PjWxxIUyfQr/Otsqx/Zyhd98D/b0JLH06gl761g+zrCiRTD4FDIoHwz2oNIB42+3yJNhTrHYhSDdJKp09JvHuzPZsjStwv+53kR4bhkjL1VlwpZPNvEC5AGu4XO9Wh9In1o9NuGarAIRTIdt/RxeZMBS19ZkLSN4e+zUY5HjDG3C5KxRGJgtQZpwLdYmuZ1aG0ivYBiRXo7qgP3Ms+KuS4Y7WYYIOUzh84e+K3S90oehB8bjTG3t0hiidSJdOA2y16h23zDJhplc8sY8Riq2wdkQC23ikje1UYfWRA25UWHXrlp65I/kRWQmflNteiQMW1h0zaWSKkxW+j+o+K5yuCbe6VoYzBcVQWaes+jSCIznZclGFPOlujPj5GEVLEPGWOfxR2XVnOMpNlEksdRzNRyouGbW54OqCou6kAWKOfzMDtaZem3A+6HvwzlkAfbyuQ5PYZ7b7/jDpFqDrY1m0gyLqLraMVN207RxizXl+IvVPKxkn3IzhsNa320Yls845jiXzLmcZ1+cBV7+xEOedTWZ51YN+Qx3Dzldx61bRaRuNfDN1uWH1iHacVjJFtEm63swQP9nyJL031v93XYwf05ecqRpFsKN4Yc+uchDkkP/zeLSISsDHNxpqI1D7bJANN0HdwotVV7XWKCD1/unTHlXww/zlj0Xkb9SPI5UjOJtAK1b3qrHbWdLq6H5j0/6cDSxRHUPlAmDHxzGSAvQPEjCXP9eC5Ilj/48F5COWz1I15bXgHnFkqjB+Wi0UwiyaBR7tu10uH/paLtpP7NzKwozJYYGNtIb1s/1qSkJePm6UKEYS3s1m5U6DyECUYziMRg9V0U46Mlor3scySOcwWujFf4CdQ1hLubXGyfI8mz5yRZB4oxypi+Fp/VNNeP6btMKmiV5iMc3Oszt2lMNxejLwmaQaR9hs4Tlj5lH0jaAlfGL75Pc1zi+0Dyc9HPTAauISzdlnPxhZFbH3SFcxEPEpck59rRCuVfDtNNp/4AMwjNINLrQh9L/74b932ynYNWaA/iyBP6ybaMg2TBlCRagjCYL0D+t2szti0RSyTWRpaiMewS+mI//TGv12aFhhFmKUJwGnYirorQYRvP3faQTdK2QSyRcmGWxQxjKsJAU8yDcR+geJ6lLNX1XYvNCvG3lP+oYcgyR2xl2xwfci677VAvkVLIUTR2vVVZIQnzfDRjkthyhEzxq/7sqGmIJRIzohT/IYRl/nq+fbfpSm2FJGRcxvhmDuLxBrL0nllhygNwLYWYE5J5psQAkXEO44fRwLHsx7iAi8k6SL3/9UOm9VVZIYnvxHybMAknYs5sx2wKVgXuafHt3o3qrJAEK9ncLa+asG2P2K9IJjGJGvwP+tnxKdafpLoAAAAASUVORK5CYII=);background-repeat:no-repeat;background-size:73px 18px;display:inline-block;filter:invert(40%)}.facebook-preview__post-icon-like{background-position:0 0;height:18px;width:18px}.facebook-preview__post-icon-comment{background-position:-18px 0;height:18px;width:18px}.facebook-preview__post-icon-share{background-position:-36px 0;height:18px;width:18px}.facebook-preview__post-icon-info{background-position:-54px 0;height:14px;width:7px}.facebook-preview__post-icon-public{background-position:-61px 0;height:12px;width:12px}.facebook-preview__post-actions{align-items:center;color:#65676b;display:flex;font-size:.9375rem;font-weight:600;height:2.625rem;justify-content:space-around;line-height:1.33;list-style-type:none;margin:0;padding:0;width:100%}.facebook-preview__post-actions>li{align-items:center;display:flex;gap:.5rem;margin:0}.facebook-preview__post-header{align-items:center;box-sizing:border-box;display:flex;justify-content:space-between;min-height:60px;padding:.75rem 1rem .5rem;width:100%}.facebook-preview__post-header-content{display:flex;gap:.5rem}.facebook-preview__post-header-avatar{background-color:#caccd1;border:1px solid #e5e5e5;border-radius:50%;height:40px;width:40px}.facebook-preview__post-header-name{color:#050505;font-size:.9375rem;font-weight:600;line-height:1.33}.facebook-preview__post-header-share{align-items:center;color:#65676b;display:flex}.facebook-preview__post-header-time{font-size:.8125rem;line-height:1.23}.facebook-preview__post-header-dot{text-align:center;width:.625rem}.facebook-preview__post-header-more{background-image:radial-gradient(circle at .125rem .125rem,#65676b 2px,#0000 0);background-size:.5rem .25rem;height:.25rem;margin:0 .625rem 0 0;width:1.25rem}.facebook-preview__post{background-color:#fff;border-radius:4px;box-shadow:0 1px 2px #0003,0 -1px 0 #0000000d;display:flex;flex-direction:column;font-family:system-ui,-apple-system,BlinkMacSystemFont,\.SFNSText-Regular,sans-serif;margin-inline:auto;max-width:clamp(508px,100%,680px);overflow-y:hidden}.facebook-preview__post :-moz-any-link{color:#216fdb;text-decoration:none}.facebook-preview__post :any-link{color:#216fdb;text-decoration:none}.facebook-preview__custom-text{color:#050505;font-size:.9375rem;line-height:1.33;margin:0;padding:0 1rem 1rem;word-break:break-word}.facebook-preview__custom-text-post-url{display:block;margin-top:.5rem}.facebook-preview__body{border-bottom:1px solid #d4d0d4;border-top:1px solid #d4d0d4;display:flex;flex-direction:column}.facebook-preview__body.is-loading{visibility:hidden}.facebook-preview__body.is-portrait{flex-direction:row}.facebook-preview__text{align-items:center;background-color:#f0f2f5;color:#050505;display:flex;flex:1;padding:.5rem 1rem;position:relative;word-break:break-word}.facebook-preview__text-wrapper{width:100%}.facebook-preview__url{color:#65676b;font-size:.8125rem;line-height:1;margin-bottom:.25rem;text-transform:uppercase}.facebook-preview__title{font-size:.9444rem;font-weight:600;line-height:1.18;margin:.25rem 0 .125rem}.facebook-preview__description{color:#65676b;font-size:.9375rem;line-height:1.33}.facebook-preview__body.is-landscape .facebook-preview__description.is-compact{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.facebook-preview__custom-image img,.facebook-preview__custom-image video,.facebook-preview__image img,.facebook-preview__image video,.facebook-preview__media-item img,.facebook-preview__media-item video{display:block;-o-object-fit:cover;object-fit:cover;width:100%}.facebook-preview__image.is-empty{border-inline-end:1px solid #d4d0d4;height:140px;width:140px}.facebook-preview__image.is-portrait img{height:430px;width:278px}.facebook-preview__image.is-landscape img{aspect-ratio:1.91;width:100%}.facebook-preview__custom-image,.facebook-preview__media-item{background-color:#121212;display:flex;justify-content:center;width:100%}.facebook-preview__custom-image.is-portrait img,.facebook-preview__media-item.is-portrait img{height:685px;width:500px}.facebook-preview__custom-image.is-landscape img,.facebook-preview__media-item.is-landscape img{aspect-ratio:1.78;width:100%}.facebook-preview__info{align-items:center;background-color:#fff;border:1px solid #d4d0d4;border-radius:50%;display:flex;height:30px;justify-content:center;position:absolute;right:15px;top:-10px;width:30px}.facebook-preview__info i{filter:invert(8%)}.facebook-preview__window{border:1px solid #d4d0d4;border-radius:16px;margin:0 .75rem}.facebook-preview__window .facebook-preview__custom-image,.facebook-preview__window .facebook-preview__custom-image img,.facebook-preview__window .facebook-preview__image,.facebook-preview__window .facebook-preview__image img{border-top-left-radius:inherit;border-top-right-radius:inherit}.instagram-preview__wrapper{background-color:#fff;margin-inline:auto;max-width:clamp(200px,100%,555px);padding:20px}.instagram-preview__section .instagram-preview__wrapper{padding:0}.instagram-preview__section.social-preview__section{width:clamp(200px,100%,555px)}.instagram-preview__container{box-shadow:0 0 0 1px #00000014;overflow:hidden}.instagram-preview__header{display:flex;gap:.5rem;padding:.5rem 1rem}.instagram-preview__header--avatar{align-items:center;display:flex;max-height:32px;max-width:32px}.instagram-preview__header--avatar img{border-radius:50%;height:100%;width:100%}.instagram-preview__header--profile{align-items:center;display:flex;flex-grow:1;justify-content:space-between}.instagram-preview__header--profile-name{font-weight:700}.instagram-preview__media{display:flex}.instagram-preview__media--image,.instagram-preview__media--video{-o-object-fit:cover;object-fit:cover;width:100%}.instagram-preview__media-item{flex-grow:1}.instagram-preview__content{display:flex;flex-direction:column;gap:.5rem;padding:.5rem 1rem}.instagram-preview__content a{color:#00376b;text-decoration:none}.instagram-preview__content--actions{display:flex;justify-content:space-between}.instagram-preview__content--actions-primary{align-items:center;display:flex;gap:1rem}.instagram-preview__content--name{display:inline;font-weight:600}.instagram-preview__content--text{display:inline}.instagram-preview__content--footer{color:#737373;font-weight:400}.linkedin-preview__wrapper{background-color:#fff;margin-inline:auto;max-width:clamp(200px,100%,555px);padding:20px}.linkedin-preview__section .linkedin-preview__wrapper{padding:0}.linkedin-preview__section.social-preview__section{width:clamp(200px,100%,555px)}.linkedin-preview__container{border-radius:8px;box-shadow:0 0 0 1px #00000014;overflow:hidden}.linkedin-preview__container.has-media{border-end-end-radius:0;border-end-start-radius:0}.linkedin-preview__header{display:flex;gap:.5rem;margin-bottom:.8rem;padding:.8rem 1rem 0}.linkedin-preview__header--avatar{align-items:center;border-radius:50%;display:flex;flex-shrink:0;height:48px;overflow:hidden;width:48px}.linkedin-preview__header--avatar img{-o-object-fit:contain;object-fit:contain;width:100%}.linkedin-preview__header--profile{display:flex;flex-direction:column;overflow:hidden}.linkedin-preview__header--profile-title{font-size:.75rem}.linkedin-preview__header--profile-info{display:flex;gap:.25rem}.linkedin-preview__header--profile-name{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.linkedin-preview__header--profile-meta{align-items:center;display:flex;gap:.25rem}.linkedin-preview__caption{font-size:.875rem;font-weight:400;line-height:20px;margin:0 1rem}.linkedin-preview__content article,.linkedin-preview__media{background-color:#eef3f8;display:flex;flex-direction:column;margin-top:.5rem}.linkedin-preview__media-item{display:flex}.linkedin-preview__media-item img,.linkedin-preview__media-item video{-o-object-fit:cover;object-fit:cover;width:100%}.linkedin-preview__description{padding:.5rem .75rem}.linkedin-preview__description--title{font-size:.875rem;font-weight:600;margin:0}.linkedin-preview__description--meta{color:#0009;display:flex;font-size:.875rem;font-weight:400;gap:.25rem;margin-top:.5rem}.linkedin-preview__image{-o-object-fit:cover;object-fit:cover;width:100%}.mastodon-preview__post-actions{align-items:center;display:flex;justify-content:space-between;margin-top:1rem}.mastodon-preview__post-actions>div{align-items:center;color:#606984;display:flex}.mastodon-preview__post-actions svg{fill:currentColor}.mastodon-preview__post-icon-text{color:#525a71;font-size:.75rem;font-weight:500}.mastodon-preview__body{color:#000;margin-bottom:1rem}.mastodon-preview__body>p{margin-bottom:1.25rem}.mastodon-preview__card{border:1px solid #d9e1e8;border-radius:8px;color:#000;display:flex;margin-bottom:1rem;margin-top:1rem;overflow:hidden}.mastodon-preview__card.has-image{flex-direction:column}.mastodon-preview__card.has-image .mastodon-preview__card-img{width:100%}.mastodon-preview__card-img{min-height:60px}.mastodon-preview__card-img img{border-end-start-radius:inherit;border-start-start-radius:inherit;display:block;min-height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.mastodon-preview__card-img--fallback{align-items:center;aspect-ratio:1;background:#c0cdd9;display:flex;justify-content:center;position:relative;width:120px}.mastodon-preview__card-text{display:flex;flex-direction:column;gap:.5rem;overflow:hidden;padding:1rem}.mastodon-preview__card-title{color:#282c37;font-size:1.187rem;font-weight:700;line-height:1.4}.mastodon-preview__card-site{display:block;font-size:.875rem}.mastodon-preview__card-description{font-size:.875rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mastodon-preview__post-header{align-items:start;display:flex;font-size:.9375rem;justify-content:space-between;line-height:1.47;margin-bottom:.625rem}.mastodon-preview__post-avatar{border-radius:4px;height:46px;width:46px}.mastodon-preview__post-header-user{align-items:center;display:flex;gap:.75rem}.mastodon-preview__post-header-displayname{color:#000;font-weight:700}.mastodon-preview__post-header-audience{align-items:center;display:flex;gap:.25rem}.mastodon-preview__section{margin-inline:auto;max-width:100%;width:578px}.mastodon-preview__post{background-color:#fff;border:1px solid #c0cdd9;box-sizing:border-box;color:#444b5d;font-family:"mastodon-font-sans-serif",sans-serif;font-size:.9375rem;line-height:1.47;overflow-y:hidden;padding:1rem;width:100%}.mastodon-preview__post :-moz-any-link{color:#3a3bff;text-decoration:none}.mastodon-preview__post :any-link{color:#3a3bff;text-decoration:none}.mastodon-preview__img{aspect-ratio:16/9;border-radius:4px;display:block;margin:.875rem auto 0;-o-object-fit:cover;object-fit:cover;width:100%}.mastodon-preview__media{border-radius:8px;margin-top:8px;min-height:64px}.mastodon-preview__media.as-grid{display:grid;gap:2px;grid-template-columns:50% 50%;overflow:hidden;width:100%}.mastodon-preview__media-item{border:0;border-radius:8px;display:flex;overflow:hidden}.mastodon-preview__media-item img,.mastodon-preview__media-item video{-o-object-fit:cover;object-fit:cover;width:100%}.nextdoor-preview__wrapper{max-width:clamp(200px,100%,600px)}.nextdoor-preview__section .nextdoor-preview__wrapper{padding:0}.nextdoor-preview__section.social-preview__section{width:clamp(200px,100%,600px)}.nextdoor-preview__container{background-color:#fff;border-radius:8px;box-shadow:0 0 8px #0000001a;overflow:hidden}.nextdoor-preview__container.small-preview{border-end-end-radius:0;border-end-start-radius:0}.nextdoor-preview__header{align-items:center;display:flex;gap:.5rem;margin-bottom:8px}.nextdoor-preview__header--avatar{align-items:center;border-radius:50%;display:flex;flex-shrink:0;height:40px;overflow:hidden;width:40px}.nextdoor-preview__header--avatar img{-o-object-fit:contain;object-fit:contain;width:100%}.nextdoor-preview__header--details{display:flex;flex-direction:column}.nextdoor-preview__header--name{font-size:1rem;font-weight:600;letter-spacing:-.32px;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nextdoor-preview__header--meta{align-items:center;color:#666;display:flex;font-size:14px;gap:.25rem;letter-spacing:-.32px;line-height:19px;white-space:pre-wrap}.nextdoor-preview__footer{display:flex;flex-direction:row;justify-content:flex-end;margin-top:24px}.nextdoor-preview__footer--actions{align-items:center;display:flex;gap:1rem}.nextdoor-preview__footer--actions-item{align-items:center;display:flex;font-size:13px;font-weight:600;gap:.25rem;line-height:16px}.nextdoor-preview__content{padding:12px 16px}.nextdoor-preview__card{border-radius:16px;box-shadow:0 1px 4px 0 #00000014,0 0 2px 0 #0003;display:flex;flex-direction:column;margin-top:12px;overflow:hidden}.nextdoor-preview__card.small-preview{align-items:center;flex-direction:row}.nextdoor-preview__card--chevron-wrapper{align-items:center;display:flex;justify-content:center;min-width:40px;width:40px}.nextdoor-preview__caption{font-size:1rem;font-weight:400;line-height:20px;margin-bottom:20px}.nextdoor-preview__media-item{display:flex}.nextdoor-preview__media-item img,.nextdoor-preview__media-item video{-o-object-fit:cover;object-fit:cover;width:100%}.nextdoor-preview__description{display:flex;flex-direction:column;overflow:hidden;padding:16px}.small-preview .nextdoor-preview__description{flex-grow:1;padding:10px}.nextdoor-preview__description--title{font-size:15px;font-weight:600;line-height:20px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nextdoor-preview__description--url{color:#666;font-size:13px}.nextdoor-preview__media{margin-inline:-16px}.nextdoor-preview__image{aspect-ratio:16/9;-o-object-fit:cover;object-fit:cover;width:100%}.small-preview .nextdoor-preview__image{height:62px;width:62px}.nextdoor-preview__default-avatar{align-items:center;background-color:#8c6e63;border-radius:50%;color:#fff;display:flex;font-size:x-large;height:40px;justify-content:center;width:40px}.nextdoor-preview__default-image{align-items:center;background-color:#f1ffca;display:flex;height:62px;justify-content:center;width:62px}.threads-preview{padding:20px}.threads-preview__wrapper{background-color:#fff;border-radius:4px;margin-inline:auto;max-width:clamp(200px,100%,635px);padding-inline-end:1rem;padding-top:1rem}.threads-preview__section.social-preview__section{width:clamp(200px,100%,635px)}.threads-preview__section.social-preview__section .social-preview__section-desc,.threads-preview__section.social-preview__section .social-preview__section-heading{padding-inline-start:17px}.threads-preview__container{color:#000;display:grid;font-size:15px;grid-template-columns:50px auto;line-height:21px;margin-bottom:5px}.threads-preview__container .threads-preview__sidebar{display:grid;grid-template-rows:35px auto;justify-items:center}.threads-preview__container .threads-preview__sidebar .threads-preview__profile-image{align-items:center;border-radius:50%;display:flex;max-height:36px;max-width:36px;overflow:hidden}.threads-preview__container .threads-preview__sidebar .threads-preview__profile-image img{-o-object-fit:cover;object-fit:cover;width:100%}.threads-preview__container .threads-preview__sidebar .threads-preview__connector{background-color:#8c8f94;width:2px}.threads-preview__container .threads-preview__main{overflow:hidden;padding-bottom:1rem}.threads-preview__container .threads-preview__header{display:flex;font-size:16px;gap:6px;line-height:18px;margin-bottom:2px}.threads-preview__container .threads-preview__name{font-size:15px;font-weight:600}.threads-preview__container .threads-preview__date{color:#999}.threads-preview__container .threads-preview__content .threads-preview__text{white-space:pre-wrap;word-break:break-word}.threads-preview__container .threads-preview__content .threads-preview__media{border-radius:15px;display:grid;overflow:hidden;grid-gap:2px;grid-template-areas:"a";height:300px;margin-top:12px}.threads-preview__container .threads-preview__content .threads-preview__media img,.threads-preview__container .threads-preview__content .threads-preview__media video{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.threads-preview__container .threads-preview__content .threads-preview__media img:first-child,.threads-preview__container .threads-preview__content .threads-preview__media video:first-child{grid-area:a}.threads-preview__container .threads-preview__content .threads-preview__media img:nth-child(2),.threads-preview__container .threads-preview__content .threads-preview__media video:nth-child(2){grid-area:b}.threads-preview__container .threads-preview__content .threads-preview__media img:nth-child(3),.threads-preview__container .threads-preview__content .threads-preview__media video:nth-child(3){grid-area:c}.threads-preview__container .threads-preview__content .threads-preview__media img:nth-child(4),.threads-preview__container .threads-preview__content .threads-preview__media video:nth-child(4){grid-area:d}.threads-preview__container .threads-preview__content .threads-preview__media.threads-preview__media-children-2{grid-template-areas:"a b"}.threads-preview__container .threads-preview__content .threads-preview__media.threads-preview__media-children-3{grid-template-areas:"a b" "a c"}.threads-preview__container .threads-preview__content .threads-preview__media.threads-preview__media-children-4{grid-template-areas:"a b" "c d"}.threads-preview__container .threads-preview__content .threads-preview__card{border:1px solid #e1e8ed;border-radius:8px;margin-bottom:12px;margin-top:12px;overflow:hidden}.threads-preview__container .threads-preview__content .threads-preview__card .threads-preview__card-image{aspect-ratio:16/9;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.threads-preview__container .threads-preview__content .threads-preview__card .threads-preview__card-body{color:#000;display:flex;flex-direction:column;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;gap:2px;overflow:hidden;padding:.75em;text-align:left;text-decoration:none}.threads-preview__container .threads-preview__content .threads-preview__card .threads-preview__card-title{text-overflow:ellipsis}.threads-preview__container .threads-preview__content .threads-preview__card .threads-preview__card-url{color:#999;font-size:12px;overflow-inline:hidden;text-overflow:ellipsis;text-transform:lowercase;white-space:nowrap}.threads-preview__container .threads-preview__footer{display:flex;gap:2.5rem;margin-top:1rem}.threads-preview__container .threads-preview__footer svg{height:19px;width:19px;fill:#424242}.threads-preview__container .threads-preview__icon--like svg,.threads-preview__container .threads-preview__icon--reply svg,.threads-preview__container .threads-preview__icon--share svg{fill:#0000;stroke:#424242}.tumblr-preview__post-icon{align-items:center;display:flex}.tumblr-preview__post-icon svg{fill:#000000a6}.tumblr-preview__post-icon-blaze{height:20px;width:23px}.tumblr-preview__post-icon-delete{height:21px;width:17px}.tumblr-preview__post-icon-edit{height:21px;width:21px}.tumblr-preview__post-icon-share{height:24px;width:24px}.tumblr-preview__post-icon-reblog,.tumblr-preview__post-icon-reply{height:21px;width:21px}.tumblr-preview__post-icon-like{height:21px;width:23px}.tumblr-preview__post-icon-ellipsis{height:4px;width:18px}.tumblr-preview__post-actions{color:#000000a6;font-size:1rem;font-weight:700;line-height:1.5;margin-top:.25rem;padding:0 1.25rem}.tumblr-preview__post-manage-actions,.tumblr-preview__post-social-actions{align-items:center;display:flex;justify-content:space-between;min-height:3.5rem}.tumblr-preview__post-manage-actions ul,.tumblr-preview__post-social-actions ul{align-items:center;display:flex;gap:1.25rem;list-style-type:none;margin:0;padding:0}.tumblr-preview__post-manage-actions ul>li,.tumblr-preview__post-social-actions ul>li{align-items:center;display:flex;justify-content:center}.tumblr-preview__post-social-actions{border-top:1px solid #c27b7b26}.tumblr-preview__post-actions-blaze,.tumblr-preview__post-header{align-items:center;display:flex}.tumblr-preview__post-header{justify-content:space-between;margin:1rem 0;padding:0 1.25rem}.tumblr-preview__post-header-username{font-size:.875rem;font-weight:700;line-height:1.5}.social-preview{padding:0 .5rem}.social-preview__section{margin-bottom:2rem;margin-inline:auto;width:clamp(200px,100%,680px)}.social-preview__section-heading{color:#1e1e1e;font-size:.875rem;font-weight:600;line-height:1.42;margin-bottom:.375rem;margin-top:0}.social-preview__section-desc{color:#757575;font-size:.75rem;line-height:1.33;margin-bottom:1rem;margin-top:0}.social-preview__section-desc .components-external-link{align-items:center;display:inline-flex;gap:.25rem}.tumblr-preview__section.social-preview__section{width:clamp(200px,100%,604px + 1.25rem)}.tumblr-preview__post{align-items:flex-start;display:flex;gap:1.25rem}.tumblr-preview__avatar{border-radius:3px;height:64px;width:64px}@media(max-width:660px){.tumblr-preview__avatar{display:none}}.tumblr-preview__card{background-color:#fff;border-radius:3px;color:#000;font-family:Favorit,Helvetica Neue,HelveticaNeue,Helvetica,Arial,sans-serif;font-size:1rem;overflow-y:hidden}.tumblr-preview__card :-moz-any-link{color:inherit;text-decoration:underline}.tumblr-preview__card :any-link{color:inherit;text-decoration:underline}.tumblr-preview__custom-text,.tumblr-preview__title{margin:0 0 1rem;padding:0 1.25rem}.tumblr-preview__title{font-size:1.625rem;font-weight:400;line-height:1.3}.tumblr-preview__description{font-size:1rem;line-height:1.5;margin:0 0 1rem;padding:0 1.25rem}.tumblr-preview__image{aspect-ratio:16/9;display:block;margin:3.375rem 0 1rem;width:100%}.tumblr-preview__url{display:inline-block;margin:0 0 1rem;padding:0 1.25rem}.tumblr-preview__site-name{color:#000000a6;font-size:.75rem;text-transform:uppercase}.tumblr-preview__window{margin:0 1.25rem 1.25rem}.tumblr-preview__window-top{border-top-left-radius:6px;border-top-right-radius:6px;position:relative}.tumblr-preview__window-top .tumblr-preview__image{aspect-ratio:16/9;border-top-left-radius:inherit;border-top-right-radius:inherit;margin:0;width:100%}.tumblr-preview__window-bottom{border:1px solid #00000040;border-bottom-left-radius:6px;border-bottom-right-radius:6px;display:flex;flex-direction:column;gap:.5rem;padding:1rem .75rem}.tumblr-preview__window-bottom.is-full{border-top-left-radius:6px;border-top-right-radius:6px}.tumblr-preview__window-bottom>*{margin:0;padding:0}.tumblr-preview__overlay{align-items:center;background-color:#0006;border-top-left-radius:inherit;border-top-right-radius:inherit;bottom:0;color:#fff;display:flex;justify-content:center;left:0;padding:1rem .75rem;position:absolute;right:0;top:0}.tumblr-preview__overlay>*{margin:0;padding:0}.nOZgE6dP_guav2888GAK{margin:1rem 0 1.5rem}@media(min-width:600px){.jxndagXCphEhzYfnjHMZ{width:calc(100vw - 40px)}}@media(min-width:960px){.jxndagXCphEhzYfnjHMZ{max-height:calc(100% - 120px);width:920px}}.jxndagXCphEhzYfnjHMZ .components-modal__content.hide-header{padding:0}.na9tpJVboVaxVNabSRsr{display:flex}@media(max-width:782px){.na9tpJVboVaxVNabSRsr{flex-direction:column}}.VxWWpt730pSzZCEVjxA3{height:2rem;position:absolute;right:.5rem;top:.5rem}.z14EiGfFuQwKazBW3LpF{align-items:center;border-bottom:1px solid #dcdcde;display:flex;height:48px;padding-inline:2rem}@media(min-width:782px){.z14EiGfFuQwKazBW3LpF{border-inline-end:1px solid #dcdcde}}.z14EiGfFuQwKazBW3LpF h2{font-size:1rem;font-weight:600;line-height:16px;margin-block:0}@media(min-width:782px){.LAWYmJPODB8LgzQMzsyx{flex:1}}.vVbLRydJFLCVa49hSz83{padding:1rem 2rem}@media(min-width:782px){.vVbLRydJFLCVa49hSz83{border-inline-end:1px solid #dcdcde}}.uw1atyZ2fcJoKjwf6SZW{background:var(--jp-gray-0);flex:1}@media(min-width:782px){.uw1atyZ2fcJoKjwf6SZW{flex:2}}.uw1atyZ2fcJoKjwf6SZW .components-tab-panel__tabs{background:var(--jp-white);border-bottom:1px solid #dcdcde;height:48px;justify-content:center}.meKppCUznQhlkjwZuS6G{align-items:center;display:flex;flex-direction:column;gap:1rem;justify-content:center;padding:1rem 2rem}.HS7f47n0w2xUqa4wQkwX{opacity:.5}.dKXzdVKZ7LYvSmUVrl26{color:var(--jp-gray-40);margin-top:0}.sP1aklNMfj7lCDxuhWaq{position:relative}.a6tcXi51GAewl3qx0AVi{align-items:center;background-color:#2c3338e6;border-radius:2px;bottom:8px;display:flex;font-variant-numeric:tabular-nums;left:8px;padding:4px;position:absolute}.a6tcXi51GAewl3qx0AVi svg{margin-right:2px}.uFtCCGeycoI94JbCnJh8.uFtCCGeycoI94JbCnJh8{color:var(--jp-white);font-size:9px;font-weight:600;line-height:8px}.cZuW54OEuUN9yvuE_rNU{margin:auto;position:relative}.vCs0BOExDMOystFhG2wa{width:auto}.sKpch49QzrpontC0DvF7{background-color:var(--jp-gray-0);border:1px dashed var(--jp-gray-20);border-radius:calc(var(--jp-border-radius)*.5);display:grid;grid-template-rows:1fr auto 2fr;justify-content:center;margin-bottom:8px;min-height:130px;padding:24px;position:relative;width:100%}.sKpch49QzrpontC0DvF7>*{justify-self:center}.sKpch49QzrpontC0DvF7>button{grid-row:2}.sKpch49QzrpontC0DvF7>button:after{bottom:0;content:"";left:0;position:absolute;right:0;top:0}.sKpch49QzrpontC0DvF7>span{color:var(--jp-gray-60);font-size:13px;grid-row:3;line-height:16px;margin-top:16px;text-align:center}.sKpch49QzrpontC0DvF7>svg{align-self:center;margin:0;position:absolute}.vOO47kVjHn7i63fQ0bx0{color:#757575;font-size:12px;font-weight:400;line-height:16px;margin-bottom:8px}.ziE_jq4PmQmGBedGskf_{width:100%}.TJGgifcTHqUtknPqVQpH,.qqGj0rmSJvZs9dyr0u_I,.ziE_jq4PmQmGBedGskf_{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;cursor:pointer;margin:0;padding:0}.TJGgifcTHqUtknPqVQpH,.qqGj0rmSJvZs9dyr0u_I{align-items:center;background-color:var(--jp-black);border:1.5px solid var(--jp-white);border-radius:100%;display:flex;height:20px;justify-content:center;line-height:0;position:absolute;right:-4px;top:-4px;transition:background .1s ease-in-out;width:20px;z-index:2}.TJGgifcTHqUtknPqVQpH svg,.qqGj0rmSJvZs9dyr0u_I svg{fill:var(--jp-white)}.TJGgifcTHqUtknPqVQpH:hover,.qqGj0rmSJvZs9dyr0u_I:hover{background-color:var(--wp-admin-theme-color)}.TJGgifcTHqUtknPqVQpH{right:-5px;top:-56px}.f92zWdEJJIwBvwH5rRzn{margin-bottom:16px}.f92zWdEJJIwBvwH5rRzn .components-responsive-wrapper__content{width:auto}.rBTOWyeewE4VxAqYgjoI{filter:grayscale(100%);opacity:.5}.PykCvaqoL7AIDzVKJAtg{position:relative}.SSMDWFYkP44va5KqPpTP.SSMDWFYkP44va5KqPpTP{margin:16px 0 8px;padding-right:8px}.components-base-control__label+.SSMDWFYkP44va5KqPpTP.SSMDWFYkP44va5KqPpTP{margin-top:0}.SSMDWFYkP44va5KqPpTP.SSMDWFYkP44va5KqPpTP p{margin:0 0 4px}.Q21myqk1zOYB3IH8YuEq{color:var(--jp-gray-40);margin-top:0}.RoerAwwhu_PqirHlSJPz{display:block;margin-top:1rem}.Ua6eKcnk_tQQpFlgXMSn{display:inherit;display:flex;flex-wrap:wrap;list-style-type:none;margin:0;width:100%}.Ua6eKcnk_tQQpFlgXMSn .SHqrIEguRfCILRHPyxE9{margin:5px 0 10px}.ejyuBjiLmHz_UTFmBnjA{display:inline-block;margin-top:6px}.smqXe_da1eoP4Agql_Cs{height:auto;margin-inline-start:15px;padding:0}.eQZwqSCI_uVWrJ2jIRUA{margin-block-end:1rem}.O_ZghPCUG7291iVsp1wx{color:#646970;margin-bottom:.25rem}.nrOxj0JeSCWwCB4oaR94{display:block;margin-bottom:1rem}.Jxra4242dPPaUy28mM8H.components-button.is-link{font-size:inherit;font-weight:inherit}.Jxra4242dPPaUy28mM8H.components-button.is-link:hover{text-decoration:none}.amoEz9VXiwF3eyLxTbOA .irsbCLZJNayrJ0g_joAn{font-style:italic;font-weight:700;word-wrap:break-word}.lIKYDl6xVVtMbvcUDrrn.lIKYDl6xVVtMbvcUDrrn{display:block;margin-bottom:.5rem}.search-preview__display{border:1px solid #f6f7f7;font-family:arial,sans-serif;padding:10px 20px;word-wrap:break-word}.search-preview__header{align-items:flex-end;display:flex;gap:.5rem}.search-preview__menu{color:#4d5156;height:18px;position:relative;width:18px}.search-preview__branding{align-items:center;display:flex;gap:.75rem}.search-preview__site--title{color:#202124;font-size:14px;line-height:20px}.search-preview__icon{height:1.75rem;width:1.75rem}.search-preview__title{color:#1a0dab;font-size:20px;line-height:1.3;margin-bottom:7px;margin-top:8px;max-width:616px}.search-preview__title:hover{cursor:pointer;text-decoration:underline}.search-preview__url{color:#4d5156;font-size:12px;line-height:1.3;max-width:616px}.search-preview__description{color:#4d5156;font-size:14px;font-weight:400;line-height:1.5;max-width:616px}.VHYulMcpzbr10HWR0iSE{align-items:flex-start;border:1px solid var(--jp-black);border-color:var(--jp-gray-5);border-left-width:6px;border-radius:4px;display:flex;font-size:var(--font-body);padding:24px 31px 27px 18px}.FGpSkMCiIHQjszcV0dbn{margin-right:20px}.FGpSkMCiIHQjszcV0dbn,.KoWZcCwhW13xvkEb0QON{height:calc(var(--spacing-base)*3);width:calc(var(--spacing-base)*3)}.KoWZcCwhW13xvkEb0QON{background-color:#0000;border:none;cursor:pointer;outline:none}@media screen and (max-width:600px){.VHYulMcpzbr10HWR0iSE{box-shadow:0 4px 8px #00000008,0 1px 2px #0000000f;padding-top:68px;position:relative}.FGpSkMCiIHQjszcV0dbn{left:24px;position:absolute;top:24px}.KoWZcCwhW13xvkEb0QON{position:absolute;right:24px;top:24px}}.smrfczkC53EaFM8OJUXs{flex-grow:1}.IKYRWoPwt9xOVEx1wzNS{font-weight:600;margin-bottom:8px}.qM0qY6mPYp1MPN54A3Kg{align-items:center;display:flex;margin-top:20px}.qM0qY6mPYp1MPN54A3Kg a,.qM0qY6mPYp1MPN54A3Kg a:active,.qM0qY6mPYp1MPN54A3Kg a:focus,.qM0qY6mPYp1MPN54A3Kg a:hover{color:var(--jp-black)}.qM0qY6mPYp1MPN54A3Kg>*{margin-right:24px}.A5YkDkkXuiYgavrY6Nux{border-left-color:var(--jp-red)}.A5YkDkkXuiYgavrY6Nux .y_IPyP1wIAOhyNaqvXJq{fill:var(--jp-red)}.cT5rwuPMZzWvi5o6shMl{border-left-color:var(--jp-yellow-20)}.cT5rwuPMZzWvi5o6shMl .y_IPyP1wIAOhyNaqvXJq{fill:var(--jp-yellow-20)}.yo0O3uvNomPsYUXFCpAS{border-left-color:var(--black)}.yo0O3uvNomPsYUXFCpAS .y_IPyP1wIAOhyNaqvXJq{fill:var(--black)}.oZdDFf1jBLkzn5ICCC6x{border-left-color:var(--jp-green)}.oZdDFf1jBLkzn5ICCC6x .y_IPyP1wIAOhyNaqvXJq{fill:var(--jp-green)}.twitter-preview{padding:20px}.twitter-preview__wrapper{background-color:#fff;border-radius:4px;margin-inline:auto;max-width:clamp(200px,100%,635px);padding-inline-end:1rem;padding-top:1rem}.twitter-preview__section.social-preview__section{width:clamp(200px,100%,635px)}.twitter-preview__section.social-preview__section .social-preview__section-desc,.twitter-preview__section.social-preview__section .social-preview__section-heading{padding-inline-start:17px}.twitter-preview__container{display:grid;font-size:15px;grid-template-columns:65px auto;line-height:20px;margin-bottom:5px}.twitter-preview__container .twitter-preview__sidebar{display:grid;grid-template-rows:35px auto;justify-items:center}.twitter-preview__container .twitter-preview__sidebar .twitter-preview__profile-image{align-items:center;border-radius:50%;display:flex;max-height:30px;max-width:30px;overflow:hidden}.twitter-preview__container .twitter-preview__sidebar .twitter-preview__profile-image img{-o-object-fit:cover;object-fit:cover;width:100%}.twitter-preview__container .twitter-preview__sidebar .twitter-preview__connector{background-color:#8c8f94;width:2px}.twitter-preview__container .twitter-preview__main{overflow:hidden;padding-bottom:1rem}.twitter-preview__container .twitter-preview__header{display:flex;font-size:16px;gap:.25rem;line-height:18px;margin-bottom:2px}.twitter-preview__container .twitter-preview__name{font-weight:700}.twitter-preview__container .twitter-preview__date,.twitter-preview__container .twitter-preview__screen-name{color:#667886;letter-spacing:-.3px}.twitter-preview__container .twitter-preview__content .twitter-preview__text{color:#0f1419;white-space:pre-wrap;word-break:break-word}.twitter-preview__container .twitter-preview__content .twitter-preview__media{border-radius:15px;display:grid;overflow:hidden;grid-gap:2px;grid-template-areas:"a";height:300px;margin-top:12px}.twitter-preview__container .twitter-preview__content .twitter-preview__media img,.twitter-preview__container .twitter-preview__content .twitter-preview__media video{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.twitter-preview__container .twitter-preview__content .twitter-preview__media img:first-child,.twitter-preview__container .twitter-preview__content .twitter-preview__media video:first-child{grid-area:a}.twitter-preview__container .twitter-preview__content .twitter-preview__media img:nth-child(2),.twitter-preview__container .twitter-preview__content .twitter-preview__media video:nth-child(2){grid-area:b}.twitter-preview__container .twitter-preview__content .twitter-preview__media img:nth-child(3),.twitter-preview__container .twitter-preview__content .twitter-preview__media video:nth-child(3){grid-area:c}.twitter-preview__container .twitter-preview__content .twitter-preview__media img:nth-child(4),.twitter-preview__container .twitter-preview__content .twitter-preview__media video:nth-child(4){grid-area:d}.twitter-preview__container .twitter-preview__content .twitter-preview__media.twitter-preview__media-children-2{grid-template-areas:"a b"}.twitter-preview__container .twitter-preview__content .twitter-preview__media.twitter-preview__media-children-3{grid-template-areas:"a b" "a c"}.twitter-preview__container .twitter-preview__content .twitter-preview__media.twitter-preview__media-children-4{grid-template-areas:"a b" "c d"}.twitter-preview__container .twitter-preview__content .twitter-preview__quote-tweet{margin-top:10px;min-height:200px}.twitter-preview__container .twitter-preview__content .twitter-preview__quote-tweet .twitter-preview__quote-tweet-overlay{bottom:0;left:0;opacity:0;position:absolute;right:0;top:0}.twitter-preview__container .twitter-preview__content .twitter-preview__card{border:1px solid #e1e8ed;border-radius:12px;margin-bottom:12px;margin-top:12px;overflow:hidden}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-summary{display:grid}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-summary.twitter-preview__card-has-image{display:grid;grid-template-columns:125px auto;height:125px}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-summary.twitter-preview__card-has-image .twitter-preview__card-body{border-left:1px solid #e1e8ed;height:100%}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-summary.twitter-preview__card-has-image .twitter-preview__card-description{-webkit-line-clamp:3}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-summary_large_image{display:grid;grid-template-rows:254px auto}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-image{aspect-ratio:16/9;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-body{color:#000;display:flex;flex-direction:column;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;gap:2px;overflow:hidden;padding:.75em;text-align:left;text-decoration:none}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-title{max-height:1.3em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-description{color:#536471;display:-webkit-box;max-height:3.9em;text-overflow:ellipsis;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-url{color:#8899a6;overflow-inline:hidden;text-overflow:ellipsis;text-transform:lowercase;white-space:nowrap}.twitter-preview__container .twitter-preview__footer{display:flex;justify-content:space-between;margin-top:12px;max-width:425px}.twitter-preview__container .twitter-preview__footer svg{fill:#787c82;height:16px;width:16px}.jetpack-social-previews__modal .components-modal__header{margin:0}.jetpack-social-previews__modal .components-modal__content{padding:0}.jetpack-social-previews__modal--close-btn{height:2rem;position:absolute;right:.5rem;top:.5rem}.jetpack-social-previews__modal-previews{display:flex;flex-direction:column;height:100%}.jetpack-social-previews__modal-previews .components-tab-panel__tabs-item:focus-visible:before{box-shadow:none;outline:none}.jetpack-social-previews__modal-previews .components-tab-panel__tabs{border-bottom:1px solid #dcdcde;display:flex;flex-direction:row;height:3rem;justify-content:center;max-width:none}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button{font-size:0;height:100%;outline:0;white-space:nowrap;width:2.5rem}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button svg{display:block;fill:currentColor}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button.is-active:after{border-bottom:1px solid #3858e9;height:0;margin-bottom:-1px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link):hover:after{border-bottom:1px solid #3858e9;margin-bottom:-1px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content{background-color:#fff;flex:1;overflow:auto;padding:10px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content>div{display:flex;justify-content:center}@media(min-width:600px){.jetpack-social-previews__modal-previews{width:calc(100vw - 40px)}}@media(min-width:960px){.jetpack-social-previews__modal-previews{width:920px}.jetpack-social-previews__modal-previews .components-tab-panel__tabs .components-button{font-size:13px}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content{padding:40px}}.jetpack-social-previews__modal-previews .facebook-preview{width:100%}.jetpack-social-previews__modal-previews .components-tab-panel__tab-content .mastodon-preview{max-width:578px}.jetpack-social-previews__modal-upgrade{padding:2em}.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-illustration{height:auto;max-width:351px;width:100%}.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-description{margin-bottom:1em}.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-heading{font-size:2em;line-height:1.15}.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-feature-list{font-size:1.1em;line-height:1.4;list-style:none;margin-bottom:2em;padding-left:1em}.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-feature-list li{margin-bottom:12px;position:relative}.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-feature-list li:before{color:#4ab866;content:"✓";left:-20px;position:absolute}@media(min-width:600px){.jetpack-social-previews__modal-upgrade{display:grid;max-width:870px;width:80vw;grid-gap:3em;grid-template-columns:1fr 1fr;padding-top:4em}.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-illustration{grid-column:2;grid-row:1;max-width:100%;padding-right:2em}.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-description{grid-column:1;grid-row:1;margin-bottom:0;padding:0 1em 1em}.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-heading{margin-top:0}.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-feature-list{padding-left:0}}@media(min-width:782px){.jetpack-social-previews__modal-upgrade .jetpack-social-previews__upgrade-description{padding:0 2em 2em}}.jetpack-gutenberg-social-icons{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.jetpack-gutenberg-social-icons .jetpack-social-previews__icon{margin-right:0;fill:currentColor}.OWstrHF6QZdaosKs0b6j{aspect-ratio:1200/630;background-color:var(--jp-gray-0);display:flex;justify-content:center;margin-bottom:8px;max-height:250px;min-height:130px;position:relative;width:100%}.OWstrHF6QZdaosKs0b6j>*{justify-self:center}.OWstrHF6QZdaosKs0b6j>svg{align-self:center;margin:0;position:absolute}.OWstrHF6QZdaosKs0b6j img{height:auto;max-height:100%;max-width:100%;-o-object-fit:contain;object-fit:contain;width:auto}.HJMFrbZ0khdkKKkocrIK{display:none}.m9360_cMWKFHTNk9xpNz{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-gap:calc(var(--spacing-base)*4);padding:calc(var(--spacing-base)*4) 0}.j4EvSJfKIJLGEIAETiEY{all:unset;border-radius:calc(var(--jp-border-radius)/2);cursor:pointer;position:relative}.j4EvSJfKIJLGEIAETiEY img{border-radius:calc(var(--jp-border-radius)/2);display:block;height:auto;max-width:100%;pointer-events:none}.j4EvSJfKIJLGEIAETiEY:after{background-color:var(--jp-white);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='11' fill='none'%3E%3Cpath stroke='%2309B585' stroke-width='1.5' d='m11.327.53-6.75 9.08L.662 6.7'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;border-radius:50%;content:"";height:calc(var(--spacing-base)*3);opacity:0;position:absolute;right:calc(var(--spacing-base)*-1.5);top:calc(var(--spacing-base)*-1.5);transform:translateY(5px);transition:all .15s cubic-bezier(.4,0,.2,1);width:calc(var(--spacing-base)*3)}.j4EvSJfKIJLGEIAETiEY:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) #007cba;outline:3px solid #0000}.dQb3Zpl0puk4V6ezZslo:after{opacity:1;transform:translateY(0)}.tfWupx32Rn5hHqVjTzui div{padding-top:0}.qu9UsV1EEFeFxhU3Wgt5{margin-top:15px}.nZhgKYFn6MQoIDGcKrUG{max-width:150px}.WJ5nPw0EHj7eoNZB06TW{display:flex;justify-content:flex-end}.WJ5nPw0EHj7eoNZB06TW>*+*{margin-left:var(--spacing-base)}.JUeclE9CucaXRlTL5K9H{display:flex;flex-wrap:wrap;gap:.7rem}.JUeclE9CucaXRlTL5K9H a{border-radius:4px;color:#fff}.JUeclE9CucaXRlTL5K9H a:hover{color:#fff}.JUeclE9CucaXRlTL5K9H a>span{align-items:center;display:flex}.JUeclE9CucaXRlTL5K9H a>span>svg{border-radius:var(--jp-border-radius);color:#fff}.JUeclE9CucaXRlTL5K9H a.components-button svg{fill:currentColor}.JUeclE9CucaXRlTL5K9H :is(a,button).has-text.components-button.is-primary{background:#0000;color:var(--jp-black);gap:0;justify-content:start;padding:0}.JUeclE9CucaXRlTL5K9H :is(a,button).has-text.components-button.is-primary:hover{background:#0000;color:var(--jp-gray-50)}.JUeclE9CucaXRlTL5K9H :is(a,button).has-text.components-button.is-primary svg{height:calc(var(--spacing-base)*3);padding:calc(var(--spacing-base)/2);width:calc(var(--spacing-base)*3)}.JUeclE9CucaXRlTL5K9H :is(a,button).has-text.components-button.is-primary:focus{border:0;box-shadow:none;outline:none}.JUeclE9CucaXRlTL5K9H .rhyZKz4FQtFOFAMwLgLj{background-color:var(--jp-black)}.JUeclE9CucaXRlTL5K9H .DDRhGoqXUOM6Jug54nEB{background-color:#2ab318}.JUeclE9CucaXRlTL5K9H .h57Cabo4jn8Ke77_DLOX{background-color:#0866ff;border-radius:var(--jp-border-radius)!important}.JUeclE9CucaXRlTL5K9H .tvNWJpaNzPro4QaItBae{background-color:#fff;color:var(--jp-black);outline:1px solid var(--jp-gray)}.p_VTpBCFklSkcb0iiD0K{flex-direction:column}.DyIAUIn_2bkciyB_XtgH{display:flex}.Lx8xScOApJmJdhJF9JWd.Lx8xScOApJmJdhJF9JWd{font-size:13px;font-weight:400;line-height:24px;margin-inline-start:var(--spacing-base)}.pp_WJTHlGIX9bcHCLxJh{display:flex;flex-direction:column;gap:1rem;padding-block:1rem}.IzRyqrcpwjKRBJKEtECz{font-weight:600;text-transform:uppercase}.Syp1HH254tFVzcFG2Zh2,.kyLdsnatoC0HbIDJQm9S{margin-top:1rem;padding-block:1rem}.TqhtumZm_qrPdnAiAWk1{margin:0 1rem 1rem}.YABlqQXOGnawHFcJa7zT{width:60rem}.KTCkaKxqgq5m97AeauuD{border-radius:4px;margin:0;outline:1px solid var(--jp-gray-5);width:100%}.KTCkaKxqgq5m97AeauuD .a7bsDR1XYAyHfU8yXhDF{margin-bottom:0;padding:.8rem 1rem}.KTCkaKxqgq5m97AeauuD .a7bsDR1XYAyHfU8yXhDF:not(:last-child){border-bottom:1px solid var(--jp-gray-5)}.KTCkaKxqgq5m97AeauuD .zxDD61MgJz7Cy_ZLbaLL{align-items:center;display:flex;gap:1rem}.vEA7jwVDDYmYUaVhX9QR{display:flex;flex:1;flex-direction:column;gap:.5rem;overflow:auto}.AsH9JOuWehE027IlR7Y2,.hvN5L4O60W8ftCvW1gRX{align-items:center;display:flex}.hvN5L4O60W8ftCvW1gRX{width:5rem}.hvN5L4O60W8ftCvW1gRX.aF8rESnbAc_uQUN0H3py{color:var(--jp-green-50)}.hvN5L4O60W8ftCvW1gRX.mfUKWd8ZvydeEyWeKhJ2{color:var(--jp-red-50);height:29px}.pvVeQhJ9oNx0CFoHYEit{flex:1}.fXQtkkrybB5DooWXxt67{margin-inline-start:2px;top:2px;width:24px}.fXQtkkrybB5DooWXxt67>button{color:var(--jp-red-50)!important}.bJAz31xuwL_vO4V97YfM{fill:var(--jp-green-50)}.HV9N7iu024GjGwuQh6KQ{width:3rem}.U_WW2qLSQA71SJYyITOq{position:relative}.wp-admin.post-type-jetpack-social-note .post-publish-panel__postpublish-header{display:none}.CW7R8fRQqVKfyXFYiNWR{align-items:center;background:none;border:2px solid var(--jp-green-40);border-radius:4px;color:var(--jp-gray-90);display:block;gap:calc(var(--spacing-base)*3);justify-content:space-between;margin:0;padding:calc(var(--spacing-base)*2) calc(var(--spacing-base)*3);text-align:left;text-decoration:none;width:100%}.CW7R8fRQqVKfyXFYiNWR:active,.CW7R8fRQqVKfyXFYiNWR:focus{outline-color:var(--jp-black)}.CW7R8fRQqVKfyXFYiNWR .n34j0qWq2EZzYl1jAiej button.aIuCL8MdydCJGcrOqp4x{font-size:var(--font-body-small)}.qegtnlYWDc3UnIGPRlQb{font-size:var(--font-body)}.n34j0qWq2EZzYl1jAiej{align-content:space-between;display:flex;flex-direction:column;gap:var(--spacing-base)}.aIuCL8MdydCJGcrOqp4x{align-items:center;justify-content:space-between;width:100%}.D8uyjb_rjCf4HTMT0mj0.D8uyjb_rjCf4HTMT0mj0{font-size:13px;line-height:1.5;margin-bottom:16px}.dCsa7WNQhT_7RhRkZih1{align-items:center;display:flex}.dCsa7WNQhT_7RhRkZih1 .components-spinner{margin-top:0}.VotVfPmHNdU_xItAWEKQ{color:var(--jp-gray-40)}.jetpack-publicize__upsell{margin-bottom:13px}.jetpack-publicize__upsell-description{font-weight:600;margin-bottom:10px}.jetpack-publicize__upsell-button.is-primary{background:#e34c84;color:#fff;padding-right:10px}.jetpack-publicize__upsell-button.is-primary:hover{background:#eb6594}.jetpack-publicize__upsell-button.is-primary.is-busy{background-image:linear-gradient(-45deg,#e34c84 28%,#ab235a 0,#ab235a 72%,#e34c84 0);background-size:100px 100%}.jetpack-publicize__placeholder .components-placeholder__learn-more{margin-top:1em}.wp-block-jetpack-rating-star{line-height:0;margin-bottom:1.5em;stroke-width:0}.wp-block-jetpack-rating-star .is-rating-unfilled{fill-opacity:.33}.wp-block-jetpack-rating-star .jetpack-ratings-button{border-radius:2px;display:inline-flex}.wp-block-jetpack-rating-star .jetpack-ratings-button:focus{box-shadow:0 0 0 1px currentColor;outline:2px solid #0000}.wp-block-jetpack-rating-star>p{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-inline-end:.3em}.wp-block-jetpack-rating-star .jetpack-ratings-button span,.wp-block-jetpack-rating-star>span span{display:inline-flex;flex-shrink:0;overflow:hidden;width:12px}.wp-block-jetpack-rating-star .jetpack-ratings-button span svg,.wp-block-jetpack-rating-star>span span svg{flex-shrink:0}.wp-block-jetpack-rating-star .jetpack-ratings-button span:nth-child(2n),.wp-block-jetpack-rating-star>span span:nth-child(2n){justify-content:flex-end}.wp-block-jetpack-rating-star svg{display:inline-block!important;max-width:none!important}.wp-block-jetpack-rating-star.is-style-outlined{stroke-width:2px}.wp-block-jetpack-rating-star.is-style-outlined .is-rating-unfilled{fill:#0000}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-inline-end:.3em}.jetpack-ratings-button{cursor:pointer}.jetpack-ratings-button:focus{border:none;outline:none}@keyframes jetpack-memberships_button__spinner-animation{to{transform:rotate(1turn)}}.jetpack-memberships-spinner{display:none;height:1em;margin:0 0 0 5px;width:1em}.jetpack-memberships-spinner svg{height:100%;margin-bottom:-2px;width:100%}.jetpack-memberships-spinner-rotating{animation:jetpack-memberships_button__spinner-animation .75s linear infinite;transform-origin:center}.is-loading .jetpack-memberships-spinner{display:inline-block}body.jetpack-memberships-modal-open{overflow:hidden}dialog.jetpack-memberships-modal{opacity:1}dialog.jetpack-memberships-modal,dialog.jetpack-memberships-modal iframe{background:#0000;border:0;bottom:0;box-shadow:none;height:100%;left:0;margin:0;padding:0;position:fixed;right:0;top:0;width:100%}dialog.jetpack-memberships-modal::backdrop{background-color:#000;opacity:.7;transition:opacity .2s ease-out}dialog.jetpack-memberships-modal.is-loading,dialog.jetpack-memberships-modal.is-loading::backdrop{opacity:0}.wp-block-jetpack-recurring-payments.aligncenter .wp-block-jetpack-button{text-align:center}.wp-block-jetpack-recurring-payments{width:100%}.wp-block-jetpack-recurring-payments .components-base-control__label{text-align:left}.wp-block-jetpack-recurring-payments .components-placeholder{min-height:150px;padding:24px}.wp-block-jetpack-recurring-payments .components-placeholder__fieldset{max-width:500px}.wp-block-jetpack-recurring-payments .components-placeholder__fieldset p{font-size:13px;margin:20px 0 10px}.wp-block-jetpack-recurring-payments .components-placeholder__fieldset p:first-child{margin-top:0}.wp-block-jetpack-recurring-payments .components-placeholder__instructions .components-select-control__input{padding:0 24px 0 8px}.wp-block-jetpack-recurring-payments .components-placeholder .components-placeholder__instructions{display:block}.wp-block-jetpack-recurring-payments .components-placeholder label{font-size:13px}.wp-block-jetpack-recurring-payments .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-recurring-payments .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-recurring-payments .membership-button__add-amount{margin-right:4px}.wp-block-jetpack-recurring-payments .membership-button__disclaimer{color:var(--color-gray-200);flex-basis:100%;font-style:italic;margin:0}.wp-block-jetpack-recurring-payments .membership-button__disclaimer a{color:var(--color-gray-400);line-height:36px}.wp-block-jetpack-recurring-payments .membership-button__field-button{margin-right:4px}.wp-block-jetpack-recurring-payments .membership-button__field-error .components-text-control__input{border:1px solid #d63638}.wp-block-jetpack-recurring-payments .membership-button__field-price{width:65%}.wp-block-jetpack-recurring-payments .membership-button__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-recurring-payments .membership-button__price-container .components-input-control__container{top:4px}.wp-block-jetpack-recurring-payments .membership-button__price-container div.membership-button__field-currency{border-right:10px solid #0000}.wp-block-jetpack-recurring-payments .membership-button__price-container p{margin-top:0}.wp-block-jetpack-recurring-payments.disclaimer-only{background:#1e1e1e9e;box-sizing:initial;font-size:13px;margin:0 -14px;padding:14px;text-align:center;transform:translateY(14px)}.is-dark-theme .wp-block-jetpack-recurring-payments.disclaimer-only{background:#ffffffa6}.wp-block-jetpack-recurring-payments .wp-block-jetpack-membership-button_notification{display:block}.wp-block-jetpack-recurring-payments .wp-block[data-type="jetpack/button"]{margin-bottom:0;margin-top:0}.wp-block-jetpack-related-posts .components-placeholder__learn-more{flex-basis:100%;margin-top:1em}.jp-related-posts-i2__row{display:flex;margin-left:-10px;margin-right:-10px;margin-top:1.5rem}.jp-related-posts-i2__row:first-child{margin-top:0}.jp-related-posts-i2__row[data-post-count="3"] .jp-related-posts-i2__post{max-width:calc(33.33333% - 20px)}.jp-related-posts-i2__row[data-post-count="1"] .jp-related-posts-i2__post,.jp-related-posts-i2__row[data-post-count="2"] .jp-related-posts-i2__post{max-width:calc(50% - 20px)}.jp-related-posts-i2__post{display:flex;flex-basis:0;flex-direction:column;flex-grow:1;margin:0 10px}.jp-related-posts-i2__post-context,.jp-related-posts-i2__post-date,.jp-related-posts-i2__post-heading,.jp-related-posts-i2__post-img-link{flex-direction:row}.jp-related-posts-i2__post-image-placeholder,.jp-related-posts-i2__post-img-link{order:-1}.jp-related-posts-i2__post-heading{font-size:1rem;line-height:1.2em;margin:.5rem 0}.jp-related-posts-i2__post-link{display:block;line-height:1.2em;margin:.2em 0;width:100%}.jp-related-posts-i2__post-img{width:100%}.jp-related-posts-i2__post-image-placeholder{display:block;margin:0 auto;max-width:350px;position:relative}.jp-related-posts-i2__post-image-placeholder-icon{left:calc(50% - 12px);position:absolute;top:calc(50% - 12px)}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__row{display:block;margin:0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post{margin:1rem 0 0;max-width:none}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-image-placeholder{margin:0;max-width:350px}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-img-link{margin-top:1rem}.wp-block-jetpack-repeat-visitor .components-notice{color:#1e1e1e;margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-radio-control__option{text-align:left}.wp-block-jetpack-repeat-visitor .components-notice__content{font-size:1em;margin:.5em 0}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control{display:inline-block;max-width:8em;vertical-align:middle}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control .components-base-control__field{margin-bottom:0}.wp-block-jetpack-repeat-visitor-placeholder{min-height:inherit}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__label svg{margin-right:.5ch}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset{flex-wrap:nowrap}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset .components-base-control{flex-basis:100%;margin-bottom:0}.wp-block-jetpack-repeat-visitor-placeholder .components-base-control__help{color:#cc1818;font-size:13px}.wp-block-jetpack-repeat-visitor--is-unselected .wp-block-jetpack-repeat-visitor-placeholder{display:none}.wp-block-jetpack-repeat-visitor-threshold{margin-right:20px}.wp-block-jetpack-repeat-visitor-threshold .components-text-control__input{margin-left:12px;text-align:center;width:5em}.block-editor-inserter__preview .wp-block-jetpack-repeat-visitor{padding:16px}.block-editor-inserter__preview .wp-block-jetpack-repeat-visitor>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-right:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:#d63638}.help-message.help-message-is-error svg{fill:#d63638}div.wp-block-jetpack-whatsapp-button{display:flex;margin-inline-end:5px}div.wp-block-jetpack-whatsapp-button a.whatsapp-block__button{background:#25d366;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath fill='%23fff' d='M24 11.69c0 6.458-5.274 11.692-11.782 11.692-2.066 0-4.007-.528-5.695-1.455L0 24l2.127-6.273a11.57 11.57 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69M12.218 1.863c-5.462 0-9.905 4.41-9.905 9.829 0 2.15.7 4.142 1.886 5.763l-1.237 3.65 3.807-1.21a9.9 9.9 0 0 0 5.45 1.626c5.461 0 9.905-4.409 9.905-9.829s-4.444-9.83-9.906-9.83m5.95 12.521c-.073-.119-.265-.19-.554-.334-.289-.143-1.71-.837-1.973-.932-.265-.095-.458-.143-.65.143-.193.287-.746.932-.915 1.123-.169.192-.337.216-.626.073-.288-.143-1.219-.446-2.322-1.422-.858-.76-1.438-1.697-1.607-1.985-.168-.286-.017-.441.127-.584.13-.128.29-.335.433-.502.145-.167.193-.286.289-.478.097-.191.048-.358-.024-.502-.072-.143-.65-1.553-.89-2.127-.241-.574-.482-.478-.65-.478s-.361-.024-.554-.024-.506.072-.77.358c-.265.287-1.01.98-1.01 2.39s1.034 2.773 1.178 2.964c.145.19 1.998 3.179 4.934 4.326s2.936.764 3.466.716c.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363'/%3E%3C/svg%3E");background-position:16px;background-repeat:no-repeat;background-size:32px 32px;border:none;border-radius:8px;box-sizing:border-box;color:#fff;display:block;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:20px;font-weight:500;line-height:36px;min-height:50px;padding:8px 16px 8px 56px;text-decoration:none;white-space:nowrap}div.wp-block-jetpack-whatsapp-button.is-color-light a.whatsapp-block__button{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath fill='%2523465B64' d='M24 11.69c0 6.458-5.274 11.692-11.782 11.692-2.066 0-4.007-.528-5.695-1.455L0 24l2.127-6.273a11.57 11.57 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69M12.218 1.863c-5.462 0-9.905 4.41-9.905 9.829 0 2.15.7 4.142 1.886 5.763l-1.237 3.65 3.807-1.21a9.9 9.9 0 0 0 5.45 1.626c5.461 0 9.905-4.409 9.905-9.829s-4.444-9.83-9.906-9.83m5.95 12.521c-.073-.119-.265-.19-.554-.334-.289-.143-1.71-.837-1.973-.932-.265-.095-.458-.143-.65.143-.193.287-.746.932-.915 1.123-.169.192-.337.216-.626.073-.288-.143-1.219-.446-2.322-1.422-.858-.76-1.438-1.697-1.607-1.985-.168-.286-.017-.441.127-.584.13-.128.29-.335.433-.502.145-.167.193-.286.289-.478.097-.191.048-.358-.024-.502-.072-.143-.65-1.553-.89-2.127-.241-.574-.482-.478-.65-.478s-.361-.024-.554-.024-.506.072-.77.358c-.265.287-1.01.98-1.01 2.39s1.034 2.773 1.178 2.964c.145.19 1.998 3.179 4.934 4.326s2.936.764 3.466.716c.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363'/%3E%3C/svg%3E");color:#465b64}div.wp-block-jetpack-whatsapp-button.alignleft{float:none;justify-content:flex-start}div.wp-block-jetpack-whatsapp-button.aligncenter{justify-content:center}div.wp-block-jetpack-whatsapp-button.alignright{float:none;justify-content:flex-end}div.wp-block-jetpack-whatsapp-button.has-no-text a.whatsapp-block__button{padding-inline-start:48px}div.wp-block-jetpack-whatsapp-button:hover{opacity:.9}div.wp-block-jetpack-send-a-message>div.wp-block-jetpack-whatsapp-button>a.whatsapp-block__button:focus{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath fill='%23fff' d='M24 11.69c0 6.458-5.274 11.692-11.782 11.692-2.066 0-4.007-.528-5.695-1.455L0 24l2.127-6.273a11.57 11.57 0 0 1-1.691-6.036C.436 5.234 5.711 0 12.218 0 18.726 0 24 5.234 24 11.69M12.218 1.863c-5.462 0-9.905 4.41-9.905 9.829 0 2.15.7 4.142 1.886 5.763l-1.237 3.65 3.807-1.21a9.9 9.9 0 0 0 5.45 1.626c5.461 0 9.905-4.409 9.905-9.829s-4.444-9.83-9.906-9.83m5.95 12.521c-.073-.119-.265-.19-.554-.334-.289-.143-1.71-.837-1.973-.932-.265-.095-.458-.143-.65.143-.193.287-.746.932-.915 1.123-.169.192-.337.216-.626.073-.288-.143-1.219-.446-2.322-1.422-.858-.76-1.438-1.697-1.607-1.985-.168-.286-.017-.441.127-.584.13-.128.29-.335.433-.502.145-.167.193-.286.289-.478.097-.191.048-.358-.024-.502-.072-.143-.65-1.553-.89-2.127-.241-.574-.482-.478-.65-.478s-.361-.024-.554-.024-.506.072-.77.358c-.265.287-1.01.98-1.01 2.39s1.034 2.773 1.178 2.964c.145.19 1.998 3.179 4.934 4.326s2.936.764 3.466.716c.529-.047 1.708-.693 1.95-1.362.24-.67.24-1.243.168-1.363'/%3E%3C/svg%3E");background-position:16px;background-repeat:no-repeat;background-size:32px 32px}.jetpack-whatsapp-button__phonenumber .components-base-control{margin-bottom:0}.jetpack-whatsapp-button__phonenumber input.components-text-control__input{margin-bottom:5px}.jetpack-whatsapp-button__phonenumber select.components-select-control__input{min-height:30px;padding-left:10px;width:105px}.jetpack-whatsapp-button__phonenumber .components-placeholder__label svg{margin-right:6px}.jetpack-whatsapp-error{display:inline-flex;margin-bottom:10px}.jetpack-whatsapp-error span,.jetpack-whatsapp-error svg{color:red;fill:red;vertical-align:middle}.jetpack-whatsapp-error svg{margin:-3px 5px 0 0}.jetpack-whatsapp-button__popover .components-popover__content{min-width:260px;padding:12px}.wp-block[data-align=center] .wp-block-jetpack-whatsapp-button{justify-content:center}.components-seo-placeholder__learn-more{margin-top:1em}.components-seo-upsell__learn-more{margin:1em 0}.components-seo-upsell__button.is-primary{background:#e34c84;color:#fff;padding-right:10px}.components-seo-upsell__button.is-primary:hover{background:#eb6594}.components-seo-upsell__button.is-primary.is-busy{background-image:linear-gradient(-45deg,#e34c84 28%,#ab235a 0,#ab235a 72%,#e34c84 0);background-size:100px 100%}.jetpack-seo-message-box{width:100%}.components-sharing-placeholder__learn-more{margin-top:1em}.jetpack-clipboard-input{display:flex}.jetpack-clipboard-input .components-clipboard-button,.jetpack-clipboard-input .components-text-control__input{min-height:36px}.jetpack-clipboard-input .components-clipboard-button{margin-left:6px}.simple-payments__loading{animation:simple-payments-loading 1.6s ease-in-out infinite}@keyframes simple-payments-loading{0%{opacity:.5}50%{opacity:.7}to{opacity:.5}}.jetpack-simple-payments-wrapper{margin-bottom:1.5em}body .jetpack-simple-payments-wrapper .jetpack-simple-payments-details p{margin:0 0 1.5em;padding:0}.jetpack-simple-payments-description{white-space:pre-wrap}.jetpack-simple-payments-product{display:flex;flex-direction:column}.jetpack-simple-payments-product-image{flex:0 0 30%;margin-bottom:1.5em}.jetpack-simple-payments-image{box-sizing:border-box;min-width:70px;padding-top:100%;position:relative}.jetpack-simple-payments-image img{border:0;border-radius:0;height:auto;left:50%;margin:0;max-height:100%;max-width:100%;padding:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:auto}.jetpack-simple-payments-price p,.jetpack-simple-payments-title p{font-weight:700}.jetpack-simple-payments-purchase-box{align-items:flex-start;display:flex}.jetpack-simple-payments-items{flex:0 0 auto;margin-right:10px}input[type=number].jetpack-simple-payments-items-number{background:#fff;font-size:16px;line-height:1;max-width:60px;padding:4px 8px!important}input[type=number].jetpack-simple-payments-items-number::-webkit-inner-spin-button,input[type=number].jetpack-simple-payments-items-number::-webkit-outer-spin-button{opacity:1}@media screen and (min-width:400px){.jetpack-simple-payments-product{flex-direction:row}.jetpack-simple-payments-product-image+.jetpack-simple-payments-details{flex-basis:70%;padding-left:1em}}.wp-block-jetpack-simple-payments .simple-payments__wrapper{display:grid;grid-template-columns:200px auto;grid-column-gap:10px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__field{margin-bottom:1em}.wp-block-jetpack-simple-payments .simple-payments__field textarea{display:block}.wp-block-jetpack-simple-payments .simple-payments__field input,.wp-block-jetpack-simple-payments .simple-payments__field textarea{font:inherit}.wp-block-jetpack-simple-payments img{max-width:100%}.wp-block-jetpack-simple-payments .simple-payments__field.simple-payments__field-content .components-base-control__label,.wp-block-jetpack-simple-payments .simple-payments__field.simple-payments__field-email .components-base-control__label,.wp-block-jetpack-simple-payments .simple-payments__field.simple-payments__field-title .components-base-control__label{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-text-control__input,.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-textarea-control__input{border-color:#d63638}.wp-block-jetpack-simple-payments .simple-payments__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-simple-payments .simple-payments__price-container .components-base-control__label,.wp-block-jetpack-simple-payments .simple-payments__price-container .components-input-control__label{display:block;font-weight:400;margin:0 0 4px}.wp-block-jetpack-simple-payments .simple-payments__price-container select.components-select-control__input{-webkit-appearance:none;-moz-appearance:none;height:auto;max-width:none;padding:3px 8px 1px}.wp-block-jetpack-simple-payments .simple-payments__price-container div.components-input-control__container{position:relative}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__field-currency{margin-right:5px}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__field-currency .components-input-control__container{width:calc(100% - 5px)}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__field-price .components-base-control__field{display:flex;flex-direction:column}.wp-block-jetpack-simple-payments .simple-payments__price-container .help-message{flex:1 1 100%;margin-top:0}.wp-block-jetpack-simple-payments .simple-payments__price-container .components-input-control__suffix>div{align-items:center;bottom:0;box-sizing:border-box;display:flex;padding:0 4px;pointer-events:none;position:absolute;right:0;top:0}.wp-block-jetpack-simple-payments .simple-payments__field-email .components-text-control__input{max-width:400px}.wp-block-jetpack-simple-payments .simple-payments__field-multiple .components-toggle-control__label{line-height:1.4em}.wp-block-jetpack-simple-payments .simple-payments__field-content .components-textarea-control__input{min-height:32px;padding:8px;width:100%}.jetpack-simple-payments__purchase-link-text .components-base-control{margin-bottom:0}.jetpack-simple-payments__purchase-link-text input.components-text-control__input{margin-bottom:5px}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_button-pause{display:block}.wp-block-jetpack-slideshow{margin-bottom:1.5em;position:relative}.wp-block-jetpack-slideshow [tabindex="-1"]:focus{outline:0}.wp-block-jetpack-slideshow.wp-amp-block>.wp-block-jetpack-slideshow_container{opacity:1}.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay .wp-block-jetpack-slideshow_button-play,.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay.wp-block-jetpack-slideshow__autoplay-playing .wp-block-jetpack-slideshow_button-pause{display:block}.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay.wp-block-jetpack-slideshow__autoplay-playing .wp-block-jetpack-slideshow_button-play{display:none}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container{opacity:0;overflow:hidden;width:100%}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container.wp-swiper-initialized{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container.swiper-container{display:block}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_slide,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_swiper-wrapper{line-height:normal;margin:0;padding:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container ul.wp-block-jetpack-slideshow_swiper-wrapper{display:flex}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide{display:flex;height:100%;width:100%}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide figure{align-items:center;display:flex;height:100%;justify-content:center;margin:0;position:relative;width:100%}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide figure .wp-block-jetpack-slideshow_image{pointer-events:none;-webkit-user-select:none;user-select:none}.wp-block-jetpack-slideshow.alignfull .wp-block-jetpack-slideshow_image,.wp-block-jetpack-slideshow.alignwide .wp-block-jetpack-slideshow_image{max-width:unset;object-fit:cover;width:100vw}.wp-block-jetpack-slideshow .swiper-container-fade .wp-block-jetpack-slideshow_slide:not(.swiper-slide-active){opacity:0!important}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_image{display:block;height:auto;max-height:100%;max-width:100%;object-fit:contain;width:auto}.wp-block-jetpack-slideshow .amp-carousel-button,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-color:#fff;background-position:50%;background-repeat:no-repeat;background-size:contain;border:0;border-radius:4px;box-shadow:none;height:30px;margin:-14px 0 0;opacity:.5;padding:0;transition:opacity .5s ease-out;width:28px}.wp-block-jetpack-slideshow .amp-carousel-button:focus,.wp-block-jetpack-slideshow .amp-carousel-button:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:hover{background-color:#fff;opacity:1}.wp-block-jetpack-slideshow .amp-carousel-button:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus{outline:thin dotted #fff;outline-offset:-4px}.wp-block-jetpack-slideshow .amp-carousel-button{margin:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:none}.wp-block-jetpack-slideshow .swiper-button-next:after,.wp-block-jetpack-slideshow .swiper-button-prev:after,.wp-block-jetpack-slideshow .swiper-container-rtl .swiper-button-next:after,.wp-block-jetpack-slideshow .swiper-container-rtl .swiper-button-prev:after{content:""}.wp-block-jetpack-slideshow .amp-carousel-button-next,.wp-block-jetpack-slideshow .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-prev{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNSIgaGVpZ2h0PSIyNCIgZmlsbD0ibm9uZSI+PG1hc2sgaWQ9ImEiIHdpZHRoPSI4IiBoZWlnaHQ9IjEyIiB4PSI4IiB5PSI2IiBtYXNrLXR5cGU9ImFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNOC41OTggMTYuNTkgMTMuMTU2IDEyIDguNTk4IDcuNDEgMTAuMDAxIDZsNS45NyA2LTUuOTcgNnoiLz48L21hc2s+PGcgbWFzaz0idXJsKCNhKSI+PHBhdGggZmlsbD0iIzAwMCIgZD0iTS4zNDQgMGgyMy44ODJ2MjRILjM0NHoiLz48L2c+PC9zdmc+)}.wp-block-jetpack-slideshow .amp-carousel-button-prev,.wp-block-jetpack-slideshow .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-next{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNSIgaGVpZ2h0PSIyNCIgZmlsbD0ibm9uZSI+PG1hc2sgaWQ9ImEiIHdpZHRoPSI5IiBoZWlnaHQ9IjEyIiB4PSI4IiB5PSI2IiBtYXNrLXR5cGU9ImFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTYuMjA3IDE2LjU5IDExLjY1IDEybDQuNTU3LTQuNTlMMTQuODA0IDZsLTUuOTcgNiA1Ljk3IDZ6Ii8+PC9tYXNrPjxnIG1hc2s9InVybCgjYSkiPjxwYXRoIGZpbGw9IiMwMDAiIGQ9Ik0uNTc5IDBoMjMuODgydjI0SC41Nzl6Ii8+PC9nPjwvc3ZnPg==)}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M6 19h4V5H6zm8-14v14h4V5z'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E");display:none;inset-inline-end:10px;margin-top:0;position:absolute;top:10px;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_autoplay-paused .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow:has(>div[data-autoplay=true]) .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_button-pause{display:block}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption{background-color:#00000080;bottom:0;box-sizing:border-box;color:#fff;cursor:text;left:0;margin:0!important;max-height:100%;opacity:1;padding:.75em;position:absolute;right:0;text-align:initial;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption a{color:inherit}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_caption.gallery-caption{max-height:calc(100% - 68px)}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-custom{bottom:0;display:flex;gap:8px;justify-content:flex-start;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-custom .swiper-pagination-bullet{background:currentColor;color:currentColor;height:8px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:8px}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-custom .swiper-pagination-bullet:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-custom .swiper-pagination-bullet:hover{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-custom .swiper-pagination-bullet:focus{outline:thin dotted;outline-offset:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet-active,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet[selected],.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-custom .swiper-pagination-bullet-active,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-custom .swiper-pagination-bullet[selected]{background-color:currentColor;opacity:1;transform:scale(1)}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-simple,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-custom .swiper-pagination-simple{font-size:14px;line-height:16px;text-align:start;width:100%}.wp-block-jetpack-slideshow_pagination.amp-pagination{text-align:center}.wp-block-jetpack-slideshow_pagination.amp-pagination .swiper-pagination-bullet{border:0;border-radius:100%;display:inline-block;margin:0 4px;padding:0}@media(min-width:600px){.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:block}}.is-email .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container{height:auto;opacity:1;overflow:visible;width:auto}.is-email .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container ul.wp-block-jetpack-slideshow_swiper-wrapper,.is-email .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide figure{display:block;margin-bottom:12px}.is-email .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container ul.wp-block-jetpack-slideshow_swiper-wrapper,.is-email .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide{list-style:none;margin-left:auto;margin-right:auto}.is-email .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide{display:inline-block;height:auto;margin-left:2%!important;margin-right:2%!important;vertical-align:top;width:42%}.is-email .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption{background-color:#0000;bottom:auto;color:inherit;inset-inline-end:auto;padding-top:0;position:relative}.wp-block-jetpack-layout-grid-column>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block>.wp-block-jetpack-slideshow,.wp-block-jetpack-layout-grid-column>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block>.wp-block>.wp-block-jetpack-slideshow{display:grid}.wp-block-jetpack-layout-grid-column>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block>.wp-block-jetpack-slideshow>.swiper-container,.wp-block-jetpack-layout-grid-column>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block>.wp-block>.wp-block-jetpack-slideshow>.swiper-container{width:100%}.wp-block-jetpack-slideshow__add-item{margin-top:4px;width:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button,.wp-block-jetpack-slideshow__add-item .components-form-file-upload{width:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button{border:none;border-radius:0;box-shadow:none;display:flex;flex-direction:column;justify-content:center;min-height:100px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:focus,.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:hover{border:1px solid #949494}.wp-block[data-align=full] .wp-block-jetpack-slideshow_image,.wp-block[data-align=wide] .wp-block-jetpack-slideshow_image{max-width:unset;object-fit:cover;width:100vw}.wp-block-jetpack-slideshow_slide .components-spinner{left:50%;margin-left:-9px;margin-top:-9px;position:absolute;top:50%}.wp-block-jetpack-slideshow_slide.is-transient img{opacity:.3}.jetpack-mdc-icon-button{align-items:center;border:0;box-sizing:border-box;display:inline-flex;justify-content:center;padding:0;position:relative;fill:currentColor;appearance:none;background-color:#0000;color:#fff;cursor:pointer;overflow:hidden;text-decoration:none!important;-webkit-user-select:none;user-select:none}.jetpack-mdc-icon-button.outlined{background-color:#00000080}.jetpack-mdc-icon-button.outlined:hover{background-color:#0000004d}.jetpack-mdc-icon-button.outlined-w{background-color:#fff3}.jetpack-mdc-icon-button.outlined-w:hover{background-color:#ffffff4d}.jetpack-mdc-icon-button.bordered{border:2px solid #fff}.jetpack-mdc-icon-button.circle-icon{border-radius:50%}.wp-story-display-contents{display:contents}.wp-story-app{padding:10px}.wp-story-container{border-radius:15px;display:block;height:320px;list-style:none;margin-bottom:24px;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;position:relative;width:180px;z-index:1;-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:0 2px 12px #00000040;break-inside:avoid;page-break-inside:avoid;transition:box-shadow .3s ease-in-out,transform .3s cubic-bezier(.18,.14,.25,1)}.wp-story-container figure{transition:transform .3s cubic-bezier(.18,.14,.25,1)}.wp-story-container:hover{box-shadow:0 4px 12px #0000004d;transform:scale3d(1.03,1.03,1)}.wp-story-container:hover figure{transform:scale3d(1.07,1.07,1)}.wp-story-container button{background-color:#0000;border:0;box-shadow:none;cursor:pointer;outline-width:0;text-shadow:none}.wp-story-container.wp-story-initialized{opacity:1}.wp-story-container.wp-story-clickable{cursor:pointer}.wp-story-container .wp-story-slide,.wp-story-container .wp-story-wrapper{line-height:normal;list-style-type:none;margin:0;padding:0}.wp-story-container .wp-story-wrapper{background-color:#0e1112;border-radius:15px;bottom:0;display:block;height:100%;left:0;position:absolute;right:0;top:0;z-index:-1}.wp-story-container .wp-story-slide{display:flex;height:100%;width:100%}.wp-story-container .wp-story-slide figure{align-items:center;display:flex;height:100%;justify-content:center;margin:0;object-fit:contain;overflow:hidden;position:relative;width:100%}.wp-story-container .wp-story-slide.is-loading{align-items:center;background-color:#484542;justify-content:center;position:absolute;z-index:1}.wp-story-container .wp-story-slide.is-loading.semi-transparent{background-color:rgba(72,69,66,.498)}.wp-story-container .wp-story-slide.is-loading.transparent{background-color:#0000}@keyframes rotate-spinner{to{transform:rotate(1turn)}}.wp-story-container .wp-story-slide.is-loading .wp-story-loading-spinner{align-items:center;display:flex}.wp-story-container .wp-story-slide.is-loading .wp-story-loading-spinner__inner,.wp-story-container .wp-story-slide.is-loading .wp-story-loading-spinner__outer{animation:3s linear infinite;animation-name:rotate-spinner;border:.1em solid #0000;border-radius:50%;box-sizing:border-box;margin:auto}.wp-story-container .wp-story-slide.is-loading .wp-story-loading-spinner__outer{border-top-color:#fff;font-size:40px;height:40px;width:40px}.wp-story-container .wp-story-slide.is-loading .wp-story-loading-spinner__inner{border-right-color:#c4c4c4;border-top-color:#c4c4c4;height:100%;opacity:.4;width:100%}.wp-story-container .wp-story-image,.wp-story-container .wp-story-video{border:0;display:block;height:auto;margin:0;max-height:100%;max-width:100%;width:auto}.wp-story-container .wp-story-image.wp-story-crop-wide,.wp-story-container .wp-story-video.wp-story-crop-wide{max-width:revert}.wp-story-container .wp-story-image.wp-story-crop-narrow,.wp-story-container .wp-story-video.wp-story-crop-narrow{max-height:revert}.wp-story-container .wp-story-controls,.wp-story-container .wp-story-meta{display:none}.wp-story-container .wp-story-overlay{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;width:100%;z-index:1}.wp-story-container .wp-story-overlay .wp-story-button-play,.wp-story-container .wp-story-overlay .wp-story-button-replay{cursor:pointer}.wp-story-container .wp-story-overlay .wp-story-embed-icon,.wp-story-container .wp-story-overlay .wp-story-embed-icon-expand{align-items:center;background-color:#00000080;border-radius:5px;color:#fff;display:flex;margin:15px;padding:5px 3px;position:absolute;right:0;top:0}.wp-story-container .wp-story-overlay .wp-story-embed-icon *,.wp-story-container .wp-story-overlay .wp-story-embed-icon-expand *{margin:0 2px}.wp-story-container .wp-story-overlay .wp-story-embed-icon svg,.wp-story-container .wp-story-overlay .wp-story-embed-icon-expand svg{fill:#fff;height:20px;width:20px}.wp-story-container .wp-story-overlay .wp-story-embed-icon span,.wp-story-container .wp-story-overlay .wp-story-embed-icon-expand span{color:#fff;font-family:sans-serif;font-size:16px;font-weight:600;line-height:20px}.wp-story-container .wp-story-overlay .wp-story-embed-icon-expand{background-color:#0000}.wp-story-container .wp-story-overlay .wp-story-embed-icon-expand svg{filter:drop-shadow(0 0 2px rgba(0,0,0,.6))}.wp-story-container.wp-story-disabled .wp-story-overlay,.wp-story-container.wp-story-ended .wp-story-overlay{background-color:#fff6}.wp-story-container .wp-story-next-slide,.wp-story-container .wp-story-prev-slide{display:none;position:absolute}.wp-story-container .wp-story-next-slide button,.wp-story-container .wp-story-prev-slide button{border-width:0}.wp-story-container .wp-story-next-slide button:hover,.wp-story-container .wp-story-prev-slide button:hover{border-width:2px}.wp-story-container .wp-story-prev-slide{left:-84px;margin:auto}.wp-story-container .wp-story-next-slide{margin:auto;right:-84px}.wp-story-container .wp-story-pagination{position:absolute;text-align:center;z-index:2}.wp-story-container .wp-story-pagination-bullets{bottom:0;display:flex;left:0;margin:7px 10px;overflow:hidden;position:absolute;right:0;top:auto;transition:flex-basis 1s ease-in-out}.wp-story-container .wp-story-pagination-bullets .wp-story-pagination-bullet{flex:1;justify-content:space-between;margin:0 2px;opacity:1;padding:6px 0;vertical-align:top}.wp-story-container .wp-story-pagination-bullets .wp-story-pagination-bullet .wp-story-pagination-bullet-bar{background:#fff9;height:4px;min-width:12px;width:100%}.wp-story-container .wp-story-pagination-bullets .wp-story-pagination-bullet .wp-story-pagination-bullet-bar-progress{background-color:#fff;height:4px;opacity:1;transition:width .1s ease;width:0}.wp-story-container .wp-story-pagination-bullets .wp-story-pagination-ellipsis{flex:0 0 4px}.wp-story-container .wp-story-pagination-bullets .wp-story-pagination-ellipsis .wp-story-pagination-bullet-bar{min-width:6px}.wp-story-container .wp-story-controls{bottom:30px;display:none;flex-direction:row;justify-content:space-between;margin:0 10px;position:absolute;width:64px;z-index:3}@media(max-width:782px){.wp-story-container .wp-story-controls{bottom:50px;margin:0 16px}}.wp-story-container.wp-story-with-controls{border-radius:0;box-shadow:none!important;overflow:visible;transition:none!important}.wp-story-container.wp-story-with-controls .wp-story-wrapper{border-radius:15px;box-shadow:0 2px 12px #00000040;overflow:hidden}.wp-story-container.wp-story-with-controls figure{transform:none!important;transition:none!important}.wp-story-container.wp-story-with-controls:hover{box-shadow:none!important;transform:none!important}.wp-story-container.wp-story-with-controls:hover figure{transform:none}.wp-story-container.wp-story-with-controls .wp-story-next-slide,.wp-story-container.wp-story-with-controls .wp-story-prev-slide{display:block}.wp-story-container.wp-story-with-controls .wp-story-prev-slide{left:-48px;margin:auto}.wp-story-container.wp-story-with-controls .wp-story-next-slide{margin:auto;right:-48px}.wp-story-container.wp-story-with-controls .wp-story-controls{display:flex}@media(max-width:782px){.wp-story-container.wp-story-with-controls .wp-story-controls{bottom:30px;margin:0 10px}}.wp-story-fullscreen.wp-story-app{bottom:0;height:100%;left:0;margin:0;max-width:100%!important;padding:0;position:fixed;right:0;top:0;transform:translateZ(0);-webkit-user-select:none;user-select:none;width:100%!important;z-index:9999999999;-webkit-touch-callout:none}.wp-story-fullscreen.wp-story-container{border-radius:0;box-shadow:none;height:100%;margin:auto;max-height:100%;max-width:100%;overflow:initial;width:100%}.wp-story-fullscreen.wp-story-container,.wp-story-fullscreen.wp-story-container figure{transform:none;transition:none!important}.wp-story-fullscreen.wp-story-container:focus{outline:none}.wp-story-fullscreen.wp-story-container:before{box-shadow:none}.wp-story-fullscreen.wp-story-container:before:hover{opacity:0;transition:none!important}.wp-story-fullscreen.wp-story-container .wp-story-wrapper{border-radius:0;height:auto;margin-bottom:84px;margin-top:84px;overflow:initial}@media(max-width:782px){.wp-story-fullscreen.wp-story-container .wp-story-wrapper{margin-bottom:0;margin-top:0}}.wp-story-fullscreen.wp-story-container .wp-story-slide{height:100%;width:auto}.wp-story-fullscreen.wp-story-container .wp-story-slide.is-loading{width:100%}.wp-story-fullscreen.wp-story-container .wp-story-meta{align-items:center;color:#fff;display:flex;flex-direction:row;font-family:sans-serif;line-height:20px;padding:20px 0}@media(max-width:782px){.wp-story-fullscreen.wp-story-container .wp-story-meta{background:#000;background:linear-gradient(180deg,#000000a1,#0000);padding:16px}}.wp-story-fullscreen.wp-story-container .wp-story-meta .wp-story-icon{background-color:#fff;border:2px solid #fff;border-radius:4px;flex-shrink:0;height:40px;margin:0 16px 0 0;width:40px}.wp-story-fullscreen.wp-story-container .wp-story-meta .wp-story-icon img{height:100%;text-align:center;width:100%}@media(max-width:782px){.wp-story-fullscreen.wp-story-container .wp-story-meta .wp-story-icon{height:24px;margin:0 12px 0 0;width:24px}}.wp-story-fullscreen.wp-story-container .wp-story-meta .wp-story-title{display:-webkit-box;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical}@media(max-width:782px){.wp-story-fullscreen.wp-story-container .wp-story-meta .wp-story-title{font-size:12px}}.wp-story-fullscreen.wp-story-container .wp-story-meta .wp-story-exit-fullscreen{margin-left:auto;min-height:24px;min-width:24px;order:3}.wp-story-fullscreen.wp-story-container .wp-story-overlay{margin-bottom:84px;margin-top:84px}.wp-story-fullscreen.wp-story-container .wp-story-overlay .wp-story-embed-icon,.wp-story-fullscreen.wp-story-container .wp-story-overlay .wp-story-embed-icon-expand{display:none}@media(max-width:782px){.wp-story-fullscreen.wp-story-container .wp-story-overlay{bottom:76px;margin-bottom:0;margin-top:0;top:76px}.wp-story-fullscreen.wp-story-container.wp-story-disabled .wp-story-overlay,.wp-story-fullscreen.wp-story-container.wp-story-ended .wp-story-overlay{bottom:0;top:0}}.wp-story-fullscreen.wp-story-container .wp-story-next-slide,.wp-story-fullscreen.wp-story-container .wp-story-prev-slide{display:block}@media(max-width:782px){.wp-story-fullscreen.wp-story-container .wp-story-next-slide,.wp-story-fullscreen.wp-story-container .wp-story-prev-slide{bottom:0;display:block;height:100%;position:absolute;top:0}.wp-story-fullscreen.wp-story-container .wp-story-next-slide button,.wp-story-fullscreen.wp-story-container .wp-story-prev-slide button{display:none}.wp-story-fullscreen.wp-story-container .wp-story-prev-slide{left:0;width:33.33%}.wp-story-fullscreen.wp-story-container .wp-story-next-slide{right:0;width:66.66%}}.wp-story-fullscreen.wp-story-container .wp-story-controls{bottom:20px;display:flex;flex-direction:row;justify-content:space-between;margin:0;position:absolute;width:88px}@media(max-width:782px){.wp-story-fullscreen.wp-story-container .wp-story-controls{bottom:36px;margin:0 16px}}.wp-story-fullscreen.wp-story-container .wp-story-pagination-bullets{bottom:42px;display:flex;margin:0;padding:14px 0;position:absolute;top:auto}.wp-story-fullscreen.wp-story-container .wp-story-pagination-bullets .wp-story-pagination-bullet{justify-content:space-between}.wp-story-fullscreen.wp-story-container .wp-story-pagination-bullets .wp-story-pagination-bullet:first-child{margin-left:0}.wp-story-fullscreen.wp-story-container .wp-story-pagination-bullets .wp-story-pagination-bullet:last-child{margin-right:0}@media(max-width:782px){.wp-story-fullscreen.wp-story-container .wp-story-pagination-bullets{bottom:0;padding:10px 16px}}.wp-story-background{background-color:#0e1112;bottom:0;display:block;left:0;position:absolute;right:0;top:0;z-index:-2}.wp-story-background svg{height:0;width:0}.wp-story-background img{height:100%;width:100%}.wp-story-background .wp-story-background-dark{bottom:0;left:0;opacity:.12;position:absolute;right:0;top:0}@supports((-webkit-backdrop-filter:none) or (backdrop-filter:none)){.wp-story-background .wp-story-background-dark{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}}.wp-story-background .wp-story-background-image{background-position:0;background-repeat:no-repeat;background-size:100% auto;display:none;height:100%;width:100%}@supports not ((-webkit-backdrop-filter:none) or (backdrop-filter:none)){.wp-story-background .wp-story-background-image{filter:blur(18px);filter:url(#gaussian-blur-18);filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius="18")}}.wp-story-background .wp-story-background-blur{background-color:rgba(14,17,18,.878);bottom:0;left:0;position:absolute;right:0;top:0}@supports((-webkit-backdrop-filter:none) or (backdrop-filter:none)){.wp-story-background .wp-story-background-blur{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}}html.wp-story-in-fullscreen{overflow:hidden;scroll-behavior:auto}body.wp-story-in-fullscreen{height:100%;overflow:hidden;padding-right:15px;position:fixed;width:100%}.wp-block-jetpack-story__add-item{margin-top:4px;width:100%}.wp-block-jetpack-story__add-item .components-button.wp-block-jetpack-story__add-item-button,.wp-block-jetpack-story__add-item .components-form-file-upload{height:100%;width:100%}.wp-block-jetpack-story__add-item .components-button.wp-block-jetpack-story__add-item-button{border:none;border-radius:0;box-shadow:none;display:flex;flex-direction:column;justify-content:center;min-height:100px}.wp-block-jetpack-story__add-item .components-button.wp-block-jetpack-story__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-story__add-item .components-button.wp-block-jetpack-story__add-item-button:focus,.wp-block-jetpack-story__add-item .components-button.wp-block-jetpack-story__add-item-button:hover{border:1px solid #949494}.wp-story-container .wp-story-next-slide button,.wp-story-container .wp-story-prev-slide button{background-color:#0000;border:1px solid #50575e;color:#50575e;height:36px!important;outline:0;width:36px!important}.wp-story-container .wp-story-next-slide button:hover,.wp-story-container .wp-story-prev-slide button:hover{background-color:#0000;border:1px solid #50575e}.wp-story-container .wp-story-next-slide button:hover i,.wp-story-container .wp-story-prev-slide button:hover i{color:#3381b8}.jetpack-inspector-notice span.jetpack-subscribe-notice-visibility{margin:0;padding:0;width:100%}.jetpack-newsletter-link{text-decoration:none}.jetpack-newsletter-access-radio-buttons input[type=radio]{flex-shrink:0}.jetpack-newsletter-access-radio-buttons label{text-wrap:balance}.jetpack-subscribe-newsletters-panel .edit-post-post-misconfiguration__warning{font-size:12px;margin:0}.jetpack-subscribe-newsletters-panel .edit-post-post-misconfiguration__warning .components-notice__content{margin-right:0}.jetpack-editor-post-tiers{padding-left:35px;padding-top:5px}.jetpack-subscribe-affirmation-loading{background:#ccc;color:#ccc}.is-style-compact .is-not-subscriber .wp-block-button__link,.is-style-compact .is-not-subscriber .wp-block-jetpack-subscriptions__button{border-end-start-radius:0!important;border-start-start-radius:0!important;margin-inline-start:0!important}.is-style-compact .is-not-subscriber .components-text-control__input,.is-style-compact .is-not-subscriber p#subscribe-email input[type=email]{border-end-end-radius:0!important;border-start-end-radius:0!important}.is-style-compact:not(.wp-block-jetpack-subscriptions__use-newline) .components-text-control__input{border-inline-end-width:0!important}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form-container{display:flex;flex-direction:column}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline:not(.wp-block-jetpack-subscriptions__use-newline) .is-not-subscriber .wp-block-jetpack-subscriptions__form-elements{align-items:flex-start;display:flex}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline:not(.wp-block-jetpack-subscriptions__use-newline) p#subscribe-submit{display:flex;justify-content:center}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form .wp-block-jetpack-subscriptions__button,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form .wp-block-jetpack-subscriptions__textfield .components-text-control__input,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form button,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form input[type=email],.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form .wp-block-jetpack-subscriptions__button,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form .wp-block-jetpack-subscriptions__textfield .components-text-control__input,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form button,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form input[type=email]{box-sizing:border-box;cursor:pointer;line-height:1.3;min-width:auto!important;white-space:nowrap!important}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form input[type=email]::placeholder,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form input[type=email]:disabled,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form input[type=email]::placeholder,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form input[type=email]:disabled{color:currentColor;opacity:.5}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form .wp-block-jetpack-subscriptions__button,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form button,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form .wp-block-jetpack-subscriptions__button,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form button{border-color:#0000;border-style:solid}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form .wp-block-jetpack-subscriptions__textfield,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form p#subscribe-email,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form .wp-block-jetpack-subscriptions__textfield,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form p#subscribe-email{background:#0000;flex-grow:1}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form .wp-block-jetpack-subscriptions__textfield .components-base-control__field,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form .wp-block-jetpack-subscriptions__textfield .components-text-control__input,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form .wp-block-jetpack-subscriptions__textfield input[type=email],.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form p#subscribe-email .components-base-control__field,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form p#subscribe-email .components-text-control__input,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form p#subscribe-email input[type=email],.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form .wp-block-jetpack-subscriptions__textfield .components-base-control__field,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form .wp-block-jetpack-subscriptions__textfield .components-text-control__input,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form .wp-block-jetpack-subscriptions__textfield input[type=email],.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form p#subscribe-email .components-base-control__field,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form p#subscribe-email .components-text-control__input,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form p#subscribe-email input[type=email]{height:auto;margin:0;width:100%}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form p#subscribe-email,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline .wp-block-jetpack-subscriptions__form p#subscribe-submit,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form p#subscribe-email,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline form p#subscribe-submit{line-height:0;margin:0;padding:0}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__show-subs .wp-block-jetpack-subscriptions__subscount{font-size:16px;margin:8px 0;text-align:end}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__form-elements{display:block}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__button,.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline button{display:inline-block;max-width:100%}.wp-block-jetpack-subscriptions.wp-block-jetpack-subscriptions__supports-newline.wp-block-jetpack-subscriptions__use-newline .wp-block-jetpack-subscriptions__subscount{text-align:start}#subscribe-submit.is-link{text-align:center;width:auto!important}#subscribe-submit.is-link a{margin-left:0!important;margin-top:0!important;width:auto!important}.jetpack-inspector-notice{align-items:center;background:#f0f0f0;border-radius:4px;display:flex;justify-content:space-between;margin:0 16px 24px;padding:24px}.jetpack-inspector-notice>.jetpack-logo{margin-left:12px}.components-tab-panel__tab-content div:first-child .jetpack-inspector-notice{margin-top:24px}.jetpack-newsletter-test-email-modal__email-sent{color:#2fb41f}.jetpack-newsletter-test-email-modal__email-sent svg{fill:#2fb41f}.jetpack-newsletter-preview-modal h1{flex-shrink:0}.jetpack-subscribe-post-publish-panel .jetpack-inspector-notice,.jetpack-subscribe-pre-publish-panel .jetpack-inspector-notice{margin:0}.jetpack-subscribe-post-publish-panel .jetpack-subscribe-reader-count,.jetpack-subscribe-pre-publish-panel .jetpack-subscribe-reader-count{font-weight:700;white-space:nowrap}.jetpack-subscribe-post-publish-panel__heading,.jetpack-subscribe-pre-publish-panel__heading{font-weight:400;margin-inline-start:3px}.jetpack-subscribe-post-publish-panel .components-notice__content,.jetpack-subscribe-pre-publish-panel .components-notice__content{margin-top:0}.jetpack-subscribe-post-publish-panel__notice.components-notice,.jetpack-subscribe-pre-publish-panel__notice.components-notice{margin:0;padding:0}.jetpack-subscribe-post-publish-panel__notice.components-notice.is-info,.jetpack-subscribe-pre-publish-panel__notice.components-notice.is-info{border-inline-start-color:#fff}.jetpack-subscribe-post-publish-panel__notice.components-notice.is-info a,.jetpack-subscribe-pre-publish-panel__notice.components-notice.is-info a{text-decoration:underline}.paid-newsletters-post-publish-panel__external_icon{height:1.55em;margin:-.2em .1em 0;vertical-align:middle;fill:currentColor}.paid-newsletters-post-publish-panel .post-publish-panel__postpublish-buttons .components-button{padding-bottom:.4em;padding-top:.5em}.paid-newsletters-post-publish-panel .components-panel__body-toggle svg{margin:0 0 0 .5em}.paid-newsletters-post-publish-panel p{margin-top:0}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__item img,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item img{border-radius:50%}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row{flex-grow:1;width:100%}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-1 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-1 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-1 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-1 .tiled-gallery__col{width:100%}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-2 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-2 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-2 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-2 .tiled-gallery__col{width:calc(50% - 2px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-3 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-3 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-3 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-3 .tiled-gallery__col{width:calc(33.33333% - 2.66667px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-4 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-4 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-4 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-4 .tiled-gallery__col{width:calc(25% - 3px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-5 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-5 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-5 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-5 .tiled-gallery__col{width:calc(20% - 3.2px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-6 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-6 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-6 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-6 .tiled-gallery__col{width:calc(16.66667% - 3.33333px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-7 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-7 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-7 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-7 .tiled-gallery__col{width:calc(14.28571% - 3.42857px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-8 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-8 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-8 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-8 .tiled-gallery__col{width:calc(12.5% - 3.5px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-9 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-9 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-9 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-9 .tiled-gallery__col{width:calc(11.11111% - 3.55556px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-10 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-10 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-10 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-10 .tiled-gallery__col{width:calc(10% - 3.6px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-11 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-11 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-11 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-11 .tiled-gallery__col{width:calc(9.09091% - 3.63636px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-12 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-12 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-12 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-12 .tiled-gallery__col{width:calc(8.33333% - 3.66667px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-13 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-13 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-13 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-13 .tiled-gallery__col{width:calc(7.69231% - 3.69231px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-14 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-14 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-14 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-14 .tiled-gallery__col{width:calc(7.14286% - 3.71429px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-15 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-15 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-15 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-15 .tiled-gallery__col{width:calc(6.66667% - 3.73333px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-16 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-16 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-16 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-16 .tiled-gallery__col{width:calc(6.25% - 3.75px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-17 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-17 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-17 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-17 .tiled-gallery__col{width:calc(5.88235% - 3.76471px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-18 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-18 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-18 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-18 .tiled-gallery__col{width:calc(5.55556% - 3.77778px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-19 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-19 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-19 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-19 .tiled-gallery__col{width:calc(5.26316% - 3.78947px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__row.columns-20 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__row.columns-20 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-20 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-20 .tiled-gallery__col{width:calc(5% - 3.8px)}.wp-block-jetpack-tiled-gallery .is-style-circle .tiled-gallery__item img,.wp-block-jetpack-tiled-gallery .is-style-square .tiled-gallery__item img,.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item img,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__item img{aspect-ratio:1}.wp-block-jetpack-tiled-gallery .is-style-columns .tiled-gallery__item,.wp-block-jetpack-tiled-gallery .is-style-rectangular .tiled-gallery__item,.wp-block-jetpack-tiled-gallery.is-style-columns .tiled-gallery__item,.wp-block-jetpack-tiled-gallery.is-style-rectangular .tiled-gallery__item{display:flex}.wp-block-jetpack-tiled-gallery .has-rounded-corners-1 .tiled-gallery__item img{border-radius:1px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-2 .tiled-gallery__item img{border-radius:2px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-3 .tiled-gallery__item img{border-radius:3px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-4 .tiled-gallery__item img{border-radius:4px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-5 .tiled-gallery__item img{border-radius:5px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-6 .tiled-gallery__item img{border-radius:6px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-7 .tiled-gallery__item img{border-radius:7px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-8 .tiled-gallery__item img{border-radius:8px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-9 .tiled-gallery__item img{border-radius:9px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-10 .tiled-gallery__item img{border-radius:10px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-11 .tiled-gallery__item img{border-radius:11px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-12 .tiled-gallery__item img{border-radius:12px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-13 .tiled-gallery__item img{border-radius:13px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-14 .tiled-gallery__item img{border-radius:14px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-15 .tiled-gallery__item img{border-radius:15px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-16 .tiled-gallery__item img{border-radius:16px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-17 .tiled-gallery__item img{border-radius:17px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-18 .tiled-gallery__item img{border-radius:18px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-19 .tiled-gallery__item img{border-radius:19px}.wp-block-jetpack-tiled-gallery .has-rounded-corners-20 .tiled-gallery__item img{border-radius:20px}.tiled-gallery__gallery{display:flex;flex-wrap:wrap;padding:0;width:100%}.tiled-gallery__row{display:flex;flex-direction:row;justify-content:center;margin:0;width:100%}.tiled-gallery__row+.tiled-gallery__row{margin-top:4px}.tiled-gallery__col{display:flex;flex-direction:column;justify-content:center;margin:0}.tiled-gallery__col+.tiled-gallery__col{margin-inline-start:4px}.tiled-gallery__item{flex-grow:1;justify-content:center;margin:0;overflow:hidden;padding:0;position:relative}.tiled-gallery__item.filter__black-and-white{filter:grayscale(100%)}.tiled-gallery__item.filter__sepia{filter:sepia(100%)}.tiled-gallery__item.filter__1977{filter:contrast(1.1) brightness(1.1) saturate(1.3);position:relative}.tiled-gallery__item.filter__1977 img{width:100%;z-index:1}.tiled-gallery__item.filter__1977:before{z-index:2}.tiled-gallery__item.filter__1977:after,.tiled-gallery__item.filter__1977:before{content:"";display:block;height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.tiled-gallery__item.filter__1977:after{background:#f36abc4d;mix-blend-mode:screen;z-index:3}.tiled-gallery__item.filter__clarendon{filter:contrast(1.2) saturate(1.35);position:relative}.tiled-gallery__item.filter__clarendon img{width:100%;z-index:1}.tiled-gallery__item.filter__clarendon:before{z-index:2}.tiled-gallery__item.filter__clarendon:after,.tiled-gallery__item.filter__clarendon:before{content:"";display:block;height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.tiled-gallery__item.filter__clarendon:after{z-index:3}.tiled-gallery__item.filter__clarendon:before{background:#7fbbe333;mix-blend-mode:overlay}.tiled-gallery__item.filter__gingham{filter:brightness(1.05) hue-rotate(-10deg);position:relative}.tiled-gallery__item.filter__gingham img{width:100%;z-index:1}.tiled-gallery__item.filter__gingham:before{z-index:2}.tiled-gallery__item.filter__gingham:after,.tiled-gallery__item.filter__gingham:before{content:"";display:block;height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.tiled-gallery__item.filter__gingham:after{background:#e6e6fa;mix-blend-mode:soft-light;z-index:3}.tiled-gallery__item+.tiled-gallery__item{margin-top:4px}.tiled-gallery__item:focus-within{box-shadow:0 0 0 2px var(--wp-admin-theme-color);overflow:visible}.tiled-gallery__item>img{background-color:#0000001a}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;object-fit:cover;object-position:center;padding:0;width:100%}.is-email .tiled-gallery__gallery{display:block}@keyframes tiled-gallery-img-placeholder{0%{background-color:#f6f7f7}50%{background-color:#f6f7f780}to{background-color:#f6f7f7}}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item.is-transient img,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__item.is-transient img{margin-bottom:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__wrapper{padding-left:4px;padding-right:4px}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img:focus{outline:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img{animation:tiled-gallery-img-placeholder 1.6s ease-in-out infinite}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected{filter:none;outline:4px solid #0085ba}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:after,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:before{content:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient{height:100%;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient img{background-position:50%;background-size:cover;height:100%;opacity:.3;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__inline-menu,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__move-menu{background:#fff;border:1px solid #1e1e1e9e;border-radius:2px;transition:box-shadow .2s ease-out}@media(prefers-reduced-motion:reduce){.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__inline-menu,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__move-menu{transition-delay:0s;transition-duration:0s}}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__inline-menu:hover,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__move-menu:hover{box-shadow:0 .7px 1px #0000001a,0 1.2px 1.7px -.2px #0000001a,0 2.3px 3.3px -.5px #0000001a}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__inline-menu .components-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__move-menu .components-button{color:#1e1e1e9e;height:24px;padding:2px}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__inline-menu .components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-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 .wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__inline-menu .components-button,.columns-7 .wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__move-menu .components-button,.columns-8 .wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__inline-menu .components-button,.columns-8 .wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__move-menu .components-button{height:inherit;padding:0;width:inherit}}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__inline-menu .components-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected .tiled-gallery__item__move-menu .components-button:focus{color:inherit}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item{margin-top:4px;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-form-file-upload{width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button{border:none;border-radius:0;box-shadow:none;display:flex;flex-direction:column;justify-content:center;min-height:100px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:hover{border:1px solid #949494}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__move-menu{display:inline-flex;margin:8px;z-index:20}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__move-menu .components-button{color:#0000}@media(min-width:600px){.columns-7 .wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu,.columns-7 .wp-block-jetpack-tiled-gallery .tiled-gallery__item__move-menu,.columns-8 .wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu,.columns-8 .wp-block-jetpack-tiled-gallery .tiled-gallery__item__move-menu{padding:2px}}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu{position:absolute;right:-2px;top:-2px}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__move-menu{left:-2px;position:absolute;top:-2px}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__move-backward,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__move-forward,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__remove{padding:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item .components-spinner{left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%)}.block-editor-block-preview__content .wp-block-jetpack-tiled-gallery .block-editor-media-placeholder{display:none}.tiled-gallery__filter-picker-menu{padding:7px}.tiled-gallery__filter-picker-menu .components-menu-item__button+.components-menu-item__button{margin-top:2px}.tiled-gallery__filter-picker-menu .components-menu-item__button.is-active{box-shadow:0 0 0 2px #949494!important;color:#1e1e1e}.wp-block-jetpack-tock.aligncenter{width:-moz-fit-content;width:fit-content}.jetpack-tock-url-settings{margin:8px}.jetpack-tock-url-input{max-width:300px;min-width:auto;width:90vw}.jetpack-tock-url-input .components-text-control__input{padding:10px 36px 10px 10px}.jetpack-tock-url-instructions{margin:16px}.jetpack-tock-url-input-wrapper{position:relative}.jetpack-tock-url-input-action{position:absolute;right:14px;top:0}.resumable-upload{align-items:flex-start;background:#fff;border:1px solid #1e1e1e;border-radius:2px;box-sizing:border-box;color:#1e1e1e;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:20px 0}.resumable-upload__editor{display:flex;flex-direction:column;justify-content:space-between;width:100%}.resumable-upload__editor-col{padding-left:10px;width:100%}.resumable-upload__editor-col:first-child{padding-left:0}.resumable-upload__editor-thumb-placeholder{align-content:center;aspect-ratio:16/9;background-color:#000;color:#fff;display:flex;flex-direction:column;justify-content:center;margin-bottom:10px;text-align:center;width:100%}.resumable-upload__editor-thumb-placeholder img,.uploading-editor__video{max-height:100%;object-fit:contain}.uploading-editor__video{aspect-ratio:16/9;background-color:#000}.resumable-upload__error,.resumable-upload__status{border-top:1px solid #e0e0e0;box-sizing:border-box;margin-top:24px;width:100%}.resumable-upload__status{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:12px 24px;padding:20px 20px 0}.resumable-upload__error{padding:0 20px}.resumable-upload__file-info{display:flex;flex-direction:row}.resumable-upload__file-size{color:#757575;margin-left:12px}.resumable-upload__progress{background:#d2d2d2;border-radius:4px;box-sizing:border-box;height:8px;max-width:160px;overflow:hidden;width:100%}.resumable-upload__progress-loaded{background:var(--wp-admin-theme-color);color:#fff;height:100%;min-height:8px;text-align:center;transition:width .3s ease}.resumable-upload__select-file{align-items:center;display:flex;flex-direction:row}.resumable-upload__select-file-name{margin-left:12px}.resumable-upload__actions{align-items:center;display:flex;flex-direction:row;justify-content:space-between;justify-self:flex-end;margin-left:auto;width:-moz-fit-content;width:fit-content}.resumable-upload__actions .components-button.is-link{padding:0;text-decoration:none}.resumable-upload__actions .components-button.is-link:focus{box-shadow:none}.resumable-upload__error-text{color:#cc1818;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin-top:16px}.resumable-upload__error-cancel{margin-left:12px;margin-top:16px}.uploading-editor{width:100%}.uploading-editor__title input{margin-left:0;margin-right:0}.uploading-editor__frame-selector{display:flex;flex-direction:column}.uploading-editor__fields{display:block;padding:0 20px}.uploading-editor__content{padding:0 3px}.uploading-editor__video-container{position:relative}.uploading-editor__video-container:hover .uploading-editor__play-icon{opacity:0}.uploading-editor__play-icon{height:130px;left:50%;margin:-65px 0 0 -65px;opacity:1;position:absolute;top:50%;transition:opacity .3s ease-out;width:130px}.resumable-upload__editor-thumb-placeholder .uploading-editor__play-icon{margin-top:-91px}.uploading-editor__scrubber-help{color:#757575}.uploading-editor__upload-link{color:var(--wp-admin-theme-color)!important;cursor:pointer;text-decoration:underline!important}.uploading-editor__video-poster{left:0;object-fit:cover;position:absolute;top:0}.uploading-editor__range{margin-top:-19px}.uploading-editor__range .components-range-control__track{background-color:#272526;border-radius:0;height:8px;opacity:.7}.uploading-editor__range .components-range-control__slider{padding-bottom:0}.uploading-editor__range .components-base-control__field{margin-bottom:0}.uploading-editor__range .components-range-control__wrapper span:first-of-type{background-color:#d9d9d9;border-radius:0;height:8px;opacity:.8}.uploading-editor__range .components-range-control__wrapper span:last-of-type{display:none}.resumable-upload__editor-thumb-placeholder img{object-fit:cover}.poster-selector__buttons{text-align:right}.h2NGkiVs1r1nf85LtJpF{padding:16px}.k3Apzwo3v9n0IaHbB8tf{--spacing-base:8px;margin:0 0 calc(var(--spacing-base)*3) 0}.is-beta{position:relative;transition:box-shadow .5s linear}.is-beta.is-opened{box-shadow:inset 0 0 3px #2fb41f}.is-beta:before{background-color:#2fb41f;border-radius:4px;color:#fff;content:"BETA";font-size:11px;font-weight:600;height:24px;line-height:24px;opacity:1;padding:0 5px;position:absolute;right:16px;top:12px;transition:visibility .5s,opacity .5s linear;visibility:visible;z-index:10000}.is-beta:focus,.is-beta:hover{box-shadow:none}.is-beta:focus:before,.is-beta:hover:before{opacity:0;visibility:hidden}.no-videopress-media-placeholder .components-placeholder__fieldset{align-items:flex-start;flex-direction:row-reverse;justify-content:flex-end}.no-videopress-media-placeholder .components-placeholder__fieldset button{display:none}.no-videopress-media-placeholder .components-placeholder__fieldset .block-editor-media-placeholder__url-input-container button,.no-videopress-media-placeholder .components-placeholder__fieldset .no-videopress-disabled-button{display:inline-flex}.no-videopress-media-placeholder .components-placeholder__fieldset .no-videopress-disabled-button:last-child{margin-right:12px}.videopress-block-hide{display:none}.seekbar-color-settings__panel .components-panel__body.is-opened{padding:0}.seekbar-color-settings__panel .components-panel__body{border-top:none}.videopress-block-tracks-editor>.components-popover__content{width:360px}.videopress-block-tracks-editor__track-list-track{align-items:center;display:flex;min-height:23px;padding:4px 0 4px 12px;place-content:space-between}.videopress-block-tracks-editor__track-list-track-delete{align-items:center;display:flex}.videopress-block-tracks-editor__single-track-editor-label-language{display:flex;margin-top:12px}.videopress-block-tracks-editor__single-track-editor-label-language>.components-base-control{width:50%}.videopress-block-tracks-editor__single-track-editor-label-language>.components-base-control:first-child{margin-right:16px}.videopress-block-tracks-editor__single-track-editor-kind-select{max-width:240px}.videopress-block-tracks-editor__single-track-editor-buttons-container{display:flex;margin-top:32px;min-height:36px;place-content:space-between}.videopress-block-tracks-editor__single-track-editor-upload-file-help{color:#757575;font-size:12px;margin-top:12px}.videopress-block-tracks-editor__single-track-editor-label{color:#757575;display:block;font-size:11px;font-weight:500;margin-bottom:12px;margin-top:4px;text-transform:uppercase}.videopress-block-tracks-editor>.components-popover__content>div,.videopress-block-tracks-editor__add-tracks-container .components-menu-group__label,.videopress-block-tracks-editor__track-list .components-menu-group__label{padding:0}.videopress-block-tracks-editor__add-tracks-container,.videopress-block-tracks-editor__single-track-editor,.videopress-block-tracks-editor__track-list{padding:12px}.videopress-block-tracks-editor__single-track-editor .components-base-control .components-base-control__label{margin-bottom:4px}.videopress-block-tracks-editor__single-track-editor .components-base-control .components-base-control__field{margin-bottom:12px}.videopress-block-tracks-editor__single-track-editor .components-base-control .components-text-control__input{margin-left:0}.videopress-block-tracks-editor__single-track-editor .components-base-control .components-input-control__label{margin-bottom:4px}.videopress-block-tracks-editor__single-track-editor-upload-file-label{display:flex}.videopress-block-tracks-editor__single-track-editor-upload-file-label .components-form-file-upload,.videopress-block-tracks-editor__single-track-editor-upload-file-label .videopress-block-tracks-editor__single-track-editor-upload-file-label-name{margin-inline-start:8px}.videopress-block-tracks-editor__single-track-editor-error{color:#cc1818;padding:12px 0}.uploader-block__logo{align-items:center;display:flex;flex-direction:row;font-size:24px;line-height:29px;margin-bottom:12px;padding:0 20px}.uploader-block__logo-text{margin-left:10px}.uploader-block__upload-complete{align-items:center;border-top:1px solid #e0e0e0;box-sizing:border-box;display:flex;justify-content:space-between;margin-top:24px;padding:20px 20px 0;width:100%}[data-type="jetpack/wordads"][data-align=center] .jetpack-wordads__ad{margin:0 auto}.jetpack-wordads__ad{display:flex;flex-direction:column;max-width:100%;overflow:hidden}.jetpack-wordads__ad .components-placeholder{flex-grow:2}.jetpack-wordads__ad .components-toggle-control__label{line-height:1.4em}.jetpack-wordads__ad .components-base-control__field,.wp-block-jetpack-wordads__format-picker{padding:7px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button+.components-menu-item__button{margin-top:2px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button.is-active{box-shadow:0 0 0 2px #949494!important;color:#1e1e1e}.jetpack-wordads__mobile-visibility{margin-top:20px}.wp-block-jetpack-payments-intro .components-placeholder__fieldset{flex-direction:column}.wp-block-jetpack-payments-intro .components-placeholder__fieldset>p,.wp-block-jetpack-payments-intro .components-placeholder__instructions{margin-bottom:0}.wp-payments-intro-pattern-picker__opener{margin-top:16px;width:min-content}.wp-block-jetpack-payments-intro__pattern-picker-selection-content .block-editor-block-patterns-list{display:grid;grid-template-columns:1fr 1fr 1fr;grid-gap:8px}.wp-block-jetpack-payments-intro__pattern-picker-selection-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item{margin-bottom:0}.wp-block-jetpack-payments-intro__pattern-picker-selection-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item .block-editor-block-preview__container{max-height:250px}.wp-block-jetpack-payments-intro__pattern-picker__selection-modal .components-modal__content{overflow:hidden;padding:0}.wp-block-jetpack-payments-intro__pattern-picker__selection-modal .components-modal__content:before{margin-bottom:0}@media(min-width:600px){.wp-block-jetpack-payments-intro__pattern-picker__selection-modal{height:calc(100% - 120px);width:calc(100% - 32px)}}@media(min-width:782px){.wp-block-jetpack-payments-intro__pattern-picker__selection-modal{width:750px}}@media(min-width:960px){.wp-block-jetpack-payments-intro__pattern-picker__selection-modal{height:80%;max-height:none;width:80%}}.wp-block-jetpack-payments-intro__variation-picker.wp-block-jetpack-payments-intro__variation-picker{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;list-style:none;margin:16px 0;padding:0;width:100%}.wp-block-jetpack-payments-intro__variation-picker.wp-block-jetpack-payments-intro__variation-picker>li{flex-shrink:1;list-style:none;margin:8px 20px 0 0;text-align:center;width:75px}.wp-block-jetpack-payments-intro__variation-picker.wp-block-jetpack-payments-intro__variation-picker>li button{display:inline-flex;margin-right:0}.wp-block-jetpack-payments-intro__variation-picker.wp-block-jetpack-payments-intro__variation-picker .wp-block-jetpack-payments-intro__variation-picker__variation{padding:8px}.wp-block-jetpack-payments-intro__variation-picker.wp-block-jetpack-payments-intro__variation-picker .wp-block-jetpack-payments-intro__variation-picker__variation-label{display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:12px;line-height:1.4}.wp-block-jetpack-payments-intro__variation-picker__variation{width:100%}.wp-block-jetpack-payments-intro__variation-picker__variation.components-button.has-icon{justify-content:center;width:auto}.wp-block-jetpack-payments-intro__variation-picker__variation.components-button.has-icon.is-secondary{background-color:#fff}.wp-block-jetpack-payments-intro__variation-picker__variation.components-button{height:auto;padding:0}.wp-block-jetpack-payments-intro__variation-picker__variation:before{content:"";padding-bottom:100%}.wp-block-jetpack-payments-intro__variation-picker__variation:first-child{margin-inline-start:0}.wp-block-jetpack-payments-intro__variation-picker__variation:last-child{margin-inline-end:0}.post-publish-qr-post-panel .components-panel__body-toggle>svg{margin-left:5px}.post-publish-qr-post-panel .components-panel__row .components-button{flex-grow:1;justify-content:center;margin:5px;padding:3px 10px 4px;text-align:center}.qr-post-modal__qr-code{display:flex;justify-content:center}.qr-post-jetpack-logo{display:none}.editor-styles-wrapper .wp-block-jetpack-payment-buttons{--jetpack-payment-buttons-gap:0.5em}.editor-styles-wrapper .wp-block-jetpack-payment-buttons.is-layout-flex{display:flex;gap:var(--jetpack-payment-buttons-gap)}.editor-styles-wrapper .wp-block-jetpack-payment-buttons.is-layout-flex .is-layout-flex{display:flex}.editor-styles-wrapper .wp-block-jetpack-payment-buttons .wp-block-jetpack-recurring-payments{margin:0;width:auto}.editor-styles-wrapper .wp-block-jetpack-payment-buttons .wp-block-button__link{width:100%}.components-placeholder.jetpack-payment-buttons__upgrade-nudge{margin-bottom:16px}.editor-styles-wrapper .wp-block-jetpack-payment-buttons.has-custom-font-size .wp-block-jetpack-button .wp-block-button__link:not(.has-custom-font-size){font-size:inherit}.wp-block-jetpack-paywall-block{align-items:center;color:currentColor;display:flex;opacity:.8}.wp-block-jetpack-paywall-block span{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:0 8px;text-align:center;text-transform:uppercase;-webkit-user-select:"none";user-select:"none";white-space:nowrap}.wp-block-jetpack-paywall-block span svg{vertical-align:text-top;fill:currentColor}.wp-block-jetpack-paywall-block:after,.wp-block-jetpack-paywall-block:before{background:currentColor;content:"";flex:1;height:1px;margin:auto;opacity:.5}.block-editor-block-inspector .jetpack-subscribe-newsletters-panel .components-base-control{margin-bottom:0}.wp-block-jetpack-blogroll h3+div .jetpack-blogroll-item-divider{display:none}.wp-block-jetpack-blogroll .jetpack-blogroll-item-divider{border-style:solid;border-width:1px 0 0;margin-block-end:0;margin-block-start:0;opacity:.2;width:100%}.wp-block-jetpack-blogroll .wp-block-jetpack-blogroll-item{display:flex;font-style:normal;font-weight:400;gap:20px;padding:20px 0}.wp-block-jetpack-blogroll .wp-block-jetpack-blogroll-item figure{align-self:flex-start;height:48px;margin:0;width:48px}.wp-block-jetpack-blogroll .wp-block-jetpack-blogroll-item figure.empty-site-icon{background:url(images/placeholder-site-icon-5bb955c1d041bc2adfc9.svg);background-size:cover}.wp-block-jetpack-blogroll .wp-block-jetpack-blogroll-item figure.empty-site-icon .blogroll-item-image{display:none}.wp-block-jetpack-blogroll .wp-block-jetpack-blogroll-item .blogroll-item-image{border-radius:50%;height:48px;max-width:48px;width:48px}.wp-block-jetpack-blogroll .wp-block-jetpack-blogroll-item p.jetpack-blogroll-item-title.rich-text{color:inherit;font-weight:700;margin:0}.wp-block-jetpack-blogroll .wp-block-jetpack-blogroll-item .jetpack-blogroll-item-content{align-self:flex-start}.wp-block-jetpack-blogroll .wp-block-jetpack-blogroll-item .jetpack-blogroll-item-description{word-break:break-word}.jetpack-blogroll__appender-results{padding:0 18px 18px}.jetpack-blogroll__appender-results .jetpack-blogroll__appender-result-list-header-text{color:#757575;font-size:11px;line-height:16px;padding:6px 0;text-transform:uppercase}.jetpack-blogroll__appender-results .jetpack-blogroll__appender-no-results-message{align-items:flex-start;display:flex;flex-direction:column;gap:2px;justify-content:center;overflow:hidden}.jetpack-blogroll__appender-results .jetpack-blogroll__appender-no-results-message-main-text{color:#101517;font-size:14px;font-weight:500;letter-spacing:-.15px;line-height:20px}.jetpack-blogroll__appender-results .jetpack-blogroll__appender-no-results-message-secondary-text{color:#757575;font-size:12px;font-weight:400;line-height:16px}.jetpack-blogroll__appender-results>ul{list-style:none;margin:0;max-height:200px;overflow-y:auto;padding-left:0!important}.jetpack-blogroll__appender-results>ul .jetpack-blogroll__appender-result-container{margin:0}.jetpack-blogroll__appender-results>ul .jetpack-blogroll__appender-result-container button{align-items:center;align-self:stretch;background:none;border:none;cursor:pointer;display:flex;gap:12px;padding:8px 4px;text-decoration:none;width:100%}.jetpack-blogroll__appender-results>ul .jetpack-blogroll__appender-result-container button[disabled]{background:#f6f7f7;cursor:not-allowed}.jetpack-blogroll__appender-results>ul .jetpack-blogroll__appender-result-container button[disabled]>*{opacity:.5}.jetpack-blogroll__appender-results>ul .jetpack-blogroll__appender-result-container .jetpack-blogroll__appender-result-image{flex-shrink:0;height:40px;width:40px}.jetpack-blogroll__appender-results>ul .jetpack-blogroll__appender-result-container .jetpack-blogroll__appender-result-image.empty-site-icon{background:url(images/placeholder-site-icon-5bb955c1d041bc2adfc9.svg);background-size:cover}.jetpack-blogroll__appender-results>ul .jetpack-blogroll__appender-result-container .jetpack-blogroll__appender-result-image.empty-site-icon img{display:none}.jetpack-blogroll__appender-results>ul .jetpack-blogroll__appender-result-container .jetpack-blogroll__appender-result-image img{border-radius:50%;height:40px;width:40px}.jetpack-blogroll__appender-results>ul .jetpack-blogroll__appender-result-container .jetpack-blogroll__appender-result-text{align-items:flex-start;display:flex;flex-direction:column;gap:2px;justify-content:center;overflow:hidden;text-align:left}.jetpack-blogroll__appender-results>ul .jetpack-blogroll__appender-result-container .jetpack-blogroll__appender-result-text>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.jetpack-blogroll__appender-results>ul .jetpack-blogroll__appender-result-container .jetpack-blogroll__appender-result-text .jetpack-blogroll__appender-result-title{color:#101517;font-size:14px;font-weight:500;letter-spacing:-.15px;line-height:20px}.jetpack-blogroll__appender-results>ul .jetpack-blogroll__appender-result-container .jetpack-blogroll__appender-result-text .jetpack-blogroll__appender-result-description{color:#646970;font-size:14px;letter-spacing:-.15px;line-height:20px}.jetpack-blogroll__appender-search{display:flex;padding:16px}.jetpack-blogroll__appender-search>div{flex-grow:1;padding:1px;position:relative}.jetpack-blogroll__appender-search .components-text-control__input{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' aria-hidden='true' viewBox='-2 -2 24 24'%3E%3Cpath d='m6.734 16.106 2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.157 1.093-1.027-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5q.276 0 .553-.002c1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0z'/%3E%3C/svg%3E");background-position-x:calc(100% - 8px);background-position-y:calc(100% - 8px);background-repeat:no-repeat;background-size:24px;height:40px;padding-right:40px}.jetpack-blogroll__appender-search button{height:32px;min-width:32px!important;width:32px}.jetpack-blogroll__appender-spinner{margin:0!important}.jetpack-blogroll__appender .components-popover__content{height:300px;overflow-y:hidden!important;width:318px}.jetpack-blogroll__appender .components-popover__content button.block-editor-button-blogroll-block-appender{background:#1e1e1e;border-radius:2px;color:#fff;height:24px;min-width:24px;padding:0}@container bitem (min-width: 480px){.wp-block-jetpack-blogroll{padding:24px}}.wp-block-jetpack-blogroll .block-editor-inner-blocks h3{font-size:20px;font-style:normal;font-weight:700;line-height:28px;margin-bottom:24px;margin-top:0}.wp-block-jetpack-blogroll.hide-avatar figure,.wp-block-jetpack-blogroll.hide-description .jetpack-blogroll-item-description{display:none}.wp-block-jetpack-blogroll .wp-block-jetpack-blogroll-item{container-name:bitem;container-type:inline-size}.wp-block-jetpack-blogroll .wp-block-jetpack-blogroll-item .jetpack-blogroll-item-information{align-items:flex-start;display:flex;flex-direction:column;gap:20px;padding:20px 8px}@container bitem (min-width: 480px){.wp-block-jetpack-blogroll .wp-block-jetpack-blogroll-item .jetpack-blogroll-item-information{align-items:center;flex-direction:row}}.wp-block-jetpack-blogroll .wp-block-jetpack-blogroll-item+.wp-block-jetpack-blogroll-item .jetpack-blogroll-item-divider{display:block}.wp-block-jetpack-blogroll [data-type="jetpack/blogroll-item"]+[data-type="jetpack/blogroll-item"]{border-top:1px solid #dcdcde}.wp-block-jetpack-blogroll .block-list-appender button.has-icon{background:#1e1e1e;border-radius:2px;color:#fff;height:24px;min-width:24px;padding:0}.wp-block-jetpack-nextdoor{position:relative}.wp-block-jetpack-nextdoor-overlay{height:100%;position:absolute;width:100%;z-index:10}.wp-block-jetpack-nextdoor-link-editable{cursor:text}.wp-block-jetpack-nextdoor-embed-form-sidebar{display:flex;margin-bottom:1em}.wp-block-jetpack-nextdoor-color-notice{margin:0}div[data-align=center]>.wp-block-jetpack-nextdoor{text-align:center}.wp-block-jetpack-nextdoor .components-placeholder__fieldset input{flex:1}a.jetpack-sharing-button__button{color:inherit}.jetpack-sharing-button__button{align-items:center;background:#fff;border-radius:4px;box-shadow:0 1px 2px #0000001f,0 0 0 1px #0000001f;color:#2c3338;color:inherit;cursor:default;display:flex;flex-direction:row;font-size:inherit;font-weight:500;height:auto;justify-content:center;line-height:23px;margin:4px 4px 0;padding:4px 9px 3px;text-decoration:none}.jetpack-sharing-button__button svg{height:1.5em;width:1.5em;fill:currentColor}.jetpack-sharing-button__button:hover{box-shadow:0 1px 2px #00000038,0 0 0 1px #00000038;cursor:pointer}.jetpack-sharing-button__button.components-button{font-size:inherit;padding:4px 11px 3px 9px}.jetpack-sharing-button__button.style-icon{border:0;border-radius:50%;box-shadow:none;color:#fff;height:auto;line-height:1;margin-bottom:0;padding:7px;position:relative;top:-2px;width:auto}.jetpack-sharing-button__button.style-icon.share-bluesky{background:#0085ff}.jetpack-sharing-button__button.style-icon.share-x{background:#000}.jetpack-sharing-button__button.style-icon.share-print{background:#c5c2c2}.jetpack-sharing-button__button.style-icon.share-reddit{background:#5f99cf}.jetpack-sharing-button__button.style-icon.share-skype{background:#00aff0}.jetpack-sharing-button__button.style-icon.share-facebook{background:#0866ff}.jetpack-sharing-button__button.style-icon.share-linkedin{background:#0976b4}.jetpack-sharing-button__button.style-icon.share-mail{background:#c5c2c2}.jetpack-sharing-button__button.style-icon.share-twitter{background:#55acee}.jetpack-sharing-button__button.style-icon.share-tumblr{background:#35465c}.jetpack-sharing-button__button.style-icon.share-pinterest{background:#cc2127}.jetpack-sharing-button__button.style-icon.share-pocket{background:#ee4256}.jetpack-sharing-button__button.style-icon.share-telegram{background:#08c}.jetpack-sharing-button__button.style-icon.share-threads{background:#000}.jetpack-sharing-button__button.style-icon.share-whatsapp{background:#43d854}.jetpack-sharing-button__button.style-icon.share-mastodon{background:#6364ff}.jetpack-sharing-button__button.style-icon.share-nextdoor{background:#8ed500}.jetpack-sharing-button__button.style-icon.share-share{background:#000}.jetpack-sharing-button__button.style-icon.is-custom{padding:8px;top:2px}.jetpack-sharing-button__button.style-icon-text{margin-inline-end:4px;padding-inline-end:11px}.style-icon .jetpack-sharing-button__service-label,.style-text .sharing-buttons-preview-button__custom-icon,.style-text .social-logo{display:none}.jetpack-sharing-button__list-item{display:flex;flex-direction:row;flex-wrap:wrap;gap:5px;list-style-type:none;padding:0}.jetpack-sharing-button__list-item:first-child .jetpack-sharing-button__button{margin-inline-start:0}.style-icon-text .jetpack-sharing-button__service-label{margin-inline-start:5px}.jetpack-sharing-buttons__services-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:0;list-style-type:none;margin:5px;padding:0}.jetpack-sharing-buttons__services-list.has-small-icon-size{font-size:12px}.jetpack-sharing-buttons__services-list.has-normal-icon-size{font-size:16px}.jetpack-sharing-buttons__services-list.has-large-icon-size{font-size:24px}.jetpack-sharing-buttons__services-list.has-huge-icon-size{font-size:36px}@media print{.jetpack-sharing-buttons__services-list{display:none!important}}.editor-styles-wrapper .wp-block-jetpack-sharing-buttons{gap:0;padding-inline-start:0}ul.jetpack-sharing-buttons__services-list.has-background{padding:1.25em 2.375em}.jetpack-ai-generate-excerpt-control .jetpack-ai-generate-excerpt-control__header{margin-top:8px}.jetpack-ai-generate-excerpt-control .jetpack-ai-generate-excerpt-control__header .components-base-control__field{align-items:center;display:flex;justify-content:space-between}.jetpack-ai-generate-excerpt-control .ai-assistant__tone-dropdown{margin-bottom:12px}.jetpack-ai-post-excerpt .components-textarea-control__input{margin-bottom:10px;width:100%}.jetpack-generated-excerpt__ai-container{margin-top:12px}.jetpack-generated-excerpt__ai-container .jetpack-ai-assistant__error{margin:0 0 12px}.jetpack-generated-excerpt__generate-buttons-container{display:flex;gap:12px;justify-content:end;justify-content:space-around;margin-bottom:10px}.jetpack-ai-post-excerpt .jetpack-upgrade-plan-banner__wrapper{flex-direction:column;margin:0 0 12px;padding:0 10px}.jetpack-ai-post-excerpt .jetpack-upgrade-plan-banner__wrapper .jetpack-ai-upgrade-banner__description{margin:10px 0 0}.wp-block-jetpack-blog-stats .jetpack-blog-stats__loading{opacity:.62}.wp-block-jetpack-blog-stats .components-placeholder__fieldset{display:block}.jetpack-blog-stats__delay-notice{font-size:12px}.wp-block-jetpack-top-posts{margin-bottom:1.5em}.wp-block-jetpack-top-posts img{width:100%}.wp-block-jetpack-top-posts span{display:block;word-wrap:break-word}.wp-block-jetpack-top-posts.is-list-layout .jetpack-top-posts-item{margin-bottom:1.5em}.wp-block-jetpack-top-posts.is-grid-layout .jetpack-top-posts-wrapper{align-items:flex-start;display:grid;gap:16px 12px;grid:auto/repeat(6,1fr)}@media only screen and (max-width:600px){.wp-block-jetpack-top-posts.is-grid-layout .jetpack-top-posts-wrapper{display:block}.wp-block-jetpack-top-posts.is-grid-layout .jetpack-top-posts-wrapper .jetpack-top-posts-mock-thumbnail{display:none}.wp-block-jetpack-top-posts.is-grid-layout .jetpack-top-posts-wrapper .jetpack-top-posts-item{margin-bottom:1.5em}}.wp-block-jetpack-top-posts.is-grid-layout .jetpack-top-posts-mock-thumbnail{background-color:#f0f0f0;height:0;padding-bottom:75%;position:relative;width:100%}.wp-block-jetpack-top-posts.is-grid-layout .jetpack-top-posts-thumbnail{aspect-ratio:4/3;height:auto;max-width:100%;object-fit:cover}.wp-block-jetpack-top-posts.is-grid-layout .jetpack-top-posts-item{grid-column:span 2}.wp-block-jetpack-top-posts.is-grid-layout[data-item-count="2"] .jetpack-top-posts-item,.wp-block-jetpack-top-posts.is-grid-layout[data-item-count="4"] .jetpack-top-posts-item,.wp-block-jetpack-top-posts.is-grid-layout[data-item-count="5"] .jetpack-top-posts-item:nth-child(5n),.wp-block-jetpack-top-posts.is-grid-layout[data-item-count="5"] .jetpack-top-posts-item:nth-child(5n-1),.wp-block-jetpack-top-posts.is-grid-layout[data-item-count="7"] .jetpack-top-posts-item:nth-child(5n),.wp-block-jetpack-top-posts.is-grid-layout[data-item-count="7"] .jetpack-top-posts-item:nth-child(5n-1),.wp-block-jetpack-top-posts.is-grid-layout[data-item-count="7"] .jetpack-top-posts-item:nth-child(7n),.wp-block-jetpack-top-posts.is-grid-layout[data-item-count="7"] .jetpack-top-posts-item:nth-child(7n-1){grid-column:span 3}.wp-block-jetpack-top-posts .components-placeholder__fieldset{display:block}.jetpack-top-posts__error{margin:0}:where(body){font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin:0;min-height:100%;padding:0}.jp-wrap{align-items:center;display:flex;flex-wrap:wrap;margin:0 auto;max-width:1128px}.jp-row{display:grid;grid-gap:24px;grid-template-columns:repeat(4,1fr);margin:0 16px;width:100%}@media(min-width:600px){.jp-row{grid-template-columns:repeat(8,1fr);margin:0 18px}}@media(min-width:960px){.jp-row{grid-template-columns:repeat(12,1fr);margin:0 24px;max-width:1128px}}.sm-col-span-1{grid-column-end:span 1}.sm-col-span-2{grid-column-end:span 2}.sm-col-span-3{grid-column-end:span 3}.sm-col-span-4{grid-column-end:span 4}@media(min-width:600px){.md-col-span-1{grid-column-end:span 1}.md-col-span-2{grid-column-end:span 2}.md-col-span-3{grid-column-end:span 3}.md-col-span-4{grid-column-end:span 4}.md-col-span-5{grid-column-end:span 5}.md-col-span-6{grid-column-end:span 6}.md-col-span-7{grid-column-end:span 7}.md-col-span-8{grid-column-end:span 8}}@media(min-width:960px){.lg-col-span-1{grid-column-end:span 1}.lg-col-span-2{grid-column-end:span 2}.lg-col-span-3{grid-column-end:span 3}.lg-col-span-4{grid-column-end:span 4}.lg-col-span-5{grid-column-end:span 5}.lg-col-span-6{grid-column-end:span 6}.lg-col-span-7{grid-column-end:span 7}.lg-col-span-8{grid-column-end:span 8}.lg-col-span-9{grid-column-end:span 9}.lg-col-span-10{grid-column-end:span 10}.lg-col-span-11{grid-column-end:span 11}.lg-col-span-12{grid-column-end:span 12}}@media(max-width:960px){.md-col-span-0{display:none}}@media(max-width:600px){.sm-col-span-0{display:none}}.jp-cut{border:2px solid #069e08;border-radius:4px;margin:32px 0;padding:16px 64px 16px 24px;position:relative;text-decoration:none}.jp-cut,.jp-cut span{display:block}.jp-cut span:last-of-type{font-weight:600}.jp-cut:focus span:last-of-type,.jp-cut:hover span:last-of-type{text-decoration:underline;text-decoration-thickness:2px}.jp-cut:focus:after,.jp-cut:hover:after{transform:translateY(-50%) translateX(8px)}.jp-cut:after{color:#069e08;content:"→";font-size:24px;font-weight:600;position:absolute;right:24px;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jetpack-ai-voice-to-content__modal .components-modal__header{border-bottom:1px solid #dcdcde;padding:20px 24px}.jetpack-ai-voice-to-content__modal .components-modal__content{padding:24px 32px}@media(min-width:700px){.jetpack-ai-voice-to-content__modal{width:700px}}.jetpack-ai-voice-to-content__wrapper{display:flex;flex-direction:column;gap:28px}.jetpack-ai-voice-to-content__body{display:flex;flex-direction:column;gap:16px}.jetpack-ai-voice-to-content__action-buttons{display:flex;gap:8px}.jetpack-ai-voice-to-content__action-buttons .jetpack-ai-voice-to-content__button.is-primary{background-color:#008710;color:#fff}.jetpack-ai-voice-to-content__action-buttons .jetpack-ai-voice-to-content__button.is-primary:not(:disabled):hover{background-color:#007117}.jetpack-ai-voice-to-content__action-buttons .jetpack-ai-voice-to-content__button.is-primary:not(:disabled):active{background-color:#005b18}.jetpack-ai-voice-to-content__action-buttons .jetpack-ai-voice-to-content__button.is-primary:not(:disabled):focus{box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #008710}.jetpack-ai-voice-to-content__action-buttons .jetpack-ai-voice-to-content__button.is-secondary{box-shadow:inset 0 0 0 1px #008710;color:#008710}.jetpack-ai-voice-to-content__action-buttons .jetpack-ai-voice-to-content__button.is-secondary:not(:disabled):focus{box-shadow:0 0 0 2px #008710}.jetpack-ai-voice-to-content__action-buttons .jetpack-ai-voice-to-content__button.is-secondary:not(:disabled):hover{box-shadow:inset 0 0 0 1px #007117}.jetpack-ai-voice-to-content__action-buttons .jetpack-ai-voice-to-content__button.is-secondary:not(:disabled):active{box-shadow:none}.jetpack-ai-voice-to-content__description{font-size:var(--font-body-small)}.jetpack-ai-voice-to-content__contextual-row{align-items:center;display:flex;height:38px}.jetpack-ai-voice-to-content__information{color:#787c82}.jetpack-ai-voice-to-content__audio{align-items:center;display:flex;gap:4px}.jetpack-ai-voice-to-content__audio--duration{font-weight:700}.jetpack-ai-voice-to-content__footer{display:flex}.jetpack-ai-voice-to-content__footer .jetpack-ai-voice-to-content__feedback-button{align-items:center;color:#008710;display:flex;font-size:var(--font-body-extra-small);gap:4px}.jetpack-ai-voice-to-content__footer .jetpack-ai-voice-to-content__feedback-button:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) #008710}.jetpack-ai-voice-to-content__footer .jetpack-ai-voice-to-content__feedback-button .icon{color:#a7aaad}.jetpack-ai-voice-to-content__information--error{color:var(--jp-red-40)}.jetpack-ai-voice-to-content__oscilloscope{height:38px;width:70px}.wp-block-jetpack-ai-image .wp-block-ai-image-image{cursor:pointer;height:128px;width:128px}.wp-block-ai-generate-suggestion{padding:0}.wp-block-ai-generate-suggestion .components-text-control__input{margin:10px;width:80%}.wp-block-ai-generate-suggestion .components-button.is-primary{margin:10px}.wp-block-jetpack-google-docs-embed{border:1px solid #ccc;flex-basis:50%}.wp-block-jetpack-google-docs-embed.aligncenter{margin-left:auto;margin-right:auto}.wp-block-jetpack-google-docs-embed.alignleft,.wp-block-jetpack-google-docs-embed.alignright{margin-bottom:20px;max-width:600px}@media only screen and (min-width:600px){.wp-block-jetpack-google-docs-embed.alignleft{float:left;margin-right:20px!important}.wp-block-jetpack-google-docs-embed.alignright{float:right;margin-left:20px!important}}.wp-block-jetpack-google-docs-embed.ar-50 .wp-block-jetpack-google-docs-embed__wrapper:before{padding-top:50%}.wp-block-jetpack-google-docs-embed.ar-100 .wp-block-jetpack-google-docs-embed__wrapper:before{padding-top:100%}.wp-block-jetpack-google-docs-embed__wrapper--error:before{content:none}.wp-block-jetpack-google-docs-embed__error-msg{background-color:#f8f9fa;color:#333;font-size:16px;margin:0;padding:20px}.wp-block-jetpack-google-docs-embed__error-msg:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3E%3Cpath fill='%231E2935' fill-rule='evenodd' d='M4.125 12A7.875 7.875 0 0 1 12 4.124a7.875 7.875 0 1 1-7.875 7.874ZM12 3a9 9 0 1 0 0 17.999A9 9 0 1 0 12 3m.041 5.28c.31 0 .563.253.563.563v4.5a.562.562 0 0 1-1.125 0v-4.5c0-.31.252-.562.562-.562Zm-.562 7.313c0-.31.252-.563.562-.563h.011a.562.562 0 0 1 0 1.125h-.01a.56.56 0 0 1-.563-.562' clip-rule='evenodd'/%3E%3C/svg%3E");background-position:top;background-repeat:no-repeat;background-size:20px;content:"";display:inline-block;height:20px;margin-inline-end:8px;position:relative;top:4px;width:20px}.wp-block-jetpack-google-docs-embed__error-msg a{color:#333;text-decoration:underline}.wp-block-jetpack-google-docs-embed__error-msg a:focus,.wp-block-jetpack-google-docs-embed__error-msg a:hover{text-decoration:none}.wp-block-jetpack-google-docs-embed .loader{background-color:#fff;display:none;height:100%;position:absolute;text-align:center;top:0;width:100%;z-index:99}.wp-block-jetpack-google-docs-embed .loader.is-active{display:block}.wp-block-jetpack-google-docs-embed .loader span{position:relative;top:50%;transform:translateY(-50%)}.editor-styles-wrapper .wp-block-jetpack-google-docs-embed figure{margin:0}.editor-styles-wrapper [data-align=left] .wp-block-jetpack-google-docs-embed,.editor-styles-wrapper [data-align=right] .wp-block-jetpack-google-docs-embed{width:auto}.editor-styles-wrapper [data-align=left] .wp-block-jetpack-google-docs-embed__wrapper:before,.editor-styles-wrapper [data-align=right] .wp-block-jetpack-google-docs-embed__wrapper:before{content:none}.editor-styles-wrapper [data-align=left] iframe,.editor-styles-wrapper [data-align=right] iframe{position:relative}.editor-styles-wrapper [data-align=left] .wp-block-jetpack-google-docs-embed{margin-right:20px}.editor-styles-wrapper [data-align=right] .wp-block-jetpack-google-docs-embed{margin-left:20px}html[amp] .wp-block-jetpack-google-docs-embed.alignleft,html[amp] .wp-block-jetpack-google-docs-embed.alignright{float:none}html[amp] .wp-block-jetpack-google-docs-embed__wrapper:before{content:none}html[amp] .wp-block-jetpack-google-docs-embed__error-msg:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='%231E2935' d='M1.5 3.5v11h11V10H14v5a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h5v1.5z'/%3E%3Cpath fill='%231E2935' d='m15.922 1.178-8.907 8.907-1.06-1.06L14.86.118l1.06 1.06Z'/%3E%3Cpath fill='%231E2935' d='M7.5 0H16v1.5H7.5z'/%3E%3Cpath fill='%231E2935' d='M16 0v8.5h-1.5V0z'/%3E%3C/svg%3E");background-size:12px;height:12px;top:1px;width:12px}html[amp] .wp-block-jetpack-google-docs-embed .loader{display:none}.wp-block-jetpack-google-docs-embed{clear:both;margin:0 0 1.5em}.wp-block-jetpack-google-docs-embed__wrapper{position:relative}.wp-block-jetpack-google-docs-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-block-jetpack-google-docs-embed__interactive-overlay{bottom:0;left:0;opacity:0;position:absolute;right:0;top:0}.wp-block-jetpack-google-docs-embed-embed-form-editor{margin:0}.wp-block-jetpack-google-docs-embed-embed-form-editor textarea{flex:1;font-family:inherit;font-size:inherit;height:36px;margin-inline-end:1px;padding-top:9px}.wp-block-jetpack-google-docs-embed iframe{bottom:0;height:100%;left:0;max-width:100%;position:absolute;right:0;top:0;width:100%}.wp-block-jetpack-google-docs-embed.alignleft,.wp-block-jetpack-google-docs-embed.alignright,.wp-block[data-align=left]>.wp-block-jetpack-google-docs-embed,.wp-block[data-align=right]>.wp-block-jetpack-google-docs-embed{max-width:360px;width:100%}.wp-block-jetpack-google-docs-embed.alignleft__wrapper,.wp-block-jetpack-google-docs-embed.alignright__wrapper,.wp-block[data-align=left]>.wp-block-jetpack-google-docs-embed__wrapper,.wp-block[data-align=right]>.wp-block-jetpack-google-docs-embed__wrapper{min-width:280px}.launchpad__save-modal .components-modal__content{margin:0;max-width:656px;padding:60px 48px 48px}.launchpad__save-modal-body{align-items:flex-end;display:flex;flex-direction:column;gap:32px}.launchpad__save-modal-text{display:flex;flex-direction:column;gap:8px}.launchpad__save-modal-controls{display:flex;justify-content:space-between;width:100%}.launchpad__save-modal-buttons{display:flex;gap:16px}.launchpad__save-modal-heading{color:#101517;font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif;font-size:32px;font-weight:400;letter-spacing:.2px;line-height:40px;margin:0}.launchpad__save-modal-message{color:#2c3338;font-size:16px;line-height:24px;margin:0}[data-title="Recipe Details"].aligncenter,[data-title="Recipe Details"].alignleft,[data-title="Recipe Details"].alignright{float:none}[data-title="Recipe Details"].alignright .wp-recipe-block-details{justify-content:right}[data-title="Recipe Details"].aligncenter .wp-recipe-block-details{justify-content:center}.wp-block-jetpack-recipe-details{display:block}.wp-block-jetpack-recipe-details .wp-recipe-block-details{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(100px,150px))}.wp-block-jetpack-recipe-details .wp-recipe-block-details.alignright{justify-content:right}.wp-block-jetpack-recipe-details .wp-recipe-block-details.aligncenter{justify-content:center}.wp-block-jetpack-recipe-details .components-unit-control .components-input-control__container{max-height:30px}.wp-block-jetpack-recipe-details .components-unit-control .components-input-control__container .components-unit-control__select{width:40px}.wp-block-jetpack-recipe-ingredients-list .block-list-appender{position:relative}.wp-block-jetpack-recipe-steps .block-list-appender{margin-top:1rem;position:relative} \ No newline at end of file diff --git a/wp-content/plugins/jetpack/_inc/blocks/editor-beta.js b/wp-content/plugins/jetpack/_inc/blocks/editor-beta.js index d0a5fec93..53e411c93 100644 --- a/wp-content/plugins/jetpack/_inc/blocks/editor-beta.js +++ b/wp-content/plugins/jetpack/_inc/blocks/editor-beta.js @@ -1,162 +1,164 @@ /*! For license information please see editor-beta.js.LICENSE.txt */ -(()=>{var e,t,n,a,r,s,o={60400:(e,t,n)=>{"use strict";n.d(t,{L:()=>c});var a=n(2615),r=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r{const E=Object.assign({},c);let f;function b(){f.abort(),document.hidden||w()}E.accept||(E.accept=s),g||document.addEventListener("visibilitychange",b);let v=o,C=0;function k(){document.removeEventListener("visibilitychange",b),window.clearTimeout(C),f.abort()}null==n||n.addEventListener("abort",(()=>{k(),t()}));const y=null!=A?A:window.fetch,B=null!=u?u:l;async function w(){var n;f=new AbortController;try{const n=await y(e,Object.assign(Object.assign({},h),{headers:E,signal:f.signal}));await B(n),await(0,a.Pw)(n.body,(0,a.UM)((0,a._U)((e=>{e?E[i]=e:delete E[i]}),(e=>{v=e}),d))),null==p||p(),k(),t()}catch(e){if(!f.signal.aborted)try{const t=null!==(n=null==m?void 0:m(e))&&void 0!==n?n:v;window.clearTimeout(C),C=window.setTimeout(w,t)}catch(e){k(),r(e)}}}w()}))}function l(e){const t=e.headers.get("content-type");if(!(null==t?void 0:t.startsWith(s)))throw new Error(`Expected content-type to be ${s}, Actual: ${t}`)}},2615:(e,t,n)=>{"use strict";async function a(e,t){const n=e.getReader();let a;for(;!(a=await n.read()).done;)t(a.value)}function r(e){let t,n,a,r=!1;return function(s){void 0===t?(t=s,n=0,a=-1):t=function(e,t){const n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(t,s);const o=t.length;let i=0;for(;n0){const n=r.decode(s.subarray(0,i)),o=i+(32===s[i+1]?2:1),c=r.decode(s.subarray(o));switch(n){case"data":a.data=a.data?a.data+"\n"+c:c;break;case"event":a.event=c;break;case"id":e(a.id=c);break;case"retry":const n=parseInt(c,10);isNaN(n)||t(a.retry=n)}}}}function o(){return{data:"",event:"",id:"",retry:void 0}}n.d(t,{Pw:()=>a,UM:()=>r,_U:()=>s})},84788:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(2378);let r,s,o,i;const c=/<(\/)?(\w+)\s*(\/)?>/g;function l(e,t,n,a,r){return{element:e,tokenStart:t,tokenLength:n,prevOffset:a,leadingTextStart:r,children:[]}}const u=e=>{const t="object"==typeof e,n=t&&Object.values(e);return t&&n.length&&n.every((e=>(0,a.isValidElement)(e)))};function d(e){const t=function(){const e=c.exec(r);if(null===e)return["no-more-tokens"];const t=e.index,[n,a,s,o]=e,i=n.length;if(o)return["self-closed",s,t,i];if(a)return["closer",s,t,i];return["opener",s,t,i]}(),[n,u,d,g]=t,A=i.length,h=d>s?s:null;if(!e[u])return p(),!1;switch(n){case"no-more-tokens":if(0!==A){const{leadingTextStart:e,tokenStart:t}=i.pop();o.push(r.substr(e,t))}return p(),!1;case"self-closed":return 0===A?(null!==h&&o.push(r.substr(h,d-h)),o.push(e[u]),s=d+g,!0):(m(l(e[u],d,g)),s=d+g,!0);case"opener":return i.push(l(e[u],d,g,d+g,h)),s=d+g,!0;case"closer":if(1===A)return function(e){const{element:t,leadingTextStart:n,prevOffset:s,tokenStart:c,children:l}=i.pop(),u=e?r.substr(s,e-s):r.substr(s);u&&l.push(u);null!==n&&o.push(r.substr(n,c-n));o.push((0,a.cloneElement)(t,null,...l))}(d),s=d+g,!0;const t=i.pop(),n=r.substr(t.prevOffset,d-t.prevOffset);t.children.push(n),t.prevOffset=d+g;const c=l(t.element,t.tokenStart,t.tokenLength,d+g);return c.children=t.children,m(c),s=d+g,!0;default:return p(),!1}}function p(){const e=r.length-s;0!==e&&o.push(r.substr(s,e))}function m(e){const{element:t,tokenStart:n,tokenLength:s,prevOffset:o,children:c}=e,l=i[i.length-1],u=r.substr(l.prevOffset,n-l.prevOffset);u&&l.children.push(u),l.children.push((0,a.cloneElement)(t,null,...c)),l.prevOffset=o||n+s}t.default=(e,t)=>{if(r=e,s=0,o=[],i=[],c.lastIndex=0,!u(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are React Elements");do{}while(d(t));return(0,a.createElement)(a.Fragment,null,...o)}},51806:(e,t,n)=>{"use strict";var a=n(25877);Object.defineProperty(t,"__esModule",{value:!0});var r={createInterpolateElement:!0,Platform:!0,renderToString:!0,RawHTML:!0};Object.defineProperty(t,"Platform",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"RawHTML",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"createInterpolateElement",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"renderToString",{enumerable:!0,get:function(){return u.default}});var s=a(n(84788)),o=n(2378);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=n(29115);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var c=n(82986);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var l=a(n(82912)),u=a(n(51962)),d=a(n(74745))},82912:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={OS:"web",select:e=>"web"in e?e.web:e.default,isWeb:!0}},74745:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({children:e,...t}){let n="";return a.Children.toArray(e).forEach((e=>{"string"==typeof e&&""!==e.trim()&&(n+=e)})),(0,a.createElement)("div",{dangerouslySetInnerHTML:{__html:n},...t})};var a=n(2378)},29115:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createPortal",{enumerable:!0,get:function(){return a.createPortal}}),Object.defineProperty(t,"createRoot",{enumerable:!0,get:function(){return r.createRoot}}),Object.defineProperty(t,"findDOMNode",{enumerable:!0,get:function(){return a.findDOMNode}}),Object.defineProperty(t,"flushSync",{enumerable:!0,get:function(){return a.flushSync}}),Object.defineProperty(t,"hydrate",{enumerable:!0,get:function(){return a.hydrate}}),Object.defineProperty(t,"hydrateRoot",{enumerable:!0,get:function(){return r.hydrateRoot}}),Object.defineProperty(t,"render",{enumerable:!0,get:function(){return a.render}}),Object.defineProperty(t,"unmountComponentAtNode",{enumerable:!0,get:function(){return a.unmountComponentAtNode}});var a=n(91850),r=n(51516)},2378:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Children",{enumerable:!0,get:function(){return a.Children}}),Object.defineProperty(t,"Component",{enumerable:!0,get:function(){return a.Component}}),Object.defineProperty(t,"Fragment",{enumerable:!0,get:function(){return a.Fragment}}),Object.defineProperty(t,"PureComponent",{enumerable:!0,get:function(){return a.PureComponent}}),Object.defineProperty(t,"StrictMode",{enumerable:!0,get:function(){return a.StrictMode}}),Object.defineProperty(t,"Suspense",{enumerable:!0,get:function(){return a.Suspense}}),Object.defineProperty(t,"cloneElement",{enumerable:!0,get:function(){return a.cloneElement}}),t.concatChildren=function(...e){return e.reduce(((e,t,n)=>(a.Children.forEach(t,((t,r)=>{t&&"string"!=typeof t&&(t=(0,a.cloneElement)(t,{key:[n,r].join()})),e.push(t)})),e)),[])},Object.defineProperty(t,"createContext",{enumerable:!0,get:function(){return a.createContext}}),Object.defineProperty(t,"createElement",{enumerable:!0,get:function(){return a.createElement}}),Object.defineProperty(t,"createRef",{enumerable:!0,get:function(){return a.createRef}}),Object.defineProperty(t,"forwardRef",{enumerable:!0,get:function(){return a.forwardRef}}),Object.defineProperty(t,"isValidElement",{enumerable:!0,get:function(){return a.isValidElement}}),Object.defineProperty(t,"lazy",{enumerable:!0,get:function(){return a.lazy}}),Object.defineProperty(t,"memo",{enumerable:!0,get:function(){return a.memo}}),Object.defineProperty(t,"startTransition",{enumerable:!0,get:function(){return a.startTransition}}),t.switchChildrenNodeName=function(e,t){return e&&a.Children.map(e,((e,n)=>{if("string"==typeof e?.valueOf())return(0,a.createElement)(t,{key:n},e);const{children:r,...s}=e.props;return(0,a.createElement)(t,{key:n,...s},r)}))},Object.defineProperty(t,"useCallback",{enumerable:!0,get:function(){return a.useCallback}}),Object.defineProperty(t,"useContext",{enumerable:!0,get:function(){return a.useContext}}),Object.defineProperty(t,"useDebugValue",{enumerable:!0,get:function(){return a.useDebugValue}}),Object.defineProperty(t,"useDeferredValue",{enumerable:!0,get:function(){return a.useDeferredValue}}),Object.defineProperty(t,"useEffect",{enumerable:!0,get:function(){return a.useEffect}}),Object.defineProperty(t,"useId",{enumerable:!0,get:function(){return a.useId}}),Object.defineProperty(t,"useImperativeHandle",{enumerable:!0,get:function(){return a.useImperativeHandle}}),Object.defineProperty(t,"useInsertionEffect",{enumerable:!0,get:function(){return a.useInsertionEffect}}),Object.defineProperty(t,"useLayoutEffect",{enumerable:!0,get:function(){return a.useLayoutEffect}}),Object.defineProperty(t,"useMemo",{enumerable:!0,get:function(){return a.useMemo}}),Object.defineProperty(t,"useReducer",{enumerable:!0,get:function(){return a.useReducer}}),Object.defineProperty(t,"useRef",{enumerable:!0,get:function(){return a.useRef}}),Object.defineProperty(t,"useState",{enumerable:!0,get:function(){return a.useState}}),Object.defineProperty(t,"useSyncExternalStore",{enumerable:!0,get:function(){return a.useSyncExternalStore}}),Object.defineProperty(t,"useTransition",{enumerable:!0,get:function(){return a.useTransition}});var a=n(99196)},51962:(e,t,n)=>{"use strict";var a=n(25877);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.hasPrefix=E,t.renderAttributes=S,t.renderComponent=j,t.renderElement=_,t.renderNativeComponent=I,t.renderStyle=Q;var r=n(62313),s=n(28132),o=n(81975),i=n(2378),c=a(n(74745));const{Provider:l,Consumer:u}=(0,i.createContext)(void 0),d=(0,i.forwardRef)((()=>null)),p=new Set(["string","boolean","number"]),m=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),g=new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),A=new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),h=new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"]);function E(e,t){return t.some((t=>0===e.indexOf(t)))}function f(e){return"key"===e||"children"===e}function b(e,t){return"style"===e?Q(t):t}const v=["accentHeight","alignmentBaseline","arabicForm","baselineShift","capHeight","clipPath","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","dominantBaseline","enableBackground","fillOpacity","fillRule","floodColor","floodOpacity","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","horizAdvX","horizOriginX","imageRendering","letterSpacing","lightingColor","markerEnd","markerMid","markerStart","overlinePosition","overlineThickness","paintOrder","panose1","pointerEvents","renderingIntent","shapeRendering","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","textAnchor","textDecoration","textRendering","underlinePosition","underlineThickness","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","vHanging","vIdeographic","vMathematical","vectorEffect","vertAdvY","vertOriginX","vertOriginY","wordSpacing","writingMode","xmlnsXlink","xHeight"].reduce(((e,t)=>(e[t.toLowerCase()]=t,e)),{}),C=["allowReorder","attributeName","attributeType","autoReverse","baseFrequency","baseProfile","calcMode","clipPathUnits","contentScriptType","contentStyleType","diffuseConstant","edgeMode","externalResourcesRequired","filterRes","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","suppressContentEditableWarning","suppressHydrationWarning","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector"].reduce(((e,t)=>(e[t.toLowerCase()]=t,e)),{}),k=["xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space","xmlns:xlink"].reduce(((e,t)=>(e[t.replace(":","").toLowerCase()]=t,e)),{});function y(e){switch(e){case"htmlFor":return"for";case"className":return"class"}const t=e.toLowerCase();return C[t]?C[t]:v[t]?(0,s.paramCase)(v[t]):k[t]?k[t]:t}function B(e){return e.startsWith("--")?e:E(e,["ms","O","Moz","Webkit"])?"-"+(0,s.paramCase)(e):(0,s.paramCase)(e)}function w(e,t){return"number"!=typeof t||0===t||h.has(e)?t:t+"px"}function _(e,t,n={}){if(null==e||!1===e)return"";if(Array.isArray(e))return x(e,t,n);switch(typeof e){case"string":return(0,o.escapeHTML)(e);case"number":return e.toString()}const{type:a,props:r}=e;switch(a){case i.StrictMode:case i.Fragment:return x(r.children,t,n);case c.default:const{children:e,...a}=r;return I(Object.keys(a).length?"div":null,{...a,dangerouslySetInnerHTML:{__html:e}},t,n)}switch(typeof a){case"string":return I(a,r,t,n);case"function":return a.prototype&&"function"==typeof a.prototype.render?j(a,r,t,n):_(a(r,n),t,n)}switch(a&&a.$$typeof){case l.$$typeof:return x(r.children,r.value,n);case u.$$typeof:return _(r.children(t||a._currentValue),t,n);case d.$$typeof:return _(a.render(r),t,n)}return""}function I(e,t,n,a={}){let r="";if("textarea"===e&&t.hasOwnProperty("value")){r=x(t.value,n,a);const{value:e,...s}=t;t=s}else t.dangerouslySetInnerHTML&&"string"==typeof t.dangerouslySetInnerHTML.__html?r=t.dangerouslySetInnerHTML.__html:void 0!==t.children&&(r=x(t.children,n,a));if(!e)return r;const s=S(t);return m.has(e)?"<"+e+s+"/>":"<"+e+s+">"+r+""}function j(e,t,n,a={}){const r=new e(t,a);"function"==typeof r.getChildContext&&Object.assign(a,r.getChildContext());return _(r.render(),n,a)}function x(e,t,n={}){let a="";e=Array.isArray(e)?e:[e];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmptyElement=void 0;t.isEmptyElement=e=>"number"!=typeof e&&("string"==typeof e?.valueOf()||Array.isArray(e)?!e.length:!e)},61074:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(69307);const r=(0,a.forwardRef)((function({icon:e,size:t=24,...n},r){return(0,a.cloneElement)(e,{width:t,height:t,...n,ref:r})}))},79404:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"m16.5 13.5-3.7 3.7V4h-1.5v13.2l-3.8-3.7-1 1 5.5 5.6 5.5-5.6z"})})},60495:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"m14.5 6.5-1 1 3.7 3.7H4v1.6h13.2l-3.7 3.7 1 1 5.6-5.5z"})})},90986:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"M12 3.9 6.5 9.5l1 1 3.8-3.7V20h1.5V6.8l3.7 3.7 1-1z"})})},14717:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)(a.Path,{d:"M12.5939 21C14.1472 21 16.1269 20.5701 17.0711 20.1975L16.6447 18.879C16.0964 19.051 14.3299 19.6242 12.6548 19.6242C7.4467 19.6242 4.67513 16.8726 4.67513 12C4.67513 7.21338 7.50762 4.34713 12.2893 4.34713C17.132 4.34713 19.4162 7.55732 19.4162 10.7675C19.4162 14.035 19.0508 15.4968 17.4975 15.4968C16.5838 15.4968 16.0964 14.7803 16.0964 13.9777V7.5H14.4822V8.30255H14.3909C14.1777 7.67198 12.9898 7.12739 11.467 7.2707C9.18274 7.5 7.4467 9.27707 7.4467 11.8567C7.4467 14.5796 8.81726 16.672 11.467 16.758C13.203 16.8153 14.1168 16.0127 14.4822 15.1815H14.5736C14.7563 16.414 16.401 16.8439 17.467 16.8439C20.6954 16.8439 21 13.5764 21 10.7962C21 6.86943 18.0761 3 12.3807 3C6.50254 3 3 6.3535 3 11.9427C3 17.7325 6.38071 21 12.5939 21ZM11.7107 15.2962C9.73096 15.2962 9.03046 13.6051 9.03046 11.7707C9.03046 10.1083 10.0355 8.67516 11.7716 8.67516C13.599 8.67516 14.5736 9.36306 14.5736 11.7707C14.5736 14.1497 13.7513 15.2962 11.7107 15.2962Z"})})},59756:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)(a.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v3.5h-15V5c0-.3.2-.5.5-.5zm8 5.5h6.5v3.5H13V10zm-1.5 3.5h-7V10h7v3.5zm-7 5.5v-4h7v4.5H5c-.3 0-.5-.2-.5-.5zm14.5.5h-6V15h6.5v4c0 .3-.2.5-.5.5z"})})},58829:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)(a.Path,{d:"M8 12.5h8V11H8v1.5Z M19 6.5H5a2 2 0 0 0-2 2V15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a2 2 0 0 0-2-2ZM5 8h14a.5.5 0 0 1 .5.5V15a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V8.5A.5.5 0 0 1 5 8Z"})})},79201:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})})},42229:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)(a.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})})},52800:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})})},46936:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})})},57489:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)(a.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"})})},6163:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})})},39517:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"})})},64967:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"M3.25 12a8.75 8.75 0 1117.5 0 8.75 8.75 0 01-17.5 0zM12 4.75a7.25 7.25 0 100 14.5 7.25 7.25 0 000-14.5zm-1.338 4.877c-.314.22-.412.452-.412.623 0 .171.098.403.412.623.312.218.783.377 1.338.377.825 0 1.605.233 2.198.648.59.414 1.052 1.057 1.052 1.852 0 .795-.461 1.438-1.052 1.852-.41.286-.907.486-1.448.582v.316a.75.75 0 01-1.5 0v-.316a3.64 3.64 0 01-1.448-.582c-.59-.414-1.052-1.057-1.052-1.852a.75.75 0 011.5 0c0 .171.098.403.412.623.312.218.783.377 1.338.377s1.026-.159 1.338-.377c.314-.22.412-.452.412-.623 0-.171-.098-.403-.412-.623-.312-.218-.783-.377-1.338-.377-.825 0-1.605-.233-2.198-.648-.59-.414-1.052-1.057-1.052-1.852 0-.795.461-1.438 1.052-1.852a3.64 3.64 0 011.448-.582V7.5a.75.75 0 011.5 0v.316c.54.096 1.039.296 1.448.582.59.414 1.052 1.057 1.052 1.852a.75.75 0 01-1.5 0c0-.171-.098-.403-.412-.623-.312-.218-.783-.377-1.338-.377s-1.026.159-1.338.377z"})})},71063:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a=n(77840).Z},15381:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"})})},43618:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"M12 3.3c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8s-4-8.8-8.8-8.8zm6.5 5.5h-2.6C15.4 7.3 14.8 6 14 5c2 .6 3.6 2 4.5 3.8zm.7 3.2c0 .6-.1 1.2-.2 1.8h-2.9c.1-.6.1-1.2.1-1.8s-.1-1.2-.1-1.8H19c.2.6.2 1.2.2 1.8zM12 18.7c-1-.7-1.8-1.9-2.3-3.5h4.6c-.5 1.6-1.3 2.9-2.3 3.5zm-2.6-4.9c-.1-.6-.1-1.1-.1-1.8 0-.6.1-1.2.1-1.8h5.2c.1.6.1 1.1.1 1.8s-.1 1.2-.1 1.8H9.4zM4.8 12c0-.6.1-1.2.2-1.8h2.9c-.1.6-.1 1.2-.1 1.8 0 .6.1 1.2.1 1.8H5c-.2-.6-.2-1.2-.2-1.8zM12 5.3c1 .7 1.8 1.9 2.3 3.5H9.7c.5-1.6 1.3-2.9 2.3-3.5zM10 5c-.8 1-1.4 2.3-1.8 3.8H5.5C6.4 7 8 5.6 10 5zM5.5 15.3h2.6c.4 1.5 1 2.8 1.8 3.7-1.8-.6-3.5-2-4.4-3.7zM14 19c.8-1 1.4-2.2 1.8-3.7h2.6C17.6 17 16 18.4 14 19z"})})},90496:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"M12 3.2c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8 0-4.8-4-8.8-8.8-8.8zm0 16c-4 0-7.2-3.3-7.2-7.2C4.8 8 8 4.8 12 4.8s7.2 3.3 7.2 7.2c0 4-3.2 7.2-7.2 7.2zM11 17h2v-6h-2v6zm0-8h2V7h-2v2z"})})},75365:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)(a.Path,{d:"m6.734 16.106 2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.158 1.093-1.028-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734Z"})})},1078:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)(a.Path,{d:"M17 10h-1.2V7c0-2.1-1.7-3.8-3.8-3.8-2.1 0-3.8 1.7-3.8 3.8v3H7c-.6 0-1 .4-1 1v8c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-8c0-.6-.4-1-1-1zm-2.8 0H9.8V7c0-1.2 1-2.2 2.2-2.2s2.2 1 2.2 2.2v3z"})})},20843:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsxs)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,r.jsx)(a.Path,{d:"m7 6.5 4 2.5-4 2.5z"}),(0,r.jsx)(a.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"m5 3c-1.10457 0-2 .89543-2 2v14c0 1.1046.89543 2 2 2h14c1.1046 0 2-.8954 2-2v-14c0-1.10457-.8954-2-2-2zm14 1.5h-14c-.27614 0-.5.22386-.5.5v10.7072l3.62953-2.6465c.25108-.1831.58905-.1924.84981-.0234l2.92666 1.8969 3.5712-3.4719c.2911-.2831.7545-.2831 1.0456 0l2.9772 2.8945v-9.3568c0-.27614-.2239-.5-.5-.5zm-14.5 14.5v-1.4364l4.09643-2.987 2.99567 1.9417c.2936.1903.6798.1523.9307-.0917l3.4772-3.3806 3.4772 3.3806.0228-.0234v2.5968c0 .2761-.2239.5-.5.5h-14c-.27614 0-.5-.2239-.5-.5z"})]})},77840:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"m19 7-3-3-8.5 8.5-1 4 4-1L19 7Zm-7 11.5H5V20h7v-1.5Z"})})},24955:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"M15.5 9.5a1 1 0 100-2 1 1 0 000 2zm0 1.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5zm-2.25 6v-2a2.75 2.75 0 00-2.75-2.75h-4A2.75 2.75 0 003.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0120.25 15zM9.5 8.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z",fillRule:"evenodd"})})},11908:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z"})})},58532:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"M4 6h12V4.5H4V6Zm16 4.5H4V9h16v1.5ZM4 15h16v-1.5H4V15Zm0 4.5h16V18H4v1.5Z"})})},92710:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"M8.001 3.984V9.47c0 1.518-.98 2.5-2.499 2.5h-.5v-1.5h.5c.69 0 1-.31 1-1V6.984H4v-3h4.001ZM4 20h9v-1.5H4V20Zm16-4H4v-1.5h16V16ZM13.001 3.984V9.47c0 1.518-.98 2.5-2.499 2.5h-.5v-1.5h.5c.69 0 1-.31 1-1V6.984H9v-3h4.001Z"})})},3639:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"m7.3 9.7 1.4 1.4c.2-.2.3-.3.4-.5 0 0 0-.1.1-.1.3-.5.4-1.1.3-1.6L12 7 9 4 7.2 6.5c-.6-.1-1.1 0-1.6.3 0 0-.1 0-.1.1-.3.1-.4.2-.6.4l1.4 1.4L4 11v1h1l2.3-2.3zM4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4z"})})},34394:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"M7 7.2h8.2L13.5 9l1.1 1.1 3.6-3.6-3.5-4-1.1 1 1.9 2.3H7c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.2-.5zm13.8 4V11h-1.5v.3c0 1.1 0 3.5-1 4.5-.3.3-.7.5-1.3.5H8.8l1.7-1.7-1.1-1.1L5.9 17l3.5 4 1.1-1-1.9-2.3H17c.9 0 1.7-.3 2.3-.9 1.5-1.4 1.5-4.2 1.5-5.6z"})})},586:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"M6.08 10.103h2.914L9.657 12h1.417L8.23 4H6.846L4 12h1.417l.663-1.897Zm1.463-4.137.994 2.857h-2l1.006-2.857ZM11 16H4v-1.5h7V16Zm1 0h8v-1.5h-8V16Zm-4 4H4v-1.5h4V20Zm7-1.5V20H9v-1.5h6Z"})})},32677:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"m4 5.5h2v6.5h1.5v-6.5h2v-1.5h-5.5zm16 10.5h-16v-1.5h16zm-7 4h-9v-1.5h9z"})})},78270:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5.5A2.25 2.25 0 0 0 9.878 7h4.244A2.251 2.251 0 0 0 12 5.5ZM12 4a3.751 3.751 0 0 0-3.675 3H5v1.5h1.27l.818 8.997a2.75 2.75 0 0 0 2.739 2.501h4.347a2.75 2.75 0 0 0 2.738-2.5L17.73 8.5H19V7h-3.325A3.751 3.751 0 0 0 12 4Zm4.224 4.5H7.776l.806 8.861a1.25 1.25 0 0 0 1.245 1.137h4.347a1.25 1.25 0 0 0 1.245-1.137l.805-8.861Z"})})},74927:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"M18.3 11.7c-.6-.6-1.4-.9-2.3-.9H6.7l2.9-3.3-1.1-1-4.5 5L8.5 16l1-1-2.7-2.7H16c.5 0 .9.2 1.3.5 1 1 1 3.4 1 4.5v.3h1.5v-.2c0-1.5 0-4.3-1.5-5.7z"})})},48381:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"m11.3 17.2-5-5c-.1-.1-.1-.3 0-.4l2.3-2.3-1.1-1-2.3 2.3c-.7.7-.7 1.8 0 2.5l5 5H7.5v1.5h5.3v-5.2h-1.5v2.6zm7.5-6.4-5-5h2.7V4.2h-5.2v5.2h1.5V6.8l5 5c.1.1.1.3 0 .4l-2.3 2.3 1.1 1.1 2.3-2.3c.6-.7.6-1.9-.1-2.5z"})})},47659:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"})})},30797:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(70444),r=n(30275);const s=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",children:(0,r.jsx)(a.Path,{d:"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"})})},59823:(e,t,n)=>{"use strict";n.d(t,{AG:()=>o,Ti:()=>s,eV:()=>i});var a=n(38697),r=n(72867);function s(e,t){return 0===t?e.toLowerCase():(0,r.By)(e,t)}function o(e,t){return 0===t?e.toLowerCase():(0,r.Pv)(e)}function i(e,t){return void 0===t&&(t={}),(0,r.Ho)(e,(0,a.pi)({transform:s},t))}},81338:(e,t,n)=>{"use strict";n.d(t,{I:()=>i,w:()=>o});var a=n(38697),r=n(68308),s=n(83078);function o(e){return(0,s.l)(e.toLowerCase())}function i(e,t){return void 0===t&&(t={}),(0,r.B)(e,(0,a.pi)({delimiter:" ",transform:o},t))}},28132:(e,t,n)=>{"use strict";n.r(t),n.d(t,{camelCase:()=>a.eV,camelCaseTransform:()=>a.Ti,camelCaseTransformMerge:()=>a.AG,capitalCase:()=>r.I,capitalCaseTransform:()=>r.w,constantCase:()=>s.c,dotCase:()=>o.$,headerCase:()=>i.e,noCase:()=>c.B,paramCase:()=>l.o,pascalCase:()=>u.Ho,pascalCaseTransform:()=>u.By,pascalCaseTransformMerge:()=>u.Pv,pathCase:()=>d.Y,sentenceCase:()=>p.G,sentenceCaseTransform:()=>p.a,snakeCase:()=>m.f});var a=n(59823),r=n(81338),s=n(56233),o=n(77352),i=n(20025),c=n(68308),l=n(76854),u=n(72867),d=n(76559),p=n(44434),m=n(59491)},56233:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});var a=n(38697),r=n(68308),s=n(48936);function o(e,t){return void 0===t&&(t={}),(0,r.B)(e,(0,a.pi)({delimiter:"_",transform:s.L},t))}},94273:e=>{!function(){"use strict";var t=[],n=3988292384;function a(e){var t,a,r,s,o=-1;for(t=0,r=e.length;t>>=1:s=s>>>1^n;o=o>>>8^s}return~o}function r(e,n){var a,s,o;if(void 0!==r.crc&&n&&e||(r.crc=~0,e)){for(a=r.crc,s=0,o=e.length;s>>8^t[255&(a^e[s])];return r.crc=a,~a}}!function(){var e,a,r;for(a=0;a<256;a+=1){for(e=a,r=0;r<8;r+=1)1&e?e=n^e>>>1:e>>>=1;t[a]=e>>>0}}(),e.exports=function(e,t){var n;e="string"==typeof e?(n=e,Array.prototype.map.call(n,(function(e){return e.charCodeAt(0)}))):e;return((t?a(e):r(e))>>>0).toString(16)},e.exports.direct=a,e.exports.table=r}()},35712:function(e,t,n){var a;e.exports=(a=a||function(e,t){var a;if("undefined"!=typeof window&&window.crypto&&(a=window.crypto),"undefined"!=typeof self&&self.crypto&&(a=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(a=globalThis.crypto),!a&&"undefined"!=typeof window&&window.msCrypto&&(a=window.msCrypto),!a&&"undefined"!=typeof window&&window.crypto&&(a=window.crypto),!a)try{a=n(22369)}catch(e){}var r=function(){if(a){if("function"==typeof a.getRandomValues)try{return a.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof a.randomBytes)try{return a.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),o={},i=o.lib={},c=i.Base={extend:function(e){var t=s(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},l=i.WordArray=c.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||d).stringify(this)},concat:function(e){var t=this.words,n=e.words,a=this.sigBytes,r=e.sigBytes;if(this.clamp(),a%4)for(var s=0;s>>2]>>>24-s%4*8&255;t[a+s>>>2]|=o<<24-(a+s)%4*8}else for(var i=0;i>>2]=n[i>>>2];return this.sigBytes+=r,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=c.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n>>2]>>>24-r%4*8&255;a.push((s>>>4).toString(16)),a.push((15&s).toString(16))}return a.join("")},parse:function(e){for(var t=e.length,n=[],a=0;a>>3]|=parseInt(e.substr(a,2),16)<<24-a%8*4;return new l.init(n,t/2)}},p=u.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,a=[],r=0;r>>2]>>>24-r%4*8&255;a.push(String.fromCharCode(s))}return a.join("")},parse:function(e){for(var t=e.length,n=[],a=0;a>>2]|=(255&e.charCodeAt(a))<<24-a%4*8;return new l.init(n,t)}},m=u.Utf8={stringify:function(e){try{return decodeURIComponent(escape(p.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return p.parse(unescape(encodeURIComponent(e)))}},g=i.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=m.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,a=this._data,r=a.words,s=a.sigBytes,o=this.blockSize,i=s/(4*o),c=(i=t?e.ceil(i):e.max((0|i)-this._minBufferSize,0))*o,u=e.min(4*c,s);if(c){for(var d=0;d>>24)|4278255360&(r<<24|r>>>8)}var s=this._hash.words,o=e[t+0],c=e[t+1],m=e[t+2],g=e[t+3],A=e[t+4],h=e[t+5],E=e[t+6],f=e[t+7],b=e[t+8],v=e[t+9],C=e[t+10],k=e[t+11],y=e[t+12],B=e[t+13],w=e[t+14],_=e[t+15],I=s[0],j=s[1],x=s[2],S=s[3];I=l(I,j,x,S,o,7,i[0]),S=l(S,I,j,x,c,12,i[1]),x=l(x,S,I,j,m,17,i[2]),j=l(j,x,S,I,g,22,i[3]),I=l(I,j,x,S,A,7,i[4]),S=l(S,I,j,x,h,12,i[5]),x=l(x,S,I,j,E,17,i[6]),j=l(j,x,S,I,f,22,i[7]),I=l(I,j,x,S,b,7,i[8]),S=l(S,I,j,x,v,12,i[9]),x=l(x,S,I,j,C,17,i[10]),j=l(j,x,S,I,k,22,i[11]),I=l(I,j,x,S,y,7,i[12]),S=l(S,I,j,x,B,12,i[13]),x=l(x,S,I,j,w,17,i[14]),I=u(I,j=l(j,x,S,I,_,22,i[15]),x,S,c,5,i[16]),S=u(S,I,j,x,E,9,i[17]),x=u(x,S,I,j,k,14,i[18]),j=u(j,x,S,I,o,20,i[19]),I=u(I,j,x,S,h,5,i[20]),S=u(S,I,j,x,C,9,i[21]),x=u(x,S,I,j,_,14,i[22]),j=u(j,x,S,I,A,20,i[23]),I=u(I,j,x,S,v,5,i[24]),S=u(S,I,j,x,w,9,i[25]),x=u(x,S,I,j,g,14,i[26]),j=u(j,x,S,I,b,20,i[27]),I=u(I,j,x,S,B,5,i[28]),S=u(S,I,j,x,m,9,i[29]),x=u(x,S,I,j,f,14,i[30]),I=d(I,j=u(j,x,S,I,y,20,i[31]),x,S,h,4,i[32]),S=d(S,I,j,x,b,11,i[33]),x=d(x,S,I,j,k,16,i[34]),j=d(j,x,S,I,w,23,i[35]),I=d(I,j,x,S,c,4,i[36]),S=d(S,I,j,x,A,11,i[37]),x=d(x,S,I,j,f,16,i[38]),j=d(j,x,S,I,C,23,i[39]),I=d(I,j,x,S,B,4,i[40]),S=d(S,I,j,x,o,11,i[41]),x=d(x,S,I,j,g,16,i[42]),j=d(j,x,S,I,E,23,i[43]),I=d(I,j,x,S,v,4,i[44]),S=d(S,I,j,x,y,11,i[45]),x=d(x,S,I,j,_,16,i[46]),I=p(I,j=d(j,x,S,I,m,23,i[47]),x,S,o,6,i[48]),S=p(S,I,j,x,f,10,i[49]),x=p(x,S,I,j,w,15,i[50]),j=p(j,x,S,I,h,21,i[51]),I=p(I,j,x,S,y,6,i[52]),S=p(S,I,j,x,g,10,i[53]),x=p(x,S,I,j,C,15,i[54]),j=p(j,x,S,I,c,21,i[55]),I=p(I,j,x,S,b,6,i[56]),S=p(S,I,j,x,_,10,i[57]),x=p(x,S,I,j,E,15,i[58]),j=p(j,x,S,I,B,21,i[59]),I=p(I,j,x,S,A,6,i[60]),S=p(S,I,j,x,k,10,i[61]),x=p(x,S,I,j,m,15,i[62]),j=p(j,x,S,I,v,21,i[63]),s[0]=s[0]+I|0,s[1]=s[1]+j|0,s[2]=s[2]+x|0,s[3]=s[3]+S|0},_doFinalize:function(){var t=this._data,n=t.words,a=8*this._nDataBytes,r=8*t.sigBytes;n[r>>>5]|=128<<24-r%32;var s=e.floor(a/4294967296),o=a;n[15+(r+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),n[14+(r+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),t.sigBytes=4*(n.length+1),this._process();for(var i=this._hash,c=i.words,l=0;l<4;l++){var u=c[l];c[l]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return i},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,n,a,r,s,o){var i=e+(t&n|~t&a)+r+o;return(i<>>32-s)+t}function u(e,t,n,a,r,s,o){var i=e+(t&a|n&~a)+r+o;return(i<>>32-s)+t}function d(e,t,n,a,r,s,o){var i=e+(t^n^a)+r+o;return(i<>>32-s)+t}function p(e,t,n,a,r,s,o){var i=e+(n^(t|~a))+r+o;return(i<>>32-s)+t}t.MD5=s._createHelper(c),t.HmacMD5=s._createHmacHelper(c)}(Math),a.MD5)},77352:(e,t,n)=>{"use strict";n.d(t,{$:()=>s});var a=n(38697),r=n(68308);function s(e,t){return void 0===t&&(t={}),(0,r.B)(e,(0,a.pi)({delimiter:"."},t))}},92384:(e,t)=>{"use strict";var n=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e)return!1;if(e.length>254)return!1;if(!n.test(e))return!1;var t=e.split("@");return!(t[0].length>64)&&!t[1].split(".").some((function(e){return e.length>63}))}},53184:e=>{"use strict";var t,n="object"==typeof Reflect?Reflect:null,a=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var r=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,e.exports.once=function(e,t){return new Promise((function(n,a){function r(n){e.removeListener(t,s),a(n)}function s(){"function"==typeof e.removeListener&&e.removeListener("error",r),n([].slice.call(arguments))}A(e,t,s,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&A(e,"error",t,n)}(e,r,{once:!0})}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var o=10;function i(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function l(e,t,n,a){var r,s,o,l;if(i(n),void 0===(s=e._events)?(s=e._events=Object.create(null),e._eventsCount=0):(void 0!==s.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),s=e._events),o=s[t]),void 0===o)o=s[t]=n,++e._eventsCount;else if("function"==typeof o?o=s[t]=a?[n,o]:[o,n]:a?o.unshift(n):o.push(n),(r=c(e))>0&&o.length>r&&!o.warned){o.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=o.length,l=u,console&&console.warn&&console.warn(l)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,n){var a={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},r=u.bind(a);return r.listener=n,a.wrapFn=r,r}function p(e,t,n){var a=e._events;if(void 0===a)return[];var r=a[t];return void 0===r?[]:"function"==typeof r?n?[r.listener||r]:[r]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(o=t[0]),o instanceof Error)throw o;var i=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw i.context=o,i}var c=s[e];if(void 0===c)return!1;if("function"==typeof c)a(c,this,t);else{var l=c.length,u=g(c,l);for(n=0;n=0;s--)if(n[s]===t||n[s].listener===t){o=n[s].listener,r=s;break}if(r<0)return this;0===r?n.shift():function(e,t){for(;t+1=0;a--)this.removeListener(e,t[a]);return this},s.prototype.listeners=function(e){return p(this,e,!0)},s.prototype.rawListeners=function(e){return p(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},90861:function(e){e.exports=function(){"use strict";var e=/^(b|B)$/,t={iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},n={iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]},a={floor:Math.floor,ceil:Math.ceil};function r(r){var s,o,i,c,l,u,d,p,m,g,A,h,E,f,b,v,C,k,y,B,w,_=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},I=[],j=0;if(isNaN(r))throw new TypeError("Invalid number");if(i=!0===_.bits,b=!0===_.unix,h=!0===_.pad,o=_.base||10,E=void 0!==_.round?_.round:b?1:2,d=void 0!==_.locale?_.locale:"",p=_.localeOptions||{},v=void 0!==_.separator?_.separator:"",C=void 0!==_.spacer?_.spacer:b?"":" ",y=_.symbols||{},k=2===o?_.standard||"iec":"jedec",A=_.output||"string",l=!0===_.fullform,u=_.fullforms instanceof Array?_.fullforms:[],s=void 0!==_.exponent?_.exponent:-1,B=a[_.roundingMethod]||Math.round,m=(g=Number(r))<0,c=o>2?1e3:1024,w=!1===isNaN(_.precision)?parseInt(_.precision,10):0,m&&(g=-g),(-1===s||isNaN(s))&&(s=Math.floor(Math.log(g)/Math.log(c)))<0&&(s=0),s>8&&(w>0&&(w+=8-s),s=8),"exponent"===A)return s;if(0===g)I[0]=0,f=I[1]=b?"":t[k][i?"bits":"bytes"][s];else{j=g/(2===o?Math.pow(2,10*s):Math.pow(1e3,s)),i&&(j*=8)>=c&&s<8&&(j/=c,s++);var x=Math.pow(10,s>0?E:0);I[0]=B(j*x)/x,I[0]===c&&s<8&&void 0===_.exponent&&(I[0]=1,s++),f=I[1]=10===o&&1===s?i?"kbit":"kB":t[k][i?"bits":"bytes"][s],b&&(I[1]=I[1].charAt(0),e.test(I[1])&&(I[0]=Math.floor(I[0]),I[1]=""))}if(m&&(I[0]=-I[0]),w>0&&(I[0]=I[0].toPrecision(w)),I[1]=y[I[1]]||I[1],!0===d?I[0]=I[0].toLocaleString():d.length>0?I[0]=I[0].toLocaleString(d,p):v.length>0&&(I[0]=I[0].toString().replace(".",v)),h&&!1===Number.isInteger(I[0])&&E>0){var S=v||".",Q=I[0].toString().split(S),N=Q[1]||"",R=N.length,P=E-R;I[0]="".concat(Q[0]).concat(S).concat(N.padEnd(R+P,"0"))}return l&&(I[1]=u[s]?u[s]:n[k][s]+(i?"bit":"byte")+(1===I[0]?"":"s")),"array"===A?I:"object"===A?{value:I[0],symbol:I[1],exponent:s,unit:f}:I.join(C)}return r.partial=function(e){return function(t){return r(t,e)}},r}()},20025:(e,t,n)=>{"use strict";n.d(t,{e:()=>s});var a=n(38697),r=n(81338);function s(e,t){return void 0===t&&(t={}),(0,r.I)(e,(0,a.pi)({delimiter:"-"},t))}},62313:(e,t)=>{"use strict";function n(e){return"[object Object]"===Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=function(e){var t,a;return!1!==n(e)&&(void 0===(t=e.constructor)||!1!==n(a=t.prototype)&&!1!==a.hasOwnProperty("isPrototypeOf"))}},84097:function(e,t){var n,a;a="undefined"!=typeof self?self:"undefined"!=typeof window||"undefined"!=typeof window?window:this,e.exports=function(a){"use strict";var r,s=(a=a||{}).Base64,o="2.6.4",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=function(e){for(var t={},n=0,a=e.length;n>>6)+l(128|63&t):l(224|t>>>12&15)+l(128|t>>>6&63)+l(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return l(240|t>>>18&7)+l(128|t>>>12&63)+l(128|t>>>6&63)+l(128|63&t)},d=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,p=function(e){return e.replace(d,u)},m=function(e){var t=[0,2,1][e.length%3],n=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0);return[i.charAt(n>>>18),i.charAt(n>>>12&63),t>=2?"=":i.charAt(n>>>6&63),t>=1?"=":i.charAt(63&n)].join("")},g=a.btoa&&"function"==typeof a.btoa?function(e){return a.btoa(e)}:function(e){if(e.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return e.replace(/[\s\S]{1,3}/g,m)},A=function(e){return g(p(String(e)))},h=function(e){return e.replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,"")},E=function(e,t){return t?h(A(e)):A(e)},f=function(e){return E(e,!0)};a.Uint8Array&&(r=function(e,t){for(var n="",a=0,r=e.length;a>>18)+i.charAt(l>>>12&63)+(void 0!==o?i.charAt(l>>>6&63):"=")+(void 0!==c?i.charAt(63&l):"=")}return t?h(n):n});var b,v=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,C=function(e){switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return l(55296+(t>>>10))+l(56320+(1023&t));case 3:return l((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return l((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},k=function(e){return e.replace(v,C)},y=function(e){var t=e.length,n=t%4,a=(t>0?c[e.charAt(0)]<<18:0)|(t>1?c[e.charAt(1)]<<12:0)|(t>2?c[e.charAt(2)]<<6:0)|(t>3?c[e.charAt(3)]:0),r=[l(a>>>16),l(a>>>8&255),l(255&a)];return r.length-=[0,0,2,1][n],r.join("")},B=a.atob&&"function"==typeof a.atob?function(e){return a.atob(e)}:function(e){return e.replace(/\S{1,4}/g,y)},w=function(e){return B(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},_=function(e){return k(B(e))},I=function(e){return String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,"")},j=function(e){return _(I(e))};a.Uint8Array&&(b=function(e){return Uint8Array.from(w(I(e)),(function(e){return e.charCodeAt(0)}))});var x=function(){var e=a.Base64;return a.Base64=s,e};if(a.Base64={VERSION:o,atob:w,btoa:g,fromBase64:j,toBase64:E,utob:p,encode:E,encodeURI:f,btou:k,decode:j,noConflict:x,fromUint8Array:r,toUint8Array:b},"function"==typeof Object.defineProperty){var S=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};a.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",S((function(){return j(this)}))),Object.defineProperty(String.prototype,"toBase64",S((function(e){return E(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",S((function(){return E(this,!0)})))}}return a.Meteor&&(Base64=a.Base64),e.exports?e.exports.Base64=a.Base64:void 0===(n=function(){return a.Base64}.apply(t,[]))||(e.exports=n),{Base64:a.Base64}}(a)},97740:(e,t,n)=>{"use strict";n.d(t,{U:()=>a});function a(e){return e.toLowerCase()}},82339:e=>{"use strict";function t(e,t,n,a){var r=Number(e[t].meta.id+1).toString(),s="";return"string"==typeof a.docId&&(s="-"+a.docId+"-"),s+r}function n(e,t){var n=Number(e[t].meta.id+1).toString();return e[t].meta.subId>0&&(n+=":"+e[t].meta.subId),"["+n+"]"}function a(e,t,n,a,r){var s=r.rules.footnote_anchor_name(e,t,n,a,r),o=r.rules.footnote_caption(e,t,n,a,r),i=s;return e[t].meta.subId>0&&(i+=":"+e[t].meta.subId),''+o+""}function r(e,t,n){return(n.xhtmlOut?'
\n':'
\n')+'
\n
    \n'}function s(){return"
\n
\n"}function o(e,t,n,a,r){var s=r.rules.footnote_anchor_name(e,t,n,a,r);return e[t].meta.subId>0&&(s+=":"+e[t].meta.subId),'
  • '}function i(){return"
  • \n"}function c(e,t,n,a,r){var s=r.rules.footnote_anchor_name(e,t,n,a,r);return e[t].meta.subId>0&&(s+=":"+e[t].meta.subId),' ↩︎'}e.exports=function(e){var l=e.helpers.parseLinkLabel,u=e.utils.isSpace;e.renderer.rules.footnote_ref=a,e.renderer.rules.footnote_block_open=r,e.renderer.rules.footnote_block_close=s,e.renderer.rules.footnote_open=o,e.renderer.rules.footnote_close=i,e.renderer.rules.footnote_anchor=c,e.renderer.rules.footnote_caption=n,e.renderer.rules.footnote_anchor_name=t,e.block.ruler.before("reference","footnote_def",(function(e,t,n,a){var r,s,o,i,c,l,d,p,m,g,A,h=e.bMarks[t]+e.tShift[t],E=e.eMarks[t];if(h+4>E)return!1;if(91!==e.src.charCodeAt(h))return!1;if(94!==e.src.charCodeAt(h+1))return!1;for(c=h+2;c=E||58!==e.src.charCodeAt(++c))return!1;if(a)return!0;for(c++,e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.refs||(e.env.footnotes.refs={}),l=e.src.slice(h+2,c-2),e.env.footnotes.refs[":"+l]=-1,(d=new e.Token("footnote_reference_open","",1)).meta={label:l},d.level=e.level++,e.tokens.push(d),r=e.bMarks[t],s=e.tShift[t],o=e.sCount[t],i=e.parentType,A=c,p=m=e.sCount[t]+c-(e.bMarks[t]+e.tShift[t]);c=o)&&(94===e.src.charCodeAt(i)&&(91===e.src.charCodeAt(i+1)&&(n=i+2,!((a=l(e,i+1))<0)&&(t||(e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.list||(e.env.footnotes.list=[]),r=e.env.footnotes.list.length,e.md.inline.parse(e.src.slice(n,a),e.md,e.env,s=[]),e.push("footnote_ref","",0).meta={id:r},e.env.footnotes.list[r]={content:e.src.slice(n,a),tokens:s}),e.pos=a+1,e.posMax=o,!0))))})),e.inline.ruler.after("footnote_inline","footnote_ref",(function(e,t){var n,a,r,s,o=e.posMax,i=e.pos;if(i+3>o)return!1;if(!e.env.footnotes||!e.env.footnotes.refs)return!1;if(91!==e.src.charCodeAt(i))return!1;if(94!==e.src.charCodeAt(i+1))return!1;for(a=i+2;a=o)&&(a++,n=e.src.slice(i+2,a-1),void 0!==e.env.footnotes.refs[":"+n]&&(t||(e.env.footnotes.list||(e.env.footnotes.list=[]),e.env.footnotes.refs[":"+n]<0?(r=e.env.footnotes.list.length,e.env.footnotes.list[r]={label:n,count:0},e.env.footnotes.refs[":"+n]=r):r=e.env.footnotes.refs[":"+n],s=e.env.footnotes.list[r].count,e.env.footnotes.list[r].count++,e.push("footnote_ref","",0).meta={id:r,subId:s,label:n}),e.pos=a,e.posMax=o,!0)))})),e.core.ruler.after("inline","footnote_tail",(function(e){var t,n,a,r,s,o,i,c,l,u,d=!1,p={};if(e.env.footnotes&&(e.tokens=e.tokens.filter((function(e){return"footnote_reference_open"===e.type?(d=!0,l=[],u=e.meta.label,!1):"footnote_reference_close"===e.type?(d=!1,p[":"+u]=l,!1):(d&&l.push(e),!d)})),e.env.footnotes.list)){for(o=e.env.footnotes.list,i=new e.Token("footnote_block_open","",1),e.tokens.push(i),t=0,n=o.length;t0?o[t].count:1,a=0;a{},56878:()=>{},40888:()=>{},59961:()=>{},73443:()=>{},78296:()=>{},44046:()=>{},7679:()=>{},15184:()=>{},9170:()=>{},32295:()=>{},46154:()=>{},18145:()=>{},11172:()=>{},91680:()=>{},49304:()=>{},27212:()=>{},5609:()=>{},58449:()=>{},75830:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={container:"demNsMJjhi7BLY7xhjU5","icon-wrapper":"QiUjdjJSkqh6nH7YMG5A","is-error":"Q080AHcq29J2fc68Hhk5",icon:"hYWbIwhppukXmGnsiT9H","is-warning":"JjHuxWly0HI9C60gorbq","is-info":"Cm8ZFHi3mngl4cj9Gatx","is-success":"ytGBsU015p3LGwOPwFDx"}},62103:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={button:"zI5tJ_qhWE6Oe6Lk75GY","is-icon-button":"tuBt2DLqimiImoqVzPqo",small:"Na39I683LAaSA99REg14",normal:"ipS7tKy9GntCS4R3vekF",icon:"paGLQwtPEaJmtArCcmyK",regular:"lZAo6_oGfclXOO9CC6Rd","full-width":"xJDOiJxTt0R_wSl8Ipz_",loading:"q_tVWqMjl39RcY6WtQA6","external-icon":"CDuBjJp_8jxzx5j6Nept"}},53351:()=>{},72098:()=>{},45460:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={"star-icon":"cuoSlhSNrqf1dozY22Xb",jetpack:"lAIiifeLMmZAPlQ9n9ZR","checkmark-icon":"JLquNpQVlysAamuh5lJO",socialIcon:"cbOwD8Y4tFjwimmtchQI",bluesky:"aLWBKY0yRghEk7tNCgK3",facebook:"aHOlEBGD5EA8NKRw3xTw",instagram:"cL3m0xBYTYhIKI7lCqDB",twitter:"af4Y_zItXvLAOEoSDPSv",linkedin:"f68aqF3XSD1OBvXR1get",tumblr:"xFI0dt3UiXRlRQdqPWkx",google:"q7JEoyymveP6kF747M43",mastodon:"DKOBOTVmTLbh26gUH_73",nextdoor:"n5XodNsuMfMAAvqHFmbw",whatsapp:"fftumuc_lJ6v0tq4UMVR",threads:"inzgC27qxdt7hSdhTWRI"}},49710:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)"}},46409:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={placeholder:"NisihrgiIKl_knpYJtfg",pulse:"R2i0K45dEF157drbVRPI"}},12077:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={container:"VHYulMcpzbr10HWR0iSE","icon-wrapper":"FGpSkMCiIHQjszcV0dbn","close-button":"KoWZcCwhW13xvkEb0QON","main-content":"smrfczkC53EaFM8OJUXs",title:"IKYRWoPwt9xOVEx1wzNS","action-bar":"qM0qY6mPYp1MPN54A3Kg","is-error":"A5YkDkkXuiYgavrY6Nux",icon:"y_IPyP1wIAOhyNaqvXJq","is-warning":"cT5rwuPMZzWvi5o6shMl","is-info":"yo0O3uvNomPsYUXFCpAS","is-success":"oZdDFf1jBLkzn5ICCC6x"}},34086:()=>{},48026:()=>{},85837:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={reset:"WQVtrU6q0L1Igcj7wCrQ","headline-medium":"UujoBFTnQNY2cWU2SIsH","headline-small":"TeGO5V_thHw5lDAm1_2M","headline-small-regular":"WolQzb2MsSgiNmLtc7_j","title-medium":"hUB0JT8p1T2Hw28N6qC8","title-medium-semi-bold":"gKZWDv5chz3_O3Syp74H","title-small":"zY2No8Ga4b8shbOQGhnv",body:"tIj0D1t8Cc892ikmgFPZ","body-small":"KdcN0BnOaVeVhyLRKqhS","body-extra-small":"dso3Rh3tl3Xv1GumBktz","body-extra-small-bold":"mQ1UlbN9u4Mg9byO8m7v",label:"PItlW5vRExLnTj4a8eLE","m-0":"TwRpPlktzxhmFVeua7P5","mx-0":"zVfqx7gyb3o9mxfGynn1","my-0":"iSHVzNiB9iVleGljaQxy","mt-0":"xqDIp6cNVr_E6RXaiPyD","mr-0":"S8EwaXk1kyPizt6x4WH2","mb-0":"ODX5Vr1TARoLFkDDFooD","ml-0":"cphJ8dCpfimnky7P2FHg","m-1":"PFgIhNxIyiSuNvQjAIYj","mx-1":"M2jKmUzDxvJjjVEPU3zn","my-1":"io15gAh8tMTNbSEfwJKk","mt-1":"rcTN5uw9xIEeMEGL3Xi_","mr-1":"CQSkybjq2TcRM1Xo9COV","mb-1":"hfqOWgq6_MEGdFE82eOY","ml-1":"I8MxZQYTbuu595yfesWA","m-2":"kQkc6rmdpvLKPkyoJtVQ","mx-2":"j6vFPxWuu4Jan2ldoxpp","my-2":"hqr39dC4H_AbactPAkCG","mt-2":"c3dQnMi16C6J6Ecy4283","mr-2":"YNZmHOuRo6hU7zzKfPdP","mb-2":"Db8lbak1_wunpPk8NwKU","ml-2":"ftsYE5J9hLzquQ0tA5dY","m-3":"Det4MHzLUW7EeDnafPzq","mx-3":"h_8EEAztC29Vve1datb5","my-3":"YXIXJ0h1k47u6hzK8KcM","mt-3":"soADBBkcIKCBXzCTuV9_","mr-3":"zSX59ziEaEWGjnpZa4uV","mb-3":"yrVTnq_WBMbejg89c2ZQ","ml-3":"UKtHPJnI2cXBWtPDm5hM","m-4":"guexok_Tqd5Tf52hRlbT","mx-4":"oS1E2KfTBZkJ3F0tN7T6","my-4":"DN1OhhXi6AoBgEdDSbGd","mt-4":"ot2kkMcYHv53hLZ4LSn0","mr-4":"A1krOZZhlQ6Sp8Cy4bly","mb-4":"pkDbXXXL32237M0hokEh","ml-4":"XXv4kDTGvEnQeuGKOPU3","m-5":"yGqHk1a57gaISwkXwXe6","mx-5":"X8cghM358X3DkXLc9aNK","my-5":"GdfSmGwHlFnN2S6xBn1f","mt-5":"yqeuzwyGQ7zG0avrGqi_","mr-5":"g9emeCkuHvYhveiJbfXO","mb-5":"Lvk3dqcyHbZ07QCRlrUQ","ml-5":"r3yQECDQ9qX0XZzXlVAg","m-6":"aQhlPwht2Cz1X_63Miw0","mx-6":"JyHb0vK3wJgpblL9s5j8","my-6":"cY2gULL1lAv6WPNIRuf3","mt-6":"NBWQ9Lwhh_fnry3lg_p7","mr-6":"yIOniNe5E40C8fWvBm5V","mb-6":"t30usboNSyqfQWIwHvT3","ml-6":"Nm_TyFkYCMhOoghoToKJ","m-7":"C4qJKoBXpgKtpmrqtEKB","mx-7":"S93Srbu6NQ_PBr7DmTiD","my-7":"fJj8k6gGJDks3crUZxOS","mt-7":"cW6D6djs7Ppm7fD7TeoV","mr-7":"DuCnqNfcxcP3Z__Yo5Ro","mb-7":"im8407m2fw5vOg7O2zsw","ml-7":"G0fbeBgvz2sh3uTP9gNl","m-8":"kvW3sBCxRxUqz1jrVMJl","mx-8":"tOjEqjLONQdkiYx_XRnw","my-8":"op5hFSx318zgxsoZZNLN","mt-8":"c9WfNHP6TFKWIfLxv52J","mr-8":"sBA75QqcqRwwYSHJh2wc","mb-8":"GpL6idrXmSOM6jB8Ohsf","ml-8":"HbtWJoQwpgGycz8dGzeT","p-0":"uxX3khU88VQ_Ah49Ejsa","px-0":"KX0FhpBKwKzs9fOUdbNz","py-0":"PfK8vKDyN32dnimlzYjz","pt-0":"emxLHRjQuJsImnPbQIzE","pr-0":"kJ8WzlpTVgdViXt8ukP9","pb-0":"tg_UIUI11VBzrTAn2AzJ","pl-0":"uczvl8kaz84oPQJ2DB2R","p-1":"o7UHPcdVK3lt7q3lqV4o","px-1":"IDqEOxvDoYrFYxELPmtX","py-1":"DdywPW2qSYlu2pt8tpO2","pt-1":"npy3hw4A5QSkDicb2CJJ","pr-1":"LgbptTApNY5NwLQvEFAt","pb-1":"WZQy2SZuZso59bUsXXyl","pl-1":"o331apInxNunbYB3SfPE","p-2":"fMPIyD9Vqki1Lrc_yJnG","px-2":"i2pMcTcdrr10IQoiSm_L","py-2":"eA702gn32kwptiI1obXH","pt-2":"o9bGieUKcYc8o0Ij9oZX","pr-2":"SwZcFez1RDqWsOFjB5iG","pb-2":"eHpLc_idmuEqeqCTvqkN","pl-2":"vU39i2B4P1fUTMB2l6Vo","p-3":"JHWNzBnE29awhdu5BEh1","px-3":"X72lGbb56L3KFzC2xQ9N","py-3":"BzfNhRG8wXdCEB5ocQ6e","pt-3":"srV0KSDC83a2fiimSMMQ","pr-3":"lUWfkmbQjCskhcNwkyCm","pb-3":"Ts0dIlc3aTSL7V4cIHis","pl-3":"CzlqQXXhX6MvorArFZ8B","p-4":"TqMPkQtR_DdZuKb5vBoV","px-4":"a7UrjhI69Vetlcj9ZVzz","py-4":"StEhBzGs2Gi5dDEkjhAv","pt-4":"FGneZfZyvYrt1dG0zcnm","pr-4":"APEH216rpdlJWgD2fHc8","pb-4":"oGwXC3ohCic9XnAj6x69","pl-4":"U6gnT9y42ViPNOcNzBwb","p-5":"IpdRLBwnHqbqFrixgbYC","px-5":"HgNeXvkBa9o3bQ5fvFZm","py-5":"tJtFZM3XfPG9v9TSDfN1","pt-5":"PdifHW45QeXYfK568uD8","pr-5":"mbLkWTTZ0Za_BBbFZ5b2","pb-5":"vVWpZpLlWrkTt0hMk8XU","pl-5":"RxfaJj5a1Nt6IavEo5Zl","p-6":"SppJULDGdnOGcjZNCYBy","px-6":"palY2nLwdoyooPUm9Hhk","py-6":"WYw1JvZC0ppLdvSAPhr_","pt-6":"YEEJ9b90ueQaPfiU8aeN","pr-6":"QE0ssnsKvWJMqlhPbY5u","pb-6":"n8yA3jHlMRyLd5UIfoND","pl-6":"tXHmxYnHzbwtfxEaG51n","p-7":"kBTsPKkO_3g_tLkj77Um","px-7":"RyhrFx6Y1FGDrGAAyaxm","py-7":"CBwRpB0bDN3iEdQPPMJO","pt-7":"vQVSq6SvWKbOMu6r4H6b","pr-7":"oBy5__aEADMsH46mrgFX","pb-7":"KVEXoJqf1s92j0JMdNmN","pl-7":"ZMXGNrNaKW3k_3TLz0Fq","p-8":"tuiR9PhkHXhGyEgzRZRI","px-8":"U7454qyWkQNa2iaSJziu","py-8":"VLYIv2GVocjuN93e8HC8","pt-8":"X1rm9DQ1zLGLfogja5Gn","pr-8":"JS7G6kAuqJo5GIuF8S5t","pb-8":"Y8F9ga1TDCMbM1lj4gUz","pl-8":"AJuyNGrI63BOWql719H8"}},93468:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={global:"_fUXxnSp5pagKBp9gSN7"}},75124:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={wrapper:"O5Go3eBOBqWlXy7fX0su","connection-name":"fgQ4OdnJ1svMwDnOKu2H","profile-link":"ArQoWnNoP4okGpEbxF6b",confirmDialog:"QsEfjoVyfc0gVACXTvUM","mark-shared-wrap":"eCH_xkiqbqL0UkJjU_1p","connection-panel":"J2Rz6Qb6mWPyJDF0yoqw","connection-list":"fXYYdRkn3LXtN9YH3354","connection-list-item":"LaK9P7Nfi4ZBH0NhtbSs","connection-item":"tI3FtttoJPuF9AJzCAMv","connection-item-name":"msoMjBB_4Uq5qpRgobsH","learn-more":"RjMLptH6v03AX5ABWBp3","connection-name-wrapper":"z5Do97zRnujyW3Oj0pPJ"}},91853:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={"connection-container":"KQcQQLxH5fI08DfOlKwL"}},75631:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={"connections-list":"Ua6eKcnk_tQQpFlgXMSn","components-notice":"SHqrIEguRfCILRHPyxE9","more-link":"ejyuBjiLmHz_UTFmBnjA","change-settings-button":"smqXe_da1eoP4Agql_Cs","bar-wrapper":"wy2LRr6EYfEPS1_tw21X","share-count-info":"RY1gHNa4QvZVfS6_9jwN","enabled-connections-notice":"O_ZghPCUG7291iVsp1wx","auto-share-title":"PR7POigxhvyqNIjSo9F0","title-container":"doYMSVhNe2U7so5sInxh","no-connections-text":"nrOxj0JeSCWwCB4oaR94","broken-connection-btn":"Jxra4242dPPaUy28mM8H","broken-connection-service":"amoEz9VXiwF3eyLxTbOA","broken-connection":"irsbCLZJNayrJ0g_joAn","settings-button":"lIKYDl6xVVtMbvcUDrrn"}},58487:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={container:"OWstrHF6QZdaosKs0b6j",hidden:"HJMFrbZ0khdkKKkocrIK"}},31182:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={confirmation:"udAWaza1u34TkmZZUPq4","header-text":"JsO4jFxFAKjG6Go62bZF",form:"SeoSfJ6eII9O0PiDkl5g","accounts-list":"M6POQFFbhswwolN6D9VN","account-input":"Sk_WQxS97yTokR_rM3Ci","account-label":"CRjatFVv3dQMjG9_Vmjj","submit-wrap":"re3HrL6GJa59uqDgx771","profile-pic":"jPB4ApiYyEswu6AKKJqk","account-info":"JhIphWt8e2X_ee0l7KEZ"}},16845:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={modal:"Mu_jAq5ZcYDM1kmBbxcs","connect-form":"foAsC5GlXOWEzACnxT_P",small:"_7PKKGx44v2H9dJbUltFw","manual-share":"IGOk1gMf5SKkfOKyF7Xc"}},42911:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={wrapper:"pp_WJTHlGIX9bcHCLxJh",title:"IzRyqrcpwjKRBJKEtECz"}},69339:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={"preview-wrapper":"cZuW54OEuUN9yvuE_rNU","preview-image":"vCs0BOExDMOystFhG2wa",container:"sKpch49QzrpontC0DvF7",subtitle:"vOO47kVjHn7i63fQ0bx0",preview:"ziE_jq4PmQmGBedGskf_",remove:"qqGj0rmSJvZs9dyr0u_I","remove-loading":"TJGgifcTHqUtknPqVQpH"}},45811:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={wrapper:"f92zWdEJJIwBvwH5rRzn",disabled:"rBTOWyeewE4VxAqYgjoI","preview-wrapper":"PykCvaqoL7AIDzVKJAtg",notice:"SSMDWFYkP44va5KqPpTP",subtitle:"Q21myqk1zOYB3IH8YuEq","learn-more":"RoerAwwhu_PqirHlSJPz"}},82283:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={notice:"ptn8jt555LOvMXWaoLxs","notice--default":"IVzciZv5S5E8XgR5EsLp","notice--highlight":"OpbDsm3F65Z4K5Bz43cz","notice--warning":"dlrSwB0tyuf1TYcypDec","notice--error":"hkpqil8E11PObwu7TVU2",content:"AeqtA3GRe7sFjKaC9SqL",dismiss:"IArBTmNL2K4du5WPBUhg",actions:"T7E2eJJN4qjwPpv3mcjV"}},23761:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={panel:"U_WW2qLSQA71SJYyITOq"}},45078:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={description:"D8uyjb_rjCf4HTMT0mj0"}},2097:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={prompt:"CW7R8fRQqVKfyXFYiNWR",buttons:"n34j0qWq2EZzYl1jAiej",button:"aIuCL8MdydCJGcrOqp4x",header:"qegtnlYWDc3UnIGPRlQb"}},90934:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={services:"SbpyhN5jnda8H868J3rX","service-list-item":"ONeewrk3aNC1gYJebq7K","service-item":"RoTxOeGFqAwk3pXUZpvF","service-item-info":"AjlYaYB_xi9ciXXCqHIJ","service-basics":"kdYli5nS3b46T57Ih5TQ",heading:"ci8T5eNe1rggYILce596",badges:"W6mPdl5wGQlXfp1hYSK0",badge:"QbcyaAVqz3U_2xlIOZCw",title:"fXvUC1jZNUXR7RSrIylI",description:"d22_aeSA1etqpnckP_Mr",actions:"ddhaNmGMqOySRjR_TtqJ","learn-more":"nnSF_IK4vYviTlCOzPrg","service-panel":"u17AiTny2Jbh35JFAUYw","connect-form-wrapper":"U_Z9JvOsEQ6BtkH9P1IQ","active-connection":"MyXskAb4aXwO7zitR97z","broken-connection-alert":"hMntEpO6BV5B11lyAitv","service-connection-list":"Y_4JpLfOnXVZKvEs179H","example-wrapper":"jdahJvXCrCw0hA5NP3D3",small:"LLeYGX7Owy6gmpNW88VV","service-connection":"EdjyE9tVLH6lWMoB9z3M","connection-details":"EQQHwkVXRn0caD6J7LqV","profile-pic":"vvlyiVm67wUWF9NhpMA4",disconnect:"zqX6xk8KCGK1_qbYKqY5","connect-form":"fNeO_MZFp7cPkgtCdkAF","connect-button":"zK8sijAMFNs2m6WRAoi4","mark-shared-wrap":"zLobzkXnF6jHxNvkfz5_"}},30664:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={"share-buttons":"JUeclE9CucaXRlTL5K9H",x:"rhyZKz4FQtFOFAMwLgLj",whatsapp:"DDRhGoqXUOM6Jug54nEB",facebook:"h57Cabo4jn8Ke77_DLOX",clipboard:"tvNWJpaNzPro4QaItBae",vertical:"p_VTpBCFklSkcb0iiD0K",container:"DyIAUIn_2bkciyB_XtgH",label:"Lx8xScOApJmJdhJF9JWd"}},73640:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={"bar-wrapper":"wu3aDYFeiXIJx7zjdQg7",wrapper:"PYlDideBTzXaLK6N44H_"}},40088:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={templateControl:"tfWupx32Rn5hHqVjTzui",customText:"qu9UsV1EEFeFxhU3Wgt5",mediaPicker:"nZhgKYFn6MQoIDGcKrUG"}},15214:()=>{"use strict"},47320:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={templates:"m9360_cMWKFHTNk9xpNz",template:"j4EvSJfKIJLGEIAETiEY","template--active":"dQb3Zpl0puk4V6ezZslo"}},83122:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={panel:"nOZgE6dP_guav2888GAK",modal:"jxndagXCphEhzYfnjHMZ","modal-content":"na9tpJVboVaxVNabSRsr","close-button":"VxWWpt730pSzZCEVjxA3","settings-header":"z14EiGfFuQwKazBW3LpF","settings-section":"LAWYmJPODB8LgzQMzsyx","settings-content":"vVbLRydJFLCVa49hSz83","preview-section":"uw1atyZ2fcJoKjwf6SZW","preview-content":"meKppCUznQhlkjwZuS6G","disabled-tab":"HS7f47n0w2xUqa4wQkwX"}},28161:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={"publicize-notice":"__nV49on4_ijaV8Brnsw","components-notice":"zZ3Pu7E87XyYIdPR2WTt","components-button":"fLC8AaLf3xcKaoJ4Opax"}},87728:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={wrapper:"sP1aklNMfj7lCDxuhWaq",progress:"a6tcXi51GAewl3qx0AVi",duration:"uFtCCGeycoI94JbCnJh8"}},5743:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={wrapper:"h2NGkiVs1r1nf85LtJpF","conversion-notice":"k3Apzwo3v9n0IaHbB8tf"}},73171:e=>{var t=1e3,n=60*t,a=60*n,r=24*a,s=7*r,o=365.25*r;function i(e,t,n,a){var r=t>=1.5*n;return Math.round(e/n)+" "+a+(r?"s":"")}e.exports=function(e,c){c=c||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!i)return;var c=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*o;case"weeks":case"week":case"w":return c*s;case"days":case"day":case"d":return c*r;case"hours":case"hour":case"hrs":case"hr":case"h":return c*a;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===l&&isFinite(e))return c.long?function(e){var s=Math.abs(e);if(s>=r)return i(e,s,r,"day");if(s>=a)return i(e,s,a,"hour");if(s>=n)return i(e,s,n,"minute");if(s>=t)return i(e,s,t,"second");return e+" ms"}(e):function(e){var s=Math.abs(e);if(s>=r)return Math.round(e/r)+"d";if(s>=a)return Math.round(e/a)+"h";if(s>=n)return Math.round(e/n)+"m";if(s>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},68308:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});var a=n(97740),r=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],s=/[^A-Z0-9]+/gi;function o(e,t){void 0===t&&(t={});for(var n=t.splitRegexp,o=void 0===n?r:n,c=t.stripRegexp,l=void 0===c?s:c,u=t.transform,d=void 0===u?a.U:u,p=t.delimiter,m=void 0===p?" ":p,g=i(i(e,o,"$1\0$2"),l,"\0"),A=0,h=g.length;"\0"===g.charAt(A);)A++;for(;"\0"===g.charAt(h-1);)h--;return g.slice(A,h).split("\0").map(d).join(m)}function i(e,t,n){return t instanceof RegExp?e.replace(t,n):t.reduce((function(e,t){return e.replace(t,n)}),e)}},76854:(e,t,n)=>{"use strict";n.d(t,{o:()=>s});var a=n(38697),r=n(77352);function s(e,t){return void 0===t&&(t={}),(0,r.$)(e,(0,a.pi)({delimiter:"-"},t))}},72867:(e,t,n)=>{"use strict";n.d(t,{By:()=>s,Ho:()=>i,Pv:()=>o});var a=n(38697),r=n(68308);function s(e,t){var n=e.charAt(0),a=e.substr(1).toLowerCase();return t>0&&n>="0"&&n<="9"?"_"+n+a:""+n.toUpperCase()+a}function o(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}function i(e,t){return void 0===t&&(t={}),(0,r.B)(e,(0,a.pi)({delimiter:"",transform:s},t))}},76559:(e,t,n)=>{"use strict";n.d(t,{Y:()=>s});var a=n(38697),r=n(77352);function s(e,t){return void 0===t&&(t={}),(0,r.$)(e,(0,a.pi)({delimiter:"/"},t))}},69424:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var a=n(94273),r=n.n(a),s=n(53191),o=n.n(s),i=n(51128),c=n.n(i)()("photon"),l={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},u="__domain__.invalid",d="http://".concat(u),p="https://i0.wp.com";function m(e,t){var n;try{n=new URL(e,d)}catch(e){return null}var a,s,i,m,g,A="https:"===n.protocol,h=new URL(p);if(g=n.host,/^i[0-2]\.wp\.com$/.test(g))h.pathname=n.pathname,h.hostname=n.hostname;else{if(n.search)return null;var E=n.href.replace("".concat(n.protocol,"/"),"");"blob:"===n.protocol&&(E=n.pathname.replace("://","//")),n.hostname===u&&(E=n.pathname),h.pathname=E,h.hostname=(a=E,s=r()(a),i=o()(s),m="i"+Math.floor(3*i()),c('determined server "%s" to use with "%s"',m,a),m+".wp.com"),A&&h.searchParams.set("ssl",1)}if(t)for(var f in t)"host"!==f&&"hostname"!==f?"secure"!==f||t[f]?h.searchParams.set(l[f]||f,t[f]):h.protocol="http:":h.hostname=t[f];return c("generated Photon URL: %s",h.href),h.href}},469:(e,t,n)=>{"use strict";var a=n(90758);function r(){}function s(){}s.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,s,o){if(o!==a){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:r};return n.PropTypes=n,n}},25162:(e,t,n)=>{e.exports=n(469)()},90758:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},15720:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>f});const a=2147483647,r=36,s=/^xn--/,o=/[^\0-\x7F]/,i=/[\x2E\u3002\uFF0E\uFF61]/g,c={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},l=Math.floor,u=String.fromCharCode;function d(e){throw new RangeError(c[e])}function p(e,t){const n=e.split("@");let a="";n.length>1&&(a=n[0]+"@",e=n[1]);const r=function(e,t){const n=[];let a=e.length;for(;a--;)n[a]=t(e[a]);return n}((e=e.replace(i,".")).split("."),t).join(".");return a+r}function m(e){const t=[];let n=0;const a=e.length;for(;n=55296&&r<=56319&&n>1,e+=l(e/t);e>455;a+=r)e=l(e/35);return l(a+36*e/(e+38))},h=function(e){const t=[],n=e.length;let s=0,o=128,i=72,c=e.lastIndexOf("-");c<0&&(c=0);for(let n=0;n=128&&d("not-basic"),t.push(e.charCodeAt(n));for(let p=c>0?c+1:0;p=n&&d("invalid-input");const c=(u=e.charCodeAt(p++))>=48&&u<58?u-48+26:u>=65&&u<91?u-65:u>=97&&u<123?u-97:r;c>=r&&d("invalid-input"),c>l((a-s)/t)&&d("overflow"),s+=c*t;const m=o<=i?1:o>=i+26?26:o-i;if(cl(a/g)&&d("overflow"),t*=g}const m=t.length+1;i=A(s-c,m,0==c),l(s/m)>a-o&&d("overflow"),o+=l(s/m),s%=m,t.splice(s++,0,o)}var u;return String.fromCodePoint(...t)},E=function(e){const t=[],n=(e=m(e)).length;let s=128,o=0,i=72;for(const n of e)n<128&&t.push(u(n));const c=t.length;let p=c;for(c&&t.push("-");p=s&&tl((a-o)/m)&&d("overflow"),o+=(n-s)*m,s=n;for(const n of e)if(na&&d("overflow"),n===s){let e=o;for(let n=r;;n+=r){const a=n<=i?1:n>=i+26?26:n-i;if(eString.fromCodePoint(...e)},decode:h,encode:E,toASCII:function(e){return p(e,(function(e){return o.test(e)?"xn--"+E(e):e}))},toUnicode:function(e){return p(e,(function(e){return s.test(e)?h(e.slice(4).toLowerCase()):e}))}}},28918:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>j});var a,r=n(99196),s=n.n(r),o=Object.defineProperty,i=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,u=(e,t,n)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,d=(e,t)=>{for(var n in t||(t={}))c.call(t,n)&&u(e,n,t[n]);if(i)for(var n of i(t))l.call(t,n)&&u(e,n,t[n]);return e},p=(e,t)=>{var n={};for(var a in e)c.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&i)for(var a of i(e))t.indexOf(a)<0&&l.call(e,a)&&(n[a]=e[a]);return n};(e=>{const t=class{constructor(e,n,a,r){if(this.version=e,this.errorCorrectionLevel=n,this.modules=[],this.isFunction=[],et.MAX_VERSION)throw new RangeError("Version value out of range");if(r<-1||r>7)throw new RangeError("Mask value out of range");this.size=4*e+17;let o=[];for(let e=0;e7)throw new RangeError("Invalid value");let u,d;for(u=r;;u++){const a=8*t.getNumDataCodewords(u,n),r=i.getTotalBits(e,u);if(r<=a){d=r;break}if(u>=o)throw new RangeError("Data too long")}for(const e of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])l&&d<=8*t.getNumDataCodewords(u,e)&&(n=e);let p=[];for(const t of e){a(t.mode.modeBits,4,p),a(t.numChars,t.mode.numCharCountBits(u),p);for(const e of t.getData())p.push(e)}s(p.length==d);const m=8*t.getNumDataCodewords(u,n);s(p.length<=m),a(0,Math.min(4,m-p.length),p),a(0,(8-p.length%8)%8,p),s(p.length%8==0);for(let e=236;p.lengthg[t>>>3]|=e<<7-(7&t))),new t(u,n,g,c)}getModule(e,t){return 0<=e&&e>>9);const a=21522^(t<<10|n);s(a>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,r(a,e));this.setFunctionModule(8,7,r(a,6)),this.setFunctionModule(8,8,r(a,7)),this.setFunctionModule(7,8,r(a,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,r(a,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,r(a,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,r(a,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^7973*(e>>>11);const t=this.version<<12|e;s(t>>>18==0);for(let e=0;e<18;e++){const n=r(t,e),a=this.size-11+e%3,s=Math.floor(e/3);this.setFunctionModule(a,s,n),this.setFunctionModule(s,a,n)}}drawFinderPattern(e,t){for(let n=-4;n<=4;n++)for(let a=-4;a<=4;a++){const r=Math.max(Math.abs(a),Math.abs(n)),s=e+a,o=t+n;0<=s&&s{(e!=l-o||n>=c)&&p.push(t[e])}));return s(p.length==i),p}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let n=0;for(let t=this.size-1;t>=1;t-=2){6==t&&(t=5);for(let a=0;a>>3],7-(7&n)),n++)}}s(n==8*e.length)}applyMask(e){if(e<0||e>7)throw new RangeError("Mask value out of range");for(let t=0;t5&&e++):(this.finderPenaltyAddHistory(r,s),a||(e+=this.finderPenaltyCountPatterns(s)*t.PENALTY_N3),a=this.modules[n][o],r=1);e+=this.finderPenaltyTerminateAndCount(a,r,s)*t.PENALTY_N3}for(let n=0;n5&&e++):(this.finderPenaltyAddHistory(r,s),a||(e+=this.finderPenaltyCountPatterns(s)*t.PENALTY_N3),a=this.modules[o][n],r=1);e+=this.finderPenaltyTerminateAndCount(a,r,s)*t.PENALTY_N3}for(let n=0;ne+(t?1:0)),n);const a=this.size*this.size,r=Math.ceil(Math.abs(20*n-10*a)/a)-1;return s(0<=r&&r<=9),e+=r*t.PENALTY_N4,s(0<=e&&e<=2568888),e}getAlignmentPatternPositions(){if(1==this.version)return[];{const e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2));let n=[6];for(let a=this.size-7;n.lengtht.MAX_VERSION)throw new RangeError("Version number out of range");let n=(16*e+128)*e+64;if(e>=2){const t=Math.floor(e/7)+2;n-=(25*t-10)*t-55,e>=7&&(n-=36)}return s(208<=n&&n<=29648),n}static getNumDataCodewords(e,n){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[n.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw new RangeError("Degree out of range");let n=[];for(let t=0;t0));for(const r of e){const e=r^a.shift();a.push(0),n.forEach(((n,r)=>a[r]^=t.reedSolomonMultiply(n,e)))}return a}static reedSolomonMultiply(e,t){if(e>>>8!=0||t>>>8!=0)throw new RangeError("Byte out of range");let n=0;for(let a=7;a>=0;a--)n=n<<1^285*(n>>>7),n^=(t>>>a&1)*e;return s(n>>>8==0),n}finderPenaltyCountPatterns(e){const t=e[1];s(t<=3*this.size);const n=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(n&&e[0]>=4*t&&e[6]>=t?1:0)+(n&&e[6]>=4*t&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,n){return e&&(this.finderPenaltyAddHistory(t,n),t=0),t+=this.size,this.finderPenaltyAddHistory(t,n),this.finderPenaltyCountPatterns(n)}finderPenaltyAddHistory(e,t){0==t[0]&&(e+=this.size),t.pop(),t.unshift(e)}};let n=t;function a(e,t,n){if(t<0||t>31||e>>>t!=0)throw new RangeError("Value out of range");for(let a=t-1;a>=0;a--)n.push(e>>>a&1)}function r(e,t){return!!(e>>>t&1)}function s(e){if(!e)throw new Error("Assertion error")}n.MIN_VERSION=1,n.MAX_VERSION=40,n.PENALTY_N1=3,n.PENALTY_N2=3,n.PENALTY_N3=40,n.PENALTY_N4=10,n.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],n.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=n;const o=class{constructor(e,t,n){if(this.mode=e,this.numChars=t,this.bitData=n,t<0)throw new RangeError("Invalid argument");this.bitData=n.slice()}static makeBytes(e){let t=[];for(const n of e)a(n,8,t);return new o(o.Mode.BYTE,e.length,t)}static makeNumeric(e){if(!o.isNumeric(e))throw new RangeError("String contains non-numeric characters");let t=[];for(let n=0;n=1<{let t;(e=>{const t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}};let n=t;n.LOW=new t(0,1),n.MEDIUM=new t(1,0),n.QUARTILE=new t(2,3),n.HIGH=new t(3,2),e.Ecc=n})(t=e.QrCode||(e.QrCode={}))})(a||(a={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}};let n=t;n.NUMERIC=new t(1,[10,12,14]),n.ALPHANUMERIC=new t(2,[9,11,13]),n.BYTE=new t(4,[8,16,16]),n.KANJI=new t(8,[8,10,12]),n.ECI=new t(7,[0,0,0]),e.Mode=n})(t=e.QrSegment||(e.QrSegment={}))})(a||(a={}));var m=a,g={L:m.QrCode.Ecc.LOW,M:m.QrCode.Ecc.MEDIUM,Q:m.QrCode.Ecc.QUARTILE,H:m.QrCode.Ecc.HIGH},A=128,h="L",E="#FFFFFF",f="#000000",b=!1,v=4,C=.1;function k(e,t=0){const n=[];return e.forEach((function(e,a){let r=null;e.forEach((function(s,o){if(!s&&null!==r)return n.push(`M${r+t} ${a+t}h${o-r}v1H${r+t}z`),void(r=null);if(o!==e.length-1)s&&null===r&&(r=o);else{if(!s)return;null===r?n.push(`M${o+t},${a+t} h1v1H${o+t}z`):n.push(`M${r+t},${a+t} h${o+1-r}v1H${r+t}z`)}}))})),n.join("")}function y(e,t){return e.slice().map(((e,n)=>n=t.y+t.h?e:e.map(((e,n)=>(n=t.x+t.w)&&e))))}function B(e,t,n,a){if(null==a)return null;const r=n?v:0,s=e.length+2*r,o=Math.floor(t*C),i=s/t,c=(a.width||o)*i,l=(a.height||o)*i,u=null==a.x?e.length/2-c/2:a.x*i,d=null==a.y?e.length/2-l/2:a.y*i;let p=null;if(a.excavate){let e=Math.floor(u),t=Math.floor(d);p={x:e,y:t,w:Math.ceil(c+u-e),h:Math.ceil(l+d-t)}}return{x:u,y:d,h:l,w:c,excavation:p}}var w=function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}return!0}();function _(e){const t=e,{value:n,size:a=A,level:o=h,bgColor:i=E,fgColor:c=f,includeMargin:l=b,style:u,imageSettings:C}=t,_=p(t,["value","size","level","bgColor","fgColor","includeMargin","style","imageSettings"]),I=null==C?void 0:C.src,j=(0,r.useRef)(null),x=(0,r.useRef)(null),[S,Q]=(0,r.useState)(!1);(0,r.useEffect)((()=>{if(null!=j.current){const e=j.current,t=e.getContext("2d");if(!t)return;let r=m.QrCode.encodeText(n,g[o]).getModules();const s=l?v:0,u=r.length+2*s,d=B(r,a,l,C),p=x.current,A=null!=d&&null!==p&&p.complete&&0!==p.naturalHeight&&0!==p.naturalWidth;A&&null!=d.excavation&&(r=y(r,d.excavation));const h=window.devicePixelRatio||1;e.height=e.width=a*h;const E=a/u*h;t.scale(E,E),t.fillStyle=i,t.fillRect(0,0,u,u),t.fillStyle=c,w?t.fill(new Path2D(k(r,s))):r.forEach((function(e,n){e.forEach((function(e,a){e&&t.fillRect(a+s,n+s,1,1)}))})),A&&t.drawImage(p,d.x+s,d.y+s,d.w,d.h)}})),(0,r.useEffect)((()=>{Q(!1)}),[I]);const N=d({height:a,width:a},u);let R=null;return null!=I&&(R=s().createElement("img",{src:I,key:I,style:{display:"none"},onLoad:()=>{Q(!0)},ref:x})),s().createElement(s().Fragment,null,s().createElement("canvas",d({style:N,height:a,width:a,ref:j},_)),R)}function I(e){const t=e,{value:n,size:a=A,level:r=h,bgColor:o=E,fgColor:i=f,includeMargin:c=b,imageSettings:l}=t,u=p(t,["value","size","level","bgColor","fgColor","includeMargin","imageSettings"]);let C=m.QrCode.encodeText(n,g[r]).getModules();const w=c?v:0,_=C.length+2*w,I=B(C,a,c,l);let j=null;null!=l&&null!=I&&(null!=I.excavation&&(C=y(C,I.excavation)),j=s().createElement("image",{xlinkHref:l.src,height:I.h,width:I.w,x:I.x+w,y:I.y+w,preserveAspectRatio:"none"}));const x=k(C,w);return s().createElement("svg",d({height:a,width:a,viewBox:`0 0 ${_} ${_}`},u),s().createElement("path",{fill:o,d:`M0,0 h${_}v${_}H0z`,shapeRendering:"crispEdges"}),s().createElement("path",{fill:i,d:x,shapeRendering:"crispEdges"}),j)}var j=e=>{const t=e,{renderAs:n}=t,a=p(t,["renderAs"]);return"svg"===n?s().createElement(I,d({},a)):s().createElement(_,d({},a))}},40142:(e,t)=>{"use strict";var n=Object.prototype.hasOwnProperty;function a(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function r(e){try{return encodeURIComponent(e)}catch(e){return null}}t.stringify=function(e,t){t=t||"";var a,s,o=[];for(s in"string"!=typeof t&&(t="?"),e)if(n.call(e,s)){if((a=e[s])||null!=a&&!isNaN(a)||(a=""),s=r(s),a=r(a),null===s||null===a)continue;o.push(s+"="+a)}return o.length?t+o.join("&"):""},t.parse=function(e){for(var t,n=/([^=?#&]+)=?([^&]*)/g,r={};t=n.exec(e);){var s=a(t[1]),o=a(t[2]);null===s||null===o||s in r||(r[s]=o)}return r}},51516:(e,t,n)=>{"use strict";var a=n(91850);t.createRoot=a.createRoot,t.hydrateRoot=a.hydrateRoot},22552:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(99196),r=n(19905),s=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],_n=!0,a=!1,r=void 0;try{for(var s,o=e[Symbol.iterator]();!(_n=(s=o.next()).done)&&(n.push(s.value),!t||n.length!==t);_n=!0);}catch(e){a=!0,r=e}finally{try{!_n&&o.return&&o.return()}finally{if(a)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=r.Gb&&r.WD;const i=function(){var e=(0,r.XO)(),t=s(e,1)[0],n=(0,a.useState)(t),i=s(n,2),c=i[0],l=i[1];return(0,a.useEffect)((function(){if(o){var e=function(){var e=(0,r.XO)(),t=s(e,1)[0];l(t)};return document.addEventListener(r.WD.event,e),function(){document.removeEventListener(r.WD.event,e)}}}),[]),c}},19905:(e,t,n)=>{"use strict";n.d(t,{Gb:()=>s,WD:()=>o,XO:()=>i});var a="undefined"!=typeof document,r=[{hidden:"hidden",event:"visibilitychange",state:"visibilityState"},{hidden:"webkitHidden",event:"webkitvisibilitychange",state:"webkitVisibilityState"},{hidden:"mozHidden",event:"mozvisibilitychange",state:"mozVisibilityState"},{hidden:"msHidden",event:"msvisibilitychange",state:"msVisibilityState"},{hidden:"oHidden",event:"ovisibilitychange",state:"oVisibilityState"}],s=a&&Boolean(document.addEventListener),o=function(){if(!s)return null;var e=!0,t=!1,n=void 0;try{for(var a,o=r[Symbol.iterator]();!(e=(a=o.next()).done);e=!0){var i=a.value;if(i.hidden in document)return i}}catch(e){t=!0,n=e}finally{try{!e&&o.return&&o.return()}finally{if(t)throw n}}return null}(),i=function(){if(!o)return[!0,"visible"];var e=o.hidden,t=o.state;return[!document[e],document[t]]}},24561:(e,t,n)=>{"use strict";var a=n(99196),r=Symbol.for("react.element"),s=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,i=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,n){var a,s={},l=null,u=null;for(a in void 0!==n&&(l=""+n),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(u=t.ref),t)o.call(t,a)&&!c.hasOwnProperty(a)&&(s[a]=t[a]);if(e&&e.defaultProps)for(a in t=e.defaultProps)void 0===s[a]&&(s[a]=t[a]);return{$$typeof:r,type:e,key:l,ref:u,props:s,_owner:i.current}}t.Fragment=s,t.jsx=l,t.jsxs=l},30275:(e,t,n)=>{"use strict";e.exports=n(24561)},24274:e=>{"use strict";function t(e,n){var a;if(Array.isArray(n))for(a=0;a{"use strict";e.exports=function(e,t){if(t=t.split(":")[0],!(e=+e))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e}},6209:(e,t,n)=>{"use strict";n.d(t,{Z:()=>B});var a=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,a){return e[0]===t&&(n=a,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),a=this.__entries__[n];return a&&a[1]},t.prototype.set=function(t,n){var a=e(this.__entries__,t);~a?this.__entries__[a][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,a=e(n,t);~a&&n.splice(a,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,a=this.__entries__;n0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;i.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var n=0,a=Object.keys(t);n0},e}(),k="undefined"!=typeof WeakMap?new WeakMap:new a,y=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=l.getInstance(),a=new C(t,n,this);k.set(this,a)};["observe","unobserve","disconnect"].forEach((function(e){y.prototype[e]=function(){var t;return(t=k.get(this))[e].apply(t,arguments)}}));const B=void 0!==s.ResizeObserver?s.ResizeObserver:y},53191:e=>{"use strict";var t=256,n=[],a=window,r=Math.pow(t,6),s=Math.pow(2,52),o=2*s,i=255,c=Math.random;function l(e){var n,a=e.length,r=this,s=0,o=r.i=r.j=0,c=r.S=[];for(a||(e=[a++]);s=o;)e/=2,n/=2,a>>>=1;return(e+a)/n}},e.exports.resetGlobal=function(){Math.random=c},d(Math.random(),n)},44434:(e,t,n)=>{"use strict";n.d(t,{G:()=>i,a:()=>o});var a=n(38697),r=n(68308),s=n(83078);function o(e,t){var n=e.toLowerCase();return 0===t?(0,s.l)(n):n}function i(e,t){return void 0===t&&(t={}),(0,r.B)(e,(0,a.pi)({delimiter:" ",transform:o},t))}},59491:(e,t,n)=>{"use strict";n.d(t,{f:()=>s});var a=n(38697),r=n(77352);function s(e,t){return void 0===t&&(t={}),(0,r.$)(e,(0,a.pi)({delimiter:"_"},t))}},87309:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(86989),r=n.n(a);const s="default"in r()?r().default:r()},67742:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(51128),r=n.n(a),s=n(56694);const o=r()("jetpack-ai-client:ask-question");async function i(e,{postId:t=null,fromCache:n=!1,feature:a,functions:r,model:i}={}){return o("Asking question: %o. options: %o",e,{postId:t,fromCache:n,feature:a,functions:r,model:i}),new s.Z({question:e,options:{postId:t,feature:a,fromCache:n,functions:r,model:i}})}},78982:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(51128),r=n.n(a),s=n(2890);const o=r()("jetpack-ai-client:ask-question-sync");async function i(e,t={}){o("Asking question with no streaming: %o. options: %o",e,t);let n=null;try{n=(await(0,s.Z)()).token}catch(e){return o("Error getting token: %o",e),Promise.reject(e)}const a={...Array.isArray(e)?{messages:e}:{question:e},...t,stream:!1},r={Authorization:`Bearer ${n}`,"Content-Type":"application/json"};try{const e=await fetch("https://public-api.wordpress.com/wpcom/v2/jetpack-ai-query",{method:"POST",headers:r,body:JSON.stringify(a)}).then((e=>e.json()));return e?.data?.status&&e?.data?.status>200?(o("Error generating prompt: %o",e),Promise.reject(e)):e.choices?.[0]?.message?.content}catch(e){return o("Error asking question: %o",e),Promise.reject(e)}}},46961:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(51128),r=n.n(a),s=n(2890);const o=r()("jetpack-ai-client:audio-transcription");async function i(e,t,n){o("Transcribing audio: %o. Feature: %o",e,t);let a="";try{a=(await(0,s.Z)()).token}catch(e){return o("Error getting token: %o",e),Promise.reject(e)}const r=new FormData;r.append("audio_file",e);try{const e={Authorization:`Bearer ${a}`},s="https://public-api.wordpress.com/wpcom/v2/jetpack-ai-transcription"+(t?`?feature=${t}`:"");return fetch(s,{method:"POST",body:r,headers:e,signal:n??void 0}).then((e=>(o("Transcription response: %o",e),e.ok?e.json().then((e=>e?.text)):e.json().then((e=>Promise.reject(e))))))}catch(e){return o("Transcription error response: %o",e),Promise.reject(e)}}},14053:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(52175),r=n(3228),s=n(99196),o=n.n(s),i=n(11928);function c({className:e,disabled:t=!1,value:n="",placeholder:s="",isTransparent:c=!1,state:l="init",onChange:u,banner:d=null,error:p=null,actions:m=null,message:g=null,promptUserInputRef:A=null,wrapperRef:h=null}){return o().createElement("div",{className:(0,r.Z)("jetpack-components-ai-control__container-wrapper",e),ref:h},p,o().createElement("div",{className:"jetpack-components-ai-control__container"},d,o().createElement("div",{className:(0,r.Z)("jetpack-components-ai-control__wrapper",{"is-transparent":c})},o().createElement(i.Z,{state:l}),o().createElement("div",{className:"jetpack-components-ai-control__input-wrapper"},o().createElement(a.PlainText,{value:n,onChange:u,placeholder:s,className:"jetpack-components-ai-control__input",disabled:t,ref:A})),m),g))}},6493:(e,t,n)=>{"use strict";n.d(t,{Z:()=>C});var a=n(55609),r=n(94333),s=n(69307),o=n(65736),i=n(61074),c=n(6163),l=n(90986),u=n(78270),d=n(34394),p=n(79201),m=n(51128),g=n.n(m),A=n(99196),h=n.n(A),E=n(7840),f=n(14053);const __=o.__,b=g()("jetpack-ai-client:block-ai-control");function v({disabled:e=!1,value:t="",placeholder:n="",showAccept:o=!1,acceptLabel:m=__("Accept","jetpack"),showButtonLabels:g=!0,isTransparent:A=!1,state:v="init",showGuideLine:C=!1,customFooter:k=null,onChange:y,onSend:B,onStop:w,onAccept:_,onDiscard:I,showRemove:j=!1,banner:x=null,error:S=null},Q){const N="requesting"===v||"suggesting"===v,[R,P]=(0,s.useState)(!1),[Z,T]=(0,s.useState)(t||null),L=(0,s.useRef)(null);(0,s.useImperativeHandle)(Q,(()=>L.current)),(0,s.useEffect)((()=>{R&&L?.current?.focus()}),[R]);const M=(0,s.useCallback)((()=>{T(t),P(!1),B?.(t)}),[t]),D=(0,s.useCallback)((e=>{y?.(e),"init"!==v&&P(Z?e!==Z:e.length>0)}),[Z,v]),F=(0,s.useCallback)((()=>{I?.()}),[]),z=(0,s.useCallback)((()=>{b("cancelEdit, revert to last value",Z),y?.(Z||""),P(!1)}),[Z]);(0,r.useKeyboardShortcut)("mod+enter",(()=>{o&&_?.()}),{target:L}),(0,r.useKeyboardShortcut)("enter",(e=>{e.preventDefault(),M()}),{target:L});const O=h().createElement(h().Fragment,null,(!o||R)&&h().createElement("div",{className:"jetpack-components-ai-control__controls-prompt_button_wrapper"},N?h().createElement(a.Button,{className:"jetpack-components-ai-control__controls-prompt_button",onClick:w,variant:"secondary",label:__("Stop request","jetpack")},g?__("Stop","jetpack"):h().createElement(i.Z,{icon:c.Z})):h().createElement(h().Fragment,null,R&&h().createElement(a.Button,{className:"jetpack-components-ai-control__controls-prompt_button",onClick:z,variant:"secondary",label:__("Cancel","jetpack")},g?__("Cancel","jetpack"):h().createElement(i.Z,{icon:c.Z})),j&&!R&&!t?.length&&I&&h().createElement(a.Button,{className:"jetpack-components-ai-control__controls-prompt_button",onClick:F,variant:"secondary",label:__("Cancel","jetpack")},g?__("Cancel","jetpack"):h().createElement(i.Z,{icon:c.Z})),t?.length>0&&h().createElement(a.Button,{className:"jetpack-components-ai-control__controls-prompt_button",onClick:M,variant:"primary",disabled:!t?.length||e,label:__("Send request","jetpack")},g?__("Generate","jetpack"):h().createElement(i.Z,{icon:l.Z})))),o&&!R&&h().createElement("div",{className:"jetpack-components-ai-control__controls-prompt_button_wrapper"},(t?.length>0||null===Z)&&h().createElement(a.ButtonGroup,null,h().createElement(a.Button,{className:"jetpack-components-ai-control__controls-prompt_button",label:__("Discard","jetpack"),onClick:F,tooltipPosition:"top"},h().createElement(i.Z,{icon:u.Z})),h().createElement(a.Button,{className:"jetpack-components-ai-control__controls-prompt_button",label:__("Regenerate","jetpack"),onClick:()=>B?.(t),tooltipPosition:"top",disabled:!t?.length||null===t||e},h().createElement(i.Z,{icon:d.Z}))),h().createElement(a.Button,{className:"jetpack-components-ai-control__controls-prompt_button",onClick:_,variant:"primary",label:m},g?m:h().createElement(i.Z,{icon:p.Z})))),U=C&&!N&&!R&&(k||h().createElement(E.Eo,null));return h().createElement(f.Z,{disabled:e||N,value:t,placeholder:n,isTransparent:A,state:v,onChange:D,banner:x,error:S,actions:O,message:U,promptUserInputRef:L})}const C=(0,A.forwardRef)(v)},2543:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var a=n(55609),r=n(94333),s=n(69307),o=n(65736),i=n(61074),c=n(6163),l=n(90986),u=n(74927),d=n(99196),p=n.n(d),m=n(7840),g=n(14053);const __=o.__;function A({className:e,disabled:t=!1,value:n="",placeholder:o="",showButtonLabels:d=!0,isTransparent:A=!1,state:h="init",showGuideLine:E=!1,error:f,requestsRemaining:b,showUpgradeMessage:v=!1,upgradeUrl:C,wrapperRef:k,onChange:y,onSend:B,onStop:w,onClose:_,onUndo:I,onUpgrade:j,onTryAgain:x},S){const Q="requesting"===h||"suggesting"===h,[N,R]=(0,s.useState)(!1),[P,Z]=(0,s.useState)(n||null),T=(0,s.useRef)(null);(0,s.useImperativeHandle)(S,(()=>T.current)),(0,s.useEffect)((()=>{N&&T?.current?.focus()}),[N]);const L=(0,s.useCallback)((()=>{Z(n),R(!1),B?.(n)}),[B,n]),M=(0,s.useCallback)((e=>{y?.(e),"init"!==h&&R(P?e!==P:e.length>0)}),[y,P,h]),D=(0,s.useCallback)((()=>{w?.()}),[w]),F=(0,s.useCallback)((()=>{_?.()}),[_]),z=(0,s.useCallback)((()=>{I?.()}),[I]),O=(0,s.useCallback)((e=>{j?.(e)}),[j]),U=(0,s.useCallback)((()=>{x?.()}),[x]);(0,r.useKeyboardShortcut)("enter",(e=>{e.preventDefault(),L()}),{target:T});const H=p().createElement(p().Fragment,null,Q?p().createElement(a.Button,{className:"jetpack-components-ai-control__controls-prompt_button",onClick:D,variant:"secondary",label:__("Stop request","jetpack")},d?__("Stop","jetpack"):p().createElement(i.Z,{icon:c.Z})):p().createElement(p().Fragment,null,n?.length>0&&p().createElement("div",{className:"jetpack-components-ai-control__controls-prompt_button_wrapper"},p().createElement(a.Button,{className:"jetpack-components-ai-control__controls-prompt_button",onClick:L,variant:"primary",disabled:!n?.length||t,label:__("Send request","jetpack")},d?__("Generate","jetpack"):p().createElement(i.Z,{icon:l.Z}))),n?.length<=0&&"done"===h&&p().createElement("div",{className:"jetpack-components-ai-control__controls-prompt_button_wrapper"},p().createElement(a.ButtonGroup,null,p().createElement(a.Button,{className:"jetpack-components-ai-control__controls-prompt_button",label:__("Undo","jetpack"),onClick:z,tooltipPosition:"top"},p().createElement(i.Z,{icon:u.Z})),p().createElement(a.Button,{className:"jetpack-components-ai-control__controls-prompt_button",label:__("Close","jetpack"),onClick:F,variant:"tertiary"},__("Close","jetpack"))))));let V=null;return f?.message?V=p().createElement(m.Bc,{error:f.message,code:f.code,onTryAgainClick:U,onUpgradeClick:O,upgradeUrl:C}):v?V=p().createElement(m.xi,{requestsRemaining:b,onUpgradeClick:O,upgradeUrl:C}):E&&(V=p().createElement(m.Eo,null)),p().createElement(g.Z,{className:e,disabled:t||Q,value:n,placeholder:o,isTransparent:A,state:h,onChange:M,actions:H,message:V,promptUserInputRef:T,wrapperRef:k})}const h=(0,d.forwardRef)(A)},4437:(e,t,n)=>{"use strict";n.d(t,{C3:()=>r.Z,MW:()=>a.Z});n(14053);var a=n(6493),r=n(2543)},11928:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(55609),r=n(3228);function s({state:e}){return React.createElement("div",{className:(0,r.Z)("jetpack-ai-status-indicator__icon-wrapper",{[`is-${e}`]:!0})},React.createElement(a.Spinner,null))}},590:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(55392);function r({duration:e,className:t}){return React.createElement("span",{className:t},(0,a.m)(e,{addDecimalPart:!1}))}},55392:(e,t,n)=>{"use strict";function a(e,{addDecimalPart:t=!1,showMinutes:n=!0,showHours:a=!1}={}){const r=Math.floor(e/36e5),s=Math.floor(e/6e4)%60,o=Math.floor(e/1e3)%60,i=Math.floor(e/10)%100,c=[r>0||a?r.toString().padStart(2,"0")+":":"",r>0||s>0||n?s.toString().padStart(2,"0")+":":"",o.toString().padStart(2,"0")];return t&&c.push("."+i.toString().padStart(2,"0")),c.join("")}n.d(t,{m:()=>a})},58890:(e,t,n)=>{"use strict";n.d(t,{C3:()=>a.C3,Eo:()=>o.Eo,MW:()=>a.MW,ZK:()=>s.Z,rp:()=>r.Z,xi:()=>o.xi});var a=n(4437),r=n(11928),s=n(590),o=n(7840)},7840:(e,t,n)=>{"use strict";n.d(t,{Bc:()=>b,Eo:()=>E,xi:()=>f});var a=n(55609),r=n(65736),s=n(79201),o=n(61074),i=n(60495),c=n(3228),l=n(83585),u=n(16700);const __=r.__,d="warning",p="error",m="success",g="info",A={[g]:null,[d]:null,[p]:l.Z,[m]:s.Z};function h({severity:e=g,icon:t=null,showSidebarIcon:n=!1,onSidebarIconClick:r=(()=>{}),children:s}){return React.createElement("div",{className:(0,c.Z)("jetpack-ai-assistant__message",`jetpack-ai-assistant__message-severity-${e}`)},(A[e]||t)&&React.createElement(o.Z,{icon:A[e]||t}),React.createElement("div",{className:"jetpack-ai-assistant__message-content"},s),n&&React.createElement(a.Button,{className:"jetpack-ai-assistant__message-sidebar",onClick:r},React.createElement(o.Z,{size:20,icon:i.Z})))}function E(){return React.createElement(h,null,React.createElement("span",null,__("AI-generated content could be inaccurate or biased.","jetpack")),React.createElement(a.ExternalLink,{href:"https://automattic.com/ai-guidelines"},__("Learn more","jetpack")))}function f({requestsRemaining:e,severity:t,onUpgradeClick:n,upgradeUrl:s}){let o=t;return null==o&&(o=e>0?g:d),React.createElement(h,{severity:o},React.createElement("span",null,(0,r.sprintf)( +(()=>{var e,t,n,r,a,s,o={7675:(e,t,n)=>{"use strict";n.d(t,{y:()=>c});var r=n(76416),a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{const E=Object.assign({},c);let f;function b(){f.abort(),document.hidden||w()}E.accept||(E.accept=s),g||document.addEventListener("visibilitychange",b);let v=o,C=0;function k(){document.removeEventListener("visibilitychange",b),window.clearTimeout(C),f.abort()}null==n||n.addEventListener("abort",(()=>{k(),t()}));const y=null!=A?A:window.fetch,B=null!=u?u:l;async function w(){var n;f=new AbortController;try{const n=await y(e,Object.assign(Object.assign({},h),{headers:E,signal:f.signal}));await B(n),await(0,r.q5)(n.body,(0,r.iv)((0,r.VL)((e=>{e?E[i]=e:delete E[i]}),(e=>{v=e}),d))),null==p||p(),k(),t()}catch(e){if(!f.signal.aborted)try{const t=null!==(n=null==m?void 0:m(e))&&void 0!==n?n:v;window.clearTimeout(C),C=window.setTimeout(w,t)}catch(e){k(),a(e)}}}w()}))}function l(e){const t=e.headers.get("content-type");if(!(null==t?void 0:t.startsWith(s)))throw new Error(`Expected content-type to be ${s}, Actual: ${t}`)}},76416:(e,t,n)=>{"use strict";async function r(e,t){const n=e.getReader();let r;for(;!(r=await n.read()).done;)t(r.value)}function a(e){let t,n,r,a=!1;return function(s){void 0===t?(t=s,n=0,r=-1):t=function(e,t){const n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(t,s);const o=t.length;let i=0;for(;n0){const n=a.decode(s.subarray(0,i)),o=i+(32===s[i+1]?2:1),c=a.decode(s.subarray(o));switch(n){case"data":r.data=r.data?r.data+"\n"+c:c;break;case"event":r.event=c;break;case"id":e(r.id=c);break;case"retry":const n=parseInt(c,10);isNaN(n)||t(r.retry=n)}}}}function o(){return{data:"",event:"",id:"",retry:void 0}}n.d(t,{VL:()=>s,iv:()=>a,q5:()=>r})},95723:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(84265);let a,s,o,i;const c=/<(\/)?(\w+)\s*(\/)?>/g;function l(e,t,n,r,a){return{element:e,tokenStart:t,tokenLength:n,prevOffset:r,leadingTextStart:a,children:[]}}const u=e=>{const t="object"==typeof e,n=t&&Object.values(e);return t&&n.length&&n.every((e=>(0,r.isValidElement)(e)))};function d(e){const t=function(){const e=c.exec(a);if(null===e)return["no-more-tokens"];const t=e.index,[n,r,s,o]=e,i=n.length;if(o)return["self-closed",s,t,i];if(r)return["closer",s,t,i];return["opener",s,t,i]}(),[n,u,d,g]=t,A=i.length,h=d>s?s:null;if(!e[u])return p(),!1;switch(n){case"no-more-tokens":if(0!==A){const{leadingTextStart:e,tokenStart:t}=i.pop();o.push(a.substr(e,t))}return p(),!1;case"self-closed":return 0===A?(null!==h&&o.push(a.substr(h,d-h)),o.push(e[u]),s=d+g,!0):(m(l(e[u],d,g)),s=d+g,!0);case"opener":return i.push(l(e[u],d,g,d+g,h)),s=d+g,!0;case"closer":if(1===A)return function(e){const{element:t,leadingTextStart:n,prevOffset:s,tokenStart:c,children:l}=i.pop(),u=e?a.substr(s,e-s):a.substr(s);u&&l.push(u);null!==n&&o.push(a.substr(n,c-n));o.push((0,r.cloneElement)(t,null,...l))}(d),s=d+g,!0;const t=i.pop(),n=a.substr(t.prevOffset,d-t.prevOffset);t.children.push(n),t.prevOffset=d+g;const c=l(t.element,t.tokenStart,t.tokenLength,d+g);return c.children=t.children,m(c),s=d+g,!0;default:return p(),!1}}function p(){const e=a.length-s;0!==e&&o.push(a.substr(s,e))}function m(e){const{element:t,tokenStart:n,tokenLength:s,prevOffset:o,children:c}=e,l=i[i.length-1],u=a.substr(l.prevOffset,n-l.prevOffset);u&&l.children.push(u),l.children.push((0,r.cloneElement)(t,null,...c)),l.prevOffset=o||n+s}t.default=(e,t)=>{if(a=e,s=0,o=[],i=[],c.lastIndex=0,!u(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are React Elements");do{}while(d(t));return(0,r.createElement)(r.Fragment,null,...o)}},82170:(e,t,n)=>{"use strict";var r=n(98504);Object.defineProperty(t,"__esModule",{value:!0});var a={createInterpolateElement:!0,Platform:!0,renderToString:!0,RawHTML:!0};Object.defineProperty(t,"Platform",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"RawHTML",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"createInterpolateElement",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"renderToString",{enumerable:!0,get:function(){return u.default}});var s=r(n(95723)),o=n(84265);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(a,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=n(81649);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(a,e)||e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var c=n(98219);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(a,e)||e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var l=r(n(52595)),u=r(n(54852)),d=r(n(94468))},52595:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={OS:"web",select:e=>"web"in e?e.web:e.default,isWeb:!0}},94468:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({children:e,...t}){let n="";return r.Children.toArray(e).forEach((e=>{"string"==typeof e&&""!==e.trim()&&(n+=e)})),(0,r.createElement)("div",{dangerouslySetInnerHTML:{__html:n},...t})};var r=n(84265)},81649:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createPortal",{enumerable:!0,get:function(){return r.createPortal}}),Object.defineProperty(t,"createRoot",{enumerable:!0,get:function(){return a.createRoot}}),Object.defineProperty(t,"findDOMNode",{enumerable:!0,get:function(){return r.findDOMNode}}),Object.defineProperty(t,"flushSync",{enumerable:!0,get:function(){return r.flushSync}}),Object.defineProperty(t,"hydrate",{enumerable:!0,get:function(){return r.hydrate}}),Object.defineProperty(t,"hydrateRoot",{enumerable:!0,get:function(){return a.hydrateRoot}}),Object.defineProperty(t,"render",{enumerable:!0,get:function(){return r.render}}),Object.defineProperty(t,"unmountComponentAtNode",{enumerable:!0,get:function(){return r.unmountComponentAtNode}});var r=n(75795),a=n(18950)},84265:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Children",{enumerable:!0,get:function(){return r.Children}}),Object.defineProperty(t,"Component",{enumerable:!0,get:function(){return r.Component}}),Object.defineProperty(t,"Fragment",{enumerable:!0,get:function(){return r.Fragment}}),Object.defineProperty(t,"PureComponent",{enumerable:!0,get:function(){return r.PureComponent}}),Object.defineProperty(t,"StrictMode",{enumerable:!0,get:function(){return r.StrictMode}}),Object.defineProperty(t,"Suspense",{enumerable:!0,get:function(){return r.Suspense}}),Object.defineProperty(t,"cloneElement",{enumerable:!0,get:function(){return r.cloneElement}}),t.concatChildren=function(...e){return e.reduce(((e,t,n)=>(r.Children.forEach(t,((t,a)=>{t&&"string"!=typeof t&&(t=(0,r.cloneElement)(t,{key:[n,a].join()})),e.push(t)})),e)),[])},Object.defineProperty(t,"createContext",{enumerable:!0,get:function(){return r.createContext}}),Object.defineProperty(t,"createElement",{enumerable:!0,get:function(){return r.createElement}}),Object.defineProperty(t,"createRef",{enumerable:!0,get:function(){return r.createRef}}),Object.defineProperty(t,"forwardRef",{enumerable:!0,get:function(){return r.forwardRef}}),Object.defineProperty(t,"isValidElement",{enumerable:!0,get:function(){return r.isValidElement}}),Object.defineProperty(t,"lazy",{enumerable:!0,get:function(){return r.lazy}}),Object.defineProperty(t,"memo",{enumerable:!0,get:function(){return r.memo}}),Object.defineProperty(t,"startTransition",{enumerable:!0,get:function(){return r.startTransition}}),t.switchChildrenNodeName=function(e,t){return e&&r.Children.map(e,((e,n)=>{if("string"==typeof e?.valueOf())return(0,r.createElement)(t,{key:n},e);const{children:a,...s}=e.props;return(0,r.createElement)(t,{key:n,...s},a)}))},Object.defineProperty(t,"useCallback",{enumerable:!0,get:function(){return r.useCallback}}),Object.defineProperty(t,"useContext",{enumerable:!0,get:function(){return r.useContext}}),Object.defineProperty(t,"useDebugValue",{enumerable:!0,get:function(){return r.useDebugValue}}),Object.defineProperty(t,"useDeferredValue",{enumerable:!0,get:function(){return r.useDeferredValue}}),Object.defineProperty(t,"useEffect",{enumerable:!0,get:function(){return r.useEffect}}),Object.defineProperty(t,"useId",{enumerable:!0,get:function(){return r.useId}}),Object.defineProperty(t,"useImperativeHandle",{enumerable:!0,get:function(){return r.useImperativeHandle}}),Object.defineProperty(t,"useInsertionEffect",{enumerable:!0,get:function(){return r.useInsertionEffect}}),Object.defineProperty(t,"useLayoutEffect",{enumerable:!0,get:function(){return r.useLayoutEffect}}),Object.defineProperty(t,"useMemo",{enumerable:!0,get:function(){return r.useMemo}}),Object.defineProperty(t,"useReducer",{enumerable:!0,get:function(){return r.useReducer}}),Object.defineProperty(t,"useRef",{enumerable:!0,get:function(){return r.useRef}}),Object.defineProperty(t,"useState",{enumerable:!0,get:function(){return r.useState}}),Object.defineProperty(t,"useSyncExternalStore",{enumerable:!0,get:function(){return r.useSyncExternalStore}}),Object.defineProperty(t,"useTransition",{enumerable:!0,get:function(){return r.useTransition}});var r=n(51609)},54852:(e,t,n)=>{"use strict";var r=n(98504);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.hasPrefix=E,t.renderAttributes=S,t.renderComponent=j,t.renderElement=_,t.renderNativeComponent=I,t.renderStyle=Q;var a=n(21214),s=n(61433),o=n(89877),i=n(84265),c=r(n(94468));const{Provider:l,Consumer:u}=(0,i.createContext)(void 0),d=(0,i.forwardRef)((()=>null)),p=new Set(["string","boolean","number"]),m=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),g=new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),A=new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),h=new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"]);function E(e,t){return t.some((t=>0===e.indexOf(t)))}function f(e){return"key"===e||"children"===e}function b(e,t){return"style"===e?Q(t):t}const v=["accentHeight","alignmentBaseline","arabicForm","baselineShift","capHeight","clipPath","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","dominantBaseline","enableBackground","fillOpacity","fillRule","floodColor","floodOpacity","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","horizAdvX","horizOriginX","imageRendering","letterSpacing","lightingColor","markerEnd","markerMid","markerStart","overlinePosition","overlineThickness","paintOrder","panose1","pointerEvents","renderingIntent","shapeRendering","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","textAnchor","textDecoration","textRendering","underlinePosition","underlineThickness","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","vHanging","vIdeographic","vMathematical","vectorEffect","vertAdvY","vertOriginX","vertOriginY","wordSpacing","writingMode","xmlnsXlink","xHeight"].reduce(((e,t)=>(e[t.toLowerCase()]=t,e)),{}),C=["allowReorder","attributeName","attributeType","autoReverse","baseFrequency","baseProfile","calcMode","clipPathUnits","contentScriptType","contentStyleType","diffuseConstant","edgeMode","externalResourcesRequired","filterRes","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","suppressContentEditableWarning","suppressHydrationWarning","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector"].reduce(((e,t)=>(e[t.toLowerCase()]=t,e)),{}),k=["xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space","xmlns:xlink"].reduce(((e,t)=>(e[t.replace(":","").toLowerCase()]=t,e)),{});function y(e){switch(e){case"htmlFor":return"for";case"className":return"class"}const t=e.toLowerCase();return C[t]?C[t]:v[t]?(0,s.paramCase)(v[t]):k[t]?k[t]:t}function B(e){return e.startsWith("--")?e:E(e,["ms","O","Moz","Webkit"])?"-"+(0,s.paramCase)(e):(0,s.paramCase)(e)}function w(e,t){return"number"!=typeof t||0===t||h.has(e)?t:t+"px"}function _(e,t,n={}){if(null==e||!1===e)return"";if(Array.isArray(e))return x(e,t,n);switch(typeof e){case"string":return(0,o.escapeHTML)(e);case"number":return e.toString()}const{type:r,props:a}=e;switch(r){case i.StrictMode:case i.Fragment:return x(a.children,t,n);case c.default:const{children:e,...r}=a;return I(Object.keys(r).length?"div":null,{...r,dangerouslySetInnerHTML:{__html:e}},t,n)}switch(typeof r){case"string":return I(r,a,t,n);case"function":return r.prototype&&"function"==typeof r.prototype.render?j(r,a,t,n):_(r(a,n),t,n)}switch(r&&r.$$typeof){case l.$$typeof:return x(a.children,a.value,n);case u.$$typeof:return _(a.children(t||r._currentValue),t,n);case d.$$typeof:return _(r.render(a),t,n)}return""}function I(e,t,n,r={}){let a="";if("textarea"===e&&t.hasOwnProperty("value")){a=x(t.value,n,r);const{value:e,...s}=t;t=s}else t.dangerouslySetInnerHTML&&"string"==typeof t.dangerouslySetInnerHTML.__html?a=t.dangerouslySetInnerHTML.__html:void 0!==t.children&&(a=x(t.children,n,r));if(!e)return a;const s=S(t);return m.has(e)?"<"+e+s+"/>":"<"+e+s+">"+a+""}function j(e,t,n,r={}){const a=new e(t,r);"function"==typeof a.getChildContext&&Object.assign(r,a.getChildContext());return _(a.render(),n,r)}function x(e,t,n={}){let r="";e=Array.isArray(e)?e:[e];for(let a=0;a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmptyElement=void 0;t.isEmptyElement=e=>"number"!=typeof e&&("string"==typeof e?.valueOf()||Array.isArray(e)?!e.length:!e)},51113:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(86087);const a=(0,r.forwardRef)((function({icon:e,size:t=24,...n},a){return(0,r.cloneElement)(e,{width:t,height:t,...n,ref:a})}))},66955:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(r.Path,{d:"m16.5 13.5-3.7 3.7V4h-1.5v13.2l-3.8-3.7-1 1 5.5 5.6 5.5-5.6z"})})},71797:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(r.Path,{d:"m14.5 6.5-1 1 3.7 3.7H4v1.6h13.2l-3.7 3.7 1 1 5.6-5.5z"})})},62510:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(r.Path,{d:"M12 3.9 6.5 9.5l1 1 3.8-3.7V20h1.5V6.8l3.7 3.7 1-1z"})})},62599:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)(r.Path,{d:"M12.5939 21C14.1472 21 16.1269 20.5701 17.0711 20.1975L16.6447 18.879C16.0964 19.051 14.3299 19.6242 12.6548 19.6242C7.4467 19.6242 4.67513 16.8726 4.67513 12C4.67513 7.21338 7.50762 4.34713 12.2893 4.34713C17.132 4.34713 19.4162 7.55732 19.4162 10.7675C19.4162 14.035 19.0508 15.4968 17.4975 15.4968C16.5838 15.4968 16.0964 14.7803 16.0964 13.9777V7.5H14.4822V8.30255H14.3909C14.1777 7.67198 12.9898 7.12739 11.467 7.2707C9.18274 7.5 7.4467 9.27707 7.4467 11.8567C7.4467 14.5796 8.81726 16.672 11.467 16.758C13.203 16.8153 14.1168 16.0127 14.4822 15.1815H14.5736C14.7563 16.414 16.401 16.8439 17.467 16.8439C20.6954 16.8439 21 13.5764 21 10.7962C21 6.86943 18.0761 3 12.3807 3C6.50254 3 3 6.3535 3 11.9427C3 17.7325 6.38071 21 12.5939 21ZM11.7107 15.2962C9.73096 15.2962 9.03046 13.6051 9.03046 11.7707C9.03046 10.1083 10.0355 8.67516 11.7716 8.67516C13.599 8.67516 14.5736 9.36306 14.5736 11.7707C14.5736 14.1497 13.7513 15.2962 11.7107 15.2962Z"})})},57003:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)(r.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v3.5h-15V5c0-.3.2-.5.5-.5zm8 5.5h6.5v3.5H13V10zm-1.5 3.5h-7V10h7v3.5zm-7 5.5v-4h7v4.5H5c-.3 0-.5-.2-.5-.5zm14.5.5h-6V15h6.5v4c0 .3-.2.5-.5.5z"})})},27375:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)(r.Path,{d:"M8 12.5h8V11H8v1.5Z M19 6.5H5a2 2 0 0 0-2 2V15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a2 2 0 0 0-2-2ZM5 8h14a.5.5 0 0 1 .5.5V15a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V8.5A.5.5 0 0 1 5 8Z"})})},83883:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(r.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})})},64969:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)(r.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})})},68888:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(r.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})})},29115:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(r.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})})},98248:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)(r.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"})})},31249:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(r.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})})},10991:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(r.Path,{d:"m13.06 12 6.47-6.47-1.06-1.06L12 10.94 5.53 4.47 4.47 5.53 10.94 12l-6.47 6.47 1.06 1.06L12 13.06l6.47 6.47 1.06-1.06L13.06 12Z"})})},24995:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(r.Path,{d:"M3.25 12a8.75 8.75 0 1117.5 0 8.75 8.75 0 01-17.5 0zM12 4.75a7.25 7.25 0 100 14.5 7.25 7.25 0 000-14.5zm-1.338 4.877c-.314.22-.412.452-.412.623 0 .171.098.403.412.623.312.218.783.377 1.338.377.825 0 1.605.233 2.198.648.59.414 1.052 1.057 1.052 1.852 0 .795-.461 1.438-1.052 1.852-.41.286-.907.486-1.448.582v.316a.75.75 0 01-1.5 0v-.316a3.64 3.64 0 01-1.448-.582c-.59-.414-1.052-1.057-1.052-1.852a.75.75 0 011.5 0c0 .171.098.403.412.623.312.218.783.377 1.338.377s1.026-.159 1.338-.377c.314-.22.412-.452.412-.623 0-.171-.098-.403-.412-.623-.312-.218-.783-.377-1.338-.377-.825 0-1.605-.233-2.198-.648-.59-.414-1.052-1.057-1.052-1.852 0-.795.461-1.438 1.052-1.852a3.64 3.64 0 011.448-.582V7.5a.75.75 0 011.5 0v.316c.54.096 1.039.296 1.448.582.59.414 1.052 1.057 1.052 1.852a.75.75 0 01-1.5 0c0-.171-.098-.403-.412-.623-.312-.218-.783-.377-1.338-.377s-1.026.159-1.338.377z"})})},93115:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(r.Path,{d:"M20.5 16h-.7V8c0-1.1-.9-2-2-2H6.2c-1.1 0-2 .9-2 2v8h-.7c-.8 0-1.5.7-1.5 1.5h20c0-.8-.7-1.5-1.5-1.5zM5.7 8c0-.3.2-.5.5-.5h11.6c.3 0 .5.2.5.5v7.6H5.7V8z"})})},92687:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(78938).A},53512:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(r.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"})})},84066:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(r.Path,{d:"M12 3.3c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8s-4-8.8-8.8-8.8zm6.5 5.5h-2.6C15.4 7.3 14.8 6 14 5c2 .6 3.6 2 4.5 3.8zm.7 3.2c0 .6-.1 1.2-.2 1.8h-2.9c.1-.6.1-1.2.1-1.8s-.1-1.2-.1-1.8H19c.2.6.2 1.2.2 1.8zM12 18.7c-1-.7-1.8-1.9-2.3-3.5h4.6c-.5 1.6-1.3 2.9-2.3 3.5zm-2.6-4.9c-.1-.6-.1-1.1-.1-1.8 0-.6.1-1.2.1-1.8h5.2c.1.6.1 1.1.1 1.8s-.1 1.2-.1 1.8H9.4zM4.8 12c0-.6.1-1.2.2-1.8h2.9c-.1.6-.1 1.2-.1 1.8 0 .6.1 1.2.1 1.8H5c-.2-.6-.2-1.2-.2-1.8zM12 5.3c1 .7 1.8 1.9 2.3 3.5H9.7c.5-1.6 1.3-2.9 2.3-3.5zM10 5c-.8 1-1.4 2.3-1.8 3.8H5.5C6.4 7 8 5.6 10 5zM5.5 15.3h2.6c.4 1.5 1 2.8 1.8 3.7-1.8-.6-3.5-2-4.4-3.7zM14 19c.8-1 1.4-2.2 1.8-3.7h2.6C17.6 17 16 18.4 14 19z"})})},19783:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(r.Path,{d:"M12 3.2c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8 0-4.8-4-8.8-8.8-8.8zm0 16c-4 0-7.2-3.3-7.2-7.2C4.8 8 8 4.8 12 4.8s7.2 3.3 7.2 7.2c0 4-3.2 7.2-7.2 7.2zM11 17h2v-6h-2v6zm0-8h2V7h-2v2z"})})},76277:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)(r.Path,{d:"m6.734 16.106 2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.158 1.093-1.028-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734Z"})})},84008:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)(r.Path,{d:"M17 10h-1.2V7c0-2.1-1.7-3.8-3.8-3.8-2.1 0-3.8 1.7-3.8 3.8v3H7c-.6 0-1 .4-1 1v8c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-8c0-.6-.4-1-1-1zm-2.8 0H9.8V7c0-1.2 1-2.2 2.2-2.2s2.2 1 2.2 2.2v3z"})})},21679:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsxs)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,a.jsx)(r.Path,{d:"m7 6.5 4 2.5-4 2.5z"}),(0,a.jsx)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"m5 3c-1.10457 0-2 .89543-2 2v14c0 1.1046.89543 2 2 2h14c1.1046 0 2-.8954 2-2v-14c0-1.10457-.8954-2-2-2zm14 1.5h-14c-.27614 0-.5.22386-.5.5v10.7072l3.62953-2.6465c.25108-.1831.58905-.1924.84981-.0234l2.92666 1.8969 3.5712-3.4719c.2911-.2831.7545-.2831 1.0456 0l2.9772 2.8945v-9.3568c0-.27614-.2239-.5-.5-.5zm-14.5 14.5v-1.4364l4.09643-2.987 2.99567 1.9417c.2936.1903.6798.1523.9307-.0917l3.4772-3.3806 3.4772 3.3806.0228-.0234v2.5968c0 .2761-.2239.5-.5.5h-14c-.27614 0-.5-.2239-.5-.5z"})]})},82065:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(r.Path,{d:"M15 4H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h6c.3 0 .5.2.5.5v12zm-4.5-.5h2V16h-2v1.5z"})})},78938:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(r.Path,{d:"m19 7-3-3-8.5 8.5-1 4 4-1L19 7Zm-7 11.5H5V20h7v-1.5Z"})})},15788:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(r.Path,{d:"M15.5 9.5a1 1 0 100-2 1 1 0 000 2zm0 1.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5zm-2.25 6v-2a2.75 2.75 0 00-2.75-2.75h-4A2.75 2.75 0 003.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0120.25 15zM9.5 8.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z",fillRule:"evenodd"})})},45459:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(r.Path,{d:"M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z"})})},41417:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(r.Path,{d:"M4 6h12V4.5H4V6Zm16 4.5H4V9h16v1.5ZM4 15h16v-1.5H4V15Zm0 4.5h16V18H4v1.5Z"})})},88669:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(r.Path,{d:"M8.001 3.984V9.47c0 1.518-.98 2.5-2.499 2.5h-.5v-1.5h.5c.69 0 1-.31 1-1V6.984H4v-3h4.001ZM4 20h9v-1.5H4V20Zm16-4H4v-1.5h16V16ZM13.001 3.984V9.47c0 1.518-.98 2.5-2.499 2.5h-.5v-1.5h.5c.69 0 1-.31 1-1V6.984H9v-3h4.001Z"})})},69457:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(r.Path,{d:"m7.3 9.7 1.4 1.4c.2-.2.3-.3.4-.5 0 0 0-.1.1-.1.3-.5.4-1.1.3-1.6L12 7 9 4 7.2 6.5c-.6-.1-1.1 0-1.6.3 0 0-.1 0-.1.1-.3.1-.4.2-.6.4l1.4 1.4L4 11v1h1l2.3-2.3zM4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4z"})})},40502:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(r.Path,{d:"M7 7.2h8.2L13.5 9l1.1 1.1 3.6-3.6-3.5-4-1.1 1 1.9 2.3H7c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.2-.5zm13.8 4V11h-1.5v.3c0 1.1 0 3.5-1 4.5-.3.3-.7.5-1.3.5H8.8l1.7-1.7-1.1-1.1L5.9 17l3.5 4 1.1-1-1.9-2.3H17c.9 0 1.7-.3 2.3-.9 1.5-1.4 1.5-4.2 1.5-5.6z"})})},21955:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(r.Path,{d:"M17 4H7c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12zm-7.5-.5h4V16h-4v1.5z"})})},90254:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(r.Path,{d:"M6.08 10.103h2.914L9.657 12h1.417L8.23 4H6.846L4 12h1.417l.663-1.897Zm1.463-4.137.994 2.857h-2l1.006-2.857ZM11 16H4v-1.5h7V16Zm1 0h8v-1.5h-8V16Zm-4 4H4v-1.5h4V20Zm7-1.5V20H9v-1.5h6Z"})})},11269:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(r.Path,{d:"m4 5.5h2v6.5h1.5v-6.5h2v-1.5h-5.5zm16 10.5h-16v-1.5h16zm-7 4h-9v-1.5h9z"})})},76673:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5.5A2.25 2.25 0 0 0 9.878 7h4.244A2.251 2.251 0 0 0 12 5.5ZM12 4a3.751 3.751 0 0 0-3.675 3H5v1.5h1.27l.818 8.997a2.75 2.75 0 0 0 2.739 2.501h4.347a2.75 2.75 0 0 0 2.738-2.5L17.73 8.5H19V7h-3.325A3.751 3.751 0 0 0 12 4Zm4.224 4.5H7.776l.806 8.861a1.25 1.25 0 0 0 1.245 1.137h4.347a1.25 1.25 0 0 0 1.245-1.137l.805-8.861Z"})})},95789:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(r.Path,{d:"M18.3 11.7c-.6-.6-1.4-.9-2.3-.9H6.7l2.9-3.3-1.1-1-4.5 5L8.5 16l1-1-2.7-2.7H16c.5 0 .9.2 1.3.5 1 1 1 3.4 1 4.5v.3h1.5v-.2c0-1.5 0-4.3-1.5-5.7z"})})},83822:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(r.Path,{d:"m11.3 17.2-5-5c-.1-.1-.1-.3 0-.4l2.3-2.3-1.1-1-2.3 2.3c-.7.7-.7 1.8 0 2.5l5 5H7.5v1.5h5.3v-5.2h-1.5v2.6zm7.5-6.4-5-5h2.7V4.2h-5.2v5.2h1.5V6.8l5 5c.1.1.1.3 0 .4l-2.3 2.3 1.1 1.1 2.3-2.3c.6-.7.6-1.9-.1-2.5z"})})},7326:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(r.Path,{d:"M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"})})},90311:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5573),a=n(10790);const s=(0,a.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",children:(0,a.jsx)(r.Path,{d:"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"})})},51889:(e,t,n)=>{"use strict";n.d(t,{$4:()=>s,fZ:()=>o,xQ:()=>i});var r=n(54715),a=n(82769);function s(e,t){return 0===t?e.toLowerCase():(0,a.l3)(e,t)}function o(e,t){return 0===t?e.toLowerCase():(0,a.$7)(e)}function i(e,t){return void 0===t&&(t={}),(0,a.fL)(e,(0,r.Cl)({transform:s},t))}},91859:(e,t,n)=>{"use strict";n.d(t,{D:()=>i,f:()=>o});var r=n(54715),a=n(2532),s=n(21644);function o(e){return(0,s.R)(e.toLowerCase())}function i(e,t){return void 0===t&&(t={}),(0,a.W)(e,(0,r.Cl)({delimiter:" ",transform:o},t))}},61433:(e,t,n)=>{"use strict";n.r(t),n.d(t,{camelCase:()=>r.xQ,camelCaseTransform:()=>r.$4,camelCaseTransformMerge:()=>r.fZ,capitalCase:()=>a.D,capitalCaseTransform:()=>a.f,constantCase:()=>s.F,dotCase:()=>o.a,headerCase:()=>i.u,noCase:()=>c.W,paramCase:()=>l.c,pascalCase:()=>u.fL,pascalCaseTransform:()=>u.l3,pascalCaseTransformMerge:()=>u.$7,pathCase:()=>d.y,sentenceCase:()=>p.o,sentenceCaseTransform:()=>p.u,snakeCase:()=>m.L});var r=n(51889),a=n(91859),s=n(55633),o=n(19382),i=n(22774),c=n(2532),l=n(74572),u=n(82769),d=n(70320),p=n(82682),m=n(68963)},55633:(e,t,n)=>{"use strict";n.d(t,{F:()=>o});var r=n(54715),a=n(2532),s=n(88415);function o(e,t){return void 0===t&&(t={}),(0,a.W)(e,(0,r.Cl)({delimiter:"_",transform:s.l},t))}},87399:e=>{!function(){"use strict";var t=[],n=3988292384;function r(e){var t,r,a,s,o=-1;for(t=0,a=e.length;t>>=1:s=s>>>1^n;o=o>>>8^s}return~o}function a(e,n){var r,s,o;if(void 0!==a.crc&&n&&e||(a.crc=~0,e)){for(r=a.crc,s=0,o=e.length;s>>8^t[255&(r^e[s])];return a.crc=r,~r}}!function(){var e,r,a;for(r=0;r<256;r+=1){for(e=r,a=0;a<8;a+=1)1&e?e=n^e>>>1:e>>>=1;t[r]=e>>>0}}(),e.exports=function(e,t){var n;e="string"==typeof e?(n=e,Array.prototype.map.call(n,(function(e){return e.charCodeAt(0)}))):e;return((t?r(e):a(e))>>>0).toString(16)},e.exports.direct=r,e.exports.table=a}()},51601:function(e,t,n){var r;e.exports=(r=r||function(e,t){var r;if("undefined"!=typeof window&&window.crypto&&(r=window.crypto),"undefined"!=typeof self&&self.crypto&&(r=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!=typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&"undefined"!=typeof window&&window.crypto&&(r=window.crypto),!r)try{r=n(42305)}catch(e){}var a=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),o={},i=o.lib={},c=i.Base={extend:function(e){var t=s(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},l=i.WordArray=c.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||d).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,a=e.sigBytes;if(this.clamp(),r%4)for(var s=0;s>>2]>>>24-s%4*8&255;t[r+s>>>2]|=o<<24-(r+s)%4*8}else for(var i=0;i>>2]=n[i>>>2];return this.sigBytes+=a,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=c.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n>>2]>>>24-a%4*8&255;r.push((s>>>4).toString(16)),r.push((15&s).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new l.init(n,t/2)}},p=u.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],a=0;a>>2]>>>24-a%4*8&255;r.push(String.fromCharCode(s))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new l.init(n,t)}},m=u.Utf8={stringify:function(e){try{return decodeURIComponent(escape(p.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return p.parse(unescape(encodeURIComponent(e)))}},g=i.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=m.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,a=r.words,s=r.sigBytes,o=this.blockSize,i=s/(4*o),c=(i=t?e.ceil(i):e.max((0|i)-this._minBufferSize,0))*o,u=e.min(4*c,s);if(c){for(var d=0;d>>24)|4278255360&(a<<24|a>>>8)}var s=this._hash.words,o=e[t+0],c=e[t+1],m=e[t+2],g=e[t+3],A=e[t+4],h=e[t+5],E=e[t+6],f=e[t+7],b=e[t+8],v=e[t+9],C=e[t+10],k=e[t+11],y=e[t+12],B=e[t+13],w=e[t+14],_=e[t+15],I=s[0],j=s[1],x=s[2],S=s[3];I=l(I,j,x,S,o,7,i[0]),S=l(S,I,j,x,c,12,i[1]),x=l(x,S,I,j,m,17,i[2]),j=l(j,x,S,I,g,22,i[3]),I=l(I,j,x,S,A,7,i[4]),S=l(S,I,j,x,h,12,i[5]),x=l(x,S,I,j,E,17,i[6]),j=l(j,x,S,I,f,22,i[7]),I=l(I,j,x,S,b,7,i[8]),S=l(S,I,j,x,v,12,i[9]),x=l(x,S,I,j,C,17,i[10]),j=l(j,x,S,I,k,22,i[11]),I=l(I,j,x,S,y,7,i[12]),S=l(S,I,j,x,B,12,i[13]),x=l(x,S,I,j,w,17,i[14]),I=u(I,j=l(j,x,S,I,_,22,i[15]),x,S,c,5,i[16]),S=u(S,I,j,x,E,9,i[17]),x=u(x,S,I,j,k,14,i[18]),j=u(j,x,S,I,o,20,i[19]),I=u(I,j,x,S,h,5,i[20]),S=u(S,I,j,x,C,9,i[21]),x=u(x,S,I,j,_,14,i[22]),j=u(j,x,S,I,A,20,i[23]),I=u(I,j,x,S,v,5,i[24]),S=u(S,I,j,x,w,9,i[25]),x=u(x,S,I,j,g,14,i[26]),j=u(j,x,S,I,b,20,i[27]),I=u(I,j,x,S,B,5,i[28]),S=u(S,I,j,x,m,9,i[29]),x=u(x,S,I,j,f,14,i[30]),I=d(I,j=u(j,x,S,I,y,20,i[31]),x,S,h,4,i[32]),S=d(S,I,j,x,b,11,i[33]),x=d(x,S,I,j,k,16,i[34]),j=d(j,x,S,I,w,23,i[35]),I=d(I,j,x,S,c,4,i[36]),S=d(S,I,j,x,A,11,i[37]),x=d(x,S,I,j,f,16,i[38]),j=d(j,x,S,I,C,23,i[39]),I=d(I,j,x,S,B,4,i[40]),S=d(S,I,j,x,o,11,i[41]),x=d(x,S,I,j,g,16,i[42]),j=d(j,x,S,I,E,23,i[43]),I=d(I,j,x,S,v,4,i[44]),S=d(S,I,j,x,y,11,i[45]),x=d(x,S,I,j,_,16,i[46]),I=p(I,j=d(j,x,S,I,m,23,i[47]),x,S,o,6,i[48]),S=p(S,I,j,x,f,10,i[49]),x=p(x,S,I,j,w,15,i[50]),j=p(j,x,S,I,h,21,i[51]),I=p(I,j,x,S,y,6,i[52]),S=p(S,I,j,x,g,10,i[53]),x=p(x,S,I,j,C,15,i[54]),j=p(j,x,S,I,c,21,i[55]),I=p(I,j,x,S,b,6,i[56]),S=p(S,I,j,x,_,10,i[57]),x=p(x,S,I,j,E,15,i[58]),j=p(j,x,S,I,B,21,i[59]),I=p(I,j,x,S,A,6,i[60]),S=p(S,I,j,x,k,10,i[61]),x=p(x,S,I,j,m,15,i[62]),j=p(j,x,S,I,v,21,i[63]),s[0]=s[0]+I|0,s[1]=s[1]+j|0,s[2]=s[2]+x|0,s[3]=s[3]+S|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,a=8*t.sigBytes;n[a>>>5]|=128<<24-a%32;var s=e.floor(r/4294967296),o=r;n[15+(a+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),n[14+(a+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),t.sigBytes=4*(n.length+1),this._process();for(var i=this._hash,c=i.words,l=0;l<4;l++){var u=c[l];c[l]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return i},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,n,r,a,s,o){var i=e+(t&n|~t&r)+a+o;return(i<>>32-s)+t}function u(e,t,n,r,a,s,o){var i=e+(t&r|n&~r)+a+o;return(i<>>32-s)+t}function d(e,t,n,r,a,s,o){var i=e+(t^n^r)+a+o;return(i<>>32-s)+t}function p(e,t,n,r,a,s,o){var i=e+(n^(t|~r))+a+o;return(i<>>32-s)+t}t.MD5=s._createHelper(c),t.HmacMD5=s._createHmacHelper(c)}(Math),r.MD5)},19382:(e,t,n)=>{"use strict";n.d(t,{a:()=>s});var r=n(54715),a=n(2532);function s(e,t){return void 0===t&&(t={}),(0,a.W)(e,(0,r.Cl)({delimiter:"."},t))}},39904:(e,t)=>{"use strict";var n=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e)return!1;if(e.length>254)return!1;if(!n.test(e))return!1;var t=e.split("@");return!(t[0].length>64)&&!t[1].split(".").some((function(e){return e.length>63}))}},2467:e=>{"use strict";var t,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,e.exports.once=function(e,t){return new Promise((function(n,r){function a(n){e.removeListener(t,s),r(n)}function s(){"function"==typeof e.removeListener&&e.removeListener("error",a),n([].slice.call(arguments))}A(e,t,s,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&A(e,"error",t,n)}(e,a,{once:!0})}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var o=10;function i(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function l(e,t,n,r){var a,s,o,l;if(i(n),void 0===(s=e._events)?(s=e._events=Object.create(null),e._eventsCount=0):(void 0!==s.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),s=e._events),o=s[t]),void 0===o)o=s[t]=n,++e._eventsCount;else if("function"==typeof o?o=s[t]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),(a=c(e))>0&&o.length>a&&!o.warned){o.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=o.length,l=u,console&&console.warn&&console.warn(l)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},a=u.bind(r);return a.listener=n,r.wrapFn=a,a}function p(e,t,n){var r=e._events;if(void 0===r)return[];var a=r[t];return void 0===a?[]:"function"==typeof a?n?[a.listener||a]:[a]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(o=t[0]),o instanceof Error)throw o;var i=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw i.context=o,i}var c=s[e];if(void 0===c)return!1;if("function"==typeof c)r(c,this,t);else{var l=c.length,u=g(c,l);for(n=0;n=0;s--)if(n[s]===t||n[s].listener===t){o=n[s].listener,a=s;break}if(a<0)return this;0===a?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return p(this,e,!0)},s.prototype.rawListeners=function(e){return p(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},60633:function(e){e.exports=function(){"use strict";var e=/^(b|B)$/,t={iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},n={iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]},r={floor:Math.floor,ceil:Math.ceil};function a(a){var s,o,i,c,l,u,d,p,m,g,A,h,E,f,b,v,C,k,y,B,w,_=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},I=[],j=0;if(isNaN(a))throw new TypeError("Invalid number");if(i=!0===_.bits,b=!0===_.unix,h=!0===_.pad,o=_.base||10,E=void 0!==_.round?_.round:b?1:2,d=void 0!==_.locale?_.locale:"",p=_.localeOptions||{},v=void 0!==_.separator?_.separator:"",C=void 0!==_.spacer?_.spacer:b?"":" ",y=_.symbols||{},k=2===o?_.standard||"iec":"jedec",A=_.output||"string",l=!0===_.fullform,u=_.fullforms instanceof Array?_.fullforms:[],s=void 0!==_.exponent?_.exponent:-1,B=r[_.roundingMethod]||Math.round,m=(g=Number(a))<0,c=o>2?1e3:1024,w=!1===isNaN(_.precision)?parseInt(_.precision,10):0,m&&(g=-g),(-1===s||isNaN(s))&&(s=Math.floor(Math.log(g)/Math.log(c)))<0&&(s=0),s>8&&(w>0&&(w+=8-s),s=8),"exponent"===A)return s;if(0===g)I[0]=0,f=I[1]=b?"":t[k][i?"bits":"bytes"][s];else{j=g/(2===o?Math.pow(2,10*s):Math.pow(1e3,s)),i&&(j*=8)>=c&&s<8&&(j/=c,s++);var x=Math.pow(10,s>0?E:0);I[0]=B(j*x)/x,I[0]===c&&s<8&&void 0===_.exponent&&(I[0]=1,s++),f=I[1]=10===o&&1===s?i?"kbit":"kB":t[k][i?"bits":"bytes"][s],b&&(I[1]=I[1].charAt(0),e.test(I[1])&&(I[0]=Math.floor(I[0]),I[1]=""))}if(m&&(I[0]=-I[0]),w>0&&(I[0]=I[0].toPrecision(w)),I[1]=y[I[1]]||I[1],!0===d?I[0]=I[0].toLocaleString():d.length>0?I[0]=I[0].toLocaleString(d,p):v.length>0&&(I[0]=I[0].toString().replace(".",v)),h&&!1===Number.isInteger(I[0])&&E>0){var S=v||".",Q=I[0].toString().split(S),N=Q[1]||"",R=N.length,T=E-R;I[0]="".concat(Q[0]).concat(S).concat(N.padEnd(R+T,"0"))}return l&&(I[1]=u[s]?u[s]:n[k][s]+(i?"bit":"byte")+(1===I[0]?"":"s")),"array"===A?I:"object"===A?{value:I[0],symbol:I[1],exponent:s,unit:f}:I.join(C)}return a.partial=function(e){return function(t){return a(t,e)}},a}()},22774:(e,t,n)=>{"use strict";n.d(t,{u:()=>s});var r=n(54715),a=n(91859);function s(e,t){return void 0===t&&(t={}),(0,a.D)(e,(0,r.Cl)({delimiter:"-"},t))}},58314:e=>{e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},21214:(e,t)=>{"use strict";function n(e){return"[object Object]"===Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=function(e){var t,r;return!1!==n(e)&&(void 0===(t=e.constructor)||!1!==n(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))}},49475:function(e,t){var n,r;r="undefined"!=typeof self?self:"undefined"!=typeof window||"undefined"!=typeof window?window:this,e.exports=function(r){"use strict";var a,s=(r=r||{}).Base64,o="2.6.4",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=function(e){for(var t={},n=0,r=e.length;n>>6)+l(128|63&t):l(224|t>>>12&15)+l(128|t>>>6&63)+l(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return l(240|t>>>18&7)+l(128|t>>>12&63)+l(128|t>>>6&63)+l(128|63&t)},d=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,p=function(e){return e.replace(d,u)},m=function(e){var t=[0,2,1][e.length%3],n=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0);return[i.charAt(n>>>18),i.charAt(n>>>12&63),t>=2?"=":i.charAt(n>>>6&63),t>=1?"=":i.charAt(63&n)].join("")},g=r.btoa&&"function"==typeof r.btoa?function(e){return r.btoa(e)}:function(e){if(e.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return e.replace(/[\s\S]{1,3}/g,m)},A=function(e){return g(p(String(e)))},h=function(e){return e.replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,"")},E=function(e,t){return t?h(A(e)):A(e)},f=function(e){return E(e,!0)};r.Uint8Array&&(a=function(e,t){for(var n="",r=0,a=e.length;r>>18)+i.charAt(l>>>12&63)+(void 0!==o?i.charAt(l>>>6&63):"=")+(void 0!==c?i.charAt(63&l):"=")}return t?h(n):n});var b,v=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,C=function(e){switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return l(55296+(t>>>10))+l(56320+(1023&t));case 3:return l((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return l((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},k=function(e){return e.replace(v,C)},y=function(e){var t=e.length,n=t%4,r=(t>0?c[e.charAt(0)]<<18:0)|(t>1?c[e.charAt(1)]<<12:0)|(t>2?c[e.charAt(2)]<<6:0)|(t>3?c[e.charAt(3)]:0),a=[l(r>>>16),l(r>>>8&255),l(255&r)];return a.length-=[0,0,2,1][n],a.join("")},B=r.atob&&"function"==typeof r.atob?function(e){return r.atob(e)}:function(e){return e.replace(/\S{1,4}/g,y)},w=function(e){return B(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},_=function(e){return k(B(e))},I=function(e){return String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,"")},j=function(e){return _(I(e))};r.Uint8Array&&(b=function(e){return Uint8Array.from(w(I(e)),(function(e){return e.charCodeAt(0)}))});var x=function(){var e=r.Base64;return r.Base64=s,e};if(r.Base64={VERSION:o,atob:w,btoa:g,fromBase64:j,toBase64:E,utob:p,encode:E,encodeURI:f,btou:k,decode:j,noConflict:x,fromUint8Array:a,toUint8Array:b},"function"==typeof Object.defineProperty){var S=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};r.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",S((function(){return j(this)}))),Object.defineProperty(String.prototype,"toBase64",S((function(e){return E(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",S((function(){return E(this,!0)})))}}return r.Meteor&&(Base64=r.Base64),e.exports?e.exports.Base64=r.Base64:void 0===(n=function(){return r.Base64}.apply(t,[]))||(e.exports=n),{Base64:r.Base64}}(r)},25700:(e,t,n)=>{"use strict";n.d(t,{g:()=>r});function r(e){return e.toLowerCase()}},20305:e=>{"use strict";function t(e,t,n,r){var a=Number(e[t].meta.id+1).toString(),s="";return"string"==typeof r.docId&&(s="-"+r.docId+"-"),s+a}function n(e,t){var n=Number(e[t].meta.id+1).toString();return e[t].meta.subId>0&&(n+=":"+e[t].meta.subId),"["+n+"]"}function r(e,t,n,r,a){var s=a.rules.footnote_anchor_name(e,t,n,r,a),o=a.rules.footnote_caption(e,t,n,r,a),i=s;return e[t].meta.subId>0&&(i+=":"+e[t].meta.subId),''+o+""}function a(e,t,n){return(n.xhtmlOut?'
    \n':'
    \n')+'
    \n
      \n'}function s(){return"
    \n
    \n"}function o(e,t,n,r,a){var s=a.rules.footnote_anchor_name(e,t,n,r,a);return e[t].meta.subId>0&&(s+=":"+e[t].meta.subId),'
  • '}function i(){return"
  • \n"}function c(e,t,n,r,a){var s=a.rules.footnote_anchor_name(e,t,n,r,a);return e[t].meta.subId>0&&(s+=":"+e[t].meta.subId),' ↩︎'}e.exports=function(e){var l=e.helpers.parseLinkLabel,u=e.utils.isSpace;e.renderer.rules.footnote_ref=r,e.renderer.rules.footnote_block_open=a,e.renderer.rules.footnote_block_close=s,e.renderer.rules.footnote_open=o,e.renderer.rules.footnote_close=i,e.renderer.rules.footnote_anchor=c,e.renderer.rules.footnote_caption=n,e.renderer.rules.footnote_anchor_name=t,e.block.ruler.before("reference","footnote_def",(function(e,t,n,r){var a,s,o,i,c,l,d,p,m,g,A,h=e.bMarks[t]+e.tShift[t],E=e.eMarks[t];if(h+4>E)return!1;if(91!==e.src.charCodeAt(h))return!1;if(94!==e.src.charCodeAt(h+1))return!1;for(c=h+2;c=E||58!==e.src.charCodeAt(++c))return!1;if(r)return!0;for(c++,e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.refs||(e.env.footnotes.refs={}),l=e.src.slice(h+2,c-2),e.env.footnotes.refs[":"+l]=-1,(d=new e.Token("footnote_reference_open","",1)).meta={label:l},d.level=e.level++,e.tokens.push(d),a=e.bMarks[t],s=e.tShift[t],o=e.sCount[t],i=e.parentType,A=c,p=m=e.sCount[t]+c-(e.bMarks[t]+e.tShift[t]);c=o)&&(94===e.src.charCodeAt(i)&&(91===e.src.charCodeAt(i+1)&&(n=i+2,!((r=l(e,i+1))<0)&&(t||(e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.list||(e.env.footnotes.list=[]),a=e.env.footnotes.list.length,e.md.inline.parse(e.src.slice(n,r),e.md,e.env,s=[]),e.push("footnote_ref","",0).meta={id:a},e.env.footnotes.list[a]={content:e.src.slice(n,r),tokens:s}),e.pos=r+1,e.posMax=o,!0))))})),e.inline.ruler.after("footnote_inline","footnote_ref",(function(e,t){var n,r,a,s,o=e.posMax,i=e.pos;if(i+3>o)return!1;if(!e.env.footnotes||!e.env.footnotes.refs)return!1;if(91!==e.src.charCodeAt(i))return!1;if(94!==e.src.charCodeAt(i+1))return!1;for(r=i+2;r=o)&&(r++,n=e.src.slice(i+2,r-1),void 0!==e.env.footnotes.refs[":"+n]&&(t||(e.env.footnotes.list||(e.env.footnotes.list=[]),e.env.footnotes.refs[":"+n]<0?(a=e.env.footnotes.list.length,e.env.footnotes.list[a]={label:n,count:0},e.env.footnotes.refs[":"+n]=a):a=e.env.footnotes.refs[":"+n],s=e.env.footnotes.list[a].count,e.env.footnotes.list[a].count++,e.push("footnote_ref","",0).meta={id:a,subId:s,label:n}),e.pos=r,e.posMax=o,!0)))})),e.core.ruler.after("inline","footnote_tail",(function(e){var t,n,r,a,s,o,i,c,l,u,d=!1,p={};if(e.env.footnotes&&(e.tokens=e.tokens.filter((function(e){return"footnote_reference_open"===e.type?(d=!0,l=[],u=e.meta.label,!1):"footnote_reference_close"===e.type?(d=!1,p[":"+u]=l,!1):(d&&l.push(e),!d)})),e.env.footnotes.list)){for(o=e.env.footnotes.list,i=new e.Token("footnote_block_open","",1),e.tokens.push(i),t=0,n=o.length;t0?o[t].count:1,r=0;r{},53290:()=>{},15583:()=>{},81500:()=>{},88904:()=>{},34006:()=>{},57482:()=>{},7683:()=>{},9944:()=>{},38742:()=>{},9383:()=>{},44288:()=>{},39653:()=>{},26075:()=>{},25634:()=>{},49488:()=>{},34229:()=>{},54447:()=>{},19569:()=>{},65486:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={container:"demNsMJjhi7BLY7xhjU5","icon-wrapper":"QiUjdjJSkqh6nH7YMG5A","is-error":"Q080AHcq29J2fc68Hhk5",icon:"hYWbIwhppukXmGnsiT9H","is-warning":"JjHuxWly0HI9C60gorbq","is-info":"Cm8ZFHi3mngl4cj9Gatx","is-success":"ytGBsU015p3LGwOPwFDx"}},77560:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={button:"zI5tJ_qhWE6Oe6Lk75GY","is-icon-button":"tuBt2DLqimiImoqVzPqo",small:"Na39I683LAaSA99REg14",normal:"ipS7tKy9GntCS4R3vekF",icon:"paGLQwtPEaJmtArCcmyK",regular:"lZAo6_oGfclXOO9CC6Rd","full-width":"xJDOiJxTt0R_wSl8Ipz_",loading:"q_tVWqMjl39RcY6WtQA6","external-icon":"CDuBjJp_8jxzx5j6Nept"}},4459:()=>{},84813:()=>{},47842:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={"star-icon":"cuoSlhSNrqf1dozY22Xb",jetpack:"lAIiifeLMmZAPlQ9n9ZR","checkmark-icon":"JLquNpQVlysAamuh5lJO",socialIcon:"cbOwD8Y4tFjwimmtchQI",bluesky:"aLWBKY0yRghEk7tNCgK3",facebook:"aHOlEBGD5EA8NKRw3xTw",instagram:"cL3m0xBYTYhIKI7lCqDB",twitter:"af4Y_zItXvLAOEoSDPSv",linkedin:"f68aqF3XSD1OBvXR1get",tumblr:"xFI0dt3UiXRlRQdqPWkx",google:"q7JEoyymveP6kF747M43",mastodon:"DKOBOTVmTLbh26gUH_73",nextdoor:"n5XodNsuMfMAAvqHFmbw",whatsapp:"fftumuc_lJ6v0tq4UMVR",threads:"inzgC27qxdt7hSdhTWRI"}},59053:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)"}},47876:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={placeholder:"NisihrgiIKl_knpYJtfg",pulse:"R2i0K45dEF157drbVRPI"}},16024:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={container:"VHYulMcpzbr10HWR0iSE","icon-wrapper":"FGpSkMCiIHQjszcV0dbn","close-button":"KoWZcCwhW13xvkEb0QON","main-content":"smrfczkC53EaFM8OJUXs",title:"IKYRWoPwt9xOVEx1wzNS","action-bar":"qM0qY6mPYp1MPN54A3Kg","is-error":"A5YkDkkXuiYgavrY6Nux",icon:"y_IPyP1wIAOhyNaqvXJq","is-warning":"cT5rwuPMZzWvi5o6shMl","is-info":"yo0O3uvNomPsYUXFCpAS","is-success":"oZdDFf1jBLkzn5ICCC6x"}},85335:()=>{},22073:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={reset:"WQVtrU6q0L1Igcj7wCrQ","headline-medium":"UujoBFTnQNY2cWU2SIsH","headline-small":"TeGO5V_thHw5lDAm1_2M","headline-small-regular":"WolQzb2MsSgiNmLtc7_j","title-medium":"hUB0JT8p1T2Hw28N6qC8","title-medium-semi-bold":"gKZWDv5chz3_O3Syp74H","title-small":"zY2No8Ga4b8shbOQGhnv",body:"tIj0D1t8Cc892ikmgFPZ","body-small":"KdcN0BnOaVeVhyLRKqhS","body-extra-small":"dso3Rh3tl3Xv1GumBktz","body-extra-small-bold":"mQ1UlbN9u4Mg9byO8m7v",label:"PItlW5vRExLnTj4a8eLE","m-0":"TwRpPlktzxhmFVeua7P5","mx-0":"zVfqx7gyb3o9mxfGynn1","my-0":"iSHVzNiB9iVleGljaQxy","mt-0":"xqDIp6cNVr_E6RXaiPyD","mr-0":"S8EwaXk1kyPizt6x4WH2","mb-0":"ODX5Vr1TARoLFkDDFooD","ml-0":"cphJ8dCpfimnky7P2FHg","m-1":"PFgIhNxIyiSuNvQjAIYj","mx-1":"M2jKmUzDxvJjjVEPU3zn","my-1":"io15gAh8tMTNbSEfwJKk","mt-1":"rcTN5uw9xIEeMEGL3Xi_","mr-1":"CQSkybjq2TcRM1Xo9COV","mb-1":"hfqOWgq6_MEGdFE82eOY","ml-1":"I8MxZQYTbuu595yfesWA","m-2":"kQkc6rmdpvLKPkyoJtVQ","mx-2":"j6vFPxWuu4Jan2ldoxpp","my-2":"hqr39dC4H_AbactPAkCG","mt-2":"c3dQnMi16C6J6Ecy4283","mr-2":"YNZmHOuRo6hU7zzKfPdP","mb-2":"Db8lbak1_wunpPk8NwKU","ml-2":"ftsYE5J9hLzquQ0tA5dY","m-3":"Det4MHzLUW7EeDnafPzq","mx-3":"h_8EEAztC29Vve1datb5","my-3":"YXIXJ0h1k47u6hzK8KcM","mt-3":"soADBBkcIKCBXzCTuV9_","mr-3":"zSX59ziEaEWGjnpZa4uV","mb-3":"yrVTnq_WBMbejg89c2ZQ","ml-3":"UKtHPJnI2cXBWtPDm5hM","m-4":"guexok_Tqd5Tf52hRlbT","mx-4":"oS1E2KfTBZkJ3F0tN7T6","my-4":"DN1OhhXi6AoBgEdDSbGd","mt-4":"ot2kkMcYHv53hLZ4LSn0","mr-4":"A1krOZZhlQ6Sp8Cy4bly","mb-4":"pkDbXXXL32237M0hokEh","ml-4":"XXv4kDTGvEnQeuGKOPU3","m-5":"yGqHk1a57gaISwkXwXe6","mx-5":"X8cghM358X3DkXLc9aNK","my-5":"GdfSmGwHlFnN2S6xBn1f","mt-5":"yqeuzwyGQ7zG0avrGqi_","mr-5":"g9emeCkuHvYhveiJbfXO","mb-5":"Lvk3dqcyHbZ07QCRlrUQ","ml-5":"r3yQECDQ9qX0XZzXlVAg","m-6":"aQhlPwht2Cz1X_63Miw0","mx-6":"JyHb0vK3wJgpblL9s5j8","my-6":"cY2gULL1lAv6WPNIRuf3","mt-6":"NBWQ9Lwhh_fnry3lg_p7","mr-6":"yIOniNe5E40C8fWvBm5V","mb-6":"t30usboNSyqfQWIwHvT3","ml-6":"Nm_TyFkYCMhOoghoToKJ","m-7":"C4qJKoBXpgKtpmrqtEKB","mx-7":"S93Srbu6NQ_PBr7DmTiD","my-7":"fJj8k6gGJDks3crUZxOS","mt-7":"cW6D6djs7Ppm7fD7TeoV","mr-7":"DuCnqNfcxcP3Z__Yo5Ro","mb-7":"im8407m2fw5vOg7O2zsw","ml-7":"G0fbeBgvz2sh3uTP9gNl","m-8":"kvW3sBCxRxUqz1jrVMJl","mx-8":"tOjEqjLONQdkiYx_XRnw","my-8":"op5hFSx318zgxsoZZNLN","mt-8":"c9WfNHP6TFKWIfLxv52J","mr-8":"sBA75QqcqRwwYSHJh2wc","mb-8":"GpL6idrXmSOM6jB8Ohsf","ml-8":"HbtWJoQwpgGycz8dGzeT","p-0":"uxX3khU88VQ_Ah49Ejsa","px-0":"KX0FhpBKwKzs9fOUdbNz","py-0":"PfK8vKDyN32dnimlzYjz","pt-0":"emxLHRjQuJsImnPbQIzE","pr-0":"kJ8WzlpTVgdViXt8ukP9","pb-0":"tg_UIUI11VBzrTAn2AzJ","pl-0":"uczvl8kaz84oPQJ2DB2R","p-1":"o7UHPcdVK3lt7q3lqV4o","px-1":"IDqEOxvDoYrFYxELPmtX","py-1":"DdywPW2qSYlu2pt8tpO2","pt-1":"npy3hw4A5QSkDicb2CJJ","pr-1":"LgbptTApNY5NwLQvEFAt","pb-1":"WZQy2SZuZso59bUsXXyl","pl-1":"o331apInxNunbYB3SfPE","p-2":"fMPIyD9Vqki1Lrc_yJnG","px-2":"i2pMcTcdrr10IQoiSm_L","py-2":"eA702gn32kwptiI1obXH","pt-2":"o9bGieUKcYc8o0Ij9oZX","pr-2":"SwZcFez1RDqWsOFjB5iG","pb-2":"eHpLc_idmuEqeqCTvqkN","pl-2":"vU39i2B4P1fUTMB2l6Vo","p-3":"JHWNzBnE29awhdu5BEh1","px-3":"X72lGbb56L3KFzC2xQ9N","py-3":"BzfNhRG8wXdCEB5ocQ6e","pt-3":"srV0KSDC83a2fiimSMMQ","pr-3":"lUWfkmbQjCskhcNwkyCm","pb-3":"Ts0dIlc3aTSL7V4cIHis","pl-3":"CzlqQXXhX6MvorArFZ8B","p-4":"TqMPkQtR_DdZuKb5vBoV","px-4":"a7UrjhI69Vetlcj9ZVzz","py-4":"StEhBzGs2Gi5dDEkjhAv","pt-4":"FGneZfZyvYrt1dG0zcnm","pr-4":"APEH216rpdlJWgD2fHc8","pb-4":"oGwXC3ohCic9XnAj6x69","pl-4":"U6gnT9y42ViPNOcNzBwb","p-5":"IpdRLBwnHqbqFrixgbYC","px-5":"HgNeXvkBa9o3bQ5fvFZm","py-5":"tJtFZM3XfPG9v9TSDfN1","pt-5":"PdifHW45QeXYfK568uD8","pr-5":"mbLkWTTZ0Za_BBbFZ5b2","pb-5":"vVWpZpLlWrkTt0hMk8XU","pl-5":"RxfaJj5a1Nt6IavEo5Zl","p-6":"SppJULDGdnOGcjZNCYBy","px-6":"palY2nLwdoyooPUm9Hhk","py-6":"WYw1JvZC0ppLdvSAPhr_","pt-6":"YEEJ9b90ueQaPfiU8aeN","pr-6":"QE0ssnsKvWJMqlhPbY5u","pb-6":"n8yA3jHlMRyLd5UIfoND","pl-6":"tXHmxYnHzbwtfxEaG51n","p-7":"kBTsPKkO_3g_tLkj77Um","px-7":"RyhrFx6Y1FGDrGAAyaxm","py-7":"CBwRpB0bDN3iEdQPPMJO","pt-7":"vQVSq6SvWKbOMu6r4H6b","pr-7":"oBy5__aEADMsH46mrgFX","pb-7":"KVEXoJqf1s92j0JMdNmN","pl-7":"ZMXGNrNaKW3k_3TLz0Fq","p-8":"tuiR9PhkHXhGyEgzRZRI","px-8":"U7454qyWkQNa2iaSJziu","py-8":"VLYIv2GVocjuN93e8HC8","pt-8":"X1rm9DQ1zLGLfogja5Gn","pr-8":"JS7G6kAuqJo5GIuF8S5t","pb-8":"Y8F9ga1TDCMbM1lj4gUz","pl-8":"AJuyNGrI63BOWql719H8"}},25196:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={global:"_fUXxnSp5pagKBp9gSN7"}},85605:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={wrapper:"O5Go3eBOBqWlXy7fX0su","connection-name":"fgQ4OdnJ1svMwDnOKu2H","profile-link":"ArQoWnNoP4okGpEbxF6b",confirmDialog:"QsEfjoVyfc0gVACXTvUM","mark-shared-wrap":"eCH_xkiqbqL0UkJjU_1p","connection-panel":"J2Rz6Qb6mWPyJDF0yoqw","connection-list":"fXYYdRkn3LXtN9YH3354","connection-list-item":"LaK9P7Nfi4ZBH0NhtbSs","connection-item":"tI3FtttoJPuF9AJzCAMv","connection-item-name":"msoMjBB_4Uq5qpRgobsH","learn-more":"RjMLptH6v03AX5ABWBp3","connection-name-wrapper":"z5Do97zRnujyW3Oj0pPJ"}},49514:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={"connection-container":"KQcQQLxH5fI08DfOlKwL"}},71016:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={"connections-list":"Ua6eKcnk_tQQpFlgXMSn","components-notice":"SHqrIEguRfCILRHPyxE9","more-link":"ejyuBjiLmHz_UTFmBnjA","change-settings-button":"smqXe_da1eoP4Agql_Cs","enhanced-features-nudge":"eQZwqSCI_uVWrJ2jIRUA","enabled-connections-notice":"O_ZghPCUG7291iVsp1wx","no-connections-text":"nrOxj0JeSCWwCB4oaR94","broken-connection-btn":"Jxra4242dPPaUy28mM8H","broken-connection-service":"amoEz9VXiwF3eyLxTbOA","broken-connection":"irsbCLZJNayrJ0g_joAn","settings-button":"lIKYDl6xVVtMbvcUDrrn"}},60548:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={container:"OWstrHF6QZdaosKs0b6j",hidden:"HJMFrbZ0khdkKKkocrIK"}},18973:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={confirmation:"udAWaza1u34TkmZZUPq4","header-text":"JsO4jFxFAKjG6Go62bZF",form:"SeoSfJ6eII9O0PiDkl5g","accounts-list":"M6POQFFbhswwolN6D9VN","account-input":"Sk_WQxS97yTokR_rM3Ci","account-label":"CRjatFVv3dQMjG9_Vmjj","submit-wrap":"re3HrL6GJa59uqDgx771","profile-pic":"jPB4ApiYyEswu6AKKJqk","account-info":"JhIphWt8e2X_ee0l7KEZ"}},73842:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={modal:"Mu_jAq5ZcYDM1kmBbxcs","connect-form":"foAsC5GlXOWEzACnxT_P",small:"_7PKKGx44v2H9dJbUltFw","manual-share":"IGOk1gMf5SKkfOKyF7Xc"}},27681:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={wrapper:"pp_WJTHlGIX9bcHCLxJh",title:"IzRyqrcpwjKRBJKEtECz"}},97671:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={"preview-wrapper":"cZuW54OEuUN9yvuE_rNU","preview-image":"vCs0BOExDMOystFhG2wa",container:"sKpch49QzrpontC0DvF7",subtitle:"vOO47kVjHn7i63fQ0bx0",preview:"ziE_jq4PmQmGBedGskf_",remove:"qqGj0rmSJvZs9dyr0u_I","remove-loading":"TJGgifcTHqUtknPqVQpH"}},35270:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={wrapper:"f92zWdEJJIwBvwH5rRzn",disabled:"rBTOWyeewE4VxAqYgjoI","preview-wrapper":"PykCvaqoL7AIDzVKJAtg",notice:"SSMDWFYkP44va5KqPpTP",subtitle:"Q21myqk1zOYB3IH8YuEq","learn-more":"RoerAwwhu_PqirHlSJPz"}},93794:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={notice:"ptn8jt555LOvMXWaoLxs","notice--default":"IVzciZv5S5E8XgR5EsLp","notice--highlight":"OpbDsm3F65Z4K5Bz43cz","notice--warning":"dlrSwB0tyuf1TYcypDec","notice--error":"hkpqil8E11PObwu7TVU2",content:"AeqtA3GRe7sFjKaC9SqL",dismiss:"IArBTmNL2K4du5WPBUhg",actions:"T7E2eJJN4qjwPpv3mcjV"}},87170:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={panel:"U_WW2qLSQA71SJYyITOq"}},5780:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={description:"D8uyjb_rjCf4HTMT0mj0"}},55387:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={"loading-block":"dCsa7WNQhT_7RhRkZih1","loading-text":"VotVfPmHNdU_xItAWEKQ"}},76445:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={prompt:"CW7R8fRQqVKfyXFYiNWR",buttons:"n34j0qWq2EZzYl1jAiej",button:"aIuCL8MdydCJGcrOqp4x",header:"qegtnlYWDc3UnIGPRlQb"}},42475:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={services:"SbpyhN5jnda8H868J3rX","service-list-item":"ONeewrk3aNC1gYJebq7K","service-item":"RoTxOeGFqAwk3pXUZpvF","service-item-info":"AjlYaYB_xi9ciXXCqHIJ","service-basics":"kdYli5nS3b46T57Ih5TQ",heading:"ci8T5eNe1rggYILce596",badges:"W6mPdl5wGQlXfp1hYSK0",badge:"QbcyaAVqz3U_2xlIOZCw",title:"fXvUC1jZNUXR7RSrIylI",description:"d22_aeSA1etqpnckP_Mr",actions:"ddhaNmGMqOySRjR_TtqJ","learn-more":"nnSF_IK4vYviTlCOzPrg","service-panel":"u17AiTny2Jbh35JFAUYw","connect-form-wrapper":"U_Z9JvOsEQ6BtkH9P1IQ","active-connection":"MyXskAb4aXwO7zitR97z","broken-connection-alert":"hMntEpO6BV5B11lyAitv","service-connection-list":"Y_4JpLfOnXVZKvEs179H","example-wrapper":"jdahJvXCrCw0hA5NP3D3",small:"LLeYGX7Owy6gmpNW88VV","service-connection":"EdjyE9tVLH6lWMoB9z3M","connection-details":"EQQHwkVXRn0caD6J7LqV","profile-pic":"vvlyiVm67wUWF9NhpMA4",disconnect:"zqX6xk8KCGK1_qbYKqY5","connect-form":"fNeO_MZFp7cPkgtCdkAF","connect-button":"zK8sijAMFNs2m6WRAoi4","mark-shared-wrap":"zLobzkXnF6jHxNvkfz5_"}},99811:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={"share-buttons":"JUeclE9CucaXRlTL5K9H",x:"rhyZKz4FQtFOFAMwLgLj",whatsapp:"DDRhGoqXUOM6Jug54nEB",facebook:"h57Cabo4jn8Ke77_DLOX",clipboard:"tvNWJpaNzPro4QaItBae",vertical:"p_VTpBCFklSkcb0iiD0K",container:"DyIAUIn_2bkciyB_XtgH",label:"Lx8xScOApJmJdhJF9JWd"}},14150:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={"trigger-wrapper":"kyLdsnatoC0HbIDJQm9S",wrapper:"Syp1HH254tFVzcFG2Zh2",spinner:"TqhtumZm_qrPdnAiAWk1",modal:"YABlqQXOGnawHFcJa7zT","share-log-list":"KTCkaKxqgq5m97AeauuD","share-log-list-item":"a7bsDR1XYAyHfU8yXhDF","share-item":"zxDD61MgJz7Cy_ZLbaLL","share-item-name-wrapper":"vEA7jwVDDYmYUaVhX9QR","share-item-name":"AsH9JOuWehE027IlR7Y2","share-status-wrapper":"hvN5L4O60W8ftCvW1gRX","share-status-success":"aF8rESnbAc_uQUN0H3py","share-status-failure":"mfUKWd8ZvydeEyWeKhJ2","share-status-label":"pvVeQhJ9oNx0CFoHYEit","share-status-icon-tooltip":"fXQtkkrybB5DooWXxt67","share-status-icon":"bJAz31xuwL_vO4V97YfM","share-status-action-wrapper":"HV9N7iu024GjGwuQh6KQ"}},53744:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={templateControl:"tfWupx32Rn5hHqVjTzui",customText:"qu9UsV1EEFeFxhU3Wgt5",mediaPicker:"nZhgKYFn6MQoIDGcKrUG"}},88375:()=>{"use strict"},52002:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={templates:"m9360_cMWKFHTNk9xpNz",template:"j4EvSJfKIJLGEIAETiEY","template--active":"dQb3Zpl0puk4V6ezZslo"}},47944:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={panel:"nOZgE6dP_guav2888GAK",modal:"jxndagXCphEhzYfnjHMZ","modal-content":"na9tpJVboVaxVNabSRsr","close-button":"VxWWpt730pSzZCEVjxA3","settings-header":"z14EiGfFuQwKazBW3LpF","settings-section":"LAWYmJPODB8LgzQMzsyx","settings-content":"vVbLRydJFLCVa49hSz83","preview-section":"uw1atyZ2fcJoKjwf6SZW","preview-content":"meKppCUznQhlkjwZuS6G","disabled-tab":"HS7f47n0w2xUqa4wQkwX","modal-description":"dKXzdVKZ7LYvSmUVrl26"}},95051:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={"publicize-notice":"__nV49on4_ijaV8Brnsw","components-notice":"zZ3Pu7E87XyYIdPR2WTt","components-button":"fLC8AaLf3xcKaoJ4Opax"}},76794:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={wrapper:"sP1aklNMfj7lCDxuhWaq",progress:"a6tcXi51GAewl3qx0AVi",duration:"uFtCCGeycoI94JbCnJh8"}},54746:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={wrapper:"h2NGkiVs1r1nf85LtJpF","conversion-notice":"k3Apzwo3v9n0IaHbB8tf"}},44997:e=>{var t=1e3,n=60*t,r=60*n,a=24*r,s=7*a,o=365.25*a;function i(e,t,n,r){var a=t>=1.5*n;return Math.round(e/n)+" "+r+(a?"s":"")}e.exports=function(e,c){c=c||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!i)return;var c=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*o;case"weeks":case"week":case"w":return c*s;case"days":case"day":case"d":return c*a;case"hours":case"hour":case"hrs":case"hr":case"h":return c*r;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===l&&isFinite(e))return c.long?function(e){var s=Math.abs(e);if(s>=a)return i(e,s,a,"day");if(s>=r)return i(e,s,r,"hour");if(s>=n)return i(e,s,n,"minute");if(s>=t)return i(e,s,t,"second");return e+" ms"}(e):function(e){var s=Math.abs(e);if(s>=a)return Math.round(e/a)+"d";if(s>=r)return Math.round(e/r)+"h";if(s>=n)return Math.round(e/n)+"m";if(s>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},2532:(e,t,n)=>{"use strict";n.d(t,{W:()=>o});var r=n(25700),a=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],s=/[^A-Z0-9]+/gi;function o(e,t){void 0===t&&(t={});for(var n=t.splitRegexp,o=void 0===n?a:n,c=t.stripRegexp,l=void 0===c?s:c,u=t.transform,d=void 0===u?r.g:u,p=t.delimiter,m=void 0===p?" ":p,g=i(i(e,o,"$1\0$2"),l,"\0"),A=0,h=g.length;"\0"===g.charAt(A);)A++;for(;"\0"===g.charAt(h-1);)h--;return g.slice(A,h).split("\0").map(d).join(m)}function i(e,t,n){return t instanceof RegExp?e.replace(t,n):t.reduce((function(e,t){return e.replace(t,n)}),e)}},68530:(e,t,n)=>{"use strict";var r=n(10961);e.exports=function(e,t){var n=this;return r(n.data,e,n.data[t]||a,n),n};var a=[]},35479:(e,t,n)=>{"use strict";var r=n(75466);e.exports=function(e){return Boolean(r(this,e))}},49897:(e,t,n)=>{"use strict";var r=n(74424);e.exports=function(e){var t,n,a,s,o=this,i=-1;r(e,o,o.data);for(;++i{"use strict";var r=n(58314),a=n(58496);e.exports=o;var s=o.prototype;function o(e,t){var n,s=-1;if(!(this instanceof o))return new o(e,t);if("string"==typeof e||r(e)?("string"==typeof t||r(t))&&(n=[{dic:t}]):e&&("length"in e?(n=e,e=e[0]&&e[0].aff):(e.dic&&(n=[e]),e=e.aff)),!e)throw new Error("Missing `aff` in dictionary");if(e=a(e),this.data=Object.create(null),this.compoundRuleCodes=e.compoundRuleCodes,this.replacementTable=e.replacementTable,this.conversion=e.conversion,this.compoundRules=e.compoundRules,this.rules=e.rules,this.flags=e.flags,n)for(;++s{"use strict";e.exports=function(e){var t,n,r,a,s=this,o=e.toString("utf8").split("\n"),i=-1;void 0===s.flags.FORBIDDENWORD&&(s.flags.FORBIDDENWORD=!1);a=s.flags.FORBIDDENWORD;for(;++i{"use strict";e.exports=function(e){return delete this.data[e],this}},92347:(e,t,n)=>{"use strict";var r=n(75466),a=n(91534);e.exports=function(e){var t=this,n=r(t,e,!0);return{correct:t.correct(e),forbidden:Boolean(n&&a(t.flags,"FORBIDDENWORD",t.data[n])),warn:Boolean(n&&a(t.flags,"WARN",t.data[n]))}}},98559:(e,t,n)=>{"use strict";var r=n(41455),a=n(92545),s=n(91534),o=n(75466);e.exports=function(e){var t,n,s,o,l,u,d,p,m,g,A,h,E,f,b,v,C,k,y,B,w,_,I,j,x,S=this,Q={},N=[],R={},T=[];if(!(e=a(e.trim(),S.conversion.in))||S.correct(e))return[];x=r(e),o=-1;for(;++o-1;)T.push(e.replace(n[0],n[1])),l=e.indexOf(n[0],l+1);o=-1;for(;++oR[t]?-1:1}(e,t)||function(e,t){var n=r(e),a=r(t);return n===a?0:n===x?-1:a===x?1:void 0}(e,t)||function(e,t){return e.localeCompare(t)}(e,t)})),s=[],I=[],o=-1;for(;++o{"use strict";var r=n(77598);e.exports=function(e,t,n,o){var i,c,l,u,d,p,m,g=-1;(!("NEEDAFFIX"in o.flags)||n.indexOf(o.flags.NEEDAFFIX)<0)&&function(e,t,n){var r=e[t];t in e?r===s?e[t]=n.concat():a.apply(r,n):e[t]=n.concat()}(e,t,n);for(;++g{"use strict";var r=n(73509);e.exports=function(e){var t,n,u,d,p,m,g,A,h,E,f,b,v=Object.create(null),C=Object.create(null),k=Object.create(null),y=[],B={in:[],out:[]},w=[],_=e.toString("utf8"),I=[],j=0,x=_.indexOf("\n");k.KEY=[];for(;x>-1;)S(_.slice(j,x)),j=x+1,x=_.indexOf("\n",j);S(_.slice(j)),x=-1;for(;++x{"use strict";e.exports=function e(t,n,r,a){var s,o,i,c,l,u=-1;for(;++u{"use strict";function t(e){return e===e.toLowerCase()?"l":e===e.toUpperCase()?"u":null}e.exports=function(e){var n=t(e.charAt(0)),r=e.slice(1);if(!r)return n;if(r=t(r),n===r)return n;if("u"===n&&"l"===r)return"s";return null}},74424:(e,t,n)=>{"use strict";var r=n(73509),a=n(10961);e.exports=function(e,t,n){var r=e.toString("utf8"),a=r.indexOf("\n")+1,s=r.indexOf("\n",a);for(;s>-1;)9!==r.charCodeAt(a)&&o(r.slice(a,s),t,n),a=s+1,s=r.indexOf("\n",a);o(r.slice(a),t,n)};var s=/\s/g;function o(e,t,n){for(var o,i,c=e.indexOf("/"),l=e.indexOf("#"),u="";c>-1&&92===e.charCodeAt(c-1);)c=(e=e.slice(0,c-1)+e.slice(c)).indexOf("/",c);l>-1?c>-1&&c-1?(o=e.slice(0,c),u=e.slice(c+1)):o=e,(o=o.trim())&&a(n,o,r(t.flags,u.trim()),t)}},81277:(e,t,n)=>{"use strict";var r=n(91534);e.exports=function(e,t){var n=-1;if(e.data[t])return!r(e.flags,"ONLYINCOMPOUND",e.data[t]);if(t.length>=e.flags.COMPOUNDMIN)for(;++n{"use strict";e.exports=function(e,t,n){return n&&t in e&&n.indexOf(e[t])>-1}},75466:(e,t,n)=>{"use strict";var r=n(92545),a=n(81277),s=n(91534);function o(e,t,n){return s(e,"KEEPCASE",t)||n||s(e,"FORBIDDENWORD",t)}e.exports=function(e,t,n){var i,c=t.trim();if(!c)return null;if(c=r(c,e.conversion.in),a(e,c))return!n&&s(e.flags,"FORBIDDENWORD",e.data[c])?null:c;if(c.toUpperCase()===c){if(i=c.charAt(0)+c.slice(1).toLowerCase(),o(e.flags,e.data[i],n))return null;if(a(e,i))return i}if((i=c.toLowerCase())!==c){if(o(e.flags,e.data[i],n))return null;if(a(e,i))return i}return null}},92545:e=>{"use strict";e.exports=function(e,t){var n=-1;for(;++n{"use strict";e.exports=function(e,n){var r,a=0;if(!n)return t;if("long"===e.FLAG){for(r=new Array(Math.ceil(n.length/2));a{"use strict";e.exports=function(){return this.flags.WORDCHARS||null}},74572:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var r=n(54715),a=n(19382);function s(e,t){return void 0===t&&(t={}),(0,a.a)(e,(0,r.Cl)({delimiter:"-"},t))}},82769:(e,t,n)=>{"use strict";n.d(t,{$7:()=>o,fL:()=>i,l3:()=>s});var r=n(54715),a=n(2532);function s(e,t){var n=e.charAt(0),r=e.substr(1).toLowerCase();return t>0&&n>="0"&&n<="9"?"_"+n+r:""+n.toUpperCase()+r}function o(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}function i(e,t){return void 0===t&&(t={}),(0,a.W)(e,(0,r.Cl)({delimiter:"",transform:s},t))}},70320:(e,t,n)=>{"use strict";n.d(t,{y:()=>s});var r=n(54715),a=n(19382);function s(e,t){return void 0===t&&(t={}),(0,a.a)(e,(0,r.Cl)({delimiter:"/"},t))}},14936:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(87399),a=n.n(r),s=n(11264),o=n.n(s),i=n(10067),c=n.n(i)()("photon"),l={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},u="__domain__.invalid",d="http://".concat(u),p="https://i0.wp.com";function m(e,t){var n;try{n=new URL(e,d)}catch(e){return null}var r,s,i,m,g,A="https:"===n.protocol,h=new URL(p);if(g=n.host,/^i[0-2]\.wp\.com$/.test(g))h.pathname=n.pathname,h.hostname=n.hostname;else{if(n.search)return null;var E=n.href.replace("".concat(n.protocol,"/"),"");"blob:"===n.protocol&&(E=n.pathname.replace("://","//")),n.hostname===u&&(E=n.pathname),h.pathname=E,h.hostname=(r=E,s=a()(r),i=o()(s),m="i"+Math.floor(3*i()),c('determined server "%s" to use with "%s"',m,r),m+".wp.com"),A&&h.searchParams.set("ssl",1)}if(t)for(var f in t)"host"!==f&&"hostname"!==f?"secure"!==f||t[f]?h.searchParams.set(l[f]||f,t[f]):h.protocol="http:":h.hostname=t[f];return c("generated Photon URL: %s",h.href),h.href}},15762:(e,t,n)=>{"use strict";var r=n(53761);function a(){}function s(){}s.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,s,o){if(o!==r){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:a};return n.PropTypes=n,n}},28120:(e,t,n)=>{e.exports=n(15762)()},53761:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},87072:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>f});const r=2147483647,a=36,s=/^xn--/,o=/[^\0-\x7F]/,i=/[\x2E\u3002\uFF0E\uFF61]/g,c={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},l=Math.floor,u=String.fromCharCode;function d(e){throw new RangeError(c[e])}function p(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]);const a=function(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}((e=e.replace(i,".")).split("."),t).join(".");return r+a}function m(e){const t=[];let n=0;const r=e.length;for(;n=55296&&a<=56319&&n>1,e+=l(e/t);e>455;r+=a)e=l(e/35);return l(r+36*e/(e+38))},h=function(e){const t=[],n=e.length;let s=0,o=128,i=72,c=e.lastIndexOf("-");c<0&&(c=0);for(let n=0;n=128&&d("not-basic"),t.push(e.charCodeAt(n));for(let p=c>0?c+1:0;p=n&&d("invalid-input");const c=(u=e.charCodeAt(p++))>=48&&u<58?u-48+26:u>=65&&u<91?u-65:u>=97&&u<123?u-97:a;c>=a&&d("invalid-input"),c>l((r-s)/t)&&d("overflow"),s+=c*t;const m=o<=i?1:o>=i+26?26:o-i;if(cl(r/g)&&d("overflow"),t*=g}const m=t.length+1;i=A(s-c,m,0==c),l(s/m)>r-o&&d("overflow"),o+=l(s/m),s%=m,t.splice(s++,0,o)}var u;return String.fromCodePoint(...t)},E=function(e){const t=[],n=(e=m(e)).length;let s=128,o=0,i=72;for(const n of e)n<128&&t.push(u(n));const c=t.length;let p=c;for(c&&t.push("-");p=s&&tl((r-o)/m)&&d("overflow"),o+=(n-s)*m,s=n;for(const n of e)if(nr&&d("overflow"),n===s){let e=o;for(let n=a;;n+=a){const r=n<=i?1:n>=i+26?26:n-i;if(eString.fromCodePoint(...e)},decode:h,encode:E,toASCII:function(e){return p(e,(function(e){return o.test(e)?"xn--"+E(e):e}))},toUnicode:function(e){return p(e,(function(e){return s.test(e)?h(e.slice(4).toLowerCase()):e}))}}},21782:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>j});var r,a=n(51609),s=n.n(a),o=Object.defineProperty,i=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,u=(e,t,n)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,d=(e,t)=>{for(var n in t||(t={}))c.call(t,n)&&u(e,n,t[n]);if(i)for(var n of i(t))l.call(t,n)&&u(e,n,t[n]);return e},p=(e,t)=>{var n={};for(var r in e)c.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&i)for(var r of i(e))t.indexOf(r)<0&&l.call(e,r)&&(n[r]=e[r]);return n};(e=>{const t=class{constructor(e,n,r,a){if(this.version=e,this.errorCorrectionLevel=n,this.modules=[],this.isFunction=[],et.MAX_VERSION)throw new RangeError("Version value out of range");if(a<-1||a>7)throw new RangeError("Mask value out of range");this.size=4*e+17;let o=[];for(let e=0;e7)throw new RangeError("Invalid value");let u,d;for(u=a;;u++){const r=8*t.getNumDataCodewords(u,n),a=i.getTotalBits(e,u);if(a<=r){d=a;break}if(u>=o)throw new RangeError("Data too long")}for(const e of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])l&&d<=8*t.getNumDataCodewords(u,e)&&(n=e);let p=[];for(const t of e){r(t.mode.modeBits,4,p),r(t.numChars,t.mode.numCharCountBits(u),p);for(const e of t.getData())p.push(e)}s(p.length==d);const m=8*t.getNumDataCodewords(u,n);s(p.length<=m),r(0,Math.min(4,m-p.length),p),r(0,(8-p.length%8)%8,p),s(p.length%8==0);for(let e=236;p.lengthg[t>>>3]|=e<<7-(7&t))),new t(u,n,g,c)}getModule(e,t){return 0<=e&&e>>9);const r=21522^(t<<10|n);s(r>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,a(r,e));this.setFunctionModule(8,7,a(r,6)),this.setFunctionModule(8,8,a(r,7)),this.setFunctionModule(7,8,a(r,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,a(r,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,a(r,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,a(r,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^7973*(e>>>11);const t=this.version<<12|e;s(t>>>18==0);for(let e=0;e<18;e++){const n=a(t,e),r=this.size-11+e%3,s=Math.floor(e/3);this.setFunctionModule(r,s,n),this.setFunctionModule(s,r,n)}}drawFinderPattern(e,t){for(let n=-4;n<=4;n++)for(let r=-4;r<=4;r++){const a=Math.max(Math.abs(r),Math.abs(n)),s=e+r,o=t+n;0<=s&&s{(e!=l-o||n>=c)&&p.push(t[e])}));return s(p.length==i),p}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let n=0;for(let t=this.size-1;t>=1;t-=2){6==t&&(t=5);for(let r=0;r>>3],7-(7&n)),n++)}}s(n==8*e.length)}applyMask(e){if(e<0||e>7)throw new RangeError("Mask value out of range");for(let t=0;t5&&e++):(this.finderPenaltyAddHistory(a,s),r||(e+=this.finderPenaltyCountPatterns(s)*t.PENALTY_N3),r=this.modules[n][o],a=1);e+=this.finderPenaltyTerminateAndCount(r,a,s)*t.PENALTY_N3}for(let n=0;n5&&e++):(this.finderPenaltyAddHistory(a,s),r||(e+=this.finderPenaltyCountPatterns(s)*t.PENALTY_N3),r=this.modules[o][n],a=1);e+=this.finderPenaltyTerminateAndCount(r,a,s)*t.PENALTY_N3}for(let n=0;ne+(t?1:0)),n);const r=this.size*this.size,a=Math.ceil(Math.abs(20*n-10*r)/r)-1;return s(0<=a&&a<=9),e+=a*t.PENALTY_N4,s(0<=e&&e<=2568888),e}getAlignmentPatternPositions(){if(1==this.version)return[];{const e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2));let n=[6];for(let r=this.size-7;n.lengtht.MAX_VERSION)throw new RangeError("Version number out of range");let n=(16*e+128)*e+64;if(e>=2){const t=Math.floor(e/7)+2;n-=(25*t-10)*t-55,e>=7&&(n-=36)}return s(208<=n&&n<=29648),n}static getNumDataCodewords(e,n){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[n.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw new RangeError("Degree out of range");let n=[];for(let t=0;t0));for(const a of e){const e=a^r.shift();r.push(0),n.forEach(((n,a)=>r[a]^=t.reedSolomonMultiply(n,e)))}return r}static reedSolomonMultiply(e,t){if(e>>>8!=0||t>>>8!=0)throw new RangeError("Byte out of range");let n=0;for(let r=7;r>=0;r--)n=n<<1^285*(n>>>7),n^=(t>>>r&1)*e;return s(n>>>8==0),n}finderPenaltyCountPatterns(e){const t=e[1];s(t<=3*this.size);const n=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(n&&e[0]>=4*t&&e[6]>=t?1:0)+(n&&e[6]>=4*t&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,n){return e&&(this.finderPenaltyAddHistory(t,n),t=0),t+=this.size,this.finderPenaltyAddHistory(t,n),this.finderPenaltyCountPatterns(n)}finderPenaltyAddHistory(e,t){0==t[0]&&(e+=this.size),t.pop(),t.unshift(e)}};let n=t;function r(e,t,n){if(t<0||t>31||e>>>t!=0)throw new RangeError("Value out of range");for(let r=t-1;r>=0;r--)n.push(e>>>r&1)}function a(e,t){return!!(e>>>t&1)}function s(e){if(!e)throw new Error("Assertion error")}n.MIN_VERSION=1,n.MAX_VERSION=40,n.PENALTY_N1=3,n.PENALTY_N2=3,n.PENALTY_N3=40,n.PENALTY_N4=10,n.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],n.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=n;const o=class{constructor(e,t,n){if(this.mode=e,this.numChars=t,this.bitData=n,t<0)throw new RangeError("Invalid argument");this.bitData=n.slice()}static makeBytes(e){let t=[];for(const n of e)r(n,8,t);return new o(o.Mode.BYTE,e.length,t)}static makeNumeric(e){if(!o.isNumeric(e))throw new RangeError("String contains non-numeric characters");let t=[];for(let n=0;n=1<{let t;(e=>{const t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}};let n=t;n.LOW=new t(0,1),n.MEDIUM=new t(1,0),n.QUARTILE=new t(2,3),n.HIGH=new t(3,2),e.Ecc=n})(t=e.QrCode||(e.QrCode={}))})(r||(r={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}};let n=t;n.NUMERIC=new t(1,[10,12,14]),n.ALPHANUMERIC=new t(2,[9,11,13]),n.BYTE=new t(4,[8,16,16]),n.KANJI=new t(8,[8,10,12]),n.ECI=new t(7,[0,0,0]),e.Mode=n})(t=e.QrSegment||(e.QrSegment={}))})(r||(r={}));var m=r,g={L:m.QrCode.Ecc.LOW,M:m.QrCode.Ecc.MEDIUM,Q:m.QrCode.Ecc.QUARTILE,H:m.QrCode.Ecc.HIGH},A=128,h="L",E="#FFFFFF",f="#000000",b=!1,v=4,C=.1;function k(e,t=0){const n=[];return e.forEach((function(e,r){let a=null;e.forEach((function(s,o){if(!s&&null!==a)return n.push(`M${a+t} ${r+t}h${o-a}v1H${a+t}z`),void(a=null);if(o!==e.length-1)s&&null===a&&(a=o);else{if(!s)return;null===a?n.push(`M${o+t},${r+t} h1v1H${o+t}z`):n.push(`M${a+t},${r+t} h${o+1-a}v1H${a+t}z`)}}))})),n.join("")}function y(e,t){return e.slice().map(((e,n)=>n=t.y+t.h?e:e.map(((e,n)=>(n=t.x+t.w)&&e))))}function B(e,t,n,r){if(null==r)return null;const a=n?v:0,s=e.length+2*a,o=Math.floor(t*C),i=s/t,c=(r.width||o)*i,l=(r.height||o)*i,u=null==r.x?e.length/2-c/2:r.x*i,d=null==r.y?e.length/2-l/2:r.y*i;let p=null;if(r.excavate){let e=Math.floor(u),t=Math.floor(d);p={x:e,y:t,w:Math.ceil(c+u-e),h:Math.ceil(l+d-t)}}return{x:u,y:d,h:l,w:c,excavation:p}}var w=function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}return!0}();function _(e){const t=e,{value:n,size:r=A,level:o=h,bgColor:i=E,fgColor:c=f,includeMargin:l=b,style:u,imageSettings:C}=t,_=p(t,["value","size","level","bgColor","fgColor","includeMargin","style","imageSettings"]),I=null==C?void 0:C.src,j=(0,a.useRef)(null),x=(0,a.useRef)(null),[S,Q]=(0,a.useState)(!1);(0,a.useEffect)((()=>{if(null!=j.current){const e=j.current,t=e.getContext("2d");if(!t)return;let a=m.QrCode.encodeText(n,g[o]).getModules();const s=l?v:0,u=a.length+2*s,d=B(a,r,l,C),p=x.current,A=null!=d&&null!==p&&p.complete&&0!==p.naturalHeight&&0!==p.naturalWidth;A&&null!=d.excavation&&(a=y(a,d.excavation));const h=window.devicePixelRatio||1;e.height=e.width=r*h;const E=r/u*h;t.scale(E,E),t.fillStyle=i,t.fillRect(0,0,u,u),t.fillStyle=c,w?t.fill(new Path2D(k(a,s))):a.forEach((function(e,n){e.forEach((function(e,r){e&&t.fillRect(r+s,n+s,1,1)}))})),A&&t.drawImage(p,d.x+s,d.y+s,d.w,d.h)}})),(0,a.useEffect)((()=>{Q(!1)}),[I]);const N=d({height:r,width:r},u);let R=null;return null!=I&&(R=s().createElement("img",{src:I,key:I,style:{display:"none"},onLoad:()=>{Q(!0)},ref:x})),s().createElement(s().Fragment,null,s().createElement("canvas",d({style:N,height:r,width:r,ref:j},_)),R)}function I(e){const t=e,{value:n,size:r=A,level:a=h,bgColor:o=E,fgColor:i=f,includeMargin:c=b,imageSettings:l}=t,u=p(t,["value","size","level","bgColor","fgColor","includeMargin","imageSettings"]);let C=m.QrCode.encodeText(n,g[a]).getModules();const w=c?v:0,_=C.length+2*w,I=B(C,r,c,l);let j=null;null!=l&&null!=I&&(null!=I.excavation&&(C=y(C,I.excavation)),j=s().createElement("image",{xlinkHref:l.src,height:I.h,width:I.w,x:I.x+w,y:I.y+w,preserveAspectRatio:"none"}));const x=k(C,w);return s().createElement("svg",d({height:r,width:r,viewBox:`0 0 ${_} ${_}`},u),s().createElement("path",{fill:o,d:`M0,0 h${_}v${_}H0z`,shapeRendering:"crispEdges"}),s().createElement("path",{fill:i,d:x,shapeRendering:"crispEdges"}),j)}var j=e=>{const t=e,{renderAs:n}=t,r=p(t,["renderAs"]);return"svg"===n?s().createElement(I,d({},r)):s().createElement(_,d({},r))}},24588:(e,t)=>{"use strict";var n=Object.prototype.hasOwnProperty;function r(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function a(e){try{return encodeURIComponent(e)}catch(e){return null}}t.stringify=function(e,t){t=t||"";var r,s,o=[];for(s in"string"!=typeof t&&(t="?"),e)if(n.call(e,s)){if((r=e[s])||null!=r&&!isNaN(r)||(r=""),s=a(s),r=a(r),null===s||null===r)continue;o.push(s+"="+r)}return o.length?t+o.join("&"):""},t.parse=function(e){for(var t,n=/([^=?#&]+)=?([^&]*)/g,a={};t=n.exec(e);){var s=r(t[1]),o=r(t[2]);null===s||null===o||s in a||(a[s]=o)}return a}},18950:(e,t,n)=>{"use strict";var r=n(75795);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},86212:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(51609),a=n(76221),s=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],_n=!0,r=!1,a=void 0;try{for(var s,o=e[Symbol.iterator]();!(_n=(s=o.next()).done)&&(n.push(s.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,a=e}finally{try{!_n&&o.return&&o.return()}finally{if(r)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=a.TT&&a.XD;const i=function(){var e=(0,a.Y9)(),t=s(e,1)[0],n=(0,r.useState)(t),i=s(n,2),c=i[0],l=i[1];return(0,r.useEffect)((function(){if(o){var e=function(){var e=(0,a.Y9)(),t=s(e,1)[0];l(t)};return document.addEventListener(a.XD.event,e),function(){document.removeEventListener(a.XD.event,e)}}}),[]),c}},76221:(e,t,n)=>{"use strict";n.d(t,{TT:()=>s,XD:()=>o,Y9:()=>i});var r="undefined"!=typeof document,a=[{hidden:"hidden",event:"visibilitychange",state:"visibilityState"},{hidden:"webkitHidden",event:"webkitvisibilitychange",state:"webkitVisibilityState"},{hidden:"mozHidden",event:"mozvisibilitychange",state:"mozVisibilityState"},{hidden:"msHidden",event:"msvisibilitychange",state:"msVisibilityState"},{hidden:"oHidden",event:"ovisibilitychange",state:"oVisibilityState"}],s=r&&Boolean(document.addEventListener),o=function(){if(!s)return null;var e=!0,t=!1,n=void 0;try{for(var r,o=a[Symbol.iterator]();!(e=(r=o.next()).done);e=!0){var i=r.value;if(i.hidden in document)return i}}catch(e){t=!0,n=e}finally{try{!e&&o.return&&o.return()}finally{if(t)throw n}}return null}(),i=function(){if(!o)return[!0,"visible"];var e=o.hidden,t=o.state;return[!document[e],document[t]]}},32047:e=>{"use strict";function t(e,n){var r;if(Array.isArray(n))for(r=0;r{"use strict";e.exports=function(e,t){if(t=t.split(":")[0],!(e=+e))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e}},94107:(e,t,n)=>{"use strict";n.d(t,{A:()=>B});var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n0},e.prototype.connect_=function(){a&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){a&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;i.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),k="undefined"!=typeof WeakMap?new WeakMap:new r,y=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=l.getInstance(),r=new C(t,n,this);k.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){y.prototype[e]=function(){var t;return(t=k.get(this))[e].apply(t,arguments)}}));const B=void 0!==s.ResizeObserver?s.ResizeObserver:y},11264:e=>{"use strict";var t=256,n=[],r=window,a=Math.pow(t,6),s=Math.pow(2,52),o=2*s,i=255,c=Math.random;function l(e){var n,r=e.length,a=this,s=0,o=a.i=a.j=0,c=a.S=[];for(r||(e=[r++]);s=o;)e/=2,n/=2,r>>>=1;return(e+r)/n}},e.exports.resetGlobal=function(){Math.random=c},d(Math.random(),n)},82682:(e,t,n)=>{"use strict";n.d(t,{o:()=>i,u:()=>o});var r=n(54715),a=n(2532),s=n(21644);function o(e,t){var n=e.toLowerCase();return 0===t?(0,s.R)(n):n}function i(e,t){return void 0===t&&(t={}),(0,a.W)(e,(0,r.Cl)({delimiter:" ",transform:o},t))}},68963:(e,t,n)=>{"use strict";n.d(t,{L:()=>s});var r=n(54715),a=n(19382);function s(e,t){return void 0===t&&(t={}),(0,a.a)(e,(0,r.Cl)({delimiter:"_"},t))}},48931:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(1455),a=n.n(r);const s="default"in a()?a().default:a()},87286:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(10067),a=n.n(r),s=n(53664);const o=a()("jetpack-ai-client:ask-question");async function i(e,{postId:t=null,fromCache:n=!1,feature:r,functions:a,model:i}={}){return o("Asking question: %o. options: %o",e,{postId:t,fromCache:n,feature:r,functions:a,model:i}),new s.A({question:e,options:{postId:t,feature:r,fromCache:n,functions:a,model:i}})}},31439:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(10067),a=n.n(r),s=n(51391);const o=a()("jetpack-ai-client:ask-question-sync");async function i(e,t={}){o("Asking question with no streaming: %o. options: %o",e,t);let n=null;try{n=(await(0,s.A)()).token}catch(e){return o("Error getting token: %o",e),Promise.reject(e)}const r={...Array.isArray(e)?{messages:e}:{question:e},...t,stream:!1},a={Authorization:`Bearer ${n}`,"Content-Type":"application/json"};try{const e=await fetch("https://public-api.wordpress.com/wpcom/v2/jetpack-ai-query",{method:"POST",headers:a,body:JSON.stringify(r)}).then((e=>e.json()));return e?.data?.status&&e?.data?.status>200?(o("Error generating prompt: %o",e),Promise.reject(e)):e.choices?.[0]?.message?.content}catch(e){return o("Error asking question: %o",e),Promise.reject(e)}}},57745:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(10067),a=n.n(r),s=n(51391);const o=a()("jetpack-ai-client:audio-transcription");async function i(e,t,n){o("Transcribing audio: %o. Feature: %o",e,t);let r="";try{r=(await(0,s.A)()).token}catch(e){return o("Error getting token: %o",e),Promise.reject(e)}const a=new FormData;a.append("audio_file",e);try{const e={Authorization:`Bearer ${r}`},s="https://public-api.wordpress.com/wpcom/v2/jetpack-ai-transcription"+(t?`?feature=${t}`:"");return fetch(s,{method:"POST",body:a,headers:e,signal:n??void 0}).then((e=>(o("Transcription response: %o",e),e.ok?e.json().then((e=>e?.text)):e.json().then((e=>Promise.reject(e))))))}catch(e){return o("Transcription error response: %o",e),Promise.reject(e)}}},70629:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(94715),a=n(13022),s=n(51609),o=n.n(s),i=n(6754);function c({className:e,disabled:t=!1,value:n="",placeholder:s="",isTransparent:c=!1,state:l="init",onChange:u,banner:d=null,error:p=null,actions:m=null,message:g=null,promptUserInputRef:A=null,wrapperRef:h=null}){return o().createElement("div",{className:(0,a.A)("jetpack-components-ai-control__container-wrapper",e),ref:h},p,o().createElement("div",{className:"jetpack-components-ai-control__container"},d,o().createElement("div",{className:(0,a.A)("jetpack-components-ai-control__wrapper",{"is-transparent":c})},o().createElement(i.A,{state:l}),o().createElement("div",{className:"jetpack-components-ai-control__input-wrapper"},o().createElement(r.PlainText,{value:n,onChange:u,placeholder:s,className:"jetpack-components-ai-control__input",disabled:t,ref:A})),m),g))}},71417:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var r=n(56427),a=n(29491),s=n(86087),o=n(27723),i=n(51113),c=n(31249),l=n(62510),u=n(76673),d=n(40502),p=n(83883),m=n(10067),g=n.n(m),A=n(51609),h=n.n(A),E=n(63098),f=n(70629);const __=o.__,b=g()("jetpack-ai-client:block-ai-control");function v({disabled:e=!1,value:t="",placeholder:n="",showAccept:o=!1,acceptLabel:m=__("Accept","jetpack"),showButtonLabels:g=!0,isTransparent:A=!1,state:v="init",showGuideLine:C=!1,customFooter:k=null,onChange:y,onSend:B,onStop:w,onAccept:_,onDiscard:I,showRemove:j=!1,banner:x=null,error:S=null},Q){const N="requesting"===v||"suggesting"===v,[R,T]=(0,s.useState)(!1),[P,L]=(0,s.useState)(t||null),M=(0,s.useRef)(null);(0,s.useImperativeHandle)(Q,(()=>M.current)),(0,s.useEffect)((()=>{R&&M?.current?.focus()}),[R]);const D=(0,s.useCallback)((()=>{L(t),T(!1),B?.(t)}),[t]),F=(0,s.useCallback)((e=>{y?.(e),"init"!==v&&T(P?e!==P:e.length>0)}),[P,v]),O=(0,s.useCallback)((()=>{I?.()}),[]),z=(0,s.useCallback)((()=>{b("cancelEdit, revert to last value",P),y?.(P||""),T(!1)}),[P]);(0,a.useKeyboardShortcut)("mod+enter",(()=>{o&&_?.()}),{target:M}),(0,a.useKeyboardShortcut)("enter",(e=>{e.preventDefault(),D()}),{target:M});const U=h().createElement(h().Fragment,null,(!o||R)&&h().createElement("div",{className:"jetpack-components-ai-control__controls-prompt_button_wrapper"},N?h().createElement(r.Button,{className:"jetpack-components-ai-control__controls-prompt_button",onClick:w,variant:"secondary",label:__("Stop request","jetpack")},g?__("Stop","jetpack"):h().createElement(i.A,{icon:c.A})):h().createElement(h().Fragment,null,R&&h().createElement(r.Button,{className:"jetpack-components-ai-control__controls-prompt_button",onClick:z,variant:"secondary",label:__("Cancel","jetpack")},g?__("Cancel","jetpack"):h().createElement(i.A,{icon:c.A})),j&&!R&&!t?.length&&I&&h().createElement(r.Button,{className:"jetpack-components-ai-control__controls-prompt_button",onClick:O,variant:"secondary",label:__("Cancel","jetpack")},g?__("Cancel","jetpack"):h().createElement(i.A,{icon:c.A})),t?.length>0&&h().createElement(r.Button,{className:"jetpack-components-ai-control__controls-prompt_button",onClick:D,variant:"primary",disabled:!t?.length||e,label:__("Send request","jetpack")},g?__("Generate","jetpack"):h().createElement(i.A,{icon:l.A})))),o&&!R&&h().createElement("div",{className:"jetpack-components-ai-control__controls-prompt_button_wrapper"},(t?.length>0||null===P)&&h().createElement(r.ButtonGroup,null,h().createElement(r.Button,{className:"jetpack-components-ai-control__controls-prompt_button",label:__("Discard","jetpack"),onClick:O,tooltipPosition:"top"},h().createElement(i.A,{icon:u.A})),h().createElement(r.Button,{className:"jetpack-components-ai-control__controls-prompt_button",label:__("Regenerate","jetpack"),onClick:()=>B?.(t),tooltipPosition:"top",disabled:!t?.length||null===t||e},h().createElement(i.A,{icon:d.A}))),h().createElement(r.Button,{className:"jetpack-components-ai-control__controls-prompt_button",onClick:_,variant:"primary",label:m},g?m:h().createElement(i.A,{icon:p.A})))),H=C&&!N&&!R&&(k||h().createElement(E.Yj,null));return h().createElement(f.A,{disabled:e||N,value:t,placeholder:n,isTransparent:A,state:v,onChange:F,banner:x,error:S,actions:U,message:H,promptUserInputRef:M})}const C=(0,A.forwardRef)(v)},61:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(56427),a=n(29491),s=n(86087),o=n(27723),i=n(51113),c=n(31249),l=n(62510),u=n(95789),d=n(51609),p=n.n(d),m=n(63098),g=n(70629);const __=o.__;function A({className:e,disabled:t=!1,value:n="",placeholder:o="",showButtonLabels:d=!0,isTransparent:A=!1,state:h="init",showGuideLine:E=!1,error:f,requestsRemaining:b,showUpgradeMessage:v=!1,showFairUsageMessage:C=!1,upgradeUrl:k,wrapperRef:y,onChange:B,onSend:w,onStop:_,onClose:I,onUndo:j,onUpgrade:x,onTryAgain:S},Q){const N="requesting"===h||"suggesting"===h,[R,T]=(0,s.useState)(!1),[P,L]=(0,s.useState)(n||null),M=(0,s.useRef)(null);(0,s.useImperativeHandle)(Q,(()=>M.current)),(0,s.useEffect)((()=>{R&&M?.current?.focus()}),[R]);const D=(0,s.useCallback)((()=>{L(n),T(!1),w?.(n)}),[w,n]),F=(0,s.useCallback)((e=>{B?.(e),"init"!==h&&T(P?e!==P:e.length>0)}),[B,P,h]),O=(0,s.useCallback)((()=>{_?.()}),[_]),z=(0,s.useCallback)((()=>{I?.()}),[I]),U=(0,s.useCallback)((()=>{j?.()}),[j]),H=(0,s.useCallback)((e=>{x?.(e)}),[x]),V=(0,s.useCallback)((()=>{S?.()}),[S]);(0,a.useKeyboardShortcut)("enter",(e=>{e.preventDefault(),D()}),{target:M});const q=p().createElement(p().Fragment,null,N?p().createElement(r.Button,{className:"jetpack-components-ai-control__controls-prompt_button",onClick:O,variant:"secondary",label:__("Stop request","jetpack")},d?__("Stop","jetpack"):p().createElement(i.A,{icon:c.A})):p().createElement(p().Fragment,null,n?.length>0&&p().createElement("div",{className:"jetpack-components-ai-control__controls-prompt_button_wrapper"},p().createElement(r.Button,{className:"jetpack-components-ai-control__controls-prompt_button",onClick:D,variant:"primary",disabled:!n?.length||t,label:__("Send request","jetpack")},d?__("Generate","jetpack"):p().createElement(i.A,{icon:l.A}))),n?.length<=0&&"done"===h&&p().createElement("div",{className:"jetpack-components-ai-control__controls-prompt_button_wrapper"},p().createElement(r.ButtonGroup,null,p().createElement(r.Button,{className:"jetpack-components-ai-control__controls-prompt_button",label:__("Undo","jetpack"),onClick:U,tooltipPosition:"top"},p().createElement(i.A,{icon:u.A})),p().createElement(r.Button,{className:"jetpack-components-ai-control__controls-prompt_button",label:__("Close","jetpack"),onClick:z,variant:"tertiary"},__("Close","jetpack"))))));let G=null;return f?.message?G=p().createElement(m.Kw,{error:f.message,code:f.code,onTryAgainClick:V,onUpgradeClick:H,upgradeUrl:k}):C?G=p().createElement(m.k9,null):v?G=p().createElement(m.AK,{requestsRemaining:b,onUpgradeClick:H,upgradeUrl:k}):E&&(G=p().createElement(m.Yj,null)),p().createElement(g.A,{className:e,disabled:t||N,value:n,placeholder:o,isTransparent:A,state:h,onChange:F,actions:q,message:G,promptUserInputRef:M,wrapperRef:y})}const h=(0,d.forwardRef)(A)},42299:(e,t,n)=>{"use strict";n.d(t,{FC:()=>a.A,N0:()=>r.A});n(70629);var r=n(71417),a=n(61)},6754:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(56427),a=n(13022);function s({state:e}){return React.createElement("div",{className:(0,a.A)("jetpack-ai-status-indicator__icon-wrapper",{[`is-${e}`]:!0})},React.createElement(r.Spinner,null))}},68203:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(32569);function a({duration:e,className:t}){return React.createElement("span",{className:t},(0,r.f)(e,{addDecimalPart:!1}))}},32569:(e,t,n)=>{"use strict";function r(e,{addDecimalPart:t=!1,showMinutes:n=!0,showHours:r=!1}={}){const a=Math.floor(e/36e5),s=Math.floor(e/6e4)%60,o=Math.floor(e/1e3)%60,i=Math.floor(e/10)%100,c=[a>0||r?a.toString().padStart(2,"0")+":":"",a>0||s>0||n?s.toString().padStart(2,"0")+":":"",o.toString().padStart(2,"0")];return t&&c.push("."+i.toString().padStart(2,"0")),c.join("")}n.d(t,{f:()=>r})},27802:(e,t,n)=>{"use strict";n.d(t,{AK:()=>o.AK,FC:()=>r.FC,N0:()=>r.N0,Yj:()=>o.Yj,wS:()=>a.A,z3:()=>s.A});var r=n(42299),a=n(6754),s=n(68203),o=n(63098)},63098:(e,t,n)=>{"use strict";n.d(t,{AK:()=>v,Kw:()=>C,Yj:()=>f,k9:()=>b});var r=n(56427),a=n(86087),s=n(27723),o=n(83883),i=n(51113),c=n(71797),l=n(13022),u=n(42154),d=n(78836);const __=s.__,p="warning",m="error",g="success",A="info",h={[A]:null,[p]:null,[m]:u.A,[g]:o.A};function E({severity:e=A,icon:t=null,showSidebarIcon:n=!1,onSidebarIconClick:a=()=>{},children:s}){return React.createElement("div",{className:(0,l.A)("jetpack-ai-assistant__message",`jetpack-ai-assistant__message-severity-${e}`)},(h[e]||t)&&React.createElement(i.A,{icon:h[e]||t}),React.createElement("div",{className:"jetpack-ai-assistant__message-content"},s),n&&React.createElement(r.Button,{className:"jetpack-ai-assistant__message-sidebar",onClick:a},React.createElement(i.A,{size:20,icon:c.A})))}function f(){return React.createElement(E,null,React.createElement("span",null,__("AI-generated content could be inaccurate or biased.","jetpack")),React.createElement(r.ExternalLink,{href:"https://automattic.com/ai-guidelines"},__("Learn more","jetpack")))}function b(){const e=__("You've reached this month's request limit, per our fair usage policy","jetpack"),t=(0,a.createInterpolateElement)(e,{link:React.createElement(r.ExternalLink,{href:"https://jetpack.com/redirect/?source=ai-assistant-fair-usage-policy"})});return React.createElement(E,{severity:p},t)}function v({requestsRemaining:e,severity:t,onUpgradeClick:n,upgradeUrl:a}){let o=t;return null==o&&(o=e>0?A:p),React.createElement(E,{severity:o},React.createElement("span",null,(0,s.sprintf)( // translators: %1$d: number of requests remaining -__("You have %1$d requests remaining.","jetpack"),e)),React.createElement(a.Button,{variant:"link",onClick:n,href:s,target:s?"_blank":null},__("Upgrade now","jetpack")))}function b({error:e,code:t,onTryAgainClick:n,onUpgradeClick:s,upgradeUrl:o}){const i=e||__("Something went wrong","jetpack");return React.createElement(h,{severity:p},React.createElement("span",null,(0,r.sprintf)( +__("You have %1$d requests remaining.","jetpack"),e)),React.createElement(r.Button,{variant:"link",onClick:n,href:a,target:a?"_blank":null},__("Upgrade now","jetpack")))}function C({error:e,code:t,onTryAgainClick:n,onUpgradeClick:a,upgradeUrl:o}){const i=e||__("Something went wrong","jetpack");return React.createElement(E,{severity:m},React.createElement("span",null,(0,s.sprintf)( // translators: %1$d: A dynamic error message -__("Error: %1$s","jetpack"),i)),t===u.$L?React.createElement(a.Button,{variant:"link",onClick:s,href:o,target:o?"_blank":null},__("Upgrade now","jetpack")):React.createElement(a.Button,{variant:"link",onClick:n},__("Try again","jetpack")))}},62282:(e,t,n)=>{"use strict";n.d(t,{h:()=>o,u:()=>s});var a=n(99196),r=n.n(a);const s=(0,a.createContext)({}),o=({value:e,children:t})=>r().createElement(s.Provider,{value:e,children:t})},20281:(e,t,n)=>{"use strict";n.d(t,{X_:()=>s.Z,hE:()=>a.h,oN:()=>r.Z,uE:()=>a.u});var a=n(62282),r=n(3669),s=n(79466)},79466:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(99196),r=n(16700),s=n(20281);function o({onDone:e,onSuggestion:t,onError:n}={}){const o=(0,a.useContext)(s.uE),{eventSource:i}=o,c=(0,a.useCallback)((t=>e?.(t?.detail)),[e]),l=(0,a.useCallback)((e=>t?.(e?.detail)),[t]),u=(0,a.useCallback)((e=>{n?.(e?.detail)}),[]);return(0,a.useEffect)((()=>{if(i)return e&&i.addEventListener("done",c),t&&i.addEventListener("suggestion",l),n&&i.addEventListener(r.vF,u),()=>{i.removeEventListener("done",c),i.removeEventListener("suggestion",l),i.removeEventListener(r.vF,u)}}),[i]),o}},3669:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var a=n(94333),r=n(69307),s=n(99196),o=n.n(s),i=n(42194),c=n(20281);const l=(0,a.createHigherOrderComponent)((e=>t=>{const{suggestion:n,error:a,requestingState:s,request:l,stopSuggestion:u,eventSource:d}=(0,i.ZP)(),p=(0,r.useMemo)((()=>({suggestion:n,requestingError:a,requestingState:s,eventSource:d,requestSuggestion:l,stopSuggestion:u})),[n,a,s,d,l,u]);return o().createElement(c.hE,{value:p},o().createElement(e,t))}),"withAiDataProvider")},42194:(e,t,n)=>{"use strict";n.d(t,{AB:()=>i,ZP:()=>l});var a=n(69307),r=n(65736),s=n(67742),o=n(16700);const __=r.__;function i(e){switch(e){case o.$L:return{code:o.$L,message:__("You have reached the limit of requests for this site.","jetpack"),severity:"info"};case o.bC:return{code:o.bC,message:__("Your request was unclear. Mind trying again?","jetpack"),severity:"info"};case o.$u:return{code:o.$u,message:__("Jetpack AI services are currently unavailable. Sorry for the inconvenience.","jetpack"),severity:"info"};case o.q4:return{code:o.q4,message:__("This request has been flagged by our moderation system. Please try to rephrase it and try again.","jetpack"),severity:"info"};case o.cv:return{code:o.cv,message:__("The content is too large to be processed all at once. Please try to shorten it or divide it into smaller parts.","jetpack"),severity:"info"};case o.co:default:return{code:o.co,message:__("It was not possible to process your request. Mind trying again?","jetpack"),severity:"info"}}}function c(e){return e.replace(/^<\|start_header_id\|>assistant<\|end_header_id\|>[\n]+/,"")}function l({prompt:e,autoRequest:t=!1,askQuestionOptions:n={},initialRequestingState:r="init",onSuggestion:l,onDone:u,onStop:d,onError:p,onAllErrors:m}={}){const[g,A]=(0,a.useState)(r),[h,E]=(0,a.useState)(""),[f,b]=(0,a.useState)(),v=(0,a.useRef)(void 0),C=(0,a.useCallback)((e=>{const t=c(e?.detail);t&&(E(t),l?.(t))}),[l]),k=(0,a.useCallback)((e=>{N();const t=c(e?.detail);u?.(t),A("done")}),[u]),y=(0,a.useCallback)((e=>{m?.(e?.detail)}),[m]),B=(0,a.useCallback)((e=>{v?.current?.close(),A("error"),b(i(e)),p?.(i(e))}),[p]),w=(0,a.useCallback)((()=>B(o.$L)),[]),_=(0,a.useCallback)((()=>B(o.bC)),[]),I=(0,a.useCallback)((()=>B(o.$u)),[]),j=(0,a.useCallback)((()=>B(o.q4)),[]),x=(0,a.useCallback)((()=>B(o.co)),[]),S=(0,a.useCallback)((async(e,t={...n})=>{if(b(void 0),A("requesting"),v.current=await(0,s.Z)(e,t),!v?.current)return;const a=v.current;A("suggesting"),a.addEventListener("suggestion",C),a.addEventListener(o.$L,w),a.addEventListener(o.bC,_),a.addEventListener(o.$u,I),a.addEventListener(o.q4,j),a.addEventListener(o.co,x),a.addEventListener(o.vF,y),a.addEventListener("done",k)}),[k,w,_,I,j,x,C]),Q=(0,a.useCallback)((()=>{A("init"),E(""),b(void 0)}),[]),N=(0,a.useCallback)((()=>{if(!v?.current)return;const e=v?.current;e.close(),e.removeEventListener("suggestion",C),e.removeEventListener(o.$L,w),e.removeEventListener(o.bC,_),e.removeEventListener(o.$u,I),e.removeEventListener(o.q4,j),e.removeEventListener(o.co,x),e.removeEventListener("done",k)}),[v,C,w,_,I,j,x,k]),R=(0,a.useCallback)((()=>{N(),d?.(),A("done")}),[d]);return(0,a.useEffect)((()=>{if(e?.length)return t&&S(e,n),()=>{R()}}),[t,e,S,R]),{suggestion:h,error:f,requestingState:g,request:S,stopSuggestion:R,reset:Q,handleErrorQuotaExceededError:w,eventSource:v.current}}},93509:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(69307),r=n(65736),s=n(51128),o=n.n(s),i=n(46961);const __=r.__,c=o()("jetpack-ai-client:use-audio-transcription"),l=e=>{if("string"==typeof e)return e;if("code"in e)switch(e.code){case"error_quota_exceeded":return __("You exceeded your current quota, please check your plan details.","jetpack");case"jetpack_ai_missing_audio_param":return __("The audio_file is required to perform a transcription.","jetpack");case"jetpack_ai_service_unavailable":return __("The Jetpack AI service is temporarily unavailable.","jetpack");case"file_size_not_supported":return __("The provided audio file is too big.","jetpack");case"file_type_not_supported":return __("The provided audio file type is not supported.","jetpack");case"jetpack_ai_error":return __("There was an error processing the transcription request.","jetpack");default:return e.message}return"message"in e?e.message:__("There was an error processing the transcription request.","jetpack")};function u({feature:e,onReady:t,onError:n}){const[r,s]=(0,a.useState)(""),[o,u]=(0,a.useState)(""),[d,p]=(0,a.useState)(!1),m=(0,a.useRef)(null);return{transcriptionResult:r,isTranscribingAudio:d,transcriptionError:o,transcribeAudio:(0,a.useCallback)((a=>{c("Transcribing audio"),s(""),u(""),p(!0);const r=new AbortController;m.current=r,(0,i.Z)(a,e,r.signal).then((e=>{s(e),t?.(e)})).catch((e=>{r.signal.aborted||(u(e.message),n?.(l(e)))})).finally((()=>p(!1)))}),[i.Z,s,u,p]),cancelTranscription:(0,a.useCallback)((()=>{m.current?.abort(),s(""),u(""),p(!1)}),[m,s,u,p])}}},92718:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(69307),r=n(65736);const __=r.__,s=25e6,o=1500,i=["audio/mpeg","audio/mp3","audio/ogg","audio/flac","audio/x-flac","audio/m4a","audio/x-m4a","audio/mp4","audio/wav","audio/wave","audio/x-wav","audio/webm"];function c(){const[e,t]=(0,a.useState)(!1);return{isValidatingAudio:e,validateAudio:(0,a.useCallback)(((e,n,a)=>{if(t(!0),e?.size>s)return t(!1),a(__("The audio file is too large. The maximum file size is 25MB.","jetpack"));const r=e instanceof File;if(r&&!i.includes(e.type))return t(!1),a(__("The audio file type is not supported. Please use a supported audio file type.","jetpack"));const c=new AudioContext;e.arrayBuffer().then((s=>{c.decodeAudioData(s,(function(s){const i=Math.ceil(s.duration);return i>o?(t(!1),a(__("The audio file is too long. The maximum recording time is 25 minutes.","jetpack"))):(t(!1),n({duration:i,isFile:r,size:e?.size}))}))}))}),[t])}}},70286:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(51128),r=n.n(a),s=n(78982),o=n(2890);const i=r()("ai-client:use-image-generator"),c=(e,t)=>{const n=4e3-t;return e.length>n?e.substring(0,n-6)+" [...]":e},l=async(e,t,n)=>{const a=((e,t)=>{if(t){const n=`I need a Stable Diffusion prompt to generate a featured image for a blog post based on this user-provided image description:\n\n${t.length>1e3?t.substring(0,1e3):t}\n\nThe image should be a photo. Make sure you highlight the main suject of the image description, and include brief details about the light and style of the image.\nInclude a request to use high resolution and produce a highly detailed image, with sharp focus.\nReturn just the prompt, without comments.\n\nFor additional context, this is the post content:\n\n`;return n+c(e,n.length)}return"I need a Stable Diffusion prompt to generate a featured image for a blog post with the following content.\nThe image should be a photo. Make sure you highlight the main suject of the content, and include brief details about the light and style of the image.\nInclude a request to use high resolution and produce a highly detailed image, with sharp focus.\nReturn just the prompt, without comments. The content is:\n\n"+c(e,412)})(e,t);return await(0,s.Z)(a,{feature:n})},u=()=>{const e=async function(e){let t="";try{t=(await(0,o.Z)()).token}catch(e){return i("Error getting token: %o",e),Promise.reject(e)}try{const n="https://public-api.wordpress.com/wpcom/v2/jetpack-ai-image",a={Authorization:`Bearer ${t}`,"Content-Type":"application/json"},r=await fetch(n,{method:"POST",headers:a,body:JSON.stringify(e)}).then((e=>e.json()));return r?.data?.status&&r?.data?.status>200?(i("Error generating image: %o",r),Promise.reject(r)):r}catch(e){return i("Error generating image: %o",e),Promise.reject(e)}};return{generateImage:async function({feature:t,postContent:n,responseFormat:a="url",userPrompt:r}){try{i("Generating image");const s=((e,t)=>{if(t){const n=`I need a cover image for a blog post based on this user prompt:\n\n${t.length>1e3?t.substring(0,1e3):t}\n\nBefore creating the image, identify the main topic of the user prompt and relate it to the post content.\nDo not represent the whole content in one image, keep it simple and just represent one single idea.\nDo not add details, detailed explanations or highlights from the content, just represent the main idea as if it was a photograph.\nDo not use collages or compositions with multiple elements or scenes. Stick to one single scene. Do not compose unrealistic scenes.\nIf the content describes facts, objects or concepts from the real world, represent them on a realistic style and do not make unreal compositions.\nIf the content is more abstract, use a more abstract style to represent the main idea.\nMake sure the light and the style are visually appealing.\nDo not add text to the image.\n\nFor additional context, this is the post content:\n\n`;return n+c(e,n.length)}const n="I need a cover image for a blog post.\nBefore creating the image, identify the main topic of the content and only represent it.\nDo not represent the whole content in one image, keep it simple and just represent one single idea.\nDo not add details, detailed explanations or highlights from the content, just represent the main idea as if it was a photograph.\nDo not use collages or compositions with multiple elements or scenes. Stick to one single scene. Do not compose unrealistic scenes.\nIf the content describes facts, objects or concepts from the real world, represent them on a realistic style and do not make unreal compositions.\nIf the content is more abstract, use a more abstract style to represent the main idea.\nMake sure the light and the style are visually appealing.\nDo not add text to the image.\n\nThis is the post content:\n\n";return n+c(e,838)})(n,r),o={prompt:s,response_format:a,feature:t,size:"1792x1024"};return await e(o)}catch(e){return i("Error generating image: %o",e),Promise.reject(e)}},generateImageWithStableDiffusion:async function({feature:t,postContent:n,userPrompt:a}){try{i("Generating image with Stable Diffusion");const r={prompt:await l(n,a,t),feature:t,model:"stable-diffusion",style:"photographic"};return await e(r)}catch(e){return i("Error generating image: %o",e),Promise.reject(e)}},generateImageWithParameters:e}}},13109:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(69307);const r="audio/mp4;codecs=mp4a",s="audio/mp4",o="audio/webm";function i({onDone:e}={}){const t=(0,a.useRef)(null),[n,i]=(0,a.useState)("inactive"),c=(0,a.useRef)(!1),l=(0,a.useRef)(0),[u,d]=(0,a.useState)(0),p=(0,a.useRef)(null),[m,g]=(0,a.useState)(null),A=(0,a.useRef)([]).current,[h,E]=(0,a.useState)(null),f=(0,a.useRef)(null);function b(){return MediaRecorder.isTypeSupported(r)?new Blob(A,{type:s}):new Blob(A,{type:o})}const v=(0,a.useCallback)((e=>{if(B(),!e)return t?.current?.start();e<100&&(e=100),l.current=Date.now(),t?.current?.start(e)}),[]),C=(0,a.useCallback)((()=>{c.current=!0,t?.current?.pause(),d((e=>e+Date.now()-l.current))}),[]),k=(0,a.useCallback)((()=>{c.current=!1,t?.current?.resume(),l.current=Date.now()}),[]),y=(0,a.useCallback)((()=>{t?.current?.stop(),"recording"===n&&d((e=>e+Date.now()-l.current))}),[]),B=(0,a.useCallback)((()=>{A.length=0,g(null),E(null),d(0),c.current=!1,l.current=0}),[]),w=(0,a.useCallback)((()=>{t?.current&&(t.current.removeEventListener("start",j),t.current.removeEventListener("stop",x),t.current.removeEventListener("pause",S),t.current.removeEventListener("resume",Q),t.current.removeEventListener("dataavailable",N),t.current=null)}),[]),_=(0,a.useCallback)((()=>{if(i("inactive"),B(),w(),!navigator.mediaDevices?.getUserMedia)return;const e=new AudioContext;f.current=e.createAnalyser();navigator.mediaDevices.getUserMedia({audio:!0}).then((n=>{p.current=n;e.createMediaStreamSource(n).connect(f.current),MediaRecorder.isTypeSupported(r)?t.current=new MediaRecorder(n,{mimeType:r}):t.current=new MediaRecorder(n,{mimeType:o}),t.current.addEventListener("start",j),t.current.addEventListener("stop",x),t.current.addEventListener("pause",S),t.current.addEventListener("resume",Q),t.current.addEventListener("dataavailable",N)})).catch((e=>{throw e}))}),[]),I=(0,a.useCallback)((e=>{y(),E("string"==typeof e?e:e.message),i("error")}),[]);function j(){i("recording")}function x(){const t=b();e?.(t),A.length=0}function S(){i("paused")}function Q(){i("recording")}function N(e){const{data:t}=e;t?.size&&(A.push(t),g(b()),c.current||d((e=>{const t=Date.now(),n=t-l.current;return l.current=t,e+n})))}return(0,a.useEffect)((()=>(_(),()=>{p.current&&p.current.getTracks().forEach((e=>e.stop())),w()})),[]),{state:n,blob:m,error:h,duration:u,analyser:f.current,onError:I,controls:{start:v,pause:C,resume:k,stop:y,reset:_}}}},51464:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(11313),r=n(9818),s=n(69307),o=n(51128);const i=n.n(o)()("ai-client:save-to-media-library");function c(){const[e,t]=(0,s.useState)(!1),{getSettings:n}=(0,r.useSelect)((e=>e("core/block-editor")),[]);return{isLoading:e,saveToMediaLibrary:(e,r)=>{const s=n();return new Promise(((n,o)=>{t(!0),i("Fetching image from URL"),fetch(e).then((e=>{i("Transforming response to blob"),e.blob().then((e=>{i("Uploading blob to media library");const c=Array();r?c.push(new File([e],r)):c.push(e),s.mediaUpload({allowedTypes:["image"],filesList:c,onFileChange([e]){(0,a.isBlobURL)(e?.url)||(e&&(i("Image uploaded to media library",e),n(e)),t(!1))},onError(e){i("Error uploading image to media library:",e),o(e),t(!1)}})})).catch((e=>{i("Error transforming response to blob:",e?.message),o(e?.message),t(!1)}))})).catch((e=>{i("Error fetching image from URL:",e?.message),o(e?.message),t(!1)}))}))}}}},44696:(e,t,n)=>{"use strict";n.d(t,{Y:()=>c,Z:()=>l});var a=n(69307),r=n(51128),s=n.n(r),o=n(42194);const i=s()("jetpack-ai-client:use-transcription-post-processing"),c="voice-to-content-simple-draft";function l({feature:e,onReady:t,onError:n,onUpdate:r}){const[s,c]=(0,a.useState)(""),[l,u]=(0,a.useState)(""),[d,p]=(0,a.useState)(!1),m=(0,a.useCallback)((e=>{c(e),r?.(e)}),[c,r]),g=(0,a.useCallback)((e=>{c(e),r?.(e),t?.(e)}),[c,r,t]),A=(0,a.useCallback)((e=>{u(e.message),n?.(e.message)}),[u,n]),{request:h,stopSuggestion:E}=(0,o.ZP)({onSuggestion:m,onDone:g,onError:A});return{postProcessingResult:s,isProcessingTranscription:d,postProcessingError:l,processTranscription:(0,a.useCallback)(((t,n)=>{i("Post-processing transcription"),c(""),u(""),p(!0);h([{role:"jetpack-ai",context:{type:t,content:n}}],{feature:e})}),[c,u,p,h,e]),cancelTranscriptionProcessing:(0,a.useCallback)((()=>{E(),p(!1)}),[E,p])}}},61317:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(55609),r=n(99196),s=n.n(r);const o=s().createElement(a.SVG,{viewBox:"0 0 32 32",width:"32",height:"32",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"ai-assistant-icon"},s().createElement(a.Path,{className:"spark-first",d:"M9.33301 5.33325L10.4644 8.20188L13.333 9.33325L10.4644 10.4646L9.33301 13.3333L8.20164 10.4646L5.33301 9.33325L8.20164 8.20188L9.33301 5.33325Z"}),s().createElement(a.Path,{className:"spark-second",d:"M21.3333 5.33333L22.8418 9.15817L26.6667 10.6667L22.8418 12.1752L21.3333 16L19.8248 12.1752L16 10.6667L19.8248 9.15817L21.3333 5.33333Z"}),s().createElement(a.Path,{className:"spark-third",d:"M14.6667 13.3333L16.5523 18.1144L21.3333 20L16.5523 21.8856L14.6667 26.6667L12.781 21.8856L8 20L12.781 18.1144L14.6667 13.3333Z"}))},83585:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(55609);const r=React.createElement(a.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement(a.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M10 3.95833C6.66328 3.95833 3.95833 6.66327 3.95833 9.99999C3.95833 13.3367 6.66328 16.0417 10 16.0417C13.3367 16.0417 16.0417 13.3367 16.0417 9.99999C16.0417 6.66327 13.3367 3.95833 10 3.95833ZM2.70833 9.99999C2.70833 5.97292 5.97292 2.70833 10 2.70833C14.0271 2.70833 17.2917 5.97292 17.2917 9.99999C17.2917 14.0271 14.0271 17.2917 10 17.2917C5.97292 17.2917 2.70833 14.0271 2.70833 9.99999Z"}),React.createElement(a.Path,{d:"M10.8333 5.83333H9.16667V10.8333H10.8333V5.83333Z"}),React.createElement(a.Path,{d:"M10.8333 12.5H9.16667V14.1667H10.8333V12.5Z"}))},59822:(e,t,n)=>{"use strict";n.d(t,{Qf:()=>r.Z,Qr:()=>s.Z,u_:()=>a.Z,v_:()=>o.Z});var a=n(61317),r=n(81204),s=(n(4454),n(71893),n(52887),n(96083)),o=n(50500)},81204:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(55609),r=n(99196),s=n.n(r);const o=s().createElement(a.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/SVG"},s().createElement(a.Path,{d:"M12 4.75C11.0479 4.75 10.1052 4.93753 9.22554 5.30187C8.34593 5.66622 7.5467 6.20025 6.87348 6.87348C6.20025 7.5467 5.66622 8.34593 5.30187 9.22554C4.93753 10.1052 4.75 11.0479 4.75 12C4.75 12.9521 4.93753 13.8948 5.30187 14.7745C5.66622 15.6541 6.20025 16.4533 6.87348 17.1265C7.5467 17.7997 8.34593 18.3338 9.22554 18.6981C10.1052 19.0625 11.0479 19.25 12 19.25C13.9228 19.25 15.7669 18.4862 17.1265 17.1265C18.4862 15.7669 19.25 13.9228 19.25 12C19.25 10.0772 18.4862 8.23312 17.1265 6.87348C15.7669 5.51384 13.9228 4.75 12 4.75ZM3.25 12C3.25 9.67936 4.17187 7.45376 5.81282 5.81282C7.45376 4.17187 9.67936 3.25 12 3.25C14.3206 3.25 16.5462 4.17187 18.1872 5.81282C19.8281 7.45376 20.75 9.67936 20.75 12C20.75 14.3206 19.8281 16.5462 18.1872 18.1872C16.5462 19.8281 14.3206 20.75 12 20.75C9.67936 20.75 7.45376 19.8281 5.81282 18.1872C4.17187 16.5462 3.25 14.3206 3.25 12Z",fill:"#008710"}),s().createElement(a.Rect,{x:"10.5",y:"8.25",width:"3",height:"4.875",rx:"1.5",fill:"#008710"}),s().createElement(a.Path,{d:"M15 11.25C15 11.644 14.9224 12.0341 14.7716 12.3981C14.6209 12.762 14.3999 13.0927 14.1213 13.3713C13.8427 13.6499 13.512 13.8709 13.1481 14.0216C12.7841 14.1724 12.394 14.25 12 14.25C11.606 14.25 11.2159 14.1724 10.8519 14.0216C10.488 13.8709 10.1573 13.6499 9.87868 13.3713C9.6001 13.0927 9.37913 12.762 9.22836 12.3981C9.0776 12.0341 9 11.644 9 11.25",stroke:"#008710",strokeWidth:"1.125",strokeLinecap:"round"}),s().createElement(a.Path,{d:"M11.4375 15.75C11.4375 16.0607 11.6893 16.3125 12 16.3125C12.3107 16.3125 12.5625 16.0607 12.5625 15.75L11.4375 15.75ZM11.4375 14.25L11.4375 15.75L12.5625 15.75L12.5625 14.25L11.4375 14.25Z",fill:"#008710"}))},4454:(e,t,n)=>{"use strict";var a=n(55609),r=n(99196),s=n.n(r);a.SVG,a.Path,a.Path},96083:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(55609),r=n(99196),s=n.n(r);const o=s().createElement(a.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/SVG"},s().createElement(a.Path,{d:"M12 4.75C11.0479 4.75 10.1052 4.93753 9.22554 5.30187C8.34593 5.66622 7.5467 6.20025 6.87348 6.87348C6.20025 7.5467 5.66622 8.34593 5.30187 9.22554C4.93753 10.1052 4.75 11.0479 4.75 12C4.75 12.9521 4.93753 13.8948 5.30187 14.7745C5.66622 15.6541 6.20025 16.4533 6.87348 17.1265C7.5467 17.7997 8.34593 18.3338 9.22554 18.6981C10.1052 19.0625 11.0479 19.25 12 19.25C13.9228 19.25 15.7669 18.4862 17.1265 17.1265C18.4862 15.7669 19.25 13.9228 19.25 12C19.25 10.0772 18.4862 8.23312 17.1265 6.87348C15.7669 5.51384 13.9228 4.75 12 4.75ZM3.25 12C3.25 9.67936 4.17187 7.45376 5.81282 5.81282C7.45376 4.17187 9.67936 3.25 12 3.25C14.3206 3.25 16.5462 4.17187 18.1872 5.81282C19.8281 7.45376 20.75 9.67936 20.75 12C20.75 14.3206 19.8281 16.5462 18.1872 18.1872C16.5462 19.8281 14.3206 20.75 12 20.75C9.67936 20.75 7.45376 19.8281 5.81282 18.1872C4.17187 16.5462 3.25 14.3206 3.25 12Z",fill:"#008710"}),s().createElement(a.Rect,{x:"12.75",y:"9",width:"2.25",height:"6",fill:"#008710"}),s().createElement(a.Rect,{x:"9",y:"9",width:"2.25",height:"6",fill:"#008710"}))},71893:(e,t,n)=>{"use strict";var a=n(55609),r=n(99196),s=n.n(r);a.SVG,a.Path,a.Path},52887:(e,t,n)=>{"use strict";var a=n(55609),r=n(99196),s=n.n(r);a.SVG,a.Path,a.Rect},50500:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(55609),r=n(99196),s=n.n(r);const o=s().createElement(a.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s().createElement(a.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 10C12.5 11.3807 11.3807 12.5 10 12.5C8.61929 12.5 7.5 11.3807 7.5 10C7.5 8.61929 8.61929 7.5 10 7.5C11.3807 7.5 12.5 8.61929 12.5 10ZM14 10C14 12.2091 12.2091 14 10 14C7.79086 14 6 12.2091 6 10C6 7.79086 7.79086 6 10 6C12.2091 6 14 7.79086 14 10ZM16.75 21V19C16.75 17.4812 15.5188 16.25 14 16.25L6 16.25C4.48122 16.25 3.25 17.4812 3.25 19V21H4.75L4.75 19C4.75 18.3096 5.30964 17.75 6 17.75L14 17.75C14.6904 17.75 15.25 18.3096 15.25 19V21H16.75Z",fill:"currentColor"}),s().createElement(a.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M19.976 16.3599C21.2507 14.5642 22.0001 12.3695 22.0001 9.99969C22.0001 7.63128 21.2515 5.43769 19.9782 3.64258L18.754 4.50967C19.8537 6.05996 20.5001 7.95434 20.5001 9.99969C20.5001 12.0464 19.8528 13.9419 18.7519 15.4928L19.976 16.3599ZM17.3357 14.4897C18.2357 13.222 18.7648 11.6727 18.7648 9.99969C18.7648 8.32808 18.2365 6.77984 17.3379 5.51279L16.1137 6.37988C16.8387 7.4021 17.2648 8.65114 17.2648 9.99969C17.2648 11.3496 16.8378 12.5998 16.1116 13.6226L17.3357 14.4897Z",fill:"currentColor"}))},42290:(e,t,n)=>{"use strict";n.d(t,{$L:()=>m.$L,$u:()=>m.$u,C3:()=>d.C3,Eo:()=>d.Eo,JP:()=>g.JP,L$:()=>c.Z,LB:()=>g.LB,MW:()=>d.MW,OS:()=>i.Z,Qf:()=>u.Qf,Qr:()=>u.Qr,Rc:()=>a.Z,Wq:()=>l.Z,X_:()=>p.X_,Y:()=>m.Y,ZK:()=>d.ZK,_T:()=>s.Z,bC:()=>m.bC,c$:()=>A.c,cH:()=>o.Z,co:()=>m.co,cv:()=>m.cv,g:()=>g.g,oN:()=>p.oN,pw:()=>r.ZP,q4:()=>m.q4,rp:()=>d.rp,u_:()=>u.u_,v_:()=>u.v_,xI:()=>g.xI,xi:()=>d.xi});n(2890),n(56694),n(67742);var a=n(78982),r=(n(46961),n(42194)),s=n(13109),o=n(93509),i=n(44696),c=n(92718),l=n(70286),u=n(59822),d=n(58890),p=n(20281),m=n(16700),g=n(35613),A=n(31962)},2890:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(13419),r=n(51128),s=n.n(r),o=n(87309);const i=s()("jetpack-ai-client:jwt"),c="jetpack-ai-jwt",l=12e4;async function u({apiNonce:e,siteId:t,expirationTime:n}={}){e=e||window.JP_CONNECTION_INITIAL_STATE.apiNonce,t=t||window.JP_CONNECTION_INITIAL_STATE.siteSuffix,n=n||l;const r=(0,a.Wp)(),s=localStorage.getItem(c);let u,d=null;if(s)try{d=JSON.parse(s)}catch(e){i("Error parsing token",e)}if(d&&d?.expire>Date.now())return i("Using cached token"),d;u=r?await(0,o.Z)({path:"/wpcom/v2/sites/"+t+"/jetpack-openai-query/jwt",method:"POST"}):await(0,o.Z)({path:"/jetpack/v4/jetpack-ai-jwt?_cacheBuster="+Date.now(),credentials:"same-origin",headers:{"X-WP-Nonce":e},method:"POST"});const p={token:u.token,blogId:r?t:u.blog_id,expire:Date.now()+n};return i("Storing new token"),localStorage.setItem(c,JSON.stringify(p)),p}},35613:(e,t,n)=>{"use strict";n.d(t,{JP:()=>a.JP,LB:()=>a.LB,g:()=>a.g,xI:()=>a.xI});var a=n(71197)},22999:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(92213);const r={paragraph:e=>e.replaceAll("\n","
    ")},s={emDelimiter:"_",headingStyle:"atx"},o={strikethrough:{filter:["del","s"],replacement:function(e){return"~~"+e+"~~"}}};class i{constructor({options:e={},rules:t={},keep:n=[],remove:r=[],fixes:i=[]}={}){this.fixes=i,this.turndownService=new a.Z({...s,...e}),this.turndownService.keep(n),this.turndownService.remove(r);const c={...o,...t};for(const e in c)this.turndownService.addRule(e,c[e])}render({content:e}){const t=this.turndownService.turndown(e);return this.fixes.reduce(((e,t)=>r[t](e)),t)}}},71197:(e,t,n)=>{"use strict";n.d(t,{JP:()=>a.Z,LB:()=>i,g:()=>c,xI:()=>r.x});var a=n(22999),r=n(28603);const s=new r.Z,o=new a.Z,i=({content:e,rules:t,extension:n})=>s.render({content:e,rules:t,extension:n}),c=({content:e})=>o.render({content:e})},28603:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c,x:()=>s});var a=n(95601);const r=e=>e.replaceAll("\x3c!-- wp:list-item --\x3e","").replaceAll("\x3c!-- /wp:list-item --\x3e","").replaceAll("\x3c!-- wp:list --\x3e","").replaceAll("\x3c!-- /wp:list --\x3e","").replaceAll("
  • ","\x3c!-- wp:list-item --\x3e
  • ").replaceAll("
  • ","\x3c!-- /wp:list-item --\x3e").replaceAll("
      ",'\x3c!-- wp:list {"ordered":true} --\x3e
        ').replaceAll("
      ","
    \x3c!-- /wp:list --\x3e").replaceAll("
      ","\x3c!-- wp:list --\x3e
        ").replaceAll("
      ","
    \x3c!-- /wp:list --\x3e"),s={list:(e,t=!1)=>{const n=e.replace(/
  • \s+

    /g,"

  • ").replace(/<\/p>\s+<\/li>/g,"
  • ");return t?r(n):n},listItem:(e,t=!1)=>t?r(e.replace(/^<[ou]l>\s*/g,"").replace(/\s*<\/[ou]l>\s*$/g,"")):e,paragraph:(e,t=!1)=>t?e.replaceAll(/\s*<br \/>\s*/g,"
    "):e,table:(e,t=!1,{hasFixedLayout:n=!1})=>t?e.startsWith("\x3c!-- wp:table")?e:`\x3c!-- wp:table { "hasFixedLayout":${n?"true":"false"} } --\x3e${e}\x3c!-- /wp:table --\x3e`:e},o={breaks:!0},i=["list"];class c{constructor(e=o){this.markdownConverter=new a.Z(e)}render({content:e,rules:t=i,extension:n=!1}){const a=this.markdownConverter.render(e);return t.reduce(((e,t)=>s[t](e,n)),a)}}},26637:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a=()=>React.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"jetpack-ai-logo-generator-icon"},React.createElement("path",{d:"M6.99976 3.99994L7.84828 6.15141L9.99976 6.99994L7.84828 7.84847L6.99976 9.99994L6.15123 7.84847L3.99976 6.99994L6.15123 6.15141L6.99976 3.99994Z"}),React.createElement("path",{d:"M16 4L17.1314 6.86863L20 8L17.1314 9.13137L16 12L14.8686 9.13137L12 8L14.8686 6.86863L16 4Z"}),React.createElement("path",{d:"M11 10L12.4142 13.5858L16 15L12.4142 16.4142L11 20L9.58579 16.4142L6 15L9.58579 13.5858L11 10Z"}))},1792:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a=()=>React.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"jetpack-ai-logo-generator-icon"},React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.9291 7.96836L10.7308 17.6492L6.2145 14.2911L7.10952 13.0873L10.4221 15.5504L16.7253 7.07333L17.9291 7.96836Z"}))},10399:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a=()=>React.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"jetpack-ai-logo-generator-icon"},React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.2927 13.7485C18.5014 17.0423 15.5366 19.4901 12 19.4901C8.92508 19.4901 6.28236 17.6396 5.12469 14.9915L8.79556 12.8139L12.2508 14.0309C12.482 14.1123 12.7383 14.0756 12.9374 13.9327L15.8243 11.8601L15.9039 11.8992C16.1998 12.0451 16.6072 12.249 17.0533 12.4807C17.8331 12.8857 18.6946 13.3572 19.2927 13.7485ZM19.499 12.1129C18.9341 11.7788 18.3001 11.4379 17.7447 11.1495C17.287 10.9118 16.8698 10.7031 16.5672 10.5539C16.4158 10.4792 16.2928 10.4193 16.2074 10.378L16.1085 10.3303L16.0824 10.3177L16.0729 10.3132C15.8261 10.1954 15.5347 10.2214 15.3126 10.3809L12.3802 12.4861L8.9634 11.2827C8.75395 11.2089 8.52258 11.2318 8.3316 11.3451L4.65716 13.5248C4.55414 13.0294 4.5 12.5161 4.5 11.9901C4.5 7.84798 7.85786 4.49011 12 4.49011C16.1421 4.49011 19.5 7.84798 19.5 11.9901C19.5 12.0311 19.4997 12.072 19.499 12.1129ZM21 11.9901C21 16.9607 16.9706 20.9901 12 20.9901C7.02944 20.9901 3 16.9607 3 11.9901C3 7.01955 7.02944 2.99011 12 2.99011C16.9706 2.99011 21 7.01955 21 11.9901Z"}))},12479:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a=()=>React.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"jetpack-ai-logo-generator-icon"},React.createElement("path",{d:"M7 6.49011L11 8.99011L7 11.4901V6.49011Z"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 2.99011C3.89543 2.99011 3 3.88554 3 4.99011V18.9901C3 20.0947 3.89543 20.9901 5 20.9901H19C20.1046 20.9901 21 20.0947 21 18.9901V4.99011C21 3.88554 20.1046 2.99011 19 2.99011H5ZM19 4.49011H5C4.72386 4.49011 4.5 4.71397 4.5 4.99011V15.6973L8.12953 13.0508C8.38061 12.8677 8.71858 12.8584 8.97934 13.0274L11.906 14.9243L15.4772 11.4524C15.7683 11.1694 16.2317 11.1694 16.5228 11.4524L19.5 14.3469V4.99011C19.5 4.71397 19.2761 4.49011 19 4.49011ZM4.5 18.9901V17.5537L8.59643 14.5667L11.5921 16.5084C11.8857 16.6987 12.2719 16.6607 12.5228 16.4167L16 13.0361L19.4772 16.4167L19.5 16.3933V18.9901C19.5 19.2663 19.2761 19.4901 19 19.4901H5C4.72386 19.4901 4.5 19.2663 4.5 18.9901Z"}))},94844:(e,t,n)=>{"use strict";n.d(t,{n:()=>s});var a=n(55609),r=n(65736);const __=r.__,s=({onCancel:e,onRetry:t})=>{const n=__("We are sorry. There was an error loading your Jetpack AI plan data. Please, try again.","jetpack");return React.createElement("div",{className:"jetpack-ai-logo-generator-modal__notice-message-wrapper"},React.createElement("div",{className:"jetpack-ai-logo-generator-modal__notice-message"},React.createElement("span",{className:"jetpack-ai-logo-generator-modal__loading-message"},n)),React.createElement("div",{className:"jetpack-ai-logo-generator-modal__notice-actions"},React.createElement(a.Button,{variant:"tertiary",onClick:e},__("Cancel","jetpack")),React.createElement(a.Button,{variant:"primary",onClick:t},__("Try again","jetpack"))))}},54755:(e,t,n)=>{"use strict";n.d(t,{U:()=>i});var a=n(65736),r=n(99196),s=n.n(r),o=n(16995);const __=a.__,i=({state:e="loadingFeature"})=>{const t=__("Loading…","jetpack"),n=__("Analyzing your site to create the perfect logo…","jetpack"),a=__("Generating logo…","jetpack");return s().createElement("div",{className:"jetpack-ai-logo-generator-modal__loading-wrapper"},s().createElement(o.S,null),s().createElement("span",{className:"jetpack-ai-logo-generator-modal__loading-message"},"loadingFeature"===e&&t,"analyzing"===e&&n,"generating"===e&&a))}},7612:(e,t,n)=>{"use strict";n.d(t,{c:()=>I});var a=n(13419),r=n(55609),s=n(9818),o=n(65736),i=n(61074),c=n(15381),l=n(3228),u=n(51128),d=n.n(u),p=n(99196),m=n(59087),g=n(45335),A=n(99845),h=n(87336),E=n(28368),f=n(19493),b=n(94844),v=n(54755),C=n(45729),k=n(27539),y=n(34668),B=n(40050),w=n(57964);const __=o.__,_=d()("jetpack-ai-calypso:generator-modal"),I=({isOpen:e,onClose:t,onApplyLogo:n,onReload:o,siteDetails:u,context:d,placement:I})=>{const{tracks:j}=(0,a.z$)(),{recordEvent:x}=j,{setSiteDetails:S,fetchAiAssistantFeature:Q,loadLogoHistory:N}=(0,s.useDispatch)(f.G),{getIsRequestingAiAssistantFeature:R}=(0,s.select)(f.G),[P,Z]=(0,p.useState)(null),[T,L]=(0,p.useState)(),M=(0,p.useRef)(!0),D=(0,p.useRef)(!1),[F,z]=(0,p.useState)(!1),[O,U]=(0,p.useState)(!1),{selectedLogo:H,getAiAssistantFeature:V,generateFirstPrompt:q,generateLogo:G,setContext:$}=(0,A.Z)(),{featureFetchError:W,firstLogoPromptFetchError:J,clearErrors:Y}=(0,h.Z)(),K=u?.ID,[X,ee]=(0,p.useState)(!1),{nextTierCheckoutURL:te}=(0,g.M)(),ne=V(),ae=(0,p.useCallback)((async()=>{try{Z("analyzing"),x(m.RV,{context:d,tool:"first-prompt"});const e=await q();L(e),Z("generating"),await G({prompt:e}),Z(null)}catch(e){_("Error generating first logo",e),Z(null)}}),[d,q,G]),re=(0,p.useCallback)((async()=>{try{const e=!(0,E.u$)(String(K)),t=ne?.costs?.["jetpack-ai-logo-generator"]?.logo??m.N2,n=1,a=ne?.currentTier?.value||0,r=ne?.usagePeriod?.requestsCount||0,s=!(1===a)&&!!ne?.nextTier&&!e&&a-r{$(d),x(m.bp,{context:d,placement:I}),re()}),[$,d,I,re]),oe=()=>{M.current=!0,t(),Z(null),z(!1),U(!1),Y(),ee(!1),x(m.mG,{context:d,placement:I})},ie=e=>{ee(!0),n?.(e)},ce=()=>{x(m.C_,{context:d})};let le;return(0,p.useEffect)((()=>{if(K&&S(u),!D.current){R()||(D.current=!0,Q())}}),[K,u,S,R]),(0,p.useEffect)((()=>{e&&K&&ne?.costs&&M.current&&(M.current=!1,se())}),[e,K,se,ne]),le=P?React.createElement(v.U,{state:P}):W||J?React.createElement(b.n,{onCancel:oe,onRetry:()=>{oe(),o?.()}}):F||O?React.createElement(B.l,{onCancel:oe,upgradeURL:te,reason:F?"feature":"requests"}):React.createElement(React.Fragment,null,!X&&React.createElement(y.N,{initialPrompt:T}),React.createElement(k.W,{logo:H,onApplyLogo:ie,logoAccepted:X,siteId:String(K)}),X?React.createElement("div",{className:"jetpack-ai-logo-generator__accept"},React.createElement(w.r,null),React.createElement("div",{className:"jetpack-ai-logo-generator__accept-actions"},React.createElement(r.Button,{variant:"primary",onClick:oe},__("Close","jetpack")))):React.createElement(React.Fragment,null,React.createElement(C.S,null),React.createElement("div",{className:"jetpack-ai-logo-generator__footer"},React.createElement(r.Button,{variant:"link",className:"jetpack-ai-logo-generator__feedback-button",href:"https://jetpack.com/redirect/?source=jetpack-ai-feedback",target:"_blank",onClick:ce},React.createElement("span",null,__("Provide feedback","jetpack")),React.createElement(i.Z,{icon:c.Z,className:"icon"}))))),React.createElement(React.Fragment,null,e&&React.createElement(r.Modal,{className:"jetpack-ai-logo-generator-modal",onRequestClose:oe,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,title:__("Jetpack AI Logo Generator","jetpack")},React.createElement("div",{className:(0,l.Z)("jetpack-ai-logo-generator-modal__body",{"notice-modal":F||O||W||J})},le)))}},45729:(e,t,n)=>{"use strict";n.d(t,{S:()=>c});var a=n(13419),r=n(55609),s=n(3228),o=n(59087),i=n(99845);const c=()=>{const{tracks:e}=(0,a.z$)(),{recordEvent:t}=e,{logos:n,selectedLogo:c,setSelectedLogoIndex:l,context:u}=(0,i.Z)(),d=e=>{const t=new URL(e);return t.searchParams.has("resize")||t.searchParams.append("resize","48,48"),t.toString()};return React.createElement("div",{className:"jetpack-ai-logo-generator__carousel"},n.map(((e,a)=>React.createElement(r.Button,{key:e.url,className:(0,s.Z)("jetpack-ai-logo-generator__carousel-logo",{"is-selected":e.url===c.url}),onClick:()=>(e=>{t(o.DT,{context:u,logos_count:n.length,selected_logo:e+1}),l(e)})(a)},React.createElement("img",{src:d(e.url),alt:e.description})))))}},16995:(e,t,n)=>{"use strict";n.d(t,{S:()=>s});var a=n(3228),r=n(31604);const s=({className:e=null})=>React.createElement("img",{src:r,alt:"Loading",className:(0,a.Z)("jetpack-ai-logo-generator-modal__loader",e)})},27539:(e,t,n)=>{"use strict";n.d(t,{W:()=>B});var a=n(13419),r=n(55609),s=n(9818),o=n(65736),i=n(51128),c=n.n(i),l=n(1792),u=n(10399),d=n(12479),p=n(59087),m=n(99845),g=n(87336),A=n(28368),h=n(19493),E=n(16995);const __=o.__,f=c()("jetpack-ai-calypso:logo-presenter"),b=({siteId:e})=>{const{tracks:t}=(0,a.z$)(),{recordEvent:n}=t,{saveLogo:o,selectedLogo:i,isSavingLogoToLibrary:c,logos:u,selectedLogoIndex:g,context:E}=(0,m.Z)(),b=!!i?.mediaId,{loadLogoHistory:v}=(0,s.useDispatch)(h.G),C=__("Saving…","jetpack"),k=__("Saved","jetpack");return c||b?React.createElement(r.Button,{className:"jetpack-ai-logo-generator-modal-presenter__action"},React.createElement(r.Icon,{icon:c?React.createElement(d.Z,null):React.createElement(l.Z,null)}),React.createElement("span",{className:"action-text"},c?C:k)):React.createElement(r.Button,{className:"jetpack-ai-logo-generator-modal-presenter__action",onClick:async()=>{if(!b&&!c){n(p.LN,{context:E,logos_count:u.length,selected_logo:g?g+1:0});try{const t=await o(i);(0,A.qt)({siteId:e,url:i.url,newUrl:t.mediaURL,mediaId:t.mediaId}),v(e)}catch(e){f("Error saving logo",e)}}}},React.createElement(r.Icon,{icon:React.createElement(d.Z,null)}),React.createElement("span",{className:"action-text"},__("Save in Library","jetpack")))},v=({onApplyLogo:e})=>{const{tracks:t}=(0,a.z$)(),{recordEvent:n}=t,{isSavingLogoToLibrary:s,selectedLogo:o,logos:i,selectedLogoIndex:c,context:l}=(0,m.Z)();return React.createElement(r.Button,{className:"jetpack-ai-logo-generator-modal-presenter__action",onClick:async()=>{s||(n(p.wl,{context:l,logos_count:i.length,selected_logo:null!=c?c+1:0}),e?.(o?.mediaId))},disabled:s||!o?.mediaId},React.createElement(r.Icon,{icon:React.createElement(u.Z,null)}),React.createElement("span",{className:"action-text"},__("Use on block","jetpack")))},C=()=>React.createElement(React.Fragment,null,React.createElement(E.S,{className:"jetpack-ai-logo-generator-modal-presenter__logo"}),React.createElement("span",{className:"jetpack-ai-logo-generator-modal-presenter__loading-text"},__("Generating new logo…","jetpack"))),k=({siteId:e,logo:t,onApplyLogo:n})=>React.createElement(React.Fragment,null,React.createElement("img",{src:t.url,alt:t.description,className:"jetpack-ai-logo-generator-modal-presenter__logo"}),React.createElement("div",{className:"jetpack-ai-logo-generator-modal-presenter__action-wrapper"},React.createElement("span",{className:"jetpack-ai-logo-generator-modal-presenter__description"},t.description),React.createElement("div",{className:"jetpack-ai-logo-generator-modal-presenter__actions"},React.createElement(b,{siteId:e}),React.createElement(v,{onApplyLogo:n})))),y=({logo:e})=>React.createElement(React.Fragment,null,React.createElement("img",{src:e.url,alt:e.description,className:"jetpack-ai-logo-generator-modal-presenter__logo"}),React.createElement("div",{className:"jetpack-ai-logo-generator-modal-presenter__success-wrapper"},React.createElement(r.Icon,{icon:React.createElement(l.Z,null)}),React.createElement("span",null,__("Your new logo was set to the block!","jetpack")))),B=({logo:e=null,loading:t=!1,onApplyLogo:n,logoAccepted:a=!1,siteId:r})=>{const{isRequestingImage:s}=(0,m.Z)(),{saveToLibraryError:o,logoUpdateError:i}=(0,g.Z)();if(!e)return null;let c;return c=t||s?React.createElement(C,null):a?React.createElement(y,{logo:e}):React.createElement(k,{siteId:String(r),logo:e,onApplyLogo:n}),React.createElement("div",{className:"jetpack-ai-logo-generator-modal-presenter__wrapper"},React.createElement("div",{className:"jetpack-ai-logo-generator-modal-presenter"},React.createElement("div",{className:"jetpack-ai-logo-generator-modal-presenter__content"},c),!a&&React.createElement("div",{className:"jetpack-ai-logo-generator-modal-presenter__rectangle"})),o&&React.createElement("div",{className:"jetpack-ai-logo-generator__prompt-error"},__("Error saving the logo to your library. Please try again.","jetpack")),i&&React.createElement("div",{className:"jetpack-ai-logo-generator__prompt-error"},__("Error applying the logo to your site. Please try again.","jetpack")))}},34668:(e,t,n)=>{"use strict";n.d(t,{N:()=>f});var a=n(13419),r=n(55609),s=n(65736),o=n(61074),i=n(90496),c=n(51128),l=n.n(c),u=n(99196),d=n(26637),p=n(59087),m=n(45335),g=n(99845),A=n(87336),h=n(20525);const __=s.__,E=l()("jetpack-ai-calypso:prompt-box"),f=({initialPrompt:e=""})=>{const{tracks:t}=(0,a.z$)(),{recordEvent:n}=t,[c,l]=(0,u.useState)(e),[f,b]=(0,u.useState)(0),{enhancePromptFetchError:v,logoFetchError:C}=(0,A.Z)(),{nextTierCheckoutURL:k,hasNextTier:y}=(0,m.M)(),B=c?.length>=p.hZ,{generateLogo:w,enhancePrompt:_,setIsEnhancingPrompt:I,isBusy:j,isEnhancingPrompt:x,site:S,getAiAssistantFeature:Q,requireUpgrade:N,context:R}=(0,g.Z)(),P=__("Enhancing…","jetpack"),Z=__("Enhance prompt","jetpack"),T=x?P:Z,L=(0,u.useRef)(null),M=(0,u.useCallback)((async()=>{E("Enhancing prompt",c),I(!0),n(p.RV,{context:R,tool:"enhance-prompt"});try{const e=await _({prompt:c});l(e),I(!1)}catch(e){E("Error enhancing prompt",e),I(!1)}}),[R,_,c,I]),D=Q(String(S?.id||"")),F=D?.currentTier?.value||0,z=D?.usagePeriod?.requestsCount||0,O=1===F;(0,u.useEffect)((()=>{b(F-z<=0?0:F-z)}),[F,z]),(0,u.useEffect)((()=>{L.current&&L.current.textContent!==c&&(L.current.textContent=c)}),[c]);const U=(0,u.useCallback)((async()=>{n(p.RV,{context:R,tool:"image"}),w({prompt:c})}),[R,w,c]);return React.createElement("div",{className:"jetpack-ai-logo-generator__prompt"},React.createElement("div",{className:"jetpack-ai-logo-generator__prompt-header"},React.createElement("div",{className:"jetpack-ai-logo-generator__prompt-label"},__("Describe your site:","jetpack")),React.createElement("div",{className:"jetpack-ai-logo-generator__prompt-actions"},React.createElement(r.Button,{variant:"link",disabled:j||N||!B,onClick:M},React.createElement(d.Z,null),React.createElement("span",null,T)))),React.createElement("div",{className:"jetpack-ai-logo-generator__prompt-query"},React.createElement("div",{ref:L,contentEditable:!j&&!N,suppressContentEditableWarning:!0,className:"prompt-query__input",onInput:e=>{l(e.target.textContent||"")},onPaste:e=>{e.preventDefault();const t=e.clipboardData.getData("text/plain"),n=window.getSelection();if(!n||!n.rangeCount)return;n.deleteFromDocument();n.getRangeAt(0).insertNode(document.createTextNode(t)),n.collapseToEnd(),l(L.current?.textContent||"")},"data-placeholder":__("Describe your site or simply ask for a logo specifying some details about it","jetpack")}),React.createElement(r.Button,{variant:"primary",className:"jetpack-ai-logo-generator__prompt-submit",onClick:U,disabled:j||N||!B},__("Generate","jetpack"))),React.createElement("div",{className:"jetpack-ai-logo-generator__prompt-footer"},!O&&!N&&React.createElement("div",{className:"jetpack-ai-logo-generator__prompt-requests"},React.createElement("div",null,(0,s.sprintf)( +__("Error: %1$s","jetpack"),i)),t===d.Or?React.createElement(r.Button,{variant:"link",onClick:a,href:o,target:o?"_blank":null},__("Upgrade now","jetpack")):React.createElement(r.Button,{variant:"link",onClick:n},__("Try again","jetpack")))}},2166:(e,t,n)=>{"use strict";n.d(t,{R:()=>o,_:()=>s});var r=n(51609),a=n.n(r);const s=(0,r.createContext)({}),o=({value:e,children:t})=>a().createElement(s.Provider,{value:e,children:t})},13965:(e,t,n)=>{"use strict";n.d(t,{Rb:()=>r.R,Z2:()=>s.A,_z:()=>r._,cQ:()=>a.A});var r=n(2166),a=n(59886),s=n(53471)},53471:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(51609),a=n(78836),s=n(13965);function o({onDone:e,onSuggestion:t,onError:n}={}){const o=(0,r.useContext)(s._z),{eventSource:i}=o,c=(0,r.useCallback)((t=>e?.(t?.detail)),[e]),l=(0,r.useCallback)((e=>t?.(e?.detail)),[t]),u=(0,r.useCallback)((e=>{n?.(e?.detail)}),[]);return(0,r.useEffect)((()=>{if(i)return e&&i.addEventListener("done",c),t&&i.addEventListener("suggestion",l),n&&i.addEventListener(a.zn,u),()=>{i.removeEventListener("done",c),i.removeEventListener("suggestion",l),i.removeEventListener(a.zn,u)}}),[i]),o}},59886:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(29491),a=n(86087),s=n(51609),o=n.n(s),i=n(46219),c=n(13965);const l=(0,r.createHigherOrderComponent)((e=>t=>{const{suggestion:n,error:r,requestingState:s,request:l,stopSuggestion:u,eventSource:d}=(0,i.Ay)(),p=(0,a.useMemo)((()=>({suggestion:n,requestingError:r,requestingState:s,eventSource:d,requestSuggestion:l,stopSuggestion:u})),[n,r,s,d,l,u]);return o().createElement(c.Rb,{value:p},o().createElement(e,t))}),"withAiDataProvider")},46219:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l,fC:()=>i});var r=n(86087),a=n(27723),s=n(87286),o=n(78836);const __=a.__;function i(e){switch(e){case o.Or:return{code:o.Or,message:__("You have reached the limit of requests for this site.","jetpack"),severity:"info"};case o.L9:return{code:o.L9,message:__("Your request was unclear. Mind trying again?","jetpack"),severity:"info"};case o.AZ:return{code:o.AZ,message:__("Jetpack AI services are currently unavailable. Sorry for the inconvenience.","jetpack"),severity:"info"};case o.ud:return{code:o.ud,message:__("This request has been flagged by our moderation system. Please try to rephrase it and try again.","jetpack"),severity:"info"};case o.cT:return{code:o.cT,message:__("The content is too large to be processed all at once. Please try to shorten it or divide it into smaller parts.","jetpack"),severity:"info"};case o.mA:default:return{code:o.mA,message:__("It was not possible to process your request. Mind trying again?","jetpack"),severity:"info"}}}function c(e){return e.replace(/^<\|start_header_id\|>assistant<\|end_header_id\|>[\n]+/,"")}function l({prompt:e,autoRequest:t=!1,askQuestionOptions:n={},initialRequestingState:a="init",onSuggestion:l,onDone:u,onStop:d,onError:p,onAllErrors:m}={}){const[g,A]=(0,r.useState)(a),[h,E]=(0,r.useState)(""),[f,b]=(0,r.useState)(),v=(0,r.useRef)(void 0),C=(0,r.useCallback)((e=>{const t=c(e?.detail);t&&(E(t),l?.(t))}),[l]),k=(0,r.useCallback)((e=>{N();const t=c(e?.detail);u?.(t),A("done")}),[u]),y=(0,r.useCallback)((e=>{m?.(e?.detail)}),[m]),B=(0,r.useCallback)((e=>{v?.current?.close(),A("error"),b(i(e)),p?.(i(e))}),[p]),w=(0,r.useCallback)((()=>B(o.Or)),[]),_=(0,r.useCallback)((()=>B(o.L9)),[]),I=(0,r.useCallback)((()=>B(o.AZ)),[]),j=(0,r.useCallback)((()=>B(o.ud)),[]),x=(0,r.useCallback)((()=>B(o.mA)),[]),S=(0,r.useCallback)((async(e,t={...n})=>{if(b(void 0),A("requesting"),v.current=await(0,s.A)(e,t),!v?.current)return;const r=v.current;A("suggesting"),r.addEventListener("suggestion",C),r.addEventListener(o.Or,w),r.addEventListener(o.L9,_),r.addEventListener(o.AZ,I),r.addEventListener(o.ud,j),r.addEventListener(o.mA,x),r.addEventListener(o.zn,y),r.addEventListener("done",k)}),[k,w,_,I,j,x,C]),Q=(0,r.useCallback)((()=>{A("init"),E(""),b(void 0)}),[]),N=(0,r.useCallback)((()=>{if(!v?.current)return;const e=v?.current;e.close(),e.removeEventListener("suggestion",C),e.removeEventListener(o.Or,w),e.removeEventListener(o.L9,_),e.removeEventListener(o.AZ,I),e.removeEventListener(o.ud,j),e.removeEventListener(o.mA,x),e.removeEventListener("done",k)}),[v,C,w,_,I,j,x,k]),R=(0,r.useCallback)((()=>{N(),d?.(),A("done")}),[d]);return(0,r.useEffect)((()=>{if(e?.length)return t&&S(e,n),()=>{R()}}),[t,e,S,R]),{suggestion:h,error:f,requestingState:g,request:S,stopSuggestion:R,reset:Q,handleErrorQuotaExceededError:w,eventSource:v.current}}},7804:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(86087),a=n(27723),s=n(10067),o=n.n(s),i=n(57745);const __=a.__,c=o()("jetpack-ai-client:use-audio-transcription"),l=e=>{if("string"==typeof e)return e;if("code"in e)switch(e.code){case"error_quota_exceeded":return __("You exceeded your current quota, please check your plan details.","jetpack");case"jetpack_ai_missing_audio_param":return __("The audio_file is required to perform a transcription.","jetpack");case"jetpack_ai_service_unavailable":return __("The Jetpack AI service is temporarily unavailable.","jetpack");case"file_size_not_supported":return __("The provided audio file is too big.","jetpack");case"file_type_not_supported":return __("The provided audio file type is not supported.","jetpack");case"jetpack_ai_error":return __("There was an error processing the transcription request.","jetpack");default:return e.message}return"message"in e?e.message:__("There was an error processing the transcription request.","jetpack")};function u({feature:e,onReady:t,onError:n}){const[a,s]=(0,r.useState)(""),[o,u]=(0,r.useState)(""),[d,p]=(0,r.useState)(!1),m=(0,r.useRef)(null);return{transcriptionResult:a,isTranscribingAudio:d,transcriptionError:o,transcribeAudio:(0,r.useCallback)((r=>{c("Transcribing audio"),s(""),u(""),p(!0);const a=new AbortController;m.current=a,(0,i.A)(r,e,a.signal).then((e=>{s(e),t?.(e)})).catch((e=>{a.signal.aborted||(u(e.message),n?.(l(e)))})).finally((()=>p(!1)))}),[i.A,s,u,p]),cancelTranscription:(0,r.useCallback)((()=>{m.current?.abort(),s(""),u(""),p(!1)}),[m,s,u,p])}}},66859:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(86087),a=n(27723);const __=a.__,s=25e6,o=1500,i=["audio/mpeg","audio/mp3","audio/ogg","audio/flac","audio/x-flac","audio/m4a","audio/x-m4a","audio/mp4","audio/wav","audio/wave","audio/x-wav","audio/webm"];function c(){const[e,t]=(0,r.useState)(!1);return{isValidatingAudio:e,validateAudio:(0,r.useCallback)(((e,n,r)=>{if(t(!0),e?.size>s)return t(!1),r(__("The audio file is too large. The maximum file size is 25MB.","jetpack"));const a=e instanceof File;if(a&&!i.includes(e.type))return t(!1),r(__("The audio file type is not supported. Please use a supported audio file type.","jetpack"));const c=new AudioContext;e.arrayBuffer().then((s=>{c.decodeAudioData(s,(function(s){const i=Math.ceil(s.duration);return i>o?(t(!1),r(__("The audio file is too long. The maximum recording time is 25 minutes.","jetpack"))):(t(!1),n({duration:i,isFile:a,size:e?.size}))}))}))}),[t])}}},62614:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(10067),a=n.n(r),s=n(31439),o=n(51391);const i=a()("ai-client:use-image-generator"),c=(e,t)=>{const n=4e3-t;return e.length>n?e.substring(0,n-6)+" [...]":e},l=async(e,t,n)=>{const r=((e,t)=>{if(t){const n=`I need a Stable Diffusion prompt to generate a featured image for a blog post based on this user-provided image description:\n\n${t.length>1e3?t.substring(0,1e3):t}\n\nThe image should be a photo. Make sure you highlight the main suject of the image description, and include brief details about the light and style of the image.\nInclude a request to use high resolution and produce a highly detailed image, with sharp focus.\nReturn just the prompt, without comments.\n\nFor additional context, this is the post content:\n\n`;return n+c(e,n.length)}return"I need a Stable Diffusion prompt to generate a featured image for a blog post with the following content.\nThe image should be a photo. Make sure you highlight the main suject of the content, and include brief details about the light and style of the image.\nInclude a request to use high resolution and produce a highly detailed image, with sharp focus.\nReturn just the prompt, without comments. The content is:\n\n"+c(e,412)})(e,t);return await(0,s.A)(r,{feature:n})},u=()=>{const e=async function(e){let t="";try{t=(await(0,o.A)()).token}catch(e){return i("Error getting token: %o",e),Promise.reject(e)}try{const n="https://public-api.wordpress.com/wpcom/v2/jetpack-ai-image",r={Authorization:`Bearer ${t}`,"Content-Type":"application/json"},a=await fetch(n,{method:"POST",headers:r,body:JSON.stringify(e)}).then((e=>e.json()));return a?.data?.status&&a?.data?.status>200?(i("Error generating image: %o",a),Promise.reject(a)):a}catch(e){return i("Error generating image: %o",e),Promise.reject(e)}};return{generateImage:async function({feature:t,postContent:n,responseFormat:r="url",userPrompt:a}){try{i("Generating image");const s=((e,t)=>{if(t){const n=`I need a cover image for a blog post based on this user prompt:\n\n${t.length>1e3?t.substring(0,1e3):t}\n\nBefore creating the image, identify the main topic of the user prompt and relate it to the post content.\nDo not represent the whole content in one image, keep it simple and just represent one single idea.\nDo not add details, detailed explanations or highlights from the content, just represent the main idea as if it was a photograph.\nDo not use collages or compositions with multiple elements or scenes. Stick to one single scene. Do not compose unrealistic scenes.\nIf the content describes facts, objects or concepts from the real world, represent them on a realistic style and do not make unreal compositions.\nIf the content is more abstract, use a more abstract style to represent the main idea.\nMake sure the light and the style are visually appealing.\nDo not add text to the image.\n\nFor additional context, this is the post content:\n\n`;return n+c(e,n.length)}const n="I need a cover image for a blog post.\nBefore creating the image, identify the main topic of the content and only represent it.\nDo not represent the whole content in one image, keep it simple and just represent one single idea.\nDo not add details, detailed explanations or highlights from the content, just represent the main idea as if it was a photograph.\nDo not use collages or compositions with multiple elements or scenes. Stick to one single scene. Do not compose unrealistic scenes.\nIf the content describes facts, objects or concepts from the real world, represent them on a realistic style and do not make unreal compositions.\nIf the content is more abstract, use a more abstract style to represent the main idea.\nMake sure the light and the style are visually appealing.\nDo not add text to the image.\n\nThis is the post content:\n\n";return n+c(e,838)})(n,a),o={prompt:s,response_format:r,feature:t,size:"1792x1024"};return await e(o)}catch(e){return i("Error generating image: %o",e),Promise.reject(e)}},generateImageWithStableDiffusion:async function({feature:t,postContent:n,userPrompt:r}){try{i("Generating image with Stable Diffusion");const a={prompt:await l(n,r,t),feature:t,model:"stable-diffusion",style:"photographic"};return await e(a)}catch(e){return i("Error generating image: %o",e),Promise.reject(e)}},generateImageWithParameters:e}}},96657:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(86087);const a="audio/mp4;codecs=mp4a",s="audio/mp4",o="audio/webm";function i({onDone:e}={}){const t=(0,r.useRef)(null),[n,i]=(0,r.useState)("inactive"),c=(0,r.useRef)(!1),l=(0,r.useRef)(0),[u,d]=(0,r.useState)(0),p=(0,r.useRef)(null),[m,g]=(0,r.useState)(null),A=(0,r.useRef)([]).current,[h,E]=(0,r.useState)(null),f=(0,r.useRef)(null);function b(){return MediaRecorder.isTypeSupported(a)?new Blob(A,{type:s}):new Blob(A,{type:o})}const v=(0,r.useCallback)((e=>{if(B(),!e)return t?.current?.start();e<100&&(e=100),l.current=Date.now(),t?.current?.start(e)}),[]),C=(0,r.useCallback)((()=>{c.current=!0,t?.current?.pause(),d((e=>e+Date.now()-l.current))}),[]),k=(0,r.useCallback)((()=>{c.current=!1,t?.current?.resume(),l.current=Date.now()}),[]),y=(0,r.useCallback)((()=>{t?.current?.stop(),"recording"===n&&d((e=>e+Date.now()-l.current))}),[]),B=(0,r.useCallback)((()=>{A.length=0,g(null),E(null),d(0),c.current=!1,l.current=0}),[]),w=(0,r.useCallback)((()=>{t?.current&&(t.current.removeEventListener("start",j),t.current.removeEventListener("stop",x),t.current.removeEventListener("pause",S),t.current.removeEventListener("resume",Q),t.current.removeEventListener("dataavailable",N),t.current=null)}),[]),_=(0,r.useCallback)((()=>{if(i("inactive"),B(),w(),!navigator.mediaDevices?.getUserMedia)return;const e=new AudioContext;f.current=e.createAnalyser();navigator.mediaDevices.getUserMedia({audio:!0}).then((n=>{p.current=n;e.createMediaStreamSource(n).connect(f.current),MediaRecorder.isTypeSupported(a)?t.current=new MediaRecorder(n,{mimeType:a}):t.current=new MediaRecorder(n,{mimeType:o}),t.current.addEventListener("start",j),t.current.addEventListener("stop",x),t.current.addEventListener("pause",S),t.current.addEventListener("resume",Q),t.current.addEventListener("dataavailable",N)})).catch((e=>{throw e}))}),[]),I=(0,r.useCallback)((e=>{y(),E("string"==typeof e?e:e.message),i("error")}),[]);function j(){i("recording")}function x(){const t=b();e?.(t),A.length=0}function S(){i("paused")}function Q(){i("recording")}function N(e){const{data:t}=e;t?.size&&(A.push(t),g(b()),c.current||d((e=>{const t=Date.now(),n=t-l.current;return l.current=t,e+n})))}return(0,r.useEffect)((()=>(_(),()=>{p.current&&p.current.getTracks().forEach((e=>e.stop())),w()})),[]),{state:n,blob:m,error:h,duration:u,analyser:f.current,onError:I,controls:{start:v,pause:C,resume:k,stop:y,reset:_}}}},93869:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(63162),a=n(47143),s=n(86087),o=n(10067);const i=n.n(o)()("ai-client:save-to-media-library");function c(){const[e,t]=(0,s.useState)(!1),{getSettings:n}=(0,a.useSelect)((e=>e("core/block-editor")),[]);return{isLoading:e,saveToMediaLibrary:(e,a)=>{const s=n();return new Promise(((n,o)=>{t(!0),i("Fetching image from URL"),fetch(e).then((e=>{i("Transforming response to blob"),e.blob().then((e=>{i("Uploading blob to media library");const c=Array();a?c.push(new File([e],a)):c.push(e),s.mediaUpload({allowedTypes:["image"],filesList:c,onFileChange([e]){(0,r.isBlobURL)(e?.url)||(e&&(i("Image uploaded to media library",e),n(e)),t(!1))},onError(e){i("Error uploading image to media library:",e),o(e),t(!1)}})})).catch((e=>{i("Error transforming response to blob:",e?.message),o(e?.message),t(!1)}))})).catch((e=>{i("Error fetching image from URL:",e?.message),o(e?.message),t(!1)}))}))}}}},97784:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,u:()=>c});var r=n(86087),a=n(10067),s=n.n(a),o=n(46219);const i=s()("jetpack-ai-client:use-transcription-post-processing"),c="voice-to-content-simple-draft";function l({feature:e,onReady:t,onError:n,onUpdate:a}){const[s,c]=(0,r.useState)(""),[l,u]=(0,r.useState)(""),[d,p]=(0,r.useState)(!1),m=(0,r.useCallback)((e=>{c(e),a?.(e)}),[c,a]),g=(0,r.useCallback)((e=>{c(e),a?.(e),t?.(e)}),[c,a,t]),A=(0,r.useCallback)((e=>{u(e.message),n?.(e.message)}),[u,n]),{request:h,stopSuggestion:E}=(0,o.Ay)({onSuggestion:m,onDone:g,onError:A});return{postProcessingResult:s,isProcessingTranscription:d,postProcessingError:l,processTranscription:(0,r.useCallback)(((t,n)=>{i("Post-processing transcription"),c(""),u(""),p(!0);h([{role:"jetpack-ai",context:{type:t,content:n}}],{feature:e})}),[c,u,p,h,e]),cancelTranscriptionProcessing:(0,r.useCallback)((()=>{E(),p(!1)}),[E,p])}}},30151:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(56427),a=n(51609),s=n.n(a);const o=s().createElement(r.SVG,{viewBox:"0 0 32 32",width:"32",height:"32",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"ai-assistant-icon"},s().createElement(r.Path,{className:"spark-first",d:"M9.33301 5.33325L10.4644 8.20188L13.333 9.33325L10.4644 10.4646L9.33301 13.3333L8.20164 10.4646L5.33301 9.33325L8.20164 8.20188L9.33301 5.33325Z"}),s().createElement(r.Path,{className:"spark-second",d:"M21.3333 5.33333L22.8418 9.15817L26.6667 10.6667L22.8418 12.1752L21.3333 16L19.8248 12.1752L16 10.6667L19.8248 9.15817L21.3333 5.33333Z"}),s().createElement(r.Path,{className:"spark-third",d:"M14.6667 13.3333L16.5523 18.1144L21.3333 20L16.5523 21.8856L14.6667 26.6667L12.781 21.8856L8 20L12.781 18.1144L14.6667 13.3333Z"}))},42154:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(56427);const a=React.createElement(r.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M10 3.95833C6.66328 3.95833 3.95833 6.66327 3.95833 9.99999C3.95833 13.3367 6.66328 16.0417 10 16.0417C13.3367 16.0417 16.0417 13.3367 16.0417 9.99999C16.0417 6.66327 13.3367 3.95833 10 3.95833ZM2.70833 9.99999C2.70833 5.97292 5.97292 2.70833 10 2.70833C14.0271 2.70833 17.2917 5.97292 17.2917 9.99999C17.2917 14.0271 14.0271 17.2917 10 17.2917C5.97292 17.2917 2.70833 14.0271 2.70833 9.99999Z"}),React.createElement(r.Path,{d:"M10.8333 5.83333H9.16667V10.8333H10.8333V5.83333Z"}),React.createElement(r.Path,{d:"M10.8333 12.5H9.16667V14.1667H10.8333V12.5Z"}))},91396:(e,t,n)=>{"use strict";n.d(t,{Qr:()=>o.A,Vo:()=>a.A,cj:()=>r.A,ni:()=>s.A});var r=n(30151),a=n(81353),s=(n(95007),n(96626),n(4416),n(25680)),o=n(67205)},81353:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(56427),a=n(51609),s=n.n(a);const o=s().createElement(r.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/SVG"},s().createElement(r.Path,{d:"M12 4.75C11.0479 4.75 10.1052 4.93753 9.22554 5.30187C8.34593 5.66622 7.5467 6.20025 6.87348 6.87348C6.20025 7.5467 5.66622 8.34593 5.30187 9.22554C4.93753 10.1052 4.75 11.0479 4.75 12C4.75 12.9521 4.93753 13.8948 5.30187 14.7745C5.66622 15.6541 6.20025 16.4533 6.87348 17.1265C7.5467 17.7997 8.34593 18.3338 9.22554 18.6981C10.1052 19.0625 11.0479 19.25 12 19.25C13.9228 19.25 15.7669 18.4862 17.1265 17.1265C18.4862 15.7669 19.25 13.9228 19.25 12C19.25 10.0772 18.4862 8.23312 17.1265 6.87348C15.7669 5.51384 13.9228 4.75 12 4.75ZM3.25 12C3.25 9.67936 4.17187 7.45376 5.81282 5.81282C7.45376 4.17187 9.67936 3.25 12 3.25C14.3206 3.25 16.5462 4.17187 18.1872 5.81282C19.8281 7.45376 20.75 9.67936 20.75 12C20.75 14.3206 19.8281 16.5462 18.1872 18.1872C16.5462 19.8281 14.3206 20.75 12 20.75C9.67936 20.75 7.45376 19.8281 5.81282 18.1872C4.17187 16.5462 3.25 14.3206 3.25 12Z",fill:"#008710"}),s().createElement(r.Rect,{x:"10.5",y:"8.25",width:"3",height:"4.875",rx:"1.5",fill:"#008710"}),s().createElement(r.Path,{d:"M15 11.25C15 11.644 14.9224 12.0341 14.7716 12.3981C14.6209 12.762 14.3999 13.0927 14.1213 13.3713C13.8427 13.6499 13.512 13.8709 13.1481 14.0216C12.7841 14.1724 12.394 14.25 12 14.25C11.606 14.25 11.2159 14.1724 10.8519 14.0216C10.488 13.8709 10.1573 13.6499 9.87868 13.3713C9.6001 13.0927 9.37913 12.762 9.22836 12.3981C9.0776 12.0341 9 11.644 9 11.25",stroke:"#008710",strokeWidth:"1.125",strokeLinecap:"round"}),s().createElement(r.Path,{d:"M11.4375 15.75C11.4375 16.0607 11.6893 16.3125 12 16.3125C12.3107 16.3125 12.5625 16.0607 12.5625 15.75L11.4375 15.75ZM11.4375 14.25L11.4375 15.75L12.5625 15.75L12.5625 14.25L11.4375 14.25Z",fill:"#008710"}))},95007:(e,t,n)=>{"use strict";var r=n(56427),a=n(51609),s=n.n(a);r.SVG,r.Path,r.Path},25680:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(56427),a=n(51609),s=n.n(a);const o=s().createElement(r.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/SVG"},s().createElement(r.Path,{d:"M12 4.75C11.0479 4.75 10.1052 4.93753 9.22554 5.30187C8.34593 5.66622 7.5467 6.20025 6.87348 6.87348C6.20025 7.5467 5.66622 8.34593 5.30187 9.22554C4.93753 10.1052 4.75 11.0479 4.75 12C4.75 12.9521 4.93753 13.8948 5.30187 14.7745C5.66622 15.6541 6.20025 16.4533 6.87348 17.1265C7.5467 17.7997 8.34593 18.3338 9.22554 18.6981C10.1052 19.0625 11.0479 19.25 12 19.25C13.9228 19.25 15.7669 18.4862 17.1265 17.1265C18.4862 15.7669 19.25 13.9228 19.25 12C19.25 10.0772 18.4862 8.23312 17.1265 6.87348C15.7669 5.51384 13.9228 4.75 12 4.75ZM3.25 12C3.25 9.67936 4.17187 7.45376 5.81282 5.81282C7.45376 4.17187 9.67936 3.25 12 3.25C14.3206 3.25 16.5462 4.17187 18.1872 5.81282C19.8281 7.45376 20.75 9.67936 20.75 12C20.75 14.3206 19.8281 16.5462 18.1872 18.1872C16.5462 19.8281 14.3206 20.75 12 20.75C9.67936 20.75 7.45376 19.8281 5.81282 18.1872C4.17187 16.5462 3.25 14.3206 3.25 12Z",fill:"#008710"}),s().createElement(r.Rect,{x:"12.75",y:"9",width:"2.25",height:"6",fill:"#008710"}),s().createElement(r.Rect,{x:"9",y:"9",width:"2.25",height:"6",fill:"#008710"}))},96626:(e,t,n)=>{"use strict";var r=n(56427),a=n(51609),s=n.n(a);r.SVG,r.Path,r.Path},4416:(e,t,n)=>{"use strict";var r=n(56427),a=n(51609),s=n.n(a);r.SVG,r.Path,r.Rect},67205:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(56427),a=n(51609),s=n.n(a);const o=s().createElement(r.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s().createElement(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 10C12.5 11.3807 11.3807 12.5 10 12.5C8.61929 12.5 7.5 11.3807 7.5 10C7.5 8.61929 8.61929 7.5 10 7.5C11.3807 7.5 12.5 8.61929 12.5 10ZM14 10C14 12.2091 12.2091 14 10 14C7.79086 14 6 12.2091 6 10C6 7.79086 7.79086 6 10 6C12.2091 6 14 7.79086 14 10ZM16.75 21V19C16.75 17.4812 15.5188 16.25 14 16.25L6 16.25C4.48122 16.25 3.25 17.4812 3.25 19V21H4.75L4.75 19C4.75 18.3096 5.30964 17.75 6 17.75L14 17.75C14.6904 17.75 15.25 18.3096 15.25 19V21H16.75Z",fill:"currentColor"}),s().createElement(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M19.976 16.3599C21.2507 14.5642 22.0001 12.3695 22.0001 9.99969C22.0001 7.63128 21.2515 5.43769 19.9782 3.64258L18.754 4.50967C19.8537 6.05996 20.5001 7.95434 20.5001 9.99969C20.5001 12.0464 19.8528 13.9419 18.7519 15.4928L19.976 16.3599ZM17.3357 14.4897C18.2357 13.222 18.7648 11.6727 18.7648 9.99969C18.7648 8.32808 18.2365 6.77984 17.3379 5.51279L16.1137 6.37988C16.8387 7.4021 17.2648 8.65114 17.2648 9.99969C17.2648 11.3496 16.8378 12.5998 16.1116 13.6226L17.3357 14.4897Z",fill:"currentColor"}))},96865:(e,t,n)=>{"use strict";n.d(t,{AK:()=>d.AK,AZ:()=>m.AZ,E0:()=>o.A,FC:()=>d.FC,Hh:()=>g.Hh,Kf:()=>l.A,L9:()=>m.L9,N0:()=>d.N0,OO:()=>g.OO,Or:()=>m.Or,Qr:()=>u.Qr,R0:()=>r.A,Su:()=>g.Su,Tg:()=>A.T,Vo:()=>u.Vo,XE:()=>a.Ay,Yj:()=>d.Yj,Z2:()=>p.Z2,be:()=>s.A,cQ:()=>p.cQ,cT:()=>m.cT,cj:()=>u.cj,mA:()=>m.mA,ni:()=>u.ni,rh:()=>g.rh,rr:()=>c.A,uH:()=>m.uH,ud:()=>m.ud,wS:()=>d.wS,xA:()=>i.A,z3:()=>d.z3});n(51391),n(53664),n(87286);var r=n(31439),a=(n(57745),n(46219)),s=n(96657),o=n(7804),i=n(97784),c=n(66859),l=n(62614),u=n(91396),d=n(27802),p=n(13965),m=n(78836),g=n(72586),A=n(23101)},51391:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(85985),a=n(10067),s=n.n(a),o=n(48931);const i=s()("jetpack-ai-client:jwt"),c="jetpack-ai-jwt",l=12e4;async function u({apiNonce:e,siteId:t,expirationTime:n}={}){e=e||window.JP_CONNECTION_INITIAL_STATE.apiNonce,t=t||window.JP_CONNECTION_INITIAL_STATE.siteSuffix,n=n||l;const a=(0,r.Sy)(),s=localStorage.getItem(c);let u,d=null;if(s)try{d=JSON.parse(s)}catch(e){i("Error parsing token",e)}if(d&&d?.expire>Date.now())return i("Using cached token"),d;u=a?await(0,o.A)({path:"/wpcom/v2/sites/"+t+"/jetpack-openai-query/jwt",method:"POST"}):await(0,o.A)({path:"/jetpack/v4/jetpack-ai-jwt?_cacheBuster="+Date.now(),credentials:"same-origin",headers:{"X-WP-Nonce":e},method:"POST"});const p={token:u.token,blogId:a?t:u.blog_id,expire:Date.now()+n};return i("Storing new token"),localStorage.setItem(c,JSON.stringify(p)),p}},72586:(e,t,n)=>{"use strict";n.d(t,{Hh:()=>r.Hh,OO:()=>r.OO,Su:()=>r.Su,rh:()=>r.rh});var r=n(55166)},68641:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(21147);const a={paragraph:e=>e.replaceAll("\n","
    ")},s={emDelimiter:"_",headingStyle:"atx"},o={strikethrough:{filter:["del","s"],replacement:function(e){return"~~"+e+"~~"}}};class i{constructor({options:e={},rules:t={},keep:n=[],remove:a=[],fixes:i=[]}={}){this.fixes=i,this.turndownService=new r.A({...s,...e}),this.turndownService.keep(n),this.turndownService.remove(a);const c={...o,...t};for(const e in c)this.turndownService.addRule(e,c[e])}render({content:e}){const t=this.turndownService.turndown(e);return this.fixes.reduce(((e,t)=>a[t](e)),t)}}},55166:(e,t,n)=>{"use strict";n.d(t,{Hh:()=>i,OO:()=>r.A,Su:()=>a.S,rh:()=>c});var r=n(68641),a=n(31737);const s=new a.A,o=new r.A,i=({content:e,rules:t,extension:n})=>s.render({content:e,rules:t,extension:n}),c=({content:e})=>o.render({content:e})},31737:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,S:()=>s});var r=n(97158);const a=e=>e.replaceAll("\x3c!-- wp:list-item --\x3e","").replaceAll("\x3c!-- /wp:list-item --\x3e","").replaceAll("\x3c!-- wp:list --\x3e","").replaceAll("\x3c!-- /wp:list --\x3e","").replaceAll("
  • ","\x3c!-- wp:list-item --\x3e
  • ").replaceAll("
  • ","\x3c!-- /wp:list-item --\x3e").replaceAll("
      ",'\x3c!-- wp:list {"ordered":true} --\x3e
        ').replaceAll("
      ","
    \x3c!-- /wp:list --\x3e").replaceAll("
      ","\x3c!-- wp:list --\x3e
        ").replaceAll("
      ","
    \x3c!-- /wp:list --\x3e"),s={list:(e,t=!1)=>{const n=e.replace(/
  • \s+

    /g,"

  • ").replace(/<\/p>\s+<\/li>/g,"
  • ");return t?a(n):n},listItem:(e,t=!1)=>t?a(e.replace(/^<[ou]l>\s*/g,"").replace(/\s*<\/[ou]l>\s*$/g,"")):e,paragraph:(e,t=!1)=>t?e.replaceAll(/\s*<br \/>\s*/g,"
    "):e,table:(e,t=!1,{hasFixedLayout:n=!1})=>t?e.startsWith("\x3c!-- wp:table")?e:`\x3c!-- wp:table { "hasFixedLayout":${n?"true":"false"} } --\x3e${e}\x3c!-- /wp:table --\x3e`:e},o={breaks:!0},i=["list"];class c{constructor(e=o){this.markdownConverter=new r.A(e)}render({content:e,rules:t=i,extension:n=!1}){const r=this.markdownConverter.render(e);return t.reduce(((e,t)=>s[t](e,n)),r)}}},21902:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=()=>React.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"jetpack-ai-logo-generator-icon"},React.createElement("path",{d:"M6.99976 3.99994L7.84828 6.15141L9.99976 6.99994L7.84828 7.84847L6.99976 9.99994L6.15123 7.84847L3.99976 6.99994L6.15123 6.15141L6.99976 3.99994Z"}),React.createElement("path",{d:"M16 4L17.1314 6.86863L20 8L17.1314 9.13137L16 12L14.8686 9.13137L12 8L14.8686 6.86863L16 4Z"}),React.createElement("path",{d:"M11 10L12.4142 13.5858L16 15L12.4142 16.4142L11 20L9.58579 16.4142L6 15L9.58579 13.5858L11 10Z"}))},11574:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=()=>React.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"jetpack-ai-logo-generator-icon"},React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.9291 7.96836L10.7308 17.6492L6.2145 14.2911L7.10952 13.0873L10.4221 15.5504L16.7253 7.07333L17.9291 7.96836Z"}))},47621:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=()=>React.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"jetpack-ai-logo-generator-icon"},React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.2927 13.7485C18.5014 17.0423 15.5366 19.4901 12 19.4901C8.92508 19.4901 6.28236 17.6396 5.12469 14.9915L8.79556 12.8139L12.2508 14.0309C12.482 14.1123 12.7383 14.0756 12.9374 13.9327L15.8243 11.8601L15.9039 11.8992C16.1998 12.0451 16.6072 12.249 17.0533 12.4807C17.8331 12.8857 18.6946 13.3572 19.2927 13.7485ZM19.499 12.1129C18.9341 11.7788 18.3001 11.4379 17.7447 11.1495C17.287 10.9118 16.8698 10.7031 16.5672 10.5539C16.4158 10.4792 16.2928 10.4193 16.2074 10.378L16.1085 10.3303L16.0824 10.3177L16.0729 10.3132C15.8261 10.1954 15.5347 10.2214 15.3126 10.3809L12.3802 12.4861L8.9634 11.2827C8.75395 11.2089 8.52258 11.2318 8.3316 11.3451L4.65716 13.5248C4.55414 13.0294 4.5 12.5161 4.5 11.9901C4.5 7.84798 7.85786 4.49011 12 4.49011C16.1421 4.49011 19.5 7.84798 19.5 11.9901C19.5 12.0311 19.4997 12.072 19.499 12.1129ZM21 11.9901C21 16.9607 16.9706 20.9901 12 20.9901C7.02944 20.9901 3 16.9607 3 11.9901C3 7.01955 7.02944 2.99011 12 2.99011C16.9706 2.99011 21 7.01955 21 11.9901Z"}))},97034:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=()=>React.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"jetpack-ai-logo-generator-icon"},React.createElement("path",{d:"M7 6.49011L11 8.99011L7 11.4901V6.49011Z"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 2.99011C3.89543 2.99011 3 3.88554 3 4.99011V18.9901C3 20.0947 3.89543 20.9901 5 20.9901H19C20.1046 20.9901 21 20.0947 21 18.9901V4.99011C21 3.88554 20.1046 2.99011 19 2.99011H5ZM19 4.49011H5C4.72386 4.49011 4.5 4.71397 4.5 4.99011V15.6973L8.12953 13.0508C8.38061 12.8677 8.71858 12.8584 8.97934 13.0274L11.906 14.9243L15.4772 11.4524C15.7683 11.1694 16.2317 11.1694 16.5228 11.4524L19.5 14.3469V4.99011C19.5 4.71397 19.2761 4.49011 19 4.49011ZM4.5 18.9901V17.5537L8.59643 14.5667L11.5921 16.5084C11.8857 16.6987 12.2719 16.6607 12.5228 16.4167L16 13.0361L19.4772 16.4167L19.5 16.3933V18.9901C19.5 19.2663 19.2761 19.4901 19 19.4901H5C4.72386 19.4901 4.5 19.2663 4.5 18.9901Z"}))},95933:(e,t,n)=>{"use strict";n.d(t,{x:()=>s});var r=n(56427),a=n(27723);const __=a.__,s=({onCancel:e,onRetry:t})=>{const n=__("We are sorry. There was an error loading your Jetpack AI plan data. Please, try again.","jetpack");return React.createElement("div",{className:"jetpack-ai-logo-generator-modal__notice-message-wrapper"},React.createElement("div",{className:"jetpack-ai-logo-generator-modal__notice-message"},React.createElement("span",{className:"jetpack-ai-logo-generator-modal__loading-message"},n)),React.createElement("div",{className:"jetpack-ai-logo-generator-modal__notice-actions"},React.createElement(r.Button,{variant:"tertiary",onClick:e},__("Cancel","jetpack")),React.createElement(r.Button,{variant:"primary",onClick:t},__("Try again","jetpack"))))}},76194:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});var r=n(27723),a=n(51609),s=n.n(a),o=n(42669);const __=r.__,i=({state:e="loadingFeature"})=>{const t=__("Loading…","jetpack"),n=__("Analyzing your site to create the perfect logo…","jetpack"),r=__("Generating logo…","jetpack");return s().createElement("div",{className:"jetpack-ai-logo-generator-modal__loading-wrapper"},s().createElement(o.$,null),s().createElement("span",{className:"jetpack-ai-logo-generator-modal__loading-message"},"loadingFeature"===e&&t,"analyzing"===e&&n,"generating"===e&&r))}},64537:(e,t,n)=>{"use strict";n.d(t,{T:()=>I});var r=n(85985),a=n(56427),s=n(47143),o=n(27723),i=n(51113),c=n(53512),l=n(13022),u=n(10067),d=n.n(u),p=n(51609),m=n(61356),g=n(60674),A=n(88725),h=n(44461),E=n(19362),f=n(74423),b=n(95933),v=n(76194),C=n(32623),k=n(34706),y=n(11114),B=n(35421),w=n(48204);const __=o.__,_=d()("jetpack-ai-calypso:generator-modal"),I=({isOpen:e,onClose:t,onApplyLogo:n,onReload:o,siteDetails:u,context:d,placement:I})=>{const{tracks:j}=(0,r.st)(),{recordEvent:x}=j,{setSiteDetails:S,fetchAiAssistantFeature:Q,loadLogoHistory:N}=(0,s.useDispatch)(f.E),{getIsRequestingAiAssistantFeature:R}=(0,s.select)(f.E),[T,P]=(0,p.useState)(null),[L,M]=(0,p.useState)(),D=(0,p.useRef)(!0),F=(0,p.useRef)(!1),[O,z]=(0,p.useState)(!1),[U,H]=(0,p.useState)(!1),{selectedLogo:V,getAiAssistantFeature:q,generateFirstPrompt:G,generateLogo:$,setContext:W}=(0,A.A)(),{featureFetchError:Z,firstLogoPromptFetchError:J,clearErrors:Y}=(0,h.A)(),K=u?.ID,[X,ee]=(0,p.useState)(!1),{nextTierCheckoutURL:te}=(0,g.Q)(),ne=q(),re=(0,p.useCallback)((async()=>{try{P("analyzing"),x(m.vm,{context:d,tool:"first-prompt"});const e=await G();M(e),P("generating"),await $({prompt:e}),P(null)}catch(e){_("Error generating first logo",e),P(null)}}),[d,G,$]),ae=(0,p.useCallback)((async()=>{try{const e=!(0,E.NP)(String(K)),t=ne?.costs?.["jetpack-ai-logo-generator"]?.logo??m._S,n=1,r=ne?.currentTier?.value||0,a=ne?.usagePeriod?.requestsCount||0,s=!(1===r)&&!!ne?.nextTier&&!e&&r-a{W(d),x(m.iz,{context:d,placement:I}),ae()}),[W,d,I,ae]),oe=()=>{D.current=!0,t(),P(null),z(!1),H(!1),Y(),ee(!1),x(m.ub,{context:d,placement:I})},ie=e=>{ee(!0),n?.(e)},ce=()=>{x(m.$i,{context:d})};let le;return(0,p.useEffect)((()=>{if(K&&S(u),!F.current){R()||(F.current=!0,Q())}}),[K,u,S,R]),(0,p.useEffect)((()=>{e&&K&&ne?.costs&&D.current&&(D.current=!1,se())}),[e,K,se,ne]),le=T?React.createElement(v.N,{state:T}):Z||J?React.createElement(b.x,{onCancel:oe,onRetry:()=>{oe(),o?.()}}):O||U?React.createElement(B.R,{onCancel:oe,upgradeURL:te,reason:O?"feature":"requests"}):React.createElement(React.Fragment,null,!X&&React.createElement(y.X,{initialPrompt:L}),React.createElement(k.s,{logo:V,onApplyLogo:ie,logoAccepted:X,siteId:String(K)}),X?React.createElement("div",{className:"jetpack-ai-logo-generator__accept"},React.createElement(w.H,null),React.createElement("div",{className:"jetpack-ai-logo-generator__accept-actions"},React.createElement(a.Button,{variant:"primary",onClick:oe},__("Close","jetpack")))):React.createElement(React.Fragment,null,React.createElement(C.N,null),React.createElement("div",{className:"jetpack-ai-logo-generator__footer"},React.createElement(a.Button,{variant:"link",className:"jetpack-ai-logo-generator__feedback-button",href:"https://jetpack.com/redirect/?source=jetpack-ai-feedback",target:"_blank",onClick:ce},React.createElement("span",null,__("Provide feedback","jetpack")),React.createElement(i.A,{icon:c.A,className:"icon"}))))),React.createElement(React.Fragment,null,e&&React.createElement(a.Modal,{className:"jetpack-ai-logo-generator-modal",onRequestClose:oe,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,title:__("Jetpack AI Logo Generator","jetpack")},React.createElement("div",{className:(0,l.A)("jetpack-ai-logo-generator-modal__body",{"notice-modal":O||U||Z||J})},le)))}},32623:(e,t,n)=>{"use strict";n.d(t,{N:()=>c});var r=n(85985),a=n(56427),s=n(13022),o=n(61356),i=n(88725);const c=()=>{const{tracks:e}=(0,r.st)(),{recordEvent:t}=e,{logos:n,selectedLogo:c,setSelectedLogoIndex:l,context:u}=(0,i.A)(),d=e=>{const t=new URL(e);return t.searchParams.has("resize")||t.searchParams.append("resize","48,48"),t.toString()};return React.createElement("div",{className:"jetpack-ai-logo-generator__carousel"},n.map(((e,r)=>React.createElement(a.Button,{key:e.url,className:(0,s.A)("jetpack-ai-logo-generator__carousel-logo",{"is-selected":e.url===c.url}),onClick:()=>(e=>{t(o.Nt,{context:u,logos_count:n.length,selected_logo:e+1}),l(e)})(r)},React.createElement("img",{src:d(e.url),alt:e.description})))))}},42669:(e,t,n)=>{"use strict";n.d(t,{$:()=>s});var r=n(13022),a=n(26076);const s=({className:e=null})=>React.createElement("img",{src:a,alt:"Loading",className:(0,r.A)("jetpack-ai-logo-generator-modal__loader",e)})},34706:(e,t,n)=>{"use strict";n.d(t,{s:()=>B});var r=n(85985),a=n(56427),s=n(47143),o=n(27723),i=n(10067),c=n.n(i),l=n(11574),u=n(47621),d=n(97034),p=n(61356),m=n(88725),g=n(44461),A=n(19362),h=n(74423),E=n(42669);const __=o.__,f=c()("jetpack-ai-calypso:logo-presenter"),b=({siteId:e})=>{const{tracks:t}=(0,r.st)(),{recordEvent:n}=t,{saveLogo:o,selectedLogo:i,isSavingLogoToLibrary:c,logos:u,selectedLogoIndex:g,context:E}=(0,m.A)(),b=!!i?.mediaId,{loadLogoHistory:v}=(0,s.useDispatch)(h.E),C=__("Saving…","jetpack"),k=__("Saved","jetpack");return c||b?React.createElement(a.Button,{className:"jetpack-ai-logo-generator-modal-presenter__action"},React.createElement(a.Icon,{icon:c?React.createElement(d.A,null):React.createElement(l.A,null)}),React.createElement("span",{className:"action-text"},c?C:k)):React.createElement(a.Button,{className:"jetpack-ai-logo-generator-modal-presenter__action",onClick:async()=>{if(!b&&!c){n(p.h4,{context:E,logos_count:u.length,selected_logo:g?g+1:0});try{const t=await o(i);(0,A.H)({siteId:e,url:i.url,newUrl:t.mediaURL,mediaId:t.mediaId}),v(e)}catch(e){f("Error saving logo",e)}}}},React.createElement(a.Icon,{icon:React.createElement(d.A,null)}),React.createElement("span",{className:"action-text"},__("Save in Library","jetpack")))},v=({onApplyLogo:e})=>{const{tracks:t}=(0,r.st)(),{recordEvent:n}=t,{isSavingLogoToLibrary:s,selectedLogo:o,logos:i,selectedLogoIndex:c,context:l}=(0,m.A)();return React.createElement(a.Button,{className:"jetpack-ai-logo-generator-modal-presenter__action",onClick:async()=>{s||(n(p.Zb,{context:l,logos_count:i.length,selected_logo:null!=c?c+1:0}),e?.(o?.mediaId))},disabled:s||!o?.mediaId},React.createElement(a.Icon,{icon:React.createElement(u.A,null)}),React.createElement("span",{className:"action-text"},__("Use on block","jetpack")))},C=()=>React.createElement(React.Fragment,null,React.createElement(E.$,{className:"jetpack-ai-logo-generator-modal-presenter__logo"}),React.createElement("span",{className:"jetpack-ai-logo-generator-modal-presenter__loading-text"},__("Generating new logo…","jetpack"))),k=({siteId:e,logo:t,onApplyLogo:n})=>React.createElement(React.Fragment,null,React.createElement("img",{src:t.url,alt:t.description,className:"jetpack-ai-logo-generator-modal-presenter__logo"}),React.createElement("div",{className:"jetpack-ai-logo-generator-modal-presenter__action-wrapper"},React.createElement("span",{className:"jetpack-ai-logo-generator-modal-presenter__description"},t.description),React.createElement("div",{className:"jetpack-ai-logo-generator-modal-presenter__actions"},React.createElement(b,{siteId:e}),React.createElement(v,{onApplyLogo:n})))),y=({logo:e})=>React.createElement(React.Fragment,null,React.createElement("img",{src:e.url,alt:e.description,className:"jetpack-ai-logo-generator-modal-presenter__logo"}),React.createElement("div",{className:"jetpack-ai-logo-generator-modal-presenter__success-wrapper"},React.createElement(a.Icon,{icon:React.createElement(l.A,null)}),React.createElement("span",null,__("Your new logo was set to the block!","jetpack")))),B=({logo:e=null,loading:t=!1,onApplyLogo:n,logoAccepted:r=!1,siteId:a})=>{const{isRequestingImage:s}=(0,m.A)(),{saveToLibraryError:o,logoUpdateError:i}=(0,g.A)();if(!e)return null;let c;return c=t||s?React.createElement(C,null):r?React.createElement(y,{logo:e}):React.createElement(k,{siteId:String(a),logo:e,onApplyLogo:n}),React.createElement("div",{className:"jetpack-ai-logo-generator-modal-presenter__wrapper"},React.createElement("div",{className:"jetpack-ai-logo-generator-modal-presenter"},React.createElement("div",{className:"jetpack-ai-logo-generator-modal-presenter__content"},c),!r&&React.createElement("div",{className:"jetpack-ai-logo-generator-modal-presenter__rectangle"})),o&&React.createElement("div",{className:"jetpack-ai-logo-generator__prompt-error"},__("Error saving the logo to your library. Please try again.","jetpack")),i&&React.createElement("div",{className:"jetpack-ai-logo-generator__prompt-error"},__("Error applying the logo to your site. Please try again.","jetpack")))}},11114:(e,t,n)=>{"use strict";n.d(t,{X:()=>f});var r=n(85985),a=n(56427),s=n(27723),o=n(51113),i=n(19783),c=n(10067),l=n.n(c),u=n(51609),d=n(21902),p=n(61356),m=n(60674),g=n(88725),A=n(44461),h=n(64024);const __=s.__,E=l()("jetpack-ai-calypso:prompt-box"),f=({initialPrompt:e=""})=>{const{tracks:t}=(0,r.st)(),{recordEvent:n}=t,[c,l]=(0,u.useState)(e),[f,b]=(0,u.useState)(0),{enhancePromptFetchError:v,logoFetchError:C}=(0,A.A)(),{nextTierCheckoutURL:k,hasNextTier:y}=(0,m.Q)(),B=c?.length>=p.N3,{generateLogo:w,enhancePrompt:_,setIsEnhancingPrompt:I,isBusy:j,isEnhancingPrompt:x,site:S,getAiAssistantFeature:Q,requireUpgrade:N,context:R}=(0,g.A)(),T=__("Enhancing…","jetpack"),P=__("Enhance prompt","jetpack"),L=x?T:P,M=(0,u.useRef)(null),D=(0,u.useCallback)((async()=>{E("Enhancing prompt",c),I(!0),n(p.vm,{context:R,tool:"enhance-prompt"});try{const e=await _({prompt:c});l(e),I(!1)}catch(e){E("Error enhancing prompt",e),I(!1)}}),[R,_,c,I]),F=Q(String(S?.id||"")),O=F?.currentTier?.value||0,z=F?.usagePeriod?.requestsCount||0,U=1===O;(0,u.useEffect)((()=>{b(O-z<=0?0:O-z)}),[O,z]),(0,u.useEffect)((()=>{M.current&&M.current.textContent!==c&&(M.current.textContent=c)}),[c]);const H=(0,u.useCallback)((async()=>{n(p.vm,{context:R,tool:"image"}),w({prompt:c})}),[R,w,c]);return React.createElement("div",{className:"jetpack-ai-logo-generator__prompt"},React.createElement("div",{className:"jetpack-ai-logo-generator__prompt-header"},React.createElement("div",{className:"jetpack-ai-logo-generator__prompt-label"},__("Describe your site:","jetpack")),React.createElement("div",{className:"jetpack-ai-logo-generator__prompt-actions"},React.createElement(a.Button,{variant:"link",disabled:j||N||!B,onClick:D},React.createElement(d.A,null),React.createElement("span",null,L)))),React.createElement("div",{className:"jetpack-ai-logo-generator__prompt-query"},React.createElement("div",{ref:M,contentEditable:!j&&!N,suppressContentEditableWarning:!0,className:"prompt-query__input",onInput:e=>{l(e.target.textContent||"")},onPaste:e=>{e.preventDefault();const t=e.clipboardData.getData("text/plain"),n=window.getSelection();if(!n||!n.rangeCount)return;n.deleteFromDocument();n.getRangeAt(0).insertNode(document.createTextNode(t)),n.collapseToEnd(),l(M.current?.textContent||"")},"data-placeholder":__("Describe your site or simply ask for a logo specifying some details about it","jetpack")}),React.createElement(a.Button,{variant:"primary",className:"jetpack-ai-logo-generator__prompt-submit",onClick:H,disabled:j||N||!B},__("Generate","jetpack"))),React.createElement("div",{className:"jetpack-ai-logo-generator__prompt-footer"},!U&&!N&&React.createElement("div",{className:"jetpack-ai-logo-generator__prompt-requests"},React.createElement("div",null,(0,s.sprintf)( // translators: %u is the number of requests -__("%u requests remaining.","jetpack"),f)),y&&React.createElement(React.Fragment,null," ",React.createElement(r.Button,{variant:"link",href:k,target:"_blank",onClick:()=>{n(p.Bu,{context:R,placement:p.vk})}},__("Upgrade","jetpack")))," ",React.createElement(r.Tooltip,{text:__("Logo generation costs 10 requests; prompt enhancement costs 1 request each","jetpack"),placement:"bottom"},React.createElement(o.Z,{className:"prompt-footer__icon",icon:i.Z}))),!O&&N&&React.createElement(h.i,null),v&&React.createElement("div",{className:"jetpack-ai-logo-generator__prompt-error"},__("Error enhancing prompt. Please try again.","jetpack")),C&&React.createElement("div",{className:"jetpack-ai-logo-generator__prompt-error"},__("Error generating logo. Please try again.","jetpack"))))}},20525:(e,t,n)=>{"use strict";n.d(t,{i:()=>p});var a=n(13419),r=n(55609),s=n(69307),o=n(65736),i=n(61074),c=n(30797),l=n(59087),u=n(45335),d=n(99845);const __=o.__,p=()=>{const{tracks:e}=(0,a.z$)(),{recordEvent:t}=e,n=__("Upgrade","jetpack"),o=(0,s.createInterpolateElement)(__("Not enough requests left to generate a logo. Upgrade now to increase it.","jetpack"),{strong:React.createElement("strong",null)}),{nextTierCheckoutURL:p}=(0,u.M)(),{context:m}=(0,d.Z)();return React.createElement("div",{className:"jetpack-upgrade-plan-banner"},React.createElement("div",{className:"jetpack-upgrade-plan-banner__wrapper"},React.createElement("div",null,React.createElement(i.Z,{className:"jetpack-upgrade-plan-banner__icon",icon:c.Z}),React.createElement("span",{className:"jetpack-upgrade-plan-banner__banner-description"},o)),React.createElement(r.Button,{href:p,target:"_blank",className:"is-primary",onClick:()=>{t(l.Bu,{context:m,placement:l.kB})}},n)))}},40050:(e,t,n)=>{"use strict";n.d(t,{l:()=>c});var a=n(13419),r=n(55609),s=n(65736),o=n(59087),i=n(99845);const __=s.__,c=({onCancel:e,upgradeURL:t,reason:n})=>{const{tracks:s}=(0,a.z$)(),{recordEvent:c}=s,l=__("The logo generator requires a paid Jetpack AI plan. Upgrade your plan to access exclusive features, including logo generation. The upgrade will also increase the amount of requests you can use in all AI-powered features.","jetpack"),u=__("Not enough requests left to generate a logo. Upgrade your Jetpack AI to increase the amount of requests you can use in all AI-powered features.","jetpack"),{context:d}=(0,i.Z)();return React.createElement("div",{className:"jetpack-ai-logo-generator-modal__notice-message-wrapper"},React.createElement("div",{className:"jetpack-ai-logo-generator-modal__notice-message"},React.createElement("span",{className:"jetpack-ai-logo-generator-modal__loading-message"},"feature"===n?l:u)," ",React.createElement(r.Button,{variant:"link",href:"https://jetpack.com/ai/",target:"_blank"},__("Learn more about Jetpack AI.","jetpack"))),React.createElement("div",{className:"jetpack-ai-logo-generator-modal__notice-actions"},React.createElement(r.Button,{variant:"tertiary",onClick:e},__("Cancel","jetpack")),React.createElement(r.Button,{variant:"primary",href:t,target:"_blank",onClick:()=>{c(o.Bu,{context:d,placement:o.NS}),e()}},__("Upgrade","jetpack"))))}},57964:(e,t,n)=>{"use strict";n.d(t,{r:()=>c});var a=n(55609),r=n(65736),s=n(15381),o=n(3228),i=n(43250);const __=r.__,c=({className:e=null,onVisitBlankTarget:t})=>React.createElement("div",{className:(0,o.Z)("jetpack-ai-logo-generator-modal-visit-site-banner",e)},React.createElement("div",{className:"jetpack-ai-logo-generator-modal-visit-site-banner__jetpack-logo"},React.createElement("img",{src:i,alt:"Jetpack"})),React.createElement("div",{className:"jetpack-ai-logo-generator-modal-visit-site-banner__content"},React.createElement("strong",null,__("Do you want to know all the amazing things you can do with Jetpack AI?","jetpack")),React.createElement("span",null,__("Generate and tweak content, create forms, get feedback and much more.","jetpack")),React.createElement("div",null,React.createElement(a.Button,{variant:"link",href:"https://jetpack.com/redirect/?source=logo_generator_learn_more_about_jetpack_ai",target:"_blank",onClick:t||null},__("Learn more about Jetpack AI","jetpack"),React.createElement(a.Icon,{icon:s.Z,size:20})))))},59087:(e,t,n)=>{"use strict";n.d(t,{Bu:()=>u,C_:()=>l,DT:()=>c,LN:()=>o,N2:()=>A,NS:()=>p,RV:()=>s,bp:()=>a,hZ:()=>g,kB:()=>m,mG:()=>r,vk:()=>d,wl:()=>i});const a="jetpack_ai_logo_generator_modal_open",r="jetpack_ai_logo_generator_modal_close",s="jetpack_ai_logo_generator_generate",o="jetpack_ai_logo_generator_save",i="jetpack_ai_logo_generator_use",c="jetpack_ai_logo_generator_navigate",l="jetpack_ai_logo_generator_feedback",u="jetpack_ai_upgrade_button",d="input_footer",p="free_user_screen",m="upgrade_prompt",g=3,A=10},45335:(e,t,n)=>{"use strict";n.d(t,{M:()=>l});var a=n(13419),r=n(9818),s=n(51128),o=n.n(s),i=n(19493);const c=o()("ai-client:logo-generator:use-checkout"),l=()=>{const{nextTier:e}=(0,r.useSelect)((e=>({nextTier:e(i.G).getAiAssistantFeature().nextTier})),[]),t=new URL("https://jetpack.com/redirect/");t.searchParams.set("source","jetpack-ai-yearly-tier-upgrade-nudge"),t.searchParams.set("site",(0,a.lQ)()),t.searchParams.set("path",`jetpack_ai_yearly:-q-${e?.limit}`);const n=`${window?.Jetpack_Editor_Initial_State?.adminUrl}admin.php?redirect_to_referrer=1&page=my-jetpack#/add-jetpack-ai`,s=(0,a.Ug)()||(0,a.Wp)()?t.toString():n;return c("Next tier checkout URL: ",s),{nextTierCheckoutURL:s,hasNextTier:!!e}}},99845:(e,t,n)=>{"use strict";n.d(t,{Z:()=>A});var a=n(9818),r=n(51128),s=n.n(r),o=n(99196),i=n(70286),c=n(51464),l=n(2890),u=n(28368),d=n(33382),p=n(19493),m=n(87336);const g=s()("jetpack-ai-calypso:use-logo-generator"),A=()=>{const{setSelectedLogoIndex:e,setIsSavingLogoToLibrary:t,setIsApplyingLogo:n,setIsRequestingImage:r,setIsEnhancingPrompt:s,increaseAiAssistantRequestsCount:A,addLogoToHistory:h,setContext:E}=(0,a.useDispatch)(p.G),{logos:f,selectedLogoIndex:b,selectedLogo:v,siteDetails:C,isSavingLogoToLibrary:k,isApplyingLogo:y,isEnhancingPrompt:B,isBusy:w,isRequestingImage:_,getAiAssistantFeature:I,requireUpgrade:j,context:x}=(0,a.useSelect)((e=>{const t=e(p.G);return{logos:t.getLogos(),selectedLogoIndex:t.getSelectedLogoIndex(),selectedLogo:t.getSelectedLogo(),siteDetails:t.getSiteDetails(),isSavingLogoToLibrary:t.getIsSavingLogoToLibrary(),isApplyingLogo:t.getIsApplyingLogo(),isRequestingImage:t.getIsRequestingImage(),isEnhancingPrompt:t.getIsEnhancingPrompt(),isBusy:t.getIsBusy(),getAiAssistantFeature:t.getAiAssistantFeature,requireUpgrade:t.getRequireUpgrade(),context:t.getContext()}}),[]),{setFirstLogoPromptFetchError:S,setEnhancePromptFetchError:Q,setLogoFetchError:N,setSaveToLibraryError:R,setLogoUpdateError:P}=(0,m.Z)(),{generateImageWithParameters:Z}=(0,i.Z)(),{saveToMediaLibrary:T}=(0,c.Z)(),{ID:L=null,name:M=null,description:D=null}=C||{},F=L?String(L):null,z=I(F),O=z?.costs?.["jetpack-ai-logo-generator"]?.logo,U=(0,o.useCallback)((async function(){S(null),A();try{const e=await(0,l.Z)();if(!e||!e.token)throw new Error("No token provided");g("Generating first prompt for site");const t={question:`Generate a simple and short prompt asking for a logo based on the site's name and description, keeping the same language.\nExample for a site named "The minimalist fashion blog", described as "Daily inspiration for all things fashion": A logo for a minimalist fashion site focused on daily sartorial inspiration with a clean and modern aesthetic that is sleek and sophisticated.\nAnother example, now for a site called "El observatorio de aves", described as "Un sitio dedicado a nuestros compañeros y compañeras entusiastas de la observación de aves.": Un logo para un sitio web dedicado a la observación de aves, capturando la esencia de la naturaleza y la pasión por la avifauna en un diseño elegante y representativo, reflejando una estética natural y apasionada por la vida silvestre.\n\nSite name: ${M}\nSite description: ${D}`,feature:"jetpack-ai-logo-generator",stream:!1},n="https://public-api.wordpress.com/wpcom/v2/jetpack-ai-query",a={Authorization:`Bearer ${e.token}`,"Content-Type":"application/json"},r=await fetch(n,{method:"POST",headers:a,body:JSON.stringify(t)}).then((e=>e.json()));return r?.choices?.[0]?.message?.content}catch(e){throw A(-1),S(e),e}}),[S,A,M,D]),H=(0,o.useCallback)((async function({prompt:e}){N(null);try{const t=await(0,l.Z)();if(!t||!t.token)throw new Error("No token provided");g("Generating image with prompt",e);const n={prompt:`I NEED to test how the tool works with extremely simple prompts. DO NOT add any detail, just use it AS-IS:\nCreate a single text-free iconic vector logo that symbolically represents the user request, using abstract or symbolic imagery.\nThe design should be modern, with either a vivid color scheme full of gradients or a color scheme that's monochromatic. Use any of those styles based on the user request mood.\nEnsure the logo is set against a clean solid background.\nEnsure the logo works in small sizes.\nThe imagery in the logo should subtly hint at the mood of the user request but DO NOT use any text, letters, or the name of the site on the imagery.\nThe image should contain a single icon, without variations, color palettes or different versions.\n\nUser request:${e}`,feature:"jetpack-ai-logo-generator",response_format:"b64_json"};return await Z(n)}catch(e){throw N(e),e}}),[]),V=(0,o.useCallback)((async e=>{R(null);try{if(g("Saving logo for site"),e.mediaId)return{mediaId:e.mediaId,mediaURL:e.url};const n={mediaId:0,mediaURL:""};t(!0);const{id:a,url:r}=await T(e.url,"site-logo.png");return n.mediaId=parseInt(a),n.mediaURL=r,n}catch(e){throw R(e),e}finally{t(!1)}}),[t,R]),q=(0,o.useCallback)((async()=>{P(null);try{if(!F||!v)throw new Error("Missing siteId or logo");g("Applying logo for site",F),n(!0);const{mediaId:e}=v;if(!e)throw new Error("Missing mediaId");await(0,d.v)({siteId:F,imageId:String(e)})}catch(e){throw P(e),e}finally{n(!1)}}),[v,n,P,F]),G=(0,o.useCallback)((e=>{h(e),(0,u.NN)({...e,siteId:String(F)})}),[F,h,u.NN]),$=(0,o.useCallback)((async function({prompt:e}){g("Generating logo for site"),r(!0);try{if(!O)throw new Error("Missing cost information");let t;A(O);try{if(t=await H({prompt:e}),!t||!t.data.length)throw new Error("No image returned")}catch(e){throw A(-O),e}const n={url:"data:image/png;base64,"+t.data[0].b64_json,description:e};try{const t=await V(n);G({url:t.mediaURL,description:e,mediaId:t.mediaId})}catch(e){throw G(n),e}}finally{r(!1)}}),[O,A,V,G,H]);return{logos:f,selectedLogoIndex:b,selectedLogo:v,setSelectedLogoIndex:e,site:{id:F,name:M,description:D},generateFirstPrompt:U,saveLogo:V,applyLogo:q,generateImage:H,enhancePrompt:async function({prompt:e}){Q(null),A();try{const t=await(0,l.Z)();if(!t||!t.token)throw new Error("No token provided");g("Enhancing prompt",e);const n={messages:[{role:"system",content:"Enhance the prompt you receive.\nThe prompt is meant for generating a logo. Return the same prompt enhanced, and make each enhancement wrapped in brackets.\nDo not add any mention to text, letters, typography or the name of the site in the prompt.\nFor example: user's prompt: A logo for an ice cream shop. Returned prompt: A logo for an ice cream shop [that is pink] [and vibrant]."},{role:"user",content:e}],feature:"jetpack-ai-logo-generator",stream:!1},a="https://public-api.wordpress.com/wpcom/v2/jetpack-ai-query",r={Authorization:`Bearer ${t.token}`,"Content-Type":"application/json"},s=await fetch(a,{method:"POST",headers:r,body:JSON.stringify(n)}).then((e=>e.json()));return s?.choices?.[0]?.message?.content}catch(e){throw A(-1),Q(e),e}},storeLogo:G,generateLogo:$,setIsEnhancingPrompt:s,setIsRequestingImage:r,setIsSavingLogoToLibrary:t,setIsApplyingLogo:n,setContext:E,isEnhancingPrompt:B,isRequestingImage:_,isSavingLogoToLibrary:k,isApplyingLogo:y,isBusy:w,getAiAssistantFeature:I,requireUpgrade:j,context:x}}},87336:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(9818),r=n(19493);const s=()=>{const{setFeatureFetchError:e,setFirstLogoPromptFetchError:t,setEnhancePromptFetchError:n,setLogoFetchError:s,setSaveToLibraryError:o,setLogoUpdateError:i}=(0,a.useDispatch)(r.G),{featureFetchError:c,firstLogoPromptFetchError:l,enhancePromptFetchError:u,logoFetchError:d,saveToLibraryError:p,logoUpdateError:m}=(0,a.useSelect)((e=>{const t=e(r.G);return{featureFetchError:t.getFeatureFetchError(),firstLogoPromptFetchError:t.getFirstLogoPromptFetchError(),enhancePromptFetchError:t.getEnhancePromptFetchError(),logoFetchError:t.getLogoFetchError(),saveToLibraryError:t.getSaveToLibraryError(),logoUpdateError:t.getLogoUpdateError()}}),[]);return{setFeatureFetchError:e,setFirstLogoPromptFetchError:t,setEnhancePromptFetchError:n,setLogoFetchError:s,setSaveToLibraryError:o,setLogoUpdateError:i,clearErrors:()=>{e(null),t(null),n(null),s(null),o(null),i(null)},featureFetchError:c,firstLogoPromptFetchError:l,enhancePromptFetchError:u,logoFetchError:d,saveToLibraryError:p,logoUpdateError:m}}},31962:(e,t,n)=>{"use strict";n.d(t,{c:()=>a.c});var a=n(7612)},28368:(e,t,n)=>{"use strict";n.d(t,{NN:()=>s,qt:()=>o,u$:()=>c,wE:()=>i,zq:()=>l});var a=n(10555);const r=10;function s({siteId:e,url:t,description:n,mediaId:a}){const s=i(e),o={url:t,description:n,mediaId:a};return s.push(o),localStorage.setItem(`logo-history-${e}`,JSON.stringify(s.slice(-r))),o}function o({siteId:e,url:t,newUrl:n,mediaId:a}){const s=i(e),o=s.findIndex((e=>e.url===t));return o>-1&&(s[o].url=n,s[o].mediaId=a),localStorage.setItem(`logo-history-${e}`,JSON.stringify(s.slice(-r))),s[o]}function i(e){const t=localStorage.getItem(`logo-history-${e}`);let n=t?JSON.parse(t):[];return Array.isArray(n)||(n=[]),n=n.slice(-r),n=n.filter((e=>"object"==typeof e&&"string"==typeof e.url&&"string"==typeof e.description)).map((e=>({url:e.url,description:e.description,mediaId:e.mediaId}))),n}function c(e){return 0===i(e).length}async function l(e){const t=i(e).filter((({mediaId:e})=>void 0!==e)).map((({mediaId:t})=>new Promise(((n,r)=>{(0,a.D)({siteId:e,mediaId:t}).then((e=>n({mediaId:t,exists:e}))).catch((e=>r(e)))}))));try{(await Promise.all(t)).filter((({exists:e})=>!e)).forEach((({mediaId:t})=>function({siteId:e,mediaId:t}){const n=i(e),a=n.findIndex((e=>e.mediaId===t));-1!==a&&(n.splice(a,1),localStorage.setItem(`logo-history-${e}`,JSON.stringify(n)))}({siteId:e,mediaId:t})))}catch(e){}}},10555:(e,t,n)=>{"use strict";n.d(t,{D:()=>r});var a=n(87309);async function r({mediaId:e}){const t=Number(e);if(Number.isNaN(t))return!1;try{return await(0,a.Z)({path:`/wp/v2/media/${Number(e)}`,method:"GET"}),!0}catch(e){const t=e?.data?.status;if(404===t)return!1;throw e}}},33382:(e,t,n)=>{"use strict";n.d(t,{v:()=>r});var a=n(23330);async function r({siteId:e,imageId:t}){const n={site_logo:t,site_icon:t};return(0,a.Z)({path:`/sites/${String(e)}/settings`,apiVersion:"v2",apiNamespace:"wp/v2",body:n,query:"source=jetpack-ai",method:"POST"})}},23330:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(87309);const r=5;let s=0;async function o(e){if(s+=1,s>r)throw s-=1,new Error("Too many requests");return(0,a.Z)(e).finally((()=>{s-=1}))}},72218:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(28368),r=n(23330),s=n(61801);const o={storeAiAssistantFeature:e=>({type:s.i9,feature:e}),fetchAiAssistantFeature:()=>async({dispatch:e})=>{e({type:s.Ob});try{const t=await(0,r.Z)({path:"/wpcom/v2/jetpack-ai/ai-assistant-feature",query:"force=wpcom"});e(o.storeAiAssistantFeature(function(e){return{hasFeature:!!e["has-feature"],isOverLimit:!!e["is-over-limit"],requestsCount:e["requests-count"],requestsLimit:e["requests-limit"],requireUpgrade:!!e["site-require-upgrade"],errorMessage:e["error-message"],errorCode:e["error-code"],upgradeType:e["upgrade-type"],usagePeriod:{currentStart:e["usage-period"]?.["current-start"],nextStart:e["usage-period"]?.["next-start"],requestsCount:e["usage-period"]?.["requests-count"]||0},currentTier:e["current-tier"],nextTier:e["next-tier"],tierPlansEnabled:!!e["tier-plans-enabled"],costs:e.costs}}(t)))}catch(t){e({type:s.Hq,error:t})}},increaseAiAssistantRequestsCount:(e=1)=>({dispatch:t})=>{t({type:s.VK,count:e})},setAiAssistantFeatureRequireUpgrade:(e=!0)=>({type:s.Pu,requireUpgrade:e}),setTierPlansEnabled:(e=!0)=>({type:s.PJ,tierPlansEnabled:e}),setSiteDetails:e=>({type:s.qu,siteDetails:e}),setSelectedLogoIndex:e=>({type:s.LG,selectedLogoIndex:e}),addLogoToHistory:e=>({type:s.oF,logo:e}),setIsSavingLogoToLibrary:e=>({type:s.f5,isSavingLogoToLibrary:e}),setIsApplyingLogo:e=>({type:s.Vz,isApplyingLogo:e}),updateSelectedLogo:(e,t)=>({type:s.Jm,mediaId:e,url:t}),setIsRequestingImage:e=>({type:s.w6,isRequestingImage:e}),setIsEnhancingPrompt:e=>({type:s.Rd,isEnhancingPrompt:e}),loadLogoHistory(e){const t=(0,a.wE)(e);return{type:s.$8,history:t}},setFeatureFetchError:e=>({type:s.Hq,error:e}),setFirstLogoPromptFetchError:e=>({type:s.iA,error:e}),setEnhancePromptFetchError:e=>({type:s.Oq,error:e}),setLogoFetchError:e=>({type:s.dB,error:e}),setSaveToLibraryError:e=>({type:s.ZV,error:e}),setLogoUpdateError:e=>({type:s.Co,error:e}),setContext:e=>({type:s.u7,context:e})},i=o},61801:(e,t,n)=>{"use strict";n.d(t,{$8:()=>v,Co:()=>_,Hq:()=>C,Jm:()=>E,LG:()=>m,Np:()=>l,Ob:()=>r,Oq:()=>y,PJ:()=>i,Pu:()=>o,Rd:()=>b,Re:()=>d,VK:()=>s,Vz:()=>h,ZV:()=>w,aU:()=>u,dB:()=>B,f5:()=>A,i9:()=>a,iA:()=>k,oF:()=>g,qu:()=>c,u7:()=>p,w6:()=>f});const a="STORE_AI_ASSISTANT_FEATURE",r="REQUEST_AI_ASSISTANT_FEATURE",s="INCREASE_AI_ASSISTANT_REQUESTS_COUNT",o="SET_AI_ASSISTANT_FEATURE_REQUIRE_UPGRADE",i="SET_TIER_PLANS_ENABLED",c="SET_SITE_DETAILS",l=20,u=999999999,d=3,p="SET_CONTEXT",m="SET_SELECTED_LOGO_INDEX",g="ADD_LOGO_TO_HISTORY",A="SET_IS_SAVING_LOGO_TO_LIBRARY",h="SET_IS_APPLYING_LOGO",E="SAVE_SELECTED_LOGO",f="SET_IS_REQUESTING_IMAGE",b="SET_IS_ENHANCING_PROMPT",v="SET_SITE_HISTORY",C="SET_FEATURE_FETCH_ERROR",k="SET_FIRST_LOGO_PROMPT_FETCH_ERROR",y="SET_ENHANCE_PROMPT_FETCH_ERROR",B="SET_LOGO_FETCH_ERROR",w="SET_SAVE_TO_LIBRARY_ERROR",_="SET_LOGO_UPDATE_ERROR"},19493:(e,t,n)=>{"use strict";n.d(t,{G:()=>i});var a=n(9818),r=n(72218),s=n(84188),o=n(48804);const i="jetpack-ai/logo-generator",c=(0,a.createReduxStore)(i,{__experimentalUseThunks:!0,actions:r.Z,reducer:s.Z,selectors:o.Z});(0,a.register)(c)},93777:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(61801);const r={siteDetails:{},features:{aiAssistantFeature:{hasFeature:!0,isOverLimit:!1,requestsCount:0,requestsLimit:a.Np,requireUpgrade:!1,errorMessage:"",errorCode:"",upgradeType:"default",currentTier:{slug:"ai-assistant-tier-free",value:0,limit:20},usagePeriod:{currentStart:"",nextStart:"",requestsCount:0},nextTier:null,tierPlansEnabled:!1,_meta:{isRequesting:!1,asyncRequestCountdown:a.Re,asyncRequestTimerId:0,isRequestingImage:!1}}},history:[],selectedLogoIndex:0}},84188:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(59087),r=n(61801),s=n(93777);function o(e=s.Z,t){switch(t.type){case r.Ob:return{...e,_meta:{...e._meta??{},featureFetchError:null},features:{...e.features,aiAssistantFeature:{...e.features.aiAssistantFeature,_meta:{...e?.features?.aiAssistantFeature?._meta,isRequesting:!0,asyncRequestCountdown:r.Re,asyncRequestTimerId:0}}}};case r.i9:{const n={"jetpack-ai-logo-generator":{logo:a.N2}};return{...e,features:{...e.features,aiAssistantFeature:{costs:n,...t.feature,requireUpgrade:t.feature?.requireUpgrade||0===t.feature?.currentTier?.value,_meta:{...e?.features?.aiAssistantFeature?._meta,isRequesting:!1}}}}}case r.VK:{const n=e?.features?.aiAssistantFeature?.usagePeriod||{requestsCount:0},a=(e?.features?.aiAssistantFeature?.requestsCount||0)+(t.count??1);n.requestsCount+=t.count??1;const s=e?.features?.aiAssistantFeature?.currentTier?.value,o=void 0===s&&!e?.features?.aiAssistantFeature?.hasFeature||0===s,i=void 0===s&&e?.features?.aiAssistantFeature?.hasFeature||1===s;let c=e?.features?.aiAssistantFeature?.currentTier?.limit||r.Np;i?c=r.aU:o&&(c=e?.features?.aiAssistantFeature?.requestsLimit);const l=(i||o?a:e?.features?.aiAssistantFeature?.usagePeriod?.requestsCount||0)>=c,u=o||l&&null!==e?.features?.aiAssistantFeature?.nextTier;return{...e,features:{...e.features,aiAssistantFeature:{...e.features.aiAssistantFeature,isOverLimit:l,requestsCount:a,requireUpgrade:u,usagePeriod:{...n}}}}}case r.Pu:return{...e,features:{...e.features,aiAssistantFeature:{...e.features.aiAssistantFeature,requireUpgrade:t.requireUpgrade,...t.requireUpgrade?{isOverLimit:!0}:{}}}};case r.PJ:return{...e,features:{...e.features,aiAssistantFeature:{...e.features.aiAssistantFeature,tierPlansEnabled:t.tierPlansEnabled}}};case r.qu:return{...e,siteDetails:t.siteDetails};case r.LG:return{...e,selectedLogoIndex:t.selectedLogoIndex};case r.oF:{const n=[...e.history,t.logo];return{...e,history:n,selectedLogoIndex:n.length-1}}case r.f5:return{...e,_meta:{...e._meta??{},isSavingLogoToLibrary:t.isSavingLogoToLibrary}};case r.Vz:return{...e,_meta:{...e._meta??{},isApplyingLogo:t.isApplyingLogo}};case r.Jm:{const n=e.history?.[e.selectedLogoIndex];return{...e,history:[...e.history.slice(0,e.selectedLogoIndex),{...n,mediaId:t.mediaId,url:t.url},...e.history.slice(e.selectedLogoIndex+1)]}}case r.w6:return{...e,_meta:{...e._meta??{},isRequestingImage:t.isRequestingImage}};case r.Rd:return{...e,_meta:{...e._meta??{},isEnhancingPrompt:t.isEnhancingPrompt}};case r.$8:return{...e,history:t.history,selectedLogoIndex:t.history?.length?t.history.length-1:0};case r.Hq:return{...e,_meta:{...e._meta??{},featureFetchError:t.error}};case r.iA:return{...e,_meta:{...e._meta??{},firstLogoPromptFetchError:t.error}};case r.Oq:return{...e,_meta:{...e._meta??{},enhancePromptFetchError:t.error}};case r.dB:return{...e,_meta:{...e._meta??{},logoFetchError:t.error}};case r.ZV:return{...e,_meta:{...e._meta??{},saveToLibraryError:t.error}};case r.Co:return{...e,_meta:{...e._meta??{},logoUpdateError:t.error}};case r.u7:return{...e,_meta:{...e._meta??{},context:t.context}}}return e}},48804:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(59087);const r={getAiAssistantFeature(e){const t={...e.features.aiAssistantFeature};return delete t._meta,t},getSiteDetails:e=>e.siteDetails,getIsRequestingAiAssistantFeature:e=>e.features.aiAssistantFeature?._meta?.isRequesting??!1,getLogos:e=>e.history??[],getSelectedLogoIndex:e=>e.selectedLogoIndex??null,getSelectedLogo:e=>e.history?.[e.selectedLogoIndex]??null,getIsSavingLogoToLibrary:e=>e._meta?.isSavingLogoToLibrary??!1,getIsApplyingLogo:e=>e._meta?.isApplyingLogo??!1,getIsEnhancingPrompt:e=>e._meta?.isEnhancingPrompt??!1,getIsRequestingImage:e=>e._meta?.isRequestingImage??!1,getIsBusy:e=>r.getIsApplyingLogo(e)||r.getIsSavingLogoToLibrary(e)||r.getIsRequestingImage(e)||r.getIsEnhancingPrompt(e),getRequireUpgrade(e){const t=e.features.aiAssistantFeature,n=t?.costs?.["jetpack-ai-logo-generator"]?.logo??a.N2,r=t?.currentTier?.value||0,s=t?.usagePeriod?.requestsCount||0,o=1===r,i=!t?.nextTier;return e.features.aiAssistantFeature?.requireUpgrade||!o&&!i&&r-se._meta?.featureFetchError??null,getFirstLogoPromptFetchError:e=>e._meta?.firstLogoPromptFetchError??null,getEnhancePromptFetchError:e=>e._meta?.enhancePromptFetchError??null,getLogoFetchError:e=>e._meta?.logoFetchError??null,getSaveToLibraryError:e=>e._meta?.saveToLibraryError??null,getLogoUpdateError:e=>e._meta?.logoUpdateError??null,getContext:e=>e._meta?.context??""},s=r},56694:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(60400),r=n(51128),s=n.n(r),o=n(42194),i=n(2890),c=n(16700);const l=s()("jetpack-ai-client:suggestions-event-source");class u extends EventTarget{constructor(e){super(),this.fullMessage="",this.fullFunctionCall={name:"",arguments:""},this.isPromptClear=!1,this.controller=new AbortController,this.initEventSource(e)}async initEventSource({url:e,question:t,token:n,options:r={}}){if(!n)try{l("Token was not provided, requesting one..."),n=(await(0,i.Z)()).token}catch(e){return void this.processErrorEvent(e)}const s={};if(Number.isInteger(parseInt(r.postId))&&(s.post_id=+r.postId),!e){const t=new URL("https://public-api.wordpress.com/wpcom/v2/jetpack-ai-query");r?.fromCache&&t.searchParams.append("stream_cache","true"),e=t.toString(),l("URL not provided, using default: %o",e)}Array.isArray(t)?s.messages=t:s.question=t,r?.feature?.length&&(l("Feature: %o",r.feature),s.feature=r.feature),r?.functions?.length&&(l("Functions: %o",r.functions),s.functions=r.functions),r?.model?.length&&(l("Model: %o",r.model),s.model=r.model),this.errorUnclearPromptTriggered=!1,await(0,a.L)(e,{openWhenHidden:!0,method:"POST",headers:{"Content-type":"application/json",Authorization:"Bearer "+n},body:JSON.stringify(s),onclose:()=>{l("Stream closed")},onerror:e=>{throw this.processErrorEvent(e),e},onmessage:e=>{this.processEvent(e)},onopen:async e=>{if(e.ok)return;let t;throw e.status>=400&&e.status<=500&&![413,422,429].includes(e.status)&&(l("Connection error: %o",e),t=c.co,this.dispatchEvent(new CustomEvent(c.co,{detail:e}))),503===e.status&&(t=c.$u,this.dispatchEvent(new CustomEvent(c.$u))),413===e.status&&(t=c.cv,this.dispatchEvent(new CustomEvent(c.cv))),422===e.status&&(t=c.q4,this.dispatchEvent(new CustomEvent(c.q4))),429===e.status&&(t=c.$L,this.dispatchEvent(new CustomEvent(c.$L))),this.dispatchEvent(new CustomEvent(c.vF,{detail:(0,o.AB)(t)})),new Error},signal:this.controller.signal})}checkForUnclearPrompt(){if(this.isPromptClear)return;const e=this.fullMessage.replace(/__|(\*\*)/g,"");if(e.startsWith("JETPACK_AI_ERROR")){if(this.errorUnclearPromptTriggered)return;this.errorUnclearPromptTriggered=!0,this.dispatchEvent(new CustomEvent(c.bC)),l("Unclear error prompt dispatched"),this.dispatchEvent(new CustomEvent(c.vF,{detail:(0,o.AB)(c.bC)}))}else"JETPACK_AI_ERROR".startsWith(e)?l(this.fullMessage):this.isPromptClear=!0}close(){this.controller.abort()}processEvent(e){if("[DONE]"===e.data){if(this.errorUnclearPromptTriggered)return;if(this.fullMessage.length)return this.dispatchEvent(new CustomEvent("done",{detail:this.fullMessage})),void l("Done: %o",this.fullMessage);if(this.fullFunctionCall.name.length)return this.dispatchEvent(new CustomEvent("function_done",{detail:this.fullFunctionCall})),void l("Done: %o",this.fullFunctionCall)}let t;try{t=JSON.parse(e.data)}catch(t){return void l("Error parsing JSON",e,t)}const{delta:n}=t?.choices?.[0]??{delta:{content:null,function_call:null}},a=n.content,r=n.function_call;a&&(this.fullMessage+=a,this.checkForUnclearPrompt(),this.isPromptClear&&(this.dispatchEvent(new CustomEvent("chunk",{detail:a})),l("suggestion: %o",this.fullMessage),this.dispatchEvent(new CustomEvent("suggestion",{detail:this.fullMessage})))),r&&(null!=r.name&&(this.fullFunctionCall.name+=r.name),null!=r.arguments&&(this.fullFunctionCall.arguments+=r.arguments),this.dispatchEvent(new CustomEvent("functionCallChunk",{detail:this.fullFunctionCall})))}processErrorEvent(e){l("onerror: %o",e),this.dispatchEvent(new CustomEvent(c.co,{detail:e})),this.dispatchEvent(new CustomEvent(c.vF,{detail:(0,o.AB)(c.co)}))}}},16700:(e,t,n)=>{"use strict";n.d(t,{$L:()=>s,$u:()=>r,Y:()=>a.Y,bC:()=>l,co:()=>c,cv:()=>i,q4:()=>o,vF:()=>u});var a=n(44696);const r="error_service_unavailable",s="error_quota_exceeded",o="error_moderation",i="error_context_too_large",c="error_network",l="error_unclear_prompt",u="error_response"},6975:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(51128);const r=n.n(a)()("dops:analytics");let s,o;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const i={initialize:function(e,t,n){i.setUser(e,t),i.setSuperProps(n),i.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){o={ID:e,username:t}},setSuperProps:function(e){s=e},assignSuperProps:function(e){s=Object.assign(s||{},e)},mc:{bumpStat:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);r("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),r('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);i.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);r("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),r('Built stat "%s" in group "%s"',t,e);return n}(e,t);i.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){i.tracks.recordPageView(e),i.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,a,r,s,o){i.ga.recordPurchase(e,t,n,a,r,s,o)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(s&&(r("- Super Props: %o",s),t=Object.assign(t,s)),r('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):r('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};i.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){i.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){r("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};i.ga.initialized||(o&&(e={userId:"u-"+o.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),i.ga.initialized=!0)},recordPageView:function(e,t){i.ga.initialize(),r("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,a){i.ga.initialize();let s="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(s+=" [Option Label: "+n+"]"),void 0!==a&&(s+=" [Option Value: "+a+"]"),r(s),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,a)},recordPurchase:function(e,t,n,a,r,s,o){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:a,currency:o}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:r,quantity:s}),window.ga("ecommerce:send")}},identifyUser:function(){o&&window._tkq.push(["identifyUser",o.ID,o.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},c=i},64743:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>d});var a=n(61132),r=n(96483);function s(e){class t extends Error{constructor(...t){super(...t),this.name=e}}return t}const o=s("JsonParseError"),i=s("JsonParseAfterRedirectError"),c=s("Api404Error"),l=s("Api404AfterRedirectError"),u=s("FetchNetworkError");const d=new function(e,t){let n=e,s=e,o={"X-WP-Nonce":t},i={credentials:"same-origin",headers:o},c={method:"post",credentials:"same-origin",headers:Object.assign({},o,{"Content-type":"application/json"})},l=function(e){const t=e.split("?"),n=t.length>1?t[1]:"",a=n.length?n.split("&"):[];return a.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+a.join("&")};const u={setApiRoot(e){n=e},setWpcomOriginApiUrl(e){s=e},setApiNonce(e){o={"X-WP-Nonce":e},i={credentials:"same-origin",headers:o},c={method:"post",credentials:"same-origin",headers:Object.assign({},o,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{l=e},registerSite:(e,t,r)=>{const s={registration_nonce:e,no_iframe:!0};return(0,a.jetpackConfigHas)("consumer_slug")&&(s.plugin_slug=(0,a.jetpackConfigGet)("consumer_slug")),null!==t&&(s.redirect_uri=t),r&&(s.from=r),g(`${n}jetpack/v4/connection/register`,c,{body:JSON.stringify(s)}).then(p).then(m)},fetchAuthorizationUrl:e=>d((0,r.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),i).then(p).then(m),fetchSiteConnectionData:()=>d(`${n}jetpack/v4/connection/data`,i).then(m),fetchSiteConnectionStatus:()=>d(`${n}jetpack/v4/connection`,i).then(m),fetchSiteConnectionTest:()=>d(`${n}jetpack/v4/connection/test`,i).then(p).then(m),fetchUserConnectionData:()=>d(`${n}jetpack/v4/connection/data`,i).then(m),fetchUserTrackingSettings:()=>d(`${n}jetpack/v4/tracking/settings`,i).then(p).then(m),updateUserTrackingSettings:e=>g(`${n}jetpack/v4/tracking/settings`,c,{body:JSON.stringify(e)}).then(p).then(m),disconnectSite:()=>g(`${n}jetpack/v4/connection`,c,{body:JSON.stringify({isActive:!1})}).then(p).then(m),fetchConnectUrl:()=>d(`${n}jetpack/v4/connection/url`,i).then(p).then(m),unlinkUser:()=>g(`${n}jetpack/v4/connection/user`,c,{body:JSON.stringify({linked:!1})}).then(p).then(m),reconnect:()=>g(`${n}jetpack/v4/connection/reconnect`,c).then(p).then(m),fetchConnectedPlugins:()=>d(`${n}jetpack/v4/connection/plugins`,i).then(p).then(m),setHasSeenWCConnectionModal:()=>g(`${n}jetpack/v4/seen-wc-connection-modal`,c).then(p).then(m),fetchModules:()=>d(`${n}jetpack/v4/module/all`,i).then(p).then(m),fetchModule:e=>d(`${n}jetpack/v4/module/${e}`,i).then(p).then(m),activateModule:e=>g(`${n}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!0})}).then(p).then(m),deactivateModule:e=>g(`${n}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>g(`${n}jetpack/v4/module/${e}`,c,{body:JSON.stringify(t)}).then(p).then(m),updateSettings:e=>g(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(p).then(m),getProtectCount:()=>d(`${n}jetpack/v4/module/protect/data`,i).then(p).then(m),resetOptions:e=>g(`${n}jetpack/v4/options/${e}`,c,{body:JSON.stringify({reset:!0})}).then(p).then(m),activateVaultPress:()=>g(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(p).then(m),getVaultPressData:()=>d(`${n}jetpack/v4/module/vaultpress/data`,i).then(p).then(m),installPlugin:(e,t)=>{const a={slug:e,status:"active"};return t&&(a.source=t),g(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify(a)}).then(p).then(m)},activateAkismet:()=>g(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(p).then(m),getAkismetData:()=>d(`${n}jetpack/v4/module/akismet/data`,i).then(p).then(m),checkAkismetKey:()=>d(`${n}jetpack/v4/module/akismet/key/check`,i).then(p).then(m),checkAkismetKeyTyped:e=>g(`${n}jetpack/v4/module/akismet/key/check`,c,{body:JSON.stringify({api_key:e})}).then(p).then(m),fetchStatsData:e=>d(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),i).then(p).then(m).then(h),getPluginUpdates:()=>d(`${n}jetpack/v4/updates/plugins`,i).then(p).then(m),getPlans:()=>d(`${n}jetpack/v4/plans`,i).then(p).then(m),fetchSettings:()=>d(`${n}jetpack/v4/settings`,i).then(p).then(m),updateSetting:e=>g(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(p).then(m),fetchSiteData:()=>d(`${n}jetpack/v4/site`,i).then(p).then(m).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>d(`${n}jetpack/v4/site/features`,i).then(p).then(m).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>d(`${n}jetpack/v4/site/products`,i).then(p).then(m),fetchSitePurchases:()=>d(`${n}jetpack/v4/site/purchases`,i).then(p).then(m).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>d(`${n}jetpack/v4/site/benefits`,i).then(p).then(m).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>d(`${n}jetpack/v4/site/discount`,i).then(p).then(m).then((e=>e.data)),fetchSetupQuestionnaire:()=>d(`${n}jetpack/v4/setup/questionnaire`,i).then(p).then(m),fetchRecommendationsData:()=>d(`${n}jetpack/v4/recommendations/data`,i).then(p).then(m),fetchRecommendationsProductSuggestions:()=>d(`${n}jetpack/v4/recommendations/product-suggestions`,i).then(p).then(m),fetchRecommendationsUpsell:()=>d(`${n}jetpack/v4/recommendations/upsell`,i).then(p).then(m),fetchRecommendationsConditional:()=>d(`${n}jetpack/v4/recommendations/conditional`,i).then(p).then(m),saveRecommendationsData:e=>g(`${n}jetpack/v4/recommendations/data`,c,{body:JSON.stringify({data:e})}).then(p),fetchProducts:()=>d(`${n}jetpack/v4/products`,i).then(p).then(m),fetchRewindStatus:()=>d(`${n}jetpack/v4/rewind`,i).then(p).then(m).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>d(`${n}jetpack/v4/scan`,i).then(p).then(m).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>g(`${n}jetpack/v4/notice/${e}`,c,{body:JSON.stringify({dismissed:!0})}).then(p).then(m),fetchPluginsData:()=>d(`${n}jetpack/v4/plugins`,i).then(p).then(m),fetchIntroOffers:()=>d(`${n}jetpack/v4/intro-offers`,i).then(p).then(m),fetchVerifySiteGoogleStatus:e=>d(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,i).then(p).then(m),verifySiteGoogle:e=>g(`${n}jetpack/v4/verify-site/google`,c,{body:JSON.stringify({keyring_id:e})}).then(p).then(m),submitSurvey:e=>g(`${n}jetpack/v4/marketing/survey`,c,{body:JSON.stringify(e)}).then(p).then(m),saveSetupQuestionnaire:e=>g(`${n}jetpack/v4/setup/questionnaire`,c,{body:JSON.stringify(e)}).then(p).then(m),updateLicensingError:e=>g(`${n}jetpack/v4/licensing/error`,c,{body:JSON.stringify(e)}).then(p).then(m),updateLicenseKey:e=>g(`${n}jetpack/v4/licensing/set-license`,c,{body:JSON.stringify({license:e})}).then(p).then(m),getUserLicensesCounts:()=>d(`${n}jetpack/v4/licensing/user/counts`,i).then(p).then(m),getUserLicenses:()=>d(`${n}jetpack/v4/licensing/user/licenses`,i).then(p).then(m),updateLicensingActivationNoticeDismiss:e=>g(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,c,{body:JSON.stringify({last_detached_count:e})}).then(p).then(m),updateRecommendationsStep:e=>g(`${n}jetpack/v4/recommendations/step`,c,{body:JSON.stringify({step:e})}).then(p),confirmIDCSafeMode:()=>g(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,c).then(p),startIDCFresh:e=>g(`${n}jetpack/v4/identity-crisis/start-fresh`,c,{body:JSON.stringify({redirect_uri:e})}).then(p).then(m),migrateIDC:()=>g(`${n}jetpack/v4/identity-crisis/migrate`,c).then(p),attachLicenses:e=>g(`${n}jetpack/v4/licensing/attach-licenses`,c,{body:JSON.stringify({licenses:e})}).then(p).then(m),fetchSearchPlanInfo:()=>d(`${s}jetpack/v4/search/plan`,i).then(p).then(m),fetchSearchSettings:()=>d(`${s}jetpack/v4/search/settings`,i).then(p).then(m),updateSearchSettings:e=>g(`${s}jetpack/v4/search/settings`,c,{body:JSON.stringify(e)}).then(p).then(m),fetchSearchStats:()=>d(`${s}jetpack/v4/search/stats`,i).then(p).then(m),fetchWafSettings:()=>d(`${n}jetpack/v4/waf`,i).then(p).then(m),updateWafSettings:e=>g(`${n}jetpack/v4/waf`,c,{body:JSON.stringify(e)}).then(p).then(m),fetchWordAdsSettings:()=>d(`${n}jetpack/v4/wordads/settings`,i).then(p).then(m),updateWordAdsSettings:e=>g(`${n}jetpack/v4/wordads/settings`,c,{body:JSON.stringify(e)}),fetchSearchPricing:()=>d(`${s}jetpack/v4/search/pricing`,i).then(p).then(m),fetchMigrationStatus:()=>d(`${n}jetpack/v4/migration/status`,i).then(p).then(m),fetchBackupUndoEvent:()=>d(`${n}jetpack/v4/site/backup/undo-event`,i).then(p).then(m),fetchBackupPreflightStatus:()=>d(`${n}jetpack/v4/site/backup/preflight`,i).then(p).then(m)};function d(e,t){return fetch(l(e),t)}function g(e,t,n){return fetch(e,Object.assign({},t,n)).catch(A)}function h(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}Object.assign(this,u)};function p(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new l(e.redirected):new c})):e.json().catch((e=>g(e))).then((t=>{const n=new Error(`${t.message} (Status ${e.status})`);throw n.response=t,n.name="ApiError",n}))}function m(e){return e.json().catch((t=>g(t,e.redirected,e.url)))}function g(e,t,n){throw t?new i(n):new o}function A(){throw new u}},34972:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var a=n(30797),r=n(90496),s=n(79201),o=n(61074),i=n(3228),c=n(99196),l=n.n(c),u=n(75830);const d=e=>{switch(e){case"error":case"warning":default:return a.Z;case"info":return r.Z;case"success":return s.Z}},p=({level:e="warning",children:t,showIcon:n=!0,className:a})=>{const r=(0,i.Z)(u.Z.container,u.Z[`is-${e}`],a);return l().createElement("div",{className:r},n&&l().createElement("div",{className:u.Z["icon-wrapper"]},l().createElement(o.Z,{icon:d(e),className:u.Z.icon})),l().createElement("div",null,t))}},90526:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var a=n(82674),r=n.n(a),s=n(55609),o=n(65736),i=n(61074),c=n(15381),l=n(3228),u=n(99196),d=n.n(u),p=n(62103);const __=o.__,m=(0,u.forwardRef)(((e,t)=>{const{children:n,variant:a="primary",size:o="normal",weight:u="bold",icon:m,iconSize:g,disabled:A,isDestructive:h,isLoading:E,isExternalLink:f,className:b,text:v,fullWidth:C,...k}=e,y=(0,l.Z)(p.Z.button,b,{[p.Z.normal]:"normal"===o,[p.Z.small]:"small"===o,[p.Z.icon]:Boolean(m),[p.Z.loading]:E,[p.Z.regular]:"regular"===u,[p.Z["full-width"]]:C,[p.Z["is-icon-button"]]:Boolean(m)&&!n});k.ref=t;const B="normal"===o?20:16,w=f&&d().createElement(d().Fragment,null,d().createElement(i.Z,{size:B,icon:c.Z,className:p.Z["external-icon"]}),d().createElement(s.VisuallyHidden,{as:"span"},/* translators: accessibility text */ -__("(opens in a new tab)","jetpack"))),_=f?"_blank":void 0,I=n?.[0]&&null!==n[0]&&"components-tooltip"!==n?.[0]?.props?.className;return d().createElement(s.Button,r()({target:_,variant:a,className:(0,l.Z)(y,{"has-text":!!m&&I}),icon:f?void 0:m,iconSize:g,disabled:A,"aria-disabled":A,isDestructive:h,text:v},k),E&&d().createElement(s.Spinner,null),d().createElement("span",null,n),w)}));m.displayName="Button";const g=m},14203:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(82674),r=n.n(a),s=n(94333),o=n(69307),i=n(65736),c=n(90526),l=n(3396);const __=i.__,u=({buttonStyle:e="icon",textToCopy:t,onCopy:n,...a})=>{const[i,u]=(0,o.useState)(!1),d=(0,o.useRef)(),p=(0,s.useCopyToClipboard)(t,(()=>{d.current&&clearTimeout(d.current),u(!0),n?.(),d.current=setTimeout((()=>{u(!1),d.current=void 0}),3e3)}));(0,o.useEffect)((()=>()=>{d.current&&clearTimeout(d.current)}),[]);let m=null,g=null;"text"!==e&&(m=i?React.createElement(l.KM,null):React.createElement(l.Km,null));const A=__("Copy to clipboard","jetpack");return"icon"!==e&&(g=i?__("Copied!","jetpack"):A),React.createElement(c.Z,r()({"aria-label":A,icon:m,children:g,ref:p},a))}},60068:(e,t,n)=>{"use strict";n.d(t,{_:()=>s});var a=n(9818),r=n(53961);function s(){const e=(0,a.useDispatch)(r.store),t=(0,a.useSelect)((e=>e(r.store).getNotices()),[]);return{...e,createNotice:(t,n,a)=>e.createNotice(t,n,{type:"snackbar",...a}),createErrorNotice:(t,n)=>e.createErrorNotice(t,{type:"snackbar",...n}),createInfoNotice:(t,n)=>e.createInfoNotice(t,{type:"snackbar",...n}),createSuccessNotice:(t,n)=>e.createSuccessNotice(t,{type:"snackbar",...n}),createWarningNotice:(t,n)=>e.createWarningNotice(t,{type:"snackbar",...n}),getNotices:()=>t}}},67172:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(65736),r=n(3228),s=n(99196);n(53351);const __=a.__;class o extends s.Component{static defaultProps={"aria-hidden":"false",focusable:"true"};needsOffset(e,t){return["gridicons-arrow-left","gridicons-arrow-right","gridicons-calendar","gridicons-cart","gridicons-folder","gridicons-info","gridicons-info-outline","gridicons-posts","gridicons-star-outline","gridicons-star"].indexOf(e)>=0&&t%18==0}getSVGDescription(e){if("description"in this.props)return this.props.description;switch(e){default:return"";case"gridicons-audio":return __("Has audio.","jetpack");case"gridicons-arrow-left":return __("Arrow left","jetpack");case"gridicons-arrow-right":return __("Arrow right","jetpack");case"gridicons-calendar":return __("Is an event.","jetpack");case"gridicons-cart":return __("Is a product.","jetpack");case"chevron-down":return __("Show filters","jetpack");case"gridicons-comment":return __("Matching comment.","jetpack");case"gridicons-cross":return __("Close.","jetpack");case"gridicons-filter":return __("Toggle search filters.","jetpack");case"gridicons-folder":return __("Category","jetpack");case"gridicons-info":case"gridicons-info-outline":return __("Information.","jetpack");case"gridicons-image-multiple":return __("Has multiple images.","jetpack");case"gridicons-image":return __("Has an image.","jetpack");case"gridicons-page":return __("Page","jetpack");case"gridicons-post":return __("Post","jetpack");case"gridicons-jetpack-search":case"gridicons-search":return __("Magnifying Glass","jetpack");case"gridicons-tag":return __("Tag","jetpack");case"gridicons-video":return __("Has a video.","jetpack")}}renderIcon(e){switch(e){default:return null;case"gridicons-audio":return React.createElement("g",null,React.createElement("path",{d:"M8 4v10.184C7.686 14.072 7.353 14 7 14c-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V7h7v4.184c-.314-.112-.647-.184-1-.184-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V4H8z"}));case"gridicons-arrow-left":return React.createElement("g",null,React.createElement("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}));case"gridicons-arrow-right":return React.createElement("g",null,React.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"}));case"gridicons-block":return React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM4 12c0-4.418 3.582-8 8-8 1.848 0 3.545.633 4.9 1.686L5.686 16.9C4.633 15.545 4 13.848 4 12zm8 8c-1.848 0-3.546-.633-4.9-1.686L18.314 7.1C19.367 8.455 20 10.152 20 12c0 4.418-3.582 8-8 8z"}));case"gridicons-calendar":return React.createElement("g",null,React.createElement("path",{d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.105 0-2 .896-2 2v13c0 1.104.895 2 2 2h14c1.104 0 2-.896 2-2V6c0-1.104-.896-2-2-2zm0 15H5V8h14v11z"}));case"gridicons-cart":return React.createElement("g",null,React.createElement("path",{d:"M9 20c0 1.1-.9 2-2 2s-1.99-.9-1.99-2S5.9 18 7 18s2 .9 2 2zm8-2c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zm.396-5c.937 0 1.75-.65 1.952-1.566L21 5H7V4c0-1.105-.895-2-2-2H3v2h2v11c0 1.105.895 2 2 2h12c0-1.105-.895-2-2-2H7v-2h10.396z"}));case"gridicons-checkmark":return React.createElement("g",null,React.createElement("path",{d:"M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658C17.823 3.39 15.075 2 12 2 6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.528-.353-2.97-.966-4.266L11 17.768z"}));case"gridicons-chevron-left":return React.createElement("g",null,React.createElement("path",{d:"M16.443 7.41L15.0399 6L9.06934 12L15.0399 18L16.443 16.59L11.8855 12L16.443 7.41Z"}));case"gridicons-chevron-right":return React.createElement("g",null,React.createElement("path",{d:"M10.2366 6L8.8335 7.41L13.391 12L8.8335 16.59L10.2366 18L16.2072 12L10.2366 6Z"}));case"gridicons-chevron-down":return React.createElement("g",null,React.createElement("path",{d:"M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586"}));case"gridicons-comment":return React.createElement("g",null,React.createElement("path",{d:"M3 6v9c0 1.105.895 2 2 2h9v5l5.325-3.804c1.05-.75 1.675-1.963 1.675-3.254V6c0-1.105-.895-2-2-2H5c-1.105 0-2 .895-2 2z"}));case"gridicons-computer":return React.createElement("g",null,React.createElement("path",{d:"M20 2H4c-1.104 0-2 .896-2 2v12c0 1.104.896 2 2 2h6v2H7v2h10v-2h-3v-2h6c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm0 14H4V4h16v12z"}));case"gridicons-cross":return React.createElement("g",null,React.createElement("path",{d:"M18.36 19.78L12 13.41l-6.36 6.37-1.42-1.42L10.59 12 4.22 5.64l1.42-1.42L12 10.59l6.36-6.36 1.41 1.41L13.41 12l6.36 6.36z"}));case"gridicons-filter":return React.createElement("g",null,React.createElement("path",{d:"M10 19h4v-2h-4v2zm-4-6h12v-2H6v2zM3 5v2h18V5H3z"}));case"gridicons-folder":return React.createElement("g",null,React.createElement("path",{d:"M18 19H6c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2h7c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2z"}));case"gridicons-image":return React.createElement("g",null,React.createElement("path",{d:"M13 9.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5-.672 1.5-1.5 1.5-1.5-.672-1.5-1.5zM22 6v12c0 1.105-.895 2-2 2H4c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h16c1.105 0 2 .895 2 2zm-2 0H4v7.444L8 9l5.895 6.55 1.587-1.85c.798-.932 2.24-.932 3.037 0L20 15.426V6z"}));case"gridicons-image-multiple":return React.createElement("g",null,React.createElement("path",{d:"M15 7.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5S17.328 9 16.5 9 15 8.328 15 7.5zM4 20h14c0 1.105-.895 2-2 2H4c-1.1 0-2-.9-2-2V8c0-1.105.895-2 2-2v14zM22 4v12c0 1.105-.895 2-2 2H8c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zM8 4v6.333L11 7l4.855 5.395.656-.73c.796-.886 2.183-.886 2.977 0l.513.57V4H8z"}));case"gridicons-info":return React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}));case"gridicons-info-outline":return React.createElement("g",null,React.createElement("path",{d:"M13 9h-2V7h2v2zm0 2h-2v6h2v-6zm-1-7c-4.411 0-8 3.589-8 8s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8m0-2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2z"}));case"gridicons-jetpack-search":return React.createElement("g",null,React.createElement("path",{d:"M0 9.257C0 4.15 4.151 0 9.257 0c5.105 0 9.256 4.151 9.256 9.257a9.218 9.218 0 01-2.251 6.045l.034.033h1.053L24 22.01l-1.986 1.989-6.664-6.662v-1.055l-.033-.033a9.218 9.218 0 01-6.06 2.264C4.15 18.513 0 14.362 0 9.257zm4.169 1.537h4.61V1.82l-4.61 8.973zm5.547-3.092v8.974l4.61-8.974h-4.61z"}));case"gridicons-phone":return React.createElement("g",null,React.createElement("path",{d:"M16 2H8c-1.104 0-2 .896-2 2v16c0 1.104.896 2 2 2h8c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm-3 19h-2v-1h2v1zm3-2H8V5h8v14z"}));case"gridicons-pages":return React.createElement("g",null,React.createElement("path",{d:"M16 8H8V6h8v2zm0 2H8v2h8v-2zm4-6v12l-6 6H6c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zm-2 10V4H6v16h6v-4c0-1.105.895-2 2-2h4z"}));case"gridicons-posts":return React.createElement("g",null,React.createElement("path",{d:"M16 19H3v-2h13v2zm5-10H3v2h18V9zM3 5v2h11V5H3zm14 0v2h4V5h-4zm-6 8v2h10v-2H11zm-8 0v2h5v-2H3z"}));case"gridicons-search":return React.createElement("g",null,React.createElement("path",{d:"M21 19l-5.154-5.154C16.574 12.742 17 11.42 17 10c0-3.866-3.134-7-7-7s-7 3.134-7 7 3.134 7 7 7c1.42 0 2.742-.426 3.846-1.154L19 21l2-2zM5 10c0-2.757 2.243-5 5-5s5 2.243 5 5-2.243 5-5 5-5-2.243-5-5z"}));case"gridicons-star-outline":return React.createElement("g",null,React.createElement("path",{d:"M12 6.308l1.176 3.167.347.936.997.042 3.374.14-2.647 2.09-.784.62.27.963.91 3.25-2.813-1.872-.83-.553-.83.552-2.814 1.87.91-3.248.27-.962-.783-.62-2.648-2.092 3.374-.14.996-.04.347-.936L12 6.308M12 2L9.418 8.953 2 9.257l5.822 4.602L5.82 21 12 16.89 18.18 21l-2.002-7.14L22 9.256l-7.418-.305L12 2z"}));case"gridicons-star":return React.createElement("g",null,React.createElement("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"}));case"gridicons-tag":return React.createElement("g",null,React.createElement("path",{d:"M20 2.007h-7.087c-.53 0-1.04.21-1.414.586L2.592 11.5c-.78.78-.78 2.046 0 2.827l7.086 7.086c.78.78 2.046.78 2.827 0l8.906-8.906c.376-.374.587-.883.587-1.413V4.007c0-1.105-.895-2-2-2zM17.007 9c-1.105 0-2-.895-2-2s.895-2 2-2 2 .895 2 2-.895 2-2 2z"}));case"gridicons-video":return React.createElement("g",null,React.createElement("path",{d:"M20 4v2h-2V4H6v2H4V4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2v-2h2v2h12v-2h2v2c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zM6 16H4v-3h2v3zm0-5H4V8h2v3zm4 4V9l4.5 3-4.5 3zm10 1h-2v-3h2v3zm0-5h-2V8h2v3z"}));case"gridicons-lock":return React.createElement(React.Fragment,null,React.createElement("g",{id:"lock"},React.createElement("path",{d:"M18,8h-1V7c0-2.757-2.243-5-5-5S7,4.243,7,7v1H6c-1.105,0-2,0.895-2,2v10c0,1.105,0.895,2,2,2h12c1.105,0,2-0.895,2-2V10 C20,8.895,19.105,8,18,8z M9,7c0-1.654,1.346-3,3-3s3,1.346,3,3v1H9V7z M13,15.723V18h-2v-2.277c-0.595-0.346-1-0.984-1-1.723 c0-1.105,0.895-2,2-2s2,0.895,2,2C14,14.738,13.595,15.376,13,15.723z"})),React.createElement("g",{id:"Layer_1"}));case"gridicons-external":return React.createElement("g",null,React.createElement("path",{d:"M19 13v6c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2V7c0-1.105.895-2 2-2h6v2H5v12h12v-6h2zM13 3v2h4.586l-7.793 7.793 1.414 1.414L19 6.414V11h2V3h-8z"}))}}render(){const{size:e=24,className:t=""}=this.props,n=this.props.height||e,a=this.props.width||e,s=this.props.style||{height:n,width:a},o="gridicons-"+this.props.icon,i=(0,r.Z)("gridicon",o,t,{"needs-offset":this.needsOffset(o,e)}),c=this.getSVGDescription(o);return React.createElement("svg",{className:i,focusable:this.props.focusable,height:n,onClick:this.props.onClick,style:s,viewBox:"0 0 24 24",width:a,xmlns:"http://www.w3.org/2000/svg","aria-hidden":this.props["aria-hidden"]},c?React.createElement("desc",null,c):null,this.renderIcon(o))}}const i=o},69665:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(55609),r=n(3228),s=n(99196),o=n.n(s),i=n(90526),c=n(67172);n(72098);const l=e=>({"top-end":"top left",top:"top center","top-start":"top right","bottom-end":"bottom left",bottom:"bottom center","bottom-start":"bottom right"}[e]),u=({className:e="",iconClassName:t="",placement:n="bottom-end",animate:u=!0,iconCode:d="info-outline",iconSize:p=18,offset:m=10,title:g,children:A,popoverAnchorStyle:h="icon",forceShow:E=!1,wide:f=!1,inline:b=!0,shift:v=!1})=>{const[C,k]=(0,s.useState)(!1),y=(0,s.useCallback)((()=>k(!1)),[k]),B=(0,s.useCallback)((e=>{e.preventDefault(),k(!C)}),[C,k]),w={position:l(n),placement:n,animate:u,noArrow:!1,resize:!1,flip:!1,offset:m,focusOnMount:"container",onClose:y,className:"icon-tooltip-container",inline:b,shift:v},_="wrapper"===h,I=(0,r.Z)("icon-tooltip-wrapper",e),j={left:_?0:-(62-p/2)+"px"},x=_&&E;return o().createElement("div",{className:I,"data-testid":"icon-tooltip_wrapper"},!_&&o().createElement(i.Z,{variant:"link",onMouseDown:B},o().createElement(c.Z,{className:t,icon:d,size:p})),o().createElement("div",{className:(0,r.Z)("icon-tooltip-helper",{"is-wide":f}),style:j},(x||C)&&o().createElement(a.Popover,w,o().createElement("div",null,g&&o().createElement("div",{className:"icon-tooltip-title"},g),o().createElement("div",{className:"icon-tooltip-content"},A)))))}},3396:(e,t,n)=>{"use strict";n.d(t,{KM:()=>u,Km:()=>d,av:()=>p});var a=n(82674),r=n.n(a),s=n(55609),o=n(3228),i=n(56286),c=n(45460);const l=({className:e,size:t=24,viewBox:n="0 0 24 24",opacity:a=1,color:i="#2C3338",children:l})=>{const u={className:(0,o.Z)(c.Z.iconWrapper,e),width:t,height:t,viewBox:n,opacity:a,fill:void 0};return i&&(u.fill=i),React.createElement(s.SVG,r()({},u,{fillRule:"evenodd",clipRule:"evenodd",xmlns:"http://www.w3.org/2000/svg"}),React.createElement(s.G,{opacity:a},l))},u=({size:e,className:t=c.Z["checkmark-icon"],color:n})=>React.createElement(l,{className:t,size:e,color:n},React.createElement(s.Path,{d:"M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658C17.823 3.39 15.075 2 12 2 6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.528-.353-2.97-.966-4.266L11 17.768z"})),d=({size:e,className:t=c.Z["clipboard-icon"],color:n})=>React.createElement(l,{className:t,size:e,color:n},React.createElement(s.Path,{d:"M5.625 5.5H15.375C15.444 5.5 15.5 5.55596 15.5 5.625V15.375C15.5 15.444 15.444 15.5 15.375 15.5H5.625C5.55596 15.5 5.5 15.444 5.5 15.375V5.625C5.5 5.55596 5.55596 5.5 5.625 5.5ZM4 5.625C4 4.72754 4.72754 4 5.625 4H15.375C16.2725 4 17 4.72754 17 5.625V10V15.375C17 16.2725 16.2725 17 15.375 17C15.375 17 6.52246 17 5.625 17C4.72754 17 4 16.2725 4 15.375V5.625ZM18.5 17.2812V8.28125H20V17.2812C20 18.7995 18.7704 20 17.2511 20H6.25V18.5H17.2511C17.9409 18.5 18.5 17.9721 18.5 17.2812Z"}));const p=({serviceName:e,className:t,iconSize:n})=>React.createElement(i.ZP,{className:(0,o.Z)(c.Z.socialIcon,c.Z[e],t),icon:e,size:n||24})},78868:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var a=n(82674),r=n.n(a),s=n(65736),o=n(3228),i=n(99196),c=n.n(i);const __=s.__,l=({logoColor:e="#069e08",showText:t=!0,className:n,height:a=32,...s})=>{const i=t?"0 0 118 32":"0 0 32 32";return c().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:i,className:(0,o.Z)("jetpack-logo",n),"aria-labelledby":"jetpack-logo-title",height:a},s,{role:"img"}),c().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack")),c().createElement("path",{fill:e,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z M15,19H7l8-16V19z M17,29V13h8L17,29z"}),t&&c().createElement(c().Fragment,null,c().createElement("path",{d:"M41.3,26.6c-0.5-0.7-0.9-1.4-1.3-2.1c2.3-1.4,3-2.5,3-4.6V8h-3V6h6v13.4C46,22.8,45,24.8,41.3,26.6z"}),c().createElement("path",{d:"M65,18.4c0,1.1,0.8,1.3,1.4,1.3c0.5,0,2-0.2,2.6-0.4v2.1c-0.9,0.3-2.5,0.5-3.7,0.5c-1.5,0-3.2-0.5-3.2-3.1V12H60v-2h2.1V7.1 H65V10h4v2h-4V18.4z"}),c().createElement("path",{d:"M71,10h3v1.3c1.1-0.8,1.9-1.3,3.3-1.3c2.5,0,4.5,1.8,4.5,5.6s-2.2,6.3-5.8,6.3c-0.9,0-1.3-0.1-2-0.3V28h-3V10z M76.5,12.3 c-0.8,0-1.6,0.4-2.5,1.2v5.9c0.6,0.1,0.9,0.2,1.8,0.2c2,0,3.2-1.3,3.2-3.9C79,13.4,78.1,12.3,76.5,12.3z"}),c().createElement("path",{d:"M93,22h-3v-1.5c-0.9,0.7-1.9,1.5-3.5,1.5c-1.5,0-3.1-1.1-3.1-3.2c0-2.9,2.5-3.4,4.2-3.7l2.4-0.3v-0.3c0-1.5-0.5-2.3-2-2.3 c-0.7,0-2.3,0.5-3.7,1.1L84,11c1.2-0.4,3-1,4.4-1c2.7,0,4.6,1.4,4.6,4.7L93,22z M90,16.4l-2.2,0.4c-0.7,0.1-1.4,0.5-1.4,1.6 c0,0.9,0.5,1.4,1.3,1.4s1.5-0.5,2.3-1V16.4z"}),c().createElement("path",{d:"M104.5,21.3c-1.1,0.4-2.2,0.6-3.5,0.6c-4.2,0-5.9-2.4-5.9-5.9c0-3.7,2.3-6,6.1-6c1.4,0,2.3,0.2,3.2,0.5V13 c-0.8-0.3-2-0.6-3.2-0.6c-1.7,0-3.2,0.9-3.2,3.6c0,2.9,1.5,3.8,3.3,3.8c0.9,0,1.9-0.2,3.2-0.7V21.3z"}),c().createElement("path",{d:"M110,15.2c0.2-0.3,0.2-0.8,3.8-5.2h3.7l-4.6,5.7l5,6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"}),c().createElement("path",{d:"M58.5,21.3c-1.5,0.5-2.7,0.6-4.2,0.6c-3.6,0-5.8-1.8-5.8-6c0-3.1,1.9-5.9,5.5-5.9s4.9,2.5,4.9,4.9c0,0.8,0,1.5-0.1,2h-7.3 c0.1,2.5,1.5,2.8,3.6,2.8c1.1,0,2.2-0.3,3.4-0.7C58.5,19,58.5,21.3,58.5,21.3z M56,15c0-1.4-0.5-2.9-2-2.9c-1.4,0-2.3,1.3-2.4,2.9 C51.6,15,56,15,56,15z"})))}},32054:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(94333),r=n(49710);const s=["sm","md","lg"],o=(e,t)=>{const n=Array.isArray(e)?e:[e],o=Array.isArray(t)?t:[t],[i,c,l]=s,u={sm:(0,a.useMediaQuery)(r.Z[i]),md:(0,a.useMediaQuery)(r.Z[c]),lg:(0,a.useMediaQuery)(r.Z[l])};return n.map(((e,t)=>{const n=o[t];return n?((e,t,n)=>{const a=s.indexOf(e),r=a+1,o=t.includes("=");let i=[];return t.startsWith("<")&&(i=s.slice(0,o?r:a)),t.startsWith(">")&&(i=s.slice(o?a:r)),i?.length?i.some((e=>n[e])):n[e]})(e,n,u):u[e]}))}},22636:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(3228),r=n(99196),s=n.n(r),o=n(46409);const i=({children:e=null,width:t=null,height:n=null,className:r=""})=>s().createElement("div",{className:(0,a.Z)(o.Z.placeholder,r),style:{width:t,height:n}},e)},41342:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var a=n(30797),r=n(90496),s=n(79201),o=n(61074),i=n(39517),c=n(3228),l=n(99196),u=n.n(l),d=n(12077);const p=e=>{switch(e){case"error":case"warning":default:return a.Z;case"info":return r.Z;case"success":return s.Z}},m=({level:e="info",title:t,children:n,actions:a,hideCloseButton:r=!1,onClose:s})=>{const l=(0,c.Z)(d.Z.container,d.Z[`is-${e}`]);return u().createElement("div",{className:l},u().createElement("div",{className:d.Z["icon-wrapper"]},u().createElement(o.Z,{icon:p(e),className:d.Z.icon})),u().createElement("div",{className:d.Z["main-content"]},t&&u().createElement("div",{className:d.Z.title},t),n,a&&a.length>0&&u().createElement("div",{className:d.Z["action-bar"]},a.map(((e,t)=>u().createElement("div",{key:t,className:d.Z.action},e))))),!r&&u().createElement("button",{"aria-label":"close",className:d.Z["close-button"],onClick:s},u().createElement(o.Z,{icon:i.Z})))}},52947:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(98709);const r=(e,t={})=>{const n=(0,a.X)();return new Intl.NumberFormat(n,t).format(e)}},49777:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(28918);const r=({value:e="https://jetpack.com",bgColor:t,fgColor:n,level:r,includeMargin:s,imageSettings:o,renderAs:i="canvas",size:c=248})=>React.createElement(a.ZP,{value:e,size:c,bgColor:t,fgColor:n,level:r,includeMargin:s,imageSettings:o,renderAs:i})},43521:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(65736),r=n(3228),s=n(99196),o=n.n(s),i=n(52947);n(34086);const __=a.__,c=({totalCount:e,items:t=[],showLegendLabelBeforeCount:n=!1,sortByCount:a,className:c,tableCaption:l,legendTitle:u,recordTypeLabel:d,recordCountLabel:p})=>{const m=(0,s.useMemo)((()=>e||t.reduce(((e,{count:t})=>e+t),0)),[t,e]),g=(0,s.useMemo)((()=>a?[...t].sort(((e,t)=>"ascending"===a?e.count-t.count:t.count-e.count)):t),[t,a]);return o().createElement("div",{className:(0,r.Z)("record-meter-bar",c)},o().createElement("div",{className:"record-meter-bar__items","aria-hidden":"true"},g.map((({count:e,label:t,backgroundColor:n})=>{const a=(e/m*100).toPrecision(2);return o().createElement("div",{key:t,style:{backgroundColor:n,flexBasis:`${a}%`}})}))),o().createElement("div",{className:"record-meter-bar__legend","aria-hidden":"true"},u&&o().createElement("div",{className:"record-meter-bar__legend--title"},u),o().createElement("ul",{className:"record-meter-bar__legend--items"},g.map((({count:e,label:t,backgroundColor:a})=>{const r=(0,i.Z)(e);return o().createElement("li",{key:t,className:"record-meter-bar__legend--item"},o().createElement("div",{className:"record-meter-bar__legend--item-circle",style:{backgroundColor:a}}),!n&&o().createElement("span",null,o().createElement("span",{className:"record-meter-bar__legend--item-count"},r),o().createElement("span",{className:"record-meter-bar__legend--item-label"},t)),n&&o().createElement("span",null,o().createElement("span",{className:"record-meter-bar__legend--item-label record-meter-bar__legend--item-label-first"},t),o().createElement("span",{className:"record-meter-bar__legend--item-count"},"(",r,")")))})))),o().createElement("table",{className:"screen-reader-text"},o().createElement("caption",null,l||__("Summary of the records","jetpack")),o().createElement("tbody",null,o().createElement("tr",null,o().createElement("th",{scope:"col"},d||__("Record type","jetpack")),o().createElement("th",{scope:"col"},p||__("Record count","jetpack"))),g.map((({label:e,count:t})=>o().createElement("tr",{key:e},o().createElement("td",null,e),o().createElement("td",null,t)))))))}},45033:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(25162),r=n.n(a),s=n(99196),o=n.n(s);n(48026);const i=({color:e="#FFFFFF",className:t="",size:n=20})=>{const a=t+" jp-components-spinner",r={width:n,height:n,fontSize:n,borderTopColor:e},s={borderTopColor:e,borderRightColor:e};return o().createElement("div",{className:a},o().createElement("div",{className:"jp-components-spinner__outer",style:r},o().createElement("div",{className:"jp-components-spinner__inner",style:s})))};i.propTypes={color:r().string,className:r().string,size:r().number};const c=i},66017:(e,t,n)=>{"use strict";n.d(t,{h:()=>a,s:()=>r});const a={"headline-medium":"h1","headline-small":"h2","headline-small-regular":"h2","title-medium":"h3","title-medium-semi-bold":"h3","title-small":"h4",body:"p","body-small":"p","body-extra-small":"p","body-extra-small-bold":"p",label:"p"},r=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},45106:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>d});var a=n(82674),r=n.n(a),s=n(3228),o=n(99196),i=n.n(o),c=n(66017),l=n(85837);const u=(0,o.forwardRef)((({variant:e="body",children:t,component:n,className:a,...u},d)=>{const p=n||c.h[e]||"span",m=(0,o.useMemo)((()=>c.s.reduce(((e,t)=>(void 0!==u[t]&&(e+=l.Z[`${t}-${u[t]}`]+" ",delete u[t]),e)),"")),[u]);return u.ref=d,i().createElement(p,r()({className:(0,s.Z)(l.Z.reset,l.Z[e],a,m)},u),t)}));u.displayName="Text";const d=u},88275:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>p});var a=n(99196),r=n.n(a),s=n(93468);const o={"--font-headline-medium":"48px","--font-headline-small":"36px","--font-title-medium":"24px","--font-title-small":"20px","--font-body":"16px","--font-body-small":"14px","--font-body-extra-small":"12px","--font-title-large":"var(--font-headline-small)","--font-label":"var(--font-body-extra-small)"},i={"--jp-black":"#000000","--jp-black-80":"#2c3338","--jp-white":"#ffffff","--jp-white-off":"#f9f9f6","--jp-gray":"#dcdcde","--jp-gray-0":"#F6F7F7","--jp-gray-5":"var(--jp-gray)","--jp-gray-10":"#C3C4C7","--jp-gray-20":"#A7AAAD","--jp-gray-40":"#787C82","--jp-gray-50":"#646970","--jp-gray-60":"#50575E","--jp-gray-70":"#3C434A","--jp-gray-80":"#2C3338","--jp-gray-90":"#1d2327","--jp-gray-off":"#e2e2df","--jp-red-0":"#F7EBEC","--jp-red-5":"#FACFD2","--jp-red-40":"#E65054","--jp-red-50":"#D63638","--jp-red-60":"#B32D2E","--jp-red-70":"#8A2424","--jp-red-80":"#691C1C","--jp-red":"#d63639","--jp-yellow-5":"#F5E6B3","--jp-yellow-10":"#F2CF75","--jp-yellow-20":"#F0C930","--jp-yellow-30":"#DEB100","--jp-yellow-40":"#C08C00","--jp-yellow-50":"#9D6E00","--jp-yellow-60":"#7D5600","--jp-blue-20":"#68B3E8","--jp-blue-40":"#1689DB","--jp-pink":"#C9356E","--jp-green-0":"#f0f2eb","--jp-green-5":"#d0e6b8","--jp-green-10":"#9dd977","--jp-green-20":"#64ca43","--jp-green-30":"#2fb41f","--jp-green-40":"#069e08","--jp-green-50":"#008710","--jp-green-60":"#007117","--jp-green-70":"#005b18","--jp-green-80":"#004515","--jp-green-90":"#003010","--jp-green-100":"#001c09","--jp-green":"#069e08","--jp-green-primary":"var( --jp-green-40 )","--jp-green-secondary":"var( --jp-green-30 )"},c={"--jp-border-radius":"4px","--jp-menu-border-height":"1px","--jp-underline-thickness":"2px"},l={"--spacing-base":"8px"},u={},d=(e,t,n)=>{const a={...o,...i,...c,...l};for(const t in a)e.style.setProperty(t,a[t]);n&&e.classList.add(s.Z.global),t&&(u[t]={provided:!0,root:e})},p=({children:e=null,targetDom:t,id:n,withGlobalStyles:s=!0})=>{const o=(0,a.useRef)(),i=u?.[n]?.provided;return(0,a.useLayoutEffect)((()=>{if(!i)return t?d(t,n,s):void(o?.current&&d(o.current,n,s))}),[t,o,i,n,s]),t?r().createElement(r().Fragment,null,e):r().createElement("div",{ref:o},e)}},98709:(e,t,n)=>{"use strict";n.d(t,{X:()=>r});var a=n(69771);const r=()=>{const{l10n:{locale:e}}=(0,a.getSettings)();if(e)return(e=>{const t=e.match(/^([a-z]{2,3})(_[a-z]{2}|_[a-z][a-z0-9]{4,7})?(?:_.*)?$/i);return t?`${t[1]}${t[2]?t[2]:""}`.replace("_","-"):"en-US"})(e);return window?.window?.navigator?.language??"en-US"}},6895:(e,t,n)=>{"use strict";function a(e,t={}){const n={};let a;if("undefined"!=typeof window&&(a=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}else n.source=encodeURIComponent(e);for(const e in t)n[e]=encodeURIComponent(t[e]);!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=jetpack_redirects.currentBlogID??jetpack_redirects.currentSiteRawUrl),a&&(n.calypso_env=a);return"https://jetpack.com/redirect/?"+Object.keys(n).map((e=>e+"="+n[e])).join("&")}n.d(t,{Z:()=>a})},61132:(e,t,n)=>{let a={};try{a=n(92787)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),a={missingConfig:!0}}const r=e=>a.hasOwnProperty(e);e.exports={jetpackConfigHas:r,jetpackConfigGet:e=>{if(!r(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return a[e]}}},31294:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(64743),r=n(9818),s=n(99196),o=n(80428);const i=window?.JP_CONNECTION_INITIAL_STATE?window.JP_CONNECTION_INITIAL_STATE:{},c=({registrationNonce:e=i.registrationNonce,apiRoot:t=i.apiRoot,apiNonce:n=i.apiNonce,redirectUri:c,autoTrigger:l,from:u,skipUserConnection:d}={})=>{const{registerSite:p,connectUser:m,refreshConnectedPlugins:g}=(0,r.useDispatch)(o.t),A=(0,r.useSelect)((e=>e(o.t).getRegistrationError())),{siteIsRegistering:h,userIsConnecting:E,userConnectionData:f,connectedPlugins:b,connectionErrors:v,isRegistered:C,isUserConnected:k,hasConnectedOwner:y,isOfflineMode:B}=(0,r.useSelect)((e=>({siteIsRegistering:e(o.t).getSiteIsRegistering(),userIsConnecting:e(o.t).getUserIsConnecting(),userConnectionData:e(o.t).getUserConnectionData(),connectedPlugins:e(o.t).getConnectedPlugins(),connectionErrors:e(o.t).getConnectionErrors(),isOfflineMode:e(o.t).getIsOfflineMode(),...e(o.t).getConnectionStatus()}))),w=()=>d?c?(window.location=c,Promise.resolve(c)):Promise.resolve():m({from:u,redirectUri:c}),_=t=>(t&&t.preventDefault(),C?w():p({registrationNonce:e,redirectUri:c,from:u}).then((()=>w())));return(0,s.useEffect)((()=>{a.ZP.setApiRoot(t),a.ZP.setApiNonce(n)}),[t,n]),(0,s.useEffect)((()=>{!l||h||E||_()}),[]),{handleRegisterSite:_,handleConnectUser:w,refreshConnectedPlugins:g,isRegistered:C,isUserConnected:k,siteIsRegistering:h,userIsConnecting:E,registrationError:A,userConnectionData:f,hasConnectedOwner:y,connectedPlugins:b,connectionErrors:v,isOfflineMode:B}}},27523:(e,t,n)=>{"use strict";n.d(t,{LI:()=>s,N4:()=>i,Qo:()=>d,T1:()=>l,TS:()=>u,ZP:()=>k,b5:()=>m,i6:()=>r,qJ:()=>g,qV:()=>c,r7:()=>o,wQ:()=>p});var a=n(64743);const r="SET_CONNECTION_STATUS",s="SET_CONNECTION_STATUS_IS_FETCHING",o="SET_SITE_IS_REGISTERING",i="SET_USER_IS_CONNECTING",c="SET_REGISTRATION_ERROR",l="CLEAR_REGISTRATION_ERROR",u="SET_AUTHORIZATION_URL",d="DISCONNECT_USER_SUCCESS",p="SET_CONNECTED_PLUGINS",m="SET_CONNECTION_ERRORS",g="SET_IS_OFFLINE_MODE",A=e=>({type:r,connectionStatus:e}),h=e=>({type:o,isRegistering:e}),E=e=>({type:i,isConnecting:e}),f=e=>({type:c,registrationError:e}),b=()=>({type:l}),v=e=>({type:u,authorizationUrl:e}),C=e=>({type:p,connectedPlugins:e});const k={setConnectionStatus:A,setConnectionStatusIsFetching:e=>({type:s,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:h,setUserIsConnecting:E,setRegistrationError:f,clearRegistrationError:b,setAuthorizationUrl:v,registerSite:function*({registrationNonce:e,redirectUri:t,from:n=""}){yield b(),yield h(!0);try{const a=yield{type:"REGISTER_SITE",registrationNonce:e,redirectUri:t,from:n};return yield A({isRegistered:!0}),yield v(a.authorizeUrl),yield h(!1),Promise.resolve(a)}catch(e){return yield f(e),yield h(!1),Promise.reject(e)}},connectUser:function*({from:e,redirectFunc:t,redirectUri:n}={}){yield E(!0),yield{type:"CONNECT_USER",from:e,redirectFunc:t,redirectUri:n}},disconnectUserSuccess:()=>({type:d}),setConnectedPlugins:C,refreshConnectedPlugins:()=>async({dispatch:e})=>await new Promise((t=>a.ZP.fetchConnectedPlugins().then((n=>{e(C(n)),t(n)})))),setConnectionErrors:e=>({type:m,connectionErrors:e}),setIsOfflineMode:e=>({type:g,isOfflineMode:e})}},31432:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(64743),r=n(9818),s=n(27057);const o={FETCH_AUTHORIZATION_URL:({redirectUri:e})=>a.ZP.fetchAuthorizationUrl(e),REGISTER_SITE:({registrationNonce:e,redirectUri:t,from:n})=>a.ZP.registerSite(e,t,n),CONNECT_USER:(0,r.createRegistryControl)((({resolveSelect:e})=>({from:t,redirectFunc:n,redirectUri:a}={})=>new Promise(((r,o)=>{e(s.Z).getAuthorizationUrl(a).then((e=>{const a=n||(e=>window.location.assign(e)),s=new URL(e);t&&s.searchParams.set("from",encodeURIComponent(t));const o=s.toString();a(o),r(o)})).catch((e=>{o(e)}))}))))}},41479:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(9818),r=n(27523);const s=(0,a.combineReducers)({connectionStatus:(e={},t)=>{switch(t.type){case r.i6:return{...e,...t.connectionStatus};case r.Qo:return{...e,isUserConnected:!1}}return e},connectionStatusIsFetching:(e=!1,t)=>t.type===r.LI?t.isFetching:e,siteIsRegistering:(e=!1,t)=>t.type===r.r7?t.isRegistering:e,userIsConnecting:(e=!1,t)=>t.type===r.N4?t.isConnecting:e,registrationError:(e,t)=>{switch(t.type){case r.T1:return!1;case r.qV:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===r.TS?t.authorizationUrl:e,userConnectionData:(e,t)=>(t.type,e),connectedPlugins:(e={},t)=>t.type===r.wQ?t.connectedPlugins:e,connectionErrors:(e={},t)=>t.type===r.b5?t.connectionErrors:e,isOfflineMode:(e=!1,t)=>t.type===r.qJ?t.isConnecting:e})},77728:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9818),r=n(27523),s=n(27057);const o={...{getAuthorizationUrl:{isFulfilled:(e,...t)=>{const n=Boolean(e.authorizationUrl),r=(0,a.select)(s.Z).hasFinishedResolution("getAuthorizationUrl",t);return n&&!r&&(0,a.dispatch)(s.Z).finishResolution("getAuthorizationUrl",t),n},*fulfill(e){const t=yield r.ZP.fetchAuthorizationUrl(e);yield r.ZP.setAuthorizationUrl(t.authorizeUrl)}}}}},82725:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={...{getConnectionStatus:e=>e.connectionStatus||{},getConnectionStatusIsFetching:()=>!1,getSiteIsRegistering:e=>e.siteIsRegistering||!1,getUserIsConnecting:e=>e.userIsConnecting||!1,getRegistrationError:e=>e.registrationError||!1,getAuthorizationUrl:e=>e.authorizationUrl||!1,getUserConnectionData:e=>e.userConnectionData||!1,getConnectedPlugins:e=>e.connectedPlugins||[],getConnectionErrors:e=>e.connectionErrors||[],getIsOfflineMode:e=>e.isOfflineMode||!1,getWpcomUser:e=>e?.userConnectionData?.currentUser?.wpcomUser,getBlogId:e=>e?.userConnectionData?.currentUser?.blogId}}},13535:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(9818);class r{static store=null;static mayBeInit(e,t){null===r.store&&(r.store=(0,a.createReduxStore)(e,t),(0,a.register)(r.store))}}const s=r},27057:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a="jetpack-connection"},80428:(e,t,n)=>{"use strict";n.d(t,{t:()=>l.Z});var a=n(27523),r=n(31432),s=n(41479),o=n(77728),i=n(82725),c=n(13535),l=n(27057);const u=window.JP_CONNECTION_INITIAL_STATE;u||console.error("Jetpack Connection package: Initial state is missing. Check documentation to see how to use the Connection composer package to set up the initial state."),c.Z.mayBeInit(l.Z,{__experimentalUseThunks:!0,reducer:s.Z,actions:a.ZP,selectors:i.Z,resolvers:o.Z,controls:r.Z,initialState:u||{}})},81050:(e,t,n)=>{"use strict";n.d(t,{PostPublishManualSharing:()=>c.Z,PostPublishReviewPrompt:()=>i.Z,PublicizePanel:()=>o.Z,SocialImageGeneratorPanel:()=>s.Z,SocialPreviewsModal:()=>a.Z,SocialPreviewsPanel:()=>r.Z,usePublicizeConfig:()=>u.Z,useSocialMediaConnections:()=>l.Z,useSyncPostDataToStore:()=>p.N});n(23177),n(4277),n(84703);var a=n(8454),r=n(74140),s=n(54005),o=(n(8350),n(76848),n(79631),n(8714)),i=(n(19649),n(52403)),c=n(91750),l=(n(77106),n(75674),n(57492)),u=(n(48751),n(14085)),d=(n(45579),n(75323),n(42032));n.o(d,"useSyncPostDataToStore")&&n.d(t,{useSyncPostDataToStore:function(){return d.useSyncPostDataToStore}});n(91474);var p=n(19890);n(32637),n(86419),n(34431),n(71806),n(22917),n(95766)},85761:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var a=n(3396),r=n(69307),s=n(3228),o=n(25162),i=n.n(o);const c=e=>{const{checked:t,serviceName:n,label:o,onClick:i,profilePicture:c}=e,[l,u]=(0,r.useState)(!!c),d=(0,r.useCallback)((()=>u(!1)),[]),p=(0,r.useCallback)((e=>{13===e.keyCode&&i()}),[i]);return React.createElement("div",{onClick:i,onKeyDown:p,role:"switch","aria-checked":t,tabIndex:"0",className:(0,s.Z)("components-connection-icon",{"components-connection-icon__picture":l})},l&&React.createElement("img",{src:c,alt:o,onError:d}),React.createElement(a.av,{alt:o,serviceName:"instagram-business"===n?"instagram":"twitter"===n?"x":n,className:"jetpack-publicize-gutenberg-social-icon"}))};c.propTypes={serviceName:i().string,label:i().string,profilePicture:i().string};const l=c},60676:(e,t,n)=>{"use strict";n(55609),n(65736),n(99196),n(85761),n(62878),n(25893),n(20841),n(43876),n(75124)},62878:(e,t,n)=>{"use strict";n.d(t,{d:()=>c});var a=n(55609),r=n(9818),s=n(65736),o=n(23177),i=n(75124);const __=s.__;function c({connection:e}){const t=(0,r.useSelect)((t=>t(o.h).getUpdatingConnections().includes(e.connection_id)),[e.connection_id]);return React.createElement("div",{className:i.Z["connection-name"]},e.profile_link?React.createElement(a.ExternalLink,{className:i.Z["profile-link"],href:e.profile_link},e.display_name||e.external_display):React.createElement("span",{className:i.Z["profile-link"]},e.display_name),t?React.createElement(a.Spinner,{color:"black","aria-label":__("Updating account","jetpack")}):null)}},25893:(e,t,n)=>{"use strict";n.d(t,{Q:()=>l});var a=n(6895),r=n(55609),s=n(69307),o=n(65736),i=n(20841),c=n(67660);const __=o.__;function l({connection:e,service:t}){return"broken"!==e.status?null:React.createElement("div",null,React.createElement("span",{className:"description"},t?__("There is an issue with this connection.","jetpack"):(0,s.createInterpolateElement)((0,o.sprintf)("%1$s %2$s",__("This platform is no longer supported.","jetpack"),__("You can use our Manual Sharing feature instead.","jetpack")),{link:React.createElement(r.ExternalLink,{href:(0,a.Z)("jetpack-social-manual-sharing-help")})}))," ",t?React.createElement(c.w,{connection:e,service:t}):React.createElement(i.c,{connection:e,variant:"link",isDestructive:!1}))}},20841:(e,t,n)=>{"use strict";n.d(t,{c:()=>u});var a=n(90526),r=n(55609),s=n(9818),o=n(69307),i=n(65736),c=n(23177),l=n(75124);const __=i.__,_x=i._x;function u({connection:e,variant:t="secondary",isDestructive:n=!0,buttonClassName:u}){const[d,p]=(0,o.useReducer)((e=>!e),!1),{deleteConnectionById:m}=(0,s.useDispatch)(c.h),{isDisconnecting:g}=(0,s.useSelect)((t=>{const{getDeletingConnections:n}=t(c.h);return{isDisconnecting:n().includes(e.connection_id)}}),[e.connection_id]),A=(0,o.useCallback)((async()=>{p(),await m({connectionId:e.connection_id})}),[e.connection_id,m]);return e.can_disconnect?React.createElement(React.Fragment,null,React.createElement(r.__experimentalConfirmDialog,{className:l.Z.confirmDialog,isOpen:d,onConfirm:A,onCancel:p,cancelButtonText:__("Cancel","jetpack"),confirmButtonText:__("Yes","jetpack")},(0,o.createInterpolateElement)((0,i.sprintf)( +__("%u requests remaining.","jetpack"),f)),y&&React.createElement(React.Fragment,null," ",React.createElement(a.Button,{variant:"link",href:k,target:"_blank",onClick:()=>{n(p.AN,{context:R,placement:p.Cn})}},__("Upgrade","jetpack")))," ",React.createElement(a.Tooltip,{text:__("Logo generation costs 10 requests; prompt enhancement costs 1 request each","jetpack"),placement:"bottom"},React.createElement(o.A,{className:"prompt-footer__icon",icon:i.A}))),!U&&N&&React.createElement(h.G,null),v&&React.createElement("div",{className:"jetpack-ai-logo-generator__prompt-error"},__("Error enhancing prompt. Please try again.","jetpack")),C&&React.createElement("div",{className:"jetpack-ai-logo-generator__prompt-error"},__("Error generating logo. Please try again.","jetpack"))))}},64024:(e,t,n)=>{"use strict";n.d(t,{G:()=>p});var r=n(85985),a=n(56427),s=n(86087),o=n(27723),i=n(51113),c=n(90311),l=n(61356),u=n(60674),d=n(88725);const __=o.__,p=()=>{const{tracks:e}=(0,r.st)(),{recordEvent:t}=e,n=__("Upgrade","jetpack"),o=(0,s.createInterpolateElement)(__("Not enough requests left to generate a logo. Upgrade now to increase it.","jetpack"),{strong:React.createElement("strong",null)}),{nextTierCheckoutURL:p}=(0,u.Q)(),{context:m}=(0,d.A)();return React.createElement("div",{className:"jetpack-upgrade-plan-banner"},React.createElement("div",{className:"jetpack-upgrade-plan-banner__wrapper"},React.createElement("div",null,React.createElement(i.A,{className:"jetpack-upgrade-plan-banner__icon",icon:c.A}),React.createElement("span",{className:"jetpack-upgrade-plan-banner__banner-description"},o)),React.createElement(a.Button,{href:p,target:"_blank",className:"is-primary",onClick:()=>{t(l.AN,{context:m,placement:l.tF})}},n)))}},35421:(e,t,n)=>{"use strict";n.d(t,{R:()=>c});var r=n(85985),a=n(56427),s=n(27723),o=n(61356),i=n(88725);const __=s.__,c=({onCancel:e,upgradeURL:t,reason:n})=>{const{tracks:s}=(0,r.st)(),{recordEvent:c}=s,l=__("The logo generator requires a paid Jetpack AI plan. Upgrade your plan to access exclusive features, including logo generation. The upgrade will also increase the amount of requests you can use in all AI-powered features.","jetpack"),u=__("Not enough requests left to generate a logo. Upgrade your Jetpack AI to increase the amount of requests you can use in all AI-powered features.","jetpack"),{context:d}=(0,i.A)();return React.createElement("div",{className:"jetpack-ai-logo-generator-modal__notice-message-wrapper"},React.createElement("div",{className:"jetpack-ai-logo-generator-modal__notice-message"},React.createElement("span",{className:"jetpack-ai-logo-generator-modal__loading-message"},"feature"===n?l:u)," ",React.createElement(a.Button,{variant:"link",href:"https://jetpack.com/ai/",target:"_blank"},__("Learn more about Jetpack AI.","jetpack"))),React.createElement("div",{className:"jetpack-ai-logo-generator-modal__notice-actions"},React.createElement(a.Button,{variant:"tertiary",onClick:e},__("Cancel","jetpack")),React.createElement(a.Button,{variant:"primary",href:t,target:"_blank",onClick:()=>{c(o.AN,{context:d,placement:o.Tz}),e()}},__("Upgrade","jetpack"))))}},48204:(e,t,n)=>{"use strict";n.d(t,{H:()=>c});var r=n(56427),a=n(27723),s=n(53512),o=n(13022),i=n(36791);const __=a.__,c=({className:e=null,onVisitBlankTarget:t})=>React.createElement("div",{className:(0,o.A)("jetpack-ai-logo-generator-modal-visit-site-banner",e)},React.createElement("div",{className:"jetpack-ai-logo-generator-modal-visit-site-banner__jetpack-logo"},React.createElement("img",{src:i,alt:"Jetpack"})),React.createElement("div",{className:"jetpack-ai-logo-generator-modal-visit-site-banner__content"},React.createElement("strong",null,__("Do you want to know all the amazing things you can do with Jetpack AI?","jetpack")),React.createElement("span",null,__("Generate and tweak content, create forms, get feedback and much more.","jetpack")),React.createElement("div",null,React.createElement(r.Button,{variant:"link",href:"https://jetpack.com/redirect/?source=logo_generator_learn_more_about_jetpack_ai",target:"_blank",onClick:t||null},__("Learn more about Jetpack AI","jetpack"),React.createElement(r.Icon,{icon:s.A,size:20})))))},61356:(e,t,n)=>{"use strict";n.d(t,{$i:()=>l,AN:()=>u,Cn:()=>d,N3:()=>g,Nt:()=>c,Tz:()=>p,Zb:()=>i,_S:()=>A,h4:()=>o,iz:()=>r,tF:()=>m,ub:()=>a,vm:()=>s});const r="jetpack_ai_logo_generator_modal_open",a="jetpack_ai_logo_generator_modal_close",s="jetpack_ai_logo_generator_generate",o="jetpack_ai_logo_generator_save",i="jetpack_ai_logo_generator_use",c="jetpack_ai_logo_generator_navigate",l="jetpack_ai_logo_generator_feedback",u="jetpack_ai_upgrade_button",d="input_footer",p="free_user_screen",m="upgrade_prompt",g=3,A=10},60674:(e,t,n)=>{"use strict";n.d(t,{Q:()=>l});var r=n(85985),a=n(47143),s=n(10067),o=n.n(s),i=n(74423);const c=o()("ai-client:logo-generator:use-checkout"),l=()=>{const{nextTier:e}=(0,a.useSelect)((e=>({nextTier:e(i.E).getAiAssistantFeature().nextTier})),[]),t=new URL("https://jetpack.com/redirect/");t.searchParams.set("source","jetpack-ai-yearly-tier-upgrade-nudge"),t.searchParams.set("site",(0,r.GE)()),t.searchParams.set("path",`jetpack_ai_yearly:-q-${e?.limit}`);const n=`${window?.Jetpack_Editor_Initial_State?.adminUrl}admin.php?redirect_to_referrer=1&page=my-jetpack#/add-jetpack-ai`,s=(0,r.d9)()||(0,r.Sy)()?t.toString():n;return c("Next tier checkout URL: ",s),{nextTierCheckoutURL:s,hasNextTier:!!e}}},88725:(e,t,n)=>{"use strict";n.d(t,{A:()=>A});var r=n(47143),a=n(10067),s=n.n(a),o=n(51609),i=n(62614),c=n(93869),l=n(51391),u=n(19362),d=n(28229),p=n(74423),m=n(44461);const g=s()("jetpack-ai-calypso:use-logo-generator"),A=()=>{const{setSelectedLogoIndex:e,setIsSavingLogoToLibrary:t,setIsApplyingLogo:n,setIsRequestingImage:a,setIsEnhancingPrompt:s,increaseAiAssistantRequestsCount:A,addLogoToHistory:h,setContext:E}=(0,r.useDispatch)(p.E),{logos:f,selectedLogoIndex:b,selectedLogo:v,siteDetails:C,isSavingLogoToLibrary:k,isApplyingLogo:y,isEnhancingPrompt:B,isBusy:w,isRequestingImage:_,getAiAssistantFeature:I,requireUpgrade:j,context:x}=(0,r.useSelect)((e=>{const t=e(p.E);return{logos:t.getLogos(),selectedLogoIndex:t.getSelectedLogoIndex(),selectedLogo:t.getSelectedLogo(),siteDetails:t.getSiteDetails(),isSavingLogoToLibrary:t.getIsSavingLogoToLibrary(),isApplyingLogo:t.getIsApplyingLogo(),isRequestingImage:t.getIsRequestingImage(),isEnhancingPrompt:t.getIsEnhancingPrompt(),isBusy:t.getIsBusy(),getAiAssistantFeature:t.getAiAssistantFeature,requireUpgrade:t.getRequireUpgrade(),context:t.getContext()}}),[]),{setFirstLogoPromptFetchError:S,setEnhancePromptFetchError:Q,setLogoFetchError:N,setSaveToLibraryError:R,setLogoUpdateError:T}=(0,m.A)(),{generateImageWithParameters:P}=(0,i.A)(),{saveToMediaLibrary:L}=(0,c.A)(),{ID:M=null,name:D=null,description:F=null}=C||{},O=M?String(M):null,z=I(O),U=z?.costs?.["jetpack-ai-logo-generator"]?.logo,H=(0,o.useCallback)((async function(){S(null),A();try{const e=await(0,l.A)();if(!e||!e.token)throw new Error("No token provided");g("Generating first prompt for site");const t={question:`Generate a simple and short prompt asking for a logo based on the site's name and description, keeping the same language.\nExample for a site named "The minimalist fashion blog", described as "Daily inspiration for all things fashion": A logo for a minimalist fashion site focused on daily sartorial inspiration with a clean and modern aesthetic that is sleek and sophisticated.\nAnother example, now for a site called "El observatorio de aves", described as "Un sitio dedicado a nuestros compañeros y compañeras entusiastas de la observación de aves.": Un logo para un sitio web dedicado a la observación de aves, capturando la esencia de la naturaleza y la pasión por la avifauna en un diseño elegante y representativo, reflejando una estética natural y apasionada por la vida silvestre.\n\nSite name: ${D}\nSite description: ${F}`,feature:"jetpack-ai-logo-generator",stream:!1},n="https://public-api.wordpress.com/wpcom/v2/jetpack-ai-query",r={Authorization:`Bearer ${e.token}`,"Content-Type":"application/json"},a=await fetch(n,{method:"POST",headers:r,body:JSON.stringify(t)}).then((e=>e.json()));return a?.choices?.[0]?.message?.content}catch(e){throw A(-1),S(e),e}}),[S,A,D,F]),V=(0,o.useCallback)((async function({prompt:e}){N(null);try{const t=await(0,l.A)();if(!t||!t.token)throw new Error("No token provided");g("Generating image with prompt",e);const n={prompt:`I NEED to test how the tool works with extremely simple prompts. DO NOT add any detail, just use it AS-IS:\nCreate a single text-free iconic vector logo that symbolically represents the user request, using abstract or symbolic imagery.\nThe design should be modern, with either a vivid color scheme full of gradients or a color scheme that's monochromatic. Use any of those styles based on the user request mood.\nEnsure the logo is set against a clean solid background.\nEnsure the logo works in small sizes.\nThe imagery in the logo should subtly hint at the mood of the user request but DO NOT use any text, letters, or the name of the site on the imagery.\nThe image should contain a single icon, without variations, color palettes or different versions.\n\nUser request:${e}`,feature:"jetpack-ai-logo-generator",response_format:"b64_json"};return await P(n)}catch(e){throw N(e),e}}),[]),q=(0,o.useCallback)((async e=>{R(null);try{if(g("Saving logo for site"),e.mediaId)return{mediaId:e.mediaId,mediaURL:e.url};const n={mediaId:0,mediaURL:""};t(!0);const{id:r,url:a}=await L(e.url,"site-logo.png");return n.mediaId=parseInt(r),n.mediaURL=a,n}catch(e){throw R(e),e}finally{t(!1)}}),[t,R]),G=(0,o.useCallback)((async()=>{T(null);try{if(!O||!v)throw new Error("Missing siteId or logo");g("Applying logo for site",O),n(!0);const{mediaId:e}=v;if(!e)throw new Error("Missing mediaId");await(0,d.Z)({siteId:O,imageId:String(e)})}catch(e){throw T(e),e}finally{n(!1)}}),[v,n,T,O]),$=(0,o.useCallback)((e=>{h(e),(0,u.hm)({...e,siteId:String(O)})}),[O,h,u.hm]),W=(0,o.useCallback)((async function({prompt:e}){g("Generating logo for site"),a(!0);try{if(!U)throw new Error("Missing cost information");let t;A(U);try{if(t=await V({prompt:e}),!t||!t.data.length)throw new Error("No image returned")}catch(e){throw A(-U),e}const n={url:"data:image/png;base64,"+t.data[0].b64_json,description:e};try{const t=await q(n);$({url:t.mediaURL,description:e,mediaId:t.mediaId})}catch(e){throw $(n),e}}finally{a(!1)}}),[U,A,q,$,V]);return{logos:f,selectedLogoIndex:b,selectedLogo:v,setSelectedLogoIndex:e,site:{id:O,name:D,description:F},generateFirstPrompt:H,saveLogo:q,applyLogo:G,generateImage:V,enhancePrompt:async function({prompt:e}){Q(null),A();try{const t=await(0,l.A)();if(!t||!t.token)throw new Error("No token provided");g("Enhancing prompt",e);const n={messages:[{role:"system",content:"Enhance the prompt you receive.\nThe prompt is meant for generating a logo. Return the same prompt enhanced, and make each enhancement wrapped in brackets.\nDo not add any mention to text, letters, typography or the name of the site in the prompt.\nFor example: user's prompt: A logo for an ice cream shop. Returned prompt: A logo for an ice cream shop [that is pink] [and vibrant]."},{role:"user",content:e}],feature:"jetpack-ai-logo-generator",stream:!1},r="https://public-api.wordpress.com/wpcom/v2/jetpack-ai-query",a={Authorization:`Bearer ${t.token}`,"Content-Type":"application/json"},s=await fetch(r,{method:"POST",headers:a,body:JSON.stringify(n)}).then((e=>e.json()));return s?.choices?.[0]?.message?.content}catch(e){throw A(-1),Q(e),e}},storeLogo:$,generateLogo:W,setIsEnhancingPrompt:s,setIsRequestingImage:a,setIsSavingLogoToLibrary:t,setIsApplyingLogo:n,setContext:E,isEnhancingPrompt:B,isRequestingImage:_,isSavingLogoToLibrary:k,isApplyingLogo:y,isBusy:w,getAiAssistantFeature:I,requireUpgrade:j,context:x}}},44461:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(47143),a=n(74423);const s=()=>{const{setFeatureFetchError:e,setFirstLogoPromptFetchError:t,setEnhancePromptFetchError:n,setLogoFetchError:s,setSaveToLibraryError:o,setLogoUpdateError:i}=(0,r.useDispatch)(a.E),{featureFetchError:c,firstLogoPromptFetchError:l,enhancePromptFetchError:u,logoFetchError:d,saveToLibraryError:p,logoUpdateError:m}=(0,r.useSelect)((e=>{const t=e(a.E);return{featureFetchError:t.getFeatureFetchError(),firstLogoPromptFetchError:t.getFirstLogoPromptFetchError(),enhancePromptFetchError:t.getEnhancePromptFetchError(),logoFetchError:t.getLogoFetchError(),saveToLibraryError:t.getSaveToLibraryError(),logoUpdateError:t.getLogoUpdateError()}}),[]);return{setFeatureFetchError:e,setFirstLogoPromptFetchError:t,setEnhancePromptFetchError:n,setLogoFetchError:s,setSaveToLibraryError:o,setLogoUpdateError:i,clearErrors:()=>{e(null),t(null),n(null),s(null),o(null),i(null)},featureFetchError:c,firstLogoPromptFetchError:l,enhancePromptFetchError:u,logoFetchError:d,saveToLibraryError:p,logoUpdateError:m}}},23101:(e,t,n)=>{"use strict";n.d(t,{T:()=>r.T});var r=n(64537)},19362:(e,t,n)=>{"use strict";n.d(t,{$t:()=>i,H:()=>o,NP:()=>c,Pv:()=>l,hm:()=>s});var r=n(13858);const a=10;function s({siteId:e,url:t,description:n,mediaId:r}){const s=i(e),o={url:t,description:n,mediaId:r};return s.push(o),localStorage.setItem(`logo-history-${e}`,JSON.stringify(s.slice(-a))),o}function o({siteId:e,url:t,newUrl:n,mediaId:r}){const s=i(e),o=s.findIndex((e=>e.url===t));return o>-1&&(s[o].url=n,s[o].mediaId=r),localStorage.setItem(`logo-history-${e}`,JSON.stringify(s.slice(-a))),s[o]}function i(e){const t=localStorage.getItem(`logo-history-${e}`);let n=t?JSON.parse(t):[];return Array.isArray(n)||(n=[]),n=n.slice(-a),n=n.filter((e=>"object"==typeof e&&"string"==typeof e.url&&"string"==typeof e.description)).map((e=>({url:e.url,description:e.description,mediaId:e.mediaId}))),n}function c(e){return 0===i(e).length}async function l(e){const t=i(e).filter((({mediaId:e})=>void 0!==e)).map((({mediaId:t})=>new Promise(((n,a)=>{(0,r.T)({siteId:e,mediaId:t}).then((e=>n({mediaId:t,exists:e}))).catch((e=>a(e)))}))));try{(await Promise.all(t)).filter((({exists:e})=>!e)).forEach((({mediaId:t})=>function({siteId:e,mediaId:t}){const n=i(e),r=n.findIndex((e=>e.mediaId===t));-1!==r&&(n.splice(r,1),localStorage.setItem(`logo-history-${e}`,JSON.stringify(n)))}({siteId:e,mediaId:t})))}catch(e){}}},13858:(e,t,n)=>{"use strict";n.d(t,{T:()=>a});var r=n(48931);async function a({mediaId:e}){const t=Number(e);if(Number.isNaN(t))return!1;try{return await(0,r.A)({path:`/wp/v2/media/${Number(e)}`,method:"GET"}),!0}catch(e){const t=e?.data?.status;if(404===t)return!1;throw e}}},28229:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(22746);async function a({siteId:e,imageId:t}){const n={site_logo:t,site_icon:t};return(0,r.A)({path:`/sites/${String(e)}/settings`,apiVersion:"v2",apiNamespace:"wp/v2",body:n,query:"source=jetpack-ai",method:"POST"})}},22746:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(48931);const a=5;let s=0;async function o(e){if(s+=1,s>a)throw s-=1,new Error("Too many requests");return(0,r.A)(e).finally((()=>{s-=1}))}},9624:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(19362),a=n(22746),s=n(9938);const o={storeAiAssistantFeature:e=>({type:s.UU,feature:e}),fetchAiAssistantFeature:()=>async({dispatch:e})=>{e({type:s.ql});try{const t=await(0,a.A)({path:"/wpcom/v2/jetpack-ai/ai-assistant-feature",query:"force=wpcom"});e(o.storeAiAssistantFeature(function(e){return{hasFeature:!!e["has-feature"],isOverLimit:!!e["is-over-limit"],requestsCount:e["requests-count"],requestsLimit:e["requests-limit"],requireUpgrade:!!e["site-require-upgrade"],errorMessage:e["error-message"],errorCode:e["error-code"],upgradeType:e["upgrade-type"],usagePeriod:{currentStart:e["usage-period"]?.["current-start"],nextStart:e["usage-period"]?.["next-start"],requestsCount:e["usage-period"]?.["requests-count"]||0},currentTier:e["current-tier"],nextTier:e["next-tier"],tierPlansEnabled:!!e["tier-plans-enabled"],costs:e.costs,featuresControl:e["features-control"]}}(t)))}catch(t){e({type:s.Rx,error:t})}},increaseAiAssistantRequestsCount:(e=1)=>({dispatch:t})=>{t({type:s.Lg,count:e})},setAiAssistantFeatureRequireUpgrade:(e=!0)=>({type:s.Kt,requireUpgrade:e}),setTierPlansEnabled:(e=!0)=>({type:s.c1,tierPlansEnabled:e}),setSiteDetails:e=>({type:s.Bz,siteDetails:e}),setSelectedLogoIndex:e=>({type:s.BG,selectedLogoIndex:e}),addLogoToHistory:e=>({type:s.sG,logo:e}),setIsSavingLogoToLibrary:e=>({type:s.E6,isSavingLogoToLibrary:e}),setIsApplyingLogo:e=>({type:s.Ep,isApplyingLogo:e}),updateSelectedLogo:(e,t)=>({type:s.r_,mediaId:e,url:t}),setIsRequestingImage:e=>({type:s.vk,isRequestingImage:e}),setIsEnhancingPrompt:e=>({type:s.O5,isEnhancingPrompt:e}),loadLogoHistory(e){const t=(0,r.$t)(e);return{type:s.ZI,history:t}},setFeatureFetchError:e=>({type:s.Rx,error:e}),setFirstLogoPromptFetchError:e=>({type:s.MQ,error:e}),setEnhancePromptFetchError:e=>({type:s.gG,error:e}),setLogoFetchError:e=>({type:s.q_,error:e}),setSaveToLibraryError:e=>({type:s.x0,error:e}),setLogoUpdateError:e=>({type:s.FN,error:e}),setContext:e=>({type:s.kZ,context:e})},i=o},9938:(e,t,n)=>{"use strict";n.d(t,{BG:()=>m,Bz:()=>c,E6:()=>A,Ep:()=>h,FN:()=>_,GB:()=>l,Kt:()=>o,Lg:()=>s,MQ:()=>k,O5:()=>b,Rx:()=>C,UU:()=>r,ZI:()=>v,c1:()=>i,gG:()=>y,kZ:()=>p,mx:()=>d,nb:()=>u,q_:()=>B,ql:()=>a,r_:()=>E,sG:()=>g,vk:()=>f,x0:()=>w});const r="STORE_AI_ASSISTANT_FEATURE",a="REQUEST_AI_ASSISTANT_FEATURE",s="INCREASE_AI_ASSISTANT_REQUESTS_COUNT",o="SET_AI_ASSISTANT_FEATURE_REQUIRE_UPGRADE",i="SET_TIER_PLANS_ENABLED",c="SET_SITE_DETAILS",l=20,u=999999999,d=3,p="SET_CONTEXT",m="SET_SELECTED_LOGO_INDEX",g="ADD_LOGO_TO_HISTORY",A="SET_IS_SAVING_LOGO_TO_LIBRARY",h="SET_IS_APPLYING_LOGO",E="SAVE_SELECTED_LOGO",f="SET_IS_REQUESTING_IMAGE",b="SET_IS_ENHANCING_PROMPT",v="SET_SITE_HISTORY",C="SET_FEATURE_FETCH_ERROR",k="SET_FIRST_LOGO_PROMPT_FETCH_ERROR",y="SET_ENHANCE_PROMPT_FETCH_ERROR",B="SET_LOGO_FETCH_ERROR",w="SET_SAVE_TO_LIBRARY_ERROR",_="SET_LOGO_UPDATE_ERROR"},74423:(e,t,n)=>{"use strict";n.d(t,{E:()=>i});var r=n(47143),a=n(9624),s=n(23695),o=n(80037);const i="jetpack-ai/logo-generator",c=(0,r.createReduxStore)(i,{__experimentalUseThunks:!0,actions:a.A,reducer:s.A,selectors:o.A});(0,r.register)(c)},94891:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(9938);const a={siteDetails:{},features:{aiAssistantFeature:{hasFeature:!0,isOverLimit:!1,requestsCount:0,requestsLimit:r.GB,requireUpgrade:!1,errorMessage:"",errorCode:"",upgradeType:"default",currentTier:{slug:"ai-assistant-tier-free",value:0,limit:20},usagePeriod:{currentStart:"",nextStart:"",requestsCount:0},nextTier:null,tierPlansEnabled:!1,_meta:{isRequesting:!1,asyncRequestCountdown:r.mx,asyncRequestTimerId:0,isRequestingImage:!1}}},history:[],selectedLogoIndex:0}},23695:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(61356),a=n(9938),s=n(94891);function o(e=s.A,t){switch(t.type){case a.ql:return{...e,_meta:{...e._meta??{},featureFetchError:null},features:{...e.features,aiAssistantFeature:{...e.features.aiAssistantFeature,_meta:{...e?.features?.aiAssistantFeature?._meta,isRequesting:!0,asyncRequestCountdown:a.mx,asyncRequestTimerId:0}}}};case a.UU:{const n={"jetpack-ai-logo-generator":{logo:r._S}};return{...e,features:{...e.features,aiAssistantFeature:{costs:n,...t.feature,requireUpgrade:t.feature?.requireUpgrade||0===t.feature?.currentTier?.value,_meta:{...e?.features?.aiAssistantFeature?._meta,isRequesting:!1}}}}}case a.Lg:{const n=e?.features?.aiAssistantFeature?.usagePeriod||{requestsCount:0},r=(e?.features?.aiAssistantFeature?.requestsCount||0)+(t.count??1);n.requestsCount+=t.count??1;const s=e?.features?.aiAssistantFeature?.currentTier?.value,o=void 0===s&&!e?.features?.aiAssistantFeature?.hasFeature||0===s,i=void 0===s&&e?.features?.aiAssistantFeature?.hasFeature||1===s;let c=e?.features?.aiAssistantFeature?.currentTier?.limit||a.GB;i?c=a.nb:o&&(c=e?.features?.aiAssistantFeature?.requestsLimit);const l=(i||o?r:e?.features?.aiAssistantFeature?.usagePeriod?.requestsCount||0)>=c,u=o||l&&null!==e?.features?.aiAssistantFeature?.nextTier;return{...e,features:{...e.features,aiAssistantFeature:{...e.features.aiAssistantFeature,isOverLimit:l,requestsCount:r,requireUpgrade:u,usagePeriod:{...n}}}}}case a.Kt:return{...e,features:{...e.features,aiAssistantFeature:{...e.features.aiAssistantFeature,requireUpgrade:t.requireUpgrade,...t.requireUpgrade?{isOverLimit:!0}:{}}}};case a.c1:return{...e,features:{...e.features,aiAssistantFeature:{...e.features.aiAssistantFeature,tierPlansEnabled:t.tierPlansEnabled}}};case a.Bz:return{...e,siteDetails:t.siteDetails};case a.BG:return{...e,selectedLogoIndex:t.selectedLogoIndex};case a.sG:{const n=[...e.history,t.logo];return{...e,history:n,selectedLogoIndex:n.length-1}}case a.E6:return{...e,_meta:{...e._meta??{},isSavingLogoToLibrary:t.isSavingLogoToLibrary}};case a.Ep:return{...e,_meta:{...e._meta??{},isApplyingLogo:t.isApplyingLogo}};case a.r_:{const n=e.history?.[e.selectedLogoIndex];return{...e,history:[...e.history.slice(0,e.selectedLogoIndex),{...n,mediaId:t.mediaId,url:t.url},...e.history.slice(e.selectedLogoIndex+1)]}}case a.vk:return{...e,_meta:{...e._meta??{},isRequestingImage:t.isRequestingImage}};case a.O5:return{...e,_meta:{...e._meta??{},isEnhancingPrompt:t.isEnhancingPrompt}};case a.ZI:return{...e,history:t.history,selectedLogoIndex:t.history?.length?t.history.length-1:0};case a.Rx:return{...e,_meta:{...e._meta??{},featureFetchError:t.error}};case a.MQ:return{...e,_meta:{...e._meta??{},firstLogoPromptFetchError:t.error}};case a.gG:return{...e,_meta:{...e._meta??{},enhancePromptFetchError:t.error}};case a.q_:return{...e,_meta:{...e._meta??{},logoFetchError:t.error}};case a.x0:return{...e,_meta:{...e._meta??{},saveToLibraryError:t.error}};case a.FN:return{...e,_meta:{...e._meta??{},logoUpdateError:t.error}};case a.kZ:return{...e,_meta:{...e._meta??{},context:t.context}}}return e}},80037:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(61356);const a={getAiAssistantFeature(e){const t={...e.features.aiAssistantFeature};return delete t._meta,t},getSiteDetails:e=>e.siteDetails,getIsRequestingAiAssistantFeature:e=>e.features.aiAssistantFeature?._meta?.isRequesting??!1,getLogos:e=>e.history??[],getSelectedLogoIndex:e=>e.selectedLogoIndex??null,getSelectedLogo:e=>e.history?.[e.selectedLogoIndex]??null,getIsSavingLogoToLibrary:e=>e._meta?.isSavingLogoToLibrary??!1,getIsApplyingLogo:e=>e._meta?.isApplyingLogo??!1,getIsEnhancingPrompt:e=>e._meta?.isEnhancingPrompt??!1,getIsRequestingImage:e=>e._meta?.isRequestingImage??!1,getIsBusy:e=>a.getIsApplyingLogo(e)||a.getIsSavingLogoToLibrary(e)||a.getIsRequestingImage(e)||a.getIsEnhancingPrompt(e),getRequireUpgrade(e){const t=e.features.aiAssistantFeature,n=t?.costs?.["jetpack-ai-logo-generator"]?.logo??r._S,a=t?.currentTier?.value||0,s=t?.usagePeriod?.requestsCount||0,o=1===a,i=!t?.nextTier;return e.features.aiAssistantFeature?.requireUpgrade||!o&&!i&&a-se._meta?.featureFetchError??null,getFirstLogoPromptFetchError:e=>e._meta?.firstLogoPromptFetchError??null,getEnhancePromptFetchError:e=>e._meta?.enhancePromptFetchError??null,getLogoFetchError:e=>e._meta?.logoFetchError??null,getSaveToLibraryError:e=>e._meta?.saveToLibraryError??null,getLogoUpdateError:e=>e._meta?.logoUpdateError??null,getContext:e=>e._meta?.context??""},s=a},53664:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(7675),a=n(10067),s=n.n(a),o=n(46219),i=n(51391),c=n(78836);const l=s()("jetpack-ai-client:suggestions-event-source");class u extends EventTarget{constructor(e){super(),this.fullMessage="",this.fullFunctionCall={name:"",arguments:""},this.isPromptClear=!1,this.controller=new AbortController,this.initEventSource(e)}async initEventSource({url:e,question:t,token:n,options:a={}}){if(!n)try{l("Token was not provided, requesting one..."),n=(await(0,i.A)()).token}catch(e){return void this.processErrorEvent(e)}const s={};if(Number.isInteger(parseInt(a.postId))&&(s.post_id=+a.postId),!e){const t=new URL("https://public-api.wordpress.com/wpcom/v2/jetpack-ai-query");a?.fromCache&&t.searchParams.append("stream_cache","true"),e=t.toString(),l("URL not provided, using default: %o",e)}Array.isArray(t)?s.messages=t:s.question=t,a?.feature?.length&&(l("Feature: %o",a.feature),s.feature=a.feature),a?.functions?.length&&(l("Functions: %o",a.functions),s.functions=a.functions),a?.model?.length&&(l("Model: %o",a.model),s.model=a.model),this.errorUnclearPromptTriggered=!1,await(0,r.y)(e,{openWhenHidden:!0,method:"POST",headers:{"Content-type":"application/json",Authorization:"Bearer "+n},body:JSON.stringify(s),onclose:()=>{l("Stream closed")},onerror:e=>{throw this.processErrorEvent(e),e},onmessage:e=>{this.processEvent(e)},onopen:async e=>{if(e.ok)return;let t;throw e.status>=400&&e.status<=500&&![413,422,429].includes(e.status)&&(l("Connection error: %o",e),t=c.mA,this.dispatchEvent(new CustomEvent(c.mA,{detail:e}))),503===e.status&&(t=c.AZ,this.dispatchEvent(new CustomEvent(c.AZ))),413===e.status&&(t=c.cT,this.dispatchEvent(new CustomEvent(c.cT))),422===e.status&&(t=c.ud,this.dispatchEvent(new CustomEvent(c.ud))),429===e.status&&(t=c.Or,this.dispatchEvent(new CustomEvent(c.Or))),this.dispatchEvent(new CustomEvent(c.zn,{detail:(0,o.fC)(t)})),new Error},signal:this.controller.signal})}checkForUnclearPrompt(){if(this.isPromptClear)return;const e=this.fullMessage.replace(/__|(\*\*)/g,"");if(e.startsWith("JETPACK_AI_ERROR")){if(this.errorUnclearPromptTriggered)return;this.errorUnclearPromptTriggered=!0,this.dispatchEvent(new CustomEvent(c.L9)),l("Unclear error prompt dispatched"),this.dispatchEvent(new CustomEvent(c.zn,{detail:(0,o.fC)(c.L9)}))}else"JETPACK_AI_ERROR".startsWith(e)?l(this.fullMessage):this.isPromptClear=!0}close(){this.controller.abort()}processEvent(e){if("[DONE]"===e.data){if(this.errorUnclearPromptTriggered)return;if(this.fullMessage.length)return this.dispatchEvent(new CustomEvent("done",{detail:this.fullMessage})),void l("Done: %o",this.fullMessage);if(this.fullFunctionCall.name.length)return this.dispatchEvent(new CustomEvent("function_done",{detail:this.fullFunctionCall})),void l("Done: %o",this.fullFunctionCall)}let t;try{t=JSON.parse(e.data)}catch(t){return void l("Error parsing JSON",e,t)}const{delta:n}=t?.choices?.[0]??{delta:{content:null,function_call:null}},r=n.content,a=n.function_call;r&&(this.fullMessage+=r,this.checkForUnclearPrompt(),this.isPromptClear&&(this.dispatchEvent(new CustomEvent("chunk",{detail:r})),l("suggestion: %o",this.fullMessage),this.dispatchEvent(new CustomEvent("suggestion",{detail:this.fullMessage})))),a&&(null!=a.name&&(this.fullFunctionCall.name+=a.name),null!=a.arguments&&(this.fullFunctionCall.arguments+=a.arguments),this.dispatchEvent(new CustomEvent("functionCallChunk",{detail:this.fullFunctionCall})))}processErrorEvent(e){l("onerror: %o",e),this.dispatchEvent(new CustomEvent(c.mA,{detail:e})),this.dispatchEvent(new CustomEvent(c.zn,{detail:(0,o.fC)(c.mA)}))}}},78836:(e,t,n)=>{"use strict";n.d(t,{AZ:()=>a,L9:()=>l,Or:()=>s,cT:()=>i,mA:()=>c,uH:()=>r.u,ud:()=>o,zn:()=>u});var r=n(97784);const a="error_service_unavailable",s="error_quota_exceeded",o="error_moderation",i="error_context_too_large",c="error_network",l="error_unclear_prompt",u="error_response"},90372:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(10067);const a=n.n(r)()("dops:analytics");let s,o;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const i={initialize:function(e,t,n){i.setUser(e,t),i.setSuperProps(n),i.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){o={ID:e,username:t}},setSuperProps:function(e){s=e},assignSuperProps:function(e){s=Object.assign(s||{},e)},mc:{bumpStat:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);a("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),a('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);i.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);a("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),a('Built stat "%s" in group "%s"',t,e);return n}(e,t);i.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){i.tracks.recordPageView(e),i.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,a,s,o){i.ga.recordPurchase(e,t,n,r,a,s,o)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(s&&(a("- Super Props: %o",s),t=Object.assign(t,s)),a('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):a('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};i.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){i.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){a("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};i.ga.initialized||(o&&(e={userId:"u-"+o.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),i.ga.initialized=!0)},recordPageView:function(e,t){i.ga.initialize(),a("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,r){i.ga.initialize();let s="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(s+=" [Option Label: "+n+"]"),void 0!==r&&(s+=" [Option Value: "+r+"]"),a(s),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,a,s,o){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:o}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:a,quantity:s}),window.ga("ecommerce:send")}},identifyUser:function(){o&&window._tkq.push(["identifyUser",o.ID,o.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},c=i},5932:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>d});var r=n(56439),a=n(93832);function s(e){class t extends Error{constructor(...t){super(...t),this.name=e}}return t}const o=s("JsonParseError"),i=s("JsonParseAfterRedirectError"),c=s("Api404Error"),l=s("Api404AfterRedirectError"),u=s("FetchNetworkError");const d=new function(e,t){let n=e,s=e,o={"X-WP-Nonce":t},i={credentials:"same-origin",headers:o},c={method:"post",credentials:"same-origin",headers:Object.assign({},o,{"Content-type":"application/json"})},l=function(e){const t=e.split("?"),n=t.length>1?t[1]:"",r=n.length?n.split("&"):[];return r.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+r.join("&")};const u={setApiRoot(e){n=e},setWpcomOriginApiUrl(e){s=e},setApiNonce(e){o={"X-WP-Nonce":e},i={credentials:"same-origin",headers:o},c={method:"post",credentials:"same-origin",headers:Object.assign({},o,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{l=e},registerSite:(e,t,a)=>{const s={registration_nonce:e,no_iframe:!0};return(0,r.jetpackConfigHas)("consumer_slug")&&(s.plugin_slug=(0,r.jetpackConfigGet)("consumer_slug")),null!==t&&(s.redirect_uri=t),a&&(s.from=a),g(`${n}jetpack/v4/connection/register`,c,{body:JSON.stringify(s)}).then(p).then(m)},fetchAuthorizationUrl:e=>d((0,a.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),i).then(p).then(m),fetchSiteConnectionData:()=>d(`${n}jetpack/v4/connection/data`,i).then(m),fetchSiteConnectionStatus:()=>d(`${n}jetpack/v4/connection`,i).then(m),fetchSiteConnectionTest:()=>d(`${n}jetpack/v4/connection/test`,i).then(p).then(m),fetchUserConnectionData:()=>d(`${n}jetpack/v4/connection/data`,i).then(m),fetchUserTrackingSettings:()=>d(`${n}jetpack/v4/tracking/settings`,i).then(p).then(m),updateUserTrackingSettings:e=>g(`${n}jetpack/v4/tracking/settings`,c,{body:JSON.stringify(e)}).then(p).then(m),disconnectSite:()=>g(`${n}jetpack/v4/connection`,c,{body:JSON.stringify({isActive:!1})}).then(p).then(m),fetchConnectUrl:()=>d(`${n}jetpack/v4/connection/url`,i).then(p).then(m),unlinkUser:()=>g(`${n}jetpack/v4/connection/user`,c,{body:JSON.stringify({linked:!1})}).then(p).then(m),reconnect:()=>g(`${n}jetpack/v4/connection/reconnect`,c).then(p).then(m),fetchConnectedPlugins:()=>d(`${n}jetpack/v4/connection/plugins`,i).then(p).then(m),setHasSeenWCConnectionModal:()=>g(`${n}jetpack/v4/seen-wc-connection-modal`,c).then(p).then(m),fetchModules:()=>d(`${n}jetpack/v4/module/all`,i).then(p).then(m),fetchModule:e=>d(`${n}jetpack/v4/module/${e}`,i).then(p).then(m),activateModule:e=>g(`${n}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!0})}).then(p).then(m),deactivateModule:e=>g(`${n}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>g(`${n}jetpack/v4/module/${e}`,c,{body:JSON.stringify(t)}).then(p).then(m),updateSettings:e=>g(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(p).then(m),getProtectCount:()=>d(`${n}jetpack/v4/module/protect/data`,i).then(p).then(m),resetOptions:e=>g(`${n}jetpack/v4/options/${e}`,c,{body:JSON.stringify({reset:!0})}).then(p).then(m),activateVaultPress:()=>g(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(p).then(m),getVaultPressData:()=>d(`${n}jetpack/v4/module/vaultpress/data`,i).then(p).then(m),installPlugin:(e,t)=>{const r={slug:e,status:"active"};return t&&(r.source=t),g(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify(r)}).then(p).then(m)},activateAkismet:()=>g(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(p).then(m),getAkismetData:()=>d(`${n}jetpack/v4/module/akismet/data`,i).then(p).then(m),checkAkismetKey:()=>d(`${n}jetpack/v4/module/akismet/key/check`,i).then(p).then(m),checkAkismetKeyTyped:e=>g(`${n}jetpack/v4/module/akismet/key/check`,c,{body:JSON.stringify({api_key:e})}).then(p).then(m),fetchStatsData:e=>d(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),i).then(p).then(m).then(h),getPluginUpdates:()=>d(`${n}jetpack/v4/updates/plugins`,i).then(p).then(m),getPlans:()=>d(`${n}jetpack/v4/plans`,i).then(p).then(m),fetchSettings:()=>d(`${n}jetpack/v4/settings`,i).then(p).then(m),updateSetting:e=>g(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(p).then(m),fetchSiteData:()=>d(`${n}jetpack/v4/site`,i).then(p).then(m).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>d(`${n}jetpack/v4/site/features`,i).then(p).then(m).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>d(`${n}jetpack/v4/site/products`,i).then(p).then(m),fetchSitePurchases:()=>d(`${n}jetpack/v4/site/purchases`,i).then(p).then(m).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>d(`${n}jetpack/v4/site/benefits`,i).then(p).then(m).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>d(`${n}jetpack/v4/site/discount`,i).then(p).then(m).then((e=>e.data)),fetchSetupQuestionnaire:()=>d(`${n}jetpack/v4/setup/questionnaire`,i).then(p).then(m),fetchRecommendationsData:()=>d(`${n}jetpack/v4/recommendations/data`,i).then(p).then(m),fetchRecommendationsProductSuggestions:()=>d(`${n}jetpack/v4/recommendations/product-suggestions`,i).then(p).then(m),fetchRecommendationsUpsell:()=>d(`${n}jetpack/v4/recommendations/upsell`,i).then(p).then(m),fetchRecommendationsConditional:()=>d(`${n}jetpack/v4/recommendations/conditional`,i).then(p).then(m),saveRecommendationsData:e=>g(`${n}jetpack/v4/recommendations/data`,c,{body:JSON.stringify({data:e})}).then(p),fetchProducts:()=>d(`${n}jetpack/v4/products`,i).then(p).then(m),fetchRewindStatus:()=>d(`${n}jetpack/v4/rewind`,i).then(p).then(m).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>d(`${n}jetpack/v4/scan`,i).then(p).then(m).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>g(`${n}jetpack/v4/notice/${e}`,c,{body:JSON.stringify({dismissed:!0})}).then(p).then(m),fetchPluginsData:()=>d(`${n}jetpack/v4/plugins`,i).then(p).then(m),fetchIntroOffers:()=>d(`${n}jetpack/v4/intro-offers`,i).then(p).then(m),fetchVerifySiteGoogleStatus:e=>d(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,i).then(p).then(m),verifySiteGoogle:e=>g(`${n}jetpack/v4/verify-site/google`,c,{body:JSON.stringify({keyring_id:e})}).then(p).then(m),submitSurvey:e=>g(`${n}jetpack/v4/marketing/survey`,c,{body:JSON.stringify(e)}).then(p).then(m),saveSetupQuestionnaire:e=>g(`${n}jetpack/v4/setup/questionnaire`,c,{body:JSON.stringify(e)}).then(p).then(m),updateLicensingError:e=>g(`${n}jetpack/v4/licensing/error`,c,{body:JSON.stringify(e)}).then(p).then(m),updateLicenseKey:e=>g(`${n}jetpack/v4/licensing/set-license`,c,{body:JSON.stringify({license:e})}).then(p).then(m),getUserLicensesCounts:()=>d(`${n}jetpack/v4/licensing/user/counts`,i).then(p).then(m),getUserLicenses:()=>d(`${n}jetpack/v4/licensing/user/licenses`,i).then(p).then(m),updateLicensingActivationNoticeDismiss:e=>g(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,c,{body:JSON.stringify({last_detached_count:e})}).then(p).then(m),updateRecommendationsStep:e=>g(`${n}jetpack/v4/recommendations/step`,c,{body:JSON.stringify({step:e})}).then(p),confirmIDCSafeMode:()=>g(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,c).then(p),startIDCFresh:e=>g(`${n}jetpack/v4/identity-crisis/start-fresh`,c,{body:JSON.stringify({redirect_uri:e})}).then(p).then(m),migrateIDC:()=>g(`${n}jetpack/v4/identity-crisis/migrate`,c).then(p),attachLicenses:e=>g(`${n}jetpack/v4/licensing/attach-licenses`,c,{body:JSON.stringify({licenses:e})}).then(p).then(m),fetchSearchPlanInfo:()=>d(`${s}jetpack/v4/search/plan`,i).then(p).then(m),fetchSearchSettings:()=>d(`${s}jetpack/v4/search/settings`,i).then(p).then(m),updateSearchSettings:e=>g(`${s}jetpack/v4/search/settings`,c,{body:JSON.stringify(e)}).then(p).then(m),fetchSearchStats:()=>d(`${s}jetpack/v4/search/stats`,i).then(p).then(m),fetchWafSettings:()=>d(`${n}jetpack/v4/waf`,i).then(p).then(m),updateWafSettings:e=>g(`${n}jetpack/v4/waf`,c,{body:JSON.stringify(e)}).then(p).then(m),fetchWordAdsSettings:()=>d(`${n}jetpack/v4/wordads/settings`,i).then(p).then(m),updateWordAdsSettings:e=>g(`${n}jetpack/v4/wordads/settings`,c,{body:JSON.stringify(e)}),fetchSearchPricing:()=>d(`${s}jetpack/v4/search/pricing`,i).then(p).then(m),fetchMigrationStatus:()=>d(`${n}jetpack/v4/migration/status`,i).then(p).then(m),fetchBackupUndoEvent:()=>d(`${n}jetpack/v4/site/backup/undo-event`,i).then(p).then(m),fetchBackupPreflightStatus:()=>d(`${n}jetpack/v4/site/backup/preflight`,i).then(p).then(m)};function d(e,t){return fetch(l(e),t)}function g(e,t,n){return fetch(e,Object.assign({},t,n)).catch(A)}function h(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}Object.assign(this,u)};function p(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new l(e.redirected):new c})):e.json().catch((e=>g(e))).then((t=>{const n=new Error(`${t.message} (Status ${e.status})`);throw n.response=t,n.name="ApiError",n}))}function m(e){return e.json().catch((t=>g(t,e.redirected,e.url)))}function g(e,t,n){throw t?new i(n):new o}function A(){throw new u}},42266:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(90311),a=n(19783),s=n(83883),o=n(51113),i=n(13022),c=n(51609),l=n.n(c),u=n(65486);const d=e=>{switch(e){case"error":case"warning":default:return r.A;case"info":return a.A;case"success":return s.A}},p=({level:e="warning",children:t,showIcon:n=!0,className:r})=>{const a=(0,i.A)(u.A.container,u.A[`is-${e}`],r);return l().createElement("div",{className:a},n&&l().createElement("div",{className:u.A["icon-wrapper"]},l().createElement(o.A,{icon:d(e),className:u.A.icon})),l().createElement("div",null,t))}},51112:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(96072),a=n.n(r),s=n(56427),o=n(27723),i=n(51113),c=n(53512),l=n(13022),u=n(51609),d=n.n(u),p=n(77560);const __=o.__,m=(0,u.forwardRef)(((e,t)=>{const{children:n,variant:r="primary",size:o="normal",weight:u="bold",icon:m,iconSize:g,disabled:A,isDestructive:h,isLoading:E,isExternalLink:f,className:b,text:v,fullWidth:C,...k}=e,y=(0,l.A)(p.A.button,b,{[p.A.normal]:"normal"===o,[p.A.small]:"small"===o,[p.A.icon]:Boolean(m),[p.A.loading]:E,[p.A.regular]:"regular"===u,[p.A["full-width"]]:C,[p.A["is-icon-button"]]:Boolean(m)&&!n});k.ref=t;const B="normal"===o?20:16,w=f&&d().createElement(d().Fragment,null,d().createElement(i.A,{size:B,icon:c.A,className:p.A["external-icon"]}),d().createElement(s.VisuallyHidden,{as:"span"},/* translators: accessibility text */ +__("(opens in a new tab)","jetpack"))),_=f?"_blank":void 0,I=n?.[0]&&null!==n[0]&&"components-tooltip"!==n?.[0]?.props?.className;return d().createElement(s.Button,a()({target:_,variant:r,className:(0,l.A)(y,{"has-text":!!m&&I}),icon:f?void 0:m,iconSize:g,disabled:A,"aria-disabled":A,isDestructive:h,text:v},k),E&&d().createElement(s.Spinner,null),d().createElement("span",null,n),w)}));m.displayName="Button";const g=m},69222:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(96072),a=n.n(r),s=n(29491),o=n(86087),i=n(27723),c=n(51112),l=n(78478);const __=i.__,u=({buttonStyle:e="icon",textToCopy:t,onCopy:n,...r})=>{const[i,u]=(0,o.useState)(!1),d=(0,o.useRef)(),p=(0,s.useCopyToClipboard)(t,(()=>{d.current&&clearTimeout(d.current),u(!0),n?.(),d.current=setTimeout((()=>{u(!1),d.current=void 0}),3e3)}));(0,o.useEffect)((()=>()=>{d.current&&clearTimeout(d.current)}),[]);let m=null,g=null;"text"!==e&&(m=i?React.createElement(l.Nr,null):React.createElement(l.ui,null));const A=__("Copy to clipboard","jetpack");return"icon"!==e&&(g=i?__("Copied!","jetpack"):A),React.createElement(c.A,a()({"aria-label":A,icon:m,children:g,ref:p},r))}},63406:(e,t,n)=>{"use strict";n.d(t,{I:()=>s});var r=n(47143),a=n(692);function s(){const e=(0,r.useDispatch)(a.store),t=(0,r.useSelect)((e=>e(a.store).getNotices()),[]);return{...e,createNotice:(t,n,r)=>e.createNotice(t,n,{type:"snackbar",...r}),createErrorNotice:(t,n)=>e.createErrorNotice(t,{type:"snackbar",...n}),createInfoNotice:(t,n)=>e.createInfoNotice(t,{type:"snackbar",...n}),createSuccessNotice:(t,n)=>e.createSuccessNotice(t,{type:"snackbar",...n}),createWarningNotice:(t,n)=>e.createWarningNotice(t,{type:"snackbar",...n}),getNotices:()=>t}}},11883:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(27723),a=n(13022),s=n(51609);n(4459);const __=r.__;class o extends s.Component{static defaultProps={"aria-hidden":"false",focusable:"true"};needsOffset(e,t){return["gridicons-arrow-left","gridicons-arrow-right","gridicons-calendar","gridicons-cart","gridicons-folder","gridicons-info","gridicons-info-outline","gridicons-posts","gridicons-star-outline","gridicons-star"].indexOf(e)>=0&&t%18==0}getSVGDescription(e){if("description"in this.props)return this.props.description;switch(e){default:return"";case"gridicons-audio":return __("Has audio.","jetpack");case"gridicons-arrow-left":return __("Arrow left","jetpack");case"gridicons-arrow-right":return __("Arrow right","jetpack");case"gridicons-calendar":return __("Is an event.","jetpack");case"gridicons-cart":return __("Is a product.","jetpack");case"chevron-down":return __("Show filters","jetpack");case"gridicons-comment":return __("Matching comment.","jetpack");case"gridicons-cross":return __("Close.","jetpack");case"gridicons-filter":return __("Toggle search filters.","jetpack");case"gridicons-folder":return __("Category","jetpack");case"gridicons-info":case"gridicons-info-outline":return __("Information.","jetpack");case"gridicons-image-multiple":return __("Has multiple images.","jetpack");case"gridicons-image":return __("Has an image.","jetpack");case"gridicons-page":return __("Page","jetpack");case"gridicons-post":return __("Post","jetpack");case"gridicons-jetpack-search":case"gridicons-search":return __("Magnifying Glass","jetpack");case"gridicons-tag":return __("Tag","jetpack");case"gridicons-video":return __("Has a video.","jetpack")}}renderIcon(e){switch(e){default:return null;case"gridicons-audio":return React.createElement("g",null,React.createElement("path",{d:"M8 4v10.184C7.686 14.072 7.353 14 7 14c-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V7h7v4.184c-.314-.112-.647-.184-1-.184-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V4H8z"}));case"gridicons-arrow-left":return React.createElement("g",null,React.createElement("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}));case"gridicons-arrow-right":return React.createElement("g",null,React.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"}));case"gridicons-block":return React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM4 12c0-4.418 3.582-8 8-8 1.848 0 3.545.633 4.9 1.686L5.686 16.9C4.633 15.545 4 13.848 4 12zm8 8c-1.848 0-3.546-.633-4.9-1.686L18.314 7.1C19.367 8.455 20 10.152 20 12c0 4.418-3.582 8-8 8z"}));case"gridicons-calendar":return React.createElement("g",null,React.createElement("path",{d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.105 0-2 .896-2 2v13c0 1.104.895 2 2 2h14c1.104 0 2-.896 2-2V6c0-1.104-.896-2-2-2zm0 15H5V8h14v11z"}));case"gridicons-cart":return React.createElement("g",null,React.createElement("path",{d:"M9 20c0 1.1-.9 2-2 2s-1.99-.9-1.99-2S5.9 18 7 18s2 .9 2 2zm8-2c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zm.396-5c.937 0 1.75-.65 1.952-1.566L21 5H7V4c0-1.105-.895-2-2-2H3v2h2v11c0 1.105.895 2 2 2h12c0-1.105-.895-2-2-2H7v-2h10.396z"}));case"gridicons-checkmark":return React.createElement("g",null,React.createElement("path",{d:"M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658C17.823 3.39 15.075 2 12 2 6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.528-.353-2.97-.966-4.266L11 17.768z"}));case"gridicons-chevron-left":return React.createElement("g",null,React.createElement("path",{d:"M16.443 7.41L15.0399 6L9.06934 12L15.0399 18L16.443 16.59L11.8855 12L16.443 7.41Z"}));case"gridicons-chevron-right":return React.createElement("g",null,React.createElement("path",{d:"M10.2366 6L8.8335 7.41L13.391 12L8.8335 16.59L10.2366 18L16.2072 12L10.2366 6Z"}));case"gridicons-chevron-down":return React.createElement("g",null,React.createElement("path",{d:"M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586"}));case"gridicons-comment":return React.createElement("g",null,React.createElement("path",{d:"M3 6v9c0 1.105.895 2 2 2h9v5l5.325-3.804c1.05-.75 1.675-1.963 1.675-3.254V6c0-1.105-.895-2-2-2H5c-1.105 0-2 .895-2 2z"}));case"gridicons-computer":return React.createElement("g",null,React.createElement("path",{d:"M20 2H4c-1.104 0-2 .896-2 2v12c0 1.104.896 2 2 2h6v2H7v2h10v-2h-3v-2h6c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm0 14H4V4h16v12z"}));case"gridicons-cross":return React.createElement("g",null,React.createElement("path",{d:"M18.36 19.78L12 13.41l-6.36 6.37-1.42-1.42L10.59 12 4.22 5.64l1.42-1.42L12 10.59l6.36-6.36 1.41 1.41L13.41 12l6.36 6.36z"}));case"gridicons-filter":return React.createElement("g",null,React.createElement("path",{d:"M10 19h4v-2h-4v2zm-4-6h12v-2H6v2zM3 5v2h18V5H3z"}));case"gridicons-folder":return React.createElement("g",null,React.createElement("path",{d:"M18 19H6c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2h7c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2z"}));case"gridicons-image":return React.createElement("g",null,React.createElement("path",{d:"M13 9.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5-.672 1.5-1.5 1.5-1.5-.672-1.5-1.5zM22 6v12c0 1.105-.895 2-2 2H4c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h16c1.105 0 2 .895 2 2zm-2 0H4v7.444L8 9l5.895 6.55 1.587-1.85c.798-.932 2.24-.932 3.037 0L20 15.426V6z"}));case"gridicons-image-multiple":return React.createElement("g",null,React.createElement("path",{d:"M15 7.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5S17.328 9 16.5 9 15 8.328 15 7.5zM4 20h14c0 1.105-.895 2-2 2H4c-1.1 0-2-.9-2-2V8c0-1.105.895-2 2-2v14zM22 4v12c0 1.105-.895 2-2 2H8c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zM8 4v6.333L11 7l4.855 5.395.656-.73c.796-.886 2.183-.886 2.977 0l.513.57V4H8z"}));case"gridicons-info":return React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}));case"gridicons-info-outline":return React.createElement("g",null,React.createElement("path",{d:"M13 9h-2V7h2v2zm0 2h-2v6h2v-6zm-1-7c-4.411 0-8 3.589-8 8s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8m0-2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2z"}));case"gridicons-jetpack-search":return React.createElement("g",null,React.createElement("path",{d:"M0 9.257C0 4.15 4.151 0 9.257 0c5.105 0 9.256 4.151 9.256 9.257a9.218 9.218 0 01-2.251 6.045l.034.033h1.053L24 22.01l-1.986 1.989-6.664-6.662v-1.055l-.033-.033a9.218 9.218 0 01-6.06 2.264C4.15 18.513 0 14.362 0 9.257zm4.169 1.537h4.61V1.82l-4.61 8.973zm5.547-3.092v8.974l4.61-8.974h-4.61z"}));case"gridicons-phone":return React.createElement("g",null,React.createElement("path",{d:"M16 2H8c-1.104 0-2 .896-2 2v16c0 1.104.896 2 2 2h8c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm-3 19h-2v-1h2v1zm3-2H8V5h8v14z"}));case"gridicons-pages":return React.createElement("g",null,React.createElement("path",{d:"M16 8H8V6h8v2zm0 2H8v2h8v-2zm4-6v12l-6 6H6c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zm-2 10V4H6v16h6v-4c0-1.105.895-2 2-2h4z"}));case"gridicons-posts":return React.createElement("g",null,React.createElement("path",{d:"M16 19H3v-2h13v2zm5-10H3v2h18V9zM3 5v2h11V5H3zm14 0v2h4V5h-4zm-6 8v2h10v-2H11zm-8 0v2h5v-2H3z"}));case"gridicons-search":return React.createElement("g",null,React.createElement("path",{d:"M21 19l-5.154-5.154C16.574 12.742 17 11.42 17 10c0-3.866-3.134-7-7-7s-7 3.134-7 7 3.134 7 7 7c1.42 0 2.742-.426 3.846-1.154L19 21l2-2zM5 10c0-2.757 2.243-5 5-5s5 2.243 5 5-2.243 5-5 5-5-2.243-5-5z"}));case"gridicons-star-outline":return React.createElement("g",null,React.createElement("path",{d:"M12 6.308l1.176 3.167.347.936.997.042 3.374.14-2.647 2.09-.784.62.27.963.91 3.25-2.813-1.872-.83-.553-.83.552-2.814 1.87.91-3.248.27-.962-.783-.62-2.648-2.092 3.374-.14.996-.04.347-.936L12 6.308M12 2L9.418 8.953 2 9.257l5.822 4.602L5.82 21 12 16.89 18.18 21l-2.002-7.14L22 9.256l-7.418-.305L12 2z"}));case"gridicons-star":return React.createElement("g",null,React.createElement("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"}));case"gridicons-tag":return React.createElement("g",null,React.createElement("path",{d:"M20 2.007h-7.087c-.53 0-1.04.21-1.414.586L2.592 11.5c-.78.78-.78 2.046 0 2.827l7.086 7.086c.78.78 2.046.78 2.827 0l8.906-8.906c.376-.374.587-.883.587-1.413V4.007c0-1.105-.895-2-2-2zM17.007 9c-1.105 0-2-.895-2-2s.895-2 2-2 2 .895 2 2-.895 2-2 2z"}));case"gridicons-video":return React.createElement("g",null,React.createElement("path",{d:"M20 4v2h-2V4H6v2H4V4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2v-2h2v2h12v-2h2v2c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zM6 16H4v-3h2v3zm0-5H4V8h2v3zm4 4V9l4.5 3-4.5 3zm10 1h-2v-3h2v3zm0-5h-2V8h2v3z"}));case"gridicons-lock":return React.createElement(React.Fragment,null,React.createElement("g",{id:"lock"},React.createElement("path",{d:"M18,8h-1V7c0-2.757-2.243-5-5-5S7,4.243,7,7v1H6c-1.105,0-2,0.895-2,2v10c0,1.105,0.895,2,2,2h12c1.105,0,2-0.895,2-2V10 C20,8.895,19.105,8,18,8z M9,7c0-1.654,1.346-3,3-3s3,1.346,3,3v1H9V7z M13,15.723V18h-2v-2.277c-0.595-0.346-1-0.984-1-1.723 c0-1.105,0.895-2,2-2s2,0.895,2,2C14,14.738,13.595,15.376,13,15.723z"})),React.createElement("g",{id:"Layer_1"}));case"gridicons-external":return React.createElement("g",null,React.createElement("path",{d:"M19 13v6c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2V7c0-1.105.895-2 2-2h6v2H5v12h12v-6h2zM13 3v2h4.586l-7.793 7.793 1.414 1.414L19 6.414V11h2V3h-8z"}))}}render(){const{size:e=24,className:t=""}=this.props,n=this.props.height||e,r=this.props.width||e,s=this.props.style||{height:n,width:r},o="gridicons-"+this.props.icon,i=(0,a.A)("gridicon",o,t,{"needs-offset":this.needsOffset(o,e)}),c=this.getSVGDescription(o);return React.createElement("svg",{className:i,focusable:this.props.focusable,height:n,onClick:this.props.onClick,style:s,viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg","aria-hidden":this.props["aria-hidden"]},c?React.createElement("desc",null,c):null,this.renderIcon(o))}}const i=o},40597:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(56427),a=n(13022),s=n(51609),o=n.n(s),i=n(51112),c=n(11883);n(84813);const l=e=>({"top-end":"top left",top:"top center","top-start":"top right","bottom-end":"bottom left",bottom:"bottom center","bottom-start":"bottom right"}[e]),u=({className:e="",iconClassName:t="",placement:n="bottom-end",animate:u=!0,iconCode:d="info-outline",iconSize:p=18,offset:m=10,title:g,children:A,popoverAnchorStyle:h="icon",forceShow:E=!1,wide:f=!1,inline:b=!0,shift:v=!1})=>{const[C,k]=(0,s.useState)(!1),y=(0,s.useCallback)((()=>k(!1)),[k]),B=(0,s.useCallback)((e=>{e.preventDefault(),k(!C)}),[C,k]),w={position:l(n),placement:n,animate:u,noArrow:!1,resize:!1,flip:!1,offset:m,focusOnMount:"container",onClose:y,className:"icon-tooltip-container",inline:b,shift:v},_="wrapper"===h,I=(0,a.A)("icon-tooltip-wrapper",e),j={left:_?0:-(62-p/2)+"px"},x=_&&E;return o().createElement("div",{className:I,"data-testid":"icon-tooltip_wrapper"},!_&&o().createElement(i.A,{variant:"link",onMouseDown:B},o().createElement(c.A,{className:t,icon:d,size:p})),o().createElement("div",{className:(0,a.A)("icon-tooltip-helper",{"is-wide":f}),style:j},(x||C)&&o().createElement(r.Popover,w,o().createElement("div",null,g&&o().createElement("div",{className:"icon-tooltip-title"},g),o().createElement("div",{className:"icon-tooltip-content"},A)))))}},78478:(e,t,n)=>{"use strict";n.d(t,{M5:()=>p,Nr:()=>u,ui:()=>d});var r=n(96072),a=n.n(r),s=n(56427),o=n(13022),i=n(84705),c=n(47842);const l=({className:e,size:t=24,viewBox:n="0 0 24 24",opacity:r=1,color:i="#2C3338",children:l})=>{const u={className:(0,o.A)(c.A.iconWrapper,e),width:t,height:t,viewBox:n,opacity:r,fill:void 0};return i&&(u.fill=i),React.createElement(s.SVG,a()({},u,{fillRule:"evenodd",clipRule:"evenodd",xmlns:"http://www.w3.org/2000/svg"}),React.createElement(s.G,{opacity:r},l))},u=({size:e,className:t=c.A["checkmark-icon"],color:n})=>React.createElement(l,{className:t,size:e,color:n},React.createElement(s.Path,{d:"M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658C17.823 3.39 15.075 2 12 2 6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.528-.353-2.97-.966-4.266L11 17.768z"})),d=({size:e,className:t=c.A["clipboard-icon"],color:n})=>React.createElement(l,{className:t,size:e,color:n},React.createElement(s.Path,{d:"M5.625 5.5H15.375C15.444 5.5 15.5 5.55596 15.5 5.625V15.375C15.5 15.444 15.444 15.5 15.375 15.5H5.625C5.55596 15.5 5.5 15.444 5.5 15.375V5.625C5.5 5.55596 5.55596 5.5 5.625 5.5ZM4 5.625C4 4.72754 4.72754 4 5.625 4H15.375C16.2725 4 17 4.72754 17 5.625V10V15.375C17 16.2725 16.2725 17 15.375 17C15.375 17 6.52246 17 5.625 17C4.72754 17 4 16.2725 4 15.375V5.625ZM18.5 17.2812V8.28125H20V17.2812C20 18.7995 18.7704 20 17.2511 20H6.25V18.5H17.2511C17.9409 18.5 18.5 17.9721 18.5 17.2812Z"}));const p=({serviceName:e,className:t,iconSize:n})=>React.createElement(i.Ay,{className:(0,o.A)(c.A.socialIcon,c.A[e],t),icon:e,size:n||24})},67142:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(96072),a=n.n(r),s=n(27723),o=n(13022),i=n(51609),c=n.n(i);const __=s.__,l=({logoColor:e="#069e08",showText:t=!0,className:n,height:r=32,...s})=>{const i=t?"0 0 118 32":"0 0 32 32";return c().createElement("svg",a()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:i,className:(0,o.A)("jetpack-logo",n),"aria-labelledby":"jetpack-logo-title",height:r},s,{role:"img"}),c().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack")),c().createElement("path",{fill:e,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z M15,19H7l8-16V19z M17,29V13h8L17,29z"}),t&&c().createElement(c().Fragment,null,c().createElement("path",{d:"M41.3,26.6c-0.5-0.7-0.9-1.4-1.3-2.1c2.3-1.4,3-2.5,3-4.6V8h-3V6h6v13.4C46,22.8,45,24.8,41.3,26.6z"}),c().createElement("path",{d:"M65,18.4c0,1.1,0.8,1.3,1.4,1.3c0.5,0,2-0.2,2.6-0.4v2.1c-0.9,0.3-2.5,0.5-3.7,0.5c-1.5,0-3.2-0.5-3.2-3.1V12H60v-2h2.1V7.1 H65V10h4v2h-4V18.4z"}),c().createElement("path",{d:"M71,10h3v1.3c1.1-0.8,1.9-1.3,3.3-1.3c2.5,0,4.5,1.8,4.5,5.6s-2.2,6.3-5.8,6.3c-0.9,0-1.3-0.1-2-0.3V28h-3V10z M76.5,12.3 c-0.8,0-1.6,0.4-2.5,1.2v5.9c0.6,0.1,0.9,0.2,1.8,0.2c2,0,3.2-1.3,3.2-3.9C79,13.4,78.1,12.3,76.5,12.3z"}),c().createElement("path",{d:"M93,22h-3v-1.5c-0.9,0.7-1.9,1.5-3.5,1.5c-1.5,0-3.1-1.1-3.1-3.2c0-2.9,2.5-3.4,4.2-3.7l2.4-0.3v-0.3c0-1.5-0.5-2.3-2-2.3 c-0.7,0-2.3,0.5-3.7,1.1L84,11c1.2-0.4,3-1,4.4-1c2.7,0,4.6,1.4,4.6,4.7L93,22z M90,16.4l-2.2,0.4c-0.7,0.1-1.4,0.5-1.4,1.6 c0,0.9,0.5,1.4,1.3,1.4s1.5-0.5,2.3-1V16.4z"}),c().createElement("path",{d:"M104.5,21.3c-1.1,0.4-2.2,0.6-3.5,0.6c-4.2,0-5.9-2.4-5.9-5.9c0-3.7,2.3-6,6.1-6c1.4,0,2.3,0.2,3.2,0.5V13 c-0.8-0.3-2-0.6-3.2-0.6c-1.7,0-3.2,0.9-3.2,3.6c0,2.9,1.5,3.8,3.3,3.8c0.9,0,1.9-0.2,3.2-0.7V21.3z"}),c().createElement("path",{d:"M110,15.2c0.2-0.3,0.2-0.8,3.8-5.2h3.7l-4.6,5.7l5,6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"}),c().createElement("path",{d:"M58.5,21.3c-1.5,0.5-2.7,0.6-4.2,0.6c-3.6,0-5.8-1.8-5.8-6c0-3.1,1.9-5.9,5.5-5.9s4.9,2.5,4.9,4.9c0,0.8,0,1.5-0.1,2h-7.3 c0.1,2.5,1.5,2.8,3.6,2.8c1.1,0,2.2-0.3,3.4-0.7C58.5,19,58.5,21.3,58.5,21.3z M56,15c0-1.4-0.5-2.9-2-2.9c-1.4,0-2.3,1.3-2.4,2.9 C51.6,15,56,15,56,15z"})))}},60442:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(29491),a=n(59053);const s=["sm","md","lg"],o=(e,t)=>{const n=Array.isArray(e)?e:[e],o=Array.isArray(t)?t:[t],[i,c,l]=s,u={sm:(0,r.useMediaQuery)(a.A[i]),md:(0,r.useMediaQuery)(a.A[c]),lg:(0,r.useMediaQuery)(a.A[l])};return n.map(((e,t)=>{const n=o[t];return n?((e,t,n)=>{const r=s.indexOf(e),a=r+1,o=t.includes("=");let i=[];return t.startsWith("<")&&(i=s.slice(0,o?a:r)),t.startsWith(">")&&(i=s.slice(o?r:a)),i?.length?i.some((e=>n[e])):n[e]})(e,n,u):u[e]}))}},11876:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(13022),a=n(51609),s=n.n(a),o=n(47876);const i=({children:e=null,width:t=null,height:n=null,className:a=""})=>s().createElement("div",{className:(0,r.A)(o.A.placeholder,a),style:{width:t,height:n}},e)},47656:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(90311),a=n(19783),s=n(83883),o=n(51113),i=n(10991),c=n(13022),l=n(51609),u=n.n(l),d=n(16024);const p=e=>{switch(e){case"error":case"warning":default:return r.A;case"info":return a.A;case"success":return s.A}},m=({level:e="info",title:t,children:n,actions:r,hideCloseButton:a=!1,onClose:s})=>{const l=(0,c.A)(d.A.container,d.A[`is-${e}`]);return u().createElement("div",{className:l},u().createElement("div",{className:d.A["icon-wrapper"]},u().createElement(o.A,{icon:p(e),className:d.A.icon})),u().createElement("div",{className:d.A["main-content"]},t&&u().createElement("div",{className:d.A.title},t),n,r&&r.length>0&&u().createElement("div",{className:d.A["action-bar"]},r.map(((e,t)=>u().createElement("div",{key:t,className:d.A.action},e))))),!a&&u().createElement("button",{"aria-label":"close",className:d.A["close-button"],onClick:s},u().createElement(o.A,{icon:i.A})))}},37975:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(51437);const a=(e,t={})=>{const n=(0,r.Y)();return new Intl.NumberFormat(n,t).format(e)}},36281:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(21782);const a=({value:e="https://jetpack.com",bgColor:t,fgColor:n,level:a,includeMargin:s,imageSettings:o,renderAs:i="canvas",size:c=248})=>React.createElement(r.Ay,{value:e,size:c,bgColor:t,fgColor:n,level:a,includeMargin:s,imageSettings:o,renderAs:i})},56461:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(28120),a=n.n(r),s=n(51609),o=n.n(s);n(85335);const i=({color:e="#FFFFFF",className:t="",size:n=20})=>{const r=t+" jp-components-spinner",a={width:n,height:n,fontSize:n,borderTopColor:e},s={borderTopColor:e,borderRightColor:e};return o().createElement("div",{className:r},o().createElement("div",{className:"jp-components-spinner__outer",style:a},o().createElement("div",{className:"jp-components-spinner__inner",style:s})))};i.propTypes={color:a().string,className:a().string,size:a().number};const c=i},10110:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r,Z:()=>a});const r={"headline-medium":"h1","headline-small":"h2","headline-small-regular":"h2","title-medium":"h3","title-medium-semi-bold":"h3","title-small":"h4",body:"p","body-small":"p","body-extra-small":"p","body-extra-small-bold":"p",label:"p"},a=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},47425:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>d});var r=n(96072),a=n.n(r),s=n(13022),o=n(51609),i=n.n(o),c=n(10110),l=n(22073);const u=(0,o.forwardRef)((({variant:e="body",children:t,component:n,className:r,...u},d)=>{const p=n||c.Q[e]||"span",m=(0,o.useMemo)((()=>c.Z.reduce(((e,t)=>(void 0!==u[t]&&(e+=l.A[`${t}-${u[t]}`]+" ",delete u[t]),e)),"")),[u]);return u.ref=d,i().createElement(p,a()({className:(0,s.A)(l.A.reset,l.A[e],r,m)},u),t)}));u.displayName="Text";const d=u},50723:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>p});var r=n(51609),a=n.n(r),s=n(25196);const o={"--font-headline-medium":"48px","--font-headline-small":"36px","--font-title-medium":"24px","--font-title-small":"20px","--font-body":"16px","--font-body-small":"14px","--font-body-extra-small":"12px","--font-title-large":"var(--font-headline-small)","--font-label":"var(--font-body-extra-small)"},i={"--jp-black":"#000000","--jp-black-80":"#2c3338","--jp-white":"#ffffff","--jp-white-off":"#f9f9f6","--jp-gray":"#dcdcde","--jp-gray-0":"#F6F7F7","--jp-gray-5":"var(--jp-gray)","--jp-gray-10":"#C3C4C7","--jp-gray-20":"#A7AAAD","--jp-gray-40":"#787C82","--jp-gray-50":"#646970","--jp-gray-60":"#50575E","--jp-gray-70":"#3C434A","--jp-gray-80":"#2C3338","--jp-gray-90":"#1d2327","--jp-gray-off":"#e2e2df","--jp-red-0":"#F7EBEC","--jp-red-5":"#FACFD2","--jp-red-40":"#E65054","--jp-red-50":"#D63638","--jp-red-60":"#B32D2E","--jp-red-70":"#8A2424","--jp-red-80":"#691C1C","--jp-red":"#d63639","--jp-yellow-5":"#F5E6B3","--jp-yellow-10":"#F2CF75","--jp-yellow-20":"#F0C930","--jp-yellow-30":"#DEB100","--jp-yellow-40":"#C08C00","--jp-yellow-50":"#9D6E00","--jp-yellow-60":"#7D5600","--jp-blue-20":"#68B3E8","--jp-blue-40":"#1689DB","--jp-pink":"#C9356E","--jp-green-0":"#f0f2eb","--jp-green-5":"#d0e6b8","--jp-green-10":"#9dd977","--jp-green-20":"#64ca43","--jp-green-30":"#2fb41f","--jp-green-40":"#069e08","--jp-green-50":"#008710","--jp-green-60":"#007117","--jp-green-70":"#005b18","--jp-green-80":"#004515","--jp-green-90":"#003010","--jp-green-100":"#001c09","--jp-green":"#069e08","--jp-green-primary":"var( --jp-green-40 )","--jp-green-secondary":"var( --jp-green-30 )"},c={"--jp-border-radius":"4px","--jp-menu-border-height":"1px","--jp-underline-thickness":"2px"},l={"--spacing-base":"8px"},u={},d=(e,t,n)=>{const r={...o,...i,...c,...l};for(const t in r)e.style.setProperty(t,r[t]);n&&e.classList.add(s.A.global),t&&(u[t]={provided:!0,root:e})},p=({children:e=null,targetDom:t,id:n,withGlobalStyles:s=!0})=>{const o=(0,r.useRef)(),i=u?.[n]?.provided;return(0,r.useLayoutEffect)((()=>{if(!i)return t?d(t,n,s):void(o?.current&&d(o.current,n,s))}),[t,o,i,n,s]),t?a().createElement(a().Fragment,null,e):a().createElement("div",{ref:o},e)}},51437:(e,t,n)=>{"use strict";n.d(t,{Y:()=>a});var r=n(38443);const a=()=>{const{l10n:{locale:e}}=(0,r.getSettings)();if(e)return(e=>{const t=e.match(/^([a-z]{2,3})(_[a-z]{2}|_[a-z][a-z0-9]{4,7})?(?:_.*)?$/i);return t?`${t[1]}${t[2]?t[2]:""}`.replace("_","-"):"en-US"})(e);return window?.window?.navigator?.language??"en-US"}},3924:(e,t,n)=>{"use strict";function r(e,t={}){const n={};let r;if("undefined"!=typeof window&&(r=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}else n.source=encodeURIComponent(e);for(const e in t)n[e]=encodeURIComponent(t[e]);!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&Object.hasOwn(jetpack_redirects,"currentSiteRawUrl")&&(n.site=jetpack_redirects.currentBlogID??jetpack_redirects.currentSiteRawUrl),r&&(n.calypso_env=r);return"https://jetpack.com/redirect/?"+Object.keys(n).map((e=>e+"="+n[e])).join("&")}n.d(t,{A:()=>r})},56439:(e,t,n)=>{let r={};try{r=n(74277)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),r={missingConfig:!0}}const a=e=>Object.hasOwn(r,e);e.exports={jetpackConfigHas:a,jetpackConfigGet:e=>{if(!a(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return r[e]}}},89660:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(5932),a=n(97999),s=n(47143),o=n(51609),i=n(34293);const c=window?.JP_CONNECTION_INITIAL_STATE||(0,a.getScriptData)()?.connection||{},l=({registrationNonce:e=c.registrationNonce,apiRoot:t=c.apiRoot,apiNonce:n=c.apiNonce,redirectUri:a,autoTrigger:l,from:u,skipUserConnection:d}={})=>{const{registerSite:p,connectUser:m,refreshConnectedPlugins:g}=(0,s.useDispatch)(i.a),A=(0,s.useSelect)((e=>e(i.a).getRegistrationError())),{siteIsRegistering:h,userIsConnecting:E,userConnectionData:f,connectedPlugins:b,connectionErrors:v,isRegistered:C,isUserConnected:k,hasConnectedOwner:y,isOfflineMode:B}=(0,s.useSelect)((e=>({siteIsRegistering:e(i.a).getSiteIsRegistering(),userIsConnecting:e(i.a).getUserIsConnecting(),userConnectionData:e(i.a).getUserConnectionData(),connectedPlugins:e(i.a).getConnectedPlugins(),connectionErrors:e(i.a).getConnectionErrors(),isOfflineMode:e(i.a).getIsOfflineMode(),...e(i.a).getConnectionStatus()}))),w=()=>d?a?(window.location=a,Promise.resolve(a)):Promise.resolve():m({from:u,redirectUri:a}),_=t=>(t&&t.preventDefault(),C?w():p({registrationNonce:e,redirectUri:a,from:u}).then((()=>w())));return(0,o.useEffect)((()=>{r.Ay.setApiRoot(t),r.Ay.setApiNonce(n)}),[t,n]),(0,o.useEffect)((()=>{!l||h||E||_()}),[]),{handleRegisterSite:_,handleConnectUser:w,refreshConnectedPlugins:g,isRegistered:C,isUserConnected:k,siteIsRegistering:h,userIsConnecting:E,registrationError:A,userConnectionData:f,hasConnectedOwner:y,connectedPlugins:b,connectionErrors:v,isOfflineMode:B}}},33935:(e,t,n)=>{"use strict";n.d(t,{A1:()=>c,Ay:()=>k,DO:()=>i,Ij:()=>o,Kl:()=>m,LW:()=>l,MU:()=>g,XY:()=>u,ZO:()=>s,dz:()=>d,gH:()=>p,v_:()=>a});var r=n(5932);const a="SET_CONNECTION_STATUS",s="SET_CONNECTION_STATUS_IS_FETCHING",o="SET_SITE_IS_REGISTERING",i="SET_USER_IS_CONNECTING",c="SET_REGISTRATION_ERROR",l="CLEAR_REGISTRATION_ERROR",u="SET_AUTHORIZATION_URL",d="DISCONNECT_USER_SUCCESS",p="SET_CONNECTED_PLUGINS",m="SET_CONNECTION_ERRORS",g="SET_IS_OFFLINE_MODE",A=e=>({type:a,connectionStatus:e}),h=e=>({type:o,isRegistering:e}),E=e=>({type:i,isConnecting:e}),f=e=>({type:c,registrationError:e}),b=()=>({type:l}),v=e=>({type:u,authorizationUrl:e}),C=e=>({type:p,connectedPlugins:e});const k={setConnectionStatus:A,setConnectionStatusIsFetching:e=>({type:s,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:h,setUserIsConnecting:E,setRegistrationError:f,clearRegistrationError:b,setAuthorizationUrl:v,registerSite:function*({registrationNonce:e,redirectUri:t,from:n=""}){yield b(),yield h(!0);try{const r=yield{type:"REGISTER_SITE",registrationNonce:e,redirectUri:t,from:n};return yield A({isRegistered:!0}),yield v(r.authorizeUrl),yield h(!1),Promise.resolve(r)}catch(e){return yield f(e),yield h(!1),Promise.reject(e)}},connectUser:function*({from:e,redirectFunc:t,redirectUri:n}={}){yield E(!0),yield{type:"CONNECT_USER",from:e,redirectFunc:t,redirectUri:n}},disconnectUserSuccess:()=>({type:d}),setConnectedPlugins:C,refreshConnectedPlugins:()=>async({dispatch:e})=>await new Promise((t=>r.Ay.fetchConnectedPlugins().then((n=>{e(C(n)),t(n)})))),setConnectionErrors:e=>({type:m,connectionErrors:e}),setIsOfflineMode:e=>({type:g,isOfflineMode:e})}},22494:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(5932),a=n(47143),s=n(32279);const o={FETCH_AUTHORIZATION_URL:({redirectUri:e})=>r.Ay.fetchAuthorizationUrl(e),REGISTER_SITE:({registrationNonce:e,redirectUri:t,from:n})=>r.Ay.registerSite(e,t,n),CONNECT_USER:(0,a.createRegistryControl)((({resolveSelect:e})=>({from:t,redirectFunc:n,redirectUri:r}={})=>new Promise(((a,o)=>{e(s.A).getAuthorizationUrl(r).then((e=>{const r=n||(e=>window.location.assign(e)),s=new URL(e);t&&s.searchParams.set("from",encodeURIComponent(t));const o=s.toString();r(o),a(o)})).catch((e=>{o(e)}))}))))}},5051:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(47143),a=n(33935);const s=(0,r.combineReducers)({connectionStatus:(e={},t)=>{switch(t.type){case a.v_:return{...e,...t.connectionStatus};case a.dz:return{...e,isUserConnected:!1}}return e},connectionStatusIsFetching:(e=!1,t)=>t.type===a.ZO?t.isFetching:e,siteIsRegistering:(e=!1,t)=>t.type===a.Ij?t.isRegistering:e,userIsConnecting:(e=!1,t)=>t.type===a.DO?t.isConnecting:e,registrationError:(e,t)=>{switch(t.type){case a.LW:return!1;case a.A1:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===a.XY?t.authorizationUrl:e,userConnectionData:(e,t)=>(t.type,e),connectedPlugins:(e={},t)=>t.type===a.gH?t.connectedPlugins:e,connectionErrors:(e={},t)=>t.type===a.Kl?t.connectionErrors:e,isOfflineMode:(e=!1,t)=>t.type===a.MU?t.isConnecting:e})},58019:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(47143),a=n(33935),s=n(32279);const o={...{getAuthorizationUrl:{isFulfilled:(e,...t)=>{const n=Boolean(e.authorizationUrl),a=(0,r.select)(s.A).hasFinishedResolution("getAuthorizationUrl",t);return n&&!a&&(0,r.dispatch)(s.A).finishResolution("getAuthorizationUrl",t),n},*fulfill(e){const t=yield a.Ay.fetchAuthorizationUrl(e);yield a.Ay.setAuthorizationUrl(t.authorizeUrl)}}}}},52676:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={...{getConnectionStatus:e=>e.connectionStatus||{},getConnectionStatusIsFetching:()=>!1,getSiteIsRegistering:e=>e.siteIsRegistering||!1,getUserIsConnecting:e=>e.userIsConnecting||!1,getRegistrationError:e=>e.registrationError||!1,getAuthorizationUrl:e=>e.authorizationUrl||!1,getUserConnectionData:e=>e.userConnectionData||!1,getConnectedPlugins:e=>e.connectedPlugins||[],getConnectionErrors:e=>e.connectionErrors||[],getIsOfflineMode:e=>e.isOfflineMode||!1,getWpcomUser:e=>e?.userConnectionData?.currentUser?.wpcomUser,getBlogId:e=>e?.userConnectionData?.currentUser?.blogId}}},18734:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(47143);class a{static store=null;static mayBeInit(e,t){null===a.store&&(a.store=(0,r.createReduxStore)(e,t),(0,r.register)(a.store))}}const s=a},32279:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r="jetpack-connection"},34293:(e,t,n)=>{"use strict";n.d(t,{a:()=>u.A});var r=n(97999),a=n(33935),s=n(22494),o=n(5051),i=n(58019),c=n(52676),l=n(18734),u=n(32279);const d=window.JP_CONNECTION_INITIAL_STATE||(0,r.getScriptData)()?.connection;d||console.error("Jetpack Connection package: Initial state is missing. Check documentation to see how to use the Connection composer package to set up the initial state."),l.A.mayBeInit(u.A,{__experimentalUseThunks:!0,reducer:o.A,actions:a.Ay,selectors:c.A,resolvers:i.A,controls:s.A,initialState:d||{}})},7162:(e,t,n)=>{"use strict";n.d(t,{GlobalModals:()=>p.m,PostPublishPanels:()=>i.A,PublicizePanel:()=>o.A,SocialImageGeneratorPanel:()=>s.A,SocialPreviewsModal:()=>r.A,SocialPreviewsPanel:()=>a.A,usePublicizeConfig:()=>l.A,useSocialMediaConnections:()=>c.A,useSyncPostDataToStore:()=>d.F});n(89729),n(10267),n(70925);var r=n(81115),a=n(97192),s=n(29341),o=(n(12226),n(98725),n(29761),n(66561)),i=(n(25300),n(26029)),c=(n(37051),n(26637),n(50001)),l=(n(39553),n(77627)),u=(n(31873),n(54822),n(70407));n.o(u,"GlobalModals")&&n.d(t,{GlobalModals:function(){return u.GlobalModals}}),n.o(u,"useSyncPostDataToStore")&&n.d(t,{useSyncPostDataToStore:function(){return u.useSyncPostDataToStore}});n(39815);var d=n(75168),p=(n(49036),n(383),n(49192),n(48222),n(50646),n(47453))},12141:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(78478),a=n(86087),s=n(13022),o=n(28120),i=n.n(o);const c=e=>{const{checked:t,serviceName:n,label:o,onClick:i,profilePicture:c}=e,[l,u]=(0,a.useState)(!!c),d=(0,a.useCallback)((()=>u(!1)),[]),p=(0,a.useCallback)((e=>{13===e.keyCode&&i()}),[i]);return React.createElement("div",{onClick:i,onKeyDown:p,role:"switch","aria-checked":t,tabIndex:"0",className:(0,s.A)("components-connection-icon",{"components-connection-icon__picture":l})},l&&React.createElement("img",{src:c,alt:o,onError:d}),React.createElement(r.M5,{alt:o,serviceName:"instagram-business"===n?"instagram":"twitter"===n?"x":n,className:"jetpack-publicize-gutenberg-social-icon"}))};c.propTypes={serviceName:i().string,label:i().string,profilePicture:i().string};const l=c},55488:(e,t,n)=>{"use strict";n(56427),n(27723),n(51609),n(12141),n(27817),n(86158),n(43119),n(52683),n(85605)},27817:(e,t,n)=>{"use strict";n.d(t,{s:()=>c});var r=n(56427),a=n(47143),s=n(27723),o=n(89729),i=n(85605);const __=s.__;function c({connection:e}){const t=(0,a.useSelect)((t=>t(o.M_).getUpdatingConnections().includes(e.connection_id)),[e.connection_id]);return React.createElement("div",{className:i.A["connection-name"]},e.profile_link?React.createElement(r.ExternalLink,{className:i.A["profile-link"],href:e.profile_link},e.display_name||e.external_display):React.createElement("span",{className:i.A["profile-link"]},e.display_name),t?React.createElement(r.Spinner,{color:"black","aria-label":__("Updating account","jetpack")}):null)}},86158:(e,t,n)=>{"use strict";n.d(t,{v:()=>l});var r=n(3924),a=n(56427),s=n(86087),o=n(27723),i=n(43119),c=n(76046);const __=o.__;function l({connection:e,service:t}){return"broken"!==e.status?null:React.createElement("div",null,React.createElement("span",{className:"description"},t?__("There is an issue with this connection.","jetpack"):(0,s.createInterpolateElement)((0,o.sprintf)("%1$s %2$s",__("This platform is no longer supported.","jetpack"),__("You can use our Manual Sharing feature instead.","jetpack")),{link:React.createElement(a.ExternalLink,{href:(0,r.A)("jetpack-social-manual-sharing-help")})}))," ",t?React.createElement(c.C,{connection:e,service:t}):React.createElement(i.V,{connection:e,variant:"link",isDestructive:!1}))}},43119:(e,t,n)=>{"use strict";n.d(t,{V:()=>u});var r=n(51112),a=n(56427),s=n(47143),o=n(86087),i=n(27723),c=n(89729),l=n(85605);const __=i.__,_x=i._x;function u({connection:e,variant:t="secondary",isDestructive:n=!0,buttonClassName:u}){const[d,p]=(0,o.useReducer)((e=>!e),!1),{deleteConnectionById:m}=(0,s.useDispatch)(c.M_),{isDisconnecting:g}=(0,s.useSelect)((t=>{const{getDeletingConnections:n}=t(c.M_);return{isDisconnecting:n().includes(e.connection_id)}}),[e.connection_id]),A=(0,o.useCallback)((async()=>{p(),await m({connectionId:e.connection_id})}),[e.connection_id,m]);return e.can_disconnect?React.createElement(React.Fragment,null,React.createElement(a.__experimentalConfirmDialog,{className:l.A.confirmDialog,isOpen:d,onConfirm:A,onCancel:p,cancelButtonText:__("Cancel","jetpack"),confirmButtonText:__("Yes","jetpack")},(0,o.createInterpolateElement)((0,i.sprintf)( // translators: %s: The name of the connection the user is disconnecting. -__("Are you sure you want to disconnect %s?","jetpack"),e.display_name),{strong:React.createElement("strong",null)})),React.createElement(a.Z,{size:"small",onClick:p,disabled:g,variant:t,isDestructive:n,className:u},g?__("Disconnecting…","jetpack"):_x("Disconnect","Disconnect a social media account","jetpack"))):null}},75674:(e,t,n)=>{"use strict";n(55609),n(9818),n(69307),n(65736),n(57492),n(23177),n(95766),n(8207),n(60676),n(75124)},43876:(e,t,n)=>{"use strict";n.d(t,{l:()=>c});var a=n(55609),r=n(9818),s=n(69307),o=n(65736),i=n(23177);const __=o.__;function c({connection:e}){const{updateConnectionById:t}=(0,r.useDispatch)(i.h),{isUpdating:n}=(0,r.useSelect)((t=>{const{getUpdatingConnections:n}=t(i.h);return{isUpdating:n().includes(e.connection_id)}}),[e.connection_id]),o=(0,s.useCallback)((n=>{t(e.connection_id,{shared:n})}),[e.connection_id,t]);return React.createElement(a.CheckboxControl,{checked:e.shared??!1,onChange:o,disabled:n||"broken"===e.status,label:__("Mark the connection as shared","jetpack")})}},67660:(e,t,n)=>{"use strict";n.d(t,{w:()=>l});var a=n(90526),r=n(9818),s=n(69307),o=n(65736),i=n(23177),c=n(58300);const __=o.__,_x=o._x;function l({connection:e,service:t,variant:n="link"}){const{deleteConnectionById:o,setKeyringResult:l,openConnectionsModal:u,setReconnectingAccount:d}=(0,r.useDispatch)(i.h),{isDisconnecting:p}=(0,r.useSelect)((t=>{const{getDeletingConnections:n}=t(i.h);return{isDisconnecting:n().includes(e.connection_id)}}),[e.connection_id]),m=(0,s.useCallback)((e=>{l(e),e?.ID&&u()}),[u,l]),g=(0,c.N)({service:t,onConfirm:m}),A=(0,s.useCallback)((async()=>{if(!await o({connectionId:e.connection_id,showSuccessNotice:!1}))return;await d(`${e.service_name}:${e.external_id}`);const n=new FormData;"mastodon"===t.ID&&n.set("instance",e.external_display),g(n)}),[e,o,g,t.ID,d]);return e.can_disconnect?React.createElement(a.Z,{size:"small",onClick:A,disabled:p,variant:n},p?__("Disconnecting…","jetpack"):_x("Reconnect","Reconnect a social media account","jetpack")):null}},24479:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(3228),r=n(25162),s=n.n(r),o=n(85761);const i=e=>{const{checked:t,disabled:n,onChange:r,serviceName:s,label:i,profilePicture:c}=e,l=(0,a.Z)("components-connection-toggle",{"is-not-checked":!t,"is-disabled":n});return React.createElement("div",{className:l,title:i},React.createElement(o.Z,{checked:t,label:i,onClick:r,serviceName:s,profilePicture:c}))};i.propTypes={className:s().string,checked:s().bool,id:s().string.isRequired,disabled:s().bool,onChange:s().func,serviceName:s().string,label:s().string,profilePicture:s().string};const c=i},4277:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var a=n(13419),r=n(55609),s=n(9818),o=n(69307),i=n(65736),c=n(23177),l=n(24479),u=n(28161),d=n(91853);const __=i.__;class p extends o.Component{maybeDisplayLinkedInNotice=()=>this.connectionNeedsReauth()&&React.createElement(r.Notice,{className:u.Z["publicize-notice"],isDismissible:!1,status:"error"},React.createElement("p",null,__("Your LinkedIn connection needs to be reauthenticated to continue working – head to Sharing to take care of it.","jetpack")),React.createElement(r.ExternalLink,{href:`https://wordpress.com/marketing/connections/${(0,a.lQ)()}`},__("Go to Sharing settings","jetpack")));connectionNeedsReauth=()=>this.props.mustReauthConnections.includes(this.props.name);onConnectionChange=()=>{const{id:e}=this.props;this.isDisabled()||this.props.toggleConnection(e)};connectionIsFailing(){const{failedConnections:e,name:t}=this.props;return e.some((e=>e.service_name===t))}isDisabled(){return this.props.disabled||this.connectionIsFailing()||this.connectionNeedsReauth()}render(){const{enabled:e,id:t,label:n,name:a,profilePicture:r}=this.props,s="connection-"+a+"-"+t,o=a.replace("_","-"),i=React.createElement(l.Z,{id:s,className:d.Z["connection-toggle"],checked:e,onChange:this.onConnectionChange,disabled:this.isDisabled(),serviceName:o,label:n,profilePicture:r});return React.createElement("li",null,this.maybeDisplayLinkedInNotice(),React.createElement("div",{className:d.Z["connection-container"]},i))}}const m=(0,s.withSelect)((e=>({failedConnections:e(c.Eg).getFailedConnections(),mustReauthConnections:e(c.Eg).getMustReauthConnections()})))(p)},1922:(e,t,n)=>{"use strict";n.d(t,{F:()=>d});var a=n(6895),r=n(13419),s=n(55609),o=n(69307),i=n(65736),c=n(81050),l=n(75323),u=n(62578);const __=i.__,d=()=>{const{shouldShowAdvancedPlanNudge:e}=(0,c.usePublicizeConfig)(),{dismissNotice:t,shouldShowNotice:n,NOTICES:i}=(0,l.Z)(),d=(0,o.useCallback)((()=>t(i.advancedUpgradeEditor,7776e3)),[t,i]);return e&&n(i.advancedUpgradeEditor)&&React.createElement(u.Z,{onDismiss:d,type:"highlight"},(0,o.createInterpolateElement)(__("Need more reach? Unlock custom media sharing with the Advanced Plan","jetpack"),{upgradeLink:React.createElement(s.ExternalLink,{href:(0,a.Z)("jetpack-social-advanced-site-checkout",{site:(0,r.lQ)(),query:"redirect_to="+encodeURIComponent(window.location.href)})})}))}},63503:(e,t,n)=>{"use strict";n.d(t,{Z:()=>A});var a=n(90526),r=n(55609),s=n(9818),o=n(69307),i=n(65736),c=n(14085),l=n(57492),u=n(23177),d=n(62578),p=n(83255),m=n(75631),g=n(49285);const __=i.__,_x=i._x,A=()=>{const{connections:e}=(0,l.Z)(),t=e.filter((e=>"broken"===e.status||(0,g.A)(e,"broken"))),{connectionsAdminUrl:n}=(0,c.Z)(),i=(0,s.useSelect)((e=>e(u.h).useAdminUiV1()),[]),{openConnectionsModal:A}=(0,s.useDispatch)(u.h),h=i?React.createElement(a.Z,{variant:"link",onClick:A,className:m.Z["broken-connection-btn"]}):React.createElement(r.ExternalLink,{href:n}),E=(0,p.A)();if(!t.length)return null;const f=t.reduce(((e,t)=>(e[t.service_name]||(e[t.service_name]=[]),e[t.service_name].push(t),e)),{});return t.length>0&&React.createElement(d.Z,{type:"error"},__("Your following connections need to be reconnected:","jetpack"),React.createElement("ul",null,Object.entries(f).map((([e,t])=>{const n=E(e);return React.createElement("li",{key:e},React.createElement("div",{className:m.Z["broken-connection-service"]},React.createElement("span",null,n,_x(":","Colon to display before the list of connections","jetpack")," "),t.map((({display_name:e,external_display:n,id:a},r)=>React.createElement(o.Fragment,{key:a},React.createElement("span",{className:m.Z["broken-connection"]},e||n),rconnections management section.",'"them" refers to the broken connections.',"jetpack"),{fixLink:h}))}},75457:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var a=n(13419),r=n(99196),s=n(14085),o=n(57492),i=n(4277),c=n(82356),l=n(89510),u=n(75631),d=n(28155);const p=()=>{const{recordEvent:e}=(0,a.z$)(),{connections:t,toggleById:n}=(0,o.Z)(),{canBeTurnedOn:p,shouldBeDisabled:m}=(0,d.z)(),{needsUserConnection:g}=(0,s.Z)(),A=(0,r.useCallback)(((t,a)=>()=>{n(t),e("jetpack_social_connection_toggled",{location:"editor",enabled:!a.enabled,service_name:a.service_name})}),[e,n]);return React.createElement("div",null,React.createElement("ul",{className:u.Z["connections-list"]},t.map((e=>{const{display_name:t,id:n,service_name:a,profile_picture:r,connection_id:s}=e,o=s||n;return React.createElement(i.Z,{disabled:m(e),enabled:p(e)&&e.enabled,key:o,id:o,label:t,name:a,toggleConnection:A(o,e),profilePicture:r})}))),React.createElement(c.H,null),g?null:React.createElement(l.l,{variant:"secondary"}))}},82356:(e,t,n)=>{"use strict";n.d(t,{H:()=>l});var a=n(55609),r=n(65736),s=n(14085),o=n(57492),i=n(75631),c=n(28155);const _n=r._n;function l(){const{enabledConnections:e}=(0,o.Z)(),{isPublicizeEnabled:t}=(0,s.Z)(),{canBeTurnedOn:n,shouldBeDisabled:l}=(0,c.z)(),u=e.filter((e=>n(e)&&!l(e)));return u.length&&t?React.createElement(a.PanelRow,null,React.createElement("p",{className:i.Z["enabled-connections-notice"]},(0,r.sprintf)(/* translators: %d: number of connections */ -_n("This post will be shared to %d connection.","This post will be shared to %d connections.",u.length,"jetpack"),u.length))):null}},84703:(e,t,n)=>{"use strict";n.d(t,{Z:()=>C});var a=n(55609),r=n(9818),s=n(69307),o=n(65736),i=n(81050),c=n(57492),l=n(23177),u=n(95766),d=n(93875),p=n(1922),m=n(63503),g=n(75457),A=n(14635),h=n(89510),E=n(27730),f=n(63411),b=n(75631),v=n(22124);const __=o.__;function C(){const{hasConnections:e,hasEnabledConnections:t}=(0,c.Z)(),{isPublicizeEnabled:n,isPublicizeDisabledBySitePlan:o,needsUserConnection:C,userConnectionUrl:k}=(0,i.usePublicizeConfig)(),{useAdminUiV1:y,featureFlags:B}=(0,r.useSelect)((e=>{const t=e(l.h);return{useAdminUiV1:t.useAdminUiV1(),featureFlags:t.featureFlags()}}),[]),w=o?a.Disabled:s.Fragment;return React.createElement(w,null,y?React.createElement(u.i,null):null,e?React.createElement(React.Fragment,null,React.createElement(a.PanelRow,null,React.createElement(g.Z,null)),B.useEditorPreview?React.createElement(d.K,null):null,React.createElement(E.z,null),React.createElement(m.Z,null),React.createElement(v.x,null),React.createElement(A.R,null)):null,React.createElement(a.PanelRow,null,C?React.createElement("p",null,__("You must connect your WordPress.com account to be able to add social media connections.","jetpack")," ",React.createElement("a",{href:k},__("Connect now","jetpack"))):e?null:React.createElement("p",null,React.createElement("span",{className:b.Z["no-connections-text"]},__("Sharing is disabled because there are no social media accounts connected.","jetpack")),React.createElement(h.l,{label:__("Connect an account","jetpack")}))),!o&&React.createElement(s.Fragment,null,n&&t&&React.createElement(f.X,{analyticsData:{location:"editor"}}),React.createElement(p.F,null)))}},50523:(e,t,n)=>{"use strict";n.d(t,{x:()=>c});var a=n(6895),r=n(55609),s=n(65736),o=n(81050),i=n(62578);const __=s.__,c=()=>{const{isEnhancedPublishingEnabled:e}=(0,o.usePublicizeConfig)();return e?React.createElement(i.Z,{type:"warning"},__("To share to Instagram, add an image/video, or enable Social Image Generator.","jetpack"),React.createElement("br",null),React.createElement(r.ExternalLink,{href:(0,a.Z)("jetpack-social-share-to-instagram")},__("Learn more","jetpack"))):React.createElement(i.Z,{type:"warning"},__("You need a featured image to share to Instagram.","jetpack"),React.createElement("br",null),React.createElement(r.ExternalLink,{href:(0,a.Z)("jetpack-social-share-to-instagram")},__("Learn more","jetpack")))}},85930:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var a=n(6895),r=n(55609),s=n(9818),o=n(69307),i=n(65736),c=n(28610),l=n(23177),u=n(62578),d=n(83255);const __=i.__,_x=i._x,p=({validationErrors:e})=>{const{getConnectionById:t}=(0,s.useSelect)((e=>e(l.h)),[]),n=(0,d.A)(),i=(0,o.useMemo)((()=>Object.entries(e).reduce(((e,[a,r])=>{if(!r)return e;e[r]||(e[r]=[]);const s=n(t(a)?.service_name);return s&&!e[r].includes(s)&&e[r].push(s),e}),{})),[t,n,e]);return React.createElement(u.Z,{type:"warning"},React.createElement("p",null,__("The selected media cannot be share to some social media platforms.","jetpack")),React.createElement("ul",null,Object.entries(i).map((([e,t])=>t.length?React.createElement("li",{key:e},React.createElement("i",null,(0,c.f0)(e)),_x(":","Colon to display before the list of social media platforms","jetpack")+" ",t.map(((e,t,{length:n})=>React.createElement(o.Fragment,{key:e},React.createElement("b",null,e),t{"use strict";n.d(t,{R:()=>d});var a=n(88219),r=n(39118),s=n(98811),o=n(41103),i=n(28610),c=n(57492),l=n(50523),u=n(85930);const d=()=>{const{connections:e}=(0,c.Z)(),{attachedMedia:t}=(0,a.Z)(),n=(0,r.Z)(),d=t[0]?.id||n,{validationErrors:p,isConvertible:m}=(0,o.Z)(e,(0,s.Z)(d)[0]);return Object.keys(p).length?Object.values(p).includes(i.rs)?React.createElement(l.x,null):m?null:React.createElement(u.Z,{validationErrors:p}):null}},89510:(e,t,n)=>{"use strict";n.d(t,{l:()=>l});var a=n(55609),r=n(9818),s=n(65736),o=n(14085),i=n(23177),c=n(75631);const __=s.__;function l({label:e,variant:t="primary"}){const{useAdminUiV1:n,connections:s}=(0,r.useSelect)((e=>({useAdminUiV1:e(i.h).useAdminUiV1(),connections:e(i.h).getConnections()})),[]),{openConnectionsModal:l}=(0,r.useDispatch)(i.h),{connectionsAdminUrl:u}=(0,o.Z)(),d=e||__("Manage connections","jetpack"),p=s.length>0;return n?React.createElement(a.Button,{onClick:l,variant:p?"link":t,size:p?"default":"small",className:c.Z["settings-button"]},d):React.createElement(a.ExternalLink,{className:c.Z["settings-button"],href:u},d)}},27730:(e,t,n)=>{"use strict";n.d(t,{z:()=>E});var a=n(88275),r=n(45106),s=n(69665),o=n(6895),i=n(13419),c=n(55609),l=n(9818),u=n(65736),d=n(34431),p=n(23177),m=n(32637),g=n(27941),A=n(75631),h=n(6785);const __=u.__,_x=u._x,E=()=>{const{showShareLimits:e,hasPaidFeatures:t}=(0,l.useSelect)((e=>{const t=e(p.h);return{showShareLimits:t.showShareLimits(),hasPaidFeatures:t.hasPaidFeatures()}}),[]),{noticeType:n,usedCount:u,scheduledCount:E,remainingCount:f}=(0,d.U)(),b=(0,h.L)();return(0,i.Wp)()||(0,i.Ug)()||!e&&t?null:React.createElement(c.PanelRow,null,React.createElement("div",{className:A.Z["share-count-info"]},React.createElement(a.ZP,null,e?React.createElement(React.Fragment,null,React.createElement("div",{className:A.Z["title-container"]},React.createElement(r.ZP,{variant:"body-extra-small",className:A.Z["auto-share-title"]},__("Auto-shares this cycle","jetpack")),React.createElement(s.Z,{inline:!1,shift:!0,iconSize:16,placement:"top-end"},React.createElement(r.ZP,{variant:"body-small"},__("As a free Jetpack Social user, you get 30 shares within every rolling 30-day window.","jetpack")))),React.createElement(g.p,null),React.createElement(m.r,{usedCount:u,scheduledCount:E,remainingCount:f,className:A.Z["bar-wrapper"],noticeType:n})):null,"default"!==n||t?null:React.createElement(c.Button,{key:"upgrade",variant:"link",onClick:b,href:(0,o.Z)("jetpack-social-basic-plan-block-editor",{site:(0,i.lQ)(),query:"redirect_to="+encodeURIComponent(window.location.href)})},_x("Unlock enhanced media sharing features.","Call to action to buy a new plan","jetpack")))))}},27941:(e,t,n)=>{"use strict";n.d(t,{p:()=>p});var a=n(6895),r=n(13419),s=n(55609),o=n(9818),i=n(65736),c=n(34431),l=n(23177),u=n(62578),d=n(6785);const _x=i._x,p=()=>{const e=(0,o.useSelect)((e=>e(l.h).showShareLimits()),[]),t=(0,d.L)(),{message:n}=(0,c.U)();return e&&n?React.createElement(u.Z,{type:"warning",actions:[React.createElement(s.Button,{key:"upgrade",variant:"primary",onClick:t,href:(0,a.Z)("jetpack-social-basic-plan-block-editor",{site:(0,r.lQ)(),query:"redirect_to="+encodeURIComponent(window.location.href)})},_x("Upgrade","Call to action to buy a new plan","jetpack"))]},n):null}},63411:(e,t,n)=>{"use strict";n.d(t,{X:()=>i});var a=n(81050),r=n(48751),s=n(29753),o=n(71961);const i=({analyticsData:e=null})=>{const{message:t,updateMessage:n,maxLength:i}=(0,r.Z)(),{isEnhancedPublishingEnabled:c}=(0,a.usePublicizeConfig)();return React.createElement(React.Fragment,null,React.createElement(o.Z,{maxLength:i,onChange:n,message:t,analyticsData:e}),c&&React.createElement(s.Z,{analyticsData:e}))}},22124:(e,t,n)=>{"use strict";n.d(t,{x:()=>u});var a=n(55609),r=n(69307),s=n(65736),o=n(81050),i=n(57492),c=n(62578),l=n(49285);const __=s.__,u=()=>{const{connections:e}=(0,i.Z)(),{connectionsAdminUrl:t}=(0,o.usePublicizeConfig)();return e.filter((e=>(0,l.A)(e,"unsupported"))).length>0&&React.createElement(c.Z,{type:"error"},(0,r.createInterpolateElement)(__("Twitter is not supported anymore. Learn more here.","jetpack"),{moreInfo:React.createElement(a.ExternalLink,{href:t})}))}},6785:(e,t,n)=>{"use strict";n.d(t,{L:()=>o});var a=n(9818),r=n(12238),s=n(69307);function o(){const{isEditedPostDirty:e}=(0,a.useSelect)(r.store,[]),{autosave:t}=(0,a.useDispatch)(r.store);return(0,s.useCallback)((async n=>{if(!(n.target instanceof HTMLAnchorElement))return;const a=n.target.getAttribute("target");e()&&!a&&(n.preventDefault(),await t(),window.location.href=n.target.href),a&&(n.preventDefault(),window.open(n.target.href,a,"noreferrer"))}),[t,e])}},28155:(e,t,n)=>{"use strict";n.d(t,{z:()=>g});var a=n(9818),r=n(69307),s=n(99196),o=n(81050),i=n(88219),c=n(39118),l=n(98811),u=n(41103),d=n(28610),p=n(57492),m=n(23177);const g=()=>{const{connections:e,enabledConnections:t}=(0,p.Z)(),{isPublicizeEnabled:n,isPublicizeDisabledBySitePlan:g}=(0,o.usePublicizeConfig)(),{showShareLimits:A,numberOfSharesRemaining:h}=(0,a.useSelect)((e=>({showShareLimits:e(m.h).showShareLimits(),numberOfSharesRemaining:e(m.h).numberOfSharesRemaining()})),[]),{attachedMedia:E}=(0,i.Z)(),f=(0,c.Z)(),b=E[0]?.id||f,{validationErrors:v,isConvertible:C}=(0,u.Z)(e,(0,l.Z)(b)[0]),k=A&&h<=t.length,y=(0,r.useCallback)((e=>{const{id:t,is_healthy:n,connection_id:a,status:r}=e,s=a||t,o=!1!==n&&"broken"!==r,i=void 0!==v[s]&&!C,c=v[s]===d.rs;return o&&!i&&!c}),[C,v]),B=(0,r.useCallback)((e=>{const{enabled:t,toggleable:a}=e;return!n||!t&&a&&k||!y(e)}),[y,n,k]),w=(0,r.useCallback)((e=>!g&&y(e)),[y,g]);return(0,s.useMemo)((()=>({shouldBeDisabled:B,canBeTurnedOn:w})),[B,w])}},49285:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});const a=(e,t)=>!1===e.is_healthy&&t===(e.error_code??"broken")},9888:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>f});var a=n(88275),r=n(86989),s=n.n(r),o=n(55609),i=n(9818),c=n(12238),l=n(65736),u=n(3228),d=n(99196),p=n.n(d),m=n(75263),g=n(58487),A=n(90785);const __=l.__,_x=l._x,h="featured-image-still-loading",E=(e,t,n,a)=>{if("none"===e||"custom"===e&&!t||"featured"===(e??"featured")&&!n)return null;const r=a("custom"===e?t:n);return r?(e=>e?.media_details?.sizes?.large?.source_url||e?.source_url)(r):h};function f({shouldDebounce:e=!0,onNewToken:t,...n}){const[r,l]=(0,d.useState)(null),[f,b]=(0,d.useState)(!0),{customText:v,imageType:C,imageId:k,template:y,setToken:B}={...(0,m.Z)(),...n},{title:w,imageUrl:_}=(0,i.useSelect)((e=>{const t=e(c.store).getEditedPostAttribute("featured_media");return{title:e(c.store).getEditedPostAttribute("title"),imageUrl:E(C,k,t,e("core").getMedia)}})),I=(0,d.useMemo)((()=>v||w||" "),[v,w]),j=(0,d.useRef)(I),x=(0,d.useRef)(r);(0,d.useEffect)((()=>{x.current=r})),(0,d.useEffect)((()=>{const n=setTimeout((async()=>{if(b(!0),_===h)return;const e=await s()({path:"/jetpack/v4/social-image-generator/generate-preview-token",method:"POST",data:{text:I,image_url:_,template:y}});B?.(e),t?.(e);const n=(0,A.t)(e);n!==x.current?l(n):b(!1)}),I!==j.current&&e?1500:0);return()=>{clearTimeout(n),j.current=I}}),[I,y,_,t]);const S=(0,d.useCallback)((()=>{b(!1)}),[]);return p().createElement(a.ZP,null,p().createElement(o.BaseControl,{label:_x("Preview","Heading for the generated preview image","jetpack")},p().createElement("div",{className:g.Z.container},p().createElement("img",{className:(0,u.Z)({[g.Z.hidden]:f}),src:r,alt:__("Generated preview","jetpack"),onLoad:S}),f&&p().createElement(o.Spinner,{"data-testid":"spinner"}))))}},90785:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});var a=n(6895);function r(e){return e?(0,a.Z)("sigenerate",{query:`t=${e}`}):""}},15805:(e,t,n)=>{"use strict";n.d(t,{Y:()=>m});var a=n(60068),r=n(90526),s=n(55609),o=n(9818),i=n(69307),c=n(65736),l=n(23177),u=n(66475),d=n(31182);const __=c.__,_x=c._x;function p({label:e,profile_picture:t}){return React.createElement("div",{className:d.Z["account-info"]},t?React.createElement("img",{className:d.Z["profile-pic"],src:t,alt:e}):null,React.createElement("span",null,e))}function m({keyringResult:e,onComplete:t,isAdmin:n}){const c=(0,u.i)(),{existingConnections:m,reconnectingAccount:g}=(0,o.useSelect)((e=>{const t=e(l.h);return{existingConnections:t.getConnections(),reconnectingAccount:t.getReconnectingAccount()}}),[]),{createErrorNotice:A}=(0,a._)(),h=c.find((t=>t.ID===e.service)),E=(0,i.useCallback)((e=>m.some((t=>t.service_name===h?.ID&&t.external_id===e))),[m,h.ID]),f=(0,i.useMemo)((()=>{const t=[],n=[];if(!h)return{connected:t,not_connected:n};const a=[];if(h.external_users_only||a.push({label:e.external_display,value:e.external_ID,profile_picture:e.external_profile_picture}),h.multiple_external_user_ID_support&&e.additional_external_users?.length)for(const t of e.additional_external_users)a.push({label:t.external_name,value:t.external_ID,profile_picture:t.external_profile_picture});for(const e of a)E(e.value)?t.push(e):n.push(e);return{connected:t,not_connected:n}}),[E,e,h]),{createConnection:b,setReconnectingAccount:v}=(0,o.useDispatch)(l.h),C=(0,i.useCallback)((async n=>{n.preventDefault(),n.stopPropagation();const a=n.target,r=new FormData(a),s=r.get("external_user_ID");if(!s)return void A(__("Please select an account to connect.","jetpack"));const o={external_user_ID:h.multiple_external_user_ID_support?s:void 0,keyring_connection_ID:e.ID,shared:"1"===r.get("shared")||void 0},i=f.not_connected.find((e=>e.value===s));g&&v(""),b(o,{display_name:i?.label,profile_picture:i?.profile_picture,service_name:h.ID,external_id:s}),t()}),[b,g,v,A,e.ID,t,h.multiple_external_user_ID_support,h.ID,f.not_connected]);return React.createElement("section",{className:d.Z.confirmation},f.not_connected.length?React.createElement("div",null,React.createElement("p",{className:d.Z["header-text"]},__("Select the account you'd like to connect. All your new blog posts will be automatically shared to this account. You'll be able to change this option in the editor sidebar when you're writing a post.","jetpack")),React.createElement("form",{className:d.Z.form,onSubmit:C,id:"connection-confirmation-form"},React.createElement("div",{className:d.Z["accounts-list"]},f.not_connected.map(((e,t)=>{const n=g?g===`${h?.ID}:${e.value}`:0===t;return React.createElement("label",{key:e.value,className:d.Z["account-label"],"aria-required":!0},React.createElement("input",{type:"radio",name:"external_user_ID",value:e.value,defaultChecked:n,className:d.Z["account-input"],required:!0}),React.createElement(p,{label:e.label,profile_picture:e.profile_picture}))}))),n?React.createElement(s.BaseControl,{id:"mark-connection-as-shared",help:`${__("If enabled, the connection will be available to all administrators, editors, and authors.","jetpack")} ${__("You can change this later.","jetpack")}`},React.createElement(s.__experimentalHStack,{justify:"flex-start",spacing:3},React.createElement("span",null,React.createElement("input",{type:"checkbox",id:"mark-connection-as-shared",name:"shared",value:"1"})),React.createElement(s.FlexBlock,{as:"label",htmlFor:"mark-connection-as-shared"},__("Mark the connection as shared","jetpack")))):null,React.createElement("input",{type:"hidden",name:"keyring_connection_ID",value:e.ID}))):React.createElement("p",{className:d.Z["header-text"]},f.connected.length?_x("No more accounts/pages found.","Message shown when there are no connections found to connect","jetpack"):__("No accounts/pages found.","jetpack")),f.connected.length?React.createElement("section",null,React.createElement("h3",null,__("Already connected","jetpack")),React.createElement("ul",null,f.connected.map(((e,t)=>React.createElement("li",{key:e.label+t},React.createElement(p,{label:e.label,profile_picture:e.profile_picture})))))):null,React.createElement("div",{className:d.Z["submit-wrap"]},React.createElement(r.Z,{variant:"secondary",onClick:t},__("Cancel","jetpack")),f.not_connected.length?React.createElement(r.Z,{form:"connection-confirmation-form",type:"submit"},__("Confirm","jetpack")):null))}},95766:(e,t,n)=>{"use strict";n.d(t,{i:()=>f});var a=n(32054),r=n(45106),s=n(6895),o=n(88275),i=n(55609),c=n(37798),l=n(9818),u=n(69307),d=n(65736),p=n(3228),m=n(23177),g=n(5803),A=n(15805),h=n(16845);const __=d.__,_x=d._x,E=()=>{const{keyringResult:e}=(0,l.useSelect)((e=>{const{getKeyringResult:t}=e(m.h);return{keyringResult:t()}}),[]),{setKeyringResult:t,closeConnectionsModal:n}=(0,l.useDispatch)(m.h),[o]=(0,a.Z)("sm"),d=(0,u.useCallback)((()=>{t(null),n()}),[n,t]),E=Boolean(e?.ID),f=E?__("Connection confirmation","jetpack"):_x("Manage Jetpack Social connections","","jetpack"),b=(0,l.useSelect)((e=>e(c.store).canUser("update","settings")),[]);return React.createElement(i.Modal,{className:(0,p.Z)(h.Z.modal,{[h.Z.small]:o}),onRequestClose:d,title:f},E?React.createElement(A.Y,{keyringResult:e,onComplete:d,isAdmin:b}):React.createElement(React.Fragment,null,React.createElement(g.v,null),React.createElement("div",{className:h.Z["manual-share"]},React.createElement("em",null,React.createElement(r.ZP,null,__("Want to share to other networks? Use our Manual Sharing feature from the editor.","jetpack")," ",React.createElement(i.ExternalLink,{href:(0,s.Z)("jetpack-social-manual-sharing-help")},__("Learn more","jetpack")))))))};function f(){const e=(0,l.useSelect)((e=>e(m.h).isConnectionsModalOpen()),[]);return React.createElement(o.ZP,{targetDom:document.body},e?React.createElement(E,null):null)}},3176:(e,t,n)=>{"use strict";n.d(t,{u:()=>d});var a=n(88275),r=n(45106),s=n(69665),o=n(55609),i=n(65736),c=n(34607),l=n(37548),u=n(42911);const __=i.__;function d(e){return React.createElement(a.ZP,null,React.createElement("div",{className:u.Z.wrapper},React.createElement(o.Flex,{align:"start",justify:"start"},React.createElement(r.ZP,{variant:"body-extra-small",className:u.Z.title},__("Manual sharing","jetpack")),React.createElement(s.Z,{inline:!1,shift:!0,iconSize:16,placement:"top-end"},React.createElement(l.T,e))),React.createElement(c.n,{buttonStyle:"icon"})))}},37548:(e,t,n)=>{"use strict";n.d(t,{T:()=>i});var a=n(45106),r=n(6895),s=n(55609),o=n(65736);const __=o.__;function i({...e}){return React.createElement(a.ZP,e,__('Just tap the social network or "Copy to Clipboard" icon, and we\'ll format your content for sharing.',"jetpack")," ",React.createElement(s.ExternalLink,{href:(0,r.Z)("jetpack-social-manual-sharing-help")},__("Learn more","jetpack")))}},88649:(e,t,n)=>{"use strict";n.d(t,{Z:()=>E});var a=n(90526),r=n(88275),s=n(52175),o=n(55609),i=n(69307),c=n(65736),l=n(61074),u=n(6163),d=n(3228),p=n(41103),m=n(31026),g=n(13858),A=n(69339);const __=c.__,h=e=>t=>{t.currentTarget.focus(),e()};function E({buttonLabel:e,subTitle:t,mediaId:n=null,mediaDetails:c={},onChange:E,wrapperClassName:f,allowedMediaTypes:b=null}){const{mediaData:{width:v,height:C,sourceUrl:k}={},metaData:{mime:y,length:B=null}={},previewData:{width:w,height:_,sourceUrl:I}={}}=c,j=!(k&&v&&C&&y),x=(0,i.useCallback)((()=>E(null)),[E]),S=(0,i.useCallback)((e=>{E(e)}),[E]),Q=(0,i.useCallback)((e=>{const t=(0,p.W)(y);return t&&!B?null:React.createElement("div",{className:(0,d.Z)(A.Z["preview-wrapper"],f)},React.createElement("button",{className:A.Z.remove,onClick:x},React.createElement(o.VisuallyHidden,null,__("Remove media","jetpack")),React.createElement(l.Z,{icon:u.Z})),React.createElement("button",{className:A.Z.preview,onClick:h(e),"data-unstable-ignore-focus-outside-for-relatedtarget":".media-modal"},t?React.createElement(g.Z,{sourceUrl:k,mime:y,duration:B}):React.createElement(o.ResponsiveWrapper,{naturalWidth:w||v,naturalHeight:_||C,isInline:!0},React.createElement("img",{src:I||k,alt:"",className:A.Z["preview-image"]}))))}),[C,B,y,x,_,I,w,k,v,f]),N=(0,i.useCallback)((r=>React.createElement("div",{className:A.Z.container},n?React.createElement(React.Fragment,null,React.createElement("button",{className:A.Z["remove-loading"],onClick:x},React.createElement(o.VisuallyHidden,null,__("Remove media","jetpack")),React.createElement(l.Z,{icon:u.Z})),React.createElement(o.Spinner,{"data-testid":"spinner"})):React.createElement(React.Fragment,null,React.createElement(a.Z,{variant:"secondary",size:"small",className:A.Z.preview,onClick:h(r),"data-unstable-ignore-focus-outside-for-relatedtarget":".media-modal"},e),t&&React.createElement("span",null,t)))),[e,n,x,t]),R=(0,i.useCallback)((({open:e})=>n&&!j?Q(e):N(e)),[n,j,Q,N]);return React.createElement(r.ZP,null,React.createElement(s.MediaUploadCheck,null,React.createElement(s.MediaUpload,{allowedTypes:b??m.uo,title:e,onSelect:S,render:R,value:n})))}},29753:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var a=n(88275),r=n(6895),s=n(13419),o=n(55609),i=n(69307),c=n(65736),l=n(99196),u=n.n(l),d=n(88219),p=n(98811),m=n(88649),g=n(45811);const __=c.__,A=__("Choose Media","jetpack");function h({disabled:e=!1,disabledNoticeMessage:t="",CustomNotice:n=null,analyticsData:c}){const{attachedMedia:h,updateAttachedMedia:E}=(0,d.Z)(),{recordEvent:f}=(0,s.z$)(),[b]=(0,p.Z)(h[0]?.id),v=(0,i.useCallback)((e=>{if(e){f("jetpack_social_media_attached",c);const{id:t,url:n,mime:a}=e;E([{id:t,url:n,type:a}])}else E([])}),[c,f,E]),C=e?o.Disabled:l.Fragment,k=e?{className:g.Z.disabled,"data-testid":"disabled"}:{};return u().createElement(a.ZP,null,u().createElement(o.BaseControl,{label:__("Attached Media","jetpack"),className:g.Z.wrapper},n||(t?u().createElement(o.Notice,{className:g.Z.notice,isDismissible:!1,status:"warning"},u().createElement("p",{"data-testid":"notice"},t)):u().createElement("p",{className:g.Z.subtitle},__("Choose a visual to accompany your post.","jetpack"))),u().createElement(C,k,u().createElement(m.Z,{buttonLabel:A,subTitle:__("Add an image or video","jetpack"),mediaId:h[0]?.id,mediaDetails:b,onChange:v}),u().createElement(o.ExternalLink,{href:(0,r.Z)("jetpack-social-media-support-information"),className:g.Z["learn-more"]},__("Learn photo and video best practices","jetpack")))))}},71961:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(13419),r=n(55609),s=n(65736),o=n(99196);const __=s.__,_n=s._n;function i({message:e="",onChange:t,disabled:n,maxLength:i,analyticsData:c=null}){const{recordEvent:l}=(0,a.z$)(),u=(0,o.useRef)(!0),d=i-e.length,p=(0,o.useCallback)((e=>{t(e),u.current&&(l("jetpack_social_custom_message_changed",c),u.current=!1)}),[c,u,t,l]);return React.createElement(r.TextareaControl,{value:e,label:__("Message","jetpack"),onChange:p,disabled:n,maxLength:i,placeholder:__("Write a message for your audience here.","jetpack"),rows:4,help:(0,s.sprintf)(/* translators: placeholder is a number. */ -_n("%d character remaining","%d characters remaining",d,"jetpack"),d)})}},62578:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var a=n(55609),r=n(65736),s=n(61074),o=n(6163),i=n(3228),c=n(25162),l=n.n(c),u=n(82283);const __=r.__,d=({children:e,type:t="default",actions:n=[],onDismiss:r})=>{const c=(0,i.Z)(u.Z.notice,u.Z[`notice--${t}`]);return React.createElement("div",{className:c},React.createElement("div",{className:u.Z.content}," ",e," "),r&&React.createElement("button",{className:u.Z.dismiss,onClick:r},React.createElement(a.VisuallyHidden,null,__("Dismiss notice","jetpack")),React.createElement(s.Z,{icon:o.Z})),n&&n.length>0&&React.createElement("div",{className:u.Z.actions},n.map((e=>e))))};d.propTypes={children:l().node.isRequired,type:l().oneOf(["default","highlight","warning","error"]),actions:l().arrayOf(l().element),onDismiss:l().func};const p=d},8714:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var a=n(55609),r=n(9818),s=n(12238),o=n(69307),i=n(65736),c=n(14085),l=n(96672),u=n(86419),d=n(57492),p=n(84703),m=n(3176),g=n(91474),A=n(23761);const __=i.__,h=({prePublish:e,children:t})=>{const{refresh:n,hasConnections:i,hasEnabledConnections:h}=(0,d.Z)(),E=(0,r.useSelect)((e=>e(s.store).isCurrentPostPublished()),[]),f=(0,l.Z)(),{isPublicizeEnabled:b,hidePublicizeFeature:v,togglePublicizeFeature:C}=(0,c.Z)();(0,u.M1)((function(){h&&n()}),[h,n]);const k=e?o.Fragment:a.PanelBody,y=e?{}:{title:__("Share this post","jetpack"),className:A.Z.panel};return f(),React.createElement(k,y,t,!v&&React.createElement(o.Fragment,null,!E&&React.createElement(a.ToggleControl,{label:b?__("Share when publishing","jetpack"):__("Sharing is disabled","jetpack",0),onChange:C,checked:b&&i,disabled:!i}),React.createElement(p.Z,null),React.createElement(g.o,null)),E&&React.createElement(m.u,null))}},91750:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var a=n(88275),r=n(13419),s=n(9818),o=n(72067),i=n(12238),c=n(65736),l=n(37548),u=n(34607),d=n(45078);const __=c.__;function p(){const{isCurrentPostPublished:e}=(0,s.useSelect)((e=>e(i.store)),[]);return e()?React.createElement(o.PluginPostPublishPanel,{initialOpen:!0,title:__("Manual sharing","jetpack"),id:"publicize-manual-sharing",icon:React.createElement(r.Pm,null)},React.createElement(a.ZP,null,React.createElement(l.T,{className:d.Z.description,variant:"body-small"}),React.createElement(u.n,null))):null}},52403:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var a=n(6895),r=n(13419),s=n(86989),o=n.n(s),i=n(72067),c=n(69307),l=n(14085),u=n(86419),d=n(57492),p=n(19649);const m=()=>{const[e,t]=(0,c.useState)((0,r.Pb)()?.social?.reviewRequestDismissed??!0),[n,s]=(0,c.useState)(!1),{hasEnabledConnections:m}=(0,d.Z)(),{isPublicizeEnabled:g,isPostAlreadyShared:A}=(0,l.Z)();(0,u.e3)((()=>{s(!A&&g&&m)}),[A,m,g]);const h=(0,c.useCallback)((()=>{const e=(0,r.Pb)()?.social?.dismissReviewRequestPath??null;o()({path:e,method:"POST",data:{dismissed:!0}}).catch((e=>{throw e})),t(!0)}),[]);return e||!n?null:React.createElement(i.PluginPostPublishPanel,{id:"publicize-title"},React.createElement(p.Z,{href:(0,a.Z)("jetpack-social-plugin-reviews"),onClose:h}))}},77106:(e,t,n)=>{"use strict";n(9818),n(23177)},19649:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var a=n(88275),r=n(90526),s=n(13419),o=n(65736),i=n(99196),c=n(2097);const __=o.__,l=({href:e,onClose:t})=>{const{recordEvent:n}=(0,s.z$)({pageViewEventName:"social_plugin_review_prompt",pageViewNamespace:"jetpack",pageViewSuffix:"view"}),l=(0,i.useCallback)((()=>{n("jetpack_social_plugin_review_prompt_new_review_click")}),[n]),u=(0,i.useCallback)((()=>{n("jetpack_social_plugin_review_prompt_dismiss_click"),t()}),[n,t]);return React.createElement(a.ZP,null,React.createElement("div",{className:c.Z.prompt},React.createElement("h2",{className:c.Z.header},/* translators: %s is the celebration emoji */ /* translators: %s is the celebration emoji */ -(0,o.sprintf)(__("Presto! %s","jetpack"),String.fromCodePoint(127881))),React.createElement("p",null,__("Just like that, Jetpack Social has shared your post to your connected social accounts.","jetpack")),React.createElement("p",null,__("Please leave a review to let others know how easy getting your posts on social media can be!","jetpack")),React.createElement("div",{className:c.Z.buttons},React.createElement(r.Z,{onClick:l,isExternalLink:!0,href:e,className:c.Z.button},__("Leave a Review","jetpack")),React.createElement(r.Z,{onClick:u,variant:"link",className:c.Z.button},__("Dismiss","jetpack")))))}},26211:(e,t,n)=>{"use strict";n.d(t,{p:()=>d});var a=n(90526),r=n(9818),s=n(65736),o=n(3228),i=n(99196),c=n(23177),l=n(90934),u=n(58300);const __=s.__,_x=s._x;function d({service:e,isSmall:t,onSubmit:n,displayInputs:s,hasConnections:d,buttonLabel:p}){const{setKeyringResult:m}=(0,r.useDispatch)(c.h),{isConnectionsModalOpen:g}=(0,r.useSelect)((e=>e(c.h)),[]),A=(0,i.useCallback)((e=>{g()&&m(e)}),[m,g]),h=(0,u.N)({service:e,onConfirm:A}),E=(0,i.useCallback)((e=>{if(e.preventDefault(),e.stopPropagation(),n)return n();const t=new FormData(e.target);h(t)}),[n,h]);return React.createElement("form",{className:(0,o.Z)(l.Z["connect-form"],{[l.Z.small]:t}),onSubmit:E},s?React.createElement(React.Fragment,null,"mastodon"===e.ID?React.createElement("input",{required:!0,type:"text",name:"instance","aria-label":__("Mastodon username","jetpack"),placeholder:"@mastodon@mastodon.social"}):null):null,React.createElement(a.Z,{variant:d?"secondary":"primary",type:"submit",className:l.Z["connect-button"]},p||(d?_x("Connect more","","jetpack"):__("Connect","jetpack"))))}},86782:(e,t,n)=>{"use strict";n.d(t,{v:()=>d});var a=n(69665),r=n(45106),s=n(65736),o=n(62878),i=n(25893),c=n(20841),l=n(43876),u=n(90934);const __=s.__,d=({connection:e,service:t,isAdmin:n})=>{return React.createElement("div",{className:u.Z["service-connection"]},React.createElement("div",null,e.profile_picture?React.createElement("img",{className:u.Z["profile-pic"],src:e.profile_picture,alt:e.display_name}):React.createElement(t.icon,{iconSize:40})),React.createElement("div",{className:u.Z["connection-details"]},React.createElement(o.d,{connection:e}),"broken"===(s=e).status&&s.can_disconnect?React.createElement(i.Q,{connection:s,service:t}):n?React.createElement("div",{className:u.Z["mark-shared-wrap"]},React.createElement(l.l,{connection:s}),React.createElement(a.Z,{placement:"top",inline:!1,shift:!0},__("If enabled, the connection will be available to all administrators, editors, and authors.","jetpack"))):s.can_disconnect?null:React.createElement(React.Fragment,null,React.createElement(r.ZP,{className:u.Z.description},__("This connection is added by a site administrator.","jetpack")),"broken"===s.status?React.createElement(i.Q,{connection:s,service:t}):null)),React.createElement("div",{className:u.Z["connection-actions"]},React.createElement(c.c,{connection:e,isDestructive:!1,variant:"tertiary",buttonClassName:u.Z.disconnect})));var s}},51770:(e,t,n)=>{"use strict";n.d(t,{L:()=>d});var a=n(32054),r=n(55609),s=n(37798),o=n(9818),i=n(3228),c=n(23177),l=n(86782),u=n(90934);function d({service:e,serviceConnections:t}){const[n]=(0,a.Z)("sm"),{deletingConnections:d,updatingConnections:p}=(0,o.useSelect)((e=>{const{getDeletingConnections:t,getUpdatingConnections:n}=e(c.h);return{deletingConnections:t(),updatingConnections:n()}}),[]),m=(0,o.useSelect)((e=>e(s.store).canUser("update","settings")),[]);return t.length?React.createElement("ul",{className:u.Z["service-connection-list"]},t.map((t=>{const n=p.includes(t.connection_id)||d.includes(t.connection_id);return React.createElement("li",{key:t.connection_id},React.createElement(r.Disabled,{isDisabled:n},React.createElement(l.v,{connection:t,service:e,isAdmin:m})))}))):React.createElement("div",{className:(0,i.Z)(u.Z["example-wrapper"],{[u.Z.small]:n})},e.examples.map(((t,n)=>React.createElement("div",{key:e.ID+n,className:u.Z.example},React.createElement(t,null)))))}},87805:(e,t,n)=>{"use strict";n.d(t,{D:()=>A});var a=n(32054),r=n(90526),s=n(55609),o=n(69307),i=n(65736),c=n(61074),l=n(57489),u=n(42229),d=n(26211),p=n(51770),m=n(65378),g=n(90934);const __=i.__,_x=i._x;function A({service:e,serviceConnections:t}){const[n]=(0,a.Z)("sm"),[i,A]=(0,o.useReducer)((e=>!e),!1),h=i&&"mastodon"===e.ID,E=t.filter((({status:e})=>"broken"===e)),f=E.some((({can_disconnect:e})=>e)),b=h||f&&i,v=E.length>1?_x("Fix connections","Fix the social media connections","jetpack"):_x("Fix connection","Fix social media connection","jetpack");return React.createElement("div",{className:g.Z["service-item"]},React.createElement("div",{className:g.Z["service-item-info"]},React.createElement("div",null,React.createElement(e.icon,{iconSize:n?36:48})),React.createElement("div",{className:g.Z["service-basics"]},React.createElement("div",{className:g.Z.heading},React.createElement("span",{className:g.Z.title},e.label),e.badges?.length?React.createElement("div",{className:g.Z.badges},e.badges.map((({text:e,style:t},n)=>React.createElement("span",{key:n,className:g.Z.badge,style:t},e)))):null),n||t.length?null:React.createElement("span",{className:g.Z.description},e.description),React.createElement(m.$,{serviceConnections:t,brokenConnections:E})),React.createElement("div",{className:g.Z.actions},b?null:React.createElement(d.p,{service:e,isSmall:n,onSubmit:f||e.needsCustomInputs?A:void 0,hasConnections:t.length>0,buttonLabel:f?v:void 0}),React.createElement(r.Z,{size:"small",className:g.Z["learn-more"],variant:"tertiary",onClick:A,"aria-label":__("Learn more","jetpack")},React.createElement(c.Z,{className:g.Z.chevron,icon:i?l.Z:u.Z})))),React.createElement(s.Panel,{className:g.Z["service-panel"]},React.createElement(s.PanelBody,{opened:i,onToggle:A},React.createElement(p.L,{service:e,serviceConnections:t}),"mastodon"!==e.ID||f?null:React.createElement("div",{className:g.Z["connect-form-wrapper"]},React.createElement(d.p,{service:e,displayInputs:!0,isSmall:!1,buttonLabel:__("Connect","jetpack")})))))}},65378:(e,t,n)=>{"use strict";n.d(t,{$:()=>o});var a=n(34972),r=n(65736),s=n(90934);const __=r.__,_n=r._n;function o({serviceConnections:e,brokenConnections:t}){if(!e.length)return null;if(t.length>0){const e=t.some((({can_disconnect:e})=>e));return React.createElement(a.Z,{level:e?"error":"warning",showIcon:!1,className:s.Z["broken-connection-alert"]},e?__("Please fix the broken connections or disconnect them to create more connections.","jetpack"):_n("Broken connection","Broken connections",t.length,"jetpack"))}return React.createElement("span",{className:s.Z["active-connection"]},e.length>1?(0,r.sprintf)( +__("Are you sure you want to disconnect %s?","jetpack"),e.display_name),{strong:React.createElement("strong",null)})),React.createElement(r.A,{size:"small",onClick:p,disabled:g,variant:t,isDestructive:n,className:u},g?__("Disconnecting…","jetpack"):_x("Disconnect","Disconnect a social media account","jetpack"))):null}},26637:(e,t,n)=>{"use strict";n(56427),n(47143),n(86087),n(27723),n(50001),n(89729),n(48222),n(48712),n(55488),n(85605)},52683:(e,t,n)=>{"use strict";n.d(t,{j:()=>c});var r=n(56427),a=n(47143),s=n(86087),o=n(27723),i=n(89729);const __=o.__;function c({connection:e}){const{updateConnectionById:t}=(0,a.useDispatch)(i.M_),{isUpdating:n}=(0,a.useSelect)((t=>{const{getUpdatingConnections:n}=t(i.M_);return{isUpdating:n().includes(e.connection_id)}}),[e.connection_id]),o=(0,s.useCallback)((n=>{t(e.connection_id,{shared:n})}),[e.connection_id,t]);return React.createElement(r.CheckboxControl,{checked:e.shared??!1,onChange:o,disabled:n||"broken"===e.status,label:__("Mark the connection as shared","jetpack")})}},76046:(e,t,n)=>{"use strict";n.d(t,{C:()=>l});var r=n(51112),a=n(47143),s=n(86087),o=n(27723),i=n(89729),c=n(70745);const __=o.__,_x=o._x;function l({connection:e,service:t,variant:n="link"}){const{deleteConnectionById:o,setKeyringResult:l,openConnectionsModal:u,setReconnectingAccount:d}=(0,a.useDispatch)(i.M_),{isDisconnecting:p}=(0,a.useSelect)((t=>{const{getDeletingConnections:n}=t(i.M_);return{isDisconnecting:n().includes(e.connection_id)}}),[e.connection_id]),m=(0,s.useCallback)((e=>{l(e),e?.ID&&u()}),[u,l]),g=(0,c.P)({service:t,onConfirm:m}),A=(0,s.useCallback)((async()=>{if(!await o({connectionId:e.connection_id,showSuccessNotice:!1}))return;await d(`${e.service_name}:${e.external_id}`);const n=new FormData;"mastodon"===t.ID&&n.set("instance",e.external_display),g(n)}),[e,o,g,t.ID,d]);return e.can_disconnect?React.createElement(r.A,{size:"small",onClick:A,disabled:p,variant:n},p?__("Disconnecting…","jetpack"):_x("Reconnect","Reconnect a social media account","jetpack")):null}},91910:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(13022),a=n(28120),s=n.n(a),o=n(12141);const i=e=>{const{checked:t,disabled:n,onChange:a,serviceName:s,label:i,profilePicture:c}=e,l=(0,r.A)("components-connection-toggle",{"is-not-checked":!t,"is-disabled":n});return React.createElement("div",{className:l,title:i},React.createElement(o.A,{checked:t,label:i,onClick:a,serviceName:s,profilePicture:c}))};i.propTypes={className:s().string,checked:s().bool,id:s().string.isRequired,disabled:s().bool,onChange:s().func,serviceName:s().string,label:s().string,profilePicture:s().string};const c=i},10267:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(85985),a=n(56427),s=n(47143),o=n(86087),i=n(27723),c=n(89729),l=n(91910),u=n(95051),d=n(49514);const __=i.__;class p extends o.Component{maybeDisplayLinkedInNotice=()=>this.connectionNeedsReauth()&&React.createElement(a.Notice,{className:u.A["publicize-notice"],isDismissible:!1,status:"error"},React.createElement("p",null,__("Your LinkedIn connection needs to be reauthenticated to continue working – head to Sharing to take care of it.","jetpack")),React.createElement(a.ExternalLink,{href:`https://wordpress.com/marketing/connections/${(0,r.GE)()}`},__("Go to Sharing settings","jetpack")));connectionNeedsReauth=()=>this.props.mustReauthConnections.includes(this.props.name);onConnectionChange=()=>{const{id:e}=this.props;this.isDisabled()||this.props.toggleConnection(e)};connectionIsFailing(){const{failedConnections:e,name:t}=this.props;return e.some((e=>e.service_name===t))}isDisabled(){return this.props.disabled||this.connectionIsFailing()||this.connectionNeedsReauth()}render(){const{enabled:e,id:t,label:n,name:r,profilePicture:a}=this.props,s="connection-"+r+"-"+t,o=r.replace("_","-"),i=React.createElement(l.A,{id:s,className:d.A["connection-toggle"],checked:e,onChange:this.onConnectionChange,disabled:this.isDisabled(),serviceName:o,label:n,profilePicture:a});return React.createElement("li",null,this.maybeDisplayLinkedInNotice(),React.createElement("div",{className:d.A["connection-container"]},i))}}const m=(0,s.withSelect)((e=>({failedConnections:e(c.Af).getFailedConnections(),mustReauthConnections:e(c.Af).getMustReauthConnections()})))(p)},77125:(e,t,n)=>{"use strict";n.d(t,{l:()=>A});var r=n(51112),a=n(56427),s=n(47143),o=n(86087),i=n(27723),c=n(77627),l=n(50001),u=n(89729),d=n(51475),p=n(9515),m=n(71016),g=n(89886);const __=i.__,_x=i._x,A=()=>{const{connections:e}=(0,l.A)(),t=e.filter((e=>"broken"===e.status||(0,g.Y)(e,"broken"))),{connectionsAdminUrl:n}=(0,c.A)(),i=(0,s.useSelect)((e=>e(u.M_).useAdminUiV1()),[]),{openConnectionsModal:A}=(0,s.useDispatch)(u.M_),h=i?React.createElement(r.A,{variant:"link",onClick:A,className:m.A["broken-connection-btn"]}):React.createElement(a.ExternalLink,{href:n}),E=(0,p.h)();if(!t.length)return null;const f=t.reduce(((e,t)=>(e[t.service_name]||(e[t.service_name]=[]),e[t.service_name].push(t),e)),{});return t.length>0&&React.createElement(d.A,{type:"error"},__("Your following connections need to be reconnected:","jetpack"),React.createElement("ul",null,Object.entries(f).map((([e,t])=>{const n=E(e);return React.createElement("li",{key:e},React.createElement("div",{className:m.A["broken-connection-service"]},React.createElement("span",null,n,_x(":","Colon to display before the list of connections","jetpack")," "),t.map((({display_name:e,external_display:n,id:r},a)=>React.createElement(o.Fragment,{key:r},React.createElement("span",{className:m.A["broken-connection"]},e||n),aconnections management section.",'"them" refers to the broken connections.',"jetpack"),{fixLink:h}))}},64636:(e,t,n)=>{"use strict";n.d(t,{D:()=>l});var r=n(56427),a=n(27723),s=n(77627),o=n(50001),i=n(25349),c=n(71016);const __=a.__,l=()=>{const{hasConnections:e}=(0,o.A)(),{needsUserConnection:t,userConnectionUrl:n}=(0,s.A)();return t?React.createElement(r.PanelRow,null,React.createElement("p",null,__("You must connect your WordPress.com account to be able to add social media connections.","jetpack")," ",React.createElement("a",{href:n},__("Connect now","jetpack")))):e?null:React.createElement(r.PanelRow,null,React.createElement("p",null,React.createElement("span",{className:c.A["no-connections-text"]},__("Sharing is disabled because there are no social media accounts connected.","jetpack")),React.createElement(i.C,{label:__("Connect an account","jetpack")})))}},14993:(e,t,n)=>{"use strict";n.d(t,{E:()=>A});var r=n(85985),a=n(51609),s=n(77627),o=n(50001),i=n(10267),c=n(77125),l=n(57193),u=n(75013),d=n(25349),p=n(71016),m=n(50923),g=n(39329);const A=()=>{const{recordEvent:e}=(0,r.st)(),{connections:t,toggleById:n}=(0,o.A)(),{canBeTurnedOn:A,shouldBeDisabled:h}=(0,g.j)(),{needsUserConnection:E,isPublicizeEnabled:f}=(0,s.A)(),b=(0,a.useCallback)(((t,r)=>()=>{n(t),e("jetpack_social_connection_toggled",{location:"editor",enabled:!r.enabled,service_name:r.service_name})}),[e,n]);return React.createElement("div",null,React.createElement("ul",{className:p.A["connections-list"]},t.map((e=>{const{display_name:t,id:n,service_name:r,profile_picture:a,connection_id:s}=e,o=s||n;return React.createElement(i.A,{disabled:h(e),enabled:A(e)&&e.enabled,key:o,id:o,label:t,name:r,toggleConnection:b(o,e),profilePicture:a})}))),f?React.createElement(React.Fragment,null,React.createElement(u.L,null),React.createElement(c.l,null),React.createElement(m.Z,null),React.createElement(l.H,null)):null,E?null:React.createElement(d.C,{variant:"secondary"}))}},57193:(e,t,n)=>{"use strict";n.d(t,{H:()=>l});var r=n(56427),a=n(27723),s=n(77627),o=n(50001),i=n(71016),c=n(39329);const _n=a._n;function l(){const{enabledConnections:e}=(0,o.A)(),{isPublicizeEnabled:t}=(0,s.A)(),{canBeTurnedOn:n,shouldBeDisabled:l}=(0,c.j)(),u=e.filter((e=>n(e)&&!l(e)));return u.length&&t?React.createElement(r.PanelRow,null,React.createElement("p",{className:i.A["enabled-connections-notice"]},(0,a.sprintf)(/* translators: %d: number of connections */ +_n("This post will be shared to %d connection.","This post will be shared to %d connections.",u.length,"jetpack"),u.length))):null}},9573:(e,t,n)=>{"use strict";n.d(t,{X:()=>d});var r=n(3924),a=n(85985),s=n(56427),o=n(47143),i=n(27723),c=n(89729),l=n(71016),u=n(647);const _x=i._x,d=()=>{const e=(0,o.useSelect)((e=>e(c.M_).hasPaidFeatures()),[]),t=(0,u.X)();return(0,a.Sy)()||(0,a.d9)()||e?null:React.createElement(s.PanelRow,{className:l.A["enhanced-features-nudge"]},React.createElement(s.Button,{key:"upgrade",variant:"link",onClick:t,href:(0,r.A)("jetpack-social-basic-plan-block-editor",{site:(0,a.GE)()||"",query:"redirect_to="+encodeURIComponent(window.location.href)})},_x("Unlock enhanced media sharing features.","Call to action to buy a new plan","jetpack")))}},70925:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(56427),a=n(47143),s=n(86087),o=n(7162),i=n(98420),c=n(54915),l=n(80624),u=n(52367),d=n(50001),p=n(89729),m=n(48222),g=n(96390),A=n(64636),h=n(14993),E=n(9573),f=n(41190);function b(){const{hasConnections:e,hasEnabledConnections:t,connections:n}=(0,d.A)(),{isPublicizeEnabled:b,isPublicizeDisabledBySitePlan:v}=(0,o.usePublicizeConfig)(),{attachedMedia:C}=(0,i.A)(),k=(0,c.A)(),y=C[0]?.id||k,{validationErrors:B,isConvertible:w}=(0,u.A)(n,(0,l.A)(y)[0]),_=b&&(t||C.length>0||0!==Object.keys(B).length&&!w),{useAdminUiV1:I,featureFlags:j}=(0,a.useSelect)((e=>{const t=e(p.M_);return{useAdminUiV1:t.useAdminUiV1(),featureFlags:t.featureFlags()}}),[]),x=v?r.Disabled:s.Fragment;return React.createElement(x,null,I?React.createElement(m._,null):null,e?React.createElement(React.Fragment,null,React.createElement(r.PanelRow,null,React.createElement(h.E,null)),j.useEditorPreview&&b?React.createElement(g.n,null):null,React.createElement(E.X,null)):null,React.createElement(A.D,null),!v&&React.createElement(s.Fragment,null,_&&React.createElement(f.o,{analyticsData:{location:"editor"}})))}},62697:(e,t,n)=>{"use strict";n.d(t,{q:()=>c});var r=n(3924),a=n(56427),s=n(27723),o=n(7162),i=n(51475);const __=s.__,c=()=>{const{isEnhancedPublishingEnabled:e}=(0,o.usePublicizeConfig)();return e?React.createElement(i.A,{type:"warning"},__("To share to Instagram, add an image/video, or enable Social Image Generator.","jetpack"),React.createElement("br",null),React.createElement(a.ExternalLink,{href:(0,r.A)("jetpack-social-share-to-instagram")},__("Learn more","jetpack"))):React.createElement(i.A,{type:"warning"},__("You need a featured image to share to Instagram.","jetpack"),React.createElement("br",null),React.createElement(a.ExternalLink,{href:(0,r.A)("jetpack-social-share-to-instagram")},__("Learn more","jetpack")))}},31099:(e,t,n)=>{"use strict";n.d(t,{j:()=>p});var r=n(3924),a=n(56427),s=n(47143),o=n(86087),i=n(27723),c=n(80682),l=n(89729),u=n(51475),d=n(9515);const __=i.__,_x=i._x,p=({validationErrors:e})=>{const{getConnectionById:t}=(0,s.useSelect)((e=>e(l.M_)),[]),n=(0,d.h)(),i=(0,o.useMemo)((()=>Object.entries(e).reduce(((e,[r,a])=>{if(!a)return e;e[a]||(e[a]=[]);const s=n(t(r)?.service_name);return s&&!e[a].includes(s)&&e[a].push(s),e}),{})),[t,n,e]);return React.createElement(u.A,{type:"warning"},React.createElement("p",null,__("The selected media cannot be share to some social media platforms.","jetpack")),React.createElement("ul",null,Object.entries(i).map((([e,t])=>t.length?React.createElement("li",{key:e},React.createElement("i",null,(0,c.$m)(e)),_x(":","Colon to display before the list of social media platforms","jetpack")+" ",t.map(((e,t,{length:n})=>React.createElement(o.Fragment,{key:e},React.createElement("b",null,e),t{"use strict";n.d(t,{L:()=>d});var r=n(98420),a=n(54915),s=n(80624),o=n(52367),i=n(80682),c=n(50001),l=n(62697),u=n(31099);const d=()=>{const{connections:e}=(0,c.A)(),{attachedMedia:t}=(0,r.A)(),n=(0,a.A)(),d=t[0]?.id||n,{validationErrors:p,isConvertible:m}=(0,o.A)(e,(0,s.A)(d)[0]);return Object.keys(p).length?Object.values(p).includes(i.k3)?React.createElement(l.q,null):m?null:React.createElement(u.j,{validationErrors:p}):null}},25349:(e,t,n)=>{"use strict";n.d(t,{C:()=>l});var r=n(56427),a=n(47143),s=n(27723),o=n(77627),i=n(89729),c=n(71016);const __=s.__;function l({label:e,variant:t="primary"}){const{useAdminUiV1:n,connections:s}=(0,a.useSelect)((e=>({useAdminUiV1:e(i.M_).useAdminUiV1(),connections:e(i.M_).getConnections()})),[]),{openConnectionsModal:l}=(0,a.useDispatch)(i.M_),{connectionsAdminUrl:u}=(0,o.A)(),d=e||__("Manage connections","jetpack"),p=s.length>0;return n?React.createElement(r.Button,{onClick:l,variant:p?"link":t,size:p?"default":"small",className:c.A["settings-button"]},d):React.createElement(r.ExternalLink,{className:c.A["settings-button"],href:u},d)}},41190:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(7162),a=n(39553),s=n(12015),o=n(70694);const i=({analyticsData:e=null})=>{const{message:t,updateMessage:n,maxLength:i}=(0,a.A)(),{isEnhancedPublishingEnabled:c}=(0,r.usePublicizeConfig)();return React.createElement(React.Fragment,null,React.createElement(o.A,{maxLength:i,onChange:n,message:t,analyticsData:e}),c&&React.createElement(s.A,{analyticsData:e}))}},50923:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(56427),a=n(86087),s=n(27723),o=n(7162),i=n(50001),c=n(51475),l=n(89886);const __=s.__,u=()=>{const{connections:e}=(0,i.A)(),{connectionsAdminUrl:t}=(0,o.usePublicizeConfig)();return e.filter((e=>(0,l.Y)(e,"unsupported"))).length>0&&React.createElement(c.A,{type:"error"},(0,a.createInterpolateElement)(__("Twitter is not supported anymore. Learn more here.","jetpack"),{moreInfo:React.createElement(r.ExternalLink,{href:t})}))}},647:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});var r=n(47143),a=n(43656),s=n(86087);function o(){const{isEditedPostDirty:e}=(0,r.useSelect)(a.store,[]),{autosave:t}=(0,r.useDispatch)(a.store);return(0,s.useCallback)((async n=>{if(!(n.target instanceof HTMLAnchorElement))return;const r=n.target.getAttribute("target");e()&&!r&&(n.preventDefault(),await t(),window.location.href=n.target.href),r&&(n.preventDefault(),window.open(n.target.href,r,"noreferrer"))}),[t,e])}},39329:(e,t,n)=>{"use strict";n.d(t,{j:()=>p});var r=n(86087),a=n(51609),s=n(7162),o=n(98420),i=n(54915),c=n(80624),l=n(52367),u=n(80682),d=n(50001);const p=()=>{const{connections:e}=(0,d.A)(),{isPublicizeEnabled:t,isPublicizeDisabledBySitePlan:n}=(0,s.usePublicizeConfig)(),{attachedMedia:p}=(0,o.A)(),m=(0,i.A)(),g=p[0]?.id||m,{validationErrors:A,isConvertible:h}=(0,l.A)(e,(0,c.A)(g)[0]),E=(0,r.useCallback)((e=>{const{id:t,is_healthy:n,connection_id:r,status:a}=e,s=r||t,o=!1!==n&&"broken"!==a,i=void 0!==A[s]&&!h,c=A[s]===u.k3;return o&&!i&&!c}),[h,A]),f=(0,r.useCallback)((e=>!t||!E(e)),[E,t]),b=(0,r.useCallback)((e=>!n&&E(e)),[E,n]);return(0,a.useMemo)((()=>({shouldBeDisabled:f,canBeTurnedOn:b})),[f,b])}},89886:(e,t,n)=>{"use strict";n.d(t,{Y:()=>r});const r=(e,t)=>!1===e.is_healthy&&t===(e.error_code??"broken")},56457:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>f});var r=n(50723),a=n(1455),s=n.n(a),o=n(56427),i=n(47143),c=n(43656),l=n(27723),u=n(13022),d=n(51609),p=n.n(d),m=n(49747),g=n(60548),A=n(74820);const __=l.__,_x=l._x,h="featured-image-still-loading",E=(e,t,n,r)=>{if("none"===e||"custom"===e&&!t||"featured"===(e??"featured")&&!n)return null;const a=r("custom"===e?t:n);return a?(e=>e?.media_details?.sizes?.large?.source_url||e?.source_url)(a):h};function f({shouldDebounce:e=!0,onNewToken:t,...n}){const[a,l]=(0,d.useState)(null),[f,b]=(0,d.useState)(!0),{customText:v,imageType:C,imageId:k,template:y,setToken:B}={...(0,m.A)(),...n},{title:w,imageUrl:_}=(0,i.useSelect)((e=>{const t=e(c.store).getEditedPostAttribute("featured_media");return{title:e(c.store).getEditedPostAttribute("title"),imageUrl:E(C,k,t,e("core").getMedia)}})),I=(0,d.useMemo)((()=>v||w||" "),[v,w]),j=(0,d.useRef)(I),x=(0,d.useRef)(a);(0,d.useEffect)((()=>{x.current=a})),(0,d.useEffect)((()=>{const n=setTimeout((async()=>{if(b(!0),_===h)return;const e=await s()({path:"/jetpack/v4/social-image-generator/generate-preview-token",method:"POST",data:{text:I,image_url:_,template:y}});B?.(e),t?.(e);const n=(0,A.S)(e);n!==x.current?l(n):b(!1)}),I!==j.current&&e?1500:0);return()=>{clearTimeout(n),j.current=I}}),[I,y,_,t]);const S=(0,d.useCallback)((()=>{b(!1)}),[]);return p().createElement(r.Ay,null,p().createElement(o.BaseControl,{label:_x("Preview","Heading for the generated preview image","jetpack")},p().createElement("div",{className:g.A.container},p().createElement("img",{className:(0,u.A)({[g.A.hidden]:f}),src:a,alt:__("Generated preview","jetpack"),onLoad:S}),f&&p().createElement(o.Spinner,{"data-testid":"spinner"}))))}},74820:(e,t,n)=>{"use strict";n.d(t,{S:()=>a});var r=n(3924);function a(e){return e?(0,r.A)("sigenerate",{query:`t=${e}`}):""}},47453:(e,t,n)=>{"use strict";n.d(t,{m:()=>o});var r=n(47143),a=n(89729),s=n(7757);const o=()=>{const e=(0,r.useSelect)((e=>e(a.M_).featureFlags()),[]);return React.createElement(React.Fragment,null,e.useShareStatus?React.createElement(s.Q3,null):null)}},59493:(e,t,n)=>{"use strict";n.d(t,{O:()=>m});var r=n(63406),a=n(51112),s=n(56427),o=n(47143),i=n(86087),c=n(27723),l=n(89729),u=n(39630),d=n(18973);const __=c.__,_x=c._x;function p({label:e,profile_picture:t}){return React.createElement("div",{className:d.A["account-info"]},t?React.createElement("img",{className:d.A["profile-pic"],src:t,alt:e}):null,React.createElement("span",null,e))}function m({keyringResult:e,onComplete:t,isAdmin:n}){const c=(0,u.o)(),{existingConnections:m,reconnectingAccount:g}=(0,o.useSelect)((e=>{const t=e(l.M_);return{existingConnections:t.getConnections(),reconnectingAccount:t.getReconnectingAccount()}}),[]),{createErrorNotice:A}=(0,r.I)(),h=c.find((t=>t.ID===e.service)),E=(0,i.useCallback)((e=>m.some((t=>t.service_name===h?.ID&&t.external_id===e))),[m,h.ID]),f=(0,i.useMemo)((()=>{const t=[],n=[];if(!h)return{connected:t,not_connected:n};const r=[];if(h.external_users_only||r.push({label:e.external_display,value:e.external_ID,profile_picture:e.external_profile_picture}),h.multiple_external_user_ID_support&&e.additional_external_users?.length)for(const t of e.additional_external_users)r.push({label:t.external_name,value:t.external_ID,profile_picture:t.external_profile_picture});for(const e of r)E(e.value)?t.push(e):n.push(e);return{connected:t,not_connected:n}}),[E,e,h]),{createConnection:b,setReconnectingAccount:v}=(0,o.useDispatch)(l.M_),C=(0,i.useCallback)((async n=>{n.preventDefault(),n.stopPropagation();const r=n.target,a=new FormData(r),s=a.get("external_user_ID");if(!s)return void A(__("Please select an account to connect.","jetpack"));const o={external_user_ID:h.multiple_external_user_ID_support?s:void 0,keyring_connection_ID:e.ID,shared:"1"===a.get("shared")||void 0},i=f.not_connected.find((e=>e.value===s));g&&v(""),b(o,{display_name:i?.label,profile_picture:i?.profile_picture,service_name:h.ID,external_id:s}),t()}),[b,g,v,A,e.ID,t,h.multiple_external_user_ID_support,h.ID,f.not_connected]);return React.createElement("section",{className:d.A.confirmation},f.not_connected.length?React.createElement("div",null,React.createElement("p",{className:d.A["header-text"]},__("Select the account you'd like to connect. All your new blog posts will be automatically shared to this account. You'll be able to change this option in the editor sidebar when you're writing a post.","jetpack")),React.createElement("form",{className:d.A.form,onSubmit:C,id:"connection-confirmation-form"},React.createElement("div",{className:d.A["accounts-list"]},f.not_connected.map(((e,t)=>{const n=g?g===`${h?.ID}:${e.value}`:0===t;return React.createElement("label",{key:e.value,className:d.A["account-label"],"aria-required":!0},React.createElement("input",{type:"radio",name:"external_user_ID",value:e.value,defaultChecked:n,className:d.A["account-input"],required:!0}),React.createElement(p,{label:e.label,profile_picture:e.profile_picture}))}))),n?React.createElement(s.BaseControl,{id:"mark-connection-as-shared",help:`${__("If enabled, the connection will be available to all administrators, editors, and authors.","jetpack")} ${__("You can change this later.","jetpack")}`},React.createElement(s.__experimentalHStack,{justify:"flex-start",spacing:3},React.createElement("span",null,React.createElement("input",{type:"checkbox",id:"mark-connection-as-shared",name:"shared",value:"1"})),React.createElement(s.FlexBlock,{as:"label",htmlFor:"mark-connection-as-shared"},__("Mark the connection as shared","jetpack")))):null,React.createElement("input",{type:"hidden",name:"keyring_connection_ID",value:e.ID}))):React.createElement("p",{className:d.A["header-text"]},f.connected.length?_x("No more accounts/pages found.","Message shown when there are no connections found to connect","jetpack"):__("No accounts/pages found.","jetpack")),f.connected.length?React.createElement("section",null,React.createElement("h3",null,__("Already connected","jetpack")),React.createElement("ul",null,f.connected.map(((e,t)=>React.createElement("li",{key:e.label+t},React.createElement(p,{label:e.label,profile_picture:e.profile_picture})))))):null,React.createElement("div",{className:d.A["submit-wrap"]},React.createElement(a.A,{variant:"secondary",onClick:t},__("Cancel","jetpack")),f.not_connected.length?React.createElement(a.A,{form:"connection-confirmation-form",type:"submit"},__("Confirm","jetpack")):null))}},48222:(e,t,n)=>{"use strict";n.d(t,{_:()=>f});var r=n(60442),a=n(47425),s=n(3924),o=n(50723),i=n(56427),c=n(3582),l=n(47143),u=n(86087),d=n(27723),p=n(13022),m=n(89729),g=n(78362),A=n(59493),h=n(73842);const __=d.__,_x=d._x,E=()=>{const{keyringResult:e}=(0,l.useSelect)((e=>{const{getKeyringResult:t}=e(m.M_);return{keyringResult:t()}}),[]),{setKeyringResult:t,closeConnectionsModal:n}=(0,l.useDispatch)(m.M_),[o]=(0,r.A)("sm"),d=(0,u.useCallback)((()=>{t(null),n()}),[n,t]),E=Boolean(e?.ID),f=E?__("Connection confirmation","jetpack"):_x("Manage Jetpack Social connections","","jetpack"),b=(0,l.useSelect)((e=>e(c.store).canUser("update","settings")),[]);return React.createElement(i.Modal,{className:(0,p.A)(h.A.modal,{[h.A.small]:o}),onRequestClose:d,title:f},E?React.createElement(A.O,{keyringResult:e,onComplete:d,isAdmin:b}):React.createElement(React.Fragment,null,React.createElement(g.b,null),React.createElement("div",{className:h.A["manual-share"]},React.createElement("em",null,React.createElement(a.Ay,null,__("Want to share to other networks? Use our Manual Sharing feature from the editor.","jetpack")," ",React.createElement(i.ExternalLink,{href:(0,s.A)("jetpack-social-manual-sharing-help")},__("Learn more","jetpack")))))))};function f(){const e=(0,l.useSelect)((e=>e(m.M_).isConnectionsModalOpen()),[]);return React.createElement(o.Ay,{targetDom:document.body},e?React.createElement(E,null):null)}},30642:(e,t,n)=>{"use strict";n.d(t,{F:()=>d});var r=n(50723),a=n(47425),s=n(40597),o=n(56427),i=n(27723),c=n(68541),l=n(34600),u=n(27681);const __=i.__;function d(e){return React.createElement(r.Ay,null,React.createElement("div",{className:u.A.wrapper},React.createElement(o.Flex,{align:"start",justify:"start"},React.createElement(a.Ay,{variant:"body-extra-small",className:u.A.title},__("Manual sharing","jetpack")),React.createElement(s.A,{inline:!1,shift:!0,iconSize:16,placement:"top-end"},React.createElement(l.P,e))),React.createElement(c.R,{buttonStyle:"icon"})))}},34600:(e,t,n)=>{"use strict";n.d(t,{P:()=>i});var r=n(47425),a=n(3924),s=n(56427),o=n(27723);const __=o.__;function i({...e}){return React.createElement(r.Ay,e,__('Just tap the social network or "Copy to Clipboard" icon, and we\'ll format your content for sharing.',"jetpack")," ",React.createElement(s.ExternalLink,{href:(0,a.A)("jetpack-social-manual-sharing-help")},__("Learn more","jetpack")))}},55858:(e,t,n)=>{"use strict";n.d(t,{A:()=>E});var r=n(51112),a=n(50723),s=n(94715),o=n(56427),i=n(86087),c=n(27723),l=n(51113),u=n(31249),d=n(13022),p=n(52367),m=n(2204),g=n(18699),A=n(97671);const __=c.__,h=e=>t=>{t.currentTarget.focus(),e()};function E({buttonLabel:e,subTitle:t,mediaId:n=null,mediaDetails:c={},onChange:E,wrapperClassName:f,allowedMediaTypes:b=null}){const{mediaData:{width:v,height:C,sourceUrl:k}={},metaData:{mime:y,length:B=null}={},previewData:{width:w,height:_,sourceUrl:I}={}}=c,j=!(k&&v&&C&&y),x=(0,i.useCallback)((()=>E(null)),[E]),S=(0,i.useCallback)((e=>{E(e)}),[E]),Q=(0,i.useCallback)((e=>{const t=(0,p.c)(y);return t&&!B?null:React.createElement("div",{className:(0,d.A)(A.A["preview-wrapper"],f)},React.createElement("button",{className:A.A.remove,onClick:x},React.createElement(o.VisuallyHidden,null,__("Remove media","jetpack")),React.createElement(l.A,{icon:u.A})),React.createElement("button",{className:A.A.preview,onClick:h(e),"data-unstable-ignore-focus-outside-for-relatedtarget":".media-modal"},t?React.createElement(g.A,{sourceUrl:k,mime:y,duration:B}):React.createElement(o.ResponsiveWrapper,{naturalWidth:w||v,naturalHeight:_||C,isInline:!0},React.createElement("img",{src:I||k,alt:"",className:A.A["preview-image"]}))))}),[C,B,y,x,_,I,w,k,v,f]),N=(0,i.useCallback)((a=>React.createElement("div",{className:A.A.container},n?React.createElement(React.Fragment,null,React.createElement("button",{className:A.A["remove-loading"],onClick:x},React.createElement(o.VisuallyHidden,null,__("Remove media","jetpack")),React.createElement(l.A,{icon:u.A})),React.createElement(o.Spinner,{"data-testid":"spinner"})):React.createElement(React.Fragment,null,React.createElement(r.A,{variant:"secondary",size:"small",className:A.A.preview,onClick:h(a),"data-unstable-ignore-focus-outside-for-relatedtarget":".media-modal"},e),t&&React.createElement("span",null,t)))),[e,n,x,t]),R=(0,i.useCallback)((({open:e})=>n&&!j?Q(e):N(e)),[n,j,Q,N]);return React.createElement(a.Ay,null,React.createElement(s.MediaUploadCheck,null,React.createElement(s.MediaUpload,{allowedTypes:b??m.UB,title:e,onSelect:S,render:R,value:n})))}},12015:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(50723),a=n(3924),s=n(85985),o=n(56427),i=n(86087),c=n(27723),l=n(51609),u=n.n(l),d=n(98420),p=n(80624),m=n(55858),g=n(35270);const __=c.__,A=__("Choose Media","jetpack");function h({disabled:e=!1,disabledNoticeMessage:t="",CustomNotice:n=null,analyticsData:c}){const{attachedMedia:h,updateAttachedMedia:E}=(0,d.A)(),{recordEvent:f}=(0,s.st)(),[b]=(0,p.A)(h[0]?.id),v=(0,i.useCallback)((e=>{if(e){f("jetpack_social_media_attached",c);const{id:t,url:n,mime:r}=e;E([{id:t,url:n,type:r}])}else E([])}),[c,f,E]),C=e?o.Disabled:l.Fragment,k=e?{className:g.A.disabled,"data-testid":"disabled"}:{};return u().createElement(r.Ay,null,u().createElement(o.BaseControl,{label:__("Attached Media","jetpack"),className:g.A.wrapper},n||(t?u().createElement(o.Notice,{className:g.A.notice,isDismissible:!1,status:"warning"},u().createElement("p",{"data-testid":"notice"},t)):u().createElement("p",{className:g.A.subtitle},__("Choose a visual to accompany your post.","jetpack"))),u().createElement(C,k,u().createElement(m.A,{buttonLabel:A,subTitle:__("Add an image or video","jetpack"),mediaId:h[0]?.id,mediaDetails:b,onChange:v}),u().createElement(o.ExternalLink,{href:(0,a.A)("jetpack-social-media-support-information"),className:g.A["learn-more"]},__("Learn photo and video best practices","jetpack")))))}},70694:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(85985),a=n(56427),s=n(27723),o=n(51609);const __=s.__,_n=s._n;function i({message:e="",onChange:t,disabled:n,maxLength:i,analyticsData:c=null}){const{recordEvent:l}=(0,r.st)(),u=(0,o.useRef)(!0),d=i-e.length,p=(0,o.useCallback)((e=>{t(e),u.current&&(l("jetpack_social_custom_message_changed",c),u.current=!1)}),[c,u,t,l]);return React.createElement(a.TextareaControl,{value:e,label:__("Message","jetpack"),onChange:p,disabled:n,maxLength:i,placeholder:__("Write a custom message for your social audience here. This message will override your social post content.","jetpack"),rows:4,help:(0,s.sprintf)(/* translators: placeholder is a number. */ +_n("%d character remaining","%d characters remaining",d,"jetpack"),d)})}},51475:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(56427),a=n(27723),s=n(51113),o=n(31249),i=n(13022),c=n(28120),l=n.n(c),u=n(93794);const __=a.__,d=({children:e,type:t="default",actions:n=[],onDismiss:a})=>{const c=(0,i.A)(u.A.notice,u.A[`notice--${t}`]);return React.createElement("div",{className:c},React.createElement("div",{className:u.A.content}," ",e," "),a&&React.createElement("button",{className:u.A.dismiss,onClick:a},React.createElement(r.VisuallyHidden,null,__("Dismiss notice","jetpack")),React.createElement(s.A,{icon:o.A})),n&&n.length>0&&React.createElement("div",{className:u.A.actions},n.map((e=>e))))};d.propTypes={children:l().node.isRequired,type:l().oneOf(["default","highlight","warning","error"]),actions:l().arrayOf(l().element),onDismiss:l().func};const p=d},66561:(e,t,n)=>{"use strict";n.d(t,{A:()=>E});var r=n(56427),a=n(47143),s=n(43656),o=n(86087),i=n(27723),c=n(77627),l=n(88584),u=n(49036),d=n(50001),p=n(70925),m=n(30642),g=n(39815),A=n(7757),h=n(87170);const __=i.__,E=({prePublish:e,children:t})=>{const{refresh:n,hasConnections:i,hasEnabledConnections:E}=(0,d.A)(),f=(0,a.useSelect)((e=>e(s.store).isCurrentPostPublished()),[]),b=(0,l.A)(),{isPublicizeEnabled:v,hidePublicizeFeature:C,togglePublicizeFeature:k}=(0,c.A)();(0,u._D)((function(){E&&n()}),[E,n]);const y=e?o.Fragment:r.PanelBody,B=e?{}:{title:__("Share this post","jetpack"),className:h.A.panel};return b(),React.createElement(y,B,t,!C&&React.createElement(o.Fragment,null,!f&&React.createElement(r.ToggleControl,{label:v?__("Share when publishing","jetpack"):__("Sharing is disabled","jetpack",0),onChange:k,checked:v&&i,disabled:!i}),React.createElement(p.A,null),React.createElement(g.O,null)),f&&React.createElement(React.Fragment,null,React.createElement(A.JU,{withWrapper:!0}),React.createElement(m.F,null)))}},65843:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(85985),a=n(47143),s=n(14309),o=n(43656),i=n(27723),c=n(34600),l=n(68541),u=n(5780);const __=i.__;function d(){const{isCurrentPostPublished:e}=(0,a.useSelect)((e=>e(o.store)),[]);return e()?React.createElement(s.PluginPostPublishPanel,{initialOpen:!0,title:__("Manual sharing","jetpack"),id:"publicize-manual-sharing",icon:React.createElement(r.jt,null)},React.createElement(c.P,{className:u.A.description,variant:"body-small"}),React.createElement(l.R,null)):null}},26029:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(50723),a=n(65843),s=n(39691),o=n(89640);const i=()=>React.createElement(r.Ay,{targetDom:document.body},React.createElement(o.p,null),React.createElement(a.A,null),React.createElement(s.A,null))},39691:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(3924),a=n(85985),s=n(1455),o=n.n(s),i=n(14309),c=n(86087),l=n(77627),u=n(49036),d=n(50001),p=n(25300);const m=()=>{const[e,t]=(0,c.useState)((0,a.$i)()?.social?.reviewRequestDismissed??!0),[n,s]=(0,c.useState)(!1),{hasEnabledConnections:m}=(0,d.A)(),{isPublicizeEnabled:g,isPostAlreadyShared:A}=(0,l.A)();(0,u.Wv)((()=>{s(!A&&g&&m)}),[A,m,g]);const h=(0,c.useCallback)((()=>{const e=(0,a.$i)()?.social?.dismissReviewRequestPath??null;o()({path:e,method:"POST",data:{dismissed:!0}}).catch((e=>{throw e})),t(!0)}),[]);return e||!n?null:React.createElement(i.PluginPostPublishPanel,{id:"publicize-title"},React.createElement(p.A,{href:(0,r.A)("jetpack-social-plugin-reviews"),onClose:h}))}},89640:(e,t,n)=>{"use strict";n.d(t,{p:()=>u});var r=n(47143),a=n(14309),s=n(43656),o=n(383),i=n(57275),c=n(89729),l=n(79594);function u(){const{isPublicizeEnabled:e}=(0,o.h)(),{featureFlags:t,postId:n,isPostPublised:u}=(0,r.useSelect)((e=>{const t=e(c.M_),n=e(s.store);return{featureFlags:t.featureFlags(),postId:n.getCurrentPostId(),isPostPublised:n.isCurrentPostPublished()}}),[]),d=(0,i.z)((0,r.useSelect)((e=>e(c.M_).getEnabledConnections()),[])),p=e&&d.length>0;return t.useShareStatus&&p&&u?React.createElement(a.PluginPostPublishPanel,{id:"publicize-share-status"},React.createElement(l.q,{postId:n})):null}},79594:(e,t,n)=>{"use strict";n.d(t,{q:()=>g});var r=n(56427),a=n(47143),s=n(38443),o=n(43656),i=n(86087),c=n(27723),l=n(89729),u=n(51475),d=n(7757),p=n(55387);const __=c.__,_n=c._n,m=6e4;function g({postId:e}){const t=(0,a.useSelect)((t=>t(l.M_).getPostShareStatus(e)),[e]),n=(0,a.useSelect)((e=>{const t=e(o.store).getEditedPostAttribute("date"),n=new Date(Number((0,s.getDate)(t))+m);return!(0,s.isInTheFuture)(n)}),[]),{invalidateResolution:g}=(0,a.useDispatch)(l.M_);if((0,i.useEffect)((()=>{n||t.loading||t.done||g("getPostShareStatus",[e])}),[n,g,e,t.loading,t.done]),t.loading)return React.createElement("div",{className:p.A["loading-block"]},React.createElement(r.Spinner,null),React.createElement("span",{className:p.A["loading-text"]},__("Sharing to your social media…","jetpack")));const A=t.shares.filter((e=>"failure"===e.status)).length;return A>0?React.createElement(u.A,{type:"warning"},React.createElement("p",null,(0,c.sprintf)(/* translators: %d: number of failed shares */ +_n("Your post was unable to be shared to %d connection.","Your post was unable to be shared to %d connections.",A,"jetpack"),A)),React.createElement(d.JU,{variant:"link"},__("Review status and try again","jetpack"))):t.done?t.shares.length?React.createElement(React.Fragment,null,React.createElement("b",null,__("Your post was shared.","jetpack"))," ","🎉",React.createElement("p",null,(0,c.sprintf)(/* translators: %d: number of connections to which a post was shared */ +_n("You post was successfuly shared to %d connection.","You post was successfuly shared to %d connections.",t.shares.length,"jetpack"),t.shares.length)),React.createElement(d.JU,null)):React.createElement("span",null,__("Your post was not shared.","jetpack")):React.createElement("span",null,__("The request to share your post is still in progress.","jetpack"))}},37051:(e,t,n)=>{"use strict";n(47143),n(89729)},25300:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(50723),a=n(51112),s=n(85985),o=n(27723),i=n(51609),c=n(76445);const __=o.__,l=({href:e,onClose:t})=>{const{recordEvent:n}=(0,s.st)({pageViewEventName:"social_plugin_review_prompt",pageViewNamespace:"jetpack",pageViewSuffix:"view"}),l=(0,i.useCallback)((()=>{n("jetpack_social_plugin_review_prompt_new_review_click")}),[n]),u=(0,i.useCallback)((()=>{n("jetpack_social_plugin_review_prompt_dismiss_click"),t()}),[n,t]);return React.createElement(r.Ay,null,React.createElement("div",{className:c.A.prompt},React.createElement("h2",{className:c.A.header},/* translators: %s is the celebration emoji */ /* translators: %s is the celebration emoji */ +(0,o.sprintf)(__("Presto! %s","jetpack"),String.fromCodePoint(127881))),React.createElement("p",null,__("Just like that, Jetpack Social has shared your post to your connected social accounts.","jetpack")),React.createElement("p",null,__("Please leave a review to let others know how easy getting your posts on social media can be!","jetpack")),React.createElement("div",{className:c.A.buttons},React.createElement(a.A,{onClick:l,isExternalLink:!0,href:e,className:c.A.button},__("Leave a Review","jetpack")),React.createElement(a.A,{onClick:u,variant:"link",className:c.A.button},__("Dismiss","jetpack")))))}},53774:(e,t,n)=>{"use strict";n.d(t,{$:()=>d});var r=n(51112),a=n(47143),s=n(27723),o=n(13022),i=n(51609),c=n(89729),l=n(42475),u=n(70745);const __=s.__,_x=s._x;function d({service:e,isSmall:t,onSubmit:n,displayInputs:s,hasConnections:d,buttonLabel:p}){const{setKeyringResult:m}=(0,a.useDispatch)(c.M_),{isConnectionsModalOpen:g}=(0,a.useSelect)((e=>e(c.M_)),[]),A=(0,i.useCallback)((e=>{g()&&m(e)}),[m,g]),h=(0,u.P)({service:e,onConfirm:A}),E=(0,i.useCallback)((e=>{if(e.preventDefault(),e.stopPropagation(),n)return n();const t=new FormData(e.target);h(t)}),[n,h]);return React.createElement("form",{className:(0,o.A)(l.A["connect-form"],{[l.A.small]:t}),onSubmit:E},s?React.createElement(React.Fragment,null,"mastodon"===e.ID?React.createElement("input",{required:!0,type:"text",name:"instance","aria-label":__("Mastodon username","jetpack"),placeholder:"@mastodon@mastodon.social"}):null):null,React.createElement(r.A,{variant:d?"secondary":"primary",type:"submit",className:l.A["connect-button"]},p||(d?_x("Connect more","","jetpack"):__("Connect","jetpack"))))}},77088:(e,t,n)=>{"use strict";n.d(t,{e:()=>d});var r=n(40597),a=n(47425),s=n(27723),o=n(27817),i=n(86158),c=n(43119),l=n(52683),u=n(42475);const __=s.__,d=({connection:e,service:t,isAdmin:n})=>{return React.createElement("div",{className:u.A["service-connection"]},React.createElement("div",null,e.profile_picture?React.createElement("img",{className:u.A["profile-pic"],src:e.profile_picture,alt:e.display_name}):React.createElement(t.icon,{iconSize:40})),React.createElement("div",{className:u.A["connection-details"]},React.createElement(o.s,{connection:e}),"broken"===(s=e).status&&s.can_disconnect?React.createElement(i.v,{connection:s,service:t}):n?React.createElement("div",{className:u.A["mark-shared-wrap"]},React.createElement(l.j,{connection:s}),React.createElement(r.A,{placement:"top",inline:!1,shift:!0},__("If enabled, the connection will be available to all administrators, editors, and authors.","jetpack"))):s.can_disconnect?null:React.createElement(React.Fragment,null,React.createElement(a.Ay,{className:u.A.description},__("This connection is added by a site administrator.","jetpack")),"broken"===s.status?React.createElement(i.v,{connection:s,service:t}):null)),React.createElement("div",{className:u.A["connection-actions"]},React.createElement(c.V,{connection:e,isDestructive:!1,variant:"tertiary",buttonClassName:u.A.disconnect})));var s}},46985:(e,t,n)=>{"use strict";n.d(t,{x:()=>d});var r=n(60442),a=n(56427),s=n(3582),o=n(47143),i=n(13022),c=n(89729),l=n(77088),u=n(42475);function d({service:e,serviceConnections:t}){const[n]=(0,r.A)("sm"),{deletingConnections:d,updatingConnections:p}=(0,o.useSelect)((e=>{const{getDeletingConnections:t,getUpdatingConnections:n}=e(c.M_);return{deletingConnections:t(),updatingConnections:n()}}),[]),m=(0,o.useSelect)((e=>e(s.store).canUser("update","settings")),[]);return t.length?React.createElement("ul",{className:u.A["service-connection-list"]},t.map((t=>{const n=p.includes(t.connection_id)||d.includes(t.connection_id);return React.createElement("li",{key:t.connection_id},React.createElement(a.Disabled,{isDisabled:n},React.createElement(l.e,{connection:t,service:e,isAdmin:m})))}))):React.createElement("div",{className:(0,i.A)(u.A["example-wrapper"],{[u.A.small]:n})},e.examples.map(((t,n)=>React.createElement("div",{key:e.ID+n,className:u.A.example},React.createElement(t,null)))))}},59008:(e,t,n)=>{"use strict";n.d(t,{j:()=>A});var r=n(60442),a=n(51112),s=n(56427),o=n(86087),i=n(27723),c=n(51113),l=n(98248),u=n(64969),d=n(53774),p=n(46985),m=n(21159),g=n(42475);const __=i.__,_x=i._x;function A({service:e,serviceConnections:t}){const[n]=(0,r.A)("sm"),[i,A]=(0,o.useReducer)((e=>!e),!1),h=i&&"mastodon"===e.ID,E=t.filter((({status:e})=>"broken"===e)),f=E.some((({can_disconnect:e})=>e)),b=h||f&&i,v=E.length>1?_x("Fix connections","Fix the social media connections","jetpack"):_x("Fix connection","Fix social media connection","jetpack");return React.createElement("div",{className:g.A["service-item"]},React.createElement("div",{className:g.A["service-item-info"]},React.createElement("div",null,React.createElement(e.icon,{iconSize:n?36:48})),React.createElement("div",{className:g.A["service-basics"]},React.createElement("div",{className:g.A.heading},React.createElement("span",{className:g.A.title},e.label),e.badges?.length?React.createElement("div",{className:g.A.badges},e.badges.map((({text:e,style:t},n)=>React.createElement("span",{key:n,className:g.A.badge,style:t},e)))):null),n||t.length?null:React.createElement("span",{className:g.A.description},e.description),React.createElement(m.E,{serviceConnections:t,brokenConnections:E})),React.createElement("div",{className:g.A.actions},b?null:React.createElement(d.$,{service:e,isSmall:n,onSubmit:f||e.needsCustomInputs?A:void 0,hasConnections:t.length>0,buttonLabel:f?v:void 0}),React.createElement(a.A,{size:"small",className:g.A["learn-more"],variant:"tertiary",onClick:A,"aria-label":__("Learn more","jetpack")},React.createElement(c.A,{className:g.A.chevron,icon:i?l.A:u.A})))),React.createElement(s.Panel,{className:g.A["service-panel"]},React.createElement(s.PanelBody,{opened:i,onToggle:A},React.createElement(p.x,{service:e,serviceConnections:t}),"mastodon"!==e.ID||f?null:React.createElement("div",{className:g.A["connect-form-wrapper"]},React.createElement(d.$,{service:e,displayInputs:!0,isSmall:!1,buttonLabel:__("Connect","jetpack")})))))}},21159:(e,t,n)=>{"use strict";n.d(t,{E:()=>o});var r=n(42266),a=n(27723),s=n(42475);const __=a.__,_n=a._n;function o({serviceConnections:e,brokenConnections:t}){if(!e.length)return null;if(t.length>0){const e=t.some((({can_disconnect:e})=>e));return React.createElement(r.A,{level:e?"error":"warning",showIcon:!1,className:s.A["broken-connection-alert"]},e?__("Please fix the broken connections or disconnect them to create more connections.","jetpack"):_n("Broken connection","Broken connections",t.length,"jetpack"))}return React.createElement("span",{className:s.A["active-connection"]},e.length>1?(0,a.sprintf)( // translators: %d: Number of connections -__("%d connections","jetpack"),e.length):__("Connected","jetpack"))}},5803:(e,t,n)=>{"use strict";n.d(t,{v:()=>c});var a=n(9818),r=n(23177),s=n(87805),o=n(90934),i=n(66475);function c(){const e=(0,i.i)(),t=(0,a.useSelect)((e=>e(r.h).getConnections().reduce(((e,t)=>(e[t.service_name]||(e[t.service_name]=[]),e[t.service_name].push(t),e)),{})),[]);return React.createElement("ul",{className:o.Z.services},e.map((e=>React.createElement("li",{key:e.ID,className:o.Z["service-list-item"]},React.createElement(s.D,{service:e,serviceConnections:t[e.ID]||[]})))))}},58300:(e,t,n)=>{"use strict";n.d(t,{N:()=>u});var a=n(60068),r=n(9818),s=n(69307),o=n(65736),i=n(23177),c=n(42032);const __=o.__,l=e=>/^@?\b([A-Z0-9_]+)@([A-Z0-9.-]+\.[A-Z]{2,})$/gi.test(e);function u({service:e,onConfirm:t}){const{createErrorNotice:n}=(0,a._)(),o=(0,r.useSelect)((e=>e(i.h).isMastodonAccountAlreadyConnected),[]);return(0,s.useCallback)((a=>{const r=new URL(e.connect_URL);switch(e.ID){case"mastodon":{const e=a.get("instance").toString().trim();if(!l(e))return void n(__("Invalid Mastodon username","jetpack"));if(o?.(e))return void n(__("This Mastodon account is already connected","jetpack"));r.searchParams.set("instance",a.get("instance"));break}}(0,c.requestExternalAccess)(r.toString(),t)}),[n,o,t,e.ID,e.connect_URL])}},83255:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(99196),r=n(8207);function s(){const e=(0,r.G)();return(0,a.useCallback)((t=>e(t)?.label||t[0].toUpperCase()+t.substring(1)),[e])}},8207:(e,t,n)=>{"use strict";n.d(t,{G:()=>s});var a=n(99196),r=n(66475);function s(){const e=(0,r.i)(),t=(0,a.useMemo)((()=>e.reduce(((e,t)=>(e[t.ID]=t,e)),{})),[e]);return(0,a.useCallback)((e=>t[e]),[t])}},66475:(e,t,n)=>{"use strict";n.d(t,{i:()=>E});var a=n(82674),r=n.n(a),s=n(3396),o=n(55609),i=n(9818),c=n(69307),l=n(65736),u=n(40644),d=n(93926),p=n(98611),m=n(44654),g=n(16723),A=n(27182),h=n(23177);const __=l.__;function E(){const e=(0,i.useSelect)((e=>e(h.h).getServices().reduce(((e,t)=>({...e,[t.ID]:t})),{})),[]),t={text:__("New","jetpack"),style:{background:"#e9eff5",color:"#0675C4"}};return[{...e.facebook,icon:e=>React.createElement(s.av,r()({serviceName:"facebook"},e)),description:__("Share to your pages","jetpack"),examples:[()=>React.createElement(React.Fragment,null,(0,c.createInterpolateElement)(__("Connect to automatically share posts on your Facebook page.","jetpack"),{strong:React.createElement("strong",null)})),()=>React.createElement("img",{src:u,alt:__("Add Facebook connection","jetpack")})]},{...e["instagram-business"],icon:e=>React.createElement(s.av,r()({serviceName:"instagram"},e)),description:__("Share to your Instagram Business account.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,__("Drive engagement and save time by automatically sharing images to Instagram when you publish blog posts.","jetpack"),React.createElement("div",{className:"instagram-business__requirements"},React.createElement("h4",null,__("Requirements for connecting Instagram:","jetpack")),React.createElement("ol",null,React.createElement("li",null,__("You must have an Instagram Business account.","jetpack")),React.createElement("li",null,__("Your Instagram Business account must be linked to a Facebook page.","jetpack")))),(0,c.createInterpolateElement)(__("When you click “connect” you'll be asked to log into Facebook. If your Instagram Business account isn't listed, ensure it's linked to a Facebook page.","jetpack"),{strong:React.createElement("strong",null),i:React.createElement("em",null)}),React.createElement("br",null),React.createElement("br",null),React.createElement(o.ExternalLink,{className:"instagram-business__help-link",href:"https://jetpack.com/redirect/?source=jetpack-social-instagram-business-help"},__("Learn how to convert & link your Instagram account.","jetpack"))),()=>React.createElement("img",{src:d,alt:__("Add Instagram photo","jetpack")})]},{...e.threads,icon:e=>React.createElement(s.av,r()({serviceName:"threads"},e)),description:__("Share posts to your Threads feed.","jetpack"),badges:[t],examples:[()=>React.createElement(React.Fragment,null,__("Increase your presence in social media by sharing your posts automatically to Threads.","jetpack")),()=>React.createElement("img",{src:g,alt:__("Add Threads connection","jetpack")})]},{...e.linkedin,icon:e=>React.createElement(s.av,r()({serviceName:"linkedin"},e)),description:__("Share with your LinkedIn community.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,(0,c.createInterpolateElement)(__("Connect to automatically share posts with your LinkedIn connections.","jetpack"),{strong:React.createElement("strong",null)})),()=>React.createElement("img",{src:p,alt:__("Add LinkedIn connection","jetpack")})]},{...e.nextdoor,icon:e=>React.createElement(s.av,r()({serviceName:"nextdoor"},e)),description:__("Share on communities","jetpack"),examples:[()=>React.createElement(React.Fragment,null,(0,c.createInterpolateElement)(__("Connect with friends, neighbors, and local businesses by automatically sharing your posts to Nextdoor.","jetpack"),{strong:React.createElement("strong",null)})),()=>React.createElement("img",{src:m,alt:__("Add Instagram photo","jetpack")})]},{...e.tumblr,icon:e=>React.createElement(s.av,r()({serviceName:"tumblr-alt"},e)),description:__("Share to your Tumblr blog.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,(0,c.createInterpolateElement)(__("Connect to automatically share posts to your Tumblr blog.","jetpack"),{strong:React.createElement("strong",null)})),()=>React.createElement("img",{src:A,alt:__("Add Tumblr connection","jetpack")})]},{...e.mastodon,needsCustomInputs:!0,icon:e=>React.createElement(s.av,r()({serviceName:"mastodon"},e)),description:__("Share with your network.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,__("To share to Mastodon please enter your Mastodon username below, then click connect.","jetpack"))]}].filter((e=>Boolean(e.ID)))}},2817:(e,t,n)=>{"use strict";n.d(t,{o:()=>r});var a=n(65736);const __=a.__,r=[{label:__("X","jetpack"),networkName:"x",url:"https://x.com/intent/tweet?text={{text}}&url={{url}}"},{label:__("WhatsApp","jetpack"),networkName:"whatsapp",url:"https://api.whatsapp.com/send?text={{text}}"},{label:__("Facebook","jetpack"),networkName:"facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"}]},22917:(e,t,n)=>{"use strict";n(34607)},34607:(e,t,n)=>{"use strict";n.d(t,{n:()=>g});var a=n(3396),r=n(90526),s=n(45106),o=n(14203),i=n(13419),c=n(69307),l=n(65736),u=n(3228),d=n(2817),p=n(30664),m=n(38730);const __=l.__;function g({buttonStyle:e="icon",buttonVariant:t}){const n=(0,m.S)(),{recordEvent:g}=(0,i.z$)(),A=(0,c.useCallback)((()=>{g("jetpack_social_share_button_clicked",{network:"clipboard"})}),[g]),h=(0,c.useCallback)((()=>n("{{text}}\n{{url}}",!1)),[n]),E=(0,c.useCallback)((function(e,t){return function(n){n.preventDefault(),g("jetpack_social_share_button_clicked",t),window.open(e,"","menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600")}}),[g]);return React.createElement("div",{className:(0,u.Z)(p.Z["share-buttons"],{[p.Z.vertical]:e.includes("text")})},d.o.map((({label:o,networkName:i,url:c})=>{const u=n(c),d="icon"===e?React.createElement(a.av,{serviceName:i}):null,m=(0,l.sprintf)(/* translators: %s is the name of a social network, e.g. Twitter. */ -__("Share on %s","jetpack"),o);return React.createElement("div",{className:p.Z.container,key:i},React.createElement(r.Z,{icon:d,variant:t,"aria-label":m,href:u,target:"_blank",rel:"noopener noreferrer",onClick:E(u,{network:i}),className:"icon"===e?p.Z[i]:"has-text"},"icon"===e?null:React.createElement(React.Fragment,null,"icon-text"===e&&React.createElement(a.av,{className:p.Z[i],serviceName:i}),React.createElement(s.ZP,{className:p.Z.label,component:"span"},m))))})),React.createElement("div",{className:p.Z.container},React.createElement(o.Z,{buttonStyle:e,onCopy:A,textToCopy:h,className:"icon"===e?p.Z.clipboard:" has-text",variant:t},"icon"===e?null:React.createElement(s.ZP,{className:p.Z.label,component:"span"},__("Copy to clipboard","jetpack")))))}},38730:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});var a=n(9818),r=n(69307),s=n(71806);function o(){const{shareMessage:e}=(0,s.R)(),{message:t,link:n}=(0,a.useSelect)((t=>{const n=t("core/editor").getEditedPostAttribute;return{link:n("link"),message:e||n("meta")?.jetpack_seo_html_title||n("title")}}),[e]);return(0,r.useCallback)(((e,a=!0)=>{let r=t,s=n;return e.includes("{{url}}")||(r=r+"\n\n"+s,s=""),a&&(r=encodeURIComponent(r),s=encodeURIComponent(s)),e.replace("{{text}}",r).replace("{{url}}",s)}),[n,t])}},32637:(e,t,n)=>{"use strict";n.d(t,{r:()=>u});var a=n(43521),r=n(69307),s=n(65736),o=n(3228),i=n(73640);const __=s.__,_x=s._x,c={error:"var(--jp-red-50)",warning:"var(--jp-yellow-20)",default:"var(--jp-green)"},l={error:"var(--jp-red-50)",warning:"var(--jp-yellow-20)",default:"var(--jp-green-5)"},u=({usedCount:e,scheduledCount:t,remainingCount:n,remainingLabel:s,className:u,noticeType:d="default",legendCaption:p})=>{const m=(0,r.useMemo)((()=>{const a=__("scheduled","jetpack"),r=__("used or scheduled","jetpack");return[("default"===d||0===t)&&{count:e,backgroundColor:c[d],label:__("used","jetpack")},t>0&&{count:"default"===d?t:t+e,backgroundColor:l[d],label:"default"===d?a:r},{count:n,backgroundColor:"var(--jp-gray-off)",label:s||_x("left","Referring to the quantity remaning, not the direction - left/right.","jetpack")}].filter(Boolean)}),[d,t,e,n,s]);return React.createElement("div",{className:(0,o.Z)(i.Z.wrapper,u)},React.createElement(a.Z,{totalCount:e+t+n,items:m,className:i.Z["bar-wrapper"],tableCaption:p,legendTitle:p,recordTypeLabel:__("Share type","jetpack"),recordCountLabel:__("Usage","jetpack")}))}},91474:(e,t,n)=>{"use strict";n.d(t,{o:()=>A});var a=n(55609),r=n(9818),s=n(12238),o=n(69307),i=n(65736),c=n(53961),l=n(14085),u=n(45579),d=n(57492),p=n(23177);const __=i.__;function m(e=__("Unable to share the Post","jetpack")){const{createErrorNotice:t}=(0,r.dispatch)(c.store);t(e,{id:"publicize-post-share-message"})}function g(){const{hasEnabledConnections:e}=(0,d.Z)(),{isPublicizeEnabled:t}=(0,l.Z)(),{isFetching:n,isError:i,isSuccess:p,doPublicize:g}=(0,u.Z)(),A=(0,r.useSelect)((e=>e(s.store).isCurrentPostPublished()),[]);(0,o.useEffect)((()=>{if(!n)return i?m():void(p&&function(){const{createSuccessNotice:e}=(0,r.dispatch)(c.store);e(__("Post shared","jetpack"),{id:"publicize-post-share-message",type:"snackbar"})}())}),[n,i,p]);const h=!t||!e||!A||n,E=(0,o.useCallback)((()=>{if(!A)return m(__("You must publish your post before you can share it.","jetpack"));(0,r.dispatch)(c.store).removeNotice("publicize-post-share-message"),g()}),[g,A]);return React.createElement(a.Button,{variant:"secondary",onClick:E,disabled:h,isBusy:n},__("Share post","jetpack"))}function A(){const{isRePublicizeUpgradableViaUpsell:e}=(0,l.Z)(),t=(0,r.useSelect)((e=>e(s.store).isCurrentPostPublished()),[]),{hasConnections:n}=(0,r.useSelect)((e=>e(p.h)),[]);return t?e?null:n()?React.createElement(a.PanelRow,null,React.createElement(g,null)):null:null}},54005:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(60068),r=n(55609),s=n(69307),o=n(65736),i=n(75263),c=n(34282),l=n(9888),u=n(81469);const __=o.__,_x=o._x,d=({prePublish:e=!1})=>{const t=e?s.Fragment:r.PanelBody,n=e?{}:{title:__("Social Image Generator","jetpack")},{isEnabled:o,setIsEnabled:d}=(0,i.Z)(),[p,m]=(0,s.useState)(!1),g=(0,s.useCallback)((()=>m(!0)),[]),A=(0,s.useCallback)((()=>m(!1)),[]),[h,E]=(0,s.useState)(null),{createErrorNotice:f,createSuccessNotice:b}=(0,a._)(),{save:v,isSaving:C}=(0,c.C)({onError:e=>{f(e.message)},onSuccess:()=>{b(__("Image saved to media library.","jetpack"))}}),k=(0,s.useCallback)((()=>{v(`https://s0.wp.com/_si/?t=${h}`,"generated-image.jpg")}),[h,v]);return React.createElement(t,n,p&&React.createElement(u.Z,{onClose:A}),React.createElement(r.ToggleControl,{label:__("Enable Social Image","jetpack"),help:o?"":__("Social Image is disabled for this post.","jetpack"),checked:o,onChange:d}),o&&React.createElement(React.Fragment,null,React.createElement("hr",null),React.createElement(l.ZP,{onNewToken:E}),React.createElement("hr",null),React.createElement(r.__experimentalHStack,{spacing:2,wrap:!0},React.createElement(r.Button,{variant:"secondary",onClick:g,label:__("Open the Social Image Generator settings","jetpack")},__("Settings","jetpack")),React.createElement(r.Button,{variant:"secondary",onClick:k,label:__("Save the generated image to your media library.","jetpack"),disabled:!h||C},C?_x("Saving…","Saving the file to media library","jetpack"):__("Save to media library","jetpack")))))}},81469:(e,t,n)=>{"use strict";n.d(t,{Z:()=>A});var a=n(88275),r=n(55609),s=n(69307),o=n(65736),i=n(75263),c=n(98811),l=n(9888),u=n(88649),d=n(39356),p=n(40088);const __=o.__,m=["image/jpeg","image/png"],g=__("Choose Image","jetpack"),A=({onClose:e})=>{const{customText:t,imageType:n,imageId:o,template:A,updateSettings:h}=(0,i.Z)(),[E,f]=(0,s.useState)(o),[b,v]=(0,s.useState)(n||"featured"),[C,k]=(0,s.useState)(t),[y,B]=(0,s.useState)(A),[w]=(0,c.Z)(E),_=(0,s.useCallback)((()=>{h({template:y,image_type:b,custom_text:C||"",..."custom"===b&&{image_id:E}}),e()}),[h,y,b,E,C,e]),I=(0,s.useCallback)((e=>{f(e?.id)}),[f]);return React.createElement(a.ZP,{targetDom:document.body},React.createElement(r.Modal,{onRequestClose:e},React.createElement(l.ZP,{className:p.Z.preview,imageId:E,customText:C,imageType:b,template:y}),React.createElement(r.SelectControl,{label:__("Image Type","jetpack"),value:b||"featured",options:[{label:__("Featured Image","jetpack"),value:"featured"},{label:__("Custom Image","jetpack"),value:"custom"},{label:__("No Image","jetpack"),value:"none"}],onChange:v}),"custom"===b&&React.createElement(u.Z,{buttonLabel:g,subTitle:__("Add a custom image","jetpack"),mediaId:E,mediaDetails:w,onChange:I,allowedMediaTypes:m,wrapperClassName:p.Z.mediaPicker}),React.createElement(r.TextControl,{className:p.Z.customText,value:C||"",onChange:k,label:__("Custom Header","jetpack"),help:__("By default the post title is used for the image. You can use this field to set your own text.","jetpack")}),React.createElement(r.BaseControl,{label:__("Templates","jetpack"),className:p.Z.templateControl},React.createElement(d.Z,{value:y,onTemplateSelected:B})),React.createElement(r.Button,{onClick:e,variant:"tertiary"},__("Cancel","jetpack")),React.createElement(r.Button,{onClick:_,variant:"primary"},__("Save","jetpack"))))}},79631:(e,t,n)=>{"use strict";n(9818),n(69307),n(65736),n(99196),n(23177),n(8350)},8350:(e,t,n)=>{"use strict";n(55609),n(69307),n(65736),n(39356),n(15214)},39356:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(69307),r=n(65736),s=n(3228),o=n(47320),i=n(57227);const __=r.__,c=({value:e=null,onTemplateSelected:t=null})=>{const n=(0,a.useCallback)((e=>{const n=e.target.id;t?.(n)}),[t]);return React.createElement("div",{className:o.Z.templates},i.Z.map((t=>React.createElement("button",{onClick:n,id:t.name,key:t.name,className:(0,s.Z)(o.Z.template,{[o.Z["template--active"]]:t.name===e})},React.createElement("img",{src:t.image,alt:t.label}),React.createElement("span",{className:"screen-reader-text"},/* translators: %s is the name of the template */ /* translators: %s is the name of the template */ -(0,r.sprintf)(__("Pick the %s template","jetpack"),t.label))))))}},57227:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(30253),r=n(91948),s=n(5353);const o=[{name:"highway",label:"Highway",image:n(27956)},{name:"dois",label:"Dois",image:a},{name:"edge",label:"Edge",image:r},{name:"fullscreen",label:"Fullscreen",image:s}]},76848:(e,t,n)=>{"use strict";n(9818),n(69307),n(99196),n(23177)},97738:(e,t,n)=>{"use strict";n.d(t,{U:()=>c});var a=n(41342),r=n(6895),s=n(55609),o=n(65736),i=n(14085);const __=o.__,_x=o._x;function c(){const{isEnhancedPublishingEnabled:e}=(0,i.Z)();return React.createElement(a.Z,{hideCloseButton:!0,actions:[React.createElement(s.ExternalLink,{href:(0,r.Z)("jetpack-social-share-to-instagram")},__("Learn more","jetpack"))]},e?__("To share to Instagram, add an image/video, or enable Social Image Generator.","jetpack"):_x("You need a featured image to share to Instagram.","The message shown in the Instagram social preview","jetpack"))}},93875:(e,t,n)=>{"use strict";n.d(t,{K:()=>d});var a=n(13419),r=n(55609),s=n(69307),o=n(65736),i=n(39517),c=n(38100),l=n(75692),u=n(83122);const __=o.__;function d(){const[e,t]=(0,s.useReducer)((e=>!e),!1),{recordEvent:n}=(0,a.z$)(),o=(0,s.useCallback)((()=>{e||n("jetpack_social_preview_modal_opened"),t()}),[e,n]);return React.createElement(r.PanelRow,{className:u.Z.panel},e&&React.createElement(r.Modal,{onRequestClose:t,title:__("Social Previews","jetpack"),className:u.Z.modal,__experimentalHideHeader:!0},React.createElement("div",{className:u.Z["modal-content"]},React.createElement(l.Q,null),React.createElement(c.z,null)),React.createElement(r.Button,{className:u.Z["close-button"],onClick:t,icon:i.Z,label:__("Close","jetpack")})),React.createElement(r.Button,{variant:"secondary",onClick:o},__("Preview social posts","jetpack")))}},87152:(e,t,n)=>{"use strict";n.d(t,{G:()=>C});var a=n(82674),r=n.n(a),s=n(34245),o=n(7558),i=n(18131),c=n(98170),l=n(67686),u=n(87591),d=n(39120),p=n(97450),m=n(37798),g=n(9818),A=n(69307),h=n(22629),E=n(65736),f=n(48751),b=n(9279),v=n(97738);const __=E.__;function C({connection:e}){const t=(0,A.useMemo)((()=>({displayName:e.display_name||e.external_display,profileImage:e.profile_picture})),[e]),{image:n,media:a,title:E,description:C,url:k,excerpt:y}=(0,b.u)(),B=((0,f.Z)().message||"").trim(),w=(0,A.useMemo)((()=>({description:C,image:n,media:a,title:E,url:k})),[C,n,a,E,k]),_=(0,g.useSelect)((e=>{const{getUnstableBase:t}=e(m.store);return(0,h.decodeEntities)(t()?.name)}),[]),I=a?.some((({type:e})=>e.startsWith("image/")||e.startsWith("video/")));switch(e.service_name){case"facebook":return I?React.createElement(s.C,r()({},w,{type:"article",customText:B||y||E,user:t})):React.createElement(o.g,r()({},w,{type:"article",customText:B||y||E,user:t}));case"instagram-business":{const e=Boolean(n);return I||e?React.createElement(i.R,r()({},w,{image:a?.[0]?.url||n,name:t.displayName,profileImage:t.profileImage,caption:B||E||C})):React.createElement(v.U,null)}case"linkedin":return React.createElement(c.w,r()({},w,{jobTitle:__("Job Title (Company Name)","jetpack"),name:t.displayName,profileImage:t.profileImage,description:B||E||C}));case"mastodon":{const e=a?.[0],n=e?.type.startsWith("image/")?e.url:null,s=B||`${E&&y?`${E}\n\n${y}`:E}`;return React.createElement(l.h,r()({},w,{description:s,siteName:_,user:{avatarUrl:t.profileImage,address:t.displayName,displayName:t.displayName},customText:B,customImage:n}))}case"nextdoor":{const e=`${B||E||C} ${a.length?k:""}`.trim();return React.createElement(u.M,r()({},w,{description:e,name:t.displayName,profileImage:t.profileImage}))}case"threads":{let e=E;B?e=B:E&&y&&(e=`${E}\n\n${y}`);const n=500-k.length-2;return e=(0,h.decodeEntities)(e).slice(0,n),e+=`\n\n${k}`,React.createElement(d.R,r()({},w,{caption:e,name:t.displayName,profileImage:t.profileImage}))}case"tumblr":return React.createElement(p.x,r()({},w,{user:{displayName:t.displayName,avatarUrl:t.profileImage},customText:B}));default:return null}}},38100:(e,t,n)=>{"use strict";n.d(t,{z:()=>g});var a=n(13419),r=n(55609),s=n(9818),o=n(65736),i=n(99196),c=n(23177),l=n(85761),u=n(28155),d=n(8207),p=n(87152),m=n(83122);const __=o.__;function g(){const{recordEvent:e}=(0,a.z$)(),t=(0,d.G)(),{canBeTurnedOn:n,shouldBeDisabled:o}=(0,u.z)(),g=(0,s.useSelect)((e=>e(c.h).getConnections().filter((({service_name:e})=>t(e))).map((e=>{const t=e.display_name||e.external_display,a=`${e.service_name}-${e.connection_id}`,r=React.createElement(l.Z,{label:t,serviceName:e.service_name,profilePicture:e.profile_picture}),s=o(e)||!n(e)||!e.enabled;return{...e,className:s?m.Z["disabled-tab"]:"",name:a,title:t,icon:r}}))),[t,o]),{toggleConnectionById:A}=(0,s.useDispatch)(c.h),h=(0,i.useCallback)(((t,n)=>()=>{A(t),e("jetpack_social_connection_toggled",{location:"preview-modal",enabled:!n.enabled,service_name:n.service_name})}),[e,A]);return React.createElement("div",{className:m.Z["preview-section"]},React.createElement(r.TabPanel,{tabs:g},(e=>React.createElement("div",{className:m.Z["preview-content"]},React.createElement(p.G,{connection:e}),React.createElement(r.ToggleControl,{label:__("Share to this account","jetpack"),disabled:o(e),checked:n(e)&&e.enabled,onChange:h(e.connection_id,e)})))))}},75692:(e,t,n)=>{"use strict";n.d(t,{Q:()=>o});var a=n(65736),r=n(63411),s=n(83122);const __=a.__;function o(){return React.createElement("div",{className:s.Z["settings-section"]},React.createElement("div",{className:s.Z["settings-header"]},React.createElement("h2",null,__("Social Preview","jetpack"))),React.createElement("div",{className:s.Z["settings-content"]},React.createElement(r.X,{analyticsData:{location:"preview-modal"}})))}},63855:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var a=n(82674),r=n.n(a),s=n(13477),o=n(9818),i=n(48751),c=n(23177);const l=(0,o.withSelect)((e=>{const{getEditedPostAttribute:t}=e("core/editor");return{excerpt:t("excerpt"),content:t("content").split("\x3c!--more")[0]}}))((e=>{const{message:t}=(0,i.Z)(),{title:n,excerpt:a,content:l}=e,u=(0,o.useSelect)((e=>{const{displayName:t,profileImage:n}=e(c.Eg).getConnectionProfileDetails(c.uJ);return{displayName:t,avatarUrl:n}}));return React.createElement(s.S,r()({},e,{type:"article",user:u,customText:t||a||l||n}))}))},83704:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(82674),r=n.n(a),s=n(17915),o=n(9818),i=n(22629),c=n(99196),l=n.n(c);const u=function(e){const t=(0,o.useSelect)((e=>{const{getUnstableBase:t}=e("core"),n=t().name;return(0,i.decodeEntities)(n)}));return l().createElement(s.X,r()({},e,{siteTitle:t}))}},4124:(e,t,n)=>{"use strict";n.d(t,{m:()=>g});var a=n(41342),r=n(6895),s=n(4049),o=n(55609),i=n(9818),c=n(65736),l=n(99196),u=n.n(l),d=n(14085),p=n(48751),m=n(23177);const __=c.__,_x=c._x;function g(e){const{title:t,image:n,media:c,description:l}=e,{username:g,profileImage:A}=(0,i.useSelect)((e=>e(m.Eg).getConnectionProfileDetails(m.M$))),{isEnhancedPublishingEnabled:h}=(0,d.Z)(),{message:E}=(0,p.Z)(),f=c?.some((({type:e})=>e.startsWith("image/")||e.startsWith("video/"))),b=Boolean(n);if(!f&&!b)return u().createElement(a.Z,{hideCloseButton:!0,actions:[u().createElement(o.ExternalLink,{href:(0,r.Z)("jetpack-social-share-to-instagram")},__("Learn more","jetpack"))]},h?__("To share to Instagram, add an image/video, or enable Social Image Generator.","jetpack"):_x("You need a featured image to share to Instagram.","The message shown in the Instagram social preview","jetpack"));const v=E||t||l;return u().createElement(s.V,{image:c?.[0]?.url||n,media:c,name:g,profileImage:A,caption:v})}},27725:(e,t,n)=>{"use strict";n.d(t,{y:()=>u});var a=n(93453),r=n(9818),s=n(65736),o=n(99196),i=n.n(o),c=n(48751),l=n(23177);const __=s.__;function u(e){const{title:t,url:n,image:s,media:o,description:u}=e,{displayName:d,profileImage:p}=(0,r.useSelect)((e=>e(l.Eg).getConnectionProfileDetails(l.qk))),{message:m}=(0,c.Z)(),g=`${m||t||u} ${o.length?n:""}`.trim();return i().createElement(a.S,{jobTitle:__("Job Title (Company Name)","jetpack"),image:s,name:d,profileImage:p,title:t,description:g,url:n,media:o})}},28586:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(82674),r=n.n(a),s=n(60312),o=n(9818),i=n(22629),c=n(71806),l=n(48751),u=n(23177);const d=e=>{const{message:t}=(0,l.Z)(),{content:n,siteName:a}=(0,o.useSelect)((e=>{const{getEditedPostAttribute:t}=e("core/editor"),{getUnstableBase:n}=e("core");return{content:t("content").split("\x3c!--more")[0],siteName:(0,i.decodeEntities)(n().name)}})),{attachedMedia:d}=(0,c.R)(),p=(0,o.useSelect)((e=>{const{displayName:t,profileImage:n,username:a}=e(u.Eg).getConnectionProfileDetails(u.cs);return{displayName:t,avatarUrl:n,address:a}})),m=e.media?.[0],g=m?.type.startsWith("image/")?m.url:null;return React.createElement(s.I,r()({},e,{siteName:a,user:p,description:n,customText:t,customImage:g,isSocialPost:d.length>0}))}},8454:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(55609),r=n(65736),s=n(39517),o=n(41809),i=n(9279);const __=r.__,c=function({onClose:e,initialTabName:t}){const n=(0,o.P)(),{image:r,media:c,title:l,description:u,url:d,excerpt:p}=(0,i.u)();return React.createElement(a.Modal,{onRequestClose:e,className:"jetpack-social-previews__modal",__experimentalHideHeader:!0},React.createElement(a.Button,{className:"jetpack-social-previews__modal--close-btn",onClick:e,icon:s.Z,label:__("Close","jetpack")}),React.createElement(a.TabPanel,{className:"jetpack-social-previews__modal-previews",tabs:n,initialTabName:t},(e=>React.createElement("div",null,React.createElement(e.preview,{excerpt:p,title:l,description:u,url:d,image:r,media:c})))))}},18553:(e,t,n)=>{"use strict";n.d(t,{T:()=>l});var a=n(93122),r=n(9818),s=n(99196),o=n.n(s),i=n(48751),c=n(23177);function l(e){const{title:t,url:n,image:s,media:l,description:u}=e,{displayName:d,profileImage:p}=(0,r.useSelect)((e=>e(c.Eg).getConnectionProfileDetails(c.Cd))),{message:m}=(0,i.Z)(),g=`${m||t||u} ${l.length?n:""}`.trim();return o().createElement(a.m,{image:s,name:d,profileImage:p,title:t,description:g,url:n,media:l})}},74140:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(55609),r=n(65736),s=n(41809);const __=r.__,_x=r._x,o=({openModal:e})=>{const t=(0,s.P)();return React.createElement("div",{className:"jetpack-social-previews__panel"},React.createElement("p",null,__("Preview what this will look like on social networks and Google search.","jetpack")),React.createElement("div",{className:"jetpack-gutenberg-social-icons"},t.map((e=>React.createElement(e.icon,{key:e.name,className:"jetpack-social-previews__icon"})))),React.createElement(a.Button,{variant:"secondary",onClick:e,label:__("Open Social Previews","jetpack")},_x("Preview","Button label that opens the social previews modal","jetpack")))}},78485:(e,t,n)=>{"use strict";n.d(t,{U:()=>u});var a=n(40045),r=n(9818),s=n(22629),o=n(99196),i=n.n(o),c=n(71806),l=n(23177);function u({excerpt:e,title:t,description:n,image:o,url:u,media:d}){const{shareMessage:p}=(0,c.R)(),m=(0,r.useSelect)((a=>{const{displayName:r,profileImage:i}=a(l.h).getConnectionProfileDetails(l.nN);let c=t;p?c=p:t&&e&&(c=`${t}\n\n${e}`);const m=500-u.length-2;return c=(0,s.decodeEntities)(c).slice(0,m),c+=`\n\n${u}`,[{caption:c,name:r,profileImage:i,title:t,description:n,image:o,media:d,url:u}]}),[t,o,n,d,u]),g=(0,r.useSelect)((e=>e(l.h).getConnectionsByService(l.nN)),[]);return i().createElement(a.A,{posts:m,hidePostPreview:!g.length})}},94714:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var a=n(82674),r=n.n(a),s=n(1044),o=n(9818),i=n(48751),c=n(23177);const l=e=>{const{content:t,author:n}=(0,o.useSelect)((e=>{const{getUser:t}=e("core"),{getEditedPostAttribute:n}=e("core/editor"),a=n("author"),r=a&&t(a);return{content:n("content").split("\x3c!--more")[0],author:r?.name}})),{message:a}=(0,i.Z)(),l=(0,o.useSelect)((e=>{const{displayName:t,profileImage:a}=e(c.Eg).getConnectionProfileDetails(c.Bb);return{displayName:t||n,avatarUrl:a}}),[n]);return React.createElement(s.b,r()({},e,{user:l,description:t,customText:a}))}},24766:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var a=n(835),r=n(9818),s=n(99196),o=n.n(s),i=n(71806),c=n(23177);const l=function({title:e,description:t,image:n,url:s,media:l}){const{shareMessage:u}=(0,i.R)(),d=(0,r.useSelect)((a=>{const{displayName:r,profileImage:o,username:i}=a(c.Eg).getConnectionProfileDetails(c.wV);return[{name:r,profileImage:o,screenName:i,text:u+(l.length?` ${s}`:""),cardType:n?"summary_large_image":"summary",title:e,description:t,image:n,media:l,url:s}]}),[e,n,t,l,s,u]);return o().createElement(a.c,{tweets:d,hidePostPreview:!0})}},41809:(e,t,n)=>{"use strict";n.d(t,{P:()=>v});var a=n(82674),r=n.n(a),s=n(3396),o=n(65736),i=n(99196),c=n.n(i),l=n(23177),u=n(42032),d=n(63855),p=n(83704),m=n(4124),g=n(27725),A=n(28586),h=n(18553),E=n(78485),f=n(94714),b=n(24766);const __=o.__,_x=o._x;function v(){const e=(0,u.getSupportedAdditionalConnections)().includes(l.nN);return(0,i.useMemo)((()=>[{title:__("Google Search","jetpack"),icon:e=>c().createElement(s.av,r()({serviceName:"google"},e)),name:"google",preview:p.Z},{title:__("X","jetpack"),icon:e=>c().createElement(s.av,r()({serviceName:"x"},e)),name:"x",preview:b.Z},{title:__("Facebook","jetpack"),icon:e=>c().createElement(s.av,r()({serviceName:"facebook"},e)),name:"facebook",preview:d.Z},{title:__("Instagram","jetpack"),icon:e=>c().createElement(s.av,r()({serviceName:"instagram"},e)),name:"instagram",preview:m.m},e?{title:_x("Threads","The name of the social media network - threads.net","jetpack"),icon:e=>c().createElement(s.av,r()({serviceName:"threads"},e)),name:"threads",preview:E.U}:null,{title:__("LinkedIn","jetpack"),icon:e=>c().createElement(s.av,r()({serviceName:"linkedin"},e)),name:"linkedin",preview:g.y},{title:__("Nextdoor","jetpack"),icon:e=>c().createElement(s.av,r()({serviceName:"nextdoor"},e)),name:"nextdoor",preview:h.T},{title:__("Tumblr","jetpack"),icon:e=>c().createElement(s.av,r()({serviceName:"tumblr-alt"},e)),name:"tumblr",preview:f.Z},{title:__("Mastodon","jetpack"),icon:e=>c().createElement(s.av,r()({serviceName:"mastodon"},e)),name:"mastodon",preview:A.Z}].filter(Boolean)),[e])}},9279:(e,t,n)=>{"use strict";n.d(t,{u:()=>c});var a=n(9818),r=n(65736),s=n(71806),o=n(90785),i=n(25399);const __=r.__;function c(){const{attachedMedia:e,imageGeneratorSettings:t}=(0,s.R)();return(0,a.useSelect)((n=>{const{getMedia:a}=n("core"),{getEditedPostAttribute:r,getEditedPostContent:s}=n("core/editor"),c=r("featured_media");let l=c?(0,i.i)(a(c)):"";const u=t.enabled?(0,o.t)(t.token):"";if(u&&(l=u),!l){const e=(0,i.T)(s());e&&(l=e)}const d=[],p=e=>{const t=a(e);return t?{type:t.mime_type,url:(0,i.i)(t),alt:t.alt_text}:null};for(const{id:t}of e){const e=p(t);e&&d.push(e)}return{title:(r("meta")?.jetpack_seo_html_title||r("title")||"").trim(),description:(r("meta")?.advanced_seo_description||r("excerpt")||r("content").split("\x3c!--more")[0]||__("Visit the post for more.","jetpack")||"").trim(),url:r("link"),excerpt:(r("excerpt")||r("content").split("\x3c!--more")[0]||"").trim(),image:l,media:d,initialTabName:null}}),[e,t])}},25399:(e,t,n)=>{"use strict";function a(e){return e?e.media_details?.sizes?.large?.source_url||e.source_url:null}function r(e){const t=(new DOMParser).parseFromString(e,"text/html"),n=Array.from(t.querySelectorAll("img")),a=n[0]?.src;return a??null}n.d(t,{T:()=>r,i:()=>a})},13858:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(69307),r=n(87728);const s=({sourceUrl:e,mime:t,duration:n})=>{const[s,o]=(0,a.useState)(!1),[i,c]=(0,a.useState)(0),l=(0,a.useRef)(null),u=(0,a.useRef)(null),d=(0,a.useRef)(null);(0,a.useEffect)((()=>{l.current?.load()}),[e]);const p=(0,a.useCallback)((()=>{l.current.pause(),l.current.currentTime=0,clearInterval(u.current),clearTimeout(d.current),c(0),o(!1)}),[]),m=(0,a.useCallback)((()=>{d.current=setTimeout((()=>{s||(l.current.play(),o(!0),u.current=setInterval((()=>{c((e=>e+1))}),1e3))}),500)}),[s]),g=()=>{const e=n-i,t=Math.floor(e/60),a=String(Math.floor(e%60)).padStart(2,"0");return React.createElement("div",{className:r.Z.progress},React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"6",height:"8",fill:"none"},React.createElement("path",{fill:"#fff",d:"M5.25 3.567a.5.5 0 0 1 0 .866L.75 7.031A.5.5 0 0 1 0 6.598V1.402A.5.5 0 0 1 .75.969l4.5 2.598Z"})),React.createElement("span",{className:r.Z.duration},`${t}:${a}`))};return React.createElement("div",{className:r.Z.wrapper,onMouseEnter:m,onMouseLeave:p},React.createElement("video",{ref:l,onEnded:p,muted:!0},React.createElement("source",{src:e,type:t})),React.createElement(g,null))}},88219:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(71806);function r(){const{attachedMedia:e,updateJetpackSocialOptions:t}=(0,a.R)();return{attachedMedia:e,updateAttachedMedia:e=>t("attached_media",e)}}},75323:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var a=n(13419),r=n(86989),s=n.n(r),o=n(69307);const i={advancedUpgradeEditor:"advanced-upgrade-nudge-editor",advancedUpgradeAdmin:"advanced-upgrade-nudge-admin"},c=e=>-1===e?0:new Date(Date.now()+1e3*e).getTime();function l(){const[e,t]=(0,o.useState)((()=>(0,a.Pb)()?.social?.dismissedNotices??window?.jetpackSocialInitialState?.jetpackSettings?.dismissedNotices??{})),n=(0,o.useCallback)(((e,n=-1)=>{const a=c(n);t((t=>({...t,[e]:a}))),s()({path:"/wp/v2/settings",method:"POST",data:{jetpack_social_dismissed_notices:{[e]:a}}})}),[]),r=(0,o.useCallback)((t=>{const n=e[t];return!(0===n||n>Date.now())}),[e]);return(0,o.useMemo)((()=>({dismissedNotices:e,shouldShowNotice:r,dismissNotice:n,NOTICES:i})),[e,r,n])}},39118:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(9818),r=n(12238);const s=()=>(0,a.useSelect)((e=>e(r.store).getEditedPostAttribute("featured_media")))},75263:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(9818),r=n(12238),s=n(69307),o=n(71806);const i=(e,t)=>({isEnabled:e?.enabled??!t,customText:e?.custom_text??null,imageType:e?.image_type??null,imageId:e?.image_id??null,template:e?.template??null,token:e?.token??null});function c(){const{imageGeneratorSettings:e,jetpackSocialOptions:t,updateJetpackSocialOptions:n}=(0,o.R)(),{isPostPublished:c}=(0,a.useSelect)((e=>({isPostPublished:e(r.store).isCurrentPostPublished()}))),l=(0,s.useCallback)(((t,a)=>{const r={...e,[t]:a};n("image_generator_settings",r)}),[e,n]),u=(0,s.useCallback)((t=>{const a={...e,...t};n("image_generator_settings",a)}),[e,n]);return{...i(t.image_generator_settings,c),setIsEnabled:e=>l("enabled",e),setToken:e=>l("token",e),updateSettings:u}}},98811:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9818),r=n(69307);const s=async e=>{if(!e)return{};let t={mime:e.mime_type,fileSize:e.media_details.filesize,length:e.media_details?.length};"video/videopress"===e.mime_type&&(t=await(async e=>{if(!e?.media_details?.videopress?.original||!e?.media_details?.videopress?.duration)return{};const t=await fetch(e?.media_details?.videopress?.original,{method:"HEAD"}),n=t.headers.get("content-length"),a=t.headers.get("content-type");return n&&a?{mime:a,fileSize:n,length:Math.round(e.media_details.videopress.duration/1e3)}:{}})(e));const n=e?.media_details?.sizes??{};if(!n.full)return{mediaData:{width:e.media_details.width,height:e.media_details.height,sourceUrl:e.source_url},metaData:t};const a=n.medium||n.large,r={width:a.width,height:a.height,sourceUrl:a.source_url};return{mediaData:{width:n.full.width,height:n.full.height,sourceUrl:n.full.source_url},metaData:t,previewData:r}};function o(e=null){const[t,n]=(0,r.useState)([{}]),o=(0,a.useSelect)((t=>t("core").getMedia(e,{context:"view"})),[e]),i=(0,r.useCallback)((async()=>{try{const e=await s(o);n([e??{}])}catch{n([{}])}}),[o]);return(0,r.useEffect)((()=>{i()}),[i]),t}},28610:(e,t,n)=>{"use strict";n.d(t,{G0:()=>l,GQ:()=>c,L7:()=>i,X1:()=>o,f0:()=>u,qL:()=>s,rs:()=>r});var a=n(65736);const __=a.__,r="NO_MEDIA_ERROR",s="FILE_TYPE_ERROR",o="FILE_SIZE_ERROR",i="VIDEO_LENGTH_TOO_LONG_ERROR",c="VIDEO_LENGTH_TOO_SHORT_ERROR",l="DIMENSION_ERROR";function u(e){return{[o]:__("File too big","jetpack"),[i]:__("Video too long","jetpack"),[c]:__("Video too short","jetpack"),[l]:__("Invalid dimensions","jetpack")}[e]||__("Invalid media","jetpack")}},41103:(e,t,n)=>{"use strict";n.d(t,{W:()=>c,Z:()=>d});var a=n(69307),r=n(88219),s=n(75263),o=n(28610),i=n(31026);function c(e){return"video"===e.split("/")[0]}const l=e=>{if(!e?.mime||!e?.fileSize)return!1;const{mime:t,fileSize:n}=e;if(c(t))return!1;if(!i.bD.includes(t))return!1;return!((n?n/Math.pow(1e3,2):0)>=55)},u=(e,t,n,a,r)=>{const s=i.$8[n]??i.ay;if(!e||0===Object.keys(e).length)return s.requiresMedia&&!r?o.rs:null;const{mime:l,fileSize:u}=e;if(!s.requiresMedia&&!a)return null;if(!l||!s.allowedMediaTypes.includes(l.toLowerCase()))return o.qL;if(!t?.width||!t?.height)return o.G0;const d=u?u/Math.pow(1e3,2):null;return c(l)?((e,t,n,a,r)=>{const{minSize:s=0,maxSize:c=i.zc,minLength:l=0,maxLength:u=i.zc,maxWidth:d=i.zc,aspectRatio:p=i.ay.video.aspectRatio}=r;if(!e||e>c||eu)return o.L7;const m=n/a;return mp.max||n>d?o.G0:null})(d,e.length,t.width,t.height,s.video):((e,t,n,a)=>{const{maxSize:r=i.zc,minWidth:s=0,maxWidth:c=i.zc,aspectRatio:l=i.ay.image.aspectRatio}=a,u=t/n;return ul.max||t>c||tr?o.X1:null})(d,t.width,t.height,s.image)},d=(e,t)=>{const{attachedMedia:n}=(0,r.Z)(),{isEnabled:o}=(0,s.Z)(),i=n.length>0,c=(0,a.useRef)({});return(0,a.useMemo)((()=>{const n=e.reduce(((e,{connection_id:n,service_name:a})=>{const r=u(t.metaData,t.mediaData,a,i,o&&"instagram-business"===a);return r&&(e[n]=r),e}),{});return JSON.stringify(n)!==JSON.stringify(c.current)&&(c.current=n),{validationErrors:c.current,isConvertible:l(t.metaData)}}),[e,t.metaData,t.mediaData,i,o])}},31026:(e,t,n)=>{"use strict";n.d(t,{$8:()=>A,ay:()=>g,bD:()=>h,uo:()=>E,zc:()=>m});const a="video/mp4",r="video/mov",s="video/videopress",o=["image/jpeg","image/jpg","image/png"],i=o.concat(["image/gif","image/bmp"]),c=["video/3g2","video/3gp","video/3gpp","video/asf","video/avi","video/dat","video/divx","video/dv","video/f4v","video/flv","video/gif","video/m2ts","video/m4v","video/mkv","video/mod","video/mov","video/mp4","video/mpe","video/mpeg","video/mpeg4","video/mpg","video/mts","video/nsv","video/ogm","video/ogv","video/qt","video/tod","video/ts","video/vob","video/wmv"],l=o.concat(["image/gif","image/heic","image/heif","image/webp","image/avif"]),u=["video/webm","video/quicktime","video/ogg"],d=o.concat(["image/gif","image/jpe","image/tif","image/tiff","image/webp"]),p=[r,"video/avi","video/mpg","video/mpeg","video/m4v"],m=1e5,g={requiresMedia:!1,allowedMediaTypes:o.concat([a,s,r]),image:{maxSize:4,minWidth:0,maxWidth:m,aspectRatio:{min:0,max:m}},video:{minLength:0,minSize:0,maxSize:m,maxLength:m,maxWidth:m,aspectRatio:{min:0,max:m}}},A={twitter:{allowedMediaTypes:o.concat([a,s]),image:{maxSize:5},video:{maxSize:512,maxLength:140}},facebook:{allowedMediaTypes:i.concat([s,...c]),image:{maxSize:8},video:{maxSize:1e4,maxLength:14400}},tumblr:{allowedMediaTypes:o.concat([a,r,s]),image:{maxSize:20},video:{maxSize:500,maxLength:600}},linkedin:{allowedMediaTypes:o.concat([a,s]),image:{maxSize:20},video:{minSize:.075,maxSize:200,maxLength:600,minLength:3}},"instagram-business":{requiresMedia:!0,allowedMediaTypes:["image/jpg","image/jpeg",a,r,s],image:{maxSize:8,minWidth:320,maxWidth:1440,aspectRatio:{min:.8,max:1.91}},video:{maxLength:90,minLength:3,maxSize:1e3,maxWidth:1920,aspectRatio:{min:.01,max:10}}},mastodon:{allowedMediaTypes:l.concat([...u,a,s]),image:{maxSize:10},video:{maxSize:40}},nextdoor:{allowedMediaTypes:d.concat([...p,a,s]),image:{maxSize:10},video:{maxSize:500}}},h=["image/png","image/jpeg","image/jpg","image/heic","image/heif","image/webp"],E=[...new Set([...o,...i,...l,...c,...u,...h])]},71806:(e,t,n)=>{"use strict";n.d(t,{R:()=>i});var a=n(9818),r=n(12238),s=n(69307),o=n(42032);function i(){const{editPost:e}=(0,a.useDispatch)(r.store),t=(0,a.useSelect)((e=>{const t=e(r.store).getEditedPostAttribute("meta")||{},n=t.jetpack_publicize_feature_enabled??!0,a=t.jetpack_social_options||{};return{isPublicizeEnabled:n,jetpackSocialOptions:a,attachedMedia:a.attached_media||[],imageGeneratorSettings:a.image_generator_settings??{enabled:!1},isPostAlreadyShared:t.jetpack_social_post_already_shared??!1,shareMessage:`${t.jetpack_publicize_message||""}`.substring(0,(0,o.getShareMessageMaxLength)())}}),[]),n=(0,s.useCallback)(((t,n)=>{e({meta:{[t]:n}})}),[e]),i=(0,s.useCallback)((()=>{n("jetpack_publicize_feature_enabled",!t.isPublicizeEnabled)}),[t.isPublicizeEnabled,n]),c=(0,s.useCallback)(((e,a)=>{n("jetpack_social_options",{...t.jetpackSocialOptions,[e]:a,version:2})}),[t.jetpackSocialOptions,n]);return(0,s.useMemo)((()=>({...t,togglePublicizeFeature:i,updateJetpackSocialOptions:c,updateMeta:n})),[t,i,c,n])}},14085:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(31294),r=n(13419),s=n(9818),o=n(12238),i=n(23177),c=n(71806);const l="republicize";function u(){const e=(0,r.Pb)()?.social?.sharesData??{},t=(0,r.Pb)()?.wpcomBlogId,n=e.is_share_limit_enabled,u=(0,r.OZ)(l)?.available||n,d=(0,s.useSelect)((e=>e(o.store).isCurrentPostPublished()),[]),p=(0,s.useSelect)((e=>e(o.store).getCurrentPostType()),[]),{isUserConnected:m}=(0,a.Z)(),g=(0,r.Pb)()?.social?.publicizeConnectionsUrl??"https://wordpress.com/marketing/connections/",{isPublicizeEnabled:A,togglePublicizeFeature:h,isPostAlreadyShared:E}=(0,c.R)(),f=(0,r.X1)(l)&&!u,b=d?u:A,v=d&&f,C=d&&!u,k=!!(0,r.Pb)()?.social?.hasPaidPlan,y=!!(0,r.Pb)()?.social?.isEnhancedPublishingEnabled,B="jetpack-social-note"===p,w=!m&&!(0,r.Wp)(),_=(0,s.useSelect)((e=>e(i.h).userConnectionUrl()),[]);return{isPublicizeEnabledMeta:A,isPublicizeEnabled:b,togglePublicizeFeature:h,isPublicizeDisabledBySitePlan:v,isRePublicizeFeatureAvailable:u,isRePublicizeUpgradableViaUpsell:f,hidePublicizeFeature:C,isShareLimitEnabled:n,isPostAlreadyShared:E,numberOfSharesRemaining:e.shares_remaining,shouldShowAdvancedPlanNudge:e.show_advanced_plan_upgrade_nudge,hasPaidPlan:k,isEnhancedPublishingEnabled:y,isSocialImageGeneratorAvailable:!!(0,r.Pb)()?.social?.isSocialImageGeneratorAvailable&&!B,isSocialImageGeneratorEnabled:!!(0,r.Pb)()?.social?.isSocialImageGeneratorEnabled,connectionsAdminUrl:g+(t??(0,r.lQ)()),adminUrl:(0,r.Pb)()?.social?.adminUrl,jetpackSharingSettingsUrl:(0,r.Pb)()?.social?.jetpackSharingSettingsUrl,isJetpackSocialNote:B,needsUserConnection:w,userConnectionUrl:_}}},96672:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(94333),r=n(69307),s=n(22552),o=n(57492);function i(){const e=(0,r.useRef)(!1),t=(0,r.useRef)(!0),n=(0,s.Z)(),{refresh:i}=(0,o.Z)(),c=(0,a.useDebounce)(i,0),l=(0,a.useDebounce)(i,2e3);return()=>{t.current&&(c(),t.current=!1),n||(e.current=!0,l.cancel()),n&&e.current&&(l(),e.current=!1)}}},34282:(e,t,n)=>{"use strict";n.d(t,{C:()=>o});var a=n(65736),r=n(58141),s=n(99196);const __=a.__;function o({onError:e,onSuccess:t}){const[n,a]=(0,s.useState)(!1),o=(0,s.useCallback)((async(n,s="image")=>{try{a(!0);const o=await fetch(n);if(!o.ok)return void e(new Error(__("Failed to download image.","jetpack"),{cause:o}));const i=await o.blob(),c=new File([i],s,{type:i.type});await(0,r.uploadMedia)({filesList:[c],onFileChange:([e])=>{void 0!==e.id&&(t(e),a(!1))},onError:t=>{e(new Error(__("Failed to save image to library.","jetpack"),{cause:t})),a(!1)},maxUploadFileSize:0})}catch(t){e(new Error(__("Failed to save image to library.","jetpack"),{cause:t}))}finally{a(!1)}}),[e,t]);return(0,s.useMemo)((()=>({isSaving:n,save:o})),[n,o])}},86419:(e,t,n)=>{"use strict";n.d(t,{M1:()=>i,e3:()=>c});var a=n(94333),r=n(9818),s=n(12238),o=n(69307);function i(e,t){const n=(0,r.useSelect)((e=>e(s.store).isPublishingPost()),[]),i=(0,a.usePrevious)(n);(0,o.useEffect)((()=>{i&&!n&&e()}),[n,i,e,t])}function c(e,t){const n=(0,r.useSelect)((e=>e(s.store).isPublishingPost()),[]),i=(0,a.usePrevious)(n);(0,o.useEffect)((()=>{!i&&n&&e()}),[n,i,e,t])}},34431:(e,t,n)=>{"use strict";n.d(t,{U:()=>o});var a=n(9818),r=n(65736),s=n(23177);const __=r.__,_n=r._n;function o({scheduledCountAdjustment:e=0,usedCountAdjustment:t=0}={}){return(0,a.useSelect)((n=>{const a=n(s.h),o=a.getShareLimit(),i=a.getScheduledSharesCount()+e,c=a.getSharesUsedCount()+t,l=c+i,u=a.numberOfSharesRemaining(),d=function(e){const t=Number.isFinite(e)?(0,r.sprintf)( -// translators: %d: The number of shares to social media remaining -_n("You have %d auto-share remaining.","You have %d auto-shares remaining.",e,"jetpack"),e):"";return{default:"",exceeded:__("You have reached your auto-share limit. Scheduled posts will not be shared until shares become available.","jetpack"),full:__("You have reached your auto-share limit.","jetpack"),approaching:t}}(u);let p="default",m="none",g=d.default;return l>o?(p="error",m="exceeded",g=d.exceeded):l===o?(m="full",p="error",g=d.full):l>=.9*o?(m="approaching",p="error",g=d.approaching):l>=.8*o&&(m="approaching",p="warning",g=d.approaching),{status:m,noticeType:p,message:g,usedCount:c,scheduledCount:i,remainingCount:u}}),[e,t])}},45579:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var a=n(13419),r=n(86989),s=n.n(r),o=n(9818),i=n(12238),c=n(69307),l=n(65736),u=n(57492),d=n(48751);const __=l.__;function p(e){const t=e?.code,n=e?.errors?.length;if(!t&&!n)return!1;let a="";return t&&(a=__("Unable to share the Post","jetpack")),n&&(a=__("Unable to share the Post","jetpack")),{message:a,result:e}}function m(e){const{message:t}=(0,d.Z)(),{skippedConnections:n}=(0,u.Z)(),r=(0,o.useSelect)((e=>e(i.store).getCurrentPostId()),[]);e=e||r;const[l,m]=(0,c.useState)({data:[],error:{}}),g=((0,a.Pb)()?.social?.resharePath??"/wpcom/v2/posts/{postId}/publicize").replace("{postId}",e),A=(0,c.useCallback)((function(){const a={isFetching:!1,isError:!1,isSuccess:!1,data:[],error:{},postId:e};if(!l.isFetching)return m({...a,isFetching:!0}),s()({path:g,method:"POST",data:{message:t,skipped_connections:n}}).then(((e={})=>{const t=p(e);if(t)return m((e=>({...e,isFetching:!1,isSuccess:!1,isError:!0,data:[],error:t})));m((t=>({...t,isFetching:!1,isSuccess:!0,isError:!1,data:e?.results,error:{}})))})).catch((e=>{m((t=>({...t,isFetching:!1,isSuccess:!1,isError:!0,data:[],error:p(e)})))})),function(){m(a)}}),[e,t,n,l.isFetching,g]);return{...l,doPublicize:A}}},57492:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(9818),r=n(23177);function s(){const{refreshConnectionTestResults:e,toggleConnectionById:t}=(0,a.useDispatch)(r.h);return{...(0,a.useSelect)((e=>{const t=e(r.h),n=t.getConnections(),a=t.getEnabledConnections(),s=t.getDisabledConnections().map((e=>e.connection_id));return{connections:n,hasConnections:n.length>0,hasEnabledConnections:a.length>0,skippedConnections:s,enabledConnections:a}}),[]),toggleById:t,refresh:e}}},48751:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(42032),r=n(71806);function s(){const{updateMeta:e,shareMessage:t}=(0,r.R)();return{message:t,maxLength:(0,a.getShareMessageMaxLength)(),updateMessage:function(t){e("jetpack_publicize_message",t)}}}},19890:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});var a=n(9818),r=n(12238),s=n(23177),o=n(86419);function i(){const{mergeConnections:e}=(0,a.useDispatch)(s.h),{didPostSaveRequestSucceed:t,isCurrentPostPublished:n,getEditedPostAttribute:i}=(0,a.useSelect)((e=>e(r.store)),[]);(0,o.M1)((()=>{if(t()&&n()){const t=i("jetpack_publicize_connections");t?.length&&e(t)}}),[t,n,i])}},23013:(e,t,n)=>{"use strict";n.r(t),n.d(t,{abortRefreshConnectionsRequest:()=>f,abortRequest:()=>E,addConnection:()=>p,closeConnectionsModal:()=>R,createAbortController:()=>A,createConnection:()=>_,deleteConnection:()=>k,deleteConnectionById:()=>B,deletingConnection:()=>y,mergeConnections:()=>g,openConnectionsModal:()=>N,refreshConnectionTestResults:()=>b,removeAbortControllers:()=>h,setConnections:()=>u,setKeyringResult:()=>d,setReconnectingAccount:()=>x,syncConnectionsToPostMeta:()=>v,toggleConnection:()=>m,toggleConnectionById:()=>C,toggleConnectionsModal:()=>Q,updateConnection:()=>I,updateConnectionById:()=>S,updatingConnection:()=>j});var a=n(53961),r=n(86989),s=n.n(r),o=n(9818),i=n(12238),c=n(65736),l=n(74442);const __=c.__;function u(e){return{type:l.b1,connections:e}}function d(e){return{type:l.fI,keyringResult:e}}function p(e){return{type:l.es,connection:e}}function m(e){return{type:l.LH,connectionId:e}}function g(e){return function({dispatch:t,select:n}){const a=n.getConnections(),r=[],s={done:!1,enabled:Boolean(n.numberOfSharesRemaining()),toggleable:!0};for(const t of e){const e=a.find((e=>e.connection_id?e.connection_id===t.connection_id:e.id===t.id)),n={...s,...e,...t,shared:e?.shared,is_healthy:t.test_success};r.push(n)}t(u(r))}}function A(e,t){return{type:l.uE,requestType:t,abortController:e}}function h(e){return{type:l.Uw,requestType:e}}function E(e){return function({dispatch:t,select:n}){const a=n.getAbortControllers(e);for(const e of a)e.abort();t(h(e))}}function f(){return E(l.kW)}function b(e=!1){return async function({dispatch:t,select:n}){try{const a=n.connectionRefreshPath()||"/wpcom/v2/publicize/connection-test-results";for(;n.getUpdatingConnections().length>0||n.getDeletingConnections().length>0;)await new Promise((e=>setTimeout(e,100)));const r=new AbortController;t(A(r,l.kW));t(g(await s()({path:a,signal:r.signal}))),e&&t(v())}catch(n){"AbortError"===n.name&&t(b(e))}}}function v(){return function({registry:e,select:t}){const n=t.getConnections();return e.dispatch(i.store).editPost({jetpack_publicize_connections:n})}}function C(e,t=!0){return function({dispatch:n}){n(m(e)),t&&n(v())}}function k(e){return{type:l.dz,connectionId:e}}function y(e,t=!0){return{type:l.oI,connectionId:e,deleting:t}}function B({connectionId:e,showSuccessNotice:t=!0}){return async function({registry:n,dispatch:r}){const{createErrorNotice:c,createSuccessNotice:l}=(0,o.dispatch)(a.store);try{const a=`/jetpack/v4/social/connections/${e}`;return r(f()),r(y(e)),await s()({method:"DELETE",path:a}),r(k(e)),t&&l(__("Account disconnected successfully.","jetpack"),{type:"snackbar",isDismissible:!0}),n.select(i.store).getCurrentPostId()&&r(v()),!0}catch(e){let t=__("Error disconnecting account.","jetpack");"object"==typeof e&&"message"in e&&e.message&&(t=`${t} ${e.message}`),c(t,{type:"snackbar",isDismissible:!0})}finally{r(y(e,!1))}return!1}}let w=1;function _(e,t={}){return async function({registry:n,dispatch:r}){const{createErrorNotice:l,createSuccessNotice:u}=(0,o.dispatch)(a.store),d="new-"+ ++w;try{const a="/jetpack/v4/social/connections/";r(p({connection_id:d,...t})),r(f()),r(j(d));const o=await s()({method:"POST",path:a,data:e});o&&(r(I(d,{...o,can_disconnect:!0,enabled:!0})),u((0,c.sprintf)(/* translators: %s is the name of the social media platform e.g. "Facebook" */ -__("%s account connected successfully.","jetpack"),o.label),{type:"snackbar",isDismissible:!0}),n.select(i.store).getCurrentPostId()&&r(v()))}catch(e){let t=__("Error connecting account.","jetpack");"object"==typeof e&&"message"in e&&e.message&&(t=`${t} ${e.message}`),l(t,{type:"snackbar",isDismissible:!0})}finally{r(j(d,!1)),r(k(d))}}}function I(e,t){return{type:l.$Q,connectionId:e,data:t}}function j(e,t=!0){return{type:l.fV,connectionId:e,updating:t}}function x(e){return{type:l.sc,reconnectingAccount:e}}function S(e,t){return async function({dispatch:n,select:r}){const{createErrorNotice:i,createSuccessNotice:c}=(0,o.dispatch)(a.store),l=r.getConnectionById(e);try{const a=`/jetpack/v4/social/connections/${e}`;n(f()),n(I(e,t)),n(j(e));await s()({method:"POST",path:a,data:t})&&c(__("Account updated successfully.","jetpack"),{type:"snackbar",isDismissible:!0})}catch(t){let a=__("Error updating account.","jetpack");"object"==typeof t&&"message"in t&&t.message&&(a=`${a} ${t.message}`),n(I(e,l)),i(a,{type:"snackbar",isDismissible:!0})}finally{n(j(e,!1))}}}function Q(e){return{type:l.Tb,isOpen:e}}function N(){return Q(!0)}function R(){return Q(!1)}},74442:(e,t,n)=>{"use strict";n.d(t,{$Q:()=>c,LH:()=>s,Tb:()=>p,Uw:()=>g,b1:()=>a,dz:()=>o,es:()=>r,fI:()=>d,fV:()=>l,kW:()=>h,oI:()=>i,sc:()=>u,to:()=>A,uE:()=>m});const a="SET_CONNECTIONS",r="ADD_CONNECTION",s="TOGGLE_CONNECTION",o="DELETE_CONNECTION",i="DELETING_CONNECTION",c="UPDATE_CONNECTION",l="UPDATING_CONNECTION",u="SET_RECONNECTING_ACCOUNT",d="SET_KEYRING_RESULT",p="TOGGLE_CONNECTIONS_MODAL",m="ADD_ABORT_CONTROLLER",g="REMOVE_ABORT_CONTROLLERS",A="DEFAULT",h="REFRESH_CONNECTIONS"},54725:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(23013),r=n(371),s=n(72438),o=n(4462),i=n(64704);const c={...r.ZP,...o.ZP,...s.Z,...a,...i.ZP}},371:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>c,dz:()=>o,ff:()=>i});var a=n(9818),r=n(23177),s=n(4957);const o="SET_JETPACK_SETTINGS";function i(e){return{type:o,options:e}}const c={updateJetpackSettings:function*(e){try{yield i({is_updating:!0}),yield i(e),yield(0,s.RF)(e);const t=yield(0,s.es)();return yield i(t),!0}catch(e){const t=(0,a.select)(r.Eg).getJetpackSettings();return yield i(t),!1}finally{yield i({is_updating:!1})}},setJetpackSettings:i}},72438:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(4957),r=n(4462);const s={refreshJetpackSocialSettings:function*(){try{yield(0,r.ds)();const e=yield(0,a.mu)();return yield(0,r.ch)(e.jetpack_social_image_generator_settings),!0}catch(e){return!1}finally{yield(0,r.Gr)()}}}},4462:(e,t,n)=>{"use strict";n.d(t,{Gr:()=>c,ZP:()=>u,ch:()=>l,ds:()=>i,kg:()=>o});var a=n(9818),r=n(23177),s=n(4957);const o="SET_SOCIAL_IMAGE_GENERATOR_SETTINGS";function i(){return l({isUpdating:!0})}function c(){return l({isUpdating:!1})}function l(e){return{type:o,options:e}}const u={updateSocialImageGeneratorSettings:function*(e){try{yield i(),yield l(e),yield(0,s.Ux)(e);const t=yield(0,s.oB)();return yield l(t.jetpack_social_image_generator_settings),!0}catch(e){const t=(0,a.select)(r.Eg).getSocialImageGeneratorSettings();return yield l(t),!1}finally{yield c()}},setSocialImageGeneratorSettings:l,refreshSocialImageGeneratorSettings:function*(){try{yield i();const e=yield(0,s.oB)();return yield l(e.jetpack_social_image_generator_settings),!0}catch(e){return!1}finally{yield c()}}}},64704:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>l});var a=n(9818),r=n(23177),s=n(4957),o=n(371);function i(){return(0,o.ff)({social_notes_is_updating:!0})}function c(){return(0,o.ff)({social_notes_is_updating:!1})}const l={updateSocialNotesSettings:function*(e){try{yield i(),yield(0,o.ff)(e),yield(0,s.RF)(e);const t=yield(0,s.es)();return yield(0,o.ff)(t),!0}catch(e){const t=(0,a.select)(r.Eg).getSocialNotesSettings();return yield(0,o.ff)(t),!1}finally{yield c()}},updateSocialNotesConfig:function*(e){const t=(0,a.select)(r.Eg).getSocialNotesConfig(),n={...t,...e};try{yield(0,o.ff)({social_notes_config:n}),yield(0,s.RF)({social_notes_config:e});const t=yield(0,s.es)();return yield(0,o.ff)(t),!0}catch(e){return yield(0,o.ff)({social_notes_config:t}),!1}},refreshSocialNotesSettings:function*(){try{yield i();const e=yield(0,s.es)();return yield(0,o.ff)(e),!0}catch(e){return!1}finally{yield c()}}}},4957:(e,t,n)=>{"use strict";n.d(t,{RF:()=>d,Ux:()=>m,ZP:()=>A,es:()=>u,mu:()=>g,oB:()=>p});var a=n(86989),r=n.n(a);const s="FETCH_JETPACK_SETTINGS",o="UPDATE_JETPACK_SETTINGS",i="FETCH_SOCIAL_IMAGE_GENERATOR_SETTINGS",c="UPDATE_SOCIAL_IMAGE_GENERATOR_SETTINGS",l="FETCH_JETPACK_SOCIAL_SETTINGS",u=()=>({type:s}),d=e=>({type:o,settings:e}),p=()=>({type:i}),m=e=>({type:c,settings:e}),g=()=>({type:l}),A={[s]:function(){return r()({path:"/jetpack/v4/social/settings"})},[o]:function(e){return r()({path:"/jetpack/v4/social/settings",method:"POST",data:e.settings})},[i]:function(){return r()({path:"/wp/v2/settings?_fields=jetpack_social_image_generator_settings"})},[c]:function(e){return r()({path:"/wp/v2/settings",method:"POST",data:{jetpack_social_image_generator_settings:e.settings}})},[l]:function(){return r()({path:"/wp/v2/settings?_fields=jetpack_social_image_generator_settings"})}}},23177:(e,t,n)=>{"use strict";n.d(t,{Bb:()=>h,Cd:()=>A,Eg:()=>l,M$:()=>p,cs:()=>g,h:()=>b,nN:()=>f,qk:()=>m,uJ:()=>d,wV:()=>E});var a=n(9818),r=n(54725),s=n(4957),o=n(45272),i=n(15781),c=n(22987);const l="jetpack-social-plugin",u={reducer:o.Z,actions:r.Z,selectors:c.Z,resolvers:i.ZP,controls:s.ZP,initialState:window?.jetpackSocialInitialState||window?.Initial_State?.socialInitialState||window?.Jetpack_Editor_Initial_State?.social||{}},d="facebook",p="instagram-business",m="linkedin",g="mastodon",A="nextdoor",h="tumblr",E="twitter",f="threads",b=(0,a.createReduxStore)(l,u);(0,a.register)(b)},71837:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(74442);const r=(e={},t)=>{switch(t.type){case a.Tb:return{...e,isConnectionsModalOpen:t.isOpen};case a.es:return{...e,connections:[...e.connections,t.connection]};case a.b1:return{...e,connections:t.connections};case a.dz:return{...e,connections:e.connections.filter((({connection_id:e})=>e!==t.connectionId))};case a.oI:{const n=new Set(e.deletingConnections);return t.deleting?n.add(t.connectionId):n.delete(t.connectionId),{...e,deletingConnections:[...n]}}case a.sc:return{...e,reconnectingAccount:t.reconnectingAccount};case a.$Q:return{...e,connections:e.connections.map((e=>e.connection_id===t.connectionId?{...e,...t.data}:e))};case a.fV:{const n=new Set(e.updatingConnections);return t.updating?n.add(t.connectionId):n.delete(t.connectionId),{...e,updatingConnections:[...n]}}case a.uE:{const n=t.requestType||a.to;return{...e,abortControllers:{...e.abortControllers,[n]:[...e.abortControllers?.[n]||[],t.abortController]}}}case a.Uw:{const n=t.requestType||a.to;return{...e,abortControllers:{...e.abortControllers,[n]:[]}}}case a.fI:return{...e,keyringResult:t.keyringResult};case a.LH:return{...e,connections:e.connections.map((e=>(e.connection_id?e.connection_id===t.connectionId:e.id===t.connectionId)?{...e,enabled:!e.enabled}:e))}}return e}},45272:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var a=n(9818),r=n(71837),s=n(80697),o=n(35652),i=n(28696),c=n(54489);const l=(0,a.combineReducers)({sharesData:o.Z,siteData:i.Z,connectionData:r.Z,jetpackSettings:s.Z,socialImageGeneratorSettings:c.Z,hasPaidPlan:(e=!1)=>e,userConnectionUrl:(e="")=>e,useAdminUiV1:(e=!1)=>e,featureFlags:(e=!1)=>e,hasPaidFeatures:(e=!1)=>e,connectionRefreshPath:(e="")=>e})},80697:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(371);const r=(e={},t)=>t.type===a.dz?{...e,...t.options}:e},35652:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a=(e={})=>e},28696:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a=(e={})=>e},54489:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(4462);const r=(e={},t)=>t.type===a.kg?{...e,...t.options}:e},15781:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>c});var a=n(12238),r=n(23013),s=n(371),o=n(4462),i=n(4957);const c={getJetpackSettings:function*(){try{const e=yield(0,i.es)();if(e)return(0,s.ff)(e)}catch(e){console.log(e)}},getSocialImageGeneratorSettings:function*(){try{const e=yield(0,i.oB)();if(e)return(0,o.ch)(e.jetpack_social_image_generator_settings)}catch(e){console.log(e)}},getConnections:function(){return function({dispatch:e,registry:t}){const n=t.select(a.store);if(!n.getCurrentPostId())return;const s=n.getEditedPostAttribute("jetpack_publicize_connections");e((0,r.setConnections)(s||[]))}}}},43354:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getAbortControllers:()=>E,getConnectionById:()=>s,getConnectionProfileDetails:()=>m,getConnections:()=>r,getConnectionsAdminUrl:()=>i,getConnectionsByService:()=>o,getDeletingConnections:()=>g,getDisabledConnections:()=>p,getEnabledConnections:()=>d,getFailedConnections:()=>l,getKeyringResult:()=>v,getMustReauthConnections:()=>u,getReconnectingAccount:()=>h,getServices:()=>b,getUpdatingConnections:()=>A,hasConnections:()=>c,isConnectionsModalOpen:()=>C,isMastodonAccountAlreadyConnected:()=>f});var a=n(74442);function r(e){return e.connectionData?.connections??[]}function s(e,t){return r(e).find((e=>e.connection_id===t))}function o(e,t){return r(e).filter((({service_name:e})=>e===t))}function i(e){return e.connectionData?.adminUrl??null}function c(e){return r(e).length>0}function l(e){return r(e).filter((e=>!1===e.test_success))}function u(e){return r(e).filter((e=>"must_reauth"===e.test_success)).map((e=>e.service_name))}function d(e){return r(e).filter((e=>e.enabled))}function p(e){return r(e).filter((e=>!e.enabled))}function m(e,t,{forceDefaults:n=!1}={}){let a="",s="",o="";if(!n){const n=r(e).find((({service_name:e})=>t===e));if(n){const{display_name:e,profile_display_name:r,profile_picture:i,external_display:c}=n;a="twitter"===t?r:e||c,o="twitter"===t?e:n.username,s=i}}return{displayName:a,profileImage:s,username:o}}function g(e){return e.connectionData?.deletingConnections??[]}function A(e){return e.connectionData?.updatingConnections??[]}function h(e){return e.connectionData?.reconnectingAccount??""}function E(e,t=a.to){return e.connectionData?.abortControllers?.[t]??[]}function f(e,t){return o(e,"mastodon").some((e=>e.external_display===t))}function b(e){return e.connectionData?.services??[]}function v(e){return e.connectionData?.keyringResult}function C(e){return e.connectionData?.isConnectionsModalOpen??!1}},22987:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(43354),r=n(82836),s=n(31473),o=n(85675),i=n(45073);const c={...o.Z,...a,...r.Z,...s,...i.Z,userConnectionUrl:e=>e.userConnectionUrl,useAdminUiV1:e=>e.useAdminUiV1,featureFlags:e=>e.featureFlags,hasPaidFeatures:e=>e.hasPaidFeatures,connectionRefreshPath:e=>e.connectionRefreshPath}},82836:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={getJetpackSettings:e=>e.jetpackSettings,isModuleEnabled:e=>e.jetpackSettings.publicize_active,showPricingPage:e=>e.jetpackSettings.show_pricing_page,isUpdatingJetpackSettings:e=>e.jetpackSettings.is_updating,hasPaidPlan:e=>!(e.jetpackSettings?.showNudge??1),isEnhancedPublishingEnabled:e=>e.jetpackSettings?.isEnhancedPublishingEnabled??!1,getDismissedNotices:e=>e.jetpackSettings?.dismissedNotices,isSocialNotesEnabled:e=>e.jetpackSettings?.social_notes_enabled,isSocialNotesSettingsUpdating:e=>e.jetpackSettings?.social_notes_is_updating,getSocialNotesConfig:e=>e.jetpackSettings?.social_notes_config??{}}},31473:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getScheduledSharesCount:()=>c,getShareLimit:()=>o,getSharedPostsCount:()=>u,getSharesUsedCount:()=>i,getTotalSharesCount:()=>l,isShareLimitEnabled:()=>r,numberOfSharesRemaining:()=>p,shouldShowAdvancedPlanNudge:()=>d,showShareLimits:()=>s});var a=n(82836);function r(e){return e.sharesData?.is_share_limit_enabled??!1}function s(e){return!a.Z.hasPaidPlan(e)&&!e.hasPaidPlan&&r(e)}function o(e){return e.sharesData?.share_limit??30}function i(e){return e.sharesData?.publicized_count??0}function c(e){return e.sharesData?.to_be_publicized_count??0}function l(e){const t=i(e)+c(e);return Math.max(t,0)}function u(e){return e.sharesData?.shared_posts_count??0}function d(e){return e.sharesData?.show_advanced_plan_upgrade_nudge??!1}function p(e,t={}){if(!s(e))return 1/0;const{includeScheduled:n}={includeScheduled:!0,...t},a=i(e),r=o(e),l=n?c(e):0;return Math.max(r-a-l,0)}},85675:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={getAdminUrl:e=>e.siteData?.adminUrl??null,getAPIRootUrl:e=>e.siteData?.apiRoot??null,getAPINonce:e=>e.siteData?.apiNonce??null,getRegistrationNonce:e=>e.siteData?.registrationNonce??null,getSiteSuffix:e=>e.siteData?.siteSuffix??null,getBlogID:e=>e.siteData?.blogID??null,getPluginVersion:e=>e.siteData?.pluginVersion??null}},45073:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={getSocialImageGeneratorSettings:e=>e.socialImageGeneratorSettings,isSocialImageGeneratorAvailable:e=>e.socialImageGeneratorSettings.available,isSocialImageGeneratorEnabled:e=>e.socialImageGeneratorSettings.enabled,isUpdatingSocialImageGeneratorSettings:e=>e.socialImageGeneratorSettings.isUpdating,getSocialImageGeneratorDefaultTemplate:e=>e.socialImageGeneratorSettings.template}},5463:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const a=255;function r(){return a}},12677:(e,t,n)=>{"use strict";n.d(t,{h:()=>r});var a=n(13419);function r(){return(0,a.Pb)()?.social?.supportedAdditionalConnections||[]}},42032:(e,t,n)=>{"use strict";n.d(t,{getShareMessageMaxLength:()=>a.A,getSupportedAdditionalConnections:()=>r.h,requestExternalAccess:()=>s.Y});var a=n(5463),r=n(12677),s=n(28574),o=n(581);n.o(o,"useSyncPostDataToStore")&&n.d(t,{useSyncPostDataToStore:function(){return o.useSyncPostDataToStore}})},28574:(e,t,n)=>{"use strict";n.d(t,{Y:()=>r});var a=n(7211);const r=(e,t)=>{const n=new a.Z;let r;n.open(e,null,"toolbar=0,location=0,status=0,menubar=0,"+n.getScreenCenterSpecs(780,700)),n.once("close",(()=>{t(r?.ID?r:{})})),n.on("message",(e=>{r=e?.data}))}},581:()=>{},13419:(e,t,n)=>{"use strict";n.d(t,{Dp:()=>u.Z,FK:()=>l.FK,HD:()=>l.HD,M6:()=>s.M6,OZ:()=>o.Z,Pb:()=>a.Z,Pm:()=>m.Z,Qq:()=>l.Qq,Rl:()=>l.Rl,T:()=>c.Z,Ug:()=>s.Ug,Wp:()=>s.Wp,X1:()=>l.X1,_D:()=>l._D,aQ:()=>s.aQ,dM:()=>g.d,el:()=>p.Z,lQ:()=>r.Z,lt:()=>g.l,m3:()=>l.m3,o_:()=>i.Z,z$:()=>d.Z});var a=n(50148),r=n(35004),s=n(99505),o=n(48052),i=n(76714),c=n(80354),l=n(75404),u=n(68586),d=n(61053),p=n(11380),m=n(6342),g=n(96959);n(39058)},6342:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(78868),r=n(99196),s=n.n(r);const o=()=>s().createElement(a.Z,{className:"jetpack-editor-panel-logo",height:16,logoColor:"#1E1E1E",showText:!1})},96959:(e,t,n)=>{"use strict";n.d(t,{d:()=>s,l:()=>o});var a=n(69307),r=n(12953);function s(e){const t={};let n="span",r=e.icon;const s=document.createElement("div");s.innerHTML=e.icon;const o=s.querySelector("svg");return o&&(n="svg",r=o.innerHTML,Array.from(o.attributes).forEach((({nodeName:e,nodeValue:n})=>t[e]=n))),(0,a.createElement)(n,{...t,dangerouslySetInnerHTML:{__html:r||""}})}function o(e){return{src:s(e),foreground:(0,r.Z)()}}},12953:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(99505);const r="#069e08";function s(){return(0,a.Ug)()||(0,a.Wp)()?null:r}},50148:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const a="Jetpack_Editor_Initial_State";function r(){return"object"==typeof window?window?.[a]??null:null}},48052:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(50148);function r(e){const t=(0,a.Z)(),n=t?.available_blocks?.[e]?.available??!1,r=t?.available_blocks?.[e]?.unavailable_reason??"unknown";return{available:n,...!n&&{details:t?.available_blocks?.[e]?.details??[],unavailableReason:r}}}},35004:(e,t,n)=>{"use strict";function a(){return window&&window.Jetpack_Editor_Initial_State&&window.Jetpack_Editor_Initial_State.siteFragment?window.Jetpack_Editor_Initial_State.siteFragment:null}n.d(t,{Z:()=>a})},61053:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(6975),r=n(31294),s=n(69307);const{tracks:o}=a.Z,{recordEvent:i}=o,c=({pageViewEventName:e=null,pageViewNamespace:t="jetpack",pageViewSuffix:n="page_view",pageViewEventProperties:c={}}={})=>{const[l,u]=(0,s.useState)(!1),{isUserConnected:d,isRegistered:p,userConnectionData:m={}}=(0,r.Z)(),{wpcomUser:{login:g,ID:A}={},blogId:h}=m.currentUser||{},E=(0,s.useCallback)((async(e,t={})=>{d&&A&&g&&i(e,t)}),[d,A,g]);return(0,s.useEffect)((()=>{d&&A&&g&&h&&a.Z.initialize(A,g,{blog_id:h})}),[h,A,g,d]),(0,s.useEffect)((()=>{const a=e?`${t}_${e}_${n}`:null;p&&a&&(l||(E(a,c),u(!0)))}),[l,t,e,n,p,c,E]),{recordEvent:E,tracks:o}}},11380:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9818),r=n(69307),s=n(39058);const o=e=>{const{isModuleActive:t,isChangingStatus:n,isLoadingModules:o}=(0,a.useSelect)((t=>{const n=t(s.p);return{isModuleActive:n.isModuleActive(e),isChangingStatus:n.isModuleUpdating(e),isLoadingModules:n.areModulesLoading(e)}}),[s.p]),{updateJetpackModuleStatus:i}=(0,a.useDispatch)(s.p),c=(0,r.useCallback)((t=>i({name:e,active:t})),[e,i]);return(0,r.useMemo)((()=>({isLoadingModules:o,isChangingStatus:n,isModuleActive:t,changeStatus:c})),[o,n,t,c])}},68586:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(50148);function r(){return(0,a.Z)()?.jetpack?.is_current_user_connected??!1}},44166:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>p,rW:()=>d});var a=n(9818),r=n(99505),s=n(82162),o=n(39058);const i="SET_JETPACK_MODULES",c="SET_MODULE_UPDATING";function l(e){return d({isLoading:e})}function u(e,t){return{type:c,name:e,isUpdating:t}}function d(e){return{type:i,options:e}}const p={updateJetpackModuleStatus:function*(e){try{yield u(e.name,!0),yield(0,s.zL)(e);const t=yield(0,s.Bs)();return yield d({data:t}),!0}catch(e){const t=(0,a.select)(o.p).getJetpackModules();return yield d(t),!1}finally{yield u(e.name,!1)}},setJetpackModules:d,fetchModules:function*(){if((0,r.Wp)())return!0;try{yield l(!0);const e=yield(0,s.Bs)();return yield d({data:e}),!0}catch(e){const t=(0,a.select)(o.p).getJetpackModules();return yield d(t),!1}finally{yield l(!1)}}}},82162:(e,t,n)=>{"use strict";n.d(t,{Bs:()=>i,ZP:()=>l,zL:()=>c});var a=n(86989),r=n.n(a);const s="FETCH_JETPACK_MODULES",o="UPDATE_JETPACK_MODULE_STATUS",i=()=>({type:s}),c=e=>({type:o,settings:e}),l={[s]:function(){return r()({path:"/jetpack/v4/module/all",method:"GET"})},[o]:function({settings:e}){return r()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},39058:(e,t,n)=>{"use strict";n.d(t,{p:()=>l});var a=n(9818),r=n(44166),s=n(82162),o=n(42469),i=n(55133),c=n(43524);const l="jetpack-modules",u=(0,a.createReduxStore)(l,{reducer:o.Z,actions:r.ZP,controls:s.ZP,resolvers:i.Z,selectors:c.Z});(0,a.register)(u);const d=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==d&&(0,a.dispatch)(l).setJetpackModules({data:{...d}})},42469:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const a={isLoading:!1,isUpdating:{},data:{}},r=(e=a,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},55133:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(44166),r=n(82162);const s={getJetpackModules:function*(){try{const e=yield(0,r.Bs)();if(e)return(0,a.rW)({data:e})}catch(e){console.error(e)}}}},43524:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(99505);const r={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,a.Wp)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},75404:(e,t,n)=>{"use strict";n.d(t,{FK:()=>A,HD:()=>h,Qq:()=>u,Rl:()=>m,X1:()=>d,_D:()=>p,m3:()=>E});var a=n(65736),r=n(96483),s=n(92819),o=n(50148),i=n(48052),c=n(35004),l=n(99505);const __=a.__;function u({planSlug:e,plan:t,postId:n,postType:a}){const o=(0,s.startsWith)(e,"jetpack_")?e:(0,s.get)(t,["path_slug"]),i=(void 0===a?()=>{const e=new URLSearchParams(window.location.search);return(0,r.addQueryArgs)(window.location.protocol+`//${(0,c.Z)().replace("::","/")}/wp-admin/site-editor.php`,{postId:e.get("postId"),postType:e.get("postType"),plan_upgraded:1})}:()=>{const e=["page","post"].includes(a)?"":"edit";return(0,l.Wp)()?(0,r.addQueryArgs)("/"+(0,s.compact)([e,a,(0,c.Z)(),n]).join("/"),{plan_upgraded:1}):(0,r.addQueryArgs)(window.location.protocol+`//${(0,c.Z)().replace("::","/")}/wp-admin/post.php`,{action:"edit",post:n,plan_upgraded:1})})();return(0,l.Ug)()?(0,r.addQueryArgs)(`https://wordpress.com/plans/${(0,c.Z)()}`,{redirect_to:i,customerType:"business"}):o&&(0,r.addQueryArgs)(`https://wordpress.com/checkout/${(0,c.Z)()}/${o}`,{redirect_to:i})}function d(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{available:n,unavailableReason:a}=(0,i.Z)(t);return!n&&"missing_plan"===a}function p(e,t){return"missing_plan"===e&&t.required_plan}function m(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{details:n,unavailableReason:a}=(0,i.Z)(t);return p(a,n)}const g=[{name:"core/cover",mediaPlaceholder:!0,mediaReplaceFlow:!0,fileType:"video",description:__("Upgrade your plan to use video covers","jetpack")},{name:"core/audio",mediaPlaceholder:!0,mediaReplaceFlow:!0,fileType:"audio",description:__("Upgrade your plan to upload audio","jetpack")}];function A(){return(0,s.get)((0,o.Z)(),"jetpack.enable_upgrade_nudge",!1)}const h=e=>(0,s.map)(g,"name").includes(e),E=e=>(0,s.head)((0,s.filter)(g,(({name:t})=>t===e)))},76714:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(98817),r=n(48052);function s(e,t){const{available:n,unavailableReason:s}=(0,r.Z)(e);return!!n&&(0,a.registerPlugin)(`jetpack-${e}`,t)}},99505:(e,t,n)=>{"use strict";n.d(t,{M6:()=>i,Ug:()=>o,Wp:()=>s,aQ:()=>c});var a=n(50148);function r(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function s(){return"simple"===r()}function o(){return"atomic"===r()}function i(){const e=(0,a.Z)();return e?.jetpack?.is_private_site??!1}function c(){const e=(0,a.Z)();return e?.jetpack?.is_coming_soon??!1}},80354:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(82674),r=n.n(a),s=n(94333);const o=e=>(0,s.createHigherOrderComponent)((t=>n=>React.createElement(t,r()({},n,{className:n.name===e?"has-warning is-interactive":n.className}))),"withHasWarningIsInteractiveClassNames")},56286:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>a.Y});var a=n(49614);n(9839)},9839:(e,t,n)=>{"use strict";n.d(t,{N:()=>a});const a=[{name:"amazon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M13.582 8.182c-1.648.185-3.802.308-5.344.984-1.781.769-3.03 2.337-3.03 4.644 0 2.953 1.86 4.429 4.253 4.429 2.02 0 3.125-.477 4.685-2.065.516.747.685 1.109 1.629 1.894a.59.59 0 0 0 .672-.066l.006.006c.567-.505 1.599-1.401 2.18-1.888.231-.188.19-.496.009-.754-.52-.718-1.072-1.303-1.072-2.634V8.305c0-1.876.133-3.599-1.249-4.891C15.23 2.369 13.422 2 12.04 2 9.336 2 6.318 3.01 5.686 6.351c-.068.355.191.542.423.594l2.754.298c.258-.013.445-.266.494-.523.236-1.151 1.2-1.706 2.284-1.706.584 0 1.249.215 1.595.738.398.584.346 1.384.346 2.061zm-.533 5.906c-.451.8-1.169 1.291-1.967 1.291-1.09 0-1.728-.83-1.728-2.061 0-2.42 2.171-2.86 4.227-2.86v.615c.001 1.108.027 2.031-.532 3.015m7.634 5.251C18.329 21.076 14.917 22 11.979 22c-4.118 0-7.826-1.522-10.632-4.057-.22-.199-.024-.471.241-.317 3.027 1.762 6.771 2.823 10.639 2.823 2.608 0 5.476-.541 8.115-1.66.397-.169.73.262.341.55m.653 1.704c-.194.163-.379.076-.293-.139.284-.71.92-2.298.619-2.684s-1.99-.183-2.749-.092c-.23.027-.266-.173-.059-.319 1.348-.946 3.555-.673 3.811-.356.26.32-.066 2.533-1.329 3.59"})))},{name:"behance",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M7.799 5.698c.589 0 1.12.051 1.606.156q.722.155 1.241.507.516.351.804.938c.188.387.281.871.281 1.443q0 .93-.421 1.551-.424.62-1.255 1.014 1.133.328 1.689 1.146.559.822.557 1.975 0 .935-.359 1.612a3.14 3.14 0 0 1-.973 1.114q-.613.432-1.399.637A6.1 6.1 0 0 1 7.963 18H2V5.698zm-.35 4.97q.721 0 1.192-.345.465-.344.463-1.119 0-.43-.152-.707a1.1 1.1 0 0 0-.416-.427 1.7 1.7 0 0 0-.596-.216 3.6 3.6 0 0 0-.697-.06H4.709v2.874zm.151 5.237q.401.001.759-.077c.243-.053.457-.137.637-.261.182-.12.332-.283.441-.491q.164-.31.163-.798-.002-.948-.533-1.357c-.356-.27-.83-.404-1.413-.404H4.709v3.388zm8.562-.041q.552.538 1.583.538.74 0 1.277-.374c.354-.248.571-.514.654-.79h2.155c-.347 1.072-.872 1.838-1.589 2.299-.708.463-1.572.693-2.58.693q-1.05 0-1.899-.337a4 4 0 0 1-1.439-.958 4.4 4.4 0 0 1-.904-1.484 5.4 5.4 0 0 1-.32-1.899q0-1 .329-1.863a4.4 4.4 0 0 1 .933-1.492q.607-.63 1.444-.994a4.6 4.6 0 0 1 1.857-.363q1.131-.001 1.98.44a3.94 3.94 0 0 1 1.389 1.181 4.8 4.8 0 0 1 .783 1.69q.24.947.171 1.983h-6.428c-.001.706.237 1.372.604 1.73m2.811-4.68c-.291-.321-.783-.496-1.384-.496q-.585 0-.973.2a2 2 0 0 0-.621.491 1.8 1.8 0 0 0-.328.628 2.7 2.7 0 0 0-.111.587h3.98c-.058-.625-.271-1.085-.563-1.41m-3.916-3.446h4.985V6.524h-4.985z"})))},{name:"blogger-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.779 9.904h-.981l-.021.001a1.163 1.163 0 0 1-1.16-1.079l-.001-.013A5.813 5.813 0 0 0 11.803 3H8.871a5.813 5.813 0 0 0-5.813 5.813v6.375a5.813 5.813 0 0 0 5.813 5.813h6.257a5.814 5.814 0 0 0 5.813-5.813l.002-4.121a1.164 1.164 0 0 0-1.164-1.163M8.726 7.713h3.291a1.117 1.117 0 1 1 0 2.234H8.726a1.117 1.117 0 1 1 0-2.234m6.601 8.657H8.72a1.057 1.057 0 1 1 0-2.114h6.607a1.057 1.057 0 1 1 0 2.114"})))},{name:"blogger",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M14.722 14.019a.654.654 0 0 1-.654.654H9.977a.654.654 0 0 1 0-1.308h4.091c.361 0 .654.293.654.654m-4.741-3.321h2.038a.692.692 0 0 0 0-1.384H9.981a.692.692 0 0 0 0 1.384M21 5v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2m-3.456 6.39a.72.72 0 0 0-.72-.72h-.607l-.013.001a.72.72 0 0 1-.718-.668l-.001-.008a3.6 3.6 0 0 0-3.599-3.599H10.07a3.6 3.6 0 0 0-3.599 3.599v3.947a3.6 3.6 0 0 0 3.599 3.599h3.874a3.6 3.6 0 0 0 3.599-3.599z"})))},{name:"bluesky",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.2 3.3c-.5-.2-1.4-.5-3.6 1C15.4 6 12.9 9.2 12 11c-.9-1.8-3.4-5-5.7-6.7-2.2-1.6-3-1.3-3.6-1S2 4.6 2 5.1s.3 4.7.5 5.4c.7 2.3 3.1 3.1 5.3 2.8-3.3.5-6.2 1.7-2.4 5.9 4.2 4.3 5.7-.9 6.5-3.6.8 2.7 1.7 7.7 6.4 3.6 3.6-3.6 1-5.4-2.3-5.9 2.2.2 4.6-.5 5.3-2.8.4-.7.7-4.8.7-5.4 0-.5-.1-1.5-.8-1.8"})))},{name:"codepen",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m22.016 8.84-.007-.037q-.006-.037-.015-.072-.007-.022-.013-.042l-.023-.062-.02-.042a.4.4 0 0 0-.03-.057l-.025-.038-.035-.052-.03-.037q-.021-.026-.043-.045-.015-.018-.035-.035a.4.4 0 0 0-.048-.04l-.037-.03-.015-.012-9.161-6.096a.86.86 0 0 0-.955 0L2.359 8.237l-.015.012-.038.028-.048.04a.638.638 0 0 0-.078.082q-.018.018-.03.037-.018.026-.035.052l-.025.038q-.016.031-.03.059l-.02.041a1 1 0 0 0-.034.106q-.01.034-.016.071-.003.02-.006.037a1 1 0 0 0-.009.114v6.093q0 .056.008.112l.007.038q.006.035.015.072a.2.2 0 0 0 .013.04q.01.032.022.063l.02.04a.4.4 0 0 0 .055.096l.035.052.03.037.042.045.035.035q.023.02.048.04l.038.03.013.01 9.163 6.095a.858.858 0 0 0 .959.004l9.163-6.095.015-.01q.02-.015.037-.03l.048-.04q.02-.017.035-.035.025-.024.043-.045l.03-.037.035-.052.025-.038a.4.4 0 0 0 .03-.058l.02-.04.023-.063c.003-.013.01-.027.013-.04q.009-.037.015-.072l.007-.037q.006-.062.007-.117V8.954a1 1 0 0 0-.008-.114m-9.154-4.376 6.751 4.49-3.016 2.013-3.735-2.492zm-1.724 0v4.009l-3.735 2.494-3.014-2.013zm-7.439 6.098L5.853 12l-2.155 1.438zm7.439 8.974-6.749-4.491 3.015-2.011 3.735 2.492zM12 14.035 8.953 12 12 9.966 15.047 12zm.862 5.501v-4.009l3.735-2.492 3.016 2.011zm7.441-6.098L18.147 12l2.156-1.438z"})))},{name:"deezer",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.129 3.662c.222-1.287.548-2.096.909-2.098h.001c.673.002 1.219 2.809 1.219 6.274s-.546 6.274-1.22 6.274c-.276 0-.531-.477-.736-1.276-.324 2.926-.997 4.937-1.776 4.937-.603 0-1.144-1.208-1.507-3.114-.248 3.624-.872 6.195-1.602 6.195-.458 0-.875-1.019-1.184-2.678C13.861 21.6 13.003 24 12.002 24s-1.861-2.399-2.231-5.824c-.307 1.659-.724 2.678-1.184 2.678-.73 0-1.352-2.571-1.602-6.195-.363 1.905-.903 3.114-1.507 3.114-.778 0-1.452-2.011-1.776-4.937-.204.802-.46 1.276-.736 1.276-.674 0-1.22-2.809-1.22-6.274s.546-6.274 1.22-6.274c.362 0 .685.812.91 2.098.357-2.22.94-3.662 1.6-3.662.784 0 1.463 2.04 1.784 5.002.314-2.156.791-3.53 1.325-3.53.749 0 1.385 2.703 1.621 6.474.443-1.933 1.085-3.146 1.795-3.146s1.352 1.214 1.795 3.146c.237-3.771.872-6.474 1.621-6.474.533 0 1.009 1.374 1.325 3.53.321-2.962 1-5.002 1.784-5.002.658 0 1.244 1.443 1.603 3.662M0 7.221c0-1.549.31-2.805.692-2.805s.692 1.256.692 2.805-.31 2.805-.692 2.805S0 8.77 0 7.221m22.616 0c0-1.549.31-2.805.692-2.805S24 5.672 24 7.221s-.31 2.805-.692 2.805-.692-1.256-.692-2.805"})))},{name:"discord",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.33 4.523A20 20 0 0 0 15.379 3a14 14 0 0 0-.634 1.289 18.4 18.4 0 0 0-5.495 0A14 14 0 0 0 8.615 3 20 20 0 0 0 3.66 4.527C.527 9.163-.323 13.684.102 18.141a20 20 0 0 0 6.073 3.049 14.7 14.7 0 0 0 1.301-2.097 13 13 0 0 1-2.048-.978q.258-.189.502-.378a14.27 14.27 0 0 0 12.142 0q.247.202.502.378a13 13 0 0 1-2.052.98 14.5 14.5 0 0 0 1.301 2.095 19.9 19.9 0 0 0 6.076-3.047c.498-5.168-.851-9.648-3.568-13.62M8.013 15.4c-1.183 0-2.161-1.074-2.161-2.395S6.796 10.6 8.01 10.6s2.183 1.083 2.163 2.405S9.22 15.4 8.013 15.4m7.974 0c-1.186 0-2.16-1.074-2.16-2.395s.944-2.405 2.16-2.405 2.178 1.083 2.157 2.405-.951 2.395-2.158 2.395"})))},{name:"dribbble",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10m8.434-8.631c-.292-.092-2.644-.794-5.32-.365 1.117 3.07 1.572 5.57 1.659 6.09a8.56 8.56 0 0 0 3.661-5.725m-5.098 6.507c-.127-.749-.623-3.361-1.822-6.477l-.056.019c-4.818 1.679-6.547 5.02-6.701 5.334A8.5 8.5 0 0 0 12 20.555a8.5 8.5 0 0 0 3.336-.679m-9.682-2.152c.193-.331 2.538-4.213 6.943-5.637q.167-.054.337-.102a29 29 0 0 0-.692-1.45c-4.266 1.277-8.405 1.223-8.778 1.216a8.497 8.497 0 0 0 2.19 5.973m-2.015-7.46c.382.005 3.901.02 7.897-1.041a55 55 0 0 0-3.167-4.94 8.57 8.57 0 0 0-4.73 5.981m6.359-6.555a46 46 0 0 1 3.187 5c3.037-1.138 4.323-2.867 4.477-3.085a8.51 8.51 0 0 0-7.664-1.915m8.614 2.903c-.18.243-1.612 2.078-4.77 3.367a27 27 0 0 1 .751 1.678c2.842-.357 5.666.215 5.948.275a8.5 8.5 0 0 0-1.929-5.32"})))},{name:"dropbox",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 6.134 6.069 9.797 2 6.54l5.883-3.843zm-10 6.92 5.883 3.843L12 13.459 6.069 9.797zm10 .405 4.116 3.439L22 13.054l-4.069-3.257zM22 6.54l-5.884-3.843L12 6.134l5.931 3.663zm-9.989 7.66-4.129 3.426-1.767-1.153v1.291l5.896 3.539 5.897-3.539v-1.291l-1.769 1.153z"})))},{name:"eventbrite",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18.041 3.931 5.959 3A2.96 2.96 0 0 0 3 5.959v12.083A2.96 2.96 0 0 0 5.959 21l12.083-.931C19.699 19.983 21 18.744 21 17.11V6.89c0-1.634-1.259-2.863-2.959-2.959M16.933 8.17c-.082.215-.192.432-.378.551-.188.122-.489.132-.799.132-1.521 0-3.062-.048-4.607-.048q-.23 1.061-.451 2.128c.932-.004 1.873.005 2.81.005.726 0 1.462-.069 1.586.525.04.189-.001.426-.052.615-.105.38-.258.676-.625.783-.185.054-.408.058-.646.058-1.145 0-2.345.017-3.493.02-.169.772-.328 1.553-.489 2.333 1.57-.005 3.067-.041 4.633-.058.627-.007 1.085.194 1.009.85a2.2 2.2 0 0 1-.211.725c-.102.208-.248.376-.488.452-.237.075-.541.064-.862.078-.304.014-.614.008-.924.016-.309.009-.619.022-.919.022-1.253 0-2.429.08-3.683.073-.603-.004-1.014-.249-1.124-.757-.059-.273-.018-.58.036-.841a3543 3543 0 0 1 1.629-7.763c.056-.265.114-.511.225-.714a1.24 1.24 0 0 1 .79-.62c.368-.099.883-.047 1.344-.047.305 0 .612.008.914.016.925.026 1.817.03 2.747.053.304.007.615.016.915.016.621 0 1.17.073 1.245.614.039.288-.051.567-.132.783"})))},{name:"facebook",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.5 2 2 6.5 2 12c0 5 3.7 9.1 8.4 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10"})))},{name:"fediverse",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 743 743"},React.createElement("g",null,React.createElement("path",{d:"M181.131 275.137a68.9 68.9 0 0 1-29.465 29.328l161.758 162.389 38.998-19.764zm213.363 214.187-38.998 19.764 81.963 82.283a68.9 68.9 0 0 1 29.471-29.332zM581.646 339.391l-91.576 46.41 6.752 43.189 103.616-52.513a68.9 68.9 0 0 1-18.792-37.086m-144.738 73.351L220.383 522.477a68.9 68.9 0 0 1 18.795 37.089L443.66 455.934zM367.275 142.438l-104.48 203.97 30.848 30.967 110.623-215.957a68.9 68.9 0 0 1-36.991-18.98M235.621 399.459l-52.922 103.314a68.9 68.9 0 0 1 36.987 18.979l46.781-91.328zM150.768 304.918a68.9 68.9 0 0 1-34.416 7.195 69 69 0 0 1-6.651-.695l30.903 197.662a68.9 68.9 0 0 1 34.416-7.195 69 69 0 0 1 6.646.695zM239.342 560.545c.707 4.589.949 9.239.72 13.877a68.9 68.9 0 0 1-7.267 27.18l197.629 31.712c-.708-4.59-.95-9.24-.723-13.878a68.9 68.9 0 0 1 7.27-27.178zM601.133 377.199l-91.219 178.082a68.9 68.9 0 0 1 36.994 18.983l91.217-178.08a68.9 68.9 0 0 1-36.992-18.985M476.723 125.33a68.9 68.9 0 0 1-29.471 29.332l141.266 141.811a68.9 68.9 0 0 1 29.468-29.332zM347.787 104.631l-178.576 90.498a68.9 68.9 0 0 1 18.793 37.086l178.574-90.502a68.9 68.9 0 0 1-18.791-37.082M446.926 154.826a68.9 68.9 0 0 1-34.983 7.483 69 69 0 0 1-6.029-.633l15.818 101.291 43.163 6.926zm-16 167.028 37.4 239.482a68.9 68.9 0 0 1 33.914-6.943q3.625.206 7.207.791L474.09 328.777zM188.131 232.975c.734 4.66.988 9.383.758 14.095a68.9 68.9 0 0 1-7.16 26.983l101.369 16.281 19.923-38.908zm173.736 27.9-19.926 38.912 239.514 38.467a69 69 0 0 1-.695-13.719 68.9 68.9 0 0 1 7.349-27.324z"}),React.createElement("path",{fillOpacity:".996",d:"M412.284 156.054c34.538 1.882 64.061-24.592 65.943-59.13s-24.592-64.062-59.131-65.943c-34.538-1.882-64.061 24.592-65.943 59.13s24.593 64.062 59.131 65.943M646.144 390.82c34.538 1.881 64.062-24.593 65.943-59.131s-24.592-64.061-59.13-65.943-64.062 24.593-65.943 59.131 24.592 64.061 59.13 65.943M495.086 685.719c34.538 1.881 64.062-24.592 65.943-59.13s-24.592-64.062-59.13-65.943-64.062 24.592-65.943 59.13 24.592 64.062 59.13 65.943M167.866 633.211c34.538 1.882 64.062-24.592 65.943-59.13s-24.592-64.062-59.13-65.943-64.062 24.592-65.943 59.13 24.592 64.062 59.13 65.943M116.692 305.86c34.538 1.882 64.062-24.592 65.943-59.13s-24.592-64.062-59.131-65.943c-34.538-1.881-64.061 24.592-65.943 59.13s24.593 64.062 59.131 65.943"})))},{name:"feed",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M2 8.667V12c5.515 0 10 4.485 10 10h3.333c0-7.363-5.97-13.333-13.333-13.333M2 2v3.333c9.19 0 16.667 7.477 16.667 16.667H22C22 10.955 13.045 2 2 2m2.5 15a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5"})))},{name:"flickr",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("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-5m11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5"})))},{name:"foursquare",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17.573 2H6.905C5.434 2 5 3.107 5 3.805v16.948c0 .785.422 1.077.66 1.172.238.097.892.177 1.285-.275 0 0 5.035-5.843 5.122-5.93.132-.132.132-.132.262-.132h3.26c1.368 0 1.588-.977 1.732-1.552.078-.318.692-3.428 1.225-6.122l.675-3.368C19.56 2.893 19.14 2 17.573 2m-1.078 5.22c-.053.252-.372.518-.665.518h-4.157c-.467 0-.802.318-.802.787v.508c0 .467.337.798.805.798h3.528c.331 0 .655.362.583.715s-.407 2.102-.448 2.295c-.04.193-.262.523-.655.523h-2.88c-.523 0-.683.068-1.033.503-.35.437-3.505 4.223-3.505 4.223-.032.035-.063.027-.063-.015V4.852c0-.298.26-.648.648-.648h8.562c.315 0 .61.297.528.683z"})))},{name:"ghost",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M10.203 20.997H3.005v-3.599h7.198zm10.792-3.599h-7.193v3.599h7.193zm.003-7.198H3v3.599h17.998zm-7.195-7.197H3.005v3.599h10.798zm7.197 0h-3.599v3.599H21z"})))},{name:"git",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M23.519 10.947 13.053.482a1.543 1.543 0 0 0-2.183 0L8.696 2.656l2.756 2.756a1.83 1.83 0 0 1 1.886.439 1.84 1.84 0 0 1 .436 1.898l2.656 2.657a1.83 1.83 0 0 1 1.899.436 1.837 1.837 0 0 1 0 2.597 1.84 1.84 0 0 1-2.599 0 1.84 1.84 0 0 1-.4-1.998l-2.478-2.477v6.521a1.837 1.837 0 0 1 .485 2.945 1.837 1.837 0 0 1-2.597 0 1.837 1.837 0 0 1 0-2.598 1.8 1.8 0 0 1 .602-.401V8.85a1.8 1.8 0 0 1-.602-.4 1.84 1.84 0 0 1-.395-2.009L7.628 3.723.452 10.898a1.544 1.544 0 0 0 0 2.184l10.467 10.467a1.544 1.544 0 0 0 2.183 0l10.417-10.418a1.546 1.546 0 0 0 0-2.184"})))},{name:"github",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.419 2.865 8.166 6.839 9.489.5.09.682-.218.682-.484 0-.236-.009-.866-.014-1.699-2.782.602-3.369-1.34-3.369-1.34-.455-1.157-1.11-1.465-1.11-1.465-.909-.62.069-.608.069-.608 1.004.071 1.532 1.03 1.532 1.03.891 1.529 2.341 1.089 2.91.833.091-.647.349-1.086.635-1.337-2.22-.251-4.555-1.111-4.555-4.943 0-1.091.39-1.984 1.03-2.682-.103-.254-.447-1.27.097-2.646 0 0 .84-.269 2.75 1.025A9.6 9.6 0 0 1 12 6.836c.85.004 1.705.114 2.504.336 1.909-1.294 2.748-1.025 2.748-1.025.546 1.376.202 2.394.1 2.646.64.699 1.026 1.591 1.026 2.682 0 3.841-2.337 4.687-4.565 4.935.359.307.679.917.679 1.852 0 1.335-.012 2.415-.012 2.741 0 .269.18.579.688.481A10 10 0 0 0 22 12c0-5.523-4.477-10-10-10"})))},{name:"google-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m-.05 16c-3.312 0-6-2.688-6-6s2.688-6 6-6c1.62 0 2.976.594 4.014 1.566L14.26 9.222c-.432-.408-1.188-.888-2.31-.888-1.986 0-3.606 1.65-3.606 3.672s1.62 3.672 3.606 3.672c2.298 0 3.144-1.59 3.3-2.532h-3.306v-2.238h5.616c.084.378.15.732.15 1.23 0 3.426-2.298 5.862-5.76 5.862"})))},{name:"google-plus-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M8 11h6.61c.06.35.11.7.11 1.16 0 4-2.68 6.84-6.72 6.84-3.87 0-7-3.13-7-7s3.13-7 7-7c1.89 0 3.47.69 4.69 1.83l-1.9 1.83c-.52-.5-1.43-1.08-2.79-1.08-2.39 0-4.34 1.98-4.34 4.42S5.61 16.42 8 16.42c2.77 0 3.81-1.99 3.97-3.02H8zm15 0h-2V9h-2v2h-2v2h2v2h2v-2h2"})))},{name:"google-plus",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m-1.919 14.05a4.051 4.051 0 0 1 0-8.1c1.094 0 2.009.401 2.709 1.057l-1.15 1.118a2.23 2.23 0 0 0-1.559-.599c-1.341 0-2.434 1.114-2.434 2.479s1.094 2.479 2.434 2.479c1.551 0 2.122-1.073 2.227-1.709h-2.232v-1.511h3.791c.057.255.101.494.101.83.001 2.312-1.55 3.956-3.887 3.956M19 12.75h-1.25V14h-1.5v-1.25H15v-1.5h1.25V10h1.5v1.25H19z"})))},{name:"google",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.02 10.18v3.73h5.51c-.26 1.57-1.67 4.22-5.5 4.22-3.31 0-6.01-2.75-6.01-6.12s2.7-6.12 6.01-6.12c1.87 0 3.13.8 3.85 1.48l2.84-2.76C16.99 2.99 14.73 2 12.03 2c-5.52 0-10 4.48-10 10s4.48 10 10 10c5.77 0 9.6-4.06 9.6-9.77 0-.83-.11-1.42-.25-2.05z"})))},{name:"instagram",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 4.622c2.403 0 2.688.009 3.637.052.877.04 1.354.187 1.671.31.42.163.72.358 1.035.673s.51.615.673 1.035c.123.317.27.794.31 1.671.043.949.052 1.234.052 3.637s-.009 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.671-.163.42-.358.72-.673 1.035s-.615.51-1.035.673c-.317.123-.794.27-1.671.31-.949.043-1.233.052-3.637.052s-2.688-.009-3.637-.052c-.877-.04-1.354-.187-1.671-.31a2.8 2.8 0 0 1-1.035-.673 2.8 2.8 0 0 1-.673-1.035c-.123-.317-.27-.794-.31-1.671-.043-.949-.052-1.234-.052-3.637s.009-2.688.052-3.637c.04-.877.187-1.354.31-1.671.163-.42.358-.72.673-1.035s.615-.51 1.035-.673c.317-.123.794-.27 1.671-.31.949-.043 1.234-.052 3.637-.052M12 3c-2.444 0-2.751.01-3.711.054-.958.044-1.612.196-2.184.418a4.4 4.4 0 0 0-1.594 1.039c-.5.5-.808 1.002-1.038 1.594-.223.572-.375 1.226-.419 2.184C3.01 9.249 3 9.556 3 12s.01 2.751.054 3.711c.044.958.196 1.612.418 2.185.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.267.054 3.711.054s2.751-.01 3.711-.054c.958-.044 1.612-.196 2.185-.418a4.4 4.4 0 0 0 1.594-1.038c.5-.5.808-1.002 1.038-1.594.222-.572.375-1.227.418-2.185.044-.96.054-1.267.054-3.711s-.01-2.751-.054-3.711c-.044-.958-.196-1.612-.418-2.185A4.4 4.4 0 0 0 19.49 4.51c-.5-.5-1.002-.808-1.594-1.038-.572-.222-1.227-.375-2.185-.418C14.751 3.01 14.444 3 12 3m0 4.378a4.622 4.622 0 1 0 0 9.244 4.622 4.622 0 0 0 0-9.244M12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6m4.804-8.884a1.08 1.08 0 1 0 .001 2.161 1.08 1.08 0 0 0-.001-2.161"})))},{name:"json-feed",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m8.522 17.424.027.027c1.076-1.076 1.854-.993 3.154.306l2.053 2.053c2.136 2.136 4.131 2.028 6.515-.356l.729-.728-1.548-1.548-.373.373c-1.349 1.349-2.293 1.366-3.585.075l-2.409-2.409c-1.242-1.242-2.475-1.366-3.659-.381l-.232-.232c1.01-1.225.911-2.368-.29-3.568l-2.16-2.162c-1.317-1.317-1.308-2.236.058-3.602l.372-.372-1.54-1.54-.728.729c-2.393 2.393-2.525 4.346-.439 6.433l1.78 1.78c1.3 1.3 1.383 2.095.315 3.163l.008.008a1.384 1.384 0 0 0 1.952 1.951"}),React.createElement("circle",{cx:"13.089",cy:"10.905",r:"1.383"}),React.createElement("circle",{cx:"16.349",cy:"7.644",r:"1.383"}),React.createElement("circle",{cx:"19.61",cy:"4.383",r:"1.383"})))},{name:"line",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M14.255 9.572v3.333c0 .084-.066.15-.15.15h-.534a.16.16 0 0 1-.122-.061l-1.528-2.063v1.978c0 .084-.066.15-.15.15h-.534a.15.15 0 0 1-.15-.15V9.576c0-.084.066-.15.15-.15h.529a.14.14 0 0 1 .122.066l1.528 2.063V9.577c0-.084.066-.15.15-.15h.534a.15.15 0 0 1 .155.145m-3.844-.15h-.534a.15.15 0 0 0-.15.15v3.333c0 .084.066.15.15.15h.534c.084 0 .15-.066.15-.15V9.572c0-.08-.066-.15-.15-.15m-1.289 2.794H7.664V9.572a.15.15 0 0 0-.15-.15H6.98a.15.15 0 0 0-.15.15v3.333q0 .062.042.103a.16.16 0 0 0 .103.042h2.142c.084 0 .15-.066.15-.15v-.534a.15.15 0 0 0-.145-.15m7.945-2.794h-2.142c-.08 0-.15.066-.15.15v3.333c0 .08.066.15.15.15h2.142c.084 0 .15-.066.15-.15v-.534a.15.15 0 0 0-.15-.15h-1.458v-.563h1.458c.084 0 .15-.066.15-.15v-.539a.15.15 0 0 0-.15-.15h-1.458v-.563h1.458c.084 0 .15-.066.15-.15v-.534c-.005-.08-.07-.15-.15-.15M22.5 5.33v13.373c-.005 2.1-1.725 3.802-3.83 3.797H5.297c-2.1-.005-3.802-1.73-3.797-3.83V5.297c.005-2.1 1.73-3.802 3.83-3.797h13.373c2.1.005 3.802 1.725 3.797 3.83m-2.888 5.747c0-3.422-3.431-6.206-7.645-6.206s-7.645 2.784-7.645 6.206c0 3.066 2.719 5.634 6.394 6.122.895.192.792.52.591 1.725-.033.192-.155.755.661.413s4.402-2.592 6.009-4.439c1.106-1.219 1.636-2.452 1.636-3.82"})))},{name:"link",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17 13H7v-2h10zm1-6h-1c-1.631 0-3.065.792-3.977 2H18c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1a4 4 0 0 0 4-4v-2a4 4 0 0 0-4-4M2 11v2a4 4 0 0 0 4 4h1c1.63 0 3.065-.792 3.977-2H6c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.631 7 7 7H6a4 4 0 0 0-4 4"})))},{name:"linkedin",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.7 3H4.3A1.3 1.3 0 0 0 3 4.3v15.4A1.3 1.3 0 0 0 4.3 21h15.4a1.3 1.3 0 0 0 1.3-1.3V4.3A1.3 1.3 0 0 0 19.7 3M8.339 18.338H5.667v-8.59h2.672zM7.004 8.574a1.548 1.548 0 1 1-.002-3.096 1.548 1.548 0 0 1 .002 3.096m11.335 9.764H15.67v-4.177c0-.996-.017-2.278-1.387-2.278-1.389 0-1.601 1.086-1.601 2.206v4.249h-2.667v-8.59h2.559v1.174h.037c.356-.675 1.227-1.387 2.526-1.387 2.703 0 3.203 1.779 3.203 4.092v4.711z"})))},{name:"mail",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 4.236-8 4.882-8-4.882V6h16z"})))},{name:"mastodon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M11.973 2.352c-2.468.02-4.842.286-6.225.921 0 0-2.742 1.229-2.742 5.415 0 .958-.018 2.105.012 3.32.1 4.094.75 8.128 4.535 9.129 1.745.462 3.244.56 4.45.494 2.19-.122 3.417-.781 3.417-.781l-.072-1.588s-1.565.491-3.32.431c-1.74-.06-3.576-.188-3.858-2.324a4 4 0 0 1-.04-.598s1.709.416 3.874.516c1.324.06 2.563-.076 3.824-.226 2.418-.29 4.524-1.78 4.79-3.141.416-2.144.38-5.232.38-5.232 0-4.186-2.74-5.415-2.74-5.415-1.383-.635-3.76-.9-6.227-.921zM9.18 5.622c1.028 0 1.804.395 2.318 1.185l.502.84.5-.84c.514-.79 1.292-1.186 2.32-1.186.888 0 1.605.313 2.15.922q.795.915.794 2.469v5.068h-2.008V9.16c0-1.037-.438-1.562-1.31-1.562-.966 0-1.448.622-1.448 1.857v2.693h-1.996V9.455c0-1.235-.484-1.857-1.45-1.857-.872 0-1.308.525-1.308 1.562v4.92H6.236V9.012q-.001-1.554.793-2.469c.547-.609 1.263-.922 2.15-.922"})))},{name:"medium-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{fillRule:"nonzero",d:"M7.423 6c3.27 0 5.922 2.686 5.922 6s-2.651 6-5.922 6S1.5 15.313 1.5 12s2.652-6 5.923-6m9.458.351c1.635 0 2.961 2.53 2.961 5.65 0 3.118-1.325 5.648-2.96 5.648S13.92 15.119 13.92 12s1.325-5.649 2.96-5.649m4.577.589c.576 0 1.042 2.265 1.042 5.06s-.466 5.06-1.042 5.06c-.575 0-1.04-2.265-1.04-5.06s.465-5.06 1.04-5.06"})))},{name:"medium",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M3 3v18h18V3zm15 4.26-1 .93a.28.28 0 0 0-.11.27v6.8a.27.27 0 0 0 .11.27l.94.93v.2h-4.75v-.2l1-1c.09-.1.09-.12.09-.27V9.74l-2.71 6.9h-.37L8 9.74v4.62a.67.67 0 0 0 .17.54l1.27 1.54v.2H5.86v-.2l1.27-1.54a.64.64 0 0 0 .17-.54V9a.5.5 0 0 0-.16-.4L6 7.26v-.2h3.52L12.23 13l2.38-5.94H18z"})))},{name:"messenger",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.026.375C5.462.375.375 5.172.375 11.652c0 3.389 1.393 6.318 3.66 8.341.391.352.311.556.377 2.73a.934.934 0 0 0 1.307.823c2.48-1.092 2.512-1.178 2.933-1.064 7.185 1.977 14.973-2.621 14.973-10.83 0-6.48-5.035-11.277-11.599-11.277m6.996 8.678L15.6 14.47a1.75 1.75 0 0 1-2.527.465l-2.723-2.038a.7.7 0 0 0-.844 0l-3.674 2.786c-.49.372-1.133-.216-.802-.735l3.422-5.417a1.75 1.75 0 0 1 2.527-.465l2.722 2.037a.7.7 0 0 0 .844 0L18.22 8.32c.489-.374 1.132.213.801.732"})))},{name:"microblog",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.641 17.086c1.294-1.522 2.067-3.438 2.067-5.521 0-4.957-4.371-8.972-9.763-8.972s-9.763 4.015-9.763 8.972 4.371 8.972 9.763 8.972a10.5 10.5 0 0 0 3.486-.59.315.315 0 0 1 .356.112c.816 1.101 2.09 1.876 3.506 2.191a.194.194 0 0 0 .192-.309 3.82 3.82 0 0 1 .162-4.858zm-3.065-6.575-2.514 1.909.912 3.022a.286.286 0 0 1-.437.317l-2.592-1.802-2.592 1.802a.285.285 0 0 1-.436-.317l.912-3.022-2.515-1.909a.285.285 0 0 1 .167-.513l3.155-.066 1.038-2.981a.285.285 0 0 1 .539 0l1.038 2.981 3.155.066a.285.285 0 0 1 .17.513"})))},{name:"nextdoor",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",strokeMiterlimit:"10",viewBox:"0 0 130 130"},React.createElement("g",null,React.createElement("path",{d:"M64.25 3.531c-31.144.337-57.596 24.22-60.469 55.907-3.064 33.799 21.857 63.685 55.657 66.75s63.685-21.857 66.75-55.657-21.857-63.686-55.657-66.75a62 62 0 0 0-6.281-.25m3.938 34.907C82.468 38.438 93.5 48.58 93.5 61.5v27c0 .685-.565 1.25-1.25 1.25H80.906a1.267 1.267 0 0 1-1.25-1.25V63.375c0-5.58-4.309-11.937-11.469-11.937-7.47 0-11.468 6.357-11.468 11.937V88.5c0 .685-.565 1.25-1.25 1.25H44.125c-.68 0-1.219-.57-1.219-1.25V64.156c0-.74-.529-1.364-1.25-1.531-13.13-2.93-15.115-10.285-15.375-21.125-.005-.332.142-.67.375-.906.233-.237.543-.375.875-.375l11.688.062c.66.01 1.187.529 1.218 1.188.13 4.44.438 9.406 4.438 9.406.83 0 1.443-1.179 1.813-1.719 4.41-6.48 12.28-10.718 21.5-10.718"})))},{name:"patreon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20 7.408c-.003-2.299-1.746-4.182-3.79-4.862-2.54-.844-5.888-.722-8.312.453-2.939 1.425-3.862 4.545-3.896 7.656-.028 2.559.22 9.297 3.92 9.345 2.75.036 3.159-3.603 4.43-5.356.906-1.247 2.071-1.599 3.506-1.963 2.465-.627 4.146-2.626 4.142-5.273"})))},{name:"pinterest-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.289 2C6.617 2 3.606 5.648 3.606 9.622c0 1.846 1.025 4.146 2.666 4.878.25.111.381.063.439-.169.044-.175.267-1.029.365-1.428a.37.37 0 0 0-.091-.362c-.54-.63-.975-1.791-.975-2.873 0-2.777 2.194-5.464 5.933-5.464 3.23 0 5.49 2.108 5.49 5.122 0 3.407-1.794 5.768-4.13 5.768-1.291 0-2.257-1.021-1.948-2.277.372-1.495 1.089-3.112 1.089-4.191 0-.967-.542-1.775-1.663-1.775-1.319 0-2.379 1.309-2.379 3.059 0 1.115.394 1.869.394 1.869s-1.302 5.279-1.54 6.261c-.405 1.666.053 4.368.094 4.604.021.126.167.169.25.063.129-.165 1.699-2.419 2.142-4.051.158-.59.817-2.995.817-2.995.43.784 1.681 1.446 3.013 1.446 3.963 0 6.822-3.494 6.822-7.833C20.394 5.112 16.849 2 12.289 2"})))},{name:"pinterest",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.236 2.636 7.855 6.356 9.312-.087-.791-.166-2.005.035-2.869.182-.78 1.173-4.971 1.173-4.971s-.299-.599-.299-1.484c0-1.39.806-2.429 1.809-2.429.853 0 1.265.641 1.265 1.409 0 .858-.546 2.141-.828 3.329-.236.996.499 1.807 1.481 1.807 1.777 0 3.144-1.874 3.144-4.579 0-2.394-1.72-4.068-4.177-4.068-2.845 0-4.515 2.134-4.515 4.34 0 .859.331 1.781.744 2.282a.3.3 0 0 1 .069.287c-.077.316-.246.995-.279 1.134-.044.183-.145.222-.334.134-1.249-.581-2.03-2.407-2.03-3.874 0-3.154 2.292-6.051 6.607-6.051 3.469 0 6.165 2.472 6.165 5.775 0 3.446-2.173 6.22-5.189 6.22-1.013 0-1.966-.526-2.292-1.148l-.623 2.377c-.226.869-.835 1.957-1.243 2.622.936.289 1.93.445 2.961.445 5.523 0 10-4.477 10-10S17.523 2 12 2"})))},{name:"pocket",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.927 4.194A1.82 1.82 0 0 0 20.222 3H3.839a1.823 1.823 0 0 0-1.813 1.814v6.035l.069 1.2c.29 2.73 1.707 5.115 3.899 6.778l.119.089.025.018a9.9 9.9 0 0 0 3.91 1.727 10.06 10.06 0 0 0 4.049-.014.3.3 0 0 0 .064-.023 9.9 9.9 0 0 0 3.753-1.691l.025-.018q.06-.043.119-.089c2.192-1.664 3.609-4.049 3.898-6.778l.069-1.2V4.814a1.8 1.8 0 0 0-.098-.62m-4.235 6.287-4.704 4.512a1.37 1.37 0 0 1-1.898 0l-4.705-4.512a1.371 1.371 0 1 1 1.898-1.979l3.756 3.601 3.755-3.601a1.372 1.372 0 0 1 1.898 1.979"})))},{name:"polldaddy",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.487 2 2 6.487 2 12c0 5.514 4.487 10 10 10 5.514 0 10-4.486 10-10 0-5.513-4.486-10-10-10m.991 1.68c2.361.084 4.657 1.251 6.197 3.136.283.334.541.693.774 1.067a7.78 7.78 0 0 0-6.094-2.94 7.76 7.76 0 0 0-5.896 2.703q-.008.006-.016.014l-.152.159-.031.032a6.12 6.12 0 0 0-1.633 4.165 6.15 6.15 0 0 0 6.143 6.143c.57 0 1.123-.081 1.649-.227-1.849.839-4.131.747-5.926-.324-1.841-1.089-3.171-3.111-3.433-5.313A7.39 7.39 0 0 1 6.69 6.137C8.294 4.5 10.634 3.563 12.991 3.68m3.373 8.519c-.049-2.024-1.587-3.889-3.544-4.174-1.927-.343-3.917.857-4.451 2.661a3.67 3.67 0 0 0 .2 2.653c.39.8 1.067 1.451 1.894 1.759 1.664.654 3.63-.27 4.173-1.863.593-1.58-.396-3.423-1.94-3.776-1.52-.407-3.161.757-3.204 2.243a2.36 2.36 0 0 0 .753 1.879c.501.476 1.23.667 1.871.529a2.07 2.07 0 0 0 1.469-1.134 1.91 1.91 0 0 0-.087-1.767c-.297-.513-.859-.863-1.429-.881a1.7 1.7 0 0 0-1.437.679 1.53 1.53 0 0 0-.18 1.489q.006.016.016.03c.193.634.774 1.1 1.467 1.117a1.6 1.6 0 0 1-.97-.183c-.466-.244-.809-.747-.893-1.29a1.8 1.8 0 0 1 .499-1.539 2.02 2.02 0 0 1 1.58-.606c.593.04 1.159.35 1.517.859.364.496.51 1.156.383 1.773-.116.62-.529 1.174-1.093 1.514a2.52 2.52 0 0 1-1.914.286c-.65-.161-1.226-.606-1.584-1.206a2.83 2.83 0 0 1-.341-2.031c.143-.7.573-1.321 1.176-1.753 1.193-.883 3.056-.751 4.106.411 1.106 1.1 1.327 3.027.406 4.371-.877 1.376-2.74 2.086-4.374 1.594-1.639-.449-2.913-2.079-3.031-3.853-.07-.884.13-1.797.583-2.577.445-.777 1.155-1.432 1.972-1.862 1.64-.88 3.816-.743 5.349.424 1.251.924 2.083 2.42 2.236 4.009l.001.03c0 2.9-2.359 5.26-5.26 5.26a5.2 5.2 0 0 1-1.947-.376 5 5 0 0 0 2.613-.079 4.96 4.96 0 0 0 2.514-1.751c.618-.828.95-1.861.901-2.869M12 21.113c-5.024 0-9.111-4.087-9.111-9.113 0-4.789 3.713-8.723 8.411-9.081a7 7 0 0 0-.397.06c-2.644.453-5.017 2.106-6.32 4.409-1.309 2.301-1.391 5.19-.3 7.527 1.056 2.34 3.253 4.156 5.776 4.553 2.497.44 5.133-.483 6.787-2.301 1.719-1.797 2.269-4.529 1.486-6.796-.583-1.81-1.976-3.331-3.7-4.046 3.417.594 6.174 3.221 6.174 6.781 0 1.004-.241 2.02-.657 2.966-1.498 2.984-4.586 5.041-8.149 5.041"})))},{name:"print",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M9 16h6v2H9zm13 1h-3v3a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-3H2V9a2 2 0 0 1 2-2h1V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v2h1a2 2 0 0 1 2 2zM7 7h10V5H7zm10 7H7v6h10zm3-3.5a1.5 1.5 0 1 0-3.001.001A1.5 1.5 0 0 0 20 10.5"})))},{name:"quora",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M47.736 16.521c-.41-.81-.898-1.631-1.846-1.631a1 1 0 0 0-.527.107l-.322-.644a2.93 2.93 0 0 1 1.836-.595c1.26 0 1.914.605 2.431 1.397a6.8 6.8 0 0 0 .449-2.675c0-2.773-.869-4.199-2.929-4.199-1.992 0-2.851 1.465-2.851 4.199s.859 4.17 2.851 4.17a4 4 0 0 0 .869-.107zm.498.966a6 6 0 0 1-1.367.185 5.27 5.27 0 0 1-5.263-5.204c0-3.114 2.558-5.233 5.263-5.233s5.282 2.109 5.282 5.233a5.08 5.08 0 0 1-1.992 4.072c.381.566.781.956 1.319.956.595 0 .839-.459.878-.82h.781c.049.488-.195 2.48-2.373 2.48-1.319 0-2.012-.761-2.529-1.66zm5.624-2.646v-3.563c0-.371-.146-.586-.615-.586h-.498v-.956h3.251v5.048c0 .849.459 1.231 1.161 1.231a1.56 1.56 0 0 0 1.465-.839V11.28c0-.371-.146-.586-.615-.586h-.527v-.957h3.28v5.302c0 .527.195.732.8.732h.107v.976l-2.929.468V16.21h-.057a3.12 3.12 0 0 1-2.509 1.152c-1.28 0-2.304-.644-2.304-2.558zm12.059 1.611c1.152 0 1.592-1.005 1.611-3.027.02-1.982-.459-2.929-1.611-2.929-1.005 0-1.641.956-1.641 2.929 0 2.021.625 3.027 1.641 3.027m0 .956a3.906 3.906 0 0 1-3.974-3.974c0-2.334 1.836-3.886 3.974-3.886 2.226 0 4.004 1.582 4.004 3.886a3.867 3.867 0 0 1-4.004 3.974m4.072-.146v-.956h.312c.781 0 .859-.224.859-.908v-4.121c0-.371-.215-.586-.732-.586h-.42v-.955h2.968l.146 1.553h.108c.371-1.113 1.221-1.699 2.051-1.699.693 0 1.221.39 1.221 1.181 0 .547-.264 1.093-1.005 1.093-.664 0-.8-.449-1.358-.449-.488 0-.869.468-.869 1.152v2.783c0 .673.166.908.937.908h.439v.956h-4.658zm9.901-1.093c.956 0 1.338-.898 1.338-1.797v-1.211c-.732.722-2.304.742-2.304 2.021 0 .625.371.986.966.986m1.387 0c-.39.752-1.191 1.26-2.314 1.26-1.309 0-2.148-.732-2.148-1.914 0-2.451 3.417-1.797 4.423-3.427v-.185c0-1.25-.488-1.445-1.035-1.445-1.524 0-.83 1.631-2.226 1.631-.673 0-.937-.371-.937-.859 0-.927 1.093-1.67 3.173-1.67 1.963 0 3.163.537 3.163 2.49v3.114q-.02.742.595.742a1 1 0 0 0 .449-.127l.254.615c-.205.312-.752.869-1.836.869-.908 0-1.465-.42-1.543-1.113h-.01zm-68.554 2.558c-.83-1.641-1.807-3.3-3.711-3.3a2.9 2.9 0 0 0-1.093.215l-.644-1.299a5.66 5.66 0 0 1 3.662-1.211c2.548 0 3.857 1.231 4.892 2.792q.917-2.012.908-5.38c0-5.585-1.748-8.417-5.829-8.417-4.033 0-5.76 2.87-5.76 8.417s1.738 8.397 5.76 8.397a5.9 5.9 0 0 0 1.748-.224zm.996 1.953a9.8 9.8 0 0 1-2.744.371C5.614 21.041.371 16.764.371 10.545.371 4.277 5.614 0 10.965 0c5.448 0 10.642 4.248 10.642 10.545a10.25 10.25 0 0 1-4.013 8.201c.732 1.152 1.563 1.914 2.665 1.914 1.201 0 1.689-.927 1.768-1.66h1.572c.088.966-.4 4.999-4.775 4.999-2.646 0-4.052-1.543-5.106-3.339z"})))},{name:"reddit",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22 11.816a2.28 2.28 0 0 0-2.277-2.277c-.593 0-1.122.24-1.526.614-1.481-.965-3.455-1.594-5.647-1.69l1.171-3.702 3.18.748a1.88 1.88 0 0 0 1.876 1.862 1.88 1.88 0 0 0 1.877-1.878 1.88 1.88 0 0 0-1.877-1.877c-.769 0-1.431.466-1.72 1.13l-3.508-.826a.386.386 0 0 0-.46.261l-1.35 4.268c-2.316.038-4.411.67-5.97 1.671a2.24 2.24 0 0 0-1.492-.581A2.28 2.28 0 0 0 2 11.816c0 .814.433 1.523 1.078 1.925a4 4 0 0 0-.061.672c0 3.292 4.011 5.97 8.941 5.97s8.941-2.678 8.941-5.97q-.002-.32-.053-.632A2.26 2.26 0 0 0 22 11.816m-3.224-7.422a1.1 1.1 0 1 1-.001 2.199 1.1 1.1 0 0 1 .001-2.199M2.777 11.816c0-.827.672-1.5 1.499-1.5.313 0 .598.103.838.269-.851.676-1.477 1.479-1.812 2.36a1.48 1.48 0 0 1-.525-1.129m9.182 7.79c-4.501 0-8.164-2.329-8.164-5.193S7.457 9.22 11.959 9.22s8.164 2.329 8.164 5.193-3.663 5.193-8.164 5.193m8.677-6.605c-.326-.89-.948-1.701-1.797-2.384.248-.186.55-.301.883-.301.827 0 1.5.673 1.5 1.5.001.483-.23.911-.586 1.185m-11.64 1.703c-.76 0-1.397-.616-1.397-1.376s.637-1.397 1.397-1.397 1.376.637 1.376 1.397-.616 1.376-1.376 1.376m7.405-1.376c0 .76-.616 1.376-1.376 1.376s-1.399-.616-1.399-1.376.639-1.397 1.399-1.397 1.376.637 1.376 1.397m-1.172 3.38a.39.39 0 0 1 0 .55c-.674.674-1.727 1.002-3.219 1.002l-.011-.002-.011.002c-1.492 0-2.544-.328-3.218-1.002a.389.389 0 1 1 .55-.55c.521.521 1.394.775 2.669.775l.011.002.011-.002c1.275 0 2.148-.253 2.669-.775a.387.387 0 0 1 .549 0"})))},{name:"share",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18 16c-.788 0-1.499.31-2.034.807L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.048 4.118A3 3 0 0 0 15 19a3 3 0 1 0 3-3"})))},{name:"skype",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m10.113 2.699.1-.02q.05.025.098.051zM2.72 10.223l-.017.103q.025.048.051.095zm18.555 3.548q.009-.053.018-.106-.025-.047-.052-.095zm-7.712 7.428q.049.027.096.053l.105-.017zM22 16.386a5.55 5.55 0 0 1-1.637 3.953 5.55 5.55 0 0 1-3.953 1.637 5.6 5.6 0 0 1-2.75-.725l.105-.017-.202-.035q.049.027.096.053a9.5 9.5 0 0 1-1.654.147 9.4 9.4 0 0 1-3.676-.743 9.4 9.4 0 0 1-3.002-2.023 9.4 9.4 0 0 1-2.023-3.002 9.4 9.4 0 0 1-.743-3.676c0-.546.049-1.093.142-1.628q.025.048.051.095l-.034-.199-.017.103A5.6 5.6 0 0 1 2 7.615c0-1.493.582-2.898 1.637-3.953A5.56 5.56 0 0 1 7.59 2.024c.915 0 1.818.228 2.622.655l-.1.02.199.031q-.049-.026-.098-.051l.004-.001a9.5 9.5 0 0 1 1.788-.169 9.41 9.41 0 0 1 6.678 2.766 9.4 9.4 0 0 1 2.024 3.002 9.4 9.4 0 0 1 .743 3.676c0 .575-.054 1.15-.157 1.712q-.025-.047-.052-.095l.034.201q.009-.053.018-.106c.461.829.707 1.767.707 2.721m-5.183-2.248c0-1.331-.613-2.743-3.033-3.282l-2.209-.49c-.84-.192-1.807-.444-1.807-1.237s.679-1.348 1.903-1.348c2.468 0 2.243 1.696 3.468 1.696.645 0 1.209-.379 1.209-1.031 0-1.521-2.435-2.663-4.5-2.663-2.242 0-4.63.952-4.63 3.488 0 1.221.436 2.521 2.839 3.123l2.984.745c.903.223 1.129.731 1.129 1.189 0 .762-.758 1.507-2.129 1.507-2.679 0-2.307-2.062-3.743-2.062-.645 0-1.113.444-1.113 1.078 0 1.236 1.501 2.886 4.856 2.886 3.195 0 4.776-1.538 4.776-3.599"})))},{name:"sms",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17.696 4C20.069 4 22 5.973 22 8.398v4.357c0 2.04-1.368 3.783-3.261 4.266v4.427l-5.234-4.295h-7.2C3.93 17.153 2 15.18 2 12.755V8.398C2 5.973 3.931 4 6.304 4zM7.028 8.515c-.98 0-1.66.562-1.66 1.349-.009.497.322.91.985 1.178l.39.142c.242.097.305.171.305.297 0 .162-.131.251-.442.251s-.76-.135-1.004-.284l-.112.046-.215.868c.359.258.832.364 1.33.364 1.104 0 1.764-.523 1.764-1.333-.008-.574-.305-.956-.954-1.216l-.393-.146c-.266-.108-.341-.181-.341-.287 0-.152.131-.243.387-.243.274 0 .587.093.808.214l.109-.047.214-.837c-.315-.224-.741-.316-1.171-.316m10.302 0c-.98 0-1.66.562-1.66 1.349-.008.497.322.91.985 1.178l.39.142c.243.097.305.171.305.297 0 .162-.13.251-.442.251-.311 0-.76-.135-1.004-.284l-.112.046-.215.868c.359.258.832.364 1.33.364 1.104 0 1.764-.523 1.764-1.333-.008-.574-.305-.956-.954-1.216l-.393-.146c-.266-.108-.341-.181-.341-.287 0-.152.131-.243.387-.243.274 0 .587.093.808.214l.109-.047.214-.837c-.316-.224-.741-.316-1.171-.316m-3.733 0c-.297 0-.55.066-.78.202l-.144.098a2 2 0 0 0-.264.247l-.078.095-.027-.077c-.15-.34-.55-.565-1.033-.565l-.169.007a1.36 1.36 0 0 0-.896.42l-.08.09-.038-.363-.075-.067H8.994l-.075.079.024.634c.005.2.008.397.008.604v2.652l.075.075h1.178l.075-.075v-2.269q-.002-.168.042-.274c.083-.23.262-.392.496-.392.314 0 .483.267.483.753v2.182l.075.075h1.179l.075-.075v-2.277c0-.097.016-.213.043-.285.077-.224.26-.373.486-.373.33 0 .5.272.5.817v2.118l.074.075h1.179l.075-.075v-2.293c0-1.131-.537-1.763-1.39-1.763Z"})))},{name:"snapchat",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M11.989 1.728c3.221.001 5.904 2.683 5.908 5.912q.002 1.133.067 2.094a.737.737 0 0 0 .902.669l1.009-.237a.6.6 0 0 1 .129-.015c.256 0 .492.175.55.434a.74.74 0 0 1-.479.861l-1.532.618a.823.823 0 0 0-.485.98c1.229 4.543 4.661 4.071 4.661 4.662 0 .743-2.587.848-2.821 1.082s-.01 1.368-.532 1.588a1.1 1.1 0 0 1-.409.056c-.393 0-.95-.077-1.536-.077-.509 0-1.04.058-1.507.273-1.239.572-2.433 1.641-3.914 1.641S9.325 21.2 8.086 20.628c-.467-.216-.998-.273-1.507-.273-.586 0-1.143.077-1.536.077-.17 0-.31-.014-.409-.056-.522-.22-.299-1.354-.532-1.588s-2.821-.337-2.821-1.08c0-.592 3.432-.119 4.661-4.662a.824.824 0 0 0-.486-.98l-1.532-.618a.74.74 0 0 1-.479-.861.56.56 0 0 1 .679-.419l1.009.237q.086.02.169.02a.737.737 0 0 0 .733-.689q.065-.961.067-2.094c.004-3.229 2.666-5.91 5.887-5.912m0-1.281c-.961 0-1.898.194-2.784.574A7.2 7.2 0 0 0 6.93 2.572a7.2 7.2 0 0 0-1.539 2.282A7.1 7.1 0 0 0 4.82 7.64a33 33 0 0 1-.029 1.369l-.375-.088a2 2 0 0 0-.421-.049 1.86 1.86 0 0 0-1.135.389 1.84 1.84 0 0 0-.666 1.049 2.024 2.024 0 0 0 1.271 2.335l1.124.454c-.744 2.285-2.117 2.723-3.041 3.018a5 5 0 0 0-.659.246C.087 16.76 0 17.436 0 17.708c0 .521.247.996.694 1.339.223.17.499.311.844.43.47.162 1.016.265 1.459.347.021.164.053.341.106.518.22.738.684 1.069 1.034 1.217.332.14.676.156.905.156.224 0 .462-.018.713-.036.269-.02.548-.041.823-.041.426 0 .743.051.97.155.311.144.64.337.989.542.972.571 2.073 1.217 3.462 1.217s2.49-.647 3.462-1.217c.349-.205.679-.399.989-.542.226-.105.544-.155.97-.155.275 0 .554.021.823.041.251.019.488.036.713.036.229 0 .573-.016.905-.156.35-.147.814-.478 1.034-1.217.053-.178.084-.354.106-.518.443-.082.989-.185 1.459-.347.345-.119.621-.259.844-.43.448-.342.694-.818.694-1.339 0-.272-.087-.948-.891-1.347a5 5 0 0 0-.659-.246c-.924-.295-2.297-.733-3.041-3.018l1.124-.454a2.025 2.025 0 0 0 1.271-2.335 1.83 1.83 0 0 0-.666-1.049 1.86 1.86 0 0 0-1.556-.34l-.375.088a33 33 0 0 1-.029-1.369 7.1 7.1 0 0 0-.575-2.789c-.365-.853-.886-1.62-1.547-2.282s-1.428-1.182-2.28-1.547a7.1 7.1 0 0 0-2.786-.574"})))},{name:"soundcloud",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M23.587 13.923a3.303 3.303 0 0 1-3.344 3.117h-8.037a.674.674 0 0 1-.667-.67V7.717a.74.74 0 0 1 .444-.705s.739-.512 2.296-.512a5.27 5.27 0 0 1 2.702.742 5.35 5.35 0 0 1 2.516 3.485 3.1 3.1 0 0 1 .852-.116 3.217 3.217 0 0 1 3.237 3.312m-13.05-5.659c.242 2.935.419 5.612 0 8.538a.261.261 0 0 1-.519 0c-.39-2.901-.221-5.628 0-8.538a.26.26 0 0 1 .398-.25.26.26 0 0 1 .12.25zm-1.627 8.541a.273.273 0 0 1-.541 0 32.7 32.7 0 0 1 0-7.533.274.274 0 0 1 .544 0 29.4 29.4 0 0 1-.003 7.533m-1.63-7.788c.264 2.69.384 5.099-.003 7.782a.262.262 0 0 1-.522 0c-.374-2.649-.249-5.127 0-7.782a.264.264 0 0 1 .525 0m-1.631 7.792a.268.268 0 0 1-.532 0 27.6 27.6 0 0 1 0-7.034.27.27 0 1 1 .541 0 25.8 25.8 0 0 1-.01 7.034zm-1.63-5.276c.412 1.824.227 3.435-.015 5.294a.255.255 0 0 1-.504 0c-.22-1.834-.402-3.482-.015-5.295a.268.268 0 0 1 .535 0m-1.626-.277c.378 1.869.254 3.451-.01 5.325-.031.277-.506.28-.531 0-.239-1.846-.352-3.476-.01-5.325a.277.277 0 0 1 .551 0m-1.643.907c.396 1.239.261 2.246-.016 3.517a.258.258 0 0 1-.514 0c-.239-1.246-.336-2.274-.021-3.517a.276.276 0 0 1 .55 0z"})))},{name:"spotify",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("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.424a.62.62 0 0 1-.857.207c-2.348-1.435-5.304-1.76-8.785-.964a.622.622 0 1 1-.277-1.215c3.809-.871 7.077-.496 9.713 1.115a.623.623 0 0 1 .206.857M17.81 13.7a.78.78 0 0 1-1.072.257c-2.687-1.652-6.785-2.131-9.965-1.166A.779.779 0 1 1 6.32 11.3c3.632-1.102 8.147-.568 11.234 1.328a.78.78 0 0 1 .256 1.072m.105-2.835c-3.223-1.914-8.54-2.09-11.618-1.156a.935.935 0 1 1-.542-1.79c3.532-1.072 9.404-.865 13.115 1.338a.936.936 0 1 1-.955 1.608"})))},{name:"squarespace",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.87 9.271a3.86 3.86 0 0 0-5.458 0l-6.141 6.141a.964.964 0 1 0 1.365 1.364l6.14-6.14a1.929 1.929 0 1 1 2.729 2.729l-6.022 6.022a1.93 1.93 0 0 0 2.729 0l4.658-4.658a3.86 3.86 0 0 0 0-5.458m-2.047 2.047a.965.965 0 0 0-1.365 0l-6.14 6.14a1.93 1.93 0 0 1-2.729 0 .964.964 0 1 0-1.364 1.364 3.86 3.86 0 0 0 5.458 0l6.14-6.14a.966.966 0 0 0 0-1.364m-2.047-6.141a3.86 3.86 0 0 0-5.458 0l-6.14 6.14a.964.964 0 1 0 1.364 1.364l6.141-6.14a1.93 1.93 0 0 1 2.729 0 .965.965 0 1 0 1.364-1.364m-2.047 2.047a.964.964 0 0 0-1.364 0l-6.14 6.141a1.929 1.929 0 1 1-2.729-2.729l6.022-6.022a1.93 1.93 0 0 0-2.729 0L3.13 9.271a3.86 3.86 0 0 0 5.458 5.458l6.14-6.141a.963.963 0 0 0 .001-1.364"})))},{name:"stackexchange",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M4 11.606h16v3.272H4zM4 7.377h16v3.272H4zM17.514 3H6.55C5.147 3 4 4.169 4 5.614v.848h16v-.85C20 4.167 18.895 3 17.514 3M4 15.813v.85c0 1.445 1.147 2.614 2.55 2.614h6.799v3.463l3.357-3.463h.744c1.402 0 2.55-1.169 2.55-2.614v-.85z"})))},{name:"stackoverflow",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18.18 20.103V14.78h1.767v7.09H4v-7.09h1.767v5.323z"}),React.createElement("path",{d:"m7.717 14.275 8.673 1.813.367-1.744-8.673-1.813zm1.147-4.13 8.031 3.74.734-1.606-8.031-3.763zm2.226-3.946 6.815 5.667 1.124-1.354-6.815-5.667zM15.495 2l-1.423 1.055 5.277 7.113 1.423-1.055zM7.533 18.314h8.857v-1.767H7.533z"})))},{name:"stumbleupon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 4.294a4.47 4.47 0 0 0-4.471 4.471v6.353a1.059 1.059 0 1 1-2.118 0v-2.824H2v2.941a4.471 4.471 0 0 0 8.942 0v-6.47a1.059 1.059 0 1 1 2.118 0v1.294l1.412.647 2-.647V8.765A4.473 4.473 0 0 0 12 4.294m1.059 8.059v2.882a4.471 4.471 0 0 0 8.941 0v-2.824h-3.412v2.824a1.059 1.059 0 1 1-2.118 0v-2.882l-2 .647z"})))},{name:"substack",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.904 9.182H4.095V7.054h15.81v2.127M4.095 11.109V21L12 16.583 19.905 21v-9.891zM19.905 3H4.095v2.127h15.81z"})))},{name:"telegram",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m3.08 14.757s-.25.625-.936.325l-2.541-1.949-1.63 1.486s-.127.096-.266.036c0 0-.12-.011-.27-.486s-.911-2.972-.911-2.972L6 12.349s-.387-.137-.425-.438c-.037-.3.437-.462.437-.462l10.03-3.934s.824-.362.824.238z"})))},{name:"threads",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 192 192"},React.createElement("g",null,React.createElement("path",{d:"M141.537 88.988a67 67 0 0 0-2.518-1.143c-1.482-27.307-16.403-42.94-41.457-43.1h-.34c-14.986 0-27.449 6.396-35.12 18.036l13.779 9.452c5.73-8.695 14.724-10.548 21.348-10.548h.229c8.249.053 14.474 2.452 18.503 7.129 2.932 3.405 4.893 8.111 5.864 14.05-7.314-1.243-15.224-1.626-23.68-1.14-23.82 1.371-39.134 15.264-38.105 34.568.522 9.792 5.4 18.216 13.735 23.719 7.047 4.652 16.124 6.927 25.557 6.412 12.458-.683 22.231-5.436 29.049-14.127 5.178-6.6 8.453-15.153 9.899-25.93 5.937 3.583 10.337 8.298 12.767 13.966 4.132 9.635 4.373 25.468-8.546 38.376-11.319 11.308-24.925 16.2-45.488 16.351-22.809-.169-40.06-7.484-51.275-21.742C35.236 139.966 29.808 120.682 29.605 96c.203-24.682 5.63-43.966 16.133-57.317C56.954 24.425 74.204 17.11 97.013 16.94c22.975.17 40.526 7.52 52.171 21.847 5.71 7.026 10.015 15.86 12.853 26.162l16.147-4.308c-3.44-12.68-8.853-23.606-16.219-32.668C147.036 9.607 125.202.195 97.07 0h-.113C68.882.194 47.292 9.642 32.788 28.08 19.882 44.485 13.224 67.315 13.001 95.932L13 96v.067c.224 28.617 6.882 51.447 19.788 67.854C47.292 182.358 68.882 191.806 96.957 192h.113c24.96-.173 42.554-6.708 57.048-21.189 18.963-18.945 18.392-42.692 12.142-57.27-4.484-10.454-13.033-18.945-24.723-24.553M98.44 129.507c-10.44.588-21.286-4.098-21.82-14.135-.397-7.442 5.296-15.746 22.461-16.735q2.948-.17 5.79-.169c6.235 0 12.068.606 17.371 1.765-1.978 24.702-13.58 28.713-23.802 29.274"})))},{name:"tiktok-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm7.531 3h2.053s-.114 2.635 2.85 2.82v2.04s-1.582.099-2.85-.87l.021 4.207a3.804 3.804 0 1 1-3.802-3.802h.533v2.082a1.73 1.73 0 0 0-1.922.648 1.727 1.727 0 0 0 1.947 2.646 1.73 1.73 0 0 0 1.19-1.642z"})))},{name:"tiktok",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.22 2h3.42s-.19 4.394 4.75 4.702v3.396s-2.636.166-4.75-1.448l.037 7.012a6.338 6.338 0 1 1-6.34-6.339h.89v3.472a2.882 2.882 0 1 0 2.024 2.752z"})))},{name:"tripadvisor",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.01 9.859c.236-1.002.985-2.003.985-2.003l-3.341-.002C16.779 6.643 14.502 6 11.979 6 9.363 6 7 6.659 5.135 7.877L2 7.88s.74.988.98 1.983a4.98 4.98 0 0 0-.977 2.961 5.01 5.01 0 0 0 5.009 5.003 5 5 0 0 0 3.904-1.875l1.065 1.592 1.076-1.606a4.96 4.96 0 0 0 1.838 1.448 4.98 4.98 0 0 0 3.831.151 5.01 5.01 0 0 0 2.963-6.431 5 5 0 0 0-.679-1.247m-13.998 6.96a4 4 0 0 1-3.998-3.995 4 4 0 0 1 3.998-3.997 4 4 0 0 1 3.996 3.997 4 4 0 0 1-3.996 3.995m4.987-4.36A5.007 5.007 0 0 0 7.11 7.821c1.434-.613 3.081-.947 4.867-.947 1.798 0 3.421.324 4.853.966a4.984 4.984 0 0 0-4.831 4.619m6.288 4.134a3.97 3.97 0 0 1-3.058-.122 3.96 3.96 0 0 1-2.075-2.245v-.001a3.97 3.97 0 0 1 .118-3.056 3.97 3.97 0 0 1 2.246-2.077 4.005 4.005 0 0 1 5.135 2.366 4.006 4.006 0 0 1-2.366 5.135"}),React.createElement("path",{d:"M6.949 10.307a2.477 2.477 0 0 0-2.475 2.472 2.48 2.48 0 0 0 2.475 2.474 2.474 2.474 0 0 0 0-4.946m0 4.094a1.626 1.626 0 0 1-1.624-1.623 1.621 1.621 0 1 1 1.624 1.623M16.981 10.307a2.477 2.477 0 0 0-2.474 2.472 2.48 2.48 0 0 0 2.474 2.474 2.476 2.476 0 0 0 2.472-2.474 2.475 2.475 0 0 0-2.472-2.472m0 4.094a1.625 1.625 0 0 1-1.622-1.623 1.622 1.622 0 1 1 1.622 1.623"}),React.createElement("path",{d:"M7.778 12.778a.832.832 0 1 1-1.664.002.832.832 0 0 1 1.664-.002M16.981 11.947a.832.832 0 1 0 .002 1.666.832.832 0 0 0-.002-1.666"})))},{name:"tumblr-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M16.749 17.396c-.357.17-1.041.319-1.551.332-1.539.041-1.837-1.081-1.85-1.896V9.847h3.861v-2.91h-3.847V2.039h-2.817c-.046 0-.127.041-.138.144-.165 1.499-.867 4.13-3.783 5.181v2.484h1.945v6.282c0 2.151 1.587 5.206 5.775 5.135 1.413-.024 2.982-.616 3.329-1.126z"})))},{name:"tumblr",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-5.569 14.265c-2.446.042-3.372-1.742-3.372-2.998v-3.668H8.923v-1.45c1.703-.614 2.113-2.15 2.209-3.025.007-.06.054-.084.081-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.131 1.081 1.107.298-.008.697-.094.906-.194l.54 1.601c-.205.296-1.121.641-1.946.656"})))},{name:"twitch",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M16.499 8.089h-1.636v4.91h1.636zm-4.499 0h-1.637v4.91H12zM4.228 3.178 3 6.451v13.092h4.499V22h2.456l2.454-2.456h3.681L21 14.636V3.178zm15.136 10.638L16.5 16.681H12l-2.453 2.453V16.68H5.863V4.814h13.501z"})))},{name:"twitter-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22.23 5.924a8.2 8.2 0 0 1-2.357.646 4.12 4.12 0 0 0 1.804-2.27 8.2 8.2 0 0 1-2.606.996 4.103 4.103 0 0 0-6.991 3.742 11.65 11.65 0 0 1-8.457-4.287 4.1 4.1 0 0 0-.556 2.063 4.1 4.1 0 0 0 1.825 3.415 4.1 4.1 0 0 1-1.859-.513v.052a4.104 4.104 0 0 0 3.292 4.023 4.1 4.1 0 0 1-1.853.07 4.11 4.11 0 0 0 3.833 2.85 8.24 8.24 0 0 1-5.096 1.756 8 8 0 0 1-.979-.057 11.6 11.6 0 0 0 6.29 1.843c7.547 0 11.675-6.252 11.675-11.675q0-.267-.012-.531a8.3 8.3 0 0 0 2.047-2.123"})))},{name:"twitter",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-2.534 6.71q.007.148.007.298c0 3.045-2.318 6.556-6.556 6.556a6.5 6.5 0 0 1-3.532-1.035q.27.032.55.032a4.63 4.63 0 0 0 2.862-.986 2.31 2.31 0 0 1-2.152-1.6 2.3 2.3 0 0 0 1.04-.04 2.306 2.306 0 0 1-1.848-2.259v-.029c.311.173.666.276 1.044.288a2.303 2.303 0 0 1-.713-3.076 6.54 6.54 0 0 0 4.749 2.407 2.305 2.305 0 0 1 3.926-2.101 4.6 4.6 0 0 0 1.463-.559 2.3 2.3 0 0 1-1.013 1.275c.466-.056.91-.18 1.323-.363-.31.461-.7.867-1.15 1.192"})))},{name:"untappd",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m11 13.299-5.824 8.133c-.298.416-.8.635-1.308.572-.578-.072-1.374-.289-2.195-.879S.392 19.849.139 19.323a1.4 1.4 0 0 1 .122-1.425l5.824-8.133a3.1 3.1 0 0 1 1.062-.927l1.146-.604c.23-.121.436-.283.608-.478.556-.631 2.049-2.284 4.696-4.957l.046-.212a.13.13 0 0 1 .096-.1l.146-.037a.135.135 0 0 0 .101-.141l-.015-.18a.13.13 0 0 1 .125-.142c.176-.005.518.046 1.001.393s.64.656.692.824a.13.13 0 0 1-.095.164l-.175.044a.13.13 0 0 0-.101.141l.012.15a.13.13 0 0 1-.063.123l-.186.112c-1.679 3.369-2.764 5.316-3.183 6.046a2.2 2.2 0 0 0-.257.73l-.205 1.281A3.1 3.1 0 0 1 11 13.3zm12.739 4.598-5.824-8.133a3.1 3.1 0 0 0-1.062-.927l-1.146-.605a2.1 2.1 0 0 1-.608-.478 51 51 0 0 0-.587-.654.09.09 0 0 0-.142.018 97 97 0 0 1-1.745 3.223 1.4 1.4 0 0 0-.171.485 3.5 3.5 0 0 0 0 1.103l.01.064c.075.471.259.918.536 1.305l5.824 8.133c.296.413.79.635 1.294.574a4.76 4.76 0 0 0 2.209-.881 4.76 4.76 0 0 0 1.533-1.802 1.4 1.4 0 0 0-.122-1.425zM8.306 3.366l.175.044a.134.134 0 0 1 .101.141l-.012.15a.13.13 0 0 0 .063.123l.186.112q.465.933.869 1.721c.026.051.091.06.129.019q.655-.703 1.585-1.668a.137.137 0 0 0 .003-.19c-.315-.322-.645-.659-1.002-1.02l-.046-.212a.13.13 0 0 0-.096-.099l-.146-.037a.135.135 0 0 1-.101-.141l.015-.18a.13.13 0 0 0-.123-.142c-.175-.005-.518.045-1.002.393-.483.347-.64.656-.692.824a.13.13 0 0 0 .095.164z"})))},{name:"vimeo",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22.396 7.164q-.139 3.039-4.245 8.32Q13.907 21 10.97 21q-1.82 0-3.079-3.359l-1.68-6.159q-.934-3.36-2.005-3.36-.234.001-1.634.98l-.978-1.261q1.541-1.353 3.037-2.708 2.056-1.774 3.084-1.869 2.429-.234 2.99 3.321.607 3.836.841 4.769.7 3.181 1.542 3.181.653 0 1.963-2.065 1.307-2.063 1.401-3.142.187-1.781-1.401-1.782-.747.001-1.541.341 1.534-5.024 5.862-4.884 3.21.095 3.024 4.161"})))},{name:"vk",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{fillRule:"evenodd",d:"M1.687 1.687C0 3.374 0 6.09 0 11.52v.96c0 5.431 0 8.146 1.687 9.833S6.09 24 11.52 24h.96c5.431 0 8.146 0 9.833-1.687S24 17.91 24 12.48v-.96c0-5.431 0-8.146-1.687-9.833S17.91 0 12.48 0h-.96C6.09 0 3.374 0 1.687 1.687M4.05 7.3c.13 6.24 3.25 9.99 8.72 9.99h.31v-3.57c2.01.2 3.53 1.67 4.14 3.57h2.84c-.78-2.84-2.83-4.41-4.11-5.01 1.28-.74 3.08-2.54 3.51-4.98h-2.58c-.56 1.98-2.22 3.78-3.8 3.95V7.3H10.5v6.92c-1.6-.4-3.62-2.34-3.71-6.92z"})))},{name:"whatsapp",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m2.048 22 1.406-5.136a9.9 9.9 0 0 1-1.323-4.955C2.133 6.446 6.579 2 12.042 2a9.85 9.85 0 0 1 7.011 2.906 9.85 9.85 0 0 1 2.9 7.011c-.002 5.464-4.448 9.91-9.91 9.91h-.004a9.9 9.9 0 0 1-4.736-1.206zm5.497-3.172.301.179a8.2 8.2 0 0 0 4.193 1.148h.003c4.54 0 8.235-3.695 8.237-8.237a8.2 8.2 0 0 0-2.41-5.828 8.18 8.18 0 0 0-5.824-2.416c-4.544 0-8.239 3.695-8.241 8.237a8.2 8.2 0 0 0 1.259 4.384l.196.312-.832 3.04zm9.49-4.554c-.062-.103-.227-.165-.475-.289s-1.465-.723-1.692-.806-.392-.124-.557.124-.64.806-.784.971-.289.186-.536.062-1.046-.385-1.991-1.229c-.736-.657-1.233-1.468-1.378-1.715s-.015-.382.109-.505c.111-.111.248-.289.371-.434.124-.145.165-.248.248-.413s.041-.31-.021-.434-.557-1.343-.763-1.839c-.202-.483-.407-.417-.559-.425-.144-.007-.31-.009-.475-.009a.9.9 0 0 0-.66.31c-.226.248-.866.847-.866 2.066s.887 2.396 1.011 2.562 1.746 2.666 4.23 3.739c.591.255 1.052.408 1.412.522.593.189 1.133.162 1.56.098.476-.071 1.465-.599 1.671-1.177.206-.58.206-1.075.145-1.179"})))},{name:"woocommerce",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 2H5C3.3 2 2 3.3 2 5v11c0 1.7 1.3 3 3 3h4l6 3-1-3h5c1.7 0 3-1.3 3-3V5c0-1.7-1.3-3-3-3m-1.6 4.5c-.4.8-.8 2.1-1 3.9-.3 1.8-.4 3.1-.3 4.1 0 .3 0 .5-.1.7s-.3.4-.6.4-.6-.1-.9-.4c-1-1-1.8-2.6-2.4-4.6-.7 1.4-1.2 2.4-1.6 3.1-.6 1.2-1.2 1.8-1.6 1.9-.3 0-.5-.2-.8-.7-.5-1.4-1.1-4.2-1.7-8.2 0-.3 0-.5.2-.7.1-.2.4-.3.7-.4.5 0 .9.2.9.8.3 2.3.7 4.2 1.1 5.7l2.4-4.5c.2-.4.4-.6.8-.6q.75 0 .9.9c.3 1.4.6 2.6 1 3.7.3-2.7.8-4.7 1.4-5.9.2-.3.4-.5.7-.5.2 0 .5.1.7.2q.3.3.3.6c0 .3 0 .4-.1.5"})))},{name:"wordpress",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.158 12.786 9.46 20.625a9 9 0 0 0 5.526-.144 1 1 0 0 1-.065-.124zM3.009 12a8.99 8.99 0 0 0 5.067 8.092L3.788 8.341A8.95 8.95 0 0 0 3.009 12m15.06-.454c0-1.112-.399-1.881-.741-2.48-.456-.741-.883-1.368-.883-2.109 0-.826.627-1.596 1.51-1.596q.06.002.116.007A8.96 8.96 0 0 0 12 3.009a8.98 8.98 0 0 0-7.512 4.052c.211.007.41.011.579.011.94 0 2.396-.114 2.396-.114.484-.028.541.684.057.741 0 0-.487.057-1.029.085l3.274 9.739 1.968-5.901-1.401-3.838c-.484-.028-.943-.085-.943-.085-.485-.029-.428-.769.057-.741 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.485-.028.542.684.057.741 0 0-.488.057-1.029.085l3.249 9.665.897-2.996q.684-1.753.684-2.907m1.82-3.86q.06.428.06.924c0 .912-.171 1.938-.684 3.22l-2.746 7.94a8.98 8.98 0 0 0 4.47-7.771 8.9 8.9 0 0 0-1.1-4.313M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"})))},{name:"x",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387z"})))},{name:"xanga",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M9 9h6v6H9zM3 9h6V3H3zm12 0h6V3h-6zm0 12h6v-6h-6zM3 21h6v-6H3z"})))},{name:"youtube",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.8 8.001s-.195-1.378-.795-1.985c-.76-.797-1.613-.801-2.004-.847-2.799-.202-6.997-.202-6.997-.202h-.009s-4.198 0-6.997.202c-.39.047-1.242.051-2.003.847-.6.607-.795 1.985-.795 1.985S2 9.62 2 11.238v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.761.797 1.76.771 2.205.855 1.6.153 6.8.201 6.8.201s4.203-.006 7.001-.209c.391-.047 1.243-.051 2.004-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517c0-1.618-.2-3.237-.2-3.237M9.935 14.594l-.001-5.62 5.404 2.82z"})))}]},49614:(e,t,n)=>{"use strict";n.d(t,{Y:()=>u});var a=n(82674),r=n.n(a),s=n(25162),o=n.n(s),i=n(99196),c=n.n(i),l=n(9839);class u extends i.PureComponent{static defaultProps={size:24};static propTypes={icon:o().string.isRequired,size:o().number,onClick:o().func,className:o().string};render(){const{size:e,onClick:t,icon:n,className:a,...s}=this.props,o=["social-logo","social-logo-"+n,a].filter(Boolean).join(" "),i=l.N.find((e=>e.name===n));if(!i)return c().createElement("svg",r()({height:e,width:e},s));return c().cloneElement(i.svg,{className:o,height:e,width:e,onClick:t,...s})}}},47798:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>C});var a=n(51806),r=n(42290),s=n(55609),o=n(65736),i=n(586),c=n(3639),l=n(92710),u=n(58532),d=n(59756),p=(n(99196),n(54765)),m=n(63634),g=n(72881),A=n(81612),h=n(27298);const __=o.__,E="simplify",f="make-longer",b="make-shorter",v={default:[{name:__("Correct spelling and grammar","jetpack"),key:"correct-spelling",aiSuggestion:m.Hd,icon:i.Z}],"core/paragraph":[{name:__("Simplify","jetpack"),key:E,aiSuggestion:m.hI,icon:c.Z},{name:__("Summarize","jetpack"),key:"summarize",aiSuggestion:m.Lq,icon:l.Z},{name:__("Expand","jetpack"),key:f,aiSuggestion:m.TV,icon:u.Z},{name:__("Make shorter","jetpack"),key:b,aiSuggestion:m.DR,icon:u.Z}],"core/list-item":[{name:__("Simplify","jetpack"),key:E,aiSuggestion:m.hI,icon:c.Z},{name:__("Expand","jetpack"),key:f,aiSuggestion:m.TV,icon:u.Z},{name:__("Make shorter","jetpack"),key:b,aiSuggestion:m.DR,icon:u.Z}],"core/list":p.jz.includes("core/list")?[{name:__("Simplify","jetpack"),key:E,aiSuggestion:m.hI,icon:c.Z},{name:__("Expand","jetpack"),key:f,aiSuggestion:m.TV,icon:u.Z},{name:__("Make shorter","jetpack"),key:b,aiSuggestion:m.DR,icon:u.Z}]:[{name:__("Turn list into a table","jetpack"),key:"turn-into-table",aiSuggestion:m.Gh,icon:d.Z,options:{userPrompt:"make a table from this list, do not enclose the response in a code block"}},{name:__("Write a post from this list","jetpack"),key:"write-post-from-list",aiSuggestion:m.Gh,icon:c.Z,options:{userPrompt:"Write a post based on the list items. Include a title as first order heading and try to use secondary headings for each entry"}}]};function C({blockType:e,disabled:t=!1,onAskAiAssistant:n,onRequestSuggestion:o}){const i=v[e]??[];return(0,a.createElement)(a.Fragment,null,t&&(0,a.createElement)(s.Notice,{status:"warning",isDismissible:!1,className:"jetpack-ai-assistant__info"},__("Add content to activate the tools below","jetpack")),(0,a.createElement)(s.MenuGroup,null,(0,a.createElement)(s.MenuItem,{icon:r.u_,iconPosition:"left",key:"key-ai-assistant",onClick:n,disabled:t},(0,a.createElement)("div",{className:"jetpack-ai-assistant__menu-item"},__("Ask AI Assistant","jetpack"))),[...v.default,...i].map((e=>(0,a.createElement)(s.MenuItem,{icon:e?.icon,iconPosition:"left",key:`key-${e.key}`,onClick:()=>{o(e.aiSuggestion,{...e.options??{}},e.name)},disabled:t},(0,a.createElement)("div",{className:"jetpack-ai-assistant__menu-item"},e.name)))),(0,a.createElement)(h.IP,{onChange:e=>{o(m.Lg,{tone:e},`${h.iQ}: ${(0,g.k)(e)}`)},disabled:t}),(0,a.createElement)(A.xK,{onChange:(e,t)=>{o(m.Nw,{language:e},`${A.aO}: ${t}`)},disabled:t})))}},54458:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var a=n(51806),r=n(42290),s=n(13419),o=n(55609),i=n(9818),c=n(69307),l=n(65736),u=n(51128),d=n.n(u),p=(n(99196),n(49259)),m=n(854),g=n(6747),A=n(47798);const __=l.__,h=d()("jetpack-ai-assistant:dropdown");function E({onClose:e,blockType:t}){const[n,r]=(0,c.useState)(!1),{getSelectedBlockClientIds:o,getBlocksByClientId:l}=(0,i.useSelect)("core/block-editor"),{removeBlocks:u,replaceBlock:d}=(0,i.useDispatch)("core/block-editor");(0,c.useEffect)((()=>{const e=o(),t=l(e),n=(0,m.vL)(t),a=(0,m.t$)(n);return r(!a.length)}),[l,o]);const{tracks:E}=(0,s.z$)();return(0,a.createElement)(A.ZP,{blockType:t,onRequestSuggestion:(n,a={})=>{const r=o(),s=l(r),i=(0,m.vL)(s);e(),h("requestSuggestion",n,a),E.recordEvent("jetpack_editor_ai_assistant_extension_toolbar_button_click",{suggestion:n,block_type:t});const[c]=s,[A,...f]=r,b={...c?.attributes||{},content:i},v=(0,g.b)(t,b),C={clientId:A,type:n,options:{...a,contentType:"generated",fromExtension:!0}};localStorage.setItem((0,p.$M)(v.clientId),JSON.stringify(C)),d(A,v),u(f)},onAskAiAssistant:()=>{const e=o(),n=l(e),a=(0,m.vL)(n),[r,...s]=e,[i]=n,c={...i?.attributes||{},content:a};d(r,(0,g.b)(t,c)),u(s),E.recordEvent("jetpack_ai_assistant_prompt_show",{block_type:t})},disabled:n})}function f({blockType:e,label:t=__("AI Assistant","jetpack")}){const{tracks:n}=(0,s.z$)();return(0,a.createElement)(o.Dropdown,{popoverProps:{variant:"toolbar"},renderToggle:({isOpen:e,onToggle:n})=>(0,a.createElement)(o.ToolbarButton,{className:"jetpack-ai-assistant__button",showTooltip:!0,onClick:n,"aria-haspopup":"true","aria-expanded":e,label:t,icon:r.u_}),onToggle:t=>{t&&n.recordEvent("jetpack_ai_assistant_extension_toolbar_menu_show",{block_type:e})},renderContent:({onClose:t})=>(0,a.createElement)(E,{onClose:t,blockType:e})})}},3180:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(51806),r=n(65736),s=n(26546),o=n(46867);const __=r.__,i=()=>{const e=`${window?.Jetpack_Editor_Initial_State?.adminUrl}admin.php?page=my-jetpack#/connection`,{autosaveAndRedirect:t,isRedirecting:n}=(0,o.Z)(e);return(0,a.createElement)(s.p,{buttonText:__("Reconnect Jetpack","jetpack"),checkoutUrl:e,className:"jetpack-ai-connect-banner",description:__("Your account is not connected to Jetpack at the moment.","jetpack"),goToCheckoutPage:e=>{t(e)},isRedirecting:n,visible:!0,align:null,title:null,context:null})}},87445:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(51806),r=n(6895),s=n(55609),o=n(65736);const __=o.__;const i=function(){const e=(0,r.Z)("jetpack-ai-feedback");return(0,a.createElement)("div",{className:"jetpack-ai-feedback-control"},(0,a.createElement)(s.BaseControl,{label:__("Feedback","jetpack")},(0,a.createElement)("p",null,__("Your feedback is valuable in our commitment to refine and improve this feature.","jetpack")),(0,a.createElement)(s.ExternalLink,{href:e},__("Share your feedback","jetpack"))))}},81612:(e,t,n)=>{"use strict";n.d(t,{QA:()=>g,ZP:()=>h,aO:()=>p,xK:()=>E});var a=n(51806),r=n(13419),s=n(55609),o=n(65736),i=n(61074),c=n(46936),l=n(43618);n(99196);const __=o.__,u=["en","es","fr","de","it","pt","ru","zh","ja","ar","hi","ko"],d=window?.Jetpack_Editor_Initial_State?.siteLocale||navigator?.language,p=__("Translate","jetpack"),m=d?.split("-")[0]||"en",g=(d?.split("-"),{en:{label:__("English","jetpack")},es:{label:__("Spanish","jetpack")},fr:{label:__("French","jetpack")},de:{label:__("German","jetpack")},it:{label:__("Italian","jetpack")},pt:{label:__("Portuguese","jetpack")},ru:{label:__("Russian","jetpack")},zh:{label:__("Chinese","jetpack")},ja:{label:__("Japanese","jetpack")},ar:{label:__("Arabic","jetpack")},hi:{label:__("Hindi","jetpack")},ko:{label:__("Korean","jetpack")}}),A=({value:e,onChange:t})=>{const n=[...u.filter((e=>e!==m))];return u.includes(m)&&n.unshift(m),(0,a.createElement)(s.MenuGroup,{label:__("Select language","jetpack")},n.map((n=>(0,a.createElement)(s.MenuItem,{key:`key-${n}`,onClick:()=>t(n+" ("+g[n].label+")",g[n].label),isSelected:e===n},g[n].label))))};function h({value:e=m,label:t=p,onChange:n,disabled:o=!1}){const{tracks:c}=(0,r.z$)();return o?(0,a.createElement)(s.Tooltip,{text:t},(0,a.createElement)(s.Button,{disabled:!0},(0,a.createElement)(i.Z,{icon:l.Z}))):(0,a.createElement)(s.ToolbarDropdownMenu,{icon:l.Z,label:t,popoverProps:{variant:"toolbar"},onToggle:e=>{e&&c.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"i18n"})}},(()=>(0,a.createElement)(A,{value:e,onChange:n})))}function E({value:e=m,label:t=p,onChange:n,disabled:r=!1}){return(0,a.createElement)(s.DropdownMenu,{className:"ai-assistant__i18n-dropdown",icon:l.Z,label:t,toggleProps:{children:(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",{className:"ai-assistant__i18n-dropdown__toggle-label"},t),(0,a.createElement)(i.Z,{icon:c.Z})),disabled:r}},(({onClose:t})=>(0,a.createElement)(A,{onChange:(...e)=>{n(...e),t()},value:e})))}},24404:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>A});var a=n(51806),r=n(13419),s=n(55609),o=n(65736),i=n(77840);const __=o.__,c="make-longer",l="makeLonger",u="make-shorter",d="makeShorter",p="summarize",m="summarize",g=[{name:__("Summarize","jetpack"),key:p,aiSuggestion:m},{name:__("Make longer","jetpack"),key:c,aiSuggestion:l},{name:__("Make shorter","jetpack"),key:u,aiSuggestion:d}];function A({key:e,label:t=__("Improve","jetpack"),exclude:n=[],onChange:o,disabled:c=!1}){const{tracks:l}=(0,r.z$)();return c?(0,a.createElement)(s.Tooltip,{text:t},(0,a.createElement)(s.Button,{disabled:!0},(0,a.createElement)(s.Icon,{icon:i.Z}))):(0,a.createElement)(s.ToolbarDropdownMenu,{icon:i.Z,label:t,popoverProps:{variant:"toolbar"},onToggle:e=>{e&&l.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"improve"})}},(()=>{const r=g.filter((e=>!n.includes(e.key)));return(0,a.createElement)(s.MenuGroup,{label:t},r.map((t=>(0,a.createElement)(s.MenuItem,{key:`key-${t.key}`,onClick:()=>o(t.aiSuggestion,{contentType:"generated"}),isSelected:e===t.key},t.name))))}))}},85642:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>A});var a=n(51806),r=n(13419),s=n(55609),o=n(65736),i=n(77840),c=n(58532),l=n(586),u=n(3639),d=n(92710),p=n(32677);const __=o.__,m=[{label:__("Post about…","jetpack"),description:{original:"Write a post about ",translated:__("Write a post about ","jetpack")}},{label:__("Informative article on…","jetpack"),description:{original:"Craft an informative article explaining ",translated:__("Craft an informative article explaining ","jetpack")}},{label:__("Step-by-step tutorial on…","jetpack"),description:{original:"Write a step-by-step tutorial on ",translated:__("Write a step-by-step tutorial on ","jetpack")}},{label:__("Motivational post on…","jetpack"),description:{original:"Create a motivational post on ",translated:__("Create a motivational post on ","jetpack")}}],g=[{label:__("Say it differently…","jetpack"),description:{original:"Rewrite it in a way that ",translated:__("Rewrite it in a way that ","jetpack")}},{label:__("Add…","jetpack"),description:{original:"Add more details about ",translated:__("Add more details about ","jetpack")}},{label:__("Remove…","jetpack"),description:{original:"Remove unnecessary details about ",translated:__("Remove unnecessary details about ","jetpack")}}];function A({hasContentBefore:e,hasContent:t,hasPostTitle:n,contentIsLoaded:o,onPromptSelect:A,onSuggestionSelect:h}){const E=__("Write with AI…","jetpack"),{tracks:f}=(0,r.z$)();return(0,a.createElement)(s.ToolbarDropdownMenu,{className:"jetpack-ai-assistant__templates-control",icon:null,label:E,text:E,onToggle:e=>{e&&f.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"write-with-ai"})}},(({onClose:r})=>o?(0,a.createElement)(s.MenuGroup,{label:__("Write…","jetpack")},g.map(((e,t)=>(0,a.createElement)(s.MenuItem,{icon:i.Z,iconPosition:"left",key:`key-${t}`,onClick:()=>{r(),A(e.description)}},e.label)))):(0,a.createElement)(a.Fragment,null,e&&(0,a.createElement)(s.MenuGroup,{label:__("Based on preceding content…","jetpack")},(0,a.createElement)(s.MenuItem,{icon:c.Z,iconPosition:"left",onClick:()=>h("continue")},__("Continue writing","jetpack")),(0,a.createElement)(s.MenuItem,{icon:l.Z,iconPosition:"left",onClick:()=>h("correctSpelling")},__("Correct spelling and grammar","jetpack")),(0,a.createElement)(s.MenuItem,{icon:u.Z,iconPosition:"left",onClick:()=>h("simplify")},__("Simplify","jetpack"))),t&&(0,a.createElement)(s.MenuGroup,{label:__("Based on entire content…","jetpack")},t&&(0,a.createElement)(s.MenuItem,{icon:d.Z,iconPosition:"left",onClick:()=>h("summarize")},__("Summarize","jetpack")),t&&(0,a.createElement)(s.MenuItem,{icon:p.Z,iconPosition:"left",onClick:()=>h("generateTitle")},__("Generate a post title","jetpack"))),(0,a.createElement)(s.MenuGroup,{label:__("Write…","jetpack")},n&&(0,a.createElement)(s.MenuItem,{icon:i.Z,iconPosition:"left",onClick:()=>h("titleSummary")},__("Summary based on title","jetpack")),m.map(((e,t)=>(0,a.createElement)(s.MenuItem,{icon:i.Z,iconPosition:"left",key:`key-${t}`,onClick:()=>{r(),A(e.description)}},e.label)))))))}},27298:(e,t,n)=>{"use strict";n.d(t,{IP:()=>g,Nj:()=>u,ZP:()=>A,bu:()=>p,iQ:()=>d});var a=n(51806),r=n(42290),s=n(13419),o=n(55609),i=n(65736),c=n(46936);n(99196);const __=i.__,l=["formal","informal","optimistic","humorous","serious","skeptical","empathetic","confident","passionate","provocative"],u="formal",d=__("Change tone","jetpack"),p={formal:{label:__("Formal","jetpack"),emoji:"🎩"},informal:{label:__("Informal","jetpack"),emoji:"😊"},optimistic:{label:__("Optimistic","jetpack"),emoji:"😃"},humorous:{label:__("Humorous","jetpack"),emoji:"😂"},serious:{label:__("Serious","jetpack"),emoji:"😐"},skeptical:{label:__("Skeptical","jetpack"),emoji:"🤨"},empathetic:{label:__("Empathetic","jetpack"),emoji:"💗"},confident:{label:__("Confident","jetpack"),emoji:"😎"},passionate:{label:__("Passionate","jetpack"),emoji:"❤️"},provocative:{label:__("Provocative","jetpack"),emoji:"🔥"}},m=({value:e,onChange:t})=>(0,a.createElement)(o.MenuGroup,{label:__("Select tone","jetpack")},l.map((n=>(0,a.createElement)(o.MenuItem,{key:`key-${n}`,onClick:()=>t(n),isSelected:e===n},`${p[n].emoji} ${p[n].label}`))));function g({label:e=d,value:t=u,onChange:n,disabled:s=!1}){return(0,a.createElement)(o.DropdownMenu,{icon:r.v_,label:e,className:"ai-assistant__tone-dropdown",popoverProps:{variant:"toolbar"},toggleProps:{children:(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",{className:"ai-assistant__tone-dropdown__toggle-label"},e),(0,a.createElement)(o.Icon,{icon:c.Z})),disabled:s}},(({onClose:e})=>(0,a.createElement)(m,{value:t,onChange:t=>{n(t),e()}})))}function A({value:e=u,onChange:t,disabled:n=!1}){const{tracks:i}=(0,s.z$)();return n?(0,a.createElement)(o.Tooltip,{text:d},(0,a.createElement)(o.Button,{disabled:!0},(0,a.createElement)(o.Icon,{icon:r.v_}))):(0,a.createElement)(o.ToolbarDropdownMenu,{icon:r.v_,label:d,popoverProps:{variant:"toolbar"},disabled:n,onToggle:e=>{e&&i.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"tone"})}},(()=>(0,a.createElement)(m,{value:e,onChange:t})))}},4965:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var a=n(51806),r=n(52175),s=n(55609),o=n(65736),i=n(79201),c=n(48381),l=n(63634),u=n(81612),d=n(24404),p=n(85642),m=n(27298);const __=o.__,g=({contentIsLoaded:e,getSuggestionFromOpenAI:t,retryRequest:n,handleAcceptContent:o,handleTryAgain:g,showRetry:A,contentBefore:h,hasPostTitle:E,wholeContent:f,setUserPrompt:b,recordEvent:v,isGeneratingTitle:C})=>(0,a.createElement)(a.Fragment,null,(0,a.createElement)(r.BlockControls,null,!A&&(0,a.createElement)(a.Fragment,null,(0,a.createElement)(s.ToolbarGroup,null,(0,a.createElement)(p.ZP,{hasContentBefore:!!h?.length,hasContent:!!f?.length,hasPostTitle:E,contentIsLoaded:e,onPromptSelect:e=>{v("jetpack_editor_ai_assistant_block_toolbar_button_click",{type:"prompt-template",prompt:e.original}),b(e.translated)},onSuggestionSelect:e=>{v("jetpack_editor_ai_assistant_block_toolbar_button_click",{type:"suggestion",suggestion:e}),t(e)}})),(0,a.createElement)(r.BlockControls,{group:"block"},(0,a.createElement)(m.ZP,{value:"neutral",onChange:n=>{v("jetpack_editor_ai_assistant_block_toolbar_button_click",{type:"suggestion",suggestion:l.Lg}),t(l.Lg,{tone:n,contentType:e?"generated":null})},disabled:!e&&!f?.length}),(0,a.createElement)(u.ZP,{value:"en",onChange:n=>{v("jetpack_editor_ai_assistant_block_toolbar_button_click",{type:"suggestion",suggestion:l.Nw}),t(l.Nw,{language:n,contentType:e?"generated":null})},disabled:!e&&!f?.length}),(0,a.createElement)(d.ZP,{onChange:t,exclude:C?["summarize"]:[],disabled:!e}))),(A||g)&&(0,a.createElement)(s.ToolbarGroup,null,!A&&e&&g&&(0,a.createElement)(s.ToolbarButton,{onClick:g},__("Try Again","jetpack")),A&&e&&(0,a.createElement)(s.ToolbarButton,{icon:i.Z,onClick:o},__("Accept","jetpack")),A&&(0,a.createElement)(s.ToolbarButton,{icon:c.Z,onClick:n},__("Retry","jetpack")))))},5246:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var a=n(51806),r=n(6895),s=n(13419),o=n(69307),i=n(65736),c=n(51128),l=n.n(c),u=n(26546),d=n(63206),p=n(18135),m=n(71449),g=n(78595);const __=i.__,A=l()("jetpack-ai-assistant:upgrade-prompt"),h=e=>{const{upgradeType:t}=(0,p.Z)();return"vip"===t?(({description:e=null,useLightNudge:t=!1})=>{const n=t?g.g:u.p,r=(0,o.createInterpolateElement)(__("You've reached the Jetpack AI rate limit. Please reach out to your VIP account team.","jetpack"),{strong:(0,a.createElement)("strong",null)});return(0,a.createElement)(n,{buttonText:null,checkoutUrl:null,className:"jetpack-ai-upgrade-banner",description:e||r,goToCheckoutPage:null,isRedirecting:null,visible:!0,align:null,title:null,context:null})})({description:e.description,useLightNudge:e?.useLightNudge}):(({placement:e=null,description:t=null,useLightNudge:n=!1})=>{const c=n?g.g:u.p,{checkoutUrl:l}=(0,d.Z)(),h=(0,m.d)(),{nextTier:E,tierPlansEnabled:f,currentTier:b,requestsCount:v}=(0,p.Z)(),{tracks:C}=(0,s.z$)(),k=(0,o.useCallback)((()=>{A("upgrade",e),C.recordEvent("jetpack_ai_upgrade_button",{current_tier_slug:b?.slug,requests_count:v,placement:e})}),[b,v,C,e]),y=(0,o.useCallback)((()=>{A("contact us",e),C.recordEvent("jetpack_ai_upgrade_contact_us",{placement:e})}),[C,e]);if(!h){const e=(0,o.createInterpolateElement)(__("Congratulations on exploring Jetpack AI and reaching the free requests limit! Reach out to the site administrator to upgrade and keep using Jetpack AI.","jetpack"),{strong:(0,a.createElement)("strong",null)});return(0,a.createElement)(c,{showButton:!1,className:"jetpack-ai-upgrade-banner",description:t||e,visible:!0,align:null,title:null,context:null})}if(f){if(!E){const e=(0,r.Z)("jetpack-ai-tiers-more-requests-contact"),n=__("You have reached the request limit for your current plan.","jetpack");return(0,a.createElement)(c,{buttonText:__("Contact Us","jetpack"),description:t||n,className:"jetpack-ai-upgrade-banner",checkoutUrl:e,visible:!0,align:null,title:null,context:null,goToCheckoutPage:y,target:"_blank"})}const e=(0,o.createInterpolateElement)((0,i.sprintf)(/* Translators: number of requests */ -__("You have reached the requests limit for your current plan. Upgrade now to increase your requests limit to %d.","jetpack"),E.limit),{strong:(0,a.createElement)("strong",null)});return(0,a.createElement)(c,{buttonText:(0,i.sprintf)(/* Translators: number of requests */ -__("Upgrade to %d requests","jetpack"),E.limit),checkoutUrl:l,className:"jetpack-ai-upgrade-banner",description:t||e,goToCheckoutPage:k,visible:!0,align:"center",title:null,context:null,target:"_blank"})}return(0,a.createElement)(c,{buttonText:"Upgrade",checkoutUrl:l,className:"jetpack-ai-upgrade-banner",description:(0,o.createInterpolateElement)(__("Congratulations on exploring Jetpack AI and reaching the free requests limit! Upgrade now to keep using it.","jetpack"),{strong:(0,a.createElement)("strong",null)}),goToCheckoutPage:k,visible:!0,align:null,title:null,context:null,target:"_blank"})})(e)}},78595:(e,t,n)=>{"use strict";n.d(t,{g:()=>o});var a=n(51806),r=n(55609),s=n(65736);const __=s.__,o=({title:e,description:t,buttonText:n=null,checkoutUrl:s=null,goToCheckoutPage:o=null,isRedirecting:i=!1,showButton:c=!0,target:l="_top"})=>{const u=__("Redirecting…","jetpack");return(0,a.createElement)("div",{className:"jetpack-upgrade-plan-banner-light"},(0,a.createElement)(r.Notice,{status:"error",isDismissible:!1},(0,a.createElement)("p",null,e&&(0,a.createElement)("strong",null,e),t," ",c&&(0,a.createElement)(r.Button,{href:i?null:s,onClick:o,variant:"link",target:l},i?u:n))))}},45624:(e,t,n)=>{"use strict";n.d(t,{Z:()=>j});var a=n(51806),r=n(42290),s=n(13419),o=n(52175),i=n(4981),c=n(55609),l=n(94333),u=n(9818),d=n(69307),p=n(65736),m=n(3228),g=n(84102),A=n(80013),h=n(23795),E=n(3180),f=n(87445),b=n(4965),v=n(5246),C=n(49259),k=n(46448),y=n(63206),B=n(18135),w=n(51337),_=n(71449);const __=p.__,I="post"===window?.Jetpack_Editor_Initial_State?.screenBase;function j({attributes:e,setAttributes:t,clientId:n,isSelected:p}){const[j,x]=(0,d.useState)(null),{tracks:S}=(0,s.z$)(),{getBlock:Q}=(0,u.useSelect)("core/block-editor"),N=(0,d.useRef)(null),R=(0,d.useRef)(null),{replaceBlocks:P,removeBlock:Z}=(0,u.useDispatch)("core/block-editor"),{editPost:T}=(0,u.useDispatch)("core/editor"),{isOverLimit:L,requireUpgrade:M,increaseRequestsCount:D,requestsCount:F,requestsLimit:z,currentTier:O,loading:U}=(0,B.Z)(),H=Math.max(z-F,0),{autosaveAndRedirect:V}=(0,y.Z)(),q=(0,h.U_)(O),G=()=>{setTimeout((()=>{N.current?.focus?.()}),100)},$=()=>{setTimeout((()=>{R.current?.focus?.()}),100)},W=(0,l.useViewportMatch)("medium","<"),J=(0,d.useRef)(null),{getSuggestionFromOpenAI:Y,stopSuggestion:K,showRetry:X,contentBefore:ee,postTitle:te,retryRequest:ne,wholeContent:ae,requestingState:re,error:se}=(0,k.Z)({onSuggestionDone:(0,d.useCallback)((()=>{G(),D()}),[D]),onUnclearPrompt:(0,d.useCallback)((()=>{$(),D()}),[D]),onModeration:G,attributes:e,clientId:n,content:e.content,tracks:S,userPrompt:e.userPrompt,requireUpgrade:M,initialRequestingState:e.requestingState,contentRef:J,blockRef:R}),oe="requesting"===re,ie=["requesting","suggesting"].includes(re),ce=(0,_.b)(),{productPageUrl:le}=(0,w.Z)(),ue=(0,C.$M)(n);(0,d.useEffect)((()=>{if(!ue)return;const e=JSON.parse(localStorage.getItem(ue));if(!e)return;const{type:t,options:n}=e;localStorage.removeItem(ue),Y(t,n)}),[ue,Y]),(0,d.useEffect)((()=>{se&&x(!1)}),[se]),(0,d.useEffect)((()=>{["init","done"].includes(re)&&t({requestingState:re})}),[re,t]);const de=!!e.content,pe="generateTitle"===e.promptType,me=__("Accept","jetpack"),ge=__("Accept title","jetpack"),Ae=pe?ge:me,he=async()=>{let t=[],a=(0,r.LB)({content:e.content||""});if(a?.split("\n").length>1&&a?.split("\n")?.[0]?.match(/^

    .*<\/h1>$/)&&!te){const e=a.split("\n"),t=e.shift();a=e.join("\n"),T({title:t.replace(/<[^>]*>/g,"")})}t=(0,i.rawHandler)({HTML:a}),await P(n,t);const s=(e=>{let t=null;return e.forEach((e=>{const n=document.querySelector(`.wp-block[data-block="${e.clientId}"]`);if(!n)return;"true"===n.contentEditable&&(t=n);const a=n.querySelectorAll("[contenteditable=true]");t=a.length?a[a.length-1]:t})),t})(t);s&&(e=>{const t=window.getSelection();t.selectAllChildren(e),t.collapseToEnd(),e.focus()})(s)},Ee=()=>{he(),S.recordEvent("jetpack_ai_assistant_block_accept",{feature:"ai-assistant"})},fe=()=>{I?(T({title:e.content?e.content.trim():""}),Z(n),S.recordEvent("jetpack_ai_assistant_block_accept",{feature:"ai-assistant"})):Ee()},be=()=>{K(),G(),S.recordEvent("jetpack_ai_assistant_block_stop",{feature:"ai-assistant"})},ve=(0,o.useBlockProps)({ref:R,className:(0,m.Z)({"is-waiting-response":oe})}),Ce=__("Ask Jetpack AI…","jetpack"),ke=__("Write about… Make a table for…","jetpack"),ye=(0,a.createElement)(a.Fragment,null,L&&p&&(0,a.createElement)(v.Z,{placement:"ai-assistant-block"}),!ce&&(0,a.createElement)(E.Z,null)),Be=(0,a.createElement)(a.Fragment,null,se?.message&&!j&&"error_quota_exceeded"!==se?.code&&(0,a.createElement)(c.Notice,{status:se.status,isDismissible:!1,className:"jetpack-ai-assistant__error"},se.message)),we=(0,d.useCallback)((e=>{e.preventDefault(),S.recordEvent("jetpack_ai_upgrade_button",{current_tier_slug:O?.slug,requests_count:F,placement:"jetpack_ai_assistant_block"}),V(e)}),[S,O,F,V]);return(0,a.createElement)(c.KeyboardShortcuts,{bindGlobal:!0,shortcuts:{esc:()=>{["requesting","suggesting"].includes(re)&&be()}}},(0,a.createElement)("div",ve,de&&(0,a.createElement)("div",{ref:J,className:"jetpack-ai-assistant__content"},(0,a.createElement)(d.RawHTML,null,(0,r.LB)({content:e.content||""}))),(0,a.createElement)(o.InspectorControls,null,(0,a.createElement)("div",{className:"block-editor-block-card",style:{paddingTop:0}},(0,a.createElement)("span",{className:"block-editor-block-icon"}),(0,a.createElement)(c.ExternalLink,{href:le},__("Discover all features","jetpack"))),(0,a.createElement)(c.PanelBody,{initialOpen:!0},(0,a.createElement)(c.PanelRow,null,(0,a.createElement)(g.Z,{placement:A.I}))),(0,a.createElement)(c.PanelBody,{initialOpen:!0},(0,a.createElement)(c.PanelRow,null,(0,a.createElement)(f.Z,null)))),!ie&&ce&&!M&&(0,a.createElement)(b.Z,{isWaitingState:ie,contentIsLoaded:de,getSuggestionFromOpenAI:Y,retryRequest:ne,handleAcceptContent:Ee,handleAcceptTitle:fe,handleTryAgain:null,showRetry:X,contentBefore:ee,hasPostTitle:!!te?.length,wholeContent:ae,promptType:e.promptType,setUserPrompt:e=>{if(!N?.current)return;N.current.focus(),t({userPrompt:e})},recordEvent:S.recordEvent,isGeneratingTitle:pe}),(0,a.createElement)(r.MW,{ref:N,disabled:M||!ce,value:e.userPrompt,placeholder:e?.content?Ce:ke,onChange:e=>{x(!0),t({userPrompt:e})},onSend:()=>{((...e)=>{Y(...e),$()})("userPrompt"),S.recordEvent("jetpack_ai_assistant_block_generate",{feature:"ai-assistant"})},onStop:be,onAccept:()=>{pe?fe():Ee()},onDiscard:()=>{const a=e?.content===Q(n).attributes?.content;t({content:e?.originalContent,promptType:void 0,messages:e?.originalMessages}),he(),a?S.recordEvent("jetpack_ai_assistant_block_dismiss"):S.recordEvent("jetpack_ai_assistant_block_discard",{feature:"ai-assistant"})},state:re,isTransparent:M||!ce,showButtonLabels:!W,showAccept:"init"!==re&&de&&!ie,acceptLabel:Ae,showGuideLine:de,showRemove:e?.content?.length>0,banner:ye,error:Be,customFooter:H%5!=0&&1!==F||U||q!==h._5?null:(0,a.createElement)(r.xi,{requestsRemaining:H,onUpgradeClick:we})})))}},27559:(e,t,n)=>{"use strict";var a=n(31985),r=n(23536),s=n(45624),o=n(6747);n(81765),n(54765),n(94662),n(21715);(0,a.S)(r,{edit:s.Z,save:()=>null,transforms:o.Z})},54765:(e,t,n)=>{"use strict";n.d(t,{J7:()=>h,Ri:()=>g,hI:()=>l,jz:()=>A,kI:()=>m,nB:()=>p,sr:()=>u});var a=n(4981),r=n(9818),s=n(92694),o=n(23536),i=n(71449),c=n(28788);const l="ai-assistant-extensions-support",u=(0,c.$)("ai-assistant-support"),d=(0,c.$)(l),p=["jetpack/field-name","jetpack/field-email","jetpack/field-text","jetpack/field-textarea","jetpack/field-checkbox","jetpack/field-date","jetpack/field-telephone","jetpack/field-url","jetpack/field-checkbox-multiple","jetpack/field-radio","jetpack/field-select","jetpack/field-consent","jetpack/button"],m=["core/paragraph","core/list","core/heading","jetpack/contact-form",...p];let g=[...m];const A=[];function h(){if(!(0,a.getBlockType)(o.name))return!1;if(!u)return!1;if(!(0,i.b)())return!1;const{errorCode:e}=(0,r.select)("wordpress-com/plans")?.getAiAssistantFeature?.()||{};if(e)return!1;const{getHiddenBlockTypes:t}=(0,r.select)("core/edit-post")||{};return!(t?.()||[]).includes(o.name)}["core/heading","core/paragraph","core/list-item","core/list","jetpack/contact-form",...p].forEach((e=>{A.push(e),g=g.filter((t=>t!==e))})),[].forEach((e=>{d&&(A.push(e),g=g.filter((t=>t!==e)))})),(0,s.addFilter)("blocks.registerBlockType","jetpack/ai-assistant-support",(function(e,t){return g.includes(t)?["jetpack/contact-form",...p].includes(t)?e:h()?{...e,supports:{...e.supports,"jetpack/ai":{assistant:!0}}}:e:e}),100)},49259:(e,t,n)=>{"use strict";n.d(t,{$M:()=>i,ZP:()=>c});var a=n(51806),r=n(52175),s=n(94333),o=(n(99196),n(54458));function i(e){return`ai-assistant-block-${e}`}const c=(0,s.createHigherOrderComponent)((e=>t=>{const{name:n}=t;return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(e,t),(0,a.createElement)(r.BlockControls,{group:"block"},(0,a.createElement)(o.Z,{blockType:n})))}),"withAIAssistant")},79191:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var a=n(51806),r=n(42290),s=n(13419),o=n(4981),i=n(55609),c=n(94333),l=n(9818),u=n(69307),d=n(65736),p=n(53961),m=n(3228),g=(n(99196),n(3180)),A=n(5246),h=n(18135),E=n(71449),f=n(63634),b=n(79817),v=n(44110);const __=d.__,C={huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480};function k(e){if(!e?.length)return"";const t=(0,l.select)("core/block-editor").getBlock(e);if(!t)return"";const{innerBlocks:n}=t;return n?.length?n.reduce(((e,t)=>e+(0,o.serialize)(t)+"\n\n"),""):""}function y({clientId:e,className:t=""}){const n=(0,u.useRef)(null),o=(0,u.useRef)(null),{tracks:d}=(0,s.z$)(),y=(0,E.b)(),{inputValue:B,setInputValue:w,isVisible:_,assistantAnchor:I}=(0,u.useContext)(b.D),{dequeueAiAssistantFeatureAsyncRequest:j}=(0,l.useDispatch)("wordpress-com/plans"),x=()=>{setTimeout((()=>{o.current?.focus?.()}),100)},{requestSuggestion:S,requestingState:Q,stopSuggestion:N,requestingError:R}=(0,r.X_)({onDone:x}),{requireUpgrade:P}=(0,h.Z)(),Z=R?.code===r.$L||P,T="requesting"===Q||"suggesting"===Q,L="suggesting"===Q||"done"===Q,M=__("Ask Jetpack AI to create your form","jetpack"),D=__("Creating your form. Please wait a few moments.","jetpack"),{removeNotice:F}=(0,l.useDispatch)(p.store),z=(0,u.useCallback)((()=>{if(!B?.length)return;F(v.uu);const t=(0,f.KR)({request:B,content:k(e)});j(),S(t,{feature:"jetpack-form-ai-extension"}),d.recordEvent("jetpack_ai_assistant_block_generate",{feature:"jetpack-form-ai-extension"}),n?.current?.focus()}),[e,j,B,F,S,d]),O=(0,u.useCallback)((()=>{N(),x(),d.recordEvent("jetpack_ai_assistant_block_stop",{feature:"jetpack-form-ai-extension"})}),[N,d]),U=(0,c.useViewportMatch)("medium","<"),H=U&&I,V=(0,u.useRef)(null),q=(0,u.useRef)(U),[G,$]=(0,u.useState)(U);if((0,u.useEffect)((()=>{const e=n?.current;if(e)return V?.current||(V.current=new ResizeObserver((e=>{if(!_)return;if(H)return;const t=e[0].contentRect.width{V?.current?.disconnect()}}),[H,_]),(0,u.useEffect)((()=>{_&&d.recordEvent("jetpack_ai_assistant_prompt_show",{block_type:"jetpack/contact-form"})}),[_,d]),(0,u.useEffect)((()=>{const e=setTimeout((()=>{_&&o?.current&&o.current.focus()}),300);return function(){clearTimeout(e)}}),[]),!_)return null;const W=(0,a.createElement)("div",{className:"jetpack-ai-assistant__bar-wrapper"},(0,a.createElement)(i.KeyboardShortcuts,{bindGlobal:!0,shortcuts:{esc:()=>{["requesting","suggesting"].includes(Q)&&O()}}},(0,a.createElement)("div",{ref:n,className:(0,m.Z)("jetpack-ai-assistant__bar",{[t]:t,"is-fixed":H,"is-mobile-mode":G}),tabIndex:-1},Z&&(0,a.createElement)(A.Z,{placement:"jetpack-form-block"}),!y&&(0,a.createElement)(g.Z,null),(0,a.createElement)(r.MW,{ref:o,disabled:Z||!y,value:B,placeholder:T?D:M,onChange:w,onSend:z,onStop:O,state:Q,isTransparent:Z||!y,showButtonLabels:!G,showGuideLine:L}))));return H?(0,u.createPortal)(W,I):W}},81732:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var a=n(51806),r=n(42290),s=n(55609),o=n(94333),i=n(69307),c=n(65736),l=n(79817),u=n(44110);const __=c.__,d="jetpack-ai-assistant-bar__slot";function p({jetpackFormClientId:e}){const{isVisible:t,toggle:n,setAnchor:c,assistantAnchor:p}=(0,i.useContext)(l.D),{requestingState:m}=(0,r.X_)(),g=(0,i.useRef)(null),A=(0,o.useViewportMatch)("medium","<");(0,i.useEffect)((()=>{if(!g.current)return;const e=g.current.closest(".block-editor-block-contextual-toolbar");if(!e)return;let t=e.parentElement?.querySelector(`.${d}`);if(t)return e.after(t),c(t);t=document.createElement("div"),t.setAttribute("role","toolbar"),t.setAttribute("aria-label",__("AI Assistant","jetpack")),t.setAttribute("aria-orientation","horizontal"),t.className=d;const n=e.offsetHeight;t.style.top=`${n}px`,e.after(t),c(t)}),[c]),(0,i.useEffect)((()=>{A||p?.remove()}),[A,p]);const h=(0,i.useCallback)((()=>{if(!e)return n();(0,u.Vl)(e,n)}),[e,n]),E="requesting"===m||"suggesting"===m;return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(s.KeyboardShortcuts,{bindGlobal:!0,shortcuts:{"mod+/":n}}),(0,a.createElement)(s.ToolbarButton,{ref:g,showTooltip:!0,onClick:h,"aria-haspopup":"true","aria-expanded":t,label:__("Ask AI Assistant","jetpack"),icon:r.u_,disabled:E}))}},59090:(e,t,n)=>{"use strict";n.d(t,{aE:()=>a,nB:()=>r});const a=window?.Jetpack_Editor_Initial_State?.available_blocks?.["ai-assistant-form-support"]?.available,r=["jetpack/field-name","jetpack/field-email","jetpack/field-text","jetpack/field-textarea","jetpack/field-checkbox","jetpack/field-date","jetpack/field-telephone","jetpack/field-url","jetpack/field-checkbox-multiple","jetpack/field-radio","jetpack/field-select","jetpack/field-consent","jetpack/button"]},94662:(e,t,n)=>{"use strict";n.d(t,{G:()=>f});var a=n(51806),r=n(42290),s=n(13419),o=n(52175),i=n(4981),c=n(94333),l=n(9818),u=n(69307),d=n(92694),p=(n(99196),n(28788)),m=n(54765),g=n(79191),A=n(81732),h=n(59090),E=n(44110);function f(e,{checkChildrenBlocks:t=!1,clientId:n}={clientId:""}){const a=(0,i.getBlockType)("jetpack/ai-assistant"),{isModuleActive:r}=(0,s.el)("contact-form");if(!r)return!1;if(!a)return!1;if("string"!=typeof e)return!1;if(!m.Ri.includes(e))return!1;if(!h.aE)return!1;if(!n?.length)return!1;if(t){if(!h.nB.includes(e))return!1}else if("jetpack/contact-form"!==e)return!1;const{getHiddenBlockTypes:o}=(0,l.select)("core/edit-post")||{};return!(o?.()||[]).includes("jetpack/ai-assistant")}const b=(0,c.createHigherOrderComponent)((e=>t=>{const n=f(t?.name,{clientId:t.clientId}),{increaseAiAssistantRequestsCount:s}=(0,l.useDispatch)("wordpress-com/plans"),{eventSource:i}=(0,r.X_)({onDone:(0,u.useCallback)((()=>{s()}),[s]),onError:(0,u.useCallback)((e=>{"error_network"!==e.code&&"error_quota_exceeded"!==e.code&&s()}),[s])}),c=(0,u.useCallback)((()=>{i&&i?.close()}),[i]);if((0,u.useEffect)((()=>()=>{"jetpack/contact-form"===t?.name&&c()}),[c,t?.name]),!n)return(0,a.createElement)(e,t);return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(e,t),(0,a.createElement)(g.Z,{clientId:t.clientId}),(0,a.createElement)(o.BlockControls,{group:"block"},(0,a.createElement)(A.Z,null)))}),"jetpackFormEditWithAiComponents");(0,d.addFilter)("blocks.registerBlockType","jetpack/ai-assistant-support",(function(e,t){return"jetpack/contact-form"!==t?e:m.Ri.includes(t)?(0,p.$)(m.hI)?e:{...e,edit:(0,r.oN)((0,E.ZP)(b(e.edit)))}:e}),100);const v=(0,c.createHigherOrderComponent)((e=>t=>{const n=(0,l.useSelect)((e=>{const n=e("core/block-editor"),{getBlockParentsByBlockName:a}=n;return a(t.clientId,"jetpack/contact-form")?.[0]}),[t.clientId]);if(!f(t?.name,{checkChildrenBlocks:!0,clientId:n}))return(0,a.createElement)(e,t);return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(e,t),(0,a.createElement)(o.BlockControls,{group:"parent"},(0,a.createElement)(A.Z,{jetpackFormClientId:n})))}),"jetpackFormChildrenEditWithAiComponents");(0,d.addFilter)("blocks.registerBlockType","jetpack/ai-assistant-support",(function(e,t){return m.Ri.includes(t)&&h.nB.includes(t)?(0,p.$)(m.hI)?e:{...e,edit:v(e.edit)}:e}))},79817:(e,t,n)=>{"use strict";n.d(t,{D:()=>s,v:()=>o});var a=n(51806),r=n(69307);const s=(0,r.createContext)({}),o=({value:e,children:t})=>(0,a.createElement)(s.Provider,{value:e,children:t})},44110:(e,t,n)=>{"use strict";n.d(t,{Vl:()=>E,ZP:()=>f,uu:()=>h});var a=n(51806),r=n(42290),s=n(4981),o=n(55609),i=n(94333),c=n(9818),l=n(69307),u=n(65736),d=n(53961),p=n(94662),m=n(5863),g=n(56359),A=n(79817);const __=u.__,h="ai-assistant";function E(e,t){(0,c.dispatch)("core/block-editor").selectBlock(e),t?.()}const f=(0,i.createHigherOrderComponent)((e=>t=>{const{clientId:n,isSelected:i}=t,{replaceInnerBlocks:u}=(0,c.useDispatch)("core/block-editor"),f=(0,c.useSelect)((e=>e("core/editor")),[]),b=(0,c.useSelect)((e=>e("core/block-editor")),[]),v=f.getCurrentPostId(),C=b.getBlock(n),[k,y]=(0,l.useState)(""),B="jetpack/contact-form"===C?.name&&0===C?.innerBlocks?.length,[w,_]=(0,l.useState)(B),[I,j]=(0,l.useState)(!1),[x,S]=(0,l.useState)(null),Q=(0,l.useRef)([]),N=(0,l.useCallback)((()=>{_(!0)}),[]),R=(0,l.useCallback)((()=>{_(!1)}),[]),P=(0,l.useCallback)((()=>{_(!w)}),[w]),Z=(0,l.useCallback)((e=>{S(e)}),[]),{createNotice:T}=(0,c.useDispatch)(d.store),L=(0,l.useCallback)((({severity:e,message:t,code:n})=>{n!==r.$L&&T(e,t,{isDismissible:!0,id:h})}),[T]);(0,l.useEffect)((()=>{i||R()}),[i,R]);const M=(0,l.useMemo)((()=>({inputValue:k,setInputValue:y,isVisible:w,show:N,hide:R,toggle:P,isFixed:I,setAssistantFixed:j,assistantAnchor:x,setAnchor:Z})),[k,w,N,R,P,I,x,Z]),D=(0,l.useCallback)(((e,t=!1)=>{const a=e.replace(//g,""),r=(0,g.J)(a),o=(0,s.parse)(r).filter((e=>e.isValid&&!["core/freeform","core/missing","core/html"].includes(e.name)));let i=!1;if(o.length0){const e=o[o.length-1],t=Q.current[o.length-1];i=!(0,m.c)(e,t)}if(o.length>0&&(o.length!==Q.current.length||i)&&(u(n,o),Q.current=o),t){const e=o.filter((e=>"jetpack/button"===e.name));if(Q.current=Q.current||[],e.length>1){let t=0;Q.current=Q.current.filter((n=>"jetpack/button"!==n.name||(t++,t===e.length))),u(n,Q.current)}else 0===e.length&&u(n,[...Q.current,(0,s.createBlock)("jetpack/button",{label:__("Submit","jetpack"),element:"button",text:__("Submit","jetpack"),borderRadius:8,lock:{remove:!0}})]);Q.current=[]}}),[n,u]);return(0,r.X_)({askQuestionOptions:{postId:v},onDone:e=>{D(e,!0),y("")},onSuggestion:D,onError:L}),(0,p.G)(t.name,{clientId:t.clientId})?(0,a.createElement)(A.v,{value:M},(0,a.createElement)(o.KeyboardShortcuts,{shortcuts:{"mod+/":()=>E(n,N)}},(0,a.createElement)(e,t))):(0,a.createElement)(e,t)}),"withUiHandlerDataProvider")},46448:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var a=n(42290),r=n(9818),s=n(69307),o=n(51128),i=n.n(o),c=n(27298),l=n(63634),u=n(854),d=n(80609);const p=i()("jetpack-ai-assistant:error"),m=({attributes:e,clientId:t,content:n,tracks:o,userPrompt:i,onSuggestionDone:m,onUnclearPrompt:g,onModeration:A,requireUpgrade:h,initialRequestingState:E,contentRef:f,blockRef:b})=>{const[v,C]=(0,s.useState)(!1),[k,y]=(0,s.useState)(""),{updateBlockAttributes:B}=(0,r.useDispatch)("core/block-editor"),{dequeueAiAssistantFeatureAsyncRequest:w,setAiAssistantFeatureRequireUpgrade:_}=(0,r.useDispatch)("wordpress-com/plans"),{snapToBottom:I,enableAutoScroll:j,disableAutoScroll:x}=(0,d.Z)(b,f),S=(0,r.useSelect)((e=>e("core/editor").getEditedPostAttribute("title"))),Q=(0,r.useSelect)((e=>e("core/editor").getCurrentPostId())),N=(0,s.useRef)([]),R=(0,s.useRef)(),{request:P,stopSuggestion:Z,handleErrorQuotaExceededError:T,requestingState:L,error:M}=(0,a.pw)({onSuggestion:e=>{B(t,{content:e?.replaceAll(l._W,"")}),I()},onDone:e=>{const n=e.replaceAll(l._W,""),a={role:"assistant",content:n};N.current.push(R.current,a),N.current.length>20&&N.current.splice(0,N.current.length-20),B(t,{content:n,messages:N.current}),I(),x(),m?.()},onStop:()=>{I(),x(),m?.()},onError:e=>{switch(e?.code){case a.cv:C(!1);break;case a.q4:C(!1),A?.();break;case a.co:case a.$u:C(!0);break;case a.$L:C(!1),_(!0);break;case a.bC:g?.()}},onAllErrors:e=>{p(e)},initialRequestingState:E,askQuestionOptions:{postId:Q,feature:"ai-assistant",functions:{}}}),D=["requesting","suggesting"].includes(L),F=async(a,r={})=>{if(w(),h)return T(),void C(!1);if(r={retryRequest:!1,tone:c.Nj,...r},D)return;C(!1);let s=k;if(o.recordEvent("jetpack_ai_chat_completion",{post_id:Q}),N.current=[...e.messages]??[],R.current={},r.retryRequest)R.current=s[s.length-1];else{const o=e?.isLayoutBuldingModeEnable?(0,u.WN)(t):(0,u.xN)();s=(0,l.Iq)({generatedContent:n,allPostContent:o,postContentAbove:(0,u.h7)(t),currentPostTitle:S,options:r,userPrompt:r?.userPrompt||i,type:a,isGeneratingTitle:"generateTitle"===e.promptType}),R.current=s.pop(),s=[...s,...N.current],s.push(R.current),y(s),"generateTitle"!==e.promptType&&B(t,{promptType:a})}try{j(),await P(s)}catch(e){p(e),C(!0),x()}};return{setShowRetry:C,showRetry:v,postTitle:S,contentBefore:(0,u.h7)(t),wholeContent:(0,u.xN)(),requestingState:L,error:M,getSuggestionFromOpenAI:F,stopSuggestion:Z,retryRequest:()=>F("",{retryRequest:!0})}}},63206:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(6895),r=n(13419),s=n(46867),o=n(18135);const i=()=>{const e=new URLSearchParams(window.location.search),t=(0,r.lQ)();return(0,r.Wp)()&&e.has("post")?`https://wordpress.com/post/${t}/${e.get("post")}`:`https://wordpress.com/home/${t}`};function c(){const{nextTier:e,tierPlansEnabled:t}=(0,o.Z)(),n=i(),c=t?(0,a.Z)("jetpack-ai-yearly-tier-upgrade-nudge",{site:(0,r.lQ)(),path:`jetpack_ai_yearly:-q-${e?.limit}`,query:`redirect_to=${encodeURIComponent(n)}`}):(0,a.Z)("jetpack-ai-monthly-plan-ai-assistant-block-banner",{site:(0,r.lQ)()}),l=(0,r.Ug)()||(0,r.Wp)()?c:`${window?.Jetpack_Editor_Initial_State?.adminUrl}admin.php?redirect_to_referrer=1&page=my-jetpack#/add-jetpack-ai`,{autosaveAndRedirect:u,isRedirecting:d}=(0,s.Z)(l);return{checkoutUrl:l,autosaveAndRedirect:u,isRedirecting:d}}},18135:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(9818),r=n(23795);function s(){const{data:e,loading:t,requestsLimit:n,requestsCount:s}=(0,a.useSelect)((e=>{const{getAiAssistantFeature:t,getIsRequestingAiAssistantFeature:n}=e("wordpress-com/plans"),a=t(),{currentTier:s,usagePeriod:o,requestsCount:i,requestsLimit:c}=a,l=(0,r.U_)(s),u=l===r.dt?o?.requestsCount:i,d=l===r._5?c:s?.limit;return{data:a,loading:n(),requestsCount:u,requestsLimit:d}}),[]),{fetchAiAssistantFeature:o,increaseAiAssistantRequestsCount:i,dequeueAiAssistantFeatureAsyncRequest:c}=(0,a.useDispatch)("wordpress-com/plans");return{...e,requestsCount:s,requestsLimit:n,loading:t,error:null,refresh:o,increaseRequestsCount:i,dequeueAsyncRequest:c}}},51337:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(6895),r=n(13419),s=n(46867);function o(){const e=(0,r.Pb)()?.jetpack?.is_my_jetpack_available,t=e?`${(0,r.Pb)()?.adminUrl||""}admin.php?page=my-jetpack#/jetpack-ai`:(0,a.Z)("org-ai"),{autosaveAndRedirect:n,isRedirecting:o}=(0,s.Z)(t);return{productPageUrl:t,autosaveAndRedirect:n,isRedirecting:o,isMyJetpackAvailable:e}}},42890:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(6975),r=n(69307);const s=window?.Jetpack_Editor_Initial_State?.tracksUserData||null,o=parseInt(window?.Jetpack_Editor_Initial_State?.wpcomBlogId)||0,i=()=>((0,r.useEffect)((()=>{s&&a.Z.initialize(s?.userid,s?.username,o?{blog_id:o}:{})}),[]),a.Z)},80609:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(69307),r=n(51128);const s=n.n(r)()("jetpack-ai-assistant:use-auto-scroll"),o=(e,t,n=!1)=>{const r=(0,a.useRef)(null),o=(0,a.useRef)(null),i=(0,a.useRef)(!1),c=(0,a.useRef)(!1),l=(0,a.useRef)(!1),u=(0,a.useRef)(!1),d=(0,a.useRef)({scrollPadding:"",scrollMargin:""}),p=(0,a.useCallback)((()=>{s("enabling ignore scroll"),c.current=!0}),[]),m=(0,a.useCallback)((()=>{i.current&&l.current&&!c.current&&p()}),[p]),g=(0,a.useCallback)((()=>{i.current=!0,c.current=!1,l.current=!1,u.current=!1,r.current?.addEventListener("scroll",m),s("enabling auto scroll")}),[m]),A=(0,a.useCallback)((()=>{i.current=!1,c.current=!1,l.current=!1,u.current=!1,r.current?.removeEventListener("scroll",m),o.current?.style&&(o.current.style.scrollPadding=d.current.scrollPadding,o.current.style.scrollMargin=d.current.scrollMargin),r.current=null,s("disabling auto scroll")}),[m]),h=(0,a.useCallback)((()=>{if(!i.current||c.current)return;const a=n?e?.current:t?.current?.firstElementChild?.lastElementChild;a&&!u.current&&(l.current=!0,u.current=!0,r?.current?.removeEventListener?.("scroll",m),a?.scrollIntoView({block:"end",inline:"end"}),setTimeout((()=>{u.current=!1,r?.current?.addEventListener?.("scroll",m)}),200))}),[e,t,n,m]),E=(0,a.useCallback)((e=>{if(null==e)return null;if("BODY"===e?.nodeName)return e;if(e?.ownerDocument!==document)return e.ownerDocument;const{overflow:t}=window.getComputedStyle(e);return t.split(" ").every((e=>"auto"===e||"scroll"===e))?e:e?.parentElement?E(e?.parentElement):e}),[]);return(0,a.useEffect)((()=>{const t=E(e?.current?.parentElement);!r.current&&t&&(r.current=t,o.current=t instanceof HTMLElement?t:t.documentElement,d.current={scrollPadding:o.current.style.scrollPadding,scrollMargin:o.current.style.scrollMargin},i.current&&(o.current.style.scrollPadding="80px",o.current.style.scrollMargin="10px"))}),[e,E]),{snapToBottom:h,enableAutoScroll:g,disableAutoScroll:A}}},97477:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(13419),r=n(9818),s=n(99196),o=n(54765),i=n(49259),c=n(854),l=n(6747);const u=()=>{const{replaceBlock:e,removeBlocks:t}=(0,r.useDispatch)("core/block-editor"),n=(0,r.useSelect)((e=>e("core/block-editor")),[]),{getSelectedBlockClientIds:u,getBlocksByClientId:d,getBlock:p,getBlockParents:m}=n,{tracks:g}=(0,a.z$)();return{canTransformToAIAssistant:(0,s.useCallback)((({clientId:e,blockName:t})=>{if(!p(e))return!1;if(!o.kI.includes(t))return!1;const n=m(e);if(0===n.length)return!0;const a=p(n[n.length-1]);return!["core/list","core/list-item"].includes(a.name)}),[p,m]),transformToAIAssistant:(0,s.useCallback)((({request:n}={})=>{const a=u(),r=d(a),s=(0,c.vL)(r),[o]=r,[p,...m]=a,A={...o?.attributes||{},content:s},h=(0,l.b)(o.name,A);if(n?.promptType){g.recordEvent("jetpack_editor_ai_assistant_extension_toolbar_button_click",{suggestion:n.promptType,block_type:o.name});const e={clientId:p,type:n.promptType,options:{...n.options,contentType:"generated",fromExtension:!0}};localStorage.setItem((0,i.$M)(h.clientId),JSON.stringify(e))}else g.recordEvent("jetpack_ai_assistant_prompt_show",{block_type:o.name});e(p,h),t(m)}),[d,u,t,e,g]),getSelectedBlockClientIds:u}}},62378:(e,t,n)=>{"use strict";n.d(t,{gH:()=>o});var a=n(42290),r=n(4981),s=n(9818);class o{renderRules=[];firstUpdate=!0;behavior="dropdown";isChildBlock=!1;feature="ai-assistant";adjustPosition=!0;startOpen=!1;hideOnBlockFocus=!0;constructor(e,t=[]){this.clientId=e,this.renderRules=t}getBlock(){const{getBlock:e}=(0,s.select)("core/block-editor");return e(this.clientId)}getContent(){const e=this.getBlock();return t=(0,r.getBlockContent)(e),(0,a.g)({content:t});var t}renderContent(e){return function(e,t=[]){return(0,a.LB)({content:e,rules:t,extension:!0})}(e,this.renderRules)}onSuggestion(e){if(!e)return;const t=this.renderContent(e);this.replaceBlockContent(t)}onDone(e){this.firstUpdate=!0}replaceBlockContent(e){const[t]=(0,r.rawHandler)({HTML:e});if(!t)return;const{updateBlockAttributes:n,replaceInnerBlocks:a,__unstableMarkNextChangeAsNotPersistent:o}=(0,s.dispatch)("core/block-editor");this.firstUpdate?this.firstUpdate=!1:o(),n(this.clientId,t.attributes),o(),a(this.clientId,t.innerBlocks)}}},65598:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var a=n(51806),r=n(42290),s=n(13419),o=n(69307),i=n(65736),c=n(3228),l=(n(99196),n(63206)),u=n(18135);const __=i.__,d=(0,c.Z)("jetpack-ai-assistant-extension-ai-input","wp-block");function p({className:e,requestingState:t,requestingError:n,inputRef:i,wrapperRef:p,action:m,blockType:g,feature:A,request:h,stopSuggestion:E,close:f,undo:b,tryAgain:v}){const[C,k]=(0,o.useState)(""),[y,B]=(0,o.useState)(__("Ask Jetpack AI to edit…","jetpack")),{checkoutUrl:w}=(0,l.Z)(),{tracks:_}=(0,s.z$)(),[I,j]=(0,o.useState)(0),[x,S]=(0,o.useState)(!1),{requireUpgrade:Q,requestsCount:N,requestsLimit:R,loading:P,nextTier:Z,currentTier:T}=(0,u.Z)(),L=(0,o.useMemo)((()=>Q||["requesting","suggesting"].includes(t)),[Q,t]),M=(0,o.useCallback)((()=>{_.recordEvent("jetpack_ai_assistant_extension_generate",{block_type:g,feature:A}),h?.(C)}),[g,A,h,_,C]),D=(0,o.useCallback)((()=>{_.recordEvent("jetpack_ai_assistant_extension_stop",{block_type:g}),E?.()}),[g,E,_]);const F=(0,o.useCallback)((()=>{_.recordEvent("jetpack_ai_assistant_undo",{block_type:g}),b?.()}),[g,_,b]),z=(0,o.useCallback)((()=>{_.recordEvent("jetpack_ai_upgrade_button",{current_tier_slug:T?.slug,requests_count:N,placement:"jetpack_ai_assistant_extension"})}),[T?.slug,N,_]),O=(0,o.useCallback)((()=>{_.recordEvent("jetpack_ai_assistant_try_again",{block_type:g}),v?.()}),[g,_,v]);return(0,o.useEffect)((()=>{["init","done"].includes(t)&&k("")}),[t]),(0,o.useEffect)((()=>{B(m||__("Ask Jetpack AI to edit…","jetpack")),m&&k("")}),[m]),(0,o.useEffect)((()=>{S(!P&&!!Z&&0===C.length)}),[P,Z,C]),(0,o.useEffect)((()=>{const e=Math.max(R-N,0);j(e)}),[R,N]),(0,a.createElement)(r.C3,{className:(0,c.Z)(d,e),placeholder:y,disabled:L,value:C,state:t,showGuideLine:!0,error:n,requestsRemaining:I,showUpgradeMessage:x,upgradeUrl:w,onChange:k,onSend:M,onStop:D,onClose:function(){f?.()},onUndo:F,onUpgrade:z,onTryAgain:O,wrapperRef:p,ref:i})}},27222:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var a=n(51806),r=n(42290),s=n(13419),o=n(55609),i=n(69307),c=n(65736),l=n(47798),u=n(97477),d=n(57556);const __=c.__;function p({blockType:e,onClose:t,onAskAiAssistant:n,onRequestSuggestion:r}){const{canTransformToAIAssistant:s,transformToAIAssistant:o,getSelectedBlockClientIds:c}=(0,u.Z)(),d=(0,i.useCallback)((a=>{const i=c(),[l]=i;i.length<2||!s({clientId:l,blockName:e})?(a?r?.(a.promptType,a.options,a.humanText):n?.(),t?.()):o({request:a})}),[e,s,c,n,t,r,o]);return(0,a.createElement)(l.ZP,{blockType:e,onRequestSuggestion:(e,t,n)=>{d({promptType:e,options:t,humanText:n})},onAskAiAssistant:async()=>{d()},disabled:!1})}function m({behavior:e,blockType:t,label:n=__("AI Assistant","jetpack"),onAskAiAssistant:c,onRequestSuggestion:l}){const{tracks:u}=(0,s.z$)(),m=(0,i.useContext)(d.y),g=(0,i.useCallback)((e=>{e&&u.recordEvent("jetpack_ai_assistant_extension_toolbar_menu_show",{block_type:t})}),[t,u]),A=(0,i.useCallback)((()=>{u.recordEvent("jetpack_editor_ai_assistant_extension_toolbar_prompt_show",{block_type:t}),c?.()}),[t,c,u]),h=(0,i.useCallback)(((e,n,a)=>{u.recordEvent("jetpack_editor_ai_assistant_extension_toolbar_button_click",{suggestion:e,block_type:t}),l?.(e,n,a)}),[t,l,u]);return(0,a.createElement)(o.Dropdown,{popoverProps:{variant:"toolbar"},renderToggle:({isOpen:t,onToggle:s})=>(0,a.createElement)(o.ToolbarButton,{className:"jetpack-ai-assistant__button",showTooltip:!0,onClick:()=>{if("function"!=typeof e)switch(e){case"action":A();break;case"dropdown":s()}else e({onToggle:s,onAskAiAssistant:c,context:m})},"aria-haspopup":"true","aria-expanded":t,label:n,icon:r.u_}),onToggle:g,renderContent:({onClose:e})=>(0,a.createElement)(p,{onClose:e,blockType:t,onAskAiAssistant:A,onRequestSuggestion:h})})}},57556:(e,t,n)=>{"use strict";n.d(t,{W:()=>h,y:()=>A});var a=n(69307),r=n(51128),s=n.n(r),o=n(54765),i=n(62378),c=n(47963),l=n(27101),u=n(50084),d=n(81101),p=n(25073);const m=s()("jetpack-ai-assistant:extensions:get-block-handler"),g={"core/heading":c.s,"core/paragraph":p.Z,"core/list-item":d.n,"core/list":u.J,"jetpack/contact-form":l.H,...o.nB.reduce(((e,t)=>({...e,[t]:l.Q})),{})},A=(0,a.createContext)({});function h(e,t){let n=g[e];n||(m(`No handler found for block type: ${e}. Using default handler.`),n=i.gH);const a=new n(t);return{onSuggestion:a.onSuggestion.bind(a),onDone:a.onDone.bind(a),getContent:a.getContent.bind(a),behavior:a.behavior,isChildBlock:a.isChildBlock,feature:a.feature,adjustPosition:a.adjustPosition,startOpen:a.startOpen,hideOnBlockFocus:a.hideOnBlockFocus}}},47963:(e,t,n)=>{"use strict";n.d(t,{s:()=>r});var a=n(62378);class r extends a.gH{constructor(e){super(e,[])}onSuggestion(e){const t=this.getBlock();if(e.startsWith("#")||(e=`${"#".repeat(t?.attributes?.level||1)} ${e}`),e.match(/^#*\s*$/))return;const n=this.renderContent(e);this.replaceBlockContent(n)}}},71334:(e,t,n)=>{"use strict";n.d(t,{Q:()=>s});var a=n(9818),r=n(62378);class s extends r.gH{jetpackFormBlockName="jetpack/contact-form";constructor(e){super(e,[]),this.behavior=this.handleBehavior,this.isChildBlock=!0,this.hideOnBlockFocus=!1}handleBehavior=({context:e})=>{const t=(0,a.dispatch)("core/block-editor"),{getBlockParentsByBlockName:n}=(0,a.select)("core/block-editor"),r=n(this.clientId,this.jetpackFormBlockName)?.[0];t.selectBlock(r),e?.[this.jetpackFormBlockName]?.handleAskAiAssistant?.()}}},27101:(e,t,n)=>{"use strict";n.d(t,{H:()=>u,Q:()=>l.Q});var a=n(4981),r=n(9818),s=n(65736),o=n(5863),i=n(56359),c=n(62378),l=n(71334);const __=s.__;class u extends c.gH{currentListOfValidBlocks=[];constructor(e){super(e,[]),this.behavior="action",this.feature="jetpack-form-ai-extension",this.adjustPosition=!1,this.startOpen=!0,this.hideOnBlockFocus=!1}setContent(e,t=!1){const{replaceInnerBlocks:n}=(0,r.dispatch)("core/block-editor"),s=e.replace(//g,""),c=(0,i.J)(s),l=(0,a.parse)(c).filter((e=>e.isValid&&!["core/freeform","core/missing","core/html"].includes(e.name)));let u=!1;if(l.length0){const e=l[l.length-1],t=this.currentListOfValidBlocks[l.length-1];u=!(0,o.c)(e,t)}if(l.length>0&&(l.length!==this.currentListOfValidBlocks.length||u)&&(n(this.clientId,l),this.currentListOfValidBlocks=l),t){const e=l.filter((e=>"jetpack/button"===e.name));if(this.currentListOfValidBlocks=this.currentListOfValidBlocks||[],e.length>1){let t=0;this.currentListOfValidBlocks=this.currentListOfValidBlocks.filter((n=>"jetpack/button"!==n.name||(t++,t===e.length))),n(this.clientId,this.currentListOfValidBlocks)}else 0===e.length&&n(this.clientId,[...this.currentListOfValidBlocks,(0,a.createBlock)("jetpack/button",{label:__("Submit","jetpack"),element:"button",text:__("Submit","jetpack"),borderRadius:8,lock:{remove:!0}})]);this.currentListOfValidBlocks=[]}}getContent(){const e=this.getBlock();if(!e)return"";const{innerBlocks:t}=e;return t?.length?t.reduce(((e,t)=>e+(0,a.serialize)(t)+"\n\n"),""):""}onSuggestion(e){this.setContent(e)}onDone(e){this.setContent(e,!0)}}},73283:(e,t,n)=>{"use strict";n.d(t,{J:()=>o});var a=n(4981),r=n(9818),s=n(54765);function o(e){if(!(0,a.getBlockType)("jetpack/ai-assistant"))return!1;if(!s.sr)return!1;if(!s.jz.includes(e))return!1;const{getHiddenBlockTypes:t}=(0,r.select)("core/edit-post")||{};return!(t?.()||[]).includes("jetpack/ai-assistant")}},81101:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});var a=n(62378);class r extends a.gH{constructor(e){super(e,["listItem"]),this.isChildBlock=!0}}},50084:(e,t,n)=>{"use strict";n.d(t,{J:()=>r});var a=n(62378);class r extends a.gH{constructor(e){super(e,["list"])}}},25073:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(42290),r=n(4981),s=n(62378);const o=new a.JP({fixes:["paragraph"]});class i extends s.gH{constructor(e){super(e,["paragraph"])}getContent(){const e=this.getBlock();return t=(0,r.getBlockContent)(e),o.render({content:t});var t}}},21715:(e,t,n)=>{"use strict";var a=n(51806),r=n(42290),s=n(52175),o=n(94333),i=n(9818),c=n(69307),l=n(92694),u=n(3228),d=n(51128),p=n.n(d),m=(n(99196),n(18135)),g=n(80609),A=n(57832),h=n(65598),E=n(27222),f=n(57556),b=n(73283);const v=p()("jetpack-ai-assistant:extensions:with-ai-extension"),C={"core/heading":"heading","core/paragraph":"paragraph","core/list-item":"list-item","core/list":"list","jetpack/contact-form":"form-ai"},k={group:"block"},y=(0,o.createHigherOrderComponent)((e=>t=>{const{clientId:n,isSelected:o,name:l}=t,d=(0,c.useRef)(null),p=(0,c.useRef)(0),b=(0,c.useRef)(null),y=(0,c.useRef)(""),B=(0,c.useRef)(null),w=(0,c.useRef)(document),_=(0,c.useRef)([]),[I,j]=(0,c.useState)(""),x=(0,c.useRef)(null),S=(0,c.useRef)(null),{undo:Q}=(0,i.useDispatch)("core/editor"),{postId:N}=(0,i.useSelect)((e=>{const{getCurrentPostId:t}=e("core/editor");return{postId:t()}}),[]),{id:R,className:P}=(0,s.useBlockProps)({className:(0,u.Z)({[l?.replace?.("/","-")]:!0})}),{increaseRequestsCount:Z,dequeueAsyncRequest:T,requireUpgrade:L}=(0,m.Z)(),{snapToBottom:M,enableAutoScroll:D,disableAutoScroll:F}=(0,g.Z)({current:w?.current?.getElementById(R)},void 0,!0),z=(0,c.useCallback)((()=>{B.current?.focus()}),[]),{onSuggestion:O,onDone:U,getContent:H,behavior:V,isChildBlock:q,feature:G,adjustPosition:$,startOpen:W,hideOnBlockFocus:J}=(0,c.useMemo)((()=>(0,f.W)(l,n)),[l,n]),[Y,K]=(0,c.useState)(W),X=(0,c.useCallback)((()=>{K((e=>!e))}),[]),ee=(0,c.useCallback)((({promptType:e,options:t})=>{const n=H(),a=C[l];return[..._.current,{role:"jetpack-ai",context:{type:(0,A.Sb)(e,a),content:n,request:t?.userPrompt,tone:t?.tone,language:t?.language,is_follow_up:_.current.length>0}}]}),[l,H]),te=(0,c.useCallback)((e=>{const t=e||w.current.getElementById(R);t&&d.current&&t.style.setProperty("padding-bottom",`calc(${p.current+16}px + ${y.current||"0px"} )`,"important")}),[R]),ne=(0,c.useCallback)((e=>{O(e),$&&te(),M()}),[O,$,M,te]),ae=(0,c.useCallback)((e=>{if(F(),U(e),Z(),j(""),x.current?.message){const e={role:"assistant",content:H()};if(_.current.push(x.current.message,e),_.current.length>20){_.current.splice(0,_.current.length-20);const e=_.current.findIndex((e=>"jetpack-ai"===e.role));-1!==e&&(_.current=_.current.slice(e),_.current[0].context={..._.current[0].context,is_follow_up:!1})}}x.current=null,setTimeout((()=>{$&&te(),z()}),100)}),[F,U,Z,H,$,z,te]),re=(0,c.useCallback)((e=>{F(),j(""),v("Request error",e),e.code!==r.co&&e.code!==r.$L&&Z()}),[F,Z]),{request:se,stopSuggestion:oe,requestingState:ie,error:ce,reset:le}=(0,r.pw)({onSuggestion:ne,onDone:ae,onError:re,askQuestionOptions:{postId:N,feature:G}});(0,c.useEffect)((()=>{S.current=ie}),[ie]);const ue=(0,c.useCallback)(((e,t,n)=>{if(K(!0),L)return;n&&j(n);const a=ee({promptType:e,options:t});v("Request suggestion",e,t);const r=a[a.length-1];x.current={promptType:e,options:t,humanText:n,message:r},T(),D(),se(a)}),[T,D,ee,se,L]),de=(0,c.useCallback)((e=>{const t={userPrompt:e};D(),ue("userPrompt",t)}),[D,ue]),pe=(0,c.useCallback)((()=>{F(),oe(),z()}),[F,oe,z]),me=(0,c.useCallback)((()=>{x.current&&ue(x.current.promptType,x.current.options,x.current.humanText)}),[x,ue]),ge=(0,c.useCallback)((()=>{K(!1),le(),j(""),x.current=null,_.current=[]}),[le]),Ae=(0,c.useCallback)((async()=>{await Q(),ge()}),[Q,ge]);(0,c.useEffect)((()=>{o||ge()}),[o,ge]),(0,c.useEffect)((()=>{B.current&&(w.current=B.current.ownerDocument,z())}),[Y,z]),(0,c.useEffect)((()=>{let e=w.current.getElementById(R);if(e&&$)return Y&&!b.current&&d.current?(y.current=e.style.paddingBottom,b.current=new ResizeObserver((([t])=>{if(e=w.current.getElementById(R),p.current=t.contentRect.height,e&&d.current&&p.current>0){te(e);const{marginBottom:t}=getComputedStyle(e),n=parseFloat(t);d.current.style.setProperty("margin-top",`-${p.current+n}px`,"important"),d.current.style.setProperty("margin-bottom",`${n+16}px`,"important")}})),b.current.observe(d.current)):b.current&&(e.style.paddingBottom=y.current,b.current.disconnect(),b.current=null,p.current=0),()=>{b.current&&b.current.disconnect()}}),[te,$,n,b,R,Y]),(0,c.useEffect)((()=>{if(J&&Y){const e=w.current.getElementById(R),t=()=>{["requesting","suggesting"].includes(S.current)||(K(!1),e?.removeEventListener("focusin",t))};return e?.addEventListener("focusin",t),()=>{e?.removeEventListener("focusin",t)}}}),[J,Y,R]);const he=(0,a.createElement)(a.Fragment,null,(0,a.createElement)(e,t),Y&&(0,a.createElement)(h.Z,{className:P,requestingState:ie,requestingError:ce,wrapperRef:d,inputRef:B,action:I,blockType:l,feature:G,request:de,stopSuggestion:pe,close:ge,undo:Ae,tryAgain:me}),(0,a.createElement)(s.BlockControls,k,(0,a.createElement)(E.Z,{blockType:l,onAskAiAssistant:X,onRequestSuggestion:ue,behavior:V})));if(q)return he;const Ee={value:{[l]:{handleAskAiAssistant:X,handleRequestSuggestion:ue}}};return(0,a.createElement)(f.y.Provider,Ee,he)}),"blockEditWithAiComponents");(0,l.addFilter)("blocks.registerBlockType","jetpack/ai-assistant-support/with-ai-extension",(function(e,t){return(0,b.J)(t)?{...e,edit:y(e.edit)}:e}),100)},71449:(e,t,n)=>{"use strict";n.d(t,{b:()=>u,d:()=>d});var a=n(13419),r=n(51128),s=n.n(r);const o=window?.JP_CONNECTION_INITIAL_STATE,i=s()("jetpack-ai-assistant:connection");let c=!1;const l=e=>{c||(i(e),c=!0)};function u(){return(0,a.Wp)()?(l("Simple site connected ✅"),!0):(0,a.Ug)()?(l("Atomic site connected ✅"),!0):o?.connectionStatus?.isUserConnected?(l("Jetpack user is connected ✅"),!0):(l("User is not connected ❌"),!1)}function d(){if((0,a.Wp)())return!0;return!1==!(o?.userConnectionData?.currentUser?.permissions??{}).manage_options}},57832:(e,t,n)=>{"use strict";n.d(t,{Sb:()=>u,v_:()=>i,x1:()=>c});var a=n(63634);const r="title",s="content",o=null;function i(e){return{role:"jetpack-ai",context:{type:"ai-assistant-initial-prompt",for:u(e)}}}function c({generatedContent:e,allPostContent:t,postContentAbove:n,currentPostTitle:r,options:s,type:o,userPrompt:i,isGeneratingTitle:c}){const u=[],d="generated"===s?.contentType;let p=null;switch(o){case a.qA:p=r;break;case a.sz:case a.hI:case a.Hd:p=n;break;case a.jf:p=t;break;case a.TV:case a.DR:p=e;break;case a.Lg:case a.Lq:case a.Nw:p=d?e:t;break;case a.Gh:p=e||t}const m=function(e,t){return!e&&t&&t.length>0?{role:"jetpack-ai",context:{type:"ai-assistant-relevant-content",content:t}}:null}(o===a.Gh?!!e?.length:d,p);return m&&u.push(m),u.push({role:"jetpack-ai",context:l({generatedContent:e,allPostContent:t,postContentAbove:n,currentPostTitle:r,options:s,type:o,userPrompt:i,isGeneratingTitle:c})}),u}function l({options:e,type:t,userPrompt:n,isGeneratingTitle:i}){const c=function(e,t,n){return e?r:!t||n?s:o}(i,"generated"===e?.contentType,e?.fromExtension||!1);return{type:u(t),...c?{subject:c}:{},...t===a.Lg&&e?.tone?{tone:e.tone}:{},...t===a.Nw&&e?.language?{language:e.language}:{},...t===a.Gh&&n?{request:n}:{}}}function u(e,t){const n={[a.qA]:"ai-assistant-summary-by-title",[a.sz]:"ai-assistant-continue-writing",[a.hI]:"ai-assistant-simplify",[a.Hd]:"ai-assistant-correct-spelling",[a.jf]:"ai-assistant-generate-title",[a.TV]:"ai-assistant-make-longer",[a.DR]:"ai-assistant-make-shorter",[a.Lg]:"ai-assistant-change-tone",[a.Lq]:"ai-assistant-summarize",[a.Nw]:"ai-assistant-change-language",[a.Gh]:"ai-assistant-user-prompt"};return"form-ai"===t?"form-ai-extension":t?`${n[e]}-${t}-extension`:n[e]}},63634:(e,t,n)=>{"use strict";n.d(t,{DR:()=>u,Gh:()=>g,Hd:()=>i,Iq:()=>E,KR:()=>h,Lg:()=>d,Lq:()=>p,Nw:()=>m,TV:()=>l,_W:()=>A,hI:()=>o,jf:()=>c,qA:()=>r,sz:()=>s});var a=n(57832);const r="titleSummary",s="continue",o="simplify",i="correctSpelling",c="generateTitle",l="makeLonger",u="makeShorter",d="changeTone",p="summarize",m="changeLanguage",g="userPrompt",A="````";function h({content:e,request:t}){if(!t)throw new Error("You must provide a custom prompt for the Jetpack Form Custom Prompt");return[{role:"jetpack-ai",context:{type:"form-ai-extension",content:e,request:t}}]}function E({generatedContent:e,allPostContent:t,postContentAbove:n,currentPostTitle:r,options:s,type:o,userPrompt:i,isGeneratingTitle:c}){return[(0,a.v_)(o),...(0,a.x1)({generatedContent:e,allPostContent:t,postContentAbove:n,currentPostTitle:r,options:s,type:o,userPrompt:i,isGeneratingTitle:c})]}},854:(e,t,n)=>{"use strict";n.d(t,{WN:()=>l,h7:()=>o,t$:()=>u,vL:()=>c,xN:()=>i});var a=n(42290),r=n(4981),s=n(9818);function o(e){if(!e)return"";const t=(0,s.select)("core/block-editor"),n=t.getBlockIndex(e),o=t.getBlocks().slice(0,n)??[];return o?.length?(0,a.g)({content:(0,r.serialize)(o)}):""}function i(){const e=(0,s.select)("core/block-editor").getBlocks();return e?.length?(0,a.g)({content:(0,r.serialize)(e)}):""}function c(e){return e.filter((e=>null!=e)).map((e=>(0,r.getBlockContent)(e))).join("\n\n")}function l(e){const t=(0,s.select)("core/block-editor").getBlock(e);return t?.innerBlocks?.length?c(t.innerBlocks):""}function u(e){if(!e?.replace(/\s+/,"").length)return"";const t=document.createElement("div");t.innerHTML=e;const{textContent:n,innerText:a}=t;return n&&!n.replace(/\s+/,"").length||a&&!a.replace(/\s+/,"").length?"":t.textContent||t.innerText||""}},72881:(e,t,n)=>{"use strict";function a(e){return e&&"string"==typeof e?e.charAt(0).toUpperCase()+e.slice(1):""}n.d(t,{k:()=>a})},5863:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});const a=e=>{delete e.clientId;for(const t of e.innerBlocks??[])a(t);return e},r=e=>a((e=>JSON.parse(JSON.stringify(e)))(e));function s(e,t){const n=r(e),a=r(t);return JSON.stringify(n)===JSON.stringify(a)}},56359:(e,t,n)=>{"use strict";function a(e){const t=document.createElement("div");return t.innerHTML=e,t.innerHTML}n.d(t,{J:()=>a})},28788:(e,t,n)=>{"use strict";function a(e){return!0===window?.Jetpack_Editor_Initial_State?.available_blocks?.[e]?.available}n.d(t,{$:()=>a})},81765:(e,t,n)=>{"use strict";var a=n(4981),r=n(92694),s=n(54765),o=n(49259);(0,r.addFilter)("blocks.registerBlockType","jetpack/handle-jetpack-ai-supports",(function(e){const t=(0,a.getBlockSupport)(e,"jetpack/ai");return t&&t?.assistant&&(0,s.J7)()?{...e,edit:(0,o.ZP)(e.edit)}:e}),100)},6747:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l,b:()=>c});var a=n(42290),r=n(4981),s=n(23536),o=n(54765);const i=[];function c(e,t){const{content:n,...o}=t;let i=n;"core/heading"===e&&t?.level&&(i=i.replace(/<(\/?)h\d([^>]*)>/g,`<$1h${t.level}$2>`));const c=(0,a.g)({content:i}),l=[];return l.push({role:"jetpack-ai",context:{type:"ai-assistant-relevant-content",content:c}}),(0,r.createBlock)(s.name,{...o,content:c,originalContent:c,messages:l,originalMessages:l})}for(const e of o.Ri)i.push({type:"block",blocks:[e],isMatch:()=>(0,o.J7)(),transform:(t,n)=>{const a=(0,r.getSaveContent)(e,t,n);return c(e,{...t,content:a})}});const l={from:i}},98825:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(51806),r=n(65736),s=n(26546),o=n(46867);const __=r.__,i=()=>{const e=`${window?.Jetpack_Editor_Initial_State?.adminUrl}admin.php?page=my-jetpack#/connection`,{autosaveAndRedirect:t,isRedirecting:n}=(0,o.Z)(e);if(window?.Jetpack_Editor_Initial_State?.jetpack?.is_current_user_connected)return null;return(0,a.createElement)(s.p,{buttonText:__("Reconnect Jetpack","jetpack"),checkoutUrl:e,className:"jetpack-ai-connect-banner",description:__("Your account is not connected to Jetpack at the moment.","jetpack"),goToCheckoutPage:e=>{t(e)},isRedirecting:n,visible:!0,align:null,title:null,context:null})}},56352:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(51806),r=n(65736),s=n(26546),o=n(46867);const __=r.__,i=()=>{let e=window?.Jetpack_Editor_Initial_State?.adminUrl||"";e=e.replace(/wp-admin\/\?frame-nonce=[a-z0-9]+/,"wp-admin/");const t=`${e}admin.php?page=jetpack-search`,{autosaveAndRedirect:n,isRedirecting:r}=(0,o.Z)(t);if(window?.Jetpack_AIChatBlock?.jetpackSettings?.instant_search_enabled)return null;return(0,a.createElement)(s.p,{buttonText:__("Enable Jetpack Search","jetpack"),checkoutUrl:t,className:"jetpack-ai-connect-banner",description:__("You need to enable Jetpack Search so that Jetpack AI can index your site.","jetpack"),goToCheckoutPage:e=>{n(e)},isRedirecting:r,visible:!0,align:null,title:null,context:null})}},53497:(e,t,n)=>{"use strict";n.d(t,{K:()=>s,j:()=>r});var a=n(65736);const __=a.__,r=__("Ask","jetpack"),s=__("Ask a question about this site","jetpack")},23719:(e,t,n)=>{"use strict";n.d(t,{V:()=>l});var a=n(51806),r=n(52175),s=n(55609),o=n(37798),i=n(65736),c=n(53497);const __=i.__;function l({setAttributes:e,placeholder:t,showCopy:n,showFeedback:i,showSources:l}){const[u,d]=(0,o.useEntityProp)("root","site","jetpack_search_ai_prompt_override");return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(r.InspectorControls,null,(0,a.createElement)(s.PanelBody,{title:__("Settings","jetpack"),initialOpen:!1},(0,a.createElement)(s.BaseControl,{label:__("Placeholder Text","jetpack"),className:"jetpack-ai-chat__ask-button-text"},(0,a.createElement)(s.TextControl,{placeholder:c.K,onChange:t=>e({placeholder:t}),value:t})))),(0,a.createElement)(r.InspectorAdvancedControls,null,(0,a.createElement)(s.BaseControl,{label:__("Additional instructions","jetpack"),help:__("Give Jetpack AI additional instructions for answer length, format, and tone.","jetpack")},(0,a.createElement)(s.TextareaControl,{value:u,onChange:d})),(0,a.createElement)(s.ToggleControl,{label:__("Show copy answer button.","jetpack"),help:__("Allow users to easily copy the answer.","jetpack"),checked:n,onChange:t=>e({showCopy:t})}),(0,a.createElement)(s.ToggleControl,{label:__("Show rating button.","jetpack"),help:__("Allow users to rate the answer and give feedback.","jetpack"),checked:i,onChange:t=>e({showFeedback:t})}),(0,a.createElement)(s.ToggleControl,{label:__("Show list of sources.","jetpack"),help:__("Show used sources at the bottom of the answer.","jetpack"),checked:l,onChange:t=>e({showSources:t})})))}},74021:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var a=n(51806),r=n(42290),s=n(52175),o=n(55609),i=n(9818),c=n(98825),l=n(56352),u=n(53497),d=n(23719);function p({attributes:e,setAttributes:t,clientId:n}){const{askButtonLabel:p=u.j,placeholder:m=u.K,showCopy:g,showFeedback:A,showSources:h}=e,E=(0,s.useBlockProps)(),f=(0,i.useSelect)((e=>e("core/block-editor").isBlockSelected(n)),[n]);return(0,a.createElement)("div",E,(0,a.createElement)(c.Z,null),(0,a.createElement)(l.Z,null),(0,a.createElement)("div",{className:"jetpack-ai-chat-question-wrapper"},(0,a.createElement)(o.TextControl,{className:"jetpack-ai-chat-question-input",placeholder:m,disabled:!0}),(0,a.createElement)(s.RichText,{className:"wp-block-button__link jetpack-ai-chat-question-button",onChange:e=>t({askButtonLabel:e}),value:p,withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/strikethrough"]})),f&&(0,a.createElement)(r.Eo,null),(0,a.createElement)(s.InspectorControls,null,(0,a.createElement)(d.V,{askButtonLabel:p,placeholder:m,setAttributes:t,showCopy:g,showFeedback:A,showSources:h})))}},86116:(e,t,n)=>{"use strict";var a=n(31985),r=n(21540),s=n(74021),o=n(148);(0,a.S)(r,{edit:s.Z,save:o.Z})},148:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(51806),r=n(52175),s=n(53497);function o({attributes:e}){const t=r.useBlockProps.save({"data-ask-button-label":e.askButtonLabel||s.j});return(0,a.createElement)("div",t)}},77567:(e,t,n)=>{"use strict";n.d(t,{K:()=>a});const a=["A digital Illustration of the a purely mechanical television, 4k, detailed, fantasy vivid colors","3D render of a floating futuristic castle in a clear sky, digital art","Hedgehog smelling a flower | clear blue sky | intricate artwork by Beatrix Potter | cottagecore aesthetic | 8K | highly detailed | wide angle |","Hyper realistic photo of a high end futuristic single-level house where walls are made of windows, light coming through the window, mid century modern style, cinematic lighting","Pink ape Astronaut in space holding a claymate in a photorealistic style, digital art","Studio photography set of high detail irregular marble stones with gold lines stacked in impossible balance, perfect composition, cinematic light photo studio, beige color scheme, indirect lighting, 8k, elegant and luxury style","Ultrawide, highway, with golden ratio style, 4K , sides are prairies, light is Golden hour, sky with red Clouds, ultrarealistic, CinémaScope, ultra wide format, ratio 16/9, 1/1000 sec, maximum resolution, Sharp details","A photo of cat flying out to space as an astronaut, digital art","A hyper realistic rilakkuma enjoying an icecream in the snow","A lush tropical forest with a waterfall.","A majestic snowy mountain peak.","A beautiful sunset over a beach.","A serene lake surrounded by trees.","A picturesque countryside with rolling hills.","A colorful hot air balloon in the sky.","A peaceful Zen garden.","A grand castle on a hill.","A lively street market in a bustling city.","A delightful flower garden in full bloom.","A cozy cabin in the woods.","A vibrant coral reef teeming with sea life.","A classic European city with cobblestone streets.","A stunning waterfall cascading into a crystal clear pool.","A secluded cabin on the edge of a lake.","A beautiful desert landscape with sand dunes.","A majestic elephant in its natural habitat.","A charming countryside village with thatched roof cottages.","A dreamy castle floating on a cloud.","A whimsical tree house in a forest.","A vibrant city skyline at night.","A picturesque vineyard with rows of grapevines.","A peaceful Japanese garden with a koi pond.","A charming lighthouse on a rocky coastline.","A beautiful waterfall surrounded by greenery.","A dreamy castle with a moat and drawbridge.","A colorful hot air balloon festival.","A beautiful garden with a fountain and sculptures.","A picturesque countryside with a windmill.","A stunning mountain landscape with a rainbow."]},84295:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var a=n(51806),r=n(13419),s=n(86989),o=n.n(s),i=n(52175),c=n(4981),l=n(55609),u=n(9818),d=n(69307),p=n(65736),m=n(77567);const __=p.__;function g({attributes:e,setAttributes:t,clientId:n}){const[s,p]=(0,d.useState)(!1),[g,A]=(0,d.useState)([]),[h,E]=(0,d.useState)(null),[f,b]=(0,d.useState)(""),{replaceBlock:v}=(0,u.useDispatch)(i.store),[C,k]=(0,d.useState)(null),[y]=(0,d.useState)((B=m.K)[Math.floor(Math.random()*B.length)]);var B;const w=__("Retry","jetpack"),_=__("Submit","jetpack"),I=C?w:_,{tracks:j}=(0,r.z$)(),{mediaUpload:x}=(0,u.useSelect)((e=>{const{getSettings:t}=e(i.store);return{mediaUpload:t().mediaUpload}}),[]),S=(0,u.useSelect)((e=>e("core/editor").getCurrentPostId())),Q=({image:e,inModal:t=!1})=>(0,a.createElement)(l.Flex,{direction:"column"},t&&(0,a.createElement)(l.FlexItem,{style:{"text-align":"center"}},(0,a.createElement)(l.Button,{variant:"primary",onClick:()=>N(e)},__("Use this image","jetpack"))),(0,a.createElement)(l.FlexBlock,null,(0,a.createElement)("img",{className:"wp-block-ai-image-image",src:e,alt:"",onClick:()=>E(e)})),!t&&(0,a.createElement)(l.FlexBlock,null,(0,a.createElement)(l.Flex,{direction:"column",style:{"align-items":"center"}},(0,a.createElement)(l.FlexItem,null,(0,a.createElement)(l.Button,{variant:"primary",onClick:()=>N(e)},__("Use this image","jetpack")))))),N=async t=>{if(s)return;p(!0),k(null);const a=await fetch(t),r=await a.blob(),o=new File([r],"jetpack_ai_image.png",{type:"image/png"});x({filesList:[o],onFileChange:([t])=>{t.id&&v(n,(0,c.createBlock)("core/image",{url:t.url,caption:e.requestedPrompt,alt:e.requestedPrompt}))},allowedTypes:["image"],onError:e=>{console.error(e),p(!1)}}),j.recordEvent("jetpack_ai_dalle_generation_upload",{post_id:S})};return(0,a.createElement)("div",(0,i.useBlockProps)(),(0,a.createElement)(l.Placeholder,{label:__("AI Image","jetpack"),notices:C&&[(0,a.createElement)("div",null,C)]},!s&&0===g.length&&(0,a.createElement)(l.Flex,{expanded:!0},(0,a.createElement)(l.FlexBlock,null,(0,a.createElement)(l.TextareaControl,{label:__("What would you like to see?","jetpack"),placeholder:y,allowedFormats:[],onChange:b,rows:6}),(0,a.createElement)(l.Button,{variant:"primary",onClick:()=>{p(!1),A([]),k(null),function(e,t,n,a,r,s){n(!0),r(null),t({requestedPrompt:e}),o()({path:"/wpcom/v2/jetpack-ai/images/generations",method:"POST",data:{prompt:e,post_id:s}}).then((e=>{n(!1);const t=e.data.map((e=>"data:image/png;base64,"+e.b64_json));a(t)})).catch((e=>{e.message?r(e.message):r(__("Whoops, we have encountered an error. AI is like really, really hard and this is an experimental feature. Please try again later.","jetpack")),n(!1)}))}(""===f.trim()?y:f,t,p,A,k,S),j.recordEvent("jetpack_ai_dalle_generation",{post_id:S})}},I))),!s&&g.length>0&&(0,a.createElement)(l.Flex,{direction:"column",style:{width:"100%"}},(0,a.createElement)(l.FlexBlock,{style:{textAlign:"center",margin:"12px",fontStyle:"italic",width:"100%"}},e.requestedPrompt),(0,a.createElement)(l.FlexBlock,{style:{fontSize:"20px",lineHeight:"38px"}},__("Please choose your image","jetpack")),(0,a.createElement)(l.Flex,{direction:"row",wrap:!0},g.map((e=>(0,a.createElement)(Q,{image:e}))))),!s&&h&&(0,a.createElement)(l.Modal,{onRequestClose:()=>E(null)},(0,a.createElement)(Q,{image:h,inModal:!0})),e.content&&(0,a.createElement)("div",{className:"content"},e.content),s&&(0,a.createElement)(l.FlexBlock,{style:{padding:"10px",textAlign:"center"}},(0,a.createElement)(l.Spinner,{style:{height:"calc(4px * 20)",width:"calc(4px * 20)"}}))))}},6454:(e,t,n)=>{"use strict";var a=n(31985),r=n(41107),s=n(84295);(0,a.S)(r,{edit:s.Z,save:()=>""})},55410:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>A});var a=n(51806),r=n(13419),s=n(86989),o=n.n(s),i=n(52175),c=n(55609),l=n(9818),u=n(69307),d=n(65736),p=n(59958);const __=d.__,m=(e="",t=[],n="",a="")=>{const r=t.filter((function(e){return e&&e.attributes&&e.attributes.content})).map((function(e){return e.attributes.content.replaceAll("
    ","\n")})).join("\n").slice(-1024);if(!(e||r||n||a))return!1;let s="";return s=e?(0,d.sprintf)(/** translators: This will be the beginning of a prompt that will be sent to OpenAI based on the post title. */ +__("%d connections","jetpack"),e.length):__("Connected","jetpack"))}},78362:(e,t,n)=>{"use strict";n.d(t,{b:()=>c});var r=n(47143),a=n(89729),s=n(59008),o=n(42475),i=n(39630);function c(){const e=(0,i.o)(),t=(0,r.useSelect)((e=>e(a.M_).getConnections().reduce(((e,t)=>(e[t.service_name]||(e[t.service_name]=[]),e[t.service_name].push(t),e)),{})),[]);return React.createElement("ul",{className:o.A.services},e.map((e=>React.createElement("li",{key:e.ID,className:o.A["service-list-item"]},React.createElement(s.j,{service:e,serviceConnections:t[e.ID]||[]})))))}},70745:(e,t,n)=>{"use strict";n.d(t,{P:()=>u});var r=n(63406),a=n(47143),s=n(86087),o=n(27723),i=n(89729),c=n(70407);const __=o.__,l=e=>/^@?\b([A-Z0-9_]+)@([A-Z0-9.-]+\.[A-Z]{2,})$/gi.test(e);function u({service:e,onConfirm:t}){const{createErrorNotice:n}=(0,r.I)(),o=(0,a.useSelect)((e=>e(i.M_).isMastodonAccountAlreadyConnected),[]);return(0,s.useCallback)((r=>{const a=new URL(e.connect_URL);switch(e.ID){case"mastodon":{const e=r.get("instance").toString().trim();if(!l(e))return void n(__("Invalid Mastodon username","jetpack"));if(o?.(e))return void n(__("This Mastodon account is already connected","jetpack"));a.searchParams.set("instance",r.get("instance"));break}}(0,c.requestExternalAccess)(a.toString(),t)}),[n,o,t,e.ID,e.connect_URL])}},9515:(e,t,n)=>{"use strict";n.d(t,{h:()=>s});var r=n(51609),a=n(48712);function s(){const e=(0,a.h)();return(0,r.useCallback)((t=>e(t)?.label||t[0].toUpperCase()+t.substring(1)),[e])}},48712:(e,t,n)=>{"use strict";n.d(t,{h:()=>s});var r=n(51609),a=n(39630);function s(){const e=(0,a.o)(),t=(0,r.useMemo)((()=>e.reduce(((e,t)=>(e[t.ID]=t,e)),{})),[e]);return(0,r.useCallback)((e=>t[e]),[t])}},39630:(e,t,n)=>{"use strict";n.d(t,{o:()=>h});var r=n(96072),a=n.n(r),s=n(78478),o=n(56427),i=n(86087),c=n(27723),l=n(30081),u=n(26818),d=n(43443),p=n(11326),m=n(65398),g=n(9791),A=n(51371);const __=c.__;function h(){const e=(0,i.useMemo)((()=>{const{supported_services:e}=(0,A.n)();return e.reduce(((e,t)=>({...e,[t.ID]:t})),{})}),[]),t={text:__("New","jetpack"),style:{background:"#e9eff5",color:"#0675C4"}};return[{...e.facebook,icon:e=>React.createElement(s.M5,a()({serviceName:"facebook"},e)),description:__("Share to your pages","jetpack"),examples:[()=>React.createElement(React.Fragment,null,(0,i.createInterpolateElement)(__("Connect to automatically share posts on your Facebook page.","jetpack"),{strong:React.createElement("strong",null)})),()=>React.createElement("img",{src:l,alt:__("Add Facebook connection","jetpack")})]},{...e["instagram-business"],icon:e=>React.createElement(s.M5,a()({serviceName:"instagram"},e)),description:__("Share to your Instagram Business account.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,__("Drive engagement and save time by automatically sharing images to Instagram when you publish blog posts.","jetpack"),React.createElement("div",{className:"instagram-business__requirements"},React.createElement("h4",null,__("Requirements for connecting Instagram:","jetpack")),React.createElement("ol",null,React.createElement("li",null,__("You must have an Instagram Business account.","jetpack")),React.createElement("li",null,__("Your Instagram Business account must be linked to a Facebook page.","jetpack")))),(0,i.createInterpolateElement)(__("When you click “connect” you'll be asked to log into Facebook. If your Instagram Business account isn't listed, ensure it's linked to a Facebook page.","jetpack"),{strong:React.createElement("strong",null),i:React.createElement("em",null)}),React.createElement("br",null),React.createElement("br",null),React.createElement(o.ExternalLink,{className:"instagram-business__help-link",href:"https://jetpack.com/redirect/?source=jetpack-social-instagram-business-help"},__("Learn how to convert & link your Instagram account.","jetpack"))),()=>React.createElement("img",{src:u,alt:__("Add Instagram photo","jetpack")})]},{...e.threads,icon:e=>React.createElement(s.M5,a()({serviceName:"threads"},e)),description:__("Share posts to your Threads feed.","jetpack"),badges:[t],examples:[()=>React.createElement(React.Fragment,null,__("Increase your presence in social media by sharing your posts automatically to Threads.","jetpack")),()=>React.createElement("img",{src:m,alt:__("Add Threads connection","jetpack")})]},{...e.linkedin,icon:e=>React.createElement(s.M5,a()({serviceName:"linkedin"},e)),description:__("Share with your LinkedIn community.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,(0,i.createInterpolateElement)(__("Connect to automatically share posts with your LinkedIn connections.","jetpack"),{strong:React.createElement("strong",null)})),()=>React.createElement("img",{src:d,alt:__("Add LinkedIn connection","jetpack")})]},{...e.nextdoor,icon:e=>React.createElement(s.M5,a()({serviceName:"nextdoor"},e)),description:__("Share on communities","jetpack"),examples:[()=>React.createElement(React.Fragment,null,(0,i.createInterpolateElement)(__("Connect with friends, neighbors, and local businesses by automatically sharing your posts to Nextdoor.","jetpack"),{strong:React.createElement("strong",null)})),()=>React.createElement("img",{src:p,alt:__("Add Instagram photo","jetpack")})]},{...e.tumblr,icon:e=>React.createElement(s.M5,a()({serviceName:"tumblr-alt"},e)),description:__("Share to your Tumblr blog.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,(0,i.createInterpolateElement)(__("Connect to automatically share posts to your Tumblr blog.","jetpack"),{strong:React.createElement("strong",null)})),()=>React.createElement("img",{src:g,alt:__("Add Tumblr connection","jetpack")})]},{...e.mastodon,needsCustomInputs:!0,icon:e=>React.createElement(s.M5,a()({serviceName:"mastodon"},e)),description:__("Share with your network.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,__("To share to Mastodon please enter your Mastodon username below, then click connect.","jetpack"))]}].filter((e=>Boolean(e.ID)))}},73905:(e,t,n)=>{"use strict";n.d(t,{t:()=>a});var r=n(27723);const __=r.__,a=[{label:__("X","jetpack"),networkName:"x",url:"https://x.com/intent/tweet?text={{text}}&url={{url}}"},{label:__("WhatsApp","jetpack"),networkName:"whatsapp",url:"https://api.whatsapp.com/send?text={{text}}"},{label:__("Facebook","jetpack"),networkName:"facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"}]},49192:(e,t,n)=>{"use strict";n(68541)},68541:(e,t,n)=>{"use strict";n.d(t,{R:()=>g});var r=n(78478),a=n(51112),s=n(47425),o=n(69222),i=n(85985),c=n(86087),l=n(27723),u=n(13022),d=n(73905),p=n(99811),m=n(53975);const __=l.__;function g({buttonStyle:e="icon",buttonVariant:t}){const n=(0,m.i)(),{recordEvent:g}=(0,i.st)(),A=(0,c.useCallback)((()=>{g("jetpack_social_share_button_clicked",{network:"clipboard"})}),[g]),h=(0,c.useCallback)((()=>n("{{text}}\n{{url}}",!1)),[n]),E=(0,c.useCallback)((function(e,t){return function(n){n.preventDefault(),g("jetpack_social_share_button_clicked",t),window.open(e,"","menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600")}}),[g]);return React.createElement("div",{className:(0,u.A)(p.A["share-buttons"],{[p.A.vertical]:e.includes("text")})},d.t.map((({label:o,networkName:i,url:c})=>{const u=n(c),d="icon"===e?React.createElement(r.M5,{serviceName:i}):null,m=(0,l.sprintf)(/* translators: %s is the name of a social network, e.g. Twitter. */ +__("Share on %s","jetpack"),o);return React.createElement("div",{className:p.A.container,key:i},React.createElement(a.A,{icon:d,variant:t,"aria-label":m,href:u,target:"_blank",rel:"noopener noreferrer",onClick:E(u,{network:i}),className:"icon"===e?p.A[i]:"has-text"},"icon"===e?null:React.createElement(React.Fragment,null,"icon-text"===e&&React.createElement(r.M5,{className:p.A[i],serviceName:i}),React.createElement(s.Ay,{className:p.A.label,component:"span"},m))))})),React.createElement("div",{className:p.A.container},React.createElement(o.A,{buttonStyle:e,onCopy:A,textToCopy:h,className:"icon"===e?p.A.clipboard:" has-text",variant:t},"icon"===e?null:React.createElement(s.Ay,{className:p.A.label,component:"span"},__("Copy to clipboard","jetpack")))))}},53975:(e,t,n)=>{"use strict";n.d(t,{i:()=>o});var r=n(47143),a=n(86087),s=n(383);function o(){const{shareMessage:e}=(0,s.h)(),{message:t,link:n}=(0,r.useSelect)((t=>{const n=t("core/editor").getEditedPostAttribute;return{link:n("link"),message:e||n("meta")?.jetpack_seo_html_title||n("title")}}),[e]);return(0,a.useCallback)(((e,r=!0)=>{let a=t,s=n;return e.includes("{{url}}")||(a=a+"\n\n"+s,s=""),r&&(a=encodeURIComponent(a),s=encodeURIComponent(s)),e.replace("{{text}}",a).replace("{{url}}",s)}),[n,t])}},39815:(e,t,n)=>{"use strict";n.d(t,{O:()=>A});var r=n(56427),a=n(47143),s=n(43656),o=n(86087),i=n(27723),c=n(692),l=n(77627),u=n(31873),d=n(50001),p=n(89729);const __=i.__;function m(e=__("Unable to share the Post","jetpack")){const{createErrorNotice:t}=(0,a.dispatch)(c.store);t(e,{id:"publicize-post-share-message"})}function g(){const{hasEnabledConnections:e}=(0,d.A)(),{isPublicizeEnabled:t}=(0,l.A)(),{isFetching:n,isError:i,isSuccess:p,doPublicize:g}=(0,u.A)(),A=(0,a.useSelect)((e=>e(s.store).isCurrentPostPublished()),[]);(0,o.useEffect)((()=>{if(!n)return i?m():void(p&&function(){const{createSuccessNotice:e}=(0,a.dispatch)(c.store);e(__("Post shared","jetpack"),{id:"publicize-post-share-message",type:"snackbar"})}())}),[n,i,p]);const h=!t||!e||!A||n,E=(0,o.useCallback)((()=>{if(!A)return m(__("You must publish your post before you can share it.","jetpack"));(0,a.dispatch)(c.store).removeNotice("publicize-post-share-message"),g()}),[g,A]);return React.createElement(r.Button,{variant:"secondary",onClick:E,disabled:h,isBusy:n},__("Share post","jetpack"))}function A(){const{isRePublicizeUpgradableViaUpsell:e}=(0,l.A)(),t=(0,a.useSelect)((e=>e(s.store).isCurrentPostPublished()),[]),{hasConnections:n}=(0,a.useSelect)((e=>e(p.M_)),[]);return t?e?null:n()?React.createElement(r.PanelRow,null,React.createElement(g,null)):null:null}},7757:(e,t,n)=>{"use strict";n.d(t,{JU:()=>a.g,Q3:()=>r.Q});var r=n(59032),a=n(95499)},95499:(e,t,n)=>{"use strict";n.d(t,{g:()=>d});var r=n(96072),a=n.n(r),s=n(56427),o=n(47143),i=n(27723),c=n(51609),l=n(89729),u=n(14150);const __=i.__,d=(0,c.forwardRef)((({withWrapper:e=!1,...t},n)=>{const{openShareStatusModal:r}=(0,o.useDispatch)(l.M_),i=(0,o.useSelect)((e=>e(l.M_).featureFlags()),[]),c=(0,o.useSelect)((e=>e(l.M_).getPostShareStatus()),[]);if(!c||!c.shares||0===c.shares.length)return null;if(!i.useShareStatus)return null;const d=React.createElement(s.Button,a()({variant:"secondary",onClick:r},t,{ref:n}),t.children||__("View sharing history","jetpack"));return e?React.createElement("div",{className:u.A["trigger-wrapper"]},d):d}))},59032:(e,t,n)=>{"use strict";n.d(t,{Q:()=>d});var r=n(50723),a=n(56427),s=n(47143),o=n(27723),i=n(89729),c=n(30557),l=n(14150);const __=o.__;function u(){const{closeShareStatusModal:e}=(0,s.useDispatch)(i.M_);return React.createElement("div",{className:l.A.wrapper},React.createElement(a.Modal,{onRequestClose:e,title:__("Sharing status","jetpack"),className:l.A.modal},React.createElement(c.W,null)))}function d(){const e=(0,s.useSelect)((e=>e(i.M_).isShareStatusModalOpen()),[]);return React.createElement(r.Ay,{targetDom:document.body},e?React.createElement(u,null):null)}},75569:(e,t,n)=>{"use strict";n.d(t,{g:()=>c});var r=n(38443),a=n(12141),s=n(368),o=n(69662),i=n(14150);function c({share:e}){const{service:t,external_name:n,profile_picture:c,timestamp:l,status:u,message:d}=e;return React.createElement("div",{className:i.A["share-item"]},React.createElement(a.A,{serviceName:t,label:n,profilePicture:c}),React.createElement("div",{className:i.A["share-item-name-wrapper"]},React.createElement("div",{className:i.A["share-item-name"]},n)),React.createElement("div",null,(0,r.humanTimeDiff)(1e3*l,(0,r.getDate)())),React.createElement(o.a,{status:u,message:d}),React.createElement(s.C,{status:u,shareLink:"success"===u?d:""}))}},30557:(e,t,n)=>{"use strict";n.d(t,{W:()=>u});var r=n(56427),a=n(47143),s=n(43656),o=n(27723),i=n(89729),c=n(75569),l=n(14150);const __=o.__;function u(){const{shareStatus:e}=(0,a.useSelect)((e=>{const t=e(i.M_),n=e(s.store);return{shareStatus:t.getPostShareStatus(n.getCurrentPostId())}}),[]);return React.createElement("div",{className:"connection-management"},e.loading&&React.createElement("div",{className:l.A.spinner},React.createElement(r.Spinner,null)," ",__("Loading…","jetpack")),e.shares.length>0&&React.createElement("ul",{className:l.A["share-log-list"]},e.shares.map(((e,t)=>React.createElement("li",{key:`${e.external_id||e.connection_id}${t}}`,className:l.A["share-log-list-item"]},React.createElement(c.g,{share:e}))))))}},368:(e,t,n)=>{"use strict";n.d(t,{C:()=>o});var r=n(56427),a=n(27723),s=n(14150);const __=a.__;function o({status:e,shareLink:t}){return React.createElement("div",{className:s.A["share-status-action-wrapper"]},"success"!==e?React.createElement("span",null,"Retry"):React.createElement(r.ExternalLink,{className:s.A["profile-link"],href:t},__("View","jetpack")))}},69662:(e,t,n)=>{"use strict";n.d(t,{a:()=>p});var r=n(40597),a=n(47425),s=n(27723),o=n(51113),i=n(83883),c=n(13022),l=n(51609),u=n.n(l),d=n(14150);const __=s.__,_x=s._x;function p({status:e,message:t}){const n="success"===e,s=n?u().createElement(o.A,{className:d.A["share-status-icon"],icon:i.A}):u().createElement(r.A,{title:__("Sharing failed with the following message:","jetpack"),className:d.A["share-status-icon-tooltip"]},u().createElement(a.Ay,{variant:"body-small"},t));return u().createElement("div",{className:(0,c.A)(d.A["share-status-wrapper"],{[d.A["share-status-success"]]:n,[d.A["share-status-failure"]]:!n})},u().createElement("div",{className:d.A["share-status-icon"]},s),u().createElement("div",{className:d.A["share-status-label"]},n?_x("Shared","The sharing is successful","jetpack"):__("Failed","jetpack")))}},29341:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(63406),a=n(56427),s=n(86087),o=n(27723),i=n(49747),c=n(38394),l=n(56457),u=n(77932);const __=o.__,_x=o._x,d=({prePublish:e=!1})=>{const t=e?s.Fragment:a.PanelBody,n=e?{}:{title:__("Social Image Generator","jetpack")},{isEnabled:o,setIsEnabled:d}=(0,i.A)(),[p,m]=(0,s.useState)(!1),g=(0,s.useCallback)((()=>m(!0)),[]),A=(0,s.useCallback)((()=>m(!1)),[]),[h,E]=(0,s.useState)(null),{createErrorNotice:f,createSuccessNotice:b}=(0,r.I)(),{save:v,isSaving:C}=(0,c.i)({onError:e=>{f(e.message)},onSuccess:()=>{b(__("Image saved to media library.","jetpack"))}}),k=(0,s.useCallback)((()=>{v(`https://s0.wp.com/_si/?t=${h}`,"generated-image.jpg")}),[h,v]);return React.createElement(t,n,p&&React.createElement(u.A,{onClose:A}),React.createElement(a.ToggleControl,{label:__("Enable Social Image","jetpack"),help:o?"":__("Social Image is disabled for this post.","jetpack"),checked:o,onChange:d}),o&&React.createElement(React.Fragment,null,React.createElement("hr",null),React.createElement(l.Ay,{onNewToken:E}),React.createElement("hr",null),React.createElement(a.__experimentalHStack,{spacing:2,wrap:!0},React.createElement(a.Button,{variant:"secondary",onClick:g,label:__("Open the Social Image Generator settings","jetpack")},__("Settings","jetpack")),React.createElement(a.Button,{variant:"secondary",onClick:k,label:__("Save the generated image to your media library.","jetpack"),disabled:!h||C},C?_x("Saving…","Saving the file to media library","jetpack"):__("Save to media library","jetpack")))))}},77932:(e,t,n)=>{"use strict";n.d(t,{A:()=>A});var r=n(50723),a=n(56427),s=n(86087),o=n(27723),i=n(49747),c=n(80624),l=n(56457),u=n(55858),d=n(81299),p=n(53744);const __=o.__,m=["image/jpeg","image/png"],g=__("Choose Image","jetpack"),A=({onClose:e})=>{const{customText:t,imageType:n,imageId:o,template:A,updateSettings:h}=(0,i.A)(),[E,f]=(0,s.useState)(o),[b,v]=(0,s.useState)(n||"featured"),[C,k]=(0,s.useState)(t),[y,B]=(0,s.useState)(A),[w]=(0,c.A)(E),_=(0,s.useCallback)((()=>{h({template:y,image_type:b,custom_text:C||"",..."custom"===b&&{image_id:E}}),e()}),[h,y,b,E,C,e]),I=(0,s.useCallback)((e=>{f(e?.id)}),[f]);return React.createElement(r.Ay,{targetDom:document.body},React.createElement(a.Modal,{onRequestClose:e},React.createElement(l.Ay,{className:p.A.preview,imageId:E,customText:C,imageType:b,template:y}),React.createElement(a.SelectControl,{label:__("Image Type","jetpack"),value:b||"featured",options:[{label:__("Featured Image","jetpack"),value:"featured"},{label:__("Custom Image","jetpack"),value:"custom"},{label:__("No Image","jetpack"),value:"none"}],onChange:v}),"custom"===b&&React.createElement(u.A,{buttonLabel:g,subTitle:__("Add a custom image","jetpack"),mediaId:E,mediaDetails:w,onChange:I,allowedMediaTypes:m,wrapperClassName:p.A.mediaPicker}),React.createElement(a.TextControl,{className:p.A.customText,value:C||"",onChange:k,label:__("Custom Header","jetpack"),help:__("By default the post title is used for the image. You can use this field to set your own text.","jetpack")}),React.createElement(a.BaseControl,{label:__("Templates","jetpack"),className:p.A.templateControl},React.createElement(d.A,{value:y,onTemplateSelected:B})),React.createElement(a.Button,{onClick:e,variant:"tertiary"},__("Cancel","jetpack")),React.createElement(a.Button,{onClick:_,variant:"primary"},__("Save","jetpack"))))}},29761:(e,t,n)=>{"use strict";n(47143),n(86087),n(27723),n(51609),n(89729),n(12226)},12226:(e,t,n)=>{"use strict";n(56427),n(86087),n(27723),n(81299),n(88375)},81299:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(86087),a=n(27723),s=n(13022),o=n(52002),i=n(10936);const __=a.__,c=({value:e=null,onTemplateSelected:t=null})=>{const n=(0,r.useCallback)((e=>{const n=e.target.id;t?.(n)}),[t]);return React.createElement("div",{className:o.A.templates},i.A.map((t=>React.createElement("button",{onClick:n,id:t.name,key:t.name,className:(0,s.A)(o.A.template,{[o.A["template--active"]]:t.name===e})},React.createElement("img",{src:t.image,alt:t.label}),React.createElement("span",{className:"screen-reader-text"},/* translators: %s is the name of the template */ /* translators: %s is the name of the template */ +(0,a.sprintf)(__("Pick the %s template","jetpack"),t.label))))))}},10936:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(26365),a=n(45329),s=n(9509);const o=[{name:"highway",label:"Highway",image:n(22417)},{name:"dois",label:"Dois",image:r},{name:"edge",label:"Edge",image:a},{name:"fullscreen",label:"Fullscreen",image:s}]},98725:(e,t,n)=>{"use strict";n(47143),n(86087),n(51609),n(89729)},96390:(e,t,n)=>{"use strict";n.d(t,{n:()=>d});var r=n(85985),a=n(56427),s=n(86087),o=n(27723),i=n(10991),c=n(18603),l=n(94360),u=n(47944);const __=o.__;function d(){const[e,t]=(0,s.useReducer)((e=>!e),!1),{recordEvent:n}=(0,r.st)(),o=(0,s.useCallback)((()=>{e||n("jetpack_social_preview_modal_opened"),t()}),[e,n]);return React.createElement(a.PanelRow,{className:u.A.panel},e&&React.createElement(a.Modal,{onRequestClose:t,title:__("Social Previews","jetpack"),className:u.A.modal,__experimentalHideHeader:!0},React.createElement("div",{className:u.A["modal-content"]},React.createElement(l.X,null),React.createElement(c.w,null)),React.createElement(a.Button,{className:u.A["close-button"],onClick:t,icon:i.A,label:__("Close","jetpack")})),React.createElement(a.Button,{variant:"secondary",onClick:o},__("Preview social posts","jetpack")))}},98588:(e,t,n)=>{"use strict";n.d(t,{z:()=>C});var r=n(96072),a=n.n(r),s=n(73188),o=n(73066),i=n(57984),c=n(48914),l=n(83945),u=n(73915),d=n(89075),p=n(95550),m=n(3582),g=n(47143),A=n(86087),h=n(18537),E=n(27723),f=n(39553),b=n(62697),v=n(31137);const __=E.__;function C({connection:e}){const t=(0,A.useMemo)((()=>({displayName:e.display_name||e.external_display,profileImage:e.profile_picture})),[e]),{image:n,media:r,title:E,description:C,url:k,excerpt:y}=(0,v.s)(),B=((0,f.A)().message||"").trim(),w=(0,A.useMemo)((()=>({description:C,image:n,media:r,title:E,url:k})),[C,n,r,E,k]),_=(0,g.useSelect)((e=>{const{getUnstableBase:t}=e(m.store);return(0,h.decodeEntities)(t()?.name)}),[]),I=r?.some((({type:e})=>e.startsWith("image/")||e.startsWith("video/")));switch(e.service_name){case"facebook":return I?React.createElement(s.h,a()({},w,{type:"article",customText:B||y||E,user:t})):React.createElement(o.l,a()({},w,{type:"article",customText:B||y||E,user:t}));case"instagram-business":{const e=Boolean(n);return I||e?React.createElement(i.l,a()({},w,{image:r?.[0]?.url||n,name:t.displayName,profileImage:t.profileImage,caption:B||E||C})):React.createElement(b.q,null)}case"linkedin":return React.createElement(c.$,a()({},w,{jobTitle:__("Job Title (Company Name)","jetpack"),name:t.displayName,profileImage:t.profileImage,description:B||E||C}));case"mastodon":{const e=r?.[0],n=e?.type.startsWith("image/")?e.url:null;return React.createElement(l._,a()({},w,{description:y,siteName:_,user:{avatarUrl:t.profileImage,address:t.displayName,displayName:t.displayName},customText:B,customImage:n}))}case"nextdoor":{const e=`${B||E||C} ${r.length?k:""}`.trim();return React.createElement(u.K,a()({},w,{description:e,name:t.displayName,profileImage:t.profileImage}))}case"threads":{let e=E;B?e=B:E&&y&&(e=`${E}\n\n${y}`);const n=500-k.length-2;return e=(0,h.decodeEntities)(e).slice(0,n),e+=`\n\n${k}`,React.createElement(d.s,a()({},w,{caption:e,name:t.displayName,profileImage:t.profileImage}))}case"tumblr":return React.createElement(p.B,a()({},w,{user:{displayName:t.displayName,avatarUrl:t.profileImage},customText:B}));default:return null}}},18603:(e,t,n)=>{"use strict";n.d(t,{w:()=>g});var r=n(85985),a=n(56427),s=n(47143),o=n(27723),i=n(51609),c=n(89729),l=n(12141),u=n(39329),d=n(48712),p=n(98588),m=n(47944);const __=o.__,_x=o._x;function g(){const{recordEvent:e}=(0,r.st)(),t=(0,d.h)(),{canBeTurnedOn:n,shouldBeDisabled:o}=(0,u.j)(),g=(0,s.useSelect)((e=>e(c.M_).getConnections().filter((({service_name:e})=>t(e))).map((e=>{const t=e.display_name||e.external_display,r=`${e.service_name}-${e.connection_id}`,a=React.createElement(l.A,{label:t,serviceName:e.service_name,profilePicture:e.profile_picture}),s=o(e)||!n(e)||!e.enabled;return{...e,className:s?m.A["disabled-tab"]:"",name:r,title:t,icon:a}}))),[t,o]),{toggleConnectionById:A}=(0,s.useDispatch)(c.M_),h=(0,i.useCallback)(((t,n)=>()=>{A(t),e("jetpack_social_connection_toggled",{location:"preview-modal",enabled:!n.enabled,service_name:n.service_name})}),[e,A]);return React.createElement("div",{className:m.A["preview-section"]},React.createElement(a.TabPanel,{tabs:g},(e=>{const t=n(e)&&e.enabled;return React.createElement("div",{className:m.A["preview-content"]},o(e)?null:React.createElement(a.ToggleControl,{label:t?_x("Connection enabled","","jetpack"):__("Connection disabled","jetpack"),checked:t,onChange:h(e.connection_id,e)}),React.createElement(p.z,{connection:e}))})))}},94360:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});var r=n(27723),a=n(41190),s=n(47944);const __=r.__;function o(){return React.createElement("div",{className:s.A["settings-section"]},React.createElement("div",{className:s.A["settings-header"]},React.createElement("h2",null,__("Social Preview","jetpack"))),React.createElement("div",{className:s.A["settings-content"]},React.createElement("p",{className:s.A["modal-description"]},__("Edit and preview your social post before sharing.","jetpack")),React.createElement(a.o,{analyticsData:{location:"preview-modal"}})))}},59540:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(96072),a=n.n(r),s=n(87070),o=n(47143),i=n(39553),c=n(89729);const l=(0,o.withSelect)((e=>{const{getEditedPostAttribute:t}=e("core/editor");return{excerpt:t("excerpt"),content:t("content").split("\x3c!--more")[0]}}))((e=>{const{message:t}=(0,i.A)(),{title:n,excerpt:r,content:l}=e,u=(0,o.useSelect)((e=>{const{displayName:t,profileImage:n}=e(c.Af).getConnectionProfileDetails(c.s);return{displayName:t,avatarUrl:n}}));return React.createElement(s.k,a()({},e,{type:"article",user:u,customText:t||r||l||n}))}))},81048:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(96072),a=n.n(r),s=n(8797),o=n(47143),i=n(18537),c=n(51609),l=n.n(c);const u=function(e){const t=(0,o.useSelect)((e=>{const{getUnstableBase:t}=e("core"),n=t().name;return(0,i.decodeEntities)(n)}));return l().createElement(s.m,a()({},e,{siteTitle:t}))}},91262:(e,t,n)=>{"use strict";n.d(t,{p:()=>g});var r=n(47656),a=n(3924),s=n(20578),o=n(56427),i=n(47143),c=n(27723),l=n(51609),u=n.n(l),d=n(77627),p=n(39553),m=n(89729);const __=c.__,_x=c._x;function g(e){const{title:t,image:n,media:c,description:l}=e,{username:g,profileImage:A}=(0,i.useSelect)((e=>e(m.Af).getConnectionProfileDetails(m.bN))),{isEnhancedPublishingEnabled:h}=(0,d.A)(),{message:E}=(0,p.A)(),f=c?.some((({type:e})=>e.startsWith("image/")||e.startsWith("video/"))),b=Boolean(n);if(!f&&!b)return u().createElement(r.A,{hideCloseButton:!0,actions:[u().createElement(o.ExternalLink,{href:(0,a.A)("jetpack-social-share-to-instagram")},__("Learn more","jetpack"))]},h?__("To share to Instagram, add an image/video, or enable Social Image Generator.","jetpack"):_x("You need a featured image to share to Instagram.","The message shown in the Instagram social preview","jetpack"));const v=E||t||l;return u().createElement(s.a,{image:c?.[0]?.url||n,media:c,name:g,profileImage:A,caption:v})}},29650:(e,t,n)=>{"use strict";n.d(t,{p:()=>u});var r=n(7368),a=n(47143),s=n(27723),o=n(51609),i=n.n(o),c=n(39553),l=n(89729);const __=s.__;function u(e){const{title:t,url:n,image:s,media:o,description:u}=e,{displayName:d,profileImage:p}=(0,a.useSelect)((e=>e(l.Af).getConnectionProfileDetails(l.gt))),{message:m}=(0,c.A)(),g=`${m||t||u} ${o.length?n:""}`.trim();return i().createElement(r.G,{jobTitle:__("Job Title (Company Name)","jetpack"),image:s,name:d,profileImage:p,title:t,description:g,url:n,media:o})}},98175:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(96072),a=n.n(r),s=n(71751),o=n(47143),i=n(18537),c=n(383),l=n(39553),u=n(89729);const d=e=>{const{message:t}=(0,l.A)(),{content:n,siteName:r}=(0,o.useSelect)((e=>{const{getEditedPostAttribute:t}=e("core/editor"),{getUnstableBase:n}=e("core");return{content:t("content").split("\x3c!--more")[0],siteName:(0,i.decodeEntities)(n().name)}})),{attachedMedia:d}=(0,c.h)(),p=(0,o.useSelect)((e=>{const{displayName:t,profileImage:n,username:r}=e(u.Af).getConnectionProfileDetails(u.V6);return{displayName:t,avatarUrl:n,address:r}})),m=e.media?.[0],g=m?.type.startsWith("image/")?m.url:null;return React.createElement(s.R,a()({},e,{siteName:r,user:p,description:n,customText:t,customImage:g,isSocialPost:d.length>0}))}},81115:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(56427),a=n(27723),s=n(10991),o=n(42160),i=n(31137);const __=a.__,c=function({onClose:e,initialTabName:t}){const n=(0,o.r)(),{image:a,media:c,title:l,description:u,url:d,excerpt:p}=(0,i.s)();return React.createElement(r.Modal,{onRequestClose:e,className:"jetpack-social-previews__modal",__experimentalHideHeader:!0},React.createElement(r.Button,{className:"jetpack-social-previews__modal--close-btn",onClick:e,icon:s.A,label:__("Close","jetpack")}),React.createElement(r.TabPanel,{className:"jetpack-social-previews__modal-previews",tabs:n,initialTabName:t},(e=>React.createElement("div",null,React.createElement(e.preview,{excerpt:p,title:l,description:u,url:d,image:a,media:c})))))}},49257:(e,t,n)=>{"use strict";n.d(t,{s:()=>l});var r=n(58581),a=n(47143),s=n(51609),o=n.n(s),i=n(39553),c=n(89729);function l(e){const{title:t,url:n,image:s,media:l,description:u}=e,{displayName:d,profileImage:p}=(0,a.useSelect)((e=>e(c.Af).getConnectionProfileDetails(c.zk))),{message:m}=(0,i.A)(),g=`${m||t||u} ${l.length?n:""}`.trim();return o().createElement(r.n,{image:s,name:d,profileImage:p,title:t,description:g,url:n,media:l})}},97192:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(56427),a=n(27723),s=n(42160);const __=a.__,_x=a._x,o=({openModal:e})=>{const t=(0,s.r)();return React.createElement("div",{className:"jetpack-social-previews__panel"},React.createElement("p",null,__("Preview what this will look like on social networks and Google search.","jetpack")),React.createElement("div",{className:"jetpack-gutenberg-social-icons"},t.map((e=>React.createElement(e.icon,{key:e.name,className:"jetpack-social-previews__icon"})))),React.createElement(r.Button,{variant:"secondary",onClick:e,label:__("Open Social Previews","jetpack")},_x("Preview","Button label that opens the social previews modal","jetpack")))}},68655:(e,t,n)=>{"use strict";n.d(t,{Q:()=>u});var r=n(33389),a=n(47143),s=n(18537),o=n(51609),i=n.n(o),c=n(383),l=n(89729);function u({excerpt:e,title:t,description:n,image:o,url:u,media:d}){const{shareMessage:p}=(0,c.h)(),m=(0,a.useSelect)((r=>{const{displayName:a,profileImage:i}=r(l.M_).getConnectionProfileDetails(l.BB);let c=t;p?c=p:t&&e&&(c=`${t}\n\n${e}`);const m=500-u.length-2;return c=(0,s.decodeEntities)(c).slice(0,m),c+=`\n\n${u}`,[{caption:c,name:a,profileImage:i,title:t,description:n,image:o,media:d,url:u}]}),[t,o,n,d,u]),g=(0,a.useSelect)((e=>e(l.M_).getConnectionsByService(l.BB)),[]);return i().createElement(r.n,{posts:m,hidePostPreview:!g.length})}},22322:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(96072),a=n.n(r),s=n(19036),o=n(47143),i=n(39553),c=n(89729);const l=e=>{const{content:t,author:n}=(0,o.useSelect)((e=>{const{getUser:t}=e("core"),{getEditedPostAttribute:n}=e("core/editor"),r=n("author"),a=r&&t(r);return{content:n("content").split("\x3c!--more")[0],author:a?.name}})),{message:r}=(0,i.A)(),l=(0,o.useSelect)((e=>{const{displayName:t,profileImage:r}=e(c.Af).getConnectionProfileDetails(c.me);return{displayName:t||n,avatarUrl:r}}),[n]);return React.createElement(s.s,a()({},e,{user:l,description:t,customText:r}))}},91537:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(43731),a=n(47143),s=n(51609),o=n.n(s),i=n(383),c=n(89729);const l=function({title:e,description:t,image:n,url:s,media:l}){const{shareMessage:u}=(0,i.h)(),d=(0,a.useSelect)((r=>{const{displayName:a,profileImage:o,username:i}=r(c.Af).getConnectionProfileDetails(c.PX);return[{name:a,profileImage:o,screenName:i,text:u+(l.length?` ${s}`:""),cardType:n?"summary_large_image":"summary",title:e,description:t,image:n,media:l,url:s}]}),[e,n,t,l,s,u]);return o().createElement(r.p,{tweets:d,hidePostPreview:!0})}},42160:(e,t,n)=>{"use strict";n.d(t,{r:()=>v});var r=n(96072),a=n.n(r),s=n(78478),o=n(27723),i=n(51609),c=n.n(i),l=n(89729),u=n(70407),d=n(59540),p=n(81048),m=n(91262),g=n(29650),A=n(98175),h=n(49257),E=n(68655),f=n(22322),b=n(91537);const __=o.__,_x=o._x;function v(){const e=(0,u.getSupportedAdditionalConnections)().includes(l.BB);return(0,i.useMemo)((()=>[{title:__("Google Search","jetpack"),icon:e=>c().createElement(s.M5,a()({serviceName:"google"},e)),name:"google",preview:p.A},{title:__("X","jetpack"),icon:e=>c().createElement(s.M5,a()({serviceName:"x"},e)),name:"x",preview:b.A},{title:__("Facebook","jetpack"),icon:e=>c().createElement(s.M5,a()({serviceName:"facebook"},e)),name:"facebook",preview:d.A},{title:__("Instagram","jetpack"),icon:e=>c().createElement(s.M5,a()({serviceName:"instagram"},e)),name:"instagram",preview:m.p},e?{title:_x("Threads","The name of the social media network - threads.net","jetpack"),icon:e=>c().createElement(s.M5,a()({serviceName:"threads"},e)),name:"threads",preview:E.Q}:null,{title:__("LinkedIn","jetpack"),icon:e=>c().createElement(s.M5,a()({serviceName:"linkedin"},e)),name:"linkedin",preview:g.p},{title:__("Nextdoor","jetpack"),icon:e=>c().createElement(s.M5,a()({serviceName:"nextdoor"},e)),name:"nextdoor",preview:h.s},{title:__("Tumblr","jetpack"),icon:e=>c().createElement(s.M5,a()({serviceName:"tumblr-alt"},e)),name:"tumblr",preview:f.A},{title:__("Mastodon","jetpack"),icon:e=>c().createElement(s.M5,a()({serviceName:"mastodon"},e)),name:"mastodon",preview:A.A}].filter(Boolean)),[e])}},31137:(e,t,n)=>{"use strict";n.d(t,{s:()=>c});var r=n(47143),a=n(27723),s=n(383),o=n(74820),i=n(25995);const __=a.__;function c(){const{attachedMedia:e,imageGeneratorSettings:t}=(0,s.h)();return(0,r.useSelect)((n=>{const{getMedia:r}=n("core"),{getEditedPostAttribute:a,getEditedPostContent:s}=n("core/editor"),c=a("featured_media");let l=c?(0,i.l)(r(c)):"";const u=t.enabled?(0,o.S)(t.token):"";if(u&&(l=u),!l){const e=(0,i.t)(s());e&&(l=e)}const d=[],p=e=>{const t=r(e);return t?{type:t.mime_type,url:(0,i.l)(t),alt:t.alt_text}:null};for(const{id:t}of e){const e=p(t);e&&d.push(e)}return{title:(a("meta")?.jetpack_seo_html_title||a("title")||"").trim(),description:(a("meta")?.advanced_seo_description||a("excerpt")||a("content").split("\x3c!--more")[0]||__("Visit the post for more.","jetpack")||"").trim(),url:a("link"),excerpt:(a("excerpt")||a("content").split("\x3c!--more")[0]||"").trim(),image:l,media:d,initialTabName:null}}),[e,t])}},25995:(e,t,n)=>{"use strict";function r(e){return e?e.media_details?.sizes?.large?.source_url||e.source_url:null}function a(e){const t=(new DOMParser).parseFromString(e,"text/html"),n=Array.from(t.querySelectorAll("img")),r=n[0]?.src;return r??null}n.d(t,{l:()=>r,t:()=>a})},18699:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(86087),a=n(76794);const s=({sourceUrl:e,mime:t,duration:n})=>{const[s,o]=(0,r.useState)(!1),[i,c]=(0,r.useState)(0),l=(0,r.useRef)(null),u=(0,r.useRef)(null),d=(0,r.useRef)(null);(0,r.useEffect)((()=>{l.current?.load()}),[e]);const p=(0,r.useCallback)((()=>{l.current.pause(),l.current.currentTime=0,clearInterval(u.current),clearTimeout(d.current),c(0),o(!1)}),[]),m=(0,r.useCallback)((()=>{d.current=setTimeout((()=>{s||(l.current.play(),o(!0),u.current=setInterval((()=>{c((e=>e+1))}),1e3))}),500)}),[s]),g=()=>{const e=n-i,t=Math.floor(e/60),r=String(Math.floor(e%60)).padStart(2,"0");return React.createElement("div",{className:a.A.progress},React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"6",height:"8",fill:"none"},React.createElement("path",{fill:"#fff",d:"M5.25 3.567a.5.5 0 0 1 0 .866L.75 7.031A.5.5 0 0 1 0 6.598V1.402A.5.5 0 0 1 .75.969l4.5 2.598Z"})),React.createElement("span",{className:a.A.duration},`${t}:${r}`))};return React.createElement("div",{className:a.A.wrapper,onMouseEnter:m,onMouseLeave:p},React.createElement("video",{ref:l,onEnded:p,muted:!0},React.createElement("source",{src:e,type:t})),React.createElement(g,null))}},98420:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(383);function a(){const{attachedMedia:e,updateJetpackSocialOptions:t}=(0,r.h)();return{attachedMedia:e,updateAttachedMedia:e=>t("attached_media",e)}}},54822:(e,t,n)=>{"use strict";n(85985),n(1455),n(86087)},54915:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(47143),a=n(43656);const s=()=>(0,r.useSelect)((e=>e(a.store).getEditedPostAttribute("featured_media")))},49747:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(47143),a=n(43656),s=n(86087),o=n(383);const i=(e,t)=>({isEnabled:e?.enabled??!t,customText:e?.custom_text??null,imageType:e?.image_type??null,imageId:e?.image_id??null,template:e?.template??null,token:e?.token??null});function c(){const{imageGeneratorSettings:e,jetpackSocialOptions:t,updateJetpackSocialOptions:n}=(0,o.h)(),{isPostPublished:c}=(0,r.useSelect)((e=>({isPostPublished:e(a.store).isCurrentPostPublished()}))),l=(0,s.useCallback)(((t,r)=>{const a={...e,[t]:r};n("image_generator_settings",a)}),[e,n]),u=(0,s.useCallback)((t=>{const r={...e,...t};n("image_generator_settings",r)}),[e,n]);return{...i(t.image_generator_settings,c),setIsEnabled:e=>l("enabled",e),setToken:e=>l("token",e),updateSettings:u}}},80624:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(47143),a=n(86087);const s=async e=>{if(!e)return{};let t={mime:e.mime_type,fileSize:e.media_details.filesize,length:e.media_details?.length};"video/videopress"===e.mime_type&&(t=await(async e=>{if(!e?.media_details?.videopress?.original||!e?.media_details?.videopress?.duration)return{};const t=await fetch(e?.media_details?.videopress?.original,{method:"HEAD"}),n=t.headers.get("content-length"),r=t.headers.get("content-type");return n&&r?{mime:r,fileSize:n,length:Math.round(e.media_details.videopress.duration/1e3)}:{}})(e));const n=e?.media_details?.sizes??{};if(!n.full)return{mediaData:{width:e.media_details.width,height:e.media_details.height,sourceUrl:e.source_url},metaData:t};const r=n.medium||n.large,a={width:r.width,height:r.height,sourceUrl:r.source_url};return{mediaData:{width:n.full.width,height:n.full.height,sourceUrl:n.full.source_url},metaData:t,previewData:a}};function o(e=null){const[t,n]=(0,a.useState)([{}]),o=(0,r.useSelect)((t=>t("core").getMedia(e,{context:"view"})),[e]),i=(0,a.useCallback)((async()=>{try{const e=await s(o);n([e??{}])}catch{n([{}])}}),[o]);return(0,a.useEffect)((()=>{i()}),[i]),t}},80682:(e,t,n)=>{"use strict";n.d(t,{$m:()=>u,I1:()=>c,eF:()=>i,ec:()=>o,i1:()=>l,k3:()=>a,z9:()=>s});var r=n(27723);const __=r.__,a="NO_MEDIA_ERROR",s="FILE_TYPE_ERROR",o="FILE_SIZE_ERROR",i="VIDEO_LENGTH_TOO_LONG_ERROR",c="VIDEO_LENGTH_TOO_SHORT_ERROR",l="DIMENSION_ERROR";function u(e){return{[o]:__("File too big","jetpack"),[i]:__("Video too long","jetpack"),[c]:__("Video too short","jetpack"),[l]:__("Invalid dimensions","jetpack")}[e]||__("Invalid media","jetpack")}},52367:(e,t,n)=>{"use strict";n.d(t,{A:()=>d,c:()=>c});var r=n(86087),a=n(98420),s=n(49747),o=n(80682),i=n(2204);function c(e){return"video"===e.split("/")[0]}const l=e=>{if(!e?.mime||!e?.fileSize)return!1;const{mime:t,fileSize:n}=e;if(c(t))return!1;if(!i.nJ.includes(t))return!1;return!((n?n/Math.pow(1e3,2):0)>=55)},u=(e,t,n,r,a)=>{const s=i.mB[n]??i.EX;if(!e||0===Object.keys(e).length)return s.requiresMedia&&!a?o.k3:null;const{mime:l,fileSize:u}=e;if(!s.requiresMedia&&!r)return null;if(!l||!s.allowedMediaTypes.includes(l.toLowerCase()))return o.z9;if(!t?.width||!t?.height)return o.i1;const d=u?u/Math.pow(1e3,2):null;return c(l)?((e,t,n,r,a)=>{const{minSize:s=0,maxSize:c=i.TR,minLength:l=0,maxLength:u=i.TR,maxWidth:d=i.TR,aspectRatio:p=i.EX.video.aspectRatio}=a;if(!e||e>c||eu)return o.eF;const m=n/r;return mp.max||n>d?o.i1:null})(d,e.length,t.width,t.height,s.video):((e,t,n,r)=>{const{maxSize:a=i.TR,minWidth:s=0,maxWidth:c=i.TR,aspectRatio:l=i.EX.image.aspectRatio}=r,u=t/n;return ul.max||t>c||ta?o.ec:null})(d,t.width,t.height,s.image)},d=(e,t)=>{const{attachedMedia:n}=(0,a.A)(),{isEnabled:o}=(0,s.A)(),i=n.length>0,c=(0,r.useRef)({});return(0,r.useMemo)((()=>{const n=e.reduce(((e,{connection_id:n,service_name:r})=>{const a=u(t.metaData,t.mediaData,r,i,o&&"instagram-business"===r);return a&&(e[n]=a),e}),{});return JSON.stringify(n)!==JSON.stringify(c.current)&&(c.current=n),{validationErrors:c.current,isConvertible:l(t.metaData)}}),[e,t.metaData,t.mediaData,i,o])}},2204:(e,t,n)=>{"use strict";n.d(t,{EX:()=>g,TR:()=>m,UB:()=>E,mB:()=>A,nJ:()=>h});const r="video/mp4",a="video/mov",s="video/videopress",o=["image/jpeg","image/jpg","image/png"],i=o.concat(["image/gif","image/bmp"]),c=["video/3g2","video/3gp","video/3gpp","video/asf","video/avi","video/dat","video/divx","video/dv","video/f4v","video/flv","video/gif","video/m2ts","video/m4v","video/mkv","video/mod","video/mov","video/mp4","video/mpe","video/mpeg","video/mpeg4","video/mpg","video/mts","video/nsv","video/ogm","video/ogv","video/qt","video/tod","video/ts","video/vob","video/wmv"],l=o.concat(["image/gif","image/heic","image/heif","image/webp","image/avif"]),u=["video/webm","video/quicktime","video/ogg"],d=o.concat(["image/gif","image/jpe","image/tif","image/tiff","image/webp"]),p=[a,"video/avi","video/mpg","video/mpeg","video/m4v"],m=1e5,g={requiresMedia:!1,allowedMediaTypes:o.concat([r,s,a]),image:{maxSize:4,minWidth:0,maxWidth:m,aspectRatio:{min:0,max:m}},video:{minLength:0,minSize:0,maxSize:m,maxLength:m,maxWidth:m,aspectRatio:{min:0,max:m}}},A={twitter:{allowedMediaTypes:o.concat([r,s]),image:{maxSize:5},video:{maxSize:512,maxLength:140}},facebook:{allowedMediaTypes:i.concat([s,...c]),image:{maxSize:8},video:{maxSize:1e4,maxLength:14400}},tumblr:{allowedMediaTypes:o.concat([r,a,s]),image:{maxSize:20},video:{maxSize:500,maxLength:600}},linkedin:{allowedMediaTypes:o.concat([r,s]),image:{maxSize:20},video:{minSize:.075,maxSize:200,maxLength:600,minLength:3}},"instagram-business":{requiresMedia:!0,allowedMediaTypes:["image/jpg","image/jpeg",r,a,s],image:{maxSize:8,minWidth:320,maxWidth:1440,aspectRatio:{min:.8,max:1.91}},video:{maxLength:90,minLength:3,maxSize:1e3,maxWidth:1920,aspectRatio:{min:.01,max:10}}},mastodon:{allowedMediaTypes:l.concat([...u,r,s]),image:{maxSize:10},video:{maxSize:40}},nextdoor:{allowedMediaTypes:d.concat([...p,r,s]),image:{maxSize:10},video:{maxSize:500}}},h=["image/png","image/jpeg","image/jpg","image/heic","image/heif","image/webp"],E=[...new Set([...o,...i,...l,...c,...u,...h])]},383:(e,t,n)=>{"use strict";n.d(t,{h:()=>i});var r=n(47143),a=n(43656),s=n(86087),o=n(70407);function i(){const{editPost:e}=(0,r.useDispatch)(a.store),t=(0,r.useSelect)((e=>{const t=e(a.store).getEditedPostAttribute("meta")||{},n=t.jetpack_publicize_feature_enabled??!0,r=t.jetpack_social_options||{};return{isPublicizeEnabled:n,jetpackSocialOptions:r,attachedMedia:r.attached_media||[],imageGeneratorSettings:r.image_generator_settings??{enabled:!1},isPostAlreadyShared:t.jetpack_social_post_already_shared??!1,shareMessage:`${t.jetpack_publicize_message||""}`.substring(0,(0,o.getShareMessageMaxLength)())}}),[]),n=(0,s.useCallback)(((t,n)=>{e({meta:{[t]:n}})}),[e]),i=(0,s.useCallback)((()=>{n("jetpack_publicize_feature_enabled",!t.isPublicizeEnabled)}),[t.isPublicizeEnabled,n]),c=(0,s.useCallback)(((e,r)=>{n("jetpack_social_options",{...t.jetpackSocialOptions,[e]:r,version:2})}),[t.jetpackSocialOptions,n]);return(0,s.useMemo)((()=>({...t,togglePublicizeFeature:i,updateJetpackSocialOptions:c,updateMeta:n})),[t,i,c,n])}},57275:(e,t,n)=>{"use strict";n.d(t,{z:()=>o});var r=n(47143),a=n(43656),s=n(86087);function o(e){const t=(0,r.useSelect)((e=>e(a.store).isPublishingPost()),[]),[n,o]=(0,s.useState)(e),i=(0,s.useRef)(!1);return(0,s.useEffect)((()=>{t&&(i.current=!0),i.current||o(e)}),[t,e]),n}},77627:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(89660),a=n(85985),s=n(47143),o=n(43656),i=n(89729),c=n(383);const l="republicize";function u(){const e=(0,a.$i)()?.wpcomBlogId,t=(0,a.FB)(l)?.available,n=(0,s.useSelect)((e=>e(o.store).isCurrentPostPublished()),[]),u=(0,s.useSelect)((e=>e(o.store).getCurrentPostType()),[]),{isUserConnected:d}=(0,r.A)(),p=(0,a.$i)()?.social?.publicizeConnectionsUrl??"https://wordpress.com/marketing/connections/",{isPublicizeEnabled:m,togglePublicizeFeature:g,isPostAlreadyShared:A}=(0,c.h)(),h=(0,a.W4)(l)&&!t,E=n?t:m,f=n&&h,b=n&&!t,v=!!(0,a.$i)()?.social?.hasPaidPlan,C=!!(0,a.$i)()?.social?.isEnhancedPublishingEnabled,k="jetpack-social-note"===u,y=!d&&!(0,a.Sy)(),B=(0,s.useSelect)((e=>e(i.M_).userConnectionUrl()),[]);return{isPublicizeEnabledMeta:m,isPublicizeEnabled:E,togglePublicizeFeature:g,isPublicizeDisabledBySitePlan:f,isRePublicizeFeatureAvailable:t,isRePublicizeUpgradableViaUpsell:h,hidePublicizeFeature:b,isPostAlreadyShared:A,hasPaidPlan:v,isEnhancedPublishingEnabled:C,isSocialImageGeneratorAvailable:!!(0,a.$i)()?.social?.isSocialImageGeneratorAvailable&&!k,isSocialImageGeneratorEnabled:!!(0,a.$i)()?.social?.isSocialImageGeneratorEnabled,connectionsAdminUrl:p+(e??(0,a.GE)()),adminUrl:(0,a.$i)()?.social?.adminUrl,jetpackSharingSettingsUrl:(0,a.$i)()?.social?.jetpackSharingSettingsUrl,isJetpackSocialNote:k,needsUserConnection:y,userConnectionUrl:B}}},88584:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(29491),a=n(86087),s=n(86212),o=n(50001);function i(){const e=(0,a.useRef)(!1),t=(0,a.useRef)(!0),n=(0,s.A)(),{refresh:i}=(0,o.A)(),c=(0,r.useDebounce)(i,0),l=(0,r.useDebounce)(i,2e3);return()=>{t.current&&(c(),t.current=!1),n||(e.current=!0,l.cancel()),n&&e.current&&(l(),e.current=!1)}}},38394:(e,t,n)=>{"use strict";n.d(t,{i:()=>o});var r=n(27723),a=n(16480),s=n(51609);const __=r.__;function o({onError:e,onSuccess:t}){const[n,r]=(0,s.useState)(!1),o=(0,s.useCallback)((async(n,s="image")=>{try{r(!0);const o=await fetch(n);if(!o.ok)return void e(new Error(__("Failed to download image.","jetpack"),{cause:o}));const i=await o.blob(),c=new File([i],s,{type:i.type});await(0,a.uploadMedia)({filesList:[c],onFileChange:([e])=>{void 0!==e.id&&(t(e),r(!1))},onError:t=>{e(new Error(__("Failed to save image to library.","jetpack"),{cause:t})),r(!1)},maxUploadFileSize:0})}catch(t){e(new Error(__("Failed to save image to library.","jetpack"),{cause:t}))}finally{r(!1)}}),[e,t]);return(0,s.useMemo)((()=>({isSaving:n,save:o})),[n,o])}},49036:(e,t,n)=>{"use strict";n.d(t,{Wv:()=>c,_D:()=>i});var r=n(29491),a=n(47143),s=n(43656),o=n(86087);function i(e,t){const n=(0,a.useSelect)((e=>e(s.store).isPublishingPost()),[]),i=(0,r.usePrevious)(n);(0,o.useEffect)((()=>{i&&!n&&e()}),[n,i,e,t])}function c(e,t){const n=(0,a.useSelect)((e=>e(s.store).isPublishingPost()),[]),i=(0,r.usePrevious)(n);(0,o.useEffect)((()=>{!i&&n&&e()}),[n,i,e,t])}},31873:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(1455),a=n.n(r),s=n(47143),o=n(43656),i=n(86087),c=n(27723),l=n(50001),u=n(39553),d=n(51371);const __=c.__;function p(e){const t=e?.code,n=e?.errors?.length;if(!t&&!n)return!1;let r="";return t&&(r=__("Unable to share the Post","jetpack")),n&&(r=__("Unable to share the Post","jetpack")),{message:r,result:e}}function m(e){const{message:t}=(0,u.A)(),{skippedConnections:n}=(0,l.A)(),r=(0,s.useSelect)((e=>e(o.store).getCurrentPostId()),[]);e=e||r;const[c,m]=(0,i.useState)({data:[],error:{}}),g=(0,d.n)().api_paths.resharePost.replace("{postId}",e),A=(0,i.useCallback)((function(){const r={isFetching:!1,isError:!1,isSuccess:!1,data:[],error:{},postId:e};if(!c.isFetching)return m({...r,isFetching:!0}),a()({path:g,method:"POST",data:{message:t,skipped_connections:n}}).then(((e={})=>{const t=p(e);if(t)return m((e=>({...e,isFetching:!1,isSuccess:!1,isError:!0,data:[],error:t})));m((t=>({...t,isFetching:!1,isSuccess:!0,isError:!1,data:e?.results,error:{}})))})).catch((e=>{m((t=>({...t,isFetching:!1,isSuccess:!1,isError:!0,data:[],error:p(e)})))})),function(){m(r)}}),[e,t,n,c.isFetching,g]);return{...c,doPublicize:A}}},50001:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(47143),a=n(89729);function s(){const{refreshConnectionTestResults:e,toggleConnectionById:t}=(0,r.useDispatch)(a.M_);return{...(0,r.useSelect)((e=>{const t=e(a.M_),n=t.getConnections(),r=t.getEnabledConnections(),s=t.getDisabledConnections().map((e=>e.connection_id));return{connections:n,hasConnections:n.length>0,hasEnabledConnections:r.length>0,skippedConnections:s,enabledConnections:r}}),[]),toggleById:t,refresh:e}}},39553:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(70407),a=n(383);function s(){const{updateMeta:e,shareMessage:t}=(0,a.h)();return{message:t,maxLength:(0,r.getShareMessageMaxLength)(),updateMessage:function(t){e("jetpack_publicize_message",t)}}}},75168:(e,t,n)=>{"use strict";n.d(t,{F:()=>i});var r=n(47143),a=n(43656),s=n(89729),o=n(49036);function i(){const{mergeConnections:e}=(0,r.useDispatch)(s.M_),{didPostSaveRequestSucceed:t,isCurrentPostPublished:n,getEditedPostAttribute:i}=(0,r.useSelect)((e=>e(a.store)),[]);(0,o._D)((()=>{if(t()&&n()){const t=i("jetpack_publicize_connections");t?.length&&e(t)}}),[t,n,i])}},93394:(e,t,n)=>{"use strict";n.r(t),n.d(t,{abortRefreshConnectionsRequest:()=>b,abortRequest:()=>f,addConnection:()=>m,closeConnectionsModal:()=>T,createAbortController:()=>h,createConnection:()=>I,deleteConnection:()=>y,deleteConnectionById:()=>w,deletingConnection:()=>B,mergeConnections:()=>A,openConnectionsModal:()=>R,refreshConnectionTestResults:()=>v,removeAbortControllers:()=>E,setConnections:()=>d,setKeyringResult:()=>p,setReconnectingAccount:()=>S,syncConnectionsToPostMeta:()=>C,toggleConnection:()=>g,toggleConnectionById:()=>k,toggleConnectionsModal:()=>N,updateConnection:()=>j,updateConnectionById:()=>Q,updatingConnection:()=>x});var r=n(692),a=n(1455),s=n.n(a),o=n(47143),i=n(43656),c=n(27723),l=n(51371),u=n(54118);const __=c.__;function d(e){return{type:u.dA,connections:e}}function p(e){return{type:u.BN,keyringResult:e}}function m(e){return{type:u.Bc,connection:e}}function g(e){return{type:u.af,connectionId:e}}function A(e){return function({dispatch:t,select:n}){const r=n.getConnections(),a=[],s={done:!1,enabled:!0,toggleable:!0};for(const t of e){const e=r.find((e=>e.connection_id?e.connection_id===t.connection_id:e.id===t.id)),n={...s,...e,...t,shared:e?.shared,is_healthy:t.test_success};a.push(n)}t(d(a))}}function h(e,t){return{type:u.WB,requestType:t,abortController:e}}function E(e){return{type:u.Wp,requestType:e}}function f(e){return function({dispatch:t,select:n}){const r=n.getAbortControllers(e);for(const e of r)e.abort();t(E(e))}}function b(){return f(u.rz)}function v(e=!1){return async function({dispatch:t,select:n}){try{const r=(0,l.n)().api_paths.refreshConnections;for(;n.getUpdatingConnections().length>0||n.getDeletingConnections().length>0;)await new Promise((e=>setTimeout(e,100)));const a=new AbortController;t(h(a,u.rz));t(A(await s()({path:r,signal:a.signal}))),e&&t(C())}catch(n){"AbortError"===n.name&&t(v(e))}}}function C(){return function({registry:e,select:t}){const n=t.getConnections();return e.dispatch(i.store).editPost({jetpack_publicize_connections:n})}}function k(e,t=!0){return function({dispatch:n}){n(g(e)),t&&n(C())}}function y(e){return{type:u.nC,connectionId:e}}function B(e,t=!0){return{type:u.WH,connectionId:e,deleting:t}}function w({connectionId:e,showSuccessNotice:t=!0}){return async function({registry:n,dispatch:a}){const{createErrorNotice:c,createSuccessNotice:l}=(0,o.dispatch)(r.store);try{const r=`/jetpack/v4/social/connections/${e}`;return a(b()),a(B(e)),await s()({method:"DELETE",path:r}),a(y(e)),t&&l(__("Account disconnected successfully.","jetpack"),{type:"snackbar",isDismissible:!0}),n.select(i.store).getCurrentPostId()&&a(C()),!0}catch(e){let t=__("Error disconnecting account.","jetpack");"object"==typeof e&&"message"in e&&e.message&&(t=`${t} ${e.message}`),c(t,{type:"snackbar",isDismissible:!0})}finally{a(B(e,!1))}return!1}}let _=1;function I(e,t={}){return async function({registry:n,dispatch:a}){const{createErrorNotice:l,createSuccessNotice:u}=(0,o.dispatch)(r.store),d="new-"+ ++_;try{const r="/jetpack/v4/social/connections/";a(m({connection_id:d,...t})),a(b()),a(x(d));const o=await s()({method:"POST",path:r,data:e});o&&(a(j(d,{...o,can_disconnect:!0,enabled:!0})),u((0,c.sprintf)(/* translators: %s is the name of the social media platform e.g. "Facebook" */ +__("%s account connected successfully.","jetpack"),o.label),{type:"snackbar",isDismissible:!0}),n.select(i.store).getCurrentPostId()&&a(C()))}catch(e){let t=__("Error connecting account.","jetpack");"object"==typeof e&&"message"in e&&e.message&&(t=`${t} ${e.message}`),l(t,{type:"snackbar",isDismissible:!0})}finally{a(x(d,!1)),a(y(d))}}}function j(e,t){return{type:u.dw,connectionId:e,data:t}}function x(e,t=!0){return{type:u._6,connectionId:e,updating:t}}function S(e){return{type:u.Nv,reconnectingAccount:e}}function Q(e,t){return async function({dispatch:n,select:a}){const{createErrorNotice:i,createSuccessNotice:c}=(0,o.dispatch)(r.store),l=a.getConnectionById(e);try{const r=`/jetpack/v4/social/connections/${e}`;n(b()),n(j(e,t)),n(x(e));await s()({method:"POST",path:r,data:t})&&c(__("Account updated successfully.","jetpack"),{type:"snackbar",isDismissible:!0})}catch(t){let r=__("Error updating account.","jetpack");"object"==typeof t&&"message"in t&&t.message&&(r=`${r} ${t.message}`),n(j(e,l)),i(r,{type:"snackbar",isDismissible:!0})}finally{n(x(e,!1))}}}function N(e){return{type:u.xW,isOpen:e}}function R(){return N(!0)}function T(){return N(!1)}},54118:(e,t,n)=>{"use strict";n.d(t,{BN:()=>d,Bc:()=>a,M6:()=>b,Nv:()=>u,WB:()=>m,WH:()=>i,Wp:()=>g,_6:()=>l,_y:()=>f,af:()=>s,b5:()=>A,dA:()=>r,dw:()=>c,fz:()=>E,nC:()=>o,rz:()=>h,xW:()=>p});const r="SET_CONNECTIONS",a="ADD_CONNECTION",s="TOGGLE_CONNECTION",o="DELETE_CONNECTION",i="DELETING_CONNECTION",c="UPDATE_CONNECTION",l="UPDATING_CONNECTION",u="SET_RECONNECTING_ACCOUNT",d="SET_KEYRING_RESULT",p="TOGGLE_CONNECTIONS_MODAL",m="ADD_ABORT_CONTROLLER",g="REMOVE_ABORT_CONTROLLERS",A="DEFAULT",h="REFRESH_CONNECTIONS",E="FETCH_POST_SHARE_STATUS",f="RECEIVE_POST_SHARE_STATUS",b="TOGGLE_SHARE_STATUS_MODAL"},20257:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(93394),a=n(36305),s=n(33857),o=n(72451),i=n(52930),c=n(40898);const l={...o,...a.Ay,...i.Ay,...s.A,...r,...c.Ay}},36305:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c,iJ:()=>i,ql:()=>o});var r=n(47143),a=n(89729),s=n(51979);const o="SET_JETPACK_SETTINGS";function i(e){return{type:o,options:e}}const c={updateJetpackSettings:function*(e){try{yield i({is_updating:!0}),yield i(e),yield(0,s.He)(e);const t=yield(0,s._r)();return yield i(t),!0}catch(e){const t=(0,r.select)(a.Af).getJetpackSettings();return yield i(t),!1}finally{yield i({is_updating:!1})}},setJetpackSettings:i}},33857:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(51979),a=n(52930);const s={refreshJetpackSocialSettings:function*(){try{yield(0,a.tK)();const e=yield(0,r.Bm)();return yield(0,a.DE)(e.jetpack_social_image_generator_settings),!0}catch(e){return!1}finally{yield(0,a.xK)()}}}},72451:(e,t,n)=>{"use strict";n.r(t),n.d(t,{closeShareStatusModal:()=>c,fetchPostShareStatus:()=>a,openShareStatusModal:()=>i,receivePostShareStaus:()=>s,toggleShareStatusModal:()=>o});var r=n(54118);function a(e,t=!0){return{type:r.fz,postId:e,loading:t}}function s(e,t){return{type:r._y,shareStatus:e,postId:t}}function o(e){return{type:r.M6,isOpen:e}}function i(){return o(!0)}function c(){return o(!1)}},52930:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>u,DE:()=>l,Xh:()=>o,tK:()=>i,xK:()=>c});var r=n(47143),a=n(89729),s=n(51979);const o="SET_SOCIAL_IMAGE_GENERATOR_SETTINGS";function i(){return l({isUpdating:!0})}function c(){return l({isUpdating:!1})}function l(e){return{type:o,options:e}}const u={updateSocialImageGeneratorSettings:function*(e){try{yield i(),yield l(e),yield(0,s.uy)(e);const t=yield(0,s.lz)();return yield l(t.jetpack_social_image_generator_settings),!0}catch(e){const t=(0,r.select)(a.Af).getSocialImageGeneratorSettings();return yield l(t),!1}finally{yield c()}},setSocialImageGeneratorSettings:l,refreshSocialImageGeneratorSettings:function*(){try{yield i();const e=yield(0,s.lz)();return yield l(e.jetpack_social_image_generator_settings),!0}catch(e){return!1}finally{yield c()}}}},40898:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l});var r=n(47143),a=n(89729),s=n(51979),o=n(36305);function i(){return(0,o.iJ)({social_notes_is_updating:!0})}function c(){return(0,o.iJ)({social_notes_is_updating:!1})}const l={updateSocialNotesSettings:function*(e){try{yield i(),yield(0,o.iJ)(e),yield(0,s.He)(e);const t=yield(0,s._r)();return yield(0,o.iJ)(t),!0}catch(e){const t=(0,r.select)(a.Af).getSocialNotesSettings();return yield(0,o.iJ)(t),!1}finally{yield c()}},updateSocialNotesConfig:function*(e){const t=(0,r.select)(a.Af).getSocialNotesConfig(),n={...t,...e};try{yield(0,o.iJ)({social_notes_config:n}),yield(0,s.He)({social_notes_config:e});const t=yield(0,s._r)();return yield(0,o.iJ)(t),!0}catch(e){return yield(0,o.iJ)({social_notes_config:t}),!1}},refreshSocialNotesSettings:function*(){try{yield i();const e=yield(0,s._r)();return yield(0,o.iJ)(e),!0}catch(e){return!1}finally{yield c()}}}},51979:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>A,Bm:()=>g,He:()=>d,_r:()=>u,lz:()=>p,uy:()=>m});var r=n(1455),a=n.n(r);const s="FETCH_JETPACK_SETTINGS",o="UPDATE_JETPACK_SETTINGS",i="FETCH_SOCIAL_IMAGE_GENERATOR_SETTINGS",c="UPDATE_SOCIAL_IMAGE_GENERATOR_SETTINGS",l="FETCH_JETPACK_SOCIAL_SETTINGS",u=()=>({type:s}),d=e=>({type:o,settings:e}),p=()=>({type:i}),m=e=>({type:c,settings:e}),g=()=>({type:l}),A={[s]:function(){return a()({path:"/jetpack/v4/social/settings"})},[o]:function(e){return a()({path:"/jetpack/v4/social/settings",method:"POST",data:e.settings})},[i]:function(){return a()({path:"/wp/v2/settings?_fields=jetpack_social_image_generator_settings"})},[c]:function(e){return a()({path:"/wp/v2/settings",method:"POST",data:{jetpack_social_image_generator_settings:e.settings}})},[l]:function(){return a()({path:"/wp/v2/settings?_fields=jetpack_social_image_generator_settings"})}}},89729:(e,t,n)=>{"use strict";n.d(t,{Af:()=>l,BB:()=>f,M_:()=>b,PX:()=>E,V6:()=>g,bN:()=>p,gt:()=>m,me:()=>h,s:()=>d,zk:()=>A});var r=n(47143),a=n(20257),s=n(51979),o=n(81194),i=n(37394),c=n(89580);const l="jetpack-social-plugin",u={reducer:o.A,actions:a.A,selectors:c.A,resolvers:i.Ay,controls:s.Ay,initialState:window?.jetpackSocialInitialState||window?.Initial_State?.socialInitialState||window?.Jetpack_Editor_Initial_State?.social||{}},d="facebook",p="instagram-business",m="linkedin",g="mastodon",A="nextdoor",h="tumblr",E="twitter",f="threads",b=(0,r.createReduxStore)(l,u);(0,r.register)(b)},86589:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(54118);const a=(e={},t)=>{switch(t.type){case r.xW:return{...e,isConnectionsModalOpen:t.isOpen};case r.Bc:return{...e,connections:[...e.connections,t.connection]};case r.dA:return{...e,connections:t.connections};case r.nC:return{...e,connections:e.connections.filter((({connection_id:e})=>e!==t.connectionId))};case r.WH:{const n=new Set(e.deletingConnections);return t.deleting?n.add(t.connectionId):n.delete(t.connectionId),{...e,deletingConnections:[...n]}}case r.Nv:return{...e,reconnectingAccount:t.reconnectingAccount};case r.dw:return{...e,connections:e.connections.map((e=>e.connection_id===t.connectionId?{...e,...t.data}:e))};case r._6:{const n=new Set(e.updatingConnections);return t.updating?n.add(t.connectionId):n.delete(t.connectionId),{...e,updatingConnections:[...n]}}case r.WB:{const n=t.requestType||r.b5;return{...e,abortControllers:{...e.abortControllers,[n]:[...e.abortControllers?.[n]||[],t.abortController]}}}case r.Wp:{const n=t.requestType||r.b5;return{...e,abortControllers:{...e.abortControllers,[n]:[]}}}case r.BN:return{...e,keyringResult:t.keyringResult};case r.af:return{...e,connections:e.connections.map((e=>(e.connection_id?e.connection_id===t.connectionId:e.id===t.connectionId)?{...e,enabled:!e.enabled}:e))}}return e}},81194:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(47143),a=n(86589),s=n(61556),o=n(53202),i=n(55532),c=n(81105);const l=(0,r.combineReducers)({siteData:i.A,connectionData:a.A,jetpackSettings:s.A,socialImageGeneratorSettings:c.A,shareStatus:o.q,hasPaidPlan:(e=!1)=>e,userConnectionUrl:(e="")=>e,useAdminUiV1:(e=!1)=>e,featureFlags:(e=!1)=>e,hasPaidFeatures:(e=!1)=>e})},61556:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(36305);const a=(e={},t)=>t.type===r.ql?{...e,...t.options}:e},53202:(e,t,n)=>{"use strict";n.d(t,{q:()=>a});var r=n(54118);function a(e={},t){switch(t.type){case r.fz:return{...e,[t.postId]:{shares:[],...e?.[t.postId],loading:t.loading??!0}};case r._y:return{...e,[t.postId]:{...t.shareStatus,loading:!1}};case r.M6:return{...e,isModalOpen:t.isOpen}}return e}},55532:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(e={})=>e},81105:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(52930);const a=(e={},t)=>t.type===r.Xh?{...e,...t.options}:e},37394:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>p});var r=n(1455),a=n.n(r),s=n(43656),o=n(59061),i=n(93394),c=n(36305),l=n(72451),u=n(52930),d=n(51979);const p={getJetpackSettings:function*(){try{const e=yield(0,d._r)();if(e)return(0,c.iJ)(e)}catch(e){console.log(e)}},getSocialImageGeneratorSettings:function*(){try{const e=yield(0,d.lz)();if(e)return(0,u.DE)(e.jetpack_social_image_generator_settings)}catch(e){console.log(e)}},getConnections:function(){return function({dispatch:e,registry:t}){const n=t.select(s.store);if(!n.getCurrentPostId())return;const r=n.getEditedPostAttribute("jetpack_publicize_connections");e((0,i.setConnections)(r||[]))}},getPostShareStatus:function(e){return async({dispatch:t,registry:n})=>{const r=e||n.select(s.store).getCurrentPostId();try{t((0,l.fetchPostShareStatus)(r));let e=await a()({path:`jetpack/v4/social/share-status/${r}`});e=(0,o.x)(e),t((0,l.receivePostShareStaus)(e,r))}catch(e){t((0,l.fetchPostShareStatus)(r,!1))}}}}},28343:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getAbortControllers:()=>E,getConnectionById:()=>s,getConnectionProfileDetails:()=>m,getConnections:()=>a,getConnectionsAdminUrl:()=>i,getConnectionsByService:()=>o,getDeletingConnections:()=>g,getDisabledConnections:()=>p,getEnabledConnections:()=>d,getFailedConnections:()=>l,getKeyringResult:()=>b,getMustReauthConnections:()=>u,getReconnectingAccount:()=>h,getUpdatingConnections:()=>A,hasConnections:()=>c,isConnectionsModalOpen:()=>v,isMastodonAccountAlreadyConnected:()=>f});var r=n(54118);function a(e){return e.connectionData?.connections??[]}function s(e,t){return a(e).find((e=>e.connection_id===t))}function o(e,t){return a(e).filter((({service_name:e})=>e===t))}function i(e){return e.connectionData?.adminUrl??null}function c(e){return a(e).length>0}function l(e){return a(e).filter((e=>!1===e.test_success))}function u(e){return a(e).filter((e=>"must_reauth"===e.test_success)).map((e=>e.service_name))}function d(e){return a(e).filter((e=>e.enabled))}function p(e){return a(e).filter((e=>!e.enabled))}function m(e,t,{forceDefaults:n=!1}={}){let r="",s="",o="";if(!n){const n=a(e).find((({service_name:e})=>t===e));if(n){const{display_name:e,profile_display_name:a,profile_picture:i,external_display:c}=n;r="twitter"===t?a:e||c,o="twitter"===t?e:n.username,s=i}}return{displayName:r,profileImage:s,username:o}}function g(e){return e.connectionData?.deletingConnections??[]}function A(e){return e.connectionData?.updatingConnections??[]}function h(e){return e.connectionData?.reconnectingAccount??""}function E(e,t=r.b5){return e.connectionData?.abortControllers?.[t]??[]}function f(e,t){return o(e,"mastodon").some((e=>e.external_display===t))}function b(e){return e.connectionData?.keyringResult}function v(e){return e.connectionData?.isConnectionsModalOpen??!1}},89580:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(28343),a=n(91906),s=n(49424),o=n(80078),i=n(67027);const c={...o.A,...r,...a.A,...i.A,...s,userConnectionUrl:e=>e.userConnectionUrl,useAdminUiV1:e=>e.useAdminUiV1,featureFlags:e=>e.featureFlags,hasPaidFeatures:e=>e.hasPaidFeatures}},91906:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={getJetpackSettings:e=>e.jetpackSettings,isModuleEnabled:e=>e.jetpackSettings.publicize_active,showPricingPage:e=>e.jetpackSettings.show_pricing_page,isUpdatingJetpackSettings:e=>e.jetpackSettings.is_updating,hasPaidPlan:e=>!(e.jetpackSettings?.showNudge??1),isEnhancedPublishingEnabled:e=>e.jetpackSettings?.isEnhancedPublishingEnabled??!1,getDismissedNotices:e=>e.jetpackSettings?.dismissedNotices,isSocialNotesEnabled:e=>e.jetpackSettings?.social_notes_enabled,isSocialNotesSettingsUpdating:e=>e.jetpackSettings?.social_notes_is_updating,getSocialNotesConfig:e=>e.jetpackSettings?.social_notes_config??{}}},49424:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getPostShareStatus:()=>s,isShareStatusModalOpen:()=>o});var r=n(47143),a=n(43656);const s=(0,r.createRegistrySelector)((e=>(t,n)=>{const r=n||e(a.store).getCurrentPostId();return t.shareStatus?.[r]??{shares:[]}}));function o(e){return e.shareStatus?.isModalOpen??!1}},80078:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={getAdminUrl:e=>e.siteData?.adminUrl??null,getAPIRootUrl:e=>e.siteData?.apiRoot??null,getAPINonce:e=>e.siteData?.apiNonce??null,getRegistrationNonce:e=>e.siteData?.registrationNonce??null,getSiteSuffix:e=>e.siteData?.siteSuffix??null,getBlogID:e=>e.siteData?.blogID??null,getPluginVersion:e=>e.siteData?.pluginVersion??null}},67027:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={getSocialImageGeneratorSettings:e=>e.socialImageGeneratorSettings,isSocialImageGeneratorAvailable:e=>e.socialImageGeneratorSettings.available,isSocialImageGeneratorEnabled:e=>e.socialImageGeneratorSettings.enabled,isUpdatingSocialImageGeneratorSettings:e=>e.socialImageGeneratorSettings.isUpdating,getSocialImageGeneratorDefaultTemplate:e=>e.socialImageGeneratorSettings.template}},12093:(e,t,n)=>{"use strict";n.d(t,{T:()=>a});const r=255;function a(){return r}},3280:(e,t,n)=>{"use strict";n.d(t,{n:()=>a});var r=n(85985);function a(){return(0,r.$i)()?.social?.supportedAdditionalConnections||[]}},70407:(e,t,n)=>{"use strict";n.d(t,{getShareMessageMaxLength:()=>r.T,getSupportedAdditionalConnections:()=>a.n,requestExternalAccess:()=>s.x});var r=n(12093),a=n(3280),s=n(5367),o=n(18672);n.o(o,"GlobalModals")&&n.d(t,{GlobalModals:function(){return o.GlobalModals}}),n.o(o,"useSyncPostDataToStore")&&n.d(t,{useSyncPostDataToStore:function(){return o.useSyncPostDataToStore}})},5367:(e,t,n)=>{"use strict";n.d(t,{x:()=>a});var r=n(51119);const a=(e,t)=>{const n=new r.A;let a;n.open(e,null,"toolbar=0,location=0,status=0,menubar=0,"+n.getScreenCenterSpecs(780,700)),n.once("close",(()=>{t(a?.ID?a:{})})),n.on("message",(e=>{a=e?.data}))}},51371:(e,t,n)=>{"use strict";n.d(t,{n:()=>a});var r=n(97999);function a(){return(0,r.getScriptData)().social}},59061:(e,t,n)=>{"use strict";function r(e){return e&&"shares"in e&&e.done&&e.shares.sort(((e,t)=>t.timestamp-e.timestamp)),e}n.d(t,{x:()=>r})},50646:(e,t,n)=>{"use strict";n(51371)},18672:()=>{},85985:(e,t,n)=>{"use strict";n.d(t,{$i:()=>r.A,BT:()=>c.A,Cq:()=>g.C,Dk:()=>l.Dk,FB:()=>o.A,GE:()=>a.A,GT:()=>l.GT,Q4:()=>l.Q4,Sy:()=>s.Sy,W4:()=>l.W4,aq:()=>l.aq,d9:()=>s.d9,gB:()=>u.A,jt:()=>m.A,lk:()=>s.lk,pP:()=>s.pP,q7:()=>p.A,sH:()=>l.sH,sh:()=>g.s,st:()=>d.A,tu:()=>l.tu,vp:()=>i.A});var r=n(34972),a=n(54815),s=n(62634),o=n(60703),i=n(82034),c=n(65595),l=n(53265),u=n(49354),d=n(73489),p=n(76923),m=n(15877),g=n(30335);n(88290)},15877:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(67142),a=n(51609),s=n.n(a);const o=()=>s().createElement(r.A,{className:"jetpack-editor-panel-logo",height:16,logoColor:"#1E1E1E",showText:!1})},30335:(e,t,n)=>{"use strict";n.d(t,{C:()=>o,s:()=>s});var r=n(86087),a=n(19334);function s(e){const t={};let n="span",a=e.icon;const s=document.createElement("div");s.innerHTML=e.icon;const o=s.querySelector("svg");return o&&(n="svg",a=o.innerHTML,Array.from(o.attributes).forEach((({nodeName:e,nodeValue:n})=>t[e]=n))),(0,r.createElement)(n,{...t,dangerouslySetInnerHTML:{__html:a||""}})}function o(e){return{src:s(e),foreground:(0,a.A)()}}},19334:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(62634);const a="#069e08";function s(){return(0,r.d9)()||(0,r.Sy)()?null:a}},34972:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});const r="Jetpack_Editor_Initial_State";function a(){return"object"==typeof window?window?.[r]??null:null}},60703:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(34972);function a(e){const t=(0,r.A)(),n=t?.available_blocks?.[e]?.available??!1,a=t?.available_blocks?.[e]?.unavailable_reason??"unknown";return{available:n,...!n&&{details:t?.available_blocks?.[e]?.details??[],unavailableReason:a}}}},54815:(e,t,n)=>{"use strict";function r(){return window&&window.Jetpack_Editor_Initial_State&&window.Jetpack_Editor_Initial_State.siteFragment?window.Jetpack_Editor_Initial_State.siteFragment:null}n.d(t,{A:()=>r})},73489:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(90372),a=n(89660),s=n(86087);const{tracks:o}=r.A,{recordEvent:i}=o,c=({pageViewEventName:e=null,pageViewNamespace:t="jetpack",pageViewSuffix:n="page_view",pageViewEventProperties:c={}}={})=>{const[l,u]=(0,s.useState)(!1),{isUserConnected:d,isRegistered:p,userConnectionData:m={}}=(0,a.A)(),{wpcomUser:{login:g,ID:A}={},blogId:h}=m.currentUser||{},E=(0,s.useCallback)((async(e,t={})=>{d&&A&&g&&i(e,t)}),[d,A,g]);return(0,s.useEffect)((()=>{d&&A&&g&&h&&r.A.initialize(A,g,{blog_id:h})}),[h,A,g,d]),(0,s.useEffect)((()=>{const r=e?`${t}_${e}_${n}`:null;p&&r&&(l||(E(r,c),u(!0)))}),[l,t,e,n,p,c,E]),{recordEvent:E,tracks:o}}},76923:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(47143),a=n(86087),s=n(88290);const o=e=>{const{isModuleActive:t,isChangingStatus:n,isLoadingModules:o}=(0,r.useSelect)((t=>{const n=t(s.F);return{isModuleActive:n.isModuleActive(e),isChangingStatus:n.isModuleUpdating(e),isLoadingModules:n.areModulesLoading(e)}}),[s.F]),{updateJetpackModuleStatus:i}=(0,r.useDispatch)(s.F),c=(0,a.useCallback)((t=>i({name:e,active:t})),[e,i]);return(0,a.useMemo)((()=>({isLoadingModules:o,isChangingStatus:n,isModuleActive:t,changeStatus:c})),[o,n,t,c])}},49354:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(34972);function a(){return(0,r.A)()?.jetpack?.is_current_user_connected??!1}},27105:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>p,E9:()=>d});var r=n(47143),a=n(62634),s=n(94478),o=n(88290);const i="SET_JETPACK_MODULES",c="SET_MODULE_UPDATING";function l(e){return d({isLoading:e})}function u(e,t){return{type:c,name:e,isUpdating:t}}function d(e){return{type:i,options:e}}const p={updateJetpackModuleStatus:function*(e){try{yield u(e.name,!0),yield(0,s.sB)(e);const t=yield(0,s.wz)();return yield d({data:t}),!0}catch(e){const t=(0,r.select)(o.F).getJetpackModules();return yield d(t),!1}finally{yield u(e.name,!1)}},setJetpackModules:d,fetchModules:function*(){if((0,a.Sy)())return!0;try{yield l(!0);const e=yield(0,s.wz)();return yield d({data:e}),!0}catch(e){const t=(0,r.select)(o.F).getJetpackModules();return yield d(t),!1}finally{yield l(!1)}}}},94478:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l,sB:()=>c,wz:()=>i});var r=n(1455),a=n.n(r);const s="FETCH_JETPACK_MODULES",o="UPDATE_JETPACK_MODULE_STATUS",i=()=>({type:s}),c=e=>({type:o,settings:e}),l={[s]:function(){return a()({path:"/jetpack/v4/module/all",method:"GET"})},[o]:function({settings:e}){return a()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},88290:(e,t,n)=>{"use strict";n.d(t,{F:()=>l});var r=n(47143),a=n(27105),s=n(94478),o=n(38862),i=n(62701),c=n(31640);const l="jetpack-modules",u=(0,r.createReduxStore)(l,{reducer:o.A,actions:a.Ay,controls:s.Ay,resolvers:i.A,selectors:c.A});(0,r.register)(u);const d=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==d&&(0,r.dispatch)(l).setJetpackModules({data:{...d}})},38862:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});const r={isLoading:!1,isUpdating:{},data:{}},a=(e=r,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},62701:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(27105),a=n(94478);const s={getJetpackModules:function*(){try{const e=yield(0,a.wz)();if(e)return(0,r.E9)({data:e})}catch(e){console.error(e)}}}},31640:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(62634);const a={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,r.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},53265:(e,t,n)=>{"use strict";n.d(t,{Dk:()=>A,GT:()=>E,Q4:()=>u,W4:()=>d,aq:()=>p,sH:()=>h,tu:()=>m});var r=n(27723),a=n(93832),s=n(66087),o=n(34972),i=n(60703),c=n(54815),l=n(62634);const __=r.__;function u({planSlug:e,plan:t,postId:n,postType:r}){const o=(0,s.startsWith)(e,"jetpack_")?e:(0,s.get)(t,["path_slug"]),i=(void 0===r?()=>{const e=new URLSearchParams(window.location.search);return(0,a.addQueryArgs)(window.location.protocol+`//${(0,c.A)().replace("::","/")}/wp-admin/site-editor.php`,{postId:e.get("postId"),postType:e.get("postType"),plan_upgraded:1})}:()=>{const e=["page","post"].includes(r)?"":"edit";return(0,l.Sy)()?(0,a.addQueryArgs)("/"+(0,s.compact)([e,r,(0,c.A)(),n]).join("/"),{plan_upgraded:1}):(0,a.addQueryArgs)(window.location.protocol+`//${(0,c.A)().replace("::","/")}/wp-admin/post.php`,{action:"edit",post:n,plan_upgraded:1})})();return(0,l.d9)()?(0,a.addQueryArgs)(`https://wordpress.com/plans/${(0,c.A)()}`,{redirect_to:i,customerType:"business"}):o&&(0,a.addQueryArgs)(`https://wordpress.com/checkout/${(0,c.A)()}/${o}`,{redirect_to:i})}function d(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{available:n,unavailableReason:r}=(0,i.A)(t);return!n&&"missing_plan"===r}function p(e,t){return"missing_plan"===e&&t.required_plan}function m(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{details:n,unavailableReason:r}=(0,i.A)(t);return p(r,n)}const g=[{name:"core/cover",mediaPlaceholder:!0,mediaReplaceFlow:!0,fileType:"video",description:__("Upgrade your plan to use video covers","jetpack")},{name:"core/audio",mediaPlaceholder:!0,mediaReplaceFlow:!0,fileType:"audio",description:__("Upgrade your plan to upload audio","jetpack")}];function A(){return(0,s.get)((0,o.A)(),"jetpack.enable_upgrade_nudge",!1)}const h=e=>(0,s.map)(g,"name").includes(e),E=e=>(0,s.head)((0,s.filter)(g,(({name:t})=>t===e)))},82034:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(92279),a=n(60703);function s(e,t){const{available:n,unavailableReason:s}=(0,a.A)(e);return!!n&&(0,r.registerPlugin)(`jetpack-${e}`,t)}},62634:(e,t,n)=>{"use strict";n.d(t,{Sy:()=>s,d9:()=>o,lk:()=>c,pP:()=>i});var r=n(34972);function a(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function s(){return"simple"===a()}function o(){return"atomic"===a()}function i(){const e=(0,r.A)();return e?.jetpack?.is_private_site??!1}function c(){const e=(0,r.A)();return e?.jetpack?.is_coming_soon??!1}},65595:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(96072),a=n.n(r),s=n(29491);const o=e=>(0,s.createHigherOrderComponent)((t=>n=>React.createElement(t,a()({},n,{className:n.name===e?"has-warning is-interactive":n.className}))),"withHasWarningIsInteractiveClassNames")},84705:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>r.d});var r=n(58992);n(91135)},91135:(e,t,n)=>{"use strict";n.d(t,{$:()=>r});const r=[{name:"amazon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M13.582 8.182c-1.648.185-3.802.308-5.344.984-1.781.769-3.03 2.337-3.03 4.644 0 2.953 1.86 4.429 4.253 4.429 2.02 0 3.125-.477 4.685-2.065.516.747.685 1.109 1.629 1.894a.59.59 0 0 0 .672-.066l.006.006c.567-.505 1.599-1.401 2.18-1.888.231-.188.19-.496.009-.754-.52-.718-1.072-1.303-1.072-2.634V8.305c0-1.876.133-3.599-1.249-4.891C15.23 2.369 13.422 2 12.04 2 9.336 2 6.318 3.01 5.686 6.351c-.068.355.191.542.423.594l2.754.298c.258-.013.445-.266.494-.523.236-1.151 1.2-1.706 2.284-1.706.584 0 1.249.215 1.595.738.398.584.346 1.384.346 2.061zm-.533 5.906c-.451.8-1.169 1.291-1.967 1.291-1.09 0-1.728-.83-1.728-2.061 0-2.42 2.171-2.86 4.227-2.86v.615c.001 1.108.027 2.031-.532 3.015m7.634 5.251C18.329 21.076 14.917 22 11.979 22c-4.118 0-7.826-1.522-10.632-4.057-.22-.199-.024-.471.241-.317 3.027 1.762 6.771 2.823 10.639 2.823 2.608 0 5.476-.541 8.115-1.66.397-.169.73.262.341.55m.653 1.704c-.194.163-.379.076-.293-.139.284-.71.92-2.298.619-2.684s-1.99-.183-2.749-.092c-.23.027-.266-.173-.059-.319 1.348-.946 3.555-.673 3.811-.356.26.32-.066 2.533-1.329 3.59"})))},{name:"behance",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M7.799 5.698c.589 0 1.12.051 1.606.156q.722.155 1.241.507.516.351.804.938c.188.387.281.871.281 1.443q0 .93-.421 1.551-.424.62-1.255 1.014 1.133.328 1.689 1.146.559.822.557 1.975 0 .935-.359 1.612a3.14 3.14 0 0 1-.973 1.114q-.613.432-1.399.637A6.1 6.1 0 0 1 7.963 18H2V5.698zm-.35 4.97q.721 0 1.192-.345.465-.344.463-1.119 0-.43-.152-.707a1.1 1.1 0 0 0-.416-.427 1.7 1.7 0 0 0-.596-.216 3.6 3.6 0 0 0-.697-.06H4.709v2.874zm.151 5.237q.401.001.759-.077c.243-.053.457-.137.637-.261.182-.12.332-.283.441-.491q.164-.31.163-.798-.002-.948-.533-1.357c-.356-.27-.83-.404-1.413-.404H4.709v3.388zm8.562-.041q.552.538 1.583.538.74 0 1.277-.374c.354-.248.571-.514.654-.79h2.155c-.347 1.072-.872 1.838-1.589 2.299-.708.463-1.572.693-2.58.693q-1.05 0-1.899-.337a4 4 0 0 1-1.439-.958 4.4 4.4 0 0 1-.904-1.484 5.4 5.4 0 0 1-.32-1.899q0-1 .329-1.863a4.4 4.4 0 0 1 .933-1.492q.607-.63 1.444-.994a4.6 4.6 0 0 1 1.857-.363q1.131-.001 1.98.44a3.94 3.94 0 0 1 1.389 1.181 4.8 4.8 0 0 1 .783 1.69q.24.947.171 1.983h-6.428c-.001.706.237 1.372.604 1.73m2.811-4.68c-.291-.321-.783-.496-1.384-.496q-.585 0-.973.2a2 2 0 0 0-.621.491 1.8 1.8 0 0 0-.328.628 2.7 2.7 0 0 0-.111.587h3.98c-.058-.625-.271-1.085-.563-1.41m-3.916-3.446h4.985V6.524h-4.985z"})))},{name:"blogger-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.779 9.904h-.981l-.021.001a1.163 1.163 0 0 1-1.16-1.079l-.001-.013A5.813 5.813 0 0 0 11.803 3H8.871a5.813 5.813 0 0 0-5.813 5.813v6.375a5.813 5.813 0 0 0 5.813 5.813h6.257a5.814 5.814 0 0 0 5.813-5.813l.002-4.121a1.164 1.164 0 0 0-1.164-1.163M8.726 7.713h3.291a1.117 1.117 0 1 1 0 2.234H8.726a1.117 1.117 0 1 1 0-2.234m6.601 8.657H8.72a1.057 1.057 0 1 1 0-2.114h6.607a1.057 1.057 0 1 1 0 2.114"})))},{name:"blogger",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M14.722 14.019a.654.654 0 0 1-.654.654H9.977a.654.654 0 0 1 0-1.308h4.091c.361 0 .654.293.654.654m-4.741-3.321h2.038a.692.692 0 0 0 0-1.384H9.981a.692.692 0 0 0 0 1.384M21 5v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2m-3.456 6.39a.72.72 0 0 0-.72-.72h-.607l-.013.001a.72.72 0 0 1-.718-.668l-.001-.008a3.6 3.6 0 0 0-3.599-3.599H10.07a3.6 3.6 0 0 0-3.599 3.599v3.947a3.6 3.6 0 0 0 3.599 3.599h3.874a3.6 3.6 0 0 0 3.599-3.599z"})))},{name:"bluesky",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.2 3.3c-.5-.2-1.4-.5-3.6 1C15.4 6 12.9 9.2 12 11c-.9-1.8-3.4-5-5.7-6.7-2.2-1.6-3-1.3-3.6-1S2 4.6 2 5.1s.3 4.7.5 5.4c.7 2.3 3.1 3.1 5.3 2.8-3.3.5-6.2 1.7-2.4 5.9 4.2 4.3 5.7-.9 6.5-3.6.8 2.7 1.7 7.7 6.4 3.6 3.6-3.6 1-5.4-2.3-5.9 2.2.2 4.6-.5 5.3-2.8.4-.7.7-4.8.7-5.4 0-.5-.1-1.5-.8-1.8"})))},{name:"codepen",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m22.016 8.84-.007-.037q-.006-.037-.015-.072-.007-.022-.013-.042l-.023-.062-.02-.042a.4.4 0 0 0-.03-.057l-.025-.038-.035-.052-.03-.037q-.021-.026-.043-.045-.015-.018-.035-.035a.4.4 0 0 0-.048-.04l-.037-.03-.015-.012-9.161-6.096a.86.86 0 0 0-.955 0L2.359 8.237l-.015.012-.038.028-.048.04a.638.638 0 0 0-.078.082q-.018.018-.03.037-.018.026-.035.052l-.025.038q-.016.031-.03.059l-.02.041a1 1 0 0 0-.034.106q-.01.034-.016.071-.003.02-.006.037a1 1 0 0 0-.009.114v6.093q0 .056.008.112l.007.038q.006.035.015.072a.2.2 0 0 0 .013.04q.01.032.022.063l.02.04a.4.4 0 0 0 .055.096l.035.052.03.037.042.045.035.035q.023.02.048.04l.038.03.013.01 9.163 6.095a.858.858 0 0 0 .959.004l9.163-6.095.015-.01q.02-.015.037-.03l.048-.04q.02-.017.035-.035.025-.024.043-.045l.03-.037.035-.052.025-.038a.4.4 0 0 0 .03-.058l.02-.04.023-.063c.003-.013.01-.027.013-.04q.009-.037.015-.072l.007-.037q.006-.062.007-.117V8.954a1 1 0 0 0-.008-.114m-9.154-4.376 6.751 4.49-3.016 2.013-3.735-2.492zm-1.724 0v4.009l-3.735 2.494-3.014-2.013zm-7.439 6.098L5.853 12l-2.155 1.438zm7.439 8.974-6.749-4.491 3.015-2.011 3.735 2.492zM12 14.035 8.953 12 12 9.966 15.047 12zm.862 5.501v-4.009l3.735-2.492 3.016 2.011zm7.441-6.098L18.147 12l2.156-1.438z"})))},{name:"deezer",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.129 3.662c.222-1.287.548-2.096.909-2.098h.001c.673.002 1.219 2.809 1.219 6.274s-.546 6.274-1.22 6.274c-.276 0-.531-.477-.736-1.276-.324 2.926-.997 4.937-1.776 4.937-.603 0-1.144-1.208-1.507-3.114-.248 3.624-.872 6.195-1.602 6.195-.458 0-.875-1.019-1.184-2.678C13.861 21.6 13.003 24 12.002 24s-1.861-2.399-2.231-5.824c-.307 1.659-.724 2.678-1.184 2.678-.73 0-1.352-2.571-1.602-6.195-.363 1.905-.903 3.114-1.507 3.114-.778 0-1.452-2.011-1.776-4.937-.204.802-.46 1.276-.736 1.276-.674 0-1.22-2.809-1.22-6.274s.546-6.274 1.22-6.274c.362 0 .685.812.91 2.098.357-2.22.94-3.662 1.6-3.662.784 0 1.463 2.04 1.784 5.002.314-2.156.791-3.53 1.325-3.53.749 0 1.385 2.703 1.621 6.474.443-1.933 1.085-3.146 1.795-3.146s1.352 1.214 1.795 3.146c.237-3.771.872-6.474 1.621-6.474.533 0 1.009 1.374 1.325 3.53.321-2.962 1-5.002 1.784-5.002.658 0 1.244 1.443 1.603 3.662M0 7.221c0-1.549.31-2.805.692-2.805s.692 1.256.692 2.805-.31 2.805-.692 2.805S0 8.77 0 7.221m22.616 0c0-1.549.31-2.805.692-2.805S24 5.672 24 7.221s-.31 2.805-.692 2.805-.692-1.256-.692-2.805"})))},{name:"discord",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.33 4.523A20 20 0 0 0 15.379 3a14 14 0 0 0-.634 1.289 18.4 18.4 0 0 0-5.495 0A14 14 0 0 0 8.615 3 20 20 0 0 0 3.66 4.527C.527 9.163-.323 13.684.102 18.141a20 20 0 0 0 6.073 3.049 14.7 14.7 0 0 0 1.301-2.097 13 13 0 0 1-2.048-.978q.258-.189.502-.378a14.27 14.27 0 0 0 12.142 0q.247.202.502.378a13 13 0 0 1-2.052.98 14.5 14.5 0 0 0 1.301 2.095 19.9 19.9 0 0 0 6.076-3.047c.498-5.168-.851-9.648-3.568-13.62M8.013 15.4c-1.183 0-2.161-1.074-2.161-2.395S6.796 10.6 8.01 10.6s2.183 1.083 2.163 2.405S9.22 15.4 8.013 15.4m7.974 0c-1.186 0-2.16-1.074-2.16-2.395s.944-2.405 2.16-2.405 2.178 1.083 2.157 2.405-.951 2.395-2.158 2.395"})))},{name:"dribbble",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10m8.434-8.631c-.292-.092-2.644-.794-5.32-.365 1.117 3.07 1.572 5.57 1.659 6.09a8.56 8.56 0 0 0 3.661-5.725m-5.098 6.507c-.127-.749-.623-3.361-1.822-6.477l-.056.019c-4.818 1.679-6.547 5.02-6.701 5.334A8.5 8.5 0 0 0 12 20.555a8.5 8.5 0 0 0 3.336-.679m-9.682-2.152c.193-.331 2.538-4.213 6.943-5.637q.167-.054.337-.102a29 29 0 0 0-.692-1.45c-4.266 1.277-8.405 1.223-8.778 1.216a8.497 8.497 0 0 0 2.19 5.973m-2.015-7.46c.382.005 3.901.02 7.897-1.041a55 55 0 0 0-3.167-4.94 8.57 8.57 0 0 0-4.73 5.981m6.359-6.555a46 46 0 0 1 3.187 5c3.037-1.138 4.323-2.867 4.477-3.085a8.51 8.51 0 0 0-7.664-1.915m8.614 2.903c-.18.243-1.612 2.078-4.77 3.367a27 27 0 0 1 .751 1.678c2.842-.357 5.666.215 5.948.275a8.5 8.5 0 0 0-1.929-5.32"})))},{name:"dropbox",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 6.134 6.069 9.797 2 6.54l5.883-3.843zm-10 6.92 5.883 3.843L12 13.459 6.069 9.797zm10 .405 4.116 3.439L22 13.054l-4.069-3.257zM22 6.54l-5.884-3.843L12 6.134l5.931 3.663zm-9.989 7.66-4.129 3.426-1.767-1.153v1.291l5.896 3.539 5.897-3.539v-1.291l-1.769 1.153z"})))},{name:"eventbrite",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18.041 3.931 5.959 3A2.96 2.96 0 0 0 3 5.959v12.083A2.96 2.96 0 0 0 5.959 21l12.083-.931C19.699 19.983 21 18.744 21 17.11V6.89c0-1.634-1.259-2.863-2.959-2.959M16.933 8.17c-.082.215-.192.432-.378.551-.188.122-.489.132-.799.132-1.521 0-3.062-.048-4.607-.048q-.23 1.061-.451 2.128c.932-.004 1.873.005 2.81.005.726 0 1.462-.069 1.586.525.04.189-.001.426-.052.615-.105.38-.258.676-.625.783-.185.054-.408.058-.646.058-1.145 0-2.345.017-3.493.02-.169.772-.328 1.553-.489 2.333 1.57-.005 3.067-.041 4.633-.058.627-.007 1.085.194 1.009.85a2.2 2.2 0 0 1-.211.725c-.102.208-.248.376-.488.452-.237.075-.541.064-.862.078-.304.014-.614.008-.924.016-.309.009-.619.022-.919.022-1.253 0-2.429.08-3.683.073-.603-.004-1.014-.249-1.124-.757-.059-.273-.018-.58.036-.841a3543 3543 0 0 1 1.629-7.763c.056-.265.114-.511.225-.714a1.24 1.24 0 0 1 .79-.62c.368-.099.883-.047 1.344-.047.305 0 .612.008.914.016.925.026 1.817.03 2.747.053.304.007.615.016.915.016.621 0 1.17.073 1.245.614.039.288-.051.567-.132.783"})))},{name:"facebook",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.5 2 2 6.5 2 12c0 5 3.7 9.1 8.4 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10"})))},{name:"fediverse",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 743 743"},React.createElement("g",null,React.createElement("path",{d:"M181.131 275.137a68.9 68.9 0 0 1-29.465 29.328l161.758 162.389 38.998-19.764zm213.363 214.187-38.998 19.764 81.963 82.283a68.9 68.9 0 0 1 29.471-29.332zM581.646 339.391l-91.576 46.41 6.752 43.189 103.616-52.513a68.9 68.9 0 0 1-18.792-37.086m-144.738 73.351L220.383 522.477a68.9 68.9 0 0 1 18.795 37.089L443.66 455.934zM367.275 142.438l-104.48 203.97 30.848 30.967 110.623-215.957a68.9 68.9 0 0 1-36.991-18.98M235.621 399.459l-52.922 103.314a68.9 68.9 0 0 1 36.987 18.979l46.781-91.328zM150.768 304.918a68.9 68.9 0 0 1-34.416 7.195 69 69 0 0 1-6.651-.695l30.903 197.662a68.9 68.9 0 0 1 34.416-7.195 69 69 0 0 1 6.646.695zM239.342 560.545c.707 4.589.949 9.239.72 13.877a68.9 68.9 0 0 1-7.267 27.18l197.629 31.712c-.708-4.59-.95-9.24-.723-13.878a68.9 68.9 0 0 1 7.27-27.178zM601.133 377.199l-91.219 178.082a68.9 68.9 0 0 1 36.994 18.983l91.217-178.08a68.9 68.9 0 0 1-36.992-18.985M476.723 125.33a68.9 68.9 0 0 1-29.471 29.332l141.266 141.811a68.9 68.9 0 0 1 29.468-29.332zM347.787 104.631l-178.576 90.498a68.9 68.9 0 0 1 18.793 37.086l178.574-90.502a68.9 68.9 0 0 1-18.791-37.082M446.926 154.826a68.9 68.9 0 0 1-34.983 7.483 69 69 0 0 1-6.029-.633l15.818 101.291 43.163 6.926zm-16 167.028 37.4 239.482a68.9 68.9 0 0 1 33.914-6.943q3.625.206 7.207.791L474.09 328.777zM188.131 232.975c.734 4.66.988 9.383.758 14.095a68.9 68.9 0 0 1-7.16 26.983l101.369 16.281 19.923-38.908zm173.736 27.9-19.926 38.912 239.514 38.467a69 69 0 0 1-.695-13.719 68.9 68.9 0 0 1 7.349-27.324z"}),React.createElement("path",{fillOpacity:".996",d:"M412.284 156.054c34.538 1.882 64.061-24.592 65.943-59.13s-24.592-64.062-59.131-65.943c-34.538-1.882-64.061 24.592-65.943 59.13s24.593 64.062 59.131 65.943M646.144 390.82c34.538 1.881 64.062-24.593 65.943-59.131s-24.592-64.061-59.13-65.943-64.062 24.593-65.943 59.131 24.592 64.061 59.13 65.943M495.086 685.719c34.538 1.881 64.062-24.592 65.943-59.13s-24.592-64.062-59.13-65.943-64.062 24.592-65.943 59.13 24.592 64.062 59.13 65.943M167.866 633.211c34.538 1.882 64.062-24.592 65.943-59.13s-24.592-64.062-59.13-65.943-64.062 24.592-65.943 59.13 24.592 64.062 59.13 65.943M116.692 305.86c34.538 1.882 64.062-24.592 65.943-59.13s-24.592-64.062-59.131-65.943c-34.538-1.881-64.061 24.592-65.943 59.13s24.593 64.062 59.131 65.943"})))},{name:"feed",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M2 8.667V12c5.515 0 10 4.485 10 10h3.333c0-7.363-5.97-13.333-13.333-13.333M2 2v3.333c9.19 0 16.667 7.477 16.667 16.667H22C22 10.955 13.045 2 2 2m2.5 15a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5"})))},{name:"flickr",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("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-5m11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5"})))},{name:"foursquare",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17.573 2H6.905C5.434 2 5 3.107 5 3.805v16.948c0 .785.422 1.077.66 1.172.238.097.892.177 1.285-.275 0 0 5.035-5.843 5.122-5.93.132-.132.132-.132.262-.132h3.26c1.368 0 1.588-.977 1.732-1.552.078-.318.692-3.428 1.225-6.122l.675-3.368C19.56 2.893 19.14 2 17.573 2m-1.078 5.22c-.053.252-.372.518-.665.518h-4.157c-.467 0-.802.318-.802.787v.508c0 .467.337.798.805.798h3.528c.331 0 .655.362.583.715s-.407 2.102-.448 2.295c-.04.193-.262.523-.655.523h-2.88c-.523 0-.683.068-1.033.503-.35.437-3.505 4.223-3.505 4.223-.032.035-.063.027-.063-.015V4.852c0-.298.26-.648.648-.648h8.562c.315 0 .61.297.528.683z"})))},{name:"ghost",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M10.203 20.997H3.005v-3.599h7.198zm10.792-3.599h-7.193v3.599h7.193zm.003-7.198H3v3.599h17.998zm-7.195-7.197H3.005v3.599h10.798zm7.197 0h-3.599v3.599H21z"})))},{name:"git",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M23.519 10.947 13.053.482a1.543 1.543 0 0 0-2.183 0L8.696 2.656l2.756 2.756a1.83 1.83 0 0 1 1.886.439 1.84 1.84 0 0 1 .436 1.898l2.656 2.657a1.83 1.83 0 0 1 1.899.436 1.837 1.837 0 0 1 0 2.597 1.84 1.84 0 0 1-2.599 0 1.84 1.84 0 0 1-.4-1.998l-2.478-2.477v6.521a1.837 1.837 0 0 1 .485 2.945 1.837 1.837 0 0 1-2.597 0 1.837 1.837 0 0 1 0-2.598 1.8 1.8 0 0 1 .602-.401V8.85a1.8 1.8 0 0 1-.602-.4 1.84 1.84 0 0 1-.395-2.009L7.628 3.723.452 10.898a1.544 1.544 0 0 0 0 2.184l10.467 10.467a1.544 1.544 0 0 0 2.183 0l10.417-10.418a1.546 1.546 0 0 0 0-2.184"})))},{name:"github",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.419 2.865 8.166 6.839 9.489.5.09.682-.218.682-.484 0-.236-.009-.866-.014-1.699-2.782.602-3.369-1.34-3.369-1.34-.455-1.157-1.11-1.465-1.11-1.465-.909-.62.069-.608.069-.608 1.004.071 1.532 1.03 1.532 1.03.891 1.529 2.341 1.089 2.91.833.091-.647.349-1.086.635-1.337-2.22-.251-4.555-1.111-4.555-4.943 0-1.091.39-1.984 1.03-2.682-.103-.254-.447-1.27.097-2.646 0 0 .84-.269 2.75 1.025A9.6 9.6 0 0 1 12 6.836c.85.004 1.705.114 2.504.336 1.909-1.294 2.748-1.025 2.748-1.025.546 1.376.202 2.394.1 2.646.64.699 1.026 1.591 1.026 2.682 0 3.841-2.337 4.687-4.565 4.935.359.307.679.917.679 1.852 0 1.335-.012 2.415-.012 2.741 0 .269.18.579.688.481A10 10 0 0 0 22 12c0-5.523-4.477-10-10-10"})))},{name:"google-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m-.05 16c-3.312 0-6-2.688-6-6s2.688-6 6-6c1.62 0 2.976.594 4.014 1.566L14.26 9.222c-.432-.408-1.188-.888-2.31-.888-1.986 0-3.606 1.65-3.606 3.672s1.62 3.672 3.606 3.672c2.298 0 3.144-1.59 3.3-2.532h-3.306v-2.238h5.616c.084.378.15.732.15 1.23 0 3.426-2.298 5.862-5.76 5.862"})))},{name:"google-plus-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M8 11h6.61c.06.35.11.7.11 1.16 0 4-2.68 6.84-6.72 6.84-3.87 0-7-3.13-7-7s3.13-7 7-7c1.89 0 3.47.69 4.69 1.83l-1.9 1.83c-.52-.5-1.43-1.08-2.79-1.08-2.39 0-4.34 1.98-4.34 4.42S5.61 16.42 8 16.42c2.77 0 3.81-1.99 3.97-3.02H8zm15 0h-2V9h-2v2h-2v2h2v2h2v-2h2"})))},{name:"google-plus",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m-1.919 14.05a4.051 4.051 0 0 1 0-8.1c1.094 0 2.009.401 2.709 1.057l-1.15 1.118a2.23 2.23 0 0 0-1.559-.599c-1.341 0-2.434 1.114-2.434 2.479s1.094 2.479 2.434 2.479c1.551 0 2.122-1.073 2.227-1.709h-2.232v-1.511h3.791c.057.255.101.494.101.83.001 2.312-1.55 3.956-3.887 3.956M19 12.75h-1.25V14h-1.5v-1.25H15v-1.5h1.25V10h1.5v1.25H19z"})))},{name:"google",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.02 10.18v3.73h5.51c-.26 1.57-1.67 4.22-5.5 4.22-3.31 0-6.01-2.75-6.01-6.12s2.7-6.12 6.01-6.12c1.87 0 3.13.8 3.85 1.48l2.84-2.76C16.99 2.99 14.73 2 12.03 2c-5.52 0-10 4.48-10 10s4.48 10 10 10c5.77 0 9.6-4.06 9.6-9.77 0-.83-.11-1.42-.25-2.05z"})))},{name:"instagram",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 4.622c2.403 0 2.688.009 3.637.052.877.04 1.354.187 1.671.31.42.163.72.358 1.035.673s.51.615.673 1.035c.123.317.27.794.31 1.671.043.949.052 1.234.052 3.637s-.009 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.671-.163.42-.358.72-.673 1.035s-.615.51-1.035.673c-.317.123-.794.27-1.671.31-.949.043-1.233.052-3.637.052s-2.688-.009-3.637-.052c-.877-.04-1.354-.187-1.671-.31a2.8 2.8 0 0 1-1.035-.673 2.8 2.8 0 0 1-.673-1.035c-.123-.317-.27-.794-.31-1.671-.043-.949-.052-1.234-.052-3.637s.009-2.688.052-3.637c.04-.877.187-1.354.31-1.671.163-.42.358-.72.673-1.035s.615-.51 1.035-.673c.317-.123.794-.27 1.671-.31.949-.043 1.234-.052 3.637-.052M12 3c-2.444 0-2.751.01-3.711.054-.958.044-1.612.196-2.184.418a4.4 4.4 0 0 0-1.594 1.039c-.5.5-.808 1.002-1.038 1.594-.223.572-.375 1.226-.419 2.184C3.01 9.249 3 9.556 3 12s.01 2.751.054 3.711c.044.958.196 1.612.418 2.185.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.267.054 3.711.054s2.751-.01 3.711-.054c.958-.044 1.612-.196 2.185-.418a4.4 4.4 0 0 0 1.594-1.038c.5-.5.808-1.002 1.038-1.594.222-.572.375-1.227.418-2.185.044-.96.054-1.267.054-3.711s-.01-2.751-.054-3.711c-.044-.958-.196-1.612-.418-2.185A4.4 4.4 0 0 0 19.49 4.51c-.5-.5-1.002-.808-1.594-1.038-.572-.222-1.227-.375-2.185-.418C14.751 3.01 14.444 3 12 3m0 4.378a4.622 4.622 0 1 0 0 9.244 4.622 4.622 0 0 0 0-9.244M12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6m4.804-8.884a1.08 1.08 0 1 0 .001 2.161 1.08 1.08 0 0 0-.001-2.161"})))},{name:"json-feed",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m8.522 17.424.027.027c1.076-1.076 1.854-.993 3.154.306l2.053 2.053c2.136 2.136 4.131 2.028 6.515-.356l.729-.728-1.548-1.548-.373.373c-1.349 1.349-2.293 1.366-3.585.075l-2.409-2.409c-1.242-1.242-2.475-1.366-3.659-.381l-.232-.232c1.01-1.225.911-2.368-.29-3.568l-2.16-2.162c-1.317-1.317-1.308-2.236.058-3.602l.372-.372-1.54-1.54-.728.729c-2.393 2.393-2.525 4.346-.439 6.433l1.78 1.78c1.3 1.3 1.383 2.095.315 3.163l.008.008a1.384 1.384 0 0 0 1.952 1.951"}),React.createElement("circle",{cx:"13.089",cy:"10.905",r:"1.383"}),React.createElement("circle",{cx:"16.349",cy:"7.644",r:"1.383"}),React.createElement("circle",{cx:"19.61",cy:"4.383",r:"1.383"})))},{name:"line",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M14.255 9.572v3.333c0 .084-.066.15-.15.15h-.534a.16.16 0 0 1-.122-.061l-1.528-2.063v1.978c0 .084-.066.15-.15.15h-.534a.15.15 0 0 1-.15-.15V9.576c0-.084.066-.15.15-.15h.529a.14.14 0 0 1 .122.066l1.528 2.063V9.577c0-.084.066-.15.15-.15h.534a.15.15 0 0 1 .155.145m-3.844-.15h-.534a.15.15 0 0 0-.15.15v3.333c0 .084.066.15.15.15h.534c.084 0 .15-.066.15-.15V9.572c0-.08-.066-.15-.15-.15m-1.289 2.794H7.664V9.572a.15.15 0 0 0-.15-.15H6.98a.15.15 0 0 0-.15.15v3.333q0 .062.042.103a.16.16 0 0 0 .103.042h2.142c.084 0 .15-.066.15-.15v-.534a.15.15 0 0 0-.145-.15m7.945-2.794h-2.142c-.08 0-.15.066-.15.15v3.333c0 .08.066.15.15.15h2.142c.084 0 .15-.066.15-.15v-.534a.15.15 0 0 0-.15-.15h-1.458v-.563h1.458c.084 0 .15-.066.15-.15v-.539a.15.15 0 0 0-.15-.15h-1.458v-.563h1.458c.084 0 .15-.066.15-.15v-.534c-.005-.08-.07-.15-.15-.15M22.5 5.33v13.373c-.005 2.1-1.725 3.802-3.83 3.797H5.297c-2.1-.005-3.802-1.73-3.797-3.83V5.297c.005-2.1 1.73-3.802 3.83-3.797h13.373c2.1.005 3.802 1.725 3.797 3.83m-2.888 5.747c0-3.422-3.431-6.206-7.645-6.206s-7.645 2.784-7.645 6.206c0 3.066 2.719 5.634 6.394 6.122.895.192.792.52.591 1.725-.033.192-.155.755.661.413s4.402-2.592 6.009-4.439c1.106-1.219 1.636-2.452 1.636-3.82"})))},{name:"link",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17 13H7v-2h10zm1-6h-1c-1.631 0-3.065.792-3.977 2H18c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1a4 4 0 0 0 4-4v-2a4 4 0 0 0-4-4M2 11v2a4 4 0 0 0 4 4h1c1.63 0 3.065-.792 3.977-2H6c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.631 7 7 7H6a4 4 0 0 0-4 4"})))},{name:"linkedin",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.7 3H4.3A1.3 1.3 0 0 0 3 4.3v15.4A1.3 1.3 0 0 0 4.3 21h15.4a1.3 1.3 0 0 0 1.3-1.3V4.3A1.3 1.3 0 0 0 19.7 3M8.339 18.338H5.667v-8.59h2.672zM7.004 8.574a1.548 1.548 0 1 1-.002-3.096 1.548 1.548 0 0 1 .002 3.096m11.335 9.764H15.67v-4.177c0-.996-.017-2.278-1.387-2.278-1.389 0-1.601 1.086-1.601 2.206v4.249h-2.667v-8.59h2.559v1.174h.037c.356-.675 1.227-1.387 2.526-1.387 2.703 0 3.203 1.779 3.203 4.092v4.711z"})))},{name:"mail",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 4.236-8 4.882-8-4.882V6h16z"})))},{name:"mastodon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M11.973 2.352c-2.468.02-4.842.286-6.225.921 0 0-2.742 1.229-2.742 5.415 0 .958-.018 2.105.012 3.32.1 4.094.75 8.128 4.535 9.129 1.745.462 3.244.56 4.45.494 2.19-.122 3.417-.781 3.417-.781l-.072-1.588s-1.565.491-3.32.431c-1.74-.06-3.576-.188-3.858-2.324a4 4 0 0 1-.04-.598s1.709.416 3.874.516c1.324.06 2.563-.076 3.824-.226 2.418-.29 4.524-1.78 4.79-3.141.416-2.144.38-5.232.38-5.232 0-4.186-2.74-5.415-2.74-5.415-1.383-.635-3.76-.9-6.227-.921zM9.18 5.622c1.028 0 1.804.395 2.318 1.185l.502.84.5-.84c.514-.79 1.292-1.186 2.32-1.186.888 0 1.605.313 2.15.922q.795.915.794 2.469v5.068h-2.008V9.16c0-1.037-.438-1.562-1.31-1.562-.966 0-1.448.622-1.448 1.857v2.693h-1.996V9.455c0-1.235-.484-1.857-1.45-1.857-.872 0-1.308.525-1.308 1.562v4.92H6.236V9.012q-.001-1.554.793-2.469c.547-.609 1.263-.922 2.15-.922"})))},{name:"medium-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{fillRule:"nonzero",d:"M7.423 6c3.27 0 5.922 2.686 5.922 6s-2.651 6-5.922 6S1.5 15.313 1.5 12s2.652-6 5.923-6m9.458.351c1.635 0 2.961 2.53 2.961 5.65 0 3.118-1.325 5.648-2.96 5.648S13.92 15.119 13.92 12s1.325-5.649 2.96-5.649m4.577.589c.576 0 1.042 2.265 1.042 5.06s-.466 5.06-1.042 5.06c-.575 0-1.04-2.265-1.04-5.06s.465-5.06 1.04-5.06"})))},{name:"medium",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M3 3v18h18V3zm15 4.26-1 .93a.28.28 0 0 0-.11.27v6.8a.27.27 0 0 0 .11.27l.94.93v.2h-4.75v-.2l1-1c.09-.1.09-.12.09-.27V9.74l-2.71 6.9h-.37L8 9.74v4.62a.67.67 0 0 0 .17.54l1.27 1.54v.2H5.86v-.2l1.27-1.54a.64.64 0 0 0 .17-.54V9a.5.5 0 0 0-.16-.4L6 7.26v-.2h3.52L12.23 13l2.38-5.94H18z"})))},{name:"messenger",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.026.375C5.462.375.375 5.172.375 11.652c0 3.389 1.393 6.318 3.66 8.341.391.352.311.556.377 2.73a.934.934 0 0 0 1.307.823c2.48-1.092 2.512-1.178 2.933-1.064 7.185 1.977 14.973-2.621 14.973-10.83 0-6.48-5.035-11.277-11.599-11.277m6.996 8.678L15.6 14.47a1.75 1.75 0 0 1-2.527.465l-2.723-2.038a.7.7 0 0 0-.844 0l-3.674 2.786c-.49.372-1.133-.216-.802-.735l3.422-5.417a1.75 1.75 0 0 1 2.527-.465l2.722 2.037a.7.7 0 0 0 .844 0L18.22 8.32c.489-.374 1.132.213.801.732"})))},{name:"microblog",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.641 17.086c1.294-1.522 2.067-3.438 2.067-5.521 0-4.957-4.371-8.972-9.763-8.972s-9.763 4.015-9.763 8.972 4.371 8.972 9.763 8.972a10.5 10.5 0 0 0 3.486-.59.315.315 0 0 1 .356.112c.816 1.101 2.09 1.876 3.506 2.191a.194.194 0 0 0 .192-.309 3.82 3.82 0 0 1 .162-4.858zm-3.065-6.575-2.514 1.909.912 3.022a.286.286 0 0 1-.437.317l-2.592-1.802-2.592 1.802a.285.285 0 0 1-.436-.317l.912-3.022-2.515-1.909a.285.285 0 0 1 .167-.513l3.155-.066 1.038-2.981a.285.285 0 0 1 .539 0l1.038 2.981 3.155.066a.285.285 0 0 1 .17.513"})))},{name:"nextdoor",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",strokeMiterlimit:"10",viewBox:"0 0 130 130"},React.createElement("g",null,React.createElement("path",{d:"M64.25 3.531c-31.144.337-57.596 24.22-60.469 55.907-3.064 33.799 21.857 63.685 55.657 66.75s63.685-21.857 66.75-55.657-21.857-63.686-55.657-66.75a62 62 0 0 0-6.281-.25m3.938 34.907C82.468 38.438 93.5 48.58 93.5 61.5v27c0 .685-.565 1.25-1.25 1.25H80.906a1.267 1.267 0 0 1-1.25-1.25V63.375c0-5.58-4.309-11.937-11.469-11.937-7.47 0-11.468 6.357-11.468 11.937V88.5c0 .685-.565 1.25-1.25 1.25H44.125c-.68 0-1.219-.57-1.219-1.25V64.156c0-.74-.529-1.364-1.25-1.531-13.13-2.93-15.115-10.285-15.375-21.125-.005-.332.142-.67.375-.906.233-.237.543-.375.875-.375l11.688.062c.66.01 1.187.529 1.218 1.188.13 4.44.438 9.406 4.438 9.406.83 0 1.443-1.179 1.813-1.719 4.41-6.48 12.28-10.718 21.5-10.718"})))},{name:"patreon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20 7.408c-.003-2.299-1.746-4.182-3.79-4.862-2.54-.844-5.888-.722-8.312.453-2.939 1.425-3.862 4.545-3.896 7.656-.028 2.559.22 9.297 3.92 9.345 2.75.036 3.159-3.603 4.43-5.356.906-1.247 2.071-1.599 3.506-1.963 2.465-.627 4.146-2.626 4.142-5.273"})))},{name:"pinterest-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.289 2C6.617 2 3.606 5.648 3.606 9.622c0 1.846 1.025 4.146 2.666 4.878.25.111.381.063.439-.169.044-.175.267-1.029.365-1.428a.37.37 0 0 0-.091-.362c-.54-.63-.975-1.791-.975-2.873 0-2.777 2.194-5.464 5.933-5.464 3.23 0 5.49 2.108 5.49 5.122 0 3.407-1.794 5.768-4.13 5.768-1.291 0-2.257-1.021-1.948-2.277.372-1.495 1.089-3.112 1.089-4.191 0-.967-.542-1.775-1.663-1.775-1.319 0-2.379 1.309-2.379 3.059 0 1.115.394 1.869.394 1.869s-1.302 5.279-1.54 6.261c-.405 1.666.053 4.368.094 4.604.021.126.167.169.25.063.129-.165 1.699-2.419 2.142-4.051.158-.59.817-2.995.817-2.995.43.784 1.681 1.446 3.013 1.446 3.963 0 6.822-3.494 6.822-7.833C20.394 5.112 16.849 2 12.289 2"})))},{name:"pinterest",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.236 2.636 7.855 6.356 9.312-.087-.791-.166-2.005.035-2.869.182-.78 1.173-4.971 1.173-4.971s-.299-.599-.299-1.484c0-1.39.806-2.429 1.809-2.429.853 0 1.265.641 1.265 1.409 0 .858-.546 2.141-.828 3.329-.236.996.499 1.807 1.481 1.807 1.777 0 3.144-1.874 3.144-4.579 0-2.394-1.72-4.068-4.177-4.068-2.845 0-4.515 2.134-4.515 4.34 0 .859.331 1.781.744 2.282a.3.3 0 0 1 .069.287c-.077.316-.246.995-.279 1.134-.044.183-.145.222-.334.134-1.249-.581-2.03-2.407-2.03-3.874 0-3.154 2.292-6.051 6.607-6.051 3.469 0 6.165 2.472 6.165 5.775 0 3.446-2.173 6.22-5.189 6.22-1.013 0-1.966-.526-2.292-1.148l-.623 2.377c-.226.869-.835 1.957-1.243 2.622.936.289 1.93.445 2.961.445 5.523 0 10-4.477 10-10S17.523 2 12 2"})))},{name:"pocket",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.927 4.194A1.82 1.82 0 0 0 20.222 3H3.839a1.823 1.823 0 0 0-1.813 1.814v6.035l.069 1.2c.29 2.73 1.707 5.115 3.899 6.778l.119.089.025.018a9.9 9.9 0 0 0 3.91 1.727 10.06 10.06 0 0 0 4.049-.014.3.3 0 0 0 .064-.023 9.9 9.9 0 0 0 3.753-1.691l.025-.018q.06-.043.119-.089c2.192-1.664 3.609-4.049 3.898-6.778l.069-1.2V4.814a1.8 1.8 0 0 0-.098-.62m-4.235 6.287-4.704 4.512a1.37 1.37 0 0 1-1.898 0l-4.705-4.512a1.371 1.371 0 1 1 1.898-1.979l3.756 3.601 3.755-3.601a1.372 1.372 0 0 1 1.898 1.979"})))},{name:"polldaddy",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.487 2 2 6.487 2 12c0 5.514 4.487 10 10 10 5.514 0 10-4.486 10-10 0-5.513-4.486-10-10-10m.991 1.68c2.361.084 4.657 1.251 6.197 3.136.283.334.541.693.774 1.067a7.78 7.78 0 0 0-6.094-2.94 7.76 7.76 0 0 0-5.896 2.703q-.008.006-.016.014l-.152.159-.031.032a6.12 6.12 0 0 0-1.633 4.165 6.15 6.15 0 0 0 6.143 6.143c.57 0 1.123-.081 1.649-.227-1.849.839-4.131.747-5.926-.324-1.841-1.089-3.171-3.111-3.433-5.313A7.39 7.39 0 0 1 6.69 6.137C8.294 4.5 10.634 3.563 12.991 3.68m3.373 8.519c-.049-2.024-1.587-3.889-3.544-4.174-1.927-.343-3.917.857-4.451 2.661a3.67 3.67 0 0 0 .2 2.653c.39.8 1.067 1.451 1.894 1.759 1.664.654 3.63-.27 4.173-1.863.593-1.58-.396-3.423-1.94-3.776-1.52-.407-3.161.757-3.204 2.243a2.36 2.36 0 0 0 .753 1.879c.501.476 1.23.667 1.871.529a2.07 2.07 0 0 0 1.469-1.134 1.91 1.91 0 0 0-.087-1.767c-.297-.513-.859-.863-1.429-.881a1.7 1.7 0 0 0-1.437.679 1.53 1.53 0 0 0-.18 1.489q.006.016.016.03c.193.634.774 1.1 1.467 1.117a1.6 1.6 0 0 1-.97-.183c-.466-.244-.809-.747-.893-1.29a1.8 1.8 0 0 1 .499-1.539 2.02 2.02 0 0 1 1.58-.606c.593.04 1.159.35 1.517.859.364.496.51 1.156.383 1.773-.116.62-.529 1.174-1.093 1.514a2.52 2.52 0 0 1-1.914.286c-.65-.161-1.226-.606-1.584-1.206a2.83 2.83 0 0 1-.341-2.031c.143-.7.573-1.321 1.176-1.753 1.193-.883 3.056-.751 4.106.411 1.106 1.1 1.327 3.027.406 4.371-.877 1.376-2.74 2.086-4.374 1.594-1.639-.449-2.913-2.079-3.031-3.853-.07-.884.13-1.797.583-2.577.445-.777 1.155-1.432 1.972-1.862 1.64-.88 3.816-.743 5.349.424 1.251.924 2.083 2.42 2.236 4.009l.001.03c0 2.9-2.359 5.26-5.26 5.26a5.2 5.2 0 0 1-1.947-.376 5 5 0 0 0 2.613-.079 4.96 4.96 0 0 0 2.514-1.751c.618-.828.95-1.861.901-2.869M12 21.113c-5.024 0-9.111-4.087-9.111-9.113 0-4.789 3.713-8.723 8.411-9.081a7 7 0 0 0-.397.06c-2.644.453-5.017 2.106-6.32 4.409-1.309 2.301-1.391 5.19-.3 7.527 1.056 2.34 3.253 4.156 5.776 4.553 2.497.44 5.133-.483 6.787-2.301 1.719-1.797 2.269-4.529 1.486-6.796-.583-1.81-1.976-3.331-3.7-4.046 3.417.594 6.174 3.221 6.174 6.781 0 1.004-.241 2.02-.657 2.966-1.498 2.984-4.586 5.041-8.149 5.041"})))},{name:"print",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M9 16h6v2H9zm13 1h-3v3a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-3H2V9a2 2 0 0 1 2-2h1V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v2h1a2 2 0 0 1 2 2zM7 7h10V5H7zm10 7H7v6h10zm3-3.5a1.5 1.5 0 1 0-3.001.001A1.5 1.5 0 0 0 20 10.5"})))},{name:"quora",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M47.736 16.521c-.41-.81-.898-1.631-1.846-1.631a1 1 0 0 0-.527.107l-.322-.644a2.93 2.93 0 0 1 1.836-.595c1.26 0 1.914.605 2.431 1.397a6.8 6.8 0 0 0 .449-2.675c0-2.773-.869-4.199-2.929-4.199-1.992 0-2.851 1.465-2.851 4.199s.859 4.17 2.851 4.17a4 4 0 0 0 .869-.107zm.498.966a6 6 0 0 1-1.367.185 5.27 5.27 0 0 1-5.263-5.204c0-3.114 2.558-5.233 5.263-5.233s5.282 2.109 5.282 5.233a5.08 5.08 0 0 1-1.992 4.072c.381.566.781.956 1.319.956.595 0 .839-.459.878-.82h.781c.049.488-.195 2.48-2.373 2.48-1.319 0-2.012-.761-2.529-1.66zm5.624-2.646v-3.563c0-.371-.146-.586-.615-.586h-.498v-.956h3.251v5.048c0 .849.459 1.231 1.161 1.231a1.56 1.56 0 0 0 1.465-.839V11.28c0-.371-.146-.586-.615-.586h-.527v-.957h3.28v5.302c0 .527.195.732.8.732h.107v.976l-2.929.468V16.21h-.057a3.12 3.12 0 0 1-2.509 1.152c-1.28 0-2.304-.644-2.304-2.558zm12.059 1.611c1.152 0 1.592-1.005 1.611-3.027.02-1.982-.459-2.929-1.611-2.929-1.005 0-1.641.956-1.641 2.929 0 2.021.625 3.027 1.641 3.027m0 .956a3.906 3.906 0 0 1-3.974-3.974c0-2.334 1.836-3.886 3.974-3.886 2.226 0 4.004 1.582 4.004 3.886a3.867 3.867 0 0 1-4.004 3.974m4.072-.146v-.956h.312c.781 0 .859-.224.859-.908v-4.121c0-.371-.215-.586-.732-.586h-.42v-.955h2.968l.146 1.553h.108c.371-1.113 1.221-1.699 2.051-1.699.693 0 1.221.39 1.221 1.181 0 .547-.264 1.093-1.005 1.093-.664 0-.8-.449-1.358-.449-.488 0-.869.468-.869 1.152v2.783c0 .673.166.908.937.908h.439v.956h-4.658zm9.901-1.093c.956 0 1.338-.898 1.338-1.797v-1.211c-.732.722-2.304.742-2.304 2.021 0 .625.371.986.966.986m1.387 0c-.39.752-1.191 1.26-2.314 1.26-1.309 0-2.148-.732-2.148-1.914 0-2.451 3.417-1.797 4.423-3.427v-.185c0-1.25-.488-1.445-1.035-1.445-1.524 0-.83 1.631-2.226 1.631-.673 0-.937-.371-.937-.859 0-.927 1.093-1.67 3.173-1.67 1.963 0 3.163.537 3.163 2.49v3.114q-.02.742.595.742a1 1 0 0 0 .449-.127l.254.615c-.205.312-.752.869-1.836.869-.908 0-1.465-.42-1.543-1.113h-.01zm-68.554 2.558c-.83-1.641-1.807-3.3-3.711-3.3a2.9 2.9 0 0 0-1.093.215l-.644-1.299a5.66 5.66 0 0 1 3.662-1.211c2.548 0 3.857 1.231 4.892 2.792q.917-2.012.908-5.38c0-5.585-1.748-8.417-5.829-8.417-4.033 0-5.76 2.87-5.76 8.417s1.738 8.397 5.76 8.397a5.9 5.9 0 0 0 1.748-.224zm.996 1.953a9.8 9.8 0 0 1-2.744.371C5.614 21.041.371 16.764.371 10.545.371 4.277 5.614 0 10.965 0c5.448 0 10.642 4.248 10.642 10.545a10.25 10.25 0 0 1-4.013 8.201c.732 1.152 1.563 1.914 2.665 1.914 1.201 0 1.689-.927 1.768-1.66h1.572c.088.966-.4 4.999-4.775 4.999-2.646 0-4.052-1.543-5.106-3.339z"})))},{name:"reddit",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22 11.816a2.28 2.28 0 0 0-2.277-2.277c-.593 0-1.122.24-1.526.614-1.481-.965-3.455-1.594-5.647-1.69l1.171-3.702 3.18.748a1.88 1.88 0 0 0 1.876 1.862 1.88 1.88 0 0 0 1.877-1.878 1.88 1.88 0 0 0-1.877-1.877c-.769 0-1.431.466-1.72 1.13l-3.508-.826a.386.386 0 0 0-.46.261l-1.35 4.268c-2.316.038-4.411.67-5.97 1.671a2.24 2.24 0 0 0-1.492-.581A2.28 2.28 0 0 0 2 11.816c0 .814.433 1.523 1.078 1.925a4 4 0 0 0-.061.672c0 3.292 4.011 5.97 8.941 5.97s8.941-2.678 8.941-5.97q-.002-.32-.053-.632A2.26 2.26 0 0 0 22 11.816m-3.224-7.422a1.1 1.1 0 1 1-.001 2.199 1.1 1.1 0 0 1 .001-2.199M2.777 11.816c0-.827.672-1.5 1.499-1.5.313 0 .598.103.838.269-.851.676-1.477 1.479-1.812 2.36a1.48 1.48 0 0 1-.525-1.129m9.182 7.79c-4.501 0-8.164-2.329-8.164-5.193S7.457 9.22 11.959 9.22s8.164 2.329 8.164 5.193-3.663 5.193-8.164 5.193m8.677-6.605c-.326-.89-.948-1.701-1.797-2.384.248-.186.55-.301.883-.301.827 0 1.5.673 1.5 1.5.001.483-.23.911-.586 1.185m-11.64 1.703c-.76 0-1.397-.616-1.397-1.376s.637-1.397 1.397-1.397 1.376.637 1.376 1.397-.616 1.376-1.376 1.376m7.405-1.376c0 .76-.616 1.376-1.376 1.376s-1.399-.616-1.399-1.376.639-1.397 1.399-1.397 1.376.637 1.376 1.397m-1.172 3.38a.39.39 0 0 1 0 .55c-.674.674-1.727 1.002-3.219 1.002l-.011-.002-.011.002c-1.492 0-2.544-.328-3.218-1.002a.389.389 0 1 1 .55-.55c.521.521 1.394.775 2.669.775l.011.002.011-.002c1.275 0 2.148-.253 2.669-.775a.387.387 0 0 1 .549 0"})))},{name:"share",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18 16c-.788 0-1.499.31-2.034.807L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.048 4.118A3 3 0 0 0 15 19a3 3 0 1 0 3-3"})))},{name:"skype",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m10.113 2.699.1-.02q.05.025.098.051zM2.72 10.223l-.017.103q.025.048.051.095zm18.555 3.548q.009-.053.018-.106-.025-.047-.052-.095zm-7.712 7.428q.049.027.096.053l.105-.017zM22 16.386a5.55 5.55 0 0 1-1.637 3.953 5.55 5.55 0 0 1-3.953 1.637 5.6 5.6 0 0 1-2.75-.725l.105-.017-.202-.035q.049.027.096.053a9.5 9.5 0 0 1-1.654.147 9.4 9.4 0 0 1-3.676-.743 9.4 9.4 0 0 1-3.002-2.023 9.4 9.4 0 0 1-2.023-3.002 9.4 9.4 0 0 1-.743-3.676c0-.546.049-1.093.142-1.628q.025.048.051.095l-.034-.199-.017.103A5.6 5.6 0 0 1 2 7.615c0-1.493.582-2.898 1.637-3.953A5.56 5.56 0 0 1 7.59 2.024c.915 0 1.818.228 2.622.655l-.1.02.199.031q-.049-.026-.098-.051l.004-.001a9.5 9.5 0 0 1 1.788-.169 9.41 9.41 0 0 1 6.678 2.766 9.4 9.4 0 0 1 2.024 3.002 9.4 9.4 0 0 1 .743 3.676c0 .575-.054 1.15-.157 1.712q-.025-.047-.052-.095l.034.201q.009-.053.018-.106c.461.829.707 1.767.707 2.721m-5.183-2.248c0-1.331-.613-2.743-3.033-3.282l-2.209-.49c-.84-.192-1.807-.444-1.807-1.237s.679-1.348 1.903-1.348c2.468 0 2.243 1.696 3.468 1.696.645 0 1.209-.379 1.209-1.031 0-1.521-2.435-2.663-4.5-2.663-2.242 0-4.63.952-4.63 3.488 0 1.221.436 2.521 2.839 3.123l2.984.745c.903.223 1.129.731 1.129 1.189 0 .762-.758 1.507-2.129 1.507-2.679 0-2.307-2.062-3.743-2.062-.645 0-1.113.444-1.113 1.078 0 1.236 1.501 2.886 4.856 2.886 3.195 0 4.776-1.538 4.776-3.599"})))},{name:"sms",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17.696 4C20.069 4 22 5.973 22 8.398v4.357c0 2.04-1.368 3.783-3.261 4.266v4.427l-5.234-4.295h-7.2C3.93 17.153 2 15.18 2 12.755V8.398C2 5.973 3.931 4 6.304 4zM7.028 8.515c-.98 0-1.66.562-1.66 1.349-.009.497.322.91.985 1.178l.39.142c.242.097.305.171.305.297 0 .162-.131.251-.442.251s-.76-.135-1.004-.284l-.112.046-.215.868c.359.258.832.364 1.33.364 1.104 0 1.764-.523 1.764-1.333-.008-.574-.305-.956-.954-1.216l-.393-.146c-.266-.108-.341-.181-.341-.287 0-.152.131-.243.387-.243.274 0 .587.093.808.214l.109-.047.214-.837c-.315-.224-.741-.316-1.171-.316m10.302 0c-.98 0-1.66.562-1.66 1.349-.008.497.322.91.985 1.178l.39.142c.243.097.305.171.305.297 0 .162-.13.251-.442.251-.311 0-.76-.135-1.004-.284l-.112.046-.215.868c.359.258.832.364 1.33.364 1.104 0 1.764-.523 1.764-1.333-.008-.574-.305-.956-.954-1.216l-.393-.146c-.266-.108-.341-.181-.341-.287 0-.152.131-.243.387-.243.274 0 .587.093.808.214l.109-.047.214-.837c-.316-.224-.741-.316-1.171-.316m-3.733 0c-.297 0-.55.066-.78.202l-.144.098a2 2 0 0 0-.264.247l-.078.095-.027-.077c-.15-.34-.55-.565-1.033-.565l-.169.007a1.36 1.36 0 0 0-.896.42l-.08.09-.038-.363-.075-.067H8.994l-.075.079.024.634c.005.2.008.397.008.604v2.652l.075.075h1.178l.075-.075v-2.269q-.002-.168.042-.274c.083-.23.262-.392.496-.392.314 0 .483.267.483.753v2.182l.075.075h1.179l.075-.075v-2.277c0-.097.016-.213.043-.285.077-.224.26-.373.486-.373.33 0 .5.272.5.817v2.118l.074.075h1.179l.075-.075v-2.293c0-1.131-.537-1.763-1.39-1.763Z"})))},{name:"snapchat",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M11.989 1.728c3.221.001 5.904 2.683 5.908 5.912q.002 1.133.067 2.094a.737.737 0 0 0 .902.669l1.009-.237a.6.6 0 0 1 .129-.015c.256 0 .492.175.55.434a.74.74 0 0 1-.479.861l-1.532.618a.823.823 0 0 0-.485.98c1.229 4.543 4.661 4.071 4.661 4.662 0 .743-2.587.848-2.821 1.082s-.01 1.368-.532 1.588a1.1 1.1 0 0 1-.409.056c-.393 0-.95-.077-1.536-.077-.509 0-1.04.058-1.507.273-1.239.572-2.433 1.641-3.914 1.641S9.325 21.2 8.086 20.628c-.467-.216-.998-.273-1.507-.273-.586 0-1.143.077-1.536.077-.17 0-.31-.014-.409-.056-.522-.22-.299-1.354-.532-1.588s-2.821-.337-2.821-1.08c0-.592 3.432-.119 4.661-4.662a.824.824 0 0 0-.486-.98l-1.532-.618a.74.74 0 0 1-.479-.861.56.56 0 0 1 .679-.419l1.009.237q.086.02.169.02a.737.737 0 0 0 .733-.689q.065-.961.067-2.094c.004-3.229 2.666-5.91 5.887-5.912m0-1.281c-.961 0-1.898.194-2.784.574A7.2 7.2 0 0 0 6.93 2.572a7.2 7.2 0 0 0-1.539 2.282A7.1 7.1 0 0 0 4.82 7.64a33 33 0 0 1-.029 1.369l-.375-.088a2 2 0 0 0-.421-.049 1.86 1.86 0 0 0-1.135.389 1.84 1.84 0 0 0-.666 1.049 2.024 2.024 0 0 0 1.271 2.335l1.124.454c-.744 2.285-2.117 2.723-3.041 3.018a5 5 0 0 0-.659.246C.087 16.76 0 17.436 0 17.708c0 .521.247.996.694 1.339.223.17.499.311.844.43.47.162 1.016.265 1.459.347.021.164.053.341.106.518.22.738.684 1.069 1.034 1.217.332.14.676.156.905.156.224 0 .462-.018.713-.036.269-.02.548-.041.823-.041.426 0 .743.051.97.155.311.144.64.337.989.542.972.571 2.073 1.217 3.462 1.217s2.49-.647 3.462-1.217c.349-.205.679-.399.989-.542.226-.105.544-.155.97-.155.275 0 .554.021.823.041.251.019.488.036.713.036.229 0 .573-.016.905-.156.35-.147.814-.478 1.034-1.217.053-.178.084-.354.106-.518.443-.082.989-.185 1.459-.347.345-.119.621-.259.844-.43.448-.342.694-.818.694-1.339 0-.272-.087-.948-.891-1.347a5 5 0 0 0-.659-.246c-.924-.295-2.297-.733-3.041-3.018l1.124-.454a2.025 2.025 0 0 0 1.271-2.335 1.83 1.83 0 0 0-.666-1.049 1.86 1.86 0 0 0-1.556-.34l-.375.088a33 33 0 0 1-.029-1.369 7.1 7.1 0 0 0-.575-2.789c-.365-.853-.886-1.62-1.547-2.282s-1.428-1.182-2.28-1.547a7.1 7.1 0 0 0-2.786-.574"})))},{name:"soundcloud",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M23.587 13.923a3.303 3.303 0 0 1-3.344 3.117h-8.037a.674.674 0 0 1-.667-.67V7.717a.74.74 0 0 1 .444-.705s.739-.512 2.296-.512a5.27 5.27 0 0 1 2.702.742 5.35 5.35 0 0 1 2.516 3.485 3.1 3.1 0 0 1 .852-.116 3.217 3.217 0 0 1 3.237 3.312m-13.05-5.659c.242 2.935.419 5.612 0 8.538a.261.261 0 0 1-.519 0c-.39-2.901-.221-5.628 0-8.538a.26.26 0 0 1 .398-.25.26.26 0 0 1 .12.25zm-1.627 8.541a.273.273 0 0 1-.541 0 32.7 32.7 0 0 1 0-7.533.274.274 0 0 1 .544 0 29.4 29.4 0 0 1-.003 7.533m-1.63-7.788c.264 2.69.384 5.099-.003 7.782a.262.262 0 0 1-.522 0c-.374-2.649-.249-5.127 0-7.782a.264.264 0 0 1 .525 0m-1.631 7.792a.268.268 0 0 1-.532 0 27.6 27.6 0 0 1 0-7.034.27.27 0 1 1 .541 0 25.8 25.8 0 0 1-.01 7.034zm-1.63-5.276c.412 1.824.227 3.435-.015 5.294a.255.255 0 0 1-.504 0c-.22-1.834-.402-3.482-.015-5.295a.268.268 0 0 1 .535 0m-1.626-.277c.378 1.869.254 3.451-.01 5.325-.031.277-.506.28-.531 0-.239-1.846-.352-3.476-.01-5.325a.277.277 0 0 1 .551 0m-1.643.907c.396 1.239.261 2.246-.016 3.517a.258.258 0 0 1-.514 0c-.239-1.246-.336-2.274-.021-3.517a.276.276 0 0 1 .55 0z"})))},{name:"spotify",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("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.424a.62.62 0 0 1-.857.207c-2.348-1.435-5.304-1.76-8.785-.964a.622.622 0 1 1-.277-1.215c3.809-.871 7.077-.496 9.713 1.115a.623.623 0 0 1 .206.857M17.81 13.7a.78.78 0 0 1-1.072.257c-2.687-1.652-6.785-2.131-9.965-1.166A.779.779 0 1 1 6.32 11.3c3.632-1.102 8.147-.568 11.234 1.328a.78.78 0 0 1 .256 1.072m.105-2.835c-3.223-1.914-8.54-2.09-11.618-1.156a.935.935 0 1 1-.542-1.79c3.532-1.072 9.404-.865 13.115 1.338a.936.936 0 1 1-.955 1.608"})))},{name:"squarespace",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.87 9.271a3.86 3.86 0 0 0-5.458 0l-6.141 6.141a.964.964 0 1 0 1.365 1.364l6.14-6.14a1.929 1.929 0 1 1 2.729 2.729l-6.022 6.022a1.93 1.93 0 0 0 2.729 0l4.658-4.658a3.86 3.86 0 0 0 0-5.458m-2.047 2.047a.965.965 0 0 0-1.365 0l-6.14 6.14a1.93 1.93 0 0 1-2.729 0 .964.964 0 1 0-1.364 1.364 3.86 3.86 0 0 0 5.458 0l6.14-6.14a.966.966 0 0 0 0-1.364m-2.047-6.141a3.86 3.86 0 0 0-5.458 0l-6.14 6.14a.964.964 0 1 0 1.364 1.364l6.141-6.14a1.93 1.93 0 0 1 2.729 0 .965.965 0 1 0 1.364-1.364m-2.047 2.047a.964.964 0 0 0-1.364 0l-6.14 6.141a1.929 1.929 0 1 1-2.729-2.729l6.022-6.022a1.93 1.93 0 0 0-2.729 0L3.13 9.271a3.86 3.86 0 0 0 5.458 5.458l6.14-6.141a.963.963 0 0 0 .001-1.364"})))},{name:"stackexchange",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M4 11.606h16v3.272H4zM4 7.377h16v3.272H4zM17.514 3H6.55C5.147 3 4 4.169 4 5.614v.848h16v-.85C20 4.167 18.895 3 17.514 3M4 15.813v.85c0 1.445 1.147 2.614 2.55 2.614h6.799v3.463l3.357-3.463h.744c1.402 0 2.55-1.169 2.55-2.614v-.85z"})))},{name:"stackoverflow",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18.18 20.103V14.78h1.767v7.09H4v-7.09h1.767v5.323z"}),React.createElement("path",{d:"m7.717 14.275 8.673 1.813.367-1.744-8.673-1.813zm1.147-4.13 8.031 3.74.734-1.606-8.031-3.763zm2.226-3.946 6.815 5.667 1.124-1.354-6.815-5.667zM15.495 2l-1.423 1.055 5.277 7.113 1.423-1.055zM7.533 18.314h8.857v-1.767H7.533z"})))},{name:"stumbleupon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 4.294a4.47 4.47 0 0 0-4.471 4.471v6.353a1.059 1.059 0 1 1-2.118 0v-2.824H2v2.941a4.471 4.471 0 0 0 8.942 0v-6.47a1.059 1.059 0 1 1 2.118 0v1.294l1.412.647 2-.647V8.765A4.473 4.473 0 0 0 12 4.294m1.059 8.059v2.882a4.471 4.471 0 0 0 8.941 0v-2.824h-3.412v2.824a1.059 1.059 0 1 1-2.118 0v-2.882l-2 .647z"})))},{name:"substack",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.904 9.182H4.095V7.054h15.81v2.127M4.095 11.109V21L12 16.583 19.905 21v-9.891zM19.905 3H4.095v2.127h15.81z"})))},{name:"telegram",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m3.08 14.757s-.25.625-.936.325l-2.541-1.949-1.63 1.486s-.127.096-.266.036c0 0-.12-.011-.27-.486s-.911-2.972-.911-2.972L6 12.349s-.387-.137-.425-.438c-.037-.3.437-.462.437-.462l10.03-3.934s.824-.362.824.238z"})))},{name:"threads",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 192 192"},React.createElement("g",null,React.createElement("path",{d:"M141.537 88.988a67 67 0 0 0-2.518-1.143c-1.482-27.307-16.403-42.94-41.457-43.1h-.34c-14.986 0-27.449 6.396-35.12 18.036l13.779 9.452c5.73-8.695 14.724-10.548 21.348-10.548h.229c8.249.053 14.474 2.452 18.503 7.129 2.932 3.405 4.893 8.111 5.864 14.05-7.314-1.243-15.224-1.626-23.68-1.14-23.82 1.371-39.134 15.264-38.105 34.568.522 9.792 5.4 18.216 13.735 23.719 7.047 4.652 16.124 6.927 25.557 6.412 12.458-.683 22.231-5.436 29.049-14.127 5.178-6.6 8.453-15.153 9.899-25.93 5.937 3.583 10.337 8.298 12.767 13.966 4.132 9.635 4.373 25.468-8.546 38.376-11.319 11.308-24.925 16.2-45.488 16.351-22.809-.169-40.06-7.484-51.275-21.742C35.236 139.966 29.808 120.682 29.605 96c.203-24.682 5.63-43.966 16.133-57.317C56.954 24.425 74.204 17.11 97.013 16.94c22.975.17 40.526 7.52 52.171 21.847 5.71 7.026 10.015 15.86 12.853 26.162l16.147-4.308c-3.44-12.68-8.853-23.606-16.219-32.668C147.036 9.607 125.202.195 97.07 0h-.113C68.882.194 47.292 9.642 32.788 28.08 19.882 44.485 13.224 67.315 13.001 95.932L13 96v.067c.224 28.617 6.882 51.447 19.788 67.854C47.292 182.358 68.882 191.806 96.957 192h.113c24.96-.173 42.554-6.708 57.048-21.189 18.963-18.945 18.392-42.692 12.142-57.27-4.484-10.454-13.033-18.945-24.723-24.553M98.44 129.507c-10.44.588-21.286-4.098-21.82-14.135-.397-7.442 5.296-15.746 22.461-16.735q2.948-.17 5.79-.169c6.235 0 12.068.606 17.371 1.765-1.978 24.702-13.58 28.713-23.802 29.274"})))},{name:"tiktok-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm7.531 3h2.053s-.114 2.635 2.85 2.82v2.04s-1.582.099-2.85-.87l.021 4.207a3.804 3.804 0 1 1-3.802-3.802h.533v2.082a1.73 1.73 0 0 0-1.922.648 1.727 1.727 0 0 0 1.947 2.646 1.73 1.73 0 0 0 1.19-1.642z"})))},{name:"tiktok",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.22 2h3.42s-.19 4.394 4.75 4.702v3.396s-2.636.166-4.75-1.448l.037 7.012a6.338 6.338 0 1 1-6.34-6.339h.89v3.472a2.882 2.882 0 1 0 2.024 2.752z"})))},{name:"tripadvisor",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.01 9.859c.236-1.002.985-2.003.985-2.003l-3.341-.002C16.779 6.643 14.502 6 11.979 6 9.363 6 7 6.659 5.135 7.877L2 7.88s.74.988.98 1.983a4.98 4.98 0 0 0-.977 2.961 5.01 5.01 0 0 0 5.009 5.003 5 5 0 0 0 3.904-1.875l1.065 1.592 1.076-1.606a4.96 4.96 0 0 0 1.838 1.448 4.98 4.98 0 0 0 3.831.151 5.01 5.01 0 0 0 2.963-6.431 5 5 0 0 0-.679-1.247m-13.998 6.96a4 4 0 0 1-3.998-3.995 4 4 0 0 1 3.998-3.997 4 4 0 0 1 3.996 3.997 4 4 0 0 1-3.996 3.995m4.987-4.36A5.007 5.007 0 0 0 7.11 7.821c1.434-.613 3.081-.947 4.867-.947 1.798 0 3.421.324 4.853.966a4.984 4.984 0 0 0-4.831 4.619m6.288 4.134a3.97 3.97 0 0 1-3.058-.122 3.96 3.96 0 0 1-2.075-2.245v-.001a3.97 3.97 0 0 1 .118-3.056 3.97 3.97 0 0 1 2.246-2.077 4.005 4.005 0 0 1 5.135 2.366 4.006 4.006 0 0 1-2.366 5.135"}),React.createElement("path",{d:"M6.949 10.307a2.477 2.477 0 0 0-2.475 2.472 2.48 2.48 0 0 0 2.475 2.474 2.474 2.474 0 0 0 0-4.946m0 4.094a1.626 1.626 0 0 1-1.624-1.623 1.621 1.621 0 1 1 1.624 1.623M16.981 10.307a2.477 2.477 0 0 0-2.474 2.472 2.48 2.48 0 0 0 2.474 2.474 2.476 2.476 0 0 0 2.472-2.474 2.475 2.475 0 0 0-2.472-2.472m0 4.094a1.625 1.625 0 0 1-1.622-1.623 1.622 1.622 0 1 1 1.622 1.623"}),React.createElement("path",{d:"M7.778 12.778a.832.832 0 1 1-1.664.002.832.832 0 0 1 1.664-.002M16.981 11.947a.832.832 0 1 0 .002 1.666.832.832 0 0 0-.002-1.666"})))},{name:"tumblr-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M16.749 17.396c-.357.17-1.041.319-1.551.332-1.539.041-1.837-1.081-1.85-1.896V9.847h3.861v-2.91h-3.847V2.039h-2.817c-.046 0-.127.041-.138.144-.165 1.499-.867 4.13-3.783 5.181v2.484h1.945v6.282c0 2.151 1.587 5.206 5.775 5.135 1.413-.024 2.982-.616 3.329-1.126z"})))},{name:"tumblr",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-5.569 14.265c-2.446.042-3.372-1.742-3.372-2.998v-3.668H8.923v-1.45c1.703-.614 2.113-2.15 2.209-3.025.007-.06.054-.084.081-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.131 1.081 1.107.298-.008.697-.094.906-.194l.54 1.601c-.205.296-1.121.641-1.946.656"})))},{name:"twitch",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M16.499 8.089h-1.636v4.91h1.636zm-4.499 0h-1.637v4.91H12zM4.228 3.178 3 6.451v13.092h4.499V22h2.456l2.454-2.456h3.681L21 14.636V3.178zm15.136 10.638L16.5 16.681H12l-2.453 2.453V16.68H5.863V4.814h13.501z"})))},{name:"twitter-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22.23 5.924a8.2 8.2 0 0 1-2.357.646 4.12 4.12 0 0 0 1.804-2.27 8.2 8.2 0 0 1-2.606.996 4.103 4.103 0 0 0-6.991 3.742 11.65 11.65 0 0 1-8.457-4.287 4.1 4.1 0 0 0-.556 2.063 4.1 4.1 0 0 0 1.825 3.415 4.1 4.1 0 0 1-1.859-.513v.052a4.104 4.104 0 0 0 3.292 4.023 4.1 4.1 0 0 1-1.853.07 4.11 4.11 0 0 0 3.833 2.85 8.24 8.24 0 0 1-5.096 1.756 8 8 0 0 1-.979-.057 11.6 11.6 0 0 0 6.29 1.843c7.547 0 11.675-6.252 11.675-11.675q0-.267-.012-.531a8.3 8.3 0 0 0 2.047-2.123"})))},{name:"twitter",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-2.534 6.71q.007.148.007.298c0 3.045-2.318 6.556-6.556 6.556a6.5 6.5 0 0 1-3.532-1.035q.27.032.55.032a4.63 4.63 0 0 0 2.862-.986 2.31 2.31 0 0 1-2.152-1.6 2.3 2.3 0 0 0 1.04-.04 2.306 2.306 0 0 1-1.848-2.259v-.029c.311.173.666.276 1.044.288a2.303 2.303 0 0 1-.713-3.076 6.54 6.54 0 0 0 4.749 2.407 2.305 2.305 0 0 1 3.926-2.101 4.6 4.6 0 0 0 1.463-.559 2.3 2.3 0 0 1-1.013 1.275c.466-.056.91-.18 1.323-.363-.31.461-.7.867-1.15 1.192"})))},{name:"untappd",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m11 13.299-5.824 8.133c-.298.416-.8.635-1.308.572-.578-.072-1.374-.289-2.195-.879S.392 19.849.139 19.323a1.4 1.4 0 0 1 .122-1.425l5.824-8.133a3.1 3.1 0 0 1 1.062-.927l1.146-.604c.23-.121.436-.283.608-.478.556-.631 2.049-2.284 4.696-4.957l.046-.212a.13.13 0 0 1 .096-.1l.146-.037a.135.135 0 0 0 .101-.141l-.015-.18a.13.13 0 0 1 .125-.142c.176-.005.518.046 1.001.393s.64.656.692.824a.13.13 0 0 1-.095.164l-.175.044a.13.13 0 0 0-.101.141l.012.15a.13.13 0 0 1-.063.123l-.186.112c-1.679 3.369-2.764 5.316-3.183 6.046a2.2 2.2 0 0 0-.257.73l-.205 1.281A3.1 3.1 0 0 1 11 13.3zm12.739 4.598-5.824-8.133a3.1 3.1 0 0 0-1.062-.927l-1.146-.605a2.1 2.1 0 0 1-.608-.478 51 51 0 0 0-.587-.654.09.09 0 0 0-.142.018 97 97 0 0 1-1.745 3.223 1.4 1.4 0 0 0-.171.485 3.5 3.5 0 0 0 0 1.103l.01.064c.075.471.259.918.536 1.305l5.824 8.133c.296.413.79.635 1.294.574a4.76 4.76 0 0 0 2.209-.881 4.76 4.76 0 0 0 1.533-1.802 1.4 1.4 0 0 0-.122-1.425zM8.306 3.366l.175.044a.134.134 0 0 1 .101.141l-.012.15a.13.13 0 0 0 .063.123l.186.112q.465.933.869 1.721c.026.051.091.06.129.019q.655-.703 1.585-1.668a.137.137 0 0 0 .003-.19c-.315-.322-.645-.659-1.002-1.02l-.046-.212a.13.13 0 0 0-.096-.099l-.146-.037a.135.135 0 0 1-.101-.141l.015-.18a.13.13 0 0 0-.123-.142c-.175-.005-.518.045-1.002.393-.483.347-.64.656-.692.824a.13.13 0 0 0 .095.164z"})))},{name:"vimeo",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22.396 7.164q-.139 3.039-4.245 8.32Q13.907 21 10.97 21q-1.82 0-3.079-3.359l-1.68-6.159q-.934-3.36-2.005-3.36-.234.001-1.634.98l-.978-1.261q1.541-1.353 3.037-2.708 2.056-1.774 3.084-1.869 2.429-.234 2.99 3.321.607 3.836.841 4.769.7 3.181 1.542 3.181.653 0 1.963-2.065 1.307-2.063 1.401-3.142.187-1.781-1.401-1.782-.747.001-1.541.341 1.534-5.024 5.862-4.884 3.21.095 3.024 4.161"})))},{name:"vk",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{fillRule:"evenodd",d:"M1.687 1.687C0 3.374 0 6.09 0 11.52v.96c0 5.431 0 8.146 1.687 9.833S6.09 24 11.52 24h.96c5.431 0 8.146 0 9.833-1.687S24 17.91 24 12.48v-.96c0-5.431 0-8.146-1.687-9.833S17.91 0 12.48 0h-.96C6.09 0 3.374 0 1.687 1.687M4.05 7.3c.13 6.24 3.25 9.99 8.72 9.99h.31v-3.57c2.01.2 3.53 1.67 4.14 3.57h2.84c-.78-2.84-2.83-4.41-4.11-5.01 1.28-.74 3.08-2.54 3.51-4.98h-2.58c-.56 1.98-2.22 3.78-3.8 3.95V7.3H10.5v6.92c-1.6-.4-3.62-2.34-3.71-6.92z"})))},{name:"whatsapp",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m2.048 22 1.406-5.136a9.9 9.9 0 0 1-1.323-4.955C2.133 6.446 6.579 2 12.042 2a9.85 9.85 0 0 1 7.011 2.906 9.85 9.85 0 0 1 2.9 7.011c-.002 5.464-4.448 9.91-9.91 9.91h-.004a9.9 9.9 0 0 1-4.736-1.206zm5.497-3.172.301.179a8.2 8.2 0 0 0 4.193 1.148h.003c4.54 0 8.235-3.695 8.237-8.237a8.2 8.2 0 0 0-2.41-5.828 8.18 8.18 0 0 0-5.824-2.416c-4.544 0-8.239 3.695-8.241 8.237a8.2 8.2 0 0 0 1.259 4.384l.196.312-.832 3.04zm9.49-4.554c-.062-.103-.227-.165-.475-.289s-1.465-.723-1.692-.806-.392-.124-.557.124-.64.806-.784.971-.289.186-.536.062-1.046-.385-1.991-1.229c-.736-.657-1.233-1.468-1.378-1.715s-.015-.382.109-.505c.111-.111.248-.289.371-.434.124-.145.165-.248.248-.413s.041-.31-.021-.434-.557-1.343-.763-1.839c-.202-.483-.407-.417-.559-.425-.144-.007-.31-.009-.475-.009a.9.9 0 0 0-.66.31c-.226.248-.866.847-.866 2.066s.887 2.396 1.011 2.562 1.746 2.666 4.23 3.739c.591.255 1.052.408 1.412.522.593.189 1.133.162 1.56.098.476-.071 1.465-.599 1.671-1.177.206-.58.206-1.075.145-1.179"})))},{name:"woocommerce",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 2H5C3.3 2 2 3.3 2 5v11c0 1.7 1.3 3 3 3h4l6 3-1-3h5c1.7 0 3-1.3 3-3V5c0-1.7-1.3-3-3-3m-1.6 4.5c-.4.8-.8 2.1-1 3.9-.3 1.8-.4 3.1-.3 4.1 0 .3 0 .5-.1.7s-.3.4-.6.4-.6-.1-.9-.4c-1-1-1.8-2.6-2.4-4.6-.7 1.4-1.2 2.4-1.6 3.1-.6 1.2-1.2 1.8-1.6 1.9-.3 0-.5-.2-.8-.7-.5-1.4-1.1-4.2-1.7-8.2 0-.3 0-.5.2-.7.1-.2.4-.3.7-.4.5 0 .9.2.9.8.3 2.3.7 4.2 1.1 5.7l2.4-4.5c.2-.4.4-.6.8-.6q.75 0 .9.9c.3 1.4.6 2.6 1 3.7.3-2.7.8-4.7 1.4-5.9.2-.3.4-.5.7-.5.2 0 .5.1.7.2q.3.3.3.6c0 .3 0 .4-.1.5"})))},{name:"wordpress",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.158 12.786 9.46 20.625a9 9 0 0 0 5.526-.144 1 1 0 0 1-.065-.124zM3.009 12a8.99 8.99 0 0 0 5.067 8.092L3.788 8.341A8.95 8.95 0 0 0 3.009 12m15.06-.454c0-1.112-.399-1.881-.741-2.48-.456-.741-.883-1.368-.883-2.109 0-.826.627-1.596 1.51-1.596q.06.002.116.007A8.96 8.96 0 0 0 12 3.009a8.98 8.98 0 0 0-7.512 4.052c.211.007.41.011.579.011.94 0 2.396-.114 2.396-.114.484-.028.541.684.057.741 0 0-.487.057-1.029.085l3.274 9.739 1.968-5.901-1.401-3.838c-.484-.028-.943-.085-.943-.085-.485-.029-.428-.769.057-.741 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.485-.028.542.684.057.741 0 0-.488.057-1.029.085l3.249 9.665.897-2.996q.684-1.753.684-2.907m1.82-3.86q.06.428.06.924c0 .912-.171 1.938-.684 3.22l-2.746 7.94a8.98 8.98 0 0 0 4.47-7.771 8.9 8.9 0 0 0-1.1-4.313M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"})))},{name:"x",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387z"})))},{name:"xanga",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M9 9h6v6H9zM3 9h6V3H3zm12 0h6V3h-6zm0 12h6v-6h-6zM3 21h6v-6H3z"})))},{name:"youtube",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.8 8.001s-.195-1.378-.795-1.985c-.76-.797-1.613-.801-2.004-.847-2.799-.202-6.997-.202-6.997-.202h-.009s-4.198 0-6.997.202c-.39.047-1.242.051-2.003.847-.6.607-.795 1.985-.795 1.985S2 9.62 2 11.238v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.761.797 1.76.771 2.205.855 1.6.153 6.8.201 6.8.201s4.203-.006 7.001-.209c.391-.047 1.243-.051 2.004-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517c0-1.618-.2-3.237-.2-3.237M9.935 14.594l-.001-5.62 5.404 2.82z"})))}]},58992:(e,t,n)=>{"use strict";n.d(t,{d:()=>u});var r=n(96072),a=n.n(r),s=n(28120),o=n.n(s),i=n(51609),c=n.n(i),l=n(91135);class u extends i.PureComponent{static defaultProps={size:24};static propTypes={icon:o().string.isRequired,size:o().number,onClick:o().func,className:o().string};render(){const{size:e,onClick:t,icon:n,className:r,...s}=this.props,o=["social-logo","social-logo-"+n,r].filter(Boolean).join(" "),i=l.$.find((e=>e.name===n));if(!i)return c().createElement("svg",a()({height:e,width:e},s));return c().cloneElement(i.svg,{className:o,height:e,width:e,onClick:t,...s})}}},52068:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>C});var r=n(82170),a=n(96865),s=n(56427),o=n(27723),i=n(90254),c=n(69457),l=n(88669),u=n(41417),d=n(57003),p=(n(51609),n(86385)),m=n(64425),g=n(47264),A=n(2162),h=n(62402);const __=o.__,E="simplify",f="make-longer",b="make-shorter",v={default:[{name:__("Correct spelling and grammar","jetpack"),key:"correct-spelling",aiSuggestion:m.yy,icon:i.A}],"core/paragraph":[{name:__("Simplify","jetpack"),key:E,aiSuggestion:m.A4,icon:c.A},{name:__("Summarize","jetpack"),key:"summarize",aiSuggestion:m.UA,icon:l.A},{name:__("Expand","jetpack"),key:f,aiSuggestion:m.br,icon:u.A},{name:__("Make shorter","jetpack"),key:b,aiSuggestion:m.fD,icon:u.A}],"core/list-item":[{name:__("Simplify","jetpack"),key:E,aiSuggestion:m.A4,icon:c.A},{name:__("Expand","jetpack"),key:f,aiSuggestion:m.br,icon:u.A},{name:__("Make shorter","jetpack"),key:b,aiSuggestion:m.fD,icon:u.A}],"core/list":p.h9.includes("core/list")?[{name:__("Simplify","jetpack"),key:E,aiSuggestion:m.A4,icon:c.A},{name:__("Expand","jetpack"),key:f,aiSuggestion:m.br,icon:u.A},{name:__("Make shorter","jetpack"),key:b,aiSuggestion:m.fD,icon:u.A}]:[{name:__("Turn list into a table","jetpack"),key:"turn-into-table",aiSuggestion:m.pE,icon:d.A,options:{userPrompt:"make a table from this list, do not enclose the response in a code block"}},{name:__("Write a post from this list","jetpack"),key:"write-post-from-list",aiSuggestion:m.pE,icon:c.A,options:{userPrompt:"Write a post based on the list items. Include a title as first order heading and try to use secondary headings for each entry"}}]};function C({blockType:e,disabled:t=!1,onAskAiAssistant:n,onRequestSuggestion:o}){const i=v[e]??[];return(0,r.createElement)(r.Fragment,null,t&&(0,r.createElement)(s.Notice,{status:"warning",isDismissible:!1,className:"jetpack-ai-assistant__info"},__("Add content to activate the tools below","jetpack")),(0,r.createElement)(s.MenuGroup,null,(0,r.createElement)(s.MenuItem,{icon:a.cj,iconPosition:"left",key:"key-ai-assistant",onClick:n,disabled:t},(0,r.createElement)("div",{className:"jetpack-ai-assistant__menu-item"},__("Ask AI Assistant","jetpack"))),[...v.default,...i].map((e=>(0,r.createElement)(s.MenuItem,{icon:e?.icon,iconPosition:"left",key:`key-${e.key}`,onClick:()=>{o(e.aiSuggestion,{...e.options??{}},e.name)},disabled:t},(0,r.createElement)("div",{className:"jetpack-ai-assistant__menu-item"},e.name)))),(0,r.createElement)(h.hN,{onChange:e=>{o(m.eJ,{tone:e},`${h.uQ}: ${(0,g.Z)(e)}`)},disabled:t}),(0,r.createElement)(A.HU,{onChange:(e,t)=>{o(m.Gm,{language:e},`${A.u0}: ${t}`)},disabled:t})))}},39767:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(82170),a=n(96865),s=n(85985),o=n(56427),i=n(47143),c=n(86087),l=n(27723),u=n(10067),d=n.n(u),p=(n(51609),n(4827)),m=n(16597),g=n(13802),A=n(52068);const __=l.__,h=d()("jetpack-ai-assistant:dropdown");function E({onClose:e,blockType:t}){const[n,a]=(0,c.useState)(!1),{getSelectedBlockClientIds:o,getBlocksByClientId:l}=(0,i.useSelect)("core/block-editor"),{removeBlocks:u,replaceBlock:d}=(0,i.useDispatch)("core/block-editor");(0,c.useEffect)((()=>{const e=o(),t=l(e),n=(0,m.Sb)(t),r=(0,m.dY)(n);return a(!r.length)}),[l,o]);const{tracks:E}=(0,s.st)();return(0,r.createElement)(A.Ay,{blockType:t,onRequestSuggestion:(n,r={})=>{const a=o(),s=l(a),i=(0,m.Sb)(s);e(),h("requestSuggestion",n,r),E.recordEvent("jetpack_editor_ai_assistant_extension_toolbar_button_click",{suggestion:n,block_type:t});const[c]=s,[A,...f]=a,b={...c?.attributes||{},content:i},v=(0,g.r)(t,b),C={clientId:A,type:n,options:{...r,contentType:"generated",fromExtension:!0}};localStorage.setItem((0,p.yU)(v.clientId),JSON.stringify(C)),d(A,v),u(f)},onAskAiAssistant:()=>{const e=o(),n=l(e),r=(0,m.Sb)(n),[a,...s]=e,[i]=n,c={...i?.attributes||{},content:r};d(a,(0,g.r)(t,c)),u(s),E.recordEvent("jetpack_ai_assistant_prompt_show",{block_type:t})},disabled:n})}function f({blockType:e,label:t=__("AI Assistant","jetpack")}){const{tracks:n}=(0,s.st)();return(0,r.createElement)(o.Dropdown,{popoverProps:{variant:"toolbar"},renderToggle:({isOpen:e,onToggle:n})=>(0,r.createElement)(o.ToolbarButton,{className:"jetpack-ai-assistant__button",showTooltip:!0,onClick:n,"aria-haspopup":"true","aria-expanded":e,label:t,icon:a.cj}),onToggle:t=>{t&&n.recordEvent("jetpack_ai_assistant_extension_toolbar_menu_show",{block_type:e})},renderContent:({onClose:t})=>(0,r.createElement)(E,{onClose:t,blockType:e})})}},72901:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(82170),a=n(27723),s=n(56333),o=n(10617);const __=a.__,i=()=>{const e=`${window?.Jetpack_Editor_Initial_State?.adminUrl}admin.php?page=my-jetpack#/connection`,{autosaveAndRedirect:t,isRedirecting:n}=(0,o.A)(e);return(0,r.createElement)(s.c,{buttonText:__("Connect Jetpack","jetpack"),checkoutUrl:e,className:"jetpack-ai-connect-banner",description:__("Your account is not connected to Jetpack at the moment.","jetpack"),goToCheckoutPage:e=>{t(e)},isRedirecting:n,visible:!0,align:null,title:null,context:null})}},32249:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(82170),a=n(3924),s=n(56427),o=n(27723);const __=o.__;const i=function(){const e=(0,a.A)("jetpack-ai-feedback");return(0,r.createElement)("div",{className:"jetpack-ai-feedback-control"},(0,r.createElement)(s.BaseControl,{label:__("Feedback","jetpack")},(0,r.createElement)("p",null,__("Your feedback is valuable in our commitment to refine and improve this feature.","jetpack")),(0,r.createElement)(s.ExternalLink,{href:e},__("Share your feedback","jetpack"))))}},2162:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>h,HU:()=>E,so:()=>g,u0:()=>p});var r=n(82170),a=n(85985),s=n(56427),o=n(27723),i=n(51113),c=n(29115),l=n(84066);n(51609);const __=o.__,u=["en","es","fr","de","it","pt","ru","zh","ja","ar","hi","ko"],d=window?.Jetpack_Editor_Initial_State?.siteLocale||navigator?.language,p=__("Translate","jetpack"),m=d?.split("-")[0]||"en",g=(d?.split("-"),{en:{label:__("English","jetpack")},es:{label:__("Spanish","jetpack")},fr:{label:__("French","jetpack")},de:{label:__("German","jetpack")},it:{label:__("Italian","jetpack")},pt:{label:__("Portuguese","jetpack")},ru:{label:__("Russian","jetpack")},zh:{label:__("Chinese","jetpack")},ja:{label:__("Japanese","jetpack")},ar:{label:__("Arabic","jetpack")},hi:{label:__("Hindi","jetpack")},ko:{label:__("Korean","jetpack")}}),A=({value:e,onChange:t})=>{const n=[...u.filter((e=>e!==m))];return u.includes(m)&&n.unshift(m),(0,r.createElement)(s.MenuGroup,{label:__("Select language","jetpack")},n.map((n=>(0,r.createElement)(s.MenuItem,{key:`key-${n}`,onClick:()=>t(n+" ("+g[n].label+")",g[n].label),isSelected:e===n},g[n].label))))};function h({value:e=m,label:t=p,onChange:n,disabled:o=!1}){const{tracks:c}=(0,a.st)();return o?(0,r.createElement)(s.Tooltip,{text:t},(0,r.createElement)(s.Button,{disabled:!0},(0,r.createElement)(i.A,{icon:l.A}))):(0,r.createElement)(s.ToolbarDropdownMenu,{icon:l.A,label:t,popoverProps:{variant:"toolbar"},onToggle:e=>{e&&c.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"i18n"})}},(()=>(0,r.createElement)(A,{value:e,onChange:n})))}function E({value:e=m,label:t=p,onChange:n,disabled:a=!1}){return(0,r.createElement)(s.DropdownMenu,{className:"ai-assistant__i18n-dropdown",icon:l.A,label:t,toggleProps:{children:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:"ai-assistant__i18n-dropdown__toggle-label"},t),(0,r.createElement)(i.A,{icon:c.A})),disabled:a}},(({onClose:t})=>(0,r.createElement)(A,{onChange:(...e)=>{n(...e),t()},value:e})))}},99050:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>A});var r=n(82170),a=n(85985),s=n(56427),o=n(27723),i=n(78938);const __=o.__,c="make-longer",l="makeLonger",u="make-shorter",d="makeShorter",p="summarize",m="summarize",g=[{name:__("Summarize","jetpack"),key:p,aiSuggestion:m},{name:__("Make longer","jetpack"),key:c,aiSuggestion:l},{name:__("Make shorter","jetpack"),key:u,aiSuggestion:d}];function A({key:e,label:t=__("Improve","jetpack"),exclude:n=[],onChange:o,disabled:c=!1}){const{tracks:l}=(0,a.st)();return c?(0,r.createElement)(s.Tooltip,{text:t},(0,r.createElement)(s.Button,{disabled:!0},(0,r.createElement)(s.Icon,{icon:i.A}))):(0,r.createElement)(s.ToolbarDropdownMenu,{icon:i.A,label:t,popoverProps:{variant:"toolbar"},onToggle:e=>{e&&l.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"improve"})}},(()=>{const a=g.filter((e=>!n.includes(e.key)));return(0,r.createElement)(s.MenuGroup,{label:t},a.map((t=>(0,r.createElement)(s.MenuItem,{key:`key-${t.key}`,onClick:()=>o(t.aiSuggestion,{contentType:"generated"}),isSelected:e===t.key},t.name))))}))}},33468:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>A});var r=n(82170),a=n(85985),s=n(56427),o=n(27723),i=n(78938),c=n(41417),l=n(90254),u=n(69457),d=n(88669),p=n(11269);const __=o.__,m=[{label:__("Post about…","jetpack"),description:{original:"Write a post about ",translated:__("Write a post about ","jetpack")}},{label:__("Informative article on…","jetpack"),description:{original:"Craft an informative article explaining ",translated:__("Craft an informative article explaining ","jetpack")}},{label:__("Step-by-step tutorial on…","jetpack"),description:{original:"Write a step-by-step tutorial on ",translated:__("Write a step-by-step tutorial on ","jetpack")}},{label:__("Motivational post on…","jetpack"),description:{original:"Create a motivational post on ",translated:__("Create a motivational post on ","jetpack")}}],g=[{label:__("Say it differently…","jetpack"),description:{original:"Rewrite it in a way that ",translated:__("Rewrite it in a way that ","jetpack")}},{label:__("Add…","jetpack"),description:{original:"Add more details about ",translated:__("Add more details about ","jetpack")}},{label:__("Remove…","jetpack"),description:{original:"Remove unnecessary details about ",translated:__("Remove unnecessary details about ","jetpack")}}];function A({hasContentBefore:e,hasContent:t,hasPostTitle:n,contentIsLoaded:o,onPromptSelect:A,onSuggestionSelect:h}){const E=__("Write with AI…","jetpack"),{tracks:f}=(0,a.st)();return(0,r.createElement)(s.ToolbarDropdownMenu,{className:"jetpack-ai-assistant__templates-control",icon:null,label:E,text:E,onToggle:e=>{e&&f.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"write-with-ai"})}},(({onClose:a})=>o?(0,r.createElement)(s.MenuGroup,{label:__("Write…","jetpack")},g.map(((e,t)=>(0,r.createElement)(s.MenuItem,{icon:i.A,iconPosition:"left",key:`key-${t}`,onClick:()=>{a(),A(e.description)}},e.label)))):(0,r.createElement)(r.Fragment,null,e&&(0,r.createElement)(s.MenuGroup,{label:__("Based on preceding content…","jetpack")},(0,r.createElement)(s.MenuItem,{icon:c.A,iconPosition:"left",onClick:()=>h("continue")},__("Continue writing","jetpack")),(0,r.createElement)(s.MenuItem,{icon:l.A,iconPosition:"left",onClick:()=>h("correctSpelling")},__("Correct spelling and grammar","jetpack")),(0,r.createElement)(s.MenuItem,{icon:u.A,iconPosition:"left",onClick:()=>h("simplify")},__("Simplify","jetpack"))),t&&(0,r.createElement)(s.MenuGroup,{label:__("Based on entire content…","jetpack")},t&&(0,r.createElement)(s.MenuItem,{icon:d.A,iconPosition:"left",onClick:()=>h("summarize")},__("Summarize","jetpack")),t&&(0,r.createElement)(s.MenuItem,{icon:p.A,iconPosition:"left",onClick:()=>h("generateTitle")},__("Generate a post title","jetpack"))),(0,r.createElement)(s.MenuGroup,{label:__("Write…","jetpack")},n&&(0,r.createElement)(s.MenuItem,{icon:i.A,iconPosition:"left",onClick:()=>h("titleSummary")},__("Summary based on title","jetpack")),m.map(((e,t)=>(0,r.createElement)(s.MenuItem,{icon:i.A,iconPosition:"left",key:`key-${t}`,onClick:()=>{a(),A(e.description)}},e.label)))))))}},23e3:(e,t,n)=>{"use strict";n.d(t,{A:()=>f,Q:()=>E});var r=n(82170),a=n(3924),s=n(85985),o=n(56427),i=n(86087),c=n(27723),l=n(10067),u=n.n(l),d=n(56333),p=n(92169),m=n(61297),g=n(7503),A=n(93094);const __=c.__,h=u()("jetpack-ai-assistant:upgrade-prompt"),E=({variant:e="error"})=>{const t=(()=>{const{usagePeriod:e}=(0,m.A)(),t=(e=>{const t=__("You've reached this month's request limit, per our fair usage policy.","jetpack");if(!e)return t; +// Translators: %s is the date when the requests will reset. +const n=__("Requests will reset on %s.","jetpack");return`${t} ${(0,c.sprintf)(n,e)}`})((e=>{if(!e?.nextStart)return null;const t=new Date(e.nextStart);return t.toLocaleString("default",{month:"long"})+" "+t.getDate()})(e));return(0,i.createInterpolateElement)(t,{link:(0,r.createElement)("a",{href:"https://jetpack.com/redirect/?source=ai-assistant-fair-usage-policy",target:"_blank",rel:"noreferrer"})})})();return"muted"===e?(0,r.createElement)("span",{className:"jetpack-ai-fair-usage-notice-muted-variant"},t):"error"===e?(0,r.createElement)(o.Notice,{status:"error",isDismissible:!1,className:"jetpack-ai-fair-usage-notice"},t):null},f=e=>{const{upgradeType:t,currentTier:n}=(0,m.A)();return 1===n?.value?(0,r.createElement)(E,null):"vip"===t?(({description:e=null,useLightNudge:t=!1})=>{const n=t?A.U:d.c,a=(0,i.createInterpolateElement)(__("You've reached the Jetpack AI rate limit. Please reach out to your VIP account team.","jetpack"),{strong:(0,r.createElement)("strong",null)});return(0,r.createElement)(n,{buttonText:null,checkoutUrl:null,className:"jetpack-ai-upgrade-banner",description:e||a,goToCheckoutPage:null,isRedirecting:null,visible:!0,align:null,title:null,context:null})})({description:e.description,useLightNudge:e?.useLightNudge}):(({placement:e=null,description:t=null,useLightNudge:n=!1})=>{const o=n?A.U:d.c,{checkoutUrl:l}=(0,p.A)(),u=(0,g.C)(),{nextTier:E,tierPlansEnabled:f,currentTier:b,requestsCount:v}=(0,m.A)(),{tracks:C}=(0,s.st)(),k=(0,i.useCallback)((()=>{h("upgrade",e),C.recordEvent("jetpack_ai_upgrade_button",{current_tier_slug:b?.slug,requests_count:v,placement:e})}),[b,v,C,e]),y=(0,i.useCallback)((()=>{h("contact us",e),C.recordEvent("jetpack_ai_upgrade_contact_us",{placement:e})}),[C,e]);if(!u){const e=(0,i.createInterpolateElement)(__("Congratulations on exploring Jetpack AI and reaching the free requests limit! Reach out to the site administrator to upgrade and keep using Jetpack AI.","jetpack"),{strong:(0,r.createElement)("strong",null)});return(0,r.createElement)(o,{showButton:!1,className:"jetpack-ai-upgrade-banner",description:t||e,visible:!0,align:null,title:null,context:null})}if(f){if(!E){const e=(0,a.A)("jetpack-ai-tiers-more-requests-contact"),n=__("You have reached the request limit for your current plan.","jetpack");return(0,r.createElement)(o,{buttonText:__("Contact Us","jetpack"),description:t||n,className:"jetpack-ai-upgrade-banner",checkoutUrl:e,visible:!0,align:null,title:null,context:null,goToCheckoutPage:y,target:"_blank"})}const e=(0,i.createInterpolateElement)((0,c.sprintf)(/* Translators: number of requests */ +__("You have reached the requests limit for your current plan. Upgrade now to increase your requests limit to %d.","jetpack"),E.limit),{strong:(0,r.createElement)("strong",null)});return(0,r.createElement)(o,{buttonText:(0,c.sprintf)(/* Translators: number of requests */ +__("Upgrade to %d requests","jetpack"),E.limit),checkoutUrl:l,className:"jetpack-ai-upgrade-banner",description:t||e,goToCheckoutPage:k,visible:!0,align:"center",title:null,context:null,target:"_blank"})}return(0,r.createElement)(o,{buttonText:"Upgrade",checkoutUrl:l,className:"jetpack-ai-upgrade-banner",description:(0,i.createInterpolateElement)(__("Congratulations on exploring Jetpack AI and reaching the free requests limit! Upgrade now to keep using it.","jetpack"),{strong:(0,r.createElement)("strong",null)}),goToCheckoutPage:k,visible:!0,align:null,title:null,context:null,target:"_blank"})})(e)}},93094:(e,t,n)=>{"use strict";n.d(t,{U:()=>o});var r=n(82170),a=n(56427),s=n(27723);const __=s.__,o=({title:e,description:t,buttonText:n=null,checkoutUrl:s=null,goToCheckoutPage:o=null,isRedirecting:i=!1,showButton:c=!0,target:l="_top"})=>{const u=__("Redirecting…","jetpack");return(0,r.createElement)("div",{className:"jetpack-upgrade-plan-banner-light"},(0,r.createElement)(a.Notice,{status:"error",isDismissible:!1},(0,r.createElement)("p",null,e&&(0,r.createElement)("strong",null,e),t," ",c&&(0,r.createElement)(a.Button,{href:i?null:s,onClick:o,variant:"link",target:l},i?u:n))))}},62402:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>A,US:()=>u,hN:()=>g,oZ:()=>p,uQ:()=>d});var r=n(82170),a=n(96865),s=n(85985),o=n(56427),i=n(27723),c=n(29115);n(51609);const __=i.__,l=["formal","informal","optimistic","humorous","serious","skeptical","empathetic","confident","passionate","provocative"],u="formal",d=__("Change tone","jetpack"),p={formal:{label:__("Formal","jetpack"),emoji:"🎩"},informal:{label:__("Informal","jetpack"),emoji:"😊"},optimistic:{label:__("Optimistic","jetpack"),emoji:"😃"},humorous:{label:__("Humorous","jetpack"),emoji:"😂"},serious:{label:__("Serious","jetpack"),emoji:"😐"},skeptical:{label:__("Skeptical","jetpack"),emoji:"🤨"},empathetic:{label:__("Empathetic","jetpack"),emoji:"💗"},confident:{label:__("Confident","jetpack"),emoji:"😎"},passionate:{label:__("Passionate","jetpack"),emoji:"❤️"},provocative:{label:__("Provocative","jetpack"),emoji:"🔥"}},m=({value:e,onChange:t})=>(0,r.createElement)(o.MenuGroup,{label:__("Select tone","jetpack")},l.map((n=>(0,r.createElement)(o.MenuItem,{key:`key-${n}`,onClick:()=>t(n),isSelected:e===n},`${p[n].emoji} ${p[n].label}`))));function g({label:e=d,value:t=u,onChange:n,disabled:s=!1}){return(0,r.createElement)(o.DropdownMenu,{icon:a.Qr,label:e,className:"ai-assistant__tone-dropdown",popoverProps:{variant:"toolbar"},toggleProps:{children:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:"ai-assistant__tone-dropdown__toggle-label"},e),(0,r.createElement)(o.Icon,{icon:c.A})),disabled:s}},(({onClose:e})=>(0,r.createElement)(m,{value:t,onChange:t=>{n(t),e()}})))}function A({value:e=u,onChange:t,disabled:n=!1}){const{tracks:i}=(0,s.st)();return n?(0,r.createElement)(o.Tooltip,{text:d},(0,r.createElement)(o.Button,{disabled:!0},(0,r.createElement)(o.Icon,{icon:a.Qr}))):(0,r.createElement)(o.ToolbarDropdownMenu,{icon:a.Qr,label:d,popoverProps:{variant:"toolbar"},disabled:n,onToggle:e=>{e&&i.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"tone"})}},(()=>(0,r.createElement)(m,{value:e,onChange:t})))}},51698:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(82170),a=n(94715),s=n(56427),o=n(27723),i=n(83883),c=n(83822),l=n(64425),u=n(2162),d=n(99050),p=n(33468),m=n(62402);const __=o.__,g=({contentIsLoaded:e,getSuggestionFromOpenAI:t,retryRequest:n,handleAcceptContent:o,handleTryAgain:g,showRetry:A,contentBefore:h,hasPostTitle:E,wholeContent:f,setUserPrompt:b,recordEvent:v,isGeneratingTitle:C})=>(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.BlockControls,null,!A&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.ToolbarGroup,null,(0,r.createElement)(p.Ay,{hasContentBefore:!!h?.length,hasContent:!!f?.length,hasPostTitle:E,contentIsLoaded:e,onPromptSelect:e=>{v("jetpack_editor_ai_assistant_block_toolbar_button_click",{type:"prompt-template",prompt:e.original}),b(e.translated)},onSuggestionSelect:e=>{v("jetpack_editor_ai_assistant_block_toolbar_button_click",{type:"suggestion",suggestion:e}),t(e)}})),(0,r.createElement)(a.BlockControls,{group:"block"},(0,r.createElement)(m.Ay,{value:"neutral",onChange:n=>{v("jetpack_editor_ai_assistant_block_toolbar_button_click",{type:"suggestion",suggestion:l.eJ}),t(l.eJ,{tone:n,contentType:e?"generated":null})},disabled:!e&&!f?.length}),(0,r.createElement)(u.Ay,{value:"en",onChange:n=>{v("jetpack_editor_ai_assistant_block_toolbar_button_click",{type:"suggestion",suggestion:l.Gm}),t(l.Gm,{language:n,contentType:e?"generated":null})},disabled:!e&&!f?.length}),(0,r.createElement)(d.Ay,{onChange:t,exclude:C?["summarize"]:[],disabled:!e}))),(A||g)&&(0,r.createElement)(s.ToolbarGroup,null,!A&&e&&g&&(0,r.createElement)(s.ToolbarButton,{onClick:g},__("Try Again","jetpack")),A&&e&&(0,r.createElement)(s.ToolbarButton,{icon:i.A,onClick:o},__("Accept","jetpack")),A&&(0,r.createElement)(s.ToolbarButton,{icon:c.A,onClick:n},__("Retry","jetpack")))))},3586:(e,t,n)=>{"use strict";n.d(t,{A:()=>j});var r=n(82170),a=n(96865),s=n(85985),o=n(94715),i=n(74997),c=n(56427),l=n(29491),u=n(47143),d=n(86087),p=n(27723),m=n(13022),g=n(27970),A=n(56199),h=n(58164),E=n(72901),f=n(32249),b=n(23e3),v=n(51698),C=n(4827),k=n(4393),y=n(92169),B=n(61297),w=n(44732),_=n(7503);const __=p.__,I="post"===window?.Jetpack_Editor_Initial_State?.screenBase;function j({attributes:e,setAttributes:t,clientId:n,isSelected:p}){const[j,x]=(0,d.useState)(null),{tracks:S}=(0,s.st)(),{getBlock:Q}=(0,u.useSelect)("core/block-editor"),N=(0,d.useRef)(null),R=(0,d.useRef)(null),{replaceBlocks:T,removeBlock:P}=(0,u.useDispatch)("core/block-editor"),{editPost:L}=(0,u.useDispatch)("core/editor"),{isOverLimit:M,requireUpgrade:D,increaseRequestsCount:F,requestsCount:O,requestsLimit:z,currentTier:U,loading:H,tierPlansEnabled:V}=(0,B.A)(),q=Math.max(z-O,0),{autosaveAndRedirect:G}=(0,y.A)(),$=(0,h.Bd)(U),W=()=>{setTimeout((()=>{N.current?.focus?.()}),100)},Z=()=>{setTimeout((()=>{R.current?.focus?.()}),100)},J=(0,l.useViewportMatch)("medium","<"),Y=(0,d.useRef)(null),{getSuggestionFromOpenAI:K,stopSuggestion:X,showRetry:ee,contentBefore:te,postTitle:ne,retryRequest:re,wholeContent:ae,requestingState:se,error:oe}=(0,k.A)({onSuggestionDone:(0,d.useCallback)((()=>{W(),F()}),[F]),onUnclearPrompt:(0,d.useCallback)((()=>{Z(),F()}),[F]),onModeration:W,attributes:e,clientId:n,content:e.content,tracks:S,userPrompt:e.userPrompt,requireUpgrade:D,initialRequestingState:e.requestingState,contentRef:Y,blockRef:R}),ie="requesting"===se,ce=["requesting","suggesting"].includes(se),le=(0,_.x)(),{productPageUrl:ue}=(0,w.A)(),de=(0,C.yU)(n);(0,d.useEffect)((()=>{if(!de)return;const e=JSON.parse(localStorage.getItem(de));if(!e)return;const{type:t,options:n}=e;localStorage.removeItem(de),K(t,n)}),[de,K]),(0,d.useEffect)((()=>{oe&&x(!1)}),[oe]),(0,d.useEffect)((()=>{["init","done"].includes(se)&&t({requestingState:se})}),[se,t]);const pe=!!e.content,me="generateTitle"===e.promptType,ge=__("Accept","jetpack"),Ae=__("Accept title","jetpack"),he=me?Ae:ge,Ee=async()=>{let t=[],r=(0,a.Hh)({content:e.content||""});if(r?.split("\n").length>1&&r?.split("\n")?.[0]?.match(/^

    .*<\/h1>$/)&&!ne){const e=r.split("\n"),t=e.shift();r=e.join("\n"),L({title:t.replace(/<[^>]*>/g,"")})}t=(0,i.rawHandler)({HTML:r}),await T(n,t);const s=(e=>{let t=null;return e.forEach((e=>{const n=document.querySelector(`.wp-block[data-block="${e.clientId}"]`);if(!n)return;"true"===n.contentEditable&&(t=n);const r=n.querySelectorAll("[contenteditable=true]");t=r.length?r[r.length-1]:t})),t})(t);s&&(e=>{const t=window.getSelection();t.selectAllChildren(e),t.collapseToEnd(),e.focus()})(s)},fe=()=>{Ee(),S.recordEvent("jetpack_ai_assistant_block_accept",{feature:"ai-assistant"})},be=()=>{I?(L({title:e.content?e.content.trim():""}),P(n),S.recordEvent("jetpack_ai_assistant_block_accept",{feature:"ai-assistant"})):fe()},ve=()=>{X(),W(),S.recordEvent("jetpack_ai_assistant_block_stop",{feature:"ai-assistant"})},Ce=(0,o.useBlockProps)({ref:R,className:(0,m.A)({"is-waiting-response":ie})}),ke=__("Ask Jetpack AI…","jetpack"),ye=__("Write about… Make a table for…","jetpack"),Be=(0,r.createElement)(r.Fragment,null,M&&p&&(0,r.createElement)(b.A,{placement:"ai-assistant-block"}),!le&&(0,r.createElement)(E.A,null)),we=(0,r.createElement)(r.Fragment,null,oe?.message&&!j&&"error_quota_exceeded"!==oe?.code&&(0,r.createElement)(c.Notice,{status:oe.status,isDismissible:!1,className:"jetpack-ai-assistant__error"},oe.message)),_e=M&&$===h.Ti?(0,r.createElement)(b.Q,{variant:"muted"}):null,Ie=(0,d.useCallback)((e=>{e.preventDefault(),S.recordEvent("jetpack_ai_upgrade_button",{current_tier_slug:U?.slug,requests_count:O,placement:"jetpack_ai_assistant_block"}),G(e)}),[S,U,O,G]);return(0,r.createElement)(c.KeyboardShortcuts,{bindGlobal:!0,shortcuts:{esc:()=>{["requesting","suggesting"].includes(se)&&ve()}}},(0,r.createElement)("div",Ce,pe&&(0,r.createElement)("div",{ref:Y,className:"jetpack-ai-assistant__content"},(0,r.createElement)(d.RawHTML,null,(0,a.Hh)({content:e.content||""}))),(0,r.createElement)(o.InspectorControls,null,_e&&(0,r.createElement)("div",{className:"block-editor-block-card",style:{paddingTop:0}},(0,r.createElement)("span",{className:"block-editor-block-icon"}),_e),(0,r.createElement)("div",{className:"block-editor-block-card",style:{paddingTop:0}},(0,r.createElement)("span",{className:"block-editor-block-icon"}),(0,r.createElement)(c.ExternalLink,{href:ue},__("Discover all features","jetpack"))),($===h._X||V&&$!==h.Ti)&&(0,r.createElement)(c.PanelBody,{initialOpen:!0},(0,r.createElement)(c.PanelRow,null,(0,r.createElement)(g.A,{placement:A.k}))),(0,r.createElement)(c.PanelBody,{initialOpen:!0},(0,r.createElement)(c.PanelRow,null,(0,r.createElement)(f.A,null)))),!ce&&le&&!D&&(0,r.createElement)(v.A,{isWaitingState:ce,contentIsLoaded:pe,getSuggestionFromOpenAI:K,retryRequest:re,handleAcceptContent:fe,handleAcceptTitle:be,handleTryAgain:null,showRetry:ee,contentBefore:te,hasPostTitle:!!ne?.length,wholeContent:ae,promptType:e.promptType,setUserPrompt:e=>{if(!N?.current)return;N.current.focus(),t({userPrompt:e})},recordEvent:S.recordEvent,isGeneratingTitle:me}),(0,r.createElement)(a.N0,{ref:N,disabled:D||!le,value:e.userPrompt,placeholder:e?.content?ke:ye,onChange:e=>{x(!0),t({userPrompt:e})},onSend:()=>{((...e)=>{K(...e),Z()})("userPrompt"),S.recordEvent("jetpack_ai_assistant_block_generate",{feature:"ai-assistant"})},onStop:ve,onAccept:()=>{me?be():fe()},onDiscard:()=>{const r=e?.content===Q(n).attributes?.content;t({content:e?.originalContent,promptType:void 0,messages:e?.originalMessages}),Ee(),r?S.recordEvent("jetpack_ai_assistant_block_dismiss"):S.recordEvent("jetpack_ai_assistant_block_discard",{feature:"ai-assistant"})},state:se,isTransparent:D||!le,showButtonLabels:!J,showAccept:"init"!==se&&pe&&!ce,acceptLabel:he,showGuideLine:pe,showRemove:e?.content?.length>0,banner:Be,error:we,customFooter:q%5!=0&&1!==O||H||$!==h._X?null:(0,r.createElement)(a.AK,{requestsRemaining:q,onUpgradeClick:Ie})})))}},61351:(e,t,n)=>{"use strict";var r=n(94375),a=n(54681),s=n(3586),o=n(13802);n(85707),n(86385),n(92114),n(92286);(0,r.M)(a,{edit:s.A,save:()=>null,transforms:o.A})},86385:(e,t,n)=>{"use strict";n.d(t,{L:()=>g,XB:()=>u,YD:()=>h,bo:()=>l,h9:()=>A,lm:()=>p,zg:()=>m});var r=n(74997),a=n(47143),s=n(52619),o=n(54681),i=n(7503),c=n(48499);const l="ai-assistant-extensions-support",u=(0,c.C)("ai-assistant-support"),d=(0,c.C)(l),p=["jetpack/field-name","jetpack/field-email","jetpack/field-text","jetpack/field-textarea","jetpack/field-checkbox","jetpack/field-date","jetpack/field-telephone","jetpack/field-url","jetpack/field-checkbox-multiple","jetpack/field-radio","jetpack/field-select","jetpack/field-consent","jetpack/button"],m=["core/paragraph","core/list","core/heading","jetpack/contact-form",...p];let g=[...m];const A=[];function h(){if(!(0,r.getBlockType)(o.name))return!1;if(!u)return!1;if(!(0,i.x)())return!1;const{errorCode:e}=(0,a.select)("wordpress-com/plans")?.getAiAssistantFeature?.()||{};if(e)return!1;const{getHiddenBlockTypes:t}=(0,a.select)("core/edit-post")||{};return!(t?.()||[]).includes(o.name)}["core/heading","core/paragraph","core/list-item","core/list","jetpack/contact-form",...p].forEach((e=>{A.push(e),g=g.filter((t=>t!==e))})),[].forEach((e=>{d&&(A.push(e),g=g.filter((t=>t!==e)))})),(0,s.addFilter)("blocks.registerBlockType","jetpack/ai-assistant-support",(function(e,t){return g.includes(t)?["jetpack/contact-form",...p].includes(t)?e:h()?{...e,supports:{...e.supports,"jetpack/ai":{assistant:!0}}}:e:e}),100)},4827:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c,yU:()=>i});var r=n(82170),a=n(94715),s=n(29491),o=(n(51609),n(39767));function i(e){return`ai-assistant-block-${e}`}const c=(0,s.createHigherOrderComponent)((e=>t=>{const{name:n}=t;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(e,t),(0,r.createElement)(a.BlockControls,{group:"block"},(0,r.createElement)(o.A,{blockType:n})))}),"withAIAssistant")},43989:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(82170),a=n(96865),s=n(85985),o=n(74997),i=n(56427),c=n(29491),l=n(47143),u=n(86087),d=n(27723),p=n(692),m=n(13022),g=(n(51609),n(72901)),A=n(23e3),h=n(61297),E=n(7503),f=n(64425),b=n(66681),v=n(78885);const __=d.__,C={huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480};function k(e){if(!e?.length)return"";const t=(0,l.select)("core/block-editor").getBlock(e);if(!t)return"";const{innerBlocks:n}=t;return n?.length?n.reduce(((e,t)=>e+(0,o.serialize)(t)+"\n\n"),""):""}function y({clientId:e,className:t=""}){const n=(0,u.useRef)(null),o=(0,u.useRef)(null),{tracks:d}=(0,s.st)(),y=(0,E.x)(),{inputValue:B,setInputValue:w,isVisible:_,assistantAnchor:I}=(0,u.useContext)(b.Q),{dequeueAiAssistantFeatureAsyncRequest:j}=(0,l.useDispatch)("wordpress-com/plans"),x=()=>{setTimeout((()=>{o.current?.focus?.()}),100)},{requestSuggestion:S,requestingState:Q,stopSuggestion:N,requestingError:R}=(0,a.Z2)({onDone:x}),{requireUpgrade:T}=(0,h.A)(),P=R?.code===a.Or||T,L="requesting"===Q||"suggesting"===Q,M="suggesting"===Q||"done"===Q,D=__("Ask Jetpack AI to create your form","jetpack"),F=__("Creating your form. Please wait a few moments.","jetpack"),{removeNotice:O}=(0,l.useDispatch)(p.store),z=(0,u.useCallback)((()=>{if(!B?.length)return;O(v.rQ);const t=(0,f.ee)({request:B,content:k(e)});j(),S(t,{feature:"jetpack-form-ai-extension"}),d.recordEvent("jetpack_ai_assistant_block_generate",{feature:"jetpack-form-ai-extension"}),n?.current?.focus()}),[e,j,B,O,S,d]),U=(0,u.useCallback)((()=>{N(),x(),d.recordEvent("jetpack_ai_assistant_block_stop",{feature:"jetpack-form-ai-extension"})}),[N,d]),H=(0,c.useViewportMatch)("medium","<"),V=H&&I,q=(0,u.useRef)(null),G=(0,u.useRef)(H),[$,W]=(0,u.useState)(H);if((0,u.useEffect)((()=>{const e=n?.current;if(e)return q?.current||(q.current=new ResizeObserver((e=>{if(!_)return;if(V)return;const t=e[0].contentRect.width{q?.current?.disconnect()}}),[V,_]),(0,u.useEffect)((()=>{_&&d.recordEvent("jetpack_ai_assistant_prompt_show",{block_type:"jetpack/contact-form"})}),[_,d]),(0,u.useEffect)((()=>{const e=setTimeout((()=>{_&&o?.current&&o.current.focus()}),300);return function(){clearTimeout(e)}}),[]),!_)return null;const Z=(0,r.createElement)("div",{className:"jetpack-ai-assistant__bar-wrapper"},(0,r.createElement)(i.KeyboardShortcuts,{bindGlobal:!0,shortcuts:{esc:()=>{["requesting","suggesting"].includes(Q)&&U()}}},(0,r.createElement)("div",{ref:n,className:(0,m.A)("jetpack-ai-assistant__bar",{[t]:t,"is-fixed":V,"is-mobile-mode":$}),tabIndex:-1},P&&(0,r.createElement)(A.A,{placement:"jetpack-form-block"}),!y&&(0,r.createElement)(g.A,null),(0,r.createElement)(a.N0,{ref:o,disabled:P||!y,value:B,placeholder:L?F:D,onChange:w,onSend:z,onStop:U,state:Q,isTransparent:P||!y,showButtonLabels:!$,showGuideLine:M}))));return V?(0,u.createPortal)(Z,I):Z}},9344:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(82170),a=n(96865),s=n(56427),o=n(29491),i=n(86087),c=n(27723),l=n(66681),u=n(78885);const __=c.__,d="jetpack-ai-assistant-bar__slot";function p({jetpackFormClientId:e}){const{isVisible:t,toggle:n,setAnchor:c,assistantAnchor:p}=(0,i.useContext)(l.Q),{requestingState:m}=(0,a.Z2)(),g=(0,i.useRef)(null),A=(0,o.useViewportMatch)("medium","<");(0,i.useEffect)((()=>{if(!g.current)return;const e=g.current.closest(".block-editor-block-contextual-toolbar");if(!e)return;let t=e.parentElement?.querySelector(`.${d}`);if(t)return e.after(t),c(t);t=document.createElement("div"),t.setAttribute("role","toolbar"),t.setAttribute("aria-label",__("AI Assistant","jetpack")),t.setAttribute("aria-orientation","horizontal"),t.className=d;const n=e.offsetHeight;t.style.top=`${n}px`,e.after(t),c(t)}),[c]),(0,i.useEffect)((()=>{A||p?.remove()}),[A,p]);const h=(0,i.useCallback)((()=>{if(!e)return n();(0,u.kj)(e,n)}),[e,n]),E="requesting"===m||"suggesting"===m;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s.KeyboardShortcuts,{bindGlobal:!0,shortcuts:{"mod+/":n}}),(0,r.createElement)(s.ToolbarButton,{ref:g,showTooltip:!0,onClick:h,"aria-haspopup":"true","aria-expanded":t,label:__("Ask AI Assistant","jetpack"),icon:a.cj,disabled:E}))}},47047:(e,t,n)=>{"use strict";n.d(t,{lm:()=>a,rB:()=>r});const r=window?.Jetpack_Editor_Initial_State?.available_blocks?.["ai-assistant-form-support"]?.available,a=["jetpack/field-name","jetpack/field-email","jetpack/field-text","jetpack/field-textarea","jetpack/field-checkbox","jetpack/field-date","jetpack/field-telephone","jetpack/field-url","jetpack/field-checkbox-multiple","jetpack/field-radio","jetpack/field-select","jetpack/field-consent","jetpack/button"]},92114:(e,t,n)=>{"use strict";n.d(t,{F:()=>f});var r=n(82170),a=n(96865),s=n(85985),o=n(94715),i=n(74997),c=n(29491),l=n(47143),u=n(86087),d=n(52619),p=(n(51609),n(48499)),m=n(86385),g=n(43989),A=n(9344),h=n(47047),E=n(78885);function f(e,{checkChildrenBlocks:t=!1,clientId:n}={clientId:""}){const r=(0,i.getBlockType)("jetpack/ai-assistant"),{isModuleActive:a}=(0,s.q7)("contact-form");if(!a)return!1;if(!r)return!1;if("string"!=typeof e)return!1;if(!m.L.includes(e))return!1;if(!h.rB)return!1;if(!n?.length)return!1;if(t){if(!h.lm.includes(e))return!1}else if("jetpack/contact-form"!==e)return!1;const{getHiddenBlockTypes:o}=(0,l.select)("core/edit-post")||{};return!(o?.()||[]).includes("jetpack/ai-assistant")}const b=(0,c.createHigherOrderComponent)((e=>t=>{const n=f(t?.name,{clientId:t.clientId}),{increaseAiAssistantRequestsCount:s}=(0,l.useDispatch)("wordpress-com/plans"),{eventSource:i}=(0,a.Z2)({onDone:(0,u.useCallback)((()=>{s()}),[s]),onError:(0,u.useCallback)((e=>{"error_network"!==e.code&&"error_quota_exceeded"!==e.code&&s()}),[s])}),c=(0,u.useCallback)((()=>{i&&i?.close()}),[i]);if((0,u.useEffect)((()=>()=>{"jetpack/contact-form"===t?.name&&c()}),[c,t?.name]),!n)return(0,r.createElement)(e,t);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(e,t),(0,r.createElement)(g.A,{clientId:t.clientId}),(0,r.createElement)(o.BlockControls,{group:"block"},(0,r.createElement)(A.A,null)))}),"jetpackFormEditWithAiComponents");(0,d.addFilter)("blocks.registerBlockType","jetpack/ai-assistant-support",(function(e,t){return"jetpack/contact-form"!==t?e:m.L.includes(t)?(0,p.C)(m.bo)?e:{...e,edit:(0,a.cQ)((0,E.Ay)(b(e.edit)))}:e}),100);const v=(0,c.createHigherOrderComponent)((e=>t=>{const n=(0,l.useSelect)((e=>{const n=e("core/block-editor"),{getBlockParentsByBlockName:r}=n;return r(t.clientId,"jetpack/contact-form")?.[0]}),[t.clientId]);if(!f(t?.name,{checkChildrenBlocks:!0,clientId:n}))return(0,r.createElement)(e,t);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(e,t),(0,r.createElement)(o.BlockControls,{group:"parent"},(0,r.createElement)(A.A,{jetpackFormClientId:n})))}),"jetpackFormChildrenEditWithAiComponents");(0,d.addFilter)("blocks.registerBlockType","jetpack/ai-assistant-support",(function(e,t){return m.L.includes(t)&&h.lm.includes(t)?(0,p.C)(m.bo)?e:{...e,edit:v(e.edit)}:e}))},66681:(e,t,n)=>{"use strict";n.d(t,{Q:()=>s,x:()=>o});var r=n(82170),a=n(86087);const s=(0,a.createContext)({}),o=({value:e,children:t})=>(0,r.createElement)(s.Provider,{value:e,children:t})},78885:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>f,kj:()=>E,rQ:()=>h});var r=n(82170),a=n(96865),s=n(74997),o=n(56427),i=n(29491),c=n(47143),l=n(86087),u=n(27723),d=n(692),p=n(92114),m=n(62514),g=n(96568),A=n(66681);const __=u.__,h="ai-assistant";function E(e,t){(0,c.dispatch)("core/block-editor").selectBlock(e),t?.()}const f=(0,i.createHigherOrderComponent)((e=>t=>{const{clientId:n,isSelected:i}=t,{replaceInnerBlocks:u}=(0,c.useDispatch)("core/block-editor"),f=(0,c.useSelect)((e=>e("core/editor")),[]),b=(0,c.useSelect)((e=>e("core/block-editor")),[]),v=f.getCurrentPostId(),C=b.getBlock(n),[k,y]=(0,l.useState)(""),B="jetpack/contact-form"===C?.name&&0===C?.innerBlocks?.length,[w,_]=(0,l.useState)(B),[I,j]=(0,l.useState)(!1),[x,S]=(0,l.useState)(null),Q=(0,l.useRef)([]),N=(0,l.useCallback)((()=>{_(!0)}),[]),R=(0,l.useCallback)((()=>{_(!1)}),[]),T=(0,l.useCallback)((()=>{_(!w)}),[w]),P=(0,l.useCallback)((e=>{S(e)}),[]),{createNotice:L}=(0,c.useDispatch)(d.store),M=(0,l.useCallback)((({severity:e,message:t,code:n})=>{n!==a.Or&&L(e,t,{isDismissible:!0,id:h})}),[L]);(0,l.useEffect)((()=>{i||R()}),[i,R]);const D=(0,l.useMemo)((()=>({inputValue:k,setInputValue:y,isVisible:w,show:N,hide:R,toggle:T,isFixed:I,setAssistantFixed:j,assistantAnchor:x,setAnchor:P})),[k,w,N,R,T,I,x,P]),F=(0,l.useCallback)(((e,t=!1)=>{const r=e.replace(//g,""),a=(0,g.d)(r),o=(0,s.parse)(a).filter((e=>e.isValid&&!["core/freeform","core/missing","core/html"].includes(e.name)));let i=!1;if(o.length0){const e=o[o.length-1],t=Q.current[o.length-1];i=!(0,m.w)(e,t)}if(o.length>0&&(o.length!==Q.current.length||i)&&(u(n,o),Q.current=o),t){const e=o.filter((e=>"jetpack/button"===e.name));if(Q.current=Q.current||[],e.length>1){let t=0;Q.current=Q.current.filter((n=>"jetpack/button"!==n.name||(t++,t===e.length))),u(n,Q.current)}else 0===e.length&&u(n,[...Q.current,(0,s.createBlock)("jetpack/button",{label:__("Submit","jetpack"),element:"button",text:__("Submit","jetpack"),borderRadius:8,lock:{remove:!0}})]);Q.current=[]}}),[n,u]);return(0,a.Z2)({askQuestionOptions:{postId:v},onDone:e=>{F(e,!0),y("")},onSuggestion:F,onError:M}),(0,p.F)(t.name,{clientId:t.clientId})?(0,r.createElement)(A.x,{value:D},(0,r.createElement)(o.KeyboardShortcuts,{shortcuts:{"mod+/":()=>E(n,N)}},(0,r.createElement)(e,t))):(0,r.createElement)(e,t)}),"withUiHandlerDataProvider")},4393:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(96865),a=n(47143),s=n(86087),o=n(10067),i=n.n(o),c=n(62402),l=n(64425),u=n(16597),d=n(32735);const p=i()("jetpack-ai-assistant:error"),m=({attributes:e,clientId:t,content:n,tracks:o,userPrompt:i,onSuggestionDone:m,onUnclearPrompt:g,onModeration:A,requireUpgrade:h,initialRequestingState:E,contentRef:f,blockRef:b})=>{const[v,C]=(0,s.useState)(!1),[k,y]=(0,s.useState)(""),{updateBlockAttributes:B}=(0,a.useDispatch)("core/block-editor"),{dequeueAiAssistantFeatureAsyncRequest:w,setAiAssistantFeatureRequireUpgrade:_}=(0,a.useDispatch)("wordpress-com/plans"),{snapToBottom:I,enableAutoScroll:j,disableAutoScroll:x}=(0,d.A)(b,f),S=(0,a.useSelect)((e=>e("core/editor").getEditedPostAttribute("title"))),Q=(0,a.useSelect)((e=>e("core/editor").getCurrentPostId())),N=(0,s.useRef)([]),R=(0,s.useRef)(void 0),{request:T,stopSuggestion:P,handleErrorQuotaExceededError:L,requestingState:M,error:D}=(0,r.XE)({onSuggestion:e=>{B(t,{content:e?.replaceAll(l.uV,"")}),I()},onDone:e=>{const n=e.replaceAll(l.uV,""),r={role:"assistant",content:n};N.current.push(R.current,r),N.current.length>20&&N.current.splice(0,N.current.length-20),B(t,{content:n,messages:N.current}),I(),x(),m?.()},onStop:()=>{I(),x(),m?.()},onError:e=>{switch(e?.code){case r.cT:C(!1);break;case r.ud:C(!1),A?.();break;case r.mA:case r.AZ:C(!0);break;case r.Or:C(!1),_(!0);break;case r.L9:g?.()}},onAllErrors:e=>{p(e)},initialRequestingState:E,askQuestionOptions:{postId:Q,feature:"ai-assistant",functions:{}}}),F=["requesting","suggesting"].includes(M),O=async(r,a={})=>{if(w(),h)return L(),void C(!1);if(a={retryRequest:!1,tone:c.US,...a},F)return;C(!1);let s=k;if(o.recordEvent("jetpack_ai_chat_completion",{post_id:Q}),N.current=[...e.messages]??[],R.current={},a.retryRequest)R.current=s[s.length-1];else{const o=e?.isLayoutBuldingModeEnable?(0,u.rJ)(t):(0,u.aB)();s=(0,l.jf)({generatedContent:n,allPostContent:o,postContentAbove:(0,u.b$)(t),currentPostTitle:S,options:a,userPrompt:a?.userPrompt||i,type:r,isGeneratingTitle:"generateTitle"===e.promptType}),R.current=s.pop(),s=[...s,...N.current],s.push(R.current),y(s),"generateTitle"!==e.promptType&&B(t,{promptType:r})}try{j(),await T(s)}catch(e){p(e),C(!0),x()}};return{setShowRetry:C,showRetry:v,postTitle:S,contentBefore:(0,u.b$)(t),wholeContent:(0,u.aB)(),requestingState:M,error:D,getSuggestionFromOpenAI:O,stopSuggestion:P,retryRequest:()=>O("",{retryRequest:!0})}}},92169:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(3924),a=n(85985),s=n(10617),o=n(61297);const i=()=>{const e=new URLSearchParams(window.location.search),t=(0,a.GE)();return(0,a.Sy)()&&e.has("post")?`https://wordpress.com/post/${t}/${e.get("post")}`:`https://wordpress.com/home/${t}`};function c(){const{nextTier:e,tierPlansEnabled:t}=(0,o.A)(),n=i(),c=t?(0,r.A)("jetpack-ai-yearly-tier-upgrade-nudge",{site:(0,a.GE)(),path:`jetpack_ai_yearly:-q-${e?.limit}`,query:`redirect_to=${encodeURIComponent(n)}`}):(0,r.A)("jetpack-ai-monthly-plan-ai-assistant-block-banner",{site:(0,a.GE)()}),l=(0,a.d9)()||(0,a.Sy)()?c:`${window?.Jetpack_Editor_Initial_State?.adminUrl}admin.php?redirect_to_referrer=1&page=my-jetpack#/add-jetpack-ai`,{autosaveAndRedirect:u,isRedirecting:d}=(0,s.A)(l);return{checkoutUrl:l,autosaveAndRedirect:u,isRedirecting:d}}},61297:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(47143),a=n(58164);function s(){const{data:e,loading:t,requestsLimit:n,requestsCount:s}=(0,r.useSelect)((e=>{const{getAiAssistantFeature:t,getIsRequestingAiAssistantFeature:n}=e("wordpress-com/plans"),r=t(),{currentTier:s,usagePeriod:o,requestsCount:i,requestsLimit:c}=r,l=(0,a.Bd)(s),u=s?.limit||c,d=l===a._X?i:o?.requestsCount,p=l===a._X?c:u;return{data:r,loading:n(),requestsCount:d,requestsLimit:p}}),[]),{fetchAiAssistantFeature:o,increaseAiAssistantRequestsCount:i,dequeueAiAssistantFeatureAsyncRequest:c}=(0,r.useDispatch)("wordpress-com/plans");return{...e,requestsCount:s,requestsLimit:n,loading:t,error:null,refresh:o,increaseRequestsCount:i,dequeueAsyncRequest:c}}},44732:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(3924),a=n(85985),s=n(10617);function o(){const e=(0,a.$i)()?.jetpack?.is_my_jetpack_available,t=e?`${(0,a.$i)()?.adminUrl||""}admin.php?page=my-jetpack#/jetpack-ai`:(0,r.A)("org-ai"),{autosaveAndRedirect:n,isRedirecting:o}=(0,s.A)(t);return{productPageUrl:t,autosaveAndRedirect:n,isRedirecting:o,isMyJetpackAvailable:e}}},75956:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(90372),a=n(86087);const s=window?.Jetpack_Editor_Initial_State?.tracksUserData||null,o=parseInt(window?.Jetpack_Editor_Initial_State?.wpcomBlogId)||0,i=()=>((0,a.useEffect)((()=>{s&&r.A.initialize(s?.userid,s?.username,o?{blog_id:o}:{})}),[]),r.A)},32735:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(86087),a=n(10067);const s=n.n(a)()("jetpack-ai-assistant:use-auto-scroll"),o=(e,t,n=!1)=>{const a=(0,r.useRef)(null),o=(0,r.useRef)(null),i=(0,r.useRef)(!1),c=(0,r.useRef)(!1),l=(0,r.useRef)(!1),u=(0,r.useRef)(!1),d=(0,r.useRef)({scrollPadding:"",scrollMargin:""}),p=(0,r.useCallback)((()=>{s("enabling ignore scroll"),c.current=!0}),[]),m=(0,r.useCallback)((()=>{i.current&&l.current&&!c.current&&p()}),[p]),g=(0,r.useCallback)((()=>{i.current=!0,c.current=!1,l.current=!1,u.current=!1,a.current?.addEventListener("scroll",m),s("enabling auto scroll")}),[m]),A=(0,r.useCallback)((()=>{i.current=!1,c.current=!1,l.current=!1,u.current=!1,a.current?.removeEventListener("scroll",m),o.current?.style&&(o.current.style.scrollPadding=d.current.scrollPadding,o.current.style.scrollMargin=d.current.scrollMargin),a.current=null,s("disabling auto scroll")}),[m]),h=(0,r.useCallback)((()=>{if(!i.current||c.current)return;const r=n?e?.current:t?.current?.firstElementChild?.lastElementChild;r&&!u.current&&(l.current=!0,u.current=!0,a?.current?.removeEventListener?.("scroll",m),r?.scrollIntoView({block:"end",inline:"end"}),setTimeout((()=>{u.current=!1,a?.current?.addEventListener?.("scroll",m)}),200))}),[e,t,n,m]),E=(0,r.useCallback)((e=>{if(null==e)return null;if("BODY"===e?.nodeName)return e;if(e?.ownerDocument!==document)return e.ownerDocument;const{overflow:t}=window.getComputedStyle(e);return t.split(" ").every((e=>"auto"===e||"scroll"===e))?e:e?.parentElement?E(e?.parentElement):e}),[]);return(0,r.useEffect)((()=>{const t=E(e?.current?.parentElement);!a.current&&t&&(a.current=t,o.current=t instanceof HTMLElement?t:t.documentElement,d.current={scrollPadding:o.current.style.scrollPadding,scrollMargin:o.current.style.scrollMargin},i.current&&(o.current.style.scrollPadding="80px",o.current.style.scrollMargin="10px"))}),[e,E]),{snapToBottom:h,enableAutoScroll:g,disableAutoScroll:A}}},76695:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(85985),a=n(47143),s=n(51609),o=n(86385),i=n(4827),c=n(16597),l=n(13802);const u=()=>{const{replaceBlock:e,removeBlocks:t}=(0,a.useDispatch)("core/block-editor"),n=(0,a.useSelect)((e=>e("core/block-editor")),[]),{getSelectedBlockClientIds:u,getBlocksByClientId:d,getBlock:p,getBlockParents:m}=n,{tracks:g}=(0,r.st)();return{canTransformToAIAssistant:(0,s.useCallback)((({clientId:e,blockName:t})=>{if(!p(e))return!1;if(!o.zg.includes(t))return!1;const n=m(e);if(0===n.length)return!0;const r=p(n[n.length-1]);return!["core/list","core/list-item"].includes(r.name)}),[p,m]),transformToAIAssistant:(0,s.useCallback)((({request:n}={})=>{const r=u(),a=d(r),s=(0,c.Sb)(a),[o]=a,[p,...m]=r,A={...o?.attributes||{},content:s},h=(0,l.r)(o.name,A);if(n?.promptType){g.recordEvent("jetpack_editor_ai_assistant_extension_toolbar_button_click",{suggestion:n.promptType,block_type:o.name});const e={clientId:p,type:n.promptType,options:{...n.options,contentType:"generated",fromExtension:!0}};localStorage.setItem((0,i.yU)(h.clientId),JSON.stringify(e))}else g.recordEvent("jetpack_ai_assistant_prompt_show",{block_type:o.name});e(p,h),t(m)}),[d,u,t,e,g]),getSelectedBlockClientIds:u}}},34173:(e,t,n)=>{"use strict";n.d(t,{mt:()=>o});var r=n(96865),a=n(74997),s=n(47143);class o{renderRules=[];firstUpdate=!0;behavior="dropdown";isChildBlock=!1;feature="ai-assistant";adjustPosition=!0;startOpen=!1;hideOnBlockFocus=!0;constructor(e,t=[]){this.clientId=e,this.renderRules=t}getBlock(){const{getBlock:e}=(0,s.select)("core/block-editor");return e(this.clientId)}getContent(){const e=this.getBlock();return t=(0,a.getBlockContent)(e),(0,r.rh)({content:t});var t}renderContent(e){return function(e,t=[]){return(0,r.Hh)({content:e,rules:t,extension:!0})}(e,this.renderRules)}onSuggestion(e){if(!e)return;const t=this.renderContent(e);this.replaceBlockContent(t)}onDone(e){this.firstUpdate=!0}replaceBlockContent(e){const[t]=(0,a.rawHandler)({HTML:e});if(!t)return;const{updateBlockAttributes:n,replaceInnerBlocks:r,__unstableMarkNextChangeAsNotPersistent:o}=(0,s.dispatch)("core/block-editor");this.firstUpdate?this.firstUpdate=!1:o(),n(this.clientId,t.attributes),o(),r(this.clientId,t.innerBlocks)}}},44369:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(82170),a=n(96865),s=n(85985),o=n(86087),i=n(27723),c=n(13022),l=(n(51609),n(92169)),u=n(61297);const __=i.__,d=(0,c.A)("jetpack-ai-assistant-extension-ai-input","wp-block");function p({className:e,requestingState:t,requestingError:n,inputRef:i,wrapperRef:p,action:m,blockType:g,feature:A,request:h,stopSuggestion:E,close:f,undo:b,tryAgain:v}){const[C,k]=(0,o.useState)(""),[y,B]=(0,o.useState)(__("Ask Jetpack AI to edit…","jetpack")),{checkoutUrl:w}=(0,l.A)(),{tracks:_}=(0,s.st)(),[I,j]=(0,o.useState)(0),[x,S]=(0,o.useState)(!1),{requireUpgrade:Q,requestsCount:N,requestsLimit:R,loading:T,nextTier:P,currentTier:L}=(0,u.A)(),M=(0,o.useMemo)((()=>Q||["requesting","suggesting"].includes(t)),[Q,t]),D=(0,o.useMemo)((()=>Q&&1===L?.value),[Q,L]),F=(0,o.useCallback)((()=>{_.recordEvent("jetpack_ai_assistant_extension_generate",{block_type:g,feature:A}),h?.(C)}),[g,A,h,_,C]),O=(0,o.useCallback)((()=>{_.recordEvent("jetpack_ai_assistant_extension_stop",{block_type:g}),E?.()}),[g,E,_]);const z=(0,o.useCallback)((()=>{_.recordEvent("jetpack_ai_assistant_undo",{block_type:g}),b?.()}),[g,_,b]),U=(0,o.useCallback)((()=>{_.recordEvent("jetpack_ai_upgrade_button",{current_tier_slug:L?.slug,requests_count:N,placement:"jetpack_ai_assistant_extension"})}),[L?.slug,N,_]),H=(0,o.useCallback)((()=>{_.recordEvent("jetpack_ai_assistant_try_again",{block_type:g}),v?.()}),[g,_,v]);return(0,o.useEffect)((()=>{["init","done"].includes(t)&&k("")}),[t]),(0,o.useEffect)((()=>{B(m||__("Ask Jetpack AI to edit…","jetpack")),m&&k("")}),[m]),(0,o.useEffect)((()=>{S(!T&&!!P&&0===C.length)}),[T,P,C]),(0,o.useEffect)((()=>{const e=Math.max(R-N,0);j(e)}),[R,N]),(0,r.createElement)(a.FC,{className:(0,c.A)(d,e),placeholder:y,disabled:M,value:C,state:t,showGuideLine:!0,error:n,requestsRemaining:I,showUpgradeMessage:x,showFairUsageMessage:D,upgradeUrl:w,onChange:k,onSend:F,onStop:O,onClose:function(){f?.()},onUndo:z,onUpgrade:U,onTryAgain:H,wrapperRef:p,ref:i})}},11186:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(82170),a=n(96865),s=n(85985),o=n(56427),i=n(86087),c=n(27723),l=n(52068),u=n(76695),d=n(6762);const __=c.__;function p({blockType:e,onClose:t,onAskAiAssistant:n,onRequestSuggestion:a}){const{canTransformToAIAssistant:s,transformToAIAssistant:o,getSelectedBlockClientIds:c}=(0,u.A)(),d=(0,i.useCallback)((r=>{const i=c(),[l]=i;i.length<2||!s({clientId:l,blockName:e})?(r?a?.(r.promptType,r.options,r.humanText):n?.(),t?.()):o({request:r})}),[e,s,c,n,t,a,o]);return(0,r.createElement)(l.Ay,{blockType:e,onRequestSuggestion:(e,t,n)=>{d({promptType:e,options:t,humanText:n})},onAskAiAssistant:async()=>{d()},disabled:!1})}function m({behavior:e,blockType:t,label:n=__("AI Assistant","jetpack"),onAskAiAssistant:c,onRequestSuggestion:l}){const{tracks:u}=(0,s.st)(),m=(0,i.useContext)(d.B),g=(0,i.useCallback)((e=>{e&&u.recordEvent("jetpack_ai_assistant_extension_toolbar_menu_show",{block_type:t})}),[t,u]),A=(0,i.useCallback)((()=>{u.recordEvent("jetpack_editor_ai_assistant_extension_toolbar_prompt_show",{block_type:t}),c?.()}),[t,c,u]),h=(0,i.useCallback)(((e,n,r)=>{u.recordEvent("jetpack_editor_ai_assistant_extension_toolbar_button_click",{suggestion:e,block_type:t}),l?.(e,n,r)}),[t,l,u]);return(0,r.createElement)(o.Dropdown,{popoverProps:{variant:"toolbar"},renderToggle:({isOpen:t,onToggle:s})=>(0,r.createElement)(o.ToolbarButton,{className:"jetpack-ai-assistant__button",showTooltip:!0,onClick:()=>{if("function"!=typeof e)switch(e){case"action":A();break;case"dropdown":s()}else e({onToggle:s,onAskAiAssistant:c,context:m})},"aria-haspopup":"true","aria-expanded":t,label:n,icon:a.cj}),onToggle:g,renderContent:({onClose:e})=>(0,r.createElement)(p,{onClose:e,blockType:t,onAskAiAssistant:A,onRequestSuggestion:h})})}},6762:(e,t,n)=>{"use strict";n.d(t,{B:()=>A,Q:()=>h});var r=n(86087),a=n(10067),s=n.n(a),o=n(86385),i=n(34173),c=n(99930),l=n(57125),u=n(98331),d=n(90068),p=n(64294);const m=s()("jetpack-ai-assistant:extensions:get-block-handler"),g={"core/heading":c.T,"core/paragraph":p.d,"core/list-item":d.g,"core/list":u.b,"jetpack/contact-form":l.p,...o.lm.reduce(((e,t)=>({...e,[t]:l.g})),{})},A=(0,r.createContext)({});function h(e,t){let n=g[e];n||(m(`No handler found for block type: ${e}. Using default handler.`),n=i.mt);const r=new n(t);return{onSuggestion:r.onSuggestion.bind(r),onDone:r.onDone.bind(r),getContent:r.getContent.bind(r),behavior:r.behavior,isChildBlock:r.isChildBlock,feature:r.feature,adjustPosition:r.adjustPosition,startOpen:r.startOpen,hideOnBlockFocus:r.hideOnBlockFocus}}},99930:(e,t,n)=>{"use strict";n.d(t,{T:()=>a});var r=n(34173);class a extends r.mt{constructor(e){super(e,[])}onSuggestion(e){const t=this.getBlock();if(e.startsWith("#")||(e=`${"#".repeat(t?.attributes?.level||1)} ${e}`),e.match(/^#*\s*$/))return;const n=this.renderContent(e);this.replaceBlockContent(n)}}},57396:(e,t,n)=>{"use strict";n.d(t,{g:()=>s});var r=n(47143),a=n(34173);class s extends a.mt{jetpackFormBlockName="jetpack/contact-form";constructor(e){super(e,[]),this.behavior=this.handleBehavior,this.isChildBlock=!0,this.hideOnBlockFocus=!1}handleBehavior=({context:e})=>{const t=(0,r.dispatch)("core/block-editor"),{getBlockParentsByBlockName:n}=(0,r.select)("core/block-editor"),a=n(this.clientId,this.jetpackFormBlockName)?.[0];t.selectBlock(a),e?.[this.jetpackFormBlockName]?.handleAskAiAssistant?.()}}},57125:(e,t,n)=>{"use strict";n.d(t,{g:()=>l.g,p:()=>u});var r=n(74997),a=n(47143),s=n(27723),o=n(62514),i=n(96568),c=n(34173),l=n(57396);const __=s.__;class u extends c.mt{currentListOfValidBlocks=[];constructor(e){super(e,[]),this.behavior="action",this.feature="jetpack-form-ai-extension",this.adjustPosition=!1,this.startOpen=!0,this.hideOnBlockFocus=!1}setContent(e,t=!1){const{replaceInnerBlocks:n}=(0,a.dispatch)("core/block-editor"),s=e.replace(//g,""),c=(0,i.d)(s),l=(0,r.parse)(c).filter((e=>e.isValid&&!["core/freeform","core/missing","core/html"].includes(e.name)));let u=!1;if(l.length0){const e=l[l.length-1],t=this.currentListOfValidBlocks[l.length-1];u=!(0,o.w)(e,t)}if(l.length>0&&(l.length!==this.currentListOfValidBlocks.length||u)&&(n(this.clientId,l),this.currentListOfValidBlocks=l),t){const e=l.filter((e=>"jetpack/button"===e.name));if(this.currentListOfValidBlocks=this.currentListOfValidBlocks||[],e.length>1){let t=0;this.currentListOfValidBlocks=this.currentListOfValidBlocks.filter((n=>"jetpack/button"!==n.name||(t++,t===e.length))),n(this.clientId,this.currentListOfValidBlocks)}else 0===e.length&&n(this.clientId,[...this.currentListOfValidBlocks,(0,r.createBlock)("jetpack/button",{label:__("Submit","jetpack"),element:"button",text:__("Submit","jetpack"),borderRadius:8,lock:{remove:!0}})]);this.currentListOfValidBlocks=[]}}getContent(){const e=this.getBlock();if(!e)return"";const{innerBlocks:t}=e;return t?.length?t.reduce(((e,t)=>e+(0,r.serialize)(t)+"\n\n"),""):""}onSuggestion(e){this.setContent(e)}onDone(e){this.setContent(e,!0)}}},27058:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var r=n(74997),a=n(47143),s=n(86385);function o(e){if(!(0,r.getBlockType)("jetpack/ai-assistant"))return!1;if(!s.XB)return!1;if(!s.h9.includes(e))return!1;const{getHiddenBlockTypes:t}=(0,a.select)("core/edit-post")||{};return!(t?.()||[]).includes("jetpack/ai-assistant")}},90068:(e,t,n)=>{"use strict";n.d(t,{g:()=>a});var r=n(34173);class a extends r.mt{constructor(e){super(e,["listItem"]),this.isChildBlock=!0}}},98331:(e,t,n)=>{"use strict";n.d(t,{b:()=>a});var r=n(34173);class a extends r.mt{constructor(e){super(e,["list"])}}},64294:(e,t,n)=>{"use strict";n.d(t,{d:()=>i});var r=n(96865),a=n(74997),s=n(34173);const o=new r.OO({fixes:["paragraph"]});class i extends s.mt{constructor(e){super(e,["paragraph"])}getContent(){const e=this.getBlock();return t=(0,a.getBlockContent)(e),o.render({content:t});var t}}},92286:(e,t,n)=>{"use strict";var r=n(82170),a=n(96865),s=n(94715),o=n(29491),i=n(47143),c=n(86087),l=n(52619),u=n(13022),d=n(10067),p=n.n(d),m=(n(51609),n(61297)),g=n(32735),A=n(4e4),h=n(44369),E=n(11186),f=n(6762),b=n(27058);const v=p()("jetpack-ai-assistant:extensions:with-ai-extension"),C={"core/heading":"heading","core/paragraph":"paragraph","core/list-item":"list-item","core/list":"list","jetpack/contact-form":"form-ai"},k={group:"block"},y=(0,o.createHigherOrderComponent)((e=>t=>{const{clientId:n,isSelected:o,name:l}=t,d=(0,c.useRef)(null),p=(0,c.useRef)(0),b=(0,c.useRef)(null),y=(0,c.useRef)(""),B=(0,c.useRef)(null),w=(0,c.useRef)(document),_=(0,c.useRef)([]),[I,j]=(0,c.useState)(""),x=(0,c.useRef)(null),S=(0,c.useRef)(null),{undo:Q}=(0,i.useDispatch)("core/editor"),{postId:N}=(0,i.useSelect)((e=>{const{getCurrentPostId:t}=e("core/editor");return{postId:t()}}),[]),{id:R,className:T}=(0,s.useBlockProps)({className:(0,u.A)({[l?.replace?.("/","-")]:!0})}),{increaseRequestsCount:P,dequeueAsyncRequest:L,requireUpgrade:M}=(0,m.A)(),{snapToBottom:D,enableAutoScroll:F,disableAutoScroll:O}=(0,g.A)({current:w?.current?.getElementById(R)},void 0,!0),z=(0,c.useCallback)((()=>{B.current?.focus()}),[]),{onSuggestion:U,onDone:H,getContent:V,behavior:q,isChildBlock:G,feature:$,adjustPosition:W,startOpen:Z,hideOnBlockFocus:J}=(0,c.useMemo)((()=>(0,f.Q)(l,n)),[l,n]),[Y,K]=(0,c.useState)(Z),X=(0,c.useCallback)((()=>{K((e=>!e))}),[]),ee=(0,c.useCallback)((({promptType:e,options:t})=>{const n=V(),r=C[l];return[..._.current,{role:"jetpack-ai",context:{type:(0,A.p$)(e,r),content:n,request:t?.userPrompt,tone:t?.tone,language:t?.language,is_follow_up:_.current.length>0}}]}),[l,V]),te=(0,c.useCallback)((e=>{const t=e||w.current.getElementById(R);t&&d.current&&t.style.setProperty("padding-bottom",`calc(${p.current+16}px + ${y.current||"0px"} )`,"important")}),[R]),ne=(0,c.useCallback)((e=>{U(e),W&&te(),D()}),[U,W,D,te]),re=(0,c.useCallback)((e=>{if(O(),H(e),P(),j(""),x.current?.message){const e={role:"assistant",content:V()};if(_.current.push(x.current.message,e),_.current.length>20){_.current.splice(0,_.current.length-20);const e=_.current.findIndex((e=>"jetpack-ai"===e.role));-1!==e&&(_.current=_.current.slice(e),_.current[0].context={..._.current[0].context,is_follow_up:!1})}}x.current=null,setTimeout((()=>{W&&te(),z()}),100)}),[O,H,P,V,W,z,te]),ae=(0,c.useCallback)((e=>{O(),j(""),v("Request error",e),e.code!==a.mA&&e.code!==a.Or&&P()}),[O,P]),{request:se,stopSuggestion:oe,requestingState:ie,error:ce,reset:le}=(0,a.XE)({onSuggestion:ne,onDone:re,onError:ae,askQuestionOptions:{postId:N,feature:$}});(0,c.useEffect)((()=>{S.current=ie}),[ie]);const ue=(0,c.useCallback)(((e,t,n)=>{if(K(!0),M)return;n&&j(n);const r=ee({promptType:e,options:t});v("Request suggestion",e,t);const a=r[r.length-1];x.current={promptType:e,options:t,humanText:n,message:a},L(),F(),se(r)}),[L,F,ee,se,M]),de=(0,c.useCallback)((e=>{const t={userPrompt:e};F(),ue("userPrompt",t)}),[F,ue]),pe=(0,c.useCallback)((()=>{O(),oe(),z()}),[O,oe,z]),me=(0,c.useCallback)((()=>{x.current&&ue(x.current.promptType,x.current.options,x.current.humanText)}),[x,ue]),ge=(0,c.useCallback)((()=>{K(!1),le(),j(""),x.current=null,_.current=[]}),[le]),Ae=(0,c.useCallback)((async()=>{await Q(),ge()}),[Q,ge]);(0,c.useEffect)((()=>{o||ge()}),[o,ge]),(0,c.useEffect)((()=>{B.current&&(w.current=B.current.ownerDocument,z())}),[Y,z]),(0,c.useEffect)((()=>{let e=w.current.getElementById(R);if(e&&W)return Y&&!b.current&&d.current?(y.current=e.style.paddingBottom,b.current=new ResizeObserver((([t])=>{if(e=w.current.getElementById(R),p.current=t.contentRect.height,e&&d.current&&p.current>0){te(e);const{marginBottom:t}=getComputedStyle(e),n=parseFloat(t);d.current.style.setProperty("margin-top",`-${p.current+n}px`,"important"),d.current.style.setProperty("margin-bottom",`${n+16}px`,"important")}})),b.current.observe(d.current)):b.current&&(e.style.paddingBottom=y.current,b.current.disconnect(),b.current=null,p.current=0),()=>{b.current&&b.current.disconnect()}}),[te,W,n,b,R,Y]),(0,c.useEffect)((()=>{if(J&&Y){const e=w.current.getElementById(R),t=()=>{["requesting","suggesting"].includes(S.current)||(K(!1),e?.removeEventListener("focusin",t))};return e?.addEventListener("focusin",t),()=>{e?.removeEventListener("focusin",t)}}}),[J,Y,R]);const he=(0,r.createElement)(r.Fragment,null,(0,r.createElement)(e,t),Y&&(0,r.createElement)(h.A,{className:T,requestingState:ie,requestingError:ce,wrapperRef:d,inputRef:B,action:I,blockType:l,feature:$,request:de,stopSuggestion:pe,close:ge,undo:Ae,tryAgain:me}),(0,r.createElement)(s.BlockControls,k,(0,r.createElement)(E.A,{blockType:l,onAskAiAssistant:X,onRequestSuggestion:ue,behavior:q})));if(G)return he;const Ee={value:{[l]:{handleAskAiAssistant:X,handleRequestSuggestion:ue}}};return(0,r.createElement)(f.B.Provider,Ee,he)}),"blockEditWithAiComponents");(0,l.addFilter)("blocks.registerBlockType","jetpack/ai-assistant-support/with-ai-extension",(function(e,t){return(0,b.Y)(t)?{...e,edit:y(e.edit)}:e}),100)},7503:(e,t,n)=>{"use strict";n.d(t,{C:()=>d,x:()=>u});var r=n(85985),a=n(10067),s=n.n(a);const o=window?.JP_CONNECTION_INITIAL_STATE,i=s()("jetpack-ai-assistant:connection");let c=!1;const l=e=>{c||(i(e),c=!0)};function u(){return(0,r.Sy)()?(l("Simple site connected ✅"),!0):(0,r.d9)()?(l("Atomic site connected ✅"),!0):o?.connectionStatus?.isUserConnected?(l("Jetpack user is connected ✅"),!0):(l("User is not connected ❌"),!1)}function d(){if((0,r.Sy)())return!0;return!1==!(o?.userConnectionData?.currentUser?.permissions??{}).manage_options}},4e4:(e,t,n)=>{"use strict";n.d(t,{J1:()=>i,K6:()=>c,p$:()=>u});var r=n(64425);const a="title",s="content",o=null;function i(e){return{role:"jetpack-ai",context:{type:"ai-assistant-initial-prompt",for:u(e)}}}function c({generatedContent:e,allPostContent:t,postContentAbove:n,currentPostTitle:a,options:s,type:o,userPrompt:i,isGeneratingTitle:c}){const u=[],d="generated"===s?.contentType;let p=null;switch(o){case r.im:p=a;break;case r.sn:case r.A4:case r.yy:p=n;break;case r.vE:p=t;break;case r.br:case r.fD:p=e;break;case r.eJ:case r.UA:case r.Gm:p=d?e:t;break;case r.pE:p=e||t}const m=function(e,t){return!e&&t&&t.length>0?{role:"jetpack-ai",context:{type:"ai-assistant-relevant-content",content:t}}:null}(o===r.pE?!!e?.length:d,p);return m&&u.push(m),u.push({role:"jetpack-ai",context:l({generatedContent:e,allPostContent:t,postContentAbove:n,currentPostTitle:a,options:s,type:o,userPrompt:i,isGeneratingTitle:c})}),u}function l({options:e,type:t,userPrompt:n,isGeneratingTitle:i}){const c=function(e,t,n){return e?a:!t||n?s:o}(i,"generated"===e?.contentType,e?.fromExtension||!1);return{type:u(t),...c?{subject:c}:{},...t===r.eJ&&e?.tone?{tone:e.tone}:{},...t===r.Gm&&e?.language?{language:e.language}:{},...t===r.pE&&n?{request:n}:{}}}function u(e,t){const n={[r.im]:"ai-assistant-summary-by-title",[r.sn]:"ai-assistant-continue-writing",[r.A4]:"ai-assistant-simplify",[r.yy]:"ai-assistant-correct-spelling",[r.vE]:"ai-assistant-generate-title",[r.br]:"ai-assistant-make-longer",[r.fD]:"ai-assistant-make-shorter",[r.eJ]:"ai-assistant-change-tone",[r.UA]:"ai-assistant-summarize",[r.Gm]:"ai-assistant-change-language",[r.pE]:"ai-assistant-user-prompt"};return"form-ai"===t?"form-ai-extension":t?`${n[e]}-${t}-extension`:n[e]}},64425:(e,t,n)=>{"use strict";n.d(t,{A4:()=>o,Gm:()=>m,UA:()=>p,br:()=>l,eJ:()=>d,ee:()=>h,fD:()=>u,im:()=>a,jf:()=>E,pE:()=>g,sn:()=>s,uV:()=>A,vE:()=>c,yy:()=>i});var r=n(4e4);const a="titleSummary",s="continue",o="simplify",i="correctSpelling",c="generateTitle",l="makeLonger",u="makeShorter",d="changeTone",p="summarize",m="changeLanguage",g="userPrompt",A="````";function h({content:e,request:t}){if(!t)throw new Error("You must provide a custom prompt for the Jetpack Form Custom Prompt");return[{role:"jetpack-ai",context:{type:"form-ai-extension",content:e,request:t}}]}function E({generatedContent:e,allPostContent:t,postContentAbove:n,currentPostTitle:a,options:s,type:o,userPrompt:i,isGeneratingTitle:c}){return[(0,r.J1)(o),...(0,r.K6)({generatedContent:e,allPostContent:t,postContentAbove:n,currentPostTitle:a,options:s,type:o,userPrompt:i,isGeneratingTitle:c})]}},16597:(e,t,n)=>{"use strict";n.d(t,{Sb:()=>c,aB:()=>i,b$:()=>o,dY:()=>u,rJ:()=>l});var r=n(96865),a=n(74997),s=n(47143);function o(e){if(!e)return"";const t=(0,s.select)("core/block-editor"),n=t.getBlockIndex(e),o=t.getBlocks().slice(0,n)??[];return o?.length?(0,r.rh)({content:(0,a.serialize)(o)}):""}function i(){const e=(0,s.select)("core/block-editor").getBlocks();return e?.length?(0,r.rh)({content:(0,a.serialize)(e)}):""}function c(e){return e.filter((e=>null!=e)).map((e=>(0,a.getBlockContent)(e))).join("\n\n")}function l(e){const t=(0,s.select)("core/block-editor").getBlock(e);return t?.innerBlocks?.length?c(t.innerBlocks):""}function u(e){if(!e?.replace(/\s+/,"").length)return"";const t=document.createElement("div");t.innerHTML=e;const{textContent:n,innerText:r}=t;return n&&!n.replace(/\s+/,"").length||r&&!r.replace(/\s+/,"").length?"":t.textContent||t.innerText||""}},47264:(e,t,n)=>{"use strict";function r(e){return e&&"string"==typeof e?e.charAt(0).toUpperCase()+e.slice(1):""}n.d(t,{Z:()=>r})},62514:(e,t,n)=>{"use strict";n.d(t,{w:()=>s});const r=e=>{delete e.clientId;for(const t of e.innerBlocks??[])r(t);return e},a=e=>r((e=>JSON.parse(JSON.stringify(e)))(e));function s(e,t){const n=a(e),r=a(t);return JSON.stringify(n)===JSON.stringify(r)}},96568:(e,t,n)=>{"use strict";function r(e){const t=document.createElement("div");return t.innerHTML=e,t.innerHTML}n.d(t,{d:()=>r})},48499:(e,t,n)=>{"use strict";function r(e){return!0===window?.Jetpack_Editor_Initial_State?.available_blocks?.[e]?.available}n.d(t,{C:()=>r})},85707:(e,t,n)=>{"use strict";var r=n(74997),a=n(52619),s=n(86385),o=n(4827);(0,a.addFilter)("blocks.registerBlockType","jetpack/handle-jetpack-ai-supports",(function(e){const t=(0,r.getBlockSupport)(e,"jetpack/ai");return t&&t?.assistant&&(0,s.YD)()?{...e,edit:(0,o.Ay)(e.edit)}:e}),100)},13802:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,r:()=>c});var r=n(96865),a=n(74997),s=n(54681),o=n(86385);const i=[];function c(e,t){const{content:n,...o}=t;let i=n;"core/heading"===e&&t?.level&&(i=i.replace(/<(\/?)h\d([^>]*)>/g,`<$1h${t.level}$2>`));const c=(0,r.rh)({content:i}),l=[];return l.push({role:"jetpack-ai",context:{type:"ai-assistant-relevant-content",content:c}}),(0,a.createBlock)(s.name,{...o,content:c,originalContent:c,messages:l,originalMessages:l})}for(const e of o.L)i.push({type:"block",blocks:[e],isMatch:()=>(0,o.YD)(),transform:(t,n)=>{const r=(0,a.getSaveContent)(e,t,n);return c(e,{...t,content:r})}});const l={from:i}},86712:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(82170),a=n(27723),s=n(56333),o=n(10617);const __=a.__,i=()=>{const e=`${window?.Jetpack_Editor_Initial_State?.adminUrl}admin.php?page=my-jetpack#/connection`,{autosaveAndRedirect:t,isRedirecting:n}=(0,o.A)(e);if(window?.Jetpack_Editor_Initial_State?.jetpack?.is_current_user_connected)return null;return(0,r.createElement)(s.c,{buttonText:__("Reconnect Jetpack","jetpack"),checkoutUrl:e,className:"jetpack-ai-connect-banner",description:__("Your account is not connected to Jetpack at the moment.","jetpack"),goToCheckoutPage:e=>{t(e)},isRedirecting:n,visible:!0,align:null,title:null,context:null})}},36920:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(82170),a=n(27723),s=n(56333),o=n(10617);const __=a.__,i=()=>{let e=window?.Jetpack_Editor_Initial_State?.adminUrl||"";e=e.replace(/wp-admin\/\?frame-nonce=[a-z0-9]+/,"wp-admin/");const t=`${e}admin.php?page=jetpack-search`,{autosaveAndRedirect:n,isRedirecting:a}=(0,o.A)(t);if(window?.Jetpack_AIChatBlock?.jetpackSettings?.instant_search_enabled)return null;return(0,r.createElement)(s.c,{buttonText:__("Enable Jetpack Search","jetpack"),checkoutUrl:t,className:"jetpack-ai-connect-banner",description:__("You need to enable Jetpack Search so that Jetpack AI can index your site.","jetpack"),goToCheckoutPage:e=>{n(e)},isRedirecting:a,visible:!0,align:null,title:null,context:null})}},50443:(e,t,n)=>{"use strict";n.d(t,{G:()=>s,W:()=>a});var r=n(27723);const __=r.__,a=__("Ask","jetpack"),s=__("Ask a question about this site","jetpack")},51686:(e,t,n)=>{"use strict";n.d(t,{z:()=>l});var r=n(82170),a=n(94715),s=n(56427),o=n(3582),i=n(27723),c=n(50443);const __=i.__;function l({setAttributes:e,placeholder:t,showCopy:n,showFeedback:i,showSources:l}){const[u,d]=(0,o.useEntityProp)("root","site","jetpack_search_ai_prompt_override");return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.InspectorControls,null,(0,r.createElement)(s.PanelBody,{title:__("Settings","jetpack"),initialOpen:!1},(0,r.createElement)(s.BaseControl,{label:__("Placeholder Text","jetpack"),className:"jetpack-ai-chat__ask-button-text"},(0,r.createElement)(s.TextControl,{placeholder:c.G,onChange:t=>e({placeholder:t}),value:t})))),(0,r.createElement)(a.InspectorAdvancedControls,null,(0,r.createElement)(s.BaseControl,{label:__("Additional instructions","jetpack"),help:__("Give Jetpack AI additional instructions for answer length, format, and tone.","jetpack")},(0,r.createElement)(s.TextareaControl,{value:u,onChange:d})),(0,r.createElement)(s.ToggleControl,{label:__("Show copy answer button.","jetpack"),help:__("Allow users to easily copy the answer.","jetpack"),checked:n,onChange:t=>e({showCopy:t})}),(0,r.createElement)(s.ToggleControl,{label:__("Show rating button.","jetpack"),help:__("Allow users to rate the answer and give feedback.","jetpack"),checked:i,onChange:t=>e({showFeedback:t})}),(0,r.createElement)(s.ToggleControl,{label:__("Show list of sources.","jetpack"),help:__("Show used sources at the bottom of the answer.","jetpack"),checked:l,onChange:t=>e({showSources:t})})))}},32908:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(82170),a=n(96865),s=n(94715),o=n(56427),i=n(47143),c=n(86712),l=n(36920),u=n(50443),d=n(51686);function p({attributes:e,setAttributes:t,clientId:n}){const{askButtonLabel:p=u.W,placeholder:m=u.G,showCopy:g,showFeedback:A,showSources:h}=e,E=(0,s.useBlockProps)(),f=(0,i.useSelect)((e=>e("core/block-editor").isBlockSelected(n)),[n]);return(0,r.createElement)("div",E,(0,r.createElement)(c.A,null),(0,r.createElement)(l.A,null),(0,r.createElement)("div",{className:"jetpack-ai-chat-question-wrapper"},(0,r.createElement)(o.TextControl,{className:"jetpack-ai-chat-question-input",placeholder:m,disabled:!0}),(0,r.createElement)(s.RichText,{className:"wp-block-button__link jetpack-ai-chat-question-button",onChange:e=>t({askButtonLabel:e}),value:p,withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/strikethrough"]})),f&&(0,r.createElement)(a.Yj,null),(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(d.z,{askButtonLabel:p,placeholder:m,setAttributes:t,showCopy:g,showFeedback:A,showSources:h})))}},8393:(e,t,n)=>{"use strict";var r=n(94375),a=n(1629),s=n(32908),o=n(41825);(0,r.M)(a,{edit:s.A,save:o.A})},41825:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(82170),a=n(94715),s=n(50443);function o({attributes:e}){const t=a.useBlockProps.save({"data-ask-button-label":e.askButtonLabel||s.W});return(0,r.createElement)("div",t)}},97398:(e,t,n)=>{"use strict";n.d(t,{K:()=>r});const r=["A digital Illustration of the a purely mechanical television, 4k, detailed, fantasy vivid colors","3D render of a floating futuristic castle in a clear sky, digital art","Hedgehog smelling a flower | clear blue sky | intricate artwork by Beatrix Potter | cottagecore aesthetic | 8K | highly detailed | wide angle |","Hyper realistic photo of a high end futuristic single-level house where walls are made of windows, light coming through the window, mid century modern style, cinematic lighting","Pink ape Astronaut in space holding a claymate in a photorealistic style, digital art","Studio photography set of high detail irregular marble stones with gold lines stacked in impossible balance, perfect composition, cinematic light photo studio, beige color scheme, indirect lighting, 8k, elegant and luxury style","Ultrawide, highway, with golden ratio style, 4K , sides are prairies, light is Golden hour, sky with red Clouds, ultrarealistic, CinémaScope, ultra wide format, ratio 16/9, 1/1000 sec, maximum resolution, Sharp details","A photo of cat flying out to space as an astronaut, digital art","A hyper realistic rilakkuma enjoying an icecream in the snow","A lush tropical forest with a waterfall.","A majestic snowy mountain peak.","A beautiful sunset over a beach.","A serene lake surrounded by trees.","A picturesque countryside with rolling hills.","A colorful hot air balloon in the sky.","A peaceful Zen garden.","A grand castle on a hill.","A lively street market in a bustling city.","A delightful flower garden in full bloom.","A cozy cabin in the woods.","A vibrant coral reef teeming with sea life.","A classic European city with cobblestone streets.","A stunning waterfall cascading into a crystal clear pool.","A secluded cabin on the edge of a lake.","A beautiful desert landscape with sand dunes.","A majestic elephant in its natural habitat.","A charming countryside village with thatched roof cottages.","A dreamy castle floating on a cloud.","A whimsical tree house in a forest.","A vibrant city skyline at night.","A picturesque vineyard with rows of grapevines.","A peaceful Japanese garden with a koi pond.","A charming lighthouse on a rocky coastline.","A beautiful waterfall surrounded by greenery.","A dreamy castle with a moat and drawbridge.","A colorful hot air balloon festival.","A beautiful garden with a fountain and sculptures.","A picturesque countryside with a windmill.","A stunning mountain landscape with a rainbow."]},31741:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(82170),a=n(85985),s=n(1455),o=n.n(s),i=n(94715),c=n(74997),l=n(56427),u=n(47143),d=n(86087),p=n(27723),m=n(97398);const __=p.__;function g({attributes:e,setAttributes:t,clientId:n}){const[s,p]=(0,d.useState)(!1),[g,A]=(0,d.useState)([]),[h,E]=(0,d.useState)(null),[f,b]=(0,d.useState)(""),{replaceBlock:v}=(0,u.useDispatch)(i.store),[C,k]=(0,d.useState)(null),[y]=(0,d.useState)((B=m.K)[Math.floor(Math.random()*B.length)]);var B;const w=__("Retry","jetpack"),_=__("Submit","jetpack"),I=C?w:_,{tracks:j}=(0,a.st)(),{mediaUpload:x}=(0,u.useSelect)((e=>{const{getSettings:t}=e(i.store);return{mediaUpload:t().mediaUpload}}),[]),S=(0,u.useSelect)((e=>e("core/editor").getCurrentPostId())),Q=({image:e,inModal:t=!1})=>(0,r.createElement)(l.Flex,{direction:"column"},t&&(0,r.createElement)(l.FlexItem,{style:{"text-align":"center"}},(0,r.createElement)(l.Button,{variant:"primary",onClick:()=>N(e)},__("Use this image","jetpack"))),(0,r.createElement)(l.FlexBlock,null,(0,r.createElement)("img",{className:"wp-block-ai-image-image",src:e,alt:"",onClick:()=>E(e)})),!t&&(0,r.createElement)(l.FlexBlock,null,(0,r.createElement)(l.Flex,{direction:"column",style:{"align-items":"center"}},(0,r.createElement)(l.FlexItem,null,(0,r.createElement)(l.Button,{variant:"primary",onClick:()=>N(e)},__("Use this image","jetpack")))))),N=async t=>{if(s)return;p(!0),k(null);const r=await fetch(t),a=await r.blob(),o=new File([a],"jetpack_ai_image.png",{type:"image/png"});x({filesList:[o],onFileChange:([t])=>{t.id&&v(n,(0,c.createBlock)("core/image",{url:t.url,caption:e.requestedPrompt,alt:e.requestedPrompt}))},allowedTypes:["image"],onError:e=>{console.error(e),p(!1)}}),j.recordEvent("jetpack_ai_dalle_generation_upload",{post_id:S})};return(0,r.createElement)("div",(0,i.useBlockProps)(),(0,r.createElement)(l.Placeholder,{label:__("AI Image","jetpack"),notices:C&&[(0,r.createElement)("div",null,C)]},!s&&0===g.length&&(0,r.createElement)(l.Flex,{expanded:!0},(0,r.createElement)(l.FlexBlock,null,(0,r.createElement)(l.TextareaControl,{label:__("What would you like to see?","jetpack"),placeholder:y,allowedFormats:[],onChange:b,rows:6}),(0,r.createElement)(l.Button,{variant:"primary",onClick:()=>{p(!1),A([]),k(null),function(e,t,n,r,a,s){n(!0),a(null),t({requestedPrompt:e}),o()({path:"/wpcom/v2/jetpack-ai/images/generations",method:"POST",data:{prompt:e,post_id:s}}).then((e=>{n(!1);const t=e.data.map((e=>"data:image/png;base64,"+e.b64_json));r(t)})).catch((e=>{e.message?a(e.message):a(__("Whoops, we have encountered an error. AI is like really, really hard and this is an experimental feature. Please try again later.","jetpack")),n(!1)}))}(""===f.trim()?y:f,t,p,A,k,S),j.recordEvent("jetpack_ai_dalle_generation",{post_id:S})}},I))),!s&&g.length>0&&(0,r.createElement)(l.Flex,{direction:"column",style:{width:"100%"}},(0,r.createElement)(l.FlexBlock,{style:{textAlign:"center",margin:"12px",fontStyle:"italic",width:"100%"}},e.requestedPrompt),(0,r.createElement)(l.FlexBlock,{style:{fontSize:"20px",lineHeight:"38px"}},__("Please choose your image","jetpack")),(0,r.createElement)(l.Flex,{direction:"row",wrap:!0},g.map((e=>(0,r.createElement)(Q,{image:e}))))),!s&&h&&(0,r.createElement)(l.Modal,{onRequestClose:()=>E(null)},(0,r.createElement)(Q,{image:h,inModal:!0})),e.content&&(0,r.createElement)("div",{className:"content"},e.content),s&&(0,r.createElement)(l.FlexBlock,{style:{padding:"10px",textAlign:"center"}},(0,r.createElement)(l.Spinner,{style:{height:"calc(4px * 20)",width:"calc(4px * 20)"}}))))}},21052:(e,t,n)=>{"use strict";var r=n(94375),a=n(57468),s=n(31741);(0,r.M)(a,{edit:s.A,save:()=>""})},88588:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>A});var r=n(82170),a=n(85985),s=n(1455),o=n.n(s),i=n(94715),c=n(56427),l=n(47143),u=n(86087),d=n(27723),p=n(55595);const __=d.__,m=(e="",t=[],n="",r="")=>{const a=t.filter((function(e){return e&&e.attributes&&e.attributes.content})).map((function(e){return e.attributes.content.replaceAll("
    ","\n")})).join("\n").slice(-1024);if(!(e||a||n||r))return!1;let s="";return s=e?(0,d.sprintf)(/** translators: This will be the beginning of a prompt that will be sent to OpenAI based on the post title. */ __("Please help me write a short piece of a blog post titled '%1$s'","jetpack"),e):__("Please help me write a short piece of a blog post","jetpack"),n&&( /** translators: This will be the follow up of a prompt that will be sent to OpenAI based on comma-seperated category names. */ -s+=(0,d.sprintf)(__(", published in categories '%1$s'","jetpack"),n)),a&&( +s+=(0,d.sprintf)(__(", published in categories '%1$s'","jetpack"),n)),r&&( /** translators: This will be the follow up of a prompt that will be sent to OpenAI based on comma-seperated category names. */ -s+=(0,d.sprintf)(__(" and tagged '%1$s'","jetpack"),a)),s+=__(". Please only output generated content ready for publishing.","jetpack"),r&&( +s+=(0,d.sprintf)(__(" and tagged '%1$s'","jetpack"),r)),s+=__(". Please only output generated content ready for publishing.","jetpack"),a&&( /** translators: This will be the end of a prompt that will be sent to OpenAI with the last MAXIMUM_NUMBER_OF_CHARACTERS_SENT_FROM_CONTENT characters of content.*/ -s+=(0,d.sprintf)(__(" Please continue from here:\n\n … %s","jetpack"),r)),s.trim()};function g({html:e,showAnimation:t,onAnimationDone:n}){const[r,s]=(0,u.useState)("");return(0,u.useEffect)((()=>{if(t){const t=e.split(" ");for(let e=1;es(n)),50*e)}setTimeout((()=>{s(e),n()}),50*t.length)}else s(e)}),[]),(0,a.createElement)("div",{className:"content"},(0,a.createElement)(u.RawHTML,null,r))}function A({attributes:e,setAttributes:t,clientId:n}){const[s,d]=(0,u.useState)(!1),[A,h]=(0,u.useState)(!1),[E,f]=(0,u.useState)(!1),[b,v]=(0,u.useState)(!1),[C,k]=(0,u.useState)(!1),{tracks:y}=(0,r.z$)(),B=(0,l.useSelect)((e=>e("core/editor").getEditedPostAttribute("title")));let w=!1;const _=(0,l.useSelect)((e=>e("core/editor").getEditedPostAttribute("categories")))||[],I=(0,l.useSelect)((e=>_.map((t=>{const n=e("core").getEntityRecord("taxonomy","category",t);if(n)return n;w=!0})).filter(Boolean)),[_]),j=(0,l.useSelect)((e=>e("core/editor").getEditedPostAttribute("tags")),[])||[],x=(0,l.useSelect)((e=>j.map((t=>{const n=e("core").getEntityRecord("taxonomy","post_tag",t);if(n)return n;w=!0})).filter(Boolean)),[j]);(0,u.useEffect)((()=>{h(w)}),[w]);const S=(0,l.useSelect)((e=>e("core/editor").getCurrentPostId())),Q=I.filter((e=>1!==e.id)).map((({name:e})=>e)).join(", "),N=x.map((({name:e})=>e)).join(", "),R=(0,l.useSelect)((e=>{const t=e("core/block-editor"),a=t.getBlockIndex(n);return t.getBlocks().slice(0,a)??[]})),P=()=>{if(e.content||s)return;v(!1),k(!1),f(!1),d(!0);const n={content:m(B,R,Q,N)};y.recordEvent("jetpack_ai_chat_completion",{post_id:S}),o()({path:"/wpcom/v2/jetpack-ai/completions",method:"POST",data:n}).then((e=>{const n=e.trim().replaceAll("\n","
    ");t({content:n}),d(!1)})).catch((e=>{e.message?k(e.message):k(__("Whoops, we have encountered an error. AI is like really, really hard and this is an experimental feature. Please try again later.","jetpack")),v(!0),d(!1)}))},Z=s||A,T=!!e.content,L=T||Z;return(0,l.useSelect)((()=>{if(!L){const e=m(B,R,Q,N);(()=>{const e=p.name;return R.filter((t=>t.name&&t.name===e&&!t.attributes.content)).length>0})()?k(/** translators: This will be an error message when multiple Open AI paragraph blocks are triggered on the same page. */ +s+=(0,d.sprintf)(__(" Please continue from here:\n\n … %s","jetpack"),a)),s.trim()};function g({html:e,showAnimation:t,onAnimationDone:n}){const[a,s]=(0,u.useState)("");return(0,u.useEffect)((()=>{if(t){const t=e.split(" ");for(let e=1;es(n)),50*e)}setTimeout((()=>{s(e),n()}),50*t.length)}else s(e)}),[]),(0,r.createElement)("div",{className:"content"},(0,r.createElement)(u.RawHTML,null,a))}function A({attributes:e,setAttributes:t,clientId:n}){const[s,d]=(0,u.useState)(!1),[A,h]=(0,u.useState)(!1),[E,f]=(0,u.useState)(!1),[b,v]=(0,u.useState)(!1),[C,k]=(0,u.useState)(!1),{tracks:y}=(0,a.st)(),B=(0,l.useSelect)((e=>e("core/editor").getEditedPostAttribute("title")));let w=!1;const _=(0,l.useSelect)((e=>e("core/editor").getEditedPostAttribute("categories")))||[],I=(0,l.useSelect)((e=>_.map((t=>{const n=e("core").getEntityRecord("taxonomy","category",t);if(n)return n;w=!0})).filter(Boolean)),[_]),j=(0,l.useSelect)((e=>e("core/editor").getEditedPostAttribute("tags")),[])||[],x=(0,l.useSelect)((e=>j.map((t=>{const n=e("core").getEntityRecord("taxonomy","post_tag",t);if(n)return n;w=!0})).filter(Boolean)),[j]);(0,u.useEffect)((()=>{h(w)}),[w]);const S=(0,l.useSelect)((e=>e("core/editor").getCurrentPostId())),Q=I.filter((e=>1!==e.id)).map((({name:e})=>e)).join(", "),N=x.map((({name:e})=>e)).join(", "),R=(0,l.useSelect)((e=>{const t=e("core/block-editor"),r=t.getBlockIndex(n);return t.getBlocks().slice(0,r)??[]})),T=()=>{if(e.content||s)return;v(!1),k(!1),f(!1),d(!0);const n={content:m(B,R,Q,N)};y.recordEvent("jetpack_ai_chat_completion",{post_id:S}),o()({path:"/wpcom/v2/jetpack-ai/completions",method:"POST",data:n}).then((e=>{const n=e.trim().replaceAll("\n","
    ");t({content:n}),d(!1)})).catch((e=>{e.message?k(e.message):k(__("Whoops, we have encountered an error. AI is like really, really hard and this is an experimental feature. Please try again later.","jetpack")),v(!0),d(!1)}))},P=s||A,L=!!e.content,M=L||P;return(0,l.useSelect)((()=>{if(!M){const e=m(B,R,Q,N);(()=>{const e=p.name;return R.filter((t=>t.name&&t.name===e&&!t.attributes.content)).length>0})()?k(/** translators: This will be an error message when multiple Open AI paragraph blocks are triggered on the same page. */ __("Waiting for the previous AI paragraph block to finish","jetpack")):e?E?(k(/** translators: This is to retry to complete the text */ -__("Ready to retry","jetpack")),v(!0),f(!1)):E||b||P():(k(/** translators: First placeholder is a number of more characters we need */ -__("Please write a longer title or a few more words in the opening preceding the AI block. Our AI model needs some content.","jetpack")),f(!0))}}),[B,R,Q,N,L,E,b]),(0,a.createElement)("div",(0,i.useBlockProps)(),!s&&!A&&C&&(0,a.createElement)(c.Placeholder,{label:__("AI Paragraph","jetpack"),instructions:C},b&&(0,a.createElement)(c.Button,{variant:"primary",onClick:()=>P()},__("Retry","jetpack"))),T&&(0,a.createElement)(g,{showAnimation:!e.animationDone,onAnimationDone:()=>{t({animationDone:!0})},html:e.content}),!e.content&&Z&&(0,a.createElement)("div",{style:{padding:"10px",textAlign:"center"}},(0,a.createElement)(c.Spinner,{style:{height:"calc(4px * 20)",width:"calc(4px * 20)"}})))}},16042:(e,t,n)=>{"use strict";var a=n(51806),r=n(52175),s=n(4981),o=n(69307),i=n(31985),c=n(59958),l=n(55410);(0,i.S)(c,{edit:l.ZP,save:e=>{const t=r.useBlockProps.save();return(0,a.createElement)(o.RawHTML,t,e.attributes.content)},transforms:{to:[{type:"block",blocks:["core/paragraph"],transform:({content:e})=>(0,s.createBlock)("core/paragraph",{content:e})}]}})},80029:(e,t,n)=>{"use strict";n.d(t,{V:()=>o});var a=n(51806),r=n(55609),s=n(65736);const __=s.__;function o({attributes:e,setAttributes:t}){const{statsData:n,statsOption:s}=e,o=[{value:"views",label:__("Views","jetpack")},{value:"visitors",label:__("Visitors","jetpack")}],i=[{value:"site",label:__("My whole site","jetpack")},{value:"post",label:__("This individual post","jetpack")}];return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(r.PanelBody,{title:__("Settings","jetpack")},(0,a.createElement)(r.RadioControl,{label:__("Views or visitors","jetpack"),selected:n,onChange:e=>t({statsData:e}),options:o,help:__("Views represent site visits, whereas visitors represent unique individuals.","jetpack")}),(0,a.createElement)(r.RadioControl,{label:__("Show stats data for","jetpack"),selected:s,onChange:e=>t({statsOption:e}),options:i,disabled:"visitors"===n,help:"visitors"===n?__("Visitor counts aren't available for individual posts.","jetpack"):null}),(0,a.createElement)("span",{className:"jetpack-blog-stats__delay-notice"},__("Stats are delayed for up to 5 minutes.","jetpack"))))}},61330:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var a=n(51806),r=n(52947),s=n(13419),o=n(86989),i=n.n(o),c=n(52175),l=n(9818),u=n(69307),d=n(65736),p=n(80029),m=n(31023);const __=d.__,_n=d._n;const g=function({attributes:e,className:t,setAttributes:n}){const{isLoadingModules:o,isChangingStatus:d,isModuleActive:g,changeStatus:A}=(0,s.el)("stats"),{label:h,statsData:E,statsOption:f}=e,[b,v]=(0,u.useState)(null),[C,k]=(0,u.useState)(),[y,B]=(0,u.useState)(),w=(0,c.useBlockProps)(),_="post"===f?y:"views"===E?b:C,I=(0,l.useSelect)((e=>e("core/editor").getCurrentPostId()),[]);if((0,u.useEffect)((()=>{g&&i()({path:Number.isInteger(I)?`/wpcom/v2/blog-stats?post_id=${I}`:"/wpcom/v2/blog-stats"}).then((e=>{v(e["blog-views"]),k(e["blog-visitors"]),B(Number.isInteger(I)?e["post-views"]:"12345")}))}),[I,g]),(0,u.useEffect)((()=>{"visitors"===E&&n({statsOption:"site"})}),[E,n]),!g&&!o)return(0,a.createElement)(m.E,{className:t,changeStatus:A,isLoading:d});const j=/* Translators: Number of visitors */ +__("Ready to retry","jetpack")),v(!0),f(!1)):E||b||T():(k(/** translators: First placeholder is a number of more characters we need */ +__("Please write a longer title or a few more words in the opening preceding the AI block. Our AI model needs some content.","jetpack")),f(!0))}}),[B,R,Q,N,M,E,b]),(0,r.createElement)("div",(0,i.useBlockProps)(),!s&&!A&&C&&(0,r.createElement)(c.Placeholder,{label:__("AI Paragraph","jetpack"),instructions:C},b&&(0,r.createElement)(c.Button,{variant:"primary",onClick:()=>T()},__("Retry","jetpack"))),L&&(0,r.createElement)(g,{showAnimation:!e.animationDone,onAnimationDone:()=>{t({animationDone:!0})},html:e.content}),!e.content&&P&&(0,r.createElement)("div",{style:{padding:"10px",textAlign:"center"}},(0,r.createElement)(c.Spinner,{style:{height:"calc(4px * 20)",width:"calc(4px * 20)"}})))}},93865:(e,t,n)=>{"use strict";var r=n(82170),a=n(94715),s=n(74997),o=n(86087),i=n(94375),c=n(55595),l=n(88588);(0,i.M)(c,{edit:l.Ay,save:e=>{const t=a.useBlockProps.save();return(0,r.createElement)(o.RawHTML,t,e.attributes.content)},transforms:{to:[{type:"block",blocks:["core/paragraph"],transform:({content:e})=>(0,s.createBlock)("core/paragraph",{content:e})}]}})},97571:(e,t,n)=>{"use strict";n.d(t,{z:()=>o});var r=n(82170),a=n(56427),s=n(27723);const __=s.__;function o({attributes:e,setAttributes:t}){const{statsData:n,statsOption:s}=e,o=[{value:"views",label:__("Views","jetpack")},{value:"visitors",label:__("Visitors","jetpack")}],i=[{value:"site",label:__("My whole site","jetpack")},{value:"post",label:__("This individual post","jetpack")}];return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(a.RadioControl,{label:__("Views or visitors","jetpack"),selected:n,onChange:e=>t({statsData:e}),options:o,help:__("Views represent site visits, whereas visitors represent unique individuals.","jetpack")}),(0,r.createElement)(a.RadioControl,{label:__("Show stats data for","jetpack"),selected:s,onChange:e=>t({statsOption:e}),options:i,disabled:"visitors"===n,help:"visitors"===n?__("Visitor counts aren't available for individual posts.","jetpack"):null}),(0,r.createElement)("span",{className:"jetpack-blog-stats__delay-notice"},__("Stats are delayed for up to 5 minutes.","jetpack"))))}},20201:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(82170),a=n(37975),s=n(85985),o=n(1455),i=n.n(o),c=n(94715),l=n(47143),u=n(86087),d=n(27723),p=n(97571),m=n(51744);const __=d.__,_n=d._n;const g=function({attributes:e,className:t,setAttributes:n}){const{isLoadingModules:o,isChangingStatus:d,isModuleActive:g,changeStatus:A}=(0,s.q7)("stats"),{label:h,statsData:E,statsOption:f}=e,[b,v]=(0,u.useState)(null),[C,k]=(0,u.useState)(),[y,B]=(0,u.useState)(),w=(0,c.useBlockProps)(),_="post"===f?y:"views"===E?b:C,I=(0,l.useSelect)((e=>e("core/editor").getCurrentPostId()),[]);if((0,u.useEffect)((()=>{g&&i()({path:Number.isInteger(I)?`/wpcom/v2/blog-stats?post_id=${I}`:"/wpcom/v2/blog-stats"}).then((e=>{v(e["blog-views"]),k(e["blog-visitors"]),B(Number.isInteger(I)?e["post-views"]:"12345")}))}),[I,g]),(0,u.useEffect)((()=>{"visitors"===E&&n({statsOption:"site"})}),[E,n]),!g&&!o)return(0,r.createElement)(m.k,{className:t,changeStatus:A,isLoading:d});const j=/* Translators: Number of visitors */ _n("visitor","visitors",parseInt(_),"jetpack",0),x=/* Translators: Number of views */ -_n("hit","hits",parseInt(_),"jetpack",0);return(0,a.createElement)("div",w,(0,a.createElement)(c.InspectorControls,null,(0,a.createElement)(p.V,{attributes:e,setAttributes:n})),(0,a.createElement)("div",{className:t},o||null===b?(0,a.createElement)("p",{className:"jetpack-blog-stats__loading"},__("Loading stats…","jetpack")):(0,a.createElement)("p",null,(0,a.createElement)("span",null,(0,r.Z)(_)," "),(0,a.createElement)(c.RichText,{tagName:"span",placeholder:"visitors"===E?j:x,value:h,allowedFormats:["core/bold","core/italic","core/link"],onChange:e=>n({label:e})}))))}},5889:(e,t,n)=>{"use strict";var a=n(4981),r=n(31985),s=n(73632),o=n(61330);(0,r.S)(s,{edit:o.Z,save:()=>null,transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:({idBase:e,instance:t})=>!!t?.raw&&"blog-stats"===e,transform:({instance:e})=>{const t=e.raw.title?(0,a.createBlock)("core/heading",{content:e.raw.title,level:3}):null,n=(0,a.createBlock)("jetpack/blog-stats",{label:e.raw.hits});return t?[t,n]:n}}]}})},31023:(e,t,n)=>{"use strict";n.d(t,{E:()=>c});var a=n(51806),r=n(13419),s=n(55609),o=n(65736),i=n(73632);const __=o.__,c=({className:e,isLoading:t,changeStatus:n})=>{const o=(0,r.Ug)()?"https://wordpress.com/support/stats/":"https://jetpack.com/support/jetpack-stats/";return(0,a.createElement)("div",{className:e},(0,a.createElement)(s.Placeholder,{icon:(0,r.dM)(i),instructions:__("You'll need to activate the Stats module to use this block. Please note that hits are only counted while this module is active.","jetpack"),label:i.title},(0,a.createElement)(s.Button,{disabled:t,isBusy:t,onClick:()=>n(!0),variant:"secondary"},t?__("Activating Stats","jetpack"):__("Activate Stats","jetpack",0)),(0,a.createElement)("div",null,(0,a.createElement)(s.ExternalLink,{href:o},__("Learn more about the Stats module.","jetpack")))))}},14303:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var a=n(51806),r=n(86989),s=n.n(r),o=n(52175),i=n(55609),c=n(9818),l=n(69307),u=n(65736),d=n(96483),p=n(3228),m=n(44266);const __=u.__,_x=u._x;const g=(0,i.withNotices)((function({attributes:e,noticeOperations:t,noticeUI:n,setAttributes:r}){const g=(0,l.useRef)(!1),{answersLink:A,answersLinkText:h,gravatars:E,promptFetched:f,promptId:b,promptLabel:v,promptText:C,showLabel:k,showResponses:y,tagsAdded:B,isBloganuary:w}=e,_=(0,o.useBlockProps)({className:"jetpack-blogging-prompt"});(0,m.n)(b,B,(e=>r({tagsAdded:e})));const I=(0,c.useSelect)((e=>{const{getEntityRecord:t,hasFinishedResolution:n}=e("core"),a=t("root","site")?.language||"en_US";return n("getEntityRecord",["root","site"])?a:null}),[]);(0,l.useEffect)((()=>{if(!I||g.current||f)return;const e=()=>{r({promptFetched:!1,promptId:null,tagsAdded:!1}),g.current=!1,t.removeAllNotices()};let n="/wpcom/v3/blogging-prompts";if(b)n+="/"+encodeURIComponent(b);else{const e=new Date;n+=`?after=--${(e.getMonth()+1).toString().padStart(2,"0")}-${e.getDate().toString().padStart(2,"0")}&order=desc`}n=(0,d.addQueryArgs)(n,{_locale:I,force_year:(new Date)?.getFullYear()}),g.current=!0,s()({path:n}).then((e=>{const t=b?e:e[0];r({answersLink:t.answered_link,answersLinkText:t.answered_link_text,gravatars:t.answered_users_sample.map((({avatar:e})=>({url:e}))),promptFetched:!0,promptLabel:t.label,promptText:t.text,promptId:t.id,isBloganuary:!!t.bloganuary_id})})).catch((n=>{r({promptFetched:!0});const s="rest_post_invalid_id"===n.code&&b?(o=b,(0,a.createElement)(a.Fragment,null,(0,u.sprintf)(/* translators: %d is the prompt id. */ -__("Prompt with id %d not found.","jetpack"),o)," ",(0,a.createElement)(i.Button,{variant:"link",onClick:e},__("Reset prompt","jetpack")))):(t=>(0,a.createElement)(a.Fragment,null,(0,u.sprintf)(/* translators: %s is the error message. */ -__("Error while fetching prompt: %s","jetpack"),t)," ",(0,a.createElement)(i.Button,{variant:"link",onClick:e},__("Retry","jetpack"))))(n.message);var o;t.removeAllNotices(),t.createErrorNotice(s)}))}),[g,t,f,b,r,I]);const j=e=>{r({showLabel:e})},x=e=>{r({showResponses:e})},S=(0,p.Z)(["jetpack-blogging-prompt__label"],{"is-bloganuary-icon":w});return(0,a.createElement)("div",_,n,(0,a.createElement)(a.Fragment,null,(0,a.createElement)(o.InspectorControls,null,(0,a.createElement)(i.PanelBody,{title:_x("Settings","title of block settings sidebar section","jetpack")},(0,a.createElement)(i.ToggleControl,{label:__("Show prompt label","jetpack"),checked:k,onChange:j}),(0,a.createElement)(i.ToggleControl,{label:__("Show other responses","jetpack"),checked:y,onChange:x})))),f?(0,a.createElement)(a.Fragment,null,k&&(0,a.createElement)("div",{className:S},v),(0,a.createElement)("div",{className:"jetpack-blogging-prompt__text"},C),y&&b&&(0,a.createElement)("div",{className:"jetpack-blogging-prompt__answers"},E&&E.slice(0,3).map((({url:e})=>e&&(0,a.createElement)("img",{className:"jetpack-blogging-prompt__answers-gravatar",src:e,key:e}))),(0,a.createElement)("a",{className:"jetpack-blogging-prompt__answers-link",href:A,target:"_blank",rel:"external noreferrer noopener"},h))):(0,a.createElement)("div",{className:"jetpack-blogging-prompt__spinner"},(0,a.createElement)(i.Spinner,null)))}))},35681:(e,t,n)=>{"use strict";var a=n(4981),r=n(9818),s=n(65736),o=n(31985),i=n(46185),c=n(37391),l=n(14303),u=n(19597),d=n(65783),p=n(43807),m=n(2275);const __=s.__;(0,o.S)(c,{edit:l.Z,save:m.Z,example:{attributes:{answersLink:"https://wordpress.com/tag/dailyprompt",answersLinkText:__("View all responses","jetpack"),gravatars:[{url:u},{url:d},{url:p}],promptLabel:__("Daily writing prompt","jetpack"),promptText:__("What's your favorite place to visit?","jetpack"),promptFetched:!0,promptId:1234,showResponses:!0,showLabel:!0,tagsAdded:!0,isBloganuary:!1}}}),function(){const e=new URL(document.location.href);if(!e.pathname.endsWith("/wp-admin/post-new.php"))return;const t=e.searchParams.get("answer_prompt")??"0",n=parseInt(t);n&&async function(e){await(0,i.U)();const{insertBlocks:t}=(0,r.dispatch)("core/block-editor");t([(0,a.createBlock)(`jetpack/${name}`,{promptFetched:!1,promptId:e,tagsAdded:!0}),(0,a.createBlock)("core/paragraph")],0,void 0,!1)}(n)}()},2275:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(51806),r=n(52175),s=n(3228);const o=function({attributes:e}){const{answersLink:t,answersLinkText:n,gravatars:o,promptId:i,promptLabel:c,promptText:l,showLabel:u,showResponses:d,isBloganuary:p}=e,m=r.useBlockProps.save({className:"jetpack-blogging-prompt"}),g=(0,s.Z)(["jetpack-blogging-prompt__label"],{"is-bloganuary-icon":p});return(0,a.createElement)("div",m,u&&(0,a.createElement)("div",{className:g},c),(0,a.createElement)("div",{className:"jetpack-blogging-prompt__text"},l),d&&i&&(0,a.createElement)("div",{className:"jetpack-blogging-prompt__answers"},o.map((({url:e})=>e&&(0,a.createElement)("img",{className:"jetpack-blogging-prompt__answers-gravatar","aria-hidden":"true",src:e,key:e}))),(0,a.createElement)("a",{className:"jetpack-blogging-prompt__answers-link",href:t,target:"_blank",rel:"external noreferrer noopener"},n)))}},44266:(e,t,n)=>{"use strict";n.d(t,{n:()=>l});var a=n(86989),r=n.n(a),s=n(9818),o=n(69307),i=n(81975);function c(e){const t=(0,i.escapeHTML)(e);return r()({path:"/wp/v2/tags",method:"POST",data:{name:t}}).catch((t=>"term_exists"!==t.code?Promise.reject(t):Promise.resolve({id:t.data.term_id,name:e})))}function l(e,t,n){const{editPost:a}=(0,s.useDispatch)("core/editor"),r=(0,o.useRef)("not-started"),{postType:i,postsSupportTags:l,tags:u,tagIds:d,tagsHaveResolved:p}=(0,s.useSelect)((e=>{const{getEditedPostAttribute:t}=e("core/editor"),{getEntityRecords:n,getPostType:a,hasFinishedResolution:r}=e("core"),s=t("tags"),o={_fields:"id,name",context:"view",include:s?.join(","),per_page:-1};return{postType:t("type"),postsSupportTags:a("post")?.taxonomies.includes("post_tag"),tagIds:s||[],tags:s&&s.length?n("taxonomy","post_tag",o):[],tagsHaveResolved:!s||!s.length||r("getEntityRecords",["taxonomy","post_tag",o])}}),[]);(0,o.useEffect)((()=>{"post"===i&&l&&!t&&p&&e&&Array.isArray(u)&&("not-started"===r.current&&(u.some((e=>e.name&&"dailyprompt"===e.name))&&u.some((t=>t.name&&t.name===`dailyprompt-${e}`))?r.current="fulfilled":(r.current="pending",Promise.all([c("dailyprompt"),c(`dailyprompt-${e}`)]).then((e=>{const t=e.map((e=>e.id));a({tags:[...d,...t]}),r.current="fulfilled"})).catch((e=>{console.error(e),r.current="rejected"})))),"fulfilled"===r.current&&n(!0))}),[a,l,i,e,r,n,u,d,t,p])}},81030:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(51806),r=n(52175),s=n(55609),o=n(65736);const __=o.__;const i=function({className:e,attributes:t,setAttributes:n}){const{icon:o,name:i,description:c}=t,l=(0,r.useBlockProps)({className:e});return(0,a.createElement)(a.Fragment,null,(0,a.createElement)("hr",{className:"wp-block-separator jetpack-blogroll-item-divider"}),(0,a.createElement)("div",l,(0,a.createElement)(r.MediaUpload,{multiple:!1,onSelect:e=>{n({icon:e.url})},render:({open:e})=>(0,a.createElement)(s.Button,{variant:"link",onClick:e,style:{padding:0}},(0,a.createElement)("figure",null,(0,a.createElement)("img",{className:"blogroll-item-image",onError:e=>{e.target.parentNode.classList.add("empty-site-icon")},src:o,alt:i})))}),(0,a.createElement)("div",{className:"jetpack-blogroll-item-content"},(0,a.createElement)("a",null,(0,a.createElement)(r.RichText,{className:"jetpack-blogroll-item-title",value:i,tagName:"p",allowedFormats:["core/italic"],onChange:e=>{n({name:e})},placeholder:__("Enter site title","jetpack")})),(0,a.createElement)(r.RichText,{className:"jetpack-blogroll-item-description",value:c,onChange:e=>{n({description:e})},placeholder:__("Enter site description","jetpack")}))))}},99180:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(51806),r=n(55609);const s=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},(0,a.createElement)(r.Path,{d:"M12 12.75H21V11.25H12V12.75Z"}),(0,a.createElement)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M3 12C3 10.3431 4.34315 9 6 9C7.65685 9 9 10.3431 9 12C9 13.6569 7.65685 15 6 15C4.34315 15 3 13.6569 3 12ZM3.77743 10.8857C4.08602 10.2714 4.64181 9.80266 5.31427 9.61008C5.15499 9.79493 5.01798 10.0132 4.90612 10.2532C4.81521 10.4483 4.73949 10.6605 4.68112 10.8857H3.77743ZM3.58718 11.4C3.53956 11.5922 3.51429 11.7931 3.51429 12C3.51429 12.2069 3.53956 12.4078 3.58718 12.6H4.58166C4.55616 12.4057 4.54286 12.205 4.54286 12C4.54286 11.7949 4.55616 11.5942 4.58166 11.4H3.58718ZM5.10094 11.4C5.0724 11.5917 5.05714 11.7926 5.05714 12C5.05714 12.2074 5.0724 12.4083 5.10094 12.6H6.89907C6.92761 12.4083 6.94286 12.2074 6.94286 12C6.94286 11.7926 6.92761 11.5917 6.89906 11.4H5.10094ZM7.41834 11.4C7.44384 11.5942 7.45714 11.7949 7.45714 12C7.45714 12.2051 7.44384 12.4058 7.41835 12.6H8.41282C8.46044 12.4078 8.48571 12.2069 8.48571 12C8.48571 11.7931 8.46044 11.5922 8.41282 11.4H7.41834ZM8.22257 10.8857H7.31888C7.26051 10.6605 7.18479 10.4483 7.09388 10.2532C6.98202 10.0132 6.845 9.79493 6.68571 9.61007C7.35817 9.80265 7.91398 10.2714 8.22257 10.8857ZM6.78494 10.8857H5.21506C5.25946 10.7382 5.31227 10.5992 5.37226 10.4705C5.5421 10.1061 5.76275 9.83732 5.99999 9.67974C6.23724 9.83732 6.45789 10.1061 6.62775 10.4705C6.68773 10.5992 6.74054 10.7382 6.78494 10.8857ZM3.77743 13.1143H4.68112C4.74269 13.3519 4.82356 13.5749 4.92121 13.7787C5.0301 14.0059 5.16199 14.2132 5.31431 14.3899C4.64184 14.1974 4.08603 13.7286 3.77743 13.1143ZM6.78495 13.1143H5.21506C5.26258 13.2722 5.31973 13.4203 5.38498 13.5564C5.5534 13.9078 5.76894 14.1668 6.00003 14.3203C6.23726 14.1627 6.45791 13.8939 6.62775 13.5295C6.68773 13.4008 6.74054 13.2618 6.78495 13.1143ZM7.09388 13.7468C7.18479 13.5517 7.26052 13.3395 7.31889 13.1143H8.22257C7.91398 13.7286 7.35819 14.1973 6.68574 14.3899C6.84501 14.2051 6.98203 13.9868 7.09388 13.7468Z",strokeWidth:"0.1"}))},81697:(e,t,n)=>{"use strict";n.d(t,{Xd:()=>d,u2:()=>u});var a=n(51806),r=n(52175),s=n(65736),o=n(70355),i=n(39114),c=n(81030),l=n(99180);const __=s.__,u="blogroll-item",d={title:__("Blogroll Item","jetpack"),description:__("Blogroll Item","jetpack"),icon:{src:l.Z,foreground:(0,o.m)()},category:"grow",parent:["jetpack/blogroll"],keywords:[],supports:{align:!1,alignWide:!0,anchor:!1,customClassName:!0,className:!0,html:!1,multiple:!0,reusable:!0,inserter:!1},edit:c.Z,attributes:{id:{type:"string"},name:{type:"string"},icon:{type:"string",default:i},is_non_wpcom_site:{type:"boolean",default:!1},url:{type:"string"},description:{type:"string"}},save:()=>(0,a.createElement)(r.InnerBlocks.Content,null),example:{attributes:{}}}},75320:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(51806),r=n(37798),s=n(65736);const __=s.__;function o({results:e,onSelect:t,searchInput:n,isLoading:o}){const[i]=(0,r.useEntityProp)("root","site","Blogroll Recommendations");if(o)return(0,a.createElement)("div",{className:"jetpack-blogroll__appender-results"},(0,a.createElement)("div",{role:"status"},__("Loading…","jetpack")));const c=!n?.trim();return(0,a.createElement)("div",{className:"jetpack-blogroll__appender-results"},c&&(0,a.createElement)("div",{"aria-autocomplete":"list",className:"jetpack-blogroll__appender-result-list-header-text"},__("Suggestions","jetpack")),0===e.length&&!c&&(0,a.createElement)("div",{role:"status",className:"jetpack-blogroll__appender-no-results-message"},(0,a.createElement)("span",{className:"jetpack-blogroll__appender-no-results-message-main-text"},__("No results","jetpack")),(0,a.createElement)("span",{className:"jetpack-blogroll__appender-no-results-message-secondary-text"},(0,s.sprintf)(/* translators: %s is search query. */ -__("No sites found for %s.","jetpack"),n))),e.length>0&&(0,a.createElement)("ul",{"aria-live":"polite"},e.map((e=>{const n=i.some((t=>t?.id===e?.blog_id));return(0,a.createElement)("li",{key:e.blog_id,className:"jetpack-blogroll__appender-result-container"},(0,a.createElement)("button",{className:"jetpack-blogroll__appender-result-title",disabled:n,onClick:()=>t(e)},(0,a.createElement)("div",{className:"jetpack-blogroll__appender-result-image"},e.site_icon&&(0,a.createElement)("img",{src:e.site_icon,alt:e.name,onError:e=>{e.target.parentNode.classList.add("empty-site-icon")}})),(0,a.createElement)("div",{className:"jetpack-blogroll__appender-result-text"},(0,a.createElement)("span",{className:"jetpack-blogroll__appender-result-title"},e.name),(0,a.createElement)("span",{className:"jetpack-blogroll__appender-result-description"},e.description))))}))))}},46902:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(51806),r=n(55609),s=n(65736);const __=s.__;function o({value:e,onChange:t}){return(0,a.createElement)("div",{className:"jetpack-blogroll__appender-search"},(0,a.createElement)(r.TextControl,{__nextHasNoMarginBottom:!0,label:__("Search for sites to add","jetpack"),hideLabelFromVision:!0,placeholder:__("Search…","jetpack"),value:e,onChange:e=>t(e)}))}},53335:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var a=n(51806),r=n(55609),s=n(9818),o=n(69307),i=n(65736),c=n(11908),l=n(1219),u=n(95686),d=n(75320),p=n(46902);const __=i.__;function m({isLoading:e,subscriptions:t,clientId:n}){const[i,m]=(0,o.useState)(!1),[g,A]=(0,o.useState)(),[h,E]=(0,o.useState)(""),{insertBlock:f}=(0,s.dispatch)("core/block-editor"),{siteDetails:b,isLoading:v}=(0,l.Z)({siteURL:h,subscriptions:t,enabled:h});return e?(0,a.createElement)(r.Spinner,{className:"jetpack-blogroll__appender-spinner"}):(0,a.createElement)(a.Fragment,null,(0,a.createElement)(r.Button,{className:"block-editor-button-blogroll-block-appender",ref:A,icon:c.Z,label:__("Add Blogroll Item","jetpack"),onClick:()=>{m((e=>!e))}}),i&&(0,a.createElement)(r.Popover,{anchor:g,className:"jetpack-blogroll__appender"},(0,a.createElement)(p.Z,{value:h,onChange:E}),(0,a.createElement)(d.Z,{results:b,onSelect:e=>{f((0,u.UW)(e),void 0,n),m(!1)},searchInput:h,isLoading:v})))}},11417:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var a=n(51806),r=n(52175),s=n(4981),o=n(55609),i=n(9818),c=n(69307),l=n(65736),u=n(3228),d=n(53335),p=n(49105),m=n(56054),g=n(7973),A=n(95686);const __=l.__;const h=function({className:e,attributes:t,setAttributes:n,clientId:l}){const{show_avatar:h,show_description:E,open_links_new_window:f,ignore_user_blogs:b,load_placeholders:v}=t,{isLoading:C,recommendations:k,errorMessage:y}=(0,p.Z)(v),{isLoading:B,subscriptions:w,errorMessage:_}=(0,g.Z)({ignore_user_blogs:b});(0,m.k)({clientId:l});const{replaceInnerBlocks:I}=(0,i.dispatch)("core/block-editor");(0,c.useEffect)((()=>{if(v&&k.length){n({load_placeholders:!1});const e=[(0,s.createBlock)("core/heading",{content:__("Blogroll","jetpack"),level:3}),...k.map(A.v5)];I(l,e)}}),[k,v,n,l,I]);const j=(0,r.useBlockProps)({className:(0,u.Z)(e,{"hide-avatar":!h,"hide-description":!E})}),x=y||_;return(0,a.createElement)("div",j,(0,a.createElement)(r.InnerBlocks,{template:[["core/heading",{content:__("Blogroll","jetpack"),level:3}]],allowedBlocks:["jetpack/blogroll-item"],renderAppender:()=>!C&&(0,a.createElement)(d.Z,{isLoading:B,subscriptions:w,clientId:l})}),x&&(0,a.createElement)(o.Notice,{status:"error",isDismissible:!1},(0,a.createElement)("p",null,x)),v&&C&&(0,a.createElement)(o.FlexBlock,{style:{padding:"30px",textAlign:"center"}},(0,a.createElement)(o.Spinner,null)),(0,a.createElement)(r.InspectorControls,null,(0,a.createElement)(o.PanelBody,{title:__("Settings","jetpack")},(0,a.createElement)(o.ToggleControl,{label:__("Show avatar","jetpack"),checked:!!h,onChange:()=>n({show_avatar:!h})}),(0,a.createElement)(o.ToggleControl,{label:__("Show description","jetpack"),checked:!!E,onChange:()=>n({show_description:!E})}),(0,a.createElement)(o.ToggleControl,{label:__("Open links in a new window","jetpack"),checked:!!f,onChange:()=>n({open_links_new_window:!f})}),(0,a.createElement)(o.ToggleControl,{label:__("Hide my own sites","jetpack"),checked:!!b,onChange:()=>n({ignore_user_blogs:!b})}))))}},30070:(e,t,n)=>{"use strict";var a=n(31985),r=n(28546),s=n(81697),o=n(11417),i=n(45243);(0,a.S)(r,{edit:o.Z,save:i.Z},[{name:s.u2,settings:s.Xd}])},45243:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(51806),r=n(52175),s=n(3228);const o=function({attributes:{show_avatar:e,show_description:t},className:n}){const o=r.useBlockProps.save({className:(0,s.Z)(n,{"hide-avatar":!e,"hide-description":!t})});return(0,a.createElement)("div",o,(0,a.createElement)(r.InnerBlocks.Content,null))}},53114:(e,t,n)=>{"use strict";n.d(t,{W:()=>s});var a=n(69307),r=n(95686);function s(e,t=!0){const[n,s]=(0,a.useState)(null),[o,i]=(0,a.useState)(null),[c,l]=(0,a.useState)(!1),u=function(e,t=100){const[n,r]=(0,a.useState)(e);return(0,a.useEffect)((()=>{const n=setTimeout((()=>{r(e)}),t);return()=>{clearTimeout(n)}}),[e,t]),n}((0,r.jo)(e),500);return(0,a.useEffect)((()=>{if(l(Boolean(t&&u)),t&&u){const e=new AbortController;return fetch(`https://public-api.wordpress.com/rest/v1.1/sites/${encodeURIComponent(u)}?force=wpcom`,{cache:"force-cache",signal:e.signal}).then((e=>{if(200===e.status)return e.json();e.status})).then((e=>{s(e),l(!1)})).catch((e=>{"AbortError"!==e.name&&i(e)})),()=>e.abort()}}),[u,t]),{response:n,error:o,isLoading:c}}},1219:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(53114),r=n(95686);function s({siteURL:e,subscriptions:t,enabled:n=!1}){const s=(0,r.jo)(e),{response:o,isLoading:i}=(0,a.W)(s,Boolean(n)),c=[...o?[{blog_id:o?.ID.toString(),description:o?.description,URL:o?.URL,site_icon:(0,r.ze)(o?.logo?.url),name:o?.name}]:[],...t].filter((t=>`${t.name}${t.URL}`.match(new RegExp(e,"i"))));return 0===c.length&&s&&c.unshift({blog_id:s,description:"",URL:s,site_icon:(0,r.ze)(null),name:s,is_non_wpcom_site:!0}),{isLoading:i,siteDetails:c}}},49105:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(86989),r=n.n(a),s=n(69307),o=n(65736);const __=o.__;function i(e=!1){const[t,n]=(0,s.useState)(!1),[a,o]=(0,s.useState)(null),[i,c]=(0,s.useState)([]),l=(0,s.useRef)();return(0,s.useEffect)((()=>{e?(n(!0),o(null),l.current&&l.current.abort(),l.current="undefined"==typeof AbortController?void 0:new AbortController,r()({path:"/wpcom/v2/following/recommendations",global:!0,method:"GET",signal:l.current?.signal}).then((e=>{e.length||o(__("No subscriptions found. You need to follow some sites in order to see results.","jetpack")),c(e)})).catch((e=>{"AbortError"!==e.name&&(e.message?o(e.message):o(__("Whoops, we have encountered an error. Please try again later.","jetpack")))})).finally((()=>{l.current=null,n(!1)}))):n(!1)}),[e]),{isLoading:t,errorMessage:a,recommendations:i}}},56054:(e,t,n)=>{"use strict";n.d(t,{k:()=>i});var a=n(37798),r=n(9818),s=n(69307),o=n(95686);const i=({clientId:e})=>{const[t,n]=(0,s.useState)(!1),{insertBlocks:i}=(0,r.useDispatch)("core/block-editor"),[c,l]=(0,a.useEntityProp)("root","site","Blogroll Recommendations"),u=(0,r.useSelect)((t=>t("core/block-editor").getBlock(e).innerBlocks.filter((({name:e})=>"jetpack/blogroll-item"===e)).map((({attributes:e})=>e))),[e]);(0,s.useEffect)((()=>{if(!t&&c){const t=c.filter((e=>!u.some((t=>t.id===e.id))));if(t.length){const n=t.map(o.v5);i(n,void 0,e)}n(!0)}}),[e,c,u,t,i]),(0,s.useEffect)((()=>{void 0!==c&&l(u)}),[u])}},7973:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var a=n(86989),r=n.n(a),s=n(69307),o=n(65736),i=n(96483),c=n(95686);const __=o.__;function l({ignore_user_blogs:e}){const[t,n]=(0,s.useState)(!1),[a,o]=(0,s.useState)(null),[l,u]=(0,s.useState)([]),d=(0,s.useRef)();return(0,s.useEffect)((()=>{n(!0),o(null),d.current&&d.current.abort(),d.current="undefined"==typeof AbortController?void 0:new AbortController,r()({path:(0,i.addQueryArgs)("/wpcom/v2/following/mine",{ignore_user_blogs:e}),global:!0,method:"GET",signal:d.current?.signal}).then((e=>{e.length||o(__("No subscriptions found. You need to follow some sites in order to see results.","jetpack")),e=e.map((e=>(e.site_icon=(0,c.ze)(e.site_icon),e))),u(e)})).catch((e=>{"AbortError"!==e.name&&(e.message?o(e.message):o(__("Whoops, we have encountered an error. Please try again later.","jetpack")))})).finally((()=>{d.current=null,n(!1)}))}),[e]),{isLoading:t,errorMessage:a,subscriptions:l}}},95686:(e,t,n)=>{"use strict";n.d(t,{UW:()=>o,jo:()=>i,v5:()=>s,ze:()=>c});var a=n(4981),r=n(39114);function s(e){let t;try{t=new URL(e?.url)?.host.replace(/^www\./,"")}catch(n){t=e?.URL}return(0,a.createBlock)("jetpack/blogroll-item",{...e,...!e.name&&{name:t}})}function o(e){const{blog_id:t,site_icon:n,URL:a,name:r,description:o,is_non_wpcom_site:i}=e;return s({id:t,icon:n,url:a,name:r,description:o,is_non_wpcom_site:i})}function i(e){if(!e)return null;const t=new RegExp("^([a-zA-Z]+:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])?)\\.)+[a-z]{2,})","i");try{return new URL(e)?.host}catch(n){return e.match(t)?.[2]??null}}function c(e){return e||r}},50756:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var a=n(51806),r=n(55609),s=n(69307),o=n(65736),i=n(3228),c=n(92819);const __=o.__,l="09:00",u="17:00";class d extends s.Component{renderInterval=(e,t)=>{const{day:n}=this.props,{opening:o,closing:c}=e;return(0,a.createElement)(s.Fragment,{key:t},(0,a.createElement)("div",{className:"business-hours__row"},(0,a.createElement)("div",{className:(0,i.Z)(n.name,"business-hours__day")},0===t&&this.renderDayToggle()),(0,a.createElement)("div",{className:(0,i.Z)(n.name,"business-hours__hours")},(0,a.createElement)(r.TextControl,{type:"time",label:__("Opening","jetpack"),value:o,className:"business-hours__open",placeholder:l,onChange:e=>{this.setHour(e,"opening",t)}}),(0,a.createElement)(r.TextControl,{type:"time",label:__("Closing","jetpack"),value:c,className:"business-hours__close",placeholder:u,onChange:e=>{this.setHour(e,"closing",t)}})),(0,a.createElement)("div",{className:"business-hours__remove"},n.hours.length>1&&(0,a.createElement)(r.Button,{isSmall:!0,variant:"link",icon:"trash",label:__("Remove Hours","jetpack"),onClick:()=>{this.removeInterval(t)}}))),t===n.hours.length-1&&(0,a.createElement)("div",{className:"business-hours__row business-hours-row__add"},(0,a.createElement)("div",{className:(0,i.Z)(n.name,"business-hours__day")}," "),(0,a.createElement)("div",{className:(0,i.Z)(n.name,"business-hours__hours")},(0,a.createElement)(r.Button,{variant:"link",label:__("Add Hours","jetpack"),onClick:this.addInterval},__("Add Hours","jetpack"))),(0,a.createElement)("div",{className:"business-hours__remove"}," ")))};setHour=(e,t,n)=>{const{day:a,attributes:r,setAttributes:s}=this.props,{days:o}=r;s({days:o.map((r=>r.name===a.name?{...r,hours:r.hours.map(((a,r)=>r===n?{...a,[t]:e}:a))}:r))})};toggleClosed=e=>{const{day:t,attributes:n,setAttributes:a}=this.props,{days:r}=n;a({days:r.map((n=>{if(n.name===t.name){const t=e?[{opening:l,closing:u}]:[];return{...n,hours:t}}return n}))})};addInterval=()=>{const{day:e,attributes:t,setAttributes:n}=this.props,{days:a}=t;e.hours.push({opening:"",closing:""}),n({days:a.map((t=>t.name===e.name?{...t,hours:e.hours}:t))})};removeInterval=e=>{const{day:t,attributes:n,setAttributes:a}=this.props,{days:r}=n;a({days:r.map((n=>t.name===n.name?{...n,hours:n.hours.filter(((t,n)=>e!==n))}:n))})};isClosed(){const{day:e}=this.props;return(0,c.isEmpty)(e.hours)}renderDayToggle(){const{day:e,localization:t}=this.props;return(0,a.createElement)(s.Fragment,null,(0,a.createElement)("span",{className:"business-hours__day-name"},t.days[e.name]),(0,a.createElement)(r.ToggleControl,{label:this.isClosed()?__("Closed","jetpack"):__("Open","jetpack"),checked:!this.isClosed(),onChange:this.toggleClosed}))}renderClosed(){const{day:e}=this.props;return(0,a.createElement)("div",{className:"business-hours__row business-hours-row__closed"},(0,a.createElement)("div",{className:(0,i.Z)(e.name,"business-hours__day")},this.renderDayToggle()),(0,a.createElement)("div",{className:(0,i.Z)(e.name,"closed","business-hours__hours")}," "),(0,a.createElement)("div",{className:"business-hours__remove"}," "))}render(){const{day:e}=this.props;return this.isClosed()?this.renderClosed():e.hours.map(this.renderInterval)}}const p=d},80190:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(51806),r=n(69307),s=n(65736),o=n(92819);const _x=s._x,i="undefined"!=typeof window&&window.navigator?.language||"en",c=Intl?.DateTimeFormat?new Intl.DateTimeFormat(i,{hour:"numeric",minute:"numeric",hour12:!0}):null;class l extends r.Component{formatTime(e){const[t,n]=e.split(":");if(!t||!n)return!1;const a=new Date;return a.setHours(t),a.setMinutes(n),c?c.format(a):e}renderInterval=(e,t)=>{const{day:n}=this.props,r=n.hours;return(0,a.createElement)("span",{key:t},(0,s.sprintf)("%1$s - %2$s",this.formatTime(e.opening),this.formatTime(e.closing)),r.length>1+t&&(0,a.createElement)("span",null,", "))};render(){const{day:e,localization:t}=this.props,n=e.hours.filter((e=>this.formatTime(e.opening)&&this.formatTime(e.closing)));return(0,a.createElement)("div",{className:"jetpack-business-hours__item"},(0,a.createElement)("dt",{className:e.name},t.days[e.name]),(0,a.createElement)("dd",null,(0,o.isEmpty)(n)?_x("Closed","business is closed on a full day","jetpack"):n.map(this.renderInterval),(0,a.createElement)("br",null)))}}const u=l},86162:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var a=n(82674),r=n.n(a),s=n(51806),o=n(13419),i=n(86989),c=n.n(i),l=n(52175),u=n(55609),d=n(69771),p=n(69307),m=n(65736),g=n(22023),A=n(50756),h=n(80190);const __=m.__,E=(0,o.dM)(g),f={days:{Sun:__("Sunday","jetpack"),Mon:__("Monday","jetpack"),Tue:__("Tuesday","jetpack"),Wed:__("Wednesday","jetpack"),Thu:__("Thursday","jetpack"),Fri:__("Friday","jetpack"),Sat:__("Saturday","jetpack")},startOfWeek:0},b=e=>{const{attributes:t,isSelected:n}=e,a=(0,l.useBlockProps)(),[o,i]=(0,p.useState)(f),[m,g]=(0,p.useState)(!1),{days:b}=t,{startOfWeek:v}=o,C=b.concat(b.slice(0,v)).slice(v);let k;if((0,p.useEffect)((()=>{c()({path:"/wpcom/v2/business-hours/localized-week"}).then((e=>{i(e),g(!0)}),(()=>{i(f),g(!0)}))}),[]),m)if(n)k=(0,s.createElement)("div",{className:"is-edit"},C.map(((t,n)=>(0,s.createElement)(A.Z,r()({key:n,day:t,localization:o},e)))));else{const e=(0,d.getSettings)(),{formats:{time:t}}=e;k=(0,s.createElement)("dl",{className:"jetpack-business-hours"},C.map(((e,n)=>(0,s.createElement)(h.Z,{key:n,day:e,localization:o,timeFormat:t}))))}else k=(0,s.createElement)(u.Placeholder,{icon:E,label:__("Loading business hours","jetpack")});return(0,s.createElement)("div",a,k)}},60866:(e,t,n)=>{"use strict";var a=n(51806),r=n(31985),s=n(22023),o=n(86162);(0,r.S)(s,{edit:e=>(0,a.createElement)(o.Z,e),save:()=>null})},98625:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(55609),r=n(92819);const s=(0,a.withFallbackStyles)(((e,t)=>{const{backgroundColor:n,textColor:a}=t,s=(0,r.get)(n,"color"),o=!(0,r.get)(a,"color")&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:s||!e?void 0:getComputedStyle(e).backgroundColor,fallbackTextColor:a||!o?void 0:getComputedStyle(o).color}}))},70424:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(24381);const r={element:{type:"string",enum:["a","button","input"]},saveInPostContent:{type:"boolean",default:!1},uniqueId:{type:"string"},passthroughAttributes:{type:"object"},text:{type:"string"},placeholder:{type:"string"},url:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string",validator:a.Z},backgroundColor:{type:"string"},customBackgroundColor:{type:"string",validator:a.Z},gradient:{type:"string"},customGradient:{type:"string"},borderRadius:{type:"number"},width:{type:"string"}}},43043:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(51806),r=n(55609),s=n(69307),o=n(65736),i=n(90446);const __=o.__;function c({borderRadius:e="",setAttributes:t}){const n=(0,s.useCallback)((e=>t({borderRadius:e})),[t]);return(0,a.createElement)(r.PanelBody,{title:__("Border Settings","jetpack")},(0,a.createElement)(r.RangeControl,{allowReset:!0,initialPosition:i.pg,label:__("Border radius","jetpack"),max:i.Gp,min:i.G0,onChange:n,value:e}))}},36953:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(51806),r=n(52175),s=n(65736);const __=s.__;function o({isGradientAvailable:e,backgroundColor:t,fallbackBackgroundColor:n,fallbackTextColor:s,gradientValue:o,setBackgroundColor:i,setGradient:c,setTextColor:l,textColor:u}){const d=(0,a.createElement)(r.ContrastChecker,{backgroundColor:t.color,fallbackBackgroundColor:n,fallbackTextColor:s,isLargeText:!1,textColor:u.color});return e?(0,a.createElement)(r.__experimentalPanelColorGradientSettings,{settings:[{colorValue:u.color,label:__("Text Color","jetpack"),onColorChange:l},{colorValue:t.color,gradientValue:o,label:__("Background","jetpack"),onColorChange:i,onGradientChange:c}],title:__("Background & Text Color","jetpack")},d):(0,a.createElement)(r.PanelColorSettings,{colorSettings:[{value:u.color,onChange:l,label:__("Text Color","jetpack")},{value:t.color,onChange:i,label:__("Background","jetpack")}],title:__("Background & Text Color","jetpack")},d)}},90446:(e,t,n)=>{"use strict";n.d(t,{DA:()=>r,G0:()=>i,Gp:()=>o,pg:()=>s});var a=n(52175);const r=!!a.__experimentalUseGradient,s=5,o=50,i=0},29343:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(51806),r=n(9818),s=n(30429),o=n(43043),i=n(36953);function c({attributes:e,backgroundColor:t,clientId:n,context:c,fallbackBackgroundColor:l,fallbackTextColor:u,setAttributes:d,setBackgroundColor:p,setTextColor:m,textColor:g,gradientValue:A,setGradient:h,isGradientAvailable:E}){const{align:f,borderRadius:b}=e,v="jetpack/parentBlockWidth"in c,C=v?c["jetpack/parentBlockWidth"]:e.width,k=(0,r.useSelect)((e=>{const{getBlock:t,getBlockRootClientId:a}=e("core/block-editor");return t(a(n))})),{updateBlockAttributes:y}=(0,r.useDispatch)("core/block-editor");return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(i.Z,{backgroundColor:t,fallbackBackgroundColor:l,fallbackTextColor:u,gradientValue:A,setBackgroundColor:p,setGradient:h,setTextColor:m,textColor:g,isGradientAvailable:E}),(0,a.createElement)(o.Z,{borderRadius:b,setAttributes:d}),(0,a.createElement)(s.G,{align:f,width:C,onChange:e=>{v?y(k.clientId,{width:e}):d({width:e})}}))}},5501:(e,t,n)=>{"use strict";n.d(t,{Z:()=>A});var a=n(82674),r=n.n(a),s=n(51806),o=n(52175),i=n(94333),c=n(65736),l=n(3228),u=n(81673),d=n(98625),p=n(90446),m=n(29343),g=n(16969);const __=c.__;const A=(0,i.compose)((0,o.withColors)({backgroundColor:"background-color"},{textColor:"color"}),d.Z)((function(e){const{attributes:t,backgroundColor:n,className:a,clientId:i,context:c,setAttributes:d,textColor:A}=e,{borderRadius:h,element:E,placeholder:f,text:b,width:v,fontSize:C}=t,k="jetpack/parentBlockWidth"in c;(0,g.Z)({attributes:t,clientId:i,setAttributes:d}),(0,u.Z)({attributes:t,disableEffects:k,setAttributes:d});const{gradientClass:y,gradientValue:B,setGradient:w}=p.DA?(0,o.__experimentalUseGradient)({gradientAttribute:"gradient",customGradientAttribute:"customGradient"}):{},_=(0,l.Z)("wp-block-button",a),I=(0,l.Z)("wp-block-button__link",{"has-background":n.color||B,[n.class]:!B&&n.class,"has-text-color":A.color,[A.class]:A.class,[y]:y,"no-border-radius":0===h,"has-custom-width":!!v,[`has-${C}-font-size`]:!!C,"has-custom-font-size":!!C}),j={...!n.color&&B?{background:B}:{backgroundColor:n.color},fontSize:t.style?.typography?.fontSize,color:A.color,borderRadius:h?h+"px":void 0,width:v};return(0,s.createElement)("div",{className:_},(0,s.createElement)(o.RichText,{allowedFormats:"input"===E?[]:void 0,className:I,disableLineBreaks:"input"===E,onChange:e=>d({text:e}),placeholder:f||__("Add text…","jetpack"),style:j,value:b,withoutInteractiveFormatting:!0}),(0,s.createElement)(o.InspectorControls,null,(0,s.createElement)(m.Z,r()({gradientValue:B,setGradient:w,isGradientAvailable:p.DA},e))))}))},48887:(e,t,n)=>{"use strict";var a=n(31985),r=n(77123);(0,a.Z)(r.u,r.X)},26361:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(51806),r=n(55609);const s=(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)(r.Path,{d:"M19 6.5H5c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v7zM8 13h8v-1.5H8V13z"}))},77123:(e,t,n)=>{"use strict";n.d(t,{X:()=>u,u:()=>l});var a=n(65736),r=n(5820),s=n(70424),o=n(5501),i=n(26361),c=n(29586);const __=a.__,l="button",u={title:__("Button","jetpack"),icon:i.Z,category:(0,r.Z)("design","layout"),keywords:[],supports:{html:!1,inserter:!1,align:["left","center","right"],typography:{fontSize:!0,__experimentalFontFamily:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}}},styles:[{name:"fill",label:__("Fill","jetpack"),isDefault:!0},{name:"outline",label:__("Outline","jetpack")}],attributes:s.Z,edit:o.Z,save:c.Z,usesContext:["jetpack/parentBlockWidth"]}},29586:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(51806),r=n(52175),s=n(3228),o=n(90446);function i({attributes:e,blockName:t,uniqueId:n}){const{backgroundColor:i,borderRadius:c,className:l,customBackgroundColor:u,customGradient:d,customTextColor:p,gradient:m,saveInPostContent:g,text:A,textColor:h,url:E,width:f,fontSize:b}=e;if(!g)return null;const v=(0,r.getColorClassName)("background-color",i),C=o.DA?(0,r.__experimentalGetGradientClass)(m):void 0,k=(0,r.getColorClassName)("color",h),y=(0,s.Z)("wp-block-button","jetpack-submit-button",l,{[`wp-block-jetpack-${t}`]:t}),B=(0,s.Z)("wp-block-button__link",{"has-text-color":h||p,[k]:k,"has-background":i||m||u||d,[v]:v,[C]:C,"no-border-radius":0===c,"has-custom-width":!!f,[`has-${b}-font-size`]:!!b,"has-custom-font-size":!!b}),w={background:d||void 0,backgroundColor:v||d||m?void 0:u,fontSize:e.style?.typography?.fontSize,color:k?void 0:p,borderRadius:c?c+"px":void 0,width:f};return(0,a.createElement)("div",{className:y},(0,a.createElement)(r.RichText.Content,{className:B,"data-id-attr":n||"placeholder",href:E,id:n,rel:"noopener noreferrer",role:"button",style:w,tagName:"a",target:"_blank",value:A}))}},16969:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9818),r=n(69307),s=n(92819);function o({attributes:e,clientId:t,setAttributes:n}){const{passthroughAttributes:o}=e,{attributesToSync:i}=(0,a.useSelect)((n=>{const{getBlockAttributes:a,getBlockRootClientId:r}=n("core/block-editor"),i=a(r(t))||{},c=(0,s.mapValues)(o,(e=>i[e]));return{attributesToSync:(0,s.pickBy)(c,((t,n)=>t!==e[n]))}}));(0,r.useEffect)((()=>{(0,s.isEmpty)(i)||n(i)}),[i,n])}},39964:(e,t,n)=>{"use strict";n.d(t,{l:()=>a});const a="https://calendly.com/wpcom/jetpack-block-example"},60153:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>d});var a=n(51806),r=n(13419),s=n(52175),o=n(55609),i=n(65736),c=n(57538);const __=i.__,_x=i._x,l=({onEditClick:e})=>(0,a.createElement)(o.ToolbarGroup,null,(0,a.createElement)(o.ToolbarButton,{onClick:()=>e(!0)},__("Edit","jetpack"))),u=e=>{const{attributes:{hideEventTypeDetails:t,url:n},defaultClassName:s,embedCode:i,parseEmbedCode:c,setAttributes:l,setEmbedCode:u}=e;let d=null;return n&&(d=(0,r.Ug)()||(0,r.Wp)()?"https://wordpress.com/support/wordpress-editor/blocks/calendly-block/#customize-the-calendly-block":"https://jetpack.com/support/jetpack-blocks/calendly-block/#customizing-a-calendly-block"),(0,a.createElement)(a.Fragment,null,(0,a.createElement)(o.PanelBody,{PanelBody:!0,title:__("Calendar settings","jetpack"),initialOpen:!1},(0,a.createElement)("form",{onSubmit:c,className:`${s}-embed-form-sidebar`},(0,a.createElement)("input",{type:"text",id:"embedCode",onChange:e=>u(e.target.value),placeholder:__("Calendly web address or embed code…","jetpack"),value:i||"",className:"components-placeholder__input"}),(0,a.createElement)("div",null,(0,a.createElement)(o.Button,{variant:"secondary",type:"submit"},_x("Embed","button label","jetpack")))),(0,a.createElement)(o.ToggleControl,{label:__("Hide event type details","jetpack"),checked:t,onChange:()=>l({hideEventTypeDetails:!t})})),d&&(0,a.createElement)(o.Notice,{className:`${s}-color-notice`,isDismissible:!1},(0,a.createElement)(o.ExternalLink,{href:d},__("Explore more customization options.","jetpack"))))},d=e=>{const{attributes:t,clientId:n,isEditingUrl:r,setAttributes:o,setIsEditingUrl:i}=e,{style:d,url:p}=t,m=[{value:"inline",label:__("Inline","jetpack")},{value:"link",label:__("Link","jetpack")}];return(0,a.createElement)(a.Fragment,null,p&&!r&&(0,a.createElement)(s.BlockControls,null,(0,a.createElement)(l,{onEditClick:i})),p&&(0,a.createElement)(c.Z,{clientId:n,styleOptions:m,onSelectStyle:o,activeStyle:d,attributes:t,viewportWidth:500}),(0,a.createElement)(s.InspectorControls,null,(0,a.createElement)(u,e)))}},83830:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(51806),r=n(4981),s=n(65736),o=n(24381);const __=s.__,i={attributes:{backgroundColor:{type:"string",default:"ffffff",validator:o.Z},submitButtonText:{type:"string",default:__("Schedule time with me","jetpack")},submitButtonTextColor:{type:"string"},submitButtonBackgroundColor:{type:"string"},submitButtonClasses:{type:"string"},hideEventTypeDetails:{type:"boolean",default:!1},primaryColor:{type:"string",default:"00A2FF",validator:o.Z},textColor:{type:"string",default:"4D5055",validator:o.Z},style:{type:"string",default:"inline",validValues:["inline","link"]},url:{type:"string",validator:e=>!e||e.startsWith("https://calendly.com/")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string",validator:o.Z},customTextButtonColor:{type:"string",validator:o.Z}},migrate:e=>{const{submitButtonText:t,submitButtonTextColor:n,submitButtonBackgroundColor:a,submitButtonClasses:s,backgroundButtonColor:o,textButtonColor:i,customBackgroundButtonColor:c,customTextButtonColor:l,...u}=e,d={text:(p=e).submitButtonText||__("Schedule time with me","jetpack"),textColor:p.submitButtonTextColor||p.textButtonColor,customTextColor:p.customTextButtonColor,backgroundColor:p.submitButtonBackgroundColor||p.backgroundButtonColor,customBackgroundColor:p.customBackgroundButtonColor,url:p.url};var p;return[u,[(0,r.createBlock)("jetpack/button",{element:"a",uniqueId:"calendly-widget-id",...d})]]},save:({attributes:{url:e}})=>(0,a.createElement)("a",{href:e},e)}},29415:(e,t,n)=>{"use strict";n.d(t,{Z:()=>B});var a=n(82674),r=n.n(a),s=n(51806),o=n(13419),i=n(52175),c=n(4981),l=n(55609),u=n(9818),d=n(69307),p=n(65736),m=n(3228),g=n(92819),A=n(4554),h=n(23621),E=n(23329),f=n(39964),b=n(60153),v=n(4867);const __=p.__,_x=p._x,C="jetpack/button",k={element:"a",text:__("Schedule time with me","jetpack"),uniqueId:"calendly-widget-id",url:f.l},y=(0,o.dM)(E);const B=(0,l.withNotices)((function(e){const{attributes:t,clientId:n,name:a,noticeOperations:o,noticeUI:p,setAttributes:B}=e,w=(0,c.getBlockDefaultClassName)(a),_=(0,A.S)(E.attributes,t);(0,g.isEqual)(_,t)||B(_);const{backgroundColor:I,hideEventTypeDetails:j,primaryColor:x,textColor:S,style:Q,url:N}=_,[R,P]=(0,d.useState)(N),[Z,T]=(0,d.useState)(!1),[L,M]=(0,d.useState)(!1),[D,F]=(0,d.useState)({}),z=(0,i.useBlockProps)(),O=()=>{o.removeAllNotices(),o.createErrorNotice(__("Your calendar couldn't be embedded. Please double check your URL or code.","jetpack"))};(0,d.useEffect)((()=>{N&&f.l!==N&&"link"!==Q&&(0,h.Z)(N,M).catch((()=>{B({url:void 0}),O()}))}),[]);const U=e=>{if(!e)return void O();e.preventDefault();const t=(0,v.CC)(R);if(t){if(t.buttonAttributes&&"link"===t.style){const e=(0,u.select)("core/editor").getBlocksByClientId(n);e.length&&e[0].innerBlocks.forEach((e=>{(0,u.dispatch)("core/editor").updateBlockAttributes(e.clientId,t.buttonAttributes)})),F(t.buttonAttributes)}(0,h.Z)(t.url,M).then((()=>{const e=(0,A.S)(E.attributes,t);B(e),T(!1),o.removeAllNotices()})).catch((()=>{B({url:void 0}),O()}))}else O()},H=(0,s.createElement)("div",{className:"wp-block-embed is-loading"},(0,s.createElement)(l.Spinner,null),(0,s.createElement)("p",null,__("Embedding…","jetpack"))),V=(0,s.createElement)(l.Placeholder,{label:__("Calendly","jetpack"),instructions:__("Enter your Calendly web address or embed code below.","jetpack"),icon:y,notices:p},(0,s.createElement)("form",{onSubmit:U},(0,s.createElement)("input",{type:"text",id:"embedCode",onChange:e=>P(e.target.value),placeholder:__("Calendly web address or embed code…","jetpack"),value:R||"",className:"components-placeholder__input"}),(0,s.createElement)("div",null,(0,s.createElement)(l.Button,{variant:"secondary",type:"submit"},_x("Embed","button label","jetpack")))),(0,s.createElement)("div",{className:`${w}-learn-more`},(0,s.createElement)(l.ExternalLink,{href:"https://help.calendly.com/hc/en-us/articles/223147027-Embed-options-overview"},__("Need help finding your embed code?","jetpack")))),q=(0,s.createElement)(s.Fragment,null,(0,s.createElement)("div",{className:`${w}-overlay`}),(0,s.createElement)("iframe",{src:(()=>{const e=new URLSearchParams({embed_domain:"wordpress.com",embed_type:"Inline",hide_event_type_details:j?1:0,background_color:I,primary_color:x,text_color:S});return`${N}?${e}`})(),width:"100%",height:"100%",frameBorder:"0","data-origwidth":"100%","data-origheight":"100%",title:"Calendly"})),G=(0,s.createElement)(i.InnerBlocks,{template:[[C,{...k,...D,passthroughAttributes:{url:"url"}}]],templateLock:"all"});return L?H:(0,s.createElement)("div",r()({},z,{className:(0,m.Z)(z.className,{[`calendly-style-${Q}`]:N&&!Z})}),(0,s.createElement)(b.ZP,r()({},e,{defaultClassName:w,embedCode:R,isEditingUrl:Z,parseEmbedCode:U,setEmbedCode:P,setIsEditingUrl:T})),N&&!Z?"inline"===Q?q:G:V)}))},52020:(e,t,n)=>{"use strict";var a=n(4981),r=n(31985),s=n(23329),o=n(83830),i=n(29415),c=n(15816),l=n(4867);(0,r.S)(s,{edit:i.Z,save:c.Z,transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&l.mL.test(e.textContent),transform:e=>{const t=(0,l.CC)(e.textContent);return(0,a.createBlock)("jetpack/calendly",t)}}]},deprecated:[o.Z]})},15816:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(51806),r=n(52175);function s(){const e=r.useBlockProps.save();return(0,a.createElement)("div",e,(0,a.createElement)(r.InnerBlocks.Content,null))}},4867:(e,t,n)=>{"use strict";n.d(t,{CC:()=>r,mL:()=>a});const a=/(^|\/\/)(calendly\.com[^"']*)/i,r=e=>{if(!e)return;const t=(e=>{const t=e.match(a);if(t)return"https://"+t[2]})(e);if(!t)return;const n=(e=>{const t={},n=new URL(e);if(t.url=n.origin+n.pathname,!n.search)return t;const a=new URLSearchParams(n.search),r=a.get("background_color"),s=a.get("primary_color"),o=a.get("text_color"),i=/^[A-Za-z0-9]{6}$/;return a.get("hide_event_type_details")&&(t.hideEventTypeDetails=a.get("hide_event_type_details")),r&&r.match(i)&&(t.backgroundColor=r),s&&s.match(i)&&(t.primaryColor=s),o&&o.match(i)&&(t.textColor=o),t})(t),r=(e=>e.indexOf("data-url")>0?"inline":e.indexOf("initPopupWidget")>0||e.indexOf("initBadgeWidget")>0?"link":void 0)(e);if(r&&(n.style=r),"link"===r){n.buttonAttributes={};const t=(e=>{let t=e.match(/false;">([^<]+)<\//);return t?t[1]:(t=e.match(/text: '([^']*?)'/),t?t[1]:void 0)})(e);t&&(n.buttonAttributes.text=t);const a=(e=>{const t=e.match(/textColor: '([^']*?)'/);if(t)return t[1]})(e);a&&(n.buttonAttributes.textColor=void 0,n.buttonAttributes.customTextColor=a);const r=(e=>{const t=e.match(/color: '([^']*?)'/);if(t)return t[1]})(e);r&&(n.buttonAttributes.backgroundColor=void 0,n.buttonAttributes.customBackgroundColor=r)}return n}},36553:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(51806),r=n(52175),s=n(55609),o=n(69307),i=n(65736),c=n(3228),l=n(35208);const __=i.__;class u extends o.Component{constructor(...e){super(...e),this.preventEnterKey=this.preventEnterKey.bind(this)}preventEnterKey(e){"Enter"!==e.key||e.preventDefault()}render(){const{attributes:{address:e,addressLine2:t,addressLine3:n,city:i,region:u,postal:d,country:p,linkToGoogleMaps:m},isSelected:g,setAttributes:A}=this.props,h=[e,t,n,i,u,d,p].some((e=>""!==e)),E=(0,c.Z)({"jetpack-address-block":!0,"is-selected":g}),f=(0,a.createElement)(s.ToggleControl,{label:__("Link address to Google Maps","jetpack"),checked:m,onChange:e=>A({linkToGoogleMaps:e})});return(0,a.createElement)("div",{className:E},!g&&h&&(0,l.Z)(this.props),(g||!h)&&(0,a.createElement)(o.Fragment,null,(0,a.createElement)(r.PlainText,{value:e,placeholder:__("Street Address","jetpack"),"aria-label":__("Street Address","jetpack"),onChange:e=>A({address:e}),onKeyDown:this.preventEnterKey}),(0,a.createElement)(r.PlainText,{value:t,placeholder:__("Address Line 2","jetpack"),"aria-label":__("Address Line 2","jetpack"),onChange:e=>A({addressLine2:e}),onKeyDown:this.preventEnterKey}),(0,a.createElement)(r.PlainText,{value:n,placeholder:__("Address Line 3","jetpack"),"aria-label":__("Address Line 3","jetpack"),onChange:e=>A({addressLine3:e}),onKeyDown:this.preventEnterKey}),(0,a.createElement)(r.PlainText,{value:i,placeholder:__("City","jetpack"),"aria-label":__("City","jetpack"),onChange:e=>A({city:e}),onKeyDown:this.preventEnterKey}),(0,a.createElement)(r.PlainText,{value:u,placeholder:__("State/Province/Region","jetpack"),"aria-label":__("State/Province/Region","jetpack"),onChange:e=>A({region:e}),onKeyDown:this.preventEnterKey}),(0,a.createElement)(r.PlainText,{value:d,placeholder:__("Postal/Zip Code","jetpack"),"aria-label":__("Postal/Zip Code","jetpack"),onChange:e=>A({postal:e}),onKeyDown:this.preventEnterKey}),(0,a.createElement)(r.PlainText,{value:p,placeholder:__("Country","jetpack"),"aria-label":__("Country","jetpack"),onChange:e=>A({country:e}),onKeyDown:this.preventEnterKey}),f))}}const d=u},11005:(e,t,n)=>{"use strict";n.d(t,{X:()=>d,u:()=>u});var a=n(51806),r=n(55609),s=n(69307),o=n(65736),i=n(36598),c=n(36553),l=n(35208);const __=o.__,_x=o._x,u="address",d={title:__("Address","jetpack"),description:__("Lets you add a physical address with Schema markup.","jetpack"),keywords:[_x("location","block search term","jetpack"),_x("direction","block search term","jetpack"),_x("place","block search term","jetpack")],icon:(0,i.Z)((0,a.createElement)(s.Fragment,null,(0,a.createElement)(r.Path,{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"}),(0,a.createElement)(r.Circle,{cx:"12",cy:"9",r:"2.5"}))),category:"grow",attributes:{address:{type:"string",default:""},addressLine2:{type:"string",default:""},addressLine3:{type:"string",default:""},city:{type:"string",default:""},region:{type:"string",default:""},postal:{type:"string",default:""},country:{type:"string",default:""},linkToGoogleMaps:{type:"boolean",default:!1}},parent:["jetpack/contact-info"],edit:c.Z,save:l.Z}},35208:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(51806),r=n(69307),s=n(65736);const __=s.__,o=({attributes:{address:e,addressLine2:t,addressLine3:n,city:s,region:o,postal:i,country:c}})=>(0,a.createElement)(r.Fragment,null,e&&(0,a.createElement)("div",{className:"jetpack-address__address jetpack-address__address1"},e),t&&(0,a.createElement)("div",{className:"jetpack-address__address jetpack-address__address2"},t),n&&(0,a.createElement)("div",{className:"jetpack-address__address jetpack-address__address3"},n),s&&!(o||i)&&(0,a.createElement)("div",{className:"jetpack-address__city"},s),s&&(o||i)&&(0,a.createElement)("div",null,(0,a.createElement)("span",{className:"jetpack-address__city"},s),", ",(0,a.createElement)("span",{className:"jetpack-address__region"},o)," ",(0,a.createElement)("span",{className:"jetpack-address__postal"},i)),!s&&(o||i)&&(0,a.createElement)("div",null,(0,a.createElement)("span",{className:"jetpack-address__region"},o)," ",(0,a.createElement)("span",{className:"jetpack-address__postal"},i)),c&&(0,a.createElement)("div",{className:"jetpack-address__country"},c)),i=({attributes:{address:e,addressLine2:t,addressLine3:n,city:a,region:r,postal:s,country:o}})=>{let i=r?`+${r},`:"";i=s?`${i}+${s}`:i;return`https://www.google.com/maps/search/${e?`${e},`:""}${t?`${t},`:""}${n?`${n},`:""}${a?`+${a},`:""}${i}${o?`+${o}`:""}`.replace(" ","+")},c=e=>(({address:e,addressLine2:t,addressLine3:n,city:a,region:r,postal:s,country:o})=>[e,t,n,a,r,s,o].some((e=>""!==e)))(e.attributes)&&(0,a.createElement)("div",{className:e.className},e.attributes.linkToGoogleMaps&&(0,a.createElement)("a",{href:i(e),target:"_blank",rel:"noopener noreferrer",title:__("Open address in Google Maps","jetpack")},(0,a.createElement)(o,e)),!e.attributes.linkToGoogleMaps&&(0,a.createElement)(o,e))},83238:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(82674),r=n.n(a),s=n(51806),o=n(52175),i=n(3228);const c=["jetpack/markdown","jetpack/address","jetpack/email","jetpack/phone","jetpack/map","jetpack/business-hours","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/html","core/separator","core/spacer","core/subhead","core/video"],l=[["jetpack/email"],["jetpack/phone"],["jetpack/address"]],u=e=>{const{isSelected:t}=e,n=(0,o.useBlockProps)();return(0,s.createElement)("div",r()({},n,{className:(0,i.Z)(n.className,{"jetpack-contact-info-block":!0,"is-selected":t})}),(0,s.createElement)(o.InnerBlocks,{allowedBlocks:c,templateLock:!1,template:l}))}},82566:(e,t,n)=>{"use strict";var a=n(4981),r=n(31985),s=n(11005),o=n(58891),i=n(83238),c=n(99804),l=n(52398),u=n(56162);(0,r.S)(o,{edit:i.Z,save:u.Z,transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:({idBase:e,instance:t})=>!!t?.raw&&"widget_contact_info"===e,transform:({instance:e})=>{let t=[(0,a.createBlock)("core/heading",{content:e.raw.title}),(0,a.createBlock)("jetpack/email",{email:e.raw.email}),(0,a.createBlock)("jetpack/phone",{phone:e.raw.phone}),(0,a.createBlock)("jetpack/address",{address:e.raw.address})];return e.raw.hours&&(t=[...t,(0,a.createBlock)("core/paragraph",{content:e.raw.hours})]),e.raw.showmap&&e.raw.address&&(t=[...t,(0,a.createBlock)("jetpack/map",{address:e.raw.address})]),(0,a.createBlock)("jetpack/contact-info",{},t)}}]}},[{name:s.u,settings:s.X},{name:c.u,settings:c.X},{name:l.u,settings:l.X}])},31336:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(65736),r=n(66425),s=n(90458);const __=a.__,o=e=>{const{setAttributes:t}=e;return(0,r.Z)("email",e,__("Email","jetpack"),s.Z,(e=>t({email:e})))}},99804:(e,t,n)=>{"use strict";n.d(t,{X:()=>u,u:()=>l});var a=n(51806),r=n(55609),s=n(65736),o=n(36598),i=n(31336),c=n(90458);const __=s.__,_x=s._x,l="email",u={title:__("Email Address","jetpack"),description:__("Lets you add an email address with an automatically generated click-to-email link.","jetpack"),keywords:["e-mail","email",_x("message","block search term","jetpack")],icon:(0,o.Z)((0,a.createElement)(r.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"})),category:"grow",attributes:{email:{type:"string",default:""}},edit:i.Z,save:c.Z,parent:["jetpack/contact-info"]}},90458:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(51806),r=n(69307),s=n(92384);const o=({attributes:{email:e},className:t})=>e&&(0,a.createElement)("div",{className:t},e.split(/(\s+)/).map(((e,t)=>{const n=e.replace(/([.,/#!$%^&*;:{}=\-_`~()\][])+$/g,"");return e.indexOf("@")&&s.validate(n)?e===n?(0,a.createElement)("a",{href:`mailto:${e}`,key:t},e):(0,a.createElement)(r.Fragment,{key:t},(0,a.createElement)("a",{href:`mailto:${e}`,key:t},n),(0,a.createElement)(r.Fragment,null,e.slice(-(e.length-n.length)))):(0,a.createElement)(r.Fragment,{key:t},e)})))},70835:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(65736),r=n(66425),s=n(21621);const __=a.__,o=e=>{const{setAttributes:t}=e;return(0,r.Z)("phone",e,__("Phone number","jetpack"),s.Z,(e=>t({phone:e})))}},52398:(e,t,n)=>{"use strict";n.d(t,{X:()=>u,u:()=>l});var a=n(51806),r=n(55609),s=n(65736),o=n(36598),i=n(70835),c=n(21621);const __=s.__,_x=s._x,l="phone",u={title:__("Phone Number","jetpack"),description:__("Lets you add a phone number with an automatically generated click-to-call link.","jetpack"),keywords:[_x("mobile","block search term","jetpack"),_x("telephone","block search term","jetpack"),_x("cell","block search term","jetpack")],icon:(0,o.Z)((0,a.createElement)(r.Path,{d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z"})),category:"grow",attributes:{phone:{type:"string",default:""}},parent:["jetpack/contact-info"],edit:i.Z,save:c.Z}},21621:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(51806);const r=({attributes:{phone:e},className:t})=>e&&(0,a.createElement)("div",{className:t},function(e){const t=e.match(/\d+\.\d+|\d+\b|\d+(?=\w)/g);if(!t)return e;const n=e.indexOf(t[0]);let r=n?e.substring(n-1):e,s=n?e.substring(0,n):"",o=r.replace(/\D/g,"");return/[0-9/+/(]/.test(r[0])?(s=s.slice(0,-1),"+"===r[0]&&(o="+"+o)):r=r.substring(1),[s.trim()?(0,a.createElement)("span",{key:"phonePrefix",className:"phone-prefix"},s):null,(0,a.createElement)("a",{key:"phoneNumber",href:`tel:${o}`},r)]}(e))},56162:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(51806),r=n(52175);const s=()=>{const e=r.useBlockProps.save();return(0,a.createElement)("div",e,(0,a.createElement)(r.InnerBlocks.Content,null))}},17599:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});var a=n(65736);const __=a.__,r=(0,a.sprintf)( +_n("hit","hits",parseInt(_),"jetpack",0);return(0,r.createElement)("div",w,(0,r.createElement)(c.InspectorControls,null,(0,r.createElement)(p.z,{attributes:e,setAttributes:n})),(0,r.createElement)("div",{className:t},o||null===b?(0,r.createElement)("p",{className:"jetpack-blog-stats__loading"},__("Loading stats…","jetpack")):(0,r.createElement)("p",null,(0,r.createElement)("span",null,(0,a.A)(_)," "),(0,r.createElement)(c.RichText,{tagName:"span",placeholder:"visitors"===E?j:x,value:h,allowedFormats:["core/bold","core/italic","core/link"],onChange:e=>n({label:e})}))))}},95184:(e,t,n)=>{"use strict";var r=n(74997),a=n(94375),s=n(35116),o=n(20201);(0,a.M)(s,{edit:o.A,save:()=>null,transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:({idBase:e,instance:t})=>!!t?.raw&&"blog-stats"===e,transform:({instance:e})=>{const t=e.raw.title?(0,r.createBlock)("core/heading",{content:e.raw.title,level:3}):null,n=(0,r.createBlock)("jetpack/blog-stats",{label:e.raw.hits});return t?[t,n]:n}}]}})},51744:(e,t,n)=>{"use strict";n.d(t,{k:()=>c});var r=n(82170),a=n(85985),s=n(56427),o=n(27723),i=n(35116);const __=o.__,c=({className:e,isLoading:t,changeStatus:n})=>{const o=(0,a.d9)()?"https://wordpress.com/support/stats/":"https://jetpack.com/support/jetpack-stats/";return(0,r.createElement)("div",{className:e},(0,r.createElement)(s.Placeholder,{icon:(0,a.sh)(i),instructions:__("You'll need to activate the Stats module to use this block. Please note that hits are only counted while this module is active.","jetpack"),label:i.title},(0,r.createElement)(s.Button,{disabled:t,isBusy:t,onClick:()=>n(!0),variant:"secondary"},t?__("Activating Stats","jetpack"):__("Activate Stats","jetpack",0)),(0,r.createElement)("div",null,(0,r.createElement)(s.ExternalLink,{href:o},__("Learn more about the Stats module.","jetpack")))))}},12169:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(82170),a=n(1455),s=n.n(a),o=n(94715),i=n(56427),c=n(47143),l=n(86087),u=n(27723),d=n(93832),p=n(13022),m=n(9075);const __=u.__,_x=u._x;const g=(0,i.withNotices)((function({attributes:e,noticeOperations:t,noticeUI:n,setAttributes:a}){const g=(0,l.useRef)(!1),{answersLink:A,answersLinkText:h,gravatars:E,promptFetched:f,promptId:b,promptLabel:v,promptText:C,showLabel:k,showResponses:y,tagsAdded:B,isBloganuary:w}=e,_=(0,o.useBlockProps)({className:"jetpack-blogging-prompt"});(0,m.J)(b,B,(e=>a({tagsAdded:e})));const I=(0,c.useSelect)((e=>{const{getEntityRecord:t,hasFinishedResolution:n}=e("core"),r=t("root","site")?.language||"en_US";return n("getEntityRecord",["root","site"])?r:null}),[]);(0,l.useEffect)((()=>{if(!I||g.current||f)return;const e=()=>{a({promptFetched:!1,promptId:null,tagsAdded:!1}),g.current=!1,t.removeAllNotices()};let n="/wpcom/v3/blogging-prompts";if(b)n+="/"+encodeURIComponent(b);else{const e=new Date;n+=`?after=--${(e.getMonth()+1).toString().padStart(2,"0")}-${e.getDate().toString().padStart(2,"0")}&order=desc`}n=(0,d.addQueryArgs)(n,{_locale:I,force_year:(new Date)?.getFullYear()}),g.current=!0,s()({path:n}).then((e=>{const t=b?e:e[0];a({answersLink:t.answered_link,answersLinkText:t.answered_link_text,gravatars:t.answered_users_sample.map((({avatar:e})=>({url:e}))),promptFetched:!0,promptLabel:t.label,promptText:t.text,promptId:t.id,isBloganuary:!!t.bloganuary_id})})).catch((n=>{a({promptFetched:!0});const s="rest_post_invalid_id"===n.code&&b?(o=b,(0,r.createElement)(r.Fragment,null,(0,u.sprintf)(/* translators: %d is the prompt id. */ +__("Prompt with id %d not found.","jetpack"),o)," ",(0,r.createElement)(i.Button,{variant:"link",onClick:e},__("Reset prompt","jetpack")))):(t=>(0,r.createElement)(r.Fragment,null,(0,u.sprintf)(/* translators: %s is the error message. */ +__("Error while fetching prompt: %s","jetpack"),t)," ",(0,r.createElement)(i.Button,{variant:"link",onClick:e},__("Retry","jetpack"))))(n.message);var o;t.removeAllNotices(),t.createErrorNotice(s)}))}),[g,t,f,b,a,I]);const j=e=>{a({showLabel:e})},x=e=>{a({showResponses:e})},S=(0,p.A)(["jetpack-blogging-prompt__label"],{"is-bloganuary-icon":w});return(0,r.createElement)("div",_,n,(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(i.PanelBody,{title:_x("Settings","title of block settings sidebar section","jetpack")},(0,r.createElement)(i.ToggleControl,{label:__("Show prompt label","jetpack"),checked:k,onChange:j}),(0,r.createElement)(i.ToggleControl,{label:__("Show other responses","jetpack"),checked:y,onChange:x})))),f?(0,r.createElement)(r.Fragment,null,k&&(0,r.createElement)("div",{className:S},v),(0,r.createElement)("div",{className:"jetpack-blogging-prompt__text"},C),y&&b&&(0,r.createElement)("div",{className:"jetpack-blogging-prompt__answers"},E&&E.slice(0,3).map((({url:e})=>e&&(0,r.createElement)("img",{className:"jetpack-blogging-prompt__answers-gravatar",src:e,key:e}))),(0,r.createElement)("a",{className:"jetpack-blogging-prompt__answers-link",href:A,target:"_blank",rel:"external noreferrer noopener"},h))):(0,r.createElement)("div",{className:"jetpack-blogging-prompt__spinner"},(0,r.createElement)(i.Spinner,null)))}))},87888:(e,t,n)=>{"use strict";var r=n(74997),a=n(47143),s=n(27723),o=n(94375),i=n(27734),c=n(32442),l=n(12169),u=n(63757),d=n(94530),p=n(86239),m=n(57028);const __=s.__;(0,o.M)(c,{edit:l.A,save:m.A,example:{attributes:{answersLink:"https://wordpress.com/tag/dailyprompt",answersLinkText:__("View all responses","jetpack"),gravatars:[{url:u},{url:d},{url:p}],promptLabel:__("Daily writing prompt","jetpack"),promptText:__("What's your favorite place to visit?","jetpack"),promptFetched:!0,promptId:1234,showResponses:!0,showLabel:!0,tagsAdded:!0,isBloganuary:!1}}}),function(){const e=new URL(document.location.href);if(!e.pathname.endsWith("/wp-admin/post-new.php"))return;const t=e.searchParams.get("answer_prompt")??"0",n=parseInt(t);n&&async function(e){await(0,i.O)();const{insertBlocks:t}=(0,a.dispatch)("core/block-editor");t([(0,r.createBlock)(`jetpack/${name}`,{promptFetched:!1,promptId:e,tagsAdded:!0}),(0,r.createBlock)("core/paragraph")],0,void 0,!1)}(n)}()},57028:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(82170),a=n(94715),s=n(13022);const o=function({attributes:e}){const{answersLink:t,answersLinkText:n,gravatars:o,promptId:i,promptLabel:c,promptText:l,showLabel:u,showResponses:d,isBloganuary:p}=e,m=a.useBlockProps.save({className:"jetpack-blogging-prompt"}),g=(0,s.A)(["jetpack-blogging-prompt__label"],{"is-bloganuary-icon":p});return(0,r.createElement)("div",m,u&&(0,r.createElement)("div",{className:g},c),(0,r.createElement)("div",{className:"jetpack-blogging-prompt__text"},l),d&&i&&(0,r.createElement)("div",{className:"jetpack-blogging-prompt__answers"},o.map((({url:e})=>e&&(0,r.createElement)("img",{className:"jetpack-blogging-prompt__answers-gravatar","aria-hidden":"true",src:e,key:e}))),(0,r.createElement)("a",{className:"jetpack-blogging-prompt__answers-link",href:t,target:"_blank",rel:"external noreferrer noopener"},n)))}},9075:(e,t,n)=>{"use strict";n.d(t,{J:()=>l});var r=n(1455),a=n.n(r),s=n(47143),o=n(86087),i=n(89877);function c(e){const t=(0,i.escapeHTML)(e);return a()({path:"/wp/v2/tags",method:"POST",data:{name:t}}).catch((t=>"term_exists"!==t.code?Promise.reject(t):Promise.resolve({id:t.data.term_id,name:e})))}function l(e,t,n){const{editPost:r}=(0,s.useDispatch)("core/editor"),a=(0,o.useRef)("not-started"),{postType:i,postsSupportTags:l,tags:u,tagIds:d,tagsHaveResolved:p}=(0,s.useSelect)((e=>{const{getEditedPostAttribute:t}=e("core/editor"),{getEntityRecords:n,getPostType:r,hasFinishedResolution:a}=e("core"),s=t("tags"),o={_fields:"id,name",context:"view",include:s?.join(","),per_page:-1};return{postType:t("type"),postsSupportTags:r("post")?.taxonomies.includes("post_tag"),tagIds:s||[],tags:s&&s.length?n("taxonomy","post_tag",o):[],tagsHaveResolved:!s||!s.length||a("getEntityRecords",["taxonomy","post_tag",o])}}),[]);(0,o.useEffect)((()=>{"post"===i&&l&&!t&&p&&e&&Array.isArray(u)&&("not-started"===a.current&&(u.some((e=>e.name&&"dailyprompt"===e.name))&&u.some((t=>t.name&&t.name===`dailyprompt-${e}`))?a.current="fulfilled":(a.current="pending",Promise.all([c("dailyprompt"),c(`dailyprompt-${e}`)]).then((e=>{const t=e.map((e=>e.id));r({tags:[...d,...t]}),a.current="fulfilled"})).catch((e=>{console.error(e),a.current="rejected"})))),"fulfilled"===a.current&&n(!0))}),[r,l,i,e,a,n,u,d,t,p])}},53808:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(82170),a=n(94715),s=n(56427),o=n(27723);const __=o.__;const i=function({className:e,attributes:t,setAttributes:n}){const{icon:o,name:i,description:c}=t,l=(0,a.useBlockProps)({className:e});return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("hr",{className:"wp-block-separator jetpack-blogroll-item-divider"}),(0,r.createElement)("div",l,(0,r.createElement)(a.MediaUpload,{multiple:!1,onSelect:e=>{n({icon:e.url})},render:({open:e})=>(0,r.createElement)(s.Button,{variant:"link",onClick:e,style:{padding:0}},(0,r.createElement)("figure",null,(0,r.createElement)("img",{className:"blogroll-item-image",onError:e=>{e.target.parentNode.classList.add("empty-site-icon")},src:o,alt:i})))}),(0,r.createElement)("div",{className:"jetpack-blogroll-item-content"},(0,r.createElement)("a",null,(0,r.createElement)(a.RichText,{className:"jetpack-blogroll-item-title",value:i,tagName:"p",allowedFormats:["core/italic"],onChange:e=>{n({name:e})},placeholder:__("Enter site title","jetpack")})),(0,r.createElement)(a.RichText,{className:"jetpack-blogroll-item-description",value:c,onChange:e=>{n({description:e})},placeholder:__("Enter site description","jetpack")}))))}},3686:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(82170),a=n(56427);const s=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},(0,r.createElement)(a.Path,{d:"M12 12.75H21V11.25H12V12.75Z"}),(0,r.createElement)(a.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M3 12C3 10.3431 4.34315 9 6 9C7.65685 9 9 10.3431 9 12C9 13.6569 7.65685 15 6 15C4.34315 15 3 13.6569 3 12ZM3.77743 10.8857C4.08602 10.2714 4.64181 9.80266 5.31427 9.61008C5.15499 9.79493 5.01798 10.0132 4.90612 10.2532C4.81521 10.4483 4.73949 10.6605 4.68112 10.8857H3.77743ZM3.58718 11.4C3.53956 11.5922 3.51429 11.7931 3.51429 12C3.51429 12.2069 3.53956 12.4078 3.58718 12.6H4.58166C4.55616 12.4057 4.54286 12.205 4.54286 12C4.54286 11.7949 4.55616 11.5942 4.58166 11.4H3.58718ZM5.10094 11.4C5.0724 11.5917 5.05714 11.7926 5.05714 12C5.05714 12.2074 5.0724 12.4083 5.10094 12.6H6.89907C6.92761 12.4083 6.94286 12.2074 6.94286 12C6.94286 11.7926 6.92761 11.5917 6.89906 11.4H5.10094ZM7.41834 11.4C7.44384 11.5942 7.45714 11.7949 7.45714 12C7.45714 12.2051 7.44384 12.4058 7.41835 12.6H8.41282C8.46044 12.4078 8.48571 12.2069 8.48571 12C8.48571 11.7931 8.46044 11.5922 8.41282 11.4H7.41834ZM8.22257 10.8857H7.31888C7.26051 10.6605 7.18479 10.4483 7.09388 10.2532C6.98202 10.0132 6.845 9.79493 6.68571 9.61007C7.35817 9.80265 7.91398 10.2714 8.22257 10.8857ZM6.78494 10.8857H5.21506C5.25946 10.7382 5.31227 10.5992 5.37226 10.4705C5.5421 10.1061 5.76275 9.83732 5.99999 9.67974C6.23724 9.83732 6.45789 10.1061 6.62775 10.4705C6.68773 10.5992 6.74054 10.7382 6.78494 10.8857ZM3.77743 13.1143H4.68112C4.74269 13.3519 4.82356 13.5749 4.92121 13.7787C5.0301 14.0059 5.16199 14.2132 5.31431 14.3899C4.64184 14.1974 4.08603 13.7286 3.77743 13.1143ZM6.78495 13.1143H5.21506C5.26258 13.2722 5.31973 13.4203 5.38498 13.5564C5.5534 13.9078 5.76894 14.1668 6.00003 14.3203C6.23726 14.1627 6.45791 13.8939 6.62775 13.5295C6.68773 13.4008 6.74054 13.2618 6.78495 13.1143ZM7.09388 13.7468C7.18479 13.5517 7.26052 13.3395 7.31889 13.1143H8.22257C7.91398 13.7286 7.35819 14.1973 6.68574 14.3899C6.84501 14.2051 6.98203 13.9868 7.09388 13.7468Z",strokeWidth:"0.1"}))},77782:(e,t,n)=>{"use strict";n.d(t,{UU:()=>u,W0:()=>d});var r=n(82170),a=n(94715),s=n(27723),o=n(88659),i=n(84954),c=n(53808),l=n(3686);const __=s.__,u="blogroll-item",d={title:__("Blogroll Item","jetpack"),description:__("Blogroll Item","jetpack"),icon:{src:l.A,foreground:(0,o.V)()},category:"grow",parent:["jetpack/blogroll"],keywords:[],supports:{align:!1,alignWide:!0,anchor:!1,customClassName:!0,className:!0,html:!1,multiple:!0,reusable:!0,inserter:!1},edit:c.A,attributes:{id:{type:"string"},name:{type:"string"},icon:{type:"string",default:i},is_non_wpcom_site:{type:"boolean",default:!1},url:{type:"string"},description:{type:"string"}},save:()=>(0,r.createElement)(a.InnerBlocks.Content,null),example:{attributes:{}}}},40536:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(82170),a=n(3582),s=n(27723);const __=s.__;function o({results:e,onSelect:t,searchInput:n,isLoading:o}){const[i]=(0,a.useEntityProp)("root","site","Blogroll Recommendations");if(o)return(0,r.createElement)("div",{className:"jetpack-blogroll__appender-results"},(0,r.createElement)("div",{role:"status"},__("Loading…","jetpack")));const c=!n?.trim();return(0,r.createElement)("div",{className:"jetpack-blogroll__appender-results"},c&&(0,r.createElement)("div",{"aria-autocomplete":"list",className:"jetpack-blogroll__appender-result-list-header-text"},__("Suggestions","jetpack")),0===e.length&&!c&&(0,r.createElement)("div",{role:"status",className:"jetpack-blogroll__appender-no-results-message"},(0,r.createElement)("span",{className:"jetpack-blogroll__appender-no-results-message-main-text"},__("No results","jetpack")),(0,r.createElement)("span",{className:"jetpack-blogroll__appender-no-results-message-secondary-text"},(0,s.sprintf)(/* translators: %s is search query. */ +__("No sites found for %s.","jetpack"),n))),e.length>0&&(0,r.createElement)("ul",{"aria-live":"polite"},e.map((e=>{const n=i.some((t=>t?.id===e?.blog_id));return(0,r.createElement)("li",{key:e.blog_id,className:"jetpack-blogroll__appender-result-container"},(0,r.createElement)("button",{className:"jetpack-blogroll__appender-result-title",disabled:n,onClick:()=>t(e)},(0,r.createElement)("div",{className:"jetpack-blogroll__appender-result-image"},e.site_icon&&(0,r.createElement)("img",{src:e.site_icon,alt:e.name,onError:e=>{e.target.parentNode.classList.add("empty-site-icon")}})),(0,r.createElement)("div",{className:"jetpack-blogroll__appender-result-text"},(0,r.createElement)("span",{className:"jetpack-blogroll__appender-result-title"},e.name),(0,r.createElement)("span",{className:"jetpack-blogroll__appender-result-description"},e.description))))}))))}},17454:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(82170),a=n(56427),s=n(27723);const __=s.__;function o({value:e,onChange:t}){return(0,r.createElement)("div",{className:"jetpack-blogroll__appender-search"},(0,r.createElement)(a.TextControl,{__nextHasNoMarginBottom:!0,label:__("Search for sites to add","jetpack"),hideLabelFromVision:!0,placeholder:__("Search…","jetpack"),value:e,onChange:e=>t(e)}))}},37127:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(82170),a=n(56427),s=n(47143),o=n(86087),i=n(27723),c=n(45459),l=n(92507),u=n(85101),d=n(40536),p=n(17454);const __=i.__;function m({isLoading:e,subscriptions:t,clientId:n}){const[i,m]=(0,o.useState)(!1),[g,A]=(0,o.useState)(),[h,E]=(0,o.useState)(""),{insertBlock:f}=(0,s.dispatch)("core/block-editor"),{siteDetails:b,isLoading:v}=(0,l.A)({siteURL:h,subscriptions:t,enabled:h});return e?(0,r.createElement)(a.Spinner,{className:"jetpack-blogroll__appender-spinner"}):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.Button,{className:"block-editor-button-blogroll-block-appender",ref:A,icon:c.A,label:__("Add Blogroll Item","jetpack"),onClick:()=>{m((e=>!e))}}),i&&(0,r.createElement)(a.Popover,{anchor:g,className:"jetpack-blogroll__appender"},(0,r.createElement)(p.A,{value:h,onChange:E}),(0,r.createElement)(d.A,{results:b,onSelect:e=>{f((0,u.FN)(e),void 0,n),m(!1)},searchInput:h,isLoading:v})))}},63166:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(82170),a=n(94715),s=n(74997),o=n(56427),i=n(47143),c=n(86087),l=n(27723),u=n(13022),d=n(37127),p=n(32130),m=n(46542),g=n(25688),A=n(85101);const __=l.__;const h=function({className:e,attributes:t,setAttributes:n,clientId:l}){const{show_avatar:h,show_description:E,open_links_new_window:f,ignore_user_blogs:b,load_placeholders:v}=t,{isLoading:C,recommendations:k,errorMessage:y}=(0,p.A)(v),{isLoading:B,subscriptions:w,errorMessage:_}=(0,g.A)({ignore_user_blogs:b});(0,m.b)({clientId:l});const{replaceInnerBlocks:I}=(0,i.dispatch)("core/block-editor");(0,c.useEffect)((()=>{if(v&&k.length){n({load_placeholders:!1});const e=[(0,s.createBlock)("core/heading",{content:__("Blogroll","jetpack"),level:3}),...k.map(A.dy)];I(l,e)}}),[k,v,n,l,I]);const j=(0,a.useBlockProps)({className:(0,u.A)(e,{"hide-avatar":!h,"hide-description":!E})}),x=y||_;return(0,r.createElement)("div",j,(0,r.createElement)(a.InnerBlocks,{template:[["core/heading",{content:__("Blogroll","jetpack"),level:3}]],allowedBlocks:["jetpack/blogroll-item"],renderAppender:()=>!C&&(0,r.createElement)(d.A,{isLoading:B,subscriptions:w,clientId:l})}),x&&(0,r.createElement)(o.Notice,{status:"error",isDismissible:!1},(0,r.createElement)("p",null,x)),v&&C&&(0,r.createElement)(o.FlexBlock,{style:{padding:"30px",textAlign:"center"}},(0,r.createElement)(o.Spinner,null)),(0,r.createElement)(a.InspectorControls,null,(0,r.createElement)(o.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(o.ToggleControl,{label:__("Show avatar","jetpack"),checked:!!h,onChange:()=>n({show_avatar:!h})}),(0,r.createElement)(o.ToggleControl,{label:__("Show description","jetpack"),checked:!!E,onChange:()=>n({show_description:!E})}),(0,r.createElement)(o.ToggleControl,{label:__("Open links in a new window","jetpack"),checked:!!f,onChange:()=>n({open_links_new_window:!f})}),(0,r.createElement)(o.ToggleControl,{label:__("Hide my own sites","jetpack"),checked:!!b,onChange:()=>n({ignore_user_blogs:!b})}))))}},22475:(e,t,n)=>{"use strict";var r=n(94375),a=n(52829),s=n(77782),o=n(63166),i=n(36219);(0,r.M)(a,{edit:o.A,save:i.A},[{name:s.UU,settings:s.W0}])},36219:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(82170),a=n(94715),s=n(13022);const o=function({attributes:{show_avatar:e,show_description:t},className:n}){const o=a.useBlockProps.save({className:(0,s.A)(n,{"hide-avatar":!e,"hide-description":!t})});return(0,r.createElement)("div",o,(0,r.createElement)(a.InnerBlocks.Content,null))}},13818:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(86087),a=n(85101);function s(e,t=!0){const[n,s]=(0,r.useState)(null),[o,i]=(0,r.useState)(null),[c,l]=(0,r.useState)(!1),u=function(e,t=100){const[n,a]=(0,r.useState)(e);return(0,r.useEffect)((()=>{const n=setTimeout((()=>{a(e)}),t);return()=>{clearTimeout(n)}}),[e,t]),n}((0,a.l$)(e),500);return(0,r.useEffect)((()=>{if(l(Boolean(t&&u)),t&&u){const e=new AbortController;return fetch(`https://public-api.wordpress.com/rest/v1.1/sites/${encodeURIComponent(u)}?force=wpcom`,{cache:"force-cache",signal:e.signal}).then((e=>{if(200===e.status)return e.json();e.status})).then((e=>{s(e),l(!1)})).catch((e=>{"AbortError"!==e.name&&i(e)})),()=>e.abort()}}),[u,t]),{response:n,error:o,isLoading:c}}},92507:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(13818),a=n(85101);function s({siteURL:e,subscriptions:t,enabled:n=!1}){const s=(0,a.l$)(e),{response:o,isLoading:i}=(0,r.Z)(s,Boolean(n)),c=[...o?[{blog_id:o?.ID.toString(),description:o?.description,URL:o?.URL,site_icon:(0,a.ZE)(o?.logo?.url),name:o?.name}]:[],...t].filter((t=>`${t.name}${t.URL}`.match(new RegExp(e,"i"))));return 0===c.length&&s&&c.unshift({blog_id:s,description:"",URL:s,site_icon:(0,a.ZE)(null),name:s,is_non_wpcom_site:!0}),{isLoading:i,siteDetails:c}}},32130:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(1455),a=n.n(r),s=n(86087),o=n(27723);const __=o.__;function i(e=!1){const[t,n]=(0,s.useState)(!1),[r,o]=(0,s.useState)(null),[i,c]=(0,s.useState)([]),l=(0,s.useRef)(void 0);return(0,s.useEffect)((()=>{e?(n(!0),o(null),l.current&&l.current.abort(),l.current="undefined"==typeof AbortController?void 0:new AbortController,a()({path:"/wpcom/v2/following/recommendations",global:!0,method:"GET",signal:l.current?.signal}).then((e=>{e.length||o(__("No subscriptions found. You need to follow some sites in order to see results.","jetpack")),c(e)})).catch((e=>{"AbortError"!==e.name&&(e.message?o(e.message):o(__("Whoops, we have encountered an error. Please try again later.","jetpack")))})).finally((()=>{l.current=null,n(!1)}))):n(!1)}),[e]),{isLoading:t,errorMessage:r,recommendations:i}}},46542:(e,t,n)=>{"use strict";n.d(t,{b:()=>i});var r=n(3582),a=n(47143),s=n(86087),o=n(85101);const i=({clientId:e})=>{const[t,n]=(0,s.useState)(!1),{insertBlocks:i}=(0,a.useDispatch)("core/block-editor"),[c,l]=(0,r.useEntityProp)("root","site","Blogroll Recommendations"),u=(0,a.useSelect)((t=>t("core/block-editor").getBlock(e).innerBlocks.filter((({name:e})=>"jetpack/blogroll-item"===e)).map((({attributes:e})=>e))),[e]);(0,s.useEffect)((()=>{if(!t&&c){const t=c.filter((e=>!u.some((t=>t.id===e.id))));if(t.length){const n=t.map(o.dy);i(n,void 0,e)}n(!0)}}),[e,c,u,t,i]),(0,s.useEffect)((()=>{void 0!==c&&l(u)}),[u])}},25688:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(1455),a=n.n(r),s=n(86087),o=n(27723),i=n(93832),c=n(85101);const __=o.__;function l({ignore_user_blogs:e}){const[t,n]=(0,s.useState)(!1),[r,o]=(0,s.useState)(null),[l,u]=(0,s.useState)([]),d=(0,s.useRef)(void 0);return(0,s.useEffect)((()=>{n(!0),o(null),d.current&&d.current.abort(),d.current="undefined"==typeof AbortController?void 0:new AbortController,a()({path:(0,i.addQueryArgs)("/wpcom/v2/following/mine",{ignore_user_blogs:e}),global:!0,method:"GET",signal:d.current?.signal}).then((e=>{e.length||o(__("No subscriptions found. You need to follow some sites in order to see results.","jetpack")),e=e.map((e=>(e.site_icon=(0,c.ZE)(e.site_icon),e))),u(e)})).catch((e=>{"AbortError"!==e.name&&(e.message?o(e.message):o(__("Whoops, we have encountered an error. Please try again later.","jetpack")))})).finally((()=>{d.current=null,n(!1)}))}),[e]),{isLoading:t,errorMessage:r,subscriptions:l}}},85101:(e,t,n)=>{"use strict";n.d(t,{FN:()=>o,ZE:()=>c,dy:()=>s,l$:()=>i});var r=n(74997),a=n(84954);function s(e){let t;try{t=new URL(e?.url)?.host.replace(/^www\./,"")}catch(n){t=e?.URL}return(0,r.createBlock)("jetpack/blogroll-item",{...e,...!e.name&&{name:t}})}function o(e){const{blog_id:t,site_icon:n,URL:r,name:a,description:o,is_non_wpcom_site:i}=e;return s({id:t,icon:n,url:r,name:a,description:o,is_non_wpcom_site:i})}function i(e){if(!e)return null;const t=new RegExp("^([a-zA-Z]+:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])?)\\.)+[a-z]{2,})","i");try{return new URL(e)?.host}catch(n){return e.match(t)?.[2]??null}}function c(e){return e||a}},60487:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(82170),a=n(56427),s=n(86087),o=n(27723),i=n(13022),c=n(66087);const __=o.__,l="09:00",u="17:00";class d extends s.Component{renderInterval=(e,t)=>{const{day:n}=this.props,{opening:o,closing:c}=e;return(0,r.createElement)(s.Fragment,{key:t},(0,r.createElement)("div",{className:"business-hours__row"},(0,r.createElement)("div",{className:(0,i.A)(n.name,"business-hours__day")},0===t&&this.renderDayToggle()),(0,r.createElement)("div",{className:(0,i.A)(n.name,"business-hours__hours")},(0,r.createElement)(a.TextControl,{type:"time",label:__("Opening","jetpack"),value:o,className:"business-hours__open",placeholder:l,onChange:e=>{this.setHour(e,"opening",t)}}),(0,r.createElement)(a.TextControl,{type:"time",label:__("Closing","jetpack"),value:c,className:"business-hours__close",placeholder:u,onChange:e=>{this.setHour(e,"closing",t)}})),(0,r.createElement)("div",{className:"business-hours__remove"},n.hours.length>1&&(0,r.createElement)(a.Button,{isSmall:!0,variant:"link",icon:"trash",label:__("Remove Hours","jetpack"),onClick:()=>{this.removeInterval(t)}}))),t===n.hours.length-1&&(0,r.createElement)("div",{className:"business-hours__row business-hours-row__add"},(0,r.createElement)("div",{className:(0,i.A)(n.name,"business-hours__day")}," "),(0,r.createElement)("div",{className:(0,i.A)(n.name,"business-hours__hours")},(0,r.createElement)(a.Button,{variant:"link",label:__("Add Hours","jetpack"),onClick:this.addInterval},__("Add Hours","jetpack"))),(0,r.createElement)("div",{className:"business-hours__remove"}," ")))};setHour=(e,t,n)=>{const{day:r,attributes:a,setAttributes:s}=this.props,{days:o}=a;s({days:o.map((a=>a.name===r.name?{...a,hours:a.hours.map(((r,a)=>a===n?{...r,[t]:e}:r))}:a))})};toggleClosed=e=>{const{day:t,attributes:n,setAttributes:r}=this.props,{days:a}=n;r({days:a.map((n=>{if(n.name===t.name){const t=e?[{opening:l,closing:u}]:[];return{...n,hours:t}}return n}))})};addInterval=()=>{const{day:e,attributes:t,setAttributes:n}=this.props,{days:r}=t;e.hours.push({opening:"",closing:""}),n({days:r.map((t=>t.name===e.name?{...t,hours:e.hours}:t))})};removeInterval=e=>{const{day:t,attributes:n,setAttributes:r}=this.props,{days:a}=n;r({days:a.map((n=>t.name===n.name?{...n,hours:n.hours.filter(((t,n)=>e!==n))}:n))})};isClosed(){const{day:e}=this.props;return(0,c.isEmpty)(e.hours)}renderDayToggle(){const{day:e,localization:t}=this.props;return(0,r.createElement)(s.Fragment,null,(0,r.createElement)("span",{className:"business-hours__day-name"},t.days[e.name]),(0,r.createElement)(a.ToggleControl,{label:this.isClosed()?__("Closed","jetpack"):__("Open","jetpack"),checked:!this.isClosed(),onChange:this.toggleClosed}))}renderClosed(){const{day:e}=this.props;return(0,r.createElement)("div",{className:"business-hours__row business-hours-row__closed"},(0,r.createElement)("div",{className:(0,i.A)(e.name,"business-hours__day")},this.renderDayToggle()),(0,r.createElement)("div",{className:(0,i.A)(e.name,"closed","business-hours__hours")}," "),(0,r.createElement)("div",{className:"business-hours__remove"}," "))}render(){const{day:e}=this.props;return this.isClosed()?this.renderClosed():e.hours.map(this.renderInterval)}}const p=d},39943:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(82170),a=n(86087),s=n(27723),o=n(66087);const _x=s._x,i="undefined"!=typeof window&&window.navigator?.language||"en",c=Intl?.DateTimeFormat?new Intl.DateTimeFormat(i,{hour:"numeric",minute:"numeric",hour12:!0}):null;class l extends a.Component{formatTime(e){const[t,n]=e.split(":");if(!t||!n)return!1;const r=new Date;return r.setHours(t),r.setMinutes(n),c?c.format(r):e}renderInterval=(e,t)=>{const{day:n}=this.props,a=n.hours;return(0,r.createElement)("span",{key:t},(0,s.sprintf)("%1$s - %2$s",this.formatTime(e.opening),this.formatTime(e.closing)),a.length>1+t&&(0,r.createElement)("span",null,", "))};render(){const{day:e,localization:t}=this.props,n=e.hours.filter((e=>this.formatTime(e.opening)&&this.formatTime(e.closing)));return(0,r.createElement)("div",{className:"jetpack-business-hours__item"},(0,r.createElement)("dt",{className:e.name},t.days[e.name]),(0,r.createElement)("dd",null,(0,o.isEmpty)(n)?_x("Closed","business is closed on a full day","jetpack"):n.map(this.renderInterval),(0,r.createElement)("br",null)))}}const u=l},39155:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(96072),a=n.n(r),s=n(82170),o=n(85985),i=n(1455),c=n.n(i),l=n(94715),u=n(56427),d=n(38443),p=n(86087),m=n(27723),g=n(9050),A=n(60487),h=n(39943);const __=m.__,E=(0,o.sh)(g),f={days:{Sun:__("Sunday","jetpack"),Mon:__("Monday","jetpack"),Tue:__("Tuesday","jetpack"),Wed:__("Wednesday","jetpack"),Thu:__("Thursday","jetpack"),Fri:__("Friday","jetpack"),Sat:__("Saturday","jetpack")},startOfWeek:0},b=e=>{const{attributes:t,isSelected:n}=e,r=(0,l.useBlockProps)(),[o,i]=(0,p.useState)(f),[m,g]=(0,p.useState)(!1),{days:b}=t,{startOfWeek:v}=o,C=b.concat(b.slice(0,v)).slice(v);let k;if((0,p.useEffect)((()=>{c()({path:"/wpcom/v2/business-hours/localized-week"}).then((e=>{i(e),g(!0)}),(()=>{i(f),g(!0)}))}),[]),m)if(n)k=(0,s.createElement)("div",{className:"is-edit"},C.map(((t,n)=>(0,s.createElement)(A.A,a()({key:n,day:t,localization:o},e)))));else{const e=(0,d.getSettings)(),{formats:{time:t}}=e;k=(0,s.createElement)("dl",{className:"jetpack-business-hours"},C.map(((e,n)=>(0,s.createElement)(h.A,{key:n,day:e,localization:o,timeFormat:t}))))}else k=(0,s.createElement)(u.Placeholder,{icon:E,label:__("Loading business hours","jetpack")});return(0,s.createElement)("div",r,k)}},71410:(e,t,n)=>{"use strict";var r=n(82170),a=n(94375),s=n(9050),o=n(39155);(0,a.M)(s,{edit:e=>(0,r.createElement)(o.A,e),save:()=>null})},7325:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(56427),a=n(66087);const s=(0,r.withFallbackStyles)(((e,t)=>{const{backgroundColor:n,textColor:r}=t,s=(0,a.get)(n,"color"),o=!(0,a.get)(r,"color")&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:s||!e?void 0:getComputedStyle(e).backgroundColor,fallbackTextColor:r||!o?void 0:getComputedStyle(o).color}}))},28310:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(20710);const a={element:{type:"string",enum:["a","button","input"]},saveInPostContent:{type:"boolean",default:!1},uniqueId:{type:"string"},passthroughAttributes:{type:"object"},text:{type:"string"},placeholder:{type:"string"},url:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string",validator:r.A},backgroundColor:{type:"string"},customBackgroundColor:{type:"string",validator:r.A},gradient:{type:"string"},customGradient:{type:"string"},borderRadius:{type:"number"},width:{type:"string"}}},12365:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(82170),a=n(56427),s=n(86087),o=n(27723),i=n(8746);const __=o.__;function c({borderRadius:e="",setAttributes:t}){const n=(0,s.useCallback)((e=>t({borderRadius:e})),[t]);return(0,r.createElement)(a.PanelBody,{title:__("Border Settings","jetpack")},(0,r.createElement)(a.RangeControl,{allowReset:!0,initialPosition:i.hc,label:__("Border radius","jetpack"),max:i.Bs,min:i.rG,onChange:n,value:e}))}},10179:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(82170),a=n(94715),s=n(27723);const __=s.__;function o({isGradientAvailable:e,backgroundColor:t,fallbackBackgroundColor:n,fallbackTextColor:s,gradientValue:o,setBackgroundColor:i,setGradient:c,setTextColor:l,textColor:u}){const d=(0,r.createElement)(a.ContrastChecker,{backgroundColor:t.color,fallbackBackgroundColor:n,fallbackTextColor:s,isLargeText:!1,textColor:u.color});return e?(0,r.createElement)(a.__experimentalPanelColorGradientSettings,{settings:[{colorValue:u.color,label:__("Text Color","jetpack"),onColorChange:l},{colorValue:t.color,gradientValue:o,label:__("Background","jetpack"),onColorChange:i,onGradientChange:c}],title:__("Background & Text Color","jetpack")},d):(0,r.createElement)(a.PanelColorSettings,{colorSettings:[{value:u.color,onChange:l,label:__("Text Color","jetpack")},{value:t.color,onChange:i,label:__("Background","jetpack")}],title:__("Background & Text Color","jetpack")},d)}},8746:(e,t,n)=>{"use strict";n.d(t,{Bs:()=>o,Uc:()=>a,hc:()=>s,rG:()=>i});var r=n(94715);const a=!!r.__experimentalUseGradient,s=5,o=50,i=0},2761:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(82170),a=n(47143),s=n(38062),o=n(12365),i=n(10179);function c({attributes:e,backgroundColor:t,clientId:n,context:c,fallbackBackgroundColor:l,fallbackTextColor:u,setAttributes:d,setBackgroundColor:p,setTextColor:m,textColor:g,gradientValue:A,setGradient:h,isGradientAvailable:E}){const{align:f,borderRadius:b}=e,v="jetpack/parentBlockWidth"in c,C=v?c["jetpack/parentBlockWidth"]:e.width,k=(0,a.useSelect)((e=>{const{getBlock:t,getBlockRootClientId:r}=e("core/block-editor");return t(r(n))})),{updateBlockAttributes:y}=(0,a.useDispatch)("core/block-editor");return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.A,{backgroundColor:t,fallbackBackgroundColor:l,fallbackTextColor:u,gradientValue:A,setBackgroundColor:p,setGradient:h,setTextColor:m,textColor:g,isGradientAvailable:E}),(0,r.createElement)(o.A,{borderRadius:b,setAttributes:d}),(0,r.createElement)(s.D,{align:f,width:C,onChange:e=>{v?y(k.clientId,{width:e}):d({width:e})}}))}},55903:(e,t,n)=>{"use strict";n.d(t,{A:()=>A});var r=n(96072),a=n.n(r),s=n(82170),o=n(94715),i=n(29491),c=n(27723),l=n(13022),u=n(89303),d=n(7325),p=n(8746),m=n(2761),g=n(81177);const __=c.__;const A=(0,i.compose)((0,o.withColors)({backgroundColor:"background-color"},{textColor:"color"}),d.A)((function(e){const{attributes:t,backgroundColor:n,className:r,clientId:i,context:c,setAttributes:d,textColor:A}=e,{borderRadius:h,element:E,placeholder:f,text:b,width:v,fontSize:C}=t,k="jetpack/parentBlockWidth"in c;(0,g.A)({attributes:t,clientId:i,setAttributes:d}),(0,u.A)({attributes:t,disableEffects:k,setAttributes:d});const{gradientClass:y,gradientValue:B,setGradient:w}=p.Uc?(0,o.__experimentalUseGradient)({gradientAttribute:"gradient",customGradientAttribute:"customGradient"}):{},_=(0,o.useBlockProps)({className:(0,l.A)("wp-block-button",r)}),I=(0,l.A)("wp-block-button__link",{"has-background":n.color||B,[n.class]:!B&&n.class,"has-text-color":A.color,[A.class]:A.class,[y]:y,"no-border-radius":0===h,"has-custom-width":!!v,[`has-${C}-font-size`]:!!C,"has-custom-font-size":!!C}),j={...!n.color&&B?{background:B}:{backgroundColor:n.color},fontSize:t.style?.typography?.fontSize,color:A.color,borderRadius:h?h+"px":void 0,width:v};return(0,s.createElement)("div",_,(0,s.createElement)(o.RichText,{allowedFormats:"input"===E?[]:void 0,className:I,disableLineBreaks:"input"===E,onChange:e=>d({text:e}),placeholder:f||__("Add text…","jetpack"),style:j,value:b,withoutInteractiveFormatting:!0}),(0,s.createElement)(o.InspectorControls,null,(0,s.createElement)(m.A,a()({gradientValue:B,setGradient:w,isGradientAvailable:p.Uc},e))))}))},45878:(e,t,n)=>{"use strict";var r=n(94375),a=n(5383);(0,r.A)(a.U,a.W)},36270:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(82170),a=n(56427);const s=(0,r.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(a.Path,{d:"M19 6.5H5c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v7zM8 13h8v-1.5H8V13z"}))},5383:(e,t,n)=>{"use strict";n.d(t,{U:()=>l,W:()=>u});var r=n(27723),a=n(97969),s=n(28310),o=n(55903),i=n(36270),c=n(85154);const __=r.__,l="button",u={apiVersion:3,title:__("Button","jetpack"),icon:i.A,category:(0,a.A)("design","layout"),keywords:[],supports:{html:!1,inserter:!1,align:["left","center","right"],typography:{fontSize:!0,__experimentalFontFamily:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}}},styles:[{name:"fill",label:__("Fill","jetpack"),isDefault:!0},{name:"outline",label:__("Outline","jetpack")}],attributes:s.A,edit:o.A,save:c.A,usesContext:["jetpack/parentBlockWidth"]}},85154:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(96072),a=n.n(r),s=n(82170),o=n(94715),i=n(13022),c=n(8746);function l({attributes:e,blockName:t,uniqueId:n}){const{backgroundColor:r,borderRadius:l,className:u,customBackgroundColor:d,customGradient:p,customTextColor:m,gradient:g,saveInPostContent:A,text:h,textColor:E,url:f,width:b,fontSize:v}=e;if(!A)return null;const C=o.useBlockProps.save(),k=(0,o.getColorClassName)("background-color",r),y=c.Uc?(0,o.__experimentalGetGradientClass)(g):void 0,B=(0,o.getColorClassName)("color",E),w=(0,i.A)("wp-block-button","jetpack-submit-button",u,C?.className,{[`wp-block-jetpack-${t}`]:t}),_=(0,i.A)("wp-block-button__link",{"has-text-color":E||m,[B]:B,"has-background":r||g||d||p,[k]:k,[y]:y,"no-border-radius":0===l,"has-custom-width":!!b,[`has-${v}-font-size`]:!!v,"has-custom-font-size":!!v}),I={background:p||void 0,backgroundColor:k||p||g?void 0:d,fontSize:e.style?.typography?.fontSize,color:B?void 0:m,borderRadius:l?l+"px":void 0,width:b};return(0,s.createElement)("div",a()({},C,{className:w}),(0,s.createElement)(o.RichText.Content,{className:_,"data-id-attr":n||"placeholder",href:f,id:n,rel:"noopener noreferrer",role:"button",style:I,tagName:"a",target:"_blank",value:h}))}},81177:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(47143),a=n(86087),s=n(66087);function o({attributes:e,clientId:t,setAttributes:n}){const{passthroughAttributes:o}=e,{attributesToSync:i}=(0,r.useSelect)((n=>{const{getBlockAttributes:r,getBlockRootClientId:a}=n("core/block-editor"),i=r(a(t))||{},c=(0,s.mapValues)(o,(e=>i[e]));return{attributesToSync:(0,s.pickBy)(c,((t,n)=>t!==e[n]))}}));(0,a.useEffect)((()=>{(0,s.isEmpty)(i)||n(i)}),[i,n])}},95816:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});const r="https://calendly.com/wpcom/jetpack-block-example"},99723:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>d});var r=n(82170),a=n(85985),s=n(94715),o=n(56427),i=n(27723),c=n(5873);const __=i.__,_x=i._x,l=({onEditClick:e})=>(0,r.createElement)(o.ToolbarGroup,null,(0,r.createElement)(o.ToolbarButton,{onClick:()=>e(!0)},__("Edit","jetpack"))),u=e=>{const{attributes:{hideEventTypeDetails:t,url:n},defaultClassName:s,embedCode:i,parseEmbedCode:c,setAttributes:l,setEmbedCode:u}=e;let d=null;return n&&(d=(0,a.d9)()||(0,a.Sy)()?"https://wordpress.com/support/wordpress-editor/blocks/calendly-block/#customize-the-calendly-block":"https://jetpack.com/support/jetpack-blocks/calendly-block/#customizing-a-calendly-block"),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.PanelBody,{PanelBody:!0,title:__("Calendar settings","jetpack"),initialOpen:!1},(0,r.createElement)("form",{onSubmit:c,className:`${s}-embed-form-sidebar`},(0,r.createElement)("input",{type:"text",id:"embedCode",onChange:e=>u(e.target.value),placeholder:__("Calendly web address or embed code…","jetpack"),value:i||"",className:"components-placeholder__input"}),(0,r.createElement)("div",null,(0,r.createElement)(o.Button,{variant:"secondary",type:"submit"},_x("Embed","button label","jetpack")))),(0,r.createElement)(o.ToggleControl,{label:__("Hide event type details","jetpack"),checked:t,onChange:()=>l({hideEventTypeDetails:!t})})),d&&(0,r.createElement)(o.Notice,{className:`${s}-color-notice`,isDismissible:!1},(0,r.createElement)(o.ExternalLink,{href:d},__("Explore more customization options.","jetpack"))))},d=e=>{const{attributes:t,clientId:n,isEditingUrl:a,setAttributes:o,setIsEditingUrl:i}=e,{style:d,url:p}=t,m=[{value:"inline",label:__("Inline","jetpack")},{value:"link",label:__("Link","jetpack")}];return(0,r.createElement)(r.Fragment,null,p&&!a&&(0,r.createElement)(s.BlockControls,null,(0,r.createElement)(l,{onEditClick:i})),p&&(0,r.createElement)(c.A,{clientId:n,styleOptions:m,onSelectStyle:o,activeStyle:d,attributes:t,viewportWidth:500}),(0,r.createElement)(s.InspectorControls,null,(0,r.createElement)(u,e)))}},19493:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(82170),a=n(74997),s=n(27723),o=n(20710);const __=s.__,i={attributes:{backgroundColor:{type:"string",default:"ffffff",validator:o.A},submitButtonText:{type:"string",default:__("Schedule time with me","jetpack")},submitButtonTextColor:{type:"string"},submitButtonBackgroundColor:{type:"string"},submitButtonClasses:{type:"string"},hideEventTypeDetails:{type:"boolean",default:!1},primaryColor:{type:"string",default:"00A2FF",validator:o.A},textColor:{type:"string",default:"4D5055",validator:o.A},style:{type:"string",default:"inline",validValues:["inline","link"]},url:{type:"string",validator:e=>!e||e.startsWith("https://calendly.com/")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string",validator:o.A},customTextButtonColor:{type:"string",validator:o.A}},migrate:e=>{const{submitButtonText:t,submitButtonTextColor:n,submitButtonBackgroundColor:r,submitButtonClasses:s,backgroundButtonColor:o,textButtonColor:i,customBackgroundButtonColor:c,customTextButtonColor:l,...u}=e,d={text:(p=e).submitButtonText||__("Schedule time with me","jetpack"),textColor:p.submitButtonTextColor||p.textButtonColor,customTextColor:p.customTextButtonColor,backgroundColor:p.submitButtonBackgroundColor||p.backgroundButtonColor,customBackgroundColor:p.customBackgroundButtonColor,url:p.url};var p;return[u,[(0,a.createBlock)("jetpack/button",{element:"a",uniqueId:"calendly-widget-id",...d})]]},save:({attributes:{url:e}})=>(0,r.createElement)("a",{href:e},e)}},52385:(e,t,n)=>{"use strict";n.d(t,{A:()=>B});var r=n(96072),a=n.n(r),s=n(82170),o=n(85985),i=n(94715),c=n(74997),l=n(56427),u=n(47143),d=n(86087),p=n(27723),m=n(13022),g=n(66087),A=n(78218),h=n(56145),E=n(13248),f=n(95816),b=n(99723),v=n(38028);const __=p.__,_x=p._x,C="jetpack/button",k={element:"a",text:__("Schedule time with me","jetpack"),uniqueId:"calendly-widget-id",url:f.a},y=(0,o.sh)(E);const B=(0,l.withNotices)((function(e){const{attributes:t,clientId:n,name:r,noticeOperations:o,noticeUI:p,setAttributes:B}=e,w=(0,c.getBlockDefaultClassName)(r),_=(0,A.y)(E.attributes,t);(0,g.isEqual)(_,t)||B(_);const{backgroundColor:I,hideEventTypeDetails:j,primaryColor:x,textColor:S,style:Q,url:N}=_,[R,T]=(0,d.useState)(N),[P,L]=(0,d.useState)(!1),[M,D]=(0,d.useState)(!1),[F,O]=(0,d.useState)({}),z=(0,i.useBlockProps)(),U=()=>{o.removeAllNotices(),o.createErrorNotice(__("Your calendar couldn't be embedded. Please double check your URL or code.","jetpack"))};(0,d.useEffect)((()=>{N&&f.a!==N&&"link"!==Q&&(0,h.A)(N,D).catch((()=>{B({url:void 0}),U()}))}),[]);const H=e=>{if(!e)return void U();e.preventDefault();const t=(0,v.a9)(R);if(t){if(t.buttonAttributes&&"link"===t.style){const e=(0,u.select)("core/editor").getBlocksByClientId(n);e.length&&e[0].innerBlocks.forEach((e=>{(0,u.dispatch)("core/editor").updateBlockAttributes(e.clientId,t.buttonAttributes)})),O(t.buttonAttributes)}(0,h.A)(t.url,D).then((()=>{const e=(0,A.y)(E.attributes,t);B(e),L(!1),o.removeAllNotices()})).catch((()=>{B({url:void 0}),U()}))}else U()},V=(0,s.createElement)("div",{className:"wp-block-embed is-loading"},(0,s.createElement)(l.Spinner,null),(0,s.createElement)("p",null,__("Embedding…","jetpack"))),q=(0,s.createElement)(l.Placeholder,{label:__("Calendly","jetpack"),instructions:__("Enter your Calendly web address or embed code below.","jetpack"),icon:y,notices:p},(0,s.createElement)("form",{onSubmit:H},(0,s.createElement)("input",{type:"text",id:"embedCode",onChange:e=>T(e.target.value),placeholder:__("Calendly web address or embed code…","jetpack"),value:R||"",className:"components-placeholder__input"}),(0,s.createElement)("div",null,(0,s.createElement)(l.Button,{variant:"secondary",type:"submit"},_x("Embed","button label","jetpack")))),(0,s.createElement)("div",{className:`${w}-learn-more`},(0,s.createElement)(l.ExternalLink,{href:"https://help.calendly.com/hc/en-us/articles/223147027-Embed-options-overview"},__("Need help finding your embed code?","jetpack")))),G=(0,s.createElement)(s.Fragment,null,(0,s.createElement)("div",{className:`${w}-overlay`}),(0,s.createElement)("iframe",{src:(()=>{const e=new URLSearchParams({embed_domain:"wordpress.com",embed_type:"Inline",hide_event_type_details:j?1:0,background_color:I,primary_color:x,text_color:S});return`${N}?${e}`})(),width:"100%",height:"100%",frameBorder:"0","data-origwidth":"100%","data-origheight":"100%",title:"Calendly"})),$=(0,s.createElement)(i.InnerBlocks,{template:[[C,{...k,...F,passthroughAttributes:{url:"url"}}]],templateLock:"all"});return M?V:(0,s.createElement)("div",a()({},z,{className:(0,m.A)(z.className,{[`calendly-style-${Q}`]:N&&!P})}),(0,s.createElement)(b.Ay,a()({},e,{defaultClassName:w,embedCode:R,isEditingUrl:P,parseEmbedCode:H,setEmbedCode:T,setIsEditingUrl:L})),N&&!P?"inline"===Q?G:$:q)}))},60312:(e,t,n)=>{"use strict";var r=n(74997),a=n(94375),s=n(13248),o=n(19493),i=n(52385),c=n(2668),l=n(38028);(0,a.M)(s,{edit:i.A,save:c.A,transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&l.QL.test(e.textContent),transform:e=>{const t=(0,l.a9)(e.textContent);return(0,r.createBlock)("jetpack/calendly",t)}}]},deprecated:[o.A]})},2668:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(82170),a=n(94715);function s(){const e=a.useBlockProps.save();return(0,r.createElement)("div",e,(0,r.createElement)(a.InnerBlocks.Content,null))}},38028:(e,t,n)=>{"use strict";n.d(t,{QL:()=>r,a9:()=>a});const r=/(^|\/\/)(calendly\.com[^"']*)/i,a=e=>{if(!e)return;const t=(e=>{const t=e.match(r);if(t)return"https://"+t[2]})(e);if(!t)return;const n=(e=>{const t={},n=new URL(e);if(t.url=n.origin+n.pathname,!n.search)return t;const r=new URLSearchParams(n.search),a=r.get("background_color"),s=r.get("primary_color"),o=r.get("text_color"),i=/^[A-Za-z0-9]{6}$/;return r.get("hide_event_type_details")&&(t.hideEventTypeDetails=r.get("hide_event_type_details")),a&&a.match(i)&&(t.backgroundColor=a),s&&s.match(i)&&(t.primaryColor=s),o&&o.match(i)&&(t.textColor=o),t})(t),a=(e=>e.indexOf("data-url")>0?"inline":e.indexOf("initPopupWidget")>0||e.indexOf("initBadgeWidget")>0?"link":void 0)(e);if(a&&(n.style=a),"link"===a){n.buttonAttributes={};const t=(e=>{let t=e.match(/false;">([^<]+)<\//);return t?t[1]:(t=e.match(/text: '([^']*?)'/),t?t[1]:void 0)})(e);t&&(n.buttonAttributes.text=t);const r=(e=>{const t=e.match(/textColor: '([^']*?)'/);if(t)return t[1]})(e);r&&(n.buttonAttributes.textColor=void 0,n.buttonAttributes.customTextColor=r);const a=(e=>{const t=e.match(/color: '([^']*?)'/);if(t)return t[1]})(e);a&&(n.buttonAttributes.backgroundColor=void 0,n.buttonAttributes.customBackgroundColor=a)}return n}},98091:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(82170),a=n(94715),s=n(56427),o=n(86087),i=n(27723),c=n(13022),l=n(81942);const __=i.__;class u extends o.Component{constructor(...e){super(...e),this.preventEnterKey=this.preventEnterKey.bind(this)}preventEnterKey(e){"Enter"===e.key&&e.preventDefault()}render(){const{attributes:{address:e,addressLine2:t,addressLine3:n,city:i,region:u,postal:d,country:p,linkToGoogleMaps:m},isSelected:g,setAttributes:A}=this.props,h=[e,t,n,i,u,d,p].some((e=>""!==e)),E=(0,c.A)({"jetpack-address-block":!0,"is-selected":g}),f=(0,r.createElement)(s.ToggleControl,{label:__("Link address to Google Maps","jetpack"),checked:m,onChange:e=>A({linkToGoogleMaps:e})});return(0,r.createElement)("div",{className:E},!g&&h&&(0,l.A)(this.props),(g||!h)&&(0,r.createElement)(o.Fragment,null,(0,r.createElement)(a.PlainText,{value:e,placeholder:__("Street Address","jetpack"),"aria-label":__("Street Address","jetpack"),onChange:e=>A({address:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(a.PlainText,{value:t,placeholder:__("Address Line 2","jetpack"),"aria-label":__("Address Line 2","jetpack"),onChange:e=>A({addressLine2:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(a.PlainText,{value:n,placeholder:__("Address Line 3","jetpack"),"aria-label":__("Address Line 3","jetpack"),onChange:e=>A({addressLine3:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(a.PlainText,{value:i,placeholder:__("City","jetpack"),"aria-label":__("City","jetpack"),onChange:e=>A({city:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(a.PlainText,{value:u,placeholder:__("State/Province/Region","jetpack"),"aria-label":__("State/Province/Region","jetpack"),onChange:e=>A({region:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(a.PlainText,{value:d,placeholder:__("Postal/Zip Code","jetpack"),"aria-label":__("Postal/Zip Code","jetpack"),onChange:e=>A({postal:e}),onKeyDown:this.preventEnterKey}),(0,r.createElement)(a.PlainText,{value:p,placeholder:__("Country","jetpack"),"aria-label":__("Country","jetpack"),onChange:e=>A({country:e}),onKeyDown:this.preventEnterKey}),f))}}const d=u},39563:(e,t,n)=>{"use strict";n.d(t,{U:()=>u,W:()=>d});var r=n(82170),a=n(56427),s=n(86087),o=n(27723),i=n(62289),c=n(98091),l=n(81942);const __=o.__,_x=o._x,u="address",d={title:__("Address","jetpack"),description:__("Lets you add a physical address with Schema markup.","jetpack"),keywords:[_x("location","block search term","jetpack"),_x("direction","block search term","jetpack"),_x("place","block search term","jetpack")],icon:(0,i.A)((0,r.createElement)(s.Fragment,null,(0,r.createElement)(a.Path,{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"}),(0,r.createElement)(a.Circle,{cx:"12",cy:"9",r:"2.5"}))),category:"grow",attributes:{address:{type:"string",default:""},addressLine2:{type:"string",default:""},addressLine3:{type:"string",default:""},city:{type:"string",default:""},region:{type:"string",default:""},postal:{type:"string",default:""},country:{type:"string",default:""},linkToGoogleMaps:{type:"boolean",default:!1}},parent:["jetpack/contact-info"],edit:c.A,save:l.A}},81942:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(82170),a=n(86087),s=n(27723);const __=s.__,o=({attributes:{address:e,addressLine2:t,addressLine3:n,city:s,region:o,postal:i,country:c}})=>(0,r.createElement)(a.Fragment,null,e&&(0,r.createElement)("div",{className:"jetpack-address__address jetpack-address__address1"},e),t&&(0,r.createElement)("div",{className:"jetpack-address__address jetpack-address__address2"},t),n&&(0,r.createElement)("div",{className:"jetpack-address__address jetpack-address__address3"},n),s&&!(o||i)&&(0,r.createElement)("div",{className:"jetpack-address__city"},s),s&&(o||i)&&(0,r.createElement)("div",null,(0,r.createElement)("span",{className:"jetpack-address__city"},s),", ",(0,r.createElement)("span",{className:"jetpack-address__region"},o)," ",(0,r.createElement)("span",{className:"jetpack-address__postal"},i)),!s&&(o||i)&&(0,r.createElement)("div",null,(0,r.createElement)("span",{className:"jetpack-address__region"},o)," ",(0,r.createElement)("span",{className:"jetpack-address__postal"},i)),c&&(0,r.createElement)("div",{className:"jetpack-address__country"},c)),i=({attributes:{address:e,addressLine2:t,addressLine3:n,city:r,region:a,postal:s,country:o}})=>{let i=a?`+${a},`:"";i=s?`${i}+${s}`:i;return`https://www.google.com/maps/search/${e?`${e},`:""}${t?`${t},`:""}${n?`${n},`:""}${r?`+${r},`:""}${i}${o?`+${o}`:""}`.replace(" ","+")},c=e=>(({address:e,addressLine2:t,addressLine3:n,city:r,region:a,postal:s,country:o})=>[e,t,n,r,a,s,o].some((e=>""!==e)))(e.attributes)&&(0,r.createElement)("div",{className:e.className},e.attributes.linkToGoogleMaps&&(0,r.createElement)("a",{href:i(e),target:"_blank",rel:"noopener noreferrer",title:__("Open address in Google Maps","jetpack")},(0,r.createElement)(o,e)),!e.attributes.linkToGoogleMaps&&(0,r.createElement)(o,e))},44246:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(96072),a=n.n(r),s=n(82170),o=n(94715),i=n(13022);const c=["jetpack/markdown","jetpack/address","jetpack/email","jetpack/phone","jetpack/map","jetpack/business-hours","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/html","core/separator","core/spacer","core/subhead","core/video"],l=[["jetpack/email"],["jetpack/phone"],["jetpack/address"]],u=e=>{const{isSelected:t}=e,n=(0,o.useBlockProps)();return(0,s.createElement)("div",a()({},n,{className:(0,i.A)(n.className,{"jetpack-contact-info-block":!0,"is-selected":t})}),(0,s.createElement)(o.InnerBlocks,{allowedBlocks:c,templateLock:!1,template:l}))}},25907:(e,t,n)=>{"use strict";var r=n(74997),a=n(94375),s=n(39563),o=n(75173),i=n(44246),c=n(90951),l=n(70063),u=n(36611);(0,a.M)(o,{edit:i.A,save:u.A,transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:({idBase:e,instance:t})=>!!t?.raw&&"widget_contact_info"===e,transform:({instance:e})=>{let t=[(0,r.createBlock)("core/heading",{content:e.raw.title}),(0,r.createBlock)("jetpack/email",{email:e.raw.email}),(0,r.createBlock)("jetpack/phone",{phone:e.raw.phone}),(0,r.createBlock)("jetpack/address",{address:e.raw.address})];return e.raw.hours&&(t=[...t,(0,r.createBlock)("core/paragraph",{content:e.raw.hours})]),e.raw.showmap&&e.raw.address&&(t=[...t,(0,r.createBlock)("jetpack/map",{address:e.raw.address})]),(0,r.createBlock)("jetpack/contact-info",{},t)}}]}},[{name:s.U,settings:s.W},{name:c.U,settings:c.W},{name:l.U,settings:l.W}])},43167:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(27723),a=n(64882),s=n(27266);const __=r.__,o=e=>{const{setAttributes:t}=e;return(0,a.A)("email",e,__("Email","jetpack"),s.A,(e=>t({email:e})))}},90951:(e,t,n)=>{"use strict";n.d(t,{U:()=>l,W:()=>u});var r=n(82170),a=n(56427),s=n(27723),o=n(62289),i=n(43167),c=n(27266);const __=s.__,_x=s._x,l="email",u={title:__("Email Address","jetpack"),description:__("Lets you add an email address with an automatically generated click-to-email link.","jetpack"),keywords:["e-mail","email",_x("message","block search term","jetpack")],icon:(0,o.A)((0,r.createElement)(a.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"})),category:"grow",attributes:{email:{type:"string",default:""}},edit:i.A,save:c.A,parent:["jetpack/contact-info"]}},27266:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(82170),a=n(86087),s=n(39904);const o=({attributes:{email:e},className:t})=>e&&(0,r.createElement)("div",{className:t},e.split(/(\s+)/).map(((e,t)=>{const n=e.replace(/([.,/#!$%^&*;:{}=\-_`~()\][])+$/g,"");return e.indexOf("@")&&s.validate(n)?e===n?(0,r.createElement)("a",{href:`mailto:${e}`,key:t},e):(0,r.createElement)(a.Fragment,{key:t},(0,r.createElement)("a",{href:`mailto:${e}`,key:t},n),(0,r.createElement)(a.Fragment,null,e.slice(-(e.length-n.length)))):(0,r.createElement)(a.Fragment,{key:t},e)})))},42711:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(27723),a=n(64882),s=n(84330);const __=r.__,o=e=>{const{setAttributes:t}=e;return(0,a.A)("phone",e,__("Phone number","jetpack"),s.A,(e=>t({phone:e})))}},70063:(e,t,n)=>{"use strict";n.d(t,{U:()=>l,W:()=>u});var r=n(82170),a=n(56427),s=n(27723),o=n(62289),i=n(42711),c=n(84330);const __=s.__,_x=s._x,l="phone",u={title:__("Phone Number","jetpack"),description:__("Lets you add a phone number with an automatically generated click-to-call link.","jetpack"),keywords:[_x("mobile","block search term","jetpack"),_x("telephone","block search term","jetpack"),_x("cell","block search term","jetpack")],icon:(0,o.A)((0,r.createElement)(a.Path,{d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z"})),category:"grow",attributes:{phone:{type:"string",default:""}},parent:["jetpack/contact-info"],edit:i.A,save:c.A}},84330:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(82170);const a=({attributes:{phone:e},className:t})=>e&&(0,r.createElement)("div",{className:t},function(e){const t=e.match(/\d+\.\d+|\d+\b|\d+(?=\w)/g);if(!t)return e;const n=e.indexOf(t[0]);let a=n?e.substring(n-1):e,s=n?e.substring(0,n):"",o=a.replace(/\D/g,"");return/[0-9/+/(]/.test(a[0])?(s=s.slice(0,-1),"+"===a[0]&&(o="+"+o)):a=a.substring(1),[s.trim()?(0,r.createElement)("span",{key:"phonePrefix",className:"phone-prefix"},s):null,(0,r.createElement)("a",{key:"phoneNumber",href:`tel:${o}`},a)]}(e))},36611:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(82170),a=n(94715);const s=()=>{const e=a.useBlockProps.save();return(0,r.createElement)("div",e,(0,r.createElement)(a.InnerBlocks.Content,null))}},68071:(e,t,n)=>{"use strict";n.d(t,{a:()=>a});var r=n(27723);const __=r.__,a=(0,r.sprintf)( // translators: %s is a link to the cookie policy. -__("Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use. To find out more, including how to control cookies, see here: %s.","jetpack"),`${__("Cookie Policy","jetpack")}`)},20598:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(82674),r=n.n(a),s=n(51806),o=n(52175),i=n(55609),c=n(65736),l=n(17599),u=n(89626);const __=c.__;const d=function({clientId:e,attributes:t,setAttributes:n}){const{consentExpiryDays:a,align:d,text:p=l.b}=t;(0,u.N)(e);const m=(0,o.useBlockProps)({className:`wp-block-jetpack-cookie-consent align${d}`});return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(o.InspectorControls,null,(0,s.createElement)(i.PanelBody,{title:__("Block Settings","jetpack")},(0,s.createElement)(i.SelectControl,{label:__("Alignment","jetpack"),value:d,options:[{label:(0,c.isRTL)()?__("Right","jetpack"):__("Left","jetpack"),value:"left"},{label:__("Full","jetpack"),value:"full"},{label:__("Wide","jetpack"),value:"wide"},{label:(0,c.isRTL)()?__("Left","jetpack"):__("Right","jetpack"),value:"right"}],onChange:e=>function(e){const t=["wide","full"].includes(e)?{width:void 0,height:void 0}:{};n({...t,align:e})}(e)}),(0,s.createElement)(i.TextControl,{label:__("Consent Expiry Time (in days)","jetpack"),value:a,type:"number",min:"1",max:"365",onChange:e=>n({consentExpiryDays:parseInt(e)})}),(0,s.createElement)("p",null,__("Note: The block position in the editor is not indicative of the position on the front end. The block will always be positioned at the bottom of the page.","jetpack")))),(0,s.createElement)("div",r()({},m,{style:m.style}),(0,s.createElement)(o.RichText,{tagName:"p",value:p,onChange:e=>n({text:e})}),(0,s.createElement)(o.InnerBlocks,{allowedBlocks:["core/button"],template:[["core/button",{text:__("Accept","jetpack")}]],templateLock:"all"})))}},54271:(e,t,n)=>{"use strict";var a=n(31985),r=n(90853),s=n(20598),o=n(92097);(0,a.S)(r,{edit:s.Z,save:o.Z})},92097:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(82674),r=n.n(a),s=n(51806),o=n(52175),i=n(17599);function c({attributes:e}){const t=o.useBlockProps.save(),{text:n=i.b,consentExpiryDays:a}=e;return(0,s.createElement)("div",r()({},t,{style:t.style,role:"dialog","aria-modal":"true"}),(0,s.createElement)(o.RichText.Content,{tagName:"p",value:n}),(0,s.createElement)(o.InnerBlocks.Content,null),(0,s.createElement)("span",null,a))}},89626:(e,t,n)=>{"use strict";n.d(t,{N:()=>c});var a=n(4981),r=n(94333),s=n(37798),o=n(9818),i=n(69307);function c(e){const t=(0,o.useSelect)((e=>{const{isSavingPost:t,isSavingNonPostEntityChanges:n}=e("core/editor");return t()||n()}),[]),n=!(!(0,r.usePrevious)(t)||t),[,c]=(0,s.useEntityProp)("root","site","cookie_consent_template"),{saveEditedEntityRecord:l}=(0,o.useDispatch)(s.store),[u,d]=(0,i.useState)(!1),p=(0,o.useSelect)((e=>{const{getBlock:t}=e("core/block-editor");return t})),m=(0,i.useCallback)((e=>{d(!0),c(e),l("root","site",void 0,{cookie_consent_template:e}).finally((()=>{d(!1)}))}),[d,c,l]);(0,i.useEffect)((()=>()=>{p(e)||m(null)}),[]),(0,i.useEffect)((()=>{n&&!u&&m((0,a.serialize)([p(e)]))}),[n,u,m,p,e])}},10764:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(51806),r=n(25607),s=n(43317),o=n(52175),i=n(69307),c=n(3228),l=n(79162);const u=({className:e=null,currency:t=null,defaultValue:n=null,disabled:u=!1,label:d="",onChange:p=null,value:m=""})=>{const[g,A]=(0,i.useState)((0,r.ZP)(m,t,{symbol:""})),[h,E]=(0,i.useState)(!1),[f,b]=(0,i.useState)(!1),v=(0,i.useRef)(null),C=(0,i.useCallback)((e=>{if(A(e),!p)return;const n=(0,l.Vm)(e,t);n&&n>=(0,l.hj)(t)?(p(n),b(!1)):b(!0)}),[t,p]),k=()=>{v.current&&(v.current.focus(),E(!0))};return(0,i.useEffect)((()=>{if(!v.current)return;const e=v.current,a=()=>{E(!1),g||C((0,r.ZP)(n,t,{symbol:""}))};return e.addEventListener("blur",a),()=>{e.removeEventListener("blur",a)}}),[t,n,g,v,C]),(0,i.useEffect)((()=>{h||f||A((0,r.ZP)(m,t,{symbol:""}))}),[t,h,f,C,m]),(0,i.useEffect)((()=>{C((0,r.ZP)(m,t,{symbol:""}))}),[m]),(0,a.createElement)("div",{className:(0,c.Z)("donations__amount",e,{"has-focus":h,"has-error":f}),role:"button",tabIndex:0,onClick:k,onKeyDown:k},s.M[t].symbol,u?(0,a.createElement)("div",{className:"donations__amount-value"},(0,r.ZP)(m||n,t,{symbol:""})):(0,a.createElement)(o.RichText,{allowedFormats:[],"aria-label":d,onChange:e=>C(e),placeholder:(0,r.ZP)(n,t,{symbol:""}),ref:v,value:g,withoutInteractiveFormatting:!0}))}},82275:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(51806),r=n(43317),s=n(13419),o=n(52175),i=n(55609),c=n(65736),l=n(39630),u=n(79162);const __=c.__,d=e=>{const{attributes:t,setAttributes:n}=e,{currency:c,oneTimeDonation:d,monthlyDonation:p,annualDonation:m,showCustomAmount:g}=t,A=(e,a)=>{const r={"1 month":"monthlyDonation","1 year":"annualDonation"}[e],s=t[r];n({[r]:{...s,show:a}})};return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(o.BlockControls,null,(0,a.createElement)(i.ToolbarGroup,null,(0,a.createElement)(i.ToolbarItem,null,(()=>(0,a.createElement)(i.Dropdown,{contentClassName:"jetpack-donations__currency-popover",renderToggle:({onToggle:e,isOpen:t})=>(0,a.createElement)(i.Button,{className:"jetpack-donations__currency-toggle",icon:(0,a.createElement)(a.Fragment,null,c+" - "+r.M[c].symbol,(0,a.createElement)(i.Dashicon,{icon:"arrow-down"})),label:__("Change currency","jetpack"),onClick:e,onKeyDown:n=>{t||n.keyCode!==l.DOWN||(n.preventDefault(),n.stopPropagation(),e())}}),renderContent:({onClose:e})=>(0,a.createElement)(i.MenuGroup,null,Object.keys(u.ck).map((t=>(0,a.createElement)(i.MenuItem,{isSelected:t===c,icon:t===c?"yes":"",onClick:()=>{(e=>{const t=(0,u.li)(e);n({currency:e,oneTimeDonation:{...d,amounts:t},monthlyDonation:{...p,amounts:t},annualDonation:{...m,amounts:t}})})(t),e()},key:`jetpack-donations-currency-${t}`},t+" - "+r.M[t].symbol))))}))))),(0,a.createElement)(o.InspectorControls,null,(0,a.createElement)(i.PanelBody,{title:__("Settings","jetpack")},(0,a.createElement)(i.ToggleControl,{checked:p.show,onChange:e=>A("1 month",e),label:__("Show monthly donations","jetpack")}),(0,a.createElement)(i.ToggleControl,{checked:m.show,onChange:e=>A("1 year",e),label:__("Show annual donations","jetpack")}),(0,a.createElement)(i.ToggleControl,{checked:g,onChange:e=>n({showCustomAmount:e}),label:__("Show custom amount option","jetpack")}),(0,a.createElement)(i.ExternalLink,{href:`https://wordpress.com/earn/payments/${(0,s.lQ)()}`},__("View donation earnings","jetpack")))))}},853:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var a=n(51806),r=n(25607),s=n(43317),o=n(52175),i=n(65736),c=n(79162);const __=i.__,l={attributes:{currency:{type:"string",default:"USD"},oneTimeDonation:{type:"object",default:{show:!0,planId:null,amounts:[5,15,100],heading:__("Make a one-time donation","jetpack"),extraText:__("Your contribution is appreciated.","jetpack"),buttonText:__("Donate","jetpack")}},monthlyDonation:{type:"object",default:{show:!0,planId:null,amounts:[5,15,100],heading:__("Make a monthly donation","jetpack"),extraText:__("Your contribution is appreciated.","jetpack"),buttonText:__("Donate monthly","jetpack")}},annualDonation:{type:"object",default:{show:!0,planId:null,amounts:[5,15,100],heading:__("Make a yearly donation","jetpack"),extraText:__("Your contribution is appreciated.","jetpack"),buttonText:__("Donate yearly","jetpack")}},showCustomAmount:{type:"boolean",default:!0},chooseAmountText:{type:"string",default:__("Choose an amount","jetpack")},customAmountText:{type:"string",default:__("Or enter a custom amount","jetpack")}},supports:{html:!1},save:({attributes:e})=>{const{currency:t,oneTimeDonation:n,monthlyDonation:i,annualDonation:l,showCustomAmount:u,chooseAmountText:d,customAmountText:p}=e;if(!n||!n.show||-1===n.planId)return null;const m={"one-time":{title:__("One-Time","jetpack")},...i.show&&{"1 month":{title:__("Monthly","jetpack")}},...l.show&&{"1 year":{title:__("Yearly","jetpack")}}};return(0,a.createElement)("div",null,(0,a.createElement)("div",{className:"donations__container"},Object.keys(m).length>1&&(0,a.createElement)("div",{className:"donations__nav"},Object.entries(m).map((([e,{title:t}])=>(0,a.createElement)("div",{role:"button",tabIndex:0,className:"donations__nav-item",key:`jetpack-donations-nav-item-${e} `,"data-interval":e},t)))),(0,a.createElement)("div",{className:"donations__content"},(0,a.createElement)("div",{className:"donations__tab"},(0,a.createElement)(o.RichText.Content,{tagName:"h4",className:"donations__one-time-item",value:n.heading}),i.show&&(0,a.createElement)(o.RichText.Content,{tagName:"h4",className:"donations__monthly-item",value:i.heading}),l.show&&(0,a.createElement)(o.RichText.Content,{tagName:"h4",className:"donations__annual-item",value:l.heading}),(0,a.createElement)(o.RichText.Content,{tagName:"p",value:d}),(0,a.createElement)("div",{className:"donations__amounts donations__one-time-item"},n.amounts.map((e=>(0,a.createElement)("div",{className:"donations__amount","data-amount":e},(0,r.ZP)(e,t))))),i.show&&(0,a.createElement)("div",{className:"donations__amounts donations__monthly-item"},i.amounts.map((e=>(0,a.createElement)("div",{className:"donations__amount","data-amount":e},(0,r.ZP)(e,t))))),l.show&&(0,a.createElement)("div",{className:"donations__amounts donations__annual-item"},l.amounts.map((e=>(0,a.createElement)("div",{className:"donations__amount","data-amount":e},(0,r.ZP)(e,t))))),u&&(0,a.createElement)(a.Fragment,null,(0,a.createElement)(o.RichText.Content,{tagName:"p",value:p}),(0,a.createElement)("div",{className:"donations__amount donations__custom-amount"},s.M[t].symbol,(0,a.createElement)("div",{className:"donations__amount-value","data-currency":t,"data-empty-text":(0,r.ZP)(100*(0,c.hj)(t),t,{symbol:""})}))),(0,a.createElement)("div",{className:"donations__separator"},"——"),(0,a.createElement)(o.RichText.Content,{tagName:"p",className:"donations__one-time-item",value:n.extraText}),i.show&&(0,a.createElement)(o.RichText.Content,{tagName:"p",className:"donations__monthly-item",value:i.extraText}),l.show&&(0,a.createElement)(o.RichText.Content,{tagName:"p",className:"donations__annual-item",value:l.extraText}),(0,a.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__one-time-item"},(0,a.createElement)(o.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__one-time-item",value:n.buttonText})),i.show&&(0,a.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__monthly-item"},(0,a.createElement)(o.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__monthly-item",value:i.buttonText})),l.show&&(0,a.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__annual-item"},(0,a.createElement)(o.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__annual-item",value:l.buttonText}))))))}}},86245:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var a=n(82674),r=n.n(a),s=n(51806),o=n(45033),i=n(52175),c=n(9818),l=n(69307),u=n(65736),d=n(16367),p=n(79162),m=n(74251),g=n(7652),A=n(23267),h=n(21789),E=n(85731),f=n(24177),b=n(72833);const __=u.__,v=e=>{const{attributes:t,setAttributes:n}=e,{currency:a}=t,u=(0,i.useBlockProps)(),[v,C]=(0,l.useState)(""),[k,y]=(0,l.useState)([]),{lockPostSaving:B,unlockPostSaving:w}=(0,c.useDispatch)("core/editor"),_=(0,c.useSelect)((e=>e("core/editor").getCurrentPost()),[]),I=(0,c.useSelect)((e=>e(g.h).getConnectUrl()),""),{setConnectUrl:j,setConnectedAccountDefaultCurrency:x}=(0,c.useDispatch)(A.G4);(0,l.useEffect)((()=>{n({fallbackLinkUrl:_.link})}),[_.link,n]);const S=(0,c.useSelect)((e=>e(A.G4).getConnectedAccountDefaultCurrency()));(0,l.useEffect)((()=>{if(!a&&S){const e=S.toUpperCase(),t=!!p.ck[e];n(t?{currency:e}:{currency:"USD"})}}),[a,S,n]);const Q=e=>{C(e)};let N;return(0,l.useEffect)((()=>{B("donations");const e=e=>e.reduce(((e,{id:t,currency:n,type:r,interval:s})=>(n===a&&"donation"===r&&(e[s]=t),e)),{});(0,E.Z)("donation").then((t=>{if(!t&&"object"!=typeof t||t.errors)return w("donations"),void C(__("Could not load data from WordPress.com.","jetpack"));j((0,m.Z)(_.id,t.connect_url)),x(t?.connected_account_default_currency?.toUpperCase());const n=e(t.products);return(e=>{const t=Object.keys(e);return t.includes("one-time")&&t.includes("1 month")&&t.includes("1 year")})(n)?(y(n),void w("donations")):t.connect_url?(y({"one-time":-1,"1 month":-1,"1 year":-1}),void w("donations")):void(a&&(0,h.Z)(a).then((t=>{y(e(t)),w("donations")}),Q))}),Q)}),[B,a,_.id,j,x,w]),N=v?(0,s.createElement)(f.Z,{error:v}):I?(0,s.createElement)(d.U,{blockName:"donations"}):a?(0,s.createElement)(b.Z,r()({},e,{products:k})):(0,s.createElement)(o.Z,{color:"black"}),(0,s.createElement)("div",u,N)}},67140:(e,t,n)=>{"use strict";var a=n(31985),r=n(98826),s=n(853),o=n(86245),i=n(75314);(0,a.S)(r,{edit:o.Z,save:i.Z,deprecated:[s.Z]})},21789:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(86989),r=n.n(a);const s=async e=>{try{return await r()({path:"/wpcom/v2/memberships/products",method:"POST",data:{type:"donation",currency:e,is_editable:!1}})}catch(e){return Promise.reject(e.message)}}},85731:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(86989),r=n.n(a),s=n(96483);const o=async(e=null)=>{const t=new URLSearchParams(window.location.search),n=(0,s.addQueryArgs)("/wpcom/v2/memberships/status",{source:"https://wordpress.com"===t.get("origin")?"gutenberg-wpcom":"gutenberg",...e&&{type:e},is_editable:!1});try{return await r()({path:n,method:"GET"})}catch(e){return Promise.reject(e.message)}}},24177:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(51806),r=n(55609),s=n(65736);const __=s.__,o=({error:e})=>(0,a.createElement)(r.Placeholder,{icon:"lock",label:__("Donations","jetpack"),instructions:e})},75314:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(51806),r=n(52175);const s=(0,n(34943).X)(),o=({attributes:e})=>{const t=r.useBlockProps.save(),{fallbackLinkUrl:n,oneTimeDonation:o,monthlyDonation:i,annualDonation:c}=e;return o&&o.show&&o.planId&&-1!==o.planId?(0,a.createElement)("div",t,(0,a.createElement)(r.RichText.Content,{tagName:"h4",value:s.oneTimeDonation?.heading}),(0,a.createElement)(r.RichText.Content,{tagName:"p",value:o.extraText??s.extraText}),(0,a.createElement)(r.RichText.Content,{tagName:"a",className:"jetpack-donations-fallback-link",href:n,rel:"noopener noreferrer noamphtml",target:"_blank",value:s.oneTimeDonation?.buttonText}),i.show&&(0,a.createElement)(a.Fragment,null,(0,a.createElement)("hr",{className:"donations__separator"}),(0,a.createElement)(r.RichText.Content,{tagName:"h4",value:s.monthlyDonation?.heading}),(0,a.createElement)(r.RichText.Content,{tagName:"p",value:i.extraText??s.extraText}),(0,a.createElement)(r.RichText.Content,{tagName:"a",className:"jetpack-donations-fallback-link",href:n,rel:"noopener noreferrer noamphtml",target:"_blank",value:s.monthlyDonation?.buttonText})),c.show&&(0,a.createElement)(a.Fragment,null,(0,a.createElement)("hr",{className:"donations__separator"}),(0,a.createElement)(r.RichText.Content,{tagName:"h4",value:s.annualDonation?.heading}),(0,a.createElement)(r.RichText.Content,{tagName:"p",value:c.extraText??s.extraText}),(0,a.createElement)(r.RichText.Content,{tagName:"a",className:"jetpack-donations-fallback-link",href:n,rel:"noopener noreferrer noamphtml",target:"_blank",value:s.annualDonation?.buttonText}))):null}},91757:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(51806),r=n(52175),s=n(9818),o=n(65736),i=n(79162),c=n(10764),l=n(34943);const __=o.__,u=(0,l.X)(),d=({activeTab:e,attributes:t,setAttributes:n})=>{const{currency:l,oneTimeDonation:d,monthlyDonation:p,annualDonation:m,showCustomAmount:g,chooseAmountText:A=u.chooseAmountText,customAmountText:h=u.customAmountText}=t,E={"one-time":"oneTimeDonation","1 month":"monthlyDonation","1 year":"annualDonation"}[e],f=e=>t[E][e],b=(e,a)=>{const r=t[E];n({[E]:{...r,[e]:a}})},v=(0,i.li)(l),C=f("amounts"),k=(0,s.useSelect)((e=>e("core/rich-text").getFormatTypes()),[]).map((e=>e.name)).filter((e=>"core/link"!==e));return(0,a.createElement)("div",{className:"donations__tab"},(0,a.createElement)(r.RichText,{tagName:"h4",placeholder:__("Write a message…","jetpack"),value:f("heading")||u[E]?.heading,onChange:e=>b("heading",e)}),(0,a.createElement)(r.RichText,{tagName:"p",placeholder:__("Write a message…","jetpack"),value:A,onChange:e=>n({chooseAmountText:e})}),(0,a.createElement)("div",{className:"donations__amounts"},C.map(((e,t)=>(0,a.createElement)(c.Z,{currency:l,defaultValue:v[t],label:(0,o.sprintf)( +__("Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use. To find out more, including how to control cookies, see here: %s.","jetpack"),`${__("Cookie Policy","jetpack")}`)},15216:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(96072),a=n.n(r),s=n(82170),o=n(94715),i=n(56427),c=n(27723),l=n(68071),u=n(34839);const __=c.__;const d=function({clientId:e,attributes:t,setAttributes:n}){const{consentExpiryDays:r,align:d,text:p=l.a}=t;(0,u.w)(e);const m=(0,o.useBlockProps)({className:`wp-block-jetpack-cookie-consent align${d}`});return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(o.InspectorControls,null,(0,s.createElement)(i.PanelBody,{title:__("Block Settings","jetpack")},(0,s.createElement)(i.SelectControl,{label:__("Alignment","jetpack"),value:d,options:[{label:(0,c.isRTL)()?__("Right","jetpack"):__("Left","jetpack"),value:"left"},{label:__("Full","jetpack"),value:"full"},{label:__("Wide","jetpack"),value:"wide"},{label:(0,c.isRTL)()?__("Left","jetpack"):__("Right","jetpack"),value:"right"}],onChange:e=>function(e){const t=["wide","full"].includes(e)?{width:void 0,height:void 0}:{};n({...t,align:e})}(e)}),(0,s.createElement)(i.TextControl,{label:__("Consent Expiry Time (in days)","jetpack"),value:r,type:"number",min:"1",max:"365",onChange:e=>n({consentExpiryDays:parseInt(e)})}),(0,s.createElement)("p",null,__("Note: The block position in the editor is not indicative of the position on the front end. The block will always be positioned at the bottom of the page.","jetpack")))),(0,s.createElement)("div",a()({},m,{style:m.style}),(0,s.createElement)(o.RichText,{tagName:"p",value:p,onChange:e=>n({text:e})}),(0,s.createElement)(o.InnerBlocks,{allowedBlocks:["core/button"],template:[["core/button",{text:__("Accept","jetpack")}]],templateLock:"all"})))}},78165:(e,t,n)=>{"use strict";var r=n(94375),a=n(74095),s=n(15216),o=n(75757);(0,r.M)(a,{edit:s.A,save:o.A})},75757:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(96072),a=n.n(r),s=n(82170),o=n(94715),i=n(68071);function c({attributes:e}){const t=o.useBlockProps.save(),{text:n=i.a,consentExpiryDays:r}=e;return(0,s.createElement)("div",a()({},t,{style:t.style,role:"dialog","aria-modal":"true"}),(0,s.createElement)(o.RichText.Content,{tagName:"p",value:n}),(0,s.createElement)(o.InnerBlocks.Content,null),(0,s.createElement)("span",null,r))}},34839:(e,t,n)=>{"use strict";n.d(t,{w:()=>c});var r=n(74997),a=n(29491),s=n(3582),o=n(47143),i=n(86087);function c(e){const t=(0,o.useSelect)((e=>{const{isSavingPost:t,isSavingNonPostEntityChanges:n}=e("core/editor");return t()||n()}),[]),n=!(!(0,a.usePrevious)(t)||t),[,c]=(0,s.useEntityProp)("root","site","cookie_consent_template"),{saveEditedEntityRecord:l}=(0,o.useDispatch)(s.store),[u,d]=(0,i.useState)(!1),p=(0,o.useSelect)((e=>{const{getBlock:t}=e("core/block-editor");return t})),m=(0,i.useCallback)((e=>{d(!0),c(e),l("root","site",void 0,{cookie_consent_template:e}).finally((()=>{d(!1)}))}),[d,c,l]);(0,i.useEffect)((()=>()=>{p(e)||m(null)}),[]),(0,i.useEffect)((()=>{n&&!u&&m((0,r.serialize)([p(e)]))}),[n,u,m,p,e])}},75800:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(82170),a=n(4567),s=n(3975),o=n(94715),i=n(86087),c=n(13022),l=n(72730);const u=({className:e=null,currency:t=null,defaultValue:n=null,disabled:u=!1,label:d="",onChange:p=null,value:m=""})=>{const[g,A]=(0,i.useState)((0,a.Ay)(m,t,{symbol:""})),[h,E]=(0,i.useState)(!1),[f,b]=(0,i.useState)(!1),v=(0,i.useRef)(null),C=(0,i.useCallback)(((e,n)=>{A((r=>{if(e!==r){const r=(0,l.C_)(e,t);r&&r>=(0,l.dv)(t)?(b(!1),n&&p?.(r)):b(!0)}return e}))}),[t,p]),k=()=>{v.current&&(v.current.focus(),E(!0))};return(0,i.useEffect)((()=>{if(!v.current)return;const e=v.current,r=()=>{E(!1),g||C((0,a.Ay)(n,t,{symbol:""}))};return e.addEventListener("blur",r),()=>{e.removeEventListener("blur",r)}}),[t,n,g,v,C]),(0,i.useEffect)((()=>{h||f||A((0,a.Ay)(m,t,{symbol:""}))}),[t,h,f,m]),(0,i.useEffect)((()=>{C((0,a.Ay)(m,t,{symbol:""}))}),[t,m]),(0,r.createElement)("div",{className:(0,c.A)("donations__amount",e,{"has-focus":h,"has-error":f}),role:"button",tabIndex:0,onClick:k,onKeyDown:k},s.y[t].symbol,u?(0,r.createElement)("div",{className:"donations__amount-value"},(0,a.Ay)(m||n,t,{symbol:""})):(0,r.createElement)(o.RichText,{allowedFormats:[],"aria-label":d,onChange:e=>C(e,!0),placeholder:(0,a.Ay)(n,t,{symbol:""}),ref:v,value:g,withoutInteractiveFormatting:!0}))}},57018:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(82170),a=n(3975),s=n(85985),o=n(94715),i=n(56427),c=n(27723),l=n(48558),u=n(72730);const __=c.__,d=e=>{const{attributes:t,setAttributes:n}=e,{currency:c,oneTimeDonation:d,monthlyDonation:p,annualDonation:m,showCustomAmount:g}=t,A=(e,r)=>{const a={"1 month":"monthlyDonation","1 year":"annualDonation"}[e],s=t[a];n({[a]:{...s,show:r}})};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(i.ToolbarGroup,null,(0,r.createElement)(i.ToolbarItem,null,(()=>(0,r.createElement)(i.Dropdown,{contentClassName:"jetpack-donations__currency-popover",renderToggle:({onToggle:e,isOpen:t})=>(0,r.createElement)(i.Button,{className:"jetpack-donations__currency-toggle",icon:(0,r.createElement)(r.Fragment,null,c+" - "+a.y[c].symbol,(0,r.createElement)(i.Dashicon,{icon:"arrow-down"})),label:__("Change currency","jetpack"),onClick:e,onKeyDown:n=>{t||n.keyCode!==l.DOWN||(n.preventDefault(),n.stopPropagation(),e())}}),renderContent:({onClose:e})=>(0,r.createElement)(i.MenuGroup,null,Object.keys(u.VK).map((t=>(0,r.createElement)(i.MenuItem,{isSelected:t===c,icon:t===c?"yes":"",onClick:()=>{(e=>{const t=(0,u.Xj)(e);n({currency:e,oneTimeDonation:{...d,amounts:t},monthlyDonation:{...p,amounts:t},annualDonation:{...m,amounts:t}})})(t),e()},key:`jetpack-donations-currency-${t}`},t+" - "+a.y[t].symbol))))}))))),(0,r.createElement)(o.InspectorControls,null,(0,r.createElement)(i.PanelBody,{title:__("Settings","jetpack")},(0,r.createElement)(i.ToggleControl,{checked:p.show,onChange:e=>A("1 month",e),label:__("Show monthly donations","jetpack")}),(0,r.createElement)(i.ToggleControl,{checked:m.show,onChange:e=>A("1 year",e),label:__("Show annual donations","jetpack")}),(0,r.createElement)(i.ToggleControl,{checked:g,onChange:e=>n({showCustomAmount:e}),label:__("Show custom amount option","jetpack")}),(0,r.createElement)(i.ExternalLink,{href:`https://wordpress.com/earn/payments/${(0,s.GE)()}`},__("View donation earnings","jetpack")))))}},27718:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(82170),a=n(4567),s=n(3975),o=n(94715),i=n(27723),c=n(72730);const __=i.__,l={attributes:{currency:{type:"string",default:"USD"},oneTimeDonation:{type:"object",default:{show:!0,planId:null,amounts:[5,15,100],heading:__("Make a one-time donation","jetpack"),extraText:__("Your contribution is appreciated.","jetpack"),buttonText:__("Donate","jetpack")}},monthlyDonation:{type:"object",default:{show:!0,planId:null,amounts:[5,15,100],heading:__("Make a monthly donation","jetpack"),extraText:__("Your contribution is appreciated.","jetpack"),buttonText:__("Donate monthly","jetpack")}},annualDonation:{type:"object",default:{show:!0,planId:null,amounts:[5,15,100],heading:__("Make a yearly donation","jetpack"),extraText:__("Your contribution is appreciated.","jetpack"),buttonText:__("Donate yearly","jetpack")}},showCustomAmount:{type:"boolean",default:!0},chooseAmountText:{type:"string",default:__("Choose an amount","jetpack")},customAmountText:{type:"string",default:__("Or enter a custom amount","jetpack")}},supports:{html:!1},save:({attributes:e})=>{const{currency:t,oneTimeDonation:n,monthlyDonation:i,annualDonation:l,showCustomAmount:u,chooseAmountText:d,customAmountText:p}=e;if(!n||!n.show||-1===n.planId)return null;const m={"one-time":{title:__("One-Time","jetpack")},...i.show&&{"1 month":{title:__("Monthly","jetpack")}},...l.show&&{"1 year":{title:__("Yearly","jetpack")}}};return(0,r.createElement)("div",null,(0,r.createElement)("div",{className:"donations__container"},Object.keys(m).length>1&&(0,r.createElement)("div",{className:"donations__nav"},Object.entries(m).map((([e,{title:t}])=>(0,r.createElement)("div",{role:"button",tabIndex:0,className:"donations__nav-item",key:`jetpack-donations-nav-item-${e} `,"data-interval":e},t)))),(0,r.createElement)("div",{className:"donations__content"},(0,r.createElement)("div",{className:"donations__tab"},(0,r.createElement)(o.RichText.Content,{tagName:"h4",className:"donations__one-time-item",value:n.heading}),i.show&&(0,r.createElement)(o.RichText.Content,{tagName:"h4",className:"donations__monthly-item",value:i.heading}),l.show&&(0,r.createElement)(o.RichText.Content,{tagName:"h4",className:"donations__annual-item",value:l.heading}),(0,r.createElement)(o.RichText.Content,{tagName:"p",value:d}),(0,r.createElement)("div",{className:"donations__amounts donations__one-time-item"},n.amounts.map((e=>(0,r.createElement)("div",{className:"donations__amount","data-amount":e},(0,a.Ay)(e,t))))),i.show&&(0,r.createElement)("div",{className:"donations__amounts donations__monthly-item"},i.amounts.map((e=>(0,r.createElement)("div",{className:"donations__amount","data-amount":e},(0,a.Ay)(e,t))))),l.show&&(0,r.createElement)("div",{className:"donations__amounts donations__annual-item"},l.amounts.map((e=>(0,r.createElement)("div",{className:"donations__amount","data-amount":e},(0,a.Ay)(e,t))))),u&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.RichText.Content,{tagName:"p",value:p}),(0,r.createElement)("div",{className:"donations__amount donations__custom-amount"},s.y[t].symbol,(0,r.createElement)("div",{className:"donations__amount-value","data-currency":t,"data-empty-text":(0,a.Ay)(100*(0,c.dv)(t),t,{symbol:""})}))),(0,r.createElement)("div",{className:"donations__separator"},"——"),(0,r.createElement)(o.RichText.Content,{tagName:"p",className:"donations__one-time-item",value:n.extraText}),i.show&&(0,r.createElement)(o.RichText.Content,{tagName:"p",className:"donations__monthly-item",value:i.extraText}),l.show&&(0,r.createElement)(o.RichText.Content,{tagName:"p",className:"donations__annual-item",value:l.extraText}),(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__one-time-item"},(0,r.createElement)(o.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__one-time-item",value:n.buttonText})),i.show&&(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__monthly-item"},(0,r.createElement)(o.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__monthly-item",value:i.buttonText})),l.show&&(0,r.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper donations__annual-item"},(0,r.createElement)(o.RichText.Content,{tagName:"a",className:"wp-block-button__link donations__donate-button donations__annual-item",value:l.buttonText}))))))}}},31152:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(96072),a=n.n(r),s=n(82170),o=n(56461),i=n(94715),c=n(47143),l=n(86087),u=n(27723),d=n(53796),p=n(72730),m=n(27574),g=n(16521),A=n(3696),h=n(70975),E=n(93033),f=n(79085),b=n(36580);const __=u.__,v=e=>{const{attributes:t,setAttributes:n}=e,{currency:r}=t,u=(0,i.useBlockProps)(),[v,C]=(0,l.useState)(""),[k,y]=(0,l.useState)([]),{lockPostSaving:B,unlockPostSaving:w}=(0,c.useDispatch)("core/editor"),_=(0,c.useSelect)((e=>e("core/editor").getCurrentPost()),[]),I=(0,c.useSelect)((e=>e("core/editor").isPostSavingLocked()),[]),j=(0,c.useSelect)((e=>e(g.M).getConnectUrl()||""),[]),{setConnectUrl:x,setConnectedAccountDefaultCurrency:S}=(0,c.useDispatch)(A.EF),Q=(0,c.useSelect)((e=>e(A.EF).getConnectedAccountDefaultCurrency()));(0,l.useEffect)((()=>{if(!r&&Q&&!I){const e=Q.toUpperCase(),t=!!p.VK[e];n(t?{currency:e}:{currency:"USD"})}}),[r,Q,I,n]);const N=e=>{C(e)};let R;return(0,l.useEffect)((()=>{B("donations");const e=e=>e.reduce(((e,{id:t,currency:n,type:a,interval:s})=>(n===r&&"donation"===a&&(e[s]=t),e)),{});(0,E.A)("donation").then((t=>{if(!t&&"object"!=typeof t||t.errors)return w("donations"),void C(__("Could not load data from WordPress.com.","jetpack"));x((0,m.A)(_.id,t.connect_url)),S(t?.connected_account_default_currency?.toUpperCase());const n=e(t.products);return(e=>{const t=Object.keys(e);return t.includes("one-time")&&t.includes("1 month")&&t.includes("1 year")})(n)?(y(n),void w("donations")):t.connect_url?(y({"one-time":-1,"1 month":-1,"1 year":-1}),void w("donations")):(r&&(0,h.A)(r).then((t=>{y(e(t)),w("donations")}),N),void w("donations"))}),N)}),[B,r,_.id,x,S,w]),R=v?(0,s.createElement)(f.A,{error:v}):j?(0,s.createElement)(d.V,{blockName:"donations"}):r?(0,s.createElement)(b.A,a()({},e,{products:k})):(0,s.createElement)(o.A,{color:"black"}),(0,s.createElement)("div",u,R)}},46197:(e,t,n)=>{"use strict";var r=n(94375),a=n(87325),s=n(27718),o=n(31152),i=n(47693);(0,r.M)(a,{edit:o.A,save:i.A,deprecated:[s.A]})},70975:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(1455),a=n.n(r);const s=async e=>{try{return await a()({path:"/wpcom/v2/memberships/products",method:"POST",data:{type:"donation",currency:e,is_editable:!1}})}catch(e){return Promise.reject(e.message)}}},93033:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(1455),a=n.n(r),s=n(93832);const o=async(e=null)=>{const t=new URLSearchParams(window.location.search),n=(0,s.addQueryArgs)("/wpcom/v2/memberships/status",{source:"https://wordpress.com"===t.get("origin")?"gutenberg-wpcom":"gutenberg",...e&&{type:e},is_editable:!1});try{return await a()({path:n,method:"GET"})}catch(e){return Promise.reject(e.message)}}},79085:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(82170),a=n(56427),s=n(27723);const __=s.__,o=({error:e})=>(0,r.createElement)(a.Placeholder,{icon:"lock",label:__("Donations","jetpack"),instructions:e})},47693:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(82170),a=n(94715);const s=(0,n(75703).O)(),o=({attributes:e})=>{const t=a.useBlockProps.save(),{fallbackLinkUrl:n,oneTimeDonation:o,monthlyDonation:i,annualDonation:c}=e;return o&&o.show&&o.planId&&-1!==o.planId?(0,r.createElement)("div",t,(0,r.createElement)(a.RichText.Content,{tagName:"h4",value:s.oneTimeDonation?.heading}),(0,r.createElement)(a.RichText.Content,{tagName:"p",value:o.extraText??s.extraText}),(0,r.createElement)(a.RichText.Content,{tagName:"a",className:"jetpack-donations-fallback-link",href:n,rel:"noopener noreferrer noamphtml",target:"_blank",value:s.oneTimeDonation?.buttonText}),i.show&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)("hr",{className:"donations__separator"}),(0,r.createElement)(a.RichText.Content,{tagName:"h4",value:s.monthlyDonation?.heading}),(0,r.createElement)(a.RichText.Content,{tagName:"p",value:i.extraText??s.extraText}),(0,r.createElement)(a.RichText.Content,{tagName:"a",className:"jetpack-donations-fallback-link",href:n,rel:"noopener noreferrer noamphtml",target:"_blank",value:s.monthlyDonation?.buttonText})),c.show&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)("hr",{className:"donations__separator"}),(0,r.createElement)(a.RichText.Content,{tagName:"h4",value:s.annualDonation?.heading}),(0,r.createElement)(a.RichText.Content,{tagName:"p",value:c.extraText??s.extraText}),(0,r.createElement)(a.RichText.Content,{tagName:"a",className:"jetpack-donations-fallback-link",href:n,rel:"noopener noreferrer noamphtml",target:"_blank",value:s.annualDonation?.buttonText}))):null}},62225:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(82170),a=n(94715),s=n(47143),o=n(27723),i=n(72730),c=n(75800),l=n(75703);const __=o.__,u=(0,l.O)(),d=({activeTab:e,attributes:t,setAttributes:n})=>{const{currency:l,oneTimeDonation:d,monthlyDonation:p,annualDonation:m,showCustomAmount:g,chooseAmountText:A=u.chooseAmountText,customAmountText:h=u.customAmountText}=t,E={"one-time":"oneTimeDonation","1 month":"monthlyDonation","1 year":"annualDonation"}[e],f=e=>t[E][e],b=(e,r)=>{const a=t[E];n({[E]:{...a,[e]:r}})},v=(0,i.Xj)(l),C=f("amounts"),k=(0,s.useSelect)((e=>e("core/rich-text").getFormatTypes()),[]).map((e=>e.name)).filter((e=>"core/link"!==e));return(0,r.createElement)("div",{className:"donations__tab"},(0,r.createElement)(a.RichText,{tagName:"h4",placeholder:__("Write a message…","jetpack"),value:f("heading")||u[E]?.heading,onChange:e=>b("heading",e)}),(0,r.createElement)(a.RichText,{tagName:"p",placeholder:__("Write a message…","jetpack"),value:A,onChange:e=>n({chooseAmountText:e})}),(0,r.createElement)("div",{className:"donations__amounts"},C.map(((e,t)=>(0,r.createElement)(c.A,{currency:l,defaultValue:v[t],label:(0,o.sprintf)( // translators: %d: Tier level e.g: "1", "2", "3" -__("Tier %d","jetpack"),t+1),key:`jetpack-donations-amount-${t}`,onChange:e=>((e,t)=>{const n=[...C];n[t]=e,b("amounts",n)})(e,t),value:e})))),g&&(0,a.createElement)(a.Fragment,null,(0,a.createElement)(r.RichText,{tagName:"p",placeholder:__("Write a message…","jetpack"),value:h,onChange:e=>n({customAmountText:e})}),(0,a.createElement)(c.Z,{currency:l,label:__("Custom amount","jetpack"),defaultValue:100*(0,i.hj)(l),className:"donations__custom-amount",disabled:!0})),(0,a.createElement)("hr",{className:"donations__separator"}),(0,a.createElement)(r.RichText,{tagName:"p",placeholder:__("Write a message…","jetpack"),value:f("extraText")??u.extraText,onChange:e=>b("extraText",e)}),(0,a.createElement)("div",{className:"wp-block-button donations__donate-button-wrapper"},(0,a.createElement)(r.RichText,{className:"wp-block-button__link donations__donate-button",placeholder:__("Write a message…","jetpack"),value:f("buttonText")||u[E]?.buttonText,onChange:e=>{return t=e,void n({oneTimeDonation:{...d,buttonText:t},monthlyDonation:{...p,buttonText:t},annualDonation:{...m,buttonText:t}});var t},allowedFormats:k})))}},72833:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var a=n(51806),r=n(69307),s=n(65736),o=n(3228),i=n(82275),c=n(91757);const __=s.__,l=e=>{const{attributes:t,products:n,setAttributes:s}=e,{oneTimeDonation:l,monthlyDonation:u,annualDonation:d}=t,[p,m]=(0,r.useState)("one-time"),g=(0,r.useCallback)((e=>p===e),[p]),A={"one-time":{title:__("One-Time","jetpack")},...u.show&&{"1 month":{title:__("Monthly","jetpack")}},...d.show&&{"1 year":{title:__("Yearly","jetpack")}}};return(0,r.useEffect)((()=>{l.planId===n["one-time"]&&u.planId===n["1 month"]&&d.planId===n["1 year"]||s({...n["one-time"]&&{oneTimeDonation:{...l,planId:n["one-time"]}},...n["1 month"]&&{monthlyDonation:{...u,planId:n["1 month"]}},...n["1 year"]&&{annualDonation:{...d,planId:n["1 year"]}}})}),[l,u,d,s,n]),(0,r.useEffect)((()=>{!u.show&&g("1 month")&&m("one-time"),!d.show&&g("1 year")&&m("one-time")}),[u,d,m,g]),(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",{className:"donations__container"},Object.keys(A).length>1&&(0,a.createElement)("div",{className:"donations__nav"},Object.entries(A).map((([e,{title:t}])=>(0,a.createElement)("div",{role:"button",tabIndex:0,className:(0,o.Z)("donations__nav-item",{"is-active":g(e)}),onClick:()=>m(e),onKeyDown:()=>m(e),key:`jetpack-donations-nav-item-${e} `},t)))),(0,a.createElement)("div",{className:"donations__content"},(0,a.createElement)(c.Z,{activeTab:p,attributes:t,setAttributes:s}))),(0,a.createElement)(i.Z,e))}},34943:(e,t,n)=>{"use strict";function a(){if("undefined"==typeof window)return{};const e=window.Jetpack_DonationsBlock?.defaultTexts;return"object"!=typeof e?{}:e}n.d(t,{X:()=>a})},92868:(e,t,n)=>{"use strict";n.d(t,{IJ:()=>r,Q7:()=>s,Wh:()=>a});const a=/^\s*https?:\/\/(?:www\.)?(?:eventbrite\.[a-z.]+)\/e\/[^/]*?(\d+)\/?(?:\?[^/]*)?\s*$/i,r=/^\s*https?:\/\/(?:.+\.)?(?:eventbrite\.[a-z.]+)\/?(?:\?[^/]*)?\s*$/i,s="https://www.eventbrite.com/e/test-event-tickets-123456789"},6949:(e,t,n)=>{"use strict";n.d(t,{A:()=>u,J:()=>l});var a=n(51806),r=n(55609),s=n(65736),o=n(57538),i=n(8964);const __=s.__,_x=s._x,c=[{value:"inline",label:__("In-page Embed","jetpack"),preview:(0,a.createElement)("div",{className:"block-editor-block-preview__container"},(0,a.createElement)("img",{src:i,alt:__("In page Eventbrite checkout example","jetpack")}))},{value:"modal",label:__("Button & Modal","jetpack")}],l=({setEditingUrl:e})=>(0,a.createElement)(r.ToolbarGroup,null,(0,a.createElement)(r.ToolbarButton,{className:"components-toolbar__control",label:__("Edit URL","jetpack"),icon:"edit",onClick:()=>e(!0)})),u=({attributes:e,clientId:t,setAttributes:n})=>(0,a.createElement)(o.Z,{title:_x("Embed Type","option for how the embed displays on a page, e.g. inline or as a modal","jetpack"),clientId:t,styleOptions:c,onSelectStyle:n,activeStyle:e.style,attributes:e,viewportWidth:130})},1344:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a=[n(24717).Z]},24717:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(51806),r=n(52175),s=n(4981),o=n(65736),i=n(3228),c=n(92819);const _x=o._x,l=["text","backgroundColor","textColor","customBackgroundColor","customTextColor","borderRadius"];const u={attributes:{url:{type:"string",validator:e=>!e||e.startsWith("http")},eventId:{type:"number"},useModal:{type:"boolean"},style:{type:"string"},text:{type:"string",default:_x("Register","verb: e.g. register for an event.","jetpack")},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},borderRadius:{type:"number"}},migrate:e=>{const{className:t,style:n}=e;let a=n;a||(a=e.useModal?"modal":"inline");const r={...(0,c.omit)(e,["useModal",...l]),className:t&&t.replace("is-style-outline",""),style:a},o=(0,c.pick)(e,l);return[r,[(0,s.createBlock)("jetpack/button",{element:"a",text:o.text||_x("Register","verb: e.g. register for an event.","jetpack"),...o,uniqueId:"eventbrite-widget-id",className:t&&-1!==t.indexOf("is-style-outline")?"is-style-outline":""})]]},save:function({attributes:e}){const{eventId:t,useModal:n,url:s,style:o}=e;if(t)return n||"modal"===o?function(e){const{backgroundColor:t,borderRadius:n,customBackgroundColor:s,customTextColor:o,eventId:c,text:l,textColor:u,url:d}=e,p=(0,r.getColorClassName)("color",u),m=(0,r.getColorClassName)("background-color",t),g=(0,i.Z)("wp-block-button__link",{"has-text-color":u||o,[p]:p,"has-background":t||s,[m]:m,"no-border-radius":0===n}),A={backgroundColor:m?void 0:s,color:p?void 0:o,borderRadius:n?n+"px":void 0};return(0,a.createElement)("div",{className:"wp-block-button"},(0,a.createElement)(r.RichText.Content,{className:g,href:d,id:`eventbrite-widget-${c}`,rel:"noopener noreferrer",role:"button",style:A,tagName:"a",target:"_blank",value:l}))}(e):s&&(0,a.createElement)("a",{className:"eventbrite__direct-link",href:s},s)},isEligible:(e,t)=>("modal"===e.style||e.useModal)&&((0,c.isEmpty)(t)||(0,c.some)((0,c.pick)(e,l),Boolean))}},16078:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var a=n(82674),r=n.n(a),s=n(51806),o=n(52175),i=n(55609),c=n(69307),l=n(65736),u=n(4554),d=n(23621),p=n(33711),m=n(92868),g=n(6949),A=n(32983),h=n(26820),E=n(80497),f=n(77825);const __=l.__,_x=l._x,b={name:"jetpack/button",attributes:{element:"a",text:_x("Register","verb: e.g. register for an event.","jetpack"),uniqueId:"eventbrite-widget-id"}},v=(0,i.withNotices)((e=>{const{attributes:t,noticeOperations:n,onReplace:a,setAttributes:l}=e,{url:v,style:C}=t,k=(0,o.useBlockProps)(),[y,B]=(0,c.useState)(!1),[w,_]=(0,c.useState)(t.url||""),[I,j]=(0,c.useState)(!1),x=!I&&v&&!m.Wh.test(v),S=(0,c.useCallback)((()=>{n.removeAllNotices(),n.createErrorNotice((0,s.createElement)(s.Fragment,null,__("Sorry, this content could not be embedded.","jetpack")," ",(0,s.createElement)(i.Button,{variant:"link",onClick:()=>(0,f.N3)(w,a)},_x("Convert block to link","button label","jetpack"))))}),[n,a,w]),Q=(0,c.useCallback)((e=>{if(!e||m.Q7===e||"modal"===C)return;const t=(0,f.Ve)(e);if(t){const a={eventId:t,url:e};(0,d.Z)(a.url,j).then((e=>{const t=(0,u.S)(p.attributes,{...a,url:e});l(t),_(e),n.removeAllNotices()})).catch((()=>{l({eventId:void 0,url:void 0}),S()}))}else S()}),[C,n,S,l,_,j]);let N;return(0,c.useEffect)((()=>{Q(v)}),[v,Q]),N=I?(0,s.createElement)(h.Z,null):y||!v||x?(0,s.createElement)(A.Z,r()({},e,{editedUrl:w,onChange:e=>_(e.target.value),onSubmit:e=>{e&&e.preventDefault(),Q((0,f.qq)(w)),B(!1)}})):(0,s.createElement)(s.Fragment,null,(0,s.createElement)(g.A,e),(0,s.createElement)(o.BlockControls,null,(0,s.createElement)(g.J,{setEditingUrl:B})),"modal"===C?(0,s.createElement)(o.InnerBlocks,{template:[[b.name,b.attributes]],templateLock:"all"}):(0,s.createElement)(E.Z,e)),(0,s.createElement)("div",k,N)}))},83772:(e,t,n)=>{"use strict";var a=n(4981),r=n(31985),s=n(33711),o=n(92868),i=n(1344),c=n(16078),l=n(86435);(0,r.S)(s,{edit:c.Z,save:l.Z,transforms:{from:[{type:"raw",isMatch:e=>"P"===e.nodeName&&(o.Wh.test(e.textContent)||o.IJ.test(e.textContent)),transform:e=>(0,a.createBlock)("jetpack/eventbrite",{url:e.textContent.trim()})}]},deprecated:i.Z})},32983:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var a=n(51806),r=n(13419),s=n(55609),o=n(65736),i=n(33711);n(77825);const __=o.__,_x=o._x,c=(0,r.dM)(i),l=({className:e,noticeUI:t,editedUrl:n,onChange:o,onSubmit:i})=>{const l=(0,r.Wp)()||(0,r.Ug)()?"http://support.wordpress.com/wordpress-editor/blocks/eventbrite-block/":"https://jetpack.com/support/jetpack-blocks/eventbrite-block/";return(0,a.createElement)("div",{className:e},(0,a.createElement)(s.Placeholder,{label:__("Eventbrite Checkout","jetpack"),instructions:__("Paste a link to an Eventbrite event to embed ticket checkout.","jetpack"),icon:c,notices:t},(0,a.createElement)("form",{onSubmit:i},(0,a.createElement)("input",{type:"url",value:n,className:"components-placeholder__input","aria-label":__("Eventbrite URL","jetpack"),placeholder:__("Enter an event URL to embed here…","jetpack"),onChange:o}),(0,a.createElement)(s.Button,{variant:"secondary",type:"submit"},_x("Embed","submit button label","jetpack"))),(0,a.createElement)("div",{className:"components-placeholder__learn-more"},(0,a.createElement)(s.ExternalLink,{href:l},__("Learn more about Eventbrite embeds","jetpack")))))}},26820:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(51806),r=n(55609),s=n(65736);const __=s.__,o=()=>(0,a.createElement)("div",{className:"wp-block-embed is-loading"},(0,a.createElement)(r.Spinner,null),(0,a.createElement)("p",null,__("Embedding…","jetpack")))},80497:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(51806),r=n(55609);const s=({className:e,attributes:t})=>{const{eventId:n}=t;if(!n)return;const s=`eventbrite-widget-${n}`,o=`\n\t\t\t - isset( $_SERVER['REQUEST_URI'] ) ? rawurlencode( filter_var( wp_unslash( $_SERVER['REQUEST_URI'] ) ) ) : '', - ) - ); - - return add_query_arg( - array( - array( - 'autofocus' => array( - 'section' => 'custom_css', - ), - ), - 'return' => $args['return_url'], - ), - admin_url( 'customize.php' ) - ); - } - - /** - * Handle the enqueueing and localizing for scripts to be used in the Customizer. - */ - public static function customize_controls_enqueue_scripts() { - global $wp_customize; - - wp_enqueue_style( 'jetpack-customizer-css' ); - wp_enqueue_script( 'jetpack-customizer-css' ); - - $setting = $wp_customize->get_setting( 'jetpack_custom_css[replace]' ); - $content_help = __( 'Set a different media width for full size images.', 'jetpack' ); - - if ( ! empty( $GLOBALS['content_width'] ) ) { - $content_help .= sprintf( - // translators: the theme name and then the default width. - _n( ' The default media width for the %1$s theme is %2$d pixel.', ' The default media width for the %1$s theme is %2$d pixels.', (int) $GLOBALS['content_width'], 'jetpack' ), - wp_get_theme()->Name, - (int) $GLOBALS['content_width'] - ); - } - - wp_localize_script( - 'jetpack-customizer-css', - '_jp_css_settings', - array( - /** This filter is documented in modules/custom-css/custom-css.php */ - 'useRichEditor' => ! jetpack_is_mobile() && apply_filters( 'safecss_use_ace', true ), - 'areThereCssRevisions' => self::are_there_css_revisions(), - 'startFresh' => isset( $setting ) && $setting->value(), - 'revisionsUrl' => self::get_revisions_url(), - 'cssHelpUrl' => '//en.support.wordpress.com/custom-design/editing-css/', - 'l10n' => array( - 'mode' => __( 'Start Fresh (deprecated)', 'jetpack' ), - 'mobile' => __( 'On Mobile', 'jetpack' ), - 'contentWidth' => $content_help, - 'revisions' => _x( 'See full history', 'Toolbar button to see full CSS revision history', 'jetpack' ), - 'css_help_title' => _x( 'Help', 'Toolbar button to get help with custom CSS', 'jetpack' ), - 'startFreshCustomizerWarning' => __( "The Start Fresh option in the Additional CSS panel is enabled, which means the theme's original CSS is not applied. This option will no longer be supported after August 6, 2024.", 'jetpack' ), - ), - ) - ); - } - - /** - * Check whether there are CSS Revisions for a given theme. - * - * Going forward, there should always be, but this was necessitated - * early on by https://core.trac.wordpress.org/ticket/30854 - * - * @param string $stylesheet Stylesheet name. - * - * @return bool|null|WP_Post - */ - public static function are_there_css_revisions( $stylesheet = '' ) { - $post = wp_get_custom_css_post( $stylesheet ); - if ( empty( $post ) ) { - return $post; - } - return (bool) wp_get_post_revisions( $post ); - } - - /** - * Core doesn't have a function to get the revisions url for a given post ID. - * - * @param string $stylesheet Stylesheet name. - * - * @return null|string|void - */ - public static function get_revisions_url( $stylesheet = '' ) { - $post = wp_get_custom_css_post( $stylesheet ); - - // If we have any currently saved customizations... - if ( $post instanceof WP_Post ) { - $revisions = wp_get_post_revisions( $post->ID, array( 'posts_per_page' => 1 ) ); - if ( empty( $revisions ) || is_wp_error( $revisions ) ) { - return admin_url( 'themes.php?page=editcss' ); - } - $revision = reset( $revisions ); - return get_edit_post_link( $revision->ID ); - } - - return admin_url( 'themes.php?page=editcss' ); - } - - /** - * Get a map of all theme names and theme stylesheets for mapping stuff. - * - * @return array - */ - public static function get_themes() { - $themes = wp_get_themes( array( 'errors' => null ) ); - $all = array(); - foreach ( $themes as $theme ) { - $all[ $theme->name ] = $theme->stylesheet; - } - return $all; - } - - /** - * When we need to get all themes that have Custom CSS saved. - * - * @return array - */ - public static function get_all_themes_with_custom_css() { - $themes = self::get_themes(); - $custom_css = get_posts( - array( - 'post_type' => 'custom_css', - 'post_status' => get_post_stati(), - 'number' => -1, - 'order' => 'DESC', - 'orderby' => 'modified', - ) - ); - $return = array(); - - foreach ( $custom_css as $post ) { - $stylesheet = $post->post_title; - $label = array_search( $stylesheet, $themes, true ); - - if ( ! $label ) { - continue; - } - - $return[ $stylesheet ] = array( - 'label' => $label, - 'post' => $post, - ); - } - - return $return; - } - - /** - * Handle the enqueueing of scripts for customize previews. - */ - public static function wp_enqueue_scripts() { - if ( is_customize_preview() ) { - wp_enqueue_script( 'jetpack-customizer-css-preview' ); - wp_localize_script( - 'jetpack-customizer-css-preview', - 'jpCustomizerCssPreview', - array( - /** This filter is documented in modules/custom-css/custom-css.php */ - 'preprocessors' => apply_filters( 'jetpack_custom_css_preprocessors', array() ), - ) - ); - } - } - - /** - * Sanitize the CSS for users without `unfiltered_html`. - * - * @param string $css Input CSS. - * @param array $args Array of CSS options. - * - * @return mixed|string - */ - public static function sanitize_css( $css, $args = array() ) { - $args = wp_parse_args( - $args, - array( - 'force' => false, - 'preprocessor' => null, - ) - ); - - if ( $args['force'] || ! current_user_can( 'unfiltered_html' ) ) { - - $warnings = array(); - - safecss_class(); - $csstidy = new csstidy(); - $csstidy->optimise = new safecss( $csstidy ); - - $csstidy->set_cfg( 'remove_bslash', false ); - $csstidy->set_cfg( 'compress_colors', false ); - $csstidy->set_cfg( 'compress_font-weight', false ); - $csstidy->set_cfg( 'optimise_shorthands', 0 ); - $csstidy->set_cfg( 'remove_last_;', false ); - $csstidy->set_cfg( 'case_properties', false ); - $csstidy->set_cfg( 'discard_invalid_properties', true ); - $csstidy->set_cfg( 'css_level', 'CSS3.0' ); - $csstidy->set_cfg( 'preserve_css', true ); - $csstidy->set_cfg( 'template', __DIR__ . '/csstidy/wordpress-standard.tpl' ); - - // Test for some preg_replace stuff. - $prev = $css; - $css = preg_replace( '/\\\\([0-9a-fA-F]{4})/', '\\\\\\\\$1', $css ); - // prevent content: '\3434' from turning into '\\3434'. - $css = str_replace( array( '\'\\\\', '"\\\\' ), array( '\'\\', '"\\' ), $css ); - if ( $css !== $prev ) { - $warnings[] = 'preg_replace found stuff'; - } - - // Some people put weird stuff in their CSS, KSES tends to be greedy. - $css = str_replace( '<=', '<=', $css ); - - // Test for some kses stuff. - $prev = $css; - // Why KSES instead of strip_tags? Who knows? - $css = wp_kses_split( $css, array(), array() ); - $css = str_replace( '>', '>', $css ); // kses replaces lone '>' with > - // Why both KSES and strip_tags? Because we just added some '>'. - $css = strip_tags( $css ); // phpcs:ignore WordPress.WP.AlternativeFunctions.strip_tags_strip_tags -- scared to update this to wp_strip_all_tags since we're building a CSS file here. - - if ( $css !== $prev ) { - $warnings[] = 'kses found stuff'; - } - - // if we're not using a preprocessor. - if ( ! $args['preprocessor'] ) { - - /** This action is documented in modules/custom-css/custom-css.php */ - do_action( 'safecss_parse_pre', $csstidy, $css, $args ); - - $csstidy->parse( $css ); - - /** This action is documented in modules/custom-css/custom-css.php */ - do_action( 'safecss_parse_post', $csstidy, $warnings, $args ); - - $css = $csstidy->print->plain(); - } - } - return $css; - } - - /** - * Override $content_width in customizer previews. - */ - public static function preview_content_width() { - global $wp_customize; - if ( ! is_customize_preview() ) { - return; - } - - $setting = $wp_customize->get_setting( 'jetpack_custom_css[content_width]' ); - if ( ! $setting ) { - return; - } - - $customized_content_width = (int) $setting->post_value(); - if ( ! empty( $customized_content_width ) ) { - $GLOBALS['content_width'] = $customized_content_width; - } - } - - /** - * Filter the current theme's stylesheet for potentially nullifying it. - * - * @param string $current Stylesheet URI for the current theme/child theme. - * - * @return mixed|void - */ - public static function style_filter( $current ) { - if ( is_admin() ) { - return $current; - } elseif ( self::is_freetrial() && ( ! self::is_preview() || ! current_user_can( 'switch_themes' ) ) ) { - return $current; - } elseif ( self::skip_stylesheet() ) { - /** This filter is documented in modules/custom-css/custom-css.php */ - return apply_filters( 'safecss_style_filter_url', plugins_url( 'custom-css/css/blank.css', __FILE__ ) ); - } - - return $current; - } - - /** - * Determine whether or not we should have the theme skip its main stylesheet. - * - * @return mixed The truthiness of this value determines whether the stylesheet should be skipped. - */ - public static function skip_stylesheet() { - /** This filter is documented in modules/custom-css/custom-css.php */ - $skip_stylesheet = apply_filters( 'safecss_skip_stylesheet', null ); - if ( $skip_stylesheet !== null ) { - return $skip_stylesheet; - } - - $jetpack_custom_css = get_theme_mod( 'jetpack_custom_css', array() ); - if ( isset( $jetpack_custom_css['replace'] ) ) { - return $jetpack_custom_css['replace']; - } - - return false; - } - - /** - * Override $content_width in customizer previews. - * - * Runs on `safecss_skip_stylesheet` filter. - * - * @param bool $skip_value Should the stylesheet be skipped. - * - * @return null|bool - */ - public static function preview_skip_stylesheet( $skip_value ) { - global $wp_customize; - if ( ! is_customize_preview() ) { - return $skip_value; - } - - $setting = $wp_customize->get_setting( 'jetpack_custom_css[replace]' ); - if ( ! $setting ) { - return $skip_value; - } - - $customized_replace = $setting->post_value(); - if ( null !== $customized_replace ) { - return $customized_replace; - } - - return $skip_value; - } - - /** - * Add Custom CSS section and controls. - * - * @param WP_Customize_Manager $wp_customize WP_Customize_Manager instance. - */ - public static function customize_register( $wp_customize ) { - - /** - * SETTINGS. - */ - - $wp_customize->add_setting( - 'jetpack_custom_css[preprocessor]', - array( - 'default' => '', - 'transport' => 'postMessage', - 'sanitize_callback' => array( __CLASS__, 'sanitize_preprocessor' ), - ) - ); - - $wp_customize->add_setting( - 'jetpack_custom_css[replace]', - array( - 'default' => false, - 'transport' => 'refresh', - ) - ); - - $wp_customize->add_setting( - 'jetpack_custom_css[content_width]', - array( - 'default' => '', - 'transport' => 'refresh', - 'sanitize_callback' => array( __CLASS__, 'intval_base10' ), - ) - ); - - // Add custom sanitization to the core css customizer setting. - foreach ( $wp_customize->settings() as $setting ) { - if ( $setting instanceof WP_Customize_Custom_CSS_Setting ) { - add_filter( "customize_sanitize_{$setting->id}", array( __CLASS__, 'sanitize_css_callback' ), 10, 2 ); - } - } - - /** - * CONTROLS. - */ - - // Overwrite or Tweak the Core Control. - $core_custom_css = $wp_customize->get_control( 'custom_css' ); - if ( $core_custom_css ) { - if ( $core_custom_css instanceof WP_Customize_Code_Editor_Control ) { - // In WP 4.9, we let the Core CodeMirror control keep running the show, but hook into it to tweak stuff. - $types = array( - 'default' => 'text/css', - 'less' => 'text/x-less', - 'sass' => 'text/x-scss', - ); - $preprocessor = $wp_customize->get_setting( 'jetpack_custom_css[preprocessor]' )->value(); - if ( isset( $types[ $preprocessor ] ) ) { - $core_custom_css->code_type = $types[ $preprocessor ]; - } - } else { - // Core < 4.9 Fallback - $core_custom_css->type = 'jetpackCss'; - } - } - - $wp_customize->selective_refresh->add_partial( - 'custom_css', - array( - 'type' => 'custom_css', - 'selector' => '#wp-custom-css', - 'container_inclusive' => false, - 'fallback_refresh' => false, - 'settings' => array( - 'custom_css[' . $wp_customize->get_stylesheet() . ']', - 'jetpack_custom_css[preprocessor]', - ), - 'render_callback' => array( __CLASS__, 'echo_custom_css_partial' ), - ) - ); - - $wp_customize->add_control( - 'wpcom_custom_css_content_width_control', - array( - 'type' => 'text', - 'label' => __( 'Media Width (deprecated)', 'jetpack' ), - 'section' => 'custom_css', - 'settings' => 'jetpack_custom_css[content_width]', - ) - ); - - $wp_customize->add_control( - 'jetpack_css_mode_control', - array( - 'type' => 'checkbox', - 'label' => __( 'Don\'t use the theme\'s original CSS.', 'jetpack' ), - 'section' => 'custom_css', - 'settings' => 'jetpack_custom_css[replace]', - ) - ); - - /** - * An action to grab on to if another Jetpack Module would like to add its own controls. - * - * @module custom-css - * - * @since 4.4.2 - * - * @param $wp_customize The WP_Customize object. - */ - do_action( 'jetpack_custom_css_customizer_controls', $wp_customize ); - - /** This filter is documented in modules/custom-css/custom-css.php */ - $preprocessors = apply_filters( 'jetpack_custom_css_preprocessors', array() ); - if ( ! empty( $preprocessors ) ) { - $preprocessor_choices = array( - '' => __( 'None', 'jetpack' ), - ); - - foreach ( $preprocessors as $preprocessor_key => $processor ) { - $preprocessor_choices[ $preprocessor_key ] = $processor['name']; - } - - $wp_customize->add_control( - 'jetpack_css_preprocessors_control', - array( - 'type' => 'select', - 'choices' => $preprocessor_choices, - 'label' => __( 'Preprocessor (deprecated)', 'jetpack' ), - 'section' => 'custom_css', - 'settings' => 'jetpack_custom_css[preprocessor]', - ) - ); - } - } - - /** - * The callback to handle sanitizing the CSS. Takes different arguments, hence the proxy function. - * - * @param mixed $css Value of the setting. - * - * @return mixed|string - */ - public static function sanitize_css_callback( $css ) { - global $wp_customize; - return self::sanitize_css( - $css, - array( - 'preprocessor' => $wp_customize->get_setting( 'jetpack_custom_css[preprocessor]' )->value(), - ) - ); - } - - /** - * Flesh out for wpcom. - * - * @todo - * - * @return bool - */ - public static function is_freetrial() { - return false; - } - - /** - * Flesh out for wpcom. - * - * @todo - * - * @return bool - */ - public static function is_preview() { - return false; - } - - /** - * Output the custom css for customize preview. - * - * @param string $css Custom CSS content. - * - * @return mixed - */ - public static function customize_preview_wp_get_custom_css( $css ) { - global $wp_customize; - - $preprocessor = $wp_customize->get_setting( 'jetpack_custom_css[preprocessor]' )->value(); - - // If it's empty, just return. - if ( empty( $preprocessor ) ) { - return $css; - } - - /** This filter is documented in modules/custom-css/custom-css.php */ - $preprocessors = apply_filters( 'jetpack_custom_css_preprocessors', array() ); - if ( isset( $preprocessors[ $preprocessor ] ) ) { - return call_user_func( $preprocessors[ $preprocessor ]['callback'], $css ); - } - - return $css; - } - - /** - * Add CSS preprocessing to our CSS if it is supported. - * - * @param mixed $css Value of the setting. - * @param WP_Customize_Setting $setting WP_Customize_Setting instance. - * - * @return string - */ - public static function customize_value_custom_css( $css, $setting ) { - // Find the current preprocessor. - $preprocessor = null; - $jetpack_custom_css = get_theme_mod( 'jetpack_custom_css', array() ); - if ( isset( $jetpack_custom_css['preprocessor'] ) ) { - $preprocessor = $jetpack_custom_css['preprocessor']; - } - - // If it's not supported, just return. - /** This filter is documented in modules/custom-css/custom-css.php */ - $preprocessors = apply_filters( 'jetpack_custom_css_preprocessors', array() ); - if ( ! isset( $preprocessors[ $preprocessor ] ) ) { - return $css; - } - - // Swap it for the `post_content_filtered` instead. - $post = wp_get_custom_css_post( $setting->stylesheet ); - if ( $post && ! empty( $post->post_content_filtered ) ) { - $css = $post->post_content_filtered; - } - - return $css; - } - - /** - * Store the original pre-processed CSS in `post_content_filtered` - * and then store processed CSS in `post_content`. - * - * @param array $args Content post args. - * @param string $css Original CSS being updated. - * - * @return mixed - */ - public static function customize_update_custom_css_post_content_args( $args, $css ) { - // Find the current preprocessor. - $jetpack_custom_css = get_theme_mod( 'jetpack_custom_css', array() ); - if ( empty( $jetpack_custom_css['preprocessor'] ) ) { - return $args; - } - - $preprocessor = $jetpack_custom_css['preprocessor']; - /** This filter is documented in modules/custom-css/custom-css.php */ - $preprocessors = apply_filters( 'jetpack_custom_css_preprocessors', array() ); - - // If it's empty, just return. - if ( empty( $preprocessor ) ) { - return $args; - } - - if ( isset( $preprocessors[ $preprocessor ] ) ) { - $args['post_content_filtered'] = $css; - $args['post_content'] = call_user_func( $preprocessors[ $preprocessor ]['callback'], $css ); - } - - return $args; - } - - /** - * Filter to handle the processing of preprocessed css on save. - * - * @param array $args Custom CSS options. - * - * @return mixed - */ - public static function update_custom_css_data( $args ) { - // Find the current preprocessor. - $jetpack_custom_css = get_theme_mod( 'jetpack_custom_css', array() ); - if ( empty( $jetpack_custom_css['preprocessor'] ) ) { - return $args; - } - - /** This filter is documented in modules/custom-css/custom-css.php */ - $preprocessors = apply_filters( 'jetpack_custom_css_preprocessors', array() ); - $preprocessor = $jetpack_custom_css['preprocessor']; - - // If we have a preprocessor specified ... - if ( isset( $preprocessors[ $preprocessor ] ) ) { - // And no other preprocessor has run ... - if ( empty( $args['preprocessed'] ) ) { - $args['preprocessed'] = $args['css']; - $args['css'] = call_user_func( $preprocessors[ $preprocessor ]['callback'], $args['css'] ); - } else { - trigger_error( 'Jetpack CSS Preprocessor specified, but something else has already modified the argument.', E_USER_WARNING ); // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_trigger_error - } - } - - return $args; - } - - /** - * When on the edit screen, make sure the custom content width - * setting is applied to the large image size. - * - * @param array $dims Array of image dimensions (width and height). - * @param string $size Size of the resulting image. - * @param null $context Context the image is being resized for. `edit` or `display`. - * - * @return array - */ - public static function editor_max_image_size( $dims, $size = 'medium', $context = null ) { - list( $width, $height ) = $dims; - - if ( 'large' === $size && 'edit' === $context ) { - $width = Jetpack::get_content_width(); - } - - return array( $width, $height ); - } - - /** - * Override the content_width with a custom value if one is set. - * - * @param int $content_width Content Width value to be updated. - * - * @return int - */ - public static function jetpack_content_width( $content_width ) { - $custom_content_width = 0; - - $jetpack_custom_css = get_theme_mod( 'jetpack_custom_css', array() ); - if ( isset( $jetpack_custom_css['content_width'] ) ) { - $custom_content_width = $jetpack_custom_css['content_width']; - } - - if ( $custom_content_width > 0 ) { - return $custom_content_width; - } - - return $content_width; - } - - /** - * Return whether the Start Fresh option of the CSS editor is enabled. - * - * @return boolean - */ - public static function is_start_fresh_option_enabled() { - if ( wp_is_block_theme() ) { - return false; - } - - $start_fresh = null; - - // $wp_customize is not available here. Let's get the value of the `replace` option from the last - // customize_changeset posts. - $posts = get_posts( - array( - 'post_type' => 'customize_changeset', - 'post_status' => 'trash', - 'order_by' => 'post_modified', - 'order' => 'DESC', - ) - ); - - // Bail as soon as we find a post that defines the `replace` option. - foreach ( $posts as $post ) { - $content = $post->post_content; - - if ( empty( $content ) ) { - continue; - } - - $parsed_content = json_decode( $content, true ); - - if ( empty( $parsed_content ) ) { - continue; - } - - foreach ( $parsed_content as $key => $data ) { - if ( str_ends_with( $key, '::jetpack_custom_css[replace]' ) ) { - $start_fresh = $data['value']; - break; - } - } - - if ( isset( $start_fresh ) ) { - break; - } - } - - return $start_fresh; - } - - /** - * Display a deprecation warning on the frontend for site admins only - */ - public static function display_frontend_warning() { - if ( ! current_user_can( 'edit_themes' ) || ! current_user_can( 'edit_theme_options' ) || ! self::is_start_fresh_option_enabled() ) { - return; - } - - $notice = ''; - $notice .= ''; - $notice .= ''; - $notice .= ''; - - // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped - echo $notice; - } - - /** - * Update the initial state to include the `replace` option (Start Fresh) in the module data. - */ - public static function update_initial_state() { - if ( 'toplevel_page_jetpack' !== get_current_screen()->base ) { - return; - } - - $val = self::is_start_fresh_option_enabled() ? 'true' : 'false'; - - wp_add_inline_script( - 'react-plugin', - " - try { - var options = window.Initial_State?.getModules?.['custom-css']?.options || {}; - options.replace = $val; - } catch (e) {} - ", - 'after' - ); - } - - /** - * Currently this filter function gets called on - * 'template_redirect' action and - * 'admin_init' action - */ - public static function set_content_width() { - // Don't apply this filter on the Edit CSS page. - if ( isset( $_GET['page'] ) && 'editcss' === $_GET['page'] && is_admin() ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- nothing is changed on the site. - return; - } - - $GLOBALS['content_width'] = Jetpack::get_content_width(); - } - - /** - * Make sure the preprocessor we're saving is one we know about. - * - * @param string $preprocessor The preprocessor to sanitize. - * - * @return null|string - */ - public static function sanitize_preprocessor( $preprocessor ) { - /** This filter is documented in modules/custom-css/custom-css.php */ - $preprocessors = apply_filters( 'jetpack_custom_css_preprocessors', array() ); - if ( empty( $preprocessor ) || array_key_exists( $preprocessor, $preprocessors ) ) { - return $preprocessor; - } - return null; - } - - /** - * Get the base10 intval. - * - * This is used as a setting's sanitize_callback; we can't use just plain - * intval because the second argument is not what intval() expects. - * - * @access public - * - * @param mixed $value Number to convert. - * @return int Integer. - */ - public static function intval_base10( $value ) { - return (int) $value; - } - - /** - * Add a footer action on revision.php to print some customizations for the theme switcher. - */ - public static function load_revision_php() { - add_action( 'admin_footer', array( __CLASS__, 'revision_admin_footer' ) ); - } - - /** - * Print the theme switcher on revision.php and move it into place. - */ - public static function revision_admin_footer() { - $post = get_post(); - if ( 'custom_css' !== $post->post_type ) { - return; - } - $stylesheet = $post->post_title; - ?> - - - - -
    - - - -
    - label { - position: relative; - width: 100px; -} -#customize-control-wpcom_custom_css_content_width_control .customize-control-title { - padding-bottom: 6px; -} -#customize-controls #customize-control-wpcom_custom_css_content_width_control input[type="text"], /* stronger selector to override new-customizer.css */ -#customize-control-wpcom_custom_css_content_width_control input[type="text"] { - width: 64px; - padding-right: 22px; - text-align: right; -} -#customize-control-wpcom_custom_css_content_width_control input[type="text"] + span { - position: absolute; - left: 43px; - padding-top: 3px; - opacity: .8; -} - -#customize-control-wpcom_custom_css_content_width_control input[type="text"]:focus + span { - opacity: 1; -} - -#customize-control-wpcom_custom_css_content_width_control .description { - display: block; - margin: 28px 0 0 0; - color: #a7aaad; -} - -#customize-control-wpcom_custom_css_content_width_control .description strong { - font-style: normal; -} - -#customize-control-jetpack_custom_css_control { - position: relative; -} - -.css-help { - border-bottom: 1px solid #dcdcde; - background: #ffffff; - position: relative; - right: 0; - left: 0; - width: 100%; - padding: 0; - overflow: hidden; -} - -.css-help a { - float: none; - display: inline-block; - text-decoration: none; - border-bottom: 4px solid transparent; - color: #50575e; - padding: 7px 10px 5px; - transition: .15s color ease-in-out,.15s background-color ease-in-out,.15s border-color ease-in-out; -} - -.css-help a:hover { - color: #2271b1; - background-color: #f3f3f5; -} - -.css-help a:before { - display: inline-block; - position: relative; - font-family: dashicons; - font-size: 20px; - padding-right: 3px; - top: 5px; - line-height: 1px; -} - -.css-help a:focus { - color: #2271b1; - background-color: #f3f3f5; - border-bottom-color: #2271b1; - box-shadow: none; -} - -.css-help a#revisions-link:before { - content: "\f321"; -} - -.css-help a#help-link:before { - content: "\f223"; -} - -#sub-accordion-section-custom_css .customize-control { - margin: 12px 0; -} - -#sub-accordion-section-custom_css .customize-control-jetpackCss { - margin: 0 -12px; - width: calc( 100% + 24px ); -} - -#customize-theme-controls #sub-accordion-section-custom_css .customize-control-title { - margin-left: 0; - margin-right: 0; -} - -#sub-accordion-section-custom_css #customize-control-jetpack_css_preprocessors_control select { - max-width: 75%; -} - -body.editing-css .wp-full-overlay-sidebar { - width: 500px; -} - -body.editing-css .wp-full-overlay.expanded { - margin-left: 500px; -} - -input[type=jetpackCss] { - display: none; -} diff --git a/wp-content/plugins/jetpack/modules/custom-css/custom-css/js/codemirror.min.js b/wp-content/plugins/jetpack/modules/custom-css/custom-css/js/codemirror.min.js deleted file mode 100644 index efc8a0fb7..000000000 --- a/wp-content/plugins/jetpack/modules/custom-css/custom-css/js/codemirror.min.js +++ /dev/null @@ -1,11 +0,0 @@ -/** - * http://codemirror.net/ - * MIT License - * Includes CSS & LESS modes. - * v3.19.1 - */ -window.CodeMirror=function(){"use strict";function x(a,c){if(!(this instanceof x))return new x(a,c);this.options=c=c||{};for(var d in _c)!c.hasOwnProperty(d)&&_c.hasOwnProperty(d)&&(c[d]=_c[d]);J(c);var e="string"==typeof c.value?0:c.value.first,f=this.display=y(a,e);f.wrapper.CodeMirror=this,G(this),c.autofocus&&!p&&Nb(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,draggingText:!1,highlight:new Xe},E(this),c.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap");var g=c.value;"string"==typeof g&&(g=new ge(c.value,c.mode)),Fb(this,ke)(this,g),b&&setTimeout(ff(Mb,this,!0),20),Pb(this);var h;try{h=document.activeElement==f.input}catch(i){}h||c.autofocus&&!p?setTimeout(ff(mc,this),20):nc(this),Fb(this,function(){for(var a in $c)$c.propertyIsEnumerable(a)&&$c[a](this,c[a],bd);for(var b=0;bb.maxLineLength&&(b.maxLineLength=d,b.maxLine=a)})}function J(a){var b=bf(a.gutters,"CodeMirror-linenumbers");-1==b&&a.lineNumbers?a.gutters=a.gutters.concat(["CodeMirror-linenumbers"]):b>-1&&!a.lineNumbers&&(a.gutters=a.gutters.slice(0),a.gutters.splice(b,1))}function K(a){var b=a.display,c=a.doc.height,d=c+gb(b);b.sizer.style.minHeight=b.heightForcer.style.top=d+"px",b.gutters.style.height=Math.max(d,b.scroller.clientHeight-Ve)+"px";var e=Math.max(d,b.scroller.scrollHeight),f=b.scroller.scrollWidth>b.scroller.clientWidth+1,g=e>b.scroller.clientHeight+1;g?(b.scrollbarV.style.display="block",b.scrollbarV.style.bottom=f?tf(b.measure)+"px":"0",b.scrollbarV.firstChild.style.height=e-b.scroller.clientHeight+b.scrollbarV.clientHeight+"px"):(b.scrollbarV.style.display="",b.scrollbarV.firstChild.style.height="0"),f?(b.scrollbarH.style.display="block",b.scrollbarH.style.right=g?tf(b.measure)+"px":"0",b.scrollbarH.firstChild.style.width=b.scroller.scrollWidth-b.scroller.clientWidth+b.scrollbarH.clientWidth+"px"):(b.scrollbarH.style.display="",b.scrollbarH.firstChild.style.width="0"),f&&g?(b.scrollbarFiller.style.display="block",b.scrollbarFiller.style.height=b.scrollbarFiller.style.width=tf(b.measure)+"px"):b.scrollbarFiller.style.display="",f&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(b.gutterFiller.style.display="block",b.gutterFiller.style.height=tf(b.measure)+"px",b.gutterFiller.style.width=b.gutters.offsetWidth+"px"):b.gutterFiller.style.display="",l&&0===tf(b.measure)&&(b.scrollbarV.style.minWidth=b.scrollbarH.style.minHeight=m?"18px":"12px",b.scrollbarV.style.pointerEvents=b.scrollbarH.style.pointerEvents="none")}function L(a,b,c){var d=a.scroller.scrollTop,e=a.wrapper.clientHeight;"number"==typeof c?d=c:c&&(d=c.top,e=c.bottom-c.top),d=Math.floor(d-fb(a));var f=Math.ceil(d+e);return{from:qe(b,d),to:qe(b,f)}}function M(a){var b=a.display;if(b.alignWidgets||b.gutters.firstChild&&a.options.fixedGutter){for(var c=P(b)-b.scroller.scrollLeft+a.doc.scrollLeft,d=b.gutters.offsetWidth,e=c+"px",f=b.lineDiv.firstChild;f;f=f.nextSibling)if(f.alignable)for(var g=0,h=f.alignable;g=a.display.showingFrom&&h.to<=a.display.showingTo)break}return g&&(Qe(a,"update",a),(a.display.showingFrom!=e||a.display.showingTo!=f)&&Qe(a,"viewportChange",a,a.display.showingFrom,a.display.showingTo)),g}function R(a,b,c,d){var e=a.display,f=a.doc;if(!e.wrapper.clientWidth)return e.showingFrom=e.showingTo=f.first,e.viewOffset=0,void 0;if(!(!d&&0==b.length&&c.from>e.showingFrom&&c.tol&&e.showingTo-l<20&&(l=Math.min(j,e.showingTo)),w)for(k=pe(Fd(f,le(f,k)));j>l&&Gd(f,le(f,l));)++l;var m=[{from:Math.max(e.showingFrom,f.first),to:Math.min(e.showingTo,j)}];if(m=m[0].from>=m[0].to?[]:U(m,b),w)for(var i=0;in.from)){m.splice(i--,1);break}n.to=p}for(var q=0,i=0;il&&(n.to=l),n.from>=n.to?m.splice(i--,1):q+=n.to-n.from}if(!d&&q==l-k&&k==e.showingFrom&&l==e.showingTo)return T(a),void 0;m.sort(function(a,b){return a.from-b.from});try{var r=document.activeElement}catch(s){}.7*(l-k)>q&&(e.lineDiv.style.display="none"),W(a,k,l,m,h),e.lineDiv.style.display="",r&&document.activeElement!=r&&r.offsetHeight&&r.focus();var t=k!=e.showingFrom||l!=e.showingTo||e.lastSizeC!=e.wrapper.clientHeight;return t&&(e.lastSizeC=e.wrapper.clientHeight,bb(a,400)),e.showingFrom=k,e.showingTo=l,S(a),T(a),!0}}function S(a){for(var f,b=a.display,d=b.lineDiv.offsetTop,e=b.lineDiv.firstChild;e;e=e.nextSibling)if(e.lineObj){if(c){var g=e.offsetTop+e.offsetHeight;f=g-d,d=g}else{var h=pf(e);f=h.bottom-h.top}var i=e.lineObj.height-f;if(2>f&&(f=Ab(b)),i>.001||-.001>i){oe(e.lineObj,f);var j=e.lineObj.widgets;if(j)for(var k=0;kc;++c){for(var e=b[c],f=[],g=e.diff||0,h=0,i=a.length;i>h;++h){var j=a[h];e.to<=j.from&&e.diff?f.push({from:j.from+g,to:j.to+g}):e.to<=j.from||e.from>=j.to?f.push(j):(e.from>j.from&&f.push({from:j.from,to:e.from}),e.ton){for(;k.lineObj!=b;)k=l(k);i&&n>=e&&k.lineNumber&&of(k.lineNumber,O(a.options,n)),k=k.nextSibling}else{if(b.widgets)for(var s,q=0,r=k;r&&20>q;++q,r=r.nextSibling)if(r.lineObj==b&&/div/i.test(r.nodeName)){s=r;break}var t=X(a,b,n,g,s);if(t!=s)j.insertBefore(t,k);else{for(;k!=s;)k=l(k);k=k.nextSibling}t.lineObj=b}++n});k;)k=l(k)}function X(a,b,d,e,f){var k,g=Xd(a,b),h=g.pre,i=b.gutterMarkers,j=a.display,l=g.bgClass?g.bgClass+" "+(b.bgClass||""):b.bgClass;if(!(a.options.lineNumbers||i||l||b.wrapClass||b.widgets))return h;if(f){f.alignable=null;for(var q,m=!0,n=0,o=null,p=f.firstChild;p;p=q)if(q=p.nextSibling,/\bCodeMirror-linewidget\b/.test(p.className)){for(var r=0;rb&&(b=0),e.appendChild(lf("div",null,"CodeMirror-selected","position: absolute; left: "+a+"px; top: "+b+"px; width: "+(null==c?f-a:c)+"px; height: "+(d-b)+"px"))}function i(b,d,e){function m(c,d){return ub(a,Bc(b,c),"div",i,d)}var k,l,i=le(c,b),j=i.text.length;return Af(se(i),d||0,null==e?j:e,function(a,b,c){var n,o,p,i=m(a,"left");if(a==b)n=i,o=p=i.left;else{if(n=m(b-1,"right"),"rtl"==c){var q=i;i=n,n=q}o=i.left,p=n.right}null==d&&0==a&&(o=g),n.top-i.top>3&&(h(o,i.top,null,i.bottom),o=g,i.bottoml.bottom||n.bottom==l.bottom&&n.right>l.right)&&(l=n),g+1>o&&(o=g),h(o,n.top,p-o,n.bottom)}),{start:k,end:l}}var b=a.display,c=a.doc,d=a.doc.sel,e=document.createDocumentFragment(),f=b.lineSpace.offsetWidth,g=hb(a.display);if(d.from.line==d.to.line)i(d.from.line,d.from.ch,d.to.ch);else{var j=le(c,d.from.line),k=le(c,d.to.line),l=Fd(c,j)==Fd(c,k),m=i(d.from.line,d.from.ch,l?j.text.length:null).end,n=i(d.to.line,l?0:null,d.to.ch).start;l&&(m.top0&&(b.blinker=setInterval(function(){b.cursor.style.visibility=b.otherCursor.style.visibility=(c=!c)?"":"hidden"},a.options.cursorBlinkRate))}}function bb(a,b){a.doc.mode.startState&&a.doc.frontier=a.display.showingTo)){var f,c=+new Date+a.options.workTime,d=hd(b.mode,eb(a,b.frontier)),e=[];b.iter(b.frontier,Math.min(b.first+b.size,a.display.showingTo+500),function(g){if(b.frontier>=a.display.showingFrom){var h=g.styles;g.styles=Sd(a,g,d);for(var i=!h||h.length!=g.styles.length,j=0;!i&&jc?(bb(a,a.options.workDelay),!0):void 0}),e.length&&Fb(a,function(){for(var a=0;ag;--h){if(h<=f.first)return f.first;var i=le(f,h-1);if(i.stateAfter&&(!c||h<=f.frontier))return h;var j=Ye(i.text,null,a.options.tabSize);(null==e||d>j)&&(e=h-1,d=j)}return e}function eb(a,b,c){var d=a.doc,e=a.display;if(!d.mode.startState)return!0;var f=db(a,b,c),g=f>d.first&&le(d,f-1).stateAfter;return g=g?hd(d.mode,g):id(d.mode),d.iter(f,b,function(c){Ud(a,c,g);var h=f==b-1||0==f%5||f>=e.showingFrom&&ff&&0==h&&(f=1)}return e=h>c?"left":c>h?"right":e,"left"==e&&i.leftSide?i=i.leftSide:"right"==e&&i.rightSide&&(i=i.rightSide),{left:c>h?i.right:i.left,right:h>c?i.left:i.right,top:i.top,bottom:i.bottom}}function jb(a,b){for(var c=a.display.measureLineCache,d=0;ds&&(c=s),0>b&&(b=0);for(var d=q.length-2;d>=0;d-=2){var e=q[d],f=q[d+1];if(!(e>c||b>f)&&(b>=e&&f>=c||e>=b&&c>=f||Math.min(c,f)-Math.max(b,e)>=c-b>>1)){q[d]=Math.min(b,e),q[d+1]=Math.max(c,f);break}}return 0>d&&(d=q.length,q.push(b,c)),{left:a.left-p.left,right:a.right-p.left,top:d,bottom:null}}function u(a){a.bottom=q[a.top+1],a.top=q[a.top]}if(!a.options.lineWrapping&&e.text.length>=a.options.crudeMeasuringFrom)return nb(a,e);var f=a.display,g=ef(e.text.length),h=Xd(a,e,g,!0).pre;if(b&&!c&&!a.options.lineWrapping&&h.childNodes.length>100){for(var i=document.createDocumentFragment(),j=10,k=h.childNodes.length,l=0,m=Math.ceil(k/j);m>l;++l){for(var n=lf("div",null,null,"display: inline-block"),o=0;j>o&&k;++o)n.appendChild(h.firstChild),--k;i.appendChild(n)}h.appendChild(i)}nf(f.measure,h);var p=pf(f.lineDiv),q=[],r=ef(e.text.length),s=h.offsetHeight;d&&f.measure.first!=h&&nf(f.measure,h);for(var v,l=0;l1&&(x=r[l]=t(y[0]),x.rightSide=t(y[y.length-1]))}x||(x=r[l]=t(pf(w))),v.measureRight&&(x.right=pf(v.measureRight).left),v.leftSide&&(x.leftSide=t(pf(v.leftSide)))}mf(a.display.measure);for(var v,l=0;l=a.options.crudeMeasuringFrom)return ib(a,b,b.text.length,f&&f.measure,"right").right;var g=Xd(a,b,null,!0).pre,h=g.appendChild(vf(a.display.measure));return nf(a.display.measure,g),pf(h).right-pf(a.display.lineDiv).left}function pb(a){a.display.measureLineCache.length=a.display.measureLineCachePos=0,a.display.cachedCharWidth=a.display.cachedTextHeight=null,a.options.lineWrapping||(a.display.maxLineChanged=!0),a.display.lineNumChars=null}function qb(){return window.pageXOffset||(document.documentElement||document.body).scrollLeft}function rb(){return window.pageYOffset||(document.documentElement||document.body).scrollTop}function sb(a,b,c,d){if(b.widgets)for(var e=0;ec.from?f(a-1):f(a,d)}d=d||le(a.doc,b.line),e||(e=lb(a,d));var h=se(d),i=b.ch;if(!h)return f(i);var j=Jf(h,i),k=g(i,j);return null!=If&&(k.other=g(i,If)),k}function wb(a,b,c,d){var e=new Bc(a,b);return e.xRel=d,c&&(e.outside=!0),e}function xb(a,b,c){var d=a.doc;if(c+=a.display.viewOffset,0>c)return wb(d.first,0,!0,-1);var e=qe(d,c),f=d.first+d.size-1;if(e>f)return wb(d.first+d.size-1,le(d,f).text.length,!0,1);for(0>b&&(b=0);;){var g=le(d,e),h=yb(a,g,e,b,c),i=Ed(g),j=i&&i.find();if(!i||!(h.ch>j.from.ch||h.ch==j.from.ch&&h.xRel>0))return h;e=j.to.line}}function yb(a,b,c,d,e){function j(d){var e=vb(a,Bc(c,d),"line",b,i);return g=!0,f>e.bottom?e.left-h:fq)return wb(c,n,r,1);for(;;){if(k?n==m||n==Lf(b,m,1):1>=n-m){for(var s=o>d||q-d>=d-o?m:n,t=d-(s==m?o:q);kf.test(b.text.charAt(s));)++s;var u=wb(c,s,s==m?p:r,0>t?-1:t?1:0);return u}var v=Math.ceil(l/2),w=m+v;if(k){w=m;for(var x=0;v>x;++x)w=Lf(b,w,1)}var y=j(w);y>d?(n=w,q=y,(r=g)&&(q+=1e3),l=v):(m=w,o=y,p=g,l-=v)}}function Ab(a){if(null!=a.cachedTextHeight)return a.cachedTextHeight;if(null==zb){zb=lf("pre");for(var b=0;49>b;++b)zb.appendChild(document.createTextNode("x")),zb.appendChild(lf("br"));zb.appendChild(document.createTextNode("x"))}nf(a.measure,zb);var c=zb.offsetHeight/50;return c>3&&(a.cachedTextHeight=c),mf(a.measure),c||1}function Bb(a){if(null!=a.cachedCharWidth)return a.cachedCharWidth;var b=lf("span","x"),c=lf("pre",[b]);nf(a.measure,c);var d=b.offsetWidth;return d>2&&(a.cachedCharWidth=d),d||10}function Db(a){a.curOp={changes:[],forceUpdate:!1,updateInput:null,userSelChange:null,textChanged:null,selectionChanged:!1,cursorActivity:!1,updateMaxLine:!1,updateScrollPos:!1,id:++Cb},Pe++||(Oe=[])}function Eb(a){var b=a.curOp,c=a.doc,d=a.display;if(a.curOp=null,b.updateMaxLine&&I(a),d.maxLineChanged&&!a.options.lineWrapping&&d.maxLine){var e=ob(a,d.maxLine);d.sizer.style.minWidth=Math.max(0,e+3+Ve)+"px",d.maxLineChanged=!1;var f=Math.max(0,d.sizer.offsetLeft+d.sizer.offsetWidth-d.scroller.clientWidth);fj&&e.charCodeAt(j)==h.charCodeAt(j);)++j;var l=g.from,m=g.to;j1e3||h.indexOf("\n")>-1?c.value=a.display.prevInput="":a.display.prevInput=h,i&&Eb(a),a.state.pasteIncoming=!1,!0}function Mb(a,c){var e,f,g=a.doc;if(Cc(g.sel.from,g.sel.to))c&&(a.display.prevInput=a.display.input.value="",b&&!d&&(a.display.inputHasSelection=null));else{a.display.prevInput="",e=yf&&(g.sel.to.line-g.sel.from.line>100||(f=a.getSelection()).length>1e3);var h=e?"-":f||a.getSelection();a.display.input.value=h,a.state.focused&&af(a.display.input),b&&!d&&(a.display.inputHasSelection=h)}a.display.inaccurateSelection=e}function Nb(a){"nocursor"==a.options.readOnly||p&&document.activeElement==a.display.input||a.display.input.focus()}function Ob(a){return a.options.readOnly||a.doc.cantEdit}function Pb(a){function e(){a.state.focused&&setTimeout(ff(Nb,a),0)}function h(){null==g&&(g=setTimeout(function(){g=null,c.cachedCharWidth=c.cachedTextHeight=sf=null,pb(a),Hb(a,ff(Ib,a))},100))}function i(){for(var a=c.wrapper.parentNode;a&&a!=document.body;a=a.parentNode);a?setTimeout(i,5e3):Me(window,"resize",h)}function j(b){Re(a,b)||a.options.onDragEvent&&a.options.onDragEvent(a,Ee(b))||Ie(b)}function l(){c.inaccurateSelection&&(c.prevInput="",c.inaccurateSelection=!1,c.input.value=a.getSelection(),af(c.input))}var c=a.display;Le(c.scroller,"mousedown",Fb(a,Ub)),b?Le(c.scroller,"dblclick",Fb(a,function(b){if(!Re(a,b)){var c=Rb(a,b);if(c&&!Xb(a,b)&&!Qb(a.display,b)){Fe(b);var d=Yc(le(a.doc,c.line).text,c);Jc(a.doc,d.from,d.to)}}})):Le(c.scroller,"dblclick",function(b){Re(a,b)||Fe(b)}),Le(c.lineSpace,"selectstart",function(a){Qb(c,a)||Fe(a)}),u||Le(c.scroller,"contextmenu",function(b){pc(a,b)}),Le(c.scroller,"scroll",function(){c.scroller.clientHeight&&(_b(a,c.scroller.scrollTop),ac(a,c.scroller.scrollLeft,!0),Ne(a,"scroll",a))}),Le(c.scrollbarV,"scroll",function(){c.scroller.clientHeight&&_b(a,c.scrollbarV.scrollTop)}),Le(c.scrollbarH,"scroll",function(){c.scroller.clientHeight&&ac(a,c.scrollbarH.scrollLeft)}),Le(c.scroller,"mousewheel",function(b){dc(a,b)}),Le(c.scroller,"DOMMouseScroll",function(b){dc(a,b)}),Le(c.scrollbarH,"mousedown",e),Le(c.scrollbarV,"mousedown",e),Le(c.wrapper,"scroll",function(){c.wrapper.scrollTop=c.wrapper.scrollLeft=0});var g;Le(window,"resize",h),setTimeout(i,5e3),Le(c.input,"keyup",Fb(a,function(b){Re(a,b)||a.options.onKeyEvent&&a.options.onKeyEvent(a,Ee(b))||16==b.keyCode&&(a.doc.sel.shift=!1)})),Le(c.input,"input",function(){b&&!d&&a.display.inputHasSelection&&(a.display.inputHasSelection=null),Kb(a)}),Le(c.input,"keydown",Fb(a,kc)),Le(c.input,"keypress",Fb(a,lc)),Le(c.input,"focus",ff(mc,a)),Le(c.input,"blur",ff(nc,a)),a.options.dragDrop&&(Le(c.scroller,"dragstart",function(b){$b(a,b)}),Le(c.scroller,"dragenter",j),Le(c.scroller,"dragover",j),Le(c.scroller,"drop",Fb(a,Zb))),Le(c.scroller,"paste",function(b){Qb(c,b)||(Nb(a),Kb(a))}),Le(c.input,"paste",function(){if(f&&!a.state.fakedLastChar&&!(new Date-a.state.lastMiddleDown<200)){var b=c.input.selectionStart,d=c.input.selectionEnd;c.input.value+="$",c.input.selectionStart=b,c.input.selectionEnd=d,a.state.fakedLastChar=!0}a.state.pasteIncoming=!0,Kb(a)}),Le(c.input,"cut",l),Le(c.input,"copy",l),k&&Le(c.sizer,"mouseup",function(){document.activeElement==c.input&&c.input.blur(),Nb(a)})}function Qb(a,b){for(var c=Je(b);c!=a.wrapper;c=c.parentNode)if(!c||c.ignoreEvents||c.parentNode==a.sizer&&c!=a.mover)return!0}function Rb(a,b,c){var d=a.display;if(!c){var e=Je(b);if(e==d.scrollbarH||e==d.scrollbarH.firstChild||e==d.scrollbarV||e==d.scrollbarV.firstChild||e==d.scrollbarFiller||e==d.gutterFiller)return null}var f,g,h=pf(d.lineSpace);try{f=b.clientX,g=b.clientY}catch(b){return null}return xb(a,f-h.left,g-h.top)}function Ub(a){function q(a){if(!Cc(p,a)){if(p=a,"single"==j)return Jc(c.doc,Gc(e,h),a),void 0;if(n=Gc(e,n),o=Gc(e,o),"double"==j){var b=Yc(le(e,a.line).text,a);Dc(a,n)?Jc(c.doc,b.from,o):Jc(c.doc,n,b.to) -}else"triple"==j&&(Dc(a,n)?Jc(c.doc,o,Gc(e,Bc(a.line,0))):Jc(c.doc,n,Gc(e,Bc(a.line+1,0))))}}function t(a){var b=++s,f=Rb(c,a,!0);if(f)if(Cc(f,l)){var h=a.clientYr.bottom?20:0;h&&setTimeout(Fb(c,function(){s==b&&(d.scroller.scrollTop+=h,t(a))}),50)}else{c.state.focused||mc(c),l=f,q(f);var g=L(d,e);(f.line>=g.to||f.linei-400&&Cc(Tb.pos,h))j="triple",Fe(a),setTimeout(ff(Nb,c),20),Zc(c,h.line);else if(Sb&&Sb.time>i-400&&Cc(Sb.pos,h)){j="double",Tb={time:i,pos:h},Fe(a);var k=Yc(le(e,h.line).text,h);Jc(c.doc,k.from,k.to)}else Sb={time:i,pos:h};var l=h;if(c.options.dragDrop&&qf&&!Ob(c)&&!Cc(g.from,g.to)&&!Dc(h,g.from)&&!Dc(g.to,h)&&"single"==j){var m=Fb(c,function(b){f&&(d.scroller.draggable=!1),c.state.draggingText=!1,Me(document,"mouseup",m),Me(d.scroller,"drop",m),Math.abs(a.clientX-b.clientX)+Math.abs(a.clientY-b.clientY)<10&&(Fe(b),Jc(c.doc,h),Nb(c))});return f&&(d.scroller.draggable=!0),c.state.draggingText=m,d.scroller.dragDrop&&d.scroller.dragDrop(),Le(document,"mouseup",m),Le(d.scroller,"drop",m),void 0}Fe(a),"single"==j&&Jc(c.doc,Gc(e,h));var n=g.from,o=g.to,p=h,r=pf(d.wrapper),s=0,w=Fb(c,function(a){b||Ke(a)?t(a):v(a)}),x=Fb(c,v);Le(document,"mousemove",w),Le(document,"mouseup",x)}}}function Vb(a,b,c,d,e){try{var f=b.clientX,g=b.clientY}catch(b){return!1}if(f>=Math.floor(pf(a.display.gutters).right))return!1;d&&Fe(b);var h=a.display,i=pf(h.lineDiv);if(g>i.bottom||!Te(a,c))return He(b);g-=i.top-h.viewOffset;for(var j=0;j=f){var l=qe(a.doc,g),m=a.options.gutters[j];return e(a,c,a,l,m,b),He(b)}}}function Wb(a,b){return Te(a,"gutterContextMenu")?Vb(a,b,"gutterContextMenu",!1,Ne):!1}function Xb(a,b){return Vb(a,b,"gutterClick",!0,Qe)}function Zb(a){var c=this;if(!(Re(c,a)||Qb(c.display,a)||c.options.onDragEvent&&c.options.onDragEvent(c,Ee(a)))){Fe(a),b&&(Yb=+new Date);var d=Rb(c,a,!0),e=a.dataTransfer.files;if(d&&!Ob(c))if(e&&e.length&&window.FileReader&&window.File)for(var f=e.length,g=Array(f),h=0,i=function(a,b){var e=new FileReader;e.onload=function(){g[b]=e.result,++h==f&&(d=Gc(c.doc,d),uc(c.doc,{from:d,to:d,text:wf(g.join("\n")),origin:"paste"},"around"))},e.readAsText(a)},j=0;f>j;++j)i(e[j],j);else{if(c.state.draggingText&&!Dc(d,c.doc.sel.from)&&!Dc(c.doc.sel.to,d))return c.state.draggingText(a),setTimeout(ff(Nb,c),20),void 0;try{var g=a.dataTransfer.getData("Text");if(g){var k=c.doc.sel.from,l=c.doc.sel.to;Lc(c.doc,d,d),c.state.draggingText&&Ac(c.doc,"",k,l,"paste"),c.replaceSelection(g,null,"paste"),Nb(c),mc(c)}}catch(a){}}}}function $b(a,c){if(b&&(!a.state.draggingText||+new Date-Yb<100))return Ie(c),void 0;if(!Re(a,c)&&!Qb(a.display,c)){var d=a.getSelection();if(c.dataTransfer.setData("Text",d),c.dataTransfer.setDragImage&&!j){var e=lf("img",null,null,"position: fixed; left: 0; top: 0;");e.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",i&&(e.width=e.height=1,a.display.wrapper.appendChild(e),e._top=e.offsetTop),c.dataTransfer.setDragImage(e,0,0),i&&e.parentNode.removeChild(e)}}}function _b(b,c){Math.abs(b.doc.scrollTop-c)<2||(b.doc.scrollTop=c,a||Q(b,[],c),b.display.scroller.scrollTop!=c&&(b.display.scroller.scrollTop=c),b.display.scrollbarV.scrollTop!=c&&(b.display.scrollbarV.scrollTop=c),a&&Q(b,[]),bb(b,100))}function ac(a,b,c){(c?b==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-b)<2)||(b=Math.min(b,a.display.scroller.scrollWidth-a.display.scroller.clientWidth),a.doc.scrollLeft=b,M(a),a.display.scroller.scrollLeft!=b&&(a.display.scroller.scrollLeft=b),a.display.scrollbarH.scrollLeft!=b&&(a.display.scrollbarH.scrollLeft=b))}function dc(b,c){var d=c.wheelDeltaX,e=c.wheelDeltaY;null==d&&c.detail&&c.axis==c.HORIZONTAL_AXIS&&(d=c.detail),null==e&&c.detail&&c.axis==c.VERTICAL_AXIS?e=c.detail:null==e&&(e=c.wheelDelta);var g=b.display,h=g.scroller;if(d&&h.scrollWidth>h.clientWidth||e&&h.scrollHeight>h.clientHeight){if(e&&q&&f)for(var j=c.target;j!=h;j=j.parentNode)if(j.lineObj){b.display.currentWheelTarget=j;break}if(d&&!a&&!i&&null!=cc)return e&&_b(b,Math.max(0,Math.min(h.scrollTop+e*cc,h.scrollHeight-h.clientHeight))),ac(b,Math.max(0,Math.min(h.scrollLeft+d*cc,h.scrollWidth-h.clientWidth))),Fe(c),g.wheelStartX=null,void 0;if(e&&null!=cc){var k=e*cc,l=b.doc.scrollTop,m=l+g.wrapper.clientHeight;0>k?l=Math.max(0,l+k-50):m=Math.min(b.doc.height,m+k+50),Q(b,[],{top:l,bottom:m})}20>bc&&(null==g.wheelStartX?(g.wheelStartX=h.scrollLeft,g.wheelStartY=h.scrollTop,g.wheelDX=d,g.wheelDY=e,setTimeout(function(){if(null!=g.wheelStartX){var a=h.scrollLeft-g.wheelStartX,b=h.scrollTop-g.wheelStartY,c=b&&g.wheelDY&&b/g.wheelDY||a&&g.wheelDX&&a/g.wheelDX;g.wheelStartX=g.wheelStartY=null,c&&(cc=(cc*bc+c)/(bc+1),++bc)}},200)):(g.wheelDX+=d,g.wheelDY+=e))}}function ec(a,b,c){if("string"==typeof b&&(b=jd[b],!b))return!1;a.display.pollingFast&&Lb(a)&&(a.display.pollingFast=!1);var d=a.doc,e=d.sel.shift,f=!1;try{Ob(a)&&(a.state.suppressEdits=!0),c&&(d.sel.shift=!1),f=b(a)!=We}finally{d.sel.shift=e,a.state.suppressEdits=!1}return f}function fc(a){var b=a.state.keyMaps.slice(0);return a.options.extraKeys&&b.push(a.options.extraKeys),b.push(a.options.keyMap),b}function hc(a,b){var c=ld(a.options.keyMap),e=c.auto;clearTimeout(gc),e&&!nd(b)&&(gc=setTimeout(function(){ld(a.options.keyMap)==c&&(a.options.keyMap=e.call?e.call(null,a):e,D(a))},50));var f=od(b,!0),g=!1;if(!f)return!1;var h=fc(a);return g=b.shiftKey?md("Shift-"+f,h,function(b){return ec(a,b,!0)})||md(f,h,function(b){return("string"==typeof b?/^go[A-Z]/.test(b):b.motion)?ec(a,b):void 0}):md(f,h,function(b){return ec(a,b)}),g&&(Fe(b),ab(a),d&&(b.oldKeyCode=b.keyCode,b.keyCode=0),Qe(a,"keyHandled",a,f,b)),g}function ic(a,b,c){var d=md("'"+c+"'",fc(a),function(b){return ec(a,b,!0)});return d&&(Fe(b),ab(a),Qe(a,"keyHandled",a,"'"+c+"'",b)),d}function kc(a){var c=this;if(c.state.focused||mc(c),!(Re(c,a)||c.options.onKeyEvent&&c.options.onKeyEvent(c,Ee(a)))){b&&27==a.keyCode&&(a.returnValue=!1);var d=a.keyCode;c.doc.sel.shift=16==d||a.shiftKey;var e=hc(c,a);i&&(jc=e?d:null,!e&&88==d&&!yf&&(q?a.metaKey:a.ctrlKey)&&c.replaceSelection(""))}}function lc(a){var c=this;if(!(Re(c,a)||c.options.onKeyEvent&&c.options.onKeyEvent(c,Ee(a)))){var e=a.keyCode,f=a.charCode;if(i&&e==jc)return jc=null,Fe(a),void 0;if(!(i&&(!a.which||a.which<10)||k)||!hc(c,a)){var g=String.fromCharCode(null==f?e:f);this.options.electricChars&&this.doc.mode.electricChars&&this.options.smartIndent&&!Ob(this)&&this.doc.mode.electricChars.indexOf(g)>-1&&setTimeout(Fb(c,function(){Uc(c,c.doc.sel.to.line,"smart")}),75),ic(c,a,g)||(b&&!d&&(c.display.inputHasSelection=null),Kb(c))}}}function mc(a){"nocursor"!=a.options.readOnly&&(a.state.focused||(Ne(a,"focus",a),a.state.focused=!0,-1==a.display.wrapper.className.search(/\bCodeMirror-focused\b/)&&(a.display.wrapper.className+=" CodeMirror-focused"),a.curOp||(Mb(a,!0),f&&setTimeout(ff(Mb,a,!0),0))),Jb(a),ab(a))}function nc(a){a.state.focused&&(Ne(a,"blur",a),a.state.focused=!1,a.display.wrapper.className=a.display.wrapper.className.replace(" CodeMirror-focused","")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.doc.sel.shift=!1)},150)}function pc(a,c){function l(){if(null!=e.input.selectionStart){var a=e.input.value="\u200b"+(Cc(f.from,f.to)?"":e.input.value);e.prevInput="\u200b",e.input.selectionStart=1,e.input.selectionEnd=a.length}}function m(){if(e.inputDiv.style.position="relative",e.input.style.cssText=k,d&&(e.scrollbarV.scrollTop=e.scroller.scrollTop=h),Jb(a),null!=e.input.selectionStart){(!b||d)&&l(),clearTimeout(oc);var c=0,f=function(){" "==e.prevInput&&0==e.input.selectionStart?Fb(a,jd.selectAll)(a):c++<10?oc=setTimeout(f,500):Mb(a)};oc=setTimeout(f,200)}}if(!Re(a,c,"contextmenu")){var e=a.display,f=a.doc.sel;if(!Qb(e,c)&&!Wb(a,c)){var g=Rb(a,c),h=e.scroller.scrollTop;if(g&&!i){var j=a.options.resetSelectionOnContextMenu;j&&(Cc(f.from,f.to)||Dc(g,f.from)||!Dc(g,f.to))&&Fb(a,Lc)(a.doc,g,g);var k=e.input.style.cssText;if(e.inputDiv.style.position="absolute",e.input.style.cssText="position: fixed; width: 30px; height: 30px; top: "+(c.clientY-5)+"px; left: "+(c.clientX-5)+"px; z-index: 1000; background: white; outline: none;"+"border-width: 0; outline: none; overflow: hidden; opacity: .05; -ms-opacity: .05; filter: alpha(opacity=5);",Nb(a),Mb(a,!0),Cc(f.from,f.to)&&(e.input.value=e.prevInput=" "),b&&!d&&l(),u){Ie(c);var n=function(){Me(window,"mouseup",n),setTimeout(m,20)};Le(window,"mouseup",n)}else setTimeout(m,50)}}}}function rc(a,b,c){if(!Dc(b.from,c))return Gc(a,c);var d=b.text.length-1-(b.to.line-b.from.line);if(c.line>b.to.line+d){var e=c.line-d,f=a.first+a.size-1;return e>f?Bc(f,le(a,f).text.length):Hc(c,le(a,e).text.length)}if(c.line==b.to.line+d)return Hc(c,_e(b.text).length+(1==b.text.length?b.from.ch:0)+le(a,b.to.line).text.length-b.to.ch);var g=c.line-b.from.line;return Hc(c,b.text[g].length+(g?0:b.from.ch))}function sc(a,b,c){if(c&&"object"==typeof c)return{anchor:rc(a,b,c.anchor),head:rc(a,b,c.head)};if("start"==c)return{anchor:b.from,head:b.from};var d=qc(b);if("around"==c)return{anchor:b.from,head:d};if("end"==c)return{anchor:d,head:d};var e=function(a){if(Dc(a,b.from))return a;if(!Dc(b.to,a))return d;var c=a.line+b.text.length-(b.to.line-b.from.line)-1,e=a.ch;return a.line==b.to.line&&(e+=d.ch-b.to.ch),Bc(c,e)};return{anchor:e(a.sel.anchor),head:e(a.sel.head)}}function tc(a,b,c){var d={canceled:!1,from:b.from,to:b.to,text:b.text,origin:b.origin,cancel:function(){this.canceled=!0}};return c&&(d.update=function(b,c,d,e){b&&(this.from=Gc(a,b)),c&&(this.to=Gc(a,c)),d&&(this.text=d),void 0!==e&&(this.origin=e)}),Ne(a,"beforeChange",a,d),a.cm&&Ne(a.cm,"beforeChange",a.cm,d),d.canceled?null:{from:d.from,to:d.to,text:d.text,origin:d.origin}}function uc(a,b,c,d){if(a.cm){if(!a.cm.curOp)return Fb(a.cm,uc)(a,b,c,d);if(a.cm.state.suppressEdits)return}if(!(Te(a,"beforeChange")||a.cm&&Te(a.cm,"beforeChange"))||(b=tc(a,b,!0))){var e=v&&!d&&Bd(a,b.from,b.to);if(e){for(var f=e.length-1;f>=1;--f)vc(a,{from:e[f].from,to:e[f].to,text:[""]});e.length&&vc(a,{from:e[0].from,to:e[0].to,text:b.text},c)}else vc(a,b,c)}}function vc(a,b,c){if(1!=b.text.length||""!=b.text[0]||!Cc(b.from,b.to)){var d=sc(a,b,c);we(a,b,d,a.cm?a.cm.curOp.id:0/0),yc(a,b,d,zd(a,b));var e=[];je(a,function(a,c){c||-1!=bf(e,a.history)||(Ce(a.history,b),e.push(a.history)),yc(a,b,null,zd(a,b))})}}function wc(a,b){if(!a.cm||!a.cm.state.suppressEdits){var c=a.history,d=("undo"==b?c.done:c.undone).pop();if(d){var e={changes:[],anchorBefore:d.anchorAfter,headBefore:d.headAfter,anchorAfter:d.anchorBefore,headAfter:d.headBefore,generation:c.generation};("undo"==b?c.undone:c.done).push(e),c.generation=d.generation||++c.maxGeneration;for(var f=Te(a,"beforeChange")||a.cm&&Te(a.cm,"beforeChange"),g=d.changes.length-1;g>=0;--g){var h=d.changes[g];if(h.origin=b,f&&!tc(a,h,!1))return("undo"==b?c.done:c.undone).length=0,void 0;e.changes.push(ve(a,h));var i=g?sc(a,h,null):{anchor:d.anchorBefore,head:d.headBefore};yc(a,h,i,Ad(a,h));var j=[];je(a,function(a,b){b||-1!=bf(j,a.history)||(Ce(a.history,h),j.push(a.history)),yc(a,h,null,Ad(a,h))})}}}}function xc(a,b){function c(a){return Bc(a.line+b,a.ch)}a.first+=b,a.cm&&Ib(a.cm,a.first,a.first,b),a.sel.head=c(a.sel.head),a.sel.anchor=c(a.sel.anchor),a.sel.from=c(a.sel.from),a.sel.to=c(a.sel.to)}function yc(a,b,c,d){if(a.cm&&!a.cm.curOp)return Fb(a.cm,yc)(a,b,c,d);if(b.to.linea.lastLine())){if(b.from.linef&&(b={from:b.from,to:Bc(f,le(a,f).text.length),text:[b.text[0]],origin:b.origin}),b.removed=me(a,b.from,b.to),c||(c=sc(a,b,null)),a.cm?zc(a.cm,b,d,c):ce(a,b,d,c)}}function zc(a,b,c,d){var e=a.doc,f=a.display,g=b.from,h=b.to,i=!1,j=g.line;a.options.lineWrapping||(j=pe(Fd(e,le(e,g.line))),e.iter(j,h.line+1,function(a){return a==f.maxLine?(i=!0,!0):void 0})),Dc(e.sel.head,b.from)||Dc(b.to,e.sel.head)||(a.curOp.cursorActivity=!0),ce(e,b,c,d,B(a)),a.options.lineWrapping||(e.iter(j,g.line+b.text.length,function(a){var b=H(e,a);b>f.maxLineLength&&(f.maxLine=a,f.maxLineLength=b,f.maxLineChanged=!0,i=!1)}),i&&(a.curOp.updateMaxLine=!0)),e.frontier=Math.min(e.frontier,g.line),bb(a,400);var k=b.text.length-(h.line-g.line)-1;if(Ib(a,g.line,h.line+1,k),Te(a,"change")){var l={from:g,to:h,text:b.text,removed:b.removed,origin:b.origin};if(a.curOp.textChanged){for(var m=a.curOp.textChanged;m.next;m=m.next);m.next=l}else a.curOp.textChanged=l}}function Ac(a,b,c,d,e){if(d||(d=c),Dc(d,c)){var f=d;d=c,c=f}"string"==typeof b&&(b=wf(b)),uc(a,{from:c,to:d,text:b,origin:e},null)}function Bc(a,b){return this instanceof Bc?(this.line=a,this.ch=b,void 0):new Bc(a,b)}function Cc(a,b){return a.line==b.line&&a.ch==b.ch}function Dc(a,b){return a.linec?Bc(c,le(a,c).text.length):Hc(b,le(a,b.line).text.length)}function Hc(a,b){var c=a.ch;return null==c||c>b?Bc(a.line,b):0>c?Bc(a.line,0):a}function Ic(a,b){return b>=a.first&&b=f.ch:j.to>f.ch))){if(d&&(Ne(k,"beforeCursorEnter"),k.explicitlyCleared)){if(h.markedSpans){--i;continue}break}if(!k.atomic)continue;var l=k.find()[0>g?"from":"to"];if(Cc(l,f)&&(l.ch+=g,l.ch<0?l=l.line>a.first?Gc(a,Bc(l.line-1)):null:l.ch>h.text.length&&(l=l.line(window.innerHeight||document.documentElement.clientHeight)&&(e=!1),null!=e&&!n){var f="none"==c.cursor.style.display;f&&(c.cursor.style.display="",c.cursor.style.left=b.left+"px",c.cursor.style.top=b.top-c.viewOffset+"px"),c.cursor.scrollIntoView(e),f&&(c.cursor.style.display="none")}}}function Pc(a,b,c,d){for(null==d&&(d=0);;){var e=!1,f=vb(a,b),g=c&&c!=b?vb(a,c):f,h=Rc(a,Math.min(f.left,g.left),Math.min(f.top,g.top)-d,Math.max(f.left,g.left),Math.max(f.bottom,g.bottom)+d),i=a.doc.scrollTop,j=a.doc.scrollLeft;if(null!=h.scrollTop&&(_b(a,h.scrollTop),Math.abs(a.doc.scrollTop-i)>1&&(e=!0)),null!=h.scrollLeft&&(ac(a,h.scrollLeft),Math.abs(a.doc.scrollLeft-j)>1&&(e=!0)),!e)return f}}function Qc(a,b,c,d,e){var f=Rc(a,b,c,d,e);null!=f.scrollTop&&_b(a,f.scrollTop),null!=f.scrollLeft&&ac(a,f.scrollLeft)}function Rc(a,b,c,d,e){var f=a.display,g=Ab(a.display);0>c&&(c=0);var h=f.scroller.clientHeight-Ve,i=f.scroller.scrollTop,j={},k=a.doc.height+gb(f),l=g>c,m=e>k-g;if(i>c)j.scrollTop=l?0:c;else if(e>i+h){var n=Math.min(c,(m?k:e)-h);n!=i&&(j.scrollTop=n)}var o=f.scroller.clientWidth-Ve,p=f.scroller.scrollLeft;b+=f.gutters.offsetWidth,d+=f.gutters.offsetWidth;var q=f.gutters.offsetWidth,r=q+10>b;return p+q>b||r?(r&&(b=0),j.scrollLeft=Math.max(0,b-10-q)):d>o+p-3&&(j.scrollLeft=d+10-o),j}function Sc(a,b,c){a.curOp.updateScrollPos={scrollLeft:null==b?a.doc.scrollLeft:b,scrollTop:null==c?a.doc.scrollTop:c}}function Tc(a,b,c){var d=a.curOp.updateScrollPos||(a.curOp.updateScrollPos={scrollLeft:a.doc.scrollLeft,scrollTop:a.doc.scrollTop}),e=a.display.scroller;d.scrollTop=Math.max(0,Math.min(e.scrollHeight-e.clientHeight,d.scrollTop+c)),d.scrollLeft=Math.max(0,Math.min(e.scrollWidth-e.clientWidth,d.scrollLeft+b))}function Uc(a,b,c,d){var e=a.doc;if(null==c&&(c="add"),"smart"==c)if(a.doc.mode.indent)var f=eb(a,b);else c="prev";var k,g=a.options.tabSize,h=le(e,b),i=Ye(h.text,null,g),j=h.text.match(/^\s*/)[0];if("smart"==c&&(k=a.doc.mode.indent(f,h.text.slice(j.length),h.text),k==We)){if(!d)return;c="prev"}"prev"==c?k=b>e.first?Ye(le(e,b-1).text,null,g):0:"add"==c?k=i+a.options.indentUnit:"subtract"==c?k=i-a.options.indentUnit:"number"==typeof c&&(k=i+c),k=Math.max(0,k);var l="",m=0;if(a.options.indentWithTabs)for(var n=Math.floor(k/g);n;--n)m+=g,l+=" ";k>m&&(l+=$e(k-m)),l!=j?Ac(a.doc,l,Bc(b,0),Bc(b,j.length),"+input"):e.sel.head.line==b&&e.sel.head.ch=a.first+a.size?j=!1:(f=b,i=le(a,b))}function l(a){var b=(e?Lf:Mf)(i,g,c,!0);if(null==b){if(a||!k())return j=!1;g=e?(0>c?Ef:Df)(i):0>c?i.text.length:0}else g=b;return!0}var f=b.line,g=b.ch,h=c,i=le(a,f),j=!0;if("char"==d)l();else if("column"==d)l(!0);else if("word"==d||"group"==d)for(var m=null,n="group"==d,o=!0;!(0>c)||l(!o);o=!1){var p=i.text.charAt(g)||"\n",q=hf(p)?"w":n?/\s/.test(p)?null:"p":null;if(m&&m!=q){0>c&&(c=1,l());break}if(q&&(m=q),c>0&&!l(!o))break}var r=Nc(a,Bc(f,g),h,!0);return j||(r.hitSide=!0),r}function Xc(a,b,c,d){var g,e=a.doc,f=b.left;if("page"==d){var h=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight);g=b.top+c*(h-(0>c?1.5:.5)*Ab(a.display))}else"line"==d&&(g=c>0?b.bottom+3:b.top-3);for(;;){var i=xb(a,f,g);if(!i.outside)break;if(0>c?0>=g:g>=e.height){i.hitSide=!0;break}g+=5*c}return i}function Yc(a,b){var c=b.ch,d=b.ch;if(a){(b.xRel<0||d==a.length)&&c?--c:++d;for(var e=a.charAt(c),f=hf(e)?hf:/\s/.test(e)?function(a){return/\s/.test(a)}:function(a){return!/\s/.test(a)&&!hf(a)};c>0&&f(a.charAt(c-1));)--c;for(;dg;++g){var i=d(f[g]);if(i)return i}return!1}for(var e=0;e=b:f.to>b);(e||(e=[])).push({from:f.from,to:i?null:f.to,marker:g})}}return e}function yd(a,b,c){if(a)for(var e,d=0;d=b:f.to>b);if(h||"bookmark"==g.type&&f.from==b&&(!c||f.marker.insertLeft)){var i=null==f.from||(g.inclusiveLeft?f.from<=b:f.from0&&h)for(var l=0;ll;++l)o.push(q);o.push(i)}return o}function Ad(a,b){var c=ye(a,b),d=zd(a,b);if(!c)return d;if(!d)return c;for(var e=0;eb)&&(!d||d.widtha.options.maxHighlightLength?(f=!1,i.pos=b.length,j=null):j=c.token(i,d),f&&h==j||(gh;){var e=d[g];e>a&&d.splice(g,1,a,d[g+1],e),g+=2,h=Math.min(a,e)}if(b)if(f.opaque)d.splice(c,g-c,a,b),g=c+2;else for(;g>c;c+=2){var i=d[c+1];d[c+1]=i?i+" "+b:b}})}return d}function Td(a,b){return b.styles&&b.styles[0]==a.state.modeGen||(b.styles=Sd(a,b,b.stateAfter=eb(a,pe(b)))),b.styles}function Ud(a,b,c){var d=a.doc.mode,e=new pd(b.text,a.options.tabSize);for(""==b.text&&d.blankLine&&d.blankLine(c);!e.eol()&&e.pos<=a.options.maxHighlightLength;)d.token(e,c),e.start=e.pos}function Wd(a,b){if(!a)return null;for(;;){var c=a.match(/(?:^|\s)line-(background-)?(\S+)/);if(!c)break;a=a.slice(0,c.index)+a.slice(c.index+c[0].length);var d=c[1]?"bgClass":"textClass";null==b[d]?b[d]=c[2]:new RegExp("(?:^|s)"+c[2]+"(?:$|s)").test(b[d])||(b[d]+=" "+c[2])}return Vd[a]||(Vd[a]="cm-"+a.replace(/ +/g," cm-"))}function Xd(a,c,d,g){for(var h,i=c,j=!0;h=Dd(i);)i=le(a.doc,h.find().from.line);var k={pre:lf("pre"),col:0,pos:0,measure:null,measuredSomething:!1,cm:a,copyWidgets:g};do{i.text&&(j=!1),k.measure=i==c&&d,k.pos=0,k.addToken=k.measure?$d:Zd,(b||f)&&a.getOption("lineWrapping")&&(k.addToken=_d(k.addToken));var l=be(i,k,Td(a,i));d&&i==c&&!k.measuredSomething&&(d[0]=k.pre.appendChild(vf(a.display.measure)),k.measuredSomething=!0),l&&(i=le(a.doc,l.to.line))}while(l);!d||k.measuredSomething||d[0]||(d[0]=k.pre.appendChild(j?lf("span","\xa0"):vf(a.display.measure))),k.pre.firstChild||Gd(a.doc,c)||k.pre.appendChild(document.createTextNode("\xa0"));var m;if(d&&(b||e)&&(m=se(i))){var n=m.length-1;m[n].from==m[n].to&&--n;var o=m[n],p=m[n-1];if(o.from+1==o.to&&p&&o.level="\ud800"&&"\udbff">i&&hi)?(null!=t.to&&l>t.to&&(l=t.to,n=""),u.className&&(m+=" "+u.className),u.startStyle&&t.from==i&&(o+=" "+u.startStyle),u.endStyle&&t.to==l&&(n+=" "+u.endStyle),u.title&&!p&&(p=u.title),u.collapsed&&(!q||q.marker.sizei&&l>t.from&&(l=t.from),"bookmark"==u.type&&t.from==i&&u.replacedWith&&r.push(u)}if(q&&(q.from||0)==i&&(ae(b,(null==q.to?h:q.to)-i,q.marker,null==q.from),null==q.to))return q.marker.find();if(!q&&r.length)for(var s=0;s=h)break;for(var v=Math.min(h,l);;){if(j){var w=i+j.length;if(!q){var x=w>v?j.slice(0,v-i):j;b.addToken(b,x,k?k+m:m,o,i+x.length==l?n:"",p)}if(w>=v){j=j.slice(v-i),i=v;break}i=w,o=""}j=e.slice(f,f=c[g++]),k=Wd(c[g++],b)}}else for(var g=1;gp;++p)r.push(new Od(j[p],f(p),e));g(l,l.text,n),o&&a.remove(h.line,o),r.length&&a.insert(h.line,r)}else if(k==l)if(1==j.length)g(k,k.text.slice(0,h.ch)+m+k.text.slice(i.ch),n);else{for(var r=[],p=1,q=j.length-1;q>p;++p)r.push(new Od(j[p],f(p),e));r.push(new Od(m+k.text.slice(i.ch),n,e)),g(k,k.text.slice(0,h.ch)+j[0],f(0)),a.insert(h.line+1,r)}else if(1==j.length)g(k,k.text.slice(0,h.ch)+j[0]+l.text.slice(i.ch),f(0)),a.remove(h.line+1,o);else{g(k,k.text.slice(0,h.ch)+j[0],f(0)),g(l,m+l.text.slice(i.ch),n);for(var p=1,q=j.length-1,r=[];q>p;++p)r.push(new Od(j[p],f(p),e));o>1&&a.remove(h.line+1,o-1),a.insert(h.line+1,r)}Qe(a,"change",a,b),Lc(a,d.anchor,d.head,null,!0)}function de(a){this.lines=a,this.parent=null;for(var b=0,c=a.length,d=0;c>b;++b)a[b].parent=this,d+=a[b].height;this.height=d}function ee(a){this.children=a;for(var b=0,c=0,d=0,e=a.length;e>d;++d){var f=a[d];b+=f.chunkSize(),c+=f.height,f.parent=this}this.size=b,this.height=c,this.parent=null}function je(a,b,c){function d(a,e,f){if(a.linked)for(var g=0;gb){a=d;break}b-=e}return a.lines[b]}function me(a,b,c){var d=[],e=b.line;return a.iter(b.line,c.line+1,function(a){var f=a.text;e==c.line&&(f=f.slice(0,c.ch)),e==b.line&&(f=f.slice(b.ch)),d.push(f),++e}),d}function ne(a,b,c){var d=[];return a.iter(b,c,function(a){d.push(a.text)}),d}function oe(a,b){for(var c=b-a.height,d=a;d;d=d.parent)d.height+=c}function pe(a){if(null==a.parent)return null;for(var b=a.parent,c=bf(b.lines,a),d=b.parent;d;b=d,d=d.parent)for(var e=0;d.children[e]!=b;++e)c+=d.children[e].chunkSize();return c+b.first}function qe(a,b){var c=a.first;a:do{for(var d=0,e=a.children.length;e>d;++d){var f=a.children[d],g=f.height;if(g>b){a=f;continue a}b-=g,c+=f.chunkSize()}return c}while(!a.lines);for(var d=0,e=a.lines.length;e>d;++d){var h=a.lines[d],i=h.height;if(i>b)break;b-=i}return c+d}function re(a,b){b=Fd(a.doc,b);for(var c=0,d=b.parent,e=0;ef-a.cm.options.historyEventDelay||"*"==b.origin.charAt(0)))){var h=_e(g.changes);Cc(b.from,b.to)&&Cc(b.from,h.to)?h.to=qc(b):g.changes.push(ve(a,b)),g.anchorAfter=c.anchor,g.headAfter=c.head}else for(g={changes:[ve(a,b)],generation:e.generation,anchorBefore:a.sel.anchor,headBefore:a.sel.head,anchorAfter:c.anchor,headAfter:c.head},e.done.push(g),e.generation=++e.maxGeneration;e.done.length>e.undoDepth;)e.done.shift();e.lastTime=f,e.lastOp=d,e.lastOrigin=b.origin}function xe(a){if(!a)return null;for(var c,b=0;b-1&&(_e(g)[k]=i[k],delete i[k])}}return d}function Ae(a,b,c,d){c0}function Ue(a){a.prototype.on=function(a,b){Le(this,a,b)},a.prototype.off=function(a,b){Me(this,a,b)}}function Xe(){this.id=null}function Ye(a,b,c,d,e){null==b&&(b=a.search(/[^\s\u00a0]/),-1==b&&(b=a.length));for(var f=d||0,g=e||0;b>f;++f)" "==a.charAt(f)?g+=c-g%c:++g;return g}function $e(a){for(;Ze.length<=a;)Ze.push(_e(Ze)+" ");return Ze[a]}function _e(a){return a[a.length-1]}function af(a){if(o)a.selectionStart=0,a.selectionEnd=a.value.length;else try{a.select()}catch(b){}}function bf(a,b){if(a.indexOf)return a.indexOf(b);for(var c=0,d=a.length;d>c;++c)if(a[c]==b)return c;return-1}function cf(a,b){function c(){}c.prototype=a;var d=new c;return b&&df(b,d),d}function df(a,b){b||(b={});for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b}function ef(a){for(var b=[],c=0;a>c;++c)b.push(void 0);return b}function ff(a){var b=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,b)}}function hf(a){return/\w/.test(a)||a>"\x80"&&(a.toUpperCase()!=a.toLowerCase()||gf.test(a))}function jf(a){for(var b in a)if(a.hasOwnProperty(b)&&a[b])return!1;return!0}function lf(a,b,c,d){var e=document.createElement(a);if(c&&(e.className=c),d&&(e.style.cssText=d),"string"==typeof b)of(e,b);else if(b)for(var f=0;f0;--b)a.removeChild(a.firstChild);return a}function nf(a,b){return mf(a).appendChild(b)}function of(a,b){d?(a.innerHTML="",a.appendChild(document.createTextNode(b))):a.textContent=b}function pf(a){return a.getBoundingClientRect()}function rf(){return!1}function tf(a){if(null!=sf)return sf;var b=lf("div",null,null,"width: 50px; height: 50px; overflow-x: scroll");return nf(a,b),b.offsetWidth&&(sf=b.offsetHeight-b.clientHeight),sf||0}function vf(a){if(null==uf){var b=lf("span","\u200b");nf(a,lf("span",[b,document.createTextNode("x")])),0!=a.firstChild.offsetHeight&&(uf=b.offsetWidth<=1&&b.offsetHeight>2&&!c)}return uf?lf("span","\u200b"):lf("span","\xa0",null,"display: inline-block; width: 1px; margin-right: -1px")}function Af(a,b,c,d){if(!a)return d(b,c,"ltr");for(var e=!1,f=0;fb||b==c&&g.to==b)&&(d(Math.max(g.from,b),Math.min(g.to,c),1==g.level?"rtl":"ltr"),e=!0)}e||d(b,c,"ltr")}function Bf(a){return a.level%2?a.to:a.from}function Cf(a){return a.level%2?a.from:a.to}function Df(a){var b=se(a);return b?Bf(b[0]):0}function Ef(a){var b=se(a);return b?Cf(_e(b)):a.text.length}function Ff(a,b){var c=le(a.doc,b),d=Fd(a.doc,c);d!=c&&(b=pe(d));var e=se(d),f=e?e[0].level%2?Ef(d):Df(d):0;return Bc(b,f)}function Gf(a,b){for(var c,d;c=Ed(d=le(a.doc,b));)b=c.find().to.line;var e=se(d),f=e?e[0].level%2?Df(d):Ef(d):d.text.length;return Bc(b,f)}function Hf(a,b,c){var d=a[0].level;return b==d?!0:c==d?!1:c>b}function Jf(a,b){for(var d,c=0;cb)return If=null,c;if(e.from==b||e.to==b){if(null!=d)return Hf(a,e.level,a[d].level)?(If=d,c):(If=c,d);d=c}}return If=null,d}function Kf(a,b,c,d){if(!d)return b+c;do b+=c;while(b>0&&kf.test(a.text.charAt(b)));return b}function Lf(a,b,c,d){var e=se(a);if(!e)return Mf(a,b,c,d);for(var f=Jf(e,b),g=e[f],h=Kf(a,b,g.level%2?-c:c,d);;){if(h>g.from&&h0==g.level%2?g.to:g.from);if(g=e[f+=c],!g)return null;h=c>0==g.level%2?Kf(a,g.to,-1,d):Kf(a,g.from,1,d)}}function Mf(a,b,c,d){var e=b+c;if(d)for(;e>0&&kf.test(a.text.charAt(e));)e+=c;return 0>e||e>a.text.length?null:e}var a=/gecko\/\d/i.test(navigator.userAgent),b=/MSIE \d/.test(navigator.userAgent),c=b&&(null==document.documentMode||document.documentMode<8),d=b&&(null==document.documentMode||document.documentMode<9),e=/Trident\/([7-9]|\d{2,})\./,f=/WebKit\//.test(navigator.userAgent),g=f&&/Qt\/\d+\.\d+/.test(navigator.userAgent),h=/Chrome\//.test(navigator.userAgent),i=/Opera\//.test(navigator.userAgent),j=/Apple Computer/.test(navigator.vendor),k=/KHTML\//.test(navigator.userAgent),l=/Mac OS X 1\d\D([7-9]|\d\d)\D/.test(navigator.userAgent),m=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(navigator.userAgent),n=/PhantomJS/.test(navigator.userAgent),o=/AppleWebKit/.test(navigator.userAgent)&&/Mobile\/\w+/.test(navigator.userAgent),p=o||/Android|webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(navigator.userAgent),q=o||/Mac/.test(navigator.platform),r=/win/i.test(navigator.platform),s=i&&navigator.userAgent.match(/Version\/(\d*\.\d*)/);s&&(s=Number(s[1])),s&&s>=15&&(i=!1,f=!0);var zb,Sb,Tb,t=q&&(g||i&&(null==s||12.11>s)),u=a||b&&!d,v=!1,w=!1,Cb=0,Yb=0,bc=0,cc=null;b?cc=-.53:a?cc=15:h?cc=-.7:j&&(cc=-1/3);var gc,oc,jc=null,qc=x.changeEnd=function(a){return a.text?Bc(a.from.line+a.text.length-1,_e(a.text).length+(1==a.text.length?a.from.ch:0)):a.to};x.Pos=Bc,x.prototype={constructor:x,focus:function(){window.focus(),Nb(this),mc(this),Kb(this)},setOption:function(a,b){var c=this.options,d=c[a];(c[a]!=b||"mode"==a)&&(c[a]=b,$c.hasOwnProperty(a)&&Fb(this,$c[a])(this,b,d))},getOption:function(a){return this.options[a]},getDoc:function(){return this.doc},addKeyMap:function(a,b){this.state.keyMaps[b?"push":"unshift"](a)},removeKeyMap:function(a){for(var b=this.state.keyMaps,c=0;c=d;++d)Uc(this,d,a)}),getTokenAt:function(a,b){var c=this.doc;a=Gc(c,a);for(var d=eb(this,a.line,b),e=this.doc.mode,f=le(c,a.line),g=new pd(f.text,this.options.tabSize);g.pos>1;if((f?b[2*f-1]:0)>=e)d=f;else{if(!(b[2*f+1]d&&(a=d,c=!0);var e=le(this.doc,a);return sb(this,le(this.doc,a),{top:0,left:0},b||"page").top+(c?e.height:0)},defaultTextHeight:function(){return Ab(this.display)},defaultCharWidth:function(){return Bb(this.display)},setGutterMarker:Fb(null,function(a,b,c){return Vc(this,a,function(a){var d=a.gutterMarkers||(a.gutterMarkers={});return d[b]=c,!c&&jf(d)&&(a.gutterMarkers=null),!0})}),clearGutter:Fb(null,function(a){var b=this,c=b.doc,d=c.first;c.iter(function(c){c.gutterMarkers&&c.gutterMarkers[a]&&(c.gutterMarkers[a]=null,Ib(b,d,d+1),jf(c.gutterMarkers)&&(c.gutterMarkers=null)),++d})}),addLineClass:Fb(null,function(a,b,c){return Vc(this,a,function(a){var d="text"==b?"textClass":"background"==b?"bgClass":"wrapClass";if(a[d]){if(new RegExp("(?:^|\\s)"+c+"(?:$|\\s)").test(a[d]))return!1;a[d]+=" "+c}else a[d]=c;return!0})}),removeLineClass:Fb(null,function(a,b,c){return Vc(this,a,function(a){var d="text"==b?"textClass":"background"==b?"bgClass":"wrapClass",e=a[d];if(!e)return!1;if(null==c)a[d]=null;else{var f=e.match(new RegExp("(?:^|\\s+)"+c+"(?:$|\\s+)"));if(!f)return!1;var g=f.index+f[0].length;a[d]=e.slice(0,f.index)+(f.index&&g!=e.length?" ":"")+e.slice(g)||null}return!0})}),addLineWidget:Fb(null,function(a,b,c){return Nd(this,a,b,c)}),removeLineWidget:function(a){a.clear()},lineInfo:function(a){if("number"==typeof a){if(!Ic(this.doc,a))return null;var b=a;if(a=le(this.doc,a),!a)return null}else{var b=pe(a);if(null==b)return null}return{line:b,handle:a,text:a.text,gutterMarkers:a.gutterMarkers,textClass:a.textClass,bgClass:a.bgClass,wrapClass:a.wrapClass,widgets:a.widgets}},getViewport:function(){return{from:this.display.showingFrom,to:this.display.showingTo}},addWidget:function(a,b,c,d,e){var f=this.display;a=vb(this,Gc(this.doc,a));var g=a.bottom,h=a.left;if(b.style.position="absolute",f.sizer.appendChild(b),"over"==d)g=a.top;else if("above"==d||"near"==d){var i=Math.max(f.wrapper.clientHeight,this.doc.height),j=Math.max(f.sizer.clientWidth,f.lineSpace.clientWidth);("above"==d||a.bottom+b.offsetHeight>i)&&a.top>b.offsetHeight?g=a.top-b.offsetHeight:a.bottom+b.offsetHeight<=i&&(g=a.bottom),h+b.offsetWidth>j&&(h=j-b.offsetWidth)}b.style.top=g+"px",b.style.left=b.style.right="","right"==e?(h=f.sizer.clientWidth-b.offsetWidth,b.style.right="0px"):("left"==e?h=0:"middle"==e&&(h=(f.sizer.clientWidth-b.offsetWidth)/2),b.style.left=h+"px"),c&&Qc(this,h,g,h+b.offsetWidth,g+b.offsetHeight)},triggerOnKeyDown:Fb(null,kc),execCommand:function(a){return jd[a](this)},findPosH:function(a,b,c,d){var e=1;0>b&&(e=-1,b=-b);for(var f=0,g=Gc(this.doc,a);b>f&&(g=Wc(this.doc,g,e,c,d),!g.hitSide);++f);return g},moveH:Fb(null,function(a,b){var d,c=this.doc.sel;d=c.shift||c.extend||Cc(c.from,c.to)?Wc(this.doc,c.head,a,b,this.options.rtlMoveVisually):0>a?c.from:c.to,Jc(this.doc,d,d,a)}),deleteH:Fb(null,function(a,b){var c=this.doc.sel;Cc(c.from,c.to)?Ac(this.doc,"",c.from,Wc(this.doc,c.head,a,b,!1),"+delete"):Ac(this.doc,"",c.from,c.to,"+delete"),this.curOp.userSelChange=!0}),findPosV:function(a,b,c,d){var e=1,f=d;0>b&&(e=-1,b=-b);for(var g=0,h=Gc(this.doc,a);b>g;++g){var i=vb(this,h,"div");if(null==f?f=i.left:i.left=f,h=Xc(this,i,e,c),h.hitSide)break}return h},moveV:Fb(null,function(a,b){var c=this.doc.sel,d=vb(this,c.head,"div");null!=c.goalColumn&&(d.left=c.goalColumn);var e=Xc(this,d,a,b);"page"==b&&Tc(this,0,ub(this,e,"div").top-d.top),Jc(this.doc,e,e,a),c.goalColumn=d.left}),toggleOverwrite:function(a){(null==a||a!=this.state.overwrite)&&((this.state.overwrite=!this.state.overwrite)?this.display.cursor.className+=" CodeMirror-overwrite":this.display.cursor.className=this.display.cursor.className.replace(" CodeMirror-overwrite",""))},hasFocus:function(){return this.state.focused},scrollTo:Fb(null,function(a,b){Sc(this,a,b)}),getScrollInfo:function(){var a=this.display.scroller,b=Ve;return{left:a.scrollLeft,top:a.scrollTop,height:a.scrollHeight-b,width:a.scrollWidth-b,clientHeight:a.clientHeight-b,clientWidth:a.clientWidth-b}},scrollIntoView:Fb(null,function(a,b){null==a?a={from:this.doc.sel.head,to:null}:"number"==typeof a?a={from:Bc(a,0),to:null}:null==a.from&&(a={from:a,to:null}),a.to||(a.to=a.from),b||(b=0);var c=a;null!=a.from.line&&(this.curOp.scrollToPos={from:a.from,to:a.to,margin:b},c={from:vb(this,a.from),to:vb(this,a.to)});var d=Rc(this,Math.min(c.from.left,c.to.left),Math.min(c.from.top,c.to.top)-b,Math.max(c.from.right,c.to.right),Math.max(c.from.bottom,c.to.bottom)+b);Sc(this,d.scrollLeft,d.scrollTop)}),setSize:Fb(null,function(a,b){function c(a){return"number"==typeof a||/^\d+$/.test(String(a))?a+"px":a}null!=a&&(this.display.wrapper.style.width=c(a)),null!=b&&(this.display.wrapper.style.height=c(b)),this.options.lineWrapping&&(this.display.measureLineCache.length=this.display.measureLineCachePos=0),this.curOp.forceUpdate=!0}),operation:function(a){return Hb(this,a)},refresh:Fb(null,function(){var a=null==this.display.cachedTextHeight;pb(this),Sc(this,this.doc.scrollLeft,this.doc.scrollTop),Ib(this),a&&C(this)}),swapDoc:Fb(null,function(a){var b=this.doc;return b.cm=null,ke(this,a),pb(this),Mb(this,!0),Sc(this,a.scrollLeft,a.scrollTop),Qe(this,"swapDoc",this,b),b}),getInputField:function(){return this.display.input},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Ue(x);var $c=x.optionHandlers={},_c=x.defaults={},bd=x.Init={toString:function(){return"CodeMirror.Init"}};ad("value","",function(a,b){a.setValue(b)},!0),ad("mode",null,function(a,b){a.doc.modeOption=b,z(a)},!0),ad("indentUnit",2,z,!0),ad("indentWithTabs",!1),ad("smartIndent",!0),ad("tabSize",4,function(a){z(a),pb(a),Ib(a)},!0),ad("electricChars",!0),ad("rtlMoveVisually",!r),ad("theme","default",function(a){E(a),F(a)},!0),ad("keyMap","default",D),ad("extraKeys",null),ad("onKeyEvent",null),ad("onDragEvent",null),ad("lineWrapping",!1,A,!0),ad("gutters",[],function(a){J(a.options),F(a)},!0),ad("fixedGutter",!0,function(a,b){a.display.gutters.style.left=b?P(a.display)+"px":"0",a.refresh()},!0),ad("coverGutterNextToScrollbar",!1,K,!0),ad("lineNumbers",!1,function(a){J(a.options),F(a)},!0),ad("firstLineNumber",1,F,!0),ad("lineNumberFormatter",function(a){return a},F,!0),ad("showCursorWhenSelecting",!1,Z,!0),ad("resetSelectionOnContextMenu",!0),ad("readOnly",!1,function(a,b){"nocursor"==b?(nc(a),a.display.input.blur(),a.display.disabled=!0):(a.display.disabled=!1,b||Mb(a,!0))}),ad("dragDrop",!0),ad("cursorBlinkRate",530),ad("cursorScrollMargin",0),ad("cursorHeight",1),ad("workTime",100),ad("workDelay",100),ad("flattenSpans",!0),ad("pollInterval",100),ad("undoDepth",40,function(a,b){a.doc.history.undoDepth=b}),ad("historyEventDelay",500),ad("viewportMargin",10,function(a){a.refresh()},!0),ad("maxHighlightLength",1e4,function(a){z(a),a.refresh()},!0),ad("crudeMeasuringFrom",1e4),ad("moveInputWithCursor",!0,function(a,b){b||(a.display.inputDiv.style.top=a.display.inputDiv.style.left=0)}),ad("tabindex",null,function(a,b){a.display.input.tabIndex=b||""}),ad("autofocus",null);var cd=x.modes={},dd=x.mimeModes={};x.defineMode=function(a,b){if(x.defaults.mode||"null"==a||(x.defaults.mode=a),arguments.length>2){b.dependencies=[];for(var c=2;c0&&b.ch=this.string.length},sol:function(){return 0==this.pos},peek:function(){return this.string.charAt(this.pos)||void 0},next:function(){return this.posb},eatSpace:function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},skipToEnd:function(){this.pos=this.string.length},skipTo:function(a){var b=this.string.indexOf(a,this.pos);return b>-1?(this.pos=b,!0):void 0},backUp:function(a){this.pos-=a},column:function(){return this.lastColumnPos0?null:(f&&b!==!1&&(this.pos+=f[0].length),f)}var d=function(a){return c?a.toLowerCase():a},e=this.string.substr(this.pos,a.length);return d(e)==d(a)?(b!==!1&&(this.pos+=a.length),!0):void 0},current:function(){return this.string.slice(this.start,this.pos)}},x.StringStream=pd,x.TextMarker=qd,Ue(qd),qd.prototype.clear=function(){if(!this.explicitlyCleared){var a=this.doc.cm,b=a&&!a.curOp;if(b&&Db(a),Te(this,"clear")){var c=this.find();c&&Qe(this,"clear",c.from,c.to)}for(var d=null,e=null,f=0;fa.display.maxLineLength&&(a.display.maxLine=i,a.display.maxLineLength=j,a.display.maxLineChanged=!0)}null!=d&&a&&Ib(a,d,e+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&Mc(a)),b&&Eb(a)}},qd.prototype.find=function(){for(var a,b,c=0;c=b.display.showingFrom&&a.linec;++c){var e=this.lines[c];this.height-=e.height,Qd(e),Qe(e,"delete")}this.lines.splice(a,b)},collapse:function(a){a.splice.apply(a,[a.length,0].concat(this.lines))},insertInner:function(a,b,c){this.height+=c,this.lines=this.lines.slice(0,a).concat(b).concat(this.lines.slice(a));for(var d=0,e=b.length;e>d;++d)b[d].parent=this},iterN:function(a,b,c){for(var d=a+b;d>a;++a)if(c(this.lines[a]))return!0}},ee.prototype={chunkSize:function(){return this.size},removeInner:function(a,b){this.size-=b;for(var c=0;ca){var f=Math.min(b,e-a),g=d.height;if(d.removeInner(a,f),this.height-=g-d.height,e==f&&(this.children.splice(c--,1),d.parent=null),0==(b-=f))break;a=0}else a-=e}if(this.size-b<25){var h=[];this.collapse(h),this.children=[new de(h)],this.children[0].parent=this}},collapse:function(a){for(var b=0,c=this.children.length;c>b;++b)this.children[b].collapse(a)},insertInner:function(a,b,c){this.size+=b.length,this.height+=c;for(var d=0,e=this.children.length;e>d;++d){var f=this.children[d],g=f.chunkSize();if(g>=a){if(f.insertInner(a,b,c),f.lines&&f.lines.length>50){for(;f.lines.length>50;){var h=f.lines.splice(f.lines.length-25,25),i=new de(h);f.height-=i.height,this.children.splice(d+1,0,i),i.parent=this}this.maybeSpill()}break}a-=g}},maybeSpill:function(){if(!(this.children.length<=10)){var a=this;do{var b=a.children.splice(a.children.length-5,5),c=new ee(b);if(a.parent){a.size-=c.size,a.height-=c.height;var e=bf(a.parent.children,a);a.parent.children.splice(e+1,0,c)}else{var d=new ee(a.children);d.parent=a,a.children=[d,c],a=d}c.parent=a.parent}while(a.children.length>10);a.parent.maybeSpill()}},iterN:function(a,b,c){for(var d=0,e=this.children.length;e>d;++d){var f=this.children[d],g=f.chunkSize();if(g>a){var h=Math.min(b,g-a);if(f.iterN(a,h,c))return!0;if(0==(b-=h))break;a=0}else a-=g}}};var fe=0,ge=x.Doc=function(a,b,c){if(!(this instanceof ge))return new ge(a,b,c);null==c&&(c=0),ee.call(this,[new de([new Od("",null)])]),this.first=c,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.history=te(),this.cleanGeneration=1,this.frontier=c;var d=Bc(c,0);this.sel={from:d,to:d,head:d,anchor:d,shift:!1,extend:!1,goalColumn:null},this.id=++fe,this.modeOption=b,"string"==typeof a&&(a=wf(a)),ce(this,{from:d,to:d,text:a},null,{head:d,anchor:d})};ge.prototype=cf(ee.prototype,{constructor:ge,iter:function(a,b,c){c?this.iterN(a-this.first,b-a,c):this.iterN(this.first,this.first+this.size,a)},insert:function(a,b){for(var c=0,d=0,e=b.length;e>d;++d)c+=b[d].height;this.insertInner(a-this.first,b,c)},remove:function(a,b){this.removeInner(a-this.first,b)},getValue:function(a){var b=ne(this,this.first,this.first+this.size);return a===!1?b:b.join(a||"\n")},setValue:function(a){var b=Bc(this.first,0),c=this.first+this.size-1;uc(this,{from:b,to:Bc(c,le(this,c).text.length),text:wf(a),origin:"setValue"},{head:b,anchor:b},!0)},replaceRange:function(a,b,c,d){b=Gc(this,b),c=c?Gc(this,c):b,Ac(this,a,b,c,d)},getRange:function(a,b,c){var d=me(this,Gc(this,a),Gc(this,b));return c===!1?d:d.join(c||"\n")},getLine:function(a){var b=this.getLineHandle(a);return b&&b.text},setLine:function(a,b){Ic(this,a)&&Ac(this,b,Bc(a,0),Gc(this,Bc(a)))},removeLine:function(a){a?Ac(this,"",Gc(this,Bc(a-1)),Gc(this,Bc(a))):Ac(this,"",Bc(0,0),Gc(this,Bc(1,0)))},getLineHandle:function(a){return Ic(this,a)?le(this,a):void 0},getLineNumber:function(a){return pe(a)},getLineHandleVisualStart:function(a){return"number"==typeof a&&(a=le(this,a)),Fd(this,a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return Gc(this,a)},getCursor:function(a){var c,b=this.sel;return c=null==a||"head"==a?b.head:"anchor"==a?b.anchor:"end"==a||a===!1?b.to:b.from,Ec(c)},somethingSelected:function(){return!Cc(this.sel.head,this.sel.anchor)},setCursor:Gb(function(a,b,c){var d=Gc(this,"number"==typeof a?Bc(a,b||0):a);c?Jc(this,d):Lc(this,d,d)}),setSelection:Gb(function(a,b,c){Lc(this,Gc(this,a),Gc(this,b||a),c)}),extendSelection:Gb(function(a,b,c){Jc(this,Gc(this,a),b&&Gc(this,b),c)}),getSelection:function(a){return this.getRange(this.sel.from,this.sel.to,a)},replaceSelection:function(a,b,c){uc(this,{from:this.sel.from,to:this.sel.to,text:wf(a),origin:c},b||"around")},undo:Gb(function(){wc(this,"undo")}),redo:Gb(function(){wc(this,"redo")}),setExtending:function(a){this.sel.extend=a},historySize:function(){var a=this.history;return{undo:a.done.length,redo:a.undone.length}},clearHistory:function(){this.history=te(this.history.maxGeneration)},markClean:function(){this.cleanGeneration=this.changeGeneration()},changeGeneration:function(){return this.history.lastOp=this.history.lastOrigin=null,this.history.generation},isClean:function(a){return this.history.generation==(a||this.cleanGeneration)},getHistory:function(){return{done:ze(this.history.done),undone:ze(this.history.undone)}},setHistory:function(a){var b=this.history=te(this.history.maxGeneration);b.done=a.done.slice(0),b.undone=a.undone.slice(0)},markText:function(a,b,c){return rd(this,Gc(this,a),Gc(this,b),c,"range")},setBookmark:function(a,b){var c={replacedWith:b&&(null==b.nodeType?b.widget:b),insertLeft:b&&b.insertLeft};return a=Gc(this,a),rd(this,a,a,c,"bookmark")},findMarksAt:function(a){a=Gc(this,a);var b=[],c=le(this,a.line).markedSpans;if(c)for(var d=0;d=a.ch)&&b.push(e.marker.parent||e.marker)}return b},getAllMarks:function(){var a=[];return this.iter(function(b){var c=b.markedSpans;if(c)for(var d=0;da?(b=a,!0):(a-=e,++c,void 0)}),Gc(this,Bc(c,b))},indexFromPos:function(a){a=Gc(this,a);var b=a.ch;return a.lineb&&(b=a.from),null!=a.to&&a.to=8208&&8212>=c}:f&&(rf=function(a,b){if(b>1&&45==a.charCodeAt(b-1)){if(/\w/.test(a.charAt(b-2))&&/[^\-?\.]/.test(a.charAt(b)))return!0;if(b>2&&/[\d\.,]/.test(a.charAt(b-2))&&/[\d\.,]/.test(a.charAt(b)))return!1}return/[~!#%&*)=+}\]\\|\"\.>,:;][({[<]|-[^\-?\.\u2010-\u201f\u2026]|\?[\w~`@#$%\^&*(_=+{[|><]|\u2026[\w~`@#$%\^&*(_=+{[><]/.test(a.slice(b-1,b+1))});var sf,uf,wf=3!="\n\nb".split(/\n/).length?function(a){for(var b=0,c=[],d=a.length;d>=b;){var e=a.indexOf("\n",b);-1==e&&(e=a.length);var f=a.slice(b,"\r"==a.charAt(e-1)?e-1:e),g=f.indexOf("\r");-1!=g?(c.push(f.slice(0,g)),b+=g+1):(c.push(f),b=e+1)}return c}:function(a){return a.split(/\r\n?|\n/)};x.splitLines=wf;var xf=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(b){return!1}}:function(a){try{var b=a.ownerDocument.selection.createRange()}catch(c){}return b&&b.parentElement()==a?0!=b.compareEndPoints("StartToEnd",b):!1},yf=function(){var a=lf("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),"function"==typeof a.oncopy)}(),zf={3:"Enter",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",91:"Mod",92:"Mod",93:"Mod",109:"-",107:"=",127:"Delete",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63276:"PageUp",63277:"PageDown",63275:"End",63273:"Home",63234:"Left",63232:"Up",63235:"Right",63233:"Down",63302:"Insert",63272:"Delete"};x.keyNames=zf,function(){for(var a=0;10>a;a++)zf[a+48]=String(a);for(var a=65;90>=a;a++)zf[a]=String.fromCharCode(a);for(var a=1;12>=a;a++)zf[a+111]=zf[a+63235]="F"+a}();var If,Nf=function(){function c(c){return 255>=c?a.charAt(c):c>=1424&&1524>=c?"R":c>=1536&&1791>=c?b.charAt(c-1536):c>=1792&&2220>=c?"r":"L"}var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLL",b="rrrrrrrrrrrr,rNNmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmrrrrrrrnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmNmmmmrrrrrrrrrrrrrrrrrr",d=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,e=/[stwN]/,f=/[LRr]/,g=/[Lb1n]/,h=/[1n]/,i="L";return function(a){if(!d.test(a))return!1;for(var l,b=a.length,j=[],k=0;b>k;++k)j.push(l=c(a.charCodeAt(k)));for(var k=0,m=i;b>k;++k){var l=j[k];"m"==l?j[k]=m:m=l}for(var k=0,n=i;b>k;++k){var l=j[k];"1"==l&&"r"==n?j[k]="n":f.test(l)&&(n=l,"r"==l&&(j[k]="R"))}for(var k=1,m=j[0];b-1>k;++k){var l=j[k];"+"==l&&"1"==m&&"1"==j[k+1]?j[k]="1":","!=l||m!=j[k+1]||"1"!=m&&"n"!=m||(j[k]=m),m=l}for(var k=0;b>k;++k){var l=j[k];if(","==l)j[k]="N";else if("%"==l){for(var o=k+1;b>o&&"%"==j[o];++o);for(var p=k&&"!"==j[k-1]||b-1>o&&"1"==j[o]?"1":"N",q=k;o>q;++q)j[q]=p;k=o-1}}for(var k=0,n=i;b>k;++k){var l=j[k];"L"==n&&"1"==l?j[k]="L":f.test(l)&&(n=l)}for(var k=0;b>k;++k)if(e.test(j[k])){for(var o=k+1;b>o&&e.test(j[o]);++o);for(var r="L"==(k?j[k-1]:i),s="L"==(b-1>o?j[o]:i),p=r||s?"L":"R",q=k;o>q;++q)j[q]=p;k=o-1}for(var u,t=[],k=0;b>k;)if(g.test(j[k])){var v=k;for(++k;b>k&&g.test(j[k]);++k);t.push({from:v,to:k,level:0})}else{var w=k,x=t.length;for(++k;b>k&&"L"!=j[k];++k);for(var q=w;k>q;)if(h.test(j[q])){q>w&&t.splice(x,0,{from:w,to:q,level:1});var y=q;for(++q;k>q&&h.test(j[q]);++q);t.splice(x,0,{from:y,to:q,level:2}),w=q}else++q;k>w&&t.splice(x,0,{from:w,to:k,level:1})}return 1==t[0].level&&(u=a.match(/^\s+/))&&(t[0].from=u[0].length,t.unshift({from:0,to:u[0].length,level:0})),1==_e(t).level&&(u=a.match(/\s+$/))&&(_e(t).to-=u[0].length,t.push({from:b-u[0].length,to:b,level:0})),t[0].level!=_e(t).level&&t.push({from:b,to:b,level:t[0].level}),t}}();return x.version="3.19.1",x}(),CodeMirror.defineMode("css",function(a,b){"use strict";function l(a,b){return k=b,a}function m(a,b){var c=a.next();if(d[c]){var e=d[c](a,b);if(e!==!1)return e}if("@"==c)return a.eatWhile(/[\w\\\-]/),l("def",a.current());if("="==c)l(null,"compare");else{if(("~"==c||"|"==c)&&a.eat("="))return l(null,"compare");if('"'==c||"'"==c)return b.tokenize=n(c),b.tokenize(a,b);if("#"==c)return a.eatWhile(/[\w\\\-]/),l("atom","hash");if("!"==c)return a.match(/^\s*\w*/),l("keyword","important");if(/\d/.test(c)||"."==c&&a.eat(/\d/))return a.eatWhile(/[\w.%]/),l("number","unit");if("-"!==c)return/[,+>*\/]/.test(c)?l(null,"select-op"):"."==c&&a.match(/^-?[_a-z][_a-z0-9-]*/i)?l("qualifier","qualifier"):":"==c?l("operator",c):/[;{}\[\]\(\)]/.test(c)?l(null,c):"u"==c&&a.match("rl(")?(a.backUp(1),b.tokenize=o,l("property","variable")):(a.eatWhile(/[\w\\\-]/),l("property","variable"));if(/\d/.test(a.peek()))return a.eatWhile(/[\w.%]/),l("number","unit");if(a.match(/^[^-]+-/))return l("meta","meta")}}function n(a,b){return function(c,d){for(var f,e=!1;null!=(f=c.next())&&(f!=a||e);)e=!e&&"\\"==f;return e||(b&&c.backUp(1),d.tokenize=m),l("string","string")}}function o(a,b){return a.next(),b.tokenize=a.match(/\s*[\"\']/,!1)?m:n(")",!0),l(null,"(")}b.propertyKeywords||(b=CodeMirror.resolveMode("text/css"));var c=a.indentUnit||a.tabSize||2,d=b.hooks||{},e=b.atMediaTypes||{},f=b.atMediaFeatures||{},g=b.propertyKeywords||{},h=b.colorKeywords||{},i=b.valueKeywords||{},j=!!b.allowNested,k=null;return{startState:function(a){return{tokenize:m,baseIndent:a||0,stack:[],lastToken:null}},token:function(a,b){if(b.tokenize=b.tokenize||m,b.tokenize==m&&a.eatSpace())return null;var c=b.tokenize(a,b);c&&"string"!=typeof c&&(c=l(c[0],c[1]));var d=b.stack[b.stack.length-1];if("variable"==c)return"variable-definition"==k&&b.stack.push("propertyValue"),b.lastToken="variable-2";if("property"==c){var n=a.current().toLowerCase();"propertyValue"==d?c=i.hasOwnProperty(n)?"string-2":h.hasOwnProperty(n)?"keyword":"variable-2":"rule"==d?g.hasOwnProperty(n)||(c+=" error"):"block"==d?c=g.hasOwnProperty(n)?"property":h.hasOwnProperty(n)?"keyword":i.hasOwnProperty(n)?"string-2":"tag":d&&"@media{"!=d?"@media"==d?c=e[a.current()]?"attribute":/^(only|not)$/.test(n)?"keyword":"and"==n?"error":f.hasOwnProperty(n)?"error":"attribute error":"@mediaType"==d?c=e.hasOwnProperty(n)?"attribute":"and"==n?"operator":/^(only|not)$/.test(n)?"error":"error":"@mediaType("==d?g.hasOwnProperty(n)||(e.hasOwnProperty(n)?c="error":"and"==n?c="operator":/^(only|not)$/.test(n)?c="error":c+=" error"):c="@import"==d?"tag":"error":c="tag"}else"atom"==c?d&&"@media{"!=d&&"block"!=d?"propertyValue"==d?/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(a.current())||(c+=" error"):c="error":c="builtin":"@media"==d&&"{"==k&&(c="error");if("{"==k)if("@media"==d||"@mediaType"==d)b.stack[b.stack.length-1]="@media{";else{var o=j?"block":"rule";b.stack.push(o)}else if("}"==k)for("interpolation"==d&&(c="operator");b.stack.length;){var p=b.stack.pop();if(p.indexOf("{")>-1)break}else if("interpolation"==k)b.stack.push("interpolation");else if("@media"==k)b.stack.push("@media");else if("@import"==k)b.stack.push("@import");else if("@media"==d&&/\b(keyword|attribute)\b/.test(c))b.stack[b.stack.length-1]="@mediaType";else if("@mediaType"==d&&","==a.current())b.stack[b.stack.length-1]="@media";else if("("==k)"@media"==d||"@mediaType"==d?(b.stack[b.stack.length-1]="@mediaType",b.stack.push("@mediaType(")):b.stack.push("(");else if(")"==k)for(;b.stack.length;){var p=b.stack.pop();if(p.indexOf("(")>-1)break}else":"==k&&"property"==b.lastToken?b.stack.push("propertyValue"):"propertyValue"==d&&";"==k?b.stack.pop():"@import"==d&&";"==k&&b.stack.pop();return b.lastToken=c},indent:function(a,b){var d=a.stack.length;return/^\}/.test(b)&&(d-="propertyValue"==a.stack[d-1]?2:1),a.baseIndent+d*c},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",fold:"brace"}}),function(){function a(a){for(var b={},c=0;c=2&&">"==d){b.tokenize=null;break}c="-"==d?c+1:0}return["comment","comment"]}return a.eat("!")?(b.tokenize=c,c(a,b)):void 0},"/":function(a,b){return a.eat("*")?(b.tokenize=g,g(a,b)):!1}},name:"css"}),CodeMirror.defineMIME("text/x-scss",{atMediaTypes:b,atMediaFeatures:c,propertyKeywords:d,colorKeywords:e,valueKeywords:f,allowNested:!0,hooks:{":":function(a){return a.match(/\s*{/)?[null,"{"]:!1},$:function(a){return a.match(/^[\w-]+/),":"==a.peek()?["variable","variable-definition"]:["variable","variable"]},",":function(a,b){return"propertyValue"==b.stack[b.stack.length-1]?["operator",";"]:void 0},"/":function(a,b){return a.eat("/")?(a.skipToEnd(),["comment","comment"]):a.eat("*")?(b.tokenize=g,g(a,b)):["operator","operator"] -},"#":function(a){return a.eat("{")?["operator","interpolation"]:(a.eatWhile(/[\w\\\-]/),["atom","hash"])}},name:"css"})}(),CodeMirror.defineMode("less",function(a){function d(a,b){return c=b,a}function f(a,b){var f=a.next();if("@"==f)return a.eatWhile(/[\w\-]/),d("meta",a.current());if("/"==f&&a.eat("*"))return b.tokenize=h,h(a,b);if("<"==f&&a.eat("!"))return b.tokenize=i,i(a,b);if("="==f)d(null,"compare");else{if("|"==f&&a.eat("="))return d(null,"compare");if('"'==f||"'"==f)return b.tokenize=j(f),b.tokenize(a,b);if("/"==f){if(a.eat("/"))return b.tokenize=g,g(a,b);if("string"==c||"("==c)return d("string","string");if(void 0!==b.stack[b.stack.length-1])return d(null,f);if(a.eatWhile(/[\a-zA-Z0-9\-_.\s]/),/\/|\)|#/.test(a.peek()||a.eatSpace()&&")"===a.peek())||a.eol())return d("string","string")}else{if("!"==f)return a.match(/^\s*\w*/),d("keyword","important");if(/\d/.test(f))return a.eatWhile(/[\w.%]/),d("number","unit");if(/[,+<>*\/]/.test(f))return"="==a.peek()||"a"==c?d("string","string"):","===f?d(null,f):d(null,"select-op");if(/[;{}:\[\]()~\|]/.test(f)){if(":"==f)return a.eatWhile(/[a-z\\\-]/),e.test(a.current())?d("tag","tag"):":"==a.peek()?(a.next(),a.eatWhile(/[a-z\\\-]/),a.current().match(/\:\:\-(o|ms|moz|webkit)\-/)?d("string","string"):e.test(a.current().substring(1))?d("tag","tag"):d(null,f)):d(null,f);if("~"!=f)return d(null,f);if("r"==c)return d("string","string")}else{if("."==f)return"("==c?d("string","string"):(a.eatWhile(/[\a-zA-Z0-9\-_]/)," "===a.peek()&&a.eatSpace(),")"===a.peek()||":"===c?d("number","unit"):a.current().length>1&&"rule"===b.stack[b.stack.length-1]&&null===a.peek().match(/{|,|\+|\(/)?d("number","unit"):d("tag","tag"));if("#"==f)return a.eatWhile(/[A-Za-z0-9]/),4==a.current().length||7==a.current().length?null!=a.current().match(/[A-Fa-f0-9]{6}|[A-Fa-f0-9]{3}/,!1)?a.current().substring(1)!=a.current().match(/[A-Fa-f0-9]{6}|[A-Fa-f0-9]{3}/,!1)?d("atom","tag"):(a.eatSpace(),/[\/<>.(){!$%^&*_\-\\?=+\|#'~`]/.test(a.peek())?"select-op"===c?d("number","unit"):d("atom","tag"):"}"==a.peek()?d("number","unit"):/[a-zA-Z\\]/.test(a.peek())?d("atom","tag"):a.eol()?d("atom","tag"):d("number","unit")):(a.eatWhile(/[\w\\\-]/),d("atom",a.current())):(a.eatWhile(/[\w\\\-]/),"rule"===b.stack[b.stack.length-1]?d("atom",a.current()):d("atom",a.current()));if("&"==f)return a.eatWhile(/[\w\-]/),d(null,f);if(a.eatWhile(/[\w\\\-_%.{]/),null===a.current().match(/\\/)){if("string"==c)return"{"===b.stack[b.stack.length-1]&&":"===a.peek()?d("variable","variable"):("/"===a.peek()&&a.eatWhile(/[\w\\\-_%.{:\/]/),d(c,a.current()));if(null!=a.current().match(/(^http$|^https$)/))return a.eatWhile(/[\w\\\-_%.{:\/]/),"/"===a.peek()&&a.eatWhile(/[\w\\\-_%.{:\/]/),d("string","string");if("<"==a.peek()||">"==a.peek()||"+"==a.peek())return"("!==c||"n"!==a.current()&&"-n"!==a.current()?d("tag","tag"):d("string",a.current());if(/\(/.test(a.peek()))return"when"===a.current()?d("variable","variable"):"@media"===b.stack[b.stack.length-1]&&"and"===a.current()?d("variable",a.current()):d(null,f);if("/"==a.peek()&&void 0!==b.stack[b.stack.length-1])return"/"===a.peek()&&a.eatWhile(/[\w\\\-_%.{:\/]/),d("string",a.current());if(a.current().match(/\-\d|\-.\d/))return d("number","unit");if(/\/|[\s\)]/.test(a.peek()||a.eol()||a.eatSpace()&&"/"==a.peek())&&-1!==a.current().indexOf("."))return"{"==a.current().substring(a.current().length-1,a.current().length)?(a.backUp(1),d("tag","tag")):(a.eatSpace(),/[{<>.a-zA-Z\/]/.test(a.peek())||a.eol()?d("tag","tag"):d("string","string"));if(a.eol()||"["==a.peek()||"#"==a.peek()||"tag"==c){if("{"==a.current().substring(a.current().length-1,a.current().length))a.backUp(1);else{if("border-color"===b.stack[b.stack.length-1]||"background-position"===b.stack[b.stack.length-1]||"font-family"===b.stack[b.stack.length-1])return d(null,a.current());if("tag"===c)return d("tag","tag");if((":"===c||"unit"===c)&&"rule"===b.stack[b.stack.length-1])return d(null,a.current());if("rule"===b.stack[b.stack.length-1]&&"tag"===c)return d("string",a.current());if(";"===b.stack[b.stack.length-1]&&":"===c)return d(null,a.current());if("#"===a.peek()&&void 0!==c&&null===c.match(/\+|,|tag|select\-op|}|{|;/g))return d("string",a.current());if("variable"===c)return d(null,a.current());if("{"===b.stack[b.stack.length-1]&&"comment"===c)return d("variable",a.current());if(0===b.stack.length&&(";"===c||"comment"===c))return d("tag",a.current());if(("{"===b.stack[b.stack.length-1]||";"===c)&&"@media{"!==b.stack[b.stack.length-1])return d("variable",a.current());if("{"===b.stack[b.stack.length-2]&&";"===b.stack[b.stack.length-1])return d("variable",a.current())}return d("tag","tag")}if("compare"==c||"a"==c||"("==c)return d("string","string");if("|"==c||"-"==a.current()||"["==c)return"|"==c&&null!==a.peek().match(/\]|=|\~/)?d("number",a.current()):"|"==c?d("tag","tag"):"["==c?(a.eatWhile(/\w\-/),d("number",a.current())):d(null,f);if(":"==a.peek()||a.eatSpace()&&":"==a.peek()){a.next();var k=":"==a.peek()?!0:!1;if(k)a.backUp(1);else{var l=a.pos,m=a.current().length;a.eatWhile(/[a-z\\\-]/);var n=a.pos;if(null!=a.current().substring(m-1).match(e))return a.backUp(n-(l-1)),d("tag","tag");a.backUp(n-(l-1))}return k?d("tag","tag"):d("variable","variable")}return"font-family"===b.stack[b.stack.length-1]||"background-position"===b.stack[b.stack.length-1]||"border-color"===b.stack[b.stack.length-1]?d(null,null):null===b.stack[b.stack.length-1]&&":"===c?d(null,a.current()):/\^|\$/.test(a.current())&&null!==a.peek().match(/\~|=/)?d("string","string"):"unit"===c&&"rule"===b.stack[b.stack.length-1]?d(null,"unit"):"unit"===c&&";"===b.stack[b.stack.length-1]?d(null,"unit"):")"===c&&"rule"===b.stack[b.stack.length-1]?d(null,"unit"):c&&null!==c.match("@")&&"rule"===b.stack[b.stack.length-1]?d(null,"unit"):";"!==c&&"}"!==c&&","!==c||";"!==b.stack[b.stack.length-1]?";"===c&&void 0!==a.peek()&&null===a.peek().match(/{|./)||";"===c&&a.eatSpace()&&null===a.peek().match(/{|./)?d("variable",a.current()):"@media"===c&&"@media"===b.stack[b.stack.length-1]||"@namespace"===c?d("tag",a.current()):"{"===c&&";"===b.stack[b.stack.length-1]&&"{"===a.peek()?d("tag","tag"):"{"!==c&&":"!==c||";"!==b.stack[b.stack.length-1]?"{"===b.stack[b.stack.length-1]&&a.eatSpace()&&null===a.peek().match(/.|#/)||"select-op"===c||"rule"===b.stack[b.stack.length-1]&&","===c?d("tag","tag"):"variable"===c&&"rule"===b.stack[b.stack.length-1]?d("tag","tag"):a.eatSpace()&&"{"===a.peek()||a.eol()||"{"===a.peek()?d("tag","tag"):")"!==c||"and"!=a.current()&&"and "!=a.current()?")"!==c||"when"!=a.current()&&"when "!=a.current()?")"===c||"comment"===c||"{"===c?d("tag","tag"):a.sol()?d("tag","tag"):a.eatSpace()&&"#"===a.peek()||"#"===a.peek()?d("tag","tag"):0===b.stack.length?d("tag","tag"):";"===c&&void 0!==a.peek()&&null!==a.peek().match(/^[.|\#]/g)?d("tag","tag"):":"===c?(a.eatSpace(),d(null,a.current())):"and "===a.current()||"and"===a.current()?d("variable",a.current()):";"===c&&"{"===b.stack[b.stack.length-1]?d("variable",a.current()):"rule"===b.stack[b.stack.length-1]?d(null,a.current()):d("tag",a.current()):d("variable","variable"):d("variable","variable"):d(null,a.current()):d("tag",a.current())}if("\\"===a.current().charAt(a.current().length-1)){for(a.eat(/\'|\"|\)|\(/);a.eatWhile(/[\w\\\-_%.{]/);)a.eat(/\'|\"|\)|\(/);return d("string",a.current())}}}}}function g(a,b){return a.skipToEnd(),b.tokenize=f,d("comment","comment")}function h(a,b){for(var e,c=!1;null!=(e=a.next());){if(c&&"/"==e){b.tokenize=f;break}c="*"==e}return d("comment","comment")}function i(a,b){for(var e,c=0;null!=(e=a.next());){if(c>=2&&">"==e){b.tokenize=f;break}c="-"==e?c+1:0}return d("comment","comment")}function j(a){return function(b,c){for(var g,e=!1;null!=(g=b.next())&&(g!=a||e);)e=!e&&"\\"==g;return e||(c.tokenize=f),d("string","string")}}var c,b=a.indentUnit,e=/(^\:root$|^\:nth\-child$|^\:nth\-last\-child$|^\:nth\-of\-type$|^\:nth\-last\-of\-type$|^\:first\-child$|^\:last\-child$|^\:first\-of\-type$|^\:last\-of\-type$|^\:only\-child$|^\:only\-of\-type$|^\:empty$|^\:link|^\:visited$|^\:active$|^\:hover$|^\:focus$|^\:target$|^\:lang$|^\:enabled^\:disabled$|^\:checked$|^\:first\-line$|^\:first\-letter$|^\:before$|^\:after$|^\:not$|^\:required$|^\:invalid$)/;return{startState:function(a){return{tokenize:f,baseIndent:a||0,stack:[]}},token:function(a,b){if(a.eatSpace())return null;var e=b.tokenize(a,b),f=b.stack[b.stack.length-1];if("hash"==c&&"rule"==f?e="atom":"variable"==e&&("rule"==f?e=null:f&&"@media{"!=f||(e="when"==a.current()?"variable":/[\s,|\s\)|\s]/.test(a.peek())?"tag":c)),"rule"==f&&/^[\{\};]$/.test(c)&&b.stack.pop(),"{"==c?"@media"==f?b.stack[b.stack.length-1]="@media{":b.stack.push("{"):"}"==c?b.stack.pop():"@media"==c?b.stack.push("@media"):"font-family"===a.current()?b.stack[b.stack.length-1]="font-family":"background-position"===a.current()?b.stack[b.stack.length-1]="background-position":"border-color"===a.current()?b.stack[b.stack.length-1]="border-color":"{"==f&&"comment"!=c&&"tag"!==c?b.stack.push("rule"):":"===a.peek()&&null===a.current().match(/@|#/)&&(e=c),";"!==c||"font-family"!=b.stack[b.stack.length-1]&&"background-position"!=b.stack[b.stack.length-1]&&"border-color"!=b.stack[b.stack.length-1]){if("tag"===c&&")"===a.peek()&&null===a.current().match(/\:/))c=null,e=null;else if("variable"===c&&")"===a.peek()||"variable"===c&&a.eatSpace()&&")"===a.peek())return d(null,a.current())}else b.stack[b.stack.length-1]=a.current();return e},indent:function(a,c){var d=a.stack.length;return/^\}/.test(c)?d-="rule"===a.stack[a.stack.length-1]?2:1:"{"===a.stack[a.stack.length-2]&&(d-="rule"===a.stack[a.stack.length-1]?1:0),a.baseIndent+d*b},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),CodeMirror.defineMIME("text/x-less","less"),CodeMirror.mimeModes.hasOwnProperty("text/css")||CodeMirror.defineMIME("text/css","less"); \ No newline at end of file diff --git a/wp-content/plugins/jetpack/modules/custom-css/custom-css/js/core-customizer-css-preview.js b/wp-content/plugins/jetpack/modules/custom-css/custom-css/js/core-customizer-css-preview.js deleted file mode 100644 index 15090ee35..000000000 --- a/wp-content/plugins/jetpack/modules/custom-css/custom-css/js/core-customizer-css-preview.js +++ /dev/null @@ -1,42 +0,0 @@ -// Originally based on https://raw.githubusercontent.com/xwp/wp-custom-scss-demo/master/custom-scss-demo-preview.js -/* globals jpCustomizerCssPreview */ -(function( api, $ ) { - if ( api.settingPreviewHandlers ) { - // No-op the custom_css preview handler since now handled by partial. - api.settingPreviewHandlers.custom_css = function() {}; - } else { - parent.console.warn( 'Missing core patch that adds support for settingPreviewHandlers' ); - } - - api.selectiveRefresh.partialConstructor.custom_css = api.selectiveRefresh.Partial.extend( { - - /** - * Refresh custom_css partial, using selective refresh if pre-processor and direct DOM manipulation if otherwise. - * - * @returns {jQuery.promise} - */ - refresh: function() { - var partial = this, - preprocessor = api( 'jetpack_custom_css[preprocessor]' ).get(), - deferred, setting; - - // Sass or Less require Partial -- so ajax call to get it from PHP. - // We can explicitly override for specific providers by testing if `'sass' === preprocessor` - if ( jpCustomizerCssPreview.preprocessors.hasOwnProperty( preprocessor ) ) { - return api.selectiveRefresh.Partial.prototype.refresh.call( partial ); - } - - // No special providers, just write what we got. - deferred = new $.Deferred(); - setting = api( 'custom_css[' + api.settings.theme.stylesheet + ']' ); - _.each( partial.placements(), function( placement ) { - placement.container.text( setting.get() ); - } ); - - deferred.resolve(); - return deferred.promise(); - } - - } ); - -}( wp.customize, jQuery )); diff --git a/wp-content/plugins/jetpack/modules/custom-css/custom-css/js/core-customizer-css.core-4.9.js b/wp-content/plugins/jetpack/modules/custom-css/custom-css/js/core-customizer-css.core-4.9.js deleted file mode 100644 index ee1b37e92..000000000 --- a/wp-content/plugins/jetpack/modules/custom-css/custom-css/js/core-customizer-css.core-4.9.js +++ /dev/null @@ -1,93 +0,0 @@ -(function( $, customize ){ - /** - * Helper function to qet a control by ID - * @param {string} controlId Control ID - * @return {object} jQuery object of the container - */ - function _getControl ( controlId ) { - var control = customize.control.value( controlId ); - if ( control ) { - return control.container; - } - return null; - } - - /** - * Add some labels that the default checkbox controls don't allow. - * Add CSS Revisions and CSS Help links. - */ - $(document).ready( function(){ - var cssModeControl = _getControl( 'jetpack_css_mode_control' ); - if ( cssModeControl ) { - cssModeControl.prepend( '' + window._jp_css_settings.l10n.mode + '' ); - } - - var mobileCssControl = _getControl( 'jetpack_mobile_css_control' ); - if ( mobileCssControl ) { - mobileCssControl.prepend( '' + window._jp_css_settings.l10n.mobile + '' ); - } - - var widthControl = _getControl( 'wpcom_custom_css_content_width_control' ); - if ( widthControl ) { - widthControl.append( '' + window._jp_css_settings.l10n.contentWidth + '' ); - widthControl.find( 'input' ).after( 'px' ); - } - - $( '
    ', { - id : 'css-help-links', - 'class' : 'css-help' - }).appendTo( _getControl( 'custom_css' ) ); - - $( '', { - id : 'help-link', - target : '_blank', - rel: 'noopener noreferrer', - href : window._jp_css_settings.cssHelpUrl, - text : window._jp_css_settings.l10n.css_help_title - }).prependTo( '#css-help-links' ); - - // Only show the revisions link if there are revisions - if ( window._jp_css_settings.areThereCssRevisions ) { - $( '', { - id : 'revisions-link', - target : '_blank', - rel: 'noopener noreferrer', - href : window._jp_css_settings.revisionsUrl, - text : window._jp_css_settings.l10n.revisions - }).prependTo( '#css-help-links' ); - } - - // Show deprecation warning if Start Fresh option is enabled - if ( !! window._jp_css_settings.startFresh && window._currentSiteType !== 'atomic' ) { - customize.notifications.add( new customize.Notification( 'start-fresh-warning', { - message: window._jp_css_settings.l10n.startFreshCustomizerWarning, - type: 'warning', - } ) ); - } - - customize( 'jetpack_custom_css[preprocessor]', function( preprocessorSetting ) { - preprocessorSetting.bind( function( curr ) { - var preprocessor_modes = { - 'default' : 'text/css', - less : 'text/x-less', - sass : 'text/x-scss' - }, - new_mode = 'text/css'; - - if ( 'undefined' !== typeof preprocessor_modes[ curr ] ) { - new_mode = preprocessor_modes[ curr ]; - } - - customize.control( 'custom_css' ).deferred.codemirror.done( function ( cm ) { - cm.setOption( 'mode', new_mode ); - if ( 'text/css' === new_mode ) { - cm.setOption( 'lint', true ); - } else { - cm.setOption( 'lint', false ); - } - }); - }); - }); - }); - -})( jQuery, window.wp.customize ); diff --git a/wp-content/plugins/jetpack/modules/custom-css/custom-css/preprocessors.php b/wp-content/plugins/jetpack/modules/custom-css/custom-css/preprocessors.php deleted file mode 100644 index ff08d68d5..000000000 --- a/wp-content/plugins/jetpack/modules/custom-css/custom-css/preprocessors.php +++ /dev/null @@ -1,76 +0,0 @@ - array( 'name' => 'Processor name', 'callback' => [processing function] ); - * - * The callback function accepts a single string argument (non-CSS markup) and returns a string (CSS). - * - * @param array $preprocessors The list of preprocessors added thus far. - * @return array - */ - function jetpack_register_css_preprocessors( $preprocessors ) { - $preprocessors['less'] = array( - 'name' => 'LESS', - 'callback' => 'jetpack_less_css_preprocess', - ); - - $preprocessors['sass'] = array( - 'name' => 'Sass (SCSS Syntax)', - 'callback' => 'jetpack_sass_css_preprocess', - ); - - return $preprocessors; - } -} - -add_filter( 'jetpack_custom_css_preprocessors', 'jetpack_register_css_preprocessors' ); - -if ( ! function_exists( 'jetpack_less_css_preprocess' ) ) { - /** - * Compile less prepocessors? - * - * @param string $less - less. - */ - function jetpack_less_css_preprocess( $less ) { - require_once __DIR__ . '/preprocessors/lessc.inc.php'; - - $compiler = new lessc(); - - // Don't try to load from the filesystem. - $compiler->setImportDir( array() ); - - try { - return $compiler->compile( $less ); - } catch ( Exception $e ) { - return $less; - } - } -} - -if ( ! function_exists( 'jetpack_sass_css_preprocess' ) ) { - /** - * Compile sass prepocessors? - * - * @param string $sass - sass. - */ - function jetpack_sass_css_preprocess( $sass ) { - $compiler = new ScssPhp\ScssPhp\Compiler(); - - // Don't try to load from the filesystem. - $compiler->setImportPaths( array() ); - - try { - return $compiler->compileString( $sass )->getCss(); - } catch ( Exception $e ) { - return $sass; - } - } -} diff --git a/wp-content/plugins/jetpack/modules/custom-css/custom-css/preprocessors/lessc.inc.php b/wp-content/plugins/jetpack/modules/custom-css/custom-css/preprocessors/lessc.inc.php deleted file mode 100644 index cd0bad9de..000000000 --- a/wp-content/plugins/jetpack/modules/custom-css/custom-css/preprocessors/lessc.inc.php +++ /dev/null @@ -1,3775 +0,0 @@ - - * Licensed under MIT or GPLv3, see LICENSE - */ - - -/** - * The LESS compiler and parser. - * - * Converting LESS to CSS is a three stage process. The incoming file is parsed - * by `lessc_parser` into a syntax tree, then it is compiled into another tree - * representing the CSS structure by `lessc`. The CSS tree is fed into a - * formatter, like `lessc_formatter` which then outputs CSS as a string. - * - * During the first compile, all values are *reduced*, which means that their - * types are brought to the lowest form before being dump as strings. This - * handles math equations, variable dereferences, and the like. - * - * The `parse` function of `lessc` is the entry point. - * - * In summary: - * - * The `lessc` class creates an instance of the parser, feeds it LESS code, - * then transforms the resulting tree to a CSS tree. This class also holds the - * evaluation context, such as all available mixins and variables at any given - * time. - * - * The `lessc_parser` class is only concerned with parsing its input. - * - * The `lessc_formatter` takes a CSS tree, and dumps it to a formatted string, - * handling things like indentation. - */ -class lessc { - static public $VERSION = "v0.5.0"; - - static public $TRUE = array("keyword", "true"); - static public $FALSE = array("keyword", "false"); - - protected $libFunctions = array(); - protected $registeredVars = array(); - protected $preserveComments = false; - - public $vPrefix = '@'; // prefix of abstract properties - public $mPrefix = '$'; // prefix of abstract blocks - public $parentSelector = '&'; - - public $importDisabled = false; - public $importDir = ''; - - protected $numberPrecision = null; - - protected $allParsedFiles = array(); - - // set to the parser that generated the current line when compiling - // so we know how to create error messages - protected $sourceParser = null; - protected $sourceLoc = null; - - static protected $nextImportId = 0; // uniquely identify imports - - // attempts to find the path of an import url, returns null for css files - protected function findImport($url) { - foreach ((array)$this->importDir as $dir) { - $full = $dir.(substr($dir, -1) != '/' ? '/' : '').$url; - if ($this->fileExists($file = $full.'.less') || $this->fileExists($file = $full)) { - return $file; - } - } - - return null; - } - - protected function fileExists($name) { - return is_file($name); - } - - static public function compressList($items, $delim) { - if (!isset($items[1]) && isset($items[0])) return $items[0]; - else return array('list', $delim, $items); - } - - static public function preg_quote($what) { - return preg_quote($what, '/'); - } - - protected function tryImport($importPath, $parentBlock, $out) { - if ($importPath[0] == "function" && $importPath[1] == "url") { - $importPath = $this->flattenList($importPath[2]); - } - - $str = $this->coerceString($importPath); - if ($str === null) return false; - - $url = $this->compileValue($this->lib_e($str)); - - // don't import if it ends in css - if (substr_compare($url, '.css', -4, 4) === 0) return false; - - $realPath = $this->findImport($url); - - if ($realPath === null) return false; - - if ($this->importDisabled) { - return array(false, "/* import disabled */"); - } - - if (isset($this->allParsedFiles[realpath($realPath)])) { - return array(false, null); - } - - $this->addParsedFile($realPath); - $parser = $this->makeParser($realPath); - $root = $parser->parse(file_get_contents($realPath)); - - // set the parents of all the block props - foreach ($root->props as $prop) { - if ($prop[0] == "block") { - $prop[1]->parent = $parentBlock; - } - } - - // copy mixins into scope, set their parents - // bring blocks from import into current block - // TODO: need to mark the source parser these came from this file - foreach ($root->children as $childName => $child) { - if (isset($parentBlock->children[$childName])) { - $parentBlock->children[$childName] = array_merge( - $parentBlock->children[$childName], - $child); - } else { - $parentBlock->children[$childName] = $child; - } - } - - $pi = pathinfo($realPath); - $dir = $pi["dirname"]; - - list($top, $bottom) = $this->sortProps($root->props, true); - $this->compileImportedProps($top, $parentBlock, $out, $parser, $dir); - - return array(true, $bottom, $parser, $dir); - } - - protected function compileImportedProps($props, $block, $out, $sourceParser, $importDir) { - $oldSourceParser = $this->sourceParser; - - $oldImport = $this->importDir; - - // TODO: this is because the importDir api is stupid - $this->importDir = (array)$this->importDir; - array_unshift($this->importDir, $importDir); - - foreach ($props as $prop) { - $this->compileProp($prop, $block, $out); - } - - $this->importDir = $oldImport; - $this->sourceParser = $oldSourceParser; - } - - /** - * Recursively compiles a block. - * - * A block is analogous to a CSS block in most cases. A single LESS document - * is encapsulated in a block when parsed, but it does not have parent tags - * so all of it's children appear on the root level when compiled. - * - * Blocks are made up of props and children. - * - * Props are property instructions, array tuples which describe an action - * to be taken, eg. write a property, set a variable, mixin a block. - * - * The children of a block are just all the blocks that are defined within. - * This is used to look up mixins when performing a mixin. - * - * Compiling the block involves pushing a fresh environment on the stack, - * and iterating through the props, compiling each one. - * - * See lessc::compileProp() - * - */ - protected function compileBlock($block) { - switch ($block->type) { - case "root": - $this->compileRoot($block); - break; - case null: - $this->compileCSSBlock($block); - break; - case "media": - $this->compileMedia($block); - break; - case "directive": - $name = "@" . $block->name; - if (!empty($block->value)) { - $name .= " " . $this->compileValue($this->reduce($block->value)); - } - - $this->compileNestedBlock($block, array($name)); - break; - default: - $this->throwError("unknown block type: $block->type\n"); - } - } - - protected function compileCSSBlock($block) { - $env = $this->pushEnv(); - - $selectors = $this->compileSelectors($block->tags); - $env->selectors = $this->multiplySelectors($selectors); - $out = $this->makeOutputBlock(null, $env->selectors); - - $this->scope->children[] = $out; - $this->compileProps($block, $out); - - $block->scope = $env; // mixins carry scope with them! - $this->popEnv(); - } - - protected function compileMedia($media) { - $env = $this->pushEnv($media); - $parentScope = $this->mediaParent($this->scope); - - $query = $this->compileMediaQuery($this->multiplyMedia($env)); - - $this->scope = $this->makeOutputBlock($media->type, array($query)); - $parentScope->children[] = $this->scope; - - $this->compileProps($media, $this->scope); - - if ( is_countable( $this->scope->lines ) && count( $this->scope->lines ) > 0 ) { - $orphanSelelectors = $this->findClosestSelectors(); - if (!is_null($orphanSelelectors)) { - $orphan = $this->makeOutputBlock(null, $orphanSelelectors); - $orphan->lines = $this->scope->lines; - array_unshift($this->scope->children, $orphan); - $this->scope->lines = array(); - } - } - - $this->scope = $this->scope->parent; - $this->popEnv(); - } - - protected function mediaParent($scope) { - while (!empty($scope->parent)) { - if (!empty($scope->type) && $scope->type != "media") { - break; - } - $scope = $scope->parent; - } - - return $scope; - } - - protected function compileNestedBlock($block, $selectors) { - $this->pushEnv($block); - $this->scope = $this->makeOutputBlock($block->type, $selectors); - $this->scope->parent->children[] = $this->scope; - - $this->compileProps($block, $this->scope); - - $this->scope = $this->scope->parent; - $this->popEnv(); - } - - protected function compileRoot($root) { - $this->pushEnv(); - $this->scope = $this->makeOutputBlock($root->type); - $this->compileProps($root, $this->scope); - $this->popEnv(); - } - - protected function compileProps($block, $out) { - foreach ($this->sortProps($block->props) as $prop) { - $this->compileProp($prop, $block, $out); - } - $out->lines = $this->deduplicate($out->lines); - } - - /** - * Deduplicate lines in a block. Comments are not deduplicated. If a - * duplicate rule is detected, the comments immediately preceding each - * occurence are consolidated. - */ - protected function deduplicate($lines) { - $unique = array(); - $comments = array(); - - foreach($lines as $line) { - if (strpos($line, '/*') === 0) { - $comments[] = $line; - continue; - } - if (!in_array($line, $unique)) { - $unique[] = $line; - } - array_splice($unique, array_search($line, $unique), 0, $comments); - $comments = array(); - } - return array_merge($unique, $comments); - } - - protected function sortProps($props, $split = false) { - $vars = array(); - $imports = array(); - $other = array(); - $stack = array(); - - foreach ($props as $prop) { - switch ($prop[0]) { - case "comment": - $stack[] = $prop; - break; - case "assign": - $stack[] = $prop; - if (isset($prop[1][0]) && $prop[1][0] == $this->vPrefix) { - $vars = array_merge($vars, $stack); - } else { - $other = array_merge($other, $stack); - } - $stack = array(); - break; - case "import": - $id = self::$nextImportId++; - $prop[] = $id; - $stack[] = $prop; - $imports = array_merge($imports, $stack); - $other[] = array("import_mixin", $id); - $stack = array(); - break; - default: - $stack[] = $prop; - $other = array_merge($other, $stack); - $stack = array(); - break; - } - } - $other = array_merge($other, $stack); - - if ($split) { - return array(array_merge($imports, $vars), $other); - } else { - return array_merge($imports, $vars, $other); - } - } - - protected function compileMediaQuery($queries) { - $compiledQueries = array(); - foreach ($queries as $query) { - $parts = array(); - foreach ($query as $q) { - switch ($q[0]) { - case "mediaType": - $parts[] = implode(" ", array_slice($q, 1)); - break; - case "mediaExp": - if (isset($q[2])) { - $parts[] = "($q[1]: " . - $this->compileValue($this->reduce($q[2])) . ")"; - } else { - $parts[] = "($q[1])"; - } - break; - case "variable": - $parts[] = $this->compileValue($this->reduce($q)); - break; - } - } - - if (count($parts) > 0) { - $compiledQueries[] = implode(" and ", $parts); - } - } - - $out = "@media"; - if (!empty($parts)) { - $out .= " " . - implode($this->formatter->selectorSeparator, $compiledQueries); - } - return $out; - } - - protected function multiplyMedia($env, $childQueries = null) { - if (is_null($env) || - !empty($env->block->type) && $env->block->type != "media") - { - return $childQueries; - } - - // plain old block, skip - if (empty($env->block->type)) { - return $this->multiplyMedia($env->parent, $childQueries); - } - - $out = array(); - $queries = $env->block->queries; - if (is_null($childQueries)) { - $out = $queries; - } else { - foreach ($queries as $parent) { - foreach ($childQueries as $child) { - $out[] = array_merge($parent, $child); - } - } - } - - return $this->multiplyMedia($env->parent, $out); - } - - protected function expandParentSelectors(&$tag, $replace) { - $parts = explode("$&$", $tag); - $count = 0; - foreach ($parts as &$part) { - $part = str_replace($this->parentSelector, $replace, $part, $c); - $count += $c; - } - $tag = implode($this->parentSelector, $parts); - return $count; - } - - protected function findClosestSelectors() { - $env = $this->env; - $selectors = null; - while ($env !== null) { - if (isset($env->selectors)) { - $selectors = $env->selectors; - break; - } - $env = $env->parent; - } - - return $selectors; - } - - - // multiply $selectors against the nearest selectors in env - protected function multiplySelectors($selectors) { - // find parent selectors - - $parentSelectors = $this->findClosestSelectors(); - if (is_null($parentSelectors)) { - // kill parent reference in top level selector - foreach ($selectors as &$s) { - $this->expandParentSelectors($s, ""); - } - - return $selectors; - } - - $out = array(); - foreach ($parentSelectors as $parent) { - foreach ($selectors as $child) { - $count = $this->expandParentSelectors($child, $parent); - - // don't prepend the parent tag if & was used - if ($count > 0) { - $out[] = trim($child); - } else { - $out[] = trim($parent . ' ' . $child); - } - } - } - - return $out; - } - - // reduces selector expressions - protected function compileSelectors($selectors) { - $out = array(); - - foreach ($selectors as $s) { - if (is_array($s)) { - list(, $value) = $s; - $out[] = trim($this->compileValue($this->reduce($value))); - } else { - $out[] = $s; - } - } - - return $out; - } - - protected function eq($left, $right) { - return $left == $right; - } - - protected function patternMatch($block, $orderedArgs, $keywordArgs) { - // match the guards if it has them - // any one of the groups must have all its guards pass for a match - if (!empty($block->guards)) { - $groupPassed = false; - foreach ($block->guards as $guardGroup) { - foreach ($guardGroup as $guard) { - $this->pushEnv(); - $this->zipSetArgs($block->args, $orderedArgs, $keywordArgs); - - $negate = false; - if ($guard[0] == "negate") { - $guard = $guard[1]; - $negate = true; - } - - $passed = $this->reduce($guard) == self::$TRUE; - if ($negate) $passed = !$passed; - - $this->popEnv(); - - if ($passed) { - $groupPassed = true; - } else { - $groupPassed = false; - break; - } - } - - if ($groupPassed) break; - } - - if (!$groupPassed) { - return false; - } - } - - if (empty($block->args)) { - return $block->isVararg || empty($orderedArgs) && empty($keywordArgs); - } - - $remainingArgs = $block->args; - if ($keywordArgs) { - $remainingArgs = array(); - foreach ($block->args as $arg) { - if ($arg[0] == "arg" && isset($keywordArgs[$arg[1]])) { - continue; - } - - $remainingArgs[] = $arg; - } - } - - $i = -1; // no args - // try to match by arity or by argument literal - foreach ($remainingArgs as $i => $arg) { - switch ($arg[0]) { - case "lit": - if (empty($orderedArgs[$i]) || !$this->eq($arg[1], $orderedArgs[$i])) { - return false; - } - break; - case "arg": - // no arg and no default value - if (!isset($orderedArgs[$i]) && !isset($arg[2])) { - return false; - } - break; - case "rest": - $i--; // rest can be empty - break 2; - } - } - - if ($block->isVararg) { - return true; // not having enough is handled above - } else { - $numMatched = $i + 1; - // greater than becuase default values always match - $orderedArgsCount = is_countable( $orderedArgs ) ? count( $orderedArgs ) : 0; - return $numMatched >= $orderedArgsCount; - } - } - - protected function patternMatchAll($blocks, $orderedArgs, $keywordArgs, $skip=array()) { - $matches = null; - foreach ($blocks as $block) { - // skip seen blocks that don't have arguments - if (isset($skip[$block->id]) && !isset($block->args)) { - continue; - } - - if ($this->patternMatch($block, $orderedArgs, $keywordArgs)) { - $matches[] = $block; - } - } - - return $matches; - } - - // attempt to find blocks matched by path and args - protected function findBlocks($searchIn, $path, $orderedArgs, $keywordArgs, $seen=array()) { - if ($searchIn == null) return null; - if (isset($seen[$searchIn->id])) return null; - $seen[$searchIn->id] = true; - - $name = $path[0]; - - if (isset($searchIn->children[$name])) { - $blocks = $searchIn->children[$name]; - if ( is_countable( $path ) && count( $path ) == 1 ) { - $matches = $this->patternMatchAll($blocks, $orderedArgs, $keywordArgs, $seen); - if (!empty($matches)) { - // This will return all blocks that match in the closest - // scope that has any matching block, like lessjs - return $matches; - } - } else { - $matches = array(); - foreach ($blocks as $subBlock) { - $subMatches = $this->findBlocks($subBlock, - array_slice($path, 1), $orderedArgs, $keywordArgs, $seen); - - if (!is_null($subMatches)) { - foreach ($subMatches as $sm) { - $matches[] = $sm; - } - } - } - - return count($matches) > 0 ? $matches : null; - } - } - if ($searchIn->parent === $searchIn) return null; - return $this->findBlocks($searchIn->parent, $path, $orderedArgs, $keywordArgs, $seen); - } - - // sets all argument names in $args to either the default value - // or the one passed in through $values - protected function zipSetArgs($args, $orderedValues, $keywordValues) { - $assignedValues = array(); - - $i = 0; - foreach ($args as $a) { - if ($a[0] == "arg") { - if (isset($keywordValues[$a[1]])) { - // has keyword arg - $value = $keywordValues[$a[1]]; - } elseif (isset($orderedValues[$i])) { - // has ordered arg - $value = $orderedValues[$i]; - $i++; - } elseif (isset($a[2])) { - // has default value - $value = $a[2]; - } else { - $this->throwError("Failed to assign arg " . $a[1]); - $value = null; // :( - } - - $value = $this->reduce($value); - $this->set($a[1], $value); - $assignedValues[] = $value; - } else { - // a lit - $i++; - } - } - - // check for a rest - $last = end($args); - if ($last[0] == "rest") { - $argsCount = is_countable( $args ) ? count( $args ) : 0; - $rest = array_slice($orderedValues, $argsCount - 1); - $this->set($last[1], $this->reduce(array("list", " ", $rest))); - } - - // wow is this the only true use of PHP's + operator for arrays? - $this->env->arguments = $assignedValues + $orderedValues; - } - - // compile a prop and update $lines or $blocks appropriately - protected function compileProp($prop, $block, $out) { - // set error position context - $this->sourceLoc = isset($prop[-1]) ? $prop[-1] : -1; - - switch ($prop[0]) { - case 'assign': - list(, $name, $value) = $prop; - if ($name[0] == $this->vPrefix) { - $this->set($name, $value); - } else { - $out->lines[] = $this->formatter->property($name, - $this->compileValue($this->reduce($value))); - } - break; - case 'block': - list(, $child) = $prop; - $this->compileBlock($child); - break; - case 'mixin': - list(, $path, $args, $suffix) = $prop; - - $orderedArgs = array(); - $keywordArgs = array(); - foreach ((array)$args as $arg) { - $argval = null; - switch ($arg[0]) { - case "arg": - if (!isset($arg[2])) { - $orderedArgs[] = $this->reduce(array("variable", $arg[1])); - } else { - $keywordArgs[$arg[1]] = $this->reduce($arg[2]); - } - break; - - case "lit": - $orderedArgs[] = $this->reduce($arg[1]); - break; - default: - $this->throwError("Unknown arg type: " . $arg[0]); - } - } - - $mixins = $this->findBlocks($block, $path, $orderedArgs, $keywordArgs); - - if ($mixins === null) { - $this->throwError("{$prop[1][0]} is undefined"); - } - - foreach ($mixins as $mixin) { - if ($mixin === $block && !$orderedArgs) { - continue; - } - - $haveScope = false; - if (isset($mixin->parent->scope)) { - $haveScope = true; - $mixinParentEnv = $this->pushEnv(); - $mixinParentEnv->storeParent = $mixin->parent->scope; - } - - $haveArgs = false; - if (isset($mixin->args)) { - $haveArgs = true; - $this->pushEnv(); - $this->zipSetArgs($mixin->args, $orderedArgs, $keywordArgs); - } - - $oldParent = $mixin->parent; - if ($mixin != $block) $mixin->parent = $block; - - foreach ($this->sortProps($mixin->props) as $subProp) { - if ($suffix !== null && - $subProp[0] == "assign" && - is_string($subProp[1]) && - $subProp[1][0] != $this->vPrefix) - { - $subProp[2] = array( - 'list', ' ', - array($subProp[2], array('keyword', $suffix)) - ); - } - - $this->compileProp($subProp, $mixin, $out); - } - - $mixin->parent = $oldParent; - - if ($haveArgs) $this->popEnv(); - if ($haveScope) $this->popEnv(); - } - - break; - case 'raw': - $out->lines[] = $prop[1]; - break; - case "directive": - list(, $name, $value) = $prop; - $out->lines[] = "@$name " . $this->compileValue($this->reduce($value)).';'; - break; - case "comment": - $out->lines[] = $prop[1]; - break; - case "import"; - list(, $importPath, $importId) = $prop; - $importPath = $this->reduce($importPath); - - if (!isset($this->env->imports)) { - $this->env->imports = array(); - } - - $result = $this->tryImport($importPath, $block, $out); - - $this->env->imports[$importId] = $result === false ? - array(false, "@import " . $this->compileValue($importPath).";") : - $result; - - break; - case "import_mixin": - list(,$importId) = $prop; - $import = $this->env->imports[$importId]; - if ($import[0] === false) { - if (isset($import[1])) { - $out->lines[] = $import[1]; - } - } else { - list(, $bottom, $parser, $importDir) = $import; - $this->compileImportedProps($bottom, $block, $out, $parser, $importDir); - } - - break; - default: - $this->throwError("unknown op: {$prop[0]}\n"); - } - } - - - /** - * Compiles a primitive value into a CSS property value. - * - * Values in lessphp are typed by being wrapped in arrays, their format is - * typically: - * - * array(type, contents [, additional_contents]*) - * - * The input is expected to be reduced. This function will not work on - * things like expressions and variables. - */ - public function compileValue($value) { - switch ($value[0]) { - case 'list': - // [1] - delimiter - // [2] - array of values - return implode($value[1], array_map(array($this, 'compileValue'), $value[2])); - case 'raw_color': - if (!empty($this->formatter->compressColors)) { - return $this->compileValue($this->coerceColor($value)); - } - return $value[1]; - case 'keyword': - // [1] - the keyword - return $value[1]; - case 'number': - list(, $num, $unit) = $value; - // [1] - the number - // [2] - the unit - if ($this->numberPrecision !== null) { - $num = round($num, $this->numberPrecision); - } - return $num . $unit; - case 'string': - // [1] - contents of string (includes quotes) - list(, $delim, $content) = $value; - foreach ($content as &$part) { - if (is_array($part)) { - $part = $this->compileValue($part); - } - } - return $delim . implode($content) . $delim; - case 'color': - // [1] - red component (either number or a %) - // [2] - green component - // [3] - blue component - // [4] - optional alpha component - list(, $r, $g, $b) = $value; - $r = round($r); - $g = round($g); - $b = round($b); - - if ( is_countable( $value ) && count( $value ) == 5 && $value[4] != 1 ) { // rgba - return 'rgba('.$r.','.$g.','.$b.','.$value[4].')'; - } - - $h = sprintf("#%02x%02x%02x", $r, $g, $b); - - if (!empty($this->formatter->compressColors)) { - // Converting hex color to short notation (e.g. #003399 to #039) - if ($h[1] === $h[2] && $h[3] === $h[4] && $h[5] === $h[6]) { - $h = '#' . $h[1] . $h[3] . $h[5]; - } - } - - return $h; - - case 'function': - list(, $name, $args) = $value; - return $name.'('.$this->compileValue($args).')'; - default: // assumed to be unit - $this->throwError("unknown value type: $value[0]"); - } - } - - protected function lib_pow($args) { - list($base, $exp) = $this->assertArgs($args, 2, "pow"); - return pow($this->assertNumber($base), $this->assertNumber($exp)); - } - - protected function lib_pi() { - return pi(); - } - - protected function lib_mod($args) { - list($a, $b) = $this->assertArgs($args, 2, "mod"); - return $this->assertNumber($a) % $this->assertNumber($b); - } - - protected function lib_tan($num) { - return tan($this->assertNumber($num)); - } - - protected function lib_sin($num) { - return sin($this->assertNumber($num)); - } - - protected function lib_cos($num) { - return cos($this->assertNumber($num)); - } - - protected function lib_atan($num) { - $num = atan($this->assertNumber($num)); - return array("number", $num, "rad"); - } - - protected function lib_asin($num) { - $num = asin($this->assertNumber($num)); - return array("number", $num, "rad"); - } - - protected function lib_acos($num) { - $num = acos($this->assertNumber($num)); - return array("number", $num, "rad"); - } - - protected function lib_sqrt($num) { - return sqrt($this->assertNumber($num)); - } - - protected function lib_extract($value) { - list($list, $idx) = $this->assertArgs($value, 2, "extract"); - $idx = $this->assertNumber($idx); - // 1 indexed - if ($list[0] == "list" && isset($list[2][$idx - 1])) { - return $list[2][$idx - 1]; - } - } - - protected function lib_isnumber($value) { - return $this->toBool($value[0] == "number"); - } - - protected function lib_isstring($value) { - return $this->toBool($value[0] == "string"); - } - - protected function lib_iscolor($value) { - return $this->toBool($this->coerceColor($value)); - } - - protected function lib_iskeyword($value) { - return $this->toBool($value[0] == "keyword"); - } - - protected function lib_ispixel($value) { - return $this->toBool($value[0] == "number" && $value[2] == "px"); - } - - protected function lib_ispercentage($value) { - return $this->toBool($value[0] == "number" && $value[2] == "%"); - } - - protected function lib_isem($value) { - return $this->toBool($value[0] == "number" && $value[2] == "em"); - } - - protected function lib_isrem($value) { - return $this->toBool($value[0] == "number" && $value[2] == "rem"); - } - - protected function lib_rgbahex($color) { - $color = $this->coerceColor($color); - if (is_null($color)) - $this->throwError("color expected for rgbahex"); - - return sprintf("#%02x%02x%02x%02x", - isset($color[4]) ? $color[4]*255 : 255, - $color[1],$color[2], $color[3]); - } - - protected function lib_argb($color){ - return $this->lib_rgbahex($color); - } - - /** - * Given an url, decide whether to output a regular link or the base64-encoded contents of the file - * - * @param array $value either an argument list (two strings) or a single string - * @return string formatted url(), either as a link or base64-encoded - */ - protected function lib_data_uri($value) { - $mime = ($value[0] === 'list') ? $value[2][0][2] : null; - $url = ($value[0] === 'list') ? $value[2][1][2][0] : $value[2][0]; - - $fullpath = $this->findImport($url); - - if($fullpath && ($fsize = filesize($fullpath)) !== false) { - // IE8 can't handle data uris larger than 32KB - if($fsize/1024 < 32) { - if(is_null($mime)) { - $mime = jetpack_mime_content_type( $fullpath ); - } - - if(!is_null($mime)) // fallback if the mime type is still unknown - $url = sprintf('data:%s;base64,%s', $mime, base64_encode(file_get_contents($fullpath))); - } - } - - return 'url("'.$url.'")'; - } - - // utility func to unquote a string - protected function lib_e($arg) { - switch ($arg[0]) { - case "list": - $items = $arg[2]; - if (isset($items[0])) { - return $this->lib_e($items[0]); - } - $this->throwError("unrecognised input"); - case "string": - $arg[1] = ""; - return $arg; - case "keyword": - return $arg; - default: - return array("keyword", $this->compileValue($arg)); - } - } - - protected function lib__sprintf($args) { - if ($args[0] != "list") return $args; - $values = $args[2]; - $string = array_shift($values); - $template = $this->compileValue($this->lib_e($string)); - - $i = 0; - if (preg_match_all('/%[dsa]/', $template, $m)) { - foreach ($m[0] as $match) { - $val = isset($values[$i]) ? - $this->reduce($values[$i]) : array('keyword', ''); - - // lessjs compat, renders fully expanded color, not raw color - if ($color = $this->coerceColor($val)) { - $val = $color; - } - - $i++; - $rep = $this->compileValue($this->lib_e($val)); - $template = preg_replace('/'.self::preg_quote($match).'/', - $rep, $template, 1); - } - } - - $d = $string[0] == "string" ? $string[1] : '"'; - return array("string", $d, array($template)); - } - - protected function lib_floor($arg) { - $value = $this->assertNumber($arg); - return array("number", floor($value), $arg[2]); - } - - protected function lib_ceil($arg) { - $value = $this->assertNumber($arg); - return array("number", ceil($value), $arg[2]); - } - - protected function lib_round($arg) { - if($arg[0] != "list") { - $value = $this->assertNumber($arg); - return array("number", round($value), $arg[2]); - } else { - $value = $this->assertNumber($arg[2][0]); - $precision = $this->assertNumber($arg[2][1]); - return array("number", round($value, $precision), $arg[2][0][2]); - } - } - - protected function lib_unit($arg) { - if ($arg[0] == "list") { - list($number, $newUnit) = $arg[2]; - return array("number", $this->assertNumber($number), - $this->compileValue($this->lib_e($newUnit))); - } else { - return array("number", $this->assertNumber($arg), ""); - } - } - - /** - * Helper function to get arguments for color manipulation functions. - * takes a list that contains a color like thing and a percentage - */ - public function colorArgs($args) { - if ( $args[0] != 'list' || ! is_countable( $args[2] ) || count( $args[2] ) < 2 ) { - return array(array('color', 0, 0, 0), 0); - } - list($color, $delta) = $args[2]; - $color = $this->assertColor($color); - $delta = (float) $delta[1]; - - return array($color, $delta); - } - - protected function lib_darken($args) { - list($color, $delta) = $this->colorArgs($args); - - $hsl = $this->toHSL($color); - $hsl[3] = $this->clamp($hsl[3] - $delta, 100); - return $this->toRGB($hsl); - } - - protected function lib_lighten($args) { - list($color, $delta) = $this->colorArgs($args); - - $hsl = $this->toHSL($color); - $hsl[3] = $this->clamp($hsl[3] + $delta, 100); - return $this->toRGB($hsl); - } - - protected function lib_saturate($args) { - list($color, $delta) = $this->colorArgs($args); - - $hsl = $this->toHSL($color); - $hsl[2] = $this->clamp($hsl[2] + $delta, 100); - return $this->toRGB($hsl); - } - - protected function lib_desaturate($args) { - list($color, $delta) = $this->colorArgs($args); - - $hsl = $this->toHSL($color); - $hsl[2] = $this->clamp($hsl[2] - $delta, 100); - return $this->toRGB($hsl); - } - - protected function lib_spin($args) { - list($color, $delta) = $this->colorArgs($args); - - $hsl = $this->toHSL($color); - - $hsl[1] = $hsl[1] + $delta % 360; - if ($hsl[1] < 0) $hsl[1] += 360; - - return $this->toRGB($hsl); - } - - protected function lib_fadeout($args) { - list($color, $delta) = $this->colorArgs($args); - $color[4] = $this->clamp((isset($color[4]) ? $color[4] : 1) - $delta/100); - return $color; - } - - protected function lib_fadein($args) { - list($color, $delta) = $this->colorArgs($args); - $color[4] = $this->clamp((isset($color[4]) ? $color[4] : 1) + $delta/100); - return $color; - } - - protected function lib_hue($color) { - $hsl = $this->toHSL($this->assertColor($color)); - return round($hsl[1]); - } - - protected function lib_saturation($color) { - $hsl = $this->toHSL($this->assertColor($color)); - return round($hsl[2]); - } - - protected function lib_lightness($color) { - $hsl = $this->toHSL($this->assertColor($color)); - return round($hsl[3]); - } - - // get the alpha of a color - // defaults to 1 for non-colors or colors without an alpha - protected function lib_alpha($value) { - if (!is_null($color = $this->coerceColor($value))) { - return isset($color[4]) ? $color[4] : 1; - } - } - - // set the alpha of the color - protected function lib_fade($args) { - list($color, $alpha) = $this->colorArgs($args); - $color[4] = $this->clamp($alpha / 100.0); - return $color; - } - - protected function lib_percentage($arg) { - $num = $this->assertNumber($arg); - return array("number", $num*100, "%"); - } - - // mixes two colors by weight - // mix(@color1, @color2, [@weight: 50%]); - // https://sass-lang.com/documentation/functions/color#mix - protected function lib_mix($args) { - if ( $args[0] != "list" || ! is_countable( $args[2] ) || count( $args[2] ) < 2 ) { - $this->throwError("mix expects (color1, color2, weight)"); - } - - list($first, $second) = $args[2]; - $first = $this->assertColor($first); - $second = $this->assertColor($second); - - $first_a = $this->lib_alpha($first); - $second_a = $this->lib_alpha($second); - - if (isset($args[2][2])) { - $weight = $args[2][2][1] / 100.0; - } else { - $weight = 0.5; - } - - $w = $weight * 2 - 1; - $a = $first_a - $second_a; - - $w1 = (($w * $a == -1 ? $w : ($w + $a)/(1 + $w * $a)) + 1) / 2.0; - $w2 = 1.0 - $w1; - - $new = array('color', - $w1 * $first[1] + $w2 * $second[1], - $w1 * $first[2] + $w2 * $second[2], - $w1 * $first[3] + $w2 * $second[3], - ); - - if ($first_a != 1.0 || $second_a != 1.0) { - $new[] = $first_a * $weight + $second_a * ($weight - 1); - } - - return $this->fixColor($new); - } - - protected function lib_contrast($args) { - $darkColor = array('color', 0, 0, 0); - $lightColor = array('color', 255, 255, 255); - $threshold = 0.43; - - if ( $args[0] == 'list' ) { - $inputColor = ( isset($args[2][0]) ) ? $this->assertColor($args[2][0]) : $lightColor; - $darkColor = ( isset($args[2][1]) ) ? $this->assertColor($args[2][1]) : $darkColor; - $lightColor = ( isset($args[2][2]) ) ? $this->assertColor($args[2][2]) : $lightColor; - $threshold = ( isset($args[2][3]) ) ? $this->assertNumber($args[2][3]) : $threshold; - } - else { - $inputColor = $this->assertColor($args); - } - - $inputColor = $this->coerceColor($inputColor); - $darkColor = $this->coerceColor($darkColor); - $lightColor = $this->coerceColor($lightColor); - - //Figure out which is actually light and dark! - if ( $this->lib_luma($darkColor) > $this->lib_luma($lightColor) ) { - $t = $lightColor; - $lightColor = $darkColor; - $darkColor = $t; - } - - $inputColor_alpha = $this->lib_alpha($inputColor); - if ( ( $this->lib_luma($inputColor) * $inputColor_alpha) < $threshold) { - return $lightColor; - } - return $darkColor; - } - - protected function lib_luma($color) { - $color = $this->coerceColor($color); - return (0.2126 * $color[0] / 255) + (0.7152 * $color[1] / 255) + (0.0722 * $color[2] / 255); - } - - - public function assertColor($value, $error = "expected color value") { - $color = $this->coerceColor($value); - if (is_null($color)) $this->throwError($error); - return $color; - } - - public function assertNumber($value, $error = "expecting number") { - if ($value[0] == "number") return $value[1]; - $this->throwError($error); - } - - public function assertArgs($value, $expectedArgs, $name="") { - if ($expectedArgs == 1) { - return $value; - } else { - if ($value[0] !== "list" || $value[1] != ",") $this->throwError("expecting list"); - $values = $value[2]; - $numValues = is_countable( $values ) ? count( $values ) : 0; - if ($expectedArgs != $numValues) { - if ($name) { - $name = $name . ": "; - } - - $this->throwError("${name}expecting $expectedArgs arguments, got $numValues"); - } - - return $values; - } - } - - protected function toHSL($color) { - if ($color[0] == 'hsl') return $color; - - $r = $color[1] / 255; - $g = $color[2] / 255; - $b = $color[3] / 255; - - $min = min($r, $g, $b); - $max = max($r, $g, $b); - - $L = ($min + $max) / 2; - if ($min == $max) { - $S = $H = 0; - } else { - if ($L < 0.5) - $S = ($max - $min)/($max + $min); - else - $S = ($max - $min)/(2.0 - $max - $min); - - if ($r == $max) $H = ($g - $b)/($max - $min); - elseif ($g == $max) $H = 2.0 + ($b - $r)/($max - $min); - else $H = 4.0 + ($r - $g)/($max - $min); - - } - - $out = array('hsl', - ($H < 0 ? $H + 6 : $H)*60, - $S*100, - $L*100, - ); - - if ( is_countable( $color ) && count( $color ) > 4 ) { - $out[] = $color[4]; // copy alpha - } - return $out; - } - - protected function toRGB_helper($comp, $temp1, $temp2) { - if ($comp < 0) $comp += 1.0; - elseif ($comp > 1) $comp -= 1.0; - - if (6 * $comp < 1) return $temp1 + ($temp2 - $temp1) * 6 * $comp; - if (2 * $comp < 1) return $temp2; - if (3 * $comp < 2) return $temp1 + ($temp2 - $temp1)*((2/3) - $comp) * 6; - - return $temp1; - } - - /** - * Converts a hsl array into a color value in rgb. - * Expects H to be in range of 0 to 360, S and L in 0 to 100 - */ - protected function toRGB($color) { - if ($color[0] == 'color') return $color; - - $H = $color[1] / 360; - $S = $color[2] / 100; - $L = $color[3] / 100; - - if ($S == 0) { - $r = $g = $b = $L; - } else { - $temp2 = $L < 0.5 ? - $L*(1.0 + $S) : - $L + $S - $L * $S; - - $temp1 = 2.0 * $L - $temp2; - - $r = $this->toRGB_helper($H + 1/3, $temp1, $temp2); - $g = $this->toRGB_helper($H, $temp1, $temp2); - $b = $this->toRGB_helper($H - 1/3, $temp1, $temp2); - } - - // $out = array('color', round($r*255), round($g*255), round($b*255)); - $out = array('color', $r*255, $g*255, $b*255); - if ( is_countable( $color ) && count( $color ) > 4 ) { - $out[] = $color[4]; // copy alpha - } - return $out; - } - - protected function clamp($v, $max = 1, $min = 0) { - return min($max, max($min, $v)); - } - - /** - * Convert the rgb, rgba, hsl color literals of function type - * as returned by the parser into values of color type. - */ - protected function funcToColor($func) { - $fname = $func[1]; - if ($func[2][0] != 'list') return false; // need a list of arguments - $rawComponents = $func[2][2]; - - if ($fname == 'hsl' || $fname == 'hsla') { - $hsl = array('hsl'); - $i = 0; - foreach ($rawComponents as $c) { - $val = $this->reduce($c); - $val = isset( $val[1] ) ? (float) $val[1] : 0; - - if ($i == 0) $clamp = 360; - elseif ($i < 3) $clamp = 100; - else $clamp = 1; - - $hsl[] = $this->clamp($val, $clamp); - $i++; - } - - while (count($hsl) < 4) $hsl[] = 0; - return $this->toRGB($hsl); - - } elseif ($fname == 'rgb' || $fname == 'rgba') { - $components = array(); - $i = 1; - foreach ($rawComponents as $c) { - $c = $this->reduce($c); - if ($i < 4) { - if ($c[0] == "number" && $c[2] == "%") { - $components[] = 255 * ($c[1] / 100); - } else { - $components[] = (float) $c[1]; - } - } elseif ($i == 4) { - if ($c[0] == "number" && $c[2] == "%") { - $components[] = 1.0 * ($c[1] / 100); - } else { - $components[] = (float) $c[1]; - } - } else break; - - $i++; - } - while (count($components) < 3) $components[] = 0; - array_unshift($components, 'color'); - return $this->fixColor($components); - } - - return false; - } - - protected function reduce($value, $forExpression = false) { - switch ($value[0]) { - case "interpolate": - $reduced = $this->reduce($value[1]); - $var = $this->compileValue($reduced); - $res = $this->reduce(array("variable", $this->vPrefix . $var)); - - if ($res[0] == "raw_color") { - $res = $this->coerceColor($res); - } - - if (empty($value[2])) $res = $this->lib_e($res); - - return $res; - case "variable": - $key = $value[1]; - if (is_array($key)) { - $key = $this->reduce($key); - $key = $this->vPrefix . $this->compileValue($this->lib_e($key)); - } - - $seen =& $this->env->seenNames; - - if (!empty($seen[$key])) { - $this->throwError("infinite loop detected: $key"); - } - - $seen[$key] = true; - $out = $this->reduce($this->get($key)); - $seen[$key] = false; - return $out; - case "list": - foreach ($value[2] as &$item) { - $item = $this->reduce($item, $forExpression); - } - return $value; - case "expression": - return $this->evaluate($value); - case "string": - foreach ($value[2] as &$part) { - if (is_array($part)) { - $strip = $part[0] == "variable"; - $part = $this->reduce($part); - if ($strip) $part = $this->lib_e($part); - } - } - return $value; - case "escape": - list(,$inner) = $value; - return $this->lib_e($this->reduce($inner)); - case "function": - $color = $this->funcToColor($value); - if ($color) return $color; - - list(, $name, $args) = $value; - if ($name == "%") $name = "_sprintf"; - - $f = isset($this->libFunctions[$name]) ? - $this->libFunctions[$name] : array($this, 'lib_'.str_replace('-', '_', $name)); - - if (is_callable($f)) { - if ($args[0] == 'list') - $args = self::compressList($args[2], $args[1]); - - $ret = call_user_func($f, $this->reduce($args, true), $this); - - if (is_null($ret)) { - return array("string", "", array( - $name, "(", $args, ")" - )); - } - - // convert to a typed value if the result is a php primitive - if (is_numeric($ret)) $ret = array('number', $ret, ""); - elseif (!is_array($ret)) $ret = array('keyword', $ret); - - return $ret; - } - - // plain function, reduce args - $value[2] = $this->reduce($value[2]); - return $value; - case "unary": - list(, $op, $exp) = $value; - $exp = $this->reduce($exp); - - if ($exp[0] == "number") { - switch ($op) { - case "+": - return $exp; - case "-": - $exp[1] *= -1; - return $exp; - } - } - return array("string", "", array($op, $exp)); - } - - if ($forExpression) { - switch ($value[0]) { - case "keyword": - if ($color = $this->coerceColor($value)) { - return $color; - } - break; - case "raw_color": - return $this->coerceColor($value); - } - } - - return $value; - } - - - // coerce a value for use in color operation - protected function coerceColor($value) { - switch($value[0]) { - case 'color': return $value; - case 'raw_color': - $c = array("color", 0, 0, 0); - $colorStr = substr($value[1], 1); - $num = hexdec($colorStr); - $width = strlen($colorStr) == 3 ? 16 : 256; - - for ($i = 3; $i > 0; $i--) { // 3 2 1 - $t = $num % $width; - $num /= $width; - - $c[$i] = $t * (256/$width) + $t * floor(16/$width); - } - - return $c; - case 'keyword': - $name = $value[1]; - if (isset(self::$cssColors[$name])) { - $rgba = explode(',', self::$cssColors[$name]); - - if(isset($rgba[3])) - return array('color', $rgba[0], $rgba[1], $rgba[2], $rgba[3]); - - return array('color', $rgba[0], $rgba[1], $rgba[2]); - } - return null; - } - } - - // make something string like into a string - protected function coerceString($value) { - switch ($value[0]) { - case "string": - return $value; - case "keyword": - return array("string", "", array($value[1])); - } - return null; - } - - // turn list of length 1 into value type - protected function flattenList($value) { - if ( $value[0] == "list" && is_countable( $value[2] ) && count( $value[2] ) == 1 ) { - return $this->flattenList($value[2][0]); - } - return $value; - } - - public function toBool($a) { - if ($a) return self::$TRUE; - else return self::$FALSE; - } - - // evaluate an expression - protected function evaluate($exp) { - list(, $op, $left, $right, $whiteBefore, $whiteAfter) = $exp; - - $left = $this->reduce($left, true); - $right = $this->reduce($right, true); - - if ($leftColor = $this->coerceColor($left)) { - $left = $leftColor; - } - - if ($rightColor = $this->coerceColor($right)) { - $right = $rightColor; - } - - $ltype = $left[0]; - $rtype = $right[0]; - - // operators that work on all types - if ($op == "and") { - return $this->toBool($left == self::$TRUE && $right == self::$TRUE); - } - - if ($op == "=") { - return $this->toBool($this->eq($left, $right) ); - } - - if ($op == "+" && !is_null($str = $this->stringConcatenate($left, $right))) { - return $str; - } - - // type based operators - $fname = "op_${ltype}_${rtype}"; - if (is_callable(array($this, $fname))) { - $out = $this->$fname($op, $left, $right); - if (!is_null($out)) return $out; - } - - // make the expression look it did before being parsed - $paddedOp = $op; - if ($whiteBefore) $paddedOp = " " . $paddedOp; - if ($whiteAfter) $paddedOp .= " "; - - return array("string", "", array($left, $paddedOp, $right)); - } - - protected function stringConcatenate($left, $right) { - if ($strLeft = $this->coerceString($left)) { - if ($right[0] == "string") { - $right[1] = ""; - } - $strLeft[2][] = $right; - return $strLeft; - } - - if ($strRight = $this->coerceString($right)) { - array_unshift($strRight[2], $left); - return $strRight; - } - } - - - // make sure a color's components don't go out of bounds - protected function fixColor($c) { - foreach (range(1, 3) as $i) { - if ($c[$i] < 0) $c[$i] = 0; - if ($c[$i] > 255) $c[$i] = 255; - } - - return $c; - } - - protected function op_number_color($op, $lft, $rgt) { - if ($op == '+' || $op == '*') { - return $this->op_color_number($op, $rgt, $lft); - } - } - - protected function op_color_number($op, $lft, $rgt) { - if ($rgt[0] == '%') $rgt[1] /= 100; - - $lftCount = is_countable( $lft ) ? count( $lft ) : 1; - return $this->op_color_color($op, $lft, - array_fill(1, $lftCount - 1, $rgt[1])); - } - - protected function op_color_color($op, $left, $right) { - $out = array('color'); - $leftCount = is_countable( $left ) ? count( $left ) : 0; - $rightCount = is_countable( $right ) ? count( $right) : 0; - $max = $leftCount > $rightCount ? $leftCount : $rightCount; - foreach (range(1, $max - 1) as $i) { - $lval = isset($left[$i]) ? $left[$i] : 0; - $rval = isset($right[$i]) ? $right[$i] : 0; - switch ($op) { - case '+': - $out[] = $lval + $rval; - break; - case '-': - $out[] = $lval - $rval; - break; - case '*': - $out[] = $lval * $rval; - break; - case '%': - $out[] = $lval % $rval; - break; - case '/': - if ($rval == 0) $this->throwError("evaluate error: can't divide by zero"); - $out[] = $lval / $rval; - break; - default: - $this->throwError('evaluate error: color op number failed on op '.$op); - } - } - return $this->fixColor($out); - } - - function lib_red($color){ - $color = $this->coerceColor($color); - if (is_null($color)) { - $this->throwError('color expected for red()'); - } - - return $color[1]; - } - - function lib_green($color){ - $color = $this->coerceColor($color); - if (is_null($color)) { - $this->throwError('color expected for green()'); - } - - return $color[2]; - } - - function lib_blue($color){ - $color = $this->coerceColor($color); - if (is_null($color)) { - $this->throwError('color expected for blue()'); - } - - return $color[3]; - } - - - // operator on two numbers - protected function op_number_number($op, $left, $right) { - $unit = empty($left[2]) ? $right[2] : $left[2]; - - $value = 0; - switch ($op) { - case '+': - $value = $left[1] + $right[1]; - break; - case '*': - $value = $left[1] * $right[1]; - break; - case '-': - $value = $left[1] - $right[1]; - break; - case '%': - $value = $left[1] % $right[1]; - break; - case '/': - if ($right[1] == 0) $this->throwError('parse error: divide by zero'); - $value = $left[1] / $right[1]; - break; - case '<': - return $this->toBool($left[1] < $right[1]); - case '>': - return $this->toBool($left[1] > $right[1]); - case '>=': - return $this->toBool($left[1] >= $right[1]); - case '=<': - return $this->toBool($left[1] <= $right[1]); - default: - $this->throwError('parse error: unknown number operator: '.$op); - } - - return array("number", $value, $unit); - } - - - /* environment functions */ - - protected function makeOutputBlock($type, $selectors = null) { - $b = new stdclass; - $b->lines = array(); - $b->children = array(); - $b->selectors = $selectors; - $b->type = $type; - $b->parent = $this->scope; - return $b; - } - - // the state of execution - protected function pushEnv($block = null) { - $e = new stdclass; - $e->parent = $this->env; - $e->store = array(); - $e->block = $block; - - $this->env = $e; - return $e; - } - - // pop something off the stack - protected function popEnv() { - $old = $this->env; - $this->env = $this->env->parent; - return $old; - } - - // set something in the current env - protected function set($name, $value) { - $this->env->store[$name] = $value; - } - - - // get the highest occurrence entry for a name - protected function get($name) { - $current = $this->env; - - $isArguments = $name == $this->vPrefix . 'arguments'; - while ($current) { - if ($isArguments && isset($current->arguments)) { - return array('list', ' ', $current->arguments); - } - - if (isset($current->store[$name])) - return $current->store[$name]; - else { - $current = isset($current->storeParent) ? - $current->storeParent : $current->parent; - } - } - - $this->throwError("variable $name is undefined"); - } - - // inject array of unparsed strings into environment as variables - protected function injectVariables($args) { - $this->pushEnv(); - $parser = new lessc_parser($this, __METHOD__); - foreach ($args as $name => $strValue) { - if ($name[0] != '@') $name = '@'.$name; - $parser->count = 0; - $parser->buffer = (string)$strValue; - if (!$parser->propertyValue($value)) { - throw new Exception("failed to parse passed in variable $name: $strValue"); - } - - $this->set($name, $value); - } - } - - /** - * Initialize any static state, can initialize parser for a file - * $opts isn't used yet - */ - public function __construct($fname = null) { - if ($fname !== null) { - // used for deprecated parse method - $this->_parseFile = $fname; - } - } - - public function compile($string, $name = null) { - $locale = setlocale(LC_NUMERIC, 0); - setlocale(LC_NUMERIC, "C"); - - $this->parser = $this->makeParser($name); - $root = $this->parser->parse($string); - - $this->env = null; - $this->scope = null; - - $this->formatter = $this->newFormatter(); - - if (!empty($this->registeredVars)) { - $this->injectVariables($this->registeredVars); - } - - $this->sourceParser = $this->parser; // used for error messages - $this->compileBlock($root); - - ob_start(); - $this->formatter->block($this->scope); - $out = ob_get_clean(); - setlocale(LC_NUMERIC, $locale); - return $out; - } - - public function compileFile($fname, $outFname = null) { - if (!is_readable($fname)) { - throw new Exception('load error: failed to find '.$fname); - } - - $pi = pathinfo($fname); - - $oldImport = $this->importDir; - - $this->importDir = (array)$this->importDir; - $this->importDir[] = $pi['dirname'].'/'; - - $this->addParsedFile($fname); - - $out = $this->compile(file_get_contents($fname), $fname); - - $this->importDir = $oldImport; - - if ($outFname !== null) { - return file_put_contents($outFname, $out); - } - - return $out; - } - - // compile only if changed input has changed or output doesn't exist - public function checkedCompile($in, $out) { - if (!is_file($out) || filemtime($in) > filemtime($out)) { - $this->compileFile($in, $out); - return true; - } - return false; - } - - /** - * Execute lessphp on a .less file or a lessphp cache structure - * - * The lessphp cache structure contains information about a specific - * less file having been parsed. It can be used as a hint for future - * calls to determine whether or not a rebuild is required. - * - * The cache structure contains two important keys that may be used - * externally: - * - * compiled: The final compiled CSS - * updated: The time (in seconds) the CSS was last compiled - * - * The cache structure is a plain-ol' PHP associative array and can - * be serialized and unserialized without a hitch. - * - * @param mixed $in Input - * @param bool $force Force rebuild? - * @return array lessphp cache structure - */ - public function cachedCompile($in, $force = false) { - // assume no root - $root = null; - - if (is_string($in)) { - $root = $in; - } elseif (is_array($in) and isset($in['root'])) { - if ($force or ! isset($in['files'])) { - // If we are forcing a recompile or if for some reason the - // structure does not contain any file information we should - // specify the root to trigger a rebuild. - $root = $in['root']; - } elseif (isset($in['files']) and is_array($in['files'])) { - foreach ($in['files'] as $fname => $ftime ) { - if (!file_exists($fname) or filemtime($fname) > $ftime) { - // One of the files we knew about previously has changed - // so we should look at our incoming root again. - $root = $in['root']; - break; - } - } - } - } else { - // TODO: Throw an exception? We got neither a string nor something - // that looks like a compatible lessphp cache structure. - return null; - } - - if ($root !== null) { - // If we have a root value which means we should rebuild. - $out = array(); - $out['root'] = $root; - $out['compiled'] = $this->compileFile($root); - $out['files'] = $this->allParsedFiles(); - $out['updated'] = time(); - return $out; - } else { - // No changes, pass back the structure - // we were given initially. - return $in; - } - - } - - // parse and compile buffer - // This is deprecated - public function parse($str = null, $initialVariables = null) { - if (is_array($str)) { - $initialVariables = $str; - $str = null; - } - - $oldVars = $this->registeredVars; - if ($initialVariables !== null) { - $this->setVariables($initialVariables); - } - - if ($str == null) { - if (empty($this->_parseFile)) { - throw new exception("nothing to parse"); - } - - $out = $this->compileFile($this->_parseFile); - } else { - $out = $this->compile($str); - } - - $this->registeredVars = $oldVars; - return $out; - } - - protected function makeParser($name) { - $parser = new lessc_parser($this, $name); - $parser->writeComments = $this->preserveComments; - - return $parser; - } - - public function setFormatter($name) { - $this->formatterName = $name; - } - - protected function newFormatter() { - $className = "lessc_formatter_lessjs"; - if (!empty($this->formatterName)) { - if (!is_string($this->formatterName)) - return $this->formatterName; - $className = "lessc_formatter_$this->formatterName"; - } - - return new $className; - } - - public function setPreserveComments($preserve) { - $this->preserveComments = $preserve; - } - - public function registerFunction($name, $func) { - $this->libFunctions[$name] = $func; - } - - public function unregisterFunction($name) { - unset($this->libFunctions[$name]); - } - - public function setVariables($variables) { - $this->registeredVars = array_merge($this->registeredVars, $variables); - } - - public function unsetVariable($name) { - unset($this->registeredVars[$name]); - } - - public function setImportDir($dirs) { - $this->importDir = (array)$dirs; - } - - public function addImportDir($dir) { - $this->importDir = (array)$this->importDir; - $this->importDir[] = $dir; - } - - public function allParsedFiles() { - return $this->allParsedFiles; - } - - public function addParsedFile($file) { - $this->allParsedFiles[realpath($file)] = filemtime($file); - } - - /** - * Uses the current value of $this->count to show line and line number - */ - public function throwError($msg = null) { - if ($this->sourceLoc >= 0) { - $this->sourceParser->throwError($msg, $this->sourceLoc); - } - throw new exception($msg); - } - - // compile file $in to file $out if $in is newer than $out - // returns true when it compiles, false otherwise - public static function ccompile($in, $out, $less = null) { - if ($less === null) { - $less = new self; - } - return $less->checkedCompile($in, $out); - } - - public static function cexecute($in, $force = false, $less = null) { - if ($less === null) { - $less = new self; - } - return $less->cachedCompile($in, $force); - } - - static protected $cssColors = array( - 'aliceblue' => '240,248,255', - 'antiquewhite' => '250,235,215', - 'aqua' => '0,255,255', - 'aquamarine' => '127,255,212', - 'azure' => '240,255,255', - 'beige' => '245,245,220', - 'bisque' => '255,228,196', - 'black' => '0,0,0', - 'blanchedalmond' => '255,235,205', - 'blue' => '0,0,255', - 'blueviolet' => '138,43,226', - 'brown' => '165,42,42', - 'burlywood' => '222,184,135', - 'cadetblue' => '95,158,160', - 'chartreuse' => '127,255,0', - 'chocolate' => '210,105,30', - 'coral' => '255,127,80', - 'cornflowerblue' => '100,149,237', - 'cornsilk' => '255,248,220', - 'crimson' => '220,20,60', - 'cyan' => '0,255,255', - 'darkblue' => '0,0,139', - 'darkcyan' => '0,139,139', - 'darkgoldenrod' => '184,134,11', - 'darkgray' => '169,169,169', - 'darkgreen' => '0,100,0', - 'darkgrey' => '169,169,169', - 'darkkhaki' => '189,183,107', - 'darkmagenta' => '139,0,139', - 'darkolivegreen' => '85,107,47', - 'darkorange' => '255,140,0', - 'darkorchid' => '153,50,204', - 'darkred' => '139,0,0', - 'darksalmon' => '233,150,122', - 'darkseagreen' => '143,188,143', - 'darkslateblue' => '72,61,139', - 'darkslategray' => '47,79,79', - 'darkslategrey' => '47,79,79', - 'darkturquoise' => '0,206,209', - 'darkviolet' => '148,0,211', - 'deeppink' => '255,20,147', - 'deepskyblue' => '0,191,255', - 'dimgray' => '105,105,105', - 'dimgrey' => '105,105,105', - 'dodgerblue' => '30,144,255', - 'firebrick' => '178,34,34', - 'floralwhite' => '255,250,240', - 'forestgreen' => '34,139,34', - 'fuchsia' => '255,0,255', - 'gainsboro' => '220,220,220', - 'ghostwhite' => '248,248,255', - 'gold' => '255,215,0', - 'goldenrod' => '218,165,32', - 'gray' => '128,128,128', - 'green' => '0,128,0', - 'greenyellow' => '173,255,47', - 'grey' => '128,128,128', - 'honeydew' => '240,255,240', - 'hotpink' => '255,105,180', - 'indianred' => '205,92,92', - 'indigo' => '75,0,130', - 'ivory' => '255,255,240', - 'khaki' => '240,230,140', - 'lavender' => '230,230,250', - 'lavenderblush' => '255,240,245', - 'lawngreen' => '124,252,0', - 'lemonchiffon' => '255,250,205', - 'lightblue' => '173,216,230', - 'lightcoral' => '240,128,128', - 'lightcyan' => '224,255,255', - 'lightgoldenrodyellow' => '250,250,210', - 'lightgray' => '211,211,211', - 'lightgreen' => '144,238,144', - 'lightgrey' => '211,211,211', - 'lightpink' => '255,182,193', - 'lightsalmon' => '255,160,122', - 'lightseagreen' => '32,178,170', - 'lightskyblue' => '135,206,250', - 'lightslategray' => '119,136,153', - 'lightslategrey' => '119,136,153', - 'lightsteelblue' => '176,196,222', - 'lightyellow' => '255,255,224', - 'lime' => '0,255,0', - 'limegreen' => '50,205,50', - 'linen' => '250,240,230', - 'magenta' => '255,0,255', - 'maroon' => '128,0,0', - 'mediumaquamarine' => '102,205,170', - 'mediumblue' => '0,0,205', - 'mediumorchid' => '186,85,211', - 'mediumpurple' => '147,112,219', - 'mediumseagreen' => '60,179,113', - 'mediumslateblue' => '123,104,238', - 'mediumspringgreen' => '0,250,154', - 'mediumturquoise' => '72,209,204', - 'mediumvioletred' => '199,21,133', - 'midnightblue' => '25,25,112', - 'mintcream' => '245,255,250', - 'mistyrose' => '255,228,225', - 'moccasin' => '255,228,181', - 'navajowhite' => '255,222,173', - 'navy' => '0,0,128', - 'oldlace' => '253,245,230', - 'olive' => '128,128,0', - 'olivedrab' => '107,142,35', - 'orange' => '255,165,0', - 'orangered' => '255,69,0', - 'orchid' => '218,112,214', - 'palegoldenrod' => '238,232,170', - 'palegreen' => '152,251,152', - 'paleturquoise' => '175,238,238', - 'palevioletred' => '219,112,147', - 'papayawhip' => '255,239,213', - 'peachpuff' => '255,218,185', - 'peru' => '205,133,63', - 'pink' => '255,192,203', - 'plum' => '221,160,221', - 'powderblue' => '176,224,230', - 'purple' => '128,0,128', - 'rebeccapurple' => '102,51,153', - 'red' => '255,0,0', - 'rosybrown' => '188,143,143', - 'royalblue' => '65,105,225', - 'saddlebrown' => '139,69,19', - 'salmon' => '250,128,114', - 'sandybrown' => '244,164,96', - 'seagreen' => '46,139,87', - 'seashell' => '255,245,238', - 'sienna' => '160,82,45', - 'silver' => '192,192,192', - 'skyblue' => '135,206,235', - 'slateblue' => '106,90,205', - 'slategray' => '112,128,144', - 'slategrey' => '112,128,144', - 'snow' => '255,250,250', - 'springgreen' => '0,255,127', - 'steelblue' => '70,130,180', - 'tan' => '210,180,140', - 'teal' => '0,128,128', - 'thistle' => '216,191,216', - 'tomato' => '255,99,71', - 'transparent' => '0,0,0,0', - 'turquoise' => '64,224,208', - 'violet' => '238,130,238', - 'wheat' => '245,222,179', - 'white' => '255,255,255', - 'whitesmoke' => '245,245,245', - 'yellow' => '255,255,0', - 'yellowgreen' => '154,205,50' - ); -} - -// responsible for taking a string of LESS code and converting it into a -// syntax tree -class lessc_parser { - static protected $nextBlockId = 0; // used to uniquely identify blocks - - static protected $precedence = array( - '=<' => 0, - '>=' => 0, - '=' => 0, - '<' => 0, - '>' => 0, - - '+' => 1, - '-' => 1, - '*' => 2, - '/' => 2, - '%' => 2, - ); - - static protected $whitePattern; - static protected $commentMulti; - - static protected $commentSingle = "//"; - static protected $commentMultiLeft = "/*"; - static protected $commentMultiRight = "*/"; - - // regex string to match any of the operators - static protected $operatorString; - - // these properties will supress division unless it's inside parenthases - static protected $supressDivisionProps = - array('/border-radius$/i', '/^font$/i'); - - protected $blockDirectives = array("font-face", "keyframes", "page", "-moz-document", "viewport", "-moz-viewport", "-o-viewport", "-ms-viewport"); - protected $lineDirectives = array("charset"); - - /** - * if we are in parens we can be more liberal with whitespace around - * operators because it must evaluate to a single value and thus is less - * ambiguous. - * - * Consider: - * property1: 10 -5; // is two numbers, 10 and -5 - * property2: (10 -5); // should evaluate to 5 - */ - protected $inParens = false; - - // caches preg escaped literals - static protected $literalCache = array(); - - public function __construct($lessc, $sourceName = null) { - $this->eatWhiteDefault = true; - // reference to less needed for vPrefix, mPrefix, and parentSelector - $this->lessc = $lessc; - - $this->sourceName = $sourceName; // name used for error messages - - $this->writeComments = false; - - if (!self::$operatorString) { - self::$operatorString = - '('.implode('|', array_map(array('lessc', 'preg_quote'), - array_keys(self::$precedence))).')'; - - $commentSingle = lessc::preg_quote(self::$commentSingle); - $commentMultiLeft = lessc::preg_quote(self::$commentMultiLeft); - $commentMultiRight = lessc::preg_quote(self::$commentMultiRight); - - self::$commentMulti = $commentMultiLeft.'.*?'.$commentMultiRight; - self::$whitePattern = '/'.$commentSingle.'[^\n]*\s*|('.self::$commentMulti.')\s*|\s+/Ais'; - } - } - - public function parse($buffer) { - $this->count = 0; - $this->line = 1; - - $this->env = null; // block stack - $this->buffer = $this->writeComments ? $buffer : $this->removeComments($buffer); - $this->pushSpecialBlock("root"); - $this->eatWhiteDefault = true; - $this->seenComments = array(); - - // trim whitespace on head - // if (preg_match('/^\s+/', $this->buffer, $m)) { - // $this->line += substr_count($m[0], "\n"); - // $this->buffer = ltrim($this->buffer); - // } - $this->whitespace(); - - // parse the entire file - while (false !== $this->parseChunk()); - - if ($this->count != strlen($this->buffer)) - $this->throwError(); - - // TODO report where the block was opened - if ( !property_exists($this->env, 'parent') || !is_null($this->env->parent) ) - throw new exception('parse error: unclosed block'); - - return $this->env; - } - - /** - * Parse a single chunk off the head of the buffer and append it to the - * current parse environment. - * Returns false when the buffer is empty, or when there is an error. - * - * This function is called repeatedly until the entire document is - * parsed. - * - * This parser is most similar to a recursive descent parser. Single - * functions represent discrete grammatical rules for the language, and - * they are able to capture the text that represents those rules. - * - * Consider the function lessc::keyword(). (all parse functions are - * structured the same) - * - * The function takes a single reference argument. When calling the - * function it will attempt to match a keyword on the head of the buffer. - * If it is successful, it will place the keyword in the referenced - * argument, advance the position in the buffer, and return true. If it - * fails then it won't advance the buffer and it will return false. - * - * All of these parse functions are powered by lessc::match(), which behaves - * the same way, but takes a literal regular expression. Sometimes it is - * more convenient to use match instead of creating a new function. - * - * Because of the format of the functions, to parse an entire string of - * grammatical rules, you can chain them together using &&. - * - * But, if some of the rules in the chain succeed before one fails, then - * the buffer position will be left at an invalid state. In order to - * avoid this, lessc::seek() is used to remember and set buffer positions. - * - * Before parsing a chain, use $s = $this->seek() to remember the current - * position into $s. Then if a chain fails, use $this->seek($s) to - * go back where we started. - */ - protected function parseChunk() { - if (empty($this->buffer)) return false; - $s = $this->seek(); - - if ($this->whitespace()) { - return true; - } - - // setting a property - if ($this->keyword($key) && $this->assign() && - $this->propertyValue($value, $key) && $this->end()) - { - $this->append(array('assign', $key, $value), $s); - return true; - } else { - $this->seek($s); - } - - - // look for special css blocks - if ($this->literal('@', false)) { - $this->count--; - - // media - if ($this->literal('@media')) { - if (($this->mediaQueryList($mediaQueries) || true) - && $this->literal('{')) - { - $media = $this->pushSpecialBlock("media"); - $media->queries = is_null($mediaQueries) ? array() : $mediaQueries; - return true; - } else { - $this->seek($s); - return false; - } - } - - if ($this->literal("@", false) && $this->keyword($dirName)) { - if ($this->isDirective($dirName, $this->blockDirectives)) { - if (($this->openString("{", $dirValue, null, array(";")) || true) && - $this->literal("{")) - { - $dir = $this->pushSpecialBlock("directive"); - $dir->name = $dirName; - if (isset($dirValue)) $dir->value = $dirValue; - return true; - } - } elseif ($this->isDirective($dirName, $this->lineDirectives)) { - if ($this->propertyValue($dirValue) && $this->end()) { - $this->append(array("directive", $dirName, $dirValue)); - return true; - } - } - } - - $this->seek($s); - } - - // setting a variable - if ($this->variable($var) && $this->assign() && - $this->propertyValue($value) && $this->end()) - { - $this->append(array('assign', $var, $value), $s); - return true; - } else { - $this->seek($s); - } - - if ($this->import($importValue)) { - $this->append($importValue, $s); - return true; - } - - // opening parametric mixin - if ($this->tag($tag, true) && $this->argumentDef($args, $isVararg) && - ($this->guards($guards) || true) && - $this->literal('{')) - { - $block = $this->pushBlock($this->fixTags(array($tag))); - $block->args = $args; - $block->isVararg = $isVararg; - if (!empty($guards)) $block->guards = $guards; - return true; - } else { - $this->seek($s); - } - - // opening a simple block - if ($this->tags($tags) && $this->literal('{', false)) { - $tags = $this->fixTags($tags); - $this->pushBlock($tags); - return true; - } else { - $this->seek($s); - } - - // closing a block - if ($this->literal('}', false)) { - try { - $block = $this->pop(); - } catch (exception $e) { - $this->seek($s); - $this->throwError($e->getMessage()); - $block = null; // Rector. - } - - $hidden = false; - if (is_null($block->type)) { - $hidden = true; - if (!isset($block->args)) { - foreach ($block->tags as $tag) { - if (!is_string($tag) || $tag[0] != $this->lessc->mPrefix) { - $hidden = false; - break; - } - } - } - - foreach ($block->tags as $tag) { - if (is_string($tag)) { - $this->env->children[$tag][] = $block; - } - } - } - - if (!$hidden) { - $this->append(array('block', $block), $s); - } - - // this is done here so comments aren't bundled into he block that - // was just closed - $this->whitespace(); - return true; - } - - // mixin - if ($this->mixinTags($tags) && - ($this->argumentDef($argv, $isVararg) || true) && - ($this->keyword($suffix) || true) && $this->end()) - { - $tags = $this->fixTags($tags); - $this->append(array('mixin', $tags, $argv, $suffix), $s); - return true; - } else { - $this->seek($s); - } - - // spare ; - if ($this->literal(';')) return true; - - return false; // got nothing, throw error - } - - protected function isDirective($dirname, $directives) { - // TODO: cache pattern in parser - $pattern = implode("|", - array_map(array("lessc", "preg_quote"), $directives)); - $pattern = '/^(-[a-z-]+-)?(' . $pattern . ')$/i'; - - return preg_match($pattern, $dirname); - } - - protected function fixTags($tags) { - // move @ tags out of variable namespace - foreach ($tags as &$tag) { - if ($tag[0] == $this->lessc->vPrefix) - $tag[0] = $this->lessc->mPrefix; - } - return $tags; - } - - // a list of expressions - protected function expressionList(&$exps) { - $values = array(); - - while ($this->expression($exp)) { - $values[] = $exp; - } - - if (count($values) == 0) return false; - - $exps = lessc::compressList($values, ' '); - return true; - } - - /** - * Attempt to consume an expression. - * @link https://en.wikipedia.org/wiki/Operator-precedence_parser#Pseudo-code - */ - protected function expression(&$out) { - if ($this->value($lhs)) { - $out = $this->expHelper($lhs, 0); - - // look for / shorthand - if (!empty($this->env->supressedDivision)) { - unset($this->env->supressedDivision); - $s = $this->seek(); - if ($this->literal("/") && $this->value($rhs)) { - $out = array("list", "", - array($out, array("keyword", "/"), $rhs)); - } else { - $this->seek($s); - } - } - - return true; - } - return false; - } - - /** - * recursively parse infix equation with $lhs at precedence $minP - */ - protected function expHelper($lhs, $minP) { - $this->inExp = true; - $ss = $this->seek(); - - while (true) { - $whiteBefore = isset($this->buffer[$this->count - 1]) && - ctype_space($this->buffer[$this->count - 1]); - - // If there is whitespace before the operator, then we require - // whitespace after the operator for it to be an expression - $needWhite = $whiteBefore && !$this->inParens; - - if ($this->match(self::$operatorString.($needWhite ? '\s' : ''), $m) && self::$precedence[$m[1]] >= $minP) { - if (!$this->inParens && isset($this->env->currentProperty) && $m[1] == "/" && empty($this->env->supressedDivision)) { - foreach (self::$supressDivisionProps as $pattern) { - if (preg_match($pattern, $this->env->currentProperty)) { - $this->env->supressedDivision = true; - break 2; - } - } - } - - - $whiteAfter = isset($this->buffer[$this->count - 1]) && - ctype_space($this->buffer[$this->count - 1]); - - if (!$this->value($rhs)) break; - - // peek for next operator to see what to do with rhs - if ($this->peek(self::$operatorString, $next) && self::$precedence[$next[1]] > self::$precedence[$m[1]]) { - $rhs = $this->expHelper($rhs, self::$precedence[$next[1]]); - } - - $lhs = array('expression', $m[1], $lhs, $rhs, $whiteBefore, $whiteAfter); - $ss = $this->seek(); - - continue; - } - - break; - } - - $this->seek($ss); - - return $lhs; - } - - // consume a list of values for a property - public function propertyValue(&$value, $keyName = null) { - $values = array(); - - if ($keyName !== null) $this->env->currentProperty = $keyName; - - $s = null; - while ($this->expressionList($v)) { - $values[] = $v; - $s = $this->seek(); - if (!$this->literal(',')) break; - } - - if ($s) $this->seek($s); - - if ($keyName !== null) unset($this->env->currentProperty); - - if (count($values) == 0) return false; - - $value = lessc::compressList($values, ', '); - return true; - } - - protected function parenValue(&$out) { - $s = $this->seek(); - - // speed shortcut - if (isset($this->buffer[$this->count]) && $this->buffer[$this->count] != "(") { - return false; - } - - $inParens = $this->inParens; - if ($this->literal("(") && - ($this->inParens = true) && $this->expression($exp) && - $this->literal(")")) - { - $out = $exp; - $this->inParens = $inParens; - return true; - } else { - $this->inParens = $inParens; - $this->seek($s); - } - - return false; - } - - // a single value - protected function value(&$value) { - $s = $this->seek(); - - // speed shortcut - if (isset($this->buffer[$this->count]) && $this->buffer[$this->count] == "-") { - // negation - if ($this->literal("-", false) && - (($this->variable($inner) && $inner = array("variable", $inner)) || - $this->unit($inner) || - $this->parenValue($inner))) - { - $value = array("unary", "-", $inner); - return true; - } else { - $this->seek($s); - } - } - - if ($this->parenValue($value)) return true; - if ($this->unit($value)) return true; - if ($this->color($value)) return true; - if ($this->func($value)) return true; - if ($this->string($value)) return true; - - if ($this->keyword($word)) { - $value = array('keyword', $word); - return true; - } - - // try a variable - if ($this->variable($var)) { - $value = array('variable', $var); - return true; - } - - // unquote string (should this work on any type? - if ($this->literal("~") && $this->string($str)) { - $value = array("escape", $str); - return true; - } else { - $this->seek($s); - } - - // css hack: \0 - if ($this->literal('\\') && $this->match('([0-9]+)', $m)) { - $value = array('keyword', '\\'.$m[1]); - return true; - } else { - $this->seek($s); - } - - return false; - } - - // an import statement - protected function import(&$out) { - if (!$this->literal('@import')) return false; - - // @import "something.css" media; - // @import url("something.css") media; - // @import url(something.css) media; - - if ($this->propertyValue($value)) { - $out = array("import", $value); - return true; - } - } - - protected function mediaQueryList(&$out) { - if ($this->genericList($list, "mediaQuery", ",", false)) { - $out = $list[2]; - return true; - } - return false; - } - - protected function mediaQuery(&$out) { - $s = $this->seek(); - - $expressions = null; - $parts = array(); - - if (($this->literal("only") && ($only = true) || $this->literal("not") && ($not = true) || true) && $this->keyword($mediaType)) { - $prop = array("mediaType"); - if (isset($only)) $prop[] = "only"; - if (isset($not)) $prop[] = "not"; - $prop[] = $mediaType; - $parts[] = $prop; - } else { - $this->seek($s); - } - - - if (!empty($mediaType) && !$this->literal("and")) { - // ~ - } else { - $this->genericList($expressions, "mediaExpression", "and", false); - if (is_array($expressions)) $parts = array_merge($parts, $expressions[2]); - } - - if (count($parts) == 0) { - $this->seek($s); - return false; - } - - $out = $parts; - return true; - } - - protected function mediaExpression(&$out) { - $s = $this->seek(); - $value = null; - if ($this->literal("(") && - $this->keyword($feature) && - ($this->literal(":") && $this->expression($value) || true) && - $this->literal(")")) - { - $out = array("mediaExp", $feature); - if ($value) $out[] = $value; - return true; - } elseif ($this->variable($variable)) { - $out = array('variable', $variable); - return true; - } - - $this->seek($s); - return false; - } - - // an unbounded string stopped by $end - protected function openString($end, &$out, $nestingOpen=null, $rejectStrs = null) { - $oldWhite = $this->eatWhiteDefault; - $this->eatWhiteDefault = false; - - $stop = array("'", '"', "@{", $end); - $stop = array_map(array("lessc", "preg_quote"), $stop); - // $stop[] = self::$commentMulti; - - if (!is_null($rejectStrs)) { - $stop = array_merge($stop, $rejectStrs); - } - - $patt = '(.*?)('.implode("|", $stop).')'; - - $nestingLevel = 0; - - $content = array(); - while ($this->match($patt, $m, false)) { - if (!empty($m[1])) { - $content[] = $m[1]; - if ($nestingOpen) { - $nestingLevel += substr_count($m[1], $nestingOpen); - } - } - - $tok = $m[2]; - - $this->count-= strlen($tok); - if ($tok == $end) { - if ($nestingLevel == 0) { - break; - } else { - $nestingLevel--; - } - } - - if (($tok == "'" || $tok == '"') && $this->string($str)) { - $content[] = $str; - continue; - } - - if ($tok == "@{" && $this->interpolation($inter)) { - $content[] = $inter; - continue; - } - - if (!empty($rejectStrs) && in_array($tok, $rejectStrs)) { - break; - } - - $content[] = $tok; - $this->count+= strlen($tok); - } - - $this->eatWhiteDefault = $oldWhite; - - if (count($content) == 0) return false; - - // trim the end - if (is_string(end($content))) { - $content[count($content) - 1] = rtrim(end($content)); - } - - $out = array("string", "", $content); - return true; - } - - protected function string(&$out) { - $s = $this->seek(); - if ($this->literal('"', false)) { - $delim = '"'; - } elseif ($this->literal("'", false)) { - $delim = "'"; - } else { - return false; - } - - $content = array(); - - // look for either ending delim , escape, or string interpolation - $patt = '([^\n]*?)(@\{|\\\\|' . - lessc::preg_quote($delim).')'; - - $oldWhite = $this->eatWhiteDefault; - $this->eatWhiteDefault = false; - - while ($this->match($patt, $m, false)) { - $content[] = $m[1]; - if ($m[2] == "@{") { - $this->count -= strlen($m[2]); - if ($this->interpolation($inter, false)) { - $content[] = $inter; - } else { - $this->count += strlen($m[2]); - $content[] = "@{"; // ignore it - } - } elseif ($m[2] == '\\') { - $content[] = $m[2]; - if ($this->literal($delim, false)) { - $content[] = $delim; - } - } else { - $this->count -= strlen($delim); - break; // delim - } - } - - $this->eatWhiteDefault = $oldWhite; - - if ($this->literal($delim)) { - $out = array("string", $delim, $content); - return true; - } - - $this->seek($s); - return false; - } - - protected function interpolation(&$out) { - $oldWhite = $this->eatWhiteDefault; - $this->eatWhiteDefault = true; - - $s = $this->seek(); - if ($this->literal("@{") && - $this->openString("}", $interp, null, array("'", '"', ";")) && - $this->literal("}", false)) - { - $out = array("interpolate", $interp); - $this->eatWhiteDefault = $oldWhite; - if ($this->eatWhiteDefault) $this->whitespace(); - return true; - } - - $this->eatWhiteDefault = $oldWhite; - $this->seek($s); - return false; - } - - protected function unit(&$unit) { - // speed shortcut - if (isset($this->buffer[$this->count])) { - $char = $this->buffer[$this->count]; - if (!ctype_digit($char) && $char != ".") return false; - } - - if ($this->match('([0-9]+(?:\.[0-9]*)?|\.[0-9]+)([%a-zA-Z]+)?', $m)) { - $unit = array("number", $m[1], empty($m[2]) ? "" : $m[2]); - return true; - } - return false; - } - - // a # color - protected function color(&$out) { - if ($this->match('(#(?:[0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{3}))', $m)) { - if (strlen($m[1]) > 7) { - $out = array("string", "", array($m[1])); - } else { - $out = array("raw_color", $m[1]); - } - return true; - } - - return false; - } - - // consume an argument definition list surrounded by () - // each argument is a variable name with optional value - // or at the end a ... or a variable named followed by ... - // arguments are separated by , unless a ; is in the list, then ; is the - // delimiter. - protected function argumentDef(&$args, &$isVararg) { - $value = null; // Initialize output variable to make wpcom's rector happy. - $rhs = null; // Initialize output variable to make wpcom's rector happy. - $newArg = null; // Initialize variable for rector. - $s = $this->seek(); - if (!$this->literal('(')) return false; - - $values = array(); - $delim = ","; - $method = "expressionList"; - - $isVararg = false; - while (true) { - if ($this->literal("...")) { - $isVararg = true; - break; - } - - if ($this->$method($value)) { - if ($value[0] == "variable") { - $arg = array("arg", $value[1]); - $ss = $this->seek(); - - if ($this->assign() && $this->$method($rhs)) { - $arg[] = $rhs; - } else { - $this->seek($ss); - if ($this->literal("...")) { - $arg[0] = "rest"; - $isVararg = true; - } - } - - $values[] = $arg; - if ($isVararg) break; - continue; - } else { - $values[] = array("lit", $value); - } - } - - - if (!$this->literal($delim)) { - if ($delim == "," && $this->literal(";")) { - // found new delim, convert existing args - $delim = ";"; - $method = "propertyValue"; - - // transform arg list - if (isset($values[1])) { // 2 items - $newList = array(); - foreach ($values as $i => $arg) { - switch($arg[0]) { - case "arg": - if ($i) { - $this->throwError("Cannot mix ; and , as delimiter types"); - } - $newList[] = $arg[2]; - break; - case "lit": - $newList[] = $arg[1]; - break; - case "rest": - $this->throwError("Unexpected rest before semicolon"); - } - } - - $newList = array("list", ", ", $newList); - - switch ($values[0][0]) { - case "arg": - $newArg = array("arg", $values[0][1], $newList); - break; - case "lit": - $newArg = array("lit", $newList); - break; - } - - } elseif ($values) { // 1 item - $newArg = $values[0]; - } - - if ($newArg) { - $values = array($newArg); - } - } else { - break; - } - } - } - - if (!$this->literal(')')) { - $this->seek($s); - return false; - } - - $args = $values; - - return true; - } - - // consume a list of tags - // this accepts a hanging delimiter - protected function tags(&$tags, $simple = false, $delim = ',') { - $tags = array(); - while ($this->tag($tt, $simple)) { - $tags[] = $tt; - if (!$this->literal($delim)) break; - } - if (count($tags) == 0) return false; - - return true; - } - - // list of tags of specifying mixin path - // optionally separated by > (lazy, accepts extra >) - protected function mixinTags(&$tags) { - $tags = array(); - while ($this->tag($tt, true)) { - $tags[] = $tt; - $this->literal(">"); - } - - if (count($tags) == 0) return false; - - return true; - } - - // a bracketed value (contained within in a tag definition) - protected function tagBracket(&$parts, &$hasExpression) { - // speed shortcut - if (isset($this->buffer[$this->count]) && $this->buffer[$this->count] != "[") { - return false; - } - - $s = $this->seek(); - - $hasInterpolation = false; - - if ($this->literal("[", false)) { - $attrParts = array("["); - // keyword, string, operator - while (true) { - if ($this->literal("]", false)) { - $this->count--; - break; // get out early - } - - if ($this->match('\s+', $m)) { - $attrParts[] = " "; - continue; - } - if ($this->string($str)) { - // escape parent selector, (yuck) - foreach ($str[2] as &$chunk) { - $chunk = str_replace($this->lessc->parentSelector, "$&$", $chunk); - } - - $attrParts[] = $str; - $hasInterpolation = true; - continue; - } - - if ($this->keyword($word)) { - $attrParts[] = $word; - continue; - } - - if ($this->interpolation($inter, false)) { - $attrParts[] = $inter; - $hasInterpolation = true; - continue; - } - - // operator, handles attr namespace too - if ($this->match('[|-~\$\*\^=]+', $m)) { - $attrParts[] = $m[0]; - continue; - } - - break; - } - - if ($this->literal("]", false)) { - $attrParts[] = "]"; - foreach ($attrParts as $part) { - $parts[] = $part; - } - $hasExpression = $hasExpression || $hasInterpolation; - return true; - } - $this->seek($s); - } - - $this->seek($s); - return false; - } - - // a space separated list of selectors - protected function tag(&$tag, $simple = false) { - if ($simple) - $chars = '^@,:;{}\][>\(\) "\''; - else - $chars = '^@,;{}["\''; - - $s = $this->seek(); - - $hasExpression = false; - $parts = array(); - while ($this->tagBracket($parts, $hasExpression)); - - $oldWhite = $this->eatWhiteDefault; - $this->eatWhiteDefault = false; - - while (true) { - if ($this->match('(['.$chars.'0-9]['.$chars.']*)', $m)) { - $parts[] = $m[1]; - if ($simple) break; - - while ($this->tagBracket($parts, $hasExpression)); - continue; - } - - if (isset($this->buffer[$this->count]) && $this->buffer[$this->count] == "@") { - if ($this->interpolation($interp)) { - $hasExpression = true; - $interp[2] = true; // don't unescape - $parts[] = $interp; - continue; - } - - if ($this->literal("@")) { - $parts[] = "@"; - continue; - } - } - - if ($this->unit($unit)) { // for keyframes - $parts[] = $unit[1]; - $parts[] = $unit[2]; - continue; - } - - break; - } - - $this->eatWhiteDefault = $oldWhite; - if (!$parts) { - $this->seek($s); - return false; - } - - if ($hasExpression) { - $tag = array("exp", array("string", "", $parts)); - } else { - $tag = trim(implode($parts)); - } - - $this->whitespace(); - return true; - } - - // a css function - protected function func(&$func) { - $s = $this->seek(); - - if ($this->match('(%|[\w\-_][\w\-_:\.]+|[\w_])', $m) && $this->literal('(')) { - $fname = $m[1]; - - $sPreArgs = $this->seek(); - - $args = array(); - while (true) { - $ss = $this->seek(); - // this ugly nonsense is for ie filter properties - if ($this->keyword($name) && $this->literal('=') && $this->expressionList($value)) { - $args[] = array("string", "", array($name, "=", $value)); - } else { - $this->seek($ss); - if ($this->expressionList($value)) { - $args[] = $value; - } - } - - if (!$this->literal(',')) break; - } - $args = array('list', ',', $args); - - if ($this->literal(')')) { - $func = array('function', $fname, $args); - return true; - } elseif ($fname == 'url') { - // couldn't parse and in url? treat as string - $this->seek($sPreArgs); - if ($this->openString(")", $string) && $this->literal(")")) { - $func = array('function', $fname, $string); - return true; - } - } - } - - $this->seek($s); - return false; - } - - // consume a less variable - protected function variable(&$name) { - $s = $this->seek(); - if ($this->literal($this->lessc->vPrefix, false) && - ($this->variable($sub) || $this->keyword($name))) - { - if (!empty($sub)) { - $name = array('variable', $sub); - } else { - $name = $this->lessc->vPrefix.$name; - } - return true; - } - - $name = null; - $this->seek($s); - return false; - } - - /** - * Consume an assignment operator - * Can optionally take a name that will be set to the current property name - */ - protected function assign($name = null) { - if ($name) $this->currentProperty = $name; - return $this->literal(':') || $this->literal('='); - } - - // consume a keyword - protected function keyword(&$word) { - if ($this->match('([\w_\-\*!"][\w\-_"]*)', $m)) { - $word = $m[1]; - return true; - } - return false; - } - - // consume an end of statement delimiter - protected function end() { - if ($this->literal(';', false)) { - return true; - } elseif ($this->count == strlen($this->buffer) || $this->buffer[$this->count] == '}') { - // if there is end of file or a closing block next then we don't need a ; - return true; - } - return false; - } - - protected function guards(&$guards) { - $s = $this->seek(); - - if (!$this->literal("when")) { - $this->seek($s); - return false; - } - - $guards = array(); - - while ($this->guardGroup($g)) { - $guards[] = $g; - if (!$this->literal(",")) break; - } - - if (count($guards) == 0) { - $guards = null; - $this->seek($s); - return false; - } - - return true; - } - - // a bunch of guards that are and'd together - // TODO rename to guardGroup - protected function guardGroup(&$guardGroup) { - $s = $this->seek(); - $guardGroup = array(); - while ($this->guard($guard)) { - $guardGroup[] = $guard; - if (!$this->literal("and")) break; - } - - if (count($guardGroup) == 0) { - $guardGroup = null; - $this->seek($s); - return false; - } - - return true; - } - - protected function guard(&$guard) { - $s = $this->seek(); - $negate = $this->literal("not"); - - if ($this->literal("(") && $this->expression($exp) && $this->literal(")")) { - $guard = $exp; - if ($negate) $guard = array("negate", $guard); - return true; - } - - $this->seek($s); - return false; - } - - /* raw parsing functions */ - - protected function literal($what, $eatWhitespace = null) { - if ($eatWhitespace === null) $eatWhitespace = $this->eatWhiteDefault; - - // shortcut on single letter - if (!isset($what[1]) && isset($this->buffer[$this->count])) { - if ($this->buffer[$this->count] == $what) { - if (!$eatWhitespace) { - $this->count++; - return true; - } - // goes below... - } else { - return false; - } - } - - if (!isset(self::$literalCache[$what])) { - self::$literalCache[$what] = lessc::preg_quote($what); - } - - return $this->match(self::$literalCache[$what], $m, $eatWhitespace); - } - - protected function genericList(&$out, $parseItem, $delim="", $flatten=true) { - $value = null; // Initialize output parameter to make wpcom's rector happy. - $s = $this->seek(); - $items = array(); - while ($this->$parseItem($value)) { - $items[] = $value; - if ($delim) { - if (!$this->literal($delim)) break; - } - } - - if (count($items) == 0) { - $this->seek($s); - return false; - } - - if ($flatten && count($items) == 1) { - $out = $items[0]; - } else { - $out = array("list", $delim, $items); - } - - return true; - } - - - // advance counter to next occurrence of $what - // $until - don't include $what in advance - // $allowNewline, if string, will be used as valid char set - protected function to($what, &$out, $until = false, $allowNewline = false) { - if (is_string($allowNewline)) { - $validChars = $allowNewline; - } else { - $validChars = $allowNewline ? "." : "[^\n]"; - } - if (!$this->match('('.$validChars.'*?)'.lessc::preg_quote($what), $m, !$until)) return false; - if ($until) $this->count -= strlen($what); // give back $what - $out = $m[1]; - return true; - } - - // try to match something on head of buffer - protected function match($regex, &$out, $eatWhitespace = null) { - if ($eatWhitespace === null) $eatWhitespace = $this->eatWhiteDefault; - - $r = '/'.$regex.($eatWhitespace && !$this->writeComments ? '\s*' : '').'/Ais'; - if (preg_match($r, $this->buffer, $out, null, $this->count)) { - $this->count += strlen($out[0]); - if ($eatWhitespace && $this->writeComments) $this->whitespace(); - return true; - } - return false; - } - - // match some whitespace - protected function whitespace() { - if ($this->writeComments) { - $gotWhite = false; - while (preg_match(self::$whitePattern, $this->buffer, $m, null, $this->count)) { - if (isset($m[1]) && empty($this->seenComments[$this->count])) { - $this->append(array("comment", $m[1])); - $this->seenComments[$this->count] = true; - } - $this->count += strlen($m[0]); - $gotWhite = true; - } - return $gotWhite; - } else { - $this->match("", $m); - return strlen($m[0]) > 0; - } - } - - // match something without consuming it - protected function peek($regex, &$out = null, $from=null) { - if (is_null($from)) $from = $this->count; - $r = '/'.$regex.'/Ais'; - $result = preg_match($r, $this->buffer, $out, null, $from); - - return $result; - } - - // seek to a spot in the buffer or return where we are on no argument - protected function seek($where = null) { - if ($where === null) return $this->count; - else $this->count = $where; - return true; - } - - /* misc functions */ - - public function throwError($msg = "parse error", $count = null) { - $count = is_null($count) ? $this->count : $count; - - $line = $this->line + - substr_count(substr($this->buffer, 0, $count), "\n"); - - if (!empty($this->sourceName)) { - $loc = "$this->sourceName on line $line"; - } else { - $loc = "line: $line"; - } - - // TODO this depends on $this->count - if ($this->peek("(.*?)(\n|$)", $m, $count)) { - throw new exception("$msg: failed at `$m[1]` $loc"); - } else { - throw new exception("$msg: $loc"); - } - } - - protected function pushBlock($selectors=null, $type=null) { - $b = new stdclass; - $b->parent = $this->env; - - $b->type = $type; - $b->id = self::$nextBlockId++; - - $b->isVararg = false; // TODO: kill me from here - $b->tags = $selectors; - - $b->props = array(); - $b->children = array(); - - $this->env = $b; - return $b; - } - - // push a block that doesn't multiply tags - protected function pushSpecialBlock($type) { - return $this->pushBlock(null, $type); - } - - // append a property to the current block - protected function append($prop, $pos = null) { - if ($pos !== null) $prop[-1] = $pos; - $this->env->props[] = $prop; - } - - // pop something off the stack - protected function pop() { - $old = $this->env; - $this->env = $this->env->parent; - return $old; - } - - // remove comments from $text - // todo: make it work for all functions, not just url - protected function removeComments($text) { - $look = array( - 'url(', '//', '/*', '"', "'" - ); - - $out = ''; - $min = null; - while (true) { - // find the next item - foreach ($look as $token) { - $pos = strpos($text, $token); - if ($pos !== false) { - if (!isset($min) || $pos < $min[1]) $min = array($token, $pos); - } - } - - if (is_null($min)) break; - - $count = $min[1]; - $skip = 0; - $newlines = 0; - switch ($min[0]) { - case 'url(': - if (preg_match('/url\(.*?\)/', $text, $m, 0, $count)) - $count += strlen($m[0]) - strlen($min[0]); - break; - case '"': - case "'": - if (preg_match('/'.$min[0].'.*?(?indentLevel = 0; - } - - public function indentStr($n = 0) { - return str_repeat($this->indentChar, max($this->indentLevel + $n, 0)); - } - - public function property($name, $value) { - return $name . $this->assignSeparator . $value . ";"; - } - - protected function isEmpty($block) { - if (empty($block->lines)) { - foreach ($block->children as $child) { - if (!$this->isEmpty($child)) return false; - } - - return true; - } - return false; - } - - public function block($block) { - if ($this->isEmpty($block)) return; - - $inner = $pre = $this->indentStr(); - - $isSingle = !$this->disableSingle && - is_null( $block->type ) && is_countable( $block->lines ) && count( $block->lines ) == 1; - - if (!empty($block->selectors)) { - $this->indentLevel++; - - if ($this->breakSelectors) { - $selectorSeparator = $this->selectorSeparator . $this->break . $pre; - } else { - $selectorSeparator = $this->selectorSeparator; - } - - echo $pre . - implode($selectorSeparator, $block->selectors); - if ($isSingle) { - echo $this->openSingle; - $inner = ""; - } else { - echo $this->open . $this->break; - $inner = $this->indentStr(); - } - - } - - if (!empty($block->lines)) { - $glue = $this->break.$inner; - echo $inner . implode($glue, $block->lines); - if (!$isSingle && !empty($block->children)) { - echo $this->break; - } - } - - foreach ($block->children as $child) { - $this->block($child); - } - - if (!empty($block->selectors)) { - if (!$isSingle && empty($block->children)) echo $this->break; - - if ($isSingle) { - echo $this->closeSingle . $this->break; - } else { - echo $pre . $this->close . $this->break; - } - - $this->indentLevel--; - } - } -} - -class lessc_formatter_compressed extends lessc_formatter_classic { - public $disableSingle = true; - public $open = "{"; - public $selectorSeparator = ","; - public $assignSeparator = ":"; - public $break = ""; - public $compressColors = true; - - public function indentStr($n = 0) { - return ""; - } -} - -class lessc_formatter_lessjs extends lessc_formatter_classic { - public $disableSingle = true; - public $breakSelectors = true; - public $assignSeparator = ": "; - public $selectorSeparator = ","; -} diff --git a/wp-content/plugins/jetpack/modules/infinite-scroll/infinity.js b/wp-content/plugins/jetpack/modules/infinite-scroll/infinity.js index 7f3f422a7..e880c15bf 100644 --- a/wp-content/plugins/jetpack/modules/infinite-scroll/infinity.js +++ b/wp-content/plugins/jetpack/modules/infinite-scroll/infinity.js @@ -129,7 +129,7 @@ } for ( var key in arguments[ i ] ) { - if ( arguments[ i ].hasOwnProperty( key ) ) { + if ( Object.hasOwn( arguments[ i ], key ) ) { out[ key ] = arguments[ i ][ key ]; } } diff --git a/wp-content/plugins/jetpack/modules/masterbar.php b/wp-content/plugins/jetpack/modules/masterbar.php index d5493b871..62e0a5e3c 100644 --- a/wp-content/plugins/jetpack/modules/masterbar.php +++ b/wp-content/plugins/jetpack/modules/masterbar.php @@ -14,6 +14,11 @@ * @package automattic/jetpack */ -use Automattic\Jetpack\Masterbar\Main as Jetpack_Masterbar; - -Jetpack_Masterbar::init(); +/** + * Remove Masterbar from the old Module list. + * Available at wp-admin/admin.php?page=jetpack_modules + * We only need this function and module file until the Masterbar is fully removed from Jetpack including notices). + * + * @param array $items Array of Jetpack modules. + * @return array + */ diff --git a/wp-content/plugins/jetpack/modules/masterbar/admin-menu/admin-menu-rtl.css b/wp-content/plugins/jetpack/modules/masterbar/admin-menu/admin-menu-rtl.css index d0f8d20b9..9801b4b00 100644 --- a/wp-content/plugins/jetpack/modules/masterbar/admin-menu/admin-menu-rtl.css +++ b/wp-content/plugins/jetpack/modules/masterbar/admin-menu/admin-menu-rtl.css @@ -114,8 +114,7 @@ border-radius: 2px; font-size: 12px; line-height: 1.4; - -webkit-hyphens: none; - hyphens: none; + hyphens: none; } #adminmenu .toplevel_page_site-notices .upsell_banner .banner__info { diff --git a/wp-content/plugins/jetpack/modules/masterbar/admin-menu/admin-menu-rtl.min.css b/wp-content/plugins/jetpack/modules/masterbar/admin-menu/admin-menu-rtl.min.css index db6a91fba..776c6aaad 100644 --- a/wp-content/plugins/jetpack/modules/masterbar/admin-menu/admin-menu-rtl.min.css +++ b/wp-content/plugins/jetpack/modules/masterbar/admin-menu/admin-menu-rtl.min.css @@ -1 +1 @@ -#adminmenu{margin:0}#wpcontent,#wpfooter{margin-right:272px}#adminmenu,#adminmenu .wp-submenu,#adminmenuback,#adminmenuwrap{width:272px}#adminmenu .wp-submenu{right:272px}#adminmenu .wp-not-current-submenu .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{min-width:272px}@media (min-width:783px){.edit-post-layout .components-editor-notices__snackbar,.interface-interface-skeleton{right:272px}}@media (min-width:961px){.auto-fold .edit-post-layout .components-editor-notices__snackbar,.components-snackbar-list.edit-widgets-notices__snackbar,.jp-dialogue-modern-full__container,body:not(.folded).auto-fold .interface-interface-skeleton{right:272px}.global-notices{max-width:calc(100% - 320px)}}#adminmenu [class*=activity-log] .wp-menu-image img{padding-top:7px}#adminmenu .toplevel_page_site-card .wp-menu-name{margin-right:40px;padding:0}#adminmenu li.toplevel_page_site-card a{padding:10px 8px 10px 0}#adminmenu a.toplevel_page_site-notices:focus,#adminmenu a.toplevel_page_site-notices:hover,#adminmenu li.toplevel_page_site-notices:focus,#adminmenu li.toplevel_page_site-notices:hover{background-color:inherit!important;color:inherit!important}#adminmenu li.toplevel_page_site-notices .wp-menu-image{display:none}#adminmenu .toplevel_page_site-notices .wp-menu-image{background-color:#fff;border-radius:2px}#adminmenu .toplevel_page_site-notices .wp-menu-image:before{background-color:#a7aaad;border-radius:50%;color:#fff;content:"\f534";font-family:dashicons;font-size:20px;line-height:20px;margin:5px;padding:0}#adminmenu .toplevel_page_site-notices:hover .wp-menu-image:before{color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner{align-items:center;border-radius:2px;display:flex;flex-grow:1;flex-wrap:nowrap;font-size:12px;-webkit-hyphens:none;hyphens:none;justify-content:space-between;line-height:1.4;padding:7px 12px;position:relative;right:-28px;width:100%}#adminmenu .toplevel_page_site-notices .upsell_banner .banner__info{margin-left:12px}#adminmenu .toplevel_page_site-notices .upsell_banner .button{border:0;font-size:12px;line-height:12px;min-height:26px;padding:0 7px}#adminmenu .toplevel_page_site-notices .upsell_banner svg.dismissible-card__close-icon{height:24px;margin-right:10px;width:24px}@media screen and (min-width:782px){.folded #adminmenu .toplevel_page_site-notices .wp-menu-image{display:block;width:30px}.folded #adminmenu .toplevel_page_site-notices{align-items:center;display:flex;height:50px;justify-content:center}}@media screen and (min-width:782px) and (max-width:960px){.auto-fold #adminmenu .toplevel_page_site-notices .wp-menu-image{display:block;width:30px}.auto-fold #adminmenu .toplevel_page_site-notices{align-items:center;display:flex;height:50px;justify-content:center}}#adminmenu .site-switcher:hover,#adminmenu .toplevel_page_site-card:hover,#adminmenu .toplevel_page_site-notices:hover{box-shadow:none}#adminmenu .toplevel_page_site-card .wp-menu-image{background-image:none;background-position:50%;background-repeat:no-repeat;background-size:18px 18px;transform:translateZ(0);transition-duration:.2s;transition-property:background-image,background-color}#adminmenu a.toplevel_page_site-card:hover,#adminmenu li.toplevel_page_site-card:hover{background-color:inherit}#adminmenu .toplevel_page_site-card img{opacity:1}#adminmenu .toplevel_page_site-card.has-site-icon img{padding:0}#adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,#adminmenu .toplevel_page_site-card:hover div.wp-menu-image{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' class='gridicon gridicons-house'%3E%3Cpath fill='%23fff' d='M22 9 12 1 2 9v2h2v10h5v-4a3 3 0 1 1 6 0v4h5V11h2z'/%3E%3C/svg%3E")}#adminmenu .toplevel_page_site-card:not(.has-site-icon) .wp-menu-image{background-color:#c3c4c7;height:32px;width:32px}#adminmenu .toplevel_page_site-card:not(.has-site-icon) .wp-menu-image img{height:18px;padding:7px;width:18px}#adminmenu .toplevel_page_site-card a:focus div.wp-menu-image img,#adminmenu .toplevel_page_site-card:hover div.wp-menu-image img{display:none}.site__info .site__title{display:block;font-size:14px;font-weight:400;line-height:1.3}.site__info .site__domain{display:block;font-size:12px;line-height:1.4;margin-top:2px;max-width:95%}.site__info .site__domain,.site__info .site__title{overflow:hidden;white-space:nowrap}.site__info .site__domain:after,.site__info .site__title:after{content:"";display:block;position:absolute;-webkit-touch-callout:none;bottom:0;height:auto;left:0;pointer-events:none;right:auto;top:0;-webkit-user-select:none;user-select:none;width:20%}.site__info>.site__badge{border-radius:12px;clear:both;display:inline-block;font-size:12px;margin-left:3px;margin-top:6px;padding:1px 10px}.site__info>.site__badge.site__badge-staging{background-color:#f0c930;color:#4f3500}.inline-text{display:block!important;left:20px;opacity:.8;position:absolute;top:50%;transform:translateY(-50%)}[class*="toplevel_page_https://wordpress.com/stats/day"] .sidebar-unified__sparkline{float:left;margin-left:8px}.folded #adminmenu a.menu-top{height:31px}.folded #adminmenu li.toplevel_page_site-card a{padding-right:0}@media only screen and (max-width:960px){#adminmenu,#adminmenuback,#adminmenuwrap{width:272px}.auto-fold #adminmenu a[class*=toplevel_page_http].wp-first-item,.wp-responsive-open #adminmenu a.menu-top{height:auto}.auto-fold #adminmenu div.wp-menu-image{width:36px}}@media screen and (min-width:782px) and (max-width:960px){.auto-fold #adminmenu a.menu-top{height:34px}.auto-fold #adminmenu li.toplevel_page_site-card a{height:36px;padding-right:1px}}@media screen and (max-width:782px){#adminmenu li.menu-top .wp-submenu>li>a,.auto-fold #adminmenu li.menu-top .wp-submenu>li>a{padding-right:42px}.wp-responsive-open #wpbody{left:inherit}.wp-responsive-open #wpcontent{margin-right:272px}.auto-fold #adminmenu,.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{width:272px}#adminmenu a.site-switcher,.auto-fold #adminmenu a.site-switcher{font-size:14px}}@media only screen and (max-width:660px){#adminmenu,#adminmenu .wp-submenu,#adminmenuback,#adminmenuwrap,.auto-fold #adminmenu,.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{width:100%;z-index:171}.wp-responsive-open #wpcontent{margin-right:0}.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after,ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu li:hover a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{display:none}.auto-fold #adminmenu li.toplevel_page_site-card a{padding:18px 12px 18px 0}}#view-link-wrap{float:right;margin:0 6px 0 0}.screen-options-tab__wrapper{position:relative}.screen-options-tab__dropdown{background-color:#fff;border:1px solid var(--color-neutral-5);border-radius:4px;box-shadow:0 4px 10px rgba(0,0,0,.102);left:20px;padding:3px;position:absolute;top:37px;width:215px;z-index:9999}@media screen and (max-width:782px){.screen-options-tab__dropdown{left:10px;top:47px}}@media screen and (max-width:600px){.screen-options-tab__dropdown{top:93px}}.screen-switcher:not(:hover) .screen-switcher__button:nth-child(2)>strong{color:var(--wp-admin-theme-color)}.screen-switcher__button,a.screen-switcher__button{background:#0000;border:1px solid #0000;border-radius:4px;color:var(--color-text);cursor:pointer;display:inline-block;font-size:.75rem;line-height:normal;padding:8px;text-align:right;text-decoration:none}.screen-switcher__button:nth-child(2),a.screen-switcher__button:nth-child(2){border-color:var(--wp-admin-theme-color);margin-bottom:4px}.screen-switcher__button:last-child,a.screen-switcher__button:last-child{margin-bottom:0}.screen-switcher__button strong,a.screen-switcher__button strong{display:block;font-size:13px;margin-bottom:4px}.screen-switcher__button:focus>strong,.screen-switcher__button:hover>strong,a.screen-switcher__button:focus>strong,a.screen-switcher__button:hover>strong{color:var(--wp-admin-theme-color)}#adminmenu{display:flex;flex-direction:column}#adminmenu .menu-top[class*="/start?ref=calypso-sidebar"]{order:99999}body:not(.folded) #adminmenu .menu-top[class*="/start?ref=calypso-sidebar"]{padding:8px;width:auto}body:not(.folded) #adminmenu .menu-top[class*="/start?ref=calypso-sidebar"] a{appearance:none;background:#0000;border-color:var(--transparent-button-text-color,currentcolor);border-radius:2px;border-style:solid;border-width:1px;box-sizing:border-box;cursor:pointer;display:flex;font-size:14px;justify-content:center;line-height:22px;margin:0;outline:0;overflow:hidden;padding:8px 14px;text-align:center;text-decoration:none;text-overflow:ellipsis;vertical-align:top}body:not(.folded) #adminmenu .menu-top[class*="/start?ref=calypso-sidebar"] a:hover{box-shadow:none}body:not(.folded) #adminmenu .menu-top[class*="/start?ref=calypso-sidebar"] a .wp-menu-name{padding:0}body:not(.folded) #adminmenu .menu-top[class*="/start?ref=calypso-sidebar"] a .wp-menu-image{display:none} \ No newline at end of file +#adminmenu{margin:0}#wpcontent,#wpfooter{margin-right:272px}#adminmenu,#adminmenu .wp-submenu,#adminmenuback,#adminmenuwrap{width:272px}#adminmenu .wp-submenu{right:272px}#adminmenu .wp-not-current-submenu .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{min-width:272px}@media (min-width:783px){.edit-post-layout .components-editor-notices__snackbar,.interface-interface-skeleton{right:272px}}@media (min-width:961px){.auto-fold .edit-post-layout .components-editor-notices__snackbar,.components-snackbar-list.edit-widgets-notices__snackbar,.jp-dialogue-modern-full__container,body:not(.folded).auto-fold .interface-interface-skeleton{right:272px}.global-notices{max-width:calc(100% - 320px)}}#adminmenu [class*=activity-log] .wp-menu-image img{padding-top:7px}#adminmenu .toplevel_page_site-card .wp-menu-name{margin-right:40px;padding:0}#adminmenu li.toplevel_page_site-card a{padding:10px 8px 10px 0}#adminmenu a.toplevel_page_site-notices:focus,#adminmenu a.toplevel_page_site-notices:hover,#adminmenu li.toplevel_page_site-notices:focus,#adminmenu li.toplevel_page_site-notices:hover{background-color:inherit!important;color:inherit!important}#adminmenu li.toplevel_page_site-notices .wp-menu-image{display:none}#adminmenu .toplevel_page_site-notices .wp-menu-image{background-color:#fff;border-radius:2px}#adminmenu .toplevel_page_site-notices .wp-menu-image:before{background-color:#a7aaad;border-radius:50%;color:#fff;content:"\f534";font-family:dashicons;font-size:20px;line-height:20px;margin:5px;padding:0}#adminmenu .toplevel_page_site-notices:hover .wp-menu-image:before{color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner{align-items:center;border-radius:2px;display:flex;flex-grow:1;flex-wrap:nowrap;font-size:12px;hyphens:none;justify-content:space-between;line-height:1.4;padding:7px 12px;position:relative;right:-28px;width:100%}#adminmenu .toplevel_page_site-notices .upsell_banner .banner__info{margin-left:12px}#adminmenu .toplevel_page_site-notices .upsell_banner .button{border:0;font-size:12px;line-height:12px;min-height:26px;padding:0 7px}#adminmenu .toplevel_page_site-notices .upsell_banner svg.dismissible-card__close-icon{height:24px;margin-right:10px;width:24px}@media screen and (min-width:782px){.folded #adminmenu .toplevel_page_site-notices .wp-menu-image{display:block;width:30px}.folded #adminmenu .toplevel_page_site-notices{align-items:center;display:flex;height:50px;justify-content:center}}@media screen and (min-width:782px) and (max-width:960px){.auto-fold #adminmenu .toplevel_page_site-notices .wp-menu-image{display:block;width:30px}.auto-fold #adminmenu .toplevel_page_site-notices{align-items:center;display:flex;height:50px;justify-content:center}}#adminmenu .site-switcher:hover,#adminmenu .toplevel_page_site-card:hover,#adminmenu .toplevel_page_site-notices:hover{box-shadow:none}#adminmenu .toplevel_page_site-card .wp-menu-image{background-image:none;background-position:50%;background-repeat:no-repeat;background-size:18px 18px;transform:translateZ(0);transition-duration:.2s;transition-property:background-image,background-color}#adminmenu a.toplevel_page_site-card:hover,#adminmenu li.toplevel_page_site-card:hover{background-color:inherit}#adminmenu .toplevel_page_site-card img{opacity:1}#adminmenu .toplevel_page_site-card.has-site-icon img{padding:0}#adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,#adminmenu .toplevel_page_site-card:hover div.wp-menu-image{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' class='gridicon gridicons-house'%3E%3Cpath fill='%23fff' d='M22 9 12 1 2 9v2h2v10h5v-4a3 3 0 1 1 6 0v4h5V11h2z'/%3E%3C/svg%3E")}#adminmenu .toplevel_page_site-card:not(.has-site-icon) .wp-menu-image{background-color:#c3c4c7;height:32px;width:32px}#adminmenu .toplevel_page_site-card:not(.has-site-icon) .wp-menu-image img{height:18px;padding:7px;width:18px}#adminmenu .toplevel_page_site-card a:focus div.wp-menu-image img,#adminmenu .toplevel_page_site-card:hover div.wp-menu-image img{display:none}.site__info .site__title{display:block;font-size:14px;font-weight:400;line-height:1.3}.site__info .site__domain{display:block;font-size:12px;line-height:1.4;margin-top:2px;max-width:95%}.site__info .site__domain,.site__info .site__title{overflow:hidden;white-space:nowrap}.site__info .site__domain:after,.site__info .site__title:after{content:"";display:block;position:absolute;-webkit-touch-callout:none;bottom:0;height:auto;left:0;pointer-events:none;right:auto;top:0;-webkit-user-select:none;user-select:none;width:20%}.site__info>.site__badge{border-radius:12px;clear:both;display:inline-block;font-size:12px;margin-left:3px;margin-top:6px;padding:1px 10px}.site__info>.site__badge.site__badge-staging{background-color:#f0c930;color:#4f3500}.inline-text{display:block!important;left:20px;opacity:.8;position:absolute;top:50%;transform:translateY(-50%)}[class*="toplevel_page_https://wordpress.com/stats/day"] .sidebar-unified__sparkline{float:left;margin-left:8px}.folded #adminmenu a.menu-top{height:31px}.folded #adminmenu li.toplevel_page_site-card a{padding-right:0}@media only screen and (max-width:960px){#adminmenu,#adminmenuback,#adminmenuwrap{width:272px}.auto-fold #adminmenu a[class*=toplevel_page_http].wp-first-item,.wp-responsive-open #adminmenu a.menu-top{height:auto}.auto-fold #adminmenu div.wp-menu-image{width:36px}}@media screen and (min-width:782px) and (max-width:960px){.auto-fold #adminmenu a.menu-top{height:34px}.auto-fold #adminmenu li.toplevel_page_site-card a{height:36px;padding-right:1px}}@media screen and (max-width:782px){#adminmenu li.menu-top .wp-submenu>li>a,.auto-fold #adminmenu li.menu-top .wp-submenu>li>a{padding-right:42px}.wp-responsive-open #wpbody{left:inherit}.wp-responsive-open #wpcontent{margin-right:272px}.auto-fold #adminmenu,.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{width:272px}#adminmenu a.site-switcher,.auto-fold #adminmenu a.site-switcher{font-size:14px}}@media only screen and (max-width:660px){#adminmenu,#adminmenu .wp-submenu,#adminmenuback,#adminmenuwrap,.auto-fold #adminmenu,.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{width:100%;z-index:171}.wp-responsive-open #wpcontent{margin-right:0}.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after,ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu li:hover a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{display:none}.auto-fold #adminmenu li.toplevel_page_site-card a{padding:18px 12px 18px 0}}#view-link-wrap{float:right;margin:0 6px 0 0}.screen-options-tab__wrapper{position:relative}.screen-options-tab__dropdown{background-color:#fff;border:1px solid var(--color-neutral-5);border-radius:4px;box-shadow:0 4px 10px rgba(0,0,0,.102);left:20px;padding:3px;position:absolute;top:37px;width:215px;z-index:9999}@media screen and (max-width:782px){.screen-options-tab__dropdown{left:10px;top:47px}}@media screen and (max-width:600px){.screen-options-tab__dropdown{top:93px}}.screen-switcher:not(:hover) .screen-switcher__button:nth-child(2)>strong{color:var(--wp-admin-theme-color)}.screen-switcher__button,a.screen-switcher__button{background:#0000;border:1px solid #0000;border-radius:4px;color:var(--color-text);cursor:pointer;display:inline-block;font-size:.75rem;line-height:normal;padding:8px;text-align:right;text-decoration:none}.screen-switcher__button:nth-child(2),a.screen-switcher__button:nth-child(2){border-color:var(--wp-admin-theme-color);margin-bottom:4px}.screen-switcher__button:last-child,a.screen-switcher__button:last-child{margin-bottom:0}.screen-switcher__button strong,a.screen-switcher__button strong{display:block;font-size:13px;margin-bottom:4px}.screen-switcher__button:focus>strong,.screen-switcher__button:hover>strong,a.screen-switcher__button:focus>strong,a.screen-switcher__button:hover>strong{color:var(--wp-admin-theme-color)}#adminmenu{display:flex;flex-direction:column}#adminmenu .menu-top[class*="/start?ref=calypso-sidebar"]{order:99999}body:not(.folded) #adminmenu .menu-top[class*="/start?ref=calypso-sidebar"]{padding:8px;width:auto}body:not(.folded) #adminmenu .menu-top[class*="/start?ref=calypso-sidebar"] a{appearance:none;background:#0000;border-color:var(--transparent-button-text-color,currentcolor);border-radius:2px;border-style:solid;border-width:1px;box-sizing:border-box;cursor:pointer;display:flex;font-size:14px;justify-content:center;line-height:22px;margin:0;outline:0;overflow:hidden;padding:8px 14px;text-align:center;text-decoration:none;text-overflow:ellipsis;vertical-align:top}body:not(.folded) #adminmenu .menu-top[class*="/start?ref=calypso-sidebar"] a:hover{box-shadow:none}body:not(.folded) #adminmenu .menu-top[class*="/start?ref=calypso-sidebar"] a .wp-menu-name{padding:0}body:not(.folded) #adminmenu .menu-top[class*="/start?ref=calypso-sidebar"] a .wp-menu-image{display:none} \ No newline at end of file diff --git a/wp-content/plugins/jetpack/modules/masterbar/admin-menu/admin-menu.min.css b/wp-content/plugins/jetpack/modules/masterbar/admin-menu/admin-menu.min.css index 3abccbfe9..c9225dc1e 100644 --- a/wp-content/plugins/jetpack/modules/masterbar/admin-menu/admin-menu.min.css +++ b/wp-content/plugins/jetpack/modules/masterbar/admin-menu/admin-menu.min.css @@ -1 +1 @@ -#adminmenu{margin:0}#wpcontent,#wpfooter{margin-left:272px}#adminmenu,#adminmenu .wp-submenu,#adminmenuback,#adminmenuwrap{width:272px}#adminmenu .wp-submenu{left:272px}#adminmenu .wp-not-current-submenu .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{min-width:272px}@media (min-width:783px){.edit-post-layout .components-editor-notices__snackbar,.interface-interface-skeleton{left:272px}}@media (min-width:961px){.auto-fold .edit-post-layout .components-editor-notices__snackbar,.components-snackbar-list.edit-widgets-notices__snackbar,.jp-dialogue-modern-full__container,body:not(.folded).auto-fold .interface-interface-skeleton{left:272px}.global-notices{max-width:calc(100% - 320px)}}#adminmenu [class*=activity-log] .wp-menu-image img{padding-top:7px}#adminmenu .toplevel_page_site-card .wp-menu-name{margin-left:40px;padding:0}#adminmenu li.toplevel_page_site-card a{padding:10px 0 10px 8px}#adminmenu a.toplevel_page_site-notices:focus,#adminmenu a.toplevel_page_site-notices:hover,#adminmenu li.toplevel_page_site-notices:focus,#adminmenu li.toplevel_page_site-notices:hover{background-color:inherit!important;color:inherit!important}#adminmenu li.toplevel_page_site-notices .wp-menu-image{display:none}#adminmenu .toplevel_page_site-notices .wp-menu-image{background-color:#fff;border-radius:2px}#adminmenu .toplevel_page_site-notices .wp-menu-image:before{background-color:#a7aaad;border-radius:50%;color:#fff;content:"\f534";font-family:dashicons;font-size:20px;line-height:20px;margin:5px;padding:0}#adminmenu .toplevel_page_site-notices:hover .wp-menu-image:before{color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner{align-items:center;border-radius:2px;display:flex;flex-grow:1;flex-wrap:nowrap;font-size:12px;-webkit-hyphens:none;hyphens:none;justify-content:space-between;left:-28px;line-height:1.4;padding:7px 12px;position:relative;width:100%}#adminmenu .toplevel_page_site-notices .upsell_banner .banner__info{margin-right:12px}#adminmenu .toplevel_page_site-notices .upsell_banner .button{border:0;font-size:12px;line-height:12px;min-height:26px;padding:0 7px}#adminmenu .toplevel_page_site-notices .upsell_banner svg.dismissible-card__close-icon{height:24px;margin-left:10px;width:24px}@media screen and (min-width:782px){.folded #adminmenu .toplevel_page_site-notices .wp-menu-image{display:block;width:30px}.folded #adminmenu .toplevel_page_site-notices{align-items:center;display:flex;height:50px;justify-content:center}}@media screen and (min-width:782px) and (max-width:960px){.auto-fold #adminmenu .toplevel_page_site-notices .wp-menu-image{display:block;width:30px}.auto-fold #adminmenu .toplevel_page_site-notices{align-items:center;display:flex;height:50px;justify-content:center}}#adminmenu .site-switcher:hover,#adminmenu .toplevel_page_site-card:hover,#adminmenu .toplevel_page_site-notices:hover{box-shadow:none}#adminmenu .toplevel_page_site-card .wp-menu-image{background-image:none;background-position:50%;background-repeat:no-repeat;background-size:18px 18px;transform:translateZ(0);transition-duration:.2s;transition-property:background-image,background-color}#adminmenu a.toplevel_page_site-card:hover,#adminmenu li.toplevel_page_site-card:hover{background-color:inherit}#adminmenu .toplevel_page_site-card img{opacity:1}#adminmenu .toplevel_page_site-card.has-site-icon img{padding:0}#adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,#adminmenu .toplevel_page_site-card:hover div.wp-menu-image{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' class='gridicon gridicons-house'%3E%3Cpath fill='%23fff' d='M22 9 12 1 2 9v2h2v10h5v-4a3 3 0 1 1 6 0v4h5V11h2z'/%3E%3C/svg%3E")}#adminmenu .toplevel_page_site-card:not(.has-site-icon) .wp-menu-image{background-color:#c3c4c7;height:32px;width:32px}#adminmenu .toplevel_page_site-card:not(.has-site-icon) .wp-menu-image img{height:18px;padding:7px;width:18px}#adminmenu .toplevel_page_site-card a:focus div.wp-menu-image img,#adminmenu .toplevel_page_site-card:hover div.wp-menu-image img{display:none}.site__info .site__title{display:block;font-size:14px;font-weight:400;line-height:1.3}.site__info .site__domain{display:block;font-size:12px;line-height:1.4;margin-top:2px;max-width:95%}.site__info .site__domain,.site__info .site__title{overflow:hidden;white-space:nowrap}.site__info .site__domain:after,.site__info .site__title:after{content:"";display:block;position:absolute;-webkit-touch-callout:none;bottom:0;height:auto;left:auto;pointer-events:none;right:0;top:0;-webkit-user-select:none;user-select:none;width:20%}.site__info>.site__badge{border-radius:12px;clear:both;display:inline-block;font-size:12px;margin-right:3px;margin-top:6px;padding:1px 10px}.site__info>.site__badge.site__badge-staging{background-color:#f0c930;color:#4f3500}.inline-text{display:block!important;opacity:.8;position:absolute;right:20px;top:50%;transform:translateY(-50%)}[class*="toplevel_page_https://wordpress.com/stats/day"] .sidebar-unified__sparkline{float:right;margin-right:8px}.folded #adminmenu a.menu-top{height:31px}.folded #adminmenu li.toplevel_page_site-card a{padding-left:0}@media only screen and (max-width:960px){#adminmenu,#adminmenuback,#adminmenuwrap{width:272px}.auto-fold #adminmenu a[class*=toplevel_page_http].wp-first-item,.wp-responsive-open #adminmenu a.menu-top{height:auto}.auto-fold #adminmenu div.wp-menu-image{width:36px}}@media screen and (min-width:782px) and (max-width:960px){.auto-fold #adminmenu a.menu-top{height:34px}.auto-fold #adminmenu li.toplevel_page_site-card a{height:36px;padding-left:1px}}@media screen and (max-width:782px){#adminmenu li.menu-top .wp-submenu>li>a,.auto-fold #adminmenu li.menu-top .wp-submenu>li>a{padding-left:42px}.wp-responsive-open #wpbody{right:inherit}.wp-responsive-open #wpcontent{margin-left:272px}.auto-fold #adminmenu,.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{width:272px}#adminmenu a.site-switcher,.auto-fold #adminmenu a.site-switcher{font-size:14px}}@media only screen and (max-width:660px){#adminmenu,#adminmenu .wp-submenu,#adminmenuback,#adminmenuwrap,.auto-fold #adminmenu,.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{width:100%;z-index:171}.wp-responsive-open #wpcontent{margin-left:0}.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after,ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu li:hover a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{display:none}.auto-fold #adminmenu li.toplevel_page_site-card a{padding:18px 0 18px 12px}}#view-link-wrap{float:left;margin:0 0 0 6px}.screen-options-tab__wrapper{position:relative}.screen-options-tab__dropdown{background-color:#fff;border:1px solid var(--color-neutral-5);border-radius:4px;box-shadow:0 4px 10px rgba(0,0,0,.102);padding:3px;position:absolute;right:20px;top:37px;width:215px;z-index:9999}@media screen and (max-width:782px){.screen-options-tab__dropdown{right:10px;top:47px}}@media screen and (max-width:600px){.screen-options-tab__dropdown{top:93px}}.screen-switcher:not(:hover) .screen-switcher__button:nth-child(2)>strong{color:var(--wp-admin-theme-color)}.screen-switcher__button,a.screen-switcher__button{background:#0000;border:1px solid #0000;border-radius:4px;color:var(--color-text);cursor:pointer;display:inline-block;font-size:.75rem;line-height:normal;padding:8px;text-align:left;text-decoration:none}.screen-switcher__button:nth-child(2),a.screen-switcher__button:nth-child(2){border-color:var(--wp-admin-theme-color);margin-bottom:4px}.screen-switcher__button:last-child,a.screen-switcher__button:last-child{margin-bottom:0}.screen-switcher__button strong,a.screen-switcher__button strong{display:block;font-size:13px;margin-bottom:4px}.screen-switcher__button:focus>strong,.screen-switcher__button:hover>strong,a.screen-switcher__button:focus>strong,a.screen-switcher__button:hover>strong{color:var(--wp-admin-theme-color)}#adminmenu{display:flex;flex-direction:column}#adminmenu .menu-top[class*="/start?ref=calypso-sidebar"]{order:99999}body:not(.folded) #adminmenu .menu-top[class*="/start?ref=calypso-sidebar"]{padding:8px;width:auto}body:not(.folded) #adminmenu .menu-top[class*="/start?ref=calypso-sidebar"] a{appearance:none;background:#0000;border-color:var(--transparent-button-text-color,currentcolor);border-radius:2px;border-style:solid;border-width:1px;box-sizing:border-box;cursor:pointer;display:flex;font-size:14px;justify-content:center;line-height:22px;margin:0;outline:0;overflow:hidden;padding:8px 14px;text-align:center;text-decoration:none;text-overflow:ellipsis;vertical-align:top}body:not(.folded) #adminmenu .menu-top[class*="/start?ref=calypso-sidebar"] a:hover{box-shadow:none}body:not(.folded) #adminmenu .menu-top[class*="/start?ref=calypso-sidebar"] a .wp-menu-name{padding:0}body:not(.folded) #adminmenu .menu-top[class*="/start?ref=calypso-sidebar"] a .wp-menu-image{display:none} \ No newline at end of file +#adminmenu{margin:0}#wpcontent,#wpfooter{margin-left:272px}#adminmenu,#adminmenu .wp-submenu,#adminmenuback,#adminmenuwrap{width:272px}#adminmenu .wp-submenu{left:272px}#adminmenu .wp-not-current-submenu .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{min-width:272px}@media (min-width:783px){.edit-post-layout .components-editor-notices__snackbar,.interface-interface-skeleton{left:272px}}@media (min-width:961px){.auto-fold .edit-post-layout .components-editor-notices__snackbar,.components-snackbar-list.edit-widgets-notices__snackbar,.jp-dialogue-modern-full__container,body:not(.folded).auto-fold .interface-interface-skeleton{left:272px}.global-notices{max-width:calc(100% - 320px)}}#adminmenu [class*=activity-log] .wp-menu-image img{padding-top:7px}#adminmenu .toplevel_page_site-card .wp-menu-name{margin-left:40px;padding:0}#adminmenu li.toplevel_page_site-card a{padding:10px 0 10px 8px}#adminmenu a.toplevel_page_site-notices:focus,#adminmenu a.toplevel_page_site-notices:hover,#adminmenu li.toplevel_page_site-notices:focus,#adminmenu li.toplevel_page_site-notices:hover{background-color:inherit!important;color:inherit!important}#adminmenu li.toplevel_page_site-notices .wp-menu-image{display:none}#adminmenu .toplevel_page_site-notices .wp-menu-image{background-color:#fff;border-radius:2px}#adminmenu .toplevel_page_site-notices .wp-menu-image:before{background-color:#a7aaad;border-radius:50%;color:#fff;content:"\f534";font-family:dashicons;font-size:20px;line-height:20px;margin:5px;padding:0}#adminmenu .toplevel_page_site-notices:hover .wp-menu-image:before{color:#fff}#adminmenu .toplevel_page_site-notices .upsell_banner{align-items:center;border-radius:2px;display:flex;flex-grow:1;flex-wrap:nowrap;font-size:12px;hyphens:none;justify-content:space-between;left:-28px;line-height:1.4;padding:7px 12px;position:relative;width:100%}#adminmenu .toplevel_page_site-notices .upsell_banner .banner__info{margin-right:12px}#adminmenu .toplevel_page_site-notices .upsell_banner .button{border:0;font-size:12px;line-height:12px;min-height:26px;padding:0 7px}#adminmenu .toplevel_page_site-notices .upsell_banner svg.dismissible-card__close-icon{height:24px;margin-left:10px;width:24px}@media screen and (min-width:782px){.folded #adminmenu .toplevel_page_site-notices .wp-menu-image{display:block;width:30px}.folded #adminmenu .toplevel_page_site-notices{align-items:center;display:flex;height:50px;justify-content:center}}@media screen and (min-width:782px) and (max-width:960px){.auto-fold #adminmenu .toplevel_page_site-notices .wp-menu-image{display:block;width:30px}.auto-fold #adminmenu .toplevel_page_site-notices{align-items:center;display:flex;height:50px;justify-content:center}}#adminmenu .site-switcher:hover,#adminmenu .toplevel_page_site-card:hover,#adminmenu .toplevel_page_site-notices:hover{box-shadow:none}#adminmenu .toplevel_page_site-card .wp-menu-image{background-image:none;background-position:50%;background-repeat:no-repeat;background-size:18px 18px;transform:translateZ(0);transition-duration:.2s;transition-property:background-image,background-color}#adminmenu a.toplevel_page_site-card:hover,#adminmenu li.toplevel_page_site-card:hover{background-color:inherit}#adminmenu .toplevel_page_site-card img{opacity:1}#adminmenu .toplevel_page_site-card.has-site-icon img{padding:0}#adminmenu .toplevel_page_site-card a:focus div.wp-menu-image,#adminmenu .toplevel_page_site-card:hover div.wp-menu-image{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' class='gridicon gridicons-house'%3E%3Cpath fill='%23fff' d='M22 9 12 1 2 9v2h2v10h5v-4a3 3 0 1 1 6 0v4h5V11h2z'/%3E%3C/svg%3E")}#adminmenu .toplevel_page_site-card:not(.has-site-icon) .wp-menu-image{background-color:#c3c4c7;height:32px;width:32px}#adminmenu .toplevel_page_site-card:not(.has-site-icon) .wp-menu-image img{height:18px;padding:7px;width:18px}#adminmenu .toplevel_page_site-card a:focus div.wp-menu-image img,#adminmenu .toplevel_page_site-card:hover div.wp-menu-image img{display:none}.site__info .site__title{display:block;font-size:14px;font-weight:400;line-height:1.3}.site__info .site__domain{display:block;font-size:12px;line-height:1.4;margin-top:2px;max-width:95%}.site__info .site__domain,.site__info .site__title{overflow:hidden;white-space:nowrap}.site__info .site__domain:after,.site__info .site__title:after{content:"";display:block;position:absolute;-webkit-touch-callout:none;bottom:0;height:auto;left:auto;pointer-events:none;right:0;top:0;-webkit-user-select:none;user-select:none;width:20%}.site__info>.site__badge{border-radius:12px;clear:both;display:inline-block;font-size:12px;margin-right:3px;margin-top:6px;padding:1px 10px}.site__info>.site__badge.site__badge-staging{background-color:#f0c930;color:#4f3500}.inline-text{display:block!important;opacity:.8;position:absolute;right:20px;top:50%;transform:translateY(-50%)}[class*="toplevel_page_https://wordpress.com/stats/day"] .sidebar-unified__sparkline{float:right;margin-right:8px}.folded #adminmenu a.menu-top{height:31px}.folded #adminmenu li.toplevel_page_site-card a{padding-left:0}@media only screen and (max-width:960px){#adminmenu,#adminmenuback,#adminmenuwrap{width:272px}.auto-fold #adminmenu a[class*=toplevel_page_http].wp-first-item,.wp-responsive-open #adminmenu a.menu-top{height:auto}.auto-fold #adminmenu div.wp-menu-image{width:36px}}@media screen and (min-width:782px) and (max-width:960px){.auto-fold #adminmenu a.menu-top{height:34px}.auto-fold #adminmenu li.toplevel_page_site-card a{height:36px;padding-left:1px}}@media screen and (max-width:782px){#adminmenu li.menu-top .wp-submenu>li>a,.auto-fold #adminmenu li.menu-top .wp-submenu>li>a{padding-left:42px}.wp-responsive-open #wpbody{right:inherit}.wp-responsive-open #wpcontent{margin-left:272px}.auto-fold #adminmenu,.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{width:272px}#adminmenu a.site-switcher,.auto-fold #adminmenu a.site-switcher{font-size:14px}}@media only screen and (max-width:660px){#adminmenu,#adminmenu .wp-submenu,#adminmenuback,#adminmenuwrap,.auto-fold #adminmenu,.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{width:100%;z-index:171}.wp-responsive-open #wpcontent{margin-left:0}.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after,ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu li:hover a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{display:none}.auto-fold #adminmenu li.toplevel_page_site-card a{padding:18px 0 18px 12px}}#view-link-wrap{float:left;margin:0 0 0 6px}.screen-options-tab__wrapper{position:relative}.screen-options-tab__dropdown{background-color:#fff;border:1px solid var(--color-neutral-5);border-radius:4px;box-shadow:0 4px 10px rgba(0,0,0,.102);padding:3px;position:absolute;right:20px;top:37px;width:215px;z-index:9999}@media screen and (max-width:782px){.screen-options-tab__dropdown{right:10px;top:47px}}@media screen and (max-width:600px){.screen-options-tab__dropdown{top:93px}}.screen-switcher:not(:hover) .screen-switcher__button:nth-child(2)>strong{color:var(--wp-admin-theme-color)}.screen-switcher__button,a.screen-switcher__button{background:#0000;border:1px solid #0000;border-radius:4px;color:var(--color-text);cursor:pointer;display:inline-block;font-size:.75rem;line-height:normal;padding:8px;text-align:left;text-decoration:none}.screen-switcher__button:nth-child(2),a.screen-switcher__button:nth-child(2){border-color:var(--wp-admin-theme-color);margin-bottom:4px}.screen-switcher__button:last-child,a.screen-switcher__button:last-child{margin-bottom:0}.screen-switcher__button strong,a.screen-switcher__button strong{display:block;font-size:13px;margin-bottom:4px}.screen-switcher__button:focus>strong,.screen-switcher__button:hover>strong,a.screen-switcher__button:focus>strong,a.screen-switcher__button:hover>strong{color:var(--wp-admin-theme-color)}#adminmenu{display:flex;flex-direction:column}#adminmenu .menu-top[class*="/start?ref=calypso-sidebar"]{order:99999}body:not(.folded) #adminmenu .menu-top[class*="/start?ref=calypso-sidebar"]{padding:8px;width:auto}body:not(.folded) #adminmenu .menu-top[class*="/start?ref=calypso-sidebar"] a{appearance:none;background:#0000;border-color:var(--transparent-button-text-color,currentcolor);border-radius:2px;border-style:solid;border-width:1px;box-sizing:border-box;cursor:pointer;display:flex;font-size:14px;justify-content:center;line-height:22px;margin:0;outline:0;overflow:hidden;padding:8px 14px;text-align:center;text-decoration:none;text-overflow:ellipsis;vertical-align:top}body:not(.folded) #adminmenu .menu-top[class*="/start?ref=calypso-sidebar"] a:hover{box-shadow:none}body:not(.folded) #adminmenu .menu-top[class*="/start?ref=calypso-sidebar"] a .wp-menu-name{padding:0}body:not(.folded) #adminmenu .menu-top[class*="/start?ref=calypso-sidebar"] a .wp-menu-image{display:none} \ No newline at end of file diff --git a/wp-content/plugins/jetpack/modules/masterbar/admin-menu/load.php b/wp-content/plugins/jetpack/modules/masterbar/admin-menu/load.php index 2e76c3d7a..3dc6ec485 100644 --- a/wp-content/plugins/jetpack/modules/masterbar/admin-menu/load.php +++ b/wp-content/plugins/jetpack/modules/masterbar/admin-menu/load.php @@ -76,6 +76,7 @@ function () { remove_action( 'customize_register', 'Automattic\Jetpack\Dashboard_Customizations\register_css_nudge_control' ); + // @phan-suppress-next-line PhanUndeclaredClassInCallable remove_action( 'customize_register', array( 'Jetpack_Custom_CSS_Enhancements', 'customize_register' ) ); } } diff --git a/wp-content/plugins/jetpack/modules/memberships/class-jetpack-memberships.php b/wp-content/plugins/jetpack/modules/memberships/class-jetpack-memberships.php index 30619a296..70e1567f3 100644 --- a/wp-content/plugins/jetpack/modules/memberships/class-jetpack-memberships.php +++ b/wp-content/plugins/jetpack/modules/memberships/class-jetpack-memberships.php @@ -148,6 +148,14 @@ public static function clear_post_access_level_cache() { 'PLN' => 2.0, 'SEK' => 3.0, 'SGD' => 0.5, + 'CZK' => 15.0, + 'HUF' => 175.0, + 'TWD' => 10.0, + 'IDR' => 0, + 'ILS' => 0, + 'PHP' => 0, + 'RUB' => 0, + 'TRY' => 0, ); /** diff --git a/wp-content/plugins/jetpack/modules/module-headings.php b/wp-content/plugins/jetpack/modules/module-headings.php index e3a8aabd4..fb1ddecbb 100644 --- a/wp-content/plugins/jetpack/modules/module-headings.php +++ b/wp-content/plugins/jetpack/modules/module-headings.php @@ -51,11 +51,6 @@ function jetpack_get_module_i18n( $key ) { 'description' => _x( 'Display different types of content on your site with custom content types.', 'Module Description', 'jetpack' ), ), - 'custom-css' => array( - 'name' => _x( 'Custom CSS', 'Module Name', 'jetpack' ), - 'description' => _x( 'Adds options for CSS preprocessor use, disabling the theme\'s CSS, or custom image width.', 'Module Description', 'jetpack' ), - ), - 'google-fonts' => array( 'name' => _x( 'Google Fonts (Beta)', 'Module Name', 'jetpack' ), 'description' => _x( 'A selection of Google fonts for block enabled themes. This feature is still being developed.', 'Module Description', 'jetpack' ), @@ -292,19 +287,6 @@ function jetpack_get_module_i18n_tag( $key ) { // - modules/shortcodes.php 'Writing' => _x( 'Writing', 'Module Tag', 'jetpack' ), - // Modules with `Appearance` tag: - // - modules/custom-css.php - // - modules/gravatar-hovercards.php - // - modules/infinite-scroll.php - // - modules/photon-cdn.php - // - modules/photon.php - // - modules/seo-tools.php - // - modules/shortcodes.php - // - modules/widget-visibility.php - // - modules/widgets.php - // - modules/wordads.php - 'Appearance' => _x( 'Appearance', 'Module Tag', 'jetpack' ), - // Modules with `Fonts` tag: // - modules/google-fonts.php 'Fonts' => _x( 'Fonts', 'Module Tag', 'jetpack' ), @@ -323,6 +305,18 @@ function jetpack_get_module_i18n_tag( $key ) { // - modules/woocommerce-analytics.php 'Recommended' => _x( 'Recommended', 'Module Tag', 'jetpack' ), + // Modules with `Appearance` tag: + // - modules/gravatar-hovercards.php + // - modules/infinite-scroll.php + // - modules/photon-cdn.php + // - modules/photon.php + // - modules/seo-tools.php + // - modules/shortcodes.php + // - modules/widget-visibility.php + // - modules/widgets.php + // - modules/wordads.php + 'Appearance' => _x( 'Appearance', 'Module Tag', 'jetpack' ), + // Modules with `Developers` tag: // - modules/json-api.php // - modules/sso.php @@ -491,24 +485,6 @@ function jetpack_get_module_info( $key ) { 'additional_search_queries' => 'cpt, custom post types, portfolio, portfolios, testimonial, testimonials', 'plan_classes' => '', ), - 'custom-css' => - array ( - 'name' => 'Custom CSS', - 'description' => 'Adds options for CSS preprocessor use, disabling the theme\'s CSS, or custom image width.', - 'sort' => '2', - 'recommendation_order' => '', - 'introduced' => '1.7', - 'changed' => '', - 'deactivate' => '', - 'free' => '', - 'requires_connection' => 'No', - 'requires_user_connection' => '', - 'auto_activate' => 'No', - 'module_tags' => 'Appearance', - 'feature' => 'Appearance', - 'additional_search_queries' => 'css, customize, custom, style, editor, less, sass, preprocessor, font, mobile, appearance, theme, stylesheet', - 'plan_classes' => '', - ), 'google-fonts' => array ( 'name' => 'Google Fonts (Beta)', diff --git a/wp-content/plugins/jetpack/modules/module-info.php b/wp-content/plugins/jetpack/modules/module-info.php index ad2593daa..8e3638242 100644 --- a/wp-content/plugins/jetpack/modules/module-info.php +++ b/wp-content/plugins/jetpack/modules/module-info.php @@ -342,26 +342,6 @@ function jetpack_carousel_more_info() { } add_action( 'jetpack_module_more_info_carousel', 'jetpack_carousel_more_info' ); -/** - * Custom CSS support link. - */ -function jetpack_custom_css_more_button() { - echo esc_url( Redirect::get_url( 'jetpack-support-custom-css' ) ); -} -add_action( 'jetpack_learn_more_button_custom-css', 'jetpack_custom_css_more_button' ); - -/** - * Custom CSS description. - */ -function jetpack_custom_css_more_info() { - esc_html_e( - "Add to or replace your theme's CSS including mobile styles, LESS, and SaSS. - Includes syntax coloring, auto-indentation, and immediate CSS validation.", - 'jetpack' - ); -} -add_action( 'jetpack_module_more_info_custom-css', 'jetpack_custom_css_more_info' ); - /** * Masterbar support link. */ diff --git a/wp-content/plugins/jetpack/modules/notes.php b/wp-content/plugins/jetpack/modules/notes.php index 0b1f3bed6..eee9643a3 100644 --- a/wp-content/plugins/jetpack/modules/notes.php +++ b/wp-content/plugins/jetpack/modules/notes.php @@ -173,7 +173,7 @@ public function admin_bar_menu() { return; } - $wpcom_locale = get_locale(); + $user_locale = get_user_locale(); if ( ! class_exists( 'GP_Locales' ) ) { if ( defined( 'JETPACK__GLOTPRESS_LOCALES_PATH' ) && file_exists( JETPACK__GLOTPRESS_LOCALES_PATH ) ) { @@ -182,9 +182,9 @@ public function admin_bar_menu() { } if ( class_exists( 'GP_Locales' ) ) { - $wpcom_locale_object = GP_Locales::by_field( 'wp_locale', $wpcom_locale ); - if ( $wpcom_locale_object instanceof GP_Locale ) { - $wpcom_locale = $wpcom_locale_object->slug; + $jetpack_locale_object = GP_Locales::by_field( 'slug', $user_locale ); + if ( $jetpack_locale_object instanceof GP_Locale ) { + $user_locale = $jetpack_locale_object->slug; } } @@ -196,7 +196,7 @@ public function admin_bar_menu() { 'id' => 'notes', 'title' => $title, 'meta' => array( - 'html' => '' . $third_party_cookie_check_iframe, + 'html' => '' . $third_party_cookie_check_iframe, 'class' => 'menupop', ), 'parent' => 'top-secondary', diff --git a/wp-content/plugins/jetpack/modules/photon-cdn/jetpack-manifest.php b/wp-content/plugins/jetpack/modules/photon-cdn/jetpack-manifest.php index a4d96e530..d4d275ccb 100644 --- a/wp-content/plugins/jetpack/modules/photon-cdn/jetpack-manifest.php +++ b/wp-content/plugins/jetpack/modules/photon-cdn/jetpack-manifest.php @@ -5,7 +5,7 @@ 0 => '3rd-party/debug-bar/debug-bar.css', 1 => '3rd-party/debug-bar/debug-bar.js', 2 => '_inc/accessible-focus.js', - 3 => '_inc/blocks/7.js', + 3 => '_inc/blocks/92.js', 4 => '_inc/blocks/ai-chat/view.css', 5 => '_inc/blocks/ai-chat/view.js', 6 => '_inc/blocks/ai-chat/view.rtl.css', @@ -137,369 +137,350 @@ 132 => '_inc/build/comment-likes/comment-like-count.min.js', 133 => '_inc/build/crowdsignal-shortcode.min.js', 134 => '_inc/build/crowdsignal-survey.min.js', - 135 => '_inc/build/custom-css/custom-css/js/core-customizer-css-preview.min.js', - 136 => '_inc/build/custom-css/custom-css/js/core-customizer-css.core-4.9.min.js', - 137 => '_inc/build/custom-post-types/js/many-items.min.js', - 138 => '_inc/build/custom-post-types/js/menu-checkboxes.min.js', - 139 => '_inc/build/custom-post-types/js/nova-drag-drop.min.js', - 140 => '_inc/build/deprecate.min.js', - 141 => '_inc/build/facebook-embed.min.js', - 142 => '_inc/build/gallery-settings.min.js', - 143 => '_inc/build/infinite-scroll/infinity-customizer.min.js', - 144 => '_inc/build/infinite-scroll/infinity.min.js', - 145 => '_inc/build/jetpack-admin.min.js', - 146 => '_inc/build/jetpack-deactivate-dialog.min.js', - 147 => '_inc/build/jetpack-modules.min.js', - 148 => '_inc/build/jetpack-modules.models.min.js', - 149 => '_inc/build/jetpack-modules.views.min.js', - 150 => '_inc/build/likes/post-count-jetpack.min.js', - 151 => '_inc/build/likes/post-count.min.js', - 152 => '_inc/build/likes/queuehandler.min.js', - 153 => '_inc/build/masterbar/admin-color-schemes/colors/aquatic/colors.css', - 154 => '_inc/build/masterbar/admin-color-schemes/colors/aquatic/sidebar-notice.css', - 155 => '_inc/build/masterbar/admin-color-schemes/colors/blue/colors.css', - 156 => '_inc/build/masterbar/admin-color-schemes/colors/blue/sidebar-notice.css', - 157 => '_inc/build/masterbar/admin-color-schemes/colors/classic-blue/colors.css', - 158 => '_inc/build/masterbar/admin-color-schemes/colors/classic-blue/sidebar-notice.css', - 159 => '_inc/build/masterbar/admin-color-schemes/colors/classic-bright/colors.css', - 160 => '_inc/build/masterbar/admin-color-schemes/colors/classic-bright/sidebar-notice.css', - 161 => '_inc/build/masterbar/admin-color-schemes/colors/classic-dark/colors.css', - 162 => '_inc/build/masterbar/admin-color-schemes/colors/classic-dark/sidebar-notice.css', - 163 => '_inc/build/masterbar/admin-color-schemes/colors/coffee/colors.css', - 164 => '_inc/build/masterbar/admin-color-schemes/colors/coffee/sidebar-notice.css', - 165 => '_inc/build/masterbar/admin-color-schemes/colors/contrast/colors.css', - 166 => '_inc/build/masterbar/admin-color-schemes/colors/contrast/sidebar-notice.css', - 167 => '_inc/build/masterbar/admin-color-schemes/colors/ectoplasm/colors.css', - 168 => '_inc/build/masterbar/admin-color-schemes/colors/ectoplasm/sidebar-notice.css', - 169 => '_inc/build/masterbar/admin-color-schemes/colors/fresh/colors.css', - 170 => '_inc/build/masterbar/admin-color-schemes/colors/fresh/sidebar-notice.css', - 171 => '_inc/build/masterbar/admin-color-schemes/colors/light/colors.css', - 172 => '_inc/build/masterbar/admin-color-schemes/colors/light/sidebar-notice.css', - 173 => '_inc/build/masterbar/admin-color-schemes/colors/midnight/colors.css', - 174 => '_inc/build/masterbar/admin-color-schemes/colors/midnight/sidebar-notice.css', - 175 => '_inc/build/masterbar/admin-color-schemes/colors/modern/colors.css', - 176 => '_inc/build/masterbar/admin-color-schemes/colors/modern/sidebar-notice.css', - 177 => '_inc/build/masterbar/admin-color-schemes/colors/nightfall/colors.css', - 178 => '_inc/build/masterbar/admin-color-schemes/colors/nightfall/sidebar-notice.css', - 179 => '_inc/build/masterbar/admin-color-schemes/colors/ocean/colors.css', - 180 => '_inc/build/masterbar/admin-color-schemes/colors/ocean/sidebar-notice.css', - 181 => '_inc/build/masterbar/admin-color-schemes/colors/powder-snow/colors.css', - 182 => '_inc/build/masterbar/admin-color-schemes/colors/powder-snow/sidebar-notice.css', - 183 => '_inc/build/masterbar/admin-color-schemes/colors/sakura/colors.css', - 184 => '_inc/build/masterbar/admin-color-schemes/colors/sakura/sidebar-notice.css', - 185 => '_inc/build/masterbar/admin-color-schemes/colors/sunrise/colors.css', - 186 => '_inc/build/masterbar/admin-color-schemes/colors/sunrise/sidebar-notice.css', - 187 => '_inc/build/masterbar/admin-color-schemes/colors/sunset/colors.css', - 188 => '_inc/build/masterbar/admin-color-schemes/colors/sunset/sidebar-notice.css', - 189 => '_inc/build/masterbar/admin-menu/admin-menu.min.js', - 190 => '_inc/build/masterbar/masterbar/tracks-events.min.js', - 191 => '_inc/build/masterbar/nudges/additional-css/js/additional-css.min.js', - 192 => '_inc/build/plugins-page.css', - 193 => '_inc/build/plugins-page.js', - 194 => '_inc/build/plugins-page.rtl.css', - 195 => '_inc/build/polldaddy-shortcode.min.js', - 196 => '_inc/build/related-posts/related-posts-customizer.min.js', - 197 => '_inc/build/related-posts/related-posts.min.js', - 198 => '_inc/build/scan/admin-bar-notice.min.js', - 199 => '_inc/build/sharedaddy/admin-sharing.min.js', - 200 => '_inc/build/sharedaddy/sharing.min.js', - 201 => '_inc/build/shortcodes/js/brightcove.min.js', - 202 => '_inc/build/shortcodes/js/jmpress.min.js', - 203 => '_inc/build/shortcodes/js/main.min.js', - 204 => '_inc/build/shortcodes/js/quiz.min.js', - 205 => '_inc/build/shortcodes/js/recipes-printthis.min.js', - 206 => '_inc/build/shortcodes/js/recipes.min.js', - 207 => '_inc/build/shortcodes/js/slideshow-shortcode.min.js', - 208 => '_inc/build/style.min.css', - 209 => '_inc/build/style.min.rtl.css', - 210 => '_inc/build/theme-tools/responsive-videos/responsive-videos.css', - 211 => '_inc/build/theme-tools/responsive-videos/responsive-videos.min.js', - 212 => '_inc/build/theme-tools/responsive-videos/responsive-videos.rtl.css', - 213 => '_inc/build/tiled-gallery/tiled-gallery/tiled-gallery.min.js', - 214 => '_inc/build/twitter-timeline.min.js', - 215 => '_inc/build/videopress/js/editor-view.min.js', - 216 => '_inc/build/videopress/js/gutenberg-video-upload.min.js', - 217 => '_inc/build/videopress/js/media-video-widget-extensions.min.js', - 218 => '_inc/build/videopress/js/videopress-add-resumable-upload-support.min.js', - 219 => '_inc/build/videopress/js/videopress-plupload.min.js', - 220 => '_inc/build/videopress/js/videopress-uploader.min.js', - 221 => '_inc/build/widget-visibility/editor/index.css', - 222 => '_inc/build/widget-visibility/editor/index.js', - 223 => '_inc/build/widget-visibility/editor/index.rtl.css', - 224 => '_inc/build/widget-visibility/widget-conditions/widget-conditions.min.js', - 225 => '_inc/build/widgets/contact-info/contact-info-admin.min.js', - 226 => '_inc/build/widgets/customizer-utils.min.js', - 227 => '_inc/build/widgets/eu-cookie-law/eu-cookie-law-admin.min.js', - 228 => '_inc/build/widgets/eu-cookie-law/eu-cookie-law.min.js', - 229 => '_inc/build/widgets/gallery/js/admin.min.js', - 230 => '_inc/build/widgets/gallery/js/gallery.min.js', - 231 => '_inc/build/widgets/google-translate/google-translate.min.js', - 232 => '_inc/build/widgets/milestone/admin.min.js', - 233 => '_inc/build/widgets/milestone/milestone.min.js', - 234 => '_inc/build/widgets/simple-payments/customizer.min.js', - 235 => '_inc/build/widgets/social-icons/social-icons-admin.min.js', - 236 => '_inc/build/widgets/twitter-timeline-admin.min.js', - 237 => '_inc/build/wordads/js/adflow-loader.min.js', - 238 => '_inc/build/wordads/js/cmp-loader.min.js', - 239 => '_inc/build/wordads/js/wordads-ccpa.min.js', - 240 => '_inc/crowdsignal-shortcode.js', - 241 => '_inc/crowdsignal-survey.js', - 242 => '_inc/deprecate.js', - 243 => '_inc/facebook-embed.js', - 244 => '_inc/gallery-settings.js', - 245 => '_inc/genericons/genericons.css', - 246 => '_inc/genericons/genericons/genericons.css', - 247 => '_inc/genericons/genericons/rtl/genericons-rtl.css', - 248 => '_inc/jetpack-admin.js', - 249 => '_inc/jetpack-deactivate-dialog.js', - 250 => '_inc/jetpack-modules.js', - 251 => '_inc/jetpack-modules.models.js', - 252 => '_inc/jetpack-modules.views.js', - 253 => '_inc/polldaddy-shortcode.js', - 254 => '_inc/social-logos/social-logos.css', - 255 => '_inc/social-logos/social-logos.min.css', - 256 => '_inc/twitter-timeline.js', - 257 => 'css/cleanslate-rtl.css', - 258 => 'css/cleanslate-rtl.min.css', - 259 => 'css/cleanslate.css', - 260 => 'css/cleanslate.min.css', - 261 => 'css/dashboard-widget-rtl.css', - 262 => 'css/dashboard-widget-rtl.min.css', - 263 => 'css/dashboard-widget.css', - 264 => 'css/dashboard-widget.min.css', - 265 => 'css/jetpack-admin-rtl.css', - 266 => 'css/jetpack-admin-rtl.min.css', - 267 => 'css/jetpack-admin.css', - 268 => 'css/jetpack-admin.min.css', - 269 => 'css/jetpack-deactivate-dialog-rtl.css', - 270 => 'css/jetpack-deactivate-dialog-rtl.min.css', - 271 => 'css/jetpack-deactivate-dialog.css', - 272 => 'css/jetpack-deactivate-dialog.min.css', - 273 => 'css/jetpack-rtl.css', - 274 => 'css/jetpack.css', - 275 => 'css/wordads-ccpa-rtl.css', - 276 => 'css/wordads-ccpa-rtl.min.css', - 277 => 'css/wordads-ccpa.css', - 278 => 'css/wordads-ccpa.min.css', - 279 => 'modules/carousel/jetpack-carousel-rtl.css', - 280 => 'modules/carousel/jetpack-carousel.css', - 281 => 'modules/carousel/jetpack-carousel.js', - 282 => 'modules/carousel/swiper-bundle.css', - 283 => 'modules/carousel/swiper-bundle.js', - 284 => 'modules/comment-likes/admin-style.css', - 285 => 'modules/comment-likes/comment-like-count.js', - 286 => 'modules/comments/subscription-modal-on-comment/subscription-modal.css', - 287 => 'modules/comments/subscription-modal-on-comment/subscription-modal.js', - 288 => 'modules/custom-css/csstidy/cssparse-rtl.css', - 289 => 'modules/custom-css/csstidy/cssparse-rtl.min.css', - 290 => 'modules/custom-css/csstidy/cssparse.css', - 291 => 'modules/custom-css/csstidy/cssparse.min.css', - 292 => 'modules/custom-css/csstidy/cssparsed-rtl.css', - 293 => 'modules/custom-css/csstidy/cssparsed-rtl.min.css', - 294 => 'modules/custom-css/csstidy/cssparsed.css', - 295 => 'modules/custom-css/csstidy/cssparsed.min.css', - 296 => 'modules/custom-css/custom-css/css/blank.css', - 297 => 'modules/custom-css/custom-css/css/codemirror-rtl.css', - 298 => 'modules/custom-css/custom-css/css/codemirror-rtl.min.css', - 299 => 'modules/custom-css/custom-css/css/codemirror.css', - 300 => 'modules/custom-css/custom-css/css/codemirror.min.css', - 301 => 'modules/custom-css/custom-css/css/customizer-control.css', - 302 => 'modules/custom-css/custom-css/js/codemirror.min.js', - 303 => 'modules/custom-css/custom-css/js/core-customizer-css-preview.js', - 304 => 'modules/custom-css/custom-css/js/core-customizer-css.core-4.9.js', - 305 => 'modules/custom-post-types/css/edit-items.css', - 306 => 'modules/custom-post-types/css/many-items.css', - 307 => 'modules/custom-post-types/css/nova-font.css', - 308 => 'modules/custom-post-types/css/nova.css', - 309 => 'modules/custom-post-types/css/portfolio-shortcode.css', - 310 => 'modules/custom-post-types/css/testimonial-shortcode.css', - 311 => 'modules/custom-post-types/js/many-items.js', - 312 => 'modules/custom-post-types/js/menu-checkboxes.js', - 313 => 'modules/custom-post-types/js/nova-drag-drop.js', - 314 => 'modules/gravatar/gravatar-hovercards-amp.css', - 315 => 'modules/infinite-scroll/infinity-customizer.js', - 316 => 'modules/infinite-scroll/infinity.css', - 317 => 'modules/infinite-scroll/infinity.js', - 318 => 'modules/infinite-scroll/themes/twentyeleven.css', - 319 => 'modules/infinite-scroll/themes/twentyfifteen-rtl.css', - 320 => 'modules/infinite-scroll/themes/twentyfifteen.css', - 321 => 'modules/infinite-scroll/themes/twentyfourteen.css', - 322 => 'modules/infinite-scroll/themes/twentyseventeen-rtl.css', - 323 => 'modules/infinite-scroll/themes/twentyseventeen.css', - 324 => 'modules/infinite-scroll/themes/twentysixteen-rtl.css', - 325 => 'modules/infinite-scroll/themes/twentysixteen.css', - 326 => 'modules/infinite-scroll/themes/twentyten.css', - 327 => 'modules/infinite-scroll/themes/twentythirteen.css', - 328 => 'modules/infinite-scroll/themes/twentytwelve.css', - 329 => 'modules/likes/post-count-jetpack.js', - 330 => 'modules/likes/post-count.js', - 331 => 'modules/likes/queuehandler.js', - 332 => 'modules/likes/style.css', - 333 => 'modules/masterbar/admin-menu/admin-menu-nav-unification-rtl.css', - 334 => 'modules/masterbar/admin-menu/admin-menu-nav-unification-rtl.min.css', - 335 => 'modules/masterbar/admin-menu/admin-menu-nav-unification.css', - 336 => 'modules/masterbar/admin-menu/admin-menu-nav-unification.min.css', - 337 => 'modules/masterbar/admin-menu/admin-menu-rtl.css', - 338 => 'modules/masterbar/admin-menu/admin-menu-rtl.min.css', - 339 => 'modules/masterbar/admin-menu/admin-menu.css', - 340 => 'modules/masterbar/admin-menu/admin-menu.js', - 341 => 'modules/masterbar/admin-menu/admin-menu.min.css', - 342 => 'modules/masterbar/inline-help/inline-help.css', - 343 => 'modules/masterbar/masterbar/overrides.css', - 344 => 'modules/masterbar/masterbar/tracks-events.js', - 345 => 'modules/masterbar/nudges/additional-css/css/additional-css.css', - 346 => 'modules/masterbar/nudges/additional-css/js/additional-css.js', - 347 => 'modules/masterbar/wp-posts-list/wp-posts-list.css', - 348 => 'modules/plugin-search/plugin-search.css', - 349 => 'modules/plugin-search/plugin-search.js', - 350 => 'modules/post-by-email/post-by-email-rtl.css', - 351 => 'modules/post-by-email/post-by-email-rtl.min.css', - 352 => 'modules/post-by-email/post-by-email.css', - 353 => 'modules/post-by-email/post-by-email.js', - 354 => 'modules/post-by-email/post-by-email.min.css', - 355 => 'modules/related-posts/related-posts-customizer.js', - 356 => 'modules/related-posts/related-posts-rtl.css', - 357 => 'modules/related-posts/related-posts.css', - 358 => 'modules/related-posts/related-posts.js', - 359 => 'modules/related-posts/rtl/related-posts-rtl.css', - 360 => 'modules/scan/admin-bar-notice.js', - 361 => 'modules/sharedaddy/admin-sharing-rtl.css', - 362 => 'modules/sharedaddy/admin-sharing-rtl.min.css', - 363 => 'modules/sharedaddy/admin-sharing.css', - 364 => 'modules/sharedaddy/admin-sharing.js', - 365 => 'modules/sharedaddy/admin-sharing.min.css', - 366 => 'modules/sharedaddy/amp-sharing.css', - 367 => 'modules/sharedaddy/sharing.css', - 368 => 'modules/sharedaddy/sharing.js', - 369 => 'modules/shortcodes/css/gravatar-amp.css', - 370 => 'modules/shortcodes/css/quiz.css', - 371 => 'modules/shortcodes/css/recipes-print-rtl.css', - 372 => 'modules/shortcodes/css/recipes-print-rtl.min.css', - 373 => 'modules/shortcodes/css/recipes-print.css', - 374 => 'modules/shortcodes/css/recipes-print.min.css', - 375 => 'modules/shortcodes/css/recipes-rtl.css', - 376 => 'modules/shortcodes/css/recipes-rtl.min.css', - 377 => 'modules/shortcodes/css/recipes.css', - 378 => 'modules/shortcodes/css/recipes.min.css', - 379 => 'modules/shortcodes/css/slideshow-shortcode-rtl.css', - 380 => 'modules/shortcodes/css/slideshow-shortcode-rtl.min.css', - 381 => 'modules/shortcodes/css/slideshow-shortcode.css', - 382 => 'modules/shortcodes/css/slideshow-shortcode.min.css', - 383 => 'modules/shortcodes/css/style.css', - 384 => 'modules/shortcodes/js/brightcove.js', - 385 => 'modules/shortcodes/js/jmpress.js', - 386 => 'modules/shortcodes/js/jquery.cycle.min.js', - 387 => 'modules/shortcodes/js/main.js', - 388 => 'modules/shortcodes/js/quiz.js', - 389 => 'modules/shortcodes/js/recipes-printthis.js', - 390 => 'modules/shortcodes/js/recipes.js', - 391 => 'modules/shortcodes/js/slideshow-shortcode.js', - 392 => 'modules/simple-payments/paypal-express-checkout.js', - 393 => 'modules/simple-payments/simple-payments.css', - 394 => 'modules/sso/jetpack-sso-admin-create-user-rtl.css', - 395 => 'modules/sso/jetpack-sso-admin-create-user-rtl.min.css', - 396 => 'modules/sso/jetpack-sso-admin-create-user.css', - 397 => 'modules/sso/jetpack-sso-admin-create-user.js', - 398 => 'modules/sso/jetpack-sso-admin-create-user.min.css', - 399 => 'modules/sso/jetpack-sso-login-rtl.css', - 400 => 'modules/sso/jetpack-sso-login-rtl.min.css', - 401 => 'modules/sso/jetpack-sso-login.css', - 402 => 'modules/sso/jetpack-sso-login.js', - 403 => 'modules/sso/jetpack-sso-login.min.css', - 404 => 'modules/sso/jetpack-sso-users.js', - 405 => 'modules/subscriptions/subscribe-modal/subscribe-modal.css', - 406 => 'modules/subscriptions/subscribe-modal/subscribe-modal.js', - 407 => 'modules/subscriptions/subscribe-overlay/subscribe-overlay.css', - 408 => 'modules/subscriptions/subscribe-overlay/subscribe-overlay.js', - 409 => 'modules/subscriptions/subscriptions.css', - 410 => 'modules/theme-tools/compat/twentyfifteen-rtl.css', - 411 => 'modules/theme-tools/compat/twentyfifteen.css', - 412 => 'modules/theme-tools/compat/twentyfourteen-rtl.css', - 413 => 'modules/theme-tools/compat/twentyfourteen.css', - 414 => 'modules/theme-tools/compat/twentynineteen-rtl.css', - 415 => 'modules/theme-tools/compat/twentynineteen.css', - 416 => 'modules/theme-tools/compat/twentysixteen-rtl.css', - 417 => 'modules/theme-tools/compat/twentysixteen.css', - 418 => 'modules/theme-tools/compat/twentytwenty-rtl.css', - 419 => 'modules/theme-tools/compat/twentytwenty.css', - 420 => 'modules/theme-tools/compat/twentytwentyone-rtl.css', - 421 => 'modules/theme-tools/compat/twentytwentyone.css', - 422 => 'modules/theme-tools/content-options/customizer.js', - 423 => 'modules/theme-tools/js/suggest.js', - 424 => 'modules/theme-tools/responsive-videos/responsive-videos.css', - 425 => 'modules/theme-tools/responsive-videos/responsive-videos.js', - 426 => 'modules/theme-tools/site-logo/js/site-logo-header-text.js', - 427 => 'modules/theme-tools/site-logo/js/site-logo-header-text.min.js', - 428 => 'modules/theme-tools/social-menu/social-menu.css', - 429 => 'modules/tiled-gallery/tiled-gallery/rtl/tiled-gallery-rtl.css', - 430 => 'modules/tiled-gallery/tiled-gallery/tiled-gallery-rtl.css', - 431 => 'modules/tiled-gallery/tiled-gallery/tiled-gallery.css', - 432 => 'modules/tiled-gallery/tiled-gallery/tiled-gallery.js', - 433 => 'modules/videopress/css/editor-rtl.css', - 434 => 'modules/videopress/css/editor-rtl.min.css', - 435 => 'modules/videopress/css/editor.css', - 436 => 'modules/videopress/css/editor.min.css', - 437 => 'modules/videopress/css/videopress-editor-style-rtl.css', - 438 => 'modules/videopress/css/videopress-editor-style-rtl.min.css', - 439 => 'modules/videopress/css/videopress-editor-style.css', - 440 => 'modules/videopress/css/videopress-editor-style.min.css', - 441 => 'modules/videopress/js/editor-view.js', - 442 => 'modules/videopress/js/gutenberg-video-upload.js', - 443 => 'modules/videopress/js/media-video-widget-extensions.js', - 444 => 'modules/videopress/js/videopress-add-resumable-upload-support.js', - 445 => 'modules/videopress/js/videopress-plupload.js', - 446 => 'modules/videopress/js/videopress-uploader.js', - 447 => 'modules/videopress/videopress-admin-rtl.css', - 448 => 'modules/videopress/videopress-admin-rtl.min.css', - 449 => 'modules/videopress/videopress-admin.css', - 450 => 'modules/videopress/videopress-admin.min.css', - 451 => 'modules/widget-visibility/widget-conditions/rtl/widget-conditions-rtl.css', - 452 => 'modules/widget-visibility/widget-conditions/widget-conditions-rtl.css', - 453 => 'modules/widget-visibility/widget-conditions/widget-conditions-rtl.min.css', - 454 => 'modules/widget-visibility/widget-conditions/widget-conditions.css', - 455 => 'modules/widget-visibility/widget-conditions/widget-conditions.js', - 456 => 'modules/widget-visibility/widget-conditions/widget-conditions.min.css', - 457 => 'modules/widgets/authors/style.css', - 458 => 'modules/widgets/contact-info/contact-info-admin.js', - 459 => 'modules/widgets/contact-info/contact-info-map.css', - 460 => 'modules/widgets/customizer-controls.css', - 461 => 'modules/widgets/customizer-utils.js', - 462 => 'modules/widgets/eu-cookie-law/eu-cookie-law-admin.js', - 463 => 'modules/widgets/eu-cookie-law/eu-cookie-law.js', - 464 => 'modules/widgets/eu-cookie-law/style.css', - 465 => 'modules/widgets/facebook-likebox/style.css', - 466 => 'modules/widgets/flickr/style.css', - 467 => 'modules/widgets/gallery/css/admin-rtl.css', - 468 => 'modules/widgets/gallery/css/admin-rtl.min.css', - 469 => 'modules/widgets/gallery/css/admin.css', - 470 => 'modules/widgets/gallery/css/admin.min.css', - 471 => 'modules/widgets/gallery/css/rtl/admin-rtl.css', - 472 => 'modules/widgets/gallery/js/admin.js', - 473 => 'modules/widgets/gallery/js/gallery.js', - 474 => 'modules/widgets/goodreads/css/goodreads.css', - 475 => 'modules/widgets/goodreads/css/rtl/goodreads-rtl.css', - 476 => 'modules/widgets/google-translate/google-translate.js', - 477 => 'modules/widgets/gravatar-profile.css', - 478 => 'modules/widgets/image-widget/style.css', - 479 => 'modules/widgets/instagram/instagram.css', - 480 => 'modules/widgets/milestone/admin.js', - 481 => 'modules/widgets/milestone/milestone-widget.css', - 482 => 'modules/widgets/milestone/milestone.js', - 483 => 'modules/widgets/milestone/style-admin.css', - 484 => 'modules/widgets/my-community/style.css', - 485 => 'modules/widgets/simple-payments/customizer.css', - 486 => 'modules/widgets/simple-payments/customizer.js', - 487 => 'modules/widgets/simple-payments/style.css', - 488 => 'modules/widgets/social-icons/social-icons-admin.css', - 489 => 'modules/widgets/social-icons/social-icons-admin.js', - 490 => 'modules/widgets/social-icons/social-icons.css', - 491 => 'modules/widgets/social-media-icons/style.css', - 492 => 'modules/widgets/top-posts/style.css', - 493 => 'modules/widgets/twitter-timeline-admin.js', - 494 => 'modules/widgets/wordpress-post-widget/style.css', - 495 => 'modules/wordads/css/style.css', - 496 => 'modules/wordads/js/adflow-loader.js', - 497 => 'modules/wordads/js/cmp-loader.js', - 498 => 'modules/wordads/js/wordads-ccpa.js', - 499 => 'modules/wpgroho.js', + 135 => '_inc/build/custom-post-types/js/many-items.min.js', + 136 => '_inc/build/custom-post-types/js/menu-checkboxes.min.js', + 137 => '_inc/build/custom-post-types/js/nova-drag-drop.min.js', + 138 => '_inc/build/deprecate.min.js', + 139 => '_inc/build/facebook-embed.min.js', + 140 => '_inc/build/gallery-settings.min.js', + 141 => '_inc/build/infinite-scroll/infinity-customizer.min.js', + 142 => '_inc/build/infinite-scroll/infinity.min.js', + 143 => '_inc/build/jetpack-admin.min.js', + 144 => '_inc/build/jetpack-deactivate-dialog.min.js', + 145 => '_inc/build/jetpack-modules.min.js', + 146 => '_inc/build/jetpack-modules.models.min.js', + 147 => '_inc/build/jetpack-modules.views.min.js', + 148 => '_inc/build/likes/post-count-jetpack.min.js', + 149 => '_inc/build/likes/post-count.min.js', + 150 => '_inc/build/likes/queuehandler.min.js', + 151 => '_inc/build/masterbar/admin-color-schemes/colors/aquatic/colors.css', + 152 => '_inc/build/masterbar/admin-color-schemes/colors/aquatic/sidebar-notice.css', + 153 => '_inc/build/masterbar/admin-color-schemes/colors/blue/colors.css', + 154 => '_inc/build/masterbar/admin-color-schemes/colors/blue/sidebar-notice.css', + 155 => '_inc/build/masterbar/admin-color-schemes/colors/classic-blue/colors.css', + 156 => '_inc/build/masterbar/admin-color-schemes/colors/classic-blue/sidebar-notice.css', + 157 => '_inc/build/masterbar/admin-color-schemes/colors/classic-bright/colors.css', + 158 => '_inc/build/masterbar/admin-color-schemes/colors/classic-bright/sidebar-notice.css', + 159 => '_inc/build/masterbar/admin-color-schemes/colors/classic-dark/colors.css', + 160 => '_inc/build/masterbar/admin-color-schemes/colors/classic-dark/sidebar-notice.css', + 161 => '_inc/build/masterbar/admin-color-schemes/colors/coffee/colors.css', + 162 => '_inc/build/masterbar/admin-color-schemes/colors/coffee/sidebar-notice.css', + 163 => '_inc/build/masterbar/admin-color-schemes/colors/contrast/colors.css', + 164 => '_inc/build/masterbar/admin-color-schemes/colors/contrast/sidebar-notice.css', + 165 => '_inc/build/masterbar/admin-color-schemes/colors/ectoplasm/colors.css', + 166 => '_inc/build/masterbar/admin-color-schemes/colors/ectoplasm/sidebar-notice.css', + 167 => '_inc/build/masterbar/admin-color-schemes/colors/fresh/colors.css', + 168 => '_inc/build/masterbar/admin-color-schemes/colors/fresh/sidebar-notice.css', + 169 => '_inc/build/masterbar/admin-color-schemes/colors/light/colors.css', + 170 => '_inc/build/masterbar/admin-color-schemes/colors/light/sidebar-notice.css', + 171 => '_inc/build/masterbar/admin-color-schemes/colors/midnight/colors.css', + 172 => '_inc/build/masterbar/admin-color-schemes/colors/midnight/sidebar-notice.css', + 173 => '_inc/build/masterbar/admin-color-schemes/colors/modern/colors.css', + 174 => '_inc/build/masterbar/admin-color-schemes/colors/modern/sidebar-notice.css', + 175 => '_inc/build/masterbar/admin-color-schemes/colors/nightfall/colors.css', + 176 => '_inc/build/masterbar/admin-color-schemes/colors/nightfall/sidebar-notice.css', + 177 => '_inc/build/masterbar/admin-color-schemes/colors/ocean/colors.css', + 178 => '_inc/build/masterbar/admin-color-schemes/colors/ocean/sidebar-notice.css', + 179 => '_inc/build/masterbar/admin-color-schemes/colors/powder-snow/colors.css', + 180 => '_inc/build/masterbar/admin-color-schemes/colors/powder-snow/sidebar-notice.css', + 181 => '_inc/build/masterbar/admin-color-schemes/colors/sakura/colors.css', + 182 => '_inc/build/masterbar/admin-color-schemes/colors/sakura/sidebar-notice.css', + 183 => '_inc/build/masterbar/admin-color-schemes/colors/sunrise/colors.css', + 184 => '_inc/build/masterbar/admin-color-schemes/colors/sunrise/sidebar-notice.css', + 185 => '_inc/build/masterbar/admin-color-schemes/colors/sunset/colors.css', + 186 => '_inc/build/masterbar/admin-color-schemes/colors/sunset/sidebar-notice.css', + 187 => '_inc/build/masterbar/admin-menu/admin-menu.min.js', + 188 => '_inc/build/masterbar/masterbar/tracks-events.min.js', + 189 => '_inc/build/masterbar/nudges/additional-css/js/additional-css.min.js', + 190 => '_inc/build/plugins-page.css', + 191 => '_inc/build/plugins-page.js', + 192 => '_inc/build/plugins-page.rtl.css', + 193 => '_inc/build/polldaddy-shortcode.min.js', + 194 => '_inc/build/related-posts/related-posts-customizer.min.js', + 195 => '_inc/build/related-posts/related-posts.min.js', + 196 => '_inc/build/scan/admin-bar-notice.min.js', + 197 => '_inc/build/sharedaddy/admin-sharing.min.js', + 198 => '_inc/build/sharedaddy/sharing.min.js', + 199 => '_inc/build/shortcodes/js/brightcove.min.js', + 200 => '_inc/build/shortcodes/js/jmpress.min.js', + 201 => '_inc/build/shortcodes/js/main.min.js', + 202 => '_inc/build/shortcodes/js/quiz.min.js', + 203 => '_inc/build/shortcodes/js/recipes-printthis.min.js', + 204 => '_inc/build/shortcodes/js/recipes.min.js', + 205 => '_inc/build/shortcodes/js/slideshow-shortcode.min.js', + 206 => '_inc/build/style.min.css', + 207 => '_inc/build/style.min.rtl.css', + 208 => '_inc/build/theme-tools/responsive-videos/responsive-videos.css', + 209 => '_inc/build/theme-tools/responsive-videos/responsive-videos.min.js', + 210 => '_inc/build/theme-tools/responsive-videos/responsive-videos.rtl.css', + 211 => '_inc/build/tiled-gallery/tiled-gallery/tiled-gallery.min.js', + 212 => '_inc/build/twitter-timeline.min.js', + 213 => '_inc/build/videopress/js/editor-view.min.js', + 214 => '_inc/build/videopress/js/gutenberg-video-upload.min.js', + 215 => '_inc/build/videopress/js/media-video-widget-extensions.min.js', + 216 => '_inc/build/videopress/js/videopress-add-resumable-upload-support.min.js', + 217 => '_inc/build/videopress/js/videopress-plupload.min.js', + 218 => '_inc/build/videopress/js/videopress-uploader.min.js', + 219 => '_inc/build/widget-visibility/editor/index.css', + 220 => '_inc/build/widget-visibility/editor/index.js', + 221 => '_inc/build/widget-visibility/editor/index.rtl.css', + 222 => '_inc/build/widget-visibility/widget-conditions/widget-conditions.min.js', + 223 => '_inc/build/widgets/contact-info/contact-info-admin.min.js', + 224 => '_inc/build/widgets/customizer-utils.min.js', + 225 => '_inc/build/widgets/eu-cookie-law/eu-cookie-law-admin.min.js', + 226 => '_inc/build/widgets/eu-cookie-law/eu-cookie-law.min.js', + 227 => '_inc/build/widgets/gallery/js/admin.min.js', + 228 => '_inc/build/widgets/gallery/js/gallery.min.js', + 229 => '_inc/build/widgets/google-translate/google-translate.min.js', + 230 => '_inc/build/widgets/milestone/admin.min.js', + 231 => '_inc/build/widgets/milestone/milestone.min.js', + 232 => '_inc/build/widgets/simple-payments/customizer.min.js', + 233 => '_inc/build/widgets/social-icons/social-icons-admin.min.js', + 234 => '_inc/build/widgets/twitter-timeline-admin.min.js', + 235 => '_inc/build/wordads/js/adflow-loader.min.js', + 236 => '_inc/build/wordads/js/cmp-loader.min.js', + 237 => '_inc/build/wordads/js/wordads-ccpa.min.js', + 238 => '_inc/crowdsignal-shortcode.js', + 239 => '_inc/crowdsignal-survey.js', + 240 => '_inc/deprecate.js', + 241 => '_inc/facebook-embed.js', + 242 => '_inc/gallery-settings.js', + 243 => '_inc/genericons/genericons.css', + 244 => '_inc/genericons/genericons/genericons.css', + 245 => '_inc/genericons/genericons/rtl/genericons-rtl.css', + 246 => '_inc/jetpack-admin.js', + 247 => '_inc/jetpack-deactivate-dialog.js', + 248 => '_inc/jetpack-modules.js', + 249 => '_inc/jetpack-modules.models.js', + 250 => '_inc/jetpack-modules.views.js', + 251 => '_inc/polldaddy-shortcode.js', + 252 => '_inc/social-logos/social-logos.css', + 253 => '_inc/social-logos/social-logos.min.css', + 254 => '_inc/twitter-timeline.js', + 255 => 'css/cleanslate-rtl.css', + 256 => 'css/cleanslate-rtl.min.css', + 257 => 'css/cleanslate.css', + 258 => 'css/cleanslate.min.css', + 259 => 'css/dashboard-widget-rtl.css', + 260 => 'css/dashboard-widget-rtl.min.css', + 261 => 'css/dashboard-widget.css', + 262 => 'css/dashboard-widget.min.css', + 263 => 'css/jetpack-admin-rtl.css', + 264 => 'css/jetpack-admin-rtl.min.css', + 265 => 'css/jetpack-admin.css', + 266 => 'css/jetpack-admin.min.css', + 267 => 'css/jetpack-deactivate-dialog-rtl.css', + 268 => 'css/jetpack-deactivate-dialog-rtl.min.css', + 269 => 'css/jetpack-deactivate-dialog.css', + 270 => 'css/jetpack-deactivate-dialog.min.css', + 271 => 'css/jetpack-rtl.css', + 272 => 'css/jetpack.css', + 273 => 'css/wordads-ccpa-rtl.css', + 274 => 'css/wordads-ccpa-rtl.min.css', + 275 => 'css/wordads-ccpa.css', + 276 => 'css/wordads-ccpa.min.css', + 277 => 'modules/carousel/jetpack-carousel-rtl.css', + 278 => 'modules/carousel/jetpack-carousel.css', + 279 => 'modules/carousel/jetpack-carousel.js', + 280 => 'modules/carousel/swiper-bundle.css', + 281 => 'modules/carousel/swiper-bundle.js', + 282 => 'modules/comment-likes/admin-style.css', + 283 => 'modules/comment-likes/comment-like-count.js', + 284 => 'modules/comments/subscription-modal-on-comment/subscription-modal.css', + 285 => 'modules/comments/subscription-modal-on-comment/subscription-modal.js', + 286 => 'modules/custom-post-types/css/edit-items.css', + 287 => 'modules/custom-post-types/css/many-items.css', + 288 => 'modules/custom-post-types/css/nova-font.css', + 289 => 'modules/custom-post-types/css/nova.css', + 290 => 'modules/custom-post-types/css/portfolio-shortcode.css', + 291 => 'modules/custom-post-types/css/testimonial-shortcode.css', + 292 => 'modules/custom-post-types/js/many-items.js', + 293 => 'modules/custom-post-types/js/menu-checkboxes.js', + 294 => 'modules/custom-post-types/js/nova-drag-drop.js', + 295 => 'modules/gravatar/gravatar-hovercards-amp.css', + 296 => 'modules/infinite-scroll/infinity-customizer.js', + 297 => 'modules/infinite-scroll/infinity.css', + 298 => 'modules/infinite-scroll/infinity.js', + 299 => 'modules/infinite-scroll/themes/twentyeleven.css', + 300 => 'modules/infinite-scroll/themes/twentyfifteen-rtl.css', + 301 => 'modules/infinite-scroll/themes/twentyfifteen.css', + 302 => 'modules/infinite-scroll/themes/twentyfourteen.css', + 303 => 'modules/infinite-scroll/themes/twentyseventeen-rtl.css', + 304 => 'modules/infinite-scroll/themes/twentyseventeen.css', + 305 => 'modules/infinite-scroll/themes/twentysixteen-rtl.css', + 306 => 'modules/infinite-scroll/themes/twentysixteen.css', + 307 => 'modules/infinite-scroll/themes/twentyten.css', + 308 => 'modules/infinite-scroll/themes/twentythirteen.css', + 309 => 'modules/infinite-scroll/themes/twentytwelve.css', + 310 => 'modules/likes/post-count-jetpack.js', + 311 => 'modules/likes/post-count.js', + 312 => 'modules/likes/queuehandler.js', + 313 => 'modules/likes/style.css', + 314 => 'modules/masterbar/admin-menu/admin-menu-nav-unification-rtl.css', + 315 => 'modules/masterbar/admin-menu/admin-menu-nav-unification-rtl.min.css', + 316 => 'modules/masterbar/admin-menu/admin-menu-nav-unification.css', + 317 => 'modules/masterbar/admin-menu/admin-menu-nav-unification.min.css', + 318 => 'modules/masterbar/admin-menu/admin-menu-rtl.css', + 319 => 'modules/masterbar/admin-menu/admin-menu-rtl.min.css', + 320 => 'modules/masterbar/admin-menu/admin-menu.css', + 321 => 'modules/masterbar/admin-menu/admin-menu.js', + 322 => 'modules/masterbar/admin-menu/admin-menu.min.css', + 323 => 'modules/masterbar/inline-help/inline-help.css', + 324 => 'modules/masterbar/masterbar/overrides.css', + 325 => 'modules/masterbar/masterbar/tracks-events.js', + 326 => 'modules/masterbar/nudges/additional-css/css/additional-css.css', + 327 => 'modules/masterbar/nudges/additional-css/js/additional-css.js', + 328 => 'modules/masterbar/wp-posts-list/wp-posts-list.css', + 329 => 'modules/plugin-search/plugin-search.css', + 330 => 'modules/plugin-search/plugin-search.js', + 331 => 'modules/post-by-email/post-by-email-rtl.css', + 332 => 'modules/post-by-email/post-by-email-rtl.min.css', + 333 => 'modules/post-by-email/post-by-email.css', + 334 => 'modules/post-by-email/post-by-email.js', + 335 => 'modules/post-by-email/post-by-email.min.css', + 336 => 'modules/related-posts/related-posts-customizer.js', + 337 => 'modules/related-posts/related-posts-rtl.css', + 338 => 'modules/related-posts/related-posts.css', + 339 => 'modules/related-posts/related-posts.js', + 340 => 'modules/related-posts/rtl/related-posts-rtl.css', + 341 => 'modules/scan/admin-bar-notice.js', + 342 => 'modules/sharedaddy/admin-sharing-rtl.css', + 343 => 'modules/sharedaddy/admin-sharing-rtl.min.css', + 344 => 'modules/sharedaddy/admin-sharing.css', + 345 => 'modules/sharedaddy/admin-sharing.js', + 346 => 'modules/sharedaddy/admin-sharing.min.css', + 347 => 'modules/sharedaddy/amp-sharing.css', + 348 => 'modules/sharedaddy/sharing.css', + 349 => 'modules/sharedaddy/sharing.js', + 350 => 'modules/shortcodes/css/gravatar-amp.css', + 351 => 'modules/shortcodes/css/quiz.css', + 352 => 'modules/shortcodes/css/recipes-print-rtl.css', + 353 => 'modules/shortcodes/css/recipes-print-rtl.min.css', + 354 => 'modules/shortcodes/css/recipes-print.css', + 355 => 'modules/shortcodes/css/recipes-print.min.css', + 356 => 'modules/shortcodes/css/recipes-rtl.css', + 357 => 'modules/shortcodes/css/recipes-rtl.min.css', + 358 => 'modules/shortcodes/css/recipes.css', + 359 => 'modules/shortcodes/css/recipes.min.css', + 360 => 'modules/shortcodes/css/slideshow-shortcode-rtl.css', + 361 => 'modules/shortcodes/css/slideshow-shortcode-rtl.min.css', + 362 => 'modules/shortcodes/css/slideshow-shortcode.css', + 363 => 'modules/shortcodes/css/slideshow-shortcode.min.css', + 364 => 'modules/shortcodes/css/style.css', + 365 => 'modules/shortcodes/js/brightcove.js', + 366 => 'modules/shortcodes/js/jmpress.js', + 367 => 'modules/shortcodes/js/jquery.cycle.min.js', + 368 => 'modules/shortcodes/js/main.js', + 369 => 'modules/shortcodes/js/quiz.js', + 370 => 'modules/shortcodes/js/recipes-printthis.js', + 371 => 'modules/shortcodes/js/recipes.js', + 372 => 'modules/shortcodes/js/slideshow-shortcode.js', + 373 => 'modules/simple-payments/paypal-express-checkout.js', + 374 => 'modules/simple-payments/simple-payments.css', + 375 => 'modules/sso/jetpack-sso-admin-create-user-rtl.css', + 376 => 'modules/sso/jetpack-sso-admin-create-user-rtl.min.css', + 377 => 'modules/sso/jetpack-sso-admin-create-user.css', + 378 => 'modules/sso/jetpack-sso-admin-create-user.js', + 379 => 'modules/sso/jetpack-sso-admin-create-user.min.css', + 380 => 'modules/sso/jetpack-sso-login-rtl.css', + 381 => 'modules/sso/jetpack-sso-login-rtl.min.css', + 382 => 'modules/sso/jetpack-sso-login.css', + 383 => 'modules/sso/jetpack-sso-login.js', + 384 => 'modules/sso/jetpack-sso-login.min.css', + 385 => 'modules/sso/jetpack-sso-users.js', + 386 => 'modules/subscriptions/subscribe-modal/subscribe-modal.css', + 387 => 'modules/subscriptions/subscribe-modal/subscribe-modal.js', + 388 => 'modules/subscriptions/subscribe-overlay/subscribe-overlay.css', + 389 => 'modules/subscriptions/subscribe-overlay/subscribe-overlay.js', + 390 => 'modules/subscriptions/subscriptions.css', + 391 => 'modules/theme-tools/compat/twentyfifteen-rtl.css', + 392 => 'modules/theme-tools/compat/twentyfifteen.css', + 393 => 'modules/theme-tools/compat/twentyfourteen-rtl.css', + 394 => 'modules/theme-tools/compat/twentyfourteen.css', + 395 => 'modules/theme-tools/compat/twentynineteen-rtl.css', + 396 => 'modules/theme-tools/compat/twentynineteen.css', + 397 => 'modules/theme-tools/compat/twentysixteen-rtl.css', + 398 => 'modules/theme-tools/compat/twentysixteen.css', + 399 => 'modules/theme-tools/compat/twentytwenty-rtl.css', + 400 => 'modules/theme-tools/compat/twentytwenty.css', + 401 => 'modules/theme-tools/compat/twentytwentyone-rtl.css', + 402 => 'modules/theme-tools/compat/twentytwentyone.css', + 403 => 'modules/theme-tools/content-options/customizer.js', + 404 => 'modules/theme-tools/js/suggest.js', + 405 => 'modules/theme-tools/responsive-videos/responsive-videos.css', + 406 => 'modules/theme-tools/responsive-videos/responsive-videos.js', + 407 => 'modules/theme-tools/site-logo/js/site-logo-header-text.js', + 408 => 'modules/theme-tools/site-logo/js/site-logo-header-text.min.js', + 409 => 'modules/theme-tools/social-menu/social-menu.css', + 410 => 'modules/tiled-gallery/tiled-gallery/rtl/tiled-gallery-rtl.css', + 411 => 'modules/tiled-gallery/tiled-gallery/tiled-gallery-rtl.css', + 412 => 'modules/tiled-gallery/tiled-gallery/tiled-gallery.css', + 413 => 'modules/tiled-gallery/tiled-gallery/tiled-gallery.js', + 414 => 'modules/videopress/css/editor-rtl.css', + 415 => 'modules/videopress/css/editor-rtl.min.css', + 416 => 'modules/videopress/css/editor.css', + 417 => 'modules/videopress/css/editor.min.css', + 418 => 'modules/videopress/css/videopress-editor-style-rtl.css', + 419 => 'modules/videopress/css/videopress-editor-style-rtl.min.css', + 420 => 'modules/videopress/css/videopress-editor-style.css', + 421 => 'modules/videopress/css/videopress-editor-style.min.css', + 422 => 'modules/videopress/js/editor-view.js', + 423 => 'modules/videopress/js/gutenberg-video-upload.js', + 424 => 'modules/videopress/js/media-video-widget-extensions.js', + 425 => 'modules/videopress/js/videopress-add-resumable-upload-support.js', + 426 => 'modules/videopress/js/videopress-plupload.js', + 427 => 'modules/videopress/js/videopress-uploader.js', + 428 => 'modules/videopress/videopress-admin-rtl.css', + 429 => 'modules/videopress/videopress-admin-rtl.min.css', + 430 => 'modules/videopress/videopress-admin.css', + 431 => 'modules/videopress/videopress-admin.min.css', + 432 => 'modules/widget-visibility/widget-conditions/rtl/widget-conditions-rtl.css', + 433 => 'modules/widget-visibility/widget-conditions/widget-conditions-rtl.css', + 434 => 'modules/widget-visibility/widget-conditions/widget-conditions-rtl.min.css', + 435 => 'modules/widget-visibility/widget-conditions/widget-conditions.css', + 436 => 'modules/widget-visibility/widget-conditions/widget-conditions.js', + 437 => 'modules/widget-visibility/widget-conditions/widget-conditions.min.css', + 438 => 'modules/widgets/authors/style.css', + 439 => 'modules/widgets/contact-info/contact-info-admin.js', + 440 => 'modules/widgets/contact-info/contact-info-map.css', + 441 => 'modules/widgets/customizer-controls.css', + 442 => 'modules/widgets/customizer-utils.js', + 443 => 'modules/widgets/eu-cookie-law/eu-cookie-law-admin.js', + 444 => 'modules/widgets/eu-cookie-law/eu-cookie-law.js', + 445 => 'modules/widgets/eu-cookie-law/style.css', + 446 => 'modules/widgets/facebook-likebox/style.css', + 447 => 'modules/widgets/flickr/style.css', + 448 => 'modules/widgets/gallery/css/admin-rtl.css', + 449 => 'modules/widgets/gallery/css/admin-rtl.min.css', + 450 => 'modules/widgets/gallery/css/admin.css', + 451 => 'modules/widgets/gallery/css/admin.min.css', + 452 => 'modules/widgets/gallery/css/rtl/admin-rtl.css', + 453 => 'modules/widgets/gallery/js/admin.js', + 454 => 'modules/widgets/gallery/js/gallery.js', + 455 => 'modules/widgets/goodreads/css/goodreads.css', + 456 => 'modules/widgets/goodreads/css/rtl/goodreads-rtl.css', + 457 => 'modules/widgets/google-translate/google-translate.js', + 458 => 'modules/widgets/gravatar-profile.css', + 459 => 'modules/widgets/image-widget/style.css', + 460 => 'modules/widgets/instagram/instagram.css', + 461 => 'modules/widgets/milestone/admin.js', + 462 => 'modules/widgets/milestone/milestone-widget.css', + 463 => 'modules/widgets/milestone/milestone.js', + 464 => 'modules/widgets/milestone/style-admin.css', + 465 => 'modules/widgets/my-community/style.css', + 466 => 'modules/widgets/simple-payments/customizer.css', + 467 => 'modules/widgets/simple-payments/customizer.js', + 468 => 'modules/widgets/simple-payments/style.css', + 469 => 'modules/widgets/social-icons/social-icons-admin.css', + 470 => 'modules/widgets/social-icons/social-icons-admin.js', + 471 => 'modules/widgets/social-icons/social-icons.css', + 472 => 'modules/widgets/social-media-icons/style.css', + 473 => 'modules/widgets/top-posts/style.css', + 474 => 'modules/widgets/twitter-timeline-admin.js', + 475 => 'modules/widgets/wordpress-post-widget/style.css', + 476 => 'modules/wordads/css/style.css', + 477 => 'modules/wordads/js/adflow-loader.js', + 478 => 'modules/wordads/js/cmp-loader.js', + 479 => 'modules/wordads/js/wordads-ccpa.js', + 480 => 'modules/wpgroho.js', ); diff --git a/wp-content/plugins/jetpack/modules/scan/class-admin-sidebar-link.php b/wp-content/plugins/jetpack/modules/scan/class-admin-sidebar-link.php index 925b1050b..2c78af6ba 100644 --- a/wp-content/plugins/jetpack/modules/scan/class-admin-sidebar-link.php +++ b/wp-content/plugins/jetpack/modules/scan/class-admin-sidebar-link.php @@ -7,6 +7,7 @@ namespace Automattic\Jetpack\Scan; +use Automattic\Jetpack\Admin_UI\Admin_Menu; use Automattic\Jetpack\My_Jetpack\Products\Backup; use Automattic\Jetpack\Redirect; use Automattic\Jetpack\Status\Host; @@ -68,22 +69,37 @@ public function maybe_add_admin_link() { } if ( $this->should_show_scan() ) { - $menu_label = __( 'Scan', 'jetpack' ); - $url = Redirect::get_url( 'calypso-scanner' ); - add_submenu_page( 'jetpack', $menu_label, esc_html( $menu_label ) . ' ', 'manage_options', esc_url( $url ), null, $this->get_link_offset() ); + Admin_Menu::add_menu( + __( 'Scan', 'jetpack' ), + __( 'Scan', 'jetpack' ) . ' ', + 'manage_options', + esc_url( Redirect::get_url( 'cloud-scan-history-wp-menu' ) ), + null, + $this->get_link_offset() + ); } // Add scan item which shows history page only. This is mutally exclusive from the scan item above and is only shown for Atomic sitse. if ( $this->should_show_scan_history_only() ) { - $menu_label = __( 'Scan', 'jetpack' ); - $url = Redirect::get_url( 'cloud-scan-history-wp-menu' ); - add_submenu_page( 'jetpack', $menu_label, esc_html( $menu_label ) . ' ', 'manage_options', esc_url( $url ), null, $this->get_link_offset() ); + Admin_Menu::add_menu( + __( 'Scan', 'jetpack' ), + __( 'Scan', 'jetpack' ) . ' ', + 'manage_options', + esc_url( Redirect::get_url( 'cloud-scan-history-wp-menu' ) ), + null, + $this->get_link_offset() + ); } if ( $this->should_show_backup() ) { - $menu_label = __( 'VaultPress', 'jetpack' ); - $url = Redirect::get_url( 'calypso-backups' ); - add_submenu_page( 'jetpack', $menu_label, esc_html( $menu_label ) . ' ', 'manage_options', esc_url( $url ), null, $this->get_link_offset() ); + Admin_Menu::add_menu( + __( 'VaultPress', 'jetpack' ), + __( 'VaultPress', 'jetpack' ) . ' ', + 'manage_options', + esc_url( Redirect::get_url( 'calypso-backups' ) ), + null, + $this->get_link_offset() + ); } } @@ -96,7 +112,7 @@ public function maybe_add_admin_link() { */ private function get_link_offset() { global $submenu; - $offset = 0; + $offset = 9; if ( ! array_key_exists( 'jetpack', $submenu ) ) { return $offset; diff --git a/wp-content/plugins/jetpack/modules/sharedaddy/images/loading.gif b/wp-content/plugins/jetpack/modules/sharedaddy/images/loading.gif index 85b99d46b9911ba53a792d716d9f688f3bb3c784..b2a0ad0ae7d6e29d6a07162e5173689a24bc16c4 100644 GIT binary patch literal 1423 zcmb`GZA?>F7{||j<@Da$_VO~QNV;1D1GB@*MphK@-nO&_0V_DiHiIozsfq(F5*#x6 z!sWeCC)>I$b1)=BGqbV8#LTf=naGUJ$hP=tA?P+~_CavbF!y2X;%wr+?|e8Pf6xE? z&i}C$TaEcH7O>zU1D2MSMn^}_ojZ5s%9Zoy&)>Ll9?$FLOma#~4FR#{6=G^B~H`vpy zI$y`Vc@tT023Us6p+GRI1fm`cr2!i3UsK;ah;K7P51y`QZXuYOqPR6j!Cs4q;GP}? zIaMMm6xhdvZ(plrHzAUMihGT8em+)7zs+Ds$RQ`#Ip!6fM5X_YssuCuq*W3dEw6QM7Fzk1XYuq1p+`QkDZNPdxT^D)H28%Dizi2rzX$tWCoTxz2);0^Z zRip`z7(>ez5ZQtnKpAc3I~uY$<$yUMFyk>Km1n#larwoW*&{a%RjWp$egSIEcAJH8 z-e3t;l+GJ-Kr?{BRRRT)p3bNf3kQtx?2B!Y4e-<>;xFex^A)8WrH^*#K0>NfkU=&Va=W6(y^W2%CbfqFu|Xqmf` z77T^iRFRT+j?wf@34o8J^~Yt`n2f4tI?;W`_nXDY_0tU`{OVBSvE!%QKh;ih-(1)> zK_B2pvnSj&WI;yI-0f30J`Z_0%4&3c$`iHQ5@HotFG(V3HPGPT%g}RH%4q z27o^Gr$e_5mrqtb_Rapa`SP`V16dS|#agPim|Jj=1T!lmPmYCkX);V7~z(XS8w z&0GG0q?#fT6yR}HEUJzt{{>{8pT<*~t!7lC}zssi~@ zi)?BrvD;l?)INJMDi!CkW7{%!Mv@9~O4K2ma%Dnb?l9E!`=aTNQas6ud#iWB*&R(! zs|NskQYb;1n)@P4-~SyEO?3FktHhoAkFvl_-5<#Bsb5|@n|#dfLHug_#X9ObT{F|% zycTvve;K#K_Sbj6MOVE_H2fzfBCnK6_ERW{i+na5ps3$GtSSq=RD%+wYs;{ss8PFa mn%{f;&+74N-DI?^Z^Ex|Z7?*ZlvyMxIpHo=jlxC&Z2AXqT!@_j literal 2530 zcmb8xdrVVT90%}oAH9#>bK6p?cF>G=h0@JhTLdf!(gIdN1QeV+L;)2XD9^zNN@xod zwcvQjRvj8}y3J)yFv=3A2@i*l5Fc|hs2f3R;^QAN{$aL%*eO}IEP(~izxV$0$@lmB zp0hT=YKq8{00}@xHO(cjNl%Njq^=3k8whNA8mRstISPn@&imc_Tf_3@%d4xaj~qF2 z`t<3uXU|@|c=5`WE2E>Mw{G3KfB*i(#Kf~_&tAQH_4e)C>6t?woVxLBCtLOMhuB(t zGPLP@xf$T%5Zyz3iOuKI^?SO*zNFJ?wrL@=YKNznIpw!L(PPjKYQ7%}eBCama_c91pIJ1~(b1Kal`fZSz8V+OJY|r^QHxE6+WMoDB(^~{XdW=!#+uo_ zaF>U{k0Hho~yN%NrSyV`soxiBvd>cj#}5&$KDA)3{S^?ffCPkeDi5Vo>T8sy}Wj_Hf}N$J0Hz& zv|)_<-f+~-Hi-jgzIkG5vY*T|>7-8J0U*@$d8~ScFqA)f4R7yaDBs3j(<2>@V?*ZD zy6{Vy+~KLc_m5He=9(fsy~0c&4a-*{&i)i(02j`@8?In8dBM!Y(Znu4jtn@VMj|y5 zrTNa5ki}vtEiGN(#07>Rk#HaVI5ZB4@@yk%765mBN(yieTXgm{oK}vXn!h0oZG3gj;>>W?MbZnG6Q_cX~h&<^+R)8g9 zSd!4lZEm4K#ma0{aTpMHv%wr`1VF@rrKl5H7Hyn$;=;nh3JVMEcKbqhXnqO(3z}-# zu=v1OV7q%OY`*dVI>Y}97i4s2yl$S zmSto?fO|=u8h;vSPKY2zqaEs;LlhJgv~%aqwzjtUie_4FUNiT>r-& zOO#{4cBb6f^ zov;AUp?UAne>@_GHz5+(221Xlve$OHK)tvvi!~l<%)zr4PhU@ z(CY^us$O5!${6Pje5gy?*WtA2j>{<;$_PvVQNKa&69IX)a|Fw5>C&=WQ6s37gabVh SjHs`-`=fdj^ILtus=om5Wbpz3 diff --git a/wp-content/plugins/jetpack/modules/sharedaddy/images/smart-digg@2x.png b/wp-content/plugins/jetpack/modules/sharedaddy/images/smart-digg@2x.png index af7f809f7dfdea830aa9745b465e390ebb15ebf6..e4026fb7ca1c2f2e6339c58522bd8cd358696950 100644 GIT binary patch delta 801 zcmV++1K#}92-66VFAw?YwEyn7?%u4vv52^Bvmfdg@I zag!(kLVt6|kz4=(0?kQ8K~#8N?U?1V&?JNQ`OVei6JuAap1RLhwAUABzKgM|mDJJd{qBNxb4G|pfkCrf z?Zk&Bf_vbID0UScVC(cP|HEUw_t$V1y83k^)#LP{Grq$Rd0mIsjI-$B0jY z#$@He&fvJ1+8YGHLx3F$24KN@X~bCM@B$dJlEXluTrfs~>Ew}9+4w1C5kpqq+0-7h zuts_*n5YM)JQ$k?3nupuv+~&x?8YcC;hK_cWW@BEU@Bsj$HljRbPiyR2w3)T~uXR zsVQAc&#{Aj(qVwD$>!6ttb`1i29TM7#jqki3JigPCFQ1*aFeBS#UEf7+L`9lm-xnT zkIkVj0mDIRWx2#+&&j~Np5)a<1#Xxg!-8yp32uSVul^p}R8|VzSJQBxIED)SQ2a&u za0pk^`0!PNmA}NB@C94_*)v{k{~6f^JNC7SV5=?dd^0aqI@*h~51MxkHQQOxKE1j; f(YTAd&Xbj2HUzy&7yrC=00000NkvXXu0mjfyyT0U delta 802 zcmV+-1Ks@72-FCWFAwhCtoiA*|L(ZBtAoC=h><=v261t5P*6~jcP9hH#Ke)Lfdi+f zr;{iFLVwdOZrK0;0?tW9K~#8N?U-eg<1h?{O<^uCGaWNCGcz;&{~vI&PHuOaCbyZr z&Sd8H{oq)#>pYb$I|=*p_S%Ww*wv_}_KOwv=F-d$HFhA{|VR*Sm=3vS$p8g>R_j%D1SP$O)!shyQJCY+^P)oeC* zjRlOF6O3!0KK32I1nl5CXg`46-hg5;ySGkS&ZbRu{vUuzwV^3s{O?7DqOnMejz^Jxu3q=MgEc?o!2&%>=!Q8kh>gCBgC0UlZ0#qo z5fQ_z@O7vYISe+JodSeqG!g9mt3KG*wSPPqAfz}*4lGu9K~D!Fi{T5f0l`MCG2qjn zDOkf`XK}lj+80I9BLq7f^}(XakrCsGCv#w!l@bjs$c08Bm;jF+%EiBuj~Hd;-7T## z2j@tP1XC5k$b)@{!J_p8gRFc$0J~WPrhH426-G={1TzsU-7daIpz{c}8)~_!B!7hz z7@7^rN=Z9>DVQ99xw$n~42HUcV5r4BnD7L`2uy$1O*Unv3#C&G7DH)!u~`s_>no=q zE1A*tKl|9BF6an?t?BBsQCW$ybsC^70!z_KWHFe+E+HN3IEb`33gfm3>|&ENkB9i+ zNSZK5QXUL9QipPhr-4UcK}YinRc`_&QUb#tW4m;aFf4x_+fr645t?CSDAXp!VXXcl zG3X-AFd_O%!3qxX8a%<4KlY4QJ1-+UV8_4J5p1==F4Xg*N{hWb_ppASp=MhP?DOj@ gz1n@aYdu~04Xdff@9*i1zW@LL07*qoM6N<$g6d{;1ONa4 diff --git a/wp-content/plugins/jetpack/modules/sharedaddy/images/smart-facebook@2x.png b/wp-content/plugins/jetpack/modules/sharedaddy/images/smart-facebook@2x.png index 2e237a05b3fe66898fd42ca19c73c89d2b2ed6a3..f63e59bf60c4776b6441d7b99dc3258847d9e3be 100644 GIT binary patch delta 575 zcmV-F0>J&029pMmK_~b4`pVJYik!TmugJE*)U3G9)7jLo z^^s_ze`(0%V*mgF?MXyIRCr$P*4J*^KoEw}{IiW+-Mu@t_uhMX{|CxoXF-J~l{Fwb zx{$vsYDDl*#1PPxb?hh-pV5133hPLGM(~pUd!Ng^nQ$W!pd}|lJSvQ>YmRf7MsRosXR`03$$v4UrRos0fEdWOPP` z4MQcFbHVSyP3|n(>I6vthD#oxWMK^7INV*X01DHjJP-U9+~8g}ELXBr!&W%QAEs$B zPUI#aUyx1#RZIbj!g~jACX>l*^XkdTRwrycRk;A8GDa>;Vf8A3Q4kqoS8K<^DEw{b ze{e7ujYbcL4?eeGk>%;-0;}eZiKG!G6%dv%3SURvlQt}o0+)+8hh3qRtzpt4TBTG1 zm>9f^x*J`vR3w0H!eP0ZFpD9I!I*d24T}t*373F%np(d&4^|BRaeEuw@#DM0r~iPd z1*hIR1CN0;4oe$1!F_$Ux3%DP%EH#DeTRKd|DBF9Ebbg>P`ML|59J8S4N5 delta 576 zcmV-G0>Ax}29ySnK_|Ar)XLG{ik!TmugLfK`mDIl?(p@%$=S`;l|2Xe?gY|yD{KWbW$*ACf3Ln6?YwV=0T=-SY>1oyL`gU#BBL`h zY#1uZECs&>H@($0)di6L4wnUhl7%6B!*F-G0w}B&QNJxNP){mT)-|-%2qIG5v@|H z089+tMb))7SV{`O*5NQ*b(qBv#b7KtZHGk$P=`yvI!%ploGly8i%Eg>)<{=+1u)Pow6`Bf2t18{Bc@`9m156i^BSchc~+3V_=}v04TD? zqlPUCu)Ki%YM~TBarmc)4?1B>~>fHv4B-JK~&f=KN|#uDM@;zlZzj z0zNv^2;A52)%kyeuYjAc3f^B8{O-ew;Nv*l|5R`CkNM~4{7+&H`vsradY-pB4x$$T O0000', $data['name'], $from_email ); - $headers[] = sprintf( 'Reply-To: %1$s <%2$s>', $data['name'], $data['source'] ); - - // Make sure to pass the title through the normal sharing filters. - $title = $data['sharing_source']->get_share_title( $data['post']->ID ); - - /** - * Filter the Sharing Email Send Post Subject. - * - * @module sharedaddy - * - * @since 5.8.0 - * - * @param string $var Sharing Email Send Post Subject. Default is "Shared Post". - */ - $subject = apply_filters( 'wp_sharing_email_send_post_subject', '[' . __( 'Shared Post', 'jetpack' ) . '] ' . $title ); - - wp_mail( $data['target'], $subject, $content, $headers ); -} - -/** - * Checks for spam using Akismet if available. - * Return $data as it if email about to be send out is not spam. - * - * @param array $data Array of information about the shared message. - * - * @return array $data - * - * @deprecated 11.0 - */ -function sharing_email_check_for_spam_via_akismet( $data ) { - - if ( ! Jetpack::is_akismet_active() ) { - return $data; - } - - // Prepare the body_request for akismet - $body_request = array( - 'blog' => get_option( 'home' ), - 'permalink' => $data['sharing_source']->get_share_url( $data['post']->ID ), - 'comment_type' => 'share', - 'comment_author' => $data['name'], - 'comment_author_email' => $data['source'], - 'comment_content' => sharing_email_send_post_content( $data ), - 'user_agent' => ( isset( $_SERVER['HTTP_USER_AGENT'] ) - ? filter_var( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ) - : null - ), - ); - - if ( method_exists( 'Akismet', 'http_post' ) ) { - $body_request['user_ip'] = Akismet::get_ip_address(); - $response = Akismet::http_post( build_query( $body_request ), 'comment-check' ); - } else { - global $akismet_api_host, $akismet_api_port; - $body_request['user_ip'] = ( isset( $_SERVER['REMOTE_ADDR'] ) - ? filter_var( wp_unslash( $_SERVER['REMOTE_ADDR'] ) ) - : null - ); - $response = akismet_http_post( build_query( $body_request ), $akismet_api_host, '/1.1/comment-check', $akismet_api_port ); - } - - /* - * The Response is spam lets not send the email. - * 'true' is spam - */ - if ( - ! empty( $response ) - && isset( $response[1] ) - && 'true' == trim( $response[1] ) // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual -- response comes from the Akismet API. - ) { - return false; // don't send the email - } - return $data; -} - -/** - * Content of the emails sent to the target email address. - * - * @param array $data Array of information about the shared message. - * - * @return string $content - * - * @deprecated 11.0 - */ -function sharing_email_send_post_content( $data ) { - $content = sprintf( - /* translators: included in email when post is shared via email. First item is sender's name. Second is sender's email address. */ - __( '%1$s (%2$s) thinks you may be interested in the following post:', 'jetpack' ), - $data['name'], - $data['source'] - ); - $content .= "\n\n"; - // Make sure to pass the title and URL through the normal sharing filters. - $content .= $data['sharing_source']->get_share_title( $data['post']->ID ) . "\n"; - $content .= $data['sharing_source']->get_share_url( $data['post']->ID ) . "\n"; - return $content; -} - /** * Add a meta box to the post editing screen for sharing. * @@ -368,90 +219,6 @@ function sharing_global_resources_save() { update_option( 'sharedaddy_disable_resources', isset( $_POST['disable_resources'] ) ? 1 : 0 ); // phpcs:ignore WordPress.Security.NonceVerification.Missing -- nonce handling is handled for all elements at once. } -/** - * Returns the Recaptcha site/public key. - * - * Supports legacy RECAPTCHA_PUBLIC_KEY or RECAPTCHA_SITE_KEY. - * - * @return string - * - * @deprecated 11.0 - */ -function sharing_recaptcha_site_key() { - if ( ! defined( 'RECAPTCHA_PUBLIC_KEY' ) && ! defined( 'RECAPTCHA_SITE_KEY' ) ) { - return ''; - } - - if ( defined( 'RECAPTCHA_PUBLIC_KEY' ) && ! defined( 'RECAPTCHA_SITE_KEY' ) ) { - define( 'RECAPTCHA_SITE_KEY', RECAPTCHA_PUBLIC_KEY ); - } - - return RECAPTCHA_SITE_KEY; -} - -/** - * Returns the Recaptcha private/secret key. - * - * Supports legacy RECAPTCHA_PRIVATE_KEY or RECAPTCHA_SECRET_KEY. - * - * @return string - * - * @deprecated 11.0 - */ -function sharing_recaptcha_secret_key() { - if ( ! defined( 'RECAPTCHA_PRIVATE_KEY' ) && ! defined( 'RECAPTCHA_SECRET_KEY' ) ) { - return ''; - } - - if ( defined( 'RECAPTCHA_PRIVATE_KEY' ) && ! defined( 'RECAPTCHA_SECRET_KEY' ) ) { - define( 'RECAPTCHA_SECRET_KEY', RECAPTCHA_PRIVATE_KEY ); - } - - return RECAPTCHA_SECRET_KEY; -} - -/** - * Contents of a reCAPTCHA box. - * - * @return void - * - * @deprecated 11.0 - */ -function sharing_email_dialog() { - require_once plugin_dir_path( __FILE__ ) . 'recaptcha.php'; - - $recaptcha = new Jetpack_ReCaptcha( - sharing_recaptcha_site_key(), - sharing_recaptcha_secret_key(), - array( 'script_lazy' => true ) - ); - echo $recaptcha->get_recaptcha_html(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- escaped in method. -} - -/** - * Short-circuit the email sharing button based on the results of reCAPTCHA. - * - * @param bool $true Should we check if the message isn't spam. - * @param object $post Post information. - * @param array $data Information about the shared message. - * - * @deprecated 11.0 - */ -function sharing_email_check( $true, $post, $data ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable - require_once plugin_dir_path( __FILE__ ) . 'recaptcha.php'; - - $recaptcha = new Jetpack_ReCaptcha( sharing_recaptcha_site_key(), sharing_recaptcha_secret_key(), array( 'script_lazy' => true ) ); - $response = ! empty( $_POST['g-recaptcha-response'] ) // phpcs:ignore WordPress.Security.NonceVerification.Missing -- we do not change anything on the site based on that. - ? filter_var( wp_unslash( $_POST['g-recaptcha-response'] ) ) // phpcs:ignore WordPress.Security.NonceVerification.Missing -- we do not change anything on the site based on that. - : ''; - $remote_addr = ! empty( $_SERVER['REMOTE_ADDR'] ) - ? filter_var( wp_unslash( $_SERVER['REMOTE_ADDR'] ) ) - : ''; - $result = $recaptcha->verify( $response, $remote_addr ); - - return ( true === $result ); -} - add_action( 'init', 'sharing_init' ); add_action( 'add_meta_boxes', 'sharing_add_meta_box' ); add_action( 'save_post', 'sharing_meta_box_save' ); diff --git a/wp-content/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode-rtl.css b/wp-content/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode-rtl.css index 7f64c5044..902218079 100644 --- a/wp-content/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode-rtl.css +++ b/wp-content/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode-rtl.css @@ -58,6 +58,7 @@ body div.jetpack-slideshow-window * img { .jetpack-slideshow-slide img { vertical-align: middle; + margin: 0 auto; } .jetpack-slideshow-line-height-hack { diff --git a/wp-content/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode-rtl.min.css b/wp-content/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode-rtl.min.css index 23ddcba2c..46a760aae 100644 --- a/wp-content/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode-rtl.min.css +++ b/wp-content/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode-rtl.min.css @@ -1 +1 @@ -.jetpack-slideshow-window{background-color:#222;border:20px solid #222;border-radius:10px;height:0;margin-bottom:20px;overflow:hidden;padding-bottom:56.25%!important;padding-top:30px!important;position:relative;z-index:1}.jetpack-slideshow-window.jetpack-slideshow-white{background-color:#fff;border-color:#fff}.jetpack-slideshow-window,.jetpack-slideshow-window *{box-sizing:initial}.jetpack-slideshow-loading{height:100%;margin:auto;text-align:center}body div.jetpack-slideshow-window * img{background-color:initial!important;background-image:none!important;border-width:0!important;display:block;margin:0 auto;max-height:100%;max-width:100%;padding:0!important;position:relative;top:50%;transform:translateY(-50%)}.jetpack-slideshow-loading img{vertical-align:middle}.jetpack-slideshow-slide{display:none;height:100%!important;margin:auto;position:absolute;right:0;text-align:center;top:0;width:100%!important}.jetpack-slideshow-slide img{vertical-align:middle}.jetpack-slideshow-line-height-hack{font-size:0;overflow:hidden;width:0}.jetpack-slideshow-slide-caption{bottom:5px;color:#f6f7f7;font-family:Helvetica Neue,sans-serif;font-size:13px;height:25px;line-height:25px;position:absolute;right:0;text-align:center;text-shadow:#222 -1px 1px 2px;width:100%;z-index:100}.jetpack-slideshow-controls{bottom:30px;direction:ltr;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";margin:auto;opacity:.5;position:absolute;text-align:center;transition:opacity .3s ease-out;width:100%;z-index:1000}.jetpack-slideshow-window:hover .jetpack-slideshow-controls{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";opacity:1}body div div.jetpack-slideshow-controls a,body div div.jetpack-slideshow-controls a:hover{background-color:#000!important;background-color:#0009!important;background-image:url(../../../modules/shortcodes/img/slideshow-controls.png)!important;background-position:-34px 8px!important;background-repeat:no-repeat;background-size:142px 16px!important;border:2px solid #ffffff1a!important;color:#222!important;display:inline-block!important;*display:inline;margin:0 5px!important;padding:0!important;zoom:1;border-radius:10em!important;height:32px!important;line-height:32px!important;text-align:center!important;transition:border-color .3s ease-out;width:32px!important}@media only screen and (-webkit-min-device-pixel-ratio:1.5){body div div.jetpack-slideshow-controls a,body div div.jetpack-slideshow-controls a:hover{background-image:url(../../../modules/shortcodes/img/slideshow-controls-2x.png)!important}}body div div.jetpack-slideshow-controls a:hover{border-color:#fff!important}body div div.jetpack-slideshow-controls a:first-child{background-position:-76px 8px!important}body div div.jetpack-slideshow-controls a:last-child{background-position:-117px 8px!important}body div div.jetpack-slideshow-controls a.running,body div div.jetpack-slideshow-controls a:nth-child(2){background-position:-34px 8px!important}body div div.jetpack-slideshow-controls a.paused{background-position:9px 8px!important}.jetpack-slideshow-controls a img{border:50px dotted #f0f} \ No newline at end of file +.jetpack-slideshow-window{background-color:#222;border:20px solid #222;border-radius:10px;height:0;margin-bottom:20px;overflow:hidden;padding-bottom:56.25%!important;padding-top:30px!important;position:relative;z-index:1}.jetpack-slideshow-window.jetpack-slideshow-white{background-color:#fff;border-color:#fff}.jetpack-slideshow-window,.jetpack-slideshow-window *{box-sizing:initial}.jetpack-slideshow-loading{height:100%;margin:auto;text-align:center}body div.jetpack-slideshow-window * img{background-color:initial!important;background-image:none!important;border-width:0!important;display:block;margin:0 auto;max-height:100%;max-width:100%;padding:0!important;position:relative;top:50%;transform:translateY(-50%)}.jetpack-slideshow-loading img{vertical-align:middle}.jetpack-slideshow-slide{display:none;height:100%!important;margin:auto;position:absolute;right:0;text-align:center;top:0;width:100%!important}.jetpack-slideshow-slide img{margin:0 auto;vertical-align:middle}.jetpack-slideshow-line-height-hack{font-size:0;overflow:hidden;width:0}.jetpack-slideshow-slide-caption{bottom:5px;color:#f6f7f7;font-family:Helvetica Neue,sans-serif;font-size:13px;height:25px;line-height:25px;position:absolute;right:0;text-align:center;text-shadow:#222 -1px 1px 2px;width:100%;z-index:100}.jetpack-slideshow-controls{bottom:30px;direction:ltr;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";margin:auto;opacity:.5;position:absolute;text-align:center;transition:opacity .3s ease-out;width:100%;z-index:1000}.jetpack-slideshow-window:hover .jetpack-slideshow-controls{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";opacity:1}body div div.jetpack-slideshow-controls a,body div div.jetpack-slideshow-controls a:hover{background-color:#000!important;background-color:#0009!important;background-image:url(../../../modules/shortcodes/img/slideshow-controls.png)!important;background-position:-34px 8px!important;background-repeat:no-repeat;background-size:142px 16px!important;border:2px solid #ffffff1a!important;color:#222!important;display:inline-block!important;*display:inline;margin:0 5px!important;padding:0!important;zoom:1;border-radius:10em!important;height:32px!important;line-height:32px!important;text-align:center!important;transition:border-color .3s ease-out;width:32px!important}@media only screen and (-webkit-min-device-pixel-ratio:1.5){body div div.jetpack-slideshow-controls a,body div div.jetpack-slideshow-controls a:hover{background-image:url(../../../modules/shortcodes/img/slideshow-controls-2x.png)!important}}body div div.jetpack-slideshow-controls a:hover{border-color:#fff!important}body div div.jetpack-slideshow-controls a:first-child{background-position:-76px 8px!important}body div div.jetpack-slideshow-controls a:last-child{background-position:-117px 8px!important}body div div.jetpack-slideshow-controls a.running,body div div.jetpack-slideshow-controls a:nth-child(2){background-position:-34px 8px!important}body div div.jetpack-slideshow-controls a.paused{background-position:9px 8px!important}.jetpack-slideshow-controls a img{border:50px dotted #f0f} \ No newline at end of file diff --git a/wp-content/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode.css b/wp-content/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode.css index 753f58749..c21c9751b 100644 --- a/wp-content/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode.css +++ b/wp-content/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode.css @@ -62,6 +62,7 @@ body div.jetpack-slideshow-window * img { .jetpack-slideshow-slide img { vertical-align: middle; + margin: 0 auto; } .jetpack-slideshow-line-height-hack { diff --git a/wp-content/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode.min.css b/wp-content/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode.min.css index e362ef198..dcba9502b 100644 --- a/wp-content/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode.min.css +++ b/wp-content/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode.min.css @@ -1 +1 @@ -.jetpack-slideshow-window{background-color:#222;border:20px solid #222;border-radius:10px;height:0;margin-bottom:20px;overflow:hidden;padding-bottom:56.25%!important;padding-top:30px!important;position:relative;z-index:1}.jetpack-slideshow-window.jetpack-slideshow-white{background-color:#fff;border-color:#fff}.jetpack-slideshow-window,.jetpack-slideshow-window *{box-sizing:initial}.jetpack-slideshow-loading{height:100%;margin:auto;text-align:center}body div.jetpack-slideshow-window * img{background-color:initial!important;background-image:none!important;border-width:0!important;display:block;margin:0 auto;max-height:100%;max-width:100%;padding:0!important;position:relative;top:50%;transform:translateY(-50%)}.jetpack-slideshow-loading img{vertical-align:middle}.jetpack-slideshow-slide{display:none;height:100%!important;left:0;margin:auto;position:absolute;text-align:center;top:0;width:100%!important}.jetpack-slideshow-slide img{vertical-align:middle}.jetpack-slideshow-line-height-hack{font-size:0;overflow:hidden;width:0}.jetpack-slideshow-slide-caption{bottom:5px;color:#f6f7f7;font-family:Helvetica Neue,sans-serif;font-size:13px;height:25px;left:0;line-height:25px;position:absolute;text-align:center;text-shadow:#222 1px 1px 2px;width:100%;z-index:100}.jetpack-slideshow-controls{bottom:30px;direction:ltr;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";margin:auto;opacity:.5;position:absolute;text-align:center;transition:opacity .3s ease-out;width:100%;z-index:1000}.jetpack-slideshow-window:hover .jetpack-slideshow-controls{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";opacity:1}body div div.jetpack-slideshow-controls a,body div div.jetpack-slideshow-controls a:hover{background-color:#000!important;background-color:#0009!important;background-image:url(../../../modules/shortcodes/img/slideshow-controls.png)!important;background-position:-34px 8px!important;background-repeat:no-repeat;background-size:142px 16px!important;border:2px solid #ffffff1a!important;color:#222!important;display:inline-block!important;*display:inline;margin:0 5px!important;padding:0!important;zoom:1;border-radius:10em!important;height:32px!important;line-height:32px!important;text-align:center!important;transition:border-color .3s ease-out;width:32px!important}@media only screen and (-webkit-min-device-pixel-ratio:1.5){body div div.jetpack-slideshow-controls a,body div div.jetpack-slideshow-controls a:hover{background-image:url(../../../modules/shortcodes/img/slideshow-controls-2x.png)!important}}body div div.jetpack-slideshow-controls a:hover{border-color:#fff!important}body div div.jetpack-slideshow-controls a:first-child{background-position:-76px 8px!important}body div div.jetpack-slideshow-controls a:last-child{background-position:-117px 8px!important}body div div.jetpack-slideshow-controls a.running,body div div.jetpack-slideshow-controls a:nth-child(2){background-position:-34px 8px!important}body div div.jetpack-slideshow-controls a.paused{background-position:9px 8px!important}.jetpack-slideshow-controls a img{border:50px dotted #f0f} \ No newline at end of file +.jetpack-slideshow-window{background-color:#222;border:20px solid #222;border-radius:10px;height:0;margin-bottom:20px;overflow:hidden;padding-bottom:56.25%!important;padding-top:30px!important;position:relative;z-index:1}.jetpack-slideshow-window.jetpack-slideshow-white{background-color:#fff;border-color:#fff}.jetpack-slideshow-window,.jetpack-slideshow-window *{box-sizing:initial}.jetpack-slideshow-loading{height:100%;margin:auto;text-align:center}body div.jetpack-slideshow-window * img{background-color:initial!important;background-image:none!important;border-width:0!important;display:block;margin:0 auto;max-height:100%;max-width:100%;padding:0!important;position:relative;top:50%;transform:translateY(-50%)}.jetpack-slideshow-loading img{vertical-align:middle}.jetpack-slideshow-slide{display:none;height:100%!important;left:0;margin:auto;position:absolute;text-align:center;top:0;width:100%!important}.jetpack-slideshow-slide img{margin:0 auto;vertical-align:middle}.jetpack-slideshow-line-height-hack{font-size:0;overflow:hidden;width:0}.jetpack-slideshow-slide-caption{bottom:5px;color:#f6f7f7;font-family:Helvetica Neue,sans-serif;font-size:13px;height:25px;left:0;line-height:25px;position:absolute;text-align:center;text-shadow:#222 1px 1px 2px;width:100%;z-index:100}.jetpack-slideshow-controls{bottom:30px;direction:ltr;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";margin:auto;opacity:.5;position:absolute;text-align:center;transition:opacity .3s ease-out;width:100%;z-index:1000}.jetpack-slideshow-window:hover .jetpack-slideshow-controls{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";opacity:1}body div div.jetpack-slideshow-controls a,body div div.jetpack-slideshow-controls a:hover{background-color:#000!important;background-color:#0009!important;background-image:url(../../../modules/shortcodes/img/slideshow-controls.png)!important;background-position:-34px 8px!important;background-repeat:no-repeat;background-size:142px 16px!important;border:2px solid #ffffff1a!important;color:#222!important;display:inline-block!important;*display:inline;margin:0 5px!important;padding:0!important;zoom:1;border-radius:10em!important;height:32px!important;line-height:32px!important;text-align:center!important;transition:border-color .3s ease-out;width:32px!important}@media only screen and (-webkit-min-device-pixel-ratio:1.5){body div div.jetpack-slideshow-controls a,body div div.jetpack-slideshow-controls a:hover{background-image:url(../../../modules/shortcodes/img/slideshow-controls-2x.png)!important}}body div div.jetpack-slideshow-controls a:hover{border-color:#fff!important}body div div.jetpack-slideshow-controls a:first-child{background-position:-76px 8px!important}body div div.jetpack-slideshow-controls a:last-child{background-position:-117px 8px!important}body div div.jetpack-slideshow-controls a.running,body div div.jetpack-slideshow-controls a:nth-child(2){background-position:-34px 8px!important}body div div.jetpack-slideshow-controls a.paused{background-position:9px 8px!important}.jetpack-slideshow-controls a img{border:50px dotted #f0f} \ No newline at end of file diff --git a/wp-content/plugins/jetpack/modules/shortcodes/js/slideshow-shortcode.js b/wp-content/plugins/jetpack/modules/shortcodes/js/slideshow-shortcode.js index be2a9f94b..05cf298b1 100644 --- a/wp-content/plugins/jetpack/modules/shortcodes/js/slideshow-shortcode.js +++ b/wp-content/plugins/jetpack/modules/shortcodes/js/slideshow-shortcode.js @@ -1,4 +1,4 @@ -/* global jetpackSlideshowSettings, escape */ +/* global jetpackSlideshowSettings */ function JetpackSlideshow( element, transition, autostart ) { this.element = element; @@ -34,7 +34,6 @@ JetpackSlideshow.prototype.init = function () { img.src = imageInfo.src; img.title = typeof imageInfo.title !== 'undefined' ? imageInfo.title : ''; img.alt = typeof imageInfo.alt !== 'undefined' ? imageInfo.alt : ''; - img.align = 'middle'; img.setAttribute( 'itemprop', 'image' ); img.nopin = 'nopin'; var caption = document.createElement( 'div' ); @@ -55,7 +54,7 @@ JetpackSlideshow.prototype.init = function () { self.finishInit_(); }, 1 ); } else { - jQuery( img ).load( function () { + img.addEventListener( 'load', function () { self.finishInit_(); } ); } @@ -91,7 +90,7 @@ JetpackSlideshow.prototype.finishInit_ = function () { var self = this; if ( this.images.length > 1 ) { // Initialize Cycle instance. - this.element.cycle( { + jQuery( this.element ).cycle( { fx: this.transition, prev: this.controls.prev, next: this.controls.next, @@ -105,23 +104,27 @@ JetpackSlideshow.prototype.finishInit_ = function () { var slideshow = this.element; if ( ! this.autostart ) { - slideshow.cycle( 'pause' ); - jQuery( this.controls.stop ).removeClass( 'running' ); - jQuery( this.controls.stop ).addClass( 'paused' ); + jQuery( slideshow ).cycle( 'pause' ); + this.controls.stop.classList.remove( 'running' ); + this.controls.stop.classList.add( 'paused' ); } - jQuery( this.controls.stop ).click( function () { - var button = jQuery( this ); - if ( ! button.hasClass( 'paused' ) ) { - slideshow.cycle( 'pause' ); - button.removeClass( 'running' ); - button.addClass( 'paused' ); - } else { - button.addClass( 'running' ); - button.removeClass( 'paused' ); - slideshow.cycle( 'resume', true ); + this.controls.stop.addEventListener( 'click', function ( event ) { + var button = event.currentTarget; + + if ( button === event.target ) { + event.preventDefault(); + + if ( ! button.classList.contains( 'paused' ) ) { + jQuery( slideshow ).cycle( 'pause' ); + button.classList.remove( 'running' ); + button.classList.add( 'paused' ); + } else { + button.classList.add( 'running' ); + button.classList.remove( 'paused' ); + jQuery( slideshow ).cycle( 'resume', true ); + } } - return false; } ); } else { this.element.children( ':first' ).show(); @@ -167,7 +170,7 @@ JetpackSlideshow.prototype.onCyclePrevNextClick_ = function ( isNext, i /*, slid stats.src = document.location.protocol + '//pixel.wp.com/g.gif?host=' + - escape( document.location.host ) + + encodeURIComponent( document.location.host ) + '&rand=' + Math.random() + '&blog=' + @@ -179,32 +182,32 @@ JetpackSlideshow.prototype.onCyclePrevNextClick_ = function ( isNext, i /*, slid '&post=' + postid + '&ref=' + - escape( document.location ); + encodeURIComponent( document.location ); }; -( function ( $ ) { +( function () { function jetpack_slideshow_init() { - $( '.jetpack-slideshow-noscript' ).remove(); - - $( '.jetpack-slideshow' ).each( function () { - var container = $( this ); - - if ( container.data( 'processed' ) ) { + document.querySelectorAll( '.jetpack-slideshow-noscript' ).forEach( function ( element ) { + element.remove(); + } ); + document.querySelectorAll( '.jetpack-slideshow' ).forEach( function ( container ) { + if ( container.dataset.processed === 'true' ) { return; } - var slideshow = new JetpackSlideshow( - container, - container.data( 'trans' ), - container.data( 'autostart' ) - ); - slideshow.images = container.data( 'gallery' ); + // Extract data attributes manually + var transition = container.dataset.trans; + var autostart = container.dataset.autostart === 'true'; + var gallery = JSON.parse( container.dataset.gallery || '[]' ); + + var slideshow = new JetpackSlideshow( container, transition, autostart ); + slideshow.images = gallery; slideshow.init(); - container.data( 'processed', true ); + container.dataset.processed = 'true'; } ); } - $( document ).ready( jetpack_slideshow_init ); - $( 'body' ).on( 'post-load', jetpack_slideshow_init ); -} )( jQuery ); + document.addEventListener( 'DOMContentLoaded', jetpack_slideshow_init ); + document.body.addEventListener( 'post-load', jetpack_slideshow_init ); +} )(); diff --git a/wp-content/plugins/jetpack/modules/shortcodes/slideshow.php b/wp-content/plugins/jetpack/modules/shortcodes/slideshow.php index 6f4ac91e6..81fffbb0a 100644 --- a/wp-content/plugins/jetpack/modules/shortcodes/slideshow.php +++ b/wp-content/plugins/jetpack/modules/shortcodes/slideshow.php @@ -183,7 +183,10 @@ public function shortcode_callback( $attr ) { ); } - if ( class_exists( 'Jetpack_AMP_Support' ) && Jetpack_AMP_Support::is_amp_request() ) { + if ( + class_exists( 'Jetpack_AMP_Support' ) + && Jetpack_AMP_Support::is_amp_request() + ) { // Load the styles and use the rendering method from the Slideshow block. Jetpack_Gutenberg::load_styles_as_required( 'slideshow' ); @@ -195,6 +198,14 @@ public function shortcode_callback( $attr ) { $amp_args['autoplay'] = true; } + /* + * Blocks can be disabled in Jetpack Settings. + * If that's the case, we need to include the slideshow block manually. + */ + if ( ! class_exists( 'Automattic\Jetpack\Extensions\Slideshow' ) ) { + require_once JETPACK__PLUGIN_DIR . 'extensions/blocks/slideshow/slideshow.php'; + } + return Slideshow\render_amp( $amp_args ); } diff --git a/wp-content/plugins/jetpack/modules/shortcodes/vimeo.php b/wp-content/plugins/jetpack/modules/shortcodes/vimeo.php index b462c9a09..a00a73bdc 100644 --- a/wp-content/plugins/jetpack/modules/shortcodes/vimeo.php +++ b/wp-content/plugins/jetpack/modules/shortcodes/vimeo.php @@ -22,16 +22,25 @@ function jetpack_shortcode_get_vimeo_id( $atts ) { if ( isset( $atts[0] ) ) { $atts[0] = trim( $atts[0], '=' ); - $id = false; if ( is_numeric( $atts[0] ) ) { - $id = (int) $atts[0]; - } elseif ( preg_match( '|vimeo\.com/(\d+)/?$|i', $atts[0], $match ) ) { - $id = (int) $match[1]; - } elseif ( preg_match( '|player\.vimeo\.com/video/(\d+)/?$|i', $atts[0], $match ) ) { - $id = (int) $match[1]; + return (int) $atts[0]; } - return $id; + /** + * Extract Vimeo ID from the URL. For examples: + * https://vimeo.com/12345 + * https://vimeo.com/289091934/cd1f466bcc + * https://vimeo.com/album/2838732/video/6342264 + * https://vimeo.com/groups/758728/videos/897094040 + * https://vimeo.com/channels/staffpicks/123456789 + * https://vimeo.com/album/1234567/video/7654321 + * https://player.vimeo.com/video/18427511 + */ + $pattern = '/(?:https?:\/\/)?vimeo\.com\/(?:groups\/\d+\/videos\/|album\/\d+\/video\/|video\/|channels\/[^\/]+\/videos\/|[^\/]+\/)?([0-9]+)(?:[^\'\"0-9<]|$)/i'; + $match = array(); + if ( preg_match( $pattern, $atts[0], $match ) ) { + return (int) $match[1]; + } } return 0; @@ -250,6 +259,7 @@ class_exists( 'Jetpack_AMP_Support' ) * Callback to modify output of embedded Vimeo video using Jetpack's shortcode. * * @since 3.9 + * @deprecated since 13.8 * * @param array $matches Regex partial matches against the URL passed. * @param array $attr Attributes received in embed response. @@ -258,6 +268,7 @@ class_exists( 'Jetpack_AMP_Support' ) * @return string Return output of Vimeo shortcode with the proper markup. */ function wpcom_vimeo_embed_url( $matches, $attr, $url ) { + _deprecated_function( __FUNCTION__, 'jetpack-13.8' ); $vimeo_info = array( $url ); // If we are able to extract a video ID, use it in the shortcode instead of the full URL. @@ -278,21 +289,15 @@ function wpcom_vimeo_embed_url( $matches, $attr, $url ) { * http://player.vimeo.com/video/18427511 * * @since 3.9 + * @deprecated since 13.8 * * @uses wpcom_vimeo_embed_url */ function wpcom_vimeo_embed_url_init() { + _deprecated_function( __FUNCTION__, 'jetpack-13.8' ); wp_embed_register_handler( 'wpcom_vimeo_embed_url', '#https?://(?:[^/]+\.)?vimeo\.com/(?:album/(?\d+)/)?(?:video/)?(?\d+)(?:/.*)?$#i', 'wpcom_vimeo_embed_url' ); } -/* - * Register handler to modify Vimeo embeds using Jetpack's shortcode output. - * This does not happen on WordPress.com, since embeds are handled by core there. - */ -if ( ! defined( 'IS_WPCOM' ) || ! IS_WPCOM ) { - add_action( 'init', 'wpcom_vimeo_embed_url_init' ); -} - /** * Transform a Vimeo embed iFrame into a Vimeo shortcode. * @@ -374,7 +379,7 @@ function vimeo_link( $content ) { * Could erroneously capture: * This video (vimeo.com/12345) is teh cat's meow! */ - $plain_url = "(?:[^'\">]?\/?(?:https?:\/\/)?vimeo\.com[^0-9]+)([0-9]+)(?:[^'\"0-9<]|$)"; + $plain_url = "(?:[^'\">]?\/?(?:https?:\/\/)?vimeo\.com\/(?:groups\/\d+\/videos\/|album\/\d+\/video\/|video\/|channels\/[^\/]+\/videos\/|[^\/]+\/)?)([0-9]+)(?:[^'\"0-9<]|$)"; return jetpack_preg_replace_callback_outside_tags( sprintf( '#%s|%s#i', $shortcode, $plain_url ), diff --git a/wp-content/plugins/jetpack/modules/shortcodes/youtube.php b/wp-content/plugins/jetpack/modules/shortcodes/youtube.php index 14acabc31..249068e6d 100644 --- a/wp-content/plugins/jetpack/modules/shortcodes/youtube.php +++ b/wp-content/plugins/jetpack/modules/shortcodes/youtube.php @@ -527,21 +527,26 @@ function jetpack_shortcode_youtube_dimensions( $query_args ) { * For bare URLs on their own line of the form * http://www.youtube.com/v/9FhMMmqzbD8?fs=1&hl=en_US * - * @param array $matches Regex partial matches against the URL passed. - * @param array $attr Attributes received in embed response. - * @param array $url Requested URL to be embedded. + * @deprecated since 13.8 + * + * @param array $matches Regex partial matches against the URL passed. + * @param array $attr Attributes received in embed response. + * @param string $url Requested URL to be embedded. */ function wpcom_youtube_embed_crazy_url( $matches, $attr, $url ) { + _deprecated_function( __FUNCTION__, 'jetpack-13.8' ); return youtube_id( $url ); } /** * Add a new handler to automatically transform custom Youtube URLs (like playlists) into embeds. + * + * @deprecated since 13.8 */ function wpcom_youtube_embed_crazy_url_init() { + _deprecated_function( __FUNCTION__, 'jetpack-13.8' ); wp_embed_register_handler( 'wpcom_youtube_embed_crazy_url', '#https?://(?:www\.)?(?:youtube.com/(?:v/|playlist|watch[/\#?])|youtu\.be/).*#i', 'wpcom_youtube_embed_crazy_url' ); } -add_action( 'init', 'wpcom_youtube_embed_crazy_url_init' ); if ( ! is_admin() diff --git a/wp-content/plugins/jetpack/modules/stats.php b/wp-content/plugins/jetpack/modules/stats.php index bfaa0a349..20b7175e6 100644 --- a/wp-content/plugins/jetpack/modules/stats.php +++ b/wp-content/plugins/jetpack/modules/stats.php @@ -251,7 +251,7 @@ function stats_admin_menu() { } else { // Enable the new Odyssey Stats experience. $stats_dashboard = new Stats_Dashboard(); - $hook = Admin_Menu::add_menu( __( 'Stats', 'jetpack' ), __( 'Stats', 'jetpack' ), 'view_stats', 'stats', array( $stats_dashboard, 'render' ) ); + $hook = Admin_Menu::add_menu( __( 'Stats', 'jetpack' ), __( 'Stats', 'jetpack' ), 'view_stats', 'stats', array( $stats_dashboard, 'render' ), 1 ); add_action( "load-$hook", array( $stats_dashboard, 'admin_init' ) ); } } diff --git a/wp-content/plugins/jetpack/modules/subscriptions.php b/wp-content/plugins/jetpack/modules/subscriptions.php index 2642b8f2e..87801f886 100644 --- a/wp-content/plugins/jetpack/modules/subscriptions.php +++ b/wp-content/plugins/jetpack/modules/subscriptions.php @@ -15,6 +15,7 @@ // phpcs:disable Universal.Files.SeparateFunctionsFromOO.Mixed -- TODO: Move classes to appropriately-named class files. +use Automattic\Jetpack\Admin_UI\Admin_Menu; use Automattic\Jetpack\Connection\Manager as Connection_Manager; use Automattic\Jetpack\Connection\XMLRPC_Async_Call; use Automattic\Jetpack\Redirect; @@ -369,21 +370,6 @@ public function configure() { 'stc_enabled' ); - /** Enable Subscribe Modal */ - - add_settings_field( - 'jetpack_subscriptions_comment_subscribe', - __( 'Enable Subscribe Modal', 'jetpack' ), - array( $this, 'subscribe_modal_setting' ), - 'discussion', - 'jetpack_subscriptions' - ); - - register_setting( - 'discussion', - 'sm_enabled' - ); - /** Email me whenever: Someone subscribes to my blog */ /* @since 8.1 */ @@ -466,22 +452,6 @@ public function subscription_comment_subscribe_setting() { - -

    - /> - -

    - - $blog_id ? $blog_id : $status->get_site_suffix() ) ); - add_submenu_page( - 'jetpack', - esc_attr__( 'Subscribers', 'jetpack' ), + Admin_Menu::add_menu( + __( 'Subscribers', 'jetpack' ), __( 'Subscribers', 'jetpack' ) . ' ', 'manage_options', esc_url( $link ), - null + null, + 11 ); } diff --git a/wp-content/plugins/jetpack/modules/subscriptions/subscribe-overlay/subscribe-overlay.css b/wp-content/plugins/jetpack/modules/subscriptions/subscribe-overlay/subscribe-overlay.css index ca55896cb..91cf3bf26 100644 --- a/wp-content/plugins/jetpack/modules/subscriptions/subscribe-overlay/subscribe-overlay.css +++ b/wp-content/plugins/jetpack/modules/subscriptions/subscribe-overlay/subscribe-overlay.css @@ -43,6 +43,14 @@ body.admin-bar .jetpack-subscribe-overlay__close { top: 64px; } +body.has-marketing-bar .jetpack-subscribe-overlay__close { + top: 81px; +} + +body.admin-bar.has-marketing-bar .jetpack-subscribe-overlay__close { + top: 114px; +} + .jetpack-subscribe-overlay__to-content { display: none; position: fixed; diff --git a/wp-content/plugins/jetpack/modules/theme-tools/content-options.php b/wp-content/plugins/jetpack/modules/theme-tools/content-options.php index ae39240f0..14ae4b039 100644 --- a/wp-content/plugins/jetpack/modules/theme-tools/content-options.php +++ b/wp-content/plugins/jetpack/modules/theme-tools/content-options.php @@ -42,113 +42,129 @@ ) ); */ -/** - * Activate the Content Options plugin. - * - * @uses current_theme_supports() - */ -function jetpack_content_options_init() { - // If the theme doesn't support 'jetpack-content-options', don't continue. - if ( ! current_theme_supports( 'jetpack-content-options' ) ) { - return; +if ( ! function_exists( 'jetpack_content_options_init' ) ) { + + /** + * Activate the Content Options plugin. + * + * @uses current_theme_supports() + */ + function jetpack_content_options_init() { + // If the theme doesn't support 'jetpack-content-options', don't continue. + if ( ! current_theme_supports( 'jetpack-content-options' ) ) { + return; + } + + // Load the Customizer options. + require __DIR__ . '/content-options/customizer.php'; + + // Load Blog Display function. + require __DIR__ . '/content-options/blog-display.php'; + + // Load Author Bio function. + require __DIR__ . '/content-options/author-bio.php'; + + // Load Post Details function. + require __DIR__ . '/content-options/post-details.php'; + + // Load Featured Images function. + if ( jetpack_featured_images_should_load() ) { + require __DIR__ . '/content-options/featured-images.php'; + } + + // Load Featured Images Fallback function. + if ( jetpack_featured_images_fallback_should_load() ) { + require __DIR__ . '/content-options/featured-images-fallback.php'; + } } + add_action( 'init', 'jetpack_content_options_init' ); - // Load the Customizer options. - require __DIR__ . '/content-options/customizer.php'; - - // Load Blog Display function. - require __DIR__ . '/content-options/blog-display.php'; - - // Load Author Bio function. - require __DIR__ . '/content-options/author-bio.php'; - - // Load Post Details function. - require __DIR__ . '/content-options/post-details.php'; +} - // Load Featured Images function. - if ( jetpack_featured_images_should_load() ) { - require __DIR__ . '/content-options/featured-images.php'; +if ( ! function_exists( 'jetpack_featured_images_get_settings' ) ) { + + /** + * Get featured images settings using the jetpack-content-options theme support. + */ + function jetpack_featured_images_get_settings() { + $options = get_theme_support( 'jetpack-content-options' ); + + $featured_images = ( ! empty( $options[0]['featured-images'] ) ) ? $options[0]['featured-images'] : null; + + $settings = array( + 'archive' => ( ! empty( $featured_images['archive'] ) ) ? $featured_images['archive'] : null, + 'post' => ( ! empty( $featured_images['post'] ) ) ? $featured_images['post'] : null, + 'page' => ( ! empty( $featured_images['page'] ) ) ? $featured_images['page'] : null, + 'portfolio' => ( ! empty( $featured_images['portfolio'] ) ) ? $featured_images['portfolio'] : null, + 'archive-default' => ( isset( $featured_images['archive-default'] ) && false === $featured_images['archive-default'] ) ? '' : 1, + 'post-default' => ( isset( $featured_images['post-default'] ) && false === $featured_images['post-default'] ) ? '' : 1, + 'page-default' => ( isset( $featured_images['page-default'] ) && false === $featured_images['page-default'] ) ? '' : 1, + 'portfolio-default' => ( isset( $featured_images['portfolio-default'] ) && false === $featured_images['portfolio-default'] ) ? '' : 1, + 'fallback' => ( ! empty( $featured_images['fallback'] ) ) ? $featured_images['fallback'] : null, + 'fallback-default' => ( isset( $featured_images['fallback-default'] ) && false === $featured_images['fallback-default'] ) ? '' : 1, + ); + + $settings = array_merge( + $settings, + array( + 'archive-option' => get_option( 'jetpack_content_featured_images_archive', $settings['archive-default'] ), + 'post-option' => get_option( 'jetpack_content_featured_images_post', $settings['post-default'] ), + 'page-option' => get_option( 'jetpack_content_featured_images_page', $settings['page-default'] ), + 'portfolio-option' => get_option( 'jetpack_content_featured_images_portfolio', $settings['portfolio-default'] ), + 'fallback-option' => get_option( 'jetpack_content_featured_images_fallback', $settings['fallback-default'] ), + ) + ); + + return $settings; } - // Load Featured Images Fallback function. - if ( jetpack_featured_images_fallback_should_load() ) { - require __DIR__ . '/content-options/featured-images-fallback.php'; - } } -add_action( 'init', 'jetpack_content_options_init' ); -/** - * Get featured images settings using the jetpack-content-options theme support. - */ -function jetpack_featured_images_get_settings() { - $options = get_theme_support( 'jetpack-content-options' ); - - $featured_images = ( ! empty( $options[0]['featured-images'] ) ) ? $options[0]['featured-images'] : null; - - $settings = array( - 'archive' => ( ! empty( $featured_images['archive'] ) ) ? $featured_images['archive'] : null, - 'post' => ( ! empty( $featured_images['post'] ) ) ? $featured_images['post'] : null, - 'page' => ( ! empty( $featured_images['page'] ) ) ? $featured_images['page'] : null, - 'portfolio' => ( ! empty( $featured_images['portfolio'] ) ) ? $featured_images['portfolio'] : null, - 'archive-default' => ( isset( $featured_images['archive-default'] ) && false === $featured_images['archive-default'] ) ? '' : 1, - 'post-default' => ( isset( $featured_images['post-default'] ) && false === $featured_images['post-default'] ) ? '' : 1, - 'page-default' => ( isset( $featured_images['page-default'] ) && false === $featured_images['page-default'] ) ? '' : 1, - 'portfolio-default' => ( isset( $featured_images['portfolio-default'] ) && false === $featured_images['portfolio-default'] ) ? '' : 1, - 'fallback' => ( ! empty( $featured_images['fallback'] ) ) ? $featured_images['fallback'] : null, - 'fallback-default' => ( isset( $featured_images['fallback-default'] ) && false === $featured_images['fallback-default'] ) ? '' : 1, - ); - - $settings = array_merge( - $settings, - array( - 'archive-option' => get_option( 'jetpack_content_featured_images_archive', $settings['archive-default'] ), - 'post-option' => get_option( 'jetpack_content_featured_images_post', $settings['post-default'] ), - 'page-option' => get_option( 'jetpack_content_featured_images_page', $settings['page-default'] ), - 'portfolio-option' => get_option( 'jetpack_content_featured_images_portfolio', $settings['portfolio-default'] ), - 'fallback-option' => get_option( 'jetpack_content_featured_images_fallback', $settings['fallback-default'] ), - ) - ); - - return $settings; -} +if ( ! function_exists( 'jetpack_featured_images_should_load' ) ) { -/** - * Determine if the Jetpack Featured Images should be load. - */ -function jetpack_featured_images_should_load() { - // If the theme doesn't support post thumbnails, don't continue. - if ( ! current_theme_supports( 'post-thumbnails' ) ) { - return false; - } + /** + * Determine if the Jetpack Featured Images should be load. + */ + function jetpack_featured_images_should_load() { + // If the theme doesn't support post thumbnails, don't continue. + if ( ! current_theme_supports( 'post-thumbnails' ) ) { + return false; + } + + $opts = jetpack_featured_images_get_settings(); - $opts = jetpack_featured_images_get_settings(); + // If the theme doesn't support archive, post and page or if all the options are ticked and we aren't in the customizer, don't continue. + if ( + ( true !== $opts['archive'] && true !== $opts['post'] && true !== $opts['page'] ) + || ( 1 === $opts['archive-option'] && 1 === $opts['post-option'] && 1 === $opts['page-option'] && ! is_customize_preview() ) + ) { + return false; + } - // If the theme doesn't support archive, post and page or if all the options are ticked and we aren't in the customizer, don't continue. - if ( - ( true !== $opts['archive'] && true !== $opts['post'] && true !== $opts['page'] ) - || ( 1 === $opts['archive-option'] && 1 === $opts['post-option'] && 1 === $opts['page-option'] && ! is_customize_preview() ) - ) { - return false; + return true; } - return true; } -/** - * Determine if the Jetpack Featured Images fallback should load. - */ -function jetpack_featured_images_fallback_should_load() { - // If the theme doesn't support post thumbnails, don't continue. - if ( ! current_theme_supports( 'post-thumbnails' ) ) { - return false; - } +if ( ! function_exists( 'jetpack_featured_images_fallback_should_load' ) ) { + + /** + * Determine if the Jetpack Featured Images fallback should load. + */ + function jetpack_featured_images_fallback_should_load() { + // If the theme doesn't support post thumbnails, don't continue. + if ( ! current_theme_supports( 'post-thumbnails' ) ) { + return false; + } + + $opts = jetpack_featured_images_get_settings(); - $opts = jetpack_featured_images_get_settings(); + // If the theme doesn't support fallback, don't continue. + if ( true !== $opts['fallback'] ) { + return false; + } - // If the theme doesn't support fallback, don't continue. - if ( true !== $opts['fallback'] ) { - return false; + return true; } - return true; } diff --git a/wp-content/plugins/jetpack/modules/theme-tools/content-options/author-bio.php b/wp-content/plugins/jetpack/modules/theme-tools/content-options/author-bio.php index a15843780..2aab1a701 100644 --- a/wp-content/plugins/jetpack/modules/theme-tools/content-options/author-bio.php +++ b/wp-content/plugins/jetpack/modules/theme-tools/content-options/author-bio.php @@ -5,95 +5,103 @@ * @package automattic/jetpack */ -/** - * The function to display Author Bio in a theme. - */ -function jetpack_author_bio() { - // If the theme doesn't support 'jetpack-content-options', don't continue. - if ( ! current_theme_supports( 'jetpack-content-options' ) ) { - return; - } +if ( ! function_exists( 'jetpack_author_bio' ) ) { - $options = get_theme_support( 'jetpack-content-options' ); - $author_bio = ( ! empty( $options[0]['author-bio'] ) ) ? $options[0]['author-bio'] : null; - $author_bio_default = ( isset( $options[0]['author-bio-default'] ) && false === $options[0]['author-bio-default'] ) ? '' : 1; - $avatar_default = ( isset( $options[0]['avatar-default'] ) && false === $options[0]['avatar-default'] ) ? '' : 1; + /** + * The function to display Author Bio in a theme. + */ + function jetpack_author_bio() { + // If the theme doesn't support 'jetpack-content-options', don't continue. + if ( ! current_theme_supports( 'jetpack-content-options' ) ) { + return; + } - // If the theme doesn't support 'jetpack-content-options[ 'author-bio' ]', don't continue. - if ( true !== $author_bio ) { - return; - } + $options = get_theme_support( 'jetpack-content-options' ); + $author_bio = ( ! empty( $options[0]['author-bio'] ) ) ? $options[0]['author-bio'] : null; + $author_bio_default = ( isset( $options[0]['author-bio-default'] ) && false === $options[0]['author-bio-default'] ) ? '' : 1; + $avatar_default = ( isset( $options[0]['avatar-default'] ) && false === $options[0]['avatar-default'] ) ? '' : 1; - // If 'jetpack_content_author_bio' is false, don't continue. - if ( ! get_option( 'jetpack_content_author_bio', $author_bio_default ) ) { - return; - } + // If the theme doesn't support 'jetpack-content-options[ 'author-bio' ]', don't continue. + if ( true !== $author_bio ) { + return; + } - // If we aren't on a single post, don't continue. - if ( ! is_single() ) { - return; - } + // If 'jetpack_content_author_bio' is false, don't continue. + if ( ! get_option( 'jetpack_content_author_bio', $author_bio_default ) ) { + return; + } - // Define class for entry-author. - if ( ! $avatar_default && ! jetpack_has_gravatar( get_the_author_meta( 'user_email' ) ) ) { - $class = 'author-avatar-hide'; - } else { - $class = 'author-avatar-show'; - } - ?> -